


技术领域technical field
本发明涉及通信技术,尤其是一种计费方法、控制装置、计费装置与计费系统。 The invention relates to communication technology, in particular to a charging method, a control device, a charging device and a charging system. the
背景技术Background technique
随着无线网络的不断升级,运营商可以向用户提供越来越丰富的数据业务。但目前,运营商只能对话音进行实时计费,不能满足客户享受丰富的、多种类的多媒体业务的需求。实现多种业务融合的实时计费,比传统话音计费相比更复杂。 With the continuous upgrading of wireless networks, operators can provide users with more and more abundant data services. But at present, operators can only perform real-time billing for voice, which cannot meet the needs of customers to enjoy rich and diverse multimedia services. The real-time billing that realizes the integration of multiple services is more complicated than traditional voice billing. the
传统网络中的计费功能往往基于话音、数据、多媒体内容等不同类型的业务体系纵向并行发展而来,造成业务间计费的孤立。例如:在线计费和离线计费采用完全不同的机制分别处理。随着新型业务的不断涌现,为满足完备的计费需求,可能存在计费系统的重复投资建设,成本高、效率低,而且各系统的计费能力各异,相互之间难以做到信息共享和业务捆绑。 The billing function in traditional networks is often developed vertically and parallelly based on different types of service systems such as voice, data, and multimedia content, resulting in the isolation of billing among services. For example: online billing and offline billing are handled separately using completely different mechanisms. With the continuous emergence of new services, in order to meet complete billing requirements, there may be repeated investment in the construction of billing systems, which is costly and inefficient, and the billing capabilities of each system are different, making it difficult to share information with each other. bundled with business. the
发明内容Contents of the invention
本发明实施例所要解决的技术问题是:提供一种灵活支持不同类型的计费方式的计费方法。 The technical problem to be solved by the embodiments of the present invention is to provide a charging method that flexibly supports different types of charging methods. the
根据本发明实施例的第一个方面,提供的一种计费方法,包括: According to the first aspect of the embodiments of the present invention, a charging method is provided, including:
接收计费方式切换请求,该计费方式切换请求中携带有请求切换到的新计费方式; Receive the billing method switch request, the billing method switch request carries the new billing method to which the request is switched;
根据所述新计费方式与该新计费方式下实际使用的业务资源,对所述业务进行计费;其中,预先设置的计费方式为按照时间进行计费,所述新计费方式为按照流量进行计费;或者, According to the new charging method and the service resources actually used in the new charging method, the service is charged; wherein, the preset charging method is charging according to time, and the new charging method is Billing according to traffic; or,
预先设置的计费方式为按照流量进行计费,所述新计费方式为按照时间进行计费。 The preset billing mode is billing according to traffic, and the new billing mode is billing according to time. the
根据本发明实施例的第二个方面,提供的一种控制装置,包括: According to a second aspect of an embodiment of the present invention, a control device is provided, including:
业务处理模块,用于接收并转发业务请求,以及根据所述业务请求处理业务; A business processing module, used to receive and forward business requests, and process business according to the business requests;
第一监控模块,用于在接收到针对所述业务下发的业务资源时,指示所述业务处理模块处理业务,并在所述业务处理模块处理业务时,按照各种计费方式监控处理所述业务使用的业务资源,在下发的业务资源使用完毕或接收到结束业务请求时,上报各种计费方式及各种计费方式下相应使用的业务资源。 The first monitoring module is configured to instruct the service processing module to process the service when receiving the service resource issued for the service, and to monitor and process the service according to various charging methods when the service processing module processes the service When the business resources used by the above-mentioned business are used up, when the issued business resources are used up or the service end request is received, the various charging methods and the corresponding service resources used under the various charging methods are reported. the
根据本发明实施例的第三个方面,提供的一种计费装置,包括: According to a third aspect of the embodiments of the present invention, a billing device is provided, including:
第一收发模块,用于接收业务请求,并下发业务资源,以及接收各种计费方式及各种计费方式下相应使用的业务资源; The first transceiver module is used to receive service requests, issue service resources, and receive various charging methods and corresponding service resources used under various charging methods;
计算模块,用于根据所述收发模块接收到的各种计费方式及各种计费方式下相应使用的业务资源,计算业务费用; A calculation module, used to calculate service fees according to the various charging methods received by the transceiver module and the corresponding service resources used under the various charging methods;
比较模块,用于比较所述计算模块计算出的各种计费方式下的业务费用数额的大小; The comparison module is used to compare the size of the amount of business expenses under various charging methods calculated by the calculation module;
第一计费模块,用于根据所述比较模块的比较结果,选取各种计费方式下的业务费用之一对所述业务进行计费。 The first billing module is configured to select one of service fees in various charging modes to charge the service according to the comparison result of the comparison module. the
根据本发明实施例的第四个方面,提供的一种计费系统,包括计费装置与控制装置,所述控制装置包括: According to a fourth aspect of the embodiments of the present invention, a billing system is provided, including a billing device and a control device, and the control device includes:
业务处理模块,用于接收并转发业务请求,以及根据所述业务请求处理业务; A business processing module, used to receive and forward business requests, and process business according to the business requests;
第一监控模块,用于在接收到针对所述业务下发的业务资源时,指示所述业务处理模块处理业务,并在所述业务处理模块在处理业务时,按照各种计费方式监控所述业务处理模块处理所述业务使用的业务资源,在下发的业务资源使用完毕或接收到结束业务请求时,上报各种计费方式及各种计费方式下相应使用的业务资源; The first monitoring module is configured to instruct the service processing module to process the service when receiving the service resource issued for the service, and monitor the service according to various charging methods when the service processing module is processing the service The business processing module processes the business resources used by the business, and reports the various charging methods and the corresponding service resources used under the various charging methods when the issued business resources are used up or the service end request is received;
所述计费装置包括: The billing device includes:
第一收发模块,用于接收所述业务处理模块发送的业务请求,并向所述第一监控模块下发业务资源,以及接收所述监控模块上报的各种计费方式及各种计费方式下相应使用的业务资源; The first transceiver module is configured to receive the service request sent by the service processing module, deliver service resources to the first monitoring module, and receive various charging methods and various charging methods reported by the monitoring module The business resources used accordingly;
计算模块,用于根据所述第一收发模块接收到的各种计费方式及各种计费方式下相应使用的业务资源,计算业务费用; A calculation module, used to calculate service fees according to the various charging methods received by the first transceiver module and the corresponding service resources used under the various charging methods;
比较模块,用于比较所述计算模块计算出的各种计费方式下的业务费用数额的大小; The comparison module is used to compare the size of the amount of business expenses under various charging methods calculated by the calculation module;
第一计费模块,用于根据所述比较模块的比较结果,选取各种计费方式下的业务费用之一对所述业务进行计费。 The first billing module is configured to select one of service fees in various charging modes to charge the service according to the comparison result of the comparison module. the
根据本发明实施例的第五个方面,提供的一种控制装置,包括: According to a fifth aspect of an embodiment of the present invention, a control device is provided, including:
业务处理模块,用于接收并转发业务请求,以及根据所述业务请求处理业务; A business processing module, used to receive and forward business requests, and process business according to the business requests;
第二监控模块,用于在接收到针对所述业务下发的业务资源时,指示所述业务处理模块处理业务,并根据接收到的计费方式切换请求,在所述业务处理模块处理业务时,在不同时段内按照相应的计费方式监控所述业务处理模块处理所述业务使用的业务资源,在下发的业务资源使用完毕或接收到结束业务请求时,上报各种计费方式及各种计费方式下相应使用的业务资源。 The second monitoring module is configured to instruct the service processing module to process the service when receiving the service resource issued for the service, and according to the received charging mode switching request, when the service processing module processes the service , monitor the service resources used by the service processing module to process the service according to the corresponding charging methods in different time periods, and report various charging methods and various The corresponding service resources used in the billing mode. the
根据本发明实施例的第六个方面,提供的一种计费装置,包括: According to a sixth aspect of the embodiments of the present invention, a billing device is provided, including:
第二收发模块,用于接收业务请求,并下发业务资源,以及接收不同时间段内的计费方式及各种计费方式下相应使用的业务资源; The second transceiver module is used to receive service requests, issue service resources, and receive charging methods in different time periods and corresponding service resources used in various charging methods;
计算模块,用于根据所述第二收发模块不同时间段内的计费方式及各种计费方式下相应使用的业务资源,计算各时间段内的业务费用; The calculation module is used to calculate the service fee in each time period according to the charging methods of the second transceiver module in different time periods and the corresponding service resources used in various charging methods;
求和模块,用于对所述计算模块计算出的各时间段内的业务费用进行求和; A summation module, used to sum the business expenses in each time period calculated by the calculation module;
第二计费模块,用于根据所述求和模块获得的求和结果,采用各时间段内的业务费用的之和对所述业务进行计费。 The second billing module is configured to use the sum of business expenses in each time period to charge the service according to the summation result obtained by the summation module. the
根据本发明实施例的第七个方面,提供的一种计费系统,包括计费装置与控制装置,所述控制装置包括: According to a seventh aspect of the embodiments of the present invention, a billing system is provided, including a billing device and a control device, and the control device includes:
业务处理模块,用于接收并转发业务请求,以及根据所述业务请求处理业务; A business processing module, used to receive and forward business requests, and process business according to the business requests;
第二监控模块,用于在接收到针对所述业务下发的业务资源时,指示所述业务处理模块处理业务,并根据接收到的计费方式切换请求,在所述业务处理模块处理业务时,在不同时段内按照相应的计费方式监控处理所述业务使用的业务资源,在下发的业务资源使用完毕或接收到结束业务请求时,上报各种计费方式及各种计费方式下相应使用的业务资源; The second monitoring module is configured to instruct the service processing module to process the service when receiving the service resource issued for the service, and according to the received charging mode switching request, when the service processing module processes the service , monitor and process the business resources used by the business according to the corresponding billing methods in different time periods, and report various billing methods and corresponding business resources used;
所述计费装置包括: The billing device includes:
第二收发模块,用于接收所述业务处理模块转发的业务请求,并向所述第二监控模块下发业务资源,以及接收不同时间段内的计费方式及各种计费方式下相应使用的业务资源; The second transceiver module is configured to receive the service request forwarded by the service processing module, deliver service resources to the second monitoring module, and receive charging methods in different time periods and corresponding usage under various charging methods business resources;
计算模块,用于根据所述第二收发模块不同时间段内的计费方式及各种计费方式下相应使用的业务资源,计算各时间段内的业务费用; The calculation module is used to calculate the service fee in each time period according to the charging methods of the second transceiver module in different time periods and the corresponding service resources used in various charging methods;
求和模块,用于对所述计算模块计算出的各时间段内的业务费用进行求和; A summation module, used to sum the business expenses in each time period calculated by the calculation module;
第二计费模块,用于根据所述求和模块获得的求和结果,采用各时间段内的业务费用的之和对所述业务进行计费。 The second billing module is configured to use the sum of business expenses in each time period to charge the service according to the summation result obtained by the summation module. the
本发明实施例中,在使用业务的过程中,使用业务之前或使用业务时发起计费方式切换请求,请求对计费方式进行切换,控制装置根据计费方式切换请求,监控相应计费方式下使用的业务资源并上报计费装置,由计费装置根据预先设置,根据业务处理过程中使用的各种计费方式及各种计费方式下相应使用的业务资源,对业务进行计费,可以实现计费方式之间的切换,从而实现业务的灵活计费。 In the embodiment of the present invention, in the process of using the service, before using the service or when using the service, a charging mode switching request is initiated to request switching of the charging mode, and the control device monitors the corresponding charging mode according to the charging mode switching request. The service resources used are reported to the billing device, and the billing device charges the business according to the preset settings, various billing methods used in the business process and the corresponding service resources used under the various billing methods. Realize switching between charging methods, thereby realizing flexible charging of services. the
附图说明Description of drawings
图1为一种本发明实施方式的应用场景融合计费系统结构示意图。 FIG. 1 is a schematic structural diagram of an application scenario convergent charging system according to an embodiment of the present invention. the
图2为一种本发明计费方法实施例的流程图。 Fig. 2 is a flowchart of an embodiment of the billing method of the present invention. the
图3为一种本发明计费方法实施例的流程图。 Fig. 3 is a flowchart of an embodiment of the billing method of the present invention. the
图4为一种本发明控制装置实施例的结构示意图。 Fig. 4 is a schematic structural diagram of an embodiment of a control device of the present invention. the
图5为一种本发明计费装置实施例的结构示意图。 Fig. 5 is a schematic structural diagram of an embodiment of a billing device according to the present invention. the
图6为一种本发明计费系统实施例的结构示意图。 Fig. 6 is a schematic structural diagram of an embodiment of the billing system of the present invention. the
图7为一种本发明控制装置实施例的结构示意图。 Fig. 7 is a schematic structural diagram of an embodiment of a control device of the present invention. the
图8为一种本发明计费装置实施例的结构示意图。 Fig. 8 is a schematic structural diagram of an embodiment of a billing device according to the present invention. the
图9为一种本发明计费系统实施例的结构示意图。 Fig. 9 is a schematic structural diagram of an embodiment of the billing system of the present invention. the
具体实施方式Detailed ways
如图1所示,为本发明实施例一种融合计费系统结构示意图,其可实现“基于内容计费”功能。该融合计费系统可以作为本发明各实施方式的具体应用场景,但是本发明各实施方式并不限于应用在此场景中。 As shown in FIG. 1 , it is a schematic structural diagram of a converged charging system according to an embodiment of the present invention, which can implement a "content-based charging" function. The converged billing system can be used as a specific application scenario of the various embodiments of the present invention, but the various embodiments of the present invention are not limited to be applied in this scenario. the
该融合计费系统包括在线计费系统(Online Charging System,OCS)、基于业务数据流的计费策略功能实体(Charging Rules Function,CRF)、话务平面功能实体(Traffic Plane Function,TPF)与应用服务器(ApplicationServer,AF)。 The converged charging system includes an online charging system (Online Charging System, OCS), a charging policy functional entity (Charging Rules Function, CRF) based on service data flow, a traffic plane functional entity (Traffic Plane Function, TPF) and application Server (Application Server, AF). the
该OCS是一个有实时计费功能的系统,实时计费包括预付费功能。移动网高级逻辑客户化应用程序(Customized Applications for Mobilenetwork Enhanced Logic,CAMEL)智能网是OCS的一部分。 The OCS is a system with a real-time charging function, and the real-time charging includes a prepaid function. The CAMEL (Customized Applications for Mobilenetwork Enhanced Logic, CAMEL) intelligent network is a part of the OCS. the
该TPF用于执行包过滤功能,检查用户的上下行数据包的内容属性,其可以设置在网关通用无线分组业务(General Packet Radio Service, GPRS)支持节点(Gateway GPRS Supporting Node,GGSN)中。TPF通过Gy接口连接OCS,通过Gx接口连接CRF。TPF跟OCS互联时,TPF会根据用户转送的数据的属性,向OCS报告和申请相关的内容额度。 This TPF is used for carrying out packet filter function, checks the content attribute of the user's uplink and downlink data packets, and it can be set in the Gateway General Packet Radio Service (General Packet Radio Service, GPRS) support node (Gateway GPRS Supporting Node, GGSN). The TPF is connected to the OCS through the Gy interface, and to the CRF through the Gx interface. When TPF is interconnected with OCS, TPF will report to OCS and apply for relevant content quotas according to the attributes of the data transferred by users. the
该TPF与业务控制点(service control point,SCP)设有一个用于批价的业务数据流额度管理(Credit Control,CC)节点。CC节点主要用于接收TPF发送的不同内容的额度要求,并将该额度要求基于内容本身的相对价值转换为SCP能接受的额度要求。另外,CC节点还可以管理和分配基于内容的不同计费策略的额度资源。 The TPF and the service control point (SCP) are provided with a service data flow credit management (Credit Control, CC) node for price approval. The CC node is mainly used to receive the quota requirements of different content sent by TPF, and convert the quota requirements based on the relative value of the content itself into a quota requirement acceptable to SCP. In addition, CC nodes can also manage and allocate quota resources based on different content-based charging policies. the
该CRF主要用于配置TPF中的计费策略。例如:针对多媒体(MultimediaMessage Service,MMS)流按流量或时间计费。CRF通过Rx接口连接AF。除了手工配置过滤规则外,也可以通过AF动态地为个别业务配置过滤规则。 This CRF is mainly used to configure the charging policy in TPF. For example: Multimedia (MultimediaMessage Service, MMS) flow is billed by traffic or time. The CRF is connected to the AF through the Rx interface. In addition to manually configuring filtering rules, you can also dynamically configure filtering rules for individual services through AF. the
TPF实体接收到一个业务数据流后,根据此业务数据流对应的计费策略,确定要触发流量/次计费的信用请求(Credit Control Request,CCR)到OCS,以便于OCS对此业务进行计费。 After receiving a service data flow, the TPF entity determines to trigger the flow/time charging of the credit request (Credit Control Request, CCR) to the OCS according to the charging policy corresponding to the service data flow, so that the OCS can calculate the service. fee. the
在实现本发明的过程中,发明人发现至少现有的融合计费系统中存在如下问题: In the process of realizing the present invention, the inventor has found that at least the following problems exist in the existing converged billing system:
根据现有的CRF,针对一个会话,只能按照一种计费方式进行计费。然而,随着移动互联网的开展与成熟化,通过无线媒体传送的业务正朝着多样化发展,新一代的互联网计费解决方案将必然要求网络系统对于用户在移动系统上收发的应用业务作出区分和记录,单一的计费方法已不能满足移动互联网的计费需要。 According to the existing CRF, for a session, only one charging method can be used for charging. However, with the development and maturity of the mobile Internet, the services transmitted through wireless media are developing toward diversification. The new generation of Internet billing solutions will inevitably require the network system to distinguish the application services sent and received by users on the mobile system. And records, a single billing method can no longer meet the billing needs of the mobile Internet. the
本发明实施例中,用户可以在使用业务的过程中发送请求切换计费方式的计费方式切换请求,也可以在业务开始之前或业务开始时发送计费方式切换请求。换句话说,网络侧在向用户提供业务之前、提供业务时或提供业务的过程中,可以接收用户终端发送的计费方式切换请求,其中携带有请求切 换到的新计费方式信息,然后采用预先设置的计费方式与新计费方式对业务处理过程中使用的业务资源进行计费。 In the embodiment of the present invention, the user may send a charging mode switching request requesting to switch the charging mode during the service use, or may send the charging mode switching request before or when the service starts. In other words, before providing services to users, when providing services, or during the process of providing services, the network side can receive the charging method switching request sent by the user terminal, which carries the information of the new charging method to which the request is switched, and then Use the preset charging method and new charging method to charge the business resources used in the business process. the
在一个实施例中,用户在业务开始之前或业务开始时发送计费方式切换请求时,网络侧可以根据预先设置,采用如下不同的方式对业务进行计费: In one embodiment, when the user sends a billing mode switching request before or when the service starts, the network side can charge the service in the following different ways according to preset settings:
例如:根据用户最近一次请求切换到的新计费方式与该新计费方式下实际使用的业务资源,对本次业务进行计费。 For example: according to the new billing method switched to by the user's latest request and the service resources actually used under the new billing method, the service is billed. the
又例如:根据网络侧预先设置的计费方式与该预先设置的计费方式下使用的业务资源,计算该计费方式下的业务费用。同时,还分别根据用户请求的各种新计费方式与相应计费方式下使用的业务资源,计算各种新计费方式下的业务费用。并根据预先设置,采用计算出的费用计算结果中数额较小或较大的业务费用对本次业务进行计费。 Another example: according to the preset charging method on the network side and the service resources used in the preset charging method, the service fee in the charging method is calculated. At the same time, the business fees under the various new charging methods are also calculated according to the various new charging methods requested by the user and the service resources used in the corresponding charging methods. And according to the preset setting, use the smaller or larger amount of business expenses in the calculated cost calculation results to charge the current business. the
另一个例子中,计费方式切换请求的内容是请求在业务开始时的前第一时间段内采用预先设置的计费方式、在之后的第二时间段内采用新计费方式、在之后的第三时间段内采用新计费方式进行计费。则网络侧根据预先设置的计费方式与该计费方式下使用的业务资源,计算该第一时间段内的费用;根据第二时间段内采用的新计费方式与该新计费方式下使用的业务资源,计算该第二时间段内的费用;根据第三时间段内采用的新计费方式与该新计费方式下使用的业务资源,计算该第三时间段内的费用;并根据第一时间段、第二时间段与第三时间段内的费用之和对本次业务进行计费。 In another example, the content of the billing mode switch request is to request that the preset billing mode be adopted in the first time period before the start of the service, the new billing mode be adopted in the second time period after that, and the new billing mode be adopted in the subsequent The new charging method is used for charging in the third time period. Then the network side calculates the fee in the first time period according to the preset charging method and the service resources used in the charging method; according to the new charging method adopted in the second time period and the Calculate the cost of the second time period for the business resources used; calculate the cost of the third time period based on the new charging method adopted in the third time period and the business resources used under the new charging method; and The service is charged according to the sum of the fees in the first time period, the second time period and the third time period. the
在另一个例子中,上述不同的计费方式进行一定的组合。 In another example, a certain combination of the above-mentioned different charging methods is performed. the
上述各具体例子中,预先设置的计费方式与新计费方式都可以是按照时间或流量进行计费的计费方式,但是并不限于这两种计费方式。 In the above specific examples, both the preset charging method and the new charging method may be charging methods based on time or traffic, but are not limited to these two charging methods. the
在另一个实施例中,用户在使用业务的过程中发送计费方式切换请求时,网络侧可以根据预先设置,采用如下不同的方式对业务进行计费: In another embodiment, when a user sends a billing mode switching request in the process of using a service, the network side can charge the service in the following different ways according to preset settings:
例如:根据用户最近一次请求切换到的新计费方式与该新计费方式下实际使用的业务资源,对本次业务进行计费。由于本次业务中最近一次请求的 新计费方式之前采用的其它计费方式与该最近一次请求的新计费方式不同,采用最近一次请求的新计费方式与其它计费方式对其它计费方式下使用的业务资源计算出的业务费用可能不相同,这就需要根据最近一次请求的新计费方式与其它计费方式对其它计费方式下使用的业务资源计算出的业务费用差值,进行相应的费用回补或补扣。 For example: according to the new billing method switched to by the user's latest request and the service resources actually used under the new billing method, the service is billed. Since the other billing methods adopted before the new billing method of the latest request in this service are different from the new billing method of the latest request, the new billing method of the latest request and other billing methods are used for other billing methods The service charges calculated by the business resources used in the other billing methods may be different, which requires the difference between the business charges calculated for the business resources used in other billing methods based on the latest requested new billing method and other billing methods. Carry out the corresponding cost reimbursement or supplementary deduction. the
又例如:根据网络侧预先设置的计费方式与该计费方式下使用的业务资源,计算该预先设置的计费方式下的业务费用。同时,还分别根据用户请求的各种新计费方式与相应计费方式下使用的业务资源,计算各种新计费方式下的业务费用。并根据预先设置及费用计算结果,采用计算出的数额较小或较大的业务费用对本次业务进行计费。与前一种计费方法相同,由于最终计费时采用的计费方式与其它计费方式对其它计费方式下相应使用的业务资源计算出的费用结果可能不同,同样需要根据最近一次请求的新计费方式与其它计费方式对相应计费方式下使用的业务资源计算出的业务费用差值,进行相应的费用回补或补扣; Another example: according to the charging method preset on the network side and the service resources used in the charging method, the service fee in the charging method preset in the charging method is calculated. At the same time, the business fees under the various new charging methods are also calculated according to the various new charging methods requested by the user and the service resources used in the corresponding charging methods. And according to the preset setting and the cost calculation result, use the calculated business cost with a small or large amount to charge this business. The same as the previous billing method, since the billing method used in the final billing may be different from other billing methods for the corresponding use of service resources in other billing methods, the calculation results of the corresponding service resources used in other billing methods also need to be based on the latest request. The difference between the new billing method and other billing methods is calculated for the business cost difference calculated by the business resources used under the corresponding billing method, and the corresponding cost recovery or supplementary deduction is carried out;
另一个例子中,计费方式切换请求的内容是在业务开始时的前第一时间段内采用预先设置的计费方式、在之后的第二时间段内采用新计费方式、在之后的第三时间段内采用另一种新计费方式进行计费。则网络侧可以在前第一时间段内根据预先设置的计费方式与该计费方式下使用的业务资源,计算该第一时间段内的费用;在之后的第二时间段内根据新计费方式与该新计费方式下使用的业务资源,计算该第二时间段内的费用;在之后的第三时间段内根据另一种新计费方式与该另一种新计费方式下使用的业务资源,计算该第三时间段内的费用;并根据第一时间段、第二时间段与第三时间段内的费用之和对本次业务进行计费。 In another example, the content of the charging method switching request is to adopt the preset charging method in the first time period before the start of the service, adopt the new charging method in the second time period after that, and adopt the new charging method in the second time period after that. Another new billing method is used for billing within the three time periods. Then the network side can calculate the fee in the first time period according to the preset charging method and the service resources used in the charging method in the previous first time period; According to the service resources used under the new charging method and the new charging method, the fees in the second time period are calculated; in the subsequent third time period, according to another new charging method and the other new charging method The service resource used calculates the fee in the third time period; and charges this service according to the sum of the fees in the first time period, the second time period and the third time period. the
上述各具体例子中,预先设置的计费方式与新计费方式都可以是按时间进行计费或按照流量进行计费的计费方式,但是并不限于这两种计费方式。 In the above specific examples, both the preset charging method and the new charging method may be charging by time or charging by traffic, but are not limited to these two charging methods. the
在另一个实施例中,用户在业务开始之前,或者业务开始时,即发送业 务请求的同时,向网络侧控制装置发送计费方式切换请求,请求将预先设置的计费方式切换为新计费方式,该计费方式切换请求中携带有请求切换到的新计费方式。控制装置接收上述计费方式切换请求,将该计费方式切换请求转发给计费装置。计费装置将预先设置的计费方式修改为新计费方式。之后,计费装置对终端发起的业务请求进行处理时,计费装置可以根据该新计费方式下发相应的业务资源,以该新计费方式作为预先设置的计费方式,对用户请求的业务进行计费。 In another embodiment, before the service starts, or when the service starts, that is, while sending the service request, the user sends a charging method switching request to the network side control device, requesting to switch the preset charging method to a new charging method. charging method, and the charging method switching request carries the new charging method to which the request is switched. The control device receives the charging mode switching request, and forwards the charging mode switching request to the charging device. The charging device modifies the preset charging method to a new charging method. Afterwards, when the billing device processes the service request initiated by the terminal, the billing device can issue corresponding service resources according to the new billing method, and use the new billing method as the preset billing method to process the service request requested by the user. Business billing. the
另外,若用户在业务开始之前或者业务开始时向控制装置发送计费方式切换请求,请求按照新计费方式进行计费,控制装置可以不将该计费方式切换请求转发给计费装置,而是同时根据预先设置的计费方式与请求切换到的新计费方式同时对本次业务使用的业务资源进行监控。 In addition, if the user sends a charging mode switching request to the control device before or when the service starts, requesting to perform charging according to the new charging mode, the control device may not forward the charging mode switching request to the charging device, but It is to monitor the service resources used by this service at the same time according to the preset billing method and the new billing method requested to be switched to. the
如图2所示,为一个本发明计费方法实施例的流程图。该实施例中,在控制装置接收到用户终端发送的业务请求与计费方式切换请求并将业务请求转发给计费装置后,执行以下步骤: As shown in FIG. 2, it is a flowchart of an embodiment of the billing method of the present invention. In this embodiment, after the control device receives the service request and the charging mode switching request sent by the user terminal and forwards the service request to the charging device, the following steps are performed:
步骤101,计费装置接收控制装置发送的业务请求。
该请求的业务可以是所有种类的业务请求,例如:会话呼叫业务、数据下载业务、智能网业务(例如:呼叫中心,电话热线、电话投票)、多媒体业务等。上述业务仅是举例,不能视为是对本实施方式的限制。 The requested service can be all kinds of service requests, such as session call service, data download service, intelligent network service (for example: call center, telephone hotline, telephone voting), multimedia service and so on. The above-mentioned services are only examples, and should not be regarded as limitations on this embodiment. the
步骤102,计费装置向控制装置下发各种计费方式对应的业务资源,例如:针对按照时间进行计费的计费方式下发的业务资源为时长,针对按照流量进行计费的计费方式下发的业务资源为流量。
步骤103,控制装置接收到业务资源后,根据业务请求处理业务,并在预先设置的计费方式与用户请求切换到的新计费方式下,监控处理业务的过程中使用的业务资源。 Step 103: After receiving the service resource, the control device processes the service according to the service request, and monitors the service resource used in the process of processing the service under the preset charging mode and the new charging mode requested by the user to switch to. the
为方便说明,该实施例中假设预先设置的针对该业务的计费方式为按照时间进行计费,新计费方式为按照流量进行计费,则该步骤103中,控制装 置在处理业务的过程中,同时对业务资源按照时长或流量进行监控。 For the convenience of description, in this embodiment, it is assumed that the preset charging method for the service is charging according to time, and the new charging method is charging according to traffic, then in
步骤104,在处理业务使用的资源达到下发的业务资源时,或者,接收到用户终端发送的结束业务请求时,控制装置向计费装置发送报告信息,其中携带有用户在本次业务中实际使用的时长信息与流量信息。
步骤105,计费装置分别根据用户在本次业务中实际使用的时长与流量计算本次业务的费用,并根据预先设置,采用计算出的费用较小的或较大的费用对本次业务进行计费。若按照时长与流量计算出的本次业务的费用相同,则直接按照该费用计算结果进行计费。
步骤106,计费装置根据计费结果从用户帐户上扣除相应费用。
若在一次完整的业务处理过程中,计费装置多次向控制装置下发业务资源,并在每次下发的业务资源使用完毕后根据预先设置的计费方式,即:按照时间进行计费的计费方式下的计费结果进行了扣费,则在业务结束时,若最终决定采用按照流量进行计费的计费方式进行计费,则由于按照本次业务中消耗的流量与时间计算出的业务费用大小不同,最后一次从用户帐户扣除费用后,需要根据在按照流量进行计费的计费方式与按照时间进行计费的计费方式下计算出的本次业务费用差值与已从用户帐户扣除的费用,向用户帐户回补相应金额或从用户帐户补扣相应的金额。 If during a complete business processing process, the billing device sends service resources to the control device multiple times, and after the service resources sent each time are used up, it will be charged according to the preset charging method, that is, according to time If the billing result under the billing method is deducted, then at the end of the service, if it is finally decided to use the billing method of billing according to the traffic, it will be calculated according to the traffic and time consumed in this business The size of the service fee is different. After the last deduction of the fee from the user account, it needs to be calculated based on the difference between the current service fee calculated under the billing method based on traffic and the billing method based on time. For the fees deducted from the user account, the corresponding amount shall be repaid to the user account or the corresponding amount shall be deducted from the user account. the
在按照时间进行计费的计费方式下计算出的业务费用大于按照流量进行计费的计费方式下计算出的业务费用时,计算时间计费方式下计算出的本次业务费用与流量计费方式下计算出的本次业务费用的差值,并向用户帐户回补该差值的金额。在按照时间进行计费的计费方式下计算出的业务费用小于按照流量进行计费的计费方式下计算出的业务费用时,计算按照流量进行计费的计费方式下计算出的本次业务费用与按照时间进行计费的计费方式下计算出的本次业务费用的差值,并从用户帐户补扣该差值的金额。 When the business fee calculated under the billing method based on time is greater than the business fee calculated under the billing method based on traffic, the business fee calculated under the time-based billing method is the same as the traffic meter The difference between the current business expenses calculated under the fee method, and the amount of the difference will be reimbursed to the user account. When the service fee calculated under the billing method based on time is less than the service fee calculated under the billing method based on traffic, calculate the current service fee calculated under the billing method based on traffic The difference between the business cost and the current business cost calculated under the billing method based on time, and the amount of the difference will be deducted from the user account. the
若用户在使用业务的过程中向控制装置发起计费方式切换请求,则图2所示实施例中,步骤103相应为:控制装置接收到业务资源后,根据业务请 求处理业务,并在各种计费方式下,包括计费装置中预先设置的计费方式与其它支持的各种计费方式,对业务资源进行监控。 If the user initiates a billing mode switching request to the control device during the process of using the service, then in the embodiment shown in Figure 2,
更具体的例子中,计费装置支持的计费方式包括按照时间进行计费的计费方式与按照流量进行计费的计费方式,其中预先设置的针对该业务的计费方式为按照时间进行计费,则该步骤103中,控制装置在处理业务的过程中,同时对业务资源按照时长或流量进行监控。步骤103与步骤104之间,还包括:控制装置在处理业务的过程中,接收用户发送的计费方式切换请求,请求将计费方式切换为按照流量进行计费的计费方式,该计费方式切换请求中携带有按照流量进行计费的新计费方式。若在业务处理的过程中,用户提出了多次计费方式切换请求,则步骤104中,在处理业务使用的资源达到下发的业务资源时,或者,接收到用户终端发送的结束业务请求时,控制装置向计费装置发送报告信息,其中携带有在用户最近一次请求切换到的新计费方式下实际使用的业务资源信息;步骤105中,计费装置根据该最近一次请求切换到的新计费方式与该计费方式下实际使用的业务资源进行计费。同样,若在一次完整的业务处理过程中,计费装置多次向控制装置下发业务资源,并在每次下发的业务资源使用完毕后根据预先设置的计费方式获得的计费结果进行了扣费,则在业务结束时,若最终决定采用的计费方式与预先设置的计费方式不同,则也需要根据在两种计费方式下计算出的本次业务费用差值与已从用户帐户扣除的费用,向用户帐户回补相应金额或从用户帐户补扣相应的金额。 In a more specific example, the charging methods supported by the charging device include charging according to time and charging according to traffic, wherein the preset charging method for this service is based on time For billing, in
进一步地,若在业务开始之前或者业务开始时,控制装置接收到用户发送的计费方式切换请求,请求将预先设置的计费方式切换为新计费方式,控制装置可以将新计费方式上报计费装置。相应的,步骤102中,计费装置向控制装置下发预先设置的计费方式与新计费方式对应的业务资源,后续流程可参考步骤104-106进行处理。 Further, if the control device receives a billing mode switch request sent by the user before or when the business starts, requesting to switch the preset billing mode to a new billing mode, the control device can report the new billing mode billing device. Correspondingly, in
上述各实施例中,用户终端具体可以通过管理装置向控制装置发送计费 方式切换请求。另外,计费方式切换请求中也可以携带有预先设置的计费方式。 In each of the above embodiments, the user terminal may specifically send a charging mode switching request to the control device through the management device. In addition, the charging method switching request may also carry a preset charging method. the
下面给出一个在会话呼叫业务中改变计费方式的实施例。如图3所示,为另一个本发明计费方法实施例的流程图,该实施例以会话呼叫业务为例,但是显然并不限于会话呼叫业务。其包括以下步骤: An embodiment of changing the charging method in the session call service is given below. As shown in FIG. 3 , it is a flow chart of another embodiment of the charging method of the present invention. This embodiment takes the session call service as an example, but it is obviously not limited to the session call service. It includes the following steps:
步骤201,用户通过终端向控制装置发起会话呼叫请求。 Step 201, the user initiates a session call request to the control device through the terminal. the
步骤202,控制装置将该会话呼叫请求转发给计费装置。 Step 202, the control device forwards the session call request to the charging device. the
步骤203,计费装置接收控制装置发送的会话呼叫请求,获取预先设置的会话呼叫请求对应的计费方式信息,根据该计费方式向控制装置下发预先设置的业务资源。 In step 203, the billing device receives the session call request sent by the control device, acquires the preset charging mode information corresponding to the session call request, and sends the preset service resource to the control device according to the charging mode. the
例如:计费方式为按照时间进行计费。,与按照时间进行计费的计费方式对应的业务资源为通话时长,例如:15分钟。又例如;计费方式为按照数据流量进行计费,则此处的业务资源可以为数据流量。例如:15M。 For example: the billing method is billing by time. , the service resource corresponding to the billing method based on time is the call duration, for example: 15 minutes. For another example, if the billing method is billing according to data traffic, the service resource here may be data traffic. For example: 15M. the
步骤204,控制装置接收到计费装置下发的业务资源后,对该会话呼叫请求进行监控处理。 In step 204, the control device monitors and processes the session call request after receiving the service resource issued by the charging device. the
具体地,根据会话呼叫请求中携带的被叫方终端用户标识,将该会话呼叫接续到被叫方终端,并在被叫方终端摘机时,在下发的业务资源范围内,对该会话呼叫业务使用的业务资源进行监控。 Specifically, according to the called party terminal user identification carried in the session call request, the session call is connected to the called party terminal, and when the called party terminal goes off-hook, within the scope of the issued service resources, the session call The business resources used by the business are monitored. the
以步骤203中的计费方式按照时间进行计费为例,控制装置接收到计费装置下发的通话时长后,对该会话呼叫请求进行监控处理。根据会话呼叫请求中携带的被叫方终端用户标识,将该会话呼叫接续到被叫方终端,并在被叫方终端摘机时,在15分钟的通话时长范围内,对该会话呼叫业务使用的时长进行监控。 Taking the billing method in step 203 as charging by time as an example, the control device monitors and processes the session call request after receiving the call duration issued by the billing device. According to the user identification of the called party terminal carried in the session call request, connect the session call to the called party terminal, and use the session call service within 15 minutes of the call duration when the called party terminal picks up the phone time to monitor. the
步骤205,在会话呼叫业务进行的过程中,终端向管理装置发送计费方式切换请求,该计费方式切换请求中携带有预先设置的旧计费方式与请求切换到的新计费方式。 Step 205, during the course of the session call service, the terminal sends a charging mode switching request to the management device, and the charging mode switching request carries the preset old charging mode and the new charging mode to be switched to. the
继续上面的例子,在语音数据流量较少时,终端向管理装置发送计费方式切换请求,该计费方式切换请求中携带有预先设置的按照时间进行计费的计费方式,与请求切换到按照数据流量计费的新计费方式。 Continuing with the above example, when the voice data traffic is low, the terminal sends a billing mode switching request to the management device, and the billing mode switching request carries a preset billing mode based on time, which is consistent with the request to switch to A new billing method based on data traffic billing. the
在一个较优实施例中,系统预设单位语音数据流量的门限,当单位语音数据流量小于该门限时,终端即自动向管理装置发送计费方式切换请求,或管理装置提示终端发起计费方式切换请求,也可以由管理装置直接向控制装置发起计费方式切换请求。 In a preferred embodiment, the system presets the threshold of the unit voice data flow, and when the unit voice data flow is less than the threshold, the terminal automatically sends a charging mode switching request to the management device, or the management device prompts the terminal to initiate the charging mode The switching request may also be directly initiated by the management device to the control device. the
步骤206,管理装置接收终端发送的计费方式切换请求。 Step 206, the management device receives the billing mode switching request sent by the terminal. the
步骤207,管理装置向控制装置转发计费方式切换请求。 Step 207, the management device forwards the charging mode switching request to the control device. the
在有的实施方式中,可以不需要管理装置,而是终端直接向控制装置发送计费方式切换请求。 In some implementation manners, the management device may not be required, but the terminal directly sends a charging mode switching request to the control device. the
步骤208,控制装置接收到管理装置转发的计费方式切换请求后,记录在按照旧计费方式下用户终端使用的实际业务资源,并开始监控后续业务处理过程中,在按照新计费的计费方式下用户终端上使用的实际业务资源。 Step 208, after the control device receives the billing mode switch request forwarded by the management device, it records the actual service resources used by the user terminal under the old billing mode, and starts to monitor the subsequent service processing process. The actual service resources used on the user terminal in the free mode. the
即对于前面的例子,控制装置接收到管理装置转发的计费方式切换请求后,记录在按照时间计费的计费方式下用户终端的实际通话时长,并开始监控后续业务处理过程中,在按照数据流量计费的计费方式下用户终端上使用的实际数据流量。 That is to say, for the previous example, after the control device receives the billing mode switch request forwarded by the management device, it records the actual call duration of the user terminal under the billing mode based on time billing, and starts to monitor the follow-up business process. The actual data traffic used on the user terminal under the billing method of data traffic billing. the
步骤209,控制装置在终端上的业务使用完下发的业务资源时,向计费装置上报携带有业务使用资源信息与计费方式切换信息的报告信息。该业务使用资源信息包含用户终端的实际使用的切换前的旧业务资源与实际使用的切换后的旧业务资源。该计费方式切换信息中包含切换后的新计费方式,其中的 Step 209 , when the service on the terminal uses up the issued service resources, the control device reports report information carrying the service resource information and charging mode switching information to the charging device. The service use resource information includes the old service resource before switching actually used by the user terminal and the old service resource after switching actually used by the user terminal. The billing method switching information includes the new billing method after switching, of which
即对于前面的例子,控制装置在处理用户终端上的通话时长达到下发的15分钟的通话时长时,向计费装置上报携带有业务使用资源信息与计费方式切换信息的报告信息。业务使用资源信息为用户终端的实际通话时长信息与 用户终端上的实际数据流量信息。该计费方式切换信息中包含切换后的按照数据流量进行计费的新计费方式。。 That is, for the above example, when the call duration on the processing user terminal reaches the issued call duration of 15 minutes, the control device reports to the billing device the report information carrying the service usage resource information and the billing mode switching information. The service usage resource information is the actual call duration information of the user terminal and the actual data flow information on the user terminal. The charging method switching information includes the switched new charging method for charging according to the data traffic. . the
步骤210,计费装置根据切换前用户终端的实际使用的业务资源和旧计费方式计算该部分业务费用,根据切换后用户终端的实际使用的业务资源和旧计费方式计算该部分的业务费用,并将前述两部分费用求和,根据该和值对会话呼叫业务进行计费。 Step 210, the billing device calculates this part of the service fee according to the service resources actually used by the user terminal before the switch and the old charging method, and calculates this part of the service fee according to the service resources actually used by the user terminal after the switch and the old charging method , and sum the aforementioned two parts of fees, and charge the session call service according to the sum value. the
对于前面的例子,计费装置根据用户终端的实际通话时长计算在按照时间进行计费的计费方式下的业务费用,根据用户终端上的实际数据流量计算按照流量进行计费的计费方式下的业务费用,并将二者求和,对会话呼叫业务进行计费。 For the previous example, the billing device calculates the service fee under the billing method of charging according to time according to the actual call duration of the user terminal, and calculates the service fee under the billing method of billing according to traffic according to the actual data flow on the user terminal. and sum the two to charge for the session call service. the
步骤211,计费装置根据计费结果,从终端用户的帐户上扣除相应费用。 In step 211, the billing device deducts corresponding charges from the terminal user's account according to the billing result. the
步骤212,计费装置根据报告信息,判断用户是否结束上述会话呼叫业务,若未结束,执行步骤213;否则,执行步骤218。 In step 212, the billing device judges whether the user has terminated the above-mentioned session call service according to the report information, and if not, executes step 213; otherwise, executes step 218. the
步骤213,计费装置按照新计费方式,即:按照数据流量计费的计费方式,向控制装置下发新业务资源,例如:15M。 In step 213, the billing device issues new service resources, for example, 15M, to the control device according to the new billing mode, ie, according to the billing mode of data traffic billing. the
步骤214,控制装置接收到计费装置下发的新业务资源,即:数据流量后,按照15M的数据流量对主叫方终端与被叫方终端之间传输的数据流量进行监控。 In step 214, the control device monitors the data flow transmitted between the calling party terminal and the called party terminal according to the data flow rate of 15M after receiving the new service resource issued by the charging device, namely: data flow. the
步骤215,控制装置对会话呼叫业务进行监控的过程中,判断是否接收到用户通过终端发送的计费方式切换请求信息,若未接收到,执行步骤216;否则,执行步骤217。 In step 215, the control device judges whether the charging mode switching request information sent by the user through the terminal is received during the process of monitoring the session call service, and if not received, executes step 216; otherwise, executes step 217. the
步骤216,以按照数据流量进行计费的计费方式,按照现有技术的流程进行后续流程。 In step 216 , follow the procedures in the prior art in a billing manner based on data traffic. the
步骤217,以按照数据流量计费作为预先设置的计费方式,以用户通过终端请求切换到的计费方式作为新计费方式,执行步骤205。 Step 217: Taking charging according to the data flow as the preset charging method, and using the charging method that the user requests to switch to through the terminal as the new charging method, and then step 205 is executed. the
步骤218,结束会话呼叫业务流程。在图3所示的上述流程中,与步骤 209相应,若控制装置在用户终端上的通话时长尚未达到下发的15分钟的通话时接收到用户通过终端发送的结束会话呼叫业务的结束呼叫业务请求,则向计费装置上报携带有业务使用资源信息与计费方式切换信息的报告信息,该计费方式切换信息中包含切换后的新计费方式,即:按照数据流量进行计费;其中的业务使用资源信息具体为分别为用户终端的实际通话时长信息与用户终端上的实际数据流量信息;通过步骤210与步骤211,计费装置根据按照时间计费的计费方式下用户终端的实际通话时长信息与按照数据流量计费的计费方式下用户终端上的实际数据流量信息按照时间计费的计费方式下用户终端的实际通话时长信息与按照数据流量计费的计费方式下用户终端上的实际数据流量信息对会话呼叫业务进行计费,并从终端用户的帐户上扣除相应费用后,结束该会话呼叫业务流程。 Step 218, end the session call service flow. In the above-mentioned flow shown in Fig. 3, corresponding to step 209, if the call duration on the user terminal has not yet reached the issued 15-minute call, the control device receives the end call service of the end session call service sent by the user through the terminal request, report to the billing device the report information carrying the service resource information and the billing mode switching information, the billing mode switching information includes the new billing mode after switching, that is: billing according to the data flow; The resource information used by the service is specifically the actual call duration information of the user terminal and the actual data flow information on the user terminal; through steps 210 and 211, the billing device calculates according to the actual time of the user terminal under the billing method of charging by time Call duration information and the actual data flow information on the user terminal under the billing method based on data flow The actual call duration information of the user terminal under the billing method based on time and the user The actual data traffic information on the terminal is charged for the session call service, and after the corresponding fee is deducted from the terminal user's account, the session call service process is ended. the
在图3所示的计费方法实施例中,用户是在业务处理过程中发起计费方式切换请求,另外,用户也可以在发起业务请求前或发起业务请求的同时,向管理装置发起计费方式切换请求,请求在业务开始时的前第一时间段内采用预先设置的计费方式、在之后的第二时间段内采用新计费方式、在之后的时间段内采用另一种新计费方式进行计费,则控制装置将管理装置转发的计费方式切换请求转发给计费装置后,计费装置可以在第一时间段、第二时间段与之后的时间段内分别向控制下发相应的业务资源,分别根据各时间段内的计费方式与相应使用的实际资源计算各时间段内的业务费用,并根据计算出的所有业务费用之和对本次业务进行计费。若本次业务在上述各时间段内结束,则计算实际采用的各计费方式及相应计费方式下实际使用的业务资源的费用并求和,根据求和结果对本次业务进行计费。若在业务处理的过程中,用户再次提出了计费方式切换请求,则可以参考本发明上述实施例的计费方法进行相应处理。 In the charging method embodiment shown in Figure 3, the user initiates a charging mode switching request during service processing. In addition, the user may also initiate charging to the management device before or at the same time as the service request is initiated. Mode switching request, requesting to adopt the preset charging method in the first time period before the start of the service, to adopt the new charging method in the second time period after that, and to adopt another new charging method in the subsequent time period If the charging method is used for billing, the control device forwards the charging mode switching request forwarded by the management device to the charging device, and the charging device can report to the control device in the first time period, the second time period, and the subsequent time period respectively. Send the corresponding business resources, calculate the business expenses in each time period according to the charging method in each time period and the corresponding actual resources used, and charge this business according to the sum of all calculated business expenses. If the business ends within the above-mentioned time periods, calculate and sum the fees for each billing method actually used and the business resources actually used under the corresponding billing methods, and charge the business according to the summation result. If during the service processing, the user puts forward a charging mode switching request again, the corresponding processing can be performed with reference to the charging method in the above-mentioned embodiments of the present invention. the
如图4所示,为一个本发明控制装置实施例的结构示意图,该实施例的控制装置包括: As shown in Figure 4, it is a schematic structural diagram of a control device embodiment of the present invention, the control device of this embodiment includes:
业务处理模块11,用于接收终端发送的业务请求并转发给计费装置,以及根据该业务请求处理所述业务; The
第一监控模块12,用于接收计费装置针对所述业务下发的业务资源,并在接收到针对所述业务下发的业务资源时,指示业务处理模块11处理所述业务,并在所述业务处理模块11处理所述业务时,按照各种计费方式监控处理所述业务的过程中实际使用的业务资源,在下发的业务资源使用完毕或接收到结束业务请求时,向计费装置上报各种计费方式及各种计费方式下相应使用的业务资源。其中的计费方式可以是按时间或流量进行计费的计费方式。 The
如图5所示,为一个本发明计费装置实施例的结构示意图,该实施例的计费装置包括: As shown in Figure 5, it is a schematic structural diagram of an embodiment of the billing device of the present invention, the billing device of this embodiment includes:
第一收发模块21,用于接收控制装置中的业务处理模块11转发的业务请求,并向控制装置中的第一监控模块12下发业务资源,以及接收第一监控模块12上报的各种计费方式及各种计费方式下相应使用的业务资源; The
计算模块22,用于根据收发模块接收到的各种计费方式及各种计费方式下相应使用的业务资源,计算业务费用; The
比较模块23,用于比较计费模块计算出的各种计费方式下的业务费用数额的大小;
第一计费模块24,用于根据比较模块23的比较结果及预先设置,选取各种计费方式下的业务费用之一对所述业务进行计费,例如:选取数额较大或较小的业务费用对所述业务进行计费。 The
另外,图5所示实施例的计费装置还可以包括: In addition, the billing device of the embodiment shown in Figure 5 can also include:
扣费模块25,用于根据第一计费模块24的计费结果,从使用所述业务的用户帐户扣除相应业务费用。 The
进一步地,该扣费模块25可以包括: Further, the
计算单元251,用于计算第一计费模块24的计费结果与已从用户帐户上扣除费用的差值;
扣费单元252,用于根据第一计费模块24的计费结果,从使用所述业务的用户帐户扣除相应业务费用,以及根据计算单元251计算出的差值,从用户帐户上补扣或向用户帐户回补所述差值的费用。 The
本发明提供的各实施例的计费系统包括控制装置1a与计费装置2a。如图6所示,为一个本发明计费系统实施例的结构示意图,该实施例中,控制装置1a采用图4所示的实施例的控制装置,计费装置2a采用图5所示任一实施例的计费装置。 The billing system of each embodiment provided by the present invention includes a control device 1a and a billing device 2a. As shown in Figure 6, it is a schematic structural diagram of an embodiment of the billing system of the present invention. In this embodiment, the control device 1a adopts the control device of the embodiment shown in Figure 4, and the billing device 2a adopts any one of the billing devices shown in Figure 5. The billing device of the embodiment. the
如图7所示,为另一个本发明控制装置实施例的结构示意图,该实施例的控制装置包括: As shown in Figure 7, it is a schematic structural diagram of another control device embodiment of the present invention, the control device of this embodiment includes:
业务处理模块11,用于接收终端发送的业务请求并转发给计费装置,以及根据该业务请求处理所述业务; The
第二监控模块13,用于在接收到计费装置针对所述业务下发的业务资源时,指示业务处理模块11处理所述业务,并根据接收到的计费方式切换请求,在业务处理模块11在处理所述业务时,在不同时段内按照相应的计费方式监控业务处理模块11处理所述业务时实际使用的业务资源,在下发的业务资源使用完毕或接收到结束业务请求时,向计费装置上报各种计费方式及各种计费方式下相应使用的业务资源。其中的计费方式可以是按时间或流量进行计费的计费方式。 The
如图8所示,为另一个本发明计费装置实施例的结构示意图,该实施例的计费装置包括: As shown in Figure 8, it is a schematic structural diagram of another billing device embodiment of the present invention, the billing device of this embodiment includes:
第二收发模块26,用于接收控制装置中的业务处理模块11转发的业务请求,并向控制装置中的第二监控模块13下发业务资源,以及接收第二监控模块13上报的不同时间段内的计费方式及各种计费方式下相应使用的业务资源; The
计算模块22,用于根据第二收发模块26接收到的不同时间段内的计费方式及各种计费方式下相应使用的业务资源,计算各时间段内的业务费用; The
求和模块27,用于对计算模块22计算出的各时间段内的业务费用进行求和;
第二计费模块28,根据求和模块27获得的求和结果对所述业务进行计费。 The
另外,图8所示的计费装置还可以包括: In addition, the billing device shown in Figure 8 may also include:
扣费模块25,用于根据第二计费模块28的计费结果,从使用所述业务的用户帐户扣除相应业务费用。 The
如图9所示,为另一个本发明计费系统实施例的结构示意图,该实施例中的控制装置采用图7所示的实施例的控制装置,计费装置可以采用图8所示的任一实施例的计费装置。 As shown in Figure 9, it is a schematic structural diagram of another billing system embodiment of the present invention, the control device in this embodiment adopts the control device of the embodiment shown in Figure 7, and the billing device can adopt any of the billing devices shown in Figure 8 An accounting device of an embodiment. the
进一步地,图6与图9所示实施例的计费系统还可以包括管理装置3,与控制装置连接,用于接收终端发送的业务的计费方式切换请求并转发给控制装置;控制装置判断终端上是否正在进行所述业务,若是,则记录该新计费方式并将计费费时切换请求发送给控制装置,若否,则将计费方式切换请求直接转发给计费装置,请求计费装置将预先设置的所述业务的计费方式修改为新计费方式。 Further, the billing system of the embodiment shown in FIG. 6 and FIG. 9 may also include a management device 3, which is connected to the control device, and is used to receive the charging mode switching request of the service sent by the terminal and forward it to the control device; the control device judges Whether said service is being carried out on the terminal, if so, then record this new billing method and send the switching request to the control device when charging, if not, then directly forward the charging method switching request to the billing device, request billing The device modifies the preset charging mode of the service to a new charging mode. the
本发明的上述各实施例中,计费装置具体可以是SCP或OCS;控制装置具体可以是GGSN或通用通信网关(Common Communications Gateway,CCG)或内容安全网关(Content Security Gateway,CSG)或移动数据管理平台(Mobile Data Service Platform,MDSP);管理装置3具体可以是客户服务中心(Customer Care Center,CCC)或客户关系管理系统(Customerrelationship management,CRM)或业务管理接入点(Service ManagementAccess Point,SMAP)。 In each of the above-mentioned embodiments of the present invention, the billing device may specifically be SCP or OCS; the control device may specifically be GGSN or Common Communications Gateway (Common Communications Gateway, CCG) or Content Security Gateway (Content Security Gateway, CSG) or mobile data Management platform (Mobile Data Service Platform, MDSP); management device 3 can specifically be customer service center (Customer Care Center, CCC) or customer relationship management system (Customerrelationship management, CRM) or business management access point (Service ManagementAccess Point, SMAP ). the
本发明实施例中,用户可以通过终端在使用业务的过程中,使用业务之前或使用业务的同时,发起计费方式切换请求,控制装置在处理业务使用的资源达到下发的业务资源时,或者,接收到结束所述业务的结束业务请求时, 向计费装置上报本次业务中采用的各种计费方式及各种计费方式下相应使用的业务资源,由计费装置根据预先设置及各种计费方式与相应计费方式下实际使用的业务资源,对业务进行计费,实现了计费方式,例如:按照数据流量或时长进行计费的计费方式之间的切换,从而实现了业务的灵活计费。 In the embodiment of the present invention, the user can initiate a charging mode switching request through the terminal during the service use process, before using the service or while using the service. When the resources used by the control device for processing services reach the issued service resources, or , when receiving a request to end the service, report to the charging device the various charging methods used in this service and the corresponding service resources used under the various charging methods, and the charging device according to the preset and Various billing methods and the actual service resources used under the corresponding billing methods are used to charge the business and realize the billing methods, such as switching between billing methods based on data traffic or duration, so as to realize Flexible billing for services. the
最后所应说明的是:以上实施例仅用以说明本发明的技术方案,而非对本发明作限制性理解。尽管参照上述较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这种修改或者等同替换并不脱离本发明技术方案的精神和范围。 Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present invention, rather than limiting the understanding of the present invention. Although the present invention has been described in detail with reference to the above-mentioned preferred embodiments, those skilled in the art should understand that: it can still modify or replace the technical solution of the present invention, and such modification or replacement does not depart from the technology of the present invention. The spirit and scope of the programme. the
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200810057426CN101227302B (en) | 2008-02-01 | 2008-02-01 | Charging method, control apparatus, charging device and charging system |
| PCT/CN2009/070316WO2009100669A1 (en) | 2008-02-01 | 2009-01-24 | Charging method, control device, charging device and charging system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200810057426CN101227302B (en) | 2008-02-01 | 2008-02-01 | Charging method, control apparatus, charging device and charging system |
| Publication Number | Publication Date |
|---|---|
| CN101227302A CN101227302A (en) | 2008-07-23 |
| CN101227302Btrue CN101227302B (en) | 2012-12-19 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200810057426Expired - Fee RelatedCN101227302B (en) | 2008-02-01 | 2008-02-01 | Charging method, control apparatus, charging device and charging system |
| Country | Link |
|---|---|
| CN (1) | CN101227302B (en) |
| WO (1) | WO2009100669A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101374055B (en) | 2007-08-20 | 2012-12-12 | 华为技术有限公司 | Method for processing charging and network system, packet data network gateway and charging system |
| CN101227302B (en)* | 2008-02-01 | 2012-12-19 | 华为技术有限公司 | Charging method, control apparatus, charging device and charging system |
| CN102045681B (en)* | 2009-10-12 | 2015-09-02 | 钟巨航 | For the method and apparatus of Web vector graphic charging |
| CN101692688B (en)* | 2009-10-29 | 2013-06-05 | 杭州华三通信技术有限公司 | Method, system and device for generating CDR in segment |
| CN102065401A (en)* | 2009-11-17 | 2011-05-18 | 中国移动通信集团辽宁有限公司 | A charging processing method, device and system among multiple services |
| CN101895402B (en)* | 2010-07-23 | 2015-04-01 | 中兴通讯股份有限公司 | Charging data management method and device of communication users |
| CN102044035A (en)* | 2010-11-10 | 2011-05-04 | 深圳市爱贝信息技术有限公司 | Charging method and device for supporting flexibly switching charging strategies by user |
| CN102291704B (en)* | 2011-07-28 | 2014-12-03 | 华为软件技术有限公司 | Charging method, charging device, exchange device and charging system |
| CN103067903A (en)* | 2012-12-31 | 2013-04-24 | 华为技术有限公司 | Charging method and device and system |
| CN103581867A (en)* | 2013-11-19 | 2014-02-12 | 华为技术有限公司 | Service package switching method, device and system |
| JP2017119387A (en)* | 2015-12-28 | 2017-07-06 | 富士ゼロックス株式会社 | Information processing device and program |
| CN113037513B (en)* | 2017-01-05 | 2022-05-13 | 华为技术有限公司 | Charging management method, user plane functional entity and control plane functional entity |
| CN110971640B (en)* | 2018-09-30 | 2022-10-11 | 北京国双科技有限公司 | CDN acceleration service distribution method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1725697A (en)* | 2004-07-22 | 2006-01-25 | 华为技术有限公司 | Service Charging Method in General Packet Radio Service Network |
| CN1859136A (en)* | 2006-02-27 | 2006-11-08 | 华为技术有限公司 | Charging system and charging method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE10341362A1 (en)* | 2003-09-08 | 2005-04-07 | Siemens Ag | Method for charging a service in a packet data network |
| CN100550959C (en)* | 2005-11-01 | 2009-10-14 | 华为技术有限公司 | telecommunication charging system and method thereof |
| CN1848895B (en)* | 2005-11-03 | 2010-10-27 | 华为技术有限公司 | Method for switching charging mode by mobile subscriber station in WiMAX |
| CN101227302B (en)* | 2008-02-01 | 2012-12-19 | 华为技术有限公司 | Charging method, control apparatus, charging device and charging system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1725697A (en)* | 2004-07-22 | 2006-01-25 | 华为技术有限公司 | Service Charging Method in General Packet Radio Service Network |
| CN1859136A (en)* | 2006-02-27 | 2006-11-08 | 华为技术有限公司 | Charging system and charging method |
| Title |
|---|
| 全文. |
| 同上. |
| Publication number | Publication date |
|---|---|
| WO2009100669A1 (en) | 2009-08-20 |
| CN101227302A (en) | 2008-07-23 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101227302B (en) | Charging method, control apparatus, charging device and charging system | |
| CN1867024B (en) | Charging information transmitting method | |
| KR101160377B1 (en) | Converged prepaid and postpaid charging | |
| CN102026139B (en) | Method and system for delivering dynamic policy rules | |
| CN101132289B (en) | Integrated billing method, billing system, application server and integrated billing system | |
| CN101364882B (en) | Method, system and apparatus realizing off-line charging control | |
| EP1871084A1 (en) | Method and system for third party charging | |
| CN103477587A (en) | Method and device for controlling QoS and/or policy and charging control of a guest user | |
| WO2007095864A1 (en) | Charging system and charging method | |
| CN101499911B (en) | Billing system, device and method | |
| CN100466526C (en) | Credit control client, credit control server, billing system and billing method | |
| CN100389561C (en) | Charge network and charge agency device and charge method | |
| CN111050007A (en) | Policy and charging execution function device, online charging device and online charging method | |
| CN101436940B (en) | Charging control method and charging system and relevant equipment | |
| US8630397B2 (en) | Method and system for enabling charging of non-charging controlled services | |
| CN102291704B (en) | Charging method, charging device, exchange device and charging system | |
| CN112020025A (en) | Online charging message access layer authorization and bill instantiation method and device | |
| EP1989821A1 (en) | Context-based processing of data flows for differentiated charging | |
| CN109547956B (en) | A multi-service concurrent processing method | |
| KR20130001439A (en) | Method for application quality of service and charge control, application function device, and policy and charge rule function device | |
| CN106817687A (en) | Strategy and charging control fast adjustment method, apparatus and system | |
| CN1681283B (en) | Charging method of mobile intelligent net | |
| CN100563292C (en) | A billing method and system | |
| CN1867023B (en) | A method and device for realizing multicast service prepayment/postpayment | |
| CN101674565A (en) | A charging method selection method, device and communication system |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20121219 | |
| CF01 | Termination of patent right due to non-payment of annual fee |