Communication method and communication apparatus

By generating online and offline call details and utilizing key records stored in memory, billing rollback and re-billing were achieved, resolving billing inaccuracies caused by core network and online billing system anomalies and ensuring billing accuracy.

WO2026040481A1PCT designated stage Publication Date: 2026-02-26HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/092881
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-22
Filing Date
2025-05-06
Publication Date
2026-02-26

AI Technical Summary

Technical Problem

In existing technologies, inaccurate billing can occur when the core network and online billing system malfunction, such as duplicate billing or under-billing.

Method used

By generating online and offline call detail records, the billing from the first moment to the second moment is rolled back based on the online call detail records, and the call from the first moment to the third moment is re-billed based on the offline call detail records. The key records stored in memory are used to improve query efficiency and billing accuracy.

Benefits of technology

It eliminates billing errors, ensures billing accuracy, and avoids issues such as duplicate or under-billing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025092881_26022026_PF_FP_ABST
    Figure CN2025092881_26022026_PF_FP_ABST
Patent Text Reader

Abstract

The present application is applied to the field of communications. Provided are a communication method and a communication apparatus. In the technical solution of the present application, an offline call detail record generated by a mobile switching center is associated, by means of an identifier of a first call, with an online call detail record generated by an online charging system, and the online charging system rolls back the charging of an online call on the basis of the online call detail record and performs charging and deduction on the entire call on the basis of the offline call detail record, so as to eliminate a charging error.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and communication apparatus

[0001] The present application claims priority to the Chinese patent application No. 202411163087.4, filed on August 22, 2024, and entitled "Communication method and communication apparatus", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the field of communication, in particular to a communication method and a communication apparatus. BACKGROUND

[0003] When there are some exceptions in the core network and the online charging system, for example, when there is a network exception, the current online charging session will be interrupted, but the user's call service cannot be interrupted. In order to complete the charging of the call service, offline charging needs to be performed.

[0004] The current offline charging mode is as follows: when there are exceptions in the core network and / or the charging system during the online charging process, the core network writes offline call records after the core network is released; after the exceptions of the core network and the charging system are recovered, the core network transmits offline call records to the charging system, and the charging system performs charging based on the offline call records. The start time is not the real uncharged time of the charging system.

[0005] However, this charging mode will cause inaccurate charging problems, such as repeated charging or undercharging. SUMMARY

[0006] The present application provides a communication method and a communication apparatus, which can eliminate the charging error caused by the conversion of online charging of the core network to offline charging.

[0007] In a first aspect, the present application provides a communication method, the communication method comprising: generating an online call detail record, the online call detail record recording charging information of a first call from a first time to a second time; receiving an offline call detail record, the offline call detail record recording call information of the first call from the first time to a third time; rolling back the charging from the first time to the second time based on the online call detail record; and charging the call between the first time and the third time based on the offline call detail record.

[0008] The communication method can be performed by an online charging system (OCS), or in other words, can be performed by a real-time charging function system participating in control and providing real-time credit control, pre-paid use of data services and value-added services in a communication process.

[0009] In the communication method, the online charging from the first time to the second time is accurately rolled back based on the online call detail record, and the session from the first time to the third time is recharged according to the offline call detail record, so that the charging error of the less charging time before the second time or the more charging time after the second time can be eliminated.

[0010] It can be understood that the third time is after the second time.

[0011] In some designs, the offline call detail record is received from a mobile switching center (MSC).

[0012] In some designs, the communication method further includes: storing a key record in the memory, the key record recording the association between the online call detail record and the first call; and determining the rollback of the charging of the online call detail record based on the key record.

[0013] In the communication method, because the key record is stored in the memory and the rollback of the charging of the online call detail record can be determined based on the key record, compared with storing the key record in a physical library, the query time of the key record can be reduced and the query efficiency of the key record can be improved.

[0014] It can be understood that the memory in the communication method can also be understood as a cache.

[0015] In some possible designs, the online call detail record includes an identifier of the online call detail record, the offline call detail record includes an identifier of the first call, and the key record includes the identifier of the online call detail record and the identifier of the first call. In this way, the online call detail record and the offline call detail record can be associated with each other through the identifiers, the online call detail record can be accurately rolled back, and the offline call detail record can be recharged.

[0016] In some possible designs, the offline call detail record, the key record, and the online call detail record record a user number of an active party of the first call. In this way, the online charging system can query the offline call detail record, the key record, and the online call detail record based on the user number of the active party of the first call, so that accurate charging can be performed.

[0017] In a second aspect, the present application provides a communication method, the communication method comprising: generating an offline call detail record, the offline call detail record recording call information of a first call from a first time to a third time, the first time being a starting time of the first call; and sending the offline call detail record.

[0018] The communication method can be performed by a mobile switching center, or in other words, can be performed by a core component responsible for processing and controlling communication between mobile devices and between a mobile device and a fixed network in a mobile communication network.

[0019] In a third aspect, the present application provides a communication apparatus. The communication apparatus can include modules corresponding to the method / operations / steps / actions of the first aspect or any possible implementation of the first aspect. The modules can be hardware circuits, software, or a combination of hardware circuits and software.

[0020] In one design, the communication apparatus can include a processing module and a communication module. The communication module can be configured to perform the sending and receiving actions in the method of the first aspect or any possible implementation of the first aspect, and the processing module can be configured to perform the processing actions in the method of the first aspect or any possible implementation of the first aspect.

[0021] In one design, the communication apparatus can be a real-time charging function system that participates in control and provides real-time credit control, pre-paid use of data services and value-added services in a communication process, or can be an apparatus, module, circuit or chip configured to be disposed in the real-time charging function system, or an apparatus that can be used with the real-time charging function system.

[0022] In a fourth aspect, the present application provides a communication apparatus. The communication apparatus can include modules corresponding to the method / operations / steps / actions of the second aspect or any possible implementation of the second aspect.

[0023] In one design, the communication apparatus can include a processing module and a communication module. The communication module can be configured to perform the sending and receiving actions in the method of the second aspect or any possible implementation of the second aspect, and the processing module can be configured to perform the processing actions in the method of the second aspect or any possible implementation of the second aspect.

[0024] In one design, the communication apparatus can be a core component responsible for processing and controlling communication between mobile devices and between mobile devices and fixed networks in a mobile communication network, or can be an apparatus, module, circuit or chip configured to be disposed in the core component, or an apparatus that can be used with the core component.

[0025] In a fifth aspect, a communication apparatus is provided, including a processor, and instructions executed by the processor cause the method in the first aspect or any possible implementation of the first aspect to be implemented.

[0026] Optionally, the communication apparatus can further include a storage medium that stores the processor to execute the foregoing instructions.

[0027] In a sixth aspect, a communication apparatus is provided, including a processor, and instructions executed by the processor cause the method in the second aspect or any possible implementation of the second aspect to be implemented.

[0028] Optionally, the communication apparatus further includes a storage medium storing the processor to execute the foregoing instructions.

[0029] In a seventh aspect, a chip is provided, including a processing circuitry configured to execute a program or instructions to cause the method in the first aspect or any possible implementation of the first aspect to be implemented.

[0030] Optionally, the chip further includes a memory configured to store the program or instructions.

[0031] Optionally, the chip further includes a transceiver circuitry, or an input / output interface.

[0032] In an eighth aspect, a chip is provided, including a processing circuitry configured to execute a program or instructions to cause the method in the second aspect or any possible implementation of the second aspect to be implemented.

[0033] Optionally, the chip further includes a memory configured to store the program or instructions.

[0034] Optionally, the chip further includes a transceiver circuitry, or an input / output interface.

[0035] In a ninth aspect, a computer readable storage medium is provided, including instructions, when the instructions are executed by a processor, causing the method in the first aspect or any possible implementation of the first aspect to be implemented.

[0036] In a tenth aspect, a computer readable storage medium is provided, including instructions, when the instructions are executed by a processor, causing the method in the second aspect or any possible implementation of the second aspect to be implemented.

[0037] In an eleventh aspect, a computer program product is provided, including computer program code or instructions, when the computer program code or instructions are executed, causing the method in the first aspect or any possible implementation of the first aspect to be implemented.

[0038] In a twelfth aspect, a computer program product is provided, including computer program code or instructions, when the computer program code or instructions are executed, causing the method in the second aspect or any possible implementation of the second aspect to be implemented.

[0039] In a thirteenth aspect, a communication system is provided, including: an apparatus performing the first aspect or any possible implementation of the first aspect, and an apparatus performing the second aspect or any possible implementation of the second aspect.

[0040] It can be understood that the technical effects of any of the second aspect to the thirteenth aspect of the present application can refer to the related content in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0041] FIG. 1 is an exemplary structural diagram of a charging process according to an embodiment of the present application;

[0042] FIG. 2 is an exemplary structural diagram of a charging process according to another embodiment of the present application;

[0043] FIG. 3 and FIG. 4 are flow diagrams of a communication method according to embodiments of the present application;

[0044] FIG. 5 is a diagram of key fields of a communication method according to an embodiment of the present application;

[0045] FIG. 6 is a flow diagram of a communication method according to an embodiment of the present application;

[0046] FIG. 7 is a structural diagram of a communication apparatus according to an embodiment of the present application;

[0047] FIG. 8 is a structural diagram of a communication apparatus according to an embodiment of the present application. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.

[0049] In order to clearly describe the technical solutions in the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using "first", "second", etc. The skilled in the art can handle "first", "second", etc. without limiting the quantity and execution order, and "first", "second", etc. also do not necessarily mean different.

[0050] It should be noted that in the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. Rather, the words "exemplary" or "for example" are used in the sense of presenting a specific example.

[0051] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or two or more. The association relationship of "and / or" describing the associated objects means that there can be three kinds of relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, wherein A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b and (or) c can represent a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b and c can be single or multiple.

[0052] In addition, the network architecture and service scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of network architecture and the appearance of new service scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0053] FIG. 1 is an exemplary structural diagram of a charging process according to an embodiment of the present application. The charging process is implemented by a mobile switching center and an online charging system.

[0054] The mobile switching center is the core of the global system for mobile communications network, responsible for controlling the services of all base station controllers (BSCs), and providing switching functions and connections with other functions in the system. The mobile switching center can provide interface functions with fixed networks such as public switched telephone networks (PSTNs), integrated services digital networks (ISDNs), public data networks (PDNs), etc., to realize the interconnection between mobile users and between mobile users and fixed network users.

[0055] The online charging system is a real-time charging system that participates in control during communication and provides functions such as real-time credit control of users, real-time charging of pre-paid use of data services and value-added services. The online charging system supports unified charging based on bearers, sessions and content events, and its architecture allows the charging system to fully participate in the use process of services to realize real-time settlement, and if the user's account balance is insufficient, the service will be automatically stopped.

[0056] As shown in FIG. 1, when the user initiates a call, the mobile switching center and the online charging system establish an initial detection point (IDP) signaling interaction.

[0057] The online charging system performs identity verification and authorization, and issues a request report BCSM event (RRBE) to notify the mobile switching center to perform basic call state model (BCSM) event monitoring.

[0058] The mobile switching center performs detection point detection and reports a call event (ERB) according to the RRBE issued by the online charging system.

[0059] The online charging system performs a reservation fee and issues an authorized charging (AC) to the mobile switching center. In this embodiment, the time of the AC slice is taken as an example of 3 minutes.

[0060] When the AC reaches the mobile switching center, the mobile switching center connects the call, and the online charging begins. In this embodiment, the online call bill record starts to increase every 2 minutes of online call time.

[0061] The mobile switching center reports an apply charging report (ACR) to the online charging system after connecting the call and detecting that the AC slice is exhausted, and continues to apply for a slice.

[0062] After the online charging system deducts the previous AC, it continues to reserve and issue AC to the mobile switching center.

[0063] Due to network anomalies between the mobile switching center and the online charging system, the AC message cannot reach the mobile switching center, and the mobile switching center waits for AC timeout. At this time, offline charging begins, offline call bill records begin to be recorded, and the pass-through rule is enabled, and the user continues to call, and the subsequent is sent to the online charging system for offline charging, and the user hangs up after recording the last bill.

[0064] The online charging system deducts the 9-minute duration from the TI start recorded in the online call bill record, and charges the user for the 2-minute duration from the T2 start recorded in the offline call bill record, but in fact the user's online call duration plus offline call duration is 10 minutes, and the mobile switching center's offline call bill includes part of the online call bill that has been charged, resulting in repeated multiple charges for offline pricing.

[0065] FIG. 2 is an exemplary structural diagram of a charging process according to an embodiment of the present application. The charging process is implemented by a mobile switching center and an online charging system.

[0066] The charging process between the mobile switching center and the online charging system without network exception can refer to the charging process of FIG. 1, which is not described herein again.

[0067] When the mobile switching center connects the call and reports the ACR to the online charging system after detecting that the AC slice is exhausted, network exception occurs between the mobile switching center and the online charging system, which causes the ACR message to fail to reach the online charging system. The mobile switching center reports the charging request ACR failure to the online charging system. The online charging system does not receive the ACR of the slice. The online charging system receives the ACR timeout.

[0068] At this time, offline charging starts, offline call record starts to be recorded, and the pass-through rule is enabled. The user continues to call, and the subsequent call is sent to the online charging system for offline charging. After the last call record is recorded, the user hangs up.

[0069] The online charging system charges the user for 6 minutes of duration starting from T1 according to the online call record. The online charging system charges the user for 2 minutes of duration starting from T2 according to the offline call record. However, the actual online call duration plus the offline call duration is 10 minutes. The offline call record does not include all the call duration authorized by the online charging system last time, which causes the offline tariff to be less charged.

[0070] FIG. 3 is a flowchart of a communication method according to an embodiment of the present application. The communication method shown in FIG. 3 can include S310, S315, S320, S330 and S340.

[0071] S310, the online charging system generates an online call detail record. The online call detail record records charging information of a first call from a first time to a second time.

[0072] The online call detail record refers to a detailed information record of a call and communication activity of a user in a core network recorded by an online charging system. The online call detail record usually includes call time, call duration, call type, call state, charging information, call location, network information and call quality.

[0073] In some implementations, the online call detail record (CDR) can be referred to as a charging data record (CDR).

[0074] In some implementations, the online call detail record further includes an identifier of the online call detail record.

[0075] In some implementations, the online call detail record further comprises a user number of the active calling party of the first call.

[0076] In some implementations, the online call detail record further records an identification of the first call.

[0077] In some implementations, the identification of the first call can be a call reference number (CRN).

[0078] In some implementations, the first time point is a start time of the first call, and the second time point is a last time point of the online charging.

[0079] In some implementations, the online call detail record is generated during the call or immediately after the call ends, and is stored in a core network database, a billing system, a log server, or other special storage device.

[0080] S315, the mobile switching center generates an offline call detail record, which records call information of the first call from the first time point to the third time point.

[0081] The offline call detail record (offline CDR) is a call detail record generated and saved by a network device or system periodically, which usually includes call time, call duration, call type, call status, charging information, call location, network information, and call quality.

[0082] In some implementations, the mobile switching center generates the offline call detail record immediately after the first call ends.

[0083] If a network exception occurs between the mobile switching center and the online charging system, the AC message cannot reach the mobile switching center or the ACR message cannot reach the online charging system, the online charging system performs timeout processing, and the mobile switching center generates the offline call detail record immediately after the call ends.

[0084] In some implementations, the offline call detail record comprises an identification of the first call.

[0085] In some implementations, the offline call detail record further records a user number of the active calling party of the first call.

[0086] In some implementations, the first time point is a start time of the first call, and the third time point is an end time of the first call.

[0087] In some implementations, the offline call detail record is stored in a local storage of a network device, a core network database, a billing system, and a long-term archiving system.

[0088] In some embodiments, the information recorded in the offline call detail record can determine the duration of the first time to the third time. For example, the first time and the third time are recorded in the offline call detail record; or, the duration of the first time to the third time can be recorded in the offline call detail record; or, the first time and / or the third time and the duration of the first time to the third time can be recorded in the offline call detail record.

[0089] S320, the mobile switching center sends the offline call detail record. Accordingly, the online charging system receives the offline call detail record.

[0090] S330, the online charging system rolls back the charging of the first time to the second time based on the online call detail record.

[0091] In some embodiments, the rollback refers to increasing the free call duration, the main fund account, and the credit of the user by the amount deducted from the free call duration, the main fund account, and the credit, and then supplementing the deducted amount, and marking the original online charging record as "rolled back" after the supplement.

[0092] S340, the online charging system charges the call between the first time and the third time based on the offline call detail record.

[0093] In some embodiments, after the online charging system rolls back the charging of the first time to the second time based on the online call detail record, the online charging system charges the call between the first time and the third time based on the offline call detail record, and deducts the amount from the free call duration, the main fund account, and the credit of the call between the first time and the third time.

[0094] In this embodiment, the online charging system rolls back the charging of the first time to the second time based on the online call detail record, for example, increases the free call duration, the main fund account, and the credit of the user by the amount deducted from the free call duration, the main fund account, and the credit, and then supplements the deducted amount, and then the online charging system charges the call between the first time and the third time based on the offline call detail record, for example, deducts the amount from the free call duration, the main fund account, and the credit of the call between the first time and the third time, thereby solving the problem of inaccurate charging and realizing the elimination of charging errors.

[0095] FIG. 4 is a flowchart of a communication method according to an embodiment of the present application. The communication method shown in FIG. 4 can include S410, S412, S415, S420, S430, and S440.

[0096] S410, the online charging system generates an online call detail record, and the online call detail record records the charging information of the first call from the first time to the second time.

[0097] This step can refer to S310, which will not be repeated here.

[0098] S412, the online charging system stores a key record in the memory, the key record recording an association between the online call detail record and the first call.

[0099] In some implementations, the memory can also be understood as a cache.

[0100] In some implementations, the key record contains an identifier of the online call detail record and an identifier of the first call.

[0101] In some implementations, the key record records a user number of the active party of the first call.

[0102] S415, the mobile switching center generates an offline call detail record, the offline call detail record recording call information of the first call from the first time to the third time.

[0103] This step can refer to S315, which will not be repeated here.

[0104] S420, the mobile switching center sends the offline call detail record. Correspondingly, the online charging system receives the offline call detail record.

[0105] This step can refer to S320, which will not be repeated here.

[0106] S430, the online charging system rolls back the charging from the first time to the second time based on the online call detail record.

[0107] S440, the online charging system charges the call between the first time and the third time based on the offline call detail record.

[0108] In this embodiment, S430 and S440 can refer to S330 and S340 respectively, which will not be repeated here.

[0109] In some implementations, the online call detail record contains an identifier of the online call detail record, the offline call detail record contains an identifier of the first call, and the key record contains the identifier of the online call detail record and the identifier of the first call. In this implementation, whether the memory stores a key record related to the first call based on the identifier of the first call contained in the offline call detail record is determined, for example, if the memory stores a key record containing the identifier of the first call, it is determined that the key record is related to the first call; the online call detail record related to the first call is determined based on the identifier of the online call detail record in the key record, for example, the online call detail record containing the identifier of the online call detail record in the key record is determined as the online call detail record related to the first call.

[0110] In the embodiment, the online charging system stores the key record in the memory and can determine to roll back the charging of the online call detail record from the first time to the second time based on the key record. Then, the online charging system charges the call between the first time and the third time according to the offline call detail record. Compared with storing the key record in the physical library, the query time of the key record can be reduced, the query efficiency of the key record can be improved, and the charging error elimination can be realized more quickly.

[0111] FIG. 5 is a schematic diagram of key fields of a communication method according to an embodiment of the present application. The key fields shown in FIG. 5 can include an offline call detail record key field, a key record field, and an online call detail record key field.

[0112] In some implementations, the offline call detail record key field includes a call reference signal, a mobile subscriber ISDN number (MSISDN), a calling begin time (the first time), and a calling duration (the duration from the first time to the third time).

[0113] In some implementations, the key record field includes an identification of the online call detail record (CDR ID), the call reference signal, and the mobile subscriber ISDN number.

[0114] In some implementations, the online call detail record key field includes the identification of the online call detail record, the mobile subscriber ISDN number, and charge information. The charge information includes charge information related to charging, such as funds, credit, and free resources.

[0115] In some implementations, the online charging system queries the key record according to the call reference signal and the mobile subscriber ISDN number in the offline call detail record key field. The key record records the association between the identification of the online call detail record and the call reference signal. Then, the online charging system obtains the identification of the online call detail record associated with the call reference signal and the same mobile subscriber ISDN number in the key record. The online charging system queries the online call detail record based on the identification of the online call detail record and the mobile subscriber ISDN number. The online call detail record including the same identification of the online call detail record and the mobile subscriber ISDN number can be queried. Thus, the charge information of the online call (the first time to the second time) can be obtained in the online call detail record including the same identification of the online call detail record and the mobile subscriber ISDN number. After the charge information is rolled back, the call between the first time and the third time is charged according to the offline call detail record.

[0116] Figure 6 is a flow diagram of a communication method according to an embodiment of the present application. The communication method shown in Figure 6 can include S6010, S6020, S6030, S6040, S6050, S6060, S6070, S6080, S6090, S6100, S6110, S6120, S6131, S6132, S6141, S6142 and S6143.

[0117] S6010, the mobile switching center sends IDP signaling. The IDP signaling contains CRN. Accordingly, the online charging system receives the IDP signaling carrying CRN.

[0118] In this step, the mobile switching center sends IDP signaling containing CRN to establish interaction with the online charging system when the user initiates a call.

[0119] S6020, the online charging system sends RRBE. Accordingly, the mobile switching center receives RRBE.

[0120] In this step, the online charging system performs identity verification and authorization after receiving the IDP signaling carrying CRN, and sends RRBE to notify the mobile switching center to perform BCSM event monitoring.

[0121] S6030, the mobile switching center sends ERB. Accordingly, the online charging system receives ERB.

[0122] In this step, the mobile switching center performs detection point detection according to the RRBE sent by the online charging system and reports ERB events.

[0123] S6040, the online charging system sends AC. Accordingly, the mobile switching center receives AC.

[0124] In this step, the online charging system performs reservation of call charges and sends authorized allocation fragment AC; when the AC reaches the mobile switching center, the mobile switching center connects the call and online charging begins.

[0125] In some implementations of the present embodiment, the time when the mobile switching center connects the call and online charging begins can be recorded as a first time, and the first time can be the original call start time.

[0126] In some implementations of the present embodiment, the time of the fragment AC is 3 minutes.

[0127] S6050, the mobile switching center sends ACR. Accordingly, the online charging system receives ACR.

[0128] In this step, the mobile switching center connects the call and detects that the AC slice is exhausted, and reports the ACR to the online charging system, and continues to apply for the slice AC from the online charging system.

[0129] In some implementations of the embodiment, the time of the slice AC is taken as 3 minutes as an example.

[0130] In S6060, the network between the mobile switching center and the online charging system is abnormal when the online charging system sends the AC.

[0131] In this step, the online charging system continues to reserve the call cost to send the AC after the previous AC is deducted, and the AC message cannot reach the mobile switching center due to the network abnormality between the mobile switching center and the online charging system. At this time, the offline charging starts, the offline call bill starts to be recorded, and the time when the offline charging starts can be recorded as the second time.

[0132] In some implementations, when the mobile switching center connects the call and detects that the AC slice is exhausted, and reports the ACR to the online charging system, the network between the mobile switching center and the online charging system is abnormal, and the ACR message cannot reach the online charging system.

[0133] In S6070, the mobile switching center waits for the AC timeout, enables the pass-through rule, and the user continues to call.

[0134] In this step, the mobile switching center does not receive the AC message, waits for the AC timeout, enables the pass-through rule, and the user continues to call, and the current session does not interact with the online charging system.

[0135] In some implementations, the mobile switching center fails to report the charging request ACR to the online charging system, the online charging system does not receive the ACR of the slice, the online charging system receives the ACR timeout, enables the pass-through rule, and the user continues to call, and the current session does not interact with the online charging system.

[0136] In S6080, the online charging system waits for X minutes, and enters the timeout processing. Wherein, X is a positive integer.

[0137] In some implementations, the value of X can be preset.

[0138] In this step, the online charging system waits at the second time, and after the waiting time reaches the timeout X minutes, the online charging system enters the timeout processing stage.

[0139] In some implementations of the embodiment, the timeout processing stage includes steps S5090 and S5100.

[0140] S6090, the online charging system generates an online call detail record. The online call detail record records charging information of the first call from the first time to the second time.

[0141] This step can refer to S310, which will not be repeated here.

[0142] S6100, the online charging system stores a key record in the memory. The key record records the association between the online call detail record and the first call.

[0143] This step can refer to S412, which will not be repeated here.

[0144] S6110, the mobile switching center generates an offline call detail record. The offline call detail record records call information of the first call from the first time to the third time.

[0145] This step can refer to S315, which will not be repeated here.

[0146] S6120, the mobile switching center sends the offline call detail record. Correspondingly, the online charging system receives the offline call detail record.

[0147] This step can refer to S320, which will not be repeated here.

[0148] S6131, the online charging system queries whether there is a key record containing information about the first call in the memory according to the identifier of the first call. The first call is a session associated with the offline call detail record.

[0149] In some implementations, if no record is found, S6132 is performed.

[0150] S6132, charging is performed according to the offline call detail record.

[0151] S6141, the online charging system queries whether there is a key record containing information about the first call in the memory according to the identifier of the first call. The first call is a session associated with the offline call detail record.

[0152] In some implementations, if a record is found, S6142 and S6143 are performed.

[0153] S6142, the online charging system obtains the deduction details from the first time to the second time. The deduction details from the first time to the second time are stored in the online call detail record, and the online charging system queries the online call detail record according to the identifier of the online call detail record.

[0154] S6143, the online charging system recharges the call between the first time and the third time according to the offline call detail record. The online charging system accurately rolls back the deduction details from the first time to the second time.

[0155] This step can refer to S440, which will not be repeated here.

[0156] FIG. 7 is a structural schematic diagram of a communication apparatus according to an embodiment of the present application. As shown in FIG. 7, the communication apparatus 700 can include a processing module 701 and a communication module 702.

[0157] As a first example, the communication apparatus 700 can be used to implement the steps performed by the mobile switching center in any one of the foregoing method embodiments. For example, the processing module 701 is configured to implement the processing-related steps performed by the mobile switching center in any one of the foregoing method embodiments, and the communication module 702 is configured to implement the sending, receiving, and / or the like steps performed by the mobile switching center in any one of the foregoing method embodiments.

[0158] As a second example, the communication apparatus 700 can be used to implement the steps performed by the online charging system in any one of the foregoing method embodiments. For example, the processing module 701 is configured to implement the processing-related steps performed by the online charging system in any one of the foregoing method embodiments, and the communication module 702 is configured to implement the sending, receiving, and / or the like steps performed by the online charging system in any one of the foregoing method embodiments.

[0159] FIG. 8 is a structural schematic diagram of a communication apparatus according to another embodiment of the present application. As shown in FIG. 8, the communication apparatus 800 includes a processor 801 and a communication circuit 802. The processor 801 and the communication circuit 802 are coupled to each other. It can be processed that the communication circuit 802 can be a transceiver or an input / output interface. Optionally, the communication apparatus 800 can further include a memory 803 configured to store instructions executed by the processor 801, or store input data required by the processor 801 to execute instructions, or store data generated after the processor 801 executes instructions. It can be processed that the memory 803 can be located outside the processor 801, or located inside the processor 801.

[0160] As an example, the processor 801 is configured to implement the functions of the processing module 801, and the communication circuit 802 is configured to implement the functions of the communication module 802.

[0161] The communication apparatus 800 can be a mobile switching center, or a chip applied to the mobile switching center.

[0162] The communication apparatus 800 can be an online charging system, or a chip applied to the online charging system.

[0163] It can be processed that when the communication apparatus 800 is a device, the communication circuit 802 can be a transceiver. When the communication apparatus 800 is a chip, the communication circuit 802 can be an input / output interface.

[0164] Some embodiments of the present application further provide a computer program product, which, when executed on a processor, can implement the method implemented by the mobile switching center in any of the above embodiments, or can implement the method implemented by the online charging system in any of the above method embodiments.

[0165] Some embodiments of the present application further provide a computer readable storage medium, which contains computer instructions, which, when executed on a processor, can implement the method implemented by the mobile switching center in any of the above embodiments, or can implement the method implemented by the online charging system in any of the above method embodiments.

[0166] Some embodiments of the present application further provide a communication system, which can implement the method implemented by the mobile switching center and the online charging system in any of the above embodiments shown in FIG. 3 to FIG. 6.

[0167] It can be understood that the processor in the embodiments of the present application can be all or part of the circuit for processing function of the following devices: central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0168] The method steps or functions in the embodiments of the present application can be implemented in the form of hardware or by the processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also exist as discrete components in the network device or the terminal device.

[0169] The steps or functions in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, the software can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer programs or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable apparatus. The computer programs or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer programs or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center through wired or wireless means. The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape; an optical medium, such as a digital video disc; and a semiconductor medium, such as a solid-state disk.

[0170] In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be referred to each other if there is no special description and logical conflict, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0171] It can be understood that various numerical numbers involved in the embodiments of the present application are only used for differentiation for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above processes does not mean the execution order, and the execution order of the processes should be determined according to their functions and inherent logic.

Claims

1. A communication method characterized by comprising: The method comprises: generating an online call detail record, the online call detail record recording charging information of a first call from a first time to a second time; receiving an offline call detail record, the offline call detail record recording call information of the first call from the first time to a third time; based on the online call detail record, rolling back charging from the first time to the second time; based on the offline call detail record, charging the call between the first time and the third time.

2. The method of claim 1, wherein, The method further comprises: storing a key record in memory, the key record recording an association between the online call detail record and the first call; based on the key record, determining to roll back charging of the online call detail record.

3. The method of claim 2, wherein, The online call detail record contains an identifier of the online call detail record, the offline call detail record contains an identifier of the first call, and the key record contains the identifier of the online call detail record and the identifier of the first call.

4. The method of claim 3, wherein, The offline call detail record, the key record and the online call detail record record a user number of a proactive party of the first call.

5. A communication method characterized by comprising: The method comprises: generating an offline call detail record, the offline call detail record recording call information of a first call from a first time to a third time, the first time being a starting time of the first call; sending the offline call detail record.

6. A communication device, characterized by A processor configured to execute computer program instructions to implement the method of any one of claims 1 to 4, or to execute computer program instructions to implement the method of claim 5.

7. A chip, characterized by A processing circuitry for running a program or instructions to cause the method of any one of claims 1 to 4 to be implemented, or to cause the method of claim 5 to be implemented.

8. A computer-readable storage medium, characterized in that, An instruction which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 4, or to perform the method of claim 5.

9. A computer program product, characterised in that, Computer program code or instructions which, when run, cause the method of any one of claims 1 to 4 to be implemented, or cause the method of claim 5 to be implemented.

10. A communication system, characterized by An apparatus for performing the method of any one of claims 1 to 4, and an apparatus for performing the method of claim 5.

Citation Information

Patent Citations

  • Billing processing method, system and online billing system

    CN101267480A

  • Method, device and system for complementarily deducting fee, and online charging system

    CN102238515A

  • Method and system for guaranteeing consistency of multi-node service

    CN103475496A

  • Supplementary billing method and device

    CN107708082A

  • Charging function fallback

    US20220377510A1