Quota management method and device

By directly managing roaming device quotas within the visited network, the timeliness and reliability issues caused by frequent information exchanges between VPLMN and HPLMN are resolved, achieving efficient and accurate quota management. This is applicable to 5G NR systems and other billing processes.

CN121865246APending Publication Date: 2026-04-14CHINA SATELLITE NETWORK EXPLORATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA SATELLITE NETWORK EXPLORATION CO LTD
Filing Date
2024-10-12
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In roaming mode, VPLMN and HPLMN need to frequently exchange information to obtain quotas, resulting in poor timeliness of roaming services, increased network load, high operator service costs, and reduced reliability when there are connection problems, making it impossible to provide timely and accurate quota management.

Method used

By sending request messages directly to functional network elements in the visited network, roaming equipment quotas can be obtained and managed without exchanging information with the home network. Quota management is performed using the billing system of the visited network, making it suitable for 5G NR systems and other billing processes.

Benefits of technology

It improves the timeliness of roaming services, reduces network load and operator service costs, ensures the accuracy and reliability of quota management, and is applicable to various roaming modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121865246A_ABST
    Figure CN121865246A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a quota management method and device, and relates to the technical field of core network charging and the like, the method comprises the following steps: sending a first request message corresponding to first equipment to a second functional network element in a visited network, the first equipment being equipment in a roaming state; and receiving first quota information configured by the second function network element, wherein the first quota information is used for indicating the quota of the first equipment. The method and the device are used for improving timeliness of providing roaming service for first equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of core network billing technology, and in particular to a quota management method and apparatus. Background Technology

[0002] Quotas are a certain amount of resources that a mobile device can use, which are reserved or allocated by the network for the mobile device. Roaming refers to the ability of a mobile device to use the services of different mobile communication service providers in different regions without having to replace the user identity module (SIM) built into the mobile device.

[0003] In related technologies, obtaining quotas for mobile devices in roaming status includes: the Session Management Function (SMF) network element in the Visited Public Land Mobile Network (VPLMN) of the mobile device sending quota management-related information to the Charging Function (CHF) network element in the Home Public Land Mobile Network (HPLMN) of the mobile device; and the CHF network element of the HPLMN sending quotas to the CHF network element of the VPLMN based on the quota management-related information.

[0004] In the aforementioned technologies, VPLMN and HPLMN need to exchange information to obtain quotas, resulting in poor timeliness in providing roaming services to mobile devices. Summary of the Invention

[0005] This application provides a quota management method and apparatus to improve the timeliness of providing roaming services to a first device.

[0006] In a first aspect, embodiments of this application provide a quota management method applied to a first functional network element in a visited network, the method comprising:

[0007] Send a first request message corresponding to the first device to the second functional network element in the visited network, wherein the first device is a device in a roaming state;

[0008] The first quota information configured by the second functional network element is received, and the first quota information is used to indicate the quota of the first device.

[0009] In some embodiments, the first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

[0010] In some embodiments, if it is determined that the first device has a plan or contract for the visited network, the first request message carries a quota allocation request, the quota allocation request being used to request the acquisition of the first quota information; or...

[0011] If it is determined that the first device has a home network plan or contract, and the home network plan or contract is synchronized to the visited network, the first request message carries the quota allocation request.

[0012] In some embodiments, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition;

[0013] The at least one first condition includes at least one of the following:

[0014] The first device has a package or contract for the visited network; or,

[0015] The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

[0016] In some embodiments, the method further includes sending the first quota information to a third functional network element in the visited network.

[0017] In some embodiments, the method further includes: performing at least one quota request operation;

[0018] The Nth quota request operation includes:

[0019] Receive the Nth session report request message sent by the third functional network element when the preset conditions are met;

[0020] According to the Nth session report request message, an Nth quota allocation request is sent to the second functional network element. The Nth quota allocation request is used to request the acquisition of the Nth second quota information. The Nth second quota information indicates the (N+1)th quota of the first device.

[0021] Receive the Nth second quota information sent by the second functional network element;

[0022] Send the Nth second quota information to the third functional network element, where N is an integer greater than or equal to 1.

[0023] In some embodiments, the total number of times the quota request operation is executed is the number of times required for the total quota of the first device to be exhausted.

[0024] In some embodiments, the preset conditions in the Nth quota request operation include any one of the following:

[0025] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0026] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0027] When N equals 1, the first quota is the quota indicated by the first quota information.

[0028] In some embodiments, the method further includes:

[0029] The first functional network element receives a subscription request message sent by the fourth functional network element in the visited network. The subscription request message instructs the first functional network element to send a quota exhaustion report corresponding to the first device when the total quota of the first device is exhausted.

[0030] When the total quota is exhausted, a quota exhaustion report is sent to the fourth functional network element;

[0031] The fourth functional network element receives a session control policy sent according to the quota exhaustion report. The session control policy is a control policy for the first device when the total quota of the first device is exhausted.

[0032] In some embodiments, the subscription request message is a subscription request message sent by the fourth functional network element when the total quota of the first device is exhausted; or,

[0033] The subscription request message is a subscription request message sent by the fourth functional network element during the session establishment process of the first device.

[0034] In some embodiments, the method further includes:

[0035] A second request message is sent to a second functional element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

[0036] In some embodiments, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0037] In some embodiments, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0038] In some embodiments, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0039] In some embodiments, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0040] Secondly, embodiments of this application provide a quota management method applied to a second functional network element in a visited network, the method comprising:

[0041] Receive a first request message sent by a first functional network element in the visited network, corresponding to a first device, wherein the first device is a device in a roaming state;

[0042] Send the configured first quota information to the first functional network element. The first quota information is used to indicate the quota of the first device.

[0043] In some embodiments, the first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

[0044] In some embodiments, the first request message carries a quota allocation request, which is used to request the acquisition of the first quota information.

[0045] In some embodiments, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition;

[0046] The at least one first condition includes at least one of the following:

[0047] The first device has a package or contract for the visited network; or,

[0048] The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

[0049] In some embodiments, the method further includes: performing at least one quota request operation;

[0050] The Nth quota request operation includes:

[0051] The first functional network element receives the Nth quota allocation request sent according to the Nth session report request message. The Nth quota allocation request is used to request the acquisition of the Nth second quota information, and the Nth second quota information indicates the (N+1)th quota of the first device.

[0052] Send the Nth second quota information to the first functional network element, where N is an integer greater than or equal to 1.

[0053] In some embodiments, the total number of times the quota request operation is executed is the number of times required for the total quota of the first device to be exhausted.

[0054] In some embodiments, the preset conditions in the Nth quota request operation include any one of the following:

[0055] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0056] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0057] When N equals 1, the first quota is the quota indicated by the first quota information.

[0058] In some embodiments, the method further includes:

[0059] A second request message is sent to a second functional element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

[0060] In some embodiments, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0061] In some embodiments, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0062] In some embodiments, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0063] In some embodiments, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0064] Thirdly, embodiments of this application provide a quota management device applied to a first functional network element in a visited network, the device comprising:

[0065] The sending module is used to send a first request message corresponding to a first device to a second functional network element in the visited network, wherein the first device is a device in a roaming state;

[0066] The receiving module is used to receive the first quota information configured by the second functional network element, wherein the first quota information is used to indicate the quota of the first device.

[0067] In some embodiments, the first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

[0068] In some embodiments, the first request message carries a quota allocation request, which is used to request the acquisition of the first quota information.

[0069] In some embodiments, if it is determined that the first device has a plan or contract for the visited network, the first request message carries a quota allocation request, the quota allocation request being used to request the acquisition of the first quota information; or...

[0070] If it is determined that the first device has a home network plan or contract, and the home network plan or contract is synchronized to the visited network, the first request message carries the quota allocation request.

[0071] In some embodiments, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition;

[0072] The at least one first condition includes at least one of the following:

[0073] The first device has a package or contract for the visited network; or,

[0074] The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

[0075] In some embodiments, the sending module is further configured to:

[0076] The first quota information is sent to the third functional network element in the visited network.

[0077] In some embodiments, the receiving module and the receiving module are further configured to: perform at least one quota request operation; wherein performing the Nth quota request operation includes:

[0078] The receiving module is used to receive the Nth session report request message sent by the third functional network element when the preset conditions are met;

[0079] The sending module is configured to send an Nth quota allocation request to the second functional network element according to the Nth session report request message. The Nth quota allocation request is used to request to obtain the Nth second quota information, and the Nth second quota information indicates the (N+1)th quota of the first device.

[0080] The receiving module is used to receive the Nth second quota information sent by the second functional network element;

[0081] The sending module is used to send the Nth second quota information to the third functional network element, where N is an integer greater than or equal to 1.

[0082] In some embodiments, the total number of times the quota request operation is executed is the number of times required for the total quota of the first device to be exhausted.

[0083] In some embodiments, the preset conditions in the Nth quota request operation include any one of the following:

[0084] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0085] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0086] When N equals 1, the first quota is the quota indicated by the first quota information.

[0087] In some embodiments, the receiving module is further configured to receive a subscription request message sent by a fourth functional network element in the visited network, the subscription request message instructing the first functional network element to send a quota exhaustion report corresponding to the first device when the total quota of the first device is exhausted;

[0088] The sending module is also configured to send a quota exhaustion report to the fourth functional network element when the total quota is exhausted;

[0089] The receiving module is further configured to receive a session control policy sent by the fourth functional network element according to the quota exhaustion report, wherein the session control policy is a control policy for the first device when the total quota of the first device is exhausted.

[0090] In some embodiments, the subscription request message is a subscription request message sent by the fourth functional network element when the total quota of the first device is exhausted; or,

[0091] The subscription request message is a subscription request message sent by the fourth functional network element during the session establishment process of the first device.

[0092] In some embodiments, the sending module is further configured to send a second request message to a second functional network element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

[0093] In some embodiments, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0094] In some embodiments, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0095] In some embodiments, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0096] In some embodiments, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0097] Fourthly, embodiments of this application provide a quota management device applied to a second functional network element in a visited network, the device comprising:

[0098] The receiving module is used to receive a first request message sent by a first functional network element in the visited network, corresponding to a first device, wherein the first device is a device in a roaming state;

[0099] The sending module is used to send the configured first quota information to the first functional network element, wherein the first quota information is used to indicate the quota of the first device.

[0100] In some embodiments, the first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

[0101] In some embodiments, the first request message carries a quota allocation request, which is used to request the acquisition of the first quota information.

[0102] In some embodiments, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition;

[0103] The at least one first condition includes at least one of the following:

[0104] The first device has a package or contract for the visited network; or,

[0105] The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

[0106] In some embodiments, the receiving module and the sending module are further configured to: perform at least one quota request operation; wherein performing the Nth quota request operation includes:

[0107] The receiving module is configured to receive the Nth quota allocation request sent by the first functional network element according to the Nth session report request message, wherein the Nth quota allocation request is used to request the acquisition of the Nth second quota information, and the Nth second quota information indicates the (N+1)th quota of the first device;

[0108] The sending module is used to send the Nth second quota information to the first functional network element, where N is an integer greater than or equal to 1.

[0109] In some embodiments, the total number of times the quota request operation is executed is the number of times required for the total quota of the first device to be exhausted.

[0110] In some embodiments, the preset conditions in the Nth quota request operation include any one of the following:

[0111] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0112] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0113] When N equals 1, the first quota is the quota indicated by the first quota information.

[0114] In some embodiments, the sending module is further configured to send a second request message to a second functional network element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

[0115] In some embodiments, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0116] In some embodiments, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0117] In some embodiments, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0118] In some embodiments, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0119] Fifthly, embodiments of this application provide a quota management system, including: a first functional network element and a second functional network element included in a visited network;

[0120] The first functional network element is configured to implement the method described in any one of the first aspects;

[0121] The second functional network element is configured to implement the method described in any of the second aspects.

[0122] Sixthly, embodiments of this application provide a quota management device, including: a memory and a processor;

[0123] The memory stores computer-executed instructions;

[0124] The processor executes computer execution instructions stored in the memory to implement the method as described in any one of the first and second aspects.

[0125] In a seventh aspect, embodiments of this application provide a storage medium storing instructions that, when executed on a quota management device, cause the quota management device to perform the method as described in any one of the first and second aspects.

[0126] Eighthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a quota management device, implements the method as described in any one of the first and second aspects.

[0127] In the quota management method and apparatus provided in this application embodiment, a first functional network element in the visited network sends a first request message corresponding to a first device to a second functional network element in the visited network. The first device is a device in a roaming state. The first functional network element receives first quota information configured by the second functional network element. The first quota information is used to indicate the quota of the first device. The quota can be obtained without information exchange between the VPLMN and HPLMN, which improves the timeliness of providing roaming services to the first device. Attached Figure Description

[0128] Figure 1 This is one of the flowcharts illustrating the process of performing quota management for HPLMN in related technologies.

[0129] Figure 2 The second schematic diagram of the process of performing quota management for HPLMN in related technologies;

[0130] Figure 3 One of the flowcharts illustrating the quota management method provided in this application embodiment;

[0131] Figure 4 A second schematic flowchart illustrating the quota management method provided in this application embodiment;

[0132] Figure 5 The third flowchart illustrating the quota management method provided in this application embodiment;

[0133] Figure 6 The fourth flowchart illustrating the quota management method provided in this application embodiment;

[0134] Figure 7 Fifth flowchart illustrating the quota management method provided in this application embodiment;

[0135] Figure 8 A flowchart illustrating the quota management method provided in this application embodiment is shown in Figure 6.

[0136] Figure 9 The seventh flowchart illustrating the quota management method provided in this application embodiment;

[0137] Figure 10 This is one of the structural schematic diagrams of the quota management device provided in the embodiments of this application;

[0138] Figure 11 A second schematic diagram of the quota management device provided in the embodiments of this application;

[0139] Figure 12 The third schematic diagram of the quota management device provided in the embodiments of this application. Detailed Implementation

[0140] First, the relevant terms used in this application will be explained.

[0141] A quota is a certain amount of resources that a mobile device can use, which is reserved or allocated by the network for the device. Quotas can be denominated in currency or in non-monetary units (such as time, data traffic, etc.). Quotas are used to control and monitor a user's resource usage to ensure that it does not exceed their account balance or pre-set limits.

[0142] Roaming refers to the ability of a mobile device to use the services of different mobile communication service providers in different regions without needing to replace the SIM card built into the mobile device. Roaming can be cross-regional roaming or roaming within the same region.

[0143] HPLMN refers to the local public terrestrial mobile network to which a mobile device belongs.

[0144] A VPLMN (Virtual Mobile Network) refers to a network that provides roaming services to mobile devices after they leave an HPLMMN (Hypermobile Network MN). Unlike HPLMMN, VPLMN supports voice calls, data communication, and SMS services for mobile devices in different countries and regions. It also supports billing services for mobile devices on mobile networks in different countries and regions, such as network fees and SMS fees.

[0145] Mobile devices can be devices that include wireless transceiver capabilities and can work with base stations, HPLMNs, or VPLMNs to provide services to users. Mobile devices can refer to user equipment (UE), mobile terminals, terminal devices, etc. For example, mobile devices can be cellular phones, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices, in-vehicle devices, or wearable devices.

[0146] A base station can be a base station in an HPLMN, a VPLMN, or a base station in a future Public Land Mobile Network (PLMN). Base stations can be carried by satellites.

[0147] Other terms:

[0148] "Including" and its variations can refer to non-restrictive inclusion.

[0149] "First," "second," etc., are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0150] "At least one" means one or more. "More than one" means two or more. "And / or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.

[0151] The terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0152] Phrases such as “under certain circumstances” or “when” are used to indicate conditions.

[0153] The 5G core network can support two roaming scenarios: Home Routed (HR) and Local Breakout (LBO).

[0154] In HR scenarios, when a mobile terminal roams from the coverage area of ​​one network operator to the coverage area of ​​another, the user plane data of the mobile terminal is routed to its destination by the HPLMN (main network). For example, in a 5G NR network, user plane data is transmitted to the HPLMN's UPF via the VPLMN's User Plane Function (UPF), and then the HPLMN's UPF routes the user plane data to its destination. In this scenario, user plane data passes through the main network, simplifying the user plane data routing and billing process, and making traffic management and security control more centralized.

[0155] In LBO scenarios, when a mobile terminal roams from one network operator's coverage area to another, the mobile terminal's user plane data can be directly routed within the VPLMN without first returning to the main network. For example, in a 5G NR network, user plane data is directly routed to its destination via the VPLMN's UPF. In this scenario, user plane data does not need to return to the main network, which reduces latency in user plane data transmission, resulting in a better user experience. This approach can be applied in scenarios with high user plane data traffic or those that are latency-sensitive.

[0156] Currently, the VPLMN's UPF can transmit user plane data according to quotas to ensure that the resource consumption of user plane data does not exceed its account balance or pre-defined limits.

[0157] When a mobile terminal is in roaming mode, quota allocation or management is performed by HPLMN.

[0158] Below, taking 5G NR networks as an example, combined with... Figure 1 and Figure 2 This section explains the quota management implemented by HPLMN in some related technologies.

[0159] Figure 1 This is one of the flowcharts illustrating the process of HPLMN performing quota management in related technologies.

[0160] S101, the SMF of the VPLMN sends quota management-related information to the CHF of the HPLMN.

[0161] S102, HPLMN's CHF sends quotas to VPLMN's CHF based on quota management information.

[0162] Figure 2 This is the second flowchart illustrating the process of performing quota management for HPLMN in related technologies.

[0163] S201, the SMF of the VPLMN sends quota management-related information to the CHF of the VPLMN.

[0164] S202, VPLMN's CHF sends quotas to HPLMMN's CHF based on quota management information.

[0165] S203, HPLMN's CHF sends quotas to VPLMN's CHF.

[0166] In other related technologies, the CHF of HPLMN provides a total quota for the CHF of VPLMN, and the CHF of VPLMN performs real-time quota management based on the total quota.

[0167] The quota management in the aforementioned related technologies has the following drawbacks:

[0168] (1) Frequent information exchange may be required between VPLMN and HPLMN, increasing the signaling overhead of both networks, increasing network load, and making it impossible to provide quotas to mobile terminals in a timely manner, resulting in poor timeliness of roaming services for mobile terminals. The above problems are more serious when there are a large number of mobile terminals in roaming status.

[0169] (2) When there is a communication delay, HPLMN may not be able to obtain the actual quota usage of the mobile terminal in VPLMN in a timely manner, that is, the real-time performance of quota management is affected, which may lead to poor quota management accuracy, such as over-quota usage or interruption of services provided to the mobile terminal.

[0170] (3) Frequent information exchange may be required between VPLMN and HPLMN, which will increase the operator's service costs. In other words, frequent communication across networks (VPLMN and HPLMN) will increase the operator's service costs.

[0171] (4) When there are problems with the connection between HPLMN and VPLMN, the reliability of quota management is reduced, which may adversely affect the service of mobile terminals.

[0172] (5) In some emerging roaming models (such as cooperation between HPLMN operators and VPLMN operators), the HPLMN operator sells specific packages or contracts to users, who can then roam to the VPLMN based on these packages or contracts to enjoy VPLMN services. This roaming model is not limited to cross-regional roaming; it can also be roaming within the same region. For example, if the network services provided by the HPLMN operator and the VPLMN operator differ, users can subscribe to a VPLMN operator's package or contract from the HPLMN operator to enjoy the differentiated services offered by the VPLMN. In these roaming models, the quota management described above is generally no longer applicable.

[0173] In view of this, this application provides a quota management method and apparatus to improve the timeliness of providing roaming services to a first device (also referred to as a mobile device). The quota management method and apparatus provided by this application can be applied to 5G NR systems, as well as other systems that adopt the same billing process; that is, it can be applied to both HR scenarios and LBO scenarios.

[0174] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described here with reference to the accompanying drawings.

[0175] Figure 3 This is one of the flowcharts illustrating the quota management method provided in an embodiment of this application. Figure 3 As shown, the method includes:

[0176] S301, the first functional network element in the VPLMN sends a first request message corresponding to the first device to the second functional network element in the VPLMN. The first device is a device in roaming state.

[0177] In some embodiments, the first functional network element may be an SMF, or other functional network elements may be used.

[0178] In some embodiments, the second functional network element may be a CHF, or other functional network elements may be used. In some embodiments, the CHF belongs to one of the functional network elements in the billing system corresponding to the VPLMN.

[0179] The billing system is, for example, a converged charging system (CCS) or an online charging system (OCS). In some embodiments, the CCS or OCS may also perform the method steps performed by CHF.

[0180] In some embodiments, the first device may be the aforementioned mobile device.

[0181] In this embodiment of the application, the first request message may be referred to as the initial billing data request.

[0182] The Initial Billing Data Request is used to initiate the billing process, providing the necessary session and user information so that CHF can properly manage and record the first device's network usage.

[0183] In some embodiments, the first request message further includes roaming indication information for indicating that the first device is in a roaming state.

[0184] S302, the second functional network element sends the configured first quota information to the first functional network element, the first quota information being used to indicate the quota of the first device.

[0185] In some embodiments, after receiving the first request message, the second functional network element configures the first quota information for the first device according to the first device's package or contract, and sends the configured first quota information to the first functional network element.

[0186] The package or contract for the first device can be a package or contract for the first device in the visited network, or a package or contract for the first device in the home network.

[0187] In some embodiments, the second functional network element may first create a charging data record (CDR) based on the first request message, and then send the configured first quota information to the first functional network element.

[0188] CDR (Content Record) is used to record various detailed information of the first device during the communication process, such as call time, call duration, and call method. CDR is an important basis for operators to conduct business management, billing, and statistical analysis.

[0189] In the quota management method provided in this application embodiment, the first functional network element in the VPLMN sends a first request message to the second functional network element in the VPLMN, and the second functional network element in the VPLMN sends the configured first quota information to the first functional network element in the VPLMN. This can realize the quota management of the first device in the VPLMN without the need for information exchange between the VPLMN and HPLMN, and can improve the timeliness of providing roaming services to the first device.

[0190] Furthermore, since the method provided in this application does not require information exchange between VPLMN and HPLMN, it can save signaling overhead between VPLMN and HPLMN and reduce network load. Especially when there are a large number of mobile terminals in roaming status, it can also ensure the timeliness of providing roaming services to mobile terminals in roaming status.

[0191] Furthermore, since the method provided in this application does not require information exchange between VPLMN and HPLMN, it can avoid the situation where HPLMN may be unable to obtain the actual quota usage of the mobile terminal in VPLMN in a timely manner when there is a communication delay. This improves the accuracy of quota management and prevents over-quota usage or service interruption for the mobile terminal.

[0192] Furthermore, since the method provided in this application eliminates the need for information exchange between the VPLMN and HPLMN, it can reduce the service costs for operators. Moreover, even when connection problems occur between the HPLMN and VPLMN, the VPLMN can still perform quota management, improving the reliability of quota management, avoiding adverse effects on mobile terminal services, and enabling its application in some emerging roaming modes.

[0193] In some embodiments, the first request message carries roaming indication information, which indicates that the first device is in a roaming state. Alternatively, the first request message may not carry roaming indication information, and the second functional network element can determine whether the first device is in a roaming state independently.

[0194] In some embodiments, when the roaming user quota allocation process is triggered by the first functional network element, the first request message carries a quota allocation request; otherwise, the quota allocation request may not be carried. The quota allocation request is used to request the acquisition of the first quota information.

[0195] In some embodiments, the first request message carries roaming instruction information and a quota allocation request.

[0196] The following example uses a quota allocation request carried in the first request message, combined with... Figure 4 This application explains the quota management method provided.

[0197] Figure 4 This is a second schematic flowchart illustrating the quota management method provided in an embodiment of this application. Figure 4 As shown, the method includes:

[0198] S401. The first device sends a session establishment request message to the fifth functional network element in the VPLMN. The first device is a device in roaming state.

[0199] In some embodiments, the fifth functional element is, for example, the Access and Mobility Management Function (AMF).

[0200] The session establishment request message is called the PDU Session EstablishmentRequest message.

[0201] S402, the fifth functional network element sends a message to the first functional network element to create a session context.

[0202] In some embodiments, the message for creating a session context is the message for creating a PDU session context (Nsmf_PDUSession_CreateSMContext Request).

[0203] The message that creates the session context carries the PLMN identifier (ID) corresponding to the Subscription Permanent Identifier (SUPI).

[0204] S403. The first functional network element selects a suitable second functional network element in the VPLMN.

[0205] When the PLMN ID corresponding to SUPI is different from the PLMN ID of VPLMN, the first functional network element determines that the first device is in roaming state and selects a suitable second functional network element in VPLMN.

[0206] It should be noted that, in Figure 3 In the embodiments, S401 to S403 may also be included before S301.

[0207] S404. The first functional network element sends a first request message corresponding to the first device to the second functional network element. The first request message carries a quota allocation request, which is used to request the acquisition of the first quota information.

[0208] In some embodiments, when the first functional network element determines that the first device has a package or contract for visiting the network, the first request message carries a quota allocation request.

[0209] Specifically, when a user subscribes to a package or contract for the first device in the visited network, the package or contract for the first device in the visited network can be pre-stored in the visited network's billing system, Unified Data Management (UDM), or Unified Data Repository (UDR). The first functional network element can obtain the package or contract for the first device in the visited network from the visited network's billing system, UDM, or UDR to determine that the first device has a package or contract for the visited network.

[0210] In some embodiments, when the first functional network element determines that the first device has a home network package or contract and the home network package or contract is synchronized to the visited network, the first request message carries a quota allocation request.

[0211] Specifically, when a user subscribes to a package or contract for the first device in the home network, the package or contract for the first device in the home network can be synchronized in advance to the billing system, UDM, or UDR of the visited network. This allows the first functional network element to obtain the package or contract for the first device in the visited network from the billing system, UDM, or UDR of the visited network, thus confirming that the first device has a package or contract for the visited network.

[0212] In this embodiment of the application, the user can order a package or contract for the first device on the visited network from the HPLMN operator.

[0213] S405. The second functional network element sends the configured first quota information to the first functional network element according to the quota allocation request. The first quota information is used to indicate the quota of the first device.

[0214] In some embodiments, the second functional network element sends the configured first quota information to the first functional network element, including: the second functional network element configuring the first quota information for the first device according to the first device's package or contract in the visited network, and sending the configured first quota information to the first functional network element.

[0215] Optionally, the package or contract of the visited network for the first device can be used to indicate the total quota of the first device, and the second functional network element can configure the first quota information for the first device according to the total quota of the first device. Optionally, the second functional network element can also configure the first quota information for the first device according to the current remaining quota of the first device in the total quota.

[0216] In some embodiments, the second functional network element sends the configured first quota information to the first functional network element, including: the second functional network element configures the first quota information for the first device according to the first device's package or contract in the home network, and sends the configured first quota information to the first functional network element, wherein the home network's package or contract has been synchronized to the visited network.

[0217] In some embodiments, the second functional network element may send a first response message to the first functional network element, the first response message carrying first quota information.

[0218] In some embodiments, the first response message may be referred to as the first initial billing data response or the initial billing data response.

[0219] S406. The first functional network element sends the first quota information to the third functional network element.

[0220] In some embodiments, the third functional network element can be a UPF, or it can be other functional network elements.

[0221] In some embodiments, the first functional network element sends a PFCP session modification request message to the third functional network element, and the PFCP session modification request carries the first quota information.

[0222] In some embodiments, the PFCP session modification request may further include an identifier for a forwarding action rule (e.g., a FAR ID for Quota Action). Optionally, the identifier for the forwarding action rule may be used to indicate a rule in case the quota is exhausted. The forwarding action rule may be, for example, to cause the first device to display a recharge interface or to restrict the service of the first device (e.g., reduce the bandwidth of the first device).

[0223] After the PDU session is fully established, the S407 and third functional network elements forward the data traffic of the first device according to the first quota information.

[0224] Specifically, the data traffic of the first device is forwarded according to the quota indicated by the first quota information.

[0225] S408, the third functional network element sends quota usage information to the first functional network element.

[0226] In some embodiments, the third functional network element sends a PFCP Session Report Request message to the first functional network element, and the PFCP Session Report Request message carries quota usage information.

[0227] In some embodiments, the PFCP session report request message includes a Usage Report IE, which carries quota usage information.

[0228] In some embodiments, quota usage information includes usage report triggers and used quotas (e.g., volume measurement results).

[0229] Use a report trigger to indicate one or more of the following: traffic quota reaches traffic threshold, time quota reaches time threshold, event quota reaches event threshold, etc.

[0230] In the embodiments of this application, "reaching" can be understood as greater than or equal to.

[0231] It should be noted that, Figure 4 The quota management method provided in the embodiment and Figure 3 The quota management method in the embodiments has the same beneficial effects, and will not be described again here.

[0232] In some embodiments, the roaming user quota allocation process can be triggered by a second functional network element, and the first request message may not carry a quota allocation request. Based on this embodiment, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition; wherein, at least one first condition includes at least one of the following:

[0233] The first device has a package or contract for the visited network; or, the first device has a package or contract for the home network, and the home network's package or contract is synchronized to the visited network. Below, based on this embodiment, [the following is a description of the embodiment and its associated terms]. Figure 5 This application provides an explanation of the quota management method.

[0234] Figure 5 This is the third flowchart illustrating the quota management method provided in this application's embodiments. Figure 5 As shown, the method includes:

[0235] S501, The first device sends a session establishment request message to the fifth functional network element in the VPLMN. The first device is a device in roaming state.

[0236] In S502, the fifth functional element in the VPLMN sends a message to the first functional element to create a session context.

[0237] S503. The first functional network element selects the appropriate second functional network element in the VPLMN.

[0238] For details on the execution process of S501 to S503, please refer to the execution process of S401 to S403, which will not be repeated here.

[0239] S504. The first functional network element sends a first request message corresponding to the first device to the second functional network element. The first request message does not carry a quota allocation request.

[0240] In some embodiments, the first request message may also carry a quota allocation request.

[0241] In some embodiments, when the first request message does not carry a quota allocation request, the second functional network element executes S505 when it determines that the first device is in a roaming state.

[0242] In some embodiments, when the first request message may also carry a quota allocation request, the second functional network element executes S505 when it determines that the first device is in a roaming state.

[0243] S505. After receiving the first request message, the second functional network element, upon determining that the first device has a package or contract for visiting the network, sends the configured first quota information to the first functional network element. The first quota information is used to indicate the quota of the first device.

[0244] For example, the second functional network element configures the first quota information for the first device according to the first device's package or contract in the visited network, and sends the configured first quota information to the first functional network element.

[0245] Specifically, when a user subscribes to a package or contract for the first device on the visited network, the package or contract for the first device on the visited network can be pre-stored in the visited network's billing system, UDM, or UDR. The second functional network element can obtain the package or contract for the first device on the visited network from the visited network's billing system, UDM, or UDR to determine that the first device has a package or contract for the visited network.

[0246] Optionally, the package or contract of the visited network for the first device can be used to indicate the total quota of the first device, and the second functional network element can configure the first quota information for the first device according to the total quota of the first device. Optionally, the second functional network element can also configure the first quota information for the first device according to the current remaining quota of the first device in the total quota.

[0247] In some embodiments, when the second functional network element receives a quota allocation request, it sends the configured first quota information to the first functional network element when it determines that the first device has a home network package or contract and that the home network package or contract is synchronized to the visited network.

[0248] For example, when the second functional network element receives a quota allocation request, and determines that the first device has a home network package or contract and that the home network package or contract is synchronized to the visited network, it configures the first quota information for the first device according to the home network package or contract of the first device, and sends the configured first quota information to the first functional network element.

[0249] Specifically, when a user subscribes to a package or contract for the first device in the home network, the package or contract for the first device in the home network can be synchronized in advance to the billing system, UDM, or UDR of the visited network. This allows the second functional network element to obtain the package or contract for the first device in the visited network from the billing system, UDM, or UDR of the visited network, thereby confirming that the first device has a package or contract for the visited network.

[0250] Optionally, the package or contract of the first device in its home network can be used to indicate the total quota of the first device, and the second functional network element can configure the first quota information for the first device according to the total quota of the first device. Optionally, the second functional network element can configure the first quota information for the first device according to the current remaining quota of the first device in the total quota.

[0251] In some embodiments, after receiving the first request message, the second functional network element sends configured first quota information to the first functional network element when it determines that the first device has a home network package or contract and that the home network package or contract is synchronized to the visited network. The first quota information is used to indicate the quota of the first device.

[0252] S506. The first functional network element sends the first quota information to the third functional network element.

[0253] S507: After the PDU session is fully established, the third functional network element forwards the data traffic of the first device according to the first quota information.

[0254] S508, the third functional network element sends quota usage information to the first functional network element.

[0255] For details on the execution process of S506 to S508, please refer to the execution process of S406 to S408, which will not be repeated here.

[0256] It should be noted that, Figure 5 The quota management method provided in the embodiment and Figure 3 The quota management method in the embodiments has the same beneficial effects, and will not be described again here.

[0257] Based on any of the above embodiments, the method provided in this application further includes: performing at least one quota request operation; wherein performing the Nth quota request operation includes:

[0258] Receive the Nth session report request message sent by the third functional network element when the preset conditions are met;

[0259] According to the Nth session report request message, the Nth quota allocation request is sent to the second functional network element. The Nth quota allocation request is used to request the acquisition of the Nth second quota information. The Nth second quota information indicates the (N+1)th quota of the first device.

[0260] Receive the Nth second quota information sent by the second functional network element;

[0261] Send the Nth second quota information to the third functional network element, where N is an integer greater than or equal to 1.

[0262] The preset conditions for the Nth quota request operation include any of the following:

[0263] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0264] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0265] When N equals 1, the first quota is the quota indicated by the first quota information.

[0266] The first quota threshold indicates that when the remaining quota in the Nth quota is small, the third functional network element sends the Nth session report request message. This can be understood as triggering the acquisition of a new quota when the remaining quota is small.

[0267] The second quota threshold indicates that when the used quota in the Nth quota is large, the third functional network element sends the Nth session report request message. This can be understood as triggering the acquisition of a new quota when the used quota is large.

[0268] In this application embodiment, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0269] In this embodiment of the application, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0270] In this application embodiment, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0271] In some embodiments, the first quota threshold corresponding to the quota is the difference between the quota and the second quota threshold corresponding to the quota.

[0272] Traffic threshold, also known as data traffic threshold, is a threshold based on data usage. When the data usage of a first device reaches this threshold, it triggers a second functional network element to generate a new CDR. Traffic thresholds can be used to monitor and record data usage, such as mobile data traffic.

[0273] A time threshold is a time-based threshold that triggers a second-function network element to generate a new CDR when the duration of a (PDU) session reaches that threshold. A traffic threshold is used to monitor and record time-based service usage, such as call duration.

[0274] An event threshold is a limit based on the number of specific events. When the number of occurrences of a specific type of event reaches this threshold, a second functional network element is triggered to generate a new Code Receiver (CDR). Event thresholds are used to monitor and record event-based service usage, such as the number of SMS messages sent.

[0275] The thresholds provided in the application embodiments have the following uses:

[0276] (1) By setting these thresholds, excessively large CDRs can be avoided, making CDRs easier to process and transmit, thus achieving the goal of controlling the size of CDRs;

[0277] (2) Allows CDRs to be generated periodically during long sessions to provide users with more timely billing information, thereby enhancing the real-time nature of billing information;

[0278] (3) Operators can configure these thresholds as needed to adapt to different billing strategies and business needs, making quota management more flexible;

[0279] (4) It helps to better manage network resources and detect abnormal usage in a timely manner;

[0280] (5) Even if the session is still ongoing, when the used quota reaches these thresholds, a partial CDR will be generated to allow the first device to continue using the quota;

[0281] (6) The use of these thresholds enables the billing system to record users’ quota usage more accurately and flexibly, providing support for accurate billing and effective quota management.

[0282] In some embodiments, the (N-1)th quota and the Nth quota may be different or the same.

[0283] For example, the (N-1)th quota is different from the Nth quota. In the case of a traffic quota, the (N-1)th quota is, for example, 30 gigabytes (GB), and the Nth quota is, for example, 10GB.

[0284] For example, the (N-1)th quota is the same as the Nth quota. In the case of a traffic quota, the (N-1)th quota is, for example, 30GB, and the Nth quota is, for example, 30GB.

[0285] The following example uses N=2, combined with Figure 6 The embodiments illustrate the quota management method provided in this application.

[0286] Figure 6 This is the fourth flowchart illustrating the quota management method provided in this application's embodiments. Figure 6 As shown, the method includes:

[0287] S601, The first functional network element sends a first request message corresponding to the first device to the second functional network element, wherein the first device is a device in roaming state.

[0288] In some embodiments, before S601, S401 to S403 may also be included.

[0289] For details on the execution process of S601, please refer to the execution process of S301, which will not be repeated here.

[0290] S602. The second functional network element sends the configured first quota information to the first functional network element. The first quota information is used to indicate the quota of the first device (hereinafter referred to as the first quota).

[0291] In some embodiments, the first quota information includes one or more of the following: the quota of the first device, the first quota threshold corresponding to the quota of the first device, and the second quota threshold corresponding to the quota of the first device.

[0292] In some embodiments, the quota of the first device includes one or more of the following: the traffic quota of the first device, the time quota of the first device, and the event quota of the first device. The corresponding first quota threshold includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold. The corresponding second quota threshold includes one or more of the following: a second traffic threshold, a second time threshold, and a second event threshold.

[0293] Specifically, the execution process of S602 can be found in the execution processes of S302, S405, or S505, and will not be repeated here.

[0294] S603, The first functional network element sends the first quota information to the third functional network element.

[0295] Specifically, the execution process of S603 can be found in the execution process of S306, and will not be repeated here.

[0296] In some embodiments, after S603 and before S604, S407 to S408 may also be included.

[0297] S604. Perform the first quota request operation. The first quota request operation includes: S604a-S604e.

[0298] S604a When the preset conditions are met, the third functional network element sends the first session report request message to the first functional network element.

[0299] In some embodiments, the first quota information includes a first quota and a first quota threshold corresponding to the first quota; the preset condition in S604a includes: the remaining quota of the first quota is less than or equal to the first quota threshold corresponding to the first quota.

[0300] In some embodiments, the first quota information includes a first quota and a second quota threshold corresponding to the first quota; the preset condition in S604a includes: the used quota of the first quota is greater than or equal to the second quota threshold corresponding to the first quota.

[0301] In some embodiments, the first quota threshold corresponding to the first quota is the difference between the first quota and the second quota threshold corresponding to the first quota.

[0302] If the first quota threshold is the difference between the first quota and the second quota threshold, and if the first quota information includes the first quota and the second quota threshold corresponding to the first quota, then the preset condition in S604a may also include: the used quota of the first quota is greater than or equal to the second quota threshold corresponding to the first quota.

[0303] In this embodiment of the application, the first quota is the sum of the corresponding remaining quota and the corresponding used quota.

[0304] In some embodiments, the session report request message is a PFCP session report request.

[0305] Optionally, the session report request message is used to indicate that preset conditions have been met.

[0306] S604b: The first functional network element sends a first quota allocation request to the second functional network element according to the first session report request message. The first quota allocation request is used to request to obtain the first second quota information. The first second quota information is used to indicate the second quota of the first device.

[0307] In some embodiments, the first second quota information includes one or more of the following: a second quota, a first quota threshold corresponding to the second quota, and a second quota threshold corresponding to the second quota.

[0308] In some embodiments, the second quota includes one or more of the following: traffic quota, time quota, and event quota.

[0309] In some embodiments, the first quota threshold corresponding to the second quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0310] In some embodiments, the second quota threshold corresponding to the second quota includes one or more of the following: a second traffic threshold, a second time threshold, and a second event threshold.

[0311] S604c: The second functional network element sends the configured first second quota information to the first functional network element according to the first quota allocation request.

[0312] For details on the execution process of S604c, please refer to the execution process of S505, which will not be repeated here.

[0313] S604d: The first functional network element sends the first second quota information to the third functional network element.

[0314] In some embodiments, the first functional network element sends a PFCP session modification request to the third functional network element, and the PFCP session modification request carries second quota information.

[0315] S605. Perform the second quota request operation, which includes: S605a-S605e.

[0316] S605a When the preset conditions are met, the third functional network element sends a second session report request message to the first functional network element.

[0317] In some embodiments, the first second quota information includes a second quota and a first quota threshold corresponding to the second quota; the preset condition in S605a includes: the remaining quota of the second quota is less than or equal to the first quota threshold corresponding to the second quota.

[0318] In some embodiments, the first second quota information includes a second quota and a second quota threshold corresponding to the second quota; the preset condition in S605a includes: the used quota of the second quota is greater than or equal to the second quota threshold corresponding to the second quota.

[0319] In some embodiments, the first quota threshold corresponding to the second quota is the difference between the second quota and the corresponding second quota threshold.

[0320] If the first quota threshold corresponding to the second quota is the difference between the second quota and the second quota threshold, and if the first second quota information includes the second quota and the second quota threshold corresponding to the second quota, then the preset condition in S605a may also include: the used quota of the second quota is greater than or equal to the second quota threshold corresponding to the second quota.

[0321] In this embodiment of the application, the second quota is the sum of the corresponding remaining quota and the corresponding used quota.

[0322] S605b, the first functional network element sends a second quota allocation request to the second functional network element according to the second session report request message. The second quota allocation request is used to request to obtain the second second quota information. The second second quota information is used to indicate the third quota of the first device.

[0323] S605c: The second functional network element sends the configured second quota information to the first functional network element according to the second quota allocation request.

[0324] For details on the execution process of S605c, please refer to the execution process of S505, which will not be repeated here.

[0325] S605d: The first functional network element sends the configured second quota information to the third functional network element.

[0326] Specifically, the execution methods of S605b-S605d are similar to those of S604b-S604d, and will not be repeated here.

[0327] In some embodiments, the total number of quota request operations performed is the number of times required for the total quota of the first device to be exhausted.

[0328] For example, if the total quota of the first device is 55GB and the quota is 15GB, and each new quota is 10GB, then the total number of quota request operations is 4 (i.e. (55-15) / 10=4).

[0329] For example, if the total quota of the first device is 55GB and the quota is 10GB, and each new quota is 6GB, then the total number of quota request operations is 7 (i.e. (55-15) / 6≈7).

[0330] In this embodiment of the application, the first functional network element can request quotas from the second functional network element multiple times, which makes quota management more flexible, accurate and efficient, meeting the operator's needs for accurate billing and quota control, and providing users with a good communication experience.

[0331] When the total quota of the first device is exhausted, the method provided in this application embodiment further includes the following: Figure 7 The steps are shown.

[0332] Figure 7 This is the fifth flowchart illustrating the quota management method provided in this application's embodiments. Figure 7 As shown, the method also includes:

[0333] S701. The fourth functional network element in the visited network sends a subscription request message to the first functional network element. The subscription request message instructs the first functional network element to send a quota exhaustion report corresponding to the first device when the total quota of the first device is exhausted.

[0334] In some embodiments, the fourth functional network element is a policy control function (PCF), but it can also be other network elements.

[0335] The subscription request message is used to subscribe to the No Quota (NO_CREDIT) event (also known as the total quota exhaustion event).

[0336] In some embodiments, the subscription request message is a subscription request message sent by the fourth functional network element when the total quota of the first device is exhausted; or, the subscription request message is a subscription request message sent by the fourth functional network element during the session establishment process of the first device.

[0337] S702. When the total quota is exhausted, the first functional network element sends a quota exhaustion report to the fourth functional network element.

[0338] During the continuous data transmission of the first device, the first functional network element monitors in real time whether the total quota of the first device has been exhausted, and sends a quota exhaustion report to the fourth functional network element when it is determined that the total quota has been exhausted.

[0339] S703, the fourth functional network element sends a session control policy (or an updated session control policy) to the first functional network element based on the quota exhaustion report. The session control policy is the control policy for the first device when the total quota of the first device is exhausted.

[0340] In some embodiments, the session control policy includes one or more of the following:

[0341] Terminate service to the first device;

[0342] Redirect the first device to a specific Uniform Resource Locator (URL);

[0343] Limited to services provided by the first device;

[0344] Continue to provide services for the first device, but will no longer be billed.

[0345] In some embodiments, the URL may indicate, for example, a recharge page.

[0346] In some embodiments, the services provided to the first device are limited, for example, by reducing the bandwidth of the first device.

[0347] S704. The first functional network element converts the session control policy into an executable control policy of the third functional network element.

[0348] S705, The first functional network element sends an executable control policy to the third functional network element.

[0349] In some embodiments, the first functional network element sends an executable control policy to the third functional network element through a preset interface (e.g., the N4 interface).

[0350] S706. When the total quota of the first device is exhausted, the third functional network element executes an executable control strategy to control the first device.

[0351] In this embodiment, the first functional network element, the third functional network element, and the fourth functional network element cooperate to implement different strategies (such as reducing bandwidth or redirecting to the recharge page) when the total quota of the first device is exhausted. This can avoid sudden interruption of the service provided to the first device, improve the continuity of service provided to the first device, and ensure that the first device is not suddenly affected when performing critical business.

[0352] Based on the above embodiments, the visiting network can also notify the home network that quota management for the first device is performed by the visiting network. The following, in conjunction with... Figure 8 and Figure 9 This section explains the process of notifying the network owner of a visited network.

[0353] Figure 8 This is the sixth flowchart illustrating the quota management method provided in this application. Figure 8 As shown, the method also includes:

[0354] S801, the first functional network element in the VPLMN sends a first request message corresponding to the first device to the second functional network element in the VPLMN. The first device is a device in roaming state.

[0355] S802, the second functional network element in the VPLMN sends a second request message to the second functional network element in the HPLMN. The second request message is used to instruct the quota management of the first device to be performed by the VPLMN.

[0356] In some embodiments, the second functional network element in the HPLMN can be a CHF (Chain Functional Element), or it can be another functional network element in the HPLMN. In some embodiments, this CHF belongs to one of the functional network elements in the charging system (e.g., CCS or OCS) corresponding to the HPLMN. In some embodiments, the CCS or OCS corresponding to the HPLMN can also execute the method steps executed by the CHF in the HPLMN.

[0357] In this embodiment of the application, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0358] In some embodiments, the second functional network element in the VPLMN can send a second request message to the second functional network element in the HPLMN after the CDR creation is completed. Figure 8 (This will be used as an example for illustration).

[0359] In some embodiments, a second functional network element in a VPLMN may send a second request message to a second functional network element in an HPLMN before the creation of a CDR is completed.

[0360] S803, the second functional network element in HPLMN sends a second response message to the second functional network element in VPLMN. The second response message is used to instruct HPLMN to know that the quota management of the first device is performed by VPLMN.

[0361] S804, the second functional network element in the VPLMN sends a first response message to the first functional network element in the VPLMN, and the first response message carries the first quota information configured by the second functional network element.

[0362] S805, the first functional network element in the VPLMN sends the first quota information to the third functional network element in the VPLMN according to the first response message.

[0363] It should be noted that the execution order of S801 to S805 is only an exemplary execution order, which is used to illustrate that the quota management of the first device of the HPLMN is notified by the second functional network element in the VPLMN.

[0364] In some embodiments, the execution order of S801 to S805 can be adjusted, for example, the execution order can also be adjusted to: S801, S804, S802, S803, S805.

[0365] In related technologies, billing is performed by the HPLMN. Therefore, when the VPLMN performs quota management (which can be understood as the VPLMN performing billing), the first functional network element in the VPLMN sends a second request message to the second functional network element in the HPLMN. The second request message is used to instruct the quota management of the first device to be performed by the VPLMN, which can prevent the HPLMN from performing duplicate billing.

[0366] Figure 9 This is the seventh flowchart illustrating the quota management method provided in this application embodiment. Figure 9 As shown, the method includes:

[0367] S901, the first functional network element in the VPLMN sends a first request message corresponding to the first device to the second functional network element in the VPLMN. The first device is a device in roaming state.

[0368] S902, the second functional network element in the VPLMN sends a first response message to the first functional network element in the VPLMN, and the first response message carries the first quota information configured by the second functional network element.

[0369] S903, the first functional network element in the VPLMN sends a second request message to the second functional network element in the HPLMN. The second request message is used to instruct the quota management of the first device to be performed by the VPLMN.

[0370] S904, the second functional network element in HPLMN sends a second response message to the first functional network element in VPLMN. The second response message is used to instruct HPLMN to know that the quota management of the first device is performed by VPLMN.

[0371] S905, the first functional network element in the VPLMN sends the first quota information to the third functional network element in the VPLMN.

[0372] In related technologies, billing is performed by the HPLMN. Therefore, when the VPLMN performs quota management (which can be understood as the VPLMN performing billing), the first functional network element in the VPLMN sends a second request message to the second functional network element in the HPLMN. The second request message is used to instruct the quota management of the first device to be performed by the VPLMN, which can prevent the HPLMN from performing duplicate billing.

[0373] Figure 10 This is one of the structural schematic diagrams of a quota management device provided in an embodiment of this application. The quota management device 10 can be implemented through a combination of software and / or hardware. Figure 10 As shown, the quota management device 10 includes:

[0374] Sending module 1001 is used to send a first request message corresponding to a first device to a second functional network element in the visited network, wherein the first device is a device in a roaming state;

[0375] The receiving module 1002 is used to receive the first quota information configured by the second functional network element, wherein the first quota information is used to indicate the quota of the first device.

[0376] The quota management device 10 provided in this application embodiment executes the method steps of the first functional network element in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0377] In some embodiments, the first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

[0378] In some embodiments, if it is determined that the first device has a plan or contract for the visited network, the first request message carries a quota allocation request, the quota allocation request being used to request the acquisition of the first quota information; or...

[0379] If it is determined that the first device has a home network plan or contract, and the home network plan or contract is synchronized to the visited network, the first request message carries the quota allocation request.

[0380] In some embodiments, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition;

[0381] The at least one first condition includes at least one of the following:

[0382] The first device has a package or contract for the visited network; or,

[0383] The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

[0384] In some embodiments, the sending module 1001 is further configured to send the first quota information to a third functional network element in the visited network.

[0385] In some embodiments, receiving module 1002 and receiving module 1002 are further configured to: perform at least one quota request operation; wherein performing the Nth quota request operation includes:

[0386] The receiving module 1002 is used to receive the Nth session report request message sent by the third functional network element when the preset conditions are met;

[0387] The sending module 1001 is configured to send an Nth quota allocation request to the second functional network element according to the Nth session report request message. The Nth quota allocation request is used to request to obtain the Nth second quota information, and the Nth second quota information indicates the (N+1)th quota of the first device.

[0388] The receiving module 1002 is used to receive the Nth second quota information sent by the second functional network element;

[0389] The sending module 1001 is used to send the Nth second quota information to the third functional network element, where N is an integer greater than or equal to 1.

[0390] In some embodiments, the total number of times the quota request operation is executed is the number of times required for the total quota of the first device to be exhausted.

[0391] In some embodiments, the preset conditions in the Nth quota request operation include any one of the following:

[0392] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0393] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0394] When N equals 1, the first quota is the quota indicated by the first quota information.

[0395] In some embodiments, the receiving module 1002 is further configured to receive a subscription request message sent by a fourth functional network element in the visited network, the subscription request message instructing the first functional network element to send a quota exhaustion report corresponding to the first device when the total quota of the first device is exhausted;

[0396] The sending module 1001 is also configured to send a quota exhaustion report to the fourth functional network element when the total quota is exhausted;

[0397] The receiving module 1002 is further configured to receive a session control policy sent by the fourth functional network element according to the quota exhaustion report, wherein the session control policy is a control policy for the first device when the total quota of the first device is exhausted.

[0398] In some embodiments, the subscription request message is a subscription request message sent by the fourth functional network element when the total quota of the first device is exhausted; or,

[0399] The subscription request message is a subscription request message sent by the fourth functional network element during the session establishment process of the first device.

[0400] In some embodiments, the sending module 1001 is further configured to send a second request message to a second functional network element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

[0401] In some embodiments, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0402] In some embodiments, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0403] In some embodiments, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0404] In some embodiments, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0405] The quota management device 10 provided in this application embodiment executes the method steps of the first functional network element in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0406] Figure 11 This is a second schematic diagram of the quota management device provided in an embodiment of this application. The quota management device 11 can be implemented through a combination of software and / or hardware. For example... Figure 11 As shown, the quota management device 11 includes:

[0407] The receiving module 1101 is used to receive a first request message sent by a first functional network element in the visited network, corresponding to a first device, wherein the first device is a device in a roaming state;

[0408] The sending module 1102 is used to send the configured first quota information to the first functional network element, wherein the first quota information is used to indicate the quota of the first device.

[0409] The quota management device 11 provided in this application embodiment executes the method steps performed by the second functional network element in the visited network in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0410] In some embodiments, the first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

[0411] In some embodiments, the first request message carries a quota allocation request, which is used to request the acquisition of the first quota information.

[0412] In some embodiments, the first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition;

[0413] The at least one first condition includes at least one of the following:

[0414] The first device has a package or contract for the visited network; or,

[0415] The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

[0416] In some embodiments, the receiving module 1101 and the sending module 1102 are further configured to: perform at least one quota request operation; wherein performing the Nth quota request operation includes:

[0417] The receiving module 1101 is configured to receive the Nth quota allocation request sent by the first functional network element according to the Nth session report request message, wherein the Nth quota allocation request is used to request to obtain the Nth second quota information, and the Nth second quota information indicates the (N+1)th quota of the first device;

[0418] The sending module 1102 sends the Nth second quota information to the first functional network element, where N is an integer greater than or equal to 1.

[0419] In some embodiments, the total number of times the quota request operation is executed is the number of times required for the total quota of the first device to be exhausted.

[0420] In some embodiments, the preset conditions in the Nth quota request operation include any one of the following:

[0421] The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota;

[0422] The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota;

[0423] When N equals 1, the first quota is the quota indicated by the first quota information.

[0424] In some embodiments, the sending module 1102 is further configured to send a second request message to a second functional network element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

[0425] In some embodiments, the second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

[0426] In some embodiments, the quota includes one or more of the following: traffic quota, time quota, and event quota.

[0427] In some embodiments, the first quota threshold corresponding to the quota includes one or more of the following: a first traffic threshold, a first time threshold, and a first event threshold.

[0428] In some embodiments, the second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

[0429] The quota management device 11 provided in this application embodiment executes the method steps performed by the second functional network element in the visited network in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0430] Figure 12 This is the third schematic diagram of the quota management device provided in the embodiments of this application. Figure 12 As shown, the quota management device 120 may include a memory 1201, a processor 1202, and a transceiver 1203. The transceiver 1203 may include a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, transmitter port, or transmitter interface, etc., and the receiver may also be referred to as a receiver, receiver port, or receiver interface, etc. Exemplarily, each of the memory 1201, processor 1202, and transceiver 1203 is interconnected via a bus 1204.

[0431] The memory 1201 is used to store program instructions. The processor 1202 is used to execute the program instructions stored in the memory to cause the electronic device to perform the above-described method.

[0432] Implementing all or part of the steps of each of the above method embodiments can be accomplished by hardware associated with program instructions. The program described above can be stored in a readable memory. When the program is executed, it performs the steps of each of the above method embodiments; and the memory (storage medium) described above includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.

[0433] This application provides a quota management system, including a first functional network element, a second functional network element, a third functional network element, and a fourth functional network element in a visited network.

[0434] This application provides a storage medium storing instructions that, when executed on a quota management device, cause the quota management device to perform any of the above-described method embodiments.

[0435] This application provides a computer program product, including a computer program, which, when executed by a quota management device, implements any of the above-described method embodiments.

[0436] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0437] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0438] Those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

Claims

1. A quota management method, characterized in that, The method, applied to a first functional network element in a visited network, includes: Send a first request message corresponding to the first device to the second functional network element in the visited network, wherein the first device is a device in a roaming state; The first quota information configured by the second functional network element is received, and the first quota information is used to indicate the quota of the first device.

2. The method according to claim 1, characterized in that, The first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

3. The method according to claim 1 or 2, characterized in that, If it is determined that the first device has a package or contract for the visited network, the first request message carries a quota allocation request, which is used to request the acquisition of the first quota information; or, If it is determined that the first device has a home network plan or contract, and the home network plan or contract is synchronized to the visited network, the first request message carries the quota allocation request.

4. The method according to claim 1 or 2, characterized in that, The first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition; The at least one first condition includes at least one of the following: The first device has a package or contract for the visited network; or, The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: The first quota information is sent to the third functional network element in the visited network.

6. The method according to claim 5, characterized in that, The method further includes: performing at least one quota request operation; The Nth quota request operation includes: Receive the Nth session report request message sent by the third functional network element when the preset conditions are met; According to the Nth session report request message, the Nth quota allocation request is sent to the second functional network element. The Nth quota allocation request is used to request to obtain the Nth second quota information. The Nth second quota information indicates the (N+1)th quota of the first device. Receive the Nth second quota information sent by the second functional network element; Send the Nth second quota information to the third functional network element, where N is an integer greater than or equal to 1.

7. The method according to claim 6, characterized in that, The total number of times the quota request operation is executed is the number of times required when the total quota of the first device is exhausted.

8. The method according to claim 6 or 7, characterized in that, The preset conditions for the Nth quota request operation include any of the following: The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota; The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota; When N equals 1, the first quota is the quota indicated by the first quota information.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: The first functional network element receives a subscription request message sent by the fourth functional network element in the visited network. The subscription request message instructs the first functional network element to send a quota exhaustion report corresponding to the first device when the total quota of the first device is exhausted. When the total quota is exhausted, a quota exhaustion report is sent to the fourth functional network element; The fourth functional network element receives a session control policy sent according to the quota exhaustion report. The session control policy is a control policy for the first device when the total quota of the first device is exhausted.

10. The method according to claim 9, characterized in that, The subscription request message is a subscription request message sent by the fourth functional network element when the total quota of the first device is exhausted; or, The subscription request message is a subscription request message sent by the fourth functional network element during the session establishment process of the first device.

11. The method according to any one of claims 1-10, characterized in that, The method further includes: A second request message is sent to a second functional element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

12. The method according to claim 11, characterized in that, The second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

13. The method according to any one of claims 1-12, characterized in that, The quota includes one or more of the following: traffic quota, time quota, and event quota.

14. The method according to claim 13, characterized in that, The first quota threshold corresponding to the quota includes one or more of the following: a first flow threshold, a first time threshold, and a first event threshold.

15. The method according to claim 13, characterized in that, The second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

16. A quota management method, characterized in that, The method, applied to a second functional network element in a visited network, includes: Receive a first request message sent by a first functional network element in the visited network, corresponding to a first device, wherein the first device is a device in a roaming state; Send the configured first quota information to the first functional network element. The first quota information is used to indicate the quota of the first device.

17. The method according to claim 16, characterized in that, The first request message carries roaming indication information, which is used to indicate that the first device is in a roaming state.

18. The method according to claim 16 or 17, characterized in that, The first request message carries a quota allocation request, which is used to request the acquisition of the first quota information.

19. The method according to claim 16 or 17, characterized in that, The first quota information is sent by the second functional network element when it determines that the first device meets at least one first condition; The at least one first condition includes at least one of the following: The first device has a package or contract for the visited network; or, The first device has a home network package or contract, and the home network package or contract is synchronized to the visited network.

20. The method according to any one of claims 16-19, characterized in that, The method further includes: performing at least one quota request operation; The Nth quota request operation includes: The first functional network element receives the Nth quota allocation request sent according to the Nth session report request message. The Nth quota allocation request is used to request the acquisition of the Nth second quota information, and the Nth second quota information indicates the (N+1)th quota of the first device. Send the Nth second quota information to the first functional network element, where N is an integer greater than or equal to 1.

21. The method according to claim 20, characterized in that, The total number of times the quota request operation is executed is the number of times required when the total quota of the first device is exhausted.

22. The method according to claim 20 or 21, characterized in that, The preset conditions for the Nth quota request operation include any of the following: The remaining quota in the Nth quota is less than or equal to the first quota threshold corresponding to the Nth quota; The used quota in the Nth quota is greater than or equal to the second quota threshold corresponding to the Nth quota; When N equals 1, the first quota is the quota indicated by the first quota information.

23. The method according to any one of claims 16-22, characterized in that, The method further includes: A second request message is sent to a second functional element in the home network, the second request message being used to instruct the quota management of the first device to be performed by the visited network.

24. The method according to claim 23, characterized in that, The second request message includes one or more of the following: the identifier of the first device, and the quota management identifier of the visited network.

25. The method according to any one of claims 16-24, characterized in that, The quota includes one or more of the following: traffic quota, time quota, and event quota.

26. The method according to claim 25, characterized in that, The first quota threshold corresponding to the quota includes one or more of the following: a first flow threshold, a first time threshold, and a first event threshold.

27. The method according to claim 25, characterized in that, The second quota threshold corresponding to the quota includes one or more of the following: a second flow threshold, a second time threshold, and a second event threshold.

28. A quota management device, characterized in that, The device, which is applied to a first functional network element in a visited network, includes: The sending module is used to send a first request message corresponding to a first device to a second functional network element in the visited network, wherein the first device is a device in a roaming state; The receiving module is used to receive the first quota information configured by the second functional network element, wherein the first quota information is used to indicate the quota of the first device.

29. A quota management device, characterized in that, The device, used as a second functional network element in a visited network, includes: The receiving module is used to receive a first request message sent by a first functional network element in the visited network, corresponding to a first device, wherein the first device is a device in a roaming state; The sending module is used to send the configured first quota information to the first functional network element, wherein the first quota information is used to indicate the quota of the first device.

30. A quota management system, characterized in that, include: Visit the first and second functional network elements included in the network; The first functional network element is configured to implement the method of any one of claims 1-15; The second functional network element is configured to implement the method of any one of claims 16-27.

31. A quota management device, characterized in that, include: Memory and processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-27.

32. A storage medium, characterized in that, The storage medium stores instructions that, when executed on the quota management device, cause the quota management device to perform the method as described in any one of claims 1-27.

33. A computer program product, characterized in that, It includes a computer program, which, when executed by a quota management device, implements the method as described in any one of claims 1-27.