EP4657819A2 - Procédé et système pour effectuer une facturation sur une ressource de réseau, et dispositif associé - Google Patents
Procédé et système pour effectuer une facturation sur une ressource de réseau, et dispositif associéInfo
- Publication number
- EP4657819A2 EP4657819A2 EP25190240.9A EP25190240A EP4657819A2 EP 4657819 A2 EP4657819 A2 EP 4657819A2 EP 25190240 A EP25190240 A EP 25190240A EP 4657819 A2 EP4657819 A2 EP 4657819A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- network slice
- performance indicator
- charging
- nscf
- subscription
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/10—Scheduling measurement reports ; Arrangements for measurement reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L12/1403—Architecture for metering, charging or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/40—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5009—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
- H04L41/5012—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF] determining service availability, e.g. which services are available at a certain point in time
- H04L41/5016—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF] determining service availability, e.g. which services are available at a certain point in time based on statistics of service availability, e.g. in percentage or over a given time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5029—Service quality level-based billing, e.g. dependent on measured service level customer is charged more or less
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
- H04L41/5048—Automatic or semi-automatic definitions, e.g. definition templates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/41—Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/66—Policy and charging system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Definitions
- This application relates to the communications field, and in particular, to a method and system for performing charging on a network resource, and a related device.
- Main application scenarios of a 5G (5th Generation, 5th generation) network include an eMBB (enhanced Mobile Broadband, enhanced mobile broadband) scenario, a URLLC (ultra High-Reliability and Low-Latency Communication, ultra-reliable low-latency communication) scenario, an mMTC (massive Machine Type Communication, massive machine-type communications) scenario, and the like.
- eMBB enhanced Mobile Broadband, enhanced mobile broadband
- URLLC ultra High-Reliability and Low-Latency Communication, ultra-reliable low-latency communication
- mMTC massive Machine Type Communication, massive machine-type communications
- These scenarios have different requirements on network features. For example, in the mMTC scenario, there are many devices, but a throughput of each device may be extremely low and a small bandwidth is required. In the eMBB scenario, almost an opposite feature is required because there are much fewer devices, but each device sends or receives a large amount of data and a large bandwidth is required.
- a physical network may be divided at an end-to-end layer, to form a network slice (Network Slice), so as to implement traffic grouping, tenant isolation, and resource configuration on a macroscopic scale.
- Network Slice is essentially a virtual network running on a shared physical network infrastructure.
- An operator may create, based on different service requirements (for example, requirements on a latency, a bandwidth, security, and reliability) and from the physical network infrastructure, virtual networks (corresponding to network slice instances) that meet corresponding service requirements, so as to be used by customers having different requirements on network feature. In this way, network resource utilization rate and quality of service of a network service are improved.
- service requirements for example, requirements on a latency, a bandwidth, security, and reliability
- virtual networks corresponding to network slice instances
- a service system triggers a charging system to perform charging based on a service event such as start or end of a service, and the service system collects statistics about accurate service information (such as traffic and duration used by the service) and reports the accurate service information to the charging system, so that the charging system can perform rating and fee deduction based on the accurate service information.
- a service event such as start or end of a service
- the service system collects statistics about accurate service information (such as traffic and duration used by the service) and reports the accurate service information to the charging system, so that the charging system can perform rating and fee deduction based on the accurate service information.
- a method for performing charging on a network resource to perform charging based on a service level satisfaction degree of a network slice instance. This helps improve network resource utilization rate of an operator, and can better meet diversified network requirements of different customers.
- an embodiment of this application provides a method for performing charging on a network resource.
- the method includes: A network slice charging function NSCF device sends a first message to a network slice management function NSMF device, where the first message includes an identifier of a network slice instance; the NSCF device receives a second message from the NSMF device, where the second message includes data corresponding to a network slice performance indicator of the network slice instance, and the network slice performance indicator is used to describe network performance of the network slice instance; and the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator.
- charging may be performed on the network slice instance based on the data corresponding to the network slice performance indicator. Because the data corresponding to the network slice performance indicator is data that a customer is concerned about and an investment of an operator can be better reflected, this method helps improve a matching degree between a charging result and a network resource investment, so as to help implement diversified application scenarios, and further help improve network resource utilization rate or quality of service of a network service.
- the first message further includes the network slice performance indicator.
- the NSCF device before sending the first message to the NSMF device, the NSCF device further determines the network slice performance indicator.
- the NSCF device determines the network slice performance indicator specifically includes: The NSCF device determines the network slice performance indicator based on subscription information, of a customer, for subscribing to the network slice instance.
- the subscription information includes any one or any combination of a service level agreement term, a network slice type, a network slice template, or subscription duration of the network slice instance.
- the data corresponding to the network slice performance indicator includes a value of the network slice performance indicator
- that the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically includes:
- the NSCF device stores the value of the network slice performance indicator in a first charging data record.
- the data corresponding to the network slice performance indicator further includes a time of the network slice performance indicator
- that the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically further includes:
- the NSCF device further stores the time of the network slice performance indicator in the first charging data record.
- the data corresponding to the network slice performance indicator does not include a time of the network slice performance indicator
- that the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically further includes:
- the NSCF device further stores a time at which the second message is received as the time of the network slice performance indicator in the first charging data record.
- the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically further includes: The NSCF device determines a time range for providing statistics about the network slice performance indicator, and determines a method for providing statistics about the network slice performance indicator; the NSMF device provides statistics on a value of the network slice performance indicator within the time range for providing statistics in the first charging data record by using the method for providing statistics, to obtain a statistics value of the network slice performance indicator; and the NSCF device performs charging on the network slice instance based on the statistics value of the network slice performance indicator.
- the NSCF device before sending the first message to the NSMF device, the NSCF device further determines a time range for providing statistics of the network slice performance indicator, where the time range for providing statistics is used to indicate the NSMF device to provide statistics on one or more values of the network slice performance indicator within the time range for providing statistics; and the first message further includes the time range for providing statistics.
- the NSCF device collects a large amount of performance data of the network slice instance. This helps carry out a richer and more flexible charging service. For example, for a very important customer, a new method for providing statistics may be used to provide a new statistics value at a later stage, and a fee for use of the network slice instance is calculated based on the new statistics value and a new charging rule.
- the NSMF device only needs to be responsible for collecting/gathering the value of the network slice performance indicator, and does not need to involve a charging-related statistical operation. Therefore, calculation burden of the NSMF device may be reduced.
- the NSCF device before sending the first message to the NSMF device, the NSCF device further determines a method for providing statistics about the network slice performance indicator, where the method for providing statistics is used to indicate the NSMF device to provide statistics on one or more values of the network slice performance indicator within the time range for providing statistics by using the method for providing statistics; and the first message further includes the method for providing statistics.
- the data corresponding to the network slice performance indicator includes a statistics value of the network slice performance indicator
- that the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically includes: The NSCF device performs charging on the network slice instance based on the statistics value of the network slice performance indicator.
- that the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically includes: The NSCF device stores the statistics value of the network slice performance indicator in a second charging data record.
- the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator specifically further includes: The NSCF device calculates a fee for use of the network slice instance based on the statistics value of the network slice performance indicator.
- the NSCF device calculates a fee for use of the network slice instance based on the statistics value of the network slice performance indicator specifically includes: The NSCF device obtains a charging rule corresponding to the network slice performance indicator, where the charging rule includes a fee calculation method corresponding to the statistics value of the network slice performance indicator; and calculates the fee for use of the network slice instance according to the charging rule and the statistics value of the network slice performance indicator.
- the NSMF device completes sampling and statistics providing of the network slice performance indicator, and the NSCF device completes charging based on the statistics value.
- An advantage of this solution is that a sampling value of the network slice performance indicator does not need to be frequently transferred between the NSMF device and the NSCF device. Therefore, occupation of a communication bandwidth between the NSMF device and the NSCF device can be reduced, and calculation burden on an NSCF device side can be reduced.
- the statistics value of the network slice performance indicator includes any one or any combination of the following: an average value, a maximum value, a minimum value, a fulfillment degree, accumulated fulfillment duration, an accumulated quantity of fulfillment times, accumulated non-fulfillment duration, and an accumulated quantity of non-fulfillment times that are of the network slice performance indicator.
- the first message further includes an interval time, and the interval time is used to indicate a time interval between two consecutive times of obtaining the value of the network slice performance indicator by the NSMF device.
- the NSCF device may indicate a sampling time interval to the NSMF device, to better meet a charging requirement. For example, a more accurate statistics value may be obtained based on a sampling value with a higher time density, so that charging is more accurate.
- the first message is a subscription request message
- the second message is a subscription notification message
- the subscription request message is used to request the NSMF device to generate a subscription resource for the network slice instance
- the first message further includes an address for receiving data, to indicate the NSMF device to send the subscription notification message to the NSCF device based on the address.
- the method further includes: The NSCF device sends, to the NSMF device, a subscription update request message for updating the subscription resource, where the subscription update request message includes any one or any combination of a target time range for providing statistics, a target interval time, a target method for providing statistics, and a target network slice performance indicator; and the NSCF device receives, from the NSMF device, the data that corresponds to the network slice performance indicator and that exists before the subscription resource is updated.
- the method further includes: The NSCF device sends an unsubscription request related to the subscription resource to the NSMF device; and the NSCF device receives, from the NSMF device, the data that corresponds to the network slice performance indicator and that exists before unsubscription related to the subscription resource.
- a subscription-notification mechanism is used, so that the data corresponding to the network slice performance indicator is more timely transferred between the NSMF device and the NSCF device.
- an embodiment of this application provides a method for performing charging on a network resource.
- the method includes: A network slice management function NSMF device receives a first message from a network slice charging function NSCF device, where the first message includes an identifier of a network slice instance; the NSMF device obtains, based on the first message, data corresponding to a network slice performance indicator of the network slice instance, where the network slice performance indicator is used to describe network performance of the network slice instance; and the NSMF device sends a second message to the NSCF device, where the second message includes the data corresponding to the network slice performance indicator.
- the NSMF device can provide the NSCF device with the data corresponding to the network slice performance indicator, so that the NSCF device can perform charging on the network slice instance based on the data corresponding to the network slice performance indicator. This helps improve a matching degree between a charging result and a network resource investment, so as to help implement diversified application scenarios, and help improve network resource utilization rate or quality of service of a network service.
- the network slice performance indicator is a network slice performance indicator that is used for performing charging on the network slice instance, and the first message further includes the network slice performance indicator; and that the NSMF device obtains, based on the first message, data corresponding to a network slice performance indicator of the network slice instance specifically includes: The NSMF device obtains the data corresponding to the network slice performance indicator included in the first message.
- the data corresponding to the network slice performance indicator includes a value of the network slice performance indicator
- that the NSMF device obtains data corresponding to a network slice performance indicator specifically includes: The NSMF device obtains the value of the network slice performance indicator.
- the data corresponding to the network slice performance indicator further includes a time of the network slice performance indicator
- that the NSMF device obtains data corresponding to a network slice performance indicator specifically further includes: The NSMF device obtains the time of the network slice performance indicator.
- the first message further includes a time range for providing statistics; the data corresponding to the network slice performance indicator includes a statistics value of the network slice performance indicator; and that the NSMF device obtains data corresponding to a network slice performance indicator specifically includes: The NSMF device obtains a plurality of values of the network slice performance indicator of the network slice instance within the time range for providing statistics, and provides statistics on the plurality of values of the network slice performance indicator, to obtain the statistics value of the network slice performance indicator.
- the first message further includes a method for providing statistics; and that the NSMF device provides statistics on the plurality of values of the network slice performance indicator specifically includes: The NSMF device provides statistics on the plurality of values of the network slice performance indicator by using the method for providing statistics.
- the first message is a subscription request message
- the second message is a subscription notification message
- the first message further includes an address for receiving data
- a subscription resource is generated for the network slice instance, and the subscription notification message is sent to the NSCF device based on the address for receiving data.
- the method further includes: The NSMF device receives, from the NSCF device, a subscription update request message for updating the subscription resource, where the subscription update request message includes any one or any combination of a target time range for providing statistics, a target interval time, a target method for providing statistics, and a target network slice performance indicator; the NSMF device performs a subscription update operation on the subscription resource based on the subscription update request message; and the NSMF device sends, to the NSCF device, the data that corresponds to the network slice performance indicator and that exists before the subscription resource is updated.
- the method further includes: The NSMF device receives an unsubscription request message related to the subscription resource from the NSCF device; the NSMF device performs an unsubscription operation on the subscription resource based on the unsubscription request message; and the NSMF device sends, to the NSCF device, the data that corresponds to the network slice performance indicator and that exists before unsubscription related to the subscription resource.
- the first message further includes an interval time
- the method further includes: The NSMF device determines, based on the interval time, a time interval between two consecutive times of obtaining the value of the network slice performance indicator.
- the NSMF device may perform sampling based on a sampling time interval indicated by the NSCF device, so as to better meet a requirement of the NSCF device for performing charging.
- an embodiment of this application provides a network slice charging function device, including a processor and a memory.
- the memory is configured to store program instructions
- the processor is configured to: invoke and execute the program instructions stored in the memory, so that the network slice charging function device performs the method for performing charging on a network resource in the first aspect.
- an embodiment of this application provides a computer-readable storage medium, including instructions.
- the instructions When the instructions are run on a computer, the computer is enabled to perform the method for performing charging on a network resource in the first aspect.
- an embodiment of this application provides a network slice management function device, including a processor and a memory.
- the memory is configured to store program instructions
- the processor is configured to: invoke and execute the program instructions stored in the memory, so that the network slice management device performs the method for performing charging on a network resource in the second aspect.
- an embodiment of this application provides a computer-readable storage medium, including instructions.
- the instructions When the instructions are run on a computer, the computer is enabled to perform the method for performing charging on a network resource in the second aspect.
- an embodiment of this application provides a system for performing charging on a network resource, including a network slice management function NSMF device and a network slice charging function NSCF device.
- the NSCF device sends a first message to the NSMF device, where the first message includes an identifier of the network slice instance; the NSMF device receives the first message, and obtains, based on the first message, data corresponding to a network slice performance indicator of the network slice instance, where the network slice performance indicator is used to describe network performance of the network slice instance; the NSMF device sends a second message to the NSCF device, where the second message includes the data corresponding to the network slice performance indicator; and the NSCF device receives the second message, and performs charging on the network slice instance based on the data that corresponds to the network slice performance indicator and that is in the second message.
- the network slice performance indicator is a network slice performance indicator that is used for performing charging on the network slice instance, and the first message further includes the network slice performance indicator; and before sending the first message to the NSMF device, the NSCF device further determines the network slice performance indicator.
- the data corresponding to the network slice performance indicator includes a value of the network slice performance indicator and a time of the network slice performance indicator; that the NSMF device obtains data corresponding to a network slice performance indicator specifically includes: obtaining the value of the network slice performance indicator and the time of the network slice performance indicator; and that the NSCF device performs charging on the network slice instance based on the data that corresponds to the network slice performance indicator and that is in the second message specifically includes: performing charging on the network slice instance based on the value of the network slice performance indicator and the time of the network slice performance indicator.
- that the NSCF device performs charging on the network slice instance based on the value of the network slice performance indicator and the time of the network slice performance indicator specifically includes: storing the value of the network slice performance indicator and the time of the network slice performance indicator in a first charging data record.
- the first message further includes a time range for providing statistics and a method for providing statistics; that the NSMF device obtains data corresponding to a network slice performance indicator specifically includes: obtaining a value of the network slice performance indicator of the network slice instance, and providing statistics on a plurality of values of the network slice performance indicator of the network slice instance within the time range for providing statistics by using the method for providing statistics, to obtain a statistics value of the network slice performance indicator; and that the NSCF device performs charging on the network slice instance based on the data that corresponds to the network slice performance indicator and that is in the second message specifically includes: performing charging on the network slice instance based on the statistics value of the network slice performance indicator.
- that the NSCF device performs charging on the network slice instance based on the statistics value of the network slice performance indicator specifically includes: calculating a fee for use of the network slice instance based on the statistics value of the network slice performance indicator.
- FIG. 1 is an architectural diagram of a charging system according to an embodiment of this application.
- the charging system includes a network slice charging function (Network Slice Charging Function, NSCF) device 101, a network slice management function (Network Slice Management Function, NSMF) device 102, and the like.
- NSCF Network Slice Charging Function
- NSMF Network Slice Management Function
- the "network slice charging function device” is briefly referred to as an "NSCF device”
- the “network slice management function device” is briefly referred to as an "NSMF device”.
- Main functions of the NSCF device and the NSMF device are separately described as follows:
- the NSCF device 101 is configured to: determine a network slice performance indicator of a network slice instance, subscribe to, from the NSMF device 102 through an interface (Nnsmf is an example identifier of the interface) provided by the NSMF device 102, data corresponding to the network slice performance indicator of the network slice instance, and perform charging on the network slice instance based on the data.
- Nnsmf is an example identifier of the interface
- the network slice performance indicator is used to describe network performance of the network slice instance, and can not only reflect what a customer or a user concerns on using the network slice instance on one aspect or some aspects, but also reflect an investment of an operator on the network slice instance on one aspect or some aspects.
- the network slice performance indicator may include but is not limited to one or more of the following parameters:
- the network slice performance indicator is also briefly referred to as an "indicator" in the embodiments of this application.
- one network slice instance may have one or more network slice performance indicators.
- a quantity of network slice performance indicators of the network slice instance is not limited in the embodiments of this application.
- a constraint condition of a network slice performance indicator may be agreed on, for example, "a quantity of occurrence times that a latency exceeds 5 ms needs to be less than 10", and "accumulated duration in which a bandwidth is less than 100 G does not exceed 30 hours”.
- the network slice performance indicator transferred by using a message may be represented by a parameter name or a parameter identifier of the indicator.
- a parameter name For example, "E2EDelay” or "101" is used to represent a network slice performance indicator "latency”.
- a manner of representing the network slice performance indicator is not limited in the embodiments of this application.
- the parameter name is taken as an example for description.
- the NSCF device further sends a charging result to a billing system (not shown in FIG. 1 ), so that the billing system generates a charging bill for the customer.
- an actual physical device on which the NSCF device is deployed is not limited in the embodiments of this application.
- the NSCF device may be independently deployed, or may be deployed on a server integrating a charging function or another physical device.
- the NSMF device 102 is configured to provide the NSCF device 101 with the data corresponding to the network slice performance indicator of the network slice instance, including: receiving a subscription request for the data corresponding to the network slice performance indicator of the network slice instance, obtaining the data corresponding to the network slice performance indicator, and sending the data corresponding to the network slice indicator to the NSCF device 101 by using a subscription notification.
- the NSMF device may be a cross-domain slice manager or a slice manager of a core network subdomain.
- Value of the network slice performance indicator Values of different performance indicators have different meanings.
- the value of the network slice performance indicator may refer to a specific value obtained by the NSMF device or another device by detecting, sampling, or in other manners on the network slice performance indicator at a moment, within a timeslot, or within a time period (for example, within a minute).
- the value of the network slice performance indicator is also referred to as a sampling value of the network slice performance indicator or an instantaneous value of the network slice performance indicator, or even directly referred to as a sampling value or an instantaneous value.
- Time of the network slice performance indicator refers to a time point, a timeslot, or a time period at which the specific value of the network slice performance indicator is obtained through detection, sampling, or in another manner.
- the time of the network slice performance indicator is also referred to as a sampling time of the network slice performance indicator or an obtaining time of the network slice performance indicator, or even directly referred to as the sampling time or the obtaining time. It may be understood that the time/sampling time/obtaining time of the network slice performance indicator may be a specific time point, or may be a specific time period (for example, a minute).
- a sampling time of "a quantity of concurrent sessions” may be "2018-10-26 23:58:52”
- a sampling time of "latency” may be "2018-09-26 13:46:00-2018-09-26 13:47:00” or "2018-09-26 13:46”.
- Constraint condition of the network slice performance indicator refers to quantization constraint or a quantization requirement for the value of the network slice performance indicator within a time range for providing statistics, and is usually represented by using a value range, or may be represented by using a specific value.
- a constraint condition of the indicator "latency” may be "a quantity of occurrence times that the latency exceeds 50 ms is less than 10".
- the constraint condition of the network slice performance indicator is usually a result agreed with the operator in a process in which the customer subscribes to the network slice instance.
- the statistics value of the network slice performance indicator refers to a result obtained by providing statistics on a value that is of the network slice performance indicator and whose sampling time or obtaining time falls within a time range for providing statistics according to a specific method for providing statistics.
- the method for providing statistics may be a method for providing statistics unrelated to the constraint condition, for example, calculating an average value or a weighted average value, or may be a method for providing statistics related to the constraint condition, that is, a method for providing statistics determined according to a parameter in the constraint condition.
- a type of the statistics value of the network slice performance indicator is not limited to that listed in Table 1.
- Table 1 Type Meaning Constraint condition Method for providing statistics Example of a statistics providing process Average value Average value of sampling values within a time range for providing statistics No constraint condition (charging based on the average value) Divide a sum of a plurality of sampling values within the time range for providing statistics by a total quantity of sampling times Sample a bandwidth for 10 times every day, namely, 300 times every month, and divide a sum of bandwidth values obtained through 300 samples by 300, to obtain the average value 89 M/s Maximum value Maximum value of sampling values within a time range for providing statistics No constraint condition (charging based on the maximum value) Determine the maximum value in a plurality of sampling values within the time range for providing statistics Sample end-to-end latency for 10 times every day, namely, 300 times every month, and select the maximum value 52 ms in the end-to-end latency obtained through 300 samples Minimum value Minimum value of sampling values within a time range for providing statistics No constraint
- the data corresponding to the network slice performance indicator may be the statistics value of the network slice performance indicator, or may be a combination of the sampling value of the network slice performance indicator and a corresponding sampling time, or may be a combination of the value of the network slice performance indicator and the time of the network slice performance indicator.
- the statistics value may be provided by the NSMF device 102 and then sent to the NSCF device 101, or the NSMF device 102 sends a combination of sampling values and a sampling time at a plurality of moments within a time range for providing statistics or within a plurality of time periods within a time range for providing statistics to the NSCF device 101, and then, the NSCF device 101 performs statistics providing or calculation to obtain the statistics value.
- the two cases are separately further described in subsequent embodiments of this application.
- the NSCF device 101 After receiving the data corresponding to the network slice performance indicator from the NSMF device 102, the NSCF device 101 performs charging on the network slice instance based on the data.
- the performing charging may include: generating a network slice charging data record based on the data, or calculating a fee for use of the network slice instance based on the data, where a method for calculating the fee for use of the network slice instance based on the data may include: obtaining a charging rule related to the network slice instance, and calculating the fee for use of the network slice instance based on the data and the charging rule.
- FIG. 2 is a flowchart of a method for performing charging on a network resource according to an embodiment of this application. The method is implemented based on the architecture in FIG. 1 .
- an NSMF device corresponds to the NSMF device 102 in FIG. 1
- an NSCF device corresponds to the NSCF device 101 in FIG. 1 .
- the method specifically includes the following steps.
- Step 201 The NSCF device determines a network slice performance indicator pfmArg that is used for performing charging on a network slice instance corresponding to nsiId.
- the NSCF device may determine a network slice performance indicator pfmArg that is used for performing charging on the network slice instance. For example, the NSCF device may obtain the network slice performance indicator from subscription information related to subscription to the network slice instance by a customer, or may obtain the network slice performance indicator from configuration information preset by an operator. A manner of obtaining the network slice performance indicator by the NSCF device is not limited in the embodiments of this application.
- the NSCF device may need to perform charging on the plurality of network slice instances.
- different network slice performance indicators of the plurality of network slice instances may be determined (considering that types of different network slice instances may be different, and correspondingly, network slice performance indicators may also be different). Therefore, a quantity of network slice instances is not limited in the embodiments of this application. However, for ease of description, in the embodiments of this application, a single network slice instance is taken as an example for description.
- a quantity of network slice performance indicators is not limited in the embodiments of this application.
- a single network slice performance indicator is mainly taken as an example for description.
- Step 202 The NSCF device sends a first message to the NSMF device, where the first message includes nsiId and pfmArg.
- the NSCF device includes an identifier nsiId of the network slice instance and the network slice performance indicator pfmArg in the first message, and sends the first message to the NSMF device, to request the NSMF device to provide data corresponding to the network slice indicator pfmArg of the network slice instance.
- the network slice performance indicator pfmArg is an optional parameter, and may be a name of the network slice performance indicator.
- the NSMF device determines the parameter.
- the identifier nsiId of the network slice instance may be s-NSSAI (Single Network Slice Selection Assistance Information, single network slice selection assistance information) of the network slice instance, or may be other information used to identify the network slice instance. This is not limited in the embodiments of this application. For ease of description, in the embodiments of this application, s-NSSAI is taken as an example for description. Details are not described below.
- the NSCF device may further include an address for receiving data in the first message, so that the NSMF device may subsequently send, to the NSCF device based on the address, the data corresponding to the network slice indicator of the network slice instance.
- the NSCF device may further include a time range for providing statistics in the first message, so that the NSMF device provides statistics on one or more values of the network slice performance indicator pfmArg within the time range, to obtain a statistics value of the network slice performance indicator.
- the time range for providing statistics can be determined based on the subscription information of the customer or an account balance of the customer. This is further separately described in subsequent embodiments of this application.
- the NSCF device may further include a method for providing statistics in the first message, so that the NSMF device provides statistics on the one or more values of the network slice performance indicator in the time range for providing statistics by using the method for providing statistics, to obtain the statistics value of the network slice performance indicator.
- the first message may be a subscription request message.
- the subscription request message is used to request the NSMF device to create a subscription resource for the network slice instance.
- the subscription resource is used to manage a subscription (including querying, updating, and deleting the subscription).
- the subscription resource has a unique identifier, and the identifier may be generated by the NSMF device based on the subscription request message when the NSMF device receives the subscription request message, or may be carried in the subscription request message after the NSCF device generates the identifier.
- the NSMF device obtains, based on the subscription resource, the data corresponding to the network slice performance indicator, and generates and sends the subscription notification message.
- the NSMF device may send the subscription notification message to the NSCF device based on the address for receiving data.
- the first message may include a plurality of network slice instance identifiers and one or more corresponding network slice performance indicators.
- nsiId may be replaced with a customer identifier, or may be replaced with a combination of the customer identifier and a network slice instance identifier corresponding to the customer identifier.
- Step 203 The NSMF device obtains the data pfmArgData corresponding to the network slice performance indicator.
- the NSMF device After receiving the first message, the NSMF device obtains, based on nsiId and pfmArg in the first message, the data pfmArgData corresponding to the network slice performance indicator pfmArg in the network slice instance whose identifier is nsiId. If the first message does not include pfmArg, the NSMF device determines pfmArg, and the NSMF device may determine pfmArg based on the subscription information of the customer or the configuration information preset by the operator. Optionally, the NSMF device may start a periodically running or continuously running task to obtain the data.
- pfmArgData may be the statistics value of the network slice performance indicator whose indicator name is pfmArg, or may be a sampling value of the network slice performance indicator, or a combination of a sampling value and a sampling time that are of the network slice performance indicator. This is further separately described in subsequent embodiments of this application.
- the statistics value may be a result obtained by the NSMF device by providing statistics on a value of the network slice performance indicator whose indicator name is pfmArg within the time range for providing statistics.
- the statistics value may be a result obtained by the NSMF device by providing, according to the method for providing statistics, statistics on the value of the network slice performance indicator whose indicator name is pfmArg within the time range for providing statistics. This is further described in subsequent embodiments of this application.
- the NSMF device after receiving the first message, the NSMF device correspondingly returns a response message for the first message.
- Step 204 The NSMF device sends a second message to the NSCF device, where the second message includes pfmArgData.
- the NSMF device uses the second message to carry pfmArgData obtained in step 203, and sends the second message to the NSCF device.
- the NSMF device may send pfmArgData to the NSCF device based on the address for receiving data in step 202.
- the second message is a subscription notification message.
- Step 205 The NSCF device performs, based on pfmArgData, charging on the network slice instance corresponding to nsiId.
- charging on the network slice instance whose identifier is nsiId specifically includes: generating a network slice charging data record based on pfmArgData, or directly calculating a fee for use of the network slice instance based on pfmArgData.
- pfmArgData may be the statistics value, or may be the sampling value or the combination of the sampling value and the sampling time.
- the NSCF device may write each group of combinations of the sampling value and the sampling time into a data record (first charging data record) of the network slice instance corresponding to nsiId, and subsequently perform fee calculation based on the first data record.
- the NSCF device may further determine a corresponding time range for providing statistics and a method for providing statistics, provide statistics on a plurality of combinations of the sampling value and the sampling time in the indicator sampling value charging data record according to the method for providing statistics, to obtain the statistics value of pfmArg, and further calculate the fee for use of the network slice instance corresponding to nsiId by using the statistics value.
- the NSCF device may write the statistics value into a data record (second charging data record) of the network slice instance corresponding to nsiId, and subsequently perform fee calculation based on the second data record.
- the NSCF device may directly calculate the fee for use of the network slice instance corresponding to nsiId by using the statistics value.
- Table 2 shows the charging process and a corresponding example application scenario.
- Table 2 Value of pfmArgData Adoptable operation Example application scenario Statistics value of an indicator pfmArg within a time range for providing statistics
- An NSCF device generates or obtains a charging data record for statistics value of the indicator, and stores the statistics value in the charging data record; and Subsequently, the NSCF device or another network entity calculates a fee for use of a network slice instance based on the statistics value in the charging data record.
- Offline charging scenario Postpaid charging scenario Statistics value of an indicator pfmArg within a time range for providing statistics An NSCF device calculates a fee for use of a network slice instance based on the statistics value Online charging scenario Prepaid charging scenario Sampling value and sampling time of an indicator pfmArg An NSCF generates or obtains a charging data record for sampling value of the indicator, and stores the sampling value and the sampling time in the charging data record; and Subsequently, the NSCF device or another network entity calculates a corresponding statistics value based on the sampling value in the charging data record, and calculates a fee for use of the network slice instance based on the statistics value.
- Offline charging scenario Postpaid charging scenario Postpaid charging scenario
- the NSCF device may first obtain a related charging rule, and then calculate the fee for use of the network slice instance according to the charging rule and the statistics value. For example, it is assumed that the charging rule configured by the operator for a network slice template is "if accumulated end-to-end latency exceeds 50 ms for more than 10 times, a monthly rental is reduced by half". If pfmArg is "latency”, and the statistics value of pfmArg is "11 times", use of the network slice instance is charged at a charging rate of 50%.
- the NSCF device may obtain the charging rule from the subscription information of the customer. Calculation of the fee for use of the network slice instance is further described in subsequent embodiments of this application.
- the NSCF after receiving the second message, the NSCF correspondingly returns a response message of the second message.
- Step 206 The NSCF device determines a factor for update related to pfmArg.
- the NSCF device may determine the factor for update related to the network slice performance indicator pfmArg.
- the factor for update includes but is not limited to a change of the time range for providing statistics, a change of the method for providing statistics, a change of the network slice performance indicator, and the like.
- Step 207 The NSCF device sends a third message to the NSMF device, where the third message includes the factor for update.
- the NSCF device may send the factor for update to the NSMF device by using the third message, so that the NSMF device performs a corresponding change based on the third message, to meet a requirement of the NSCF device for subsequently performing charging.
- the third message is a subscription update request message for a subscription resource.
- the subscription update request message is used to update the subscription resource.
- the subscription update request message includes any one or any combination of a target time range for providing statistics, a target interval time, a target method for providing statistics, and a target network slice performance indicator.
- Step 208 The NSMF device performs an update operation.
- the NSMF device receives the third message, and performs the update operation based on the factor for update in the third message, for example, adjusts the time range for providing statistics or changes the method for providing statistics.
- the NSMF device After performing the update operation, the NSMF device sends, to the NSCF device, the data that corresponds to the network slice performance indicator and that exists before the update operation.
- the NSMF device after receiving the third message, the NSMF device correspondingly returns a response message of the third message.
- the NSMF device sends, to the NSCF device, the data that corresponds to the network slice performance indicator and that exists before the subscription resource is updated. Specifically, the NSMF device may add, to a response message of the subscription update request message, the data that corresponds to the network slice performance indicator and that exists before the subscription resource is updated. Alternatively, the response message of the subscription update request message does not carry the data that corresponds to the network slice performance indicator and that exists before the subscription resource is updated, but after sending the response message, the NSMF device sends, to the NSCF device, a notification message that carries the data that corresponds to the network slice performance indicator and that exists before the subscription resource is updated.
- Step 209 The NSCF device determines that the data corresponding to pfmArg is no longer needed.
- This step is optional. Specifically, when it is determined that the subscription of the customer is about to expire or has expired, the NSCF device may determine that the data corresponding to pfmArg is no longer needed.
- Step 210 The NSCF device sends a fourth message to the NSMF device.
- the NSCF device may send the fourth message to the NSMF device, to indicate to the NSMF device that the data corresponding to pfmArg is no longer needed.
- the fourth message is an unsubscription request message related to the subscription resource.
- Step 211 The NSMF device performs a cancellation operation.
- the NSMF device receives the fourth message, and performs the cancellation operation, for example, stops or deletes a task created for obtaining the data corresponding to pfmArg.
- the NSMF after receiving the fourth message, the NSMF correspondingly returns a response message of the fourth message.
- the NSMF device sends, to the NSCF device, the data that corresponds to the network slice performance indicator and that exists before unsubscription related to the subscription resource.
- the NSMF device may add, to a response message of the unsubscription request message, the data that corresponds to the network slice performance indicator and that exists before unsubscription related to the subscription resource.
- the response message of the unsubscription request message does not carry the data that corresponds to the network slice performance indicator and that exists before unsubscription related to the subscription resource, but after sending the response message, the NSMF device sends, to the NSCF device, a notification message that carries the data that corresponds to the network slice performance indicator and that exists before unsubscription related to the subscription resource.
- charging on the network slice instance may be performed based on the data corresponding to the network slice performance indicator. Because the data corresponding to the network slice performance indicator is concerned about by the customer and can better reflect an investment of the operator, this method helps improve a matching degree between a charging result and a network resource investment, so as to help implement diversified application scenarios, and further help improve network resource utilization rate or quality of service of a network service.
- FIG. 3 is an architectural diagram of another charging system according to an embodiment of this application.
- the charging system includes an NSCF device 301 (corresponding to the NSCF device 101 in FIG. 1 ), an NSMF device 302 (corresponding to the NSMF device 102 in FIG. 1 ), and a subscription entity 303.
- NSCF device 301 corresponding to the NSCF device 101 in FIG. 1
- NSMF device 302 corresponding to the NSMF device 102 in FIG. 1
- subscription entity 303 Brief functions of the NSCF device 301, the NSMF device 302, and the subscription entity 303 are separately described as follows:
- the NSCF device 301 is deployed on a convergent charging server or deployed independently, and is configured to obtain information about a network slice instance and subscription information of a customer from the subscription entity 303, determine a network slice performance indicator, a time range for providing statistics, and a method for providing statistics based on the subscription information, subscribe to, from the NSMF device 302, data corresponding to the network slice performance indicator of the network slice instance, and perform charging on the network slice instance based on the data and the subscription information.
- the NSMF device may send the information about the network slice instance to the NSCF device via the subscription entity, or the NSMF device may directly send the information about the network slice instance to the NSCF device, for example, an identifier of the network slice instance, a creation time of the network slice instance, and a current status (for example, created or activated) of the network slice instance.
- the NSMF device 302 is configured to provide the NSCF device 301 with the data corresponding to the network slice performance indicator of the network slice instance, including a sampling value or a statistics value of the indicator.
- the subscription entity 303 is configured to receive a network slice subscription request from a terminal of the customer, notify the NSMF device 302 to enable the network slice instance, and send the subscription information and the information about the network slice instance to the NSCF device 301, so that the NSMF device 301 can perform charging on the network slice instance.
- the subscription entity 303 is a functional module, and may be deployed on a CRM (Customer Relationship Management, customer relationship management) server, or may be deployed on another device.
- CRM Customer Relationship Management, customer relationship management
- FIG. 4A and FIG. 4B are a flowchart of another method for performing charging on a network resource according to an embodiment of this application.
- the method is implemented based on the architecture shown in FIG. 3 .
- an NSMF device corresponds to the NSMF device 302 in FIG. 3
- an NSCF device corresponds to the NSCF device 301 in FIG. 3
- a subscription entity corresponds to the subscription entity 303 in FIG. 3 .
- the NSMF device is responsible for providing statistics and transmitting a statistics value of a network slice performance indicator to the NSCF device, and then the NSCF device performs charging on a network slice instance based on the statistics value.
- the method specifically includes the following steps.
- Step 401 The subscription entity receives a network slice subscription request from a terminal of a customer.
- the customer may submit the network slice subscription request to the subscription entity by using a terminal (for example, a mobile phone terminal or a notebook computer, by using a browser, or by using another channel) of the customer.
- the subscription request includes requirement information of the customer for network performance of a network slice, the requirement information may include a network slice type, a network slice performance indicator requirement, and the like.
- the subscription entity may provide a plurality of network slice types, so that the network slice types are displayed on a customer terminal for the customer to select.
- the subscription entity may provide three types for the customer to select: an eMBB type (a small quantity of devices but a high bandwidth requirement), a URLLC type (an extremely low end-to-end latency is required), and an mMTC type (a small bandwidth but a large quantity of devices).
- the customer may further specify a constraint condition (the value in the condition may be a specific value or a range value) of a network slice performance indicator. For example, if the customer selects a network slice of the eMBB type, the customer may further specify that a bandwidth of the network slice instance is higher than 1000 G. If the customer selects a network slice of the URLLC type, the customer may further specify that a maximum latency of the network slice instance is less than 5 milliseconds. If the customer selects a network slice of the eMTC type, the customer may further specify that a quantity of concurrent PDU sessions of the network slice instance is greater than 1 million.
- the foregoing "bandwidth”, "a maximum latency", and “quantity of concurrent PDU sessions" are all network slice performance indicators.
- the customer may specify a constraint condition corresponding to each network slice performance indicator.
- one indicator is taken as an example for description.
- the subscription entity may further provide a network slice template for the customer to select or a network slice template serves as a basis for the customer to modify.
- a network slice type may have a plurality of network slice templates, and each network slice template has a preset constraint condition of a network slice performance indicator.
- a network slice template may be:
- the customer may select the foregoing template, and modify, based on the foregoing template, a network slice requirement that matches a service operated by the customer.
- the template is modified to:
- the customer determines a charging rule corresponding to the network slice instance.
- the charging rule includes a charging method corresponding to a statistics value of the network slice performance indicator. The following are examples for different statistics values.
- the statistics value is a fulfillment degree.
- Table 3 shows an example of a correspondence between the fulfillment degree and the charging method.
- the correspondence between the fulfillment degree and the charging method may alternatively be in a form of an expression, a formula, or a function, but is essentially a mapping relationship or a correspondence.
- the statistics value is non-fulfillment duration.
- the customer specifies that a constraint condition is "end-to-end latency is less than 5 ms in an entire process", but accumulated duration that the end-to-end latency is greater than 5 ms (non-fulfillment) achieves 100 hours, and the 100 hours are the non-fulfillment duration.
- Table 4 shows a correspondence between the non-fulfillment duration and the charging method.
- Table 4 Non-fulfillment duration Charging method (Charging rate) Meaning 0-15 0.9 If the non-fulfillment duration is within 15 hours, a charging rate of 0.9 (10% discount) is used.
- the correspondence between the non-fulfillment duration and the charging method may alternatively be in a form of an expression, a formula, or a function.
- the statistics value is accumulated quantity of non-fulfillment times.
- the customer specifies that a constraint condition is" end-to-end latency is less than 5 ms in an entire process", but actual accumulated occurrence times that the end-to-end latency is greater than 5 ms reaches 60, and the 60 are the accumulated quantity of non-fulfillment times.
- the correspondence between the accumulated quantity of non-fulfillment times and the charging method may be similar to the correspondence between the fulfillment degree and the charging method, and is not further described.
- the charging rule is merely an example. In the embodiments of this application, another charging rule in which charging is performed based on a value of the network slice performance indicator is not excluded.
- the subscription entity may create and store network slice subscription information.
- a subscription period namely, a time range in which the network slice instance is to be used or a charging period of the network slice instance, which is usually a range of time.
- a value of a "charging rule” field may be a text character string converted from the charging rule (for example, the content in Table 3), and the character string may be in an XML (Extensible Markup Language, extensible markup language) format, a JSON (JavaScript object notation, JavaScript object notation) format, or another text format, or may be a computer-executable script, or may be data in a binary format converted from the charging rule (for example, the content in Table 2). This is not limited in the embodiments of this application.
- the customer described in the embodiments of this application may be an industry customer or an enterprise customer that has a plurality of user equipments, for example, a bicycle sharing enterprise or a taxi company, or may be a natural person customer, which is referred to as a customer in the embodiments of this application for ease of description.
- Step 402 The subscription entity notifies the NSMF device to enable a network slice service.
- the subscription entity may send, to the NSMF device, a slice service enabling notification.
- the slice service enabling notification may include the slice type and the constraint condition in the network slice subscription information, so that the NSMF device creates a network slice instance that meets a requirement of the customer.
- the subscription entity may further include a customer identifier in the slice service enabling notification, so that the NSMF device subsequently establishes a correspondence between the created network slice instance and the customer identifier.
- Step 403 The NSMF device creates the network slice instance for the customer.
- the NSMF device receives the network slice enabling notification from the subscription entity, creates a corresponding network slice instance based on the network slice type and the constraint condition in the notification, and allocates a unique identifier, namely, a network slice instance identifier, to the corresponding network slice instance.
- the NSMF device may allocate the newly created network slice instance to the customer, in other words, establish a correspondence between the network slice instance identifier and the customer identifier.
- the NSMF device may alternatively check whether a network slice instance that can meet a requirement of the customer exists in a network. If it is determined that the network slice instance exists and can be allocated to the customer, the NSMF device may directly allocate the existing network slice instance to the customer. In this way, a process of creating a new network slice instance can be omitted.
- the NSMF device may obtain the customer identifier from the network slice notification message.
- Step 404 The NSMF device returns information about the network slice instance to the subscription entity.
- the NSMF device may return a network slice enabling response to the subscription entity.
- the response may include information indicating that the network slice is successfully created and the information about the network slice instance, and the information may include the network slice instance identifier and the creation time of the network slice instance.
- Step 405 The subscription entity sends the network slice subscription information and the information about the network slice instance to the NSCF device.
- the subscription entity may send a subscription information notification to the NSCF device, and the notification includes the network slice subscription information in step 401 and the information about the network slice instance in step 404.
- Step 404 and step 405 may be understood as that the NSMF device may send the information about the network slice instance to the NSCF device via the subscription entity.
- the NSMF device may directly send the information about the network slice instance to the NSCF device, for example, an identifier of the network slice instance, the creation time of the network slice instance, and the current status (for example, created or activated) of the network slice instance.
- Step 406 The NSCF device determines a network slice performance indicator pfmArg1.
- the NSCF device may determine the network slice performance indicator pfmArg1 based on the slice type and/or the constraint condition included in the subscription information notification.
- the subscription information is as follows:
- Content of the field "charging rule” may include the charging method corresponding to the indicator satisfaction situation described in step 401.
- this step is optional, and the subscription indicator pfmArg1 may also be determined by the NSMF device in a subsequent step by using a method similar to this step.
- Step 407 The NSCF device determines a time range for providing statistics timRng1 or a method for providing statistics staMtd1.
- the NSCF device may determine the time range for providing statistics timRng1 and the method for providing statistics staMtd1 of the network slice performance indicator based on any one or any combination of the network slice subscription information, the information about the network slice instance, information preconfigured by an operator, and account balance information of the customer.
- the network slice subscription information the information about the network slice instance
- information preconfigured by an operator information preconfigured by an operator
- account balance information of the customer may be determined from any one or any combination of the network slice subscription information, the information about the network slice instance, information preconfigured by an operator, and account balance information of the customer. The following is an example.
- the NSCF device may determine the time range for providing statistics timRng1 of the network slice performance indicator based on the "network slice instance creation time” field and the "subscription period” field in the network slice subscription information. For example, the NSCF device may determine a current charging period based on the "network slice instance creation time” field and the "subscription period” field, and use a time range corresponding to a current charging period as the time range for providing statistics, or may use a part of a time range (for example, February 2018) in the current charging period (for example, a first quarter of 2018) as the time range for providing statistics. Alternatively, the NSCF device may determine the time range for providing statistics timRng1 of the network slice performance indicator based on the account balance information of the customer.
- the NSCF device may determine, based on the account balance information of the customer, that the customer may further use the network slice instance of the customer for a maximum of 60 days. In this case, the NSCF device may determine that the time range for providing statistics is within 60 days after a current time. The NSCF device may also determine the time range for providing statistics timRng1 based on the subscription information and the balance information.
- the NSCF device may determine, based on the subscription information, that the time range for providing statistics is within 30 days after the current time, but because an account balance of the customer is insufficient for using the network slice instance for 30 days, for example, if only 15 days are available, the NSCF device may determine that the time range for providing statistics timRng1 is within 15 days after the current time.
- the NSCF device may determine the time range for providing statistics based on a charging period (for example, first and last dates of a natural month) uniformly preconfigured by the operator for different network slice instances.
- a charging period for example, first and last dates of a natural month
- the NSCF device may determine the method for providing statistics staMtd1 based on a previously determined name of the network slice performance indicator. Taking the "average bandwidth" as an example, the NSCF device may determine, based on the name of the indicator, that the method for providing statistics is "calculating the average value", and an average bandwidth value is obtained by dividing a sum of bandwidth values detected or obtained for a plurality of times by the plurality of times.
- the NSCF device may determine the method for providing statistics based on a parameter that is related to the method for providing statistics and that is preconfigured by the operator for each network slice performance indicator.
- the operator may preconfigure a weight of a holiday bandwidth, and the NSCF device may determine that the method for providing statistics is "calculating a weighted average value", and use a weighted average value of bandwidth values detected for a plurality of times as the average bandwidth value.
- the foregoing manner of determining the time range for providing statistics and the method for providing statistics is merely an example.
- a manner of determining the time range for providing statistics and the method for providing statistics by the NSCF device is not limited in the embodiments of this application.
- Step 408 The NSCF device sends a subscription request to the NSMF device, where the subscription request includes nsiId1 and pfmArg1, and may further include timRng1 and staMtd1.
- the NSCF device includes one or more of nsiId1, pfmArg1, timRng1, and staMtd1 in the subscription request, and sends the subscription request to the NSMF device.
- nsiId1 and pfmArg1 are respectively used to indicate that the NSMF device needs to obtain a statistics value of the network slice performance indicator corresponding to pfmArg1 of a network slice instance corresponding to nsiId1.
- the parameters timRng1 and staMtd1 are optional and used to specify the time range for providing statistics and the method for providing statistics of the corresponding indicator, so that the NSMF device samples the indicator pfmArg1 within the time range for providing statistics indicated by timRng1, and provides statistics on a sampling value according to the method for providing statistics described by staMtd1, to obtain the statistics value.
- the NSMF device determines the time range for providing statistics and the method for providing statistics.
- a form of the method for providing statistics staMtd1 in the subscription request message may be a form of a digital identifier or a character identifier (for example, "001" or “avrg” is used to represent "calculating an average value"), or may be a computer-executable script, code, a formula, a function, or the like. This is not limited in the embodiments of this application. Any form in which the NSMF device can determine the method for providing statistics to be used falls within the meaning of the solutions in the embodiments of this application.
- the NSCF device may further include, in the subscription request, an address for receiving a subscription notification, so that the NSMF device may subsequently send the subscription notification to the NSCF device based on the address.
- the NSCF device may further include the customer identifier in the subscription request message, so that the NSMF device subsequently determines an identifier of a corresponding network slice instance based on the customer identifier.
- the NSCF device may further include a condition for sending a notification in the subscription request message, so that the NSMF device subsequently sends a subscription notification to the NSCF device based on the condition, to meet a charging requirement.
- the condition for sending the notification includes any one or any combination of the following: a period or an interval time for sending the subscription notification, a specific time point for sending the subscription notification, triggering by a key event (for example, modification of the network slice instance subscribed by the customer, or an unexpected interruption), and the like.
- the NSCF device may obtain an address of the NSMF device by querying a network register function (Network Register Function, NRF) device, or may obtain the address of the NSMF device from locally preconfigured information, and send the subscription request to the address.
- NRF Network Register Function
- subscription The following is an example structure of the subscription request message: subscription:
- Step 409 The NSMF device returns a subscription response to the NSCF device, where the subscription response includes subId1.
- the NSMF device After receiving the subscription request, the NSMF device generates a subscription resource, allocates an identifier subId1 to the subscription resource, and returns the subscription response to the NSCF device, to indicate to the NSCF device that the subscription succeeds.
- the NSMF device includes the subscription identifier subId1 in the subscription response, so that the NSCF device can use the subscription identifier subId1 in subsequent processes such as requesting to update the subscription, requesting to unsubscribe to, and querying subscription information. For details, refer to subsequent embodiments of this application.
- the NSMF device obtains, in the specified time range (timRng1), the statistics value of the network slice performance indicator pfmArg1 of the network slice instance whose identifier is nsiId1 by using the specified method for providing statistics (staMtd1).
- the NSMF device may determine the time range for providing statistics or the method for providing statistics based on the information preconfigured by the operator.
- the preconfigured information may be set as follows: A default time range for providing statistics is from a first day of a natural month to a last day of the natural month, and the default method for providing statistics is to obtain an average value through a plurality of times of sampling.
- Step 410 The NSMF device obtains a sampling value pfmArgSmp1 and a sampling time pfmArgTim1 of the network slice performance indicator.
- the NSMF device samples, at a preset time interval in the time range timRng1, a value of the network slice performance indicator pfmArg1 of the network slice instance whose identifier is nsiId1 for a plurality of times, to obtain a plurality of groups of sampling values pfmArgSmp1 and a corresponding sampling time pfmArgTim1.
- the NSMF device may alternatively obtain the time range timRng1 from configuration information preset by the operator. In this case, the NSCF device may not provide the timRng1 in step 408.
- the subscription request message may further include an interval time, so that the interval time may be used to replace the preset time interval in this step.
- Step 411 The NSMF device calculates a statistics value pfmArgSta1 of the network slice performance indicator.
- the NSMF device may provide, according to the method for providing statistics staMtd1 received in step 408, statistics on the plurality of groups of sampling values pfmArgSmp1 and the sampling time pfmArgTim1 obtained in step 410, or provide statistics according to the method for providing statistics determined by the NSMF device (in this case, the NSCF device may not need to provide staMtd1 in step 408), to obtain the statistics value pfmArgSta1.
- the NSMF device may determine the method for providing statistics based on a name of pfmArg1. For details, refer to a manner of determining the method for providing statistics by the NSCF device in step 407.
- the NSMF device may provide statistics at an end moment of the time range for providing statistics.
- An execution moment of the statistics providing operation of the NSMF device is not limited in the embodiments of this application.
- Step 412 The NSMF device sends the subscription notification to the NSCF device, where the subscription notification includes pfmArgSta1.
- the NSMF device includes pfmArgSta1 in the subscription notification, and sends the subscription notification to the NSCF device.
- the NSMF device may send the subscription notification to the NSCF device based on the address that is sent by the NSCF device and that is for receiving the subscription notification.
- the NSMF device may further include the time range for providing statistics timRng1 in the subscription notification, so that the NSCF device determines that the statistics value pfmArgSta1 is a statistical result within the time range timRng1.
- Step 413 The NSCF device performs charging on the network slice instance based on pfmArgSta1.
- the NSCF device After receiving the subscription notification from the NSMF device, the NSCF device performs, based on pfmArgSta1 in the subscription notification, charging on the network slice instance corresponding to nsiId1. This may be specifically one of the following processing manners.
- the NSCF device may create a charging data record for a corresponding customer or the network slice instance corresponding to nsiId1 (if the charging data record exists, the charging data record does not need to be created), and then write pfmArgSta1 into the charging data record.
- the NSCF device may further write nsiId1 and/or an identifier of the corresponding customer into the charging data record.
- the NSCF device may further correspondingly store the time range for providing statistics corresponding to pfmArgSta1 and pfmArgSta1 in the charging data record, and as shown in Table 5, the NSCF device may calculate a fee for use of the network slice instance based on different charging factors (for example, a discount provided in a discount activity) in different charging periods.
- the NSCF device may obtain the time range for providing statistics corresponding to pfmArgSta1 from the subscription notification, or may determine the time range for providing statistics corresponding to pfmArgSta1 based on time at which that the subscription notification is received.
- Table 5 lists an example charging data record.
- Table 5 Data record for storing a statistics value of an indicator Network slice instance identifier nsiId1 Customer identifier 1381234567 Start time End time Indicator name Statistics value 20181001 20181031 Average bandwidth 300 M 20181001 20181031 Maximum latency 50 ms
- the NSCF device may transmit the charging data record to a module or a network entity responsible for calculating a fee, and the module or the network entity calculates the fee for use of the network slice instance corresponding to nsiId1.
- the module or the network entity responsible for calculating the fee may be deployed on the NSCF device (equivalent to that the NSCF device may further calculate the fee for use of the network slice instance based on the charging data record of the statistics value of the indicator subsequently. For details, refer to the following manner 2), or may be deployed outside the NSCF device.
- the NSCF device may calculate, based on the statistics value pfmArgSta1, the fee for use of the network slice instance corresponding to nsiId1.
- the NSCF device may first obtain a charging rule chgPol1 corresponding to the network slice instance corresponding to nsiId1, and may specifically obtain the charging rule chgPol1 from the network slice subscription information in step 401, or may obtain the charging rule chgPol1 from the information preconfigured by the operator.
- a path for obtaining the charging rule by the NSCF is not limited in the embodiments of this application.
- the NSCF device may calculate the fee for use of the network slice instance corresponding to nsiId1. For example, assuming that the charging rule chgPol1 is shown in Table 4, the NSCF device may search Table 4 for a corresponding charging method or charging rate according to a specific value of pfmArgSta1, to calculate the fee for use of the network slice instance.
- a subscription-notification mechanism is used, the NSMF device completes sampling and statistics providing of the network slice performance indicator, and the NSCF device completes charging based on the statistics value.
- An advantage of this method is that the sampling value of the network slice performance indicator does not need to be frequently transferred between the NSMF device and the NSCF device. Therefore, occupation of a communication bandwidth between the NSMF device and the NSCF device can be reduced, and calculation burden on an NSCF device side can be reduced.
- FIG. 5A and FIG. 5B are a flowchart of still another method for performing charging on a network resource according to an embodiment of this application.
- the method is also implemented based on the architecture shown in FIG. 3 .
- an NSMF device corresponds to the NSMF device 302 in FIG. 3
- an NSCF device corresponds to the NSCF device 301 in FIG. 3
- a subscription entity corresponds to the subscription entity 303 in FIG. 3 .
- the NSMF device transmits a sampling value/sampling time (not a statistics value) of a network slice performance indicator to the NSCF device, and the NSCF device performs charging on a network slice instance based on the sampling value/sampling time.
- the method specifically includes the following steps.
- Step 501 to step 506 are similar to step 401 to step 406.
- a difference lies in that a network slice instance identifier is changed to nsiId2, and a network slice performance indicator is changed to pfmArg2.
- Step 507 The NSCF device determines a time range for providing statistics timRng2, a method for providing statistics staMtd2, and an interval time intv.
- a method for determining timRng2 and staMtd2 is similar to step 407.
- the NSCF device may further determine the interval time intv, and include intv in the subscription request.
- the interval intv is used to indicate a time interval for the NSMF device to sample pfmArg2 (namely, a time interval between two consecutive times of sampling the indicator pfmArg2).
- the NSCF device may also determine timRng2, staMtd2, intv, and the like in a subsequent step, for example, in step 512.
- Step 508 The NSCF device sends the subscription request to the NSMF device, where the subscription request includes nsiId2 and pfmArg2.
- the subscription request may further include intv.
- the NSCF device includes the network slice instance identifier nsiId2 and the network slice performance indicator pfmArg2 in the subscription identifier.
- the NSCF device may further include the interval time intv determined in step 507 in the subscription request, so that the NSMF device may determine a time interval for sampling the network slice performance indicator pfmArg2.
- subscription The following is an example structure of the subscription request message: subscription:
- Step 509 The NSMF device returns a subscription response to the NSCF device, where the subscription response includes subId2.
- This step is similar to step 409.
- Step 510 The NSMF device obtains a sampling value pfmArgSmp2 and a sampling time pfmArgTim2 of the network slice performance indicator.
- This step is similar to step 410.
- the NSMF device records the sampling time pfmArgSmpTim2 corresponding to the sampling value pfmArgSmp2, and a value of the sampling time pfmArgSmpTim2 may be a specific time point, or may be a time period.
- a value of the sampling time pfmArgSmpTim2 may be a specific time point, or may be a time period.
- Step 511 The NSMF device sends a subscription notification to the NSCF device, where the subscription notification includes pfmArgSmp2 and pfmArgTim2.
- the NSMF device includes pfmArgSmp2 in the subscription notification, and sends the subscription notification to the NSCF device.
- the NSMF device may send the subscription notification to the NSCF device based on the address that is sent by the NSCF device and that is for receiving the subscription notification.
- the NSMF device may also include the sampling time pfmArgTim2 in the subscription notification, so that the NSCF device learns of a sampling time corresponding to each sampling value pfmArgSmp2, to perform statistics providing.
- Step 512 The NSCF device performs charging on the network slice instance based on pfmArgSmp2 and pfmArgTim2.
- the NSCF device After receiving the subscription notification from the NSMF device, the NSCF device performs, based on the sampling value pfmArgSmp2 of the network slice performance indicator pfmArg2 and the sampling time pfmArgTim2 of the network slice performance indicator pfmArg2, charging on the network slice instance corresponding to nsiId2. If the subscription notification does not include pfmArgTim2, the NSCF device may use a time at which the subscription notification is received as the sampling time pfmArgTim2.
- That the NSCF device performs charging on the network slice instance corresponding to nsiId2 may be specifically: writing pfmArgSmp2 and pfmArgTim2 into a data record.
- the NSCF device may create an indicator sampling value charging data record (if the indicator sampling value charging data record exists, the NSCF device does not need to create the indicator sampling value charging data record) for a corresponding customer or the network slice instance corresponding to nsiId2, and then correspondingly store pfmArgSmp2 and pfmArgTim2 in the charging data record.
- the NSCF correspondingly stores the sampling time pfmArgTim2 and pfmArgSmp2 in the charging data record.
- An advantage of this operation is that the NSCF device may subsequently determine whether each sampling value pfmArgSmp2 is within the time range for providing statistics timRng2 (or within a charging period).
- the NSCF device may further write nsiId2 and/or an identifier of the corresponding customer into the charging data record.
- a form of the foregoing charging data record may be shown in Table 6.
- the NSCF device may transmit the charging data record to a module or a network entity responsible for calculating a fee, and the module or the network entity calculates a fee for use of the network slice instance corresponding to nsiId2.
- the module or the network entity responsible for calculating the fee may be deployed on the NSCF device, or may be deployed outside the NSCF device.
- Table 6 Data record for storing a sampling value of an indicator Network slice instance identifier nsiId2 Customer identifier 1381234567 Sampling start time Sampling end time Indicator name Sampling value 20181001-00:00:00 20181001-00:00:05 Bandwidth 298 M 20181001-00:00:00 20181001-00:00:05 Quantity of concurrent sessions 1.23 million
- the NSCF device may read the sampling value within the time range for providing statistics timRng21 (or the charging period) from the charging data record, calculate a statistics value of the network slice performance indicator pfmArg2 according to the determined method for providing statistics staMtd2 by referring to the method in step 411, and further calculate the fee for use of the network slice instance corresponding to nsiId2 by referring to the method in step 413 (the manner 2). Therefore, the operation of obtaining or determining the time range for providing statistics timRng2 and the method for providing statistics staMtd2 in step 507 may alternatively be delayed before the statistics providing operation.
- the NSCF device collects a large amount of performance data of the network slice instance. This helps carry out a richer and more flexible charging service. For example, for a very important customer, a new method for providing statistics may be used to provide a new statistics value at a later stage, and the fee for use of the network slice instance is calculated based on the new statistics value and a new charging rule.
- the NSMF device only needs to be responsible for collecting/gathering the value of the network slice performance indicator, and does not need to involve a charging-related statistical operation. Therefore, calculation burden of the NSMF device may be reduced.
- the NSCF device may request the NSMF device to provide the sampling value of the network slice performance indicator, or may request the NSMF device to provide the statistics value of the network slice performance indicator.
- either of the two methods may be selected for implementation.
- both the two methods may be implemented at the same time, and a method for distinguishing between messages is provided. Specifically, when the two methods are implemented at the same time, there are two methods for distinguishing between messages. One method is to distinguish between messages based on a parameter in the message.
- the subscription message received by the NSMF device from the NSCF device includes the time range for providing statistics and/or the method for providing statistics, it may be determined that the NSCF device requests to provide the statistics value of the network slice performance indicator.
- the first message or the subscription message may include an indication parameter, for example, argValType, used to indicate whether the NSCF device requests the NSMF device to provide the statistics value of the network slice performance indicator or the sampling value of the network slice performance indicator.
- FIG. 6 is a flowchart of still another method for performing charging on a network slice instance according to an embodiment of this application. The method is also implemented based on the architecture shown in FIG. 3 .
- an NSMF device corresponds to the NSMF device 302 in FIG. 3
- an NSCF device corresponds to the NSCF device 301 in FIG. 3 .
- the NSCF device may request the NSMF device to update a subscription based on an update of the subscription of a customer.
- the method specifically includes the following steps.
- Step 601 The NSCF device determines to notify the NSMF device of a factor for update.
- the NSCF device determines to notify, based on the factor such as an update of subscription information that is of the customer and that is received from a subscription entity, or a change of an account balance of the customer, or the like, the factor for update to the NSMF device.
- the factor for update includes but is not limited to a network slice performance indicator, and a time range for providing statistics, a method for providing statistics, or a sampling interval time corresponding to the network slice performance indicator, and then a name-value pair list namValPairs is formed based on these factors for update.
- name-value pair "name” is used to indicate, to the NSMF device, a corresponding change
- value is used to indicate a change result to the NSMF device.
- a new indication parameter may be carried in a subscription update request, for example, immediatelyReporting, to indicate that data corresponding to the network slice performance indicator needs to be immediately reported (without waiting for an end of a period for providing statistics).
- the subscription update request does not carry any parameter, to indicate that the data corresponding to the network slice performance indicator needs to be immediately reported.
- Step 602 The NSCF device sends the subscription update request for a subscription resource to the NSMF device, where the subscription update request includes subId and namValPairs.
- the NSCF device sends the subscription update request to the NSMF device.
- the subscription update request includes a subscription identifier subId (for example, subId1 or subId2) that is received from the NSMF device and that is allocated by the NSMF device and namValPairs determined in the previous step, and namValPairs is an optional parameter.
- Step 603 The NSMF device obtains latest data befArgData corresponding to the network slice performance indicator.
- the NSMF device after receiving the subscription update request, the NSMF device first obtains latest data corresponding to the network slice performance indicator. If the NSCF device previously subscribes to a statistics value of the network slice performance indicator (as exemplified by the method corresponding to FIG. 4A and FIG. 4B ), the NSMF device obtains a latest statistics value befArgSta of the network slice performance indicator (for example, pfmArg1) previously subscribed to by the NSCF device.
- a time range for providing the latest statistics value befArgSta is from a start time point in a previous time range for providing statistics (for example, timRng1) to a current time point.
- the NSMF device obtains a sampling value befArgSmp that needs to be currently sampled and sent for the network slice performance indicator (for example, pfmArg2) subscribed to by the NSCF device. If the sampling value near the current time has been sent, or the NSCF device does not need the latest data corresponding to the network slice performance indicator, the NSMF device may not perform this step.
- Step 604 The NSMF device performs a subscription update operation related to the subscription resource based on namValPairs.
- the NSMF device changes a parameter in a previous subscription based on each namValPair in namValPairs. For example, the NSMF device changes a "method for providing statistics" to "obtaining a maximum value", and changes a "time range for providing statistics" to "20181001-20181015". In this way, a previously created task obtains the data corresponding to the network slice performance indicator based on the newly changed parameter.
- Step 605 The NSMF device sends a subscription update response message to the NSCF device, where the subscription update response message includes subId and befArgData.
- the NSMF device sends the subscription update response message to the NSCF device.
- the subscription update response message includes subId and befArgData, befArgData is optional, and a value of befArgData may be befArgSmp or befArgSta.
- Step 606 The NSMF device sends a notification to the NSCF device, where the notification includes befArgData.
- This step is optional.
- an alternative measure is that the NSMF device may alternatively send the notification to the NSCF device, where the notification includes befArgData.
- Step 607 The NSCF device performs charging on the network slice instance based on befArgData.
- the NSCF device After receiving the subscription response message or the notification message, the NSCF device performs charging on the network slice instance based on befArgData in the subscription response message or the notification message. If befArgData is befArgSta, refer to the execution process of step 413. If befArgData is befArgSmp, refer to the execution process of step 512.
- FIG. 7 is a flowchart of still another method for performing charging on a network slice instance according to an embodiment of this application. The method is also implemented based on the architecture shown in FIG. 3 .
- an NSMF device corresponds to the NSMF device 302 in FIG. 3
- an NSCF device corresponds to the NSCF device 301 in FIG. 3 .
- the NSCF device may request, based on subscription information of a customer or account balance information of the customer, the NSMF device to perform unsubscription related to the subscription resource.
- the method specifically includes the following steps.
- Step 701 The NSCF device determines to end subscription.
- the NSCF device determines to notify, based on a factor such as the subscription information of the customer or the account balance of the customer, the NSMF device to end the subscription.
- Step 702 The NSCF device sends an unsubscription request related to the subscription resource to the NSMF device, where the unsubscription request includes an identifier subId of the subscription resource.
- the NSCF device sends the unsubscription request related to the subscription resource to the NSMF device, and the unsubscription request includes the identifier subId (for example, subId1 or subId2) of the subscription resource that is previously received from the NSMF device and that is allocated by the NSMF device.
- subId for example, subId1 or subId2
- the subscription resource is the subscription resource in the steps 202, 409, and 509.
- Step 703 The NSMF device obtains latest data befArgData corresponding to the network slice performance indicator.
- This step is similar to step 603.
- the NSMF device may stop and delete a task previously created for obtaining the data corresponding to the network slice performance indicator, to recycle a computing resource occupied by the task.
- Step 705 The NSMF device sends an unsubscription response message to the NSCF device, where the unsubscription response message includes subId and befArgData.
- This step is similar to step 605.
- Step 706 The NSMF device sends a notification to the NSCF device, where the notification includes befArgData.
- This step is similar to step 606.
- Step 707 The NSCF device performs charging on a network slice instance based on befArgData.
- This step is similar to step 607.
- FIG. 8 is a structural diagram of hardware of an NSCF device or an NSMF device according to an embodiment of this application. All NSCF devices (for example, 101 in FIG. 1 and 301 in FIG. 3 ) and all NSMF devices (for example, 102 in FIG. 1 or 302 in FIG. 3 ) in the embodiments of this application may use general-purpose computer hardware shown in FIG. 8 .
- the general-purpose computer hardware includes a processor 801, a memory 802, a bus 803, an input device 804, an output device 805, and a network interface 806.
- the input device 804 and the output device 805 are optional.
- the memory 802 may include a computer storage medium in a form of a volatile and/or nonvolatile memory, for example, a read-only memory and/or a random access memory.
- the memory 802 can store an operating system, an application program, another program module, executable code, and program data.
- the input device 804 may be configured to input information to facilitate a system administrator to operate and manage the device, for example, configure a default charging rule and a default time range for providing statistics.
- the input device 804 may be a keyboard or a pointing device, for example, a mouse, a trackball, a touchpad, a microphone, a joystick, a game pad, a satellite television antenna, a scanner, or similar devices. These input devices may be connected to the processor 801 through the bus 803.
- the output device 805 may be configured to output information, so that the system administrator operates and manages the device.
- the output device 805 may be a monitor, or another peripheral output device, for example, a loudspeaker and/or a print device. These output devices may also be connected to the processor 801 through the bus 803.
- the NSCF device or the NSMF device may be connected to a network through the network interface 806, for example, connected to a local area network (Local Area Network, LAN).
- a computer-executable instruction stored in the device may be stored in a remote storage device, and is not limited to being locally stored.
- the NSCF device when the processor 801 in the NSCF device executes the executable code or the application program stored in the memory 802, the NSCF device may perform the method steps corresponding to the NSCF device in all the foregoing embodiments, for example, step 201, step 205, step 406, and step 407.
- the NSCF device may perform the method steps corresponding to the NSCF device in all the foregoing embodiments, for example, step 201, step 205, step 406, and step 407.
- the NSMF device when the processor 801 executes the executable code or the application program stored in the memory 802, the NSMF device may perform the method steps corresponding to the NSMF device in all the foregoing embodiments, for example, step 203, step 208, step 410, and step 411.
- step 203 For a specific execution process, refer to the foregoing embodiments. Details are not described herein again.
- FIG. 9 is a schematic structural diagram of an NSCF device according to an embodiment of this application.
- the NSCF device includes a determining module 901, a sending module 902, a receiving module 903, and a charging module 904.
- the determining module 901 is configured to determine a network slice performance indicator that is used for performing charging on a network slice instance, for example, determine the network slice performance indicator based on subscription information of a customer or information preconfigured by an operator.
- a specific execution process refer to the step descriptions on an NSCF device side in the foregoing embodiments, for example, step 201, step 406, and step 506.
- the sending module 902 is configured to: include an identifier of the network slice instance and the network slice performance indicator in a first message, and send the first message to an NSMF device, for example, create a subscription request message, add the identifier of the network slice instance and the network slice performance indicator to the subscription request message, and send the subscription request message to an NSMF device.
- an NSMF device for example, create a subscription request message
- add the identifier of the network slice instance and the network slice performance indicator to the subscription request message and send the subscription request message to an NSMF device.
- the receiving module 903 is configured to receive a second message from the NSMF device, where the second message includes data corresponding to the network slice performance indicator, for example, receive a subscription notification message from the NSMF device, where the subscription notification message includes the data corresponding to the network slice performance indicator, and the data may be specifically a sampling value of the network slice performance indicator, or may be a statistics value of the network slice performance indicator.
- the steps descriptions on an NSCF device side in the foregoing embodiments for example, step 204, step 205, step 412, and step 511.
- the charging module 904 is configured to perform charging on the network slice instance based on the data corresponding to the network slice performance indicator. For example, if the data corresponding to the network slice performance indicator is the sampling value, the charging module 904 may store the sampling value in a charging data record of the sampling value of the indicator. If the data corresponding to the network slice performance indicator is the statistics value, the charging module 904 may calculate a fee for use of the network slice instance based on the statistics value, or store the statistics value in a charging data record of the statistics value of the indicator, to subsequently calculate the fee for use of the network slice instance. For a specific execution process, refer to the step descriptions on the NSCF device side in the foregoing embodiments, for example, step 205, step 413, and step 512.
- the NSCF device is presented in a form of a functional module.
- the "module" herein may be an application-specific integrated circuit (application-specific integrated circuit, ASIC), a circuit, a processor and a memory for executing one or more software or firmware programs, an integrated logic circuit, and/or another device that can provide the foregoing function.
- ASIC application-specific integrated circuit
- the NSCF device may also be in a form shown in FIG. 8 .
- the determining module 901, the sending module 902, the receiving module 903, and the charging module 904 may all be implemented by using the processor 801 and the memory 802 in FIG. 8 .
- a function of calculating the fee for use of the network slice instance by the charging module 904 may be implemented by the processor 801 by executing the code stored in the memory 802.
- FIG. 10 is a schematic structural diagram of an NSMF device according to an embodiment of this application.
- the NSMF device includes a receiving module 1001, an obtaining module 1002, and a sending module 1003.
- the receiving module 1001 is configured to receive a first message from an NSCF device, where the first message includes an identifier of a network slice instance and a network slice performance indicator.
- the first message includes an identifier of a network slice instance and a network slice performance indicator.
- the obtaining module 1002 is configured to obtain, based on the first message, data corresponding to the network slice performance indicator, where a sampling value of the network slice performance indicator may be obtained, or a statistics value of the network slice performance indicator may be obtained, and if the statistics value is obtained, the obtaining module 1002 may calculate the statistics value of the network slice performance indicator based on a time range for providing statistics and a method for providing statistics in the first message.
- a specific execution process refer to the step descriptions on the NSMF device side in the foregoing embodiments, for example, step 203, step 410, step 411, and step 510.
- the sending module 1003 is configured to include the data corresponding to the network slice performance indicator in a second message, and send the second message to the NSCF device, so that the NSCF device performs charging on the network slice instance based on the data corresponding to the network slice performance indicator.
- a specific execution process refer to the step descriptions on the NSMF device side in the foregoing embodiments, for example, step 204, step 412, and step 511.
- the NSMF device is presented in a form of a functional module.
- the "module" herein may be an application-specific integrated circuit (application-specific integrated circuit, ASIC), a circuit, a processor and a memory for executing one or more software or firmware programs, an integrated logic circuit, and/or another device that can provide the foregoing function.
- ASIC application-specific integrated circuit
- the NSMF device may also be in a form shown in FIG. 8 .
- the receiving module 1001, the obtaining module 1002, and the sending module 1003 may all be implemented by using the processor 801 and the memory 802 in FIG. 8 .
- a function of obtaining the data corresponding to the network slice performance indicator by the obtaining module 1002 may be implemented by the processor 801 by executing the code stored in the memory 802.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the unit division is merely logical function division and may be other division in actual implementation.
- a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed.
- the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces.
- the indirect couplings or communication connections between the apparatuses or units may be implemented in an electrical form, a mechanical form, or another form.
- the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions in the embodiments in this application.
- function units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units may be integrated into one unit.
- the integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
- the integrated unit When the integrated unit is implemented in the form of a software function unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium.
- the computer software product is stored in a storage medium and includes a plurality of instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or some of the steps of the methods described in the embodiments of this application.
- the foregoing storage medium includes: any medium that can store program code, for example a USB flash drive, a read-only memory, a random access memory, a magnetic disk, or an optical disc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Meter Arrangements (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811361400.XA CN111194013A (zh) | 2018-11-15 | 2018-11-15 | 一种对网络资源进行计费处理的方法、系统以及相关设备 |
| PCT/CN2019/117105 WO2020098598A1 (fr) | 2018-11-15 | 2019-11-11 | Procédé et système permettant d'effectuer un traitement de facturation sur des ressources de réseau, et dispositif associé |
| EP19884915.0A EP3869840B1 (fr) | 2018-11-15 | 2019-11-11 | Procédé permettant d'effectuer un traitement de facturation sur des ressources de réseau, et dispositif associé |
Related Parent Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP19884915.0A Division-Into EP3869840B1 (fr) | 2018-11-15 | 2019-11-11 | Procédé permettant d'effectuer un traitement de facturation sur des ressources de réseau, et dispositif associé |
| EP19884915.0A Division EP3869840B1 (fr) | 2018-11-15 | 2019-11-11 | Procédé permettant d'effectuer un traitement de facturation sur des ressources de réseau, et dispositif associé |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP4657819A2 true EP4657819A2 (fr) | 2025-12-03 |
| EP4657819A3 EP4657819A3 (fr) | 2026-01-07 |
Family
ID=70708872
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP25190240.9A Pending EP4657819A3 (fr) | 2018-11-15 | 2019-11-11 | Procédé et système pour effectuer une facturation sur une ressource de réseau, et dispositif associé |
| EP19884915.0A Active EP3869840B1 (fr) | 2018-11-15 | 2019-11-11 | Procédé permettant d'effectuer un traitement de facturation sur des ressources de réseau, et dispositif associé |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP19884915.0A Active EP3869840B1 (fr) | 2018-11-15 | 2019-11-11 | Procédé permettant d'effectuer un traitement de facturation sur des ressources de réseau, et dispositif associé |
Country Status (4)
| Country | Link |
|---|---|
| US (2) | US12004258B2 (fr) |
| EP (2) | EP4657819A3 (fr) |
| CN (1) | CN111194013A (fr) |
| WO (1) | WO2020098598A1 (fr) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11805015B2 (en) * | 2019-12-19 | 2023-10-31 | Sandvine Corporation | System and method for intent based network slice assignment |
| US11252653B2 (en) * | 2020-03-31 | 2022-02-15 | Verizon Patent And Licensing Inc. | Method and system for network slice usage subscription |
| CN111817876B (zh) * | 2020-06-04 | 2023-07-11 | 北京思特奇信息技术股份有限公司 | 基于行业客户需求的5g网络切片管理方法 |
| CN114025392A (zh) * | 2020-07-15 | 2022-02-08 | 中移物联网有限公司 | 网络切片创建方法及相关设备 |
| CN113973273A (zh) * | 2020-07-22 | 2022-01-25 | 中移物联网有限公司 | 一种面向网络切片服务的计费方法及装置 |
| US11864069B2 (en) * | 2020-11-03 | 2024-01-02 | Cisco Technology, Inc. | Network slice based billing |
| WO2022226756A1 (fr) * | 2021-04-27 | 2022-11-03 | Nokia Shanghai Bell Co., Ltd. | Procédés, appareils, et supports lisibles par ordinateur destinés à la facturation dans un réseau de télécommunication |
| US20250016552A1 (en) * | 2021-10-04 | 2025-01-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Conveying Data to a Communication Network |
| KR20230060988A (ko) * | 2021-10-28 | 2023-05-08 | 삼성전자주식회사 | 무선 통신 시스템에서 네트워크 슬라이스를 제공하기 위한 방법 및 장치 |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106657194B (zh) * | 2015-11-02 | 2020-05-08 | 中兴通讯股份有限公司 | 一种网络切片能力开放的方法、装置及系统 |
| CN106713406B (zh) * | 2015-11-18 | 2020-01-24 | 中国移动通信集团公司 | 接入切片网络的方法及系统 |
| US10271186B2 (en) * | 2017-01-27 | 2019-04-23 | Huawei Technologies Co., Ltd. | Method and apparatus for charging operations in a communication network supporting service sessions for direct end users |
| US11178555B2 (en) * | 2017-04-27 | 2021-11-16 | Apple Inc. | Enhanced network slice management for wireless communications |
| WO2018195877A1 (fr) * | 2017-04-27 | 2018-11-01 | 华为技术有限公司 | Procédé, dispositif et système de communication |
| HUE046372T2 (hu) * | 2017-05-08 | 2020-03-30 | Ntt Docomo Inc | Eljárás hálózati funkcióknak mobil rádiós kommunikációs hálózat hálózati szeletpéldányaival való társításához |
| US11044664B2 (en) * | 2017-06-29 | 2021-06-22 | Nokia Solutions And Networks Oy | Enhanced interfaces for network slice selection based on charging rules |
| US10764789B2 (en) * | 2017-08-11 | 2020-09-01 | Comcast Cable Communications, Llc | Application-initiated network slices in a wireless network |
| WO2019194538A1 (fr) * | 2018-04-06 | 2019-10-10 | Samsung Electronics Co., Ltd. | Procédé et appareil pour la fourniture d'un service de notification d'événement de mobilité de terminal dans un système de communications sans fil |
| CN112567684B (zh) * | 2018-08-13 | 2023-07-28 | 瑞典爱立信有限公司 | 支持核心网络中订阅事件的方法、设备和计算机可读介质 |
-
2018
- 2018-11-15 CN CN201811361400.XA patent/CN111194013A/zh active Pending
-
2019
- 2019-11-11 EP EP25190240.9A patent/EP4657819A3/fr active Pending
- 2019-11-11 EP EP19884915.0A patent/EP3869840B1/fr active Active
- 2019-11-11 WO PCT/CN2019/117105 patent/WO2020098598A1/fr not_active Ceased
-
2021
- 2021-05-14 US US17/321,156 patent/US12004258B2/en active Active
-
2024
- 2024-04-29 US US18/649,864 patent/US12336055B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| EP3869840B1 (fr) | 2025-09-10 |
| EP3869840A1 (fr) | 2021-08-25 |
| EP4657819A3 (fr) | 2026-01-07 |
| EP3869840A4 (fr) | 2021-12-15 |
| EP3869840C0 (fr) | 2025-09-10 |
| CN111194013A (zh) | 2020-05-22 |
| US12004258B2 (en) | 2024-06-04 |
| WO2020098598A9 (fr) | 2021-07-29 |
| WO2020098598A1 (fr) | 2020-05-22 |
| US20210281997A1 (en) | 2021-09-09 |
| US20240284158A1 (en) | 2024-08-22 |
| US12336055B2 (en) | 2025-06-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12336055B2 (en) | Method and system for performing charging on network resource, and related device | |
| US11711674B2 (en) | Method and system for performing charging on network resource, and device | |
| US10341496B2 (en) | Policy control method and system, and relevant apparatus | |
| US8832250B2 (en) | Method and server for agent service applied to widget | |
| CN111436029B (zh) | 对网络切片实例进行计费处理的方法、系统及相关设备 | |
| US10382630B2 (en) | Telecommunication service subscription integration system | |
| US8341044B1 (en) | System, method, and computer program product for rating and re-rating events | |
| US11582049B2 (en) | Virtual network function management | |
| US20220286564A1 (en) | Method and Apparatus for Dynamic Realtime Sharing of Credit Units for Online Charging | |
| US10348910B2 (en) | Method and system for providing a personalized product catalog enabling rating of communication events within a user device | |
| CN108270580A (zh) | 在线计费的提醒方法、设备及系统 | |
| US11461297B1 (en) | Ensuring database integrity using a data flow in a graph, such as for use by a wireless telecommunications service provider | |
| CN103906026B (zh) | 计费方法、装置和系统 | |
| EP3091764A1 (fr) | Système de télécommunication cellulaire numérique mobile avec une fonctionnalité de tarification flexible avancée | |
| HK40024711A (en) | Method and device for processing data, computer apparatus and storage medium | |
| WO2026062674A1 (fr) | Procédé et système de synchronisation d'informations d'utilisation de données dans un réseau | |
| WO2026053231A1 (fr) | Procédé et système de gestion d'attribution de plans de données dans un réseau | |
| EP2590359B1 (fr) | Procédé, système, équipement de facturation et centre de gestion de solde de compte pour traitement de ressources gratuites | |
| CN116846697A (zh) | 一种流量包打开限速和流量限速时序冲突规避方法及系统 | |
| KR20210105704A (ko) | 서비스 제공사의 트래픽 정보 제공 시스템 및 방법 | |
| CN114092078A (zh) | 代付方法、装置、设备及存储介质 | |
| KR20110007748A (ko) | 선불 과금 시스템, 서버 및 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED |
|
| AC | Divisional application: reference to earlier application |
Ref document number: 3869840 Country of ref document: EP Kind code of ref document: P |
|
| AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R079 Free format text: PREVIOUS MAIN CLASS: H04L0041400000 Ipc: H04W0004240000 |
|
| PUAL | Search report despatched |
Free format text: ORIGINAL CODE: 0009013 |
|
| AK | Designated contracting states |
Kind code of ref document: A3 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04W 4/24 20240101AFI20251203BHEP Ipc: H04L 12/14 20240101ALI20251203BHEP Ipc: H04M 15/00 20240101ALI20251203BHEP Ipc: H04W 24/02 20090101ALI20251203BHEP Ipc: H04W 24/04 20090101ALI20251203BHEP Ipc: H04W 24/10 20090101ALI20251203BHEP Ipc: H04L 41/40 20220101ALI20251203BHEP Ipc: H04L 41/5009 20220101ALI20251203BHEP Ipc: H04L 41/50 20220101ALI20251203BHEP Ipc: H04L 41/5041 20220101ALI20251203BHEP |