CN107493176B - A billing method and system - Google Patents
A billing method and system Download PDFInfo
- Publication number
- CN107493176B CN107493176B CN201710873468.5A CN201710873468A CN107493176B CN 107493176 B CN107493176 B CN 107493176B CN 201710873468 A CN201710873468 A CN 201710873468A CN 107493176 B CN107493176 B CN 107493176B
- Authority
- CN
- China
- Prior art keywords
- nfv
- charging
- user
- charge
- virtual
- 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.)
- Active
Links
Classifications
-
- 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 for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请公开一种计费方法及系统,涉及通信技术领域,用于对NFV业务进行计费。所述方法包括:接收客户端发送的NFV业务请求,该NFV业务请求用于申请NFV业务;根据所述NFV业务所需的资源类型和资源规格,确定计费策略;向MANO网元下发所述计费策略,以便于所述MANO网元根据所述计费策略对所述NFV业务进行计费。本申请适用于NFV业务的计费过程中。
The present application discloses a charging method and system, which relate to the technical field of communications and are used for charging NFV services. The method includes: receiving the NFV service request sent by the client, the NFV service request is used to apply for the NFV service; determining the charging policy according to the resource type and resource specification required by the NFV service; The charging policy, so that the MANO network element charges the NFV service according to the charging policy. This application is applicable to the charging process of NFV services.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种计费方法及系统。The present application relates to the technical field of communications, and in particular to a charging method and system.
背景技术Background technique
网络功能虚拟化(Network Function Virtualization,NFV),是通过使用X86等通用性硬件以及虚拟化技术,来承载各种软件化的网络设备功能,使网络设备功能不再依赖于专用硬件,从而运营商可以实现新业务的快速开发和部署,并基于实际业务需求进行自动部署、弹性伸缩、故障隔离和自愈等。Network Function Virtualization (Network Function Virtualization, NFV) is to carry various software-based network device functions by using general-purpose hardware such as X86 and virtualization technology, so that network device functions no longer depend on dedicated hardware, so that operators It can realize rapid development and deployment of new services, and perform automatic deployment, elastic scaling, fault isolation and self-healing based on actual business needs.
基于NFV平台,运营商可以向用户提供多种不同的NFV业务,例如:NFV基础设施即服务(NFV Infrastructure as a Service,NFVIaaS)、NFV平台即服务(NFV Platform as aService,NFVPaaS)、虚拟化的网络功能即服务(Virtualized Network Function as aService,VNFaaS)和虚拟化的网络功能软件即服务(Virtualized Network FunctionSoftware as a Service,VNFSaaS)。由于用户可以根据自身的需求定制不同的NFV业务,因此NFV业务不像传统的语音业务或流量业务一样具有统一的计费标准,从而传统的语音计费方法或流量计费方法均不适用于NFV业务的计费过程中。基于此,运营商亟待一种面向NFV业务的计费方法。Based on the NFV platform, operators can provide users with various NFV services, such as: NFV infrastructure as a service (NFV Infrastructure as a Service, NFVIaaS), NFV platform as a service (NFV Platform as a Service, NFVPaaS), virtualized Network Function as a Service (Virtualized Network Function as a Service, VNFaaS) and Virtualized Network Function Software as a Service (Virtualized Network Function Software as a Service, VNFSaaS). Because users can customize different NFV services according to their own needs, NFV services do not have a unified billing standard like traditional voice services or traffic services, so traditional voice billing methods or traffic billing methods are not suitable for NFV In the billing process of the business. Based on this, operators urgently need a charging method for NFV services.
发明内容Contents of the invention
本申请提供一种计费方案,用于对NFV业务进行计费。This application provides a charging scheme for charging NFV services.
为达到上述目的,本申请提供如下技术方案:In order to achieve the above object, the application provides the following technical solutions:
第一方面,本申请提供一种计费方法,所述方法包括:In a first aspect, the present application provides a charging method, the method comprising:
接收客户端发送的NFV业务请求,所述NFV业务请求用于申请NFV业务;receiving the NFV service request sent by the client, where the NFV service request is used to apply for the NFV service;
根据所述NFV业务所需的资源类型和资源规格,确定计费策略;Determine the charging policy according to the resource type and resource specification required by the NFV service;
向管理和编排系统(Management and Orchestration,MANO)网元下发所述计费策略,以便于所述MANO网元根据所述计费策略对所述NFV业务进行计费。Delivering the charging policy to a management and orchestration system (Management and Orchestration, MANO) network element, so that the MANO network element charges the NFV service according to the charging policy.
第二方面,本申请提供一种计费系统,所述系统包括:In a second aspect, the present application provides a billing system, the system comprising:
接收单元,用于接收客户端发送的NFV业务请求,所述NFV业务请求用于申请NFV业务;A receiving unit, configured to receive an NFV service request sent by a client, where the NFV service request is used to apply for an NFV service;
策略单元,用于根据所述NFV业务所需的资源类型和资源规格,确定计费策略;A policy unit, configured to determine a charging policy according to the resource type and resource specification required by the NFV service;
发送单元,用于向MANO网元下发所述计费策略,以便于所述MANO网元根据所述计费策略对所述NFV业务进行计费。A sending unit, configured to send the charging policy to the MANO network element, so that the MANO network element charges the NFV service according to the charging policy.
第三方面,本申请提供一种网络设备,包括收发器、存储器和一个或多个处理器;所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述一个或多个处理器执行所述指令时,所述网络设备执行如第一方面或第一方面的任一种具体实现方式中所述的方法。In a third aspect, the present application provides a network device, including a transceiver, a memory, and one or more processors; the memory is used to store computer program codes, and the computer program codes include instructions. When the one or more When the processor executes the instructions, the network device executes the method described in the first aspect or any specific implementation manner of the first aspect.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有一个或多个程序,所述一个或多个程序包括指令,当计算机的处理器执行所述指令时,所述计算机执行如第一方面或第一方面的任一种具体实现方式中所述的方法。In a fourth aspect, the present application provides a computer-readable storage medium, wherein one or more programs are stored in the computer-readable storage medium, and the one or more programs include instructions. When a processor of a computer executes the instructions , the computer executes the method described in the first aspect or any specific implementation manner of the first aspect.
本申请提供一种计费方法及系统,通过接收客户端发送的NFV业务请求,并根据所述NFV业务所需的资源类型和资源规格,确定计费策略;将所述计费策略下发给MANO网元,以便于MANO网元根据所述计费策略对所述NFV业务进行计费,从而运营商实现了对NFV业务的计费。This application provides a charging method and system, by receiving the NFV service request sent by the client, and according to the resource type and resource specification required by the NFV service, determine the charging strategy; send the charging strategy to The MANO network element, so that the MANO network element charges the NFV service according to the charging policy, so that the operator implements charging for the NFV service.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1为本申请实施例提供的一种NFV系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a NFV system provided in an embodiment of the present application;
图2为本申请实施例提供的一种计费方法的流程图;FIG. 2 is a flowchart of a billing method provided by an embodiment of the present application;
图3为本申请实施例提供的另一种计费方法的流程图;Fig. 3 is a flow chart of another charging method provided by the embodiment of the present application;
图4为本申请实施例提供的一种计费系统的结构示意图;FIG. 4 is a schematic structural diagram of a billing system provided by an embodiment of the present application;
图5为本申请实施例提供的另一种计费系统的结构示意图;FIG. 5 is a schematic structural diagram of another billing system provided by an embodiment of the present application;
图6为本申请实施例提供的一种网络设备的结构示意图。FIG. 6 is a schematic structural diagram of a network device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them.
如图1所示,本申请实施例提供的一种NFV系统,该NFV系统包括:网络功能虚拟化基础设施(Network Function Virtualization Infrastructure,NFVI)、MANO、虚拟化的网络功能模块(Virtualized Network Function,VNF)以及运营支撑系统(OperationSupport System,OSS)/业务支撑系统(Business support system,BSS)。As shown in FIG. 1, an NFV system provided by an embodiment of the present application includes: a network function virtualization infrastructure (Network Function Virtualization Infrastructure, NFVI), a MANO, and a virtualized network function module (Virtualized Network Function, VNF) and Operation Support System (OperationSupport System, OSS)/Business support system (Business support system, BSS).
其中,NFVI主要负责将计算、存储以及网络的硬件资源全面虚拟化,并映射成虚拟资源。VNF则是利用软件来实现各种传统的物理网络功能,VNF运行在NFVI之上,使用的是经过NFVI虚拟化后的虚拟资源。MANO负责对NFVI的软硬件资源的生命周期管理和编排,以及对VNF的生命周期管理和编排。需要说明的是,MANO包括虚拟化基础设施管理器(Virtualized Infrastructure Managers,VIM)、虚拟网络功能管理器(VirtualizedNetwork Function Managers,VNFM)以及网络功能虚拟化编排器(Network FunctionVirtualization Orchestrator,NFVO)。其中,VIM负责对物理硬件虚拟化资源进行统一管理、监控和优化;VNFM负责VNF的生命周期管理;而NFVO负责基础资源和上层软件资源的编排和管理,实现网络服务(network service,NS)。OSS/BSS是电信运营商信息资源共享的支持系统,主要用于网络管理、系统管理、计费、营业、客户服务等方面。Among them, NFVI is mainly responsible for fully virtualizing computing, storage, and network hardware resources and mapping them into virtual resources. VNF uses software to implement various traditional physical network functions. VNF runs on NFVI and uses virtual resources virtualized by NFVI. MANO is responsible for the life cycle management and orchestration of NFVI software and hardware resources, as well as the life cycle management and orchestration of VNF. It should be noted that MANO includes virtualized infrastructure managers (Virtualized Infrastructure Managers, VIM), virtual network function managers (Virtualized Network Function Managers, VNFM) and network function virtualization orchestrator (Network FunctionVirtualization Orchestrator, NFVO). Among them, VIM is responsible for the unified management, monitoring and optimization of physical hardware virtualization resources; VNFM is responsible for the life cycle management of VNF; and NFVO is responsible for the arrangement and management of basic resources and upper-layer software resources to realize network services (network service, NS). OSS/BSS is a support system for telecom operators to share information resources, mainly used in network management, system management, billing, business, customer service, etc.
如图2所示,本申请实施例提供一种计费系统,适用于图1所示的NFV系统中。所述方法包括:As shown in FIG. 2 , an embodiment of the present application provides a billing system, which is applicable to the NFV system shown in FIG. 1 . The methods include:
101、客户端向计费系统发送NFV业务请求。101. The client sends an NFV service request to the charging system.
可选的,所述计费系统可以为OSS或BSS。Optionally, the billing system may be OSS or BSS.
需要说明的是,所述客户端的用户可以是个人用户,也可以是企业用户。可以理解的是,所述客户端可以由硬件实现,例如:所述客户端为手机、笔记本;所述客户端也可以由软件来实现,例如:客户端为应用软件或者网页。It should be noted that the user of the client may be an individual user or an enterprise user. It can be understood that the client can be implemented by hardware, for example: the client is a mobile phone or a notebook; the client can also be implemented by software, for example: the client is application software or a webpage.
在本申请实施例中,所述NFV业务请求用于申请NFV业务。In this embodiment of the application, the NFV service request is used to apply for an NFV service.
可选的,所述NFV业务请求中携带有NFV业务所需资源的信息,所述NFV业务所需资源的信息包括:资源规格和资源类型。可以理解的是,NFV业务所需的资源类型和资源规格可以由用户自行定义。Optionally, the NFV service request carries information on resources required by the NFV service, and the information on the resources required by the NFV service includes: resource specifications and resource types. It can be understood that the resource type and resource specification required by the NFV service can be defined by the user.
或者,所述NFV业务请求携带有NFV业务的标识。所述计费系统可以根据所述NFV业务的标识,确定所述NFV业务所需的资源类型和资源规格。Alternatively, the NFV service request carries an NFV service identifier. The charging system may determine the resource type and resource specification required by the NFV service according to the identifier of the NFV service.
示例性的,资源类型可以为虚拟机管理器(Hypervisor)、虚拟CPU、虚拟内存、虚拟网络、虚拟加速器、VNF实例、NS实例。资源规格可以为:虚拟CPU个数、虚拟机个数、内存大小。Exemplarily, the resource type may be a virtual machine manager (Hypervisor), a virtual CPU, a virtual memory, a virtual network, a virtual accelerator, a VNF instance, and an NS instance. The resource specification can be: the number of virtual CPUs, the number of virtual machines, and the memory size.
可以理解的是,资源类型和资源规格可以组成资源模板。例如,第一资源模板包括一个CPU、10G内存、一个虚拟机。It can be understood that resource types and resource specifications can form resource templates. For example, the first resource template includes a CPU, 10G memory, and a virtual machine.
进一步的,所述NFV业务请求携带有用户的基本信息,所述用户的基本信息可以包括:用户的标识、资源使用权限、鉴权信息等。计费系统接收到所述NFV业务请求之后,从所述NFV业务请求中获取所述用户的基本信息。计费系统根据所述用户的基本信息,鉴定所述用户是否有权限申请所述NFV业务。若所述用户没有权限申请所述NFV业务,则计费系统向所述客户端返回拒绝信息;若所述用户有权限申请所述NFV业务,则计费系统执行接下来的步骤102。Further, the NFV service request carries the basic information of the user, and the basic information of the user may include: user identification, resource usage rights, authentication information, and the like. After receiving the NFV service request, the charging system obtains the basic information of the user from the NFV service request. The billing system identifies whether the user has the right to apply for the NFV service according to the basic information of the user. If the user does not have permission to apply for the NFV service, the billing system returns rejection information to the client; if the user has permission to apply for the NFV service, the billing system executes the next step 102 .
另外,计费系统在接收到NFV业务请求之后,会将NFV业务请求转发给MANO网元,以便于MANO网元为所述NFV业务分配资源。且在后续的过程中,MANO网元还会管理所述NFV业务。In addition, after receiving the NFV service request, the billing system will forward the NFV service request to the MANO network element, so that the MANO network element can allocate resources for the NFV service. And in the subsequent process, the MANO network element will also manage the NFV service.
102、计费系统根据所述NFV业务所需的资源类型和资源规格,确定计费策略。102. The charging system determines a charging policy according to the resource type and resource specification required by the NFV service.
其中,所述计费策略包括至少一个计费规则。所述计费规则包括计费对象、计费方式以及费率。Wherein, the charging policy includes at least one charging rule. The charging rules include charging objects, charging methods and charging rates.
示例性的,所述计费对象可以为虚拟VPU、VNF实例。所述计费方式可以为:按时长计费、按流量计费和按用户数目计费。所述费率为:10元/小时、10元/G。Exemplarily, the billing object may be a virtual VPU or a VNF instance. The billing methods may be: billing by duration, billing by traffic, and billing by number of users. The rates mentioned are: 10 yuan/hour, 10 yuan/G.
进一步的,所述计费策略还可以包括:所述计费规则的生效时间。示例性的,对于用户申请的NFV业务,上午8:00-12:00,执行计费规则A;下午2:00-4:00,执行计费规则B。由于不同计费规则可以设置不同的生效时间,因此可以灵活的对NFV业务进行计费。Further, the charging policy may further include: the effective time of the charging rule. Exemplarily, for the NFV service applied by the user, charging rule A is executed during 8:00-12:00 am; and charging rule B is executed during 2:00-4:00 pm. Since different charging rules can be set with different effective times, NFV services can be charged flexibly.
在本申请实施例中,计费系统预设计费策略数据库,所述计费策略数据库用于存储至少一个计费策略。在接收到所述NFV业务请求后,计费系统根据所述NFV业务请求中的资源类型和资格规格,查询计费策略数据库,从而确定计费策略。In this embodiment of the present application, the charging system presets a charging policy database, and the charging policy database is used to store at least one charging policy. After receiving the NFV service request, the charging system queries the charging policy database according to the resource type and qualification specification in the NFV service request, so as to determine the charging policy.
可选的,所述NFV业务请求还可以携带计费类型信息,所述计费类型信息用于通知计费系统用户选择的计费类型。所述计费类型可以包括:基本计费类型和套餐计费类型。可以理解的是,当用户选择基本计费类型时,计费系统根据所述NFV业务使用的资源量进行计费。当用户选择套餐计费类型时,计费系统向用户收取套餐的基础费用,并且只有在所述NFV业务使用的资源量超过套餐限定的资源总量的情况下,才会额外扣费。Optionally, the NFV service request may also carry charging type information, and the charging type information is used to notify the charging system of the charging type selected by the user. The charging type may include: a basic charging type and a package charging type. It can be understood that when the user selects the basic charging type, the charging system performs charging according to the amount of resources used by the NFV service. When the user selects the package billing type, the billing system charges the user the basic fee of the package, and only when the amount of resources used by the NFV service exceeds the total amount of resources limited by the package, additional charges will be deducted.
在本申请实施例中,若用户选择套餐计费类型,则所述计费类型信息还可以包括所述用户选择的套餐的基本信息。所述套餐的基本信息可以包括:套餐的标识。从而计费系统根据套餐的基本信息,确定套餐的基础费用以及套餐限定的资源总量In this embodiment of the present application, if the user selects a package billing type, the billing type information may further include basic information about the package selected by the user. The basic information of the package may include: an identifier of the package. Therefore, the billing system determines the basic cost of the package and the total amount of resources limited by the package based on the basic information of the package
适应性的,计费系统根据所述NFV业务请求中的资源类型、资源规格以及计费类型信息,确定所述计费策略。Adaptively, the charging system determines the charging policy according to the resource type, resource specification and charging type information in the NFV service request.
103、计费系统向MANO网元下发计费策略。103. The billing system issues a billing policy to the MANO network element.
需要说明的是,所述MANO网元包括:NFVO、VIM和VNFM。It should be noted that the MANO network elements include: NFVO, VIM and VNFM.
在本申请实施例中,计费系统生成策略信息,该策略信息携带有NFV业务的标识以及对应的计费策略。计费系统将策略信息下发给MANO网元,以便于MANO网元根据策略信息中的NFV业务的标识以及计费策略,建立NFV业务与计费策略之间的对应关系,从而MANO网元可以根据该计费策略,对所述NFV业务进行计费。In the embodiment of the present application, the charging system generates policy information, and the policy information carries the identifier of the NFV service and the corresponding charging policy. The charging system sends the policy information to the MANO network element, so that the MANO network element can establish the corresponding relationship between the NFV service and the charging policy according to the NFV service identification and the charging policy in the policy information, so that the MANO network element can According to the charging policy, the NFV service is charged.
104、MANO网元根据所述计费策略,对所述NFV业务进行计费。104. The MANO network element charges the NFV service according to the charging policy.
在本申请实施例中,当MANO网元监测到所述NFV业务的计费触发事件时,根据所述计费策略,开始对所述NFV业务进行计费。需要说明的是,所述计费触发事件为NFV生命周期管理的事件,例如虚拟化资源的预留/释放、虚拟机/VNF/NS的实例化、扩容/缩容。可以理解的是,NFV业务的计费触发事件可以根据实际情况来确定。In this embodiment of the present application, when the MANO network element monitors the charging trigger event of the NFV service, it starts charging the NFV service according to the charging policy. It should be noted that the charging trigger event is an event of NFV lifecycle management, such as reservation/release of virtualization resources, instantiation of virtual machine/VNF/NS, and capacity expansion/contraction. It can be understood that the charging trigger event of the NFV service may be determined according to actual conditions.
本申请实施例提供一种计费方法,计费系统通过接收客户端发送的NFV业务请求,并根据所述NFV业务所需的资源类型和资源规格,确定计费策略;计费系统将所述计费策略下发给MANO网元,以便于MANO网元根据所述计费策略对所述NFV业务进行计费,从而运营商实现了对NFV业务的计费。The embodiment of the present application provides a charging method. The charging system determines the charging policy according to the resource type and resource specification required by the NFV service by receiving the NFV service request sent by the client; The billing policy is issued to the MANO network element, so that the MANO network element charges the NFV service according to the billing policy, so that the operator realizes the billing of the NFV service.
如图3所示,本申请实施例提供另一种计费方法,在步骤104之后,所述方法还包括:As shown in Figure 3, the embodiment of the present application provides another billing method. After step 104, the method further includes:
105、MANO网元向计费系统上报话单记录。105. The MANO network element reports the bill record to the billing system.
其中,所述话单记录包括至少一个计费话单。所述计费话单用于统计所述NFV业务在一段时间内的费用。Wherein, the bill record includes at least one billing bill. The billing bill is used to count the expenses of the NFV service within a period of time.
示例性的,所述计费话单包括:开始时间、结束时间、用户的标识、资源用量详单、资源模板、计费金额。其中,所述资源用量详单用于说明NFV业务具体使用的哪些资源。Exemplarily, the billing bill includes: start time, end time, user ID, detailed resource usage bill, resource template, and billing amount. Wherein, the detailed resource usage is used to describe which resources are specifically used by the NFV service.
示例性的,所述计费话单可以如表1所示。Exemplarily, the charging bill may be as shown in Table 1.
表1Table 1
在本申请实施例中,MANO网元周期性的将至少一个计费话单合并成话单记录,并将所述话单记录上报给计费系统。In the embodiment of the present application, the MANO network element periodically merges at least one charging bill into a bill record, and reports the bill record to the billing system.
106、计费系统根据所述话单记录,统计所述NFV业务的费用。106. The billing system calculates the cost of the NFV service according to the bill record.
一种具体实现方式中,计费系统统计所述话单记录中每一个计费话单的计费金额,生成所述NFV业务的费用。In a specific implementation manner, the billing system counts the billing amount of each billing bill in the bill record, and generates the fee for the NFV service.
107、计费系统向用户收取所述NFV业务的费用。107. The billing system charges the user for the NFV service.
一种具体实现方式中,计费系统查询所述用户的账户,从所述用户的账户中获取所述用户的账户余额;然后,计费系统从所述用户的账户余额中扣取所述NFV业务的费用。In a specific implementation manner, the billing system queries the user's account, and obtains the user's account balance from the user's account; then, the billing system deducts the NFV from the user's account balance. business expenses.
另一种具体实现方式中,计费系统向所述客户端发送计费信息,以便于所述在客户端接收到所述计费信息之后,该客户端的用户根据计费信息进行缴费。In another specific implementation manner, the billing system sends billing information to the client, so that after the client receives the billing information, the user of the client makes payment according to the billing information.
通过上述方法,运营商能够向用户收取NFV业务的费用。Through the above method, the operator can charge the user for the NFV service.
如图4所示,本申请实施例提供一种计费系统,用于执行前述计费方法。所述系统包括:As shown in FIG. 4 , an embodiment of the present application provides a charging system for implementing the aforementioned charging method. The system includes:
接收单元11,用于接收客户端发送的NFV业务请求,所述NFV业务请求用于申请NFV业务。The receiving unit 11 is configured to receive the NFV service request sent by the client, and the NFV service request is used to apply for the NFV service.
策略单元12,用于根据所述NFV业务所需的资源类型和资源规格,确定计费策略。The policy unit 12 is configured to determine a charging policy according to the resource type and resource specification required by the NFV service.
发送单元13,用于向MANO网元下发所述计费策略,以便于所述MANO网元根据所述计费策略对所述NFV业务进行计费。The sending unit 13 is configured to send the charging policy to the MANO network element, so that the MANO network element charges the NFV service according to the charging policy.
一种具体实现方式中,所述NFV业务请求还包括:计费类型信息,所述计费类型信息用于通知计费系统所述用户选择的计费类型,所述计费类型包括基本计费类型和套餐计费类型。所述策略单元12,具体用于根据所述计费类型信息以及所述NFV业务所需的资源类型和资源规格,确定计费策略。In a specific implementation manner, the NFV service request further includes: charging type information, the charging type information is used to notify the charging system of the charging type selected by the user, and the charging type includes basic charging type and package billing type. The policy unit 12 is specifically configured to determine a charging policy according to the charging type information and the resource type and resource specification required by the NFV service.
本申请实施例提供一种计费系统,计费系统通过接收客户端发送的NFV业务请求,并根据所述NFV业务所需的资源类型和资源规格,确定计费策略;计费系统将所述计费策略下发给MANO网元,以便于MANO网元根据所述计费策略对所述NFV业务进行计费,从而运营商实现了对NFV业务的计费。The embodiment of the present application provides a billing system. The billing system determines the billing policy according to the resource type and resource specification required by the NFV service by receiving the NFV service request sent by the client; The billing policy is issued to the MANO network element, so that the MANO network element charges the NFV service according to the billing policy, so that the operator realizes the billing of the NFV service.
在图4所示计费系统的基础上,本申请实施例提供另一种计费系统。如图5所示,所述系统包括:统计单元14和收费单元15。On the basis of the charging system shown in FIG. 4 , this embodiment of the present application provides another charging system. As shown in FIG. 5 , the system includes: a statistics unit 14 and a charging unit 15 .
所述接收单元11,用于接收所述MANO网元上报的话单记录,所述话单记录包括至少一个计费话单。The receiving unit 11 is configured to receive the bill record reported by the MANO network element, and the bill record includes at least one charging bill.
所述统计单元14,用于根据所述话单记录,统计所述NFV业务的费用。The statistic unit 14 is configured to statistic the cost of the NFV service according to the bill record.
所述收费单元15,用于向用户收取所述NFV业务的费用。The charging unit 15 is configured to charge users for the NFV service.
一种具体实现方式中,所述收费单元15,具体用于查询所述用户的账户,从所述用户的账户中获取所述用户的账户余额;从所述用户的账户余额中扣取所述NFV业务的费用。In a specific implementation manner, the charging unit 15 is specifically configured to query the user's account, obtain the user's account balance from the user's account; deduct the user's account balance from the user's account balance. The cost of NFV business.
通过上述计费系统,运营商能够向用户收取NFV业务的费用。Through the above billing system, operators can charge users for NFV services.
如图6所示,本申请实施例提供一种网络设备,所述网络设备包括:处理器21、存储器22、收发器23以及总线24。所述处理器21、存储器22和收发器23通过所述总线24互相通信。其中,所述存储器22用于存储多个指令以实现本申请实施例提供的一种计费方法。所述处理器21,用于接收客户端发送的NFV业务请求,所述NFV业务请求用于申请NFV业务;根据所述NFV业务所需的资源类型和资源规格,确定计费策略;向MANO网元下发所述计费策略,以便于所述MANO网元根据所述计费策略对所述NFV业务进行计费。As shown in FIG. 6 , an embodiment of the present application provides a network device, and the network device includes: a processor 21 , a memory 22 , a transceiver 23 and a bus 24 . The processor 21 , memory 22 and transceiver 23 communicate with each other through the bus 24 . Wherein, the memory 22 is used to store a plurality of instructions to implement a charging method provided in the embodiment of the present application. The processor 21 is configured to receive the NFV service request sent by the client, and the NFV service request is used to apply for the NFV service; determine the charging policy according to the resource type and resource specification required by the NFV service; The charging policy is issued by the network element, so that the MANO network element can charge the NFV service according to the charging policy.
进一步的,所述NFV业务请求还包括:计费类型信息,所述计费类型信息用于通知计费系统用户选择的计费类型,所述计费类型包括基本计费类型和套餐计费类型。所述处理器21,还用于根据所述计费类型信息以及所述NFV业务所需的资源类型和资源规格,确定计费策略。Further, the NFV service request also includes: charging type information, the charging type information is used to notify the charging system of the charging type selected by the user, and the charging type includes basic charging type and package charging type . The processor 21 is further configured to determine a charging policy according to the charging type information and the resource type and resource specification required by the NFV service.
进一步的,所述处理器21,还用于接收所述MANO网元上报的话单记录,所述话单记录包括至少一个计费话单;根据所述话单记录,统计所述NFV业务的费用;向用户收取所述NFV业务的费用。Further, the processor 21 is also configured to receive the bill record reported by the MANO network element, the bill record includes at least one billing bill; according to the bill record, the cost of the NFV service is counted ; Charge the user for the NFV service.
进一步的,所述处理器21,还用于查询所述用户的账户,从所述用户的账户中获取所述用户的账户余额;从所述用户的账户余额中扣取所述NFV业务的费用。Further, the processor 21 is also configured to query the user's account, obtain the user's account balance from the user's account; deduct the NFV service fee from the user's account balance .
其中,本申请实施例所述的处理器21可以是一个处理器,也可以是多个处理元件的统称。例如,该处理器21可以是中央处理器(Central Processing Unit,简称CPU),也可以是特定集成电路(Application Specific Integrated Circuit,简称ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digitalsignal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field ProgrammableGate Array,简称FPGA)。Wherein, the processor 21 described in the embodiment of the present application may be one processor, or may be a general term for multiple processing elements. For example, the processor 21 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more of the embodiments of the present application. An integrated circuit, for example: one or more microprocessors (digitalsignal processor, DSP for short), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA for short).
存储器22可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码等。且存储器22可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。The memory 22 may be a storage device, or a general term for multiple storage elements, and is used to store executable program codes and the like. And the memory 22 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as disk memory, flash memory (Flash), and the like.
总线24可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。该总线24可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 24 may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus 24 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 6 , but it does not mean that there is only one bus or one type of bus.
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序加载到计算机上被计算机执行时,使计算机执行如图2以及图3所示的方法。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is loaded into a computer and executed by the computer, the computer executes the methods shown in FIG. 2 and FIG. 3 .
其中,计算机可读存储介质,例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(ErasableProgrammable Read Only Memory,EPROM)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Wherein, the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, Random Access Memory (RAM), read-only memory (Read-Only Memory, ROM), Erasable Programmable Read-Only Memory (EPROM), Optical Fiber, Portable Compact Disk Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), Optical Storage Devices , a magnetic storage device, or any suitable combination of the above. In the embodiments of the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device or device.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, please refer to part of the description of the method embodiment.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above is only a specific implementation of the application, but the protection scope of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application should be covered within the protection scope of the application . Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710873468.5A CN107493176B (en) | 2017-09-25 | 2017-09-25 | A billing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710873468.5A CN107493176B (en) | 2017-09-25 | 2017-09-25 | A billing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107493176A CN107493176A (en) | 2017-12-19 |
CN107493176B true CN107493176B (en) | 2019-08-27 |
Family
ID=60653032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710873468.5A Active CN107493176B (en) | 2017-09-25 | 2017-09-25 | A billing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107493176B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111385754B (en) * | 2018-12-29 | 2022-05-31 | 华为技术有限公司 | Charging method, device and system |
CN111831713B (en) * | 2019-04-18 | 2025-01-28 | 阿里巴巴集团控股有限公司 | A data processing method, device and equipment |
CN111242597B (en) * | 2020-01-03 | 2023-09-08 | 湖北省楚天云有限公司 | Project charging-based method and system for government cloud platform |
CN114257464B (en) * | 2020-09-23 | 2022-12-27 | 中国移动通信有限公司研究院 | Charging method, charging device, communication equipment and readable storage medium |
CN113727332B (en) * | 2021-08-12 | 2022-09-02 | 中国联合网络通信集团有限公司 | Method and device for recovering internet surfing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106034296A (en) * | 2015-03-09 | 2016-10-19 | 中兴通讯股份有限公司 | Method and system for realizing online charging |
CN106209402A (en) * | 2015-04-30 | 2016-12-07 | 华为技术有限公司 | The telescopic method of a kind of virtual network function and equipment |
CN106681789A (en) * | 2015-11-09 | 2017-05-17 | 中兴通讯股份有限公司 | Method and device for flexible authorization of network function |
CN106936600A (en) * | 2015-12-29 | 2017-07-07 | 中国电信股份有限公司 | Charge on traffic method and system and relevant device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104349298B (en) * | 2013-08-09 | 2019-07-02 | 中兴通讯股份有限公司 | A kind of network charging method, controller, data center and system |
-
2017
- 2017-09-25 CN CN201710873468.5A patent/CN107493176B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106034296A (en) * | 2015-03-09 | 2016-10-19 | 中兴通讯股份有限公司 | Method and system for realizing online charging |
CN106209402A (en) * | 2015-04-30 | 2016-12-07 | 华为技术有限公司 | The telescopic method of a kind of virtual network function and equipment |
CN106681789A (en) * | 2015-11-09 | 2017-05-17 | 中兴通讯股份有限公司 | Method and device for flexible authorization of network function |
CN106936600A (en) * | 2015-12-29 | 2017-07-07 | 中国电信股份有限公司 | Charge on traffic method and system and relevant device |
Also Published As
Publication number | Publication date |
---|---|
CN107493176A (en) | 2017-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107493176B (en) | A billing method and system | |
CN109936511B (en) | Token obtaining method, device, server, terminal equipment and medium | |
CN109983441B (en) | Resource management for batch jobs | |
US11252220B2 (en) | Distributed code execution involving a serverless computing infrastructure | |
JP6564013B2 (en) | System and method for resource isolation and consumption in a multi-tenant application server environment | |
US9491313B2 (en) | Optimizing storage between mobile devices and cloud storage providers | |
US10999086B2 (en) | Dynamically-assigned resource management in a shared pool of configurable computing resources | |
US20120131161A1 (en) | Systems and methods for matching a usage history to a new cloud | |
CN111880917A (en) | Edge mixed cloud pipe platform | |
US9996888B2 (en) | Obtaining software asset insight by analyzing collected metrics using analytic services | |
CN111124687B (en) | A CPU resource reservation method, device and related equipment | |
US20120323821A1 (en) | Methods for billing for data storage in a tiered data storage system | |
US20190377596A1 (en) | Flexible batch job scheduling in virtualization environments | |
CN111338786A (en) | Quota management method and device for cloud platform resources and computer equipment | |
US11494468B2 (en) | Rights management of cloud resources | |
US11943285B2 (en) | Metering computing resources in cloud computing environments | |
KR20170121714A (en) | NFV orchestrator having VNF license management function and VNF license management method using the same | |
CN107147610B (en) | Resource processing method and device | |
US10990519B2 (en) | Multi-tenant cloud elastic garbage collector | |
CN107483217B (en) | An online billing method and system | |
US10990434B2 (en) | Increasing processing capacity of virtual machines for an abnormal event | |
CN104468755B (en) | The method and apparatus for realizing application performance guarantee | |
CN111083656B (en) | Flow package management method and device and storage medium | |
US10339049B2 (en) | Garbage collection facility grouping infrequently accessed data units in designated transient memory area | |
CN117931435A (en) | Management method and device of cloud-native multi-tenant resource pool and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |