CN102137372B - Method for charging communication and charging trigger network element - Google Patents
Method for charging communication and charging trigger network element Download PDFInfo
- Publication number
- CN102137372B CN102137372B CN201010253738.0A CN201010253738A CN102137372B CN 102137372 B CN102137372 B CN 102137372B CN 201010253738 A CN201010253738 A CN 201010253738A CN 102137372 B CN102137372 B CN 102137372B
- Authority
- CN
- China
- Prior art keywords
- charging
- granularity
- user
- triggering
- network element
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 141
- 238000004891 communication Methods 0.000 title claims abstract description 40
- 230000004044 response Effects 0.000 claims description 25
- 230000001960 triggered effect Effects 0.000 claims description 21
- 238000013475 authorization Methods 0.000 claims description 20
- 230000002452 interceptive effect Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 8
- 241001673391 Entandrophragma candollei Species 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Meter Arrangements (AREA)
Abstract
The invention discloses a method for charging communication and a charging trigger network element. The method comprises the following steps that: when the position updating of a user is detected, the charging trigger network element judges whether the granularity of the position updating accords with a preset granularity of selective flow unloading; and the charging trigger network element triggers a charging system to keep executing a charging flow or triggers the charging system to stop the charging process according to a judgment result. By the method for charging communication, the interactive flow between the charging trigger network element and the charging system is reduced, so redundant charging data is avoided, and the processing performance of the charging trigger network element and the charging system is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication charging method and a charging trigger network element.
Background
In a communication system, network packets are typically routed through a Packet data network Gateway (P-GW), a serving Gateway (S-GW), and a base station to a user equipment. When a user performs location update, for example, cell handover or tracking area handover, a communication charging method based on the user location needs to be executed.
In the prior art, a communication charging method based on user location mainly includes:
when a packet data network Gateway or a GPRS Gateway Support Node (GGSN) detects a user location update event, a PGW/GGSN triggers a charging system to continue to execute a charging process according to the user location update event, and when the PGW/GGSN detects a bearer connection disconnection event of a user, the PGW/GGSN triggers the charging system to execute a charging termination process according to the bearer connection disconnection event.
The inventor finds that if the user location update causes the disconnection of the bearer layer connection of the user in the process of researching the prior art, a user location update event and a bearer layer connection disconnection event are detected on a charging trigger network element, the charging trigger network element needs to interact with a charging system for two times, and the location update process does not generate new charging data, so that the existing communication charging method generates more redundant steps and reduces the processing performance of the charging system.
Disclosure of Invention
The invention provides a communication charging method and a charging triggering network element for reducing the interactive flow of the charging triggering network element and a charging system when a user carries out position updating.
On one hand, the communication charging method provided by the embodiment of the invention comprises the following steps:
when detecting the position update of a user, the charging trigger network element judges whether the granularity of the position update meets the preset granularity of selective flow unloading;
and the charging triggering network element triggers the charging system to continue executing the charging process or triggers the charging system to terminate the charging process according to the judgment result.
On the other hand, an embodiment of the present invention further provides a charging triggering network element, including:
the first judgment unit is used for judging whether the granularity of the position update meets the granularity of selective flow unloading when the position update of a user is detected;
and the first triggering unit is used for triggering the charging system to continue executing the charging flow or triggering the charging system to execute a charging termination process according to the judgment result of the first judging unit.
In the embodiment of the invention, the charging triggering network element triggers the charging system to execute the charging termination process under the condition of judging that the granularity of the position update of the user meets the granularity of the selective flow unloading. Compared with the prior art, the charging triggering network element in the embodiment of the invention does not need to trigger the charging system to execute the charging process, and directly triggers the charging system to execute the charging process, so that the interactive process between the charging triggering network element and the charging system can be reduced, the generation of redundant charging data is avoided, and the processing performance of the charging triggering network element and the charging system is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a communication charging method according to an embodiment of the present invention;
fig. 2 is a flowchart of a communication charging method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for configuring a user location-based charging trigger event according to SIPTO granularity in a communication charging method according to an embodiment of the present invention;
fig. 4 is a flowchart of a communication charging method according to a third embodiment of the present invention;
fig. 5 is a flowchart of a communication charging method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart of a communication charging method according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a charging triggering network element according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an embodiment of a first triggering unit in a charging triggering network element according to a sixth embodiment of the present invention;
fig. 9 is a schematic structural diagram of another embodiment of a first triggering unit in a charging triggering network element according to a sixth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a communication charging system according to a seventh embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a charging method, a charging system and a charging triggering network element. In order to better understand the technical solution of the embodiments of the present invention, the technical solution of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a communication charging method according to an embodiment of the present invention.
In a communication system, selective IP Traffic Offload (SIPTO) may optimize network transmission performance. The theme idea is as follows: according to the configured strategy and the position information of the user, a routing path is selected nearby, part of data traffic in the network is selectively transmitted by using the nearby path, and the rest of data traffic is transmitted by using a normal path. A plurality of charging trigger network elements are deployed for a user location in a communication network, where the granularity at which the charging trigger network elements are deployed is referred to as the granularity of selective traffic offload, and may specifically be a cell, a tracking area, a routing area, or the like.
The communication charging method provided in the first embodiment of the present invention may include:
s101, when the position update of the user is detected, the charging trigger network element judges whether the granularity of the position update meets the preset granularity of selective flow unloading.
Specifically, when detecting the location update of the user, the charging trigger network element may determine whether the granularity of the location update of the user meets the preset granularity of selective traffic offload, that is, determine whether the location update of the user causes a bearer layer of the user to be disconnected.
If the granularity of the location update of the user meets the preset granularity of selective flow unloading, the communication network switches the charging trigger network element serving the user service. The location update of the user is updated for the cell, the routing area or the tracking area where the user is located, for example, if the cell of the user is updated, the location update granularity of the user is the cell. If the routing area of the user is updated, the granularity of the location update of the user is the routing area.
The charging triggering network element is a Local GGSN (Local GGSN, L-GGSN) or a Local PGW (Local PGW, L-PGW). The granularity of selective traffic offloading may be pre-configured, and may be, for example, a tracking area, a routing area, or a cell.
And S102, the charging triggering network element triggers the charging system to continue to execute the charging process or triggers the charging system to execute a charging termination process according to the judgment result.
Specifically, if it is determined in step S101 that the granularity of the location update of the user meets the granularity of the selective traffic offload, for example, the granularity of the location update of the user is a tracking area, and the granularity of the selective traffic offload is a cell, the tracking area update of the user inevitably causes a cell update, that is, the granularity of the location update meets the granularity of the selective traffic offload, the location update of the user will cause a bearer layer to be disconnected, and the charging trigger network element will perform handover, and the charging trigger network element triggers the charging system to perform a charging termination process. If it is determined in step S101 that the granularity of location update of the user does not satisfy the granularity of selective traffic offload, for example, the granularity of location update of the user is a cell, and the granularity of selective traffic offload is a routing area, the cell update of the user does not cause an update of the routing area, that is, the granularity of location update does not satisfy the granularity of selective traffic offload, the location update of the user does not cause bearer layer switching, and at this time, the charging trigger network element triggers the charging system to continue to execute the charging process.
In the embodiment of the invention, the charging triggering network element triggers the charging system to execute the charging termination process under the condition of judging that the granularity update of the position of the user meets the granularity of selective flow unloading. Compared with the prior art, the charging triggering network element in the embodiment of the invention does not need to trigger the charging system to execute the charging process, and directly triggers the charging system to execute the charging process, so that the interactive process between the charging triggering network element and the charging system can be reduced, the generation of redundant charging data is avoided, and the processing performance of the charging triggering network element and the charging system is improved.
In the first embodiment of the present invention, the triggering of the charging system by the charging triggering network element to execute the charging termination process may include:
1) and sending a request for terminating the online charging to the online charging system.
Specifically, in the online charging process based on the user location, the triggering of the online charging system by the charging triggering network element to execute the charging termination process is realized by sending a charging termination request to the online charging system. After receiving the request for stopping on-line charging, the on-line charging system executes fee deduction and returns the response of the request for stopping charging to the charging trigger network element, and the on-line charging session is closed.
2) And sending a request for terminating the offline charging to the offline charging system.
Specifically, in the offline charging process based on the user location, the triggering of the offline charging system by the charging triggering network element to execute the charging termination process is implemented by sending a request for terminating the offline charging to the offline charging system. After receiving the request for terminating online charging, the offline charging system writes the charging data into a detailed Call Record (CDR) file, and returns an offline charging request response to the charging trigger network element, and the offline charging session is closed.
3) And writing the Charging data of the user at the new position into a CDR file of the user, closing the CDR file, and sending the closed CDR file to a Charging Gateway Function (CGF) entity.
Specifically, in the call ticket charging process based on the user position, the charging triggering network element triggers the charging system to execute the charging termination process by writing the charging data of the user at the new position into the CDR file of the user, closing the CDR file, and sending the closed CDR file to the CGF.
In this embodiment of the present invention, the triggering of the charging system by the charging triggering network element to continue executing the charging process may specifically include:
1) and sending a re-authorization online charging request carrying the updated position to an online charging system.
Specifically, in the online charging process based on the user location, the triggering of the charging system by the charging triggering network element to continue the charging process is implemented by sending a re-authorized online charging request carrying the updated location to the online charging system. After receiving the re-authorization online charging request carrying the updated position, the online charging system executes credit reservation, determines a re-authorization charging trigger event based on the user position according to the SIPO granularity, and then returns a re-authorization online charging response carrying a re-authorization result to the charging trigger network element.
2) Sending an intermediate offline charging request carrying the updated position to an offline charging system;
specifically, in the offline charging process based on the user location, the triggering of the charging system by the charging triggering network element to continue the charging process is implemented by sending an intermediate offline charging request carrying the updated location to the offline charging system. After the offline charging system receives the intermediate offline charging request carrying the updated position, the offline charging system writes the charging data into the CDR file and returns an offline charging request response to the charging trigger network element.
3) And writing the updated position of the user and the initial charging of the user into a CDR file of the user, and counting the data flow generated by the user at the updated position.
Specifically, in the call ticket charging process based on the user location, the triggering of the charging system by the charging triggering network element to continue the charging process is realized by writing the updated location of the user and the initial charging of the user into the CDR file of the user and counting the data traffic generated by the user at the updated location.
Referring to fig. 2, fig. 2 is a flowchart of a communication charging method according to a second embodiment of the present invention.
The communication charging method provided by the second embodiment of the invention mainly comprises the following steps:
s201, when the position update of the user is detected, the charging triggering network element judges whether the granularity of the position update meets the preset granularity of selective flow unloading.
In the second embodiment of the present invention, the execution process of step S201 may refer to step S101 in the first embodiment, and a description thereof is not repeated here.
S202, if the granularity of the position update meets the granularity of the selective flow unloading, the charging triggering network element triggers the charging system to execute the charging termination process.
In the second embodiment of the present invention, if the granularity of the location update of the user meets the granularity of the selective traffic offload, it indicates that the location update of the user will cause the bearer layer to be disconnected, and the charging trigger network element will perform handover, and the charging trigger network element triggers the charging system to execute a charging termination process.
S203, if the granularity of selective traffic offload is not satisfied, the charging triggering network element further determines whether the granularity of location update satisfies the granularity of a preset charging triggering event.
Specifically, if it is determined in step S202 that the granularity of the location update of the user does not satisfy the granularity of the selective traffic offload, it is indicated that the location update of the user does not cause bearer layer handover of the user, and at this time, the charging trigger network element further determines whether the granularity of the location update satisfies the granularity of the preset charging trigger event.
The initial value of the granularity of the charging trigger event may be pre-configured by a charging system or other network elements in the communication system. The granularity of the charging trigger event may be a Cell (Cell), a tracking area or a routing area, etc.
And S204, if the granularity of the charging trigger event is met, the charging trigger network element triggers the charging system to continue to execute the charging process.
Specifically, the charging triggering network element may trigger the charging system to continue to execute the charging process when it is determined in step S203 that the granularity of the location update of the user meets the granularity of the charging triggering event. The method for triggering the charging system to continue executing the charging process by the charging triggering network element is the same as that in the first embodiment, and the details are described in the first embodiment.
If it is determined in step S203 that the location update of the user does not satisfy the granularity of the charging trigger event, the charging trigger network element does not trigger a new charging procedure, i.e., does not interact with the charging system.
In the embodiment of the invention, the charging triggering network element triggers the charging system to execute the charging termination process under the condition of judging that the granularity of the position update of the user meets the granularity of the selective flow unloading. Compared with the prior art, the charging triggering network element in the embodiment of the invention does not need to trigger the charging system to execute the charging process, and directly triggers the charging system to execute the charging process, so that the interactive process between the charging triggering network element and the charging system can be reduced, the generation of redundant charging data is avoided, and the processing performance of the charging triggering network element and the charging system is improved.
In addition, when the second embodiment of the present invention determines that the granularity of the location update of the user does not meet the granularity of the selective traffic offload, it further determines whether the granularity of the location update meets the granularity of the charging trigger event, and triggers the charging system to continue to execute the charging process when the granularity of the charging trigger event is met, thereby implementing charging based on the location of the user. Compared with the prior art, the second implementation of the invention triggers the execution of the charging process only when the granularity of the position update meets the granularity of the charging trigger event, and does not trigger the new charging process when the granularity of the position update does not meet the granularity of the charging trigger event, thereby further reducing the interactive processes between the charging system and the charging trigger network element and improving the processing performance of the charging trigger network element and the charging system.
In the first and second embodiments of the present invention, before determining whether the granularity of location update meets the granularity of preset selective traffic offload (step S101 and step S201), the charging trigger network element may also determine whether the charging trigger network element itself triggers SIPTO connection, and if the SIPTO connection has been triggered, configure a charging trigger event based on the user location according to the SIPTO granularity; if the SIPTO connection is not triggered, the communication charging process of the prior art is executed.
Specifically, in the offline charging session flow based on the user location and the ticket charging session flow based on the user location, the charging trigger event configured by the charging trigger network element according to the SIPTO granularity based on the user location may specifically be:
if the SIPTO granularity is not Cell granularity and is different from the granularity of the charging trigger event based on the user position, the charging trigger event based on the user position is configured.
Wherein, the SIPO granularity is not the Cell granularity, and if the granularity of the charging trigger event based on the user location is different, it indicates that the bearer layer update of the user is not necessarily linked with the occurrence of the charging trigger event, and the charging trigger event based on the user location is configured.
In the embodiment of the present invention, after configuring the charging trigger event based on the user location, the charging system may trigger the charging system to continue to execute the charging process when detecting that the location update of the user does not meet the granularity of the charging trigger event, for example, in a subsequent charging process, the charging trigger network element sends a re-authorization online charging request to the charging system according to the configured charging trigger event, or sends an intermediate offline charging request to the offline charging system.
In addition, if the charging triggering network element judges that the selective traffic offload connection is triggered and the SIPTO granularity is the Cell granularity, it indicates that the bearer layer switching of the user is caused every time the user performs location update, so that under the condition that the charging triggering network element triggers the SIPTO connection, it is determined that the charging triggering event based on the user location does not need to be configured currently.
If the charging triggering network element judges that the selective flow unloading connection is triggered, and the SIPTO granularity is not the Cell granularity and is the same as the granularity of the charging triggering event based on the user position, the charging triggering event is caused to occur due to the updating of the bearing layer of the user, so that under the condition that the SIPTO connection is triggered by the charging triggering network element, the charging triggering event based on the user position is determined not to be configured currently.
In the embodiment of the present invention, after the charging triggering network element determines that it is not necessary to configure a charging triggering event based on the user location currently, for example, when the charging triggering network element detects an update of the user location during an offline charging session based on the user location charging, the charging triggering network element does not need to send an intermediate offline charging request to the offline charging system, and the offline charging system does not need to respond to the request. In the call ticket charging session flow based on the user position, when the charging trigger network element detects the update of the user position, the uplink and downlink counter values do not need to be written into the CDR, so the embodiment of the invention can reduce the redundant charging processing steps and avoid the generation of redundant charging data.
Referring to fig. 3, fig. 3 is a flowchart of a method for configuring a subscriber location-based charging trigger event according to SIPTO granularity in a communication charging method according to an embodiment of the present invention.
In the embodiment of the present invention, in the online charging session flow based on the user location, the configuring of the charging trigger event based on the user location according to the SIPTO granularity includes:
s301, sending an online charging request carrying the SIPTO enabling identifier and the SIPTO granularity identifier to an online charging system so that the online charging system can determine the granularity of the re-authorized charging trigger event based on the user position according to the SIPTO granularity.
Specifically, the charging triggering network element sends an online charging request carrying the SIPTO enabling identifier and the SIPTO granularity identifier to the online charging system, so that the online charging system can determine the granularity of the re-authorized charging triggering event and the re-authorized charging triggering event based on the user position according to the SIPTO granularity. If the SIPTO granularity is the Cell granularity, the online charging system determines that a re-authorized charging trigger event based on the user position does not need to be issued; if the SIPTO granularity is not the Cell granularity and is different from the granularity of the re-authorized charging trigger event based on the user position, the online charging system returns that the online charging request response contains the re-authorized charging trigger event based on the user position and the granularity of the re-authorized charging trigger event, and the charging trigger network element executes step S302. If the SIPTO granularity is not the Cell granularity and is the same as the granularity of the charging trigger event based on the user position, the online charging system determines that the re-authorized charging trigger event based on the user position does not need to be issued.
S302, receiving an online charging request response returned by the online charging system, wherein the online charging request response carries the re-authorized charging trigger event based on the user position and the granularity of the re-authorized charging trigger event.
Specifically, the charging triggering network element receives an online charging request response returned by the online charging system, where the online charging request response carries the re-authorized charging triggering event based on the user location and the granularity of the re-authorized charging triggering event, and then executes step S303.
S303, the charging trigger network element configures the charging trigger event based on the user position according to the re-authorized charging trigger event and the granularity of the re-authorized charging trigger event.
Specifically, after receiving an online charging request response carrying the re-authorized charging trigger event and the granularity of the re-authorized charging trigger event, the charging trigger network element configures the charging trigger event based on the user location according to the re-authorized charging trigger event and the granularity of the re-authorized charging trigger event. The charging trigger event includes the granularity of the charging trigger event.
After the charging trigger event based on the user location is configured, the embodiment of the present invention may determine whether the granularity of the location update meets the granularity of the preset charging trigger event when the granularity of the location update of the user does not meet the granularity of the preset selective traffic offload (step S203).
In order to understand the embodiment of the present invention in more detail, a specific application scenario of the charging method provided in the embodiment of the present invention is given below. Referring to fig. 4, fig. 4 is a flowchart of a communication charging method according to a third embodiment of the present invention.
Taking online charging based on user location on the L-GGSN as an example, in the embodiment of the present invention, the charging triggering network element is the L-GGSN, the charging system is an online charging system, the charging triggering event is a re-authorization charging triggering event, and the user SIPTO granularity is a Tracking Area (TA). The charging method provided by the third embodiment of the present invention mainly includes:
s401.L-GGSN receives the request of establishing the bearing layer;
s402.L-GGSN sends initial online charging request to online charging system, where the initial online charging request includes user location information and SIPTO _ Enable identifier.
Wherein the SIPTO _ Enable flag is optional for indicating to the online charging system whether SIPTO is triggered in the network. The online charging system can also judge whether the SIPTO connection is triggered in the network according to the gateway interacting with the online charging system, for example, if the online charging request is initiated from the L-GGSN, the SIPTO connection is triggered in the network; if the online charging request is initiated from the ordinary GGSN, the SIPTO connection is not triggered in the network. The gateway can indicate the type of the gateway through the IP address identification of the gateway or through the online charging request containing different gateway type parameter identifications. For example, the gateway Type parameter indicates that GW _ Type ═ Local GGSN or GGSN identifies the gateway Type as L-GGSN and GGSN, respectively.
S403, the online charging system executes credit reservation and determines a re-authorization charging trigger event based on the user position;
in the embodiment of the present invention, the re-authorized charging trigger event is the location update of the user, such as cell location update, tracking area location update, and the like.
S404, the online charging system returns an initial online charging request response to the L-GGSN, wherein the initial online charging request response comprises a re-authorized charging trigger event based on the user position;
s405.L-GGSN configures re-authorization charging trigger event;
s406. the L-GGSN detects the TA update of the user, judges that the TA update triggers the L-GGSN to switch, and triggers the L-GGSN to execute and terminate the online charging process;
in the embodiment of the present invention, TA update will cause bearer layer switching of the user (satisfying SIPTO granularity), that is, the L-GGSN will switch, and at this time, the L-GGSN triggers the online charging system to execute the termination of the online charging process, and execute step S407.
S407.L-GGSN sends the request for terminating online charging;
s408, the OCS executes fee deduction;
and S409, the OCS returns a response of the online charging request termination, and the online charging session is closed.
In the embodiment of the invention, the L-GGSN judges that the updating of the user TA leads to the switching of the bearing layer, and directly executes and terminates the online charging process, thereby avoiding the steps of sending a re-authorization request to the online charging system, executing credit reservation by the OCS, returning a re-authorization response and the like, reducing the interactive process between the charging trigger network element and the charging system, further avoiding the generation of redundant charging data, and improving the processing performance of the charging trigger network element and the charging system.
Referring to fig. 5, fig. 5 is a flowchart of a communication charging method according to a fourth embodiment of the present invention.
In the embodiment of the invention, the online charging process based on the user position is taken as an example, the SIPTO granularity of the user is TA, the charging triggering network element is L-PGW, the charging system is an online charging system, and the charging triggering event is a re-authorization charging triggering event. The communication charging method provided by the fourth embodiment of the present invention mainly includes:
s501, receiving a request for establishing a bearing layer by the L-GGSN;
s502.L-GGSN sends the initial online charging request to the online charging system, the initial online charging request contains the user location information, SIPTO _ Enable identification and SIPTO _ Level identification.
Wherein, the SIPTO _ Enable is used for indicating whether SIPTO is triggered in the network or not to the online charging system, and the SIPTO _ Level is used for indicating the granularity based on which SIPTO is triggered in the network. In this embodiment, the granularity of the SIPTO configuration is RA level, i.e. each RA configures a corresponding L-GGSN.
In addition, the online charging system can also judge whether the SIPTO connection is triggered in the network according to the gateway interacting with the online charging system, for example, if the online charging request is initiated from the L-GGSN, the SIPTO connection is triggered in the network; if the online charging request is initiated from the ordinary GGSN, the SIPTO connection is not triggered in the network. The gateway can indicate the type of the gateway through the IP address identification of the gateway or through the online charging request containing different gateway type parameter identifications. For example, the gateway Type parameter indicates that GW _ Type ═ Local GGSN or GGSN identifies the gateway Type as L-GGSN and GGSN, respectively.
S503, the online charging system executes credit reservation and determines the granularity of the re-authorized charging trigger event according to the SIPTO granularity;
in the embodiment of the present invention, the SIPTO granularity is RA, the granularity of the re-authorized charging trigger event in the online charging system is TA, the online charging system determines that the re-authorized charging trigger event needs to be configured on the L-GGSN, and step S504 is executed.
S504, the online charging system returns an initial online charging request response to the L-GGSN, wherein the response comprises a re-authorized charging trigger event and the granularity of the re-authorized charging trigger event;
s505.L-GGSN configures re-authorization charging trigger event based on user position;
specifically, the L-GGSN configures the charging trigger event based on the user location according to the re-authorized charging trigger event and the granularity of the re-authorized charging trigger event, where the charging trigger event based on the user location is the re-authorized charging trigger event in the embodiment of the present invention, and the granularity of the re-authorized charging trigger event is TA.
S506.L-GGSN detects that TA of the user is updated, and judges that the granularity of the TA does not meet the SIPTO granularity, but the granularity of the TA meets the granularity of a re-authorized charging trigger event;
s507, the L-GGSN sends a re-authorization online charging request to an online charging system, wherein the re-authorization online charging request comprises updated user position information;
s508, the online charging system executes fee deduction and re-authorization to the user;
s509, the online charging system returns an online charging request response, wherein the online charging request response comprises a re-authorization result;
s510.L-GGSN detects the update of user RA, and judges that RA meets SIPTO granularity;
s511.L-GGSN sends the request for stopping online charging to the online charging system;
s512, the online charging system executes fee deduction;
and S513, the online charging system returns an online charging request response.
In the embodiment of the invention, the L-GGSN judges that the updating of the user RA will cause the switching of the bearing layer, and directly executes and terminates the online charging process, thereby avoiding the steps of sending a re-authorization request to the online charging system, executing credit reservation by the OCS, returning a re-authorization response and the like, reducing the interactive process between the charging trigger network element and the charging system, further avoiding the generation of redundant charging data, and improving the processing performance of the charging trigger network element and the charging system.
Referring to fig. 6, fig. 6 is a flowchart of a communication charging method according to a fifth embodiment of the present invention.
In the embodiment of the present invention, the L-PGW offline charging is taken as an example, and in the embodiment of the present invention, the charging trigger network element is an L-PGW and the charging system is an offline charging system. And the L-PGW configures a charging trigger event based on the user position, and the user granularity of the charging trigger event is Cell. In addition, SIPTO is triggered in the network, with a SIPTO granularity of TA, i.e.: each TA in the network is configured with a corresponding L-PGW. The communication charging method provided by the fifth embodiment of the invention comprises the following steps:
s601.L-PGW receives the request of establishing the bearing layer, and configures the off-line charging trigger event according to the charging characteristic value;
the request for establishing the bearer layer carries charging feature values, where the charging feature values include different types of charging Trigger events, such as opening a CDR Trigger event (Open CDR Trigger), adding charging data to the CDR Trigger event (Addition to CDR Trigger), and closing the CDR Trigger event (Close CDR Trigger). The "location update" belongs to the Addition to CDR Trigger, and the "disconnected bearer connection" belongs to the Close CDR Trigger.
In the embodiment of the present invention, the intermediate offline charging trigger event includes "Cell level user location update based".
And S602. the L-PGW sends an initial offline charging request to an offline charging system, wherein the request comprises user position information, a SIPTO _ Enable identifier and a SIPTO _ Level identifier.
The SIPTO _ Enable identifier is used for indicating whether SIPTO is triggered in the network or not to an offline charging system, and the SIPTO _ Level is used for indicating the granularity based on which SIPTO is triggered in the network. In this embodiment, the granularity of SIPTO configuration is TA level, i.e. each RA configures a corresponding L-PGW;
s603, the off-line charging system opens the CDR and writes the charging data into the CDR;
s604, the offline charging system returns an initial offline charging request response to the L-PGW;
s605.L-PGW detects that the user TA is updated, judges that SIPTO granularity is met, and triggers an offline charging system to execute a charging termination process;
s606.L-PGW sends off-line charging stopping request to off-line charging system;
s607, the offline charging system writes the charging data into the CDR;
and S608, the offline charging system returns the response of the offline charging request, and closes the offline charging session.
In the embodiment of the invention, the L-PGW judges that the updating of the user TA leads to the switching of the bearing layer, and directly executes the steps of stopping the offline charging process, thereby avoiding the steps of sending an intermediate offline charging request to the offline charging system, writing the charging data into the CDR by the offline charging system, returning an offline charging request response to the L-PGW and the like, reducing the interactive process between the charging trigger network element L-PGW and the charging system, further avoiding the generation of redundant charging data, and improving the processing performance of the charging trigger network element and the charging system.
In addition, the charging method provided by the embodiment of the invention combines the characteristic that the SIPTO system switches the L-GGSN/L-PGW according to the user position, reduces the redundant charging processing steps by effectively configuring the charging trigger event, optimizes the existing charging process and avoids the generation of redundant charging data.
The charging method provided by the embodiment of the present invention is described in detail above, and the charging triggering network element and the communication charging system corresponding to the embodiment of the present invention and the charging method are provided.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a charging triggering network element according to a sixth embodiment of the present invention.
The charging triggering network element provided by the sixth embodiment of the present invention includes:
a first determining unit 610, configured to determine, when a location update of a user is detected, whether a granularity of the location update meets a granularity of selective traffic offload;
the first triggering unit 620 is configured to trigger the charging system to continue to execute the charging process or trigger the charging system to terminate the charging process according to the determination result of the first determining unit.
The charging triggering network element provided in the sixth embodiment of the present invention may be used in the corresponding first embodiment of the charging method, which is specifically referred to in the foregoing method embodiments.
Further, the charging triggering network element provided in the sixth embodiment of the present invention may further include:
a connection determining unit 630, configured to determine whether the charging trigger network element triggers selective traffic offload connection;
a trigger event configuration unit 640, configured to configure a charging trigger event based on the user location according to the selective traffic offload granularity when the connection determination unit 630 determines to trigger the selective traffic offload connection.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of a first triggering unit in a charging triggering network element according to a sixth embodiment of the present invention.
A first triggering unit 620 in a charging triggering network element provided in the sixth embodiment of the present invention includes:
a first triggering module 621, configured to trigger the charging system to execute a charging termination process when the granularity of the location update meets the granularity of the selective traffic offload;
a second triggering module 622, configured to trigger the charging system to continue to execute the charging process when the granularity of the location update does not meet the granularity of the selective traffic offload.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another embodiment of a first triggering unit in a charging triggering network element according to a sixth embodiment of the present invention.
A first triggering unit in a charging triggering network element provided in a sixth embodiment of the present invention includes:
a third triggering module 623, configured to trigger the charging system to perform a charging termination process when the granularity of the location update meets the granularity of selective traffic offload;
a determining module 624, configured to further determine whether the granularity of the location update meets the granularity of a preset charging trigger event when the granularity of the location update does not meet the granularity of selective traffic offload,
a fourth triggering module 625, configured to trigger the charging system to continue to execute the charging process when the determining module 624 determines that the granularity of the charging triggering event is met.
In addition, the embodiment of the invention also provides a communication charging system.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a communication billing system according to a seventh embodiment of the present invention.
The communication charging system provided in the seventh embodiment of the present invention includes a charging system 810 and a charging triggering network element 820, where the charging triggering network element 820 is the same as the charging triggering network elements provided in the sixth and seventh embodiments, and a description thereof is not repeated here.
It should be noted that, because the contents of information interaction, execution process, and the like between the units in the apparatus and the system are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
In the process of executing the relevant method, the specific execution process related to the network element and the system according to the embodiment of the present invention may refer to the description of the relevant method embodiment, and will not be described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware that is related to instructions of a computer program, and the program can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The communication charging method, system and charging triggering network element provided in the embodiments of the present invention are described in detail above, and for a person of ordinary skill in the art, according to the idea of the embodiments of the present invention, there may be changes in the specific implementation and application scope, and the content of this specification should not be construed as limiting the present invention.
Claims (9)
1. A communication charging method, comprising:
when detecting the position update of a user, the charging trigger network element judges whether the granularity of the position update meets the preset granularity of selective flow unloading;
the charging triggering network element triggers the charging system to continue executing the charging process or triggers the charging system to execute a charging termination process according to the judgment result;
the triggering network element triggers the charging system to continue executing the charging process or triggers the charging system to terminate the charging process according to the judgment result, and the method specifically includes:
if the granularity of the position update meets the granularity of selective flow unloading, the charging triggering network element triggers a charging system to execute a charging termination process; or,
if the granularity of the location update does not meet the granularity of selective flow unloading, the charging trigger network element triggers the charging system to continue to execute the charging process or further judges whether the granularity of the location update meets the granularity of a preset charging trigger event or not, and triggers the charging system to continue to execute the charging process when the granularity of the charging trigger event is met;
wherein the granularity of the location update satisfies the granularity of selective traffic offload, comprising: updates at the granularity of the location update necessarily result in updates at the granularity of the selective traffic offload;
the granularity of the location update meets the granularity of the charging trigger event, and comprises the following steps: an update at the granularity of the location update necessarily results in an update at the granularity of the charging trigger event.
2. The method of claim 1, wherein the triggering the billing system to perform a terminating billing process comprises:
sending a request for stopping online charging to an online charging system; or,
sending a request for stopping offline charging to an offline charging system; or,
and writing the charging data of the user at the new position into a detailed call record file of the user, closing the detailed call record file, and sending the closed detailed call record file to the CGF.
3. The method of claim 1, wherein triggering the charging system to continue performing the charging process comprises:
sending a re-authorization online charging request carrying the updated position to an online charging system; or,
sending an intermediate offline charging request carrying the updated position to an offline charging system; or,
and writing the updated position of the user and the initial charging of the user into a detailed call record file of the user, and counting the data flow generated by the user at the updated position.
4. The method of claim 1, further comprising, prior to the determining whether the granularity of the location update satisfies the granularity of selective traffic offload:
the charging triggering network element judges whether to trigger the selective flow unloading connection;
and if the selective flow unloading connection is triggered, the charging triggering network element configures a charging triggering event based on the user position according to the selective flow unloading granularity.
5. The method of claim 4, wherein configuring the subscriber location-based charging trigger event according to the selective traffic offload granularity specifically comprises:
configuring a user location based charging trigger event if the selective traffic offload granularity is not a cell granularity and is different from a user location based charging trigger event granularity.
6. The method of claim 1, further comprising, prior to the determining whether the granularity of the location update satisfies the granularity of selective traffic offload:
the charging triggering network element judges whether to trigger the selective flow unloading connection;
if the selective traffic offload connection is judged to be triggered, the charging triggering network element determines that the charging triggering event based on the user location is not required to be configured when the selective traffic offload granularity is the cell granularity, or if the selective traffic offload connection is judged to be triggered, the charging triggering network element determines that the charging triggering event based on the user location is not required to be configured when the selective traffic offload granularity is not the cell granularity and is the same as the granularity of the charging triggering event based on the user location.
7. The method of claim 5, wherein configuring the subscriber location based charging trigger event according to the selective traffic offload granularity comprises:
sending an online charging request carrying a selective flow unloading enabling identifier and a selective flow unloading granularity identifier to an online charging system so that the online charging system can determine the granularity of a re-authorized charging trigger event based on the position of a user according to the selective flow unloading granularity;
receiving an online charging request response returned by an online charging system, wherein the online charging request response carries a re-authorized charging trigger event based on the user position and the granularity of the re-authorized charging trigger event;
and configuring the charging trigger event based on the user position according to the re-authorized charging trigger event and the granularity of the re-authorized charging trigger event.
8. A charging trigger network element, comprising:
the first judgment unit is used for judging whether the granularity of the position update meets the granularity of selective flow unloading when the position update of a user is detected;
the first triggering unit is used for triggering the charging system to continue to execute the charging flow or triggering the charging system to execute a charging termination process according to the judgment result of the first judging unit;
wherein the first trigger unit includes:
the first trigger module is used for triggering the charging system to execute a charging termination process when the granularity of the location update meets the granularity of selective flow unloading;
the second triggering module is used for triggering the charging system to continue to execute the charging process when the granularity of the position update does not meet the granularity of selective flow unloading;
wherein the granularity of the location update satisfies the granularity of selective traffic offload, comprising: updates at the granularity of the location update necessarily result in updates at the granularity of the selective traffic offload;
or, the first trigger unit includes:
a third triggering module, configured to trigger the charging system to execute a charging termination process when the granularity of the location update meets the granularity of selective traffic offload;
a judging module, configured to further judge whether the granularity of the location update meets the granularity of a preset charging trigger event when the granularity of the location update does not meet the granularity of selective traffic offload;
the fourth triggering module is used for triggering the charging system to continue executing the charging process when the judging module judges that the granularity of the charging triggering event is met;
wherein the granularity of the location update satisfies the granularity of a charging trigger event, including: an update at the granularity of the location update necessarily results in an update at the granularity of the charging trigger event.
9. The charging trigger network element of claim 8, further comprising:
a connection judging unit, configured to judge whether the charging trigger network element triggers selective traffic offload connection;
and the trigger event configuration unit is used for configuring the charging trigger event based on the user position according to the granularity of selective flow unloading when the connection judgment unit judges that the selective flow unloading connection is triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010253738.0A CN102137372B (en) | 2010-08-05 | 2010-08-05 | Method for charging communication and charging trigger network element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010253738.0A CN102137372B (en) | 2010-08-05 | 2010-08-05 | Method for charging communication and charging trigger network element |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102137372A CN102137372A (en) | 2011-07-27 |
CN102137372B true CN102137372B (en) | 2014-12-10 |
Family
ID=44297007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010253738.0A Expired - Fee Related CN102137372B (en) | 2010-08-05 | 2010-08-05 | Method for charging communication and charging trigger network element |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102137372B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300271A (en) * | 2011-09-22 | 2011-12-28 | 大唐移动通信设备有限公司 | Method and equipment for sending charging request |
EP3007474A1 (en) * | 2014-10-06 | 2016-04-13 | Alcatel Lucent | Support of reporting and/or triggering the reporting of user location information in a mobile network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132291A (en) * | 2006-08-26 | 2008-02-27 | 华为技术有限公司 | Charging system, charging point and method for charging point reporting user's charging information |
CN101272274A (en) * | 2007-07-24 | 2008-09-24 | 华为技术有限公司 | Method, device and system for implementing policy and charging control |
CN101741581A (en) * | 2008-11-05 | 2010-06-16 | 华为技术有限公司 | Charging method and device for multicast broadcasting services |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5271418B2 (en) * | 2008-10-29 | 2013-08-21 | テレフオンアクチーボラゲット エル エム エリクソン(パブル) | Conditional location search method |
-
2010
- 2010-08-05 CN CN201010253738.0A patent/CN102137372B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132291A (en) * | 2006-08-26 | 2008-02-27 | 华为技术有限公司 | Charging system, charging point and method for charging point reporting user's charging information |
CN101272274A (en) * | 2007-07-24 | 2008-09-24 | 华为技术有限公司 | Method, device and system for implementing policy and charging control |
CN101741581A (en) * | 2008-11-05 | 2010-06-16 | 华为技术有限公司 | Charging method and device for multicast broadcasting services |
Also Published As
Publication number | Publication date |
---|---|
CN102137372A (en) | 2011-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2827623B1 (en) | Policy and charging control method, and v-pcrf apparatus | |
KR101439827B1 (en) | Charging method selection for service data flows based on the data services being requested | |
CN101841797B (en) | Charging method and system for terminal access through multiple access networks and reporting method | |
EP1936863B1 (en) | A method for selecting/switching the charging mode and the device thereof | |
CN104145505B (en) | Access processing method, device and system | |
CN104584600B (en) | Interim disabling is beyond credit line PCC rules | |
CN103460642A (en) | Method and apparatus for controlling service traffic in a communication network | |
EP3657827B1 (en) | Billing method and device for mobile communication system and storage medium | |
CN107529199A (en) | IMS registration and speech business provide method, system, equipment and storage medium | |
CN102948115A (en) | Methods, systems, and computer readable media for policy charging and rules function (pcrf) node selection | |
JP6122215B2 (en) | Method and apparatus for controlling network capacity | |
CN101754162B (en) | Method, system and device of controlling risk | |
CN104053186A (en) | Flow control method and device | |
CN105163345A (en) | Area reporting method and system | |
CN102572761B (en) | In a communication network for the treatment of method and the device of service connection | |
CN105264928B (en) | Method and apparatus for the control strategy in planar network and charging | |
CN101483848A (en) | Method, apparatus and system for switching network under roaming state | |
CN102137372B (en) | Method for charging communication and charging trigger network element | |
CN104350773B (en) | The metering of each flow and each session limitation application | |
CN110880981A (en) | Gx session exception handling method and device | |
CN106714129B (en) | Roaming charging method, related device and online charging system | |
US20120284208A1 (en) | Systems and/or Methods For Delivering Notifications On A Communications Network | |
CN102421106B (en) | A kind of by quantity monitoring method and system | |
CN101448234B (en) | Implementation method for switching online charging to offline charging | |
JP6086335B2 (en) | Content download method, related device, and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 |
|
CF01 | Termination of patent right due to non-payment of annual fee |