CN112351396A - Charging mode switching method, SMF module and fusion charging system - Google Patents

Charging mode switching method, SMF module and fusion charging system Download PDF

Info

Publication number
CN112351396A
CN112351396A CN201910722034.4A CN201910722034A CN112351396A CN 112351396 A CN112351396 A CN 112351396A CN 201910722034 A CN201910722034 A CN 201910722034A CN 112351396 A CN112351396 A CN 112351396A
Authority
CN
China
Prior art keywords
charging
module
function
chf
charging mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910722034.4A
Other languages
Chinese (zh)
Inventor
董嘉
魏彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910722034.4A priority Critical patent/CN112351396A/en
Publication of CN112351396A publication Critical patent/CN112351396A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Abstract

The invention relates to the technical field of communication, and provides a charging mode switching method, an SMF module and a fusion charging system, which aim to solve the problem that the switching between two charging modes is not standardized in the prior art. The charging mode switching method corresponding to the SMF module comprises the following steps: under the online charging mode, determining whether to switch to the offline charging mode according to a switching strategy; the handover policy is associated with a response of a charging function, CHF, module to a first charging data request message requesting online charging; and transmitting a second charging data request message for requesting offline charging in case of determining to switch to the offline charging mode. Therefore, under the condition that the processing unit of the charging system has a fault, the SMF module can switch the online charging mode to the offline charging mode according to the switching strategy, so that the continuity of the charging session and the charging data are ensured not to be lost.

Description

Charging mode switching method, SMF module and fusion charging system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a charging mode switching method, an SMF (Session Management Function) module, and a fusion charging system.
Background
The 5G SA (standard alone) implements network functions and network connections defined by software by architecture and function reconfiguration. The architecture diagram of the 5G independent networking can be seen in fig. 1. The network architecture diagram comprises a charging architecture for service charging so as to realize a charging function in the charging service.
The 4G charging architecture is a structure combining offline charging and online charging without mutual influence, and the 5G charging architecture adopts a charging architecture combining online charging and offline charging, so that the integration of online charging and offline charging processing functions is realized. In the 5G architecture, a CHF (Charging Function) is a Core module of a CCS, a service opens a service capability through an Nchf interface, a 5GC (5G Core Network ) integrates Online Charging and offline Charging, and the CHF supports an OCF (Online Charging Function) and a CDF (Charging Data Function), and an SMF is connected to the CHF through a built-in CTF (Charging Trigger Function). Where, Nchf is SBI (Service Based Interface) provided by charging domain charging function CHF, and a 5GC network SMF embeds charging trigger function CTF as a converged charging Service user of Nchf.
The 5G architecture only specifies the integration of online charging and offline charging, but there is no further specification on how to switch between the two charging modes, so it is necessary to provide a charging mode switching specification in the 5G architecture.
Disclosure of Invention
The invention aims to provide a charging mode switching method, an SMF module and a fusion charging system, so as to solve the problem that the switching of two charging modes is not standardized in the prior art.
In order to achieve the above object, in a first aspect, the present invention provides a charging mode switching method for a session management function SMF module, including:
under the online charging mode, determining whether to switch to the offline charging mode according to a switching strategy; the handover policy is associated with a response of a charging function, CHF, module to a first charging data request message requesting online charging;
and transmitting a second charging data request message for requesting offline charging in case of determining to switch to the offline charging mode.
In a second aspect, the present invention further provides a charging mode switching method, for fusing a CCS of a charging system, including:
receiving a first charging data request message for requesting online charging;
and under the condition that the online charging request cannot be processed, sending a first charging data request response message indicating the fault type.
In a third aspect, the present invention further provides a session management function SMF module, including:
the determining unit is used for determining whether to switch to an offline charging mode according to the switching strategy in the online charging mode; the handover policy is associated with a response of a charging function, CHF, module to a first charging data request message requesting online charging;
and a first sending unit, configured to send a second charging data request message for requesting offline charging when it is determined to switch to the offline charging mode.
In a fourth aspect, the present invention further provides a CCS of a converged charging system, including:
a receiving unit, configured to receive a first charging data request message for requesting online charging;
and the second sending unit is used for sending the first charging data request response message to indicate the fault type under the condition that the online charging request cannot be processed.
In a fifth aspect, an embodiment of the present invention further provides a network device, including: the processor executes the computer program to realize the steps in the charging mode switching method corresponding to the session management function SMF module or realize the steps in the charging mode switching method corresponding to the fusion charging system CCS.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements a step in the charging mode switching method corresponding to the SMF module, or implements a step in the charging mode switching method corresponding to the CCS of the converged charging system.
The technical scheme of the invention at least has the following beneficial effects:
under the condition that a processing unit of the charging system has a fault, the SMF module can switch the online charging mode into the offline charging mode according to the switching strategy, so that the continuity of the charging session and the charging data are ensured not to be lost.
Drawings
FIG. 1 is a 5G network architecture diagram provided by an embodiment of the present invention;
fig. 2 is a flowchart of a charging mode switching method according to an embodiment of the present invention;
fig. 3 is one of the structural diagrams of the converged charging system provided in the embodiment of the present invention;
fig. 4 is a second structural diagram of the converged charging system according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a charging mode switching process provided in an embodiment of the present invention;
fig. 6 is a second schematic diagram illustrating a charging mode switching process according to an embodiment of the present invention;
fig. 7 is a second flowchart of a charging mode switching method according to an embodiment of the present invention;
fig. 8 is one of the structural diagrams of a session management function module provided in the embodiment of the present invention;
fig. 9 is a second structural diagram of a session management function module according to the embodiment of the present invention;
fig. 10 is a third block diagram of a session management function module according to an embodiment of the present invention;
fig. 11 is a structural diagram of a converged charging system according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
Referring to fig. 2, fig. 2 is a flowchart illustrating a charging mode switching method according to an embodiment of the present invention, where the method may be used in a session management function SMF module. As shown in fig. 2, the method comprises the following steps:
step 201, under the online charging mode, determining whether to switch to the offline charging mode according to a switching strategy; the handover policy is related to the response of the charging function CHF module to the first charging data request message for requesting online charging.
In the embodiment of the invention, the 5G architecture is utilized to fuse the online charging mode and the offline charging mode, so as to obtain a fused charging system fusing the offline charging mode and the online charging mode.
As shown in fig. 3, the converged Charging system may include a Charging Function module, an ABMF (Account Balance Management Function) module, an RF (Rating Function) module, and a CGF (Charging Gateway Function) module. The charging function module is connected with the session management function module to process the service.
The integrated charging system realizes online charging through a CHF module and a charging system processing unit (comprising an ABMF module, an RF module, a CGF module and the like).
In the disaster recovery scheme of 5G, the connection relationship between the main charging function module and the standby charging function module and the charging system processing unit can be referred to in fig. 4 (the solid lines and the dotted lines in fig. 4 are only schematic for easy viewing, and both the implementation lines and the dotted lines are used to represent the connection relationship). As can be seen from fig. 4, the main charging function module and the standby charging function module are commonly connected to the same ABMF module and RF module, that is, the disaster tolerance of the CHF module is the disaster tolerance of the 5G online charging, but the ABMF module and RF module are not designed for disaster tolerance.
Meanwhile, in the 5G convergence charging architecture, the CHF network element in the 5G convergence charging may be actually regarded as a combination of the CDF and the OCF in the 4G architecture, but only one IP address is externally presented, so that the SMF module cannot acquire information of a specific processing module in the CHF network element. Thus, when the CHF is normal and the processing unit of the online charging system fails or cannot respond in time, the SMF module cannot know the source of the failure, which may cause a delay in charging service response.
In combination with the above description of the design of the 5G charging system, in the charging mode switching method according to the embodiment of the present invention, whether to switch from the online charging mode to the offline charging mode is determined, and a policy is designed according to a response of the charging function CHF module to the online data charging request message, so as to standardize the charging mode switching in the 5G architecture.
When the session management function SMF module is in the online charging mode, the session management function SMF module may determine the switching policy according to a response of the CHF module to the first charging data request message, that is, the online data charging request message, so that it may be determined whether the online charging mode needs to be switched to the offline charging mode according to the switching policy. The response of the CHF module to the first charging data request message may include timeliness of the response, a type of the feedback message sent in response to the first charging data request message, or specific content of the feedback message.
Optionally, the handover policy is specifically at least one of a policy one and a policy two, which is described in detail below.
And determining to switch to the offline charging mode under the condition that a first response message which is sent by a CHF (charging function) module in response to the first charging data request message and indicates that only the offline charging request can be processed is received.
In this policy, in a case where the charging framework includes both a main CHF module and a standby CHF module, if a currently operating CHF module is the main CHF module, the CHF module that transmits the first response message may be the main CHF module; if the currently operating CHF module is a standby CHF module, the CHF module that sent the first response message may be the standby CHF module.
However, in any mode, if the ABMF module or the RF module related to the online charging function fails, because the ABMF module and the RF module are not backed up, the active/standby switching of the CHF module is not meaningful at this time, so that the CHF module directly sends the first response message to indicate that only the offline charging request can be processed (it can also be understood that the online charging request cannot be processed), so that the SMF module can determine to switch to the offline charging mode, thereby avoiding the charging delay caused by the active/standby switching of the CHF module.
In the case that the charging architecture includes only one CHF module, if the SMF module receives the first response message that is sent by the CHF module and can only process the offline charging request, the SMF module also determines to switch to the offline charging mode.
Under the condition of receiving a response message which is sent by the CHF module and can only process the offline charging request, the SMF module determines to switch the online charging mode to the offline charging mode so as to ensure the continuity and timeliness of charging, and improves the flexibility of the charging mode while standardizing the switching of the charging mode.
Further, in this embodiment of the present invention, the first response message may further include a first fault code, where the first fault code is used to indicate an AMBF module fault or an RF module fault.
Because the online charging mode and the offline charging mode have advantages respectively, the SMF module can further accurately locate the factor causing the online charging fault through the first fault code, so that the charging mode can be selected (such as continuously maintaining or recovering to the online charging mode) after the factor causing the fault is determined to be eliminated, and the switching of the charging mode is further optimized. Of course, the fault code may also be used for other purposes, such as sending to a network management system, notifying of the fault type, etc.
In this embodiment, since the main CHF module and the standby CHF module share the same ABMF module and RF module, if any one or both of the ABMF module and RF module fail, the online charging mode cannot perform normal charging. Therefore, the online charging mode can be determined to be switched to the offline charging mode, so that the normal operation of the charging service is ensured, and the continuity and the reliability of the charging service are improved.
To facilitate an understanding of the above, please refer to fig. 5. In the process of service access of the user equipment, the charging framework is in an online charging mode, and the session management function module sends an online charging data request message (namely a first charging data request message) for requesting online charging to the charging function module (the main and standby are not concerned under the strategy) in real time to apply for quota. When detecting that a processing unit (such as an ABMF module or an RF module) of the charging module fails, the charging function module cannot process the online charging quota application message, and sends a first response message, that is, an online data charging request response message (a first charging data request response message), to the session management function module, where the first response message carries an error code, that is, a first fault code, to indicate that only the offline charging request can be processed (or the online charging request cannot be processed).
After receiving the first response message and decoding the first fault code, the SMF module performs an online-to-offline operation. After the offline charging mode is switched to, the session management function module sends an offline data charging request message (i.e., a second charging data request message) for requesting offline charging to the charging function module, and the charging function module sends an offline data charging request response message (i.e., a second charging data request response message) after receiving the message. Therefore, the online charging mode is converted into the offline charging mode, and the continuity of the charging service is improved.
And determining to switch to the offline charging mode under the condition that the standby charging function CHF module responses to the first charging data request message overtime or under the condition that a second response message which is sent by the standby charging function CHF module in response to the first charging data request message and used for indicating that only the offline charging request can be processed is received.
The policy focuses on what scenario should be switched from online charging mode to offline charging mode in case a switch has been made to the standby CHF module.
It can be seen that in the above policy two, there are two cases to switch to the offline charging mode, which are described as follows.
In the case of switching the primary CHF module to the backup CHF module, if the backup CHF module times out in response to the first billing data request message, it may be that the backup CHF module itself has a failure. Because the reliability of the offline charging mode is relatively high, the standby CHF module is switched from the online charging mode to the offline charging mode under the condition that the response to the first charging data request message is overtime and online charging cannot be performed at the moment, and the possibility of successful charging can be improved.
In another case, the standby CHF module can respond to the first charging data request message, but online charging cannot be implemented due to a failure of the AMBF module or the RF module, at this time, the standby CHF module sends a second response message indicating that only an offline charging request can be processed (or an online charging request cannot be processed) in response to the first charging data request message, and the SMF module determines that it is necessary to switch to the offline charging mode after receiving the second response message.
Further, the second response message may also carry a first fault code, where the first fault code is used to indicate an AMBF module fault or an RF module fault, so that the SMF module can more accurately locate the fault type.
In this embodiment, when the AMBF module or the RF module fails, the online charging mode cannot be charged normally, and the online charging mode may be switched to the offline charging mode.
To facilitate an understanding of the above, please refer to fig. 6. When a user accesses a service, the SMF module sends an online data charging request message (namely a first charging data request message) to the main charging function module to apply for quota. And under the condition that the main charging function module responds to overtime, switching the main charging function module to the standby charging function module. The session management function module sends an online data charging request message to the standby charging function module, the standby charging function module still responds overtime, or the standby charging function module feeds back a response message (namely a first charging data request response message) carrying a first fault code (namely an error code), and the session management function module executes the operation of converting the online charging mode into the offline charging mode. In the offline charging mode, the session management function module sends an offline charging request message (i.e., a second charging data request message) to the standby charging function module, and the standby charging function module sends a response message (i.e., a second charging data request response message) after receiving the message. Therefore, the online charging mode is converted into the offline charging mode, and the continuity of the charging service can be improved.
In practical applications, when the CHF module includes both the main CHF module and the standby CHF module, selection may be made according to actual conditions. For example, in the following scenario, the primary and standby CHF modules may be switched.
In scenario one, when the primary charging function CHF module responds to the first charging data request message for time-out, the primary charging function CHF module is switched to the standby charging function CHF module.
In this scenario, it may be that the primary CHF module has a failure, which may cause a timeout in response to the first charging data request message, and the primary CHF module may be switched to the standby CHF module to ensure continuity of the charging service.
And in a second scenario, when a third response message which indicates that the primary charging function CHF module is in failure and is sent by the primary charging function CHF module in response to the first charging data request message is received, switching from the primary charging function CHF module to the standby charging function CHF module.
In this scenario, the primary CHF module may only have some functions (e.g., the transmit function) that are functioning properly, but other functions are malfunctioning, in which case the primary CHF module may transmit a third response message indicating that the CHF module is malfunctioning in response to the first accounting data request message. The SMF module receives the third response message, and may switch the primary CHF module to the standby CHF module to ensure continuity of the charging service.
Further, the third response message carries a second fault code, where the second fault code is used to indicate a fault type of the fault of the CHF module, so that the SMF module can more accurately locate the fault and facilitate subsequent recovery, or can be used for other purposes, such as notifying a network management system of the fault type.
When the fault of the main charging function is of the fault type, the main charging function cannot normally realize the corresponding charging function, so that the main charging function can be switched to a standby charging function, and normal operation of the charging service is ensured.
Currently, 3GPP (third generation partnership project) standards define a disaster recovery scheme for switching between a main CHF module and a standby CHF module, and when an SMF module selects a CHF module, IP (Internet Protocol Address) of the main CHF module and IP (Internet Protocol Address) of the standby CHF module may be configured. When the standby CHF module is adopted, after the charging session initial establishment or the charging request update message is sent, if the charging request message is overtime or a charging response message carrying an abnormal flow result code is received, the SMF module retransmits the charging session initial establishment or the charging request update message to the standby CHF module. For a specific handover process, reference may be made to this processing manner, which is not described herein again.
Step 202, in case of determining to switch to the offline charging mode, sending a second charging data request message for requesting offline charging.
In this step, the SMF module sends a second charging data request message for requesting offline charging to switch the online charging mode to the offline charging mode, thereby improving the continuity of charging and ensuring the possibility of normal operation of the charging architecture.
Optionally, in a case that it is determined to switch to the offline charging mode, after sending a second charging data request message for requesting offline charging, the method further includes:
and after the fault that the online charging request cannot be processed is recovered, the online charging mode is recovered from the offline charging mode.
In this embodiment, after a failure condition occurs in any of the above embodiments, the online charging mode is switched to the offline mode, so as to ensure the continuity of the charging service and improve the reliability of the charging service; and after the fault is recovered, the off-line charging mode can be recovered to the on-line charging mode, so that the response timeliness of the charging service and the flexibility of service processing are improved.
Optionally, after the failure that cannot process the online charging request is recovered, the recovering from the offline charging mode to the online charging mode specifically includes:
receiving a fault recovery indication message sent by a CCS (converged charging system);
and under the condition that the fault recovery indication message comprises a fault recovery code, recovering from an offline charging mode to an online charging mode, wherein the fault recovery code is used for indicating that the charging accounting management function AMBF module is recovered to be normal or the rating function RF module is recovered to be normal.
After the failure is recovered, a CCS (Converged Charging System) may send a failure recovery code indicating a failure recovery message to the SMF module, so that the SMF module recovers the offline Charging mode to the online Charging mode according to the failure recovery code. Therefore, the fault recovery indication information can be quickly acquired and recovered to the online charging mode, and the timeliness of charging service response can be improved.
The charging mode switching method of the embodiment of the invention determines to switch the online charging mode into the offline charging mode according to the switching strategy and executes corresponding operation. Therefore, under the condition that the processing unit of the charging system has a fault, the charging mode is switched in time, the continuity of the charging service is improved, and the timeliness and the flexibility of the charging service processing are ensured.
Referring to fig. 7, fig. 7 is a flowchart of a charging mode switching method according to an embodiment of the present invention, where the method is applied to a converged charging system CCS. As shown in fig. 7, the method comprises the following steps:
step 701, receiving a first charging data request message for requesting online charging.
Step 702, sending a first charging data request response message to indicate the fault type when the online charging request cannot be processed.
The failure to process the online charging request may be due to an AMBF failure, an RF failure, or a CHF failure, etc. processing the online charging request. In this case, the converged charging system may send an online data charging request response message, i.e., the first charging data request response message, to the SMF module, indicating the fault type, so that the SMF module performs charging mode switching according to the fault type.
Optionally, the first charging data request response message carries an error code, where the error code is used to indicate an AMBF fault or an RF fault or a charging function CHF fault.
In this embodiment, the converged charging system may send the error code to the SMF module, so that the SMF module performs corresponding processing according to the error code, so as to ensure timeliness of charging service response.
The charging mode switching method of the embodiment of the invention fuses the charging system to send the first charging data request response message under the condition that the online charging request cannot be processed, so that the SMF module carries out corresponding processing according to the response message, and the timeliness of service response is improved.
Referring to fig. 8, an embodiment of the present invention provides a structure diagram of a session management function SMF module, and as shown in fig. 8, the session management function SMF module 800 includes:
a determining unit 801, configured to determine whether to switch to an offline charging mode according to a switching policy in the online charging mode; the handover policy is associated with a response of a charging function, CHF, module to a first charging data request message requesting online charging;
a first sending unit 802, configured to send a second charging data request message for requesting offline charging if it is determined to switch to the offline charging mode.
Optionally, the handover policy is specifically at least one of the following policies:
under the condition that a first response message which is sent by a charging function CHF module in response to the first charging data request message and indicates that only an offline charging request can be processed is received, determining to switch to an offline charging mode;
and determining to switch to the offline charging mode in the case that the response of the standby charging function CHF module to the first charging data request message is overtime or in the case that a second response message which is sent by the standby charging function CHF module in response to the first charging data request message and is used for indicating that only the offline charging request can be processed is received.
Optionally, as shown in fig. 9, the session management function SMF module further includes:
a switching unit 803, configured to switch from the primary charging function CHF module to the standby charging function CHF module when the primary charging function CHF module responds to the first charging data request message for timeout or receives a third response message indicating that the primary charging function CHF module fails and sent by the primary charging function CHF module in response to the first charging data request message.
Optionally, the first response message and the second response message carry a first fault code, where the first fault code is used to indicate an AMBF module fault or an RF module fault.
Optionally, the third response message carries a second fault code, where the second fault code is used to indicate a fault type of the fault of the CHF module, which is a charging function.
Optionally, as shown in fig. 10, the session management function SMF module further includes:
a recovering unit 804, configured to recover from the offline charging mode to the online charging mode after a failure that results in that the online charging request cannot be processed is recovered.
Optionally, the recovery unit 804 is specifically configured to:
receiving a fault recovery indication message sent by a CCS (converged charging system);
and under the condition that the fault recovery indication message comprises a fault recovery code, recovering from an offline charging mode to an online charging mode, wherein the fault recovery code is used for indicating that the charging accounting management function AMBF module is recovered to be normal or the rating function RF module is recovered to be normal.
It should be noted that, in the embodiment of the present invention, the session management function SMF module 800 may be a session management function SMF module in any implementation manner in the embodiment of the present invention shown in fig. 2 to fig. 6, and any implementation manner in the embodiment of the present invention shown in fig. 2 to fig. 6 may be implemented by the session management function SMF module 800 in the embodiment, and the same beneficial effects are achieved, and details are not described here again.
Referring to fig. 11, an embodiment of the present invention provides a structure diagram of a CCS of a converged charging system, and as shown in fig. 11, a converged charging system 1100 includes:
a receiving unit 1101 for receiving a first charging data request message for requesting online charging;
a second sending unit 1102, configured to send a first charging data request response message indicating a failure type if the online charging request cannot be processed.
Optionally, the first charging data request response message carries an error code, where the error code is used to indicate an AMBF module failure or an RF module failure or a charging function CHF module failure.
It should be noted that, in the embodiment of the present invention, the fused charging system 1100 may be a fused charging system of any implementation manner in the embodiment of the present invention shown in fig. 7, and any implementation manner in the embodiment of the present invention shown in fig. 7 may be implemented by the fused charging system 1100 in the embodiment, so as to achieve the same beneficial effects, and details are not described here again.
The embodiment of the invention also provides network equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps in the charging mode switching method corresponding to the session management function when executing the computer program, or realizes the steps in the charging mode switching method corresponding to the fusion charging system.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the charging mode switching embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the transceiving method according to various embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (20)

1. A charging mode switching method is used for a Session Management Function (SMF) module, and is characterized by comprising the following steps:
under the online charging mode, determining whether to switch to the offline charging mode according to a switching strategy; the handover policy is associated with a response of a charging function, CHF, module to a first charging data request message requesting online charging;
and transmitting a second charging data request message for requesting offline charging in case of determining to switch to the offline charging mode.
2. The charging mode switching method according to claim 1, wherein the switching policy is specifically at least one of the following policies:
under the condition that a first response message which is sent by a charging function CHF module in response to the first charging data request message and indicates that only an offline charging request can be processed is received, determining to switch to an offline charging mode;
and determining to switch to the offline charging mode in the case that the response of the standby charging function CHF module to the first charging data request message is overtime or in the case that a second response message which is sent by the standby charging function CHF module in response to the first charging data request message and is used for indicating that only the offline charging request can be processed is received.
3. The charging mode switching method according to claim 2, wherein in a case where a primary charging function CHF module responds to the first charging data request message for a time-out or in a case where a third response message indicating a failure of the primary charging function CHF module, which is transmitted by the primary charging function CHF module in response to the first charging data request message, is received, switching is performed from the primary charging function CHF module to the standby charging function CHF module.
4. The charging mode switching method according to claim 2, wherein the first response message and the second response message carry a first fault code, and the first fault code is used to indicate a fault of an AMBF (accounting management function) module or a fault of an RF (rating function) module.
5. The charging mode switching method according to claim 3, wherein the third response message carries a second fault code, and the second fault code is used for indicating a fault type of a fault of a CHF (charging function) module.
6. The charging mode switching method according to any one of claims 1 to 5, wherein in a case where it is determined to switch to the offline charging mode, after transmitting a second charging data request message for requesting offline charging, further comprising:
and after the fault that the online charging request cannot be processed is recovered, the online charging mode is recovered from the offline charging mode.
7. The charging mode switching method according to claim 6, wherein, after the failure that the online charging request cannot be processed is recovered, the recovering from the offline charging mode to the online charging mode specifically comprises:
receiving a fault recovery indication message sent by a CCS (converged charging system);
and under the condition that the fault recovery indication message comprises a fault recovery code, recovering from an offline charging mode to an online charging mode, wherein the fault recovery code is used for indicating that the charging accounting management function AMBF module is recovered to be normal or the rating function RF module is recovered to be normal.
8. A charging mode switching method is used for fusing a charging system CCS, and is characterized in that the charging mode switching method comprises the following steps:
receiving a first charging data request message for requesting online charging;
and under the condition that the online charging request cannot be processed, sending a first charging data request response message indicating the fault type.
9. The charging mode switching method according to claim 8, wherein the first charging data request response message carries an error code, and the error code is used to indicate a charging accounting management function (AMBF) module failure or a Rating Function (RF) failure or a charging function (CHF) module failure.
10. A session management function, SMF, module, comprising:
the determining unit is used for determining whether to switch to an offline charging mode according to the switching strategy in the online charging mode; the handover policy is associated with a response of a charging function, CHF, module to a first charging data request message requesting online charging;
and a first sending unit, configured to send a second charging data request message for requesting offline charging when it is determined to switch to the offline charging mode.
11. The SMF module according to claim 10, wherein the handover policy is specifically at least one of the following policies:
under the condition that a first response message which is sent by a charging function CHF module in response to the first charging data request message and indicates that only an offline charging request can be processed is received, determining to switch to an offline charging mode;
and determining to switch to the offline charging mode in the case that the response of the standby charging function CHF module to the first charging data request message is overtime or in the case that a second response message which is sent by the standby charging function CHF module in response to the first charging data request message and is used for indicating that only the offline charging request can be processed is received.
12. The session management function, SMF, module of claim 11, wherein said session management function, SMF, module further comprises:
and the switching unit is used for switching from the CHF module of the main charging function to the CHF module of the standby charging function under the condition that the response of the CHF module of the main charging function to the first charging data request message is overtime or under the condition that a third response message which indicates the fault of the CHF module of the main charging function and is sent by the CHF module of the main charging function in response to the first charging data request message is received.
13. The SMF module according to claim 11, wherein the first and second response messages carry a first fault code, and the first fault code is used to indicate a fault of the AMBF module or a fault of the RF module.
14. Session management function, SMF, module according to claim 12, wherein the third response message carries a second failure code indicating the type of failure of the charging function, CHF, module.
15. A session management function, SMF, module according to any of claims 10-14, wherein said session management function, SMF, module further comprises:
and the recovery unit is used for recovering the offline charging mode to the online charging mode after the failure that the online charging request cannot be processed is recovered.
16. The SMF module according to claim 15, wherein the recovery unit is specifically configured to:
receiving a fault recovery indication message sent by a CCS (converged charging system);
and under the condition that the fault recovery indication message comprises a fault recovery code, recovering from an offline charging mode to an online charging mode, wherein the fault recovery code is used for indicating that the charging accounting management function AMBF module is recovered to be normal or the rating function RF module is recovered to be normal.
17. A converged charging system CCS, comprising:
a receiving unit, configured to receive a first charging data request message for requesting online charging;
and the second sending unit is used for sending the first charging data request response message to indicate the fault type under the condition that the online charging request cannot be processed.
18. The CCS of claim 17, wherein the first charging data request response message carries an error code, and wherein the error code is used to indicate a charging accounting management function AMBF module failure or a rating function RF module failure or a charging function CHF module failure.
19. A network device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the charging mode switching according to any of claims 1 to 7 or the steps in the charging mode switching according to any of claims 8 to 9 when executing the computer program.
20. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps in the charging mode switching method according to any one of claims 1 to 7 or the steps in the charging mode switching method according to any one of claims 8 to 9.
CN201910722034.4A 2019-08-06 2019-08-06 Charging mode switching method, SMF module and fusion charging system Pending CN112351396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910722034.4A CN112351396A (en) 2019-08-06 2019-08-06 Charging mode switching method, SMF module and fusion charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910722034.4A CN112351396A (en) 2019-08-06 2019-08-06 Charging mode switching method, SMF module and fusion charging system

Publications (1)

Publication Number Publication Date
CN112351396A true CN112351396A (en) 2021-02-09

Family

ID=74367122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910722034.4A Pending CN112351396A (en) 2019-08-06 2019-08-06 Charging mode switching method, SMF module and fusion charging system

Country Status (1)

Country Link
CN (1) CN112351396A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983940A (en) * 2006-06-09 2007-06-20 华为技术有限公司 System and method combined on-line charge with off-line charge
CN102164358A (en) * 2010-02-24 2011-08-24 华为技术有限公司 Service processing method and device
CN102647697A (en) * 2012-03-30 2012-08-22 华为技术有限公司 Charging control method and device
CN103179540A (en) * 2013-02-27 2013-06-26 中兴通讯股份有限公司 Processing method and processing system for abnormal situations in IMS (IP multimedia core network subsystem) offline charging mode
US20160127565A1 (en) * 2014-10-31 2016-05-05 Alcatel-Lucent Usa Inc. Offload of service charging from an online charging system
CN105634752A (en) * 2014-11-07 2016-06-01 中兴通讯股份有限公司 Charging method, telecom network element (TNE), offline charging server (FCS), billing domain (BD) and system
CN106465084A (en) * 2015-06-30 2017-02-22 华为技术有限公司 Charging method, network device, and charging system
CN106452803A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Method, system and device for realizing online charging

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983940A (en) * 2006-06-09 2007-06-20 华为技术有限公司 System and method combined on-line charge with off-line charge
CN102164358A (en) * 2010-02-24 2011-08-24 华为技术有限公司 Service processing method and device
CN102647697A (en) * 2012-03-30 2012-08-22 华为技术有限公司 Charging control method and device
CN103179540A (en) * 2013-02-27 2013-06-26 中兴通讯股份有限公司 Processing method and processing system for abnormal situations in IMS (IP multimedia core network subsystem) offline charging mode
US20160127565A1 (en) * 2014-10-31 2016-05-05 Alcatel-Lucent Usa Inc. Offload of service charging from an online charging system
CN105634752A (en) * 2014-11-07 2016-06-01 中兴通讯股份有限公司 Charging method, telecom network element (TNE), offline charging server (FCS), billing domain (BD) and system
CN106465084A (en) * 2015-06-30 2017-02-22 华为技术有限公司 Charging method, network device, and charging system
CN106452803A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Method, system and device for realizing online charging

Similar Documents

Publication Publication Date Title
EP3060018B1 (en) Registration method and system for common service entity
US8117337B2 (en) Method and device for implementing link pass through in point-to-multipoint network
US20120096177A1 (en) Methods, apparatuses, and related computer program product for network element recovery
WO2011157145A2 (en) Main/backup switching method between communication device, communication device, system and service request device
CN112398689B (en) Network recovery method and device, storage medium and electronic equipment
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN113315665B (en) Message sending method, device, equipment and medium of dual-network-card terminal equipment
CN109151082A (en) A kind of multi-connection method for building up, device and system
CN101145972B (en) A disaster tolerance network management system and login method of network management clients
WO2011157146A2 (en) Main/backup switching method between communication devices, communication device, system and service request device
US9509580B2 (en) Adaptive power control in a network
US20230199534A1 (en) Service producer health-check
CN103051484B (en) Session service processing method, system and Session Border Controll
CN106708881B (en) Interaction method and device based on network file system
CN112351396A (en) Charging mode switching method, SMF module and fusion charging system
CN114465948B (en) Main and standby disaster recovery method, device, equipment and medium
CN107846470B (en) Method and system for guiding flow
WO2015158058A1 (en) Method and system for implementing call saving and recovery
CN108307401A (en) Establish the method, apparatus and communication equipment of communication connection
JP6807952B2 (en) Methods and devices for determining the communication network that provides communication services to terminal communication devices
CN113923696A (en) Method and electronic equipment for notifying fault
CN111464514A (en) TCP hot backup method and system
CN111858193A (en) Method and system for realizing server pool service
CN114727324B (en) Network disaster recovery processing method and device, storage medium and electronic equipment
CN113395188B (en) Method and system for determining working state of server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210209