WO2021228083A1 - 处理用户业务的方法、系统及相关设备 - Google Patents

处理用户业务的方法、系统及相关设备 Download PDF

Info

Publication number
WO2021228083A1
WO2021228083A1 PCT/CN2021/093032 CN2021093032W WO2021228083A1 WO 2021228083 A1 WO2021228083 A1 WO 2021228083A1 CN 2021093032 W CN2021093032 W CN 2021093032W WO 2021228083 A1 WO2021228083 A1 WO 2021228083A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
mode
quota
quota management
service
Prior art date
Application number
PCT/CN2021/093032
Other languages
English (en)
French (fr)
Inventor
柴晓前
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21805004.5A priority Critical patent/EP4138424A4/en
Publication of WO2021228083A1 publication Critical patent/WO2021228083A1/zh
Priority to US17/987,405 priority patent/US20230109543A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/785Reserving amount on the account
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects
    • H04M15/8016Rating or billing plans; Tariff determination aspects based on quality of service [QoS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8228Session based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/854Available credit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • This application relates to the field of communications, and in particular to a method, system and related equipment for processing user services in a charging system.
  • Session Management Function (SMF) devices usually apply blocking mode quota applications for user services. That is, the SMF device needs to apply for the quota before the user's business starts. Quota application in blocking mode helps reduce credit control risks and reduce the possibility of losses for operators, but it will increase the access delay of user services, affect the provision of delay-sensitive services, and affect user experience.
  • SMF Session Management Function
  • the latency-sensitive services supported by 5G (5th Generation) networks have a greater impact on access latency. High demands.
  • the 3GPP standard specifications define the non-blocking mode quota application and the online charging service quota management suspension mode.
  • the session management function device does not need to start user services after obtaining quota authorization for user services. That is to say, the session management function device can start the user service first, and apply for the quota of the user service at the same time or later, thereby helping to reduce the access delay of the user service.
  • the session management function device can be regarded as the temporary offline charging user service of the user service or the unlimited quota user service, without the need for the session management function device to frequently serve the user service during the use of the user service Apply for quota.
  • SMF equipment may not find the quota acquisition failure after the user's business starts, which may not only cause a waste of resources, but also may cause malicious users to be Carry out DoS attacks (Denial of Service, Denial of Service).
  • DoS attacks Denial of Service, Denial of Service
  • the use of the suspended quota management mode may cause serious waste of resources and losses for operators.
  • an example of this application provides a service processing method executed by a policy control device.
  • the policy control device generates the first policy of the user service, and sends the first policy to the session management function device.
  • the first policy instructs to execute the first quota management mode for the user service of the user.
  • the policy control device receives the related information of the user or the second quota management mode of the user service sent by the charging processing device for changing the first quota management mode, and according to the second quota management mode of the user or the user service
  • the related information of the management mode determines the second quota management mode.
  • the policy control device generates a second policy for the user service according to the second quota management mode.
  • the second policy is used to update or replace the first policy and instruct to execute the second quota management mode for the user service.
  • the charging processing device sends the second quota management mode for changing the first quota management mode.
  • the policy control device generates a second policy according to the second quota management mode to update or replace the executed first policy.
  • the quota management mode for user services is time-sensitive, and can ensure the balance between delay requirements and credit control risks.
  • the policy control device also receives information related to the first quota management mode of the user or user service sent by the charging processing device.
  • the policy control device determines the first quota management mode of the user service according to the related information of the user or the first quota management mode of the user service. Therefore, the first quota management mode is determined by the charging processing device, thereby ensuring that the determination of the first quota management mode is timely.
  • the first quota management mode is a first initial quota application mode
  • the second quota management mode is a second initial quota application mode.
  • the first initial quota application mode is a blocking mode and the second initial quota application mode is a non-blocking mode, or the first initial quota application mode is a non-blocking mode and the second initial quota application mode is a blocking mode.
  • the first quota management mode is suspended quota management and the second quota management mode is quota management enabled, or the first quota management mode is quota management enabled and the second quota management mode is enabled.
  • the second quota management mode is suspended quota management.
  • the policy control device further sends a request message to the charging processing device.
  • the policy control device receives a response message sent by the charging processing device, and the response message carries information about the user or the first quota management mode of the user service.
  • the policy control device determines the first quota management mode of the user service according to the related information of the user or the first quota management mode of the user service. Through this method, the policy control device requests to obtain the relevant information of the first quota management mode from the charging processing device.
  • the first quota management mode is a first initial quota application mode
  • the request message also carries an acquisition instruction of the first quota management mode.
  • Obtain the indication as the user's identification and obtain the indication information of the user's non-blocking mode service list, and the related information of the first quota management mode carried in the response message is the user's service list of the first initial quota application mode that is allowed to use the non-blocking mode .
  • the identifier indicating the user service and obtain the indication information of whether the user service is allowed to use the first initial quota application mode in the non-blocking mode, and the related information of the first quota management mode carried in the response message is whether the user service is allowed to use the non-blocking mode
  • the indication information of the first initial quota application mode Obtain the indication for the user’s identification and obtain the indication information of whether the user’s service is allowed to use the non-blocking first initial quota application mode, and the related information of the first quota management mode carried in the response message is whether the user’s service is allowed to use the non-blocking first quota application mode. 1. Indication information of the initial quota application mode.
  • the obtaining instruction is the identifier of the user service and the indication information of obtaining the first initial quota application mode of the user service, the related information of the first quota management mode carried in the response message is the first initial quota application mode of the user service, and the first initial quota application The mode is blocking mode or non-blocking mode.
  • the acquisition instruction is the user’s identification and the first initial quota application mode for each service of the user.
  • the information related to the first quota management mode carried in the response message is the first initial quota application mode for each service of the user, and the first initial quota application The mode is blocking mode or non-blocking mode.
  • the policy control device can obtain the first initial quota application mode through multiple instructions.
  • the first quota management mode is the first initial quota management mode, so that the user service can use the blocking mode or the non-blocking mode to meet the needs of different user services.
  • the first quota management mode is suspend or enable quota management
  • the request message also carries an acquisition instruction of the first quota management mode.
  • the obtaining indication is the user's identifier and obtaining the indication information of the user's service list allowing suspension of quota management
  • the related information of the first quota management mode carried in the response message is the user's service list allowing suspension of quota management.
  • the related information of the first quota management mode carried in the response message is the indication information of whether to allow suspension of the quota management of the user service.
  • the obtaining indication is the identification of the user and obtaining the indication information of whether the quota management of the user's service is allowed to be suspended
  • the related information of the first quota management mode carried in the response message is the indication information of whether the quota management of the user's service is allowed to be suspended.
  • the related information of the first quota management mode carried in the response message is the first quota management mode of the user service
  • the first quota management mode is Suspend quota management or enable quota management.
  • the policy control device can obtain suspension or enable quota management through various instructions.
  • the first quota management mode is suspended or enabled quota management, so that user services can use suspended quota management or enable quota management to meet the needs of different user services.
  • the relevant information about the first quota management mode of the user or user service is: whether to allow the user's service to use the non-blocking mode, or whether to allow the suspension of the user's service quota management information.
  • the first policy includes an indication of the first initial quota application mode, and the first initial quota application mode is a non-blocking mode or a blocking mode.
  • the first strategy includes that the charging method of the user service is offline charging or temporary offline charging.
  • the charging method of the user service included in the first policy is online charging.
  • the first quota management mode is indicated by the first policy, so that user services can be executed according to the first quota management mode. So that the execution of the business not only meets the needs of the business, but also meets the needs of the users.
  • the notification message of the user service where the notification message carries information about the second quota management mode of the user service.
  • the policy control device obtains the second quota management model from the charging processing device, so that the first quota management mode is replaced, thereby ensuring the real-time nature of the quota management mode of the user service.
  • the first quota management mode is the first initial quota application mode of the blocking mode or the non-blocking mode
  • the related information of the second quota management mode of the user service includes any one of the following: the user's permission to use non-blocking The service list of the second initial quota application mode; the indication information of whether the user’s service is allowed to use the non-blocking second initial quota application mode; the indication information of whether the user’s service is allowed to use the non-blocking second initial quota application mode; or the user The second initial quota application mode for the business.
  • the policy control device can obtain the second initial quota application mode through multiple instructions.
  • the second quota management mode is the second initial quota management mode, so that the user service can use the blocking mode or the non-blocking mode to meet the needs of different user services.
  • the first quota management mode is suspension or quota management is enabled
  • the related information of the second quota management mode for user services includes any one of the following: the user's list of services that allow suspension of quota management; whether to allow Instruction information for suspending quota management of user services; instruction information about whether to allow suspension of user services quota management; or suspending user services or enabling quota management mode of quota management.
  • the policy control device can obtain multiple second quota management modes.
  • the second quota management mode is suspended or enabled quota management, so that user services can use suspended quota management or enable quota management to meet the needs of different user services and different scenarios.
  • the policy control device saves the second quota management mode of the user service. So that the second quota management mode can be used for the next user service, so that the quota management mode for the user service is determined more quickly and network resources are saved.
  • the second allocation management mode is the second initial quota application mode
  • the second strategy includes the second initial quota application mode for user services, and the second initial quota application mode is the blocking mode or the non-blocking mode ;
  • the second policy includes that the charging method of the user service is offline charging or temporary offline charging; or, if the second quota management mode of the user service is quota-enabled Management, the user service charging method included in the second policy is online charging.
  • the second quota management mode is indicated by the second policy, so that user services can be executed according to the first quota management mode. So that the execution of the business not only meets the needs of the business, but also meets the needs of the users.
  • the second policy is sent to the session management function device, and the second policy user updates the first policy of the user service. Or, send the deactivation instruction of the first strategy and the activation instruction of the second strategy to the session management function device.
  • embodiments of the present invention provide a user service processing method executed by a charging processing device.
  • the accounting processing device determines that the first quota management mode of the user service of the user needs to be changed to the second quota management mode, and sends a notification message to the policy control device.
  • the notification message carries information about the second quota management mode of the user or user service, and the second quota management mode is used to change the first quota management mode.
  • the charging processing device sends the second quota management mode for changing the first quota management mode.
  • the quota management mode for user services is time-sensitive, and can ensure the balance between delay requirements and credit control risks.
  • the first quota management mode is a first initial quota application mode
  • the second quota management mode is a second initial quota application mode.
  • the first initial quota application mode is a blocking mode and the second initial quota application mode is a non-blocking mode, or the first initial quota application mode is a non-blocking mode and the second initial quota application mode is a blocking mode.
  • the first quota management mode is suspended quota management and the second quota management mode is quota management enabled, or the first quota management mode is quota management enabled and the second quota management mode is enabled.
  • the second quota management mode is suspended quota management.
  • the charging processing device processes the charging request of the user service, or processes the charging request of other services of the user, or performs the charging management process on the user account, it is determined that the first step of the user service needs to be changed. Quota management mode. Through this method, it is ensured that the first quota management mode is changed in a variety of scenarios, so that the quota management mode of user services is time-sensitive, and the balance between delay requirements and credit control risks can be ensured.
  • the charging processing device receives a charging request for a user service, and the charging request includes indication information of the first quota management mode used by the user service; and determines the need based on the indication information of the first quota management mode Change the first quota management mode of user services to the second quota management mode. Or the charging processing device determines that the information related to the first quota management mode of the user service has been sent to the policy control device, and based on the first quota management mode, the charging processing device determines to change the first quota management mode of the user service to the second quota Management mode.
  • this method it is possible to provide multiple charging processing devices to determine to change the first quota management mode, so as to realize the flexibility of determination and meet the needs of multiple user services.
  • the charging processing device saves the second quota management mode of the user service. So that the second quota management mode can be used for the next user service, so that the quota management mode for the user service is determined more quickly and network resources are saved.
  • the charging processing device determines that there is a resource created for the user.
  • the charging processing device sends a notification message to the policy control device through the notification address corresponding to the resource.
  • the charging processing device receives the request message sent by the policy control device and sends a response message to the policy control device.
  • the response message carries information about the user or the first quota management mode of the user service.
  • a policy control device in a third aspect, is provided, and the device body has the function of realizing the policy control device of the first aspect.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • a billing processing device is provided, and the device body has the function of realizing the billing processing device of the second aspect.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the embodiments of the present application provide a user service processing method.
  • the policy control device determines the first quota management mode of the user service, generates the first policy of the user service according to the first quota management mode, and sends the first policy to the session management function device, and the first policy is used to indicate The user service implements the first quota management mode.
  • the charging processing device sends the related information of the second quota management mode of the user service for changing the first quota management mode to the policy control device.
  • the policy control device After receiving the related information of the second quota management mode, the policy control device determines the second quota management mode according to the related information of the second quota management mode of the user service, and generates the second policy of the user service according to the second quota management mode.
  • the second strategy is used to update or replace the first strategy.
  • an embodiment of the present application provides a system for processing user services, including a policy control device and a charging processing device.
  • the policy control device may execute the method executed by the policy control device in the foregoing first aspect or any possible solution in the first aspect.
  • the charging processing device may execute the method executed by the charging processing device in the foregoing second aspect or any possible solution in the second aspect.
  • an embodiment of the present application provides a user service processing system, including: a policy control device and a session function management device.
  • the policy control device may execute the method executed by the policy control device in the foregoing first aspect or any possible solution in the first aspect.
  • the session function management device is configured to receive the first strategy or the second strategy sent by the strategy control device.
  • the session management function device can also perform any steps or methods that can be performed by the session management device in FIG. 2 to FIG. 6.
  • an embodiment of the present application provides a system for processing user services, including a policy control device, a session management function device, and a charging processing device.
  • the policy control device may execute the method executed by the policy control device in the foregoing first aspect or any possible solution in the first aspect.
  • the charging processing device may execute the method executed by the charging processing device in the foregoing second aspect or any possible solution in the second aspect.
  • the session function management device is configured to receive the first strategy or the second strategy sent by the strategy control device.
  • the session management function device can also perform any steps or methods that can be performed by the session management device in FIG. 2 to FIG. 6.
  • an embodiment of the present application provides a charging processing device (101), including a processor and a memory, wherein:
  • Memory used to store program instructions
  • the processor is configured to call and execute program instructions stored in the memory, so that the charging processing device (101) executes the method for processing user services in the second aspect or any possible solution in the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute the second aspect or any of the possible solutions in the second aspect to process user services Methods.
  • an embodiment of the present application provides a policy control device (104), including a processor and a memory, wherein:
  • Memory used to store program instructions
  • the processor is configured to call and execute program instructions stored in the memory, so that the session management function device (102) executes the method for processing user services in the first aspect or any possible solution in the first aspect.
  • the embodiments of the present application provide a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute the processing in the first aspect or any possible solution in the first aspect.
  • Business approach a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute the processing in the first aspect or any possible solution in the first aspect.
  • the embodiments of the present application provide a chip, which is used to implement the above-mentioned first aspect and second aspect when the chip is running, any possible implementation solution of the first aspect or any possible implementation solution of the second aspect Methods.
  • FIG. 1A is a schematic diagram of a system architecture to which an embodiment of the present application is applied;
  • FIG. 1B is a schematic diagram of the architecture of the 5G system to which this application is applied;
  • Figure 2 is a flowchart of a method for processing user services provided by an embodiment of the application
  • 3A is a flowchart of a method for a policy control device to determine a first quota management mode of a user service according to an embodiment of the application;
  • FIG. 3B is a flowchart of a method for a charging processing device to determine a first quota management mode for changing user services according to an embodiment of the application;
  • FIG. 4 is a flowchart of a method for determining a first quota management mode and a second quota management mode of a user service provided by an embodiment of the application;
  • 5A is a flowchart of another method for the policy control device to determine the first quota management mode of user services according to an embodiment of the application;
  • FIG. 5B is a flowchart of another method for the charging processing device to determine to change the first quota management mode of the user service according to an embodiment of the application;
  • FIG. 6 is a flowchart of another method for determining the first quota management mode and the second quota management mode of a user service provided by an embodiment of the application;
  • FIG. 7 is a schematic diagram of the hardware structure of a session management function device, a charging processing device, or a policy control device provided by an embodiment of the application;
  • FIG. 8 is a schematic diagram of a logical structure of a charging processing device provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of the logical structure of a policy control device provided by an embodiment of the application.
  • words such as “first” and “second” are used to distinguish the same items or similar items that have substantially the same function and effect. Those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and order of execution, and words such as “first” and “second” do not limit the difference.
  • FIG. 1A is an architecture diagram of a charging system provided by an embodiment of the application, which is used to control session management function devices to process user services, including a charging processing device 101, a session management function device 102, a user equipment 103, and a policy control device 104, The main functions of these devices are described as follows.
  • the charging processing device 101 communicates with the session management function device 102 and the policy control device 104.
  • the charging processing device 101 is configured to receive quota application information, usage information, etc., reported by the session management function device, and perform charging processing on user services.
  • the billing processing device 101 determines or changes the quota management mode of the user service according to the user's account information, and sends the quota management mode of the user service to the policy control device 104, or sends the user's account information to the policy control device 104 for policy
  • the control device 104 determines the quota management mode of the user service.
  • the charging processing device 101 can be a CHF (Charging Function) device defined by the 3GPP standard specification, or a CCS (Converged Charging System) device defined by the 3GPP standard specification, which includes the CHF device Function.
  • CHF Charging Function
  • CCS Converged Charging System
  • the charging system shown in FIG. 1A may have more charging processing devices 101.
  • a cluster may be constructed, which includes multiple charging processing devices 101, which are mutually backups, thereby improving the capacity. Disaster capability and high availability.
  • the charging processing device 101 is directly referred to as a CHF device.
  • Session management function device 102 communicates with the charging processing device 101, the policy control device 104, and the user equipment 103. This device can be used for:
  • a user service start request (that is, a request message for requesting the session management function device to start the user service) from the user equipment 103, start the user service according to the start request, and perform quota management and usage reporting on the user service Wait for billing operations;
  • the charging system shown in FIG. 1A can have more session management function devices, which can be communicatively connected to the same billing processing device 101 (such as billing processing device 101), or can be communicatively connected to different charging processing devices 101, multiple service start requests initiated by the same user equipment for the same user service may be processed by the same or different session management function devices.
  • the user equipment 103 is connected to the session management function device, and is used to send a user service start request to the session management function device, and access or use the user service through the session management function device.
  • the user equipment 103 may be a user equipment (UE) defined by the 3GPP standard specification, and may be a wireless access device with wireless communication function or a wired access device without wireless communication function, including handheld devices, vehicle-mounted devices, A wearable device or a computing device; for example, it can be a mobile phone, a tablet computer, or a computer with wireless transceiver function; the user equipment 103 can also be a virtual reality (VR) terminal device, augmented reality (augmented reality) Reality, AR) terminal equipment, wireless terminals in industrial control, wireless terminals in unmanned driving, wireless terminals in telemedicine, wireless terminals in smart grids, wireless terminals in smart cities, smart homes ( Wireless terminals in smart home), etc.
  • UE user equipment
  • the charging system shown in FIG. 1A may have more user equipment.
  • Policy control device 104 communicates with the session management function device 102 and the charging processing device 101, and is used to provide the session management function device 102 with user service charging policies, and is also used to provide the session management function device 102 with user service or Information about the quota management mode corresponding to the user's business.
  • the policy control device 104 may be a policy control function (Policy Control Function, PCF) device defined by the 3GPP standard specifications, or a policy and charging rules function (Policy and Charging rules Function, PCRF) device.
  • Policy Control Function Policy Control Function
  • PCRF Policy and Charging rules Function
  • connection includes a direct connection or a communication connection through one or more intermediate network devices.
  • FIG. 1B shows a schematic diagram of a basic 5G system architecture.
  • the system includes: access and mobility management function (AMF), session management function (session management function, SMF), radio access network (RAN), unified Data management (unified data management, UDM), policy control function (PCF), data network (DN), user plane function (UPF), UE, application function (AF) ), unified data repository (UDR) and charging function (CHF).
  • FIG. 1B may also include the following functions (not shown in FIG. 1B): network slice selection function (NSSF), authentication server function (authentication server function, AUSF), and capability opening function (network slice selection function, NSSF) exposure function, NEF), network storage function (NF repository function, NRF).
  • NEF network slice selection function
  • NEF network storage function
  • each network element the main functions of each network element are described as follows:
  • the application function network element mainly conveys the requirements of the application side on the network side, for example, quality of service (QoS) requirements and so on.
  • QoS quality of service
  • the AF can be a third-party functional entity, or an application service deployed by an operator, such as an IP Multimedia Subsystem (IMS) voice call service.
  • IMS IP Multimedia Subsystem
  • UDM It can be understood as the naming of unified data management network elements in the 5G architecture.
  • the unified data management network element mainly includes the following functions: unified data management, support for authentication credential processing in 3GPP authentication and key agreement mechanism, user identity processing, access authorization, registration and mobility management, contract management, short message Management etc.
  • UDR It can be understood as the naming of unified data storage network elements in the 5G architecture.
  • the unified data storage network element mainly includes the following functions: the access function of contract data, policy data, application data and other types of data.
  • PCF It can be understood as the naming of policy control function network elements in the 5G architecture. Among them, the policy control function network element is mainly responsible for the policy control functions such as charging for the session and service flow level, QoS bandwidth guarantee and mobility management, and UE policy decision-making.
  • the PCF connected to the AMF and SMF is the access and mobility control PCF (PCF for access and mobility control, AM PCF) and the session management PCF (PCF for session management, SM PCF).
  • AM PCF access and mobility control
  • SM PCF session management
  • AM PCF It may not be the same PCF entity as SM PCF.
  • SMF It can be understood as the naming of the session management network element in the 5G architecture. Among them, the session management network element mainly performs functions such as session management, PCF issuing control policy execution, UPF selection, and UE IP address allocation.
  • AMF It can be understood as the naming of mobility management network elements in the 5G architecture.
  • the mobility management network element mainly includes the following functions: connection management, mobility management, registration management, access authentication and authorization, reachability management, security context management and other access and mobility-related functions.
  • the user plane function network element mainly includes the following functions: data packet routing and transmission, packet inspection, service usage reporting, QoS processing, lawful monitoring, upstream packet inspection, downstream data packet storage and other user plane-related functions.
  • (R)AN (wireless) access network, corresponding to different access networks in 5G, such as wired access and wireless base station access.
  • DN Data network, used to identify the name of the operator's network access point.
  • the DN may also include authentication, authorization, and accounting (authentication, authorization, accounting, AAA) server functions, which are responsible for performing secondary authentication for users.
  • authentication, authorization, and accounting authentication, authorization, accounting, AAA
  • CHF Charging function. Responsible for reporting charging status information to PCF, and interacting with SMF to achieve quota management and charging control.
  • N7 The interface between PCF and SMF, used to issue PDU session granularity and service data flow granularity control strategy.
  • N15 The interface between PCF and AMF, used to issue UE policies and access control related policies.
  • N5 The interface between AF and PCF, used for application service request issuance and network event reporting.
  • N4 The interface between SMF and UPF, used to transfer information between the control plane and the user plane, including controlling the issuance of user-oriented forwarding rules, QoS control rules, traffic statistics rules, etc., and user-plane information reporting.
  • N11 The interface between SMF and AMF, used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to UE, transfer radio resource control information sent to RAN, etc.
  • N2 The interface between AMF and RAN, used to transfer radio bearer control information from the core network side to the RAN.
  • N1 The interface between the AMF and the UE, which has nothing to do with access, and is used to transfer QoS control rules to the UE.
  • N8 The interface between AMF and UDM, used for AMF to obtain access and mobility management related subscription data and authentication data from UDM, and AMF to register UE current mobility management related information with UDM, etc.
  • N10 The interface between SMF and UDM, used for SMF to obtain session management related subscription data from UDM, and SMF to register UE current session related information with UDM, etc.
  • N35 The interface between UDM and UDR, used for UDM to obtain user subscription data information from UDR.
  • N36 The interface between PCF and UDR, used for PCF to obtain policy-related contract data and application data related information from UDR.
  • N3 The interface between RAN and UPF, used to transfer user plane data between RAN and UPF.
  • N6 The interface between UPF and DN, used to transfer user plane data between UPF and DN.
  • N9 The interface between UPF and UPF, such as the interface between the visited-policy control function (V-PCF) and the home-policy control function (H-PCF), or with The interface between the UPF connected to the DN and the UPF connected to the RAN is used to transfer user plane data between the UPFs.
  • V-PCF visited-policy control function
  • H-PCF home-policy control function
  • N28 The interface between PCF and CHF, used for PCF to subscribe to UDR for policy counter information, such as user balance status, remaining traffic status, etc.
  • N40 The interface between the SMF and the CHF, used by the SMF to report charging data to the CHF, and to obtain the credit threshold from the CHF.
  • the billing system architecture shown in FIG. 1A or FIG. 1B enables the billing processing device 101 and/or the policy device to timely and dynamically determine the quota management mode of the user's service, for example, according to the user's account information and / Or the usage information of the user's business determines or changes the quota management mode of the user's business. Therefore, it is possible to adopt non-blocking mode initial quota application or suspended quota management when the credit control risk of user business is low, and adopt blocking mode quota application or enable quota management when the credit control risk of user business is high. Therefore, it is possible to take into account the needs of user services for access delay, and the requirements of operators for system performance and credit risk control.
  • a user service refers to a service that the user equipment 103 accesses or uses through a network device (such as a session management function device 102, or a user plane device not shown in FIG. 1A).
  • User services can be services in a protocol data unit (Protocol Data Unit, PDU) session, for example, one or more data streams corresponding to a certain rating group (RG) in a PDU session, or in a PDU session.
  • PDU Protocol Data Unit
  • RG rating group
  • the data flow corresponding to a certain RG and the service identifier can be understood as the user service in the embodiment of this application; in the embodiment of this application, "user service in PDU session” and "service in PDU session” refer to PDU Multiple data streams corresponding to a certain RG in the session may also be data streams corresponding to a certain service identifier among the multiple data streams corresponding to a certain RG.
  • the user service is sometimes referred to as "service" for short.
  • the embodiment of the application will mainly take the data connection service of the 5G network as an example; accordingly, regarding the charging data, the embodiment of the application will mainly use the data flow-related
  • the information is explained as an example.
  • the information related to the data flow includes, but is not limited to: the information of the PDU session collected by the session management function device, the usage of the released service unit in the PDU session, the charging trigger condition, the time stamp, etc.
  • a user's service refers to one or more services that the user subscribes to.
  • the user's service can be a user service in a PDU session that is being used, or a user-subscribed service that has not been used.
  • Starting a user service means that the session management function device releases the user service after receiving the user service start request.
  • Clearing user services includes signaling or data for clearing user services. For example: when the user service is the above-mentioned data connection service, "starting user service" includes enabling the establishment or update operation of the PDU session for the data connection service to continue (if the PDU session is not available) or to allow the service data flow (if the PDU session is not available). Session is available).
  • the Quota Management Mode refers to a method for the session management function device 102 (or a charging trigger device) to process online charging user services.
  • the quota management mode can be the initial quota request mode (Initial Quota Request Mode, IQRM) (or the initial quota request mode) of the online charging user service, and the quota management mode can also be suspended/ Quota management (Suspend/Resume Quota Management, SRQM) for user services that enable online charging.
  • the initial quota application mode is the mode of applying for quota for the user business for the first time after receiving the start request of the user business.
  • the initial quota application mode can be a blocking mode quota application or a non-blocking mode quota application, which are described as follows:
  • Blocking Mode Initial Quota Request means that the session management function device 102, in response to the user service start request received from the user equipment 103, first applies for a quota to the billing processing device 101 for the user service. And after receiving the quota granted by the charging processing device 101 for the user service, the user service is started.
  • NIQR Non-Blocking Mode Initial Quota Request
  • Suspend/Resume Quota Management refers to user services for online charging.
  • quota management can be suspended or activated.
  • the user service adopts suspended quota management, the user service can be regarded as temporary offline charging or unlimited quota, and the session management function device 102 will not apply to the charging processing device 101 for a quota for the user service.
  • the balance of the user account is insufficient or the user is at risk of credit control, restore/enable quota management, and start normal quota management for the user's business.
  • Quota management mode indication information refers to the indication information of which quota management mode (such as IQRM or SRQM) the session management function device 102 has adopted for the user service when receiving the user service start request; quota;
  • the management mode indication information may only include the value of IQRM or SRQM, may also include the IQRMod field and its value, and may also include the SID (User Service Identifier) field and its value.
  • the embodiment of this application does not limit the data structure of the quota management mode indication information.
  • FIG. 1A The charging system architecture shown in Figure 1A, as shown in Figure 2, Figure 3A- Figure 3B, Figure 4 and Figure 5A- Figure 5B, where each figure corresponds to the method flow
  • the session management function entities in Figure 1A correspond to the session management function device 102
  • the charging processing device 101 all correspond to the charging processing device 101 in Figure 1A
  • the user equipment corresponds to the user equipment 103 in Figure 1A
  • the policy control device Each of 104 corresponds to the policy control device 104 in FIG. 1A, which will not be repeated in the description of the flow of these methods in the following.
  • the policy control device 104 In the method flow corresponding to FIG. 2, the policy control device 104 generates a second policy based on the related information of the second quota management mode sent by the charging processing device 101 to update or replace the first policy that has been executed by the session management function device 102.
  • the method flow mainly includes the following steps:
  • Step 202 The policy control device 104 determines the first quota management mode of the user service.
  • the first quota management mode of the user service is a quota management mode determined by the policy control device 104 for the patriarch of the user industry before the user service starts.
  • the first quota management mode may be the first initial quota application mode.
  • the first initial quota application mode may be: non-blocking mode or blocking mode.
  • the first initial quota application mode of the blocking mode indicates that the user needs to obtain the quota granted by the charging processing device 101 before starting the service.
  • the first initial quota application mode of the non-blocking mode means that the user service does not need to obtain the quota granted by the charging processing device 101 before starting the service.
  • the first quota management mode can also suspend/enable quota management.
  • Suspended quota management means that user services can be regarded as temporary offline charging or unlimited quotas, and the session management function device 102 will not apply for quotas for the user services from the charging processing device 101.
  • Enabling quota management refers to starting to perform normal quota management for the user's business.
  • the policy control device 104 receives information about the first quota management mode of the user or user service sent by the charging processing device 101. Then, the policy control device 104 determines the first quota management mode of the user service according to related information of the user or the first quota management mode of the user service.
  • the policy control device 104 before performing step 202, obtains the user's account information or the user's configuration information from the billing processing device 101 or other network devices. Then, the policy control device 104 determines the first quota management mode of the user service according to the acquired account information or configuration information of the user.
  • the policy control device 104 sends a request message to the charging processing device 101.
  • the policy control device 104 receives the response message sent by the charging processing device 101.
  • the response message carries information about the user or the first quota management mode of the user service.
  • Step 204 The policy control device 104 generates a first policy, where the first policy is used to instruct to execute the first quota management mode for user services.
  • the first policy includes an indication of the first initial quota application mode, and the first initial quota application mode is a non-blocking mode or a blocking mode. If the first quota management mode of the user service is suspended quota management, the first strategy includes that the charging method of the user service is offline charging or temporary offline charging. If the first quota management mode of the user service is to enable quota management, the charging method of the user service included in the first policy is online charging.
  • Step 206 The policy control device 104 sends the first policy to the session management function device 102.
  • Step 208 The policy control device 104 receives information related to the second quota management mode of the user service for changing the first quota management mode sent by the charging processing device 101.
  • the second quota management mode refers to the first quota management mode determined before the change or replacement after the business starts.
  • the policy control device 104 receives the notification message for the user or user service sent by the charging processing device 101.
  • the notification message carries information about the second quota management mode of the user service.
  • the first quota management mode is a first initial quota application mode
  • the second quota management mode is a second initial quota application mode.
  • the first initial quota application mode is a blocking mode and the second initial quota application mode is a non-blocking mode, or the first initial quota application mode is a non-blocking mode and the second initial quota application mode is a blocking mode. or,
  • the first quota management mode is suspended quota management and the second quota management mode is enabled quota management.
  • the first quota management mode is enabled quota management and the second quota management mode is suspended quota management.
  • Step 210 The policy control device 104 determines the second quota management mode according to the related information of the second quota management mode of the user service.
  • Step 212 The policy control device 104 generates a second policy for the user service, the second policy is used to update or replace the first policy, and the second policy is also used to instruct to execute the second quota management mode for the user service.
  • the second strategy includes the second initial quota application mode of the user service, and the second initial quota application mode is the blocking mode or the non-blocking mode. If the second quota management mode of the user service is suspended quota management, the second strategy includes that the charging method of the user service is offline charging or temporary offline charging. If the second quota management mode of the user service is to enable quota management, the charging method of the user service included in the second policy is online charging.
  • the second policy includes the same policy identifier as the identifier of the first policy, and sends the second policy to the session management function device 102.
  • the identifier related to the first policy indicates that the second policy is used to update the first policy of the user service.
  • the policy control device 104 assigns a second policy identifier to the second policy.
  • the policy control device 104 identifies the second policy and the second policy to the session management function device 102, and the second policy identifier indicates that the second policy is used to replace the first policy that has been executed.
  • the session management function device 102 may deactivate the first policy and activate the second policy according to the indication of the second policy identifier.
  • the above-mentioned method flow corresponding to FIG. 2 enables the policy control device 104 to determine the second quota management mode based on the related information of the second quota management mode for changing the user service of the first quota management mode sent by the charging processing device 101, and Generate a second strategy that replaces or updates the first strategy, so that the quota management mode can be dynamically changed, thereby helping to balance the needs of end users for access delay in real time and dynamically, and the operator's control of system performance and credit risk The relationship between the needs.
  • FIGS. 3A-3B, FIG. 4, FIG. 5A, FIG. 5B, and FIG. 6 provided by the embodiments of the present application.
  • FIG. 3A is a flowchart of a method for the policy control device 104 to determine a quota management mode of a user service according to an embodiment of the application.
  • the quota management mode is the initial quota application mode (IQRM).
  • the policy control device 104 receives the quota management mode IQRM information of the user or user service from the charging processing device 101, determines the initial quota application mode of the user service, and generates a policy according to the determined initial quota application mode of the user service.
  • the method flow mainly includes the following steps:
  • Step 300 The policy control device 104 determines that a request message needs to be sent to the charging processing device 101.
  • the policy control device 104 may, after receiving the user service policy acquisition request or the user service policy update request sent by the session management function device 102, respond to the policy acquisition request or the policy update request, the policy control device 104 may determine that it needs to The billing processing device 101 acquires information.
  • the session management function device 102 may send a policy acquisition request to the policy control device 104 when receiving a request to establish a PDU session for the user.
  • the session management function device 102 may also send a policy acquisition request to the policy control device 104 after receiving the service start request.
  • the session management function device 102 may carry the user identifier, PDU session information (such as the type of PDU session), etc., in the policy acquisition request sent to the policy control device 104.
  • the policy control device 104 also determines that it needs to obtain the IQRM information of the user service from the charging processing device 101, and carries an instruction to obtain the IQRM related information of the user service in the request message sent to the charging processing device 101.
  • the policy control device 104 determines that it needs to send a request message to the charging processing device 101 according to the configuration information and determines that it needs to obtain IQRM related information.
  • the configuration information may be the local configuration information of the policy control device 104 or the user's configuration information obtained from the UDR.
  • the policy control device 104 determines that no relevant information about the user's service or the user's IQRM is stored, and then determines that it is necessary to obtain the IQRM information of the user's service from the charging processing device 101.
  • Step 302 The policy control device 104 sends a request message to the charging processing device 101.
  • the request message may be used to obtain and subscribe to the current state and state change of the counter from the charging processing device 101.
  • the request may not carry the IQRM acquisition instruction.
  • the request message may also be used to obtain IQRM related information of the user or the user's service from the charging processing device 101.
  • the policy control device 104 determines that it needs to obtain the information of the first IQRM of the user's service from the charging processing device 101, and the request message may also carry an instruction to obtain the IQRM of the user's service.
  • the IQRM acquisition instruction can be any of the instructions in the following table:
  • the policy control device 104 determines that it needs to obtain the current user's NB service list from the charging processing device 101, then Send the first acquisition instruction of IQRM related information to the charging processing device 101.
  • the first acquisition instruction of IQRM related information carries the user's identifier and the instruction information for acquiring the user's NB service list.
  • the userID field represents a user ID.
  • the RequestedNBM value is true, indicating that the user's IQRM is a business list of NB.
  • the policy control device 104 determines whether the current user or the user's service can use the non-blocking mode, and sends the request to the charging processing device 101 sends a second acquisition instruction of IQRM related information.
  • the second obtaining instruction of the IQRM related information carries the user service identifier and/or the user identifier, and obtaining the indication information of whether the user service or the user is allowed to use the first initial quota application in the non-blocking mode.
  • the request message carries the user ID and the user service ID, indicating that it is necessary to determine whether the current user service can use the non-blocking mode. If the request message carries the user ID but does not carry the user service ID, it means that it is necessary to determine whether the current user can use the non-blocking mode.
  • the userID field represents a user ID.
  • “InitialQRMMode” indicates that the charging processing device 101 determines whether the user service indicated in the request message or the user can use the non-blocking mode.
  • “RatingGroup” represents the user service corresponding to the ratinggroup.
  • “Service ID” indicates the user service corresponding to the ID. For example, when the request carries “InitialQRMMode” and “RatingGroup”, it indicates that the charging processing device 101 determines whether the user service corresponding to the ratinggroup can use the non-blocking mode.
  • the request carries “InitialQRMMode” and “Service ID”
  • the request message does not carry "Service ID” and “RatingGroup” it indicates that the charging processing device 101 is required to confirm whether the user indicated by the "userID” can use the non-blocking mode.
  • the policy control device 104 determines that it needs to acquire the relevant information of the first IQRM of the user's service, and sends it to the charging processing device 101 sends a third acquisition instruction of IQRM related information to acquire the first IQRM information of the user service.
  • the third obtaining instruction carries the identifier of the user service and the indication information of the first initial quota application mode for obtaining the user service.
  • the first IQRM of the user service can be in blocking mode or non-blocking mode.
  • the user service identifier may be a service identifier or a corresponding rate group or other identifiers that can identify the user service. Refer to the following example:
  • “IntialQRMMAuthorization” indicates that the charging processing device 101 determines whether the user service indicated in the request message uses the non-blocking mode or the blocking mode.
  • the user service indicated in the request message may be the user service corresponding to the ratinggroup in the "RatingGroup", or the user service corresponding to the user ID in the "Service ID”.
  • the request carries "IntialQRMMAuthorizatione” and "RatingGroup”
  • the request carries “IntialQRMMAuthorization" and “Service ID”
  • the policy control device 104 determines that it needs to obtain the first IQRM of each service of the user from the charging processing device 101, and then The CHF sends a fourth acquisition instruction of IQRM related information, which is used to acquire the first IQRM related information of each service of the user.
  • the fourth obtaining instruction of the IQRM related information carries the user identification and the instruction information for obtaining the IQRM of each service of the user.
  • the fourth IQRM acquisition instruction can be in the following form:
  • the userID field is the user ID.
  • the value of "InitialQRMMode" being true indicates that the charging processing device 101 determines the value of the initial quota application mode of each service of the user.
  • the request message indicates that the charging processing device 101 is required to determine whether the first IQRM of each service of the user is the non-blocking mode or the blocking mode.
  • Step 304 After receiving the request message, the charging processing device 101 executes corresponding processing according to the request message to determine the relevant information of the first IQRM of the user service.
  • the charging processing device 101 may not return or actively determine and return whether the user’s business is allowed to use the non-blocking mode . If the charging processing device 101 stores the IQRM information of each service, the charging processing device 101 determines whether the user or the user's service can use the non-blocking mode according to the stored IQRM of each service. If the charging processing device 101 does not store the IQRM information of the service, the charging processing device 101 determines whether the user or the user's service can use the non-blocking mode according to the user's account information and/or service type.
  • the IQRM related information of the user or the user's service is determined and returned according to the acquisition instruction. See the table below for specific treatment
  • Step 306 The charging processing device 101 sends a response message of the request message to the policy control device 104.
  • the response message carries the relevant information of the user or the first IQRM of the user's service obtained in step 304.
  • the response message carries the indication information of whether the user's service is allowed to use the non-blocking mode. If the request message carries the acquisition instruction of the first quota management mode, the response message carries related information of the IQRM corresponding to the acquisition instruction.
  • the charging processing device 101 receives the IQRM related information acquisition instruction in step 302, the content carried in the response message refers to the following table:
  • the first IQRM response message can refer to the following form:
  • the "NBMserviceList” indication carries a list of user services that can use the non-blocking mode.
  • the second response message can refer to the following form:
  • the second IQRM response message can refer to the following form:
  • the value of "RatingGroup” or “ServiceID” is 1, and the value of "ServiceResult” is yes, which indicates that the user service with the service ID of 1 or the rate group of 1 can use the non-blocking mode.
  • the value of "RatingGroup” or “ServiceID” is 2, and the value of "ServiceResult” is no, which indicates that the service of the user whose service ID is 2 or the rate group is 2 can use the non-blocking mode.
  • the third response message can refer to the following form:
  • IQRMValue is "NB", which indicates that the service corresponding to the rate group "RatingGroup” or the service indicated by the service ID "ServiceID” has the first initial quota application mode as non-blocking mode.
  • the fourth IQRM response message can refer to the following form:
  • the value of "IQRMValue” is "NB", which indicates the non-blocking mode of the service corresponding to the rate group “RatingGroup” with the value 1 or the service indicated by the service identifier being 1.
  • the value of "IQRMValue” is "B”, which indicates the usage blocking mode of the service corresponding to the rate group “RatingGroup” with the value 2 or the service indicated by the service ID of 2.
  • step 308 the policy control device 104 determines the first quota management mode of the user service, and generates the first policy of the user service.
  • the first policy is used to instruct to execute the first quota management mode for the user service.
  • the policy control device 104 determines the user’s service according to the relevant information of the user or the first IQRM of the user’s service.
  • the first quota management mode if the response message returned by the charging processing device 101 carries related information of the user or the first IQRM of the user’s service.
  • the policy control device 104 generates a first policy, and the first policy includes the first quota management mode of the user service.
  • the quota management mode is the first initial quota application mode
  • the first initial quota application mode is the blocking mode or the non-blocking mode.
  • Step 310 The policy control device 104 sends the first policy to the session management function device 102.
  • the policy control device 104 sends the first policy to the session management function device 102 to instruct the session management function device 102 to execute the first quota management mode for the user service;
  • control policy sent to the session management function device 102 may refer to the following form:
  • the value of "sdfHandl" is true, indicating that the IQRM of the service indicated by the service identifier or the service indicated by the rate group is in the blocking mode.
  • the policy control device 104 obtains the IQRM information of the user service from the charging processing device 101 before issuing the policy, and sends the IQRM information of the user service to the session management function device 102 in the policy.
  • the IQRM information carried in the policy sent by the policy control device 104 to the session management function device 102 is more accurate, which can avoid risks in the service use process.
  • FIG. 3B is a flowchart of a method for the charging processing device 101 to determine to change the first quota management mode of a user service according to an embodiment of the application.
  • the first quota management mode is the initial quota application mode (IQRM).
  • IQRM initial quota application mode
  • the real-time decision of the charging processing device 101 is to change the first IQRM of the user's service to the blocking mode, or the charging processing device 101 makes a real-time decision of whether to prohibit the user's service from using the non-blocking mode.
  • the charging processing device 101 determines that the first IQRM that changes the user service is in the blocking mode or the service quota management mode for prohibiting the user service is the non-blocking mode, the charging processing device 101 notifies the policy control device 104 so that the policy control device 104, according to the second IQRM related information of the user service, determines the second quota management mode of the user service (the second IQRM in this embodiment), and further determines whether to generate a second policy.
  • the method flow mainly includes the following steps:
  • Step 351 The session management function device 102 receives the user service start request.
  • the session management function device 102 After receiving the service start request, the session management function device 102 determines that it has acquired the information of the first quota management mode (first IQRM in this embodiment) of the user service (such as service A), such as the step in FIG. 3A The first IQRM information of the user service contained in 310. The session management function device 102 performs corresponding processing according to the information of the first IQRM of the user's service. If the session management function device 102 determines that the first IQRM information of the service has not been obtained, it can perform the process in FIG. 3A to obtain the IQRM information of the user's service.
  • first quota management mode first quota management mode of the user service
  • the session management function device 102 determines that the acquired first IQRM information of the service indicates that the IQRM of the user service is in non-blocking mode, the session management function device 102 first starts the user service, and then sends a quota application request to the billing processing device 101 for the user service Apply for a quota or send a quota request to the charging processing device 101 while starting a service to apply for a quota for the user's service.
  • the session management function device 102 determines that the acquired first IQRM information of the user service indicates that the IQRM of the user service is in the blocking mode, the session management function device 102 first sends a quota application request to the charging processing device 101 to apply for quota for the user service, and After receiving the quota allocated by the charging processing device 101, the user service is started.
  • Step 352 The session management function device 102 sends a charging request for the user service to the charging processing device 101.
  • the charging request may be an initial charging request (that is, the first charging request for a user to use a certain service), or an updated charging request after the initial charging request.
  • the embodiments of the present invention are not limited herein.
  • the charging request also carries information of the first IQRM of the user service to indicate the IQRM currently used by the user service (for example, user service A).
  • the IQRM of service A is in the non-blocking mode as an example for description. That is, the IQRM information of service A carried in the charging request is in non-blocking mode.
  • Step 353 The charging processing device 101 performs corresponding charging processing according to the charging request, and sends a charging response to the session management function device 102.
  • steps 351 to 353 are optional steps. In some scenarios, it is not necessary to perform the above steps and directly start from step 354. For example, the user service has not started, other user services of the user or the user account management process may lead to the first quota management mode corresponding to the user service (here It is the change of the first initial quota application mode).
  • Step 354 The charging processing device 101 determines that the relevant information of the first IQRM of the user service A needs to be changed.
  • the billing processing device 101 may determine that it is necessary when processing the billing request for the user service sent in step 352, or when processing the billing request for other services of the user, or when performing the billing management process on the user account. Change the first quota management mode for user services.
  • the charging processing device 101 determining that the quota management mode of the user service needs to be changed may be: the charging processing device 101 determines that the user service currently uses the first quota management mode, and determines that the first quota management mode of the user service needs to be changed It is the second quota management mode.
  • the method for the charging processing device 101 to determine that the user service currently uses the first quota management mode may be: the charging processing device 101 receives a charging request for the user service, and the charging request includes an indication that the user service currently uses the first quota. For the indication information of the management mode, the charging processing device 101 determines that the user service currently uses the first quota management mode according to the indication information of the first quota management mode of the user service included in the charging request; or, the charging processing device 101 determines to control the policy
  • the device 104 has sent information related to the first quota management mode of the user service, and based on the information related to the first quota management mode of the user service sent to the policy control device 104, determines that the user service currently uses the first quota management mode.
  • the charging processing device 101 determines that it is necessary to change the first quota management mode of the user service to the second quota management mode of the user service.
  • the charging processing device 101 determines that the condition for the user service to use the first quota management mode is not satisfied. For example, if the user account balance does not meet the condition that the service A adopts the non-blocking mode, the charging processing device 101 determines that the IQRM of the service A is changed to the blocking mode, or the service A is prohibited from using the non-blocking mode.
  • the condition for the user service to adopt the non-blocking mode may be: the remaining amount of the package of the user account is greater than the first threshold, or the rate of decrease of the balance of the user account is lower than the second threshold, or other.
  • the billing processing device 101 may also determine to change the non-blocking mode of other services of the user to the blocking mode, or determine to prohibit other services of the user from using the non-blocking mode. .
  • the billing processing device 101 determines to change the IQRM related information of the user service, it saves the determined result, that is, saves the determined second quota management mode of the user service, so that other devices can subsequently obtain the IQRM of the user service.
  • the information is provided to the requested device.
  • Step 355 The charging processing device 101 sends to the policy control device 104 the related information of the second IQRM used to change the user service of the first IQRM.
  • the charging processing device 101 sends a notification message (also called a change notification) to the policy control device 104, and the notification message carries related information about the second quota management mode of the user service, that is, related information about the second IQRM of the user service. .
  • a notification message also called a change notification
  • the charging processing device 101 determines that there is a resource created by the policy control device 104 for the user, and sends a notification message to the policy control device 104 through a notification address corresponding to the resource.
  • the resource created for the user is: the policy control device 104 requests the charging processing device 101 for the resource created for the user.
  • the resource created for the user is used by the policy control device to obtain (subscribe) the user's cumulative status information.
  • the resource created for the user is created by the charging processing device according to the resource creation request after the policy control device sends a resource creation request to the charging processing device.
  • the resource creation request carries the notification address and user identification corresponding to the resource.
  • the notification address is used by the billing processing device 101 to notify the policy control device 104 of the accumulated status information of the user.
  • the charging processing device 101 determines the resource created for the user request according to the determined existence, and the charging processing device 101 determines that a notification message of the second IQRM related information of the user service needs to be sent to the policy control device 104. Or, according to the determined existence of the resource (or subscription information) requested by the user, the charging processing device 101 determines that the policy control device 104 has subscribed or requested the user's first IQRM related information, and then determines that it needs to send to the policy control device 104 The notification message of the second IQRM related information of the user service.
  • the related information of the second IQRM of the user service carried in the notification message can be referred to the following table:
  • the second IQRM of the user service is a blocking or non-blocking indication information
  • Fifth notice The second IQRM type of the user’s services is the blocking or non-blocking indication information
  • the notification message containing the first notification may be referred to as the first notification message, and so on.
  • the userID field represents a user ID.
  • the value of "NBModeAuthResult" is no, which means that the charging processing device 101 confirms that the user cannot use the non-blocking mode, that is, all services of the user cannot use the non-blocking mode.
  • notification messages such as the second notification message, the third notification message, the fourth notification message, or the fifth notification message
  • the examples of this application are not given here.
  • Step 356 After receiving the information related to the second quota management mode of the user service sent by the charging processing device 101, the policy control device 104 determines the second quota management mode of the user service according to the related information of the second quota management mode, and generates the user The second strategy of the business.
  • the second strategy is used to update or replace the first strategy, and is used to instruct the execution of the second quota management mode for user services.
  • the second strategy updating the first strategy is specifically: the generated second strategy includes the same strategy identifier as the identifier of the first strategy, and it is determined by the identifier that it is used to update the first strategy.
  • the second strategy replacing the first strategy is specifically: a second strategy identifier assigned to the second strategy, the second strategy is a new strategy for user services that is different from the first strategy, and the strategy control device 104 needs to first deactivate the first strategy , And then activate the second strategy.
  • Step 357 The policy control device 104 sends a second policy to the session management function device 102, where the second policy carries the second IQRM information.
  • the policy update message issued by the policy control device 104 to the session management function carries the second policy to update the first policy of the user service.
  • the strategy update message sent by the strategy control device 104 to the session management function carries the deactivation instruction of the first strategy and the activation instruction of the second strategy, so as to update the user using the second strategy.
  • the first strategy of the business is a new strategy for user services.
  • the charging processing device 101 may determine or change the first IQRM of the user's service according to the user's account information and other information.
  • the IQRM of user services is more accurate, and the risks and losses caused by blindly using non-blocking mode in user services can be avoided.
  • Figure 3B can be used in combination with Figure 3A, or used separately.
  • the embodiments of the application are not limited here.
  • FIG. 4 is a flowchart of a method for determining a first quota management mode and a second quota management mode of a user service provided by an embodiment of the application.
  • the quota management mode is the initial quota application mode (IQRM).
  • IQRM initial quota application mode
  • the policy control device 104 in this embodiment determines the first quota management mode of the user service according to the configuration information of the user, that is, determines whether the user service uses the non-blocking mode.
  • the charging processing device 101 makes a real-time decision whether to change the first quota management mode of the user service to the second quota management mode.
  • the method flow mainly includes the following steps:
  • Steps 401-402 The policy control device 104 sends a resource creation request to the charging processing device 101, and receives a resource creation response from the charging processing device 101.
  • the policy control device 104 After receiving the user service policy acquisition instruction or the user service policy update request sent by the session management function device 102, the policy control device 104 sends a resource creation request to the charging processing device 101 in response to the policy acquisition instruction or the policy update request. In order to obtain user services or user-related information from the charging processing device 101 through the created resources. For example, user service usage information.
  • the resource creation request may also be a session establishment request, so as to establish a session between the policy control device 104 and the charging processing device 101.
  • Step 403 The policy control device 104 determines the first quota management mode of the user service (first IQRM in this application) according to the acquired information, and generates the first policy of the user service according to the determined first IQRM of the user service.
  • the generated first policy of the user service includes the first IQRM information of the user service.
  • the policy control device 104 may obtain the configuration information of the user from the charging processing device 101 or other network devices such as (UDR), and determine the IQRM of the user service based on the obtained configuration information of the user. For example, the policy control device 104 may determine the first IQRM of the user service according to the user account information and/or the usage information of the user service obtained from the billing processing device 101, and the policy control device 104 may also determine the first IQRM of the user service according to the user information obtained from the UDR. Information, such as whether the IQRM ordered by the user is in non-blocking mode, confirms the first IQRM.
  • Step 404 The policy control device 104 sends the generated first policy of the user service to the session management function device 102.
  • step 404 For a specific description of step 404, reference may be made to the description of step 310, which will not be described in detail in this embodiment of the present application.
  • Step 405 The session management function device 102 receives the user service start request, and processes it according to the first IQRM.
  • the service start request of the user carries the service ID and the user ID.
  • step 405 may refer to the description of step 351, which is not described in detail in this embodiment of the present application.
  • the session management function device 102 sends a charging request to the charging processing device 101.
  • the charging request may be a charging request for the user's service or a charging request for other services used by the user.
  • the charging request may be an initial charging request (that is, the first charging request for the user to use a certain service), or an updated charging request after the initial charging request.
  • the embodiments of the present invention are not limited herein.
  • the charging request carries the first IQRM information of the user service to indicate the IQRM currently used by the user service (for example, service B).
  • the first IQRM of the user service is in the non-blocking mode as an example for description. That is, the IQRM information of user service B carried in the charging request is in a non-blocking mode. It indicates that the session management function device 102 will release the data flow related to the user service B before receiving the quota allocated by the charging processing device 101.
  • Step 407 The charging processing device 101 performs corresponding charging processing according to the charging request, and then sends a charging response to the session management function device 102.
  • Step 408 The charging processing device 101 determines that the first IQRM of the user service needs to be changed, generates a second IQRM for changing the first IQRM, and saves the information of the changed second IQRM.
  • the charging processing device 101 determines that the user service uses the non-blocking mode according to the first IQRM information of the user service carried in the charging request.
  • the billing processing device 101 determines that the user account does not meet the conditions for the user service to adopt the non-blocking mode, it determines that the second quota management mode of the user service (the second IQRM in this embodiment) is the blocking mode, or prohibits the user service from using the non-blocking mode .
  • the non-blocking condition for the user service may be: the remaining amount of the package of the user account is greater than the first threshold, or the rate of decrease of the balance of the user account is lower than the second threshold, or other.
  • the billing processing device 101 determines that the non-blocking mode of the user’s service is changed to the blocking mode, it may also determine that the non-blocking mode of other services of the user is changed to the blocking mode, or it may determine that other services of the user are prohibited from using the non-blocking mode. Or prohibit all users' business from using non-blocking mode.
  • step 407 there is no time sequence between step 407 and step 408.
  • Step 409 The billing processing device 101 sends to the policy control device 104 a notification message (also called a change notification) for changing the first IQRM related information of the user service, so that the policy control device 104 generates or updates the control of the user service according to the change notification.
  • a notification message also called a change notification
  • step 409 is consistent with the description of step 355, which is not described in detail in this embodiment of the present invention.
  • steps 410-411 are consistent with the descriptions of steps 356-357, which are not described in detail in the embodiments of the present invention.
  • the policy control device 104 determines whether the user service can use the non-blocking mode according to the acquired related information of the user. In addition, in the process of using the user's service, the IQRM of the user's service is determined or changed according to the user's account information. This makes the IQRM of the user service more accurate, and can avoid the risks and losses caused by using the non-blocking mode during the use of the user service.
  • FIG. 5A is a flowchart of a method for determining a policy by the policy control device 104 according to an embodiment of the application.
  • the quota management mode is suspended or enabled quota management (SRQM).
  • the policy control device 104 receives information related to the quota management mode of the user or the user service from the charging processing device 101, and then determines whether to suspend or activate the quota management of the user service, and generates a policy accordingly.
  • the method flow mainly includes the following steps:
  • Step 500 The policy control device 104 determines that a request message needs to be sent to the charging processing device 101.
  • the policy control device 104 may, after receiving the user service policy acquisition request or the user service policy update request sent by the session management function device 102, respond to the policy acquisition request or the policy update request, the policy control device 104 may determine that it needs to When the charging processing device 101 obtains the information, it determines to send a request message to the charging processing device 101.
  • the session management function device 102 may send a policy acquisition request to the policy control device 104 when receiving a request to establish a PDU session for the user.
  • the session management function device 102 may also send a policy acquisition request to the policy control device 104 after receiving the service start request.
  • the session management function device 102 may carry the user identifier, PDU session information (such as the type of PDU session), etc., in the policy acquisition request sent to the policy control device 104.
  • the policy control device 104 also determines whether it is necessary to obtain the SRQM information of the user's service from the charging processing device 101, and if necessary, the request message sent to the charging processing device 101 carries the SRQM of obtaining the user's service. Instructions for related information.
  • the policy control device 104 determines that it needs to send a request message to the charging processing device 101 according to the configuration information and determines that it needs to obtain SRQM related information of the user service.
  • the configuration information may be the local configuration information of the policy control device 104 or the user's configuration information obtained from the UDR.
  • Step 502 The policy control device 104 sends a request message to the charging processing device 101.
  • the request message may be used to obtain and subscribe to the current state and state change of the counter from the charging processing device 101, and the request may not carry an instruction to obtain the SRQM.
  • the request message may also be used to obtain the SRQM related information of the user or the user's service from the charging processing device 101.
  • the policy control device 104 determines that it needs to obtain the SRQM information of the user service from the charging processing device 101, and the request message may also carry the SRQM obtaining instruction of the user service.
  • the SRQM acquisition instruction can be any of the instructions in the following table:
  • the method in which the policy control device 104 sends any one of the first to fourth acquisition instructions in the request message to the charging processing device 101 is similar to the method in which step 302 of Embodiment 3A carries the first to fourth corresponding acquisition instructions. This embodiment of the present invention will not be repeated.
  • Step 504 After receiving the request message, the charging processing device 101 executes corresponding processing according to the request message. For example, determining the first SRQM related information of the user service.
  • the charging processing device 101 may actively determine and return whether the user's quota management is suspended. If the charging processing device 101 stores the SRQM information of each service, the charging processing device 101 determines whether the user or the user's service can be suspended for quota management according to the stored SRQM information of each service. If the charging processing device 101 does not store the SRQM information of the service, the charging processing device 101 determines whether the user or the user's service can use the non-blocking mode according to the user's account information and/or service type.
  • the SRQM related information of the user or user service is determined and returned according to the acquisition instruction. See the table below for specific treatment:
  • step 304 in Embodiment 3A The specific method is similar to step 304 in Embodiment 3A, and will not be repeated here.
  • Step 506 The charging processing device 101 sends a response message of the request message to the policy control device 104.
  • the response message carries the relevant information of the user or the first SRQM of the user service acquired in step 504.
  • the response message carries the indication information of whether to allow suspension of the user's service in the first quota management mode.
  • the response message carries related information of the first SRQM corresponding to the acquisition instruction.
  • Step 508 The policy control device 104 determines the first quota management mode of the user service, and generates the first policy of the user service.
  • the first policy is used to instruct to execute the first quota management mode for the user service
  • the policy control device 104 determines the user service's related information according to the user or the first SRQM information of the user service.
  • the first quota management mode where the quota management mode is suspended or started quota management.
  • the policy control device 104 generates a first policy, and if the determined first quota management mode of the user service is suspended quota management, the first policy includes that the charging method of the user service is offline charging or temporary offline charging. If the determined first quota management mode of the user service is to enable quota management, the charging method of the user service included in the first policy is online charging.
  • Step 510 The policy control device 104 sends the first policy to the session management function device 102.
  • the policy control device 104 sends the first policy to the session management function to instruct the session management function device 102 to execute the first quota management mode for the user service;
  • control policy sent to the session management function device 102 may refer to the following form:
  • the value of "ChargingMethod” is TempOffline, indicating that the quota management of the user's business is suspended.
  • the policy control device 104 obtains the first SRQM related information of the user service from the charging processing device 101 before issuing the policy, and generates the first policy of the user service according to the related information of the first SRQM to send to the session Management function device 102.
  • the first policy sent by the policy control device 104 to the session management function device 102 determines the charging method based on the decision of the charging processing device 101, which can reduce the burden of charging processing and improve the efficiency of the entire system. It can also avoid credit control risks in the course of business use.
  • FIG. 5B is a flowchart of a method for the charging processing device 101 to determine to change the quota management mode of a user service according to an embodiment of the application.
  • the quota management mode is suspended or enabled quota management (SRQM).
  • the policy control device 104 receives related information for changing the second SRQM of the first SRQM from the charging processing device 101, and determines whether to suspend or enable the quota management of the user service according to the correlation of the second SRQM, and determines whether to update/replace The first strategy for user services generated before.
  • the method flow mainly includes the following steps:
  • Step 552 The session management function device 102 sends a charging request for the user service to the charging processing device 101 during the use of the user service.
  • the charging request may be an initial charging request (that is, the first charging request for a user to use a certain service), or an updated charging request after the initial charging request.
  • the embodiments of the present invention are not limited herein.
  • the charging request also carries SRQM information corresponding to the service (taking temporary suspension as an example) to indicate that the service (for example, service A) is currently suspended for quota management.
  • the session management function device 102 receives the user service start request, and determines that the first quota management mode (first SRQM in this embodiment) information of the user service (such as service A) has been acquired, such as The first SRQM information of the user service included in step 510 in FIG. 5A.
  • the session management function device 102 performs corresponding processing according to the information of the first SRQM of the user service. If the session management function device 102 determines that the first IQRM information of the service has not been obtained, it may perform the process in FIG. 5A to obtain the first SRQM information of the user's service.
  • the session management function device 102 determines that the acquired first SRQM information of the service indicates that the SRQM of the user service is suspended quota management, the session management function device 102 starts the user service and does not obtain the quota from the charging processing device 101. If the session management function device 102 determines that the acquired information of the first SRQM of the user service indicates that the SRQM of the user service is to start quota management, the session management function device 102 first sends a quota application request to the charging processing device 101 to apply for quota for the user service. And after receiving the quota allocated by the charging processing device 101, the user service is started.
  • the session management function device 102 determines that the acquired information of the first SRQM of the user service indicates that the SRQM of the user service is to start quota management, the session management function device 102 first starts the service, and then sends a quota application request to the charging processing device 101 for this The user service applies for a quota or sends a quota request to the charging processing device 101 while starting the service to apply for a quota for the user service.
  • the session management function device 102 may further adopt the first initial quota mode of blocking mode or non-blocking mode, specifically See the previous example.
  • Step 553 The charging processing device 101 performs corresponding charging processing according to the charging request, and sends a charging response to the session management function device 102.
  • steps 552 to 553 are optional steps. In some scenarios, the above steps are not performed, and step 554 is directly started. For example, the user's business has not started, other user services of the user or the user account management process may cause the user to The quota management mode corresponding to the business (here is suspended or enabled quota management) changes.
  • Step 554 The charging processing device 101 determines that the first SRQM related information of the user service A needs to be changed.
  • the billing processing device 101 can determine whether the user needs to be changed when processing the billing request for the user service sent in step 552, or when processing the billing request for other services of the user, or when performing the billing management process on the user account.
  • the first quota management mode of the business can be determined whether the user needs to be changed when processing the billing request for the user service sent in step 552, or when processing the billing request for other services of the user, or when performing the billing management process on the user account.
  • the charging processing device 101 determines that the quota management mode of the user service needs to be changed may be: the charging processing device 101 determines the first quota management mode of the user service, and determines that the first quota management mode of the user service needs to be changed to the second quota management mode. Quota management mode.
  • the method for the charging processing device 101 to determine that the user service currently uses the first quota management mode may be: the charging processing device 101 receives a charging request for the user service, and the charging request includes an indication that the user service currently uses the first quota. For the indication information of the management mode, the charging processing device 101 determines that the user service currently uses the first quota management mode according to the indication information of the first quota management mode of the user service included in the charging request; or, the charging processing device 101 determines to control the policy
  • the device 104 has sent information related to the first quota management mode of the user service, and based on the information related to the first quota management mode of the user service sent to the policy control device 104, determines that the user service currently uses the first quota management mode.
  • the charging processing device 101 determines that it is necessary to change the first quota management mode of the user service to the second quota management mode of the user service.
  • the conditions for the user service to use the first quota management mode are not met, for example: the user account balance does not meet the conditions for service A to use the suspended quota management, It is determined to change the SRQM of business A to enable quota management.
  • the billing processing device 101 determines that the suspended allocation quota management of the user service A is changed to enable quota management, it may also determine that the suspended allocation quota management of other services of the user is changed to enable quota management, or the user’s suspended allocation quota management is determined to be prohibited. Other businesses use suspended allocation quota management.
  • the billing processing device 101 determines the related information of the first SRQM to change the user service, it saves the determined result, that is, saves the determined user service and uses the second quota management mode, so that other devices can subsequently obtain the user service.
  • the SRQM information is provided to the requesting device.
  • Step 555 The charging processing device 101 sends to the policy control device 104 the related information of the second SRQM used to change the user service of the first SRQM.
  • the charging processing device 101 sends a notification message (also called a change notification) to the policy control device 104, and the notification message carries related information about the second quota management mode of the user service, that is, related information about the second SRQM of the user service. .
  • a notification message also called a change notification
  • the charging processing device 101 determines that there is a resource created by the policy control device 104 for the user, and sends a notification message to the policy control device 104 through a notification address corresponding to the resource.
  • the resource created for the user is: the policy control device 104 requests the charging processing device 101 for the resource created for the user.
  • the resource created for the user is used by the policy control device to obtain (subscribe) the user's cumulative status information.
  • the resource created for the user is created by the charging processing device according to the resource creation request after the policy control device sends a resource creation request to the charging processing device.
  • the resource creation request carries the notification address and user identification corresponding to the resource.
  • the notification address is used by the billing processing device 101 to notify the policy control device 104 of the accumulated status information of the user.
  • the charging processing device 101 determines the resource created for the user request according to the determined existence, and the charging processing device 101 determines that a notification message of the second SRQM related information of the user service needs to be sent to the policy control device 104. Alternatively, based on the determined existence of the resource (or subscription information) requested by the user, the charging processing device 101 determines that the policy control device 104 has subscribed or requested the user's first SRQM related information, and then determines that it needs to send to the policy control device 104 The notification message of the second SRQM related information of the user service.
  • the related information of the second SRQM of the user service carried in the notification message can be referred to the following table:
  • the notification message containing the first notification may be referred to as the first notification message, and so on.
  • the userID field represents a user ID.
  • the value of "SRQMode” is "RESUME”, which means that the charging processing device 101 confirms that the user's business is not allowed to suspend quota management, that is, all of the user's services are not allowed to suspend quota management.
  • the notification message is the second notification message. Indicates that the user service indicated by the service id or Rating group is not allowed to suspend quota management.
  • the notification message may also carry IQRM information to indicate that the user service can adopt the blocking mode or the non-blocking mode.
  • Step 556 After receiving the information related to the second quota management mode of the user service sent by the charging processing device 101, the policy control device 104 determines the second quota management mode of the user service according to the related information of the second quota management mode, and generates the user The second strategy of the business.
  • the second policy is used to update or replace the first policy, and is used to instruct to execute the second quota management mode for the user service.
  • the second strategy updating the first strategy is specifically: the generated second strategy includes the same strategy identifier as the identifier of the first strategy, and it is determined by the identifier that it is used to update the first strategy.
  • replacing the first strategy by the second strategy is specifically: assigning a unique strategy identifier to the second strategy.
  • the second strategy is a new strategy for user services that is different from the first strategy.
  • the strategy control device 104 needs to first deactivate the first strategy. Then install and activate the second strategy.
  • the policy control device 104 Before generating the second policy, the policy control device 104 needs to first determine that the change of the SRQM of the user service to the second quota management mode affects the first policy.
  • Step 557 The policy control device 104 sends the second policy to the session management function device 102.
  • the policy update message sent by the policy control device 104 to the session management function carries the second policy to update the first policy of the user service.
  • the strategy update message sent by the strategy control device 104 to the session management function carries the deactivation instruction of the first strategy and the activation instruction of the second strategy, so as to update the user using the second strategy.
  • the first strategy of the business is a new strategy for user services.
  • the charging processing device 101 can determine or change the SRQM of the user's service according to the user's account information and other information. As a result, the SRQM control of user services is more accurate, and the risk and loss caused by blindly suspending quota management during the use of user services can be avoided.
  • FIG. 5A can be used in combination with FIG. 5B or used separately.
  • the embodiments of the application are not limited here.
  • Fig. 6 is a flowchart of another method for determining a quota management mode of a user service provided by an embodiment of the application.
  • the quota management mode is Suspend/Start Quota Management (SRQM).
  • SQM Suspend/Start Quota Management
  • the policy control device 104 in this embodiment determines the first quota management mode of the user service according to the configuration information of the user, that is, determines whether the user service allows suspension of quota management.
  • the charging processing device 101 makes a real-time decision whether to change the first quota management mode of the user service to the second quota management mode.
  • the method flow mainly includes the following steps:
  • Steps 601-602 The policy control device 104 sends a resource creation request to the charging processing device 101, and receives a resource creation response from the charging processing device 101.
  • steps 601-602 are the same as the descriptions of steps 401-402, and therefore will not be described in detail.
  • Step 603 The policy control device 104 determines the first quota management model of the user service (this application is the first SRQM) according to the acquired information, and generates the first policy of the user service.
  • the first policy is used to instruct to execute the first quota management mode for user services.
  • the policy control device 104 may obtain the configuration information of the user from the charging processing device 101 or other network devices such as (UDR), and determine the first SRQM of the user service based on the obtained configuration information of the user.
  • the policy control device 104 may determine the first SRQM of the user service according to the user account information and/or the usage information of the user service obtained from the charging processing device 101, and the policy control device 104 may also determine the first SRQM of the user service according to the user information obtained from the UDR. Information, such as whether the SRQM subscribed by the user is suspended quota management.
  • the first policy generated by the policy control device 104 in step 603 is the same as the first policy generated in step 508, which is not described in detail in this embodiment of the application.
  • Step 604 The policy control device 104 sends the generated first policy of the user service to the session management function device 102.
  • step 604 For a specific description of step 604, reference may be made to the description of step 510, which will not be described in detail in this embodiment of the present application.
  • Step 605 The session management function device 102 receives the user service start request, and the user service start request carries the service identification and the user identification.
  • step 605 may not be executed, but step 606 may be executed. Alternatively, step 605 is performed before step 601. The embodiments of this application do not make limitations.
  • the session management function device 102 sends a charging request to the charging processing device 101.
  • the charging request may be a charging request for the user's service or a charging request for other services used by the user.
  • the charging request may be an initial charging request (that is, the first charging request for the user to use a certain service), or an updated charging request after the initial charging request.
  • the embodiments of the present invention are not limited herein.
  • the charging request carries the first SRQM information of the user service to indicate the SRQM currently used by the user service (for example, service B).
  • the embodiment of this application takes the first SRQM of the user service as the suspended quota management as an example for description. That is, the first SRQM information of user service B carried in the charging request is suspended quota management. It indicates that the session management function device 102 will not apply for a quota from the charging processing device 101 during the execution of the service, and will release the data flow related to the user service B.
  • Step 607 The charging processing device 101 performs corresponding charging processing according to the charging request, and then sends a charging response to the session management function device 102.
  • Step 608 The charging processing device 101 determines to change the first SRQM of the user service or disables the suspension quota management of the user service, and saves the information of the changed second SRQM.
  • the charging processing device 101 determines the user service usage suspension quota management (Suspending) according to the first SRQM information of the user service carried in the charging request.
  • the charging processing device 101 determines that the user account does not meet the conditions for the user service to use suspended quota management, it determines that the second quota management mode of the user service (the second SRQM in this embodiment) is to start quota management or prohibit the user service from using suspension.
  • Start quota management The condition for the user service to adopt the suspended quota management may be: the remaining amount of the package of the user account is greater than the first threshold, or the rate of decrease of the balance of the user account is lower than the second threshold, or other.
  • the billing processing device 101 determines that changing the suspended quota management of a user's service is to start quota management, it may also determine that changing the suspended quota management of other services of the user is to start quota management, or determine to prohibit the user from using other services. Suspend quota management, or prohibit all users from using suspended quota management.
  • step 607 there is no time sequence between step 607 and step 608.
  • Step 609 The billing processing device 101 sends to the policy control device 104 a notification message (also called a change notification) for changing the first SRQM related information of the user service, so that the policy control device 104 generates or updates the control of the user service according to the change notification.
  • a notification message also called a change notification
  • step 609 is consistent with the description of step 555, which is not described in detail in this embodiment of the present invention.
  • steps 610-611 are consistent with the descriptions of steps 556-557, which are not described in detail in the embodiments of the present invention.
  • the policy control device 104 determines whether the user service can use the non-blocking mode according to the acquired related information of the user. In addition, during the use of the user service, the SRQM of the user service is determined or changed according to the user's account information. This makes the SRQM of the user service more accurate, and can avoid the risks and losses caused by using the non-blocking mode during the use of the user service.
  • FIG. 7 is a hardware structure diagram of a session management function device, a charging processing device 101, or a policy control device 104 provided by an embodiment of the application.
  • the session management function device 102 for example, 102 in FIG. 1A
  • the charging processing device 101 for example, 101 in FIG. 1A
  • the policy control device 104 for example, the policy control device 104 in FIG. 1A
  • Both can be implemented using the general computer hardware structure shown in FIG. 7, which includes a processor 701, a memory 702, a bus 703, an input device 704, an output device 705, and a network interface 706.
  • the input device 704 and the output device 705 are optional. of.
  • the memory 702 may include a computer storage medium in the form of a volatile and/or nonvolatile memory, such as a read-only memory and/or a random access memory.
  • the memory 702 can store an operating system, application programs, other program modules, executable codes, and program data.
  • the input device 704 can be used to input information to facilitate the system administrator to operate and manage the session management function device, the billing processing device 101 or the policy control device 104, etc., for example, configure the user account risk threshold on the billing processing device 101,
  • the storage space of quota management mode indication information is managed on the session management function device, and the storage space of quota management mode indication information is managed on the policy control device 104;
  • the input device 704 can be a keyboard or pointing device, such as a mouse, trackball, touch Boards, scanners or similar devices can all be connected to the processor 701 via the bus 703.
  • the output device 705 can be used to output information to facilitate the system administrator to operate and manage the session management function device, the charging processing device 101, or the policy control device 104; for example, displaying the user account risk threshold, Display the remaining storage space on the session management function device, display the remaining storage space on the policy control device 104, etc.; in addition to the monitor, the output device 705 can also be other peripheral output devices, and can also be connected to the processor through the bus 703 701.
  • the session management function device 102, the charging processing device 101, or the policy control device 104 may all be connected to the network through the network interface 706, for example, connected to a local area network (LAN).
  • LAN local area network
  • the computer execution instructions stored in the session management function device, the billing processing device 101, or the policy control device 104 can be stored in a remote storage device, not limited to local storage.
  • the session management function device 102 can execute the method steps corresponding to the session management function device 102 in all the above embodiments, such as Steps 206, 310, 351, 332-353, 357, 404, 405, 406-407, 411, 310, 351, 332-353, 357, 604, 605, 606-607 and 611, etc.; please refer to the above for the specific execution process The embodiments are not repeated here.
  • the billing processing device 101 can execute the method steps corresponding to the billing processing device 101 in all the above embodiments, such as Steps 208, 302, 304, 306, 352-355, 401-402, 406-409, 502, 504, 506, 552-555, 601-602, and 606-609; refer to the above-mentioned embodiments for the specific execution process, here No longer.
  • the policy control can execute the method steps corresponding to the policy control device 104 in all the above embodiments, such as steps 202-212, 300-302, 306-310, 355-357, 401-404, 409-411, 500-502, 506-510, 555-557, 5501-504, and 509-511; please refer to the above embodiments for the specific execution process, I won't repeat them here.
  • step 206 the policy control device 104 sends the first policy, and the session management function device 102 receives the first policy.
  • the charging processing device 101 (101) is used to determine the first quota management mode of the user service needs to be changed, and send a notification message to the policy control device 104 ,
  • the notification message carries information about the second quota management mode of the user service, and the second quota management mode is used to change the first quota management mode.
  • the billing processing device 101 includes:
  • the processing module 802 is used to determine the first quota management mode of the user service that needs to be changed.
  • the processing module 802 is mainly used to perform the processing and determining steps of the charging processing device 101 in the foregoing embodiment, such as steps 208, 304, 354, 408, 504, 554, and 608.
  • the sending module 803 is configured to send a notification message to the policy control device 104, where the notification message carries information about the second quota management mode of the user service, and the second quota management mode is used to change the first quota management mode.
  • the sending module 803 is mainly used to execute the sending steps on the charging processing device 101 side in the above embodiment, such as steps 208, 306, 353, 355, 402, 407, 409, 506, 553, 555, 602, 607, and 609 Wait.
  • the charging processing device 101 further includes a receiving module 801 for receiving a request message sent by the policy control device 104.
  • the receiving module 801 is mainly used to perform the receiving steps on the charging processing device 101 side in the foregoing embodiment, such as steps 302, 352, 401, 406, 502, 552, 601, and 606.
  • FIG. 9 is a schematic diagram of a logical structure of a policy control device 104 (104) provided by an embodiment of the application.
  • the policy control device 104 (104) is used to determine a policy for a user service.
  • the policy control device 104 (104) includes:
  • the receiving module 901 is configured to receive information related to the second quota management mode of the user service for changing the first quota management mode sent by the charging processing device 101.
  • the receiving module 901 is mainly used to execute the receiving steps of the policy control device 104 in the foregoing embodiment, such as steps 208, 306, 355, 402, 409, 506, 555, 602, and 609.
  • the processing module 902 is configured to determine the first quota management mode of the user service, generate a first policy for the user service according to the first quota management mode, and determine the second quota management mode according to related information of the second quota management mode of the user service, and A second strategy for user services is generated according to the second quota management mode, and the second strategy is used to update or replace the first strategy.
  • the processing module 902 is mainly used to perform the steps of determining, processing and generating the strategy by the strategy control device 104 in the above example, such as steps 202-204, 210-212, 304, 354, 403, 410, 504, 554, 603, and 610 Wait.
  • the sending module 903 is configured to send the first policy to the session management function device 102 to instruct the session management function device 102 to execute the first quota management mode for the user service.
  • the sending module 903 is mainly used to perform steps such as sending by the policy control device 104 in the foregoing example, such as steps 206, 302, 310, 357, 401, 404, 411, 502, 510, 557, 601, 604, and 611.
  • the charging processing device 101 shown in FIG. 8 and the policy control device 104 shown in FIG. 9 are presented in the form of functional modules.
  • the “module” here can refer to application-specific integrated circuits (ASIC), circuits, processors and memories that execute one or more software or firmware programs, integrated logic circuits, and/or other functions that can provide the above-mentioned functions Of the device.
  • ASIC application-specific integrated circuits
  • these devices may also adopt the form shown in FIG. 6.
  • the receiving module 801, the processing module 802, the sending module 803, the receiving module 901, the processing module 802, and the sending module 903 can all be implemented by the processor 701 and the memory 702 in FIG. 6.
  • the disclosed system, device, and method may be implemented in other ways.
  • the division of units is only a logical function division, and there may be other divisions in actual implementation.
  • multiple units or components can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application is essentially or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. It includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

本申请实施例公开了业务处理方法和相关产品,应用于计费领域。策略控制设备生成用户业务的第一策略,并向会话管理功能设备发送第一策略以指示会话管理功能设备对用户业务执行第一配额管理模式。策略控制设备接收计费处理设备发送的用于更改第一配额管理模式的用户或用户业务的第二配额管理模式的相关信息,并根据用户业务的第二配额管理模式的相关信息确定第二配额管理模式。策略控制设备根据第二配额管理模式生成用户业务的第二策略,第二策略用于更新或者替换第一策略。根据本方法,可以使得用户业务的配额管理模式具有时效性,可以保证时延需求和信用控制风险的平衡。

Description

处理用户业务的方法、系统及相关设备
本申请要求于2020年5月15日提交中国国家知识产权局、申请号为202010414154.0、发明名称为“处理用户业务的方法、系统及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及在计费系统中处理用户业务的的方法、系统及相关设备。
背景技术
根据3GPP(3rd Generation Partnership Project,第三代合作伙伴计划)标准规范,会话管理功能(Session Management Function,SMF)设备对用户业务通常采用阻塞模式的配额申请。即SMF设备需在用户业务开始之前先申请到配额。阻塞模式的配额申请有助于降低信用控制风险,降低运营商遭受损失的可能,但会加大用户业务的接入时延,影响时延敏感业务的提供,影响用户体验。
5G(5th Generation,第五代)网络所支撑的时延敏感性业务,如uRLLC(ultra High-Reliability and Low-Latency Communication,超高可靠性低时延通信)业务,对接入时延有较高的要求。为此,3GPP标准规范定义了非阻塞模式的配额申请和在线计费业务的配额管理挂起模式。对于非阻塞模式的配额申请,会话管理功能设备无需在得到针对用户业务的配额授权后再开始用户业务。也就是说,会话管理功能设备可以先开始用户业务,同时或者之后申请该用户业务的配额,从而有利于减小该用户业务的接入时延。对于在线计费业务的挂起配额管理,会话管理功能设备可以视为用户业务的临时离线计费用户业务或无限配额用户业务,无需会话管理功能设备在用户业务的使用过程中频繁的为用户业务申请配额。
但另一方面,如果一味地采用非阻塞模式的初始配额申请存在如下问题:SMF设备可能在用户业务开始之后才发现配额获取失败,这样不但可能造成资源浪费,还有可能致使恶意用户可能对网络进行DoS攻击(Denial of Service,拒绝服务)。而采用挂起配额管理模式,则有可能造成严重的资源浪费以及运营商的损失。
如何在网元性能负担、用户业务的接入时延需求、和信用控制风险、网络安全之间取得平衡,是亟需解决的技术问题。
发明内容
鉴于此,有必要提供一种处理用户业务的方法,以确定用户业的配额管理模式,实现计费系统的性能负担、用户业务的接入时延需求、信用控制风险的平衡。
第一方面,本申请实例提供一种由策略控制设备执行的业务处理方法。策略控制设备生成用户业务的第一策略,并向会话管理功能设备发送第一策略。第一策略指示对用户的用户业务执行所述第一配额管理模式。在业务的执行过程中,策略控制设备接收计费处理设备发送的用于更改第一配额管理模式的用户或用户业务的第二配额管理模式的相关信息,并根据用户或用户业务的第二配额管理模式的相关信息确定第二配额管理模式。策略控制设备根据第二配额管理模式生成用户业务的第二策略,第二策略用于更新或者替换第一策略,以及指 示对所述用户业务执行所述第二配额管理模式。根据本方法,在业务的执行过程中,计费处理设备发送用于更改第一配额管理模式的第二配额管理模式。然后策略控制设备根据第二配额管理模式生成第二策略以更新或替换已被执行的第一策略。从而使得用户业务的配额管理模式具有时效性,可以保证时延需求和信用控制风险的平衡。
一种可能的实现方式中,策略控制设备还接收计费处理设备发送的用户或用户业务的第一配额管理模式的相关信息。策略控制设备根据用户或用户业务的第一配额管理模式的相关信息确定用户业务的第一配额管理模式。因此,第一配额管理模式由计费处理设备确定,从而保证第一配额管理模式的确定具有时实性。
一种可能的实现方式中,第一配额管理模式为第一初始配额申请模式,第二配额管理模式为第二初始配额申请模式。第一初始配额申请模式为阻塞模式以及第二初始配额申请模式为非阻塞模式,或者,所述第一初始配额申请模式为非阻塞模式以及所述第二初始配额申请模式为阻塞模式。
一种可能的实现方式中,所述第一配额管理模式为挂起配额管理且所述第二配额管理模式为启用配额管理,或者,所述第一配额管理模式为启用配额管理且所述第二配额管理模式为挂起配额管理。
通过不同的第一配额管理模式,可以实现对不同业务有不同的配额管理模式,从而满足业务的多样性,满足用户需求。
一种可能的实现方式中,策略控制设备进一步向计费处理设备发送请求消息。策略控制设备接收计费处理设备发送的响应消息,响应消息携带用户或用户业务的第一配额管理模式的相关信息。策略控制设备根据用户或用户业务的第一配额管理模式的相关信息确定用户业务的第一配额管理模式。通过本方法,策略控制设备从计费处理设备请求获取第一配额管理模式的相关信息。
一种可能的实现方式中,第一配额管理模式为第一初始配额申请模式,请求消息还携带第一配额管理模式的获取指示。获取指示为用户的标识和获取用户的非阻塞模式的业务列表的指示信息,响应消息携带的第一配额管理模式的相关信息为用户的允许使用非阻塞模式的第一初始配额申请模式的业务列表。或者获取指示为用户业务的标识和获取是否允许用户业务使用非阻塞模式的第一初始配额申请模式的指示信息,响应消息携带的第一配额管理模式的相关信息为是否允许用户业务使用非阻塞模式的第一初始配额申请模式的指示信息。获取指示为用户的标识和获取是否允许用户的业务使用非阻塞的第一初始配额申请模式的指示信息,响应消息携带的第一配额管理模式的相关信息为是否允许用户的业务使用非阻塞的第一初始配额申请模式的指示信息。获取指示为用户业务的标识和获取用户业务的第一初始配额申请模式的指示信息,响应消息携带的第一配额管理模式的相关信息为用户业务的第一初始配额申请模式,第一初始配额申请模式为阻塞模式或非阻塞模式。获取指示为用户的标识和获取用户的各业务的第一初始配额申请模式,响应消息携带的第一配额管理模式的相关信息为用户的各业务的第一初始配额申请模式,第一初始配额申请模式为阻塞模式或非阻塞模式。通过本方法,策略控制设备可以通过多种指示以获取第一初始配额申请模式。此外,第一配额管理模式为第一初始配额管理模式,从而使得用户业务可以使用阻塞模式或非阻塞模式,以满足不同用户业务的需求。
一种可能的实现方式中,第一配额管理模式为挂起或者启用配额管理,请求消息还携带第一配额管理模式的获取指示。获取指示为用户的标识和获取用户的允许挂起配额管理的业务列表的指示信息,响应消息携带的第一配额管理模式的相关信息为用户的允许挂起配额管理的业务列表。或获取指示为用户业务的标识和获取是否允许用户业务挂起配额管理的指示信息,响应消息携带的第一配额管理模式的相关信息为是否允许挂起用户业务的配额管理的指示信息。或获取指示为用户的标识和获取是否允许挂起用户的业务的配额管理的指示信息,响应消息携带的第一配额管理模式的相关信息为是否允许挂起用户的业务的配额管理的指示信息。或获取指示为用户业务的标识和获取用户业务的第一配额管理模式的指示信息,响应消息携带的第一配额管理模式的相关信息为用户业务的第一配额管理模式,第一配额管理模 式为挂起配额管理或启用配额管理。或获取指示为用户的标识和获取用户的各业务的配额管理模式,响应消息携带的第一配额管理模式的相关信息为用户的各业务的第一配额管理模式的信息,第一配额管理模式为挂起配额管理或启动配额管理。通过本方法,策略控制设备可以通过多种指示以获取挂起或者启用配额管理。此外,第一配额管理模式为挂起或者启用配额管理,从而使得用户业务可以使用挂起配额管理或启用配额管理,以满足不同用户业务的需求。
一种可能的实现方式中,用户或用户业务的第一配额管理模式的相关信息为:是否允许用户的业务使用非阻塞模式的指示信息,或者,是否允许挂起用户的业务的配额管理的指示信息。
一种可能的实现方式中,若第一配额管理模式为第一初始配额申请模式,第一策略包括第一初始配额申请模式的指示,第一初始配额申请模式为非阻塞模式或阻塞模式。若用户业务的第一配额管理模式为挂起配额管理,第一策略包括用户业务的计费方法为离线计费或者临时离线计费。若用户业务的第一配额管理模式为启用配额管理,第一策略包括的用户业务的计费方法为在线计费。通过第一策略指示第一配额管理模式,从而使得用户业务可以根据第一配额管理模式被执行。从而使得业务的执行不但满足业务的需求,还满足用户的需求。
一种可能的实现方式中,策略控制设备接收计费处理设备发送的用于更改第一配额管理模式的第二配额管理模式的相关信息包括:策略控制设备接收计费处理设备发送的针对用户或用户业务的通知消息,通知消息携带用户业务的第二配额管理模式的相关信息。通过本方法,策略控制设备从计费处理设备获取第二配额管理模工,使得第一配额管理模式被替换,从而保证用户业务的配额管理模式的实时性。
一种可能的实现方式中,第一配额管理模式为阻塞模式或者非阻塞模式的第一初始配额申请模式,用户业务的第二配额管理模式的相关信息包括以下任一:用户的允许使用非阻塞的第二初始配额申请模式的业务列表;是否允许用户的业务使用非阻塞的第二初始配额申请模式的指示信息;是否允许用户业务使用非阻塞的第二初始配额申请模式的指示信息;或用户业务的第二初始配额申请模式。通过本方法,策略控制设备可以通过多种指示以获取第二初始配额申请模式。此外,第二配额管理模式为第二初始配额管理模式,从而使得用户业务可以使用阻塞模式或非阻塞模式,以满足不同用户业务的需求。
一种可能的实现方式中,第一配额管理模式为挂起或者启用配额管理,用户业务的第二配额管理模式的相关信息包括以下任一:用户的允许挂起配额管理的业务列表;是否允许挂起用户业务的配额管理的指示信息;是否允许挂起用户的业务的配额管理的指示信息;或用户业务的挂起或启用配额管理的配额管理模式。通过本方法,策略控制设备可以获得多种第二配额管理模式。此外,第二配额管理模式为挂起或者启用配额管理,从而使得用户业务可以使用挂起配额管理或启用配额管理,以满足不同用户业务的需求,以及不同的场景需求。
一种可能的实现方式中,策略控制设备保存用户业务的第二配额管理模式。以便下次用户业务可以使用第二配额管理模式,从而使得确定用户业务的配额管理模式更为快速,节约网络资源。
一种可能的实现方式中,若第二配管理模式为第二初始配额额申请模式,第二策略包括用户业务的第二初始配额申请模式,第二初始配额申请模式为阻塞模式或非阻塞模式;若用户业务的第二配额管理模式为挂起配额管理,第二策略包括用户业务的计费方法为离线计费或者临时离线计费;或者,若用户业务的第二配额管理模式为启用配额管理,在第二策略包括的用户业务的计费方法为在线计费。通过第二策略指示第二配额管理模式,从而使得用户业务可以根据第一配额管理模式被执行。从而使得业务的执行不但满足业务的需求,还满足用户的需求。
一种可能的实现方式中,向会话管理功能设备发送发第二策略,第二策略用户更新用户业务的第一策略。或者,向会话管理功能设备发送第一策略的去激活指令和第二策略的激活指令。
第二方面,本发明实施例提供一计费处理设备执行的用户业务处理方法。该方法中,计 费处理设备确定需要更改用户的用户业务的第一配额管理模式为第二配额管理模式,并向策略控制设备发送通知消息。通知消息携带用户或用户业务的第二配额管理模式的相关信息,第二配额管理模式用于更改第一配额管理模式。根据本方法,在业务的执行过程中,计费处理设备发送用于更改第一配额管理模式的第二配额管理模式。从而使得用户业务的配额管理模式具有时效性,可以保证时延需求和信用控制风险的平衡。
一种可能的实现方式中,第一配额管理模式为第一初始配额申请模式,第二配额管理模式为第二初始配额申请模式。第一初始配额申请模式为阻塞模式以及第二初始配额申请模式为非阻塞模式,或者,所述第一初始配额申请模式为非阻塞模式以及所述第二初始配额申请模式为阻塞模式。
一种可能的实现方式中,所述第一配额管理模式为挂起配额管理且所述第二配额管理模式为启用配额管理,或者,所述第一配额管理模式为启用配额管理且所述第二配额管理模式为挂起配额管理。
一种可能的实现方式中,计费处理设备处理用户业务的计费请求、或者处理用户的其他业务的计费请求、或者对用户帐户执行计费管理流程时,确定需要更改用户业务的第一配额管理模式。通过本方法,保证多种场景的对第一配额管理模式进行更改,从而使得用户业务的配额管理模式具有时效性,可以保证时延需求和信用控制风险的平衡。
一种可能的实现方式中,计费处理设备接收用户业务的计费请求,计费请求中包括用户业务使用的第一配额管理模式的指示信息;并基于第一配额管理模式的指示信息确定需要更改用户业务的第一配额管理模式为第二配额管理模式。或者计费处理设备确定向策略控制设备发送过用户业务的第一配额管理模式的相关信息,并基于第一配额管理模式,计费处理设备确定更改用户业务的第一配额管理模式为第二配额管理模式。通过本方法,可以提供多种计费处理设备确定更改第一配额管理模式,从而实现确定的灵活性,满足多种用户业务的需求。
一种可能的实现方式中,计费处理设备保存用户业务的第二配额管理模式。以便下次用户业务可以使用第二配额管理模式,从而使得确定用户业务的配额管理模式更为快速,节约网络资源。
一种可能的实现方式中,计费处理设备确定存在为用户创建的资源。计费处理设备通过与资源对应的通知地址向策略控制设备发送通知消息。
一种可能的实现方式中,计费处理设备接收策略控制设备发送的请求消息,并向策略控制设备发送的响应消息,响应消息携带用户或用户业务的第一配额管理模式的相关信息。
第三方面,提供了一种策略控制装置,该装置体具有实现上述第一方面的策略控制装置装置的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第四方面,提供了一种计费处理装置,该装置体具有实现上述第二方面的计费处理装置的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第五方面,本申请实施例提供了一种用户业务处理方法。在该方法中,策略控制设备确定用户业务的第一配额管理模式,并根据第一配额管理模式生成用户业务的第一策略,向会话管理功能设备发送第一策略,第一策略用于指示对用户业务执行第一配额管理模式。然后计费处理设备向策略控制设备发送用于更改第一配额管理模式的用户业务的第二配额管理模式的相关信息。策略控制设备在收到第二配额管理模式的相关信息后,根据用户业务的第二配额管理模式的相关信息确定第二配额管理模式,并根据第二配额管理模式生成用户业务的第二策略,第二策略用于更新或者替换第一策略。
第六方面,本申请实施例提供了一种用户业务处理的系统,包括策略控制设备和计费处理设备。策略控制设备可以执行上述第一方面或第一方面中任一可能的方案中的策略控制设备执行的方法。计费处理设备可以执行上述第二方面或第二方面中任一可能的方案中的计费 处理设备执行的方法。
第七方面,本申请实施例提供了一种用户业务处理系统,包括:策略控制设备和会话功能管理设备。策略控制设备可以执行上述第一方面或第一方面中任一可能的方案中的策略控制设备执行的方法。会话功能管理设备用于接收策略控制设备发送的第一策略或第二略。
在一种可能的实现方式中,会话管理功能设备还可以执行图2-图6中会话管理设备可以执行的任何步骤或方法。
第八方面,本申请实施例提供一种户业务处理的系统,包括策略控制设备、会话管理功能设备和计费处理设备。策略控制设备可以执行上述第一方面或第一方面中任一可能的方案中的策略控制设备执行的方法。计费处理设备可以执行上述第二方面或第二方面中任一可能的方案中的计费处理设备执行的方法。会话功能管理设备用于接收策略控制设备发送的第一策略或第二略。
在一种可能的实现方式中,会话管理功能设备还可以执行图2-图6中会话管理设备可以执行的任何步骤或方法。
第九方面,本申请实施例提供了一种计费处理设备(101),包括处理器和存储器,其中:
存储器,用于存储程序指令;
处理器,用于调用并执行存储器中存储的程序指令,以使计费处理设备(101)执行第二方面或第二方面中任一可能的方案中的处理用户业务的方法。
第十方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行第二方面或第二方面中任一可能的方案中的处理用户业务的方法。
第十一方面,本申请实施例提供了一种策略控制设备(104),包括处理器和存储器,其中:
存储器,用于存储程序指令;
处理器,用于调用并执行存储器中存储的程序指令,以使会话管理功能设备(102)执行第一方面或第一方面中任一可能的方案中的处理用户业务的方法。
第十二方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行第一方面或第一方面中任一可能的方案中的处理用户业务的方法。
第十三方面,本申请提实施例供了一种芯片,当芯片运行时用于实现上述第一方面、第二方面,第一方面任意可能的实现方案或第二方面的任意可能的实现方案的方法。
附图说明
图1A是应用本申请实施例的一种系统架构的示意图;
图1B是应用本申请的5G系统的架构示意图;
图2为本申请实施例提供的处理用户业务的方法流程图;
图3A为本申请实施例提供的策略控制设备确定用户业务的第一配额管理模式的方法流程图;
图3B为本申请实施例提供的计费处理设备确定更改用户业务的第一配额管理模式的方法流程图;
图4为本申请实施例提供的确定用户业务的第一配额管理模式和第二配额管理模式的方法流程图;
图5A为本申请实施例提供的策略控制设备确定用户业务的第一配额管理模式的另一方法流程图;
图5B为本申请实施例提供的计费处理设备确定更改用户业务的第一配额管理模式的另一方法流程图;
图6为本申请实施例提供的确定用户业务的第一配额管理模式和第二配额管理模式的另一方法流程图;
图7为本申请实施例提供的会话管理功能设备、计费处理设备或策略控制设备的硬件结构示意图;
图8为本申请实施例提供的计费处理设备的逻辑结构示意图;
图9为本申请实施例提供的策略控制设备的逻辑结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。
图1A为本申请实施例提供的计费系统架构图,用于控制会话管理功能设备处理用户业务,其中包括计费处理设备101、会话管理功能设备102、用户设备103,和策略控制设备104,这些设备的主要功能分别描述如下。
计费处理设备101:与会话管理功能设备102和策略控制设备104进行通信连接。计费处理设备101用于接收会话管理功能设备上报的配额申请信息、使用量信息等,对用户业务进行计费处理。此外,计费处理设备101根据用户的帐户信息确定或更改用户业务的配额管理模式,并将用户业务的配额管理模式发送给策略控制设备104,或向策略控制设备104发送用户的帐户信息以便策略控制设备104确定用户业务的配额管理模式。
计费处理设备101可以为3GPP标准规范定义的CHF(Charging Function,计费功能)设备,也可以为3GPP标准规范定义的CCS(Converged Charging System,融合计费系统)设备,其中包含了CHF设备的功能。
应理解,实际应用中,图1A所示计费系统可以有更多的计费处理设备101,例如,可以构建一个集群,其中包含多个计费处理设备101,互为备份,从而可以提高容灾能力,实现高可用性。
为叙述方便,本申请实施例中,有时候也将计费处理设备101直接称为CHF设备。
会话管理功能设备102:与计费处理设备101、策略控制设备104以及用户设备103进行通讯连接,该设备可以用于:
(1)从用户设备103接收用户业务的开始请求(即用于请求会话管理功能设备开始用户业务的请求消息),并根据该开始请求开始用户业务,且对用户业务进行配额管理、使用量上报等计费操作;
(2)向计费处理设备101在计费请求中携带对用户业务采用的配额管理模式,以便计费处理设备101根据用户的帐户信息和/或用户业务的使用量信息更改用户业务的配额管理模式;
(3)向策略设备104请求用户业务的策略,并根据策略设备104发送的策略或更新的策略,对用户业务根据策略或更新的策略中携带的配额管理模式进行配额管理。
应理解,实际应用中,图1A所示的计费系统可以有更多的会话管理功能设备,它们可以通信连接到相同的计费处理设备101(如计费处理设备101),也可以通信连接到不同的计费处理设备101,同一用户设备为同一用户业务发起的多次业务开始请求,可能是由相同的或不同的会话管理功能设备处理。
用户设备103:与会话管理功能设备相连,用于向会话管理功能设备发送用户业务的开始请求,并通过会话管理功能设备接入或使用用户业务。
用户设备103可以是3GPP标准规范定义的用户设备(user equipment,UE),可以是具有无线通信功能的无线接入设备或者不具有无线通信功能的有线接入设备,包括手持式设备、车载设备、可穿戴设备或计算设备;示例性地,可以是手机(mobile phone)、平板电脑或带无线收发功能的电脑;用户设备103还可以是虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制中的无线终端、无人驾驶中的无线终端、远程医疗中的无线终端、智能电网中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。
应理解,实际应用中,图1A所示计费系统可以有更多的用户设备。
策略控制设备104:与会话管理功能设备102和计费处理设备101进行通讯连接,用于为会话管理功能设备102提供用户业务的计费策略,还用于为会话管理功能设备102提供用户业务或用户的业务对应的配额管理模式的相关信息。
策略控制设备104可以是3GPP标准规范定义的策略控制功能(Policy Control Function,PCF)设备,或者策略和计费规则功能(Policy and Charging rules Function,PCRF)设备。
需要说明,上文的“相连”或者“连接”包括直接连接或者通过一个或多个中间网络设备的通信连接。
图1B示出了一个基本的5G系统的架构示意图。如图1B所示,系统包括:接入和移动性管理功能(access and mobility management function,AMF)、会话管理功能(session management function,SMF)、无线接入网(radio access network,RAN)、统一数据管理(unified data management,UDM)、策略控制功能(policy control function,PCF)、数据网络(data network,DN)、用户面功能(user plane function,UPF)、UE、应用功能(application function,AF)、统一数据存储(unified data repository,UDR)和计费功能(charging function,CHF)。可选地,图1B中还可以包括以下功能(图1B中未示出):网络切片选择功能(network slice selection function,NSSF)、认证服务器功能(authentication server function,AUSF)、能力开放功能(network exposure function,NEF)、网络存储功能(NF repository function,NRF)。
其中,各网元主要功能描述如下:
AF:可以理解为应用功能网元在5G架构中的命名。其中,应用功能网元主要传递应用侧对网络侧的需求,例如,服务质量(quality of service,QoS)需求等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP Multimedia Subsystem,IMS)语音呼叫业务。
UDM:可以理解为统一数据管理网元在5G架构中的命名。其中,统一数据管理网元主要包括以下功能:统一数据管理,支持3GPP认证和密钥协商机制中的认证信任状处理,用户身份处理,接入授权,注册和移动性管理,签约管理,短消息管理等。
UDR:可以理解为统一数据存储网元在5G架构中的命名。其中,统一数据存储网元主要包括以下功能:签约数据、策略数据、应用数据等类型数据的存取功能。
PCF:可以理解为策略控制功能网元在5G架构中的命名。其中,策略控制功能网元主要负责针对会话、业务流级别进行计费、QoS带宽保障及移动性管理、UE策略决策等策略控制功能。该系统中,AMF与SMF所连接的PCF分别是接入和移动控制PCF(PCF for access and mobility control,AM PCF)和会话管理PCF(PCF for session management,SM PCF),在实际部署中AM PCF和SM PCF可能不是同一个PCF实体。
SMF:可以理解为会话管理网元在5G架构中的命名。其中,会话管理网元主要进行会话管理、PCF下发控制策略的执行、UPF的选择、UE IP地址分配等功能。
AMF:可以理解为移动性管理网元在5G架构中的命名。其中,移动性管理网元主要包括以下功能:连接管理、移动性管理、注册管理、接入认证和授权、可达性管理、安全上下文管理等接入和移动性相关的功能。
UPF:可以理解为用户面功能网元在5G架构中的命名。其中,用户面功能网元主要包括以下功能:数据包路由和传输、包检测、业务用量上报、QoS处理、合法监听、上行包检测、下行数据包存储等用户面相关的功能。
(R)AN:(无线)接入网,对应5G中的不同接入网,如有线接入、无线基站接入等多种方式。
DN:数据网络,用于标识运营商网络接入点名称。在本申请中,DN还可包括验证、授权和记账(authentication、authorization、accounting,AAA)服务器功能,负责对用户执行二次鉴权。
CHF:计费功能。负责向PCF上报计费状态信息,及与SMF交互实现配额管理及计费控制。
其中,各接口功能描述如下:
N7:PCF与SMF之间的接口,用于下发PDU会话粒度以及业务数据流粒度控制策略。
N15:PCF与AMF之间的接口,用于下发UE策略及接入控制相关策略。
N5:AF与PCF之间的接口,用于应用业务请求下发以及网络事件上报。
N4:SMF与UPF之间的接口,用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。
N11:SMF与AMF之间的接口,用于传递RAN和UPF之间的PDU会话隧道信息、传递发送给UE的控制消息、传递发送给RAN的无线资源控制信息等。
N2:AMF与RAN之间的接口,用于传递核心网侧至RAN的无线承载控制信息等。
N1:AMF与UE之间的接口,接入无关,用于向UE传递QoS控制规则等。
N8:AMF与UDM间的接口,用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册UE当前移动性管理相关信息等。
N10:SMF与UDM间的接口,用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册UE当前会话相关信息等。
N35:UDM与UDR间的接口,用于UDM从UDR中获取用户签约数据信息。
N36:PCF与UDR间的接口,用于PCF从UDR中获取策略相关签约数据以及应用数据 相关信息。
N3:RAN与UPF间的接口,用于在RAN与UPF间传递用户面数据。
N6:UPF与DN连接间的接口,用于在UPF与DN间传递用户面数据。
N9:UPF与UPF间的接口,如拜访地策略控制功能(visited-policy control function,V-PCF)与归属地策略控制功能(home-policy control function,H-PCF)间的接口,或是与DN相连的UPF与RAN相连的UPF间的接口,用于在UPF间传递用户面数据。
N28:PCF与CHF间的接口,用于PCF向UDR订阅计费状态(Policy Counter)信息,如用户余额状态、剩余流量状态等。
N40:SMF与CHF间的接口,用于SMF向CHF上报计费信息(Charging data),并从CHF获取配额(Credit)阈值。
图1A或图1B所示的计费系统架构使得计费处理设备101和/或策略设备可以适时的、动态的确定用户业务的配额管理模式,比如在业务的使用过程中根据用户的帐户信息和/或用户业务的使用量的信息确定或更改用户业务的配额管理模式。从而可以实现在用户业务的信用控制风险较低时采用非阻塞模式的初始配额申请或挂起配额管理,而在用户业务的信用控制风险较高时采用阻塞模式的配额申请或启用配额管理。因此可以兼顾用户业务对接入时延的需求、运营商对系统性能和信用风险控制的需求。
为便于理解本申请实施例,下面对一些概念进行解释。
用户业务是指用户设备103通过网络设备(比如会话管理功能设备102,或用户面设备等图1A中未显示)接入或使用的业务。用户业务可以是协议数据单元(Protocol Data Unit,PDU)会话中的业务,例如,一个PDU会话中的某个费率组(Rating Group,RG)对应的一个或多个数据流,或者PDU会话中的某个RG与业务标识对应的数据流,都可以理解为本申请实施例的用户业务;本申请实施例中,“PDU会话中的用户业务”、“PDU会话中的业务”,是指PDU会话中某个RG对应的多个数据流,也可以是某个RG对应的多个数据流中某个业务标识对应的数据流。
为叙述的方便,本申请实施例中,有时候也将用户业务简称为“业务”。
关于用户设备103所接入或使用的用户业务,本申请实施例将主要以5G网络的数据连接业务为例进行说明;相应地,关于计费数据,本申请实施例将主要以数据流量有关的信息为例进行说明。数据流量有关的信息包括但不限于:会话管理功能设备所采集的PDU会话的信息、PDU会话中的被放行的业务单元使用量、计费触发条件、时间戳等。
用户的业务,是指用户订阅的一个或多个业务,用户的业务可以是正在使用的PDU会话中的用户业务,也可以是还没有使用的用户订阅的业务。
开始用户业务,是指会话管理功能设备收到用户业务的开始请求后放通用户业务。放通用户业务包括放通用户业务的信令或者数据。例如:当用户业务为上述数据连接业务时,“开始用户业务”包括使针对该数据连接业务的PDU会话的建立或更新操作得以继续(如果PDU会话不可用)或者放通业务数据流(如果PDU会话已可用)。
配额管理模式(Quota Management Mode,QMM)是指会话管理功能设备102(也可以是计费触发设备)对在线计费的用户业务的处理方法。具体的,在本申请中配额管理式可以是在线计费的用户业务的初始配额申请模式(Initial Quota Request Mode,IQRM)(也可以是初始配额申请模式),配额管理模式还可以是挂起/启用在线计费的用户业务的配额管理(Suspend/Resume Quota Management,SRQM)。其中,初始配额申请模式为在收到用户业务 的开始请求后首次为用户业务申请配额的模式。初始配额申请模式可以是阻塞模式的配额申请或非阻塞模式的配额申请,分别描述如下:
阻塞模式的初始配额申请(Blocking Mode Initial Quota Request,BLIQR),是指会话管理功能设备102响应于从用户设备103接收的用户业务的开始请求,先为用户业务向计费处理设备101申请配额,并在接收到计费处理设备101为用户业务授予的配额后,才开始用户业务。
非阻塞模式的配额申请(Non-Blocking Mode Initial Quota Request,NBIQR),是指会话管理功能设备102响应于从用户设备103接收的用户业务的开始请求,并不优先为用户业务向计费处理设备101申请配额,而是优先开始用户业务,或者在开始用户业务的同时为用户业务向计费处理设备101申请配额。
挂起/启用配额管理(Suspend/Resume Quota Management,SRQM)是指针对在线计费的用户业务,在余额充足或者无信用控制风险时,可以挂起或启用配额管理。当用户业务采用挂起配额管理时,用户业务可以被视为临时离线计费或者无限配额,会话管理功能设备102不会向计费处理设备101为用户业务申请配额。而用户帐户的余额不足或者用户有信控风险时,恢复/启用配额管理,为该用户业务开始执行正常的配额管理。
配额管理模式指示信息(Management Mode Indication,QMMInd)是指会话管理功能设备102在收到用户业务的开始请求时对用户业务已采用哪一种配额管理模式(如IQRM或SRQM)的指示信息;配额管理模式指示信息可以仅包含IQRM或SRQM的取值,也可以包含IQRMod字段及其取值,还可以包含SID(用户业务的标识)字段及其取值。本申请实施例不限定配额管理模式指示信息的数据结构。
注意,为了叙述方便,本申请实施例中有时候将“对某个用户业务采用某种配额管理模式”描述成“对某个用户业务采用某种模式的初始配额申请”。
下面进一步描述基于图1A所示的计费系统架构可以实现的方法流程示例,如图2、图3A-图3B、图4和图5A-图5B所示,其中,每一个图对应的方法流程中的会话管理功能实体都对应图1A中的会话管理功能设备102、计费处理设备101都对应图1A中的计费处理设备101、用户设备都对应图1A中的用户设备103,策略控制设备104都对应图1A中的策略控制设备104,后续在关于这些方法流程的描述中将不再赘述。
图2对应的方法流程中,策略控制设备104基于计费处理设备101发送的第二配额管理模式的相关信息生成第二策略,以更新或替换已被会话管理功能设备102执行的第一策略,该方法流程主要包括如下步骤:
步骤202、策略控制设备104确定用户业务的第一配额管理模式。用户业务的第一配额管理模式为在用户业务开始前,策略控制设备104为用户业重男轻女确定的配额管理模式。
第一配额管理模可以为第一初始配额申请模式。第一初始配额申请模式可以为:非阻塞模式或阻塞模式。阻塞模式的第一初始配额申请模式指示用户业务在开始之前需要先获得计费处理设备101授予的配额。非阻塞模式的第一初始配额申请模式指用户业务在开始之前不需要先获得计费处理设备101授予的配额。
第一配额管理模式还可以为挂起/启用配额管理。挂起配额管理指用户业务可以被视为临时离线计费或者无限配额,会话管理功能设备102不会向计费处理设备101为用户业务申请配额。启动配额管理指为该用户业务开始执行正常的配额管理。
作为一个例子,在执行步骤202之前,策略控制设备104接收计费处理设备101发送的 用户或用户业务的第一配额管理模式的相关信息。然后,策略控制设备104根据用户或用户业务的第一配额管理模式的相关信息确定用户业务的第一配额管理模式。
作为另一个例子,策略控制设备104在执行步骤202之前,从计费处理设备101或其它网络设备获取用户的帐户信息或用户的配置信息。然后,策略控制设备104根据获取的用户的帐户信息或配置信息确定用户业务的第一配额管理模式。
作为一种可选,在执行步骤202之前,策略控制设备104向计费处理设备101发送请求消息。策略控制设备104接收计费处理设备101发送的响应消息响应消息携带用户或用户业务的第一配额管理模式的相关信息。
步骤204、策略控制设备104生成第一策略,第一策略用于指示对用户业务执行所述第一配额管理模式。
若第一配额管理模式为第一初始配额申请模式,第一策略包括第一初始配额申请模式的指示,第一初始配额申请模式为非阻塞模式或阻塞模式。若用户业务的第一配额管理模式为挂起配额管理,第一策略包括用户业务的计费方法为离线计费或者临时离线计费。若用户业务的第一配额管理模式为启用配额管理,第一策略包括的用户业务的计费方法为在线计费。
步骤206、策略控制设备104向会话管理功能设备102发送第一策略。
步骤208、策略控制设备104接收计费处理设备101发送的用于更改第一配额管理模式的用户业务的第二配额管理模式的相关信息。第二配额管理模式指在业务开始之后,变更或替换之前确定的第一配额管理模式。
本步骤中,策略控制设备104接收计费处理设备101发送的针对用户或用户业务的通知消息。通知消息携带用户业务的第二配额管理模式的相关信息。
一种可选方式,第一配额管理模式为第一初始配额申请模式,第二配额管理模式为第二初始配额申请模式。第一初始配额申请模式为阻塞模式以及第二初始配额申请模式为非阻塞模式,或者,第一初始配额申请模式为非阻塞模式以及第二初始配额申请模式为阻塞模式。或者,
另一种可选方式,第一配额管理模式为挂起配额管理且第二配额管理模式为启用配额管理。或者第一配额管理模式为启用配额管理且第二配额管理模式为挂起配额管理。
步骤210、策略控制设备104根据用户业务的第二配额管理模式的相关信息确定第二配额管理模式。
步骤212、策略控制设备104生成用户业务的第二策略,第二策略用于更新或者替换第一策略,所述第二策略还用于指示对所述用户业务执行所述第二配额管理模式。
若第二配管理模式为第二初始配额额申请模式,第二策略包括用户业务的第二初始配额申请模式,第二初始配额申请模式为阻塞模式或非阻塞模式。若用户业务的第二配额管理模式为挂起配额管理,第二策略包括用户业务的计费方法为离线计费或者临时离线计费。若用户业务的第二配额管理模式为启用配额管理,在第二策略包括的用户业务的计费方法为在线计费。
第二策略包括与第一策略的标识相同的策略标识,向会话管理功能设备102发送发第二策略。与第一策略相关的标识指示第二策略用于更新用户业务的第一策略。作为另一个例子,策略控制设备104为第二策略分配第二策略标识。策略控制设备104向会话管理功能设备102第二策略和第二策略标识,第二策略标识指示第二策略用于替换已被执行的第一策略。比如,会话管理功能设备102可以根据第二策略标识指示去激活第一策略,以及激活第二策略。
上述图2对应的方法流程使得策略控制设备104可以基于计费处理设备101发送的用于更改第一配额管理模式的用户业务的第二配额管理模式的相关信息,确定第二配额管理模式,并生成替换或更新第一策略的第二策略,以使得可以动态的更改配额管理模式,从而有助于实时、动态地平衡终端用户对接入时延的需求、运营商对系统性能和信用风险控制的需求之间的关系。
关于上述图2对应的方法流程,可进一步参考本申请实施例提供的图3A-图3B、图4,图5A,图5B以及图6对应的方法流程。
图3A为本申请实施例提供的策略控制设备104确定用户业务的配额管理模式的方法流程图。图3A对应的方法流程中,配额管理模式为初始配额申请模式(IQRM)。策略控制设备104从计费处理设备101接收用户或者用户业务的配额管理模式IQRM信息,进而确定用户业务的初始配额申请模式,并根据确定的用户业务的初始配额申请模式生成策略。该方法流程主要包括如下步骤:
步骤300:策略控制设备104确定需要向计费处理设备101发送请求消息。
具体地,策略控制设备104可以在收到会话管理功能设备102发送的用户业务的策略获取请求或用户业务的策略更新请求后,响应于策略获取请求或策略更新请求,策略控制设备104确定需要向计费处理设备101获取信息。通常,会话管理功能设备102在收到为用户建立PDU session的请求时可以向策略控制设备104发送策略获取请求。会话管理功能设备102还可以在收到业务开始请求后向策略控制设备104发送策略获取请求。会话管理功能设备102在发送给策略控制设备104的策略获取请求中可以携带用户标识、PDU会话的信息(如PDU session的类型)等。
可选的,策略控制设备104还确定需要向计费处理设备101获取用户业务的IQRM的信息,并在向计费处理设备101发送的请求消息中携带获取用户业务的IQRM相关信息的指示。
可选的,策略控制设备104根据配置信息确定需要向计费处理设备101发送请求消息以及确定需要获取IQRM的相关信息。配置信息可以是策略控制设备104的本地配置信息或者从UDR获取的该用户的配置信息。或者,策略控制设备104确定没有存储有关用户业务或用户的IQRM的相关信息,则确定需要向计费处理设备101获取用户业务的IQRM的信息。
步骤302、策略控制设备104向计费处理设备101发送请求消息。
具体地,请求消息可以用于向计费处理设备101获取并订阅计数器Counter的当前状态及状态改变。该请求可以不携带IQRM的获取指示。
进一步的,请求消息还可以用于向计费处理设备101获取该用户或者该用户业务的IQRM的相关信息。比如,在步骤300中策略控制设备104确定需要向计费处理设备101获取用户业务的第一IQRM的信息,请求消息中还可以携带用户的业务的IQRM的获取指示。IQRM获取指示可以为下表中的任一指示:
Figure PCTCN2021093032-appb-000001
作为一个例子,策略控制设备104在收到会话管理功能设备102发送的用户的策略获取请求,或策略更新请求后,确定需要向计费处理设备101获取当前用户的NB类业务的业务列表,则向计费处理设备101发送IQRM相关信息的第一获取指示。IQRM相关信息的第一获取指示携带用户的标识和获取用户的NB的业务列表的指示信息。参考如下示例:
Request:
Figure PCTCN2021093032-appb-000002
其中,userID字段表示为用户标识。RequestedNBM取值为true,指示获取用户的IQRM为NB的业务列表。
作为另一个例子,策略控制设备104在收到会话管理功能设备102发送的用户的策略获取请求,或策略更新请求后,确定当前用户或者用户业务是否可以使用非阻塞模式,并向计费处理设备101发送IQRM相关信息第二获取指示。IQRM相关信息的第二获取指示携带用户业务的标识和/或用户标识,以及获取是否允许用户业务或用户使用非阻塞模式的第一初始配额申请的指示信息。比如,请求消息携带用户标识和用户业务的标识,表示需要确定当前用户业务是否可以使用非阻塞模式。如果请求消息携带了用户标识而未携带用户业务的标识,表示需要确定当前用户是否可以使用非阻塞模式。
参考如下示例:
Request:
Figure PCTCN2021093032-appb-000003
其中,userID字段表示为用户标识。“InitialQRMMode”表示需计费处理设备101确定请求消息中指示的用户业务或用户是否可以使用非阻塞模式。“RatingGroup”表示与该ratinggroup对应的用户业务。“Service ID”表示该标识对应的用户业务。比如,当请求携带“InitialQRMMode”和“RatingGroup”时,表明需计费处理设备101确定与该ratinggroup对应的用户业务是否可以使用非阻塞模式。当请求携带“InitialQRMMode”和“Service ID”时,表明需计费处理设备101确认该“Service ID”指示的业务是否可以使用非阻塞模式。当请求消息没有携带“Service ID”以及“RatingGroup”时,表明需计费处理设备101确认该“userID”指示的用户是否可以使用非阻塞模式。
作为一种可选,策略控制设备104在收到会话管理功能设备102发送的用户的策略获取请求或策略更新请求后,确定需要获取该用户业务的第一IQRM的相关信息,向计费处理设备101发送IQRM相关信息的第三获取指示,用以获取用户业务的第一IQRM信息。第三获取指示携带用户业务的标识和获取用户业务的第一初始配额申请模式的指示信息。用户业务的第一IQRM可以为阻塞模式或非阻塞模式。其中,该用户业务标识可以是业务标识或者对应的费率组或者其他可以标识该用户业务的标识。参考如下示例:
Request:
Figure PCTCN2021093032-appb-000004
Figure PCTCN2021093032-appb-000005
“IntialQRMMAuthorizat ion”表示需计费处理设备101确定请求消息中指示的用户业务是使用非阻塞模式还是阻塞模式。请求消息中指示的用户业务可以是“RatingGroup”中与该ratinggroup对应的用户业务,或“Service ID”中与用户标识对应的用户业务。比如,当请求携带“IntialQRMMAuthorizatione”和“RatingGroup”时,表明需计费处理设备101确定并返回该ratinggroup对应的用户业务的IQRM为阻塞模式或非阻塞模式。当请求携带“IntialQRMMAuthorization”和“Service ID”时,表明需计费处理设备101确认并返回该“Service ID”指示的业务的IQRM为阻塞模式或非阻塞模式。
作为另一个例子,策略控制设备104在收到会话管理功能设备102发送的用户的策略获取请求或策略更新请求后,确定需要向计费处理设备101获取用户的各业务的第一IQRM,则向CHF发送IQRM相关信息的第四获取指示,用于获取该用户的各业务的第一IQRM的相关信息。IQRM相关信息的第四获取指示携带用户标识以及获取该用户的各业务的IQRM的指示信息。第四IQRM获取指示可以为如下形式:
Request:
Figure PCTCN2021093032-appb-000006
其中,userID字段为用户标识。“InitialQRMMode”为true表示需计费处理设备101确定用户的各业务的初始配额申请模式的值。该请求消息表明需计费处理设备101确定用户的各业务的第一IQRM是非阻塞模式还是阻塞模式。
步骤304、计费处理设备101接收请求消息后,根据请求消息执行对应的处理,确定用户业务的第一IQRM的相关信息。
具体的,若请求消息未携带配额管理模式(本实施例为第一IQRM)的相关信息的获取指示,则计费处理设备101可以不返回或主动确定并返回是否允许用户的业务使用非阻塞模式。如果计费处理设备101存储了每个业务的IQRM信息,则计费处理设备101根据存储的每个业务的IQRM确定该用户或者该用户业务是否可以使用非阻塞模式。如果计费处理设备101没有存储业务的IQRM信息,则计费处理设备101根据用户的帐户信息和/或业务类型确定该用户或该用户业务是否可以使用非阻塞模式。
进一步的,若请求消息携带配额管理模式的获取指示,则根据获取指示确定并返回用户或用户的业务的IQRM相关信息。具体处理参见下表
Figure PCTCN2021093032-appb-000007
Figure PCTCN2021093032-appb-000008
步骤306、计费处理设备101向策略控制设备104发送请求消息的的响应消息。
具体的,响应消息中携带步骤304中获取的该用户或者该用户业务的第一IQRM的相关信息。
若请求消息未携带第一配额管理模式的获取指示,则响应消息中携带是否允许用户的业务使用非阻塞模式的指示信息。若请求消息携带第一配额管理模式的获取指示,则响应消息中携带获取指示对应的IQRM的相关信息。
如果计费处理设备101在步骤302中接收到了IQRM相关信息的获取指示,则响应消息中携带的内容参考下表:
Figure PCTCN2021093032-appb-000009
第一IQRM响应消息可以参考如下形式:
Response:
Figure PCTCN2021093032-appb-000010
其中,“NBMserviceList”指示携带的是可以使用非阻塞模式的用户业务的列表。
第二响应消息可以参考如下形式:
Response:
Figure PCTCN2021093032-appb-000011
其中“NBModeAuthResult”取值为yes,表明用户的任意在线计费业务都可以使用非阻塞模式。
如果第二IQRM获取指示中携带了费率组或业务标识,则第二IQRM响应消息可以参考如下形式:
Response:
Figure PCTCN2021093032-appb-000012
“RatingGroup”或者”ServiceID”取值1,“ServiceResult”取值为yes,,则表明业务标识为1或费率组为1的用户业务可以使用非阻塞模式。“RatingGroup”或者”ServiceID”取值2,“ServiceResult”取值为no,则表明业务标识为2或费率组为2的用户业务可以使用非阻塞模式。
第三响应消息可以参考如下形式:
Response:
Figure PCTCN2021093032-appb-000013
Figure PCTCN2021093032-appb-000014
其中,“IQRMValue”取值为“NB”,指示与费率组“RatingGroup”对应的业务或业务标识“ServiceID”指示的业务的第一初始配额申请模式为非阻塞模式。
第四IQRM响应消息可以参考如下形式:
Response:
Figure PCTCN2021093032-appb-000015
其中,“IQRMValue”取值为“NB”,指示与费率组“RatingGroup”取值为1对应的业务或业务标识为1指示的业务的使用非阻塞模式。“IQRMValue”取值为“B”,指示与费率组“RatingGroup”取值为2对应的业务或业务标识为2指示的业务的使用阻塞模式。
步骤308,策略控制设备104确定用户业务的第一配额管理模式,并生成用户业务的第一策略。第一策略用于指示对所述用户业务执行所述第一配额管理模式。
具体的,若计费处理设备101返回的响应消息中携带该用户或该用户业务的第一IQRM的相关信息,则策略控制设备104根据用户或用户业务的第一IQRM的相关信息确定用户业务的第一配额管理模式。
具体的,策略控制设备104生成第一策略,第一策略包括用户业务的第一配额管理模式。这里配额管理模式为第一初始配额申请模式,第一初始配额申请模式为阻塞模式或非阻塞模式。
步骤310,策略控制设备104向会话管理功能设备102发送第一策略。
具体的,策略控制设备104向会话管理功能设备102发送第一策略,以指示会话管理功能设备102对用户业务执行第一配额管理模式;
具体的,发送给会话管理功能设备102的控制策略可参考如下形式:
Figure PCTCN2021093032-appb-000016
Figure PCTCN2021093032-appb-000017
其中,“sdfHandl”取值为true,表明业务标识指示的业务或费率组指示的业务的IQRM为阻塞模式模式。
通过本申请实施例,策略控制设备104在下发策略之前从计费处理设备101获取用户业务的IQRM信息,并将用户业务的IQRM信息在策略中发送给会话管理功能设备102。通过本申请实施例,策略控制设备104在发送给会话管理功能设备102的策略中携带的IQRM的信息更为准确,能够避免业务使用过程中的风险。
图3B为本申请实施例提供的计费处理设备101确定更改用户业务的第一配额管理模式的方法流程图。与图3A相结合,图3B对应的方法流程中,第一配额管理模式为初始配额申请模式(IQRM)。比如计费处理设备101实时决策是更改用户业务的第一IQRM为阻塞模式,或计费处理设备101实时决策是否禁止用户业务的使用非阻塞模式。当计费处理设备101确定更改用户业务的第一IQRM为阻塞模式或禁止用户业务的业务配额管理模式第一IQRM为非阻塞模式时,计费处理设备101通知策略控制设备104,以便策略控制设备104根据该用户业务的第二IQRM相关信息,确定用户业务的第二配额管理模式(此实施例为第二IQRM),并进一步确定是否生成第二策略。该方法流程主要包括如下步骤:
步骤351、会话管理功能设备102接收用户业务的开始请求。
会话管理功能设备102在接收到业务开始请求后,确定已获取了该用户业务(比如业务A)的第一配额管理模式(本实施例为第一IQRM)的信息,比如在图3A中的步骤310中包含的用户业务的第一IQRM信息。会话管理功能设备102根据用户业务的第一IQRM的信息进行相应处理。如果会话管理功能设备102确定没有获取到该业务的第一IQRM信息,可以执步图3A中流程,获取用户的业务的IQRM信息。
如果会话管理功能设备102确定获取的业务的第一IQRM信息指示用户业务的IQRM为非阻塞模式,会话管理功能设备102先开始用户业务,然后向计费处理设备101发送配额申请请求以为该用户业务申请配额或在开始业务的同时向计费处理设备101发送配额请求以为该用户业务申请配额。如果会话管理功能设备102确定获取的用户业务的第一IQRM的信息指示用户业务的IQRM为阻塞模式,会话管理功能设备102先向计费处理设备101发送配额申请请求以为该用户业务申请配额,并在收到计费处理设备101分配的配额后开始用户业务。
步骤352、会话管理功能设备102向计费处理设备101发送用户业务的计费请求。
该计费请求可以是初始计费请求(即用户使用某业务的首次计费请求),也可以是初始计费请求之后的更新计费请求。本发明实施例在此不做限定。
作为一种可选方式,该计费请求中还携带用户业务的第一IQRM的信息,用以指示该用户业务(比如用户业务A)当前使用的IQRM。本申请实施例以业务A的IQRM为非阻塞模式为例进行说明。即计费请求中携带业务A的IQRM信息为非阻塞模式。
步骤353、计费处理设备101根据计费请求进行相应的计费处理,以及向会话管理功能设备102发送计费响应。
上述步骤351-步骤353是可选步骤。在有些场景下,可以不执行上述步骤,直接从步骤354开始,比如:该用户业务未开始,该用户其他用户业务或者该用户账户管理流程可能导致该用户业务对应的第一配额管理模式(这里是第一初始配额申请模式)的改变。
步骤354、计费处理设备101确定需要更改用户业务A的第一IQRM的相关信息。
具体的,计费处理设备101可以在处理步骤352发送的用户业务的计费请求时,或者在处理用户的其他业务的计费请求时,或者在对用户账户执行计费管理流程时,确定需要更改 用户业务的第一配额管理模式。
比如,计费处理设备101确定需要更改用户业务的配额管理模式可以为:计费处理设备101确定该用户业务当前使用第一配额管理模式,并确定需要将该用户业务的第一配额管理模式更改为第二配额管理模式。
其中,计费处理设备101确定用户业务当前使用第一配额管理模式的方法可以为:计费处理设备101接收该用户业务的计费请求,计费请求中包括指示该用户业务当前使用第一配额管理模式的指示信息,计费处理设备101根据计费请求中包括的用户业务的第一配额管理模式指示信息确定用户业务当前使用第一配额管理模式;或者,计费处理设备101确定向策略控制设备104发送过用户业务的第一配额管理模式的相关信息,基于向策略控制设备104发送过用户业务的第一配额管理模式的相关信息确定用户业务当前使用第一配额管理模式。
其中,计费处理设备101确定需要将用户业务的第一配额管理模式更改为用户业务的第二配额管理模式可以为:在处理步骤352发送的用户业务的计费请求时,或者在处理用户的其他业务的计费请求时或者在对用户账户执行计费管理流程时,计费处理设备101确定用户业务使用第一配额管理模式的条件不满足。例如:用户账户余额不满足业务A采用非阻塞模式的条件,则计费处理设备101确定更改业务A的IQRM为阻塞模式,或禁止业务A使用非阻塞模式。用户业务采用非阻塞模式的条件可以为:用户帐户的套餐剩余量大于第一阈值,或用户帐户的余额下降速度低于第二阈值,或其它。
进一步的,计费处理设备101在确定更改用户业务A的非阻塞模式为阻塞模式时,还可以确定更改用户的其它业务的非阻塞模式为阻塞模式,或确定禁止用户的其它业务使用非阻塞模式。
作为一种可选,计费处理设备101确定更改用户业务的IQRM的相关信息后,保存确定的结果,即:保存确定的用户业务的第二配额管理模式,以便后续其它设备获取用户业务的IQRM信息时提供给请求的设备。
步骤355、计费处理设备101向策略控制设备104发送用于更改第一IQRM的用户业务的第二IQRM的相关信息。
具体的,计费处理设备101向策略控制设备104发送通知消息(也称更改通知),该通知消息中携带用户业务的第二配额管理模式的相关信息,即用户业务的第二IQRM的相关信息。
计费处理设备101确定存在策略控制设备104为用户创建的资源,并通过与资源对应的通知地址向策略控制设备104发送通知消息。为用户创建的资源为:策略控制设备104向计费处理设备101请求为用户创建的资源。为用户创建的资源用于策略控制设备获取(订阅)用户的累积状态信息。为用户创建的资源为策略控制设备向计费处理设备发送资源创建请求后由计费处理设备根据资源创建请求创建。资源创建请求携带与该资源对应的通知地址以及用户标识。该通知地址用于计费处理设备101向策略控制设备104通知该用户的累积状态信息。计费处理设备101根据确定的存在为用户请求创建的资源,计费处理设备101确定需要向策略控制设备104发送用户业务的第二IQRM相关信息的通知消息。或者,根据确定的存在为用户请求创建的资源(或订阅信息),计费处理设备101确定策略控制设备104订阅过或者请求过用户的第一IQRM相关信息,则确定需要向策略控制设备104发送用户业务的第二IQRM相关信息的通知消息。
通知消息中携带的用户业务的第二IQRM的相关信息可以为参考下表:
第一通知 用户的允许使用非阻塞的第二IQRM的业务列表
第二通知 是否允许用户使用非阻塞的第二IQRM的指示信息
第三通知 是否允许用户业务使用非阻塞的第二IQRM的指示信息
第四通知 用户业务的第二IQRM为阻塞式或非阻塞式的指示信息
第五通知 用户的各业务的第二IQRM式为阻塞式或非阻塞式的指示信息
包含第一通知的通知消息可以称为第一通知消息,其他类推。如下为第二通知消息参考示例:
Notify:
Figure PCTCN2021093032-appb-000018
其中,userID字段表示为用户标识。“NBModeAuthResult”取值为no表示计费处理设备101确认该用户不可以使用非阻塞模式,即该用户的所有业务均不可以使用非阻塞模式。
对于其它的通知消息,比如第二通知消息、第三通知消息、第四通知消息或第五通知消息的参考示例,本申请实施例在此不再举例。
步骤356、策略控制设备104接收计费处理设备101发送的用户业务的第二配额管理模式的相关信息后,根据第二配额管理模式的相关信息确定用户业务的第二配额管理模式,并生成用户业务的第二策略。
第二策略用于更新或者替换第一策略,以及用于指示对用户业务执行所述第二配额管理模式。
其中,第二策略更新第一策略具体为:生成的第二策略包括与第一策略的标识相同的策略标识,通过标识确定是用于更新第一策略。
其中,第二策略替换第一策略具体为:为第二策略分配的第二策略标识,第二策略是不同于第一策略的用户业务的新策略,策略控制设备104需要首先去激活第一策略,然后激活第二策略。
步骤357、策略控制设备104向会话管理功能设备102发送第二策略,第二策略携带第二IQRM信息。
具体的,若第二策略包括与第一策略的标识相同的策略标识,则策略控制设备104向会话管理功能下发的策略更新消息中携带第二策略以更新用户业务的第一策略.
若第二策略为用户业务的新策略,则策略控制设备104向会话管理功能下发的策略更新消息中携带第一策略的去激活指令和第二策略的激活指令,以便使用第二策略更新用户业务的第一策略。
根据本申请实施例,计费处理设备101可以根据用户的帐户信息等信息确定或更改用户业务的第一IQRM。从而使得用户业务的IQRM更为准确,可以避免在用户业务一味的使用非阻塞模式而造成的风险和损失。
值得说明的是,在实际业务使用过程中,图3B可以与图3A结合使用,也可以分开使用。本申请实施例在此不做限定。
图4为本申请实施例提供的确定用户业务的第一配额管理模式和第二配额管理模式的方法流程图。在本实施例中,配额管理模式为初始配额申请模式(IQRM)。与图3A和图3B对应的实施例不同的是,本实施例中策略控制设备104根据获取用户的配置信息确定用户业务的第一配额管理模式,即确定用户业务是否使用非阻塞模式。计费处理设备101实时决策是否更改用户业务的第一配额管理模式为第二配额管理模式计费处理设备101。该方法流程主 要包括如下步骤:
步骤401-402、策略控制设备104向计费处理设备101发送资源创建请求,并收到计费处理设备101的资源创建响应。
策略控制设备104在收到会话管理功能设备102发送的用户业务的策略获取指示或用户业务的策略更新请求后,响应于策略获取指示或策略更新请求,向计费处理设备101发送资源创建请求。以便于通过创建的资源从计费处理设备101获取用户业务或用户的相关信息。比如,用户业务的使用量信息。资源创建请求也可以是会话建立请求,以便在策略控制设备104和计费处理设备101建立会话。
步骤403、策略控制设备104根据获取到的信息确定用户业务的第一配额管理模式(本申请为第一IQRM),并根据确定的用户业务的第一IQRM生成用户业务的第一策略。生成的用户业务的第一策略包含用户业务的第一IQRM信息。
比如,策略控制设备104可以从计费处理设备101或其它网络设备如(UDR)中获取用户的配置信息,并基于获取到的用户的配置信息确定用户业务的IQRM。比如,策略控制设备104可以根据从计费处理设备101获取的用户帐户的信息和/或用户业务的使用量信息确定用户业务的第一IQRM,策略控制设备104还可以根据从UDR获取的用户的信息,比如用户是否订购的IQRM为非阻塞模式确腚第一IQRM。
步骤404、策略控制设备104向会话管理功能设备102发送生成的用户业务的第一策略。
具体的步骤404的描述可以参考步骤310的描述,本申请实施例不再详述。
步骤405、会话管理功能设备102接收到用户业务的开始请求,并根据第一IQRM进行处理。用户业务的开始请求中携带业务标识和用户标识。
具体的,步骤405的描述可以参考步骤351的描述,本申请实施例不再详述。
步骤406,会话管理功能设备102向计费处理设备101发送计费请求,该计费请求可以是针对该用户业务的计费请求,也可以是针对该用户使用的其它业务的计费请求。此外,该计费请求可以是初始计费请求(即用户使用某业务的首次计费请求),也可以是初始计费请求之后的更新计费请求。本发明实施例在此不做限定。
进一步的,该计费请求中携带用户业务的第一IQRM信息,用以指示该用户业务(比如业务B)当前使用的IQRM。本申请实施例以用户业务的第一IQRM为非阻塞模式为例进行说明。即计费请求中携带用户业务B的IQRM信息为非阻塞模式。表明会话管理功能设备102会在收到计费处理设备101分配的配额之前,放行与用户业务B相关的数据流。
步骤407、计费处理设备101根据计费请求进行相应的计费处理,然后向会话管理功能设备102发送计费响应。
步骤408、计费处理设备101确定需要更改用户业务的第一IQRM,生成用于更改第一IQRM的第二IQRM,并保存更改后的第二IQRM的信息。
具体的,计费处理设备101在执行步骤407的过程中,根据计费请求中携带的用户业务的第一IQRM信息确定用户业务使用非阻塞模式。计费处理设备101确定用户账户不满足用户业务采用非阻塞模式的条件时,确定用户业务的第二配额管理模式(本实施例为第二IQRM)为阻塞模式,或禁止用户业务使用非阻塞模式。用户业务采用非阻塞式的条件可以为:用户帐户的套餐剩余量大于第一阈值,或用户帐户的余额下降速度低于第二阈值,或其它。
进一步的,计费处理设备101在确定更改用户业务的非阻塞模式为阻塞模式时,还可以确定更改用户的其它业务的非阻塞模式为阻塞模式,或确定禁止用户的其它业务使用非阻塞模式,或禁止用户的所有业务使用非阻塞模式。
值得说明的是,步骤407和步骤408之间没有时间顺序。
步骤409、计费处理设备101向策略控制设备104发送更改用户业务的第一IQRM的相关信息的通知消息(也称称更改通知),以便策略控制设备104根据更改通知生成或更新用户业务的控制策略。
具体的,步骤409的描述与步骤355的描述一致,本发明实施例在此不再详述。
步骤410-411与步骤356-357的描述一致,本发明实施例在些不再详述。
根据本申请实施例,策略控制设备104根据获取的用户的相关信息确定用户业务的是否可以使用非阻塞模式。此外,在用户业务的使用过程中,根据用户的帐户信息确定或更改用户业务的IQRM。从而使得用户业务的IQRM更为准确,可以避免在用户业务使用过程中使用非阻塞模式造成的风险和损失。
图5A为本申请实施例提供的策略控制设备104确定策略的方法流程图。图5A对应的方法流程中,配额管理模式为挂起或启用配额管理(SRQM)。策略控制设备104从计费处理设备101接收用户或者用户业务的配额管理模式的相关信息,进而确定是否挂起或启用用户业务的配额管理,并据此生成策略。该方法流程主要包括如下步骤:
步骤500:策略控制设备104确定需要向计费处理设备101发送请求消息。
具体地,策略控制设备104可以在收到会话管理功能设备102发送的用户业务的策略获取请求或用户业务的策略更新请求后,响应于策略获取请求或策略更新请求,策略控制设备104确定需要向计费处理设备101获取信息,则确定向计费处理设备101发送请求消息。通常,会话管理功能设备102在收到为用户建立PDU session的请求时可以向策略控制设备104发送策略获取请求。会话管理功能设备102还可以在收到业务开始请求后向策略控制设备104发送策略获取请求。会话管理功能设备102在发送给策略控制设备104的策略获取请求中可以携带用户标识、PDU会话的信息(如PDU session的类型)等。
可选的,策略控制设备104还确定是否需要向计费处理设备101获取用户的业务的SRQM的信息,若需要,则在向计费处理设备101发送的请求消息中携带获取用户的业务的SRQM相关信息的指示。
可选的,策略控制设备104根据配置信息确定需要向计费处理设备101发送请求消息以及确定需要获取用户业务的SRQM相关信息。配置信息可以是策略控制设备104的本地配置信息或者从UDR获取的该用户的配置信息。
步骤502、策略控制设备104向计费处理设备101发送请求消息。
具体地,请求消息可以用于向计费处理设备101获取并订阅计数器Counter的当前状态及状态改变,该请求可以不携带获取SRQM的指示。
进一步的,请求消息还可以用于向计费处理设备101获取该用户或者该用户业务的SRQM的相关信息。比如,在步骤500中策略控制设备104确定需要向计费处理设备101获取用户业务的SRQM的信息,请求消息中还可以携带用户的业务的SRQM的获取指示。SRQM获取指示可以为下表中的任一指示:
Figure PCTCN2021093032-appb-000019
Figure PCTCN2021093032-appb-000020
具体的,策略控制设备104向计费处理设备101发送请求消息中携带上述第一至第四任一获取指示的方法与实施例3A的步骤302携带第一至第四相应获取指示的方法相似,本发明实施例不再赘述。
步骤504、计费处理设备101接收请求消息后,根据请求消息执行对应的处理。比如,确定用户业务的第一SRQM相关信息。
具体的,若请求消息未携带配额管理模式(本实施例为第一SRQM)的相关信息的获取指示,则计费处理设备101可以主动确定并返回是否挂起用户的配额管理。如果计费处理设备101存储了每个业务的SRQM信息,则计费处理设备101根据存储的每个业务的SRQM信息确定该用户或者该用户业务是否可以挂起配额管理。如果计费处理设备101没有存储业务的SRQM信息,则计费处理设备101根据用户的帐户信息和/或业务类型确定该用户或该用户业务是否可以使用非阻塞模式。
进一步的,若请求消息携带配额管理模式的获取指示,则根据获取指示确定并返回用户或用户业务的SRQM的相关信息。具体处理参见下表:
Figure PCTCN2021093032-appb-000021
具体方法与实施例3A步骤304类似,这里不再赘述。
步骤506、计费处理设备101向策略控制设备104发送请求消息的的响应消息。
具体的,响应消息中携带步骤504中获取的该用户或者该用户业务的第一SRQM的相关信息。
-若请求消息未携带配额管理模式的获取指示,则响应消息中携带是否允许挂起用户的业务的第一配额管理模式的指示信息。
-若请求消息携带配额管理模式的获取指示(比如第一获取指示至第四获取指示中的任意获取指示,则响应消息中携带与获取指示对应的第一SRQM的相关信息。
具体方法及消息示例与实施例3A步骤306类似,这里不再赘述。
步骤508,策略控制设备104确定用户业务的第一配额管理模式,并生成用户业务的第一策略。第一策略用于指示对所述用户业务执行所述第一配额管理模式
具体的,若计费处理设备101返回的响应消息中携带该用户或该用户业务的第一SRQM的相关信息,则策略控制设备104根据用户或用户业务的第一SRQM的相关信息确定用户业务的第一配额管理模式,这里的配额管理模式为挂起或启动配额管理。
具体的,策略控制设备104生成第一策略,若确定的用户业务的第一配额管理模式为挂起配额管理,则在第一策略包括用户业务的计费方法为离线计费或者临时离线计费,若确定的用户业务的第一配额管理模式为启用配额管理,则在第一策略包括的用户业务的计费方法为在线计费。
步骤510,策略控制设备104向会话管理功能设备102发送第一策略。
具体的,策略控制设备104向会话管理功能发送第一策略,以指示会话管理功能设备102对用户业务执行第一配额管理模式;
具体的,发送给会话管理功能设备102的控制策略可参考如下形式:
Figure PCTCN2021093032-appb-000022
其中,“ChargingMethod”的取值为TempOffline,表明挂起用户业务的配额管理。
通过本申请实施例,策略控制设备104在下发策略之前从计费处理设备101获取用户业务的第一SRQM的相关信息,并根据第一SRQM的相关信息生成用户业务的第一策略以发送给会话管理功能设备102。通过本申请实施例,策略控制设备104在发送给会话管理功能设备102的第一策略基于计费处理设备101的决策确定计费方法,既可以减轻计费处理的负担,提高整个系统的效率,又可以避免业务使用过程中的信用控制风险。
图5B为本申请实施例提供的计费处理设备101确定更改用户业务的配额管理模式的方法流程图。与图5A相结合,图5B对应的方法流程中,配额管理模式为挂起或启用配额管理(SRQM)。策略控制设备104从计费处理设备101接收用于更改第一SRQM的第二SRQM的相关信息,并根据第二SRQM的相关确定是否挂起或启用用户业务的配额管理,以及确定是否更新/替换之前生成的用户业务的第一策略。该方法流程主要包括如下步骤:
步骤552、会话管理功能设备102在用户业务使用过程中,向计费处理设备101发送用 户业务的计费请求。
该计费请求可以是初始计费请求(即用户使用某业务的首次计费请求),也可以是初始计费请求之后的更新计费请求。本发明实施例在此不做限定。
作为一种可选方式,该计费请求中还携带业务对应的SRQM信息(以临时挂起为例),用以指示该业务(比如业务A)当前是挂起配额管理。
在执行该步骤之前,会话管理功能设备102接收用户业务的开始请求,并确定已获取了该用户业务(比如业务A)的第一配额管理模式(本实施例为第一SRQM)的信息,比如在图5A中的步骤510中包含的用户业务的第一SRQM信息。会话管理功能设备102根据用户业务的第一SRQM的信息进行相应处理。如果会话管理功能设备102确定没有获取到该业务的第一IQRM信息,可以执步图5A中流程,获取用户的业务的第一SRQM信息。
如果会话管理功能设备102确定获取的业务的第一SRQM信息指示用户业务的SRQM为挂起配额管理,会话管理功能设备102则开始用户业务,并不向计费处理设备101获取配额。如果会话管理功能设备102确定获取的用户业务的第一SRQM的信息指示用户业务的SRQM为启动配额管理,会话管理功能设备102先向计费处理设备101发送配额申请请求以为该用户业务申请配额,并在收到计费处理设备101分配的配额后开始用户业务。或者如果会话管理功能设备102确定获取的用户业务的第一SRQM的信息指示用户业务的SRQM为启动配额管理,会话管理功能设备102先开始业务,然后向计费处理设备101发送配额申请请求以为该用户业务申请配额或在开始业务的同时向计费处理设备101发送配额请求以为该用户业务申请配额。如果会话管理功能设备102确定获取的用户业务的第一SRQM的信息指示用户业务的SRQM为启动配额管理,会话管理功能设备102设备进一步可以采用阻塞模式或者非阻塞模式的第一初始配额模式,具体参见前述实施例。
步骤553、计费处理设备101根据计费请求进行相应的计费处理,以及向会话管理功能设备102发送计费响应。
上述步骤552-步骤553是可选步骤,在有些场景下,不执行上述步骤,直接从步骤554开始,比如:该用户业务未开始,该用户其他用户业务或者该用户账户管理流程可能导致该用户业务对应的配额管理模式(这里是挂起或启用配额管理)的改变。
步骤554、计费处理设备101确定需要更改用户业务A的第一SRQM相关信息。
计费处理设备101可以在处理步骤552发送的用户业务的计费请求时,或者在处理用户的其他业务的计费请求时,或者在对用户账户执行计费管理流程时,确定是否需要更改用户业务的第一配额管理模式。
比如,计费处理设备101确定需要更改用户业务的配额管理模式可以为:计费处理设备101确定用户业务的第一配额管理模式,并确定需要将用户业务的第一配额管理模式更改为第二配额管理模式。
其中,计费处理设备101确定用户业务当前使用第一配额管理模式的方法可以为:计费处理设备101接收该用户业务的计费请求,计费请求中包括指示该用户业务当前使用第一配额管理模式的指示信息,计费处理设备101根据计费请求中包括的用户业务的第一配额管理模式指示信息确定用户业务当前使用第一配额管理模式;或者,计费处理设备101确定向策略控制设备104发送过用户业务的第一配额管理模式的相关信息,基于向策略控制设备104发送过用户业务的第一配额管理模式的相关信息确定用户业务当前使用第一配额管理模式。
其中,计费处理设备101确定需要将用户业务的第一配额管理模式更改为用户业务的第二配额管理模式可以为:在处理步骤552发送的用户业务的计费请求时,或者在处理用户的其他业务的计费请求时,或者在对用户账户执行计费管理流程时,用户业务使用第一配额管理模式的条件不满足,例如:用户账户余额不满足业务A采用挂起配额管理的条件,则确定 更改业务A的SRQM为启用配额管理。
进一步的,计费处理设备101在确定更改用户业务A的挂起配配额管理为启用配额管理时,还可以确定更改用户的其它业务的挂起配配额管理为启用配额管理,或确定禁止用户的其它业务使用挂起配配额管理。
作为一种可选,计费处理设备101确定更改用户业务的第一SRQM的相关信息后,保存确定的结果,即:保存确定的用户业务使用第二配额管理模式,以便后续其它设备获取用户业务的SRQM信息时提供给请求的设备。
步骤555、计费处理设备101向策略控制设备104发送用于更改第一SRQM的用户业务的第二SRQM的相关信息。
具体的,计费处理设备101向策略控制设备104发送通知消息(也称更改通知),该通知消息中携带用户业务的第二配额管理模式的相关信息,即用户业务的第二SRQM的相关信息。
计费处理设备101确定存在策略控制设备104为用户创建的资源,并通过与资源对应的通知地址向策略控制设备104发送通知消息。为用户创建的资源为:策略控制设备104向计费处理设备101请求为用户创建的资源。为用户创建的资源用于策略控制设备获取(订阅)用户的累积状态信息。为用户创建的资源为策略控制设备向计费处理设备发送资源创建请求后由计费处理设备根据资源创建请求创建。资源创建请求携带与该资源对应的通知地址以及用户标识。该通知地址用于计费处理设备101向策略控制设备104通知该用户的累积状态信息。计费处理设备101根据确定的存在为用户请求创建的资源,计费处理设备101确定需要向策略控制设备104发送用户业务的第二SRQM相关信息的通知消息。或者,根据确定的存在为用户请求创建的资源(或订阅信息),计费处理设备101确定策略控制设备104订阅过或者请求过用户的第一SRQM相关信息,则确定需要向策略控制设备104发送用户业务的第二SRQM相关信息的通知消息。
通知消息中携带的用户业务的第二SRQM的相关信息可以为参考下表:
第一通知 用户的允许挂起配额管理的业务列表
第二通知 是否允许挂起用户业务的配额管理的指示信息
第三通知 是否允许挂起用户的业务的配额管理的第二SRQM指示信息
第四通知 用户业务的第二SRQM为挂起配额管理或启动配额管理的指示信息
第五通知 用户的各业务的第二SRQM为挂起配额管理或启动配额管理的指示信息
包含第一通知的通知消息可以称为第一通知消息,其他类推。如下为第三通知消息参考示例:
Notify:
Figure PCTCN2021093032-appb-000023
其中,userID字段表示为用户标识。“SRQMode”取值为“RESUME”表示计费处理设备101确认该用户的业务不允许挂起配额管理,即该用户的所有业务都不允许挂起配额管理。如果通知消息中还携带的用户标识,如service id或Rating group,则通知消息为第二通知消息。表明该service id或Rating group指示的用户业务不允许挂起配额管理。进一步的,如果通知消息中第二SRQM的相关信息为启动配额管理,则通知消息中中还可以携带IQRM 的信息,以指示用户业务可以采用阻塞模式或非阻塞模式。
对于其它的通知消息,比如第一通知消息,第四通知消息或第五通知消息的参考示例,本申请实施例在此不再举例。
步骤556、策略控制设备104接收计费处理设备101发送的用户业务的第二配额管理模式的相关信息后,根据第二配额管理模式的相关信息确定用户业务的第二配额管理模式,并生成用户业务的第二策略。
第二策略用于更新或者替换第一策略,以及用于指示对所述用户业务执行所述第二配额管理模式。
其中,第二策略更新第一策略具体为:生成的第二策略包括与第一策略的标识相同的策略标识,通过标识确定是用于更新第一策略。
其中,第二策略替换第一策略具体为:为第二策略分配唯一的策略标识,第二策略是不同于第一策略的用户业务的新策略,策略控制设备104需要首先去激活第一策略,然后安装激活第二策略。
在生成第二策略之前,策略控制设备104需要首先确定用户业务的SRQM更改为第二配额管理模式影响了第一策略。
步骤557、策略控制设备104向会话管理功能设备102发送第二策略。
具体的,若第二策略包括与第一策略的标识相同的策略标识,则策略控制设备104向会话管理功能下发的策略更新消息中携带第二策略以更新用户业务的第一策略。
若第二策略为用户业务的新策略,则策略控制设备104向会话管理功能下发的策略更新消息中携带第一策略的去激活指令和第二策略的激活指令,以便使用第二策略更新用户业务的第一策略。
根据本申请实施例,计费处理设备101可以根据用户的帐户信息等信息确定或更改用户业务的SRQM。从而使得用户业务的SRQM控制更为准确,可以避免在用户业务使用过程中一味的挂起配额管理而造成的风险和损失。
值得说明的是,在实际业务使用过程中,图5A可以与图5B结合使用,也可以分开使用。本申请实施例在此不做限定。
图6为本申请实施例提供的确定用户业务的配额管理模式的另一方法流程图。在本实施例中,配额管理模式为挂起/启动配额管理(SRQM)。与图5A和图5B对应的实施例不同的是,本实施例中策略控制设备104根据获取用户的配置信息确定用户业务的第一配额管理模式,即确定用户业务是否允许挂起配额管理。计费处理设备101实时决策是否更改用户业务的第一配额管理模式为第二配额管理模式。该方法流程主要包括如下步骤:
步骤601-602、策略控制设备104向计费处理设备101发送资源创建请求,并收到计费处理设备101的资源创建响应。
本实施例中,步骤601-602的描述与步骤401-402的描述相同,因此不再详述。
步骤603、策略控制设备104根据获取到的信息确定用户业务的第一配额管理模始(本申请为第一SRQM),并生成用户业务的第一策略。第一策略用于指示对用户业务执行所述第一配额管理模式。比如,策略控制设备104可以从计费处理设备101或其它网络设备如(UDR)中获取用户的配置信息,并基于获取到的用户的配置信息确定用户业务的第一SRQM。比如,策略控制设备104可以根据从计费处理设备101获取的用户帐户的信息和/或用户业务的使用量信息确定用户业务的第一SRQM,策略控制设备104还可以根据从UDR获取的用户的信息,比如用户是否订购的SRQM为挂起配额管理。
策略控制设备104在步骤603中生成的第一策略与步骤508中生成的第一策略相同,本 申请实施例在此不再详述。
步骤604、策略控制设备104向会话管理功能设备102发送生成的用户业务的第一策略。
具体的步骤604的描述可以参考步骤510的描述,本申请实施例不再详述。
步骤605、会话管理功能设备102接收到用户业务的开始请求,用户业务的开始请求中携带业务标识和用户标识。
具体的,步骤605的描述可以参考步骤351的描述,本申请实施例不再详述。作为一种可选,本申请实施例还可以不用执行步骤605,而执行步骤606。或者,步骤605在步骤601之前执行。本申请实施例不做限定。
步骤606,会话管理功能设备102向计费处理设备101发送计费请求,该计费请求可以是针对该用户业务的计费请求,也可以是针对该用户使用的其它业务的计费请求。此外,该计费请求可以是初始计费请求(即用户使用某业务的首次计费请求),也可以是初始计费请求之后的更新计费请求。本发明实施例在此不做限定。
进一步的,该计费请求中携带用户业务的第一SRQM信息,用以指示该用户业务(比如业务B)当前使用的SRQM。本申请实施例以用户业务的第一SRQM为挂起配额管理为例进行说明。即计费请求中携带用户业务B的第一SRQM信息为挂起配额管理。表明会话管理功能设备102在业务的执行过程中不会向计费处理设备101申请配额,并放行与用户业务B相关的数据流。
步骤607、计费处理设备101根据计费请求进行相应的计费处理,然后向会话管理功能设备102发送计费响应。
步骤608、计费处理设备101确定更改用户业务的第一SRQM或者禁用用户业务的挂起配额管理,并保存更改后的第二SRQM的信息。
具体的,计费处理设备101在执行步骤607的过程中,根据计费请求中携带的用户业务的第一SRQM信息确定用户业务使用挂起配额管理(Suspending)。计费处理设备101确定用户账户不满足用户业务采用挂起配额管理的条件时,确定用户业务的第二配额管理模式(本实施例为第二SRQM)为启动配额管理,或禁止用户业务使用挂起配额管理。用户业务采用挂起配额管理的条件可以为:用户帐户的套餐剩余量大于第一阈值,或用户帐户的余额下降速度低于第二阈值,或其它。
进一步的,计费处理设备101在确定更改用户业务的挂起配额管理为启动配额管理时,还可以确定更改用户的其它业务的挂起配额管理为启动配额管理,或确定禁止用户的其它业务使用挂起配额管理,或禁止用户的所有业务使用挂起配额管理。
值得说明的是,步骤607和步骤608之间没有时间顺序。
步骤609、计费处理设备101向策略控制设备104发送更改用户业务的第一SRQM的相关信息的通知消息(也称称更改通知),以便策略控制设备104根据更改通知生成或更新用户业务的控制策略。
具体的,步骤609的描述与步骤555的描述一致,本发明实施例在此不再详述。
步骤610-611与步骤556-557的描述一致,本发明实施例在些不再详述。
根据本申请实施例,策略控制设备104根据获取的用户的相关信息确定用户业务的是否可以使用非阻塞模式。此外,在用户业务的使用过程中,根据用户的帐户信息确定或更改用户业务的SRQM。从而使得用户业务的SRQM更为准确,可以避免在用户业务使用过程中使用非阻塞模式造成的风险和损失。
图7为本申请实施例提供的会话管理功能设备、计费处理设备101或策略控制设备104的硬件结构图。本申请实施例中的会话管理功能设备102(例如,图1A的102)、计费处理设备101(例如,图1A的101)、策略控制设备104(例如,图1A的策略控制设备104),均可以采用图7所示的通用的计算机硬件结构实现,其中包括处理器701、存储器702、总线703、输入设备704、输出设备705以及网络接口706,其中输入设备704与输出设备705为可选的。
具体地,存储器702可以包括以易失性和/或非易失性存储器形式的计算机存储媒体,如只读存储器和/或随机存取存储器。存储器702可以存储操作系统、应用程序、其他程序模块、可执行代码和程序数据。
输入设备704可以用于输入信息,便于系统管理员对会话管理功能设备、计费处理设备101或策略控制设备104进行操作和管理等,例如,在计费处理设备101上配置用户账户风险阈值、在会话管理功能设备上管理配额管理模式指示信息的存储空间、在策略控制设备104上管理配额管理模式指示信息的存储空间等;输入设备704可以为键盘或指向设备,如鼠标、轨迹球、触摸板、扫描仪或类似设备,均可以通过总线703连接至处理器701。
输出设备705可以用于输出信息,便于系统管理员对会话管理功能设备、计费处理设备101或策略控制设备104进行操作和管理等;例如,在计费处理设备101上显示用户账户风险阈值、在会话管理功能设备上显示剩余存储空间、在策略控制设备104上显示剩余存储空间等;除了监视器之外,输出设备705还可以为其他外围输出设备,也均可以通过总线703连接到处理器701。
会话管理功能设备102、计费处理设备101或策略控制设备104均可以通过网络接口706连接到网络中,例如连接到局域网(Local Area Network,LAN)。在联网环境下,会话管理功能设备、计费处理设备101或策略控制设备104中存储的计算机执行指令可以存储在远程存储设备中,而不限于在本地存储。
当会话管理功能设备102中的处理器701执行存储器702中存储的可执行代码或应用程序时,会话管理功能设备102可以执行以上所有实施例中与会话管理功能设备102相对应的方法步骤,如步骤206、310、351、332-353、357、404、405、406-407、411、310、351、332-353、357、604、605、606-607和611等;具体执行过程均参见上述实施例,在此不再赘述。
当计费处理设备101中的处理器701执行存储器702中存储的可执行代码或应用程序时,计费处理设备101可以执行以上所有实施例中与计费处理设备101相对应的方法步骤,如步骤208、302、304、306、352-355、401-402、406-409、502、504、506、552-555、601-602和606-609;具体执行过程均参见上述实施例,在此不再赘述。
当策略控制设备104中的处理器701执行存储器702中存储的可执行代码或应用程序时,策略控制可以执行以上所有实施例中与策略控制设备104相对应的方法步骤,如步骤202-212、300-302、306-310、355-357、401-404、409-411、500-502、506-510、555-557、5501-504、和509-511;具体执行过程均参见上述实施例,在此不再赘述。
值得说明的是,上述有的步骤被两个设备执行是因为一个设备进行发送,另一个设备进 行接收。比如步骤206,策略控制设备104发送第一策略,而会话管理功能设备102接收第一策略。
图8为本申请实施例提供的计费处理设备101的逻辑结构示意图,计费处理设备101(101)用于确定需要更改用户业务的第一配额管理模式,并向策略控制设备104发送通知消息,通知消息携带用户业务的第二配额管理模式的相关信息,第二配额管理模式用于更改第一配额管理模式。计费处理设备101包括:
-处理模块802,用于确定需要更改用户业务的第一配额管理模式。处理模块802主要用于执行上述实施例中计费处理设备101进行处理和确定等步骤,如步骤208、304、354、408、504、554、和608等。
发送模块803,用于向策略控制设备104发送通知消息,通知消息携带用户业务的第二配额管理模式的相关信息,第二配额管理模式用于更改第一配额管理模式。发送模块803主要用于执行上述实施例中计费处理设备101侧的发送的步骤,如步骤208、306、353、355、402、407、409、506、553、555、602、607、和609等。
此外,计费处理设备101还包括接收模块801,用于接收策略控制设备104发送的请求消息。接收模块801主要用于执行上述实施例中计费处理设备101侧的接收的步骤,如步骤302、352、401、406、502、552、601、和606等。
图9为本申请实施例提供的策略控制设备104(104)的逻辑结构示意图,策略控制设备104(104)用于为用户业务确定策略。策略控制设备104(104),包括:
接收模块901,用于用于接收计费处理设备101发送的用于更改第一配额管理模式的用户业务的第二配额管理模式的相关信息。接收模块901主要用于执行上述实施例中策略控制设备104的进行接收的步骤,如步骤208、306、355、402、409、506、555、602、和609等。
处理模块902,用于确定用户业务的第一配额管理模式,根据第一配额管理模式生成用户业务的第一策略以及根据用户业务的第二配额管理模式的相关信息确定第二配额管理模式,并根据第二配额管理模式生成用户业务的第二策略,第二策略用于更新或者替换第一策略。处理模块902主要用于执行上述实例中策略控制设备104进行确定、处理以及生成策略等步骤,如步骤202-204、210-212、304、354、403、410、504、554、603、和610等。
发送模块903,用于向会话管理功能设备102发送第一策略以指示会话管理功能设备102对用户业务执行第一配额管理模式。发送模块903主要用于执行上述实例中策略控制设备104进行发送等步骤,如步骤206、302、310、357、401、404、411、502、510、557、601、604、和611等。
图8所示计费处理设备101和图9所示策略控制设备104是以功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到这些设备也可以采用图6所示的形式。例如接收模块801、处理模块802、发送模块803、接收模块901、 处理模块802、和发送模块903都可以通过图6中的处理器701和存储器702来实现。例如,通过由处理器701来执行存储器702中存储的代码来实现。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本领域普通技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (39)

  1. 一种用户业务处理方法,其特征在于,包括:
    策略控制设备生成用户的用户业务的第一策略,并发送所述第一策略给会话管理功能设备,所述第一策略指示对所述用户业务执行第一配额管理模式;
    所述策略控制设备接收计费处理设备发送的用于更改所述第一配额管理模式的所述用户或所述用户业务的第二配额管理模式的相关信息,并根据所述用户或所述用户业务的第二配额管理模式的相关信息确定所述用户业务的第二配额管理模式;
    所述策略控制设备生成所述用户业务的第二策略,所述第二策略用于更新或者替换所述第一策略,以及指示对所述用户业务执行所述第二配额管理模式。
  2. 根据权利要求1所述的方法,其特征在于,该方法进一步包括:
    所述第一配额管理模式为第一初始配额申请模式,所述第二配额管理模式为第二初始配额申请模式,所述第一初始配额申请模式为阻塞模式以及所述第二初始配额申请模式为非阻塞模式,或者,所述第一初始配额申请模式为非阻塞模式以及所述第二初始配额申请模式为阻塞模式;或者,
    所述第一配额管理模式为挂起配额管理且所述第二配额管理模式为启用配额管理,或者,所述第一配额管理模式为启用配额管理且所述第二配额管理模式为挂起配额管理。
  3. 根据权利要求1或2所述的方法,其特征在于,该方法进一步包括:
    所述策略控制设备接收所述计费处理设备发送的所述用户或所述用户业务的第一配额管理模式的相关信息;
    所述策略控制设备根据所述用户或所述用户业务的第一配额管理模式的相关信息确定所述用户业务的第一配额管理模式。
  4. 根据权利要求1或2所述的方法,其特征在于,该方法进一步包括:
    所述策略控制设备向所述计费处理设备发送请求消息;
    所述策略控制设备接收计费处理设备发送的响应消息,所述响应消息携带所述用户或所述用户业务的第一配额管理模式的相关信息;
    所述策略控制设备根据所述用户或所述用户业务的第一配额管理模式的相关信息确定所述用户业务的第一配额管理模式。
  5. 根据权利要求4所述的方法,所述第一配额管理模式为第一初始配额申请模式,所述请求消息还携带第一配额管理模式的获取指示,其特征在于:
    所述获取指示为所述用户的标识和获取用户的非阻塞模式的业务列表的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为所述用户的允许使用非阻塞模式的第一初始配额申请模式的业务列表;或
    所述获取指示为所述用户业务的标识和获取是否允许所述用户业务使用非阻塞模式的第一初始配额申请模式的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为是否允许所述用户业务使用非阻塞模式的第一初始配额申请模式的指示信息;或
    所述获取指示为所述用户的标识和获取是否允许所述用户的业务使用非阻塞的第一初始配额申请模式的指示信息,所述响应消息携带的第一配额管理模式的相关信息为是否允许所述用户的业务使用非阻塞的第一初始配额申请模式的指示信息;或
    所述获取指示为所述用户业务的标识和获取所述用户业务的第一初始配额申请模式的指 示信息,所述响应消息携带的第一配额管理模式的相关信息为所述用户业务的第一初始配额申请模式,所述第一初始配额申请模式为阻塞模式或非阻塞模式;或
    所述获取指示为所述用户的标识和获取所述用户的各业务的第一初始配额申请模式,所述响应消息携带的第一配额管理模式的相关信息为所述用户的各业务的第一初始配额申请模式,所述第一初始配额申请模式为阻塞模式或非阻塞模式。
  6. 根据权利要求4或5所述的方法,所述第一配额管理模式为挂起或者启用配额管理,所述请求消息还携带第一配额管理模式的获取指示,其特征在于:
    所述获取指示为所述用户的标识和获取所述用户的允许挂起配额管理的业务列表的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为所述用户的允许挂起配额管理的业务列表;或
    所述获取指示为所述用户业务的标识和获取是否允许所述用户业务挂起配额管理的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为是否允许挂起所述用户业务的配额管理的指示信息;或
    所述获取指示为所述用户的标识和获取是否允许挂起所述用户的业务的配额管理的指示信息,所述响应消息携带的第一配额管理模式的相关信息为是否允许挂起所述用户的业务的配额管理的指示信息;或
    所述获取指示为所述用户业务的标识和获取所述用户业务的第一配额管理模式的指示信息,所述响应消息携带的第一配额管理模式的相关信息为所述用户业务的第一配额管理模式,所述第一配额管理模式为挂起配额管理或启用配额管理;或
    所述获取指示为所述用户的标识和获取所述用户的各业务的配额管理模式,所述响应消息携带的第一配额管理模式的相关信息为所述用户的各业务的第一配额管理模式的信息,所述第一配额管理模式为挂起配额管理或启动配额管理。
  7. 根据权利要求4所述的方法,其特征在于:
    所述用户或所述用户业务的第一配额管理模式的相关信息为:是否允许所述用户的业务使用非阻塞模式的指示信息,或者,是否允许挂起所述用户的业务的配额管理的指示信息。
  8. 根据权1-7任一所述方法,其特征在于,
    若第一配额管理模式为第一初始配额申请模式,所述第一策略包括所述第一初始配额申请模式的指示,所述第一初始配额申请模式为非阻塞模式或阻塞模式;或,
    若所述用户业务的第一配额管理模式为挂起配额管理,所述第一策略包括所述用户业务的计费方法为离线计费或者临时离线计费;或
    若所述用户业务的第一配额管理模式为启用配额管理,所述第一策略包括的所述用户业务的计费方法为在线计费。
  9. 根据权利要求1-8任一所述的方法,其特征在于,所述策略控制设备接收计费处理设备发送的用于更改所述第一配额管理模式的第二配额管理模式的相关信息包括:
    所述策略控制设备接收所述计费处理设备发送的针对所述用户或所述用户业务的通知消息,所述通知消息携带所述用户业务的第二配额管理模式的相关信息。
  10. 根据权利要求9所述的方法,其特征在于,所述第一配额管理模式为阻塞模式或者非阻塞模式的第一初始配额申请模式,所述用户业务的第二配额管理模式的相关信息包括:
    所述用户的允许使用非阻塞的第二初始配额申请模式的业务列表;或
    是否允许所述用户的业务使用非阻塞的第二初始配额申请模式的指示信息;或
    是否允许所述用户业务使用非阻塞的第二初始配额申请模式的指示信息;或
    所述用户业务的第二初始配额申请模式。
  11. 根据权利要求9所述的方法,其特征在于,所述第一配额管理模式为挂起或者启用配额管理,所述用户业务的第二配额管理模式的相关信息包括:
    所述用户的允许挂起配额管理的业务列表;或
    是否允许挂起所述用户业务的配额管理的指示信息;或
    是否允许挂起所述用户的业务的配额管理的指示信息;或
    所述用户业务的挂起或启用配额管理的配额管理模式。
  12. 根据权利要求9-11任一所述的方法,其特征在于,所述策略控制设备保存所述用户业务的第二配额管理模式。
  13. 根据权利要求9-12任一所述的方法,其特征在于,
    若所述第二配管理模式为第二初始配额额申请模式,所述第二策略包括所述用户业务的第二初始配额申请模式,所述第二初始配额申请模式为阻塞模式或非阻塞模式;或者,
    若所述用户业务的第二配额管理模式为挂起配额管理,所述第二策略包括所述用户业务的计费方法为离线计费或者临时离线计费;或者,
    若所述用户业务的第二配额管理模式为启用配额管理,在所述第二策略包括的所述用户业务的计费方法为在线计费。
  14. 根据权利要求1-13任一所述的方法,其特征在于,还包括:
    向所述会话管理功能设备发送发所述第二策略,所述第二策略用于更新所述用户业务的第一策略;
    或者,
    向所述会话管理功能设备发送所述第二策略,所述第二策略用于替换所述第一策略。
  15. 一种用户业务处理方法,应用于计费处理设备,其特征在于,包括:
    确定需要更改用户的用户业务的第一配额管理模式为第二配额管理模式;
    向策略控制设备发送通知消息,所述通知消息携带所述用户或所述用户业务的第二配额管理模式的相关信息。
  16. 如权利要求15所述方法,其特征在于,
    所述第一配额管理模式为第一初始配额申请模式,所述第二配额管理模式为第二初始配额申请模式,所述第一初始配额申请模式为阻塞模式以及所述第二初始配额申请模式为非阻塞模式,或者,所述第一初始配额申请模式为非阻塞模式以及所述第二初始配额申请模式为阻塞模式;或者,
    所述第一配额管理模式为挂起配额管理且所述第二配额管理模式为启用配额管理,或者,所述第一配额管理模式为启用配额管理且所述第二配额管理模式为挂起配额管理。
  17. 如权利要求15或16所述方法,其特征在于,还包括:
    处理所述用户业务的计费请求、或者处理所述用户的其他业务的计费请求、或者对所述用户帐户执行计费管理流程时,确定需要更改所述用户业务的第一配额管理模式。
  18. 如权利要求15-17任一所述方法,其特征在于,所述计费处理设备确定需要更改所述用户业务的第一配额管理模式为第二配额管理模式包括:
    接收所述用户业务的计费请求,所述计费请求中包括所述用户业务使用第一配额管理模式的指示信息;
    基于所述第一配额管理模式的指示信息确定需要更改所述用户业务的第一配额管理模式为第二配额管理模式;
    或者,
    所述计费处理设备确定向所述策略控制设备发送过所述用户业务的第一配额管理模式的相关信息;
    基于所述第一配额管理模式,所述计费处理设备确定更改所述用户业务的第一配额管理模式为第二配额管理模式。
  19. 如权利要求15-18任一所述方法,其特征在于,所述第一配额管理模式为阻塞模式或者非阻塞模式的第一初始配额申请模式,所述用于更改所述第一配额管理模式的所述第二配额管理模式的相关信息包括:
    更新的所述用户的允许使用所述非阻塞模式的第二初始配额申请模式的业务列表;或
    更新的是否允许所述用户的业务使用所述非阻塞模式的第二初始配额申请模式的指示信息;或
    更新的是否允许所述用户业务使用所述非阻塞模式的第二初始配额申请模式的指示信息;或
    更新的所述用户业务的第二初始配额申请模式。
  20. 如权利要求15-19任一所述方法,其特征在于,所述第一配额管理模式为挂起或者启用配额管理,所述用于更改所述第一配额管理模式的所述第二配额管理模式的相关信息包括:
    更新的所述用户的允许挂起配额管理的业务列表;或
    更新的是否允许挂起所述用户业务的配额管理的指示信息;或
    更新的是否允许挂起所述用户的业务的配额管理的指示信息;或
    更新的所述用户业务的挂起或启用配额管理的配额管理模式。
  21. 如权利要求15-20任一所述方法,其特征在于,所述计费处理设备保存所述用户业务的第二配额管理模式。
  22. 根据权利要求15-21任一所述的方法,其特征在于,该方法进一步包括:
    所述计费处理设备确定存在为所述用户创建的资源;
    所述向所述策略控制设备发送通知消息包括:通过与所述资源对应的通知地址向所述策略控制设备发送所述通知消息。
  23. 如权利要求15-22任一所述方法,其特征在于,所述方法之前,还包括:
    接收所述策略控制设备发送的请求消息;
    向所述策略控制设备发送的响应消息,所述响应消息携带所述用户或所述用户业务的第一配额管理模式的相关信息。
  24. 如权利要求23所述方法,所述第一配额管理模式为阻塞模式或者非阻塞模式的第一初始配额申请模式,所述请求消息还携带第一配额管理模式的获取指示,其特征在于:
    所述获取指示为所述用户的标识和获取用户的非阻塞模式的业务列表的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为所述用户的允许使用非阻塞模式的第一初始配额申请模式的业务列表;或
    所述获取指示为所述用户业务的标识和获取是否允许所述用户业务使用非阻塞模式的第一初始配额申请模式的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为 是否允许所述用户业务使用非阻塞模式的第一初始配额申请模式的指示信息;或
    所述获取指示为所述用户的标识和获取是否允许所述用户的业务使用非阻塞的第一初始配额申请模式的指示信息,所述响应消息携带的第一配额管理模式的相关信息为是否允许所述用户的业务使用非阻塞的第一初始配额申请模式的指示信息;或
    所述获取指示为所述用户业务的标识和获取所述用户业务的第一初始配额申请模式的指示信息,所述响应消息携带的第一配额管理模式的相关信息为所述用户业务的第一初始配额申请模式,所述第一初始配额申请模式为阻塞模式或非阻塞模式;或
    所述获取指示为所述用户的标识和获取所述用户的各业务的第一初始配额申请模式,所述响应消息携带的第一配额管理模式的相关信息为所述用户的各业务的第一初始配额申请模式,所述第一初始配额申请模式为阻塞模式或非阻塞模式。
  25. 根据权利要求23或24所述的方法,所述第一配额管理模式为挂起或者启用配额管理,所述请求消息还携带第一配额管理模式的获取指示,其特征在于:
    所述获取指示为所述用户的标识和获取所述用户的允许挂起配额管理的业务列表的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为所述用户的允许挂起配额管理的业务列表;或
    所述获取指示为所述用户业务的标识和获取是否允许所述用户业务挂起配额管理的指示信息,所述响应消息携带的所述第一配额管理模式的相关信息为是否允许挂起所述用户业务的配额管理的指示信息;或
    所述获取指示为所述用户的标识和获取是否允许挂起所述用户的业务的配额管理的指示信息,所述响应消息携带的第一配额管理模式的相关信息为是否允许挂起所述用户的业务的配额管理的指示信息;或
    所述获取指示为所述用户业务的标识和获取所述用户业务的第一配额管理模式的指示信息,所述响应消息携带的第一配额管理模式的相关信息为所述用户业务的第一配额管理模式,所述第一配额管理模式为挂起配额管理或启用配额管理;或
    所述获取指示为所述用户的标识和获取所述用户的各业务的配额管理模式,所述响应消息携带的第一配额管理模式的相关信息为所述用户的各业务的第一配额管理模式的信息,所述第一配额管理模式为挂起配额管理或启动配额管理。
  26. 根据权利要求23所述的方法,其特征在于:
    所述用户或所述用户业务的第一配额管理模式的相关信息为:是否允许所述用户的业务使用非阻塞模式的指示信息,或者,是否允许挂起所述用户的业务的配额管理的指示信息。
  27. 一种策略控制设备,其特征在于,包括:
    处理模块用于生成用户的用户业务的第一策略;
    发送模块,用于向会话管理功能设备发送所述第一策略,所述第一策略指示对所述用户业务执行第一配额管理模式;
    接收模块,用于接收计费处理设备发送的用于更改所述第一配额管理模式的所述用户或所述用户业务的第二配额管理模式的相关信息;
    所述处理模块还用于根据所述用户或所述用户业务的第二配额管理模式的相关信息确定所述用户业务的第二配额管理模式,并生成所述用户业务的第二策略,所述第二策略用于更新或者替换所述第一策略,所述第二策略还指示对所述用户业务执行所述第二配额管理模式。
  28. 根据权利要求27所述的策略控制设备,其特征在于,
    所述接收模块还用于接收所述计费处理设备发送的所述用户或所述用户业务的第一配额管理模式的相关信息;
    所述处理模块确定用户业务的第一配额管理模式为:所述处理模块根据所述用户或所述用户业务的第一配额管理模式的相关信息确定所述用户业务的第一配额管理模式。
  29. 根据权利要求28或27所述的策略控制设备,其特征在于,
    所述发送模块进一步用于向所述计费处理设备发送请求消息;
    所述接收模块接收计费处理设备发送的响应消息,所述响应消息携带所述用户或所述用户业务的第一配额管理模式的相关信息。
  30. 根据权利要求27-29任一所述的策略控制设备,其特征在于,
    所述接收模块接收接收计费处理设备发送的用于更改所述第一配额管理模式的第二配额管理模式的相关信息包括包括:所述接收模块接收所述计费处理设备发送的针对所述用户或所述用户业务的通知消息,所述通知消息携带所述用户业务的第二配额管理模式的相关信息。
  31. 根据权利要求27-30任一所述的策略控制设备,其特征在于,
    所述发送模块进一步用于向所述会话管理功能设备发送发所述第二策略,所述第二策略以更新所述用户业务的第一策略。
    或者,
    所述发送模块进一步用于向所述会话管理功能设备发送所述第一策略的去激活指令和所述第二策略的激活指令。
  32. 一种计费处理设备,其特征在于,包括:
    处理模块,用于确定需要更改用户的用户业务的第一配额管理模式为第二配额管理模式;
    发送模块,向策略控制设备发送通知消息,所述通知消息携带所述用户或所述用户业务的第二配额管理模式的相关信息。
  33. 根据权利要求32所述的计费处理设备,其特征在于,
    所述计费处理设备进一步包括接收模块,用于接收用户业务的计费请求,所述计费请求中包括所述用户业务使用第一配额管理模式的指示信息;所述处理模块进一步用于基于所述第一配额管理模式的指示信息确定需要更改所述用户业务的第一配额管理模式为第二配额管理模式;或
    所述处理模块进一步用于确定向所述策略控制设备发送过所述用户业务的第一配额管理模式的相关信息,并基于所述第一配额管理模式,确定需要更改所述用户业务的第一配额管理模式为第二配额管理模式。
  34. 根据权利要求27-33任一所述的计费处理设备,其特征在于,
    所述处理模块进一步确定存在为所述用户创建的资源;
    所述发送模块向所述策略控制设备发送通知消息包括:通过与所述资源对应的通知地址向所述策略控制设备发送所述通知消息。
  35. 根据权利要求31-32任一所述的计费处理设备,其特征在于,
    所述计费处理设备进一步包括接收模块,用于接收所述策略控制设备发送的请求消息;
    所述发送模块进一步用于向所述策略控制设备发送的响应消息,所述响应消息携带所述用户或所述用户业务的第一配额管理模式的相关信息。
  36. 一种计费处理设备(101),其特征在于,包括处理器和存储器,其中:
    所述存储器,用于存储程序指令;
    所述处理器,用于调用并执行所述存储器中存储的程序指令,以使所述计费处理设备(101)执行权利要求15至26中任一项所述的处理用户业务的方法。
  37. 一种会话管理功能设备(102),其特征在于,包括处理器和存储器,其中:
    所述存储器,用于存储程序指令;
    所述处理器,用于调用并执行所述存储器中存储的程序指令,以使所述会话管理功能设备(102)执行权利要求1至14中任意一项所述的处理用户业务的方法。
  38. 一种系统,其特征在于,包括用于执行权利要求27-31任一所述的策略控制设备,和执行权利要求32-36任一所述的计费处理设备。
  39. 一种用户业务处理方法,其特征在于,包括:
    策略控制设备确定用户业务的第一配额管理模式;
    所述策略控制设备根据所述第一配额管理模式生成所述用户业务的第一策略,向会话管理功能设备发送所述第一策略,所述第一策略指示对所述用户业务执行所述第一配额管理模式;
    计费处理设备向所述策略控制设备发送用于更改所述第一配额管理模式的所述用户业务的第二配额管理模式的相关信息;
    所述策略控制设备根据所述用户业务的第二配额管理模式的相关信息确定第二配额管理模式;
    所述策略控制设备根据所述第二配额管理模式生成所述用户业务的第二策略,所述第二策略用于更新或者替换所述第一策略,以及指示对所述用户业务执行所述第二配额管理模式。
PCT/CN2021/093032 2020-05-15 2021-05-11 处理用户业务的方法、系统及相关设备 WO2021228083A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21805004.5A EP4138424A4 (en) 2020-05-15 2021-05-11 USER SERVICE PROCESSING METHOD AND SYSTEM, AND RELATED DEVICE
US17/987,405 US20230109543A1 (en) 2020-05-15 2022-11-15 User service processing method, system, and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010414154.0 2020-05-15
CN202010414154.0A CN113676854A (zh) 2020-05-15 2020-05-15 处理用户业务的方法、系统及相关设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/987,405 Continuation US20230109543A1 (en) 2020-05-15 2022-11-15 User service processing method, system, and related device

Publications (1)

Publication Number Publication Date
WO2021228083A1 true WO2021228083A1 (zh) 2021-11-18

Family

ID=78525283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/093032 WO2021228083A1 (zh) 2020-05-15 2021-05-11 处理用户业务的方法、系统及相关设备

Country Status (4)

Country Link
US (1) US20230109543A1 (zh)
EP (1) EP4138424A4 (zh)
CN (1) CN113676854A (zh)
WO (1) WO2021228083A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872594A (zh) * 2016-09-27 2018-04-03 中国电信股份有限公司 计费方法、计费装置以及计费系统
US10425539B2 (en) * 2015-06-30 2019-09-24 Huawei Technologies Co., Ltd. Charging method, network device, and billing system
WO2019182573A1 (en) * 2018-03-20 2019-09-26 Nokia Solutions And Networks Oy Quota management in mobile edge computing (mec)
CN110417560A (zh) * 2018-04-28 2019-11-05 华为技术有限公司 计费的方法、装置及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2801171B1 (en) * 2012-01-05 2018-09-12 Tekelec, Inc. Methods, systems, and computer readable media for utilizing quota usage policy control in a diameter-based communication network
US10999447B2 (en) * 2018-11-02 2021-05-04 Ofinno, Llc Charging control in roaming scenario

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10425539B2 (en) * 2015-06-30 2019-09-24 Huawei Technologies Co., Ltd. Charging method, network device, and billing system
CN107872594A (zh) * 2016-09-27 2018-04-03 中国电信股份有限公司 计费方法、计费装置以及计费系统
WO2019182573A1 (en) * 2018-03-20 2019-09-26 Nokia Solutions And Networks Oy Quota management in mobile edge computing (mec)
CN110417560A (zh) * 2018-04-28 2019-11-05 华为技术有限公司 计费的方法、装置及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CISCO SYSTEMS; TMOBILE USA: "Discussion on supporting simultaneous online and offline charging methods", 3GPP DRAFT; S2-1911464, vol. SA WG2, 8 November 2019 (2019-11-08), Reno Nevada, USA, pages 1 - 6, XP051821554 *

Also Published As

Publication number Publication date
US20230109543A1 (en) 2023-04-06
CN113676854A (zh) 2021-11-19
EP4138424A4 (en) 2023-11-01
EP4138424A1 (en) 2023-02-22

Similar Documents

Publication Publication Date Title
US11330113B2 (en) Charging method and device involved in a protocol data unit (PDU) session
JP4920564B2 (ja) パケット通信網およびユーザ関連情報配信制御装置
JP7128340B2 (ja) 課金方法、装置およびシステム
JP5415625B2 (ja) 通信ネットワークにおけるデータトラフィック制御
JP7478267B2 (ja) 課金方法、装置、及びシステム
US9686172B2 (en) Method and apparatus of determining policy and charging rules based on network resource utilization information
CN116746132A (zh) 修改smf的ip地址管理
EP2883384B1 (en) Signaling traffic reduction in mobile communication systems
WO2011098022A1 (zh) 一种基于m2m应用的会话管理方法、系统和装置
JP6478358B2 (ja) サービス処理方法、pcrf、及びサービス処理システム
WO2018082035A1 (zh) 一种功能调度方法、设备和系统
WO2014117368A1 (zh) 定制自定义移动网络的设备、系统和方法
CN112889029A (zh) 用于网络节点处的无锁通信处理的方法、系统和计算机可读介质
JP2022511312A (ja) 通信システムを動作させるための通信システムおよび方法
WO2012083779A1 (zh) 策略控制方法及装置
US8442480B2 (en) Priority communications in a shared access telecommunications network
WO2016107374A1 (zh) 一种带宽控制的方法、装置及系统
WO2021228083A1 (zh) 处理用户业务的方法、系统及相关设备
US11943835B2 (en) Communication method and communications apparatus for PC5 V2X
WO2012028008A1 (zh) 一种异构网络的控制方法和系统
KR102318746B1 (ko) 가상 id를 이용하여 복수의 pdu 세션들을 처리하는 방법 및 상기 방법을 수행하는 smf
WO2012041149A1 (zh) 一种用量监测方法及系统
CN116455771A (zh) 用于QoS通知的方法和网络节点
WO2022001551A1 (zh) 一种累积量的订阅方法
WO2013097230A1 (zh) 一种策略控制的方法、设备及系统

Legal Events

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

Ref document number: 21805004

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021805004

Country of ref document: EP

Effective date: 20221115

NENP Non-entry into the national phase

Ref country code: DE