Call detail record (CDR) billing methods, devices, equipment, and computer storage media
By constructing a cross-node distributed billing system, utilizing the capabilities of existing provincial billing systems as edge computing nodes, and combining it with the newly built first billing system, the problems of high cross-provincial billing costs and technical difficulties were solved, and billing support for sharing communication resources within packages across multiple provinces was realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-24
- Publication Date
- 2026-04-03
AI Technical Summary
Existing cross-provincial billing methods suffer from high costs and technical difficulties, especially when building a unified billing system and ensuring compatibility with the billing capabilities of different integrators.
By receiving resource allocation requests from the second billing system, determining whether there are remaining resources in the first billing system, and deducting resources if there are remaining resources, obtaining deduction result information, and sending it to the second billing system for further deduction and billing, a cross-node distributed billing system is constructed.
It reduced engineering costs and technical difficulties, while meeting the requirements for sharing communication resources within packages across multiple provinces and improving the billing support capabilities for cross-provincial shared services.
Smart Images

Figure CN116846696B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of business support technology, and in particular relates to a call detail record (CDR) billing method, apparatus, equipment and computer storage medium. Background Technology
[0002] With the implementation of the national strategy of speeding up and reducing fees, major domestic operators have unified cross-regional tariff differences based on provinces. Against this backdrop, the demand for sharing communication resources within cross-provincial user packages has come into the operators' view.
[0003] In existing technologies, enabling cross-provincial call detail record (CDR) billing primarily involves building a unified billing system and centrally managing billing data. This allows CDRs and billing information from different provinces to be managed and processed by a single system. However, this unified billing system must be backward compatible with the current billing services of each province and compatible with the billing capabilities of different integrators, making system design extremely challenging. Furthermore, it requires migrating the current billing data from each province to a centralized billing data management module through model conversion and user data cutover, resulting in significant engineering difficulties, long development cycles, and high costs. Therefore, the above-mentioned cross-provincial billing methods suffer from high costs and significant technical challenges. Summary of the Invention
[0004] This application provides a call detail record (CDR) billing method, apparatus, device, and computer storage medium, which can solve the problems of high cost and high technical difficulty in the existing cross-provincial billing methods.
[0005] In a first aspect, embodiments of this application provide a call detail record (CDR) billing method, which is applied to a first billing system and includes:
[0006] Receive a resource allocation request sent by the second billing system based on the target billing call detail record (CDR). The resource allocation request includes resource usage information in the target CDR and information on cross-provincial billing users in the target CDR.
[0007] If it is determined that there are remaining resources in the first communication resource in the first billing system, the remaining resources of the first communication resource are deducted based on the resource allocation request and the resource usage information of the target billing call detail record to obtain deduction result information.
[0008] The deduction result information is sent to the second billing system so that the second billing system can deduct and bill resources whose resource usage exceeds the first communication resources based on the deduction result information.
[0009] In one implementation, the first billing system includes a pre-designed fee group, the pre-designed fee group includes a second communication resource, and the first communication resource includes the second communication resource; when it is determined that the first communication resource in the first billing system has remaining resources, the remaining resources of the first communication resource are deducted based on the resource allocation request and the resource usage information of the target billing call detail record, to obtain deduction result information, including:
[0010] When it is determined that the pre-designed fee group includes cross-provincial billing users in the target billing call detail record, the remaining amount of the second communication resource in the pre-designed fee group is determined;
[0011] If the remaining resource quantity is greater than 0, based on the resource allocation request, the second communication resource is deducted according to the resource usage information of the target billing call detail record to obtain deduction result information.
[0012] In one implementation, the deduction result information includes information on the amount of remaining resources after deducting the remaining resources, and information on the amount of resources to be deducted after deducting the remaining resources.
[0013] In one implementation, if it is determined that there are no remaining resources in the first communication resource in the first billing system, the method further includes:
[0014] The system sends feedback information indicating that the first communication resource is unavailable to the second billing system. Based on this feedback information, the second billing system deducts and charges the third communication resource in the second billing system according to the resource usage information of the target billing call detail record, thereby obtaining billing information.
[0015] In one implementation, the resource allocation request includes fields from the target billing call detail record (CDR) such as user number, tariff identifier, call start time, call duration, and resource usage.
[0016] Secondly, embodiments of this application provide a call detail record (CDR) billing method, which is applied to a second billing system and includes:
[0017] Obtain the user's subscription information from the first billing detail record;
[0018] If, based on the user's order information, it is determined that the user of the first billing call record is a cross-province billing user, the first billing call record is identified as the target billing call record.
[0019] Obtain the resource usage information of the target billing call detail record;
[0020] A resource allocation request is sent to the first billing system so that, when the first billing system determines that there are remaining resources in the first communication resource, it can deduct the remaining resources of the first communication resource based on the resource usage information according to the resource allocation request to obtain deduction result information.
[0021] Receive the deduction result information sent by the first billing system;
[0022] Based on the deduction result information, the resources whose resource usage information exceeds the first communication resource are deducted and billed to obtain billing information.
[0023] In one implementation, if it is determined based on the user subscription information that the user of the first billing call detail record is not a cross-provincial billing user, the method further includes:
[0024] Obtain the resource usage information of the first billing call detail record;
[0025] Based on the resource usage information of the first billing call detail record, the communication resources in the second billing system are deducted and billed to obtain billing information.
[0026] Thirdly, embodiments of this application provide a call detail record (CDR) billing device, which is applied to a first billing system and includes:
[0027] The receiving module is used to receive a resource allocation request sent by the second billing system based on the target billing call detail record (CDR). The resource allocation request includes resource usage information in the target CDR and information on cross-provincial billing users in the target CDR.
[0028] The deduction module is used to deduct the remaining resources of the first communication resource based on the resource allocation request and the resource usage information of the target billing call detail record when it is determined that there are remaining resources in the first communication resource in the first billing system, so as to obtain deduction result information.
[0029] The sending module is used to send the deduction result information to the second billing system, so that the second billing system can deduct and bill the resources whose resource usage information exceeds the first communication resources based on the deduction result information.
[0030] In one embodiment, the first billing system includes a pre-designed fee group, the pre-designed fee group includes a second communication resource, and the first communication resource includes the second communication resource; the call detail record (CDR) billing device further includes a determination module;
[0031] The determining module is used to determine the remaining amount of the second communication resource in the pre-designed fee group when it is determined that the pre-designed fee group includes cross-provincial billing users in the target billing call detail record;
[0032] The deduction module is further configured to, when the remaining resource quantity is greater than 0, deduct the second communication resource based on the resource allocation request and the resource usage information of the target billing call detail record, to obtain deduction result information.
[0033] In one implementation, the deduction result information includes information on the amount of remaining resources after deducting the remaining resources, and information on the amount of resources to be deducted after deducting the remaining resources.
[0034] In one embodiment, the sending module is further configured to send feedback information indicating that the first communication resource has no remaining resources to the second billing system when it is determined that the first communication resource in the first billing system has no remaining resources. This allows the second billing system to deduct and bill the third communication resource in the second billing system based on the feedback information and the resource usage information of the target billing call detail record, thereby obtaining billing information.
[0035] In one implementation, the resource allocation request includes fields from the target billing call detail record (CDR) such as user number, tariff identifier, call start time, call duration, and resource usage.
[0036] Fourthly, embodiments of this application provide a call detail record (CDR) billing device, which is applied to a second billing system and includes:
[0037] The acquisition module is used to obtain the user subscription information of the first billing call detail record;
[0038] The determination module is used to determine the first billing call record as the target billing call record when it is determined from the user's order information that the user of the first billing call record is an inter-provincial billing user.
[0039] The acquisition module is also used to acquire the resource usage information of the target billing call detail record;
[0040] The sending module is used to send a resource allocation request to the first billing system, so that when the first billing system determines that there are remaining resources in the first communication resource, it can deduct the remaining resources of the first communication resource based on the resource usage information according to the resource allocation request to obtain deduction result information.
[0041] A receiving module is used to receive the deduction result information sent by the first billing system;
[0042] The billing module is used to deduct and bill resources whose resource usage exceeds the first communication resource based on the deduction result information, so as to obtain billing information.
[0043] In one implementation, the acquisition module is further configured to acquire resource usage information of the first billing call record when it is determined based on the user subscription information that the user of the first billing call record is not a cross-province billing user.
[0044] The billing module is further configured to deduct and bill the communication resources in the second billing system based on the resource usage information of the first billing call detail record, thereby obtaining billing information.
[0045] Fifthly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions;
[0046] When the processor executes computer program instructions, it implements the call detail record (CDR) billing method as described in any embodiment of the first aspect.
[0047] In a sixth aspect, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the call detail record (CDR) billing method as described in any embodiment of the first aspect.
[0048] In a seventh aspect, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform the call detail record (CDR) billing method as described in any embodiment of the first aspect.
[0049] The call detail record (CDR) billing method, apparatus, device, and computer storage medium of this application embodiment receive a resource allocation request sent by a second billing system based on a target billing CDR, which includes information about cross-provincial billing users. If it is determined that there are remaining resources in the first communication resource in the first billing system, the remaining resources of the first communication resource are deducted according to the resource usage information of the target billing CDR in the resource allocation request, resulting in deduction information. This deduction result information is then sent to the second billing system, which, based on the deduction result information, deducts and bills for resources whose usage exceeds that of the first communication resource. In this way, the capabilities of existing provincial billing systems can be used as edge computing nodes, combined with a newly built first billing system, to construct a cross-node distributed billing system. This satisfies the requirement for sharing communication resources within packages across multiple provinces, improves the billing support capability for cross-provincial shared services, and reduces engineering costs and technical difficulty. Attached Figure Description
[0050] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a schematic diagram of the structure of a cross-node distributed billing system provided in one embodiment of this application;
[0052] Figure 2 This is one of the flowcharts illustrating a call detail record (CDR) billing method provided in an embodiment of this application;
[0053] Figure 3 This is a second schematic flowchart of a call detail record (CDR) billing method provided in one embodiment of this application;
[0054] Figure 4 This is one of the structural schematic diagrams of a call detail record (CDR) billing device provided in one embodiment of this application;
[0055] Figure 5 This is a second schematic diagram of the structure of a call detail record (CDR) billing device provided in one embodiment of this application;
[0056] Figure 6 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0057] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0058] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0059] As described in the background section, existing cross-provincial billing methods suffer from high costs and technical difficulties. To address these issues, this application provides a call detail record (CDR) billing method, apparatus, device, and computer storage medium. This CDR billing method receives a resource allocation request from a second billing system based on a target billing CDR, which includes information about cross-provincial billing users. If the first billing system determines that there are remaining resources in the first communication resource, the remaining resources of the first communication resource are deducted based on the resource usage information of the target billing CDR in the resource allocation request. The deduction result information is then sent to the second billing system, which, based on the deduction result information, deducts and bills for resources whose usage exceeds that of the first communication resource. This allows the existing provincial billing systems to be used as edge computing nodes, combined with a newly built first billing system, to construct a cross-node distributed billing system. This satisfies the requirement for sharing communication resources within packages across multiple provinces, improves the billing support capability for cross-provincial shared services, and reduces engineering costs and technical difficulties.
[0060] Based on this, the call detail record (CDR) billing method provided in the above embodiments of this application can be implemented based on a cross-node distributed billing system. The following is a detailed explanation in conjunction with the appendix. Figure 1 The cross-node distributed billing system provided in the embodiments of this application will be described in detail.
[0061] like Figure 1 As shown, the cross-node distributed billing system 10 proposed in this application embodiment may include a second billing system 11, a billing data processing module 12, a billing interface module 13, and a first billing system 14.
[0062] The second billing system 11 may specifically include a call detail record (CDR) generation module, a CDR acquisition module, a CDR preprocessing module, and a CDR pricing module. The second billing system 11 can be a billing unit within the province, used for acquiring, converting formats, and calculating costs for various types of billing CDRs.
[0063] Specifically, the call detail record (CDR) generation module generates CDR files based on user communication behavior, which can serve as the source of billing CDRs for various provinces; the CDR collection module collects billing CDRs from the devices of various CDR generation modules, centralizing different types of CDRs scattered across different network elements into the billing system for subsequent processing; the CDR preprocessing module parses and formats various billing CDRs, outputting standardized files that conform to the billing system specifications; and the CDR pricing module receives the standardized formatted CDR files after preprocessing, reads data from the billing data processing module 12 (including user information, package subscription relationship information, package tariff configuration, accumulated communication resources within the package, etc.), and thus performs accurate cost calculation based on the user's subscribed package rate.
[0064] In this embodiment, the call detail record (CDR) pricing module is also used to identify whether the CDR user has subscribed to an inter-provincial billing product, to apply billing discounts to the CDRs of users billed within the province according to the existing process, and to calculate the fees; to parse the CDRs of users billed across provinces, and to send the user number, tariff identifier, call start time, call duration, and resource usage fields to the resource request module in the billing interface module 13. The CDR pricing module is a key module for realizing edge computing by utilizing the existing capabilities of the billing systems in various provinces.
[0065] The billing data processing module 12 may include a front-end business processing module, an order acceptance module, a billing data synchronization module, and a billing data management module. The billing data processing module 12 is used to parse, synchronize, and manage billing data.
[0066] Specifically, the front-end business processing module is used by sales staff to order various services for customers; the order acceptance module is used to control and process the flow of generated orders, including order information placement, form printing without filling, payment, invoice printing, service activation and delivery, and service completion; the billing data synchronization module is used to synchronize user data and order data related to billing to the provincial billing data management system according to the data synchronization rules of the front-end and back-end systems. The billing data management module is used to store and manage real-time data such as users and order relationships, billing configuration data such as package tariff configuration, and billing process data such as the accumulated amount of communication resources within the package, providing a data source for the call detail record (CDR) pricing module in the second billing system 11. In this embodiment, the billing data management module is also used to trigger the centralized billing data uploading module of the billing interface module 13 to perform uploading processing when the data of cross-provincial billing users changes.
[0067] The billing interface module 13 may include a resource request module and a centralized billing data uploading module. The billing interface module 13 is responsible for the interaction between the second billing system 11 and the first billing system 14.
[0068] Specifically, the resource request module is used to request communication resource allocation from the first billing system 14 for cross-provincial billing data transmitted by the second billing system 11. The resource request module is used to connect the billing systems of each province with the first billing system 14 to realize the request and allocation of communication resources; the centralized billing data uploading module is used to upload incremental user data involving cross-provincial billing to the first billing system 14 in real time according to the user number, tariff identifier, group identifier, group member relationship, subscription time, effective time and expiration time fields.
[0069] The first billing system 14 may include a billing control module and a billing data storage module, which are responsible for the communication resource management and calculation of cross-provincial billing users.
[0070] Specifically, the billing control module receives centralized communication resource requests from provincial billing systems, enabling full lifecycle management of cross-provincial communication resource generation, querying, allocation, deduction, and cancellation. It is the core module of the cross-node distributed billing system 10. The billing data storage module stores and manages user information data, cross-provincial package tariff configuration data, and accumulated cross-provincial package communication resources from provincial billing systems, providing data to the primary billing control module. For example, the billing data storage module may store files in Microsoft Database (MDB) format.
[0071] Therefore, in this embodiment, the second billing system collects the target billing call detail records (CDRs), and after preprocessing, reads the user's billing information from the target CDRs. Based on the user's subscription information in the billing information, it determines whether the user is a cross-province billing user. If so, it sends a resource allocation request to the first billing system. Next, based on the received resource allocation request, the first billing system determines whether there are remaining resources in the first communication resource. If there are remaining resources, it deducts the remaining resources of the first communication resource based on the resource usage information of the target CDR, obtaining deduction result information. Then, it sends the deduction result information to the second billing system. Thus, the second billing system, based on the deduction result information, deducts and bills for resources whose resource usage exceeds the first communication resource. In this way, while retaining the localized billing systems of each province, and addressing the limitations of different integrators' billing systems and heterogeneous billing data models in each province, as well as the millisecond-level latency constraints of real-time messages, the existing billing system capabilities of each province can be used as edge computing nodes. Combined with the newly built first billing system, a cross-node distributed billing system can be constructed. This not only meets the requirements for sharing communication resources within packages across multiple provinces, but also improves the billing support capabilities for cross-provincial shared services, while reducing engineering costs and technical difficulties.
[0072] Based on the aforementioned cross-node distributed billing system, the following is combined with... Figure 2The call detail record (CDR) billing method provided in the embodiments of this application will be described in detail.
[0073] Figure 2 A flowchart illustrating a call detail record (CDR) billing method provided in one embodiment of this application is shown. This CDR billing method can be applied to the first billing system in the aforementioned cross-node distributed billing system.
[0074] like Figure 2 As shown, this call detail record (CDR) billing method may specifically include the following steps:
[0075] S110, Receive a resource allocation request sent by the second billing system based on the target billing call detail record (CDR). The resource allocation request includes resource usage information in the target CDR and information on cross-provincial billing users in the target CDR.
[0076] The second billing system can be a system used for billing within the province. The second billing system sends a resource allocation request to the first billing system based on the target billing call detail record (CDR). The target CDR can be a CDR collected by the second billing system, and the resource allocation request can be a request to allocate communication resources.
[0077] In some embodiments, a resource allocation request includes fields from the target billing record for user number, tariff identifier, call start time, call duration, and resource usage.
[0078] As an example, the second billing system is an intra-provincial billing system. After the intra-provincial network elements generate billing call detail records (CDRs), the intra-provincial billing system collects CDR files from each network element. Next, the intra-provincial billing system preprocesses the CDR files, standardizing their format to form a standardized file supported by the system. The intra-provincial billing system then sequentially loops through the file records, retrieving user subscription information from the CDR files. Based on this information, it determines whether the user is an inter-provincial billing user. If so, the intra-provincial billing system sends a resource allocation request (including user number, tariff identifier, call start time, call duration, and resource usage fields) to the first billing system, thereby triggering the first billing system to perform calculations.
[0079] S120, if it is determined that there are remaining resources in the first communication resource in the first billing system, the remaining resources of the first communication resource are deducted based on the resource usage information of the target billing call detail record according to the resource allocation request, and the deduction result information is obtained.
[0080] The first communication resource can be a communication resource in the first billing system, and the deduction result information can be the information generated after deducting the remaining resources of the first communication resource.
[0081] In some embodiments, the deduction result information includes information on the amount of remaining resources after deducting the remaining resources, and information on the amount of resources to be deducted after deducting the remaining resources.
[0082] The resource usage information to be deducted after deducting the remaining resources can be resource information that needs to be deducted and billed by the second billing system. This will facilitate the second billing system to deduct and bill resources whose resource usage exceeds the first communication resources based on the deduction result information.
[0083] As an example, the first billing system receives a resource allocation request from the provincial billing system and verifies, allocates, and deducts available communication resources for the users in the billing call records (CDRs) in the resource allocation request. If the first billing system has sufficient communication resources to be used (i.e., the available communication resources in the first billing system are greater than the resource usage of the CDRs), then the resources are deducted according to the resource allocation request, and the deduction result is returned to the provincial billing system. If the available communication resources in the first billing system are insufficient (i.e., the available communication resources in the first billing system are less than the resource usage of the CDRs), then the resources are deducted according to the resource usage, and the information that the resource usage after deduction exceeds the communication resources in the first billing system is returned to the provincial billing system. If the available communication resources in the first billing system are exhausted, no deduction is performed, and the feedback is directly sent to the provincial billing system.
[0084] S130, send deduction result information to the second billing system so that the second billing system can deduct and bill resources whose resource usage information exceeds the first communication resources based on the deduction result information.
[0085] As an example, if the communication resources to be used in the first billing system are less than the resource usage of the target billing call detail record (CDR), then the usage is deducted based on the resource usage. Information indicating that the deducted resource usage exceeds the communication resources of the first billing system is then returned to the provincial billing system. Upon receiving this information, the provincial billing system uses its own communication resources to deduct the excess resources from the first billing system, thus completing the pricing process for the target CDR.
[0086] In this embodiment, a resource allocation request is received from the second billing system based on a target billing call detail record (CDR). This target CDR includes information about cross-provincial billing users. If it is determined that the first communication resource in the first billing system has remaining resources, the remaining resources of the first communication resource are deducted according to the resource usage information of the target CDR in the resource allocation request. The deduction result information is then sent to the second billing system, which, based on the deduction result information, deducts and bills for resources whose usage exceeds that of the first communication resource. This allows the existing provincial billing systems to be used as edge computing nodes, combined with the newly built first billing system, to construct a cross-node distributed billing system. This satisfies the requirement for sharing communication resources within packages across multiple provinces, improves the billing support capability for cross-provincial shared services, and reduces engineering costs and technical difficulty.
[0087] In some embodiments, the first billing system includes a pre-designed fee group, the pre-designed fee group includes a second communication resource, and the first communication resource includes the second communication resource; S120 may specifically include:
[0088] When it is determined that the pre-designed fee group includes cross-provincial billing users in the target billing call detail record, determine the remaining amount of the second communication resource in the pre-designed fee group;
[0089] If the remaining resource quantity is greater than 0, the second communication resource is deducted based on the resource allocation request and the resource usage information of the target billing call record, and the deduction result information is obtained.
[0090] The pre-design fee group can be a group set up by the user according to actual needs, and may include a second communication resource, wherein the second communication resource may be the communication resource in the first communication resource corresponding to the pre-design fee group.
[0091] As an example, suppose a cross-provincial billing group has the following members: user a from province A and user b from province B. User a subscribes to a cross-provincial billing plan with 10GB of shared data. The billing data management module in province A's intra-provincial billing system sends user a's subscription information to the billing data storage module of the first billing system. The first billing system updates the remaining communication resources within the group's plan. If the remaining communication resources within the group's plan are 200MB, and user b uses 300MB of data, a data usage billing record is generated. Province B's intra-provincial billing system pre-parses this record, determines that user b is a cross-provincial billing user, and then sends the usage data in the record to the first billing system. The billing control module of the first billing system reads the usage data and then retrieves user b's plan tariff configuration, remaining resources, and other data from the billing data storage module to determine whether their intra-provincial resources are sufficient. Since this call detail record (CDR) used 300MB of data, exceeding its remaining 200MB, the remaining first-level billing resources were updated to 0, resulting in a required intra-provincial billing data volume of 100MB, which was then returned to the provincial billing system. Upon receiving the data from the first-level billing system, the provincial billing system in Province B proceeded with the subsequent billing process according to the existing billing procedures, obtaining the final billing result for user B's CDR.
[0092] In this embodiment, when it is determined that the pre-designed billing group includes cross-provincial billing users in the target billing call detail record (CDR), the remaining amount of the second communication resource in the pre-designed billing group is determined. If the remaining amount of the resource is greater than 0, the second communication resource is deducted based on the resource allocation request and the resource usage information of the target billing CDR. In this way, the computing power of the provincial billing system can be fully utilized for cross-provincial billing users, reducing the interaction and transmission pressure. The CDR pricing is carried out based on the interaction results of cross-node billing, thereby realizing cross-node distributed billing.
[0093] In some embodiments, when it is determined that there are no remaining resources in the first communication resource in the first billing system, the call detail record (CDR) billing method may further include:
[0094] The system sends feedback information indicating that there is no remaining first communication resource to the second billing system. Based on this feedback information, the second billing system deducts and bills the third communication resource in the second billing system according to the resource usage information of the target billing call detail record, thereby obtaining billing information.
[0095] For example, if the communication resources to be used in the first billing system are exhausted and there are no remaining resources, the resource usage of the target billing call detail record (CDR) will not be deducted, and feedback information will be sent directly to the provincial billing system. After receiving the feedback information from the first billing system, the provincial billing system will deduct and bill the communication resources in the provincial billing system according to the resource usage of the target CDR, and finally obtain the final billing result for the target CDR.
[0096] In this embodiment of the application, by sending feedback information indicating that there are no remaining first communication resources in the first billing system, when it is determined that there are no remaining first communication resources in the first billing system, it is easier for the second billing system to deduct and bill the communication resources in the second billing system, thereby reducing the technical difficulty.
[0097] Based on this Figure 3 A flowchart illustrating a call detail record (CDR) billing method provided in another embodiment of this application is shown. This CDR billing method can be applied to the second billing system in the aforementioned cross-node distributed billing system.
[0098] like Figure 3 As shown, this call detail record (CDR) billing method may specifically include the following steps:
[0099] S210, retrieve the user subscription information for the first billing call detail record.
[0100] S220: If the user of the first billing call detail record is determined to be a cross-province billing user based on the user's subscription information, the first billing call detail record is identified as the target billing call detail record.
[0101] S230, obtain resource usage information for the target billing call detail record.
[0102] S240, a resource allocation request is sent to the first billing system so that, when the first billing system determines that there are remaining resources in the first communication resource, it can deduct the remaining resources of the first communication resource based on the resource usage information according to the resource allocation request to obtain deduction result information.
[0103] S250 receives deduction result information sent by the first billing system.
[0104] S260, based on the deduction result information, deduct and charge for resources whose resource usage information exceeds the first communication resource, and obtain billing information.
[0105] As an example, in the provincial billing system, the call detail record (CDR) pricing module reads the user's billing information from the CDR and determines whether the user is a cross-provincial billing user based on the user's subscription information. If the user is a cross-provincial billing user, the communication resource request for that CDR is forwarded to the first billing system. Upon receiving the communication resource request, the first billing system checks if there are any remaining first communication resources. If so, it deducts the remaining first communication resources based on the resource usage information and sends the deduction result information to the provincial billing system. Then, based on the deduction result information, the provincial billing system deducts and bills for resources exceeding the first communication resources, obtaining the billing information.
[0106] In this embodiment, when the user of the first billing call detail record (CDR) is determined to be a cross-provincial billing user based on the user's subscription information, the resource usage information of the CDR is obtained, and a resource allocation request is sent to the first billing system. This allows the first billing system to deduct the remaining resources of the first communication resource based on the resource usage information when it determines that there are remaining resources in the first communication resource. Then, the deduction result information sent by the first billing system is received, and resources exceeding the first communication resource usage information are deducted and billed. In this way, a cross-node distributed billing system can be constructed while retaining the localized billing systems of each province. This satisfies the requirement of sharing communication resources within packages between multiple provinces and improves the billing support capability of cross-provincial shared services. It also solves the problems of high engineering costs, high technical difficulty, and unbalanced cost-effectiveness of service capabilities in the prior art.
[0107] In some embodiments, if it is determined based on user subscription information that the user of the first billing call detail record (CDR) is not a cross-provincial billing user, the CDR billing method may further include:
[0108] Obtain resource usage information for the first billed call detail record;
[0109] Based on the resource usage information of the first billing call detail record, the communication resources in the second billing system are deducted and billed, and the billing information is obtained.
[0110] As an example, in the intra-provincial billing system, the call detail record (CDR) pricing module reads the user's billing information from the billing call detail record (CDR) and determines whether the user is a cross-provincial billing user based on the user's subscription information in the billing information. If the user is not a cross-provincial billing user, the intra-provincial CDR pricing process continues, and the communication resources in the intra-provincial billing system are deducted and billed according to the resource usage of the billing call detail record to obtain the billing information.
[0111] In this embodiment, when it is determined from the user's order information that the user of the first billing call detail record is not a cross-province billing user, the communication resources in the second billing system are deducted and billed according to the resource usage information of the first billing call detail record. This establishes a two-level billing system between the billing nodes of each province and the first billing node, integrating the support for both intra-province and cross-province billing scenarios, and improving the cost-effectiveness of business capabilities.
[0112] Figure 4 This is a schematic diagram of the structure of a call detail record (CDR) billing device 400 according to an exemplary embodiment.
[0113] like Figure 4 As shown, the call detail record (CDR) billing device 400 is applied to the first billing system and may specifically include:
[0114] The receiving module 401 is used to receive a resource allocation request sent by the second billing system based on the target billing call detail record (CDR). The resource allocation request includes resource usage information in the target CDR and information on cross-provincial billing users in the target CDR.
[0115] The deduction module 402 is used to deduct the remaining resources of the first communication resource based on the resource usage information of the target billing call detail record when it is determined that there are remaining resources in the first communication resource in the first billing system, and to obtain the deduction result information.
[0116] The sending module 403 is used to send deduction result information to the second billing system, so that the second billing system can deduct and bill resources whose resource usage information exceeds the first communication resources based on the deduction result information.
[0117] In one embodiment, the first billing system includes a pre-designed fee group, the pre-designed fee group includes a second communication resource, and the first communication resource includes the second communication resource; the call detail record (CDR) billing device 400 also includes a determination module;
[0118] The determination module is used to determine the remaining amount of the second communication resource in the pre-designed fee group when it is determined that the pre-designed fee group includes cross-provincial billing users in the target billing call detail record;
[0119] The deduction module 402 is also used to deduct the second communication resource based on the resource usage information of the target billing call record when the remaining resource amount is greater than 0, based on the resource allocation request, to obtain the deduction result information.
[0120] In one implementation, the deduction result information includes information on the amount of remaining resources after deducting the remaining resources, and information on the amount of resources to be deducted after deducting the remaining resources.
[0121] In one embodiment, the sending module 403 is further configured to send feedback information indicating that the first communication resource has no remaining resources to the second billing system when it is determined that the first communication resource in the first billing system has no remaining resources. This is so that the second billing system can deduct and bill the third communication resource in the second billing system based on the feedback information and the resource usage information of the target billing call detail record, thereby obtaining billing information.
[0122] In one implementation, the resource allocation request includes fields from the target billing call detail record (CDR) such as user number, tariff identifier, call start time, call duration, and resource usage.
[0123] Therefore, by receiving a resource allocation request from the second billing system based on a target billing call detail record (CDR), which includes information about cross-provincial billing users, and determining that the first billing system has remaining resources in the first communication resource, the remaining resources of the first communication resource are deducted according to the resource usage information of the target CDR in the resource allocation request. The deduction result information is then sent to the second billing system, which, based on the deduction result information, deducts and bills for resources whose usage exceeds that of the first communication resource. In this way, the capabilities of existing provincial billing systems can be used as edge computing nodes, combined with the newly built first billing system, to construct a cross-node distributed billing system. This satisfies the requirement for sharing communication resources within packages across multiple provinces, improves the billing support capability for cross-provincial shared services, and reduces engineering costs and technical difficulty.
[0124] Figure 5 This is a schematic diagram of the structure of a call detail record (CDR) billing device 500 according to an exemplary embodiment.
[0125] like Figure 5 As shown, the call detail record (CDR) billing device 500 is applied to the second billing system and may specifically include:
[0126] Module 501 is used to obtain the user subscription information of the first billing call detail record.
[0127] The determination module 502 is used to determine the first billing call detail record as the target billing call detail record when it is determined from the user's subscription information that the user of the first billing call detail record is a cross-province billing user.
[0128] The acquisition module 501 is also used to acquire resource usage information of the target billing call detail record;
[0129] The sending module 503 is used to send a resource allocation request to the first billing system, so that when the first billing system determines that there are remaining resources in the first communication resource in the first billing system, it can deduct the remaining resources of the first communication resource based on the resource allocation request and the resource usage information to obtain deduction result information.
[0130] The receiving module 504 is used to receive deduction result information sent by the first billing system;
[0131] The billing module 505 is used to deduct and bill resources whose resource usage exceeds the first communication resource based on the deduction result information, and obtain billing information.
[0132] In one implementation, the acquisition module 501 is further configured to acquire resource usage information of the first billing call detail record when it is determined based on the user subscription information that the user of the first billing call detail record is not a cross-province billing user.
[0133] The billing module 505 is also used to deduct and bill communication resources in the second billing system based on the resource usage information of the first billing call detail record, so as to obtain billing information.
[0134] Therefore, when determining that the user of the first billing call detail record (CDR) is a cross-provincial billing user based on the user's subscription information, the resource usage information of the CDR is obtained, and a resource allocation request is sent to the first billing system. This allows the first billing system to deduct the remaining resources of the first communication resource based on the resource usage information when it determines that there are remaining resources in the first communication resource. Then, the system receives the deduction result information sent by the first billing system and deducts and bills the resources whose resource usage exceeds the first communication resource. In this way, a cross-node distributed billing system can be constructed while retaining the localized billing systems of each province. This satisfies the requirements for sharing communication resources within packages across multiple provinces and improves the billing support capability for cross-provincial shared services. It also solves the problems of high engineering costs, high technical difficulty, and unbalanced cost-effectiveness of service capabilities in the existing technology.
[0135] Figure 6 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.
[0136] An electronic device may include a processor 601 and a memory 602 storing computer program instructions.
[0137] Specifically, the processor 601 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0138] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 602 may include removable or non-removable (or fixed) media. Where appropriate, memory 602 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 602 is non-volatile solid-state memory.
[0139] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.
[0140] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any of the call detail record (CDR) billing methods described in the above embodiments.
[0141] In one example, the electronic device may also include a communication interface 603 and a bus 610. For example, Figure 6 As shown, the processor 601, memory 602, and communication interface 603 are connected through bus 610 and complete communication with each other.
[0142] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0143] Bus 610 includes hardware, software, or both, that couples components of a call detail record (CDR) billing device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 610 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0144] This electronic device can execute the call detail record (CDR) billing method in this application based on the resource usage information in the target billing CDR and the information of cross-provincial billing users in the target CDR, thereby achieving a combination of... Figure 2 Describe the billing method for call charges.
[0145] In addition, in conjunction with the call detail record (CDR) billing methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the CDR billing methods in the above embodiments.
[0146] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0147] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0148] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0149] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0150] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A call detail record (CDR) billing method, characterized in that, The method is applied to a first billing system, including: Receive a resource allocation request sent by the second billing system based on the target billing call detail record (CDR). The resource allocation request includes resource usage information in the target CDR and information on cross-provincial billing users in the target CDR. If it is determined that there are remaining resources in the first communication resource in the first billing system, the remaining resources of the first communication resource are deducted based on the resource allocation request and the resource usage information of the target billing call detail record to obtain deduction result information. The deduction result information is sent to the second billing system so that the second billing system can deduct and bill resources whose resource usage exceeds the first communication resources based on the deduction result information.
2. The method according to claim 1, characterized in that, The first billing system includes a pre-designed fee group, the pre-designed fee group includes a second communication resource, and the first communication resource includes the second communication resource; when it is determined that the first communication resource in the first billing system has remaining resources, the remaining resources of the first communication resource are deducted based on the resource allocation request and the resource usage information of the target billing call detail record, to obtain deduction result information, including: When it is determined that the pre-designed fee group includes cross-provincial billing users in the target billing call detail record, the remaining amount of the second communication resource in the pre-designed fee group is determined; If the remaining resource quantity is greater than 0, based on the resource allocation request, the second communication resource is deducted according to the resource usage information of the target billing call detail record to obtain deduction result information.
3. The method according to claim 1 or 2, characterized in that, The deduction result information includes the remaining resource amount after deducting the remaining resources, and the resource usage amount to be deducted after deducting the remaining resources.
4. The method according to claim 1, characterized in that, If it is determined that there are no remaining resources in the first communication resource in the first billing system, the method further includes: The system sends feedback information indicating that the first communication resource is unavailable to the second billing system. Based on this feedback information, the second billing system deducts and charges the third communication resource in the second billing system according to the resource usage information of the target billing call detail record, thereby obtaining billing information.
5. The method according to claim 1, characterized in that, The resource allocation request includes the user number, tariff identifier, call start time, call duration, and resource usage fields from the target billing call detail record.
6. A call detail record (CDR) billing method, characterized in that, The method is applied to a second billing system, including: Obtain the user's subscription information from the first billing detail record; If, based on the user's order information, it is determined that the user of the first billing call record is a cross-province billing user, the first billing call record is identified as the target billing call record. Obtain the resource usage information of the target billing call detail record; A resource allocation request is sent to the first billing system so that, when the first billing system determines that there are remaining resources in the first communication resource, it can deduct the remaining resources of the first communication resource based on the resource usage information according to the resource allocation request to obtain deduction result information. Receive the deduction result information sent by the first billing system; Based on the deduction result information, the resources whose resource usage information exceeds the first communication resource are deducted and billed to obtain billing information.
7. The method according to claim 6, characterized in that, If, based on the user's subscription information, it is determined that the user of the first billing call detail record is not a cross-provincial billing user, the method further includes: Obtain the resource usage information of the first billing call detail record; Based on the resource usage information of the first billing call detail record, the communication resources in the second billing system are deducted and billed to obtain billing information.
8. A call detail record (CDR) billing device, characterized in that, The device is applied to a first billing system and includes: The receiving module is used to receive a resource allocation request sent by the second billing system based on the target billing call detail record (CDR). The resource allocation request includes resource usage information in the target CDR and information on cross-provincial billing users in the target CDR. The deduction module is used to deduct the remaining resources of the first communication resource based on the resource allocation request and the resource usage information of the target billing call detail record when it is determined that there are remaining resources in the first communication resource in the first billing system, so as to obtain deduction result information. The sending module is used to send the deduction result information to the second billing system, so that the second billing system can deduct and bill the resources whose resource usage information exceeds the first communication resources based on the deduction result information.
9. A call detail record (CDR) billing device, characterized in that, The device is used in a second billing system and includes: The acquisition module is used to obtain the user subscription information of the first billing call detail record; The determination module is used to determine the first billing call record as the target billing call record when it is determined from the user's order information that the user of the first billing call record is an inter-provincial billing user. The acquisition module is also used to acquire the resource usage information of the target billing call detail record; The sending module is used to send a resource allocation request to the first billing system, so that when the first billing system determines that there are remaining resources in the first communication resource, it can deduct the remaining resources of the first communication resource based on the resource usage information according to the resource allocation request to obtain deduction result information. A receiving module is used to receive the deduction result information sent by the first billing system; The billing module is used to deduct and bill resources whose resource usage exceeds the first communication resource based on the deduction result information, so as to obtain billing information.
10. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the call detail record (CDR) billing method as described in any one of claims 1-7.
11. A computer storage medium, characterized in that, The computer storage medium stores computer program instructions, which, when executed by a processor, implement the call detail record (CDR) billing method as described in any one of claims 1-7.
12. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the call detail record (CDR) billing method as described in any one of claims 1-7.
Citation Information
Patent Citations
United call-ticket charging method and system
CN105338208A
Resource sharing charging method, charging device and memory library
CN106982126A