WO2014000272A1 - 计费信息处理方法和网关设备 - Google Patents

计费信息处理方法和网关设备 Download PDF

Info

Publication number
WO2014000272A1
WO2014000272A1 PCT/CN2012/077907 CN2012077907W WO2014000272A1 WO 2014000272 A1 WO2014000272 A1 WO 2014000272A1 CN 2012077907 W CN2012077907 W CN 2012077907W WO 2014000272 A1 WO2014000272 A1 WO 2014000272A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging information
gateway
charging
identifier
message
Prior art date
Application number
PCT/CN2012/077907
Other languages
English (en)
French (fr)
Inventor
蔡慧
谭仕勇
倪慧
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2015518765A priority Critical patent/JP6034964B2/ja
Priority to PCT/CN2012/077907 priority patent/WO2014000272A1/zh
Priority to CN201280000567.8A priority patent/CN103621010B/zh
Priority to EP12880070.3A priority patent/EP2869493B1/en
Publication of WO2014000272A1 publication Critical patent/WO2014000272A1/zh
Priority to US14/582,498 priority patent/US9692912B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/67Transmitting arrangements for sending billing related information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1425Charging, metering or billing arrangements for data wireline or wireless communications involving dedicated fields in the data packet for billing purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/41Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/43Billing software details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/44Augmented, consolidated or itemized billing statement or bill presentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/64On-line charging system [OCS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/65Off-line charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/73Validating charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/74Backing up

Definitions

  • Embodiments of the present invention relate to the field of communication technologies, and more particularly, to a charging information processing method and a gateway device. Background technique
  • 3GPP The 3 rd Generation Partnership Project , Third Generation Partnership Project
  • SAE System Architecture Evolution, system architecture evolution
  • the UE User Equipment
  • MME Mobility Management Entity
  • E-UTRAN Evolved Universal Terrestrial Radio Access Network
  • HSS Home Subscriber Server
  • the UE or the MME initiates a process of establishing a bearer for transmitting user data.
  • the MME notifies the S-GW (Serving Gateway) to establish a bearer for transmitting user data from the E-UTRAN to the P-GW (Packet Data Network Gateway).
  • the notification message carries the address of the P-GW and the address information of the E-UTRAN network element where the user is located.
  • the P-GW forwards the downlink data from the external PDN (Packet Data Network) to the UE through the bearer, and forwards the uplink data from the UE to the corresponding PDN.
  • PDN Packet Data Network
  • the UE may access the MME through the UTRAN or GERAN and SGSN (Serving GPRS (General Packet Radio Service) Support Node), and may establish an Between the SGRAN and the SGSN through the UTRAN/GERAN, and the S-GW.
  • GTP GPRS Tunnel Protocol
  • the S-GW converts the GTP tunnel into a corresponding bearer connected to the P-GW for transmitting user data.
  • the UTRAN can also establish a GTP tunnel that directly connects to the S-GW.
  • the MME becomes a network element that only processes control plane signaling, and the S-GW and P-GW are mainly responsible for forwarding user planes. Data.
  • the S-GW and the P-GW can be combined into one network element, which can be called a unified gateway (UGW).
  • UGW unified gateway
  • GTP-C GTP Control Plane
  • PCF Policy and Charging Rules Function
  • PCC Policy and Charging Control
  • DHCP Dynamic Host Configuration Protocol
  • the gateway In order to handle a large amount of interface signaling, the gateway adds a large amount of hardware such as a general-purpose computing processor chip to the dedicated hardware platform, which makes the hardware platform of the gateway device very complicated and costly, which is not conducive to the promotion of the mobile packet data network. deploy.
  • hardware such as a general-purpose computing processor chip
  • the control plane and the forwarding plane of the gateway are separated, that is, split into GW-C (gateway control plane) and GW-U (gateway forwarding plane) by function, GW-C and GW-
  • the interface between U is defined as Sg.
  • the GW-C completes the user access, the policy control, and the charging bill management.
  • the GW-U is mainly responsible for forwarding the data, and performing the control and the first charging policy delivered by the control plane.
  • the GW-U cannot send the collected accounting information to the GW-C through the Sg interface to generate an accounting bill, resulting in loss of accounting information.
  • the embodiment of the invention provides a charging information processing method and a gateway device, which can improve the disaster tolerance of the system and ensure the reliability of the charging.
  • the first aspect provides a charging information processing method, including: sending, to a gateway forwarding plane, a charging information identifier set for identifying charging information; and saving first charging information sent by the gateway forwarding plane, where
  • the first charging information carries a first charging information identifier, where the first charging information identifier is an element of the charging information identifier set, and the second information saved by the gateway forwarding plane is saved by the gateway forwarding plane.
  • the billing information, the second billing information carries a second billing information identifier, the second billing information identifier is an element of the billing information identifier set; and the first billing information label is And the second charging information identifier merges the first charging information and the second charging information.
  • the first charging information and the second charging information are combined according to the first charging information identifier and the second charging information identifier, and the specific implementation may be implemented. for:
  • the first charging information sent by the gateway forwarding plane is saved, and the specific implementation may be: when detecting When the link forwarding plane has a link failure, the first charging information is saved; and the second charging information that is sent by the gateway forwarding plane and sent by the gateway forwarding plane is received, and the specific implementation may be:
  • the first charging information that is sent by the gateway forwarding plane is saved, and the specific implementation may be: The forwarding plane sends the first message, and the first charging information is saved, where the first message is used to instruct the gateway forwarding plane to save the second charging information.
  • the specific implementation before receiving the second charging information that is sent by the gateway forwarding plane and is saved by the gateway forwarding plane, the specific implementation may be:
  • the recording charging information is lost, or the request message is sent to the gateway forwarding plane, where the request message includes the first charging information identifier. So that the gateway forwarding plane searches for the first charging letter according to the request message. The third billing information matched by the information.
  • the request message is sent to the gateway forwarding plane, where the request message includes the first charging information identifier, so that the gateway forwarding plane is configured according to
  • the requesting message searches for the third charging information that matches the first charging information, and the specific implementation may be:
  • the gateway forwarding plane finds the third charging information, receiving the third charging information sent by the gateway forwarding plane, where the third charging information carries a third charging information identifier, where The third charging information is identified as an element of the charging information identification set, and the first charging information and the third meter are combined according to the first charging information identifier and the third charging information identifier.
  • Fee information ;
  • the gateway forwarding plane if the gateway forwarding plane does not find the third charging information, receiving a third message sent by the gateway forwarding plane, where the third message is used to indicate that the charging information is lost.
  • the specific implementation may be:
  • the element of the charging information identifier set includes one or any combination of the following: a value generated by a gateway control plane, a user equipment identifier UE ID, a terminal address UE IP, a UE entry index, or a context index.
  • a second aspect provides a charging information processing method, including: receiving, by a control plane of a gateway, a charging information identifier set for identifying charging information; and sending, to the gateway control plane, first charging information, where The first charging information carries a first charging information identifier, where the first charging information identifier is an element of the charging information identifier set; storing second charging information; and sending the second to the gateway control plane
  • the billing information, the second billing information carries a second billing information identifier, and the second billing information identifier is an element of the billing information identifier set, so that the gateway control plane is based on the first meter
  • the fee information identifier and the second billing information identifier merge the first billing information and the second billing information.
  • the second charging information is saved, where the specific implementation may be: when detecting a link failure with the gateway control plane, saving the second charging information; to the gateway The control plane sends the second charging information, and the specific implementation may be: when detecting a link recovery with the gateway control plane, sending the location to the gateway control plane
  • the second billing information is described.
  • the specific implementation may be: receiving the first message sent by the gateway control plane;
  • the saving the second charging information may be implemented as follows:
  • the specific implementation may be:
  • the specific implementation may be:
  • the third charging information that matches the first charging information is searched according to the request message, and the specific implementation may be: And the third charging information is sent to the gateway control plane, where the third charging information carries a third charging information identifier, where the third charging information identifier is The fee information identifies an element of the set, so that the gateway control plane merges the first charging information and the third charging information according to the first charging information identifier and the third charging information identifier; And searching for the third charging information, sending a third message to the gateway control plane, where the third message is used to indicate that the charging information is lost.
  • the specific implementation may be:
  • the element of the charging information identifier set includes one or any combination of the following: a value generated by a gateway control plane, a user equipment identifier UE ID, a terminal address UE IP, a UE entry index, or a context index.
  • a charging information processing method including: sending a finger to a gateway forwarding plane And receiving the fourth charging information sent by the gateway forwarding plane, where the fourth charging information carries an indication identifier, where the indication identifier is an element of the indication identifier set; when detecting, forwarding with the gateway When a link fault occurs, it is determined according to the indication identifier whether the fourth charging information needs to be saved.
  • the indication identifier set is sent to the gateway forwarding plane, and the specific implementation may be:
  • the fourth aspect provides a charging information processing method, including: receiving a set of indication identifiers sent by a control plane of the gateway; sending fourth charging information to the control plane of the gateway, where the fourth charging information carries an indication identifier,
  • the indication identifier is an element of the indication identifier set; when detecting a link failure with the gateway control plane, determining, according to the indication identifier, whether to save the link failure phase acquisition with the gateway control plane Fifth billing information.
  • the receiving indicator set is sent by the control plane of the gateway.
  • the specific implementation may be: receiving a charging policy sent by the gateway control plane, where the charging policy includes the indication identifier set.
  • a method for processing a charging information including: receiving a first charging bill sent by a first gateway; sending a fourth message to the first gateway, where the fourth message is used to indicate the The first gateway saves the second charging CDR; and sends a fifth message to the first gateway, where the fifth message is used to indicate that the first gateway sends the second charging CDR; and the first gateway sends the first The second billing bill.
  • the specific implementation may be:
  • the sixth aspect provides a charging information processing method, including: sending a first charging bill to a charging gateway; receiving a fourth message sent by the charging gateway; and saving a second meter according to the fourth message The bill or the second bill is delayed according to the fourth message.
  • the specific implementation may be:
  • the seventh aspect provides a gateway control plane, including: a sending unit, configured to send, to the gateway forwarding plane, a charging information identifier set for identifying charging information; and a memory, configured to save the sending of the gateway forwarding plane a charging information, the first charging information carries a first charging information identifier, the first charging information identifier is an element of the charging information identifier set, and a receiving unit is configured to receive the gateway forwarding plane
  • the second charging information saved by the gateway forwarding plane is sent, the second charging information carries a second charging information identifier, and the second charging information identifier is an element of the charging information identifier set;
  • the processor is configured to combine the first charging information saved by the memory and the second charging information received by the receiving unit according to the first charging information identifier and the second charging information identifier.
  • the processor is specifically configured to combine the first charging saved by the memory according to the correspondence between the first charging information identifier and the second charging information identifier Information and the second charging information received by the receiving unit.
  • the memory is specifically configured to: when the memory detects a link fault with the gateway forwarding plane , saving the first billing information;
  • the receiving unit is specifically configured to: when the memory detects a link recovery with the gateway forwarding plane, receive the second charging information that is sent by the gateway forwarding plane and is saved by the gateway forwarding plane.
  • the memory is specifically configured to: when the sending unit sends the first message to the gateway forwarding plane And saving the first charging information, where the first message is used to instruct the gateway forwarding plane to save the second charging information.
  • the sending unit is further configured to: send, to the gateway forwarding plane, a second message, where the second message is used to indicate that the gateway forwards Transmitting the second charging information.
  • the processor is further configured to: if the first charging information and the second charging information are successfully combined, generate a charging bill; if the first charging information and the second charging If the information merge fails, the accounting information is lost, or the sending unit is further configured to: send a request message to the gateway forwarding plane, where the request message includes the first charging information identifier, so that the network The off forwarding plane searches for the third billing information that matches the first billing information according to the request message.
  • the receiving unit is further configured to: if the gateway forwarding plane finds the third charging information, receive the gateway forwarding plane Transmitting the third charging information, the third charging information carries a third charging information identifier, where the third charging information identifier is an element of the charging information identifier set; And: combining the first charging information and the third charging information according to the first charging information identifier and the third charging information identifier;
  • the receiving unit is further configured to: if the gateway forwarding plane does not find the third charging information, receive a third message sent by the gateway forwarding plane, where the third message is used to indicate that charging information is lost. .
  • the eighth aspect provides a gateway forwarding plane, including: a receiving unit, configured to receive a charging information identifier set sent by the gateway control plane for identifying charging information, where the receiving unit sends the first sending unit and the second The sending unit sends the charging information identifier set; the first sending unit is configured to send first charging information to the gateway control plane, where the first charging information carries a first charging information identifier, where a charging information identifier is an element of the charging information identifier set; a memory, configured to save second charging information; and the second sending unit is configured to send, to the gateway control plane, the first stored in the memory The second charging information carries the second charging information identifier, where the second charging information identifier is an element of the charging information identifier set, so that the gateway control plane is according to the first The charging information identifier and the second charging information identifier merge the first charging information sent by the first sending unit and the second charging information sent by the second sending unit Interest.
  • the memory is specifically configured to: when detecting a link failure with the gateway control plane, save the second charging information;
  • the second sending unit is specifically configured to: when detecting a link recovery with the gateway control plane, send the second charging information to the gateway control plane.
  • the receiving unit is further configured to: receive a first message sent by the gateway control plane;
  • the memory is specifically configured to: save the second charging information according to the first message received by the receiving unit.
  • the receiving unit is further configured to: receive a second message sent by the gateway control plane;
  • the second sending unit is specifically configured to: send the second charging information to the gateway control plane according to the second message received by the receiving unit.
  • the receiving unit is further used to Receiving a request message sent by the gateway control plane, where the request message includes the first charging information identifier;
  • the gateway forwarding plane further includes a processor, and the processor is configured to search for third charging information that matches the first charging information according to the request message.
  • the processor finds the third charging information, and sends the third charging information to the second sending unit
  • the second sending unit is further configured to: send the third charging information to the gateway control plane, where the third charging information carries a third charging information identifier, and the third charging information identifier Identifying, by the charging information, an element of the set, so that the gateway control plane combines the first charging information and the third charging according to the first charging information identifier and the third charging information identifier Information
  • the second sending unit is further configured to: send, to the gateway control plane, a third message, where the third message is used to indicate that the charging information is lost. .
  • a gateway control plane including: a sending unit, configured to send an indication identifier set to a gateway forwarding plane; and a receiving unit, configured to receive fourth charging information sent by the gateway forwarding plane, where The fourth charging information carries the indication identifier, where the indication identifier is an element of the indication identifier set, and the processor is configured to: when detecting a link fault with the gateway forwarding plane, determine, according to the indication identifier, whether it needs to be saved. The fourth charging information received by the receiving unit.
  • the sending unit is specifically configured to: send a charging policy to a gateway forwarding plane, where the charging policy includes the indication identifier set.
  • a gateway forwarding plane including: a receiving unit, configured to receive an indication identifier set sent by a gateway control plane; a sending unit, configured to send fourth charging information to the gateway control plane, where the The fourth charging information carries an indication identifier, where the indication identifier is an element of the indication identifier set received by the receiving unit, and a processor, configured to: when detecting a link failure with the gateway control plane, according to the The indication identifier received by the receiving unit determines whether it is necessary to save the fifth charging information collected in the link failure phase of the gateway control plane.
  • the receiving unit is specifically configured to: receive a charging policy sent by a control plane of the gateway, where the charging policy includes the indication identifier set.
  • the eleventh aspect provides a charging gateway, including: a receiving unit, configured to receive a first charging bill sent by the first gateway, and a sending unit, configured to send a fourth message to the first gateway, where The fourth message is used to indicate that the first gateway saves the second charging bill or is used to instruct the first gateway to delay sending the second billing information.
  • the sending unit is further configured to: send a fifth message to the first gateway, where the fifth message is used to indicate that the first gateway sends a second charging bill;
  • the receiving unit is further configured to: receive a second charging bill sent by the first gateway.
  • a gateway including: a sending unit, configured to send a first charging bill to a charging gateway; a receiving unit, configured to receive a fourth message sent by the charging gateway; And saving the second charging bill according to the fourth message received by the receiving unit or delay sending the second charging bill according to the fourth message.
  • the receiving unit is further configured to: receive a fifth message sent by the charging gateway;
  • the sending unit is further configured to: send a second charging bill to the charging gateway according to the fifth message received by the receiving unit.
  • the gateway control sends the charging information identifier set to the gateway forwarding plane, and the first billing information and the second meter saved by the gateway forwarding plane and the gateway forwarding plane respectively by the element gateway forwarding plane of the charging information identifier set
  • the fee information is combined to generate a billing CDR, which can effectively improve the disaster tolerance and ensure the reliability of billing.
  • FIG. 1 is a flow chart of a method for processing billing information according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for processing billing information according to another embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for processing billing information according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for processing billing information according to another embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for processing billing information according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a method for processing billing information according to another embodiment of the present invention.
  • FIG. 11 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • Figure 12 is a block diagram of an apparatus in accordance with one embodiment of the present invention.
  • FIG. 13 is a structural block diagram of a gateway control plane according to an embodiment of the present invention.
  • FIG. 14 is a structural block diagram of a gateway forwarding plane according to another embodiment of the present invention.
  • Figure 15 is a block diagram showing the structure of a gateway control plane according to an embodiment of the present invention.
  • 16 is a structural block diagram of a gateway forwarding plane according to another embodiment of the present invention.
  • FIG. 17 is a structural block diagram of a charging gateway according to an embodiment of the present invention.
  • FIG. 18 is a structural block diagram of a first gateway according to another embodiment of the present invention. detailed description
  • GSM Global System of Mobile Communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • it can be used for the SGSN of the 2G/3G network, the GGSN, or the decoupling of the control plane and the forwarding plane of the S-GW, P-GW, etc. under the SAE architecture.
  • the gateway control plane will be described by using the unified gateway control plane UGW-C in the SAE architecture of the 3GPP evolved network as an example, and the gateway forwarding plane will use the unified gateway forwarding plane UGW-U as The example is explained. It should be noted that the embodiment of the present invention is not limited thereto, and may be a gateway device decoupled from other network control planes and forwarding planes.
  • FIG. 1 is a flow chart of a method for processing billing information according to an embodiment of the present invention.
  • the method of Figure 1 is performed by a gateway control plane. 101. Send, to the gateway forwarding plane, a charging information identifier set for identifying charging information.
  • the first charging information sent by the gateway forwarding plane is saved, where the first charging information carries a first charging information identifier, and the first charging information identifier is an element of the charging information identifier set.
  • the second charging information carries a second charging information identifier, where the second charging information identifier is an element of the charging information identifier set.
  • the first charging information and the second charging information are combined according to the first charging information identifier and the second charging information identifier.
  • the gateway control sends the charging information identifier set to the gateway forwarding plane, and the first billing information and the second meter saved by the gateway forwarding plane and the gateway forwarding plane respectively by the element gateway forwarding plane of the charging information identifier set
  • the fee information is combined to generate a billing CDR, which can effectively improve the disaster tolerance and ensure the reliability of billing.
  • the element of the charging information identifier set may include one or any combination of the following: a value generated by the gateway control plane, a user equipment identifier UE ID, a user equipment address UE IP, a UE entry index, Or context indexing, etc. It should be understood that the embodiment of the present invention does not limit the selection of the identifier of the billing information and the manner of identifying the billing information.
  • the charging policy may be sent to the gateway forwarding plane, where the charging policy includes a charging information identifier set, where the charging policy may be configured on the gateway control plane, or may be a PCRF (Policy) And the Charging Rules Function, the policy and the charging rule function, are actively sent to the control plane of the gateway, which is not limited by the present invention.
  • the charging policy includes a charging information identifier set
  • the charging policy may be configured on the gateway control plane, or may be a PCRF (Policy)
  • Policy Policy
  • the Charging Rules Function the policy and the charging rule function
  • the first charging information sent by the gateway forwarding plane may be saved, where the first charging is performed.
  • the information carries the elements of the foregoing charging information identification set.
  • the second charging information saved by the gateway forwarding plane sent by the gateway forwarding plane may be received when the link recovery occurs on the gateway forwarding plane, where the second charging information carries the charging information. Identifies the elements of the collection.
  • the first message may be sent to the gateway forwarding plane, and the received first charging information is saved, where the first message is used to indicate that the gateway forwarding plane saves the received message.
  • the second billing information collected after a message.
  • sending a second message to the gateway forwarding plane where the second message is used to instruct the gateway forwarding plane to send the foregoing
  • the second charging information carries the second charging information identifier, and the second charging information identifier is an element of the charging information identifier set. Therefore, if the link between the gateway control plane and the gateway forwarding plane fails, the gateway control plane and the gateway forwarding plane save the accounting information in time, and the accounting information is not lost. In this way, the system's disaster tolerance is improved.
  • a non-limiting example of the charging information processing method of the embodiment of the present invention will be described in more detail below with reference to FIG.
  • the method for determining the charging information of the gateway forwarding plane and/or the gateway control plane is not limited, that is, the gateway forwarding plane and/or the gateway control plane are determined to save the charging information according to the manner. All fall within the scope of the embodiments of the present invention.
  • the first charging information and the second charging information are combined according to the correspondence between the first charging information identifier and the second charging information identifier.
  • the first charging information identifier is a value 5 generated by the gateway control plane
  • the second charging information identifier carried by the second charging information is also 5, that is, the first charging information identifier is consistent with the second charging information identifier.
  • the first charging information identifier is a value 2 generated by the gateway control plane and the UE ID h
  • the second charging information carried in the second charging information identifies that the recorded UE ID is h, the first charging information is merged.
  • second billing information is a value 2 generated by the gateway control plane and the UE ID h
  • the gateway control plane presets the generated value 2 to match the UE ID h and notifies the gateway forwarding plane. If the first charging information identifier is the value 2 generated by the gateway control plane, and the second charging information identifier carried in the second charging information identifies the recorded UE ID as h, the first charging information and the second charging information may be combined. .
  • first charging information identifier and the second charging information identifier may be one or multiple, and the number of the first charging information identifier and the second charging information identifier may be equal, and The embodiments of the present invention are not limited thereto.
  • the manner in which the gateway control plane combines the first charging information and the second charging information according to the correspondence between the first charging information identifier and the second charging information identifier is not limited.
  • step 104 if the first charging information and the second charging information are successfully combined, the charging bill is generated, and the charging bill may be sent to the charging gateway, or You can save the billing CDR first. For example, when it is detected that the link between the gateway control plane and the charging gateway fails, the charging bill is saved. Or, save the charging bill according to the indication sent by the charging gateway.
  • the charging information processing method of the embodiment of the present invention will be described in more detail below with reference to FIG.
  • step 104 the first charging information and the second charging information are combined, and if the combining fails, the charging information may be recorded to be lost and/or the second charging may be recorded.
  • the information is directly discarded; or the request message is sent to the gateway forwarding plane, where the request message includes the first charging information identifier, so that the gateway forwarding plane searches for the third charging information that matches the first charging information according to the request message.
  • the gateway forwarding plane finds the third charging information, it receives the third charging information sent by the gateway forwarding plane, and the third charging information carries the third charging information identifier, according to the first charging information identifier and The third charging information identifier combines the first charging information and the third charging information. Further, the implementation manner of combining the first billing information and the third billing information according to the correspondence between the first billing information identifier and the third billing information identifier is as described above, and details are not described herein again. It should be understood that the element of the charging information identifier set may be one or more, which is not limited by the embodiment of the present invention.
  • the third charging information identifier may include one or any combination of the following: a value generated by the gateway control plane, a user equipment identifier UE ID, a user equipment address UE IP, a UE entry index, or a context index. If the third forwarding information is not found by the gateway forwarding plane, the third message sent by the gateway forwarding plane is received, where the third message is used to indicate that the charging information is lost.
  • the gateway control plane actively sends a request message to the gateway forwarding plane, so that the gateway forwarding plane searches for matching charging information, and sends the matching charging information to the gateway control plane. In this way, the fault tolerance of the system can be effectively improved, and the reliability of the billing can be ensured.
  • FIG. 2 is a flow chart of a method for processing billing information according to another embodiment of the present invention.
  • the method of Fig. 2 is performed by the gateway forwarding plane and corresponds to the method of Fig. 1, and thus the description overlapping with the embodiment of Fig. 2 will be omitted as appropriate.
  • 201 Receive, by the gateway control plane, a charging information identifier set that is used to identify charging information.
  • first charging information carries a first charging information identifier, where the first charging information identifier is an element of the charging information identifier set.
  • the second charging information carries a second charging information identifier, where the second charging information identifier is an element of the charging information identifier set, so that the gateway control plane is according to the first
  • the charging information identifier and the second charging information identifier combine the first charging information and the second charging information.
  • the element of the charging information identifier set may include one or any combination of the following: a value generated by the gateway control plane, a user equipment identifier UE ID, a user equipment address UE IP, a UE entry index, Or context indexing, etc. It should be understood that the embodiments of the present invention are The selection of the identifier of the fee information and the manner of identifying the billing information are not limited.
  • the charging policy sent by the gateway control plane may be received, where the charging policy includes a charging information identifier set, where the charging policy may be configured on the gateway control plane, or may be a PCRF initiative.
  • the present invention is not limited to the gateway control plane.
  • step 203 when detecting a link failure with the gateway control plane, starting to save the second charging information that the gateway forwarding plane will collect during the fault;
  • the second charging information may be sent to the gateway control plane when detecting link recovery with the gateway control plane, where the second charging information carries an element of the charging information identifier set.
  • the first message sent by the gateway control plane may be received, and the second charging information collected after the first forwarding message is received by the gateway forwarding plane is saved according to the first message.
  • the second message sent by the gateway control plane is received, the second charging information is sent according to the second message, or the second charging information is sent to the gateway control plane according to a preset time limit.
  • the second charging information carries an element of the charging information identification set. Therefore, when the link between the gateway control plane and the gateway forwarding plane fails, the gateway forwarding plane saves the accounting information in time, and the accounting information is not lost. In this way, the disaster tolerance of the system is improved.
  • the method for determining the charging information of the gateway forwarding plane is not limited in the embodiment of the present invention, that is, the method for determining the gateway forwarding plane to store the charging information is not included in the scope of the embodiment of the present invention.
  • the gateway forwarding plane receives the request message sent by the gateway control plane, where the request message includes the first charging information identifier, and the gateway forwarding plane searches according to the request message. Third charging information that matches the first charging information. Further, if the third charging information is found, the third charging information is sent to the gateway control plane, where the third charging information carries the third charging information identifier, so that the gateway control plane identifies and according to the first charging information. The third charging information identifier combines the first charging information and the third charging information, and generates a charging bill. If the third charging information is not found, the third message is sent to the gateway control plane, where the third message is used to indicate that the charging information is lost.
  • the element of the charging information identifier set may be one or more, which is not limited by the embodiment of the present invention.
  • the third charging information identifier can be Including one or any combination of the following: a value generated by a gateway control plane, a user equipment identity UE ID, a user equipment address UE IP, a UE entry index, or a context index.
  • the gateway forwarding plane receives the request message actively sent by the gateway control plane, and the gateway forwarding plane searches for the matching charging information according to the request message, and sends the matching charging information to the gateway control plane. In this way, the fault tolerance of the system can be effectively improved, and the reliability of the billing can be ensured.
  • the gateway control plane will be described by using the UGW-C in the SAE architecture of the 3GPP evolved network as an example, and the gateway forwarding plane will be UGW-U. Give an example for explanation. It should be noted that the embodiment of the present invention is not limited thereto, and may be a gateway device decoupled from other network control planes and forwarding planes.
  • FIG. 3 is a schematic flowchart of a process of a charging information processing method according to an embodiment of the present invention.
  • the UGW-C sends a first charging policy to the UGW-U.
  • the first charging policy includes a charging information identification set for identifying charging information.
  • the element of the charging information identifier set may include one or any combination of the following: a value generated by the UGW-C, a UE ID (identification), a UE IP (Internet Protocol) address, and a UE entry index. , context index. It should be understood that, in the embodiment of the present invention, the selection of the identifier of the charging information and the manner of identifying the charging information are not limited.
  • the UGW-U sends the first charging information to the UGW-C.
  • step 301 after receiving the first charging policy sent by the UGW-C, the UGW-U obtains the charging information identifier set.
  • the UGW-U records the corresponding first charging information identifier in the collected first charging information, and sends the first charging information to the UGW-C.
  • the UGW-C detects that the link of the Sg interface is faulty.
  • the UGW-U detects that the link of the Sg interface is faulty.
  • both the UGW-C and the UGW-U detect the link fault on the Sg interface.
  • the UGW-C saves the first charging information.
  • the UGW-U saves the second charging information.
  • UGW-C saves the first billing letter sent by UGW-U received in step 302. Interest.
  • the UGW-U collects the second charging information, records the corresponding second charging information identifier in the collected second charging information, and saves the second charging information.
  • the UGW-C detects the link recovery of the Sg interface.
  • the UGW-U detects the link recovery of the Sg interface.
  • the UGW-U reads the second charging information.
  • the UGW-U sends the second charging information to the UGW-C.
  • both the UGW-C and the UGW-U detect the link recovery of the Sg interface.
  • the UGW-U reads the second charging information, and sends the second charging information to the UGW-C, where the second charging information carries the second charging information identifier.
  • the UGW-C combines the first charging information and the second charging information to generate a charging bill.
  • the UGW-C receives the second charging information, finds the first charging information locally saved by the UGW-C according to the second charging information identifier, and combines the first charging information and the second charging information to generate a charging.
  • Bill record For example, the first charging information identifier is a value 5 generated by the gateway control plane, and the second billing information identifier carried by the second billing information is also 5.
  • the first charging information identifier is consistent with the second charging information identifier, and the UGW-C can find the first charging information locally saved by the UGW-C that matches the second charging information according to the second charging information identifier 5. And combining the first charging information and the second charging information.
  • first charging information identifier and the second charging information identifier may be one or multiple, and the number of the first charging information identifier and the second charging information identifier may be equal, and The embodiments of the present invention are not limited thereto.
  • the manner in which the UGW-C merges the first charging information and the second charging information according to the correspondence between the first charging information identifier and the second charging information identifier is not limited.
  • a charging bill is generated.
  • the process may go to step 312, or the billing bill may be saved first.
  • the charging bill is saved; or the charging bill is saved according to the indication sent by the charging gateway.
  • the combination of the first charging information and the second charging information fails, the charging information may be lost and/or the second charging information may be directly discarded; or the request message is sent to the UGW-U, where the request message includes the first
  • the charging information identifier the UGW-U searches for the third charging information that matches the first charging information according to the request message.
  • the UGW-C sends a charging bill to the CG.
  • the UGW-C sends a first charging policy to the UGW-U, where the first charging policy is performed.
  • the policy includes a charging information identifier set, and the first forwarding information and the second charging information respectively saved by the UGW-C and the UGW-U are combined by the gateway forwarding plane by using the charging information to generate the charging.
  • the bills can effectively improve the disaster tolerance and ensure the reliability of billing.
  • FIG. 4 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • the UGW-C sends a first charging policy to the UGW-U.
  • the first charging policy includes a charging information identification set for identifying charging information.
  • the element of the charging information identifier set may include one or any combination of the following: a value generated by the UGW-C, a UE ID (identification), a UE IP (Internet Protocol) address, and a UE entry index. , context index. It should be understood that, in the embodiment of the present invention, the selection of the identifier of the charging information and the manner of identifying the charging information are not limited.
  • the UGW-U sends the first charging information to the UGW-C.
  • step 401 after receiving the first charging policy sent by the UGW-C, the UGW-U obtains the charging information identifier set.
  • the UGW-U records the corresponding first charging information identifier in the collected first charging information, and sends the first charging information to the UGW-C.
  • the UGW-C sends a first message to the UGW-U indicating that the UGW-U saves the charging information.
  • the UGW-C saves the first charging information.
  • the UGW-U saves the second charging information.
  • the UGW-C may send a first message to the UGW-U indicating that the UGW-U holds the charging information, while saving the received first charging information.
  • the UGW-U saves the second charging information collected after receiving the first message according to the first message. And corresponding second accounting information identifier is recorded in the collected second charging information.
  • the gateway control plane and the gateway forwarding plane save the accounting information in time, and the accounting information will not be lost. In this way, the system's disaster tolerance is improved.
  • the UGW-C sends a second message to the UGW-U indicating that the UGW-U sends the charging information.
  • the UGW-U reads the second charging information.
  • the UGW-U sends the second charging information to the UGW-C.
  • the second message is sent to the UGW-U, where the second message is used to instruct the UGW-U to send the second charging information.
  • the UGW-U reads the second charging information according to the second message, and sends the second charging information to the UGW-C, where the second charging information carries the second charging information identifier.
  • the UGW-C combines the first charging information and the second charging information to generate a charging bill.
  • the UGW-C receives the second charging information, finds the first charging information locally saved by the UGW-C according to the second charging information identifier, and combines the first charging information and the second charging information to generate a charging. Bill record.
  • the UGW-C may preset the correspondence between the elements of the charging identifier set and notify the UGW-IL. For example, the value 2 generated by the UGW-C matches the UE ID h.
  • the UGW-C may find the first charging information locally saved by the UGW-C that matches the second charging information according to the second charging information identifier h, and merge the first charging information and the second charging information. .
  • first charging information identifier and the second charging information identifier may be one or multiple, and the number of the first charging information identifier and the second charging information identifier may be equal, and The embodiments of the present invention are not limited thereto.
  • the manner in which the UGW-C merges the first charging information and the second charging information according to the correspondence between the first charging information identifier and the second charging information identifier is not limited.
  • a charging bill is generated.
  • the process may go to step 410, or the billing bill may be saved first.
  • the charging bill is saved; or the charging bill is saved according to the indication sent by the charging gateway.
  • the charging information may be lost and/or the second charging information may be directly discarded; or the request message is sent to the UGW-U, where the request message includes the first
  • the charging information identifier the UGW-U searches for the third charging information that matches the first charging information according to the request message.
  • the UGW-C sends a charging bill to the CG.
  • the UGW-C sends a first charging policy to the UGW-U, where the first charging policy includes a charging information identifier set.
  • the first forwarding information and the second charging information respectively saved by the UGW-C and the UGW-U can be combined to generate a charging bill by using the charging information to identify the gateway forwarding plane, thereby effectively improving the disaster tolerance capability. Guarantee the reliability of billing.
  • FIG. 5 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • Fig. 5 the same or similar processes as those in Fig. 3 are denoted by the same reference numerals, and the corresponding description is omitted.
  • 301-310 in the process of Figure 5 is similar to Figure 3.
  • Figure 5 differs from Figure 3 in that:
  • the UGW-C fails to combine the first charging information and the second charging information.
  • the charging information may be recorded to be lost and/or the second charging information may be directly discarded; or the process proceeds to step 512.
  • UGW-C sends a request message to UGW-U.
  • a request message is sent to the UGW-U, and the request message includes a first billing information identifier.
  • the UGW-U searches for the third charging information.
  • the UGW-U searches for the third charging information matching the first billing information according to the request message sent by the UGW-C in step 512.
  • the UGW-U sends the third charging information to the UGW-C.
  • the UGW-C combines the first charging information and the third charging information to generate a charging bill.
  • the UGW-C sends a charging bill to the CG.
  • the UGW-C receives the third charging information sent by the UGW-U, and the third charging information carries the third charging information identifier, according to the first charging.
  • the information identifier and the third billing information identifier combine the first billing information and the third billing information.
  • the corresponding relationship of the first billing information and the second billing information is merged, and details are not described herein again.
  • a charging bill is generated.
  • the UGW-C sends the charging bill to the CG.
  • UGW-C can also save the billing CDR first. For example, when it is detected that the link between the UGW-C and the charging gateway CG is faulty, the charging bill is saved.
  • first charging information identifier and the third charging information identifier may be one or multiple, and the number of the first charging information identifier and the third charging information identifier may be equal,
  • the embodiments of the present invention are not limited thereto.
  • the manner in which the UGW-C merges the first charging information and the second charging information according to the correspondence between the first charging information identifier and the second charging information identifier is not limited.
  • the UGW-U sends a charging information loss indication to the UGW-C.
  • the UGW-C receives the third message sent by the UGW-U, where the third message is used to indicate that the charging information is lost.
  • the UGW-U receives the request message that is sent by the UGW-C, and the UGW-U searches for the matching charging information according to the request message, and sends the information to the UGW-C. In this way, the fault tolerance of the system can be effectively improved, and the reliability of charging can be ensured.
  • FIG. 6 is a flowchart of a method for processing billing information according to another embodiment of the present invention.
  • the method of Figure 6 consists of The gateway control plane executes.
  • the gateway control plane when detecting a link failure with the gateway forwarding plane, may not save the charging information of some users sent by the gateway forwarding plane according to the indication identifier and/or according to the indication identifier.
  • the accounting information of a certain type of data service type sent by the gateway forwarding plane is saved.
  • the gateway control plane may save only the charging information of some users sent by the gateway forwarding plane according to the indication identifier and/or save only the charging information of a certain type of data service type sent by the gateway forwarding plane according to the indication identifier. It should be understood that the embodiment of the present invention does not limit the indication manner of the indication identifier.
  • the charging policy may be sent to the gateway forwarding plane, where the charging policy includes an indication identifier.
  • the charging policy may be configured on the control plane of the gateway, or may be sent by the PCRF to the control plane of the gateway. The present invention does not limit this.
  • the elements of the indication identifier set in the embodiment of the present invention may be one or more, which is not limited by the embodiment of the present invention.
  • some charging information may be saved or not saved when the link between the gateway forwarding plane and the gateway control plane is faulty by indicating the gateway forwarding plane and the gateway control plane. This increases the flexibility of billing.
  • FIG. 7 is a flowchart of a method for processing billing information according to another embodiment of the present invention. The method of Figure 7 is performed by the gateway forwarding plane.
  • the gateway forwarding plane when detecting a link fault between the gateway control plane and the gateway forwarding plane, may not save the user that is collected in the link fault phase of the gateway control plane according to the indication identifier.
  • Fee information and/or indications are not saved according to the indication and appear on the gateway control plane Accounting information of a certain type of data service type collected during the link failure phase.
  • the gateway forwarding plane may save only the charging information of some users collected in the link failure phase of the gateway control plane according to the indication identifier, and/or save only one of the link fault phases collected at the gateway control plane according to the indication identifier.
  • Billing information for the type of data service type It should be understood that the manner of indicating the indication is not limited in the embodiment of the present invention.
  • the gateway control plane may be configured to send a charging policy, where the charging policy includes an indication identifier.
  • the charging policy may be configured on the gateway control plane, or
  • the PCRF is actively sent to the control plane of the gateway, which is not limited by the present invention.
  • the elements of the indication identifier set in the embodiment of the present invention may be one or more, which is not limited by the embodiment of the present invention.
  • some charging information may be saved or not saved when the link between the gateway forwarding plane and the gateway control plane is faulty by indicating the gateway forwarding plane and the gateway control plane. This increases the flexibility of billing.
  • the gateway control plane will be described by using UGW-C in the SAE architecture of the 3GPP evolved network as an example, and the gateway forwarding plane will be described by using UGW-U as an example.
  • the embodiment of the present invention is not limited thereto, and may be a gateway device decoupled from other network control planes and forwarding planes.
  • the elements of the indication identifier set in the embodiment of the present invention may be one or more, which is not limited by the embodiment of the present invention. It should also be understood that the selection of the elements of the set of indications in the embodiments of the present invention is merely exemplary and not limiting of the embodiments of the present invention.
  • FIG. 8 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • the UGW-C sends a second charging policy to the UGW-U.
  • the second charging policy includes indicating the identifier set.
  • the element indicating the identifier set is not saved for the charging information with the UE ID being w.
  • the UGW-U sends the fourth charging information to the UGW-C.
  • the UGW-U collects the fourth charging information of the user whose UE ID is w, records w in the fourth charging information, and sends the fourth charging information to the UGW-C.
  • the UGW-C detects that the Sg interface is faulty.
  • the UGW-U detects that the link of the Sg interface is faulty.
  • UGW-C and UGW-U are checked when the link between UGW-C and UGW-U fails.
  • the link of the Sg interface is faulty.
  • the UGW-C determines whether to save the fourth charging information.
  • the UGW-C may not save the fourth charging information, and optionally, directly discard the fourth charging information.
  • the UGW-U determines whether to save the fifth charging information.
  • the UGW-U collects the fifth charging information of the user whose UE ID is w.
  • the embodiment of the present invention can save or not save certain charging information when the link between the gateway forwarding plane and the gateway control plane is faulty by indicating that the UGW-U and the UGW-C are identified. This increases the flexibility of billing.
  • FIG. 9 is a flowchart of a method for processing billing information according to an embodiment of the present invention. The method of Figure 9 is performed by the billing gateway CG.
  • Gateway entity Packet Data Serving Node
  • WASN WiMAX (Worldwide Interoperability for Microwave Access) Access Serving Network, WiMAX Access Service Network
  • UGW-C User Plane Call Control
  • the fifth message may be sent to the first gateway, where the fifth message is used to indicate that the first gateway sends the second message.
  • the second charging bill receives the second charging bill sent by the first gateway.
  • the time of the delay may be preset by the charging gateway and notified to the first gateway, and may also be first.
  • the gateway is preset, which is not limited by the present invention.
  • the charging gateway instructs the first gateway to save the charging bill or delay the sending of the billing bill.
  • the first gateway saves in time.
  • the billing bill will not cause the billing bill to be lost. In this way, the system's disaster tolerance is improved.
  • FIG. 10 is a flowchart of a method for processing billing information according to another embodiment of the present invention.
  • Figure 10 Executed by the first gateway.
  • the first gateway may include a P-GW, a PDSN, a WASN or a UGW-C, and the like. It should be understood that the invention is not limited thereto.
  • the fifth message sent by the charging gateway may also be received; and the second charging is sent to the charging gateway according to the fifth message. Bills.
  • a non-limiting embodiment of the charging information processing method of the embodiment of the present invention will be described in detail below with reference to the example of FIG.
  • the delay time may be preset by the charging gateway and notified to the first gateway, and may also be preset by the first gateway.
  • the invention is not limited thereto.
  • the charging gateway instructs the first gateway to save the charging bill or delay the sending of the billing bill.
  • the first gateway saves in time.
  • the billing bill will not cause the billing bill to be lost. In this way, the system's disaster tolerance is improved.
  • the first gateway will be described by taking UGW-C as an example. It should be noted that the embodiment of the present invention is not limited thereto, and the first gateway may also be a P-GW, a PDSN, or a WASN.
  • FIG. 11 is a schematic flowchart of a process of a charging information processing method according to another embodiment of the present invention.
  • the UGW-C sends a first charging bill to the CG.
  • the CG sends a fourth message indicating that the UGW-C saves the charging bill to the gateway.
  • the UGW-C saves the second charging bill.
  • the UGW-C receives the charging information sent by the UGW-U, and generates and saves the second charging bill.
  • the CG sends a fifth message indicating that the UGW-C sends the charging bill to the gateway.
  • the UGW-C reads the second charging bill.
  • the UGW-C sends a second charging bill to the CG.
  • the CG of the embodiment of the invention instructs the UGW-C to save the billing bill, when the UGW-C and the CG
  • the UGW-C saves the accounting bills in time and does not cause the bills to be lost. In this way, the system's disaster tolerance is improved.
  • Example. The embodiments of the present invention can be applied to a gateway forwarding plane, a gateway control plane, a first gateway or a charging gateway in various communication systems.
  • 12 illustrates an embodiment of a device, in which the device 1200 includes a transmit circuit 1202, a receive circuit 1203, a power controller 1206, a decode processor 1205, a processor 1206, a memory 1207, and an antenna 1201.
  • the processor 1206 controls the operation of the device 1200, which may also be referred to as a central processing unit CPU or processor.
  • Memory 1207 can include read only memory and random access memory and provides instructions and data to processor 1206. A portion of the memory 1207 may also include non-volatile line random access memory (NVRAM).
  • device 1200 may be embedded or may itself be a wireless communication device such as a mobile telephone, and may also include a carrier that houses transmit circuitry 1202 and receive circuitry 1203 to allow for data transmission between device 1200 and a remote location. receive. Transmitting circuit 1202 and receiving circuit 1203 can be coupled to antenna 1201.
  • bus system 1210 which in addition to the data bus includes a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 1210 in the figure.
  • Apparatus 1200 can also include a processor 1206 for processing signals, and further includes a power controller 1204, a decoding processor 1205. .
  • Processor 1206 may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 1206 or an instruction in a form of software.
  • the foregoing decoding processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic. Devices, discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like.
  • the steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 1207.
  • the decoding unit reads the information in the memory 1207, and completes the steps of the foregoing method in combination with the hardware.
  • FIG. 13 is a structural block diagram of a gateway control plane according to an embodiment of the present invention.
  • the gateway control plane 1300 of FIG. 13 includes a transmitting unit 1301, a memory 1302, a receiving unit 1303, and a processor 1304.
  • the sending unit 1301 is configured to send, to the gateway forwarding plane, a charging information identification set for identifying charging information.
  • the memory 1302 is configured to save the first charging information sent by the gateway forwarding plane, where the first charging information carries the first charging information identifier, and the first charging information identifier is an element of the charging information identifier set.
  • the receiving unit 1303 is configured to receive the second charging information that is sent by the gateway forwarding plane and is saved by the gateway forwarding plane, where the second charging information carries the second charging information identifier, where the second charging information identifier is an element of the charging information identifier set. .
  • the processor 1304 is configured to identify the first charging information saved by the merged memory 1302 and the second charging information received by the receiving unit 1303 according to the first charging information identifier and the second charging information.
  • the gateway control sends the charging information identifier set to the gateway forwarding plane, and the first billing information and the second meter saved by the gateway forwarding plane and the gateway forwarding plane respectively by the element gateway forwarding plane of the charging information identifier set
  • the fee information is combined to generate a billing CDR, which can effectively improve the disaster tolerance and ensure the reliability of billing.
  • the gateway control plane 1300 can implement the operations related to the gateway control plane in the embodiments of Figures 1 through 5, and therefore will not be described in detail to avoid repetition.
  • the element of the charging information identifier set includes one or any combination of the following: a value generated by the gateway control plane, a user equipment identifier UE ID, a terminal address UE IP, a UE entry index, or a context. index.
  • the processor 1304 is specifically configured to combine the first charging information saved by the memory 1302 and the received by the receiving unit 1303 according to the correspondence between the first charging information identifier and the second charging information identifier.
  • the second billing information is described.
  • the memory 1302 is specifically configured to save the first charging information; when the processor 1304 detects the forwarding plane with the gateway When the link recovery occurs, the receiving unit 1303 is specifically configured to receive the second charging information saved by the gateway forwarding plane and sent by the gateway forwarding plane.
  • the sending unit 1301 sends the first cancellation to the gateway forwarding plane.
  • the memory 1302 is specifically configured to save the first charging information, where the first message is used to instruct the gateway forwarding plane to save the second charging information.
  • the sending unit 1301 is further configured to send a second message to the gateway forwarding plane, where the second message is used to instruct the gateway forwarding plane to send the second charging information.
  • the gateway control plane and the gateway forwarding plane save the accounting information in time, and the accounting information will not be lost. In this way, the system's disaster tolerance is improved.
  • the processor 1304 is further configured to: if the first charging information and the second charging information are successfully combined, generate a charging bill; if the first charging information and the second charging information If the merge fails, the charging information is lost, or the sending unit 1301 is further configured to send a request message to the gateway forwarding plane, where the request message includes the first charging information identifier, so that the gateway forwarding plane searches for the first charging information according to the request message. Matching third billing information.
  • the receiving unit 1303 is further configured to: if the gateway forwarding plane finds the third charging information, receive the third charging information sent by the gateway forwarding plane, where the third charging information carries the third meter.
  • the fee information identifier, the third charging information identifier is an element of the charging information identifier set; the processor 1304 is further configured to merge the first charging information and the third according to the first charging information identifier and the third charging information identifier Billing information.
  • the receiving unit 1303 is further configured to: if the gateway forwarding plane does not find the third charging information, receive a third message sent by the gateway forwarding plane, where the third message is used to indicate that the charging information is lost.
  • the gateway control plane actively sends a request message to the gateway forwarding plane, so that the gateway forwarding plane searches for matching charging information, and sends the matching charging information to the gateway control plane. In this way, the fault tolerance of the system can be effectively improved, and the reliability of the billing can be ensured.
  • FIG. 14 is a structural block diagram of a gateway forwarding plane according to another embodiment of the present invention.
  • the gateway forwarding plane 1400 of FIG. 14 includes a receiving unit 1401, a first transmitting unit 1402, a memory 1403, and a second transmitting unit 1404.
  • the receiving unit 1401 is configured to receive a charging information identifier set sent by the gateway control plane for identifying charging information, and the receiving unit 1401 sends the charging information identifier set to the first sending unit 1402 and the second sending unit 1404.
  • the first sending unit 1402 is configured to send the first charging information to the gateway control plane, where the first charging information carries the first charging information identifier, and the first charging information identifier is an element of the charging information identifier set.
  • the memory 1403 is configured to save the second billing information.
  • the second sending unit 1404 is configured to send the second charging saved by the memory 1403 to the gateway control plane.
  • the information that the second charging information carries the second charging information identifier, where the second charging information identifier is an element of the charging information identifier set, so that the gateway control plane merges according to the first charging information identifier and the second charging information identifier.
  • the gateway control sends the charging information identifier set to the gateway forwarding plane, and the first billing information and the second meter saved by the gateway forwarding plane and the gateway forwarding plane respectively by the element gateway forwarding plane of the charging information identifier set
  • the fee information is combined to generate a billing CDR, which can effectively improve the disaster tolerance and ensure the reliability of billing.
  • the gateway forwarding plane 1400 can implement the operations related to the gateway forwarding plane in the embodiments of FIG. 1 to FIG. 5, and therefore, in order to avoid repetition, details are not described in detail.
  • the element of the charging information identifier set includes one or any combination of the following: a value generated by the gateway control plane, a user equipment identifier UE ID, a terminal address UE IP, a UE entry index, or a context. index.
  • the memory 1403 is specifically configured to: when detecting a link failure with the gateway control plane, save the second charging information; the second sending unit 1404 is specifically configured to: when detecting and controlling the gateway When link recovery occurs, the second charging information is sent to the gateway control plane.
  • the receiving unit 1401 is further configured to receive a first message sent by the gateway control plane, where the memory 1403 is specifically configured to save the second charging information according to the first message received by the receiving unit 1401. Further, the receiving unit 1401 is further configured to receive the second message sent by the gateway control plane. The second sending unit 1404 is specifically configured to send the second charging information to the gateway control plane according to the second message received by the receiving unit 1401.
  • the gateway forwarding plane saves the accounting information in time, and the accounting information is not lost. In this way, the disaster tolerance of the system is improved.
  • the receiving unit 1401 is further configured to receive a request message sent by the gateway control plane, where the request message includes a first charging information identifier, and the gateway forwarding plane may further include a processor 1405, where the processor 1405 is used. And searching for the third charging information that matches the first charging information according to the request message.
  • the second sending unit 1404 is further configured to send to the gateway control plane.
  • the third charging information, the third charging information carries the third charging information identifier, and the third meter
  • the fee information is identified as an element of the charging information identification set, so that the gateway control plane combines the first charging information and the third charging information according to the first charging information identifier and the third charging information identifier;
  • the second sending unit 1404 is further configured to send a third message to the gateway control plane, where the third message is used to indicate that the charging information is lost.
  • the gateway control plane actively sends a request message to the gateway forwarding plane, so that the gateway forwarding plane searches for matching charging information, and sends the matching charging information to the gateway control plane. In this way, the fault tolerance of the system can be effectively improved, and the reliability of the billing can be ensured.
  • FIG. 15 is a block diagram showing the structure of a gateway control plane according to an embodiment of the present invention.
  • the gateway control plane 1500 of Fig. 15 includes a transmitting unit 1501, a receiving unit 1502, and a processor 1503.
  • the sending unit 1501 is configured to send the indication identifier set to the gateway forwarding plane.
  • the receiving unit 1502 is configured to receive fourth charging information sent by the gateway forwarding plane, where the fourth charging information carries an indication identifier, where the indication identifier is an element indicating the identifier set.
  • the processor 1503 is configured to determine, according to the indication, whether to save the fourth charging information received by the receiving unit, when detecting a link failure with the gateway forwarding plane.
  • the gateway control plane 1500 can implement the operations related to the gateway control plane in the embodiments of Figs. 6 to 8, and therefore will not be described in detail in order to avoid redundancy.
  • the sending unit 1501 is specifically configured to send a charging policy to the gateway forwarding plane, where the charging policy includes an indication identifier set.
  • some charging information may be saved or not saved when the link between the gateway forwarding plane and the gateway control plane is faulty by indicating the gateway forwarding plane and the gateway control plane. This increases the flexibility of billing.
  • the gateway forwarding plane 1600 of FIG. 16 includes a receiving unit 1601, a transmitting unit 1602, and a processor 1603.
  • the receiving unit 1601 is configured to receive a set of indication identifiers sent by the gateway control plane;
  • the sending unit 1602 is configured to send fourth charging information to the gateway control plane, where the fourth charging information carries an indication identifier, where the indication identifier is an element of the indication identifier set received by the receiving unit;
  • the processor 1603 is configured to determine, according to the indication identifier received by the receiving unit 1601, whether to save the fifth charging information collected in the link failure phase of the gateway control plane when detecting a link failure with the gateway control plane.
  • the gateway forwarding plane 1600 can implement the operations related to the gateway forwarding plane in the embodiments of FIG. 6 to FIG. 8, and therefore, in order to avoid repetition, details are not described in detail.
  • the receiving unit 1601 is specifically configured to receive a charging policy sent by a gateway control plane, where the charging policy includes the indication identifier set.
  • some charging information may be saved or not saved when the link between the gateway forwarding plane and the gateway control plane is faulty by indicating the gateway forwarding plane and the gateway control plane. This increases the flexibility of billing.
  • FIG. 17 is a structural block diagram of a charging gateway according to an embodiment of the present invention.
  • the charging gateway 1700 of Fig. 17 includes a receiving unit 1701 and a transmitting unit 1702.
  • the receiving unit 1701 is configured to receive a first charging bill sent by the first gateway.
  • the sending unit 1702 is configured to send a fourth message to the first gateway, where the fourth message is used to indicate that the first gateway saves the second charging bill or is used to instruct the first gateway to delay sending the second charging information.
  • the charging gateway 1700 can implement the operations related to the charging gateway in the embodiments of FIG. 9 to FIG. 11, and therefore, in order to avoid repetition, details are not described in detail.
  • the sending unit 1702 is further configured to send a fifth message to the first gateway, where the fifth message is used to instruct the first gateway to send the second charging bill; the receiving unit 1701 is further configured to receive the first The second charging bill sent by the gateway.
  • the charging gateway instructs the first gateway to save the charging bill or delay the sending of the billing bill.
  • the first gateway saves the billing in time. The bill will not cause the billing bill to be lost. In this way, the system's disaster tolerance is improved.
  • FIG. 18 is a structural block diagram of a first gateway according to another embodiment of the present invention.
  • the first gateway 1800 of Fig. 18 includes a transmitting unit 1801, a receiving unit 1802, and a memory 1803. Gateway entity), PDSN (Packet Data Serving Node), WASN (WiMAX (Worldwide Interoperability for Microwave Access) Access Serving Network, WiMAX Access Service Network), or UGW-C, etc. It should be understood that the present invention does not limit this.
  • the sending unit 1801 is configured to send the first charging bill to the charging gateway.
  • the receiving unit 1802 is configured to receive a fourth message sent by the charging gateway.
  • the memory 1803 is configured to save the second charging bill according to the fourth message received by the receiving unit or delay sending the second charging bill according to the fourth message.
  • the first gateway 1800 can implement the operations related to the first gateway in the embodiments of FIG. 9 to FIG. 11, and therefore, in order to avoid repetition, details are not described in detail.
  • the receiving unit 1802 is further configured to receive a fifth message sent by the charging gateway.
  • the sending unit 1801 is further configured to send the second charging bill to the charging gateway according to the fifth message received by the receiving unit. .
  • the charging gateway instructs the first gateway to save the charging bill or delay the sending of the billing bill.
  • the first gateway saves the billing in time. The bill will not cause the billing bill to be lost. In this way, the system's disaster tolerance is improved.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Meter Arrangements (AREA)

Abstract

本发明实施例提供一种计费信息处理方法和网关设备,该方法包括:向网关转发面发送用于标识计费信息的计费信息标识集合;保存所述网关转发面发送的第一计费信息,所述第一计费信息携带第一计费信息标识,所述第一计费信息标识为所述计费信息标识集合的元素;接收所述网关转发面发送的由所述网关转发面保存的第二计费信息,所述第二计费信息携带第二计费信息标识,所述第二计费信息标识为所述计费信息标识集合的元素;根据所述第一计费信息标识和所述第二计费信息标识合并所述第一计费信息和所述第二计费信息。这样,能够有效地提高容灾能力,保证计费的可靠性。

Description

计费信息处理方法和网关设备 技术领域
本发明实施例涉及通信技术领域, 并且更具体地, 涉及计费信息处理方 法和网关设备。 背景技术
3GPP ( The 3rd Generation Partnership Project, 第三代合作伙伴计划)标 准化发展出一种全新的演进网络, 其 SAE ( System Architecture Evolution , 系统架构演进)如图 1所示。 在 SAE架构中, 当 UE ( User Equipment, 用 户设备)通过无线空口接入 E-UTRAN ( Evolved Universal Terrestrial Radio Access Network,演进的通用陆地无线接入网)后,先附着到 MME ( Mobility Management Entity, 移动性管理网元)上, MME从 HSS ( Home Subscriber Server, 归属用户服务器)获取用户的签约数据和鉴权信息, 发起对 UE进 行鉴权的过程。 MME完成鉴权过程后, 由 UE或者 MME发起建立用于传 输用户数据的承载的过程。在该过程中, MME通知 S-GW( Serving Gateway, 服务网关实体) 为用户建立从 E-UTRAN 到 P-GW ( Packet Data Network Gateway, 分组数据网络网关实体) 的用于传输用户数据的承载, 在通知消 息中携带 P-GW的地址和用户所在的 E-UTRAN网元的地址信息。 P-GW将 来自外部 PDN ( Packet Data Network, 分组数据网络 ) 的下行数据通过承载 转发给 UE, 并将来自 UE的上行数据转发给相应的 PDN。
为了能兼容已有的 UTRAN ( Universal Terrestrial Radio Access Network, 通用 陆地无线接入网 ) 和 GERAN ( Global System for Mobile communications/Enhanced Data rates for GSM Evolution Radio Access Network, GSM/EDGE无线接入网;), UE可以通过 UTRAN或者 GERAN和 SGSN ( Serving GPRS ( General Packet Radio Service, 通用分组无线业务) Support Node , 服务 GPRS 支持节点 ) 接入 MME , 并且可以通过 UTRAN/GERAN, SGSN建立和 S-GW之间的 GTP ( GPRS Tunnel Protocol, GPRS隧道协议)隧道连接。 S-GW将 GTP隧道转换为相应的连接 P-GW的 承载,用于传输用户数据。 UTRAN也可以建立直接连接 S-GW的 GTP隧道。 MME成为只处理控制面信令的网元, S-GW和 P-GW主要负责转发用户面 数据。 S-GW和 P-GW可以合并为一个网元, 可以称为统一网关(UGW )。 随着移动互联网业务的发展、 企业网业务的丰富、 以及多种制式的移动 接入网络的融合, 需要网关设备在完成基本的数据转发功能的基础上, 逐渐 在向更精细化的业务控制和计费发展,从而支撑运营商更丰富的业务实施和 控制。 同时在演进网络中, UGW仍然需要保留有大量的对外的信令接口。 这些信令接口包括: MME和网关之间的 GTP-C ( GTP控制面)承载接口、 PCRF ( Policy and Charging Rules Function , 策略与计费规则功能)和网关之 间的 PCC ( Policy and Charging Control, 策略和计费控制)接口、 计费系统 和网关之间的计费接口、 合法监听设备和网关之间合法监听接口、 DHCP ( Dynamic Host Configuration Protocol, 动态主机配置十办议)月良务器和网关 之间的 DHCP接口、 AAA ( Authentication, Authorization and Accounting, 鉴 权授权和计费)服务器和网关之间的接口等等。
网关为了能处理大量的接口信令,在专用硬件平台的基础上增加大量的 通用计算处理器芯片等硬件,使得网关设备的硬件平台非常复杂,成本过高, 不利于移动分组数据网络的推广和部署。
为了解决上述问题, 目前出现了将网关的控制面和转发面分离的场景, 即按功能拆分成 GW-C (网关控制面)和 GW-U (网关转发面 ) , GW-C和 GW-U之间的接口定义成 Sg。 在计费过程中, GW-C完成用户接入、 策略控 制和计费话单管理, GW-U主要负责对数据进行转发, 并执行控制面下发的 控制和第一计费策略。 但是, 当 Sg接口通信故障时, GW-U无法通过 Sg接 口将采集的计费信息发送给 GW-C生成计费话单, 从而导致计费信息丟失。 发明内容
本发明实施例提供一种计费信息处理方法和网关设备, 能够提高系统的 容灾能力, 保证计费的可靠性。
第一方面, 提供了一种计费信息处理方法, 包括: 向网关转发面发送用 于标识计费信息的计费信息标识集合; 保存所述网关转发面发送的第一计费 信息, 所述第一计费信息携带第一计费信息标识, 所述第一计费信息标识为 所述计费信息标识集合的元素;接收所述网关转发面发送的由所述网关转发 面保存的第二计费信息, 所述第二计费信息携带第二计费信息标识, 所述第 二计费信息标识为所述计费信息标识集合的元素;根据所述第一计费信息标 识和所述第二计费信息标识合并所述第一计费信息和所述第二计费信息。 在第一种可能的实现方式中,根据所述第一计费信息标识和所述第二计 费信息标识将所述第一计费信息和所述第二计费信息进行合并,具体实现可 以为:
根据所述第一计费信息标识和所述第二计费信息标识的对应关系合并 所述第一计费信息和所述第二计费信息。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实 现方式中, 保存所述网关转发面发送的第一计费信息, 具体实现可以为: 当检测出与所述网关转发面出现链路故障时, 保存第一计费信息; 接收所述网关转发面发送的由所述网关转发面保存的第二计费信息, 具 体实现可以为:
当检测出与所述网关转发面出现链路恢复时,接收所述网关转发面发送 的由所述网关转发面保存的第二计费信息。
结合第一方面或第一方面的第一种可能的实现方式,在第三种可能的实 现方式中, 保存所述网关转发面发送的第一计费信息, 具体实现可以为: 向所述网关转发面发送第一消息, 同时保存所述第一计费信息, 所述第 一消息用于指示所述网关转发面保存第二计费信息。
根据第三种可能的实现方式, 在第四种可能的实现方式中, 接收所述网 关转发面发送的由所述网关转发面保存的第二计费信息之前, 具体实现可以 为:
向所述网关转发面发送第二消息, 所述第二消息用于指示所述网关转发 面发送所述第二计费信息。
结合第一方面或第一方面的第一种可能的实现方式或第二种可能的实 现方式或第三种可能的实现方式或第四种可能的实现方式,在第五种可能的 实现方式中,根据所述第一计费信息标识和所述第二计费信息标识合并所述 第一计费信息和所述第二计费信息, 具体实现可以为:
如果所述第一计费信息和所述第二计费信息合并成功, 则生成计费话 单;
如果所述第一计费信息和所述第二计费信息合并失败, 则记录计费信息 丟失, 或者向所述网关转发面发送索取消息, 所述索取消息包括所述第一计 费信息标识, 以便所述网关转发面根据所述索取消息查找与所述第一计费信 息匹配的第三计费信息。
根据第五种可能的实现方式, 在第六种可能的实现方式中, 向所述网关 转发面发送索取消息, 所述索取消息包括所述第一计费信息标识, 以便所述 网关转发面根据所述索取消息查找与所述第一计费信息匹配的第三计费信 息, 具体实现可以为:
如果所述网关转发面查找到所述第三计费信息, 则接收所述网关转发面 发送的所述第三计费信息, 所述第三计费信息携带第三计费信息标识, 所述 第三计费信息标识为所述计费信息标识集合的元素, 并根据所述第一计费信 息标识和所述第三计费信息标识合并所述第一计费信息和所述第三计费信 息;
如果所述网关转发面未查找到所述第三计费信息, 则接收所述网关转发 面发送的第三消息, 所述第三消息用于指示计费信息丟失。
结合第一方面或第一方面的第一种可能的实现方式或第二种可能的实 现方式或第三种可能的实现方式或第四种可能的实现方式或第五种可能的 实现方式或第六种可能的实现方式, 在第七种可能的实现方式中, 具体实现 可以为:
所述计费信息标识集合的元素包括以下之一或任意组合: 由网关控制面 生成的数值, 用户设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下 文索引。
第二方面, 提供了一种计费信息处理方法, 包括: 接收网关控制面发送 的用于标识计费信息的计费信息标识集合; 向所述网关控制面发送第一计费 信息, 所述第一计费信息携带第一计费信息标识, 所述第一计费信息标识为 所述计费信息标识集合的元素; 保存第二计费信息; 向所述网关控制面发送 所述第二计费信息, 所述第二计费信息携带第二计费信息标识, 所述第二计 费信息标识为所述计费信息标识集合的元素, 以便所述网关控制面根据所述 第一计费信息标识和所述第二计费信息标识合并所述第一计费信息和所述 第二计费信息。
在第一种可能的实现方式中, 保存第二计费信息, 具体实现可以为: 当检测出与所述网关控制面出现链路故障时, 保存所述第二计费信息; 向所述网关控制面发送所述第二计费信息, 具体实现可以为: 当检测出与所述网关控制面出现链路恢复时, 向所述网关控制面发送所 述第二计费信息。
在第二种可能的实现方式中,保存第二计费信息之前,具体实现可以为: 接收所述网关控制面发送的第一消息;
所述保存第二计费信息, 具体实现可以为:
根据所述第一消息保存所述第二计费信息。
根据第二种可能的实现方式, 在第三种可能的实现方式中, 根据所述第 一消息保存所述第二计费信息之后, 具体实现可以为:
接收所述网关控制面发送的第二消息;
向所述网关控制面发送所述第二计费信息, 具体实现可以为:
根据所述第二消息向所述网关控制面发送所述第二计费信息。
结合第二方面或第二方面的第一种可能的实现方式或第二种可能的实 现方式或第三种可能的实现方式, 在第四种可能的实现方式中, 具体实现可 以为:
接收所述网关控制面发送的索取消息, 所述索取消息包括所述第一计费 信息标识;
根据所述索取消息查找与所述第一计费信息匹配的第三计费信息。
根据第四种可能的实现方式, 在第五种可能的实现方式中, 根据所述索 取消息查找与所述第一计费信息匹配的第三计费信息, 具体实现可以为: 如果查找到所述第三计费信息, 则向所述网关控制面发送所述第三计费 信息, 所述第三计费信息携带第三计费信息标识, 所述第三计费信息标识为 所述计费信息标识集合的元素, 以便所述网关控制面根据所述第一计费信息 标识和所述第三计费信息标识合并所述第一计费信息和所述第三计费信息; 如果未查找到所述第三计费信息, 则向所述网关控制面发送第三消息, 所述第三消息用于指示计费信息丟失。
结合第二方面或第二方面的第一种可能的实现方式或第二种可能的实 现方式或第三种可能的实现方式或第四种可能的实现方式或第五种可能的 实现方式, 在第六种可能的实现方式中, 具体实现可以为:
所述计费信息标识集合的元素包括以下之一或任意组合: 由网关控制面 生成的数值, 用户设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下 文索引。
第三方面, 提供了一种计费信息处理方法, 包括: 向网关转发面发送指 示标识集合; 接收所述网关转发面发送的第四计费信息, 所述第四计费信息 携带指示标识, 所述指示标识为所述指示标识集合的元素; 当检测出与所述 网关转发面出现链路故障时,根据所述指示标识判断是否需要保存所述第四 计费信息。
在第一种可能的实现方式中, 向网关转发面发送指示标识集合, 具体实 现可以为:
向网关转发面发送计费策略, 所述计费策略包括所述指示标识集合。 第四方面, 提供了一种计费信息处理方法, 包括: 接收网关控制面发送 的指示标识集合; 向所述网关控制面发送第四计费信息, 所述第四计费信息 携带指示标识, 所述指示标识为所述指示标识集合的元素; 当检测出与所述 网关控制面出现链路故障时,根据所述指示标识判断是否需要保存与所述网 关控制面出现链路故障阶段采集的第五计费信息。
在第一种可能的实现方式中, 接收网关控制面发送的指示标识集合, 具 体实现可以为: 接收网关控制面发送的计费策略, 所述计费策略包括所述指 示标识集合。
第五方面, 提供了一种计费信息处理方法, 包括: 接收第一网关发送的 第一计费话单; 向所述第一网关发送第四消息, 所述第四消息用于指示所述 第一网关保存第二计费话单; 向所述第一网关发送第五消息, 所述第五消息 用于指示所述第一网关发送第二计费话单;接收所述第一网关发送的第二计 费话单。
在第一种可能的实现方式中, 当所述第四消息用于指示所述第一网关保 存第二计费话单时, 具体实现可以为:
向所述第一网关发送第五消息,所述第五消息用于指示所述第一网关发 送第二计费话单; 接收所述第一网关发送的第二计费话单。
第六方面, 提供了一种计费信息处理方法, 包括: 向计费网关发送第一 计费话单; 接收所述计费网关发送的第四消息; 根据所述第四消息保存第二 计费话单或者根据所述第四消息延迟发送第二计费话单。
在第一种可能的实现方式中, 根据所述第四消息保存第二计费话单之 后, 具体实现可以为:
接收所述计费网关发送的第五消息;
根据所述第五消息向所述计费网关发送第二计费话单。 第七方面, 提供了一种网关控制面, 包括: 发送单元, 用于向网关转发 面发送用于标识计费信息的计费信息标识集合; 存储器, 用于保存所述网关 转发面发送的第一计费信息, 所述第一计费信息携带第一计费信息标识, 所 述第一计费信息标识为所述计费信息标识集合的元素; 接收单元, 用于接收 所述网关转发面发送的由所述网关转发面保存的第二计费信息,所述第二计 费信息携带第二计费信息标识, 所述第二计费信息标识为所述计费信息标识 集合的元素; 处理器, 用于根据所述第一计费信息标识和所述第二计费信息 标识合并所述存储器保存的第一计费信息和所述接收单元接收的所述第二 计费信息。
在第一种可能的实现方式中, 所述处理器具体用于根据所述第一计费信 息标识和所述第二计费信息标识的对应关系合并所述存储器保存的所述第 一计费信息和所述接收单元接收的所述第二计费信息。
结合第七方面或第七方面的第一种可能的实现方式,在第二种可能的实 现方式中, 所存储器具体用于: 当所述存储器检测出与所述网关转发面出现 链路故障时, 保存第一计费信息;
所述接收单元具体用于: 当所述存储器检测出与所述网关转发面出现链 路恢复时,接收所述网关转发面发送的由所述网关转发面保存的第二计费信 息。
结合第七方面或第七方面的第一种可能的实现方式,在第三种可能的实 现方式中, 所述存储器具体用于: 当所述发送单元向所述网关转发面发送第 一消息时, 保存所述第一计费信息, 所述第一消息用于指示所述网关转发面 保存第二计费信息。
根据第三种可能的实现方式, 在第四种可能的实现方式中, 所述发送单 元还用于: 向所述网关转发面发送第二消息, 所述第二消息用于指示所述网 关转发面发送所述第二计费信息。
结合第七方面或第七方面的第一种可能的实现方式或第二种可能的实 现方式或第三种可能的实现方式或第四种可能的实现方式,在第五种可能的 实现方式中, 所述处理器还用于: 如果所述第一计费信息和所述第二计费信 息合并成功, 则生成计费话单; 如果所述第一计费信息和所述第二计费信息 合并失败, 则记录计费信息丟失, 或者所述发送单元还用于: 向所述网关转 发面发送索取消息, 所述索取消息包括所述第一计费信息标识, 以便所述网 关转发面根据所述索取消息查找与所述第一计费信息匹配的第三计费信息。 根据第五种可能的实现方式, 在第六种可能的实现方式中, 所述接收单 元还用于: 如果所述网关转发面查找到所述第三计费信息, 则接收所述网关 转发面发送的所述第三计费信息, 所述第三计费信息携带第三计费信息标 识, 所述第三计费信息标识为所述计费信息标识集合的元素; 所述处理器还 用于: 根据所述第一计费信息标识和所述第三计费信息标识合并所述第一计 费信息和所述第三计费信息;
所述接收单元还用于: 如果所述网关转发面未查找到所述第三计费信 息, 则接收所述网关转发面发送的第三消息, 所述第三消息用于指示计费信 息丟失。
第八方面, 提供了一种网关转发面, 包括: 接收单元, 用于接收网关控 制面发送的用于标识计费信息的计费信息标识集合, 所述接收单元向第一发 送单元和第二发送单元发送所述计费信息标识集合; 所述第一发送单元用于 向所述网关控制面发送第一计费信息, 所述第一计费信息携带第一计费信息 标识, 所述第一计费信息标识为所述计费信息标识集合的元素; 存储器, 用 于保存第二计费信息; 所述第二发送单元用于向所述网关控制面发送所述存 储器保存的所述第二计费信息, 所述第二计费信息携带第二计费信息标识, 所述第二计费信息标识为所述计费信息标识集合的元素, 以便所述网关控制 面根据所述第一计费信息标识和所述第二计费信息标识合并所述第一发送 单元发送的所述第一计费信息和所述第二发送单元发送的所述第二计费信 息。
在第一种可能的实现方式中, 所述存储器具体用于: 当检测出与所述网 关控制面出现链路故障时, 保存所述第二计费信息;
所述第二发送单元具体用于: 当检测出与所述网关控制面出现链路恢复 时, 向所述网关控制面发送所述第二计费信息。
在第二种可能的实现方式中, 所述接收单元还用于: 接收所述网关控制 面发送的第一消息;
所述存储器具体用于: 根据所述接收单元接收的所述第一消息保存所述 第二计费信息。
根据第二种可能的实现方式, 在第三种可能的实现方式中, 所述接收单 元还用于: 接收所述网关控制面发送的第二消息; 所述第二发送单元具体用于: 根据所述接收单元接收的所述第二消息向 所述网关控制面发送所述第二计费信息。
结合第八方面或第八方面的第一种可能的实现方式或第二种可能的实 现方式或第三种可能的实现方式, 在第四种可能的实现方式中, 所述接收单 元还用于: 接收所述网关控制面发送的索取消息, 所述索取消息包括所述第 一计费信息标识;
所述网关转发面还包括处理器,所述处理器用于根据所述索取消息查找 与所述第一计费信息匹配的第三计费信息。
根据第四种可能的实现方式, 在第五种可能的实现方式中, 如果所述处 理器查找到所述第三计费信息,并向所述第二发送单元发送所述第三计费信 息,则所述第二发送单元还用于:向所述网关控制面发送所述第三计费信息, 所述第三计费信息携带第三计费信息标识, 所述第三计费信息标识为所述计 费信息标识集合的元素, 以便所述网关控制面根据所述第一计费信息标识和 所述第三计费信息标识合并所述第一计费信息和所述第三计费信息;
如果所述处理器未查找到所述第三计费信息, 则所述第二发送单元还用 于:向所述网关控制面发送第三消息,所述第三消息用于指示计费信息丟失。
第九方面, 提供了一种网关控制面, 包括: 发送单元, 用于向网关转发 面发送指示标识集合; 接收单元, 用于接收所述网关转发面发送的第四计费 信息, 所述第四计费信息携带指示标识, 所述指示标识为所述指示标识集合 的元素; 处理器, 用于当检测出与所述网关转发面出现链路故障时, 根据所 述指示标识判断是否需要保存所述接收单元接收的第四计费信息。
在第一种可能的实现方式中, 所述发送单元具体用于: 向网关转发面发 送计费策略, 所述计费策略包括所述指示标识集合。
第十方面, 提供了一种网关转发面, 包括: 接收单元, 用于接收网关控 制面发送的指示标识集合; 发送单元, 用于向所述网关控制面发送第四计费 信息, 所述第四计费信息携带指示标识, 所述指示标识为所述接收单元接收 的所述指示标识集合的元素; 处理器, 用于当检测出与所述网关控制面出现 链路故障时,根据所述接收单元接收的所述指示标识判断是否需要保存与所 述网关控制面出现链路故障阶段采集的第五计费信息。
在第一种可能的实现方式中, 所述接收单元具体用于: 接收网关控制面 发送的计费策略, 所述计费策略包括所述指示标识集合。 第十一方面, 提供了一种计费网关, 包括: 接收单元, 用于接收第一网 关发送的第一计费话单; 发送单元, 用于向所述第一网关发送第四消息, 所 述第四消息用于指示所述第一网关保存第二计费话单或者用于指示所述第 一网关延迟发送第二计费信息。
在第一种可能的实现方式中, 所述发送单元还用于: 向所述第一网关发 送第五消息, 所述第五消息用于指示所述第一网关发送第二计费话单;
所述接收单元还用于: 接收所述第一网关发送的第二计费话单。
第十二方面, 提供了一种网关, 包括: 发送单元, 用于向计费网关发送 第一计费话单;接收单元,用于接收所述计费网关发送的第四消息;存储器, 用于根据所述接收单元接收的所述第四消息保存第二计费话单或者根据所 述第四消息延迟发送第二计费话单。
在第一种可能的实现方式中, 所述接收单元还用于: 接收所述计费网关 发送的第五消息;
所述发送单元还用于: 根据所述接收单元接收的所述第五消息向所述计 费网关发送第二计费话单。
本发明实施例网关控制面向网关转发面发送计费信息标识集合,通过该 计费信息标识集合的元素网关转发面可以将网关转发面和网关转发面分别 保存的第一计费信息和第二计费信息进行合并, 以生成计费话单, 从而能够 有效地提高容灾能力, 保证计费的可靠性。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例或现有技 术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明一个实施例的计费信息处理方法的流程图。
图 2是本发明另一实施例的计费信息处理方法的流程图。
图 3是本发明另一实施例的计费信息处理方法的过程的示意性流程图。 图 4是本发明另一实施例的计费信息处理方法的过程的示意性流程图。 图 5是本发明另一实施例的计费信息处理方法的过程的示意性流程图。 图 6是本发明一个实施例的计费信息处理方法的流程图。 图 7是本发明另一实施例的计费信息处理方法的流程图。
图 8是本发明另一实施例的计费信息处理方法的过程的示意性流程图。 图 9是本发明一个实施例的计费信息处理方法的流程图。
图 10是本发明另一实施例的计费信息处理方法的流程图。
图 11是本发明另一实施例的计费信息处理方法的过程的示意性流程图。 图 12是本发明一个实施例的设备的框图。
图 13是本发明一个实施例的网关控制面的结构框图。
图 14是本发明另一实施例的网关转发面的结构框图。
图 15是本发明一个实施例的网关控制面的结构框图。
图 16是本发明另一实施例的网关转发面的结构框图。
图 17是本发明一个实施例的计费网关的结构框图。
图 18是本发明另一实施例的第一网关的结构框图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明的技术方案, 可以应用于各种通信系统, 例如: 全球移动通信系 统( GSM, Global System of Mobile communication ), 码分多址( CDMA, Code Division Multiple Access ) 系统, 宽带码分多址( WCDMA, Wideband Code Division Multiple Access Wireless ),通用分组无线业务 ( GPRS , General Packet Radio Service ), 长期演进 ( LTE, Long Term Evolution )等。
例如,可以用于 2G/3G网络的 SGSN、GGSN,或者 SAE架构下的 S-GW、 P-GW等控制面和转发面解耦的设备。
为了帮助本领域技术人员理解本发明实施例, 网关控制面将以 3GPP演 进网络的 SAE架构下的统一网关控制面 UGW-C为例进行说明,网关转发面 将以统一网关转发面 UGW-U为例进行说明。 应注意, 本发明实施例并不限 于此, 可以为其它网络控制面和转发面解耦的网关设备。
图 1是本发明一个实施例的计费信息处理方法的流程图。 图 1的方法由 网关控制面执行。 101 , 向网关转发面发送用于标识计费信息的计费信息标识集合。
102, 保存网关转发面发送的第一计费信息, 第一计费信息携带第一计 费信息标识, 第一计费信息标识为上述计费信息标识集合的元素。
103 , 接收网关转发面发送的由网关转发面保存的第二计费信息, 第二 计费信息携带第二计费信息标识, 第二计费信息标识为计费信息标识集合的 元素。
104, 根据第一计费信息标识和第二计费信息标识合并第一计费信息和 第二计费信息。
本发明实施例网关控制面向网关转发面发送计费信息标识集合,通过该 计费信息标识集合的元素网关转发面可以将网关转发面和网关转发面分别 保存的第一计费信息和第二计费信息进行合并, 以生成计费话单, 从而能够 有效地提高容灾能力, 保证计费的可靠性。
可选地, 作为一个实施例, 计费信息标识集合的元素可以包括以下之一 或任意组合: 由网关控制面生成的数值, 用户设备标识 UE ID, 用户设备地 址 UE IP, UE表项索引, 或上下文索引等。 应理解, 本发明实施例对于计 费信息的标识的选取以及标识计费信息的方式不作限定。
可选地, 作为另一实施例, 可以向网关转发面发送计费策略, 计费策略 包括计费信息标识集合, 该计费策略可以是在网关控制面上配置的, 也可以 是 PCRF ( Policy and Charging Rules Function, 策略与计费规则功能)主动下 发给网关控制面的, 本发明对此不作限定。
可选地, 作为另一个实施例, 在步骤 102中, 可以在检测出网关控制面 与网关转发面出现链路故障时,保存网关转发面发送的第一计费信息,其中, 第一计费信息携带上述计费信息标识集合的元素。 在步骤 103中, 可以在检 测出与网关转发面出现链路恢复时,接收网关转发面发送的由上述网关转发 面保存的第二计费信息, 其中, 第二计费信息携带上述计费信息标识集合的 元素。 下面还将结合图 3更加详细描述本发明实施例的计费信息处理方法的 非限制性的例子。
可选地, 作为另一个实施例, 在步骤 102中, 可以向网关转发面发送第 一消息, 同时保存已接收的第一计费信息, 该第一消息用于指示网关转发面 保存接收到第一消息之后所采集的第二计费信息。 进一步地, 在步骤 103之 前, 向网关转发面发送第二消息, 该第二消息用于指示网关转发面发送上述 第二计费信息, 第二计费信息携带第二计费信息标识, 第二计费信息标识为 上述计费信息标识集合的元素。 因此, 若网关控制面与网关转发面之间的链 路出现故障, 网关控制面和网关转发面都及时保存了计费信息, 不会导致计 费信息丟失。 这样, 提高了系统的容灾能力。 下面还将结合图 4更加详细描 述本发明实施例的计费信息处理方法的非限制性的例子。
应注意的是,本发明实施例对于网关转发面和 /或网关控制面保存计费信 息的确定方式不作限定,即无论基于何种方式确定网关转发面和 /或网关控制 面保存计费信息的均落入本发明实施例的范围内。
可选地, 作为另一个实施例, 在步骤 104中, 根据第一计费信息标识和 第二计费信息标识的对应关系合并第一计费信息和第二计费信息。 例如, 第 一计费信息标识为网关控制面生成的数值 5, 如果第二计费信息携带的第二 计费信息标识也为 5, 即第一计费信息标识与第二计费信息标识一致, 则合 并第一计费信息和第二计费信息。 又例如, 第一计费信息标识为网关控制面 生成的数值 2和 UE ID h, 如果第二计费信息携带的第二计费信息标识记录 的 UE ID为 h, 则合并第一计费信息和第二计费信息。 再例如, 网关控制面 预先设置生成的数值 2与 UE ID h相匹配, 并通知网关转发面。 如果第一计 费信息标识为网关控制面生成的数值 2, 第二计费信息携带的第二计费信息 标识记录的 UE ID为 h, 则可以合并第一计费信息和第二计费信息。
应理解, 第一计费信息标识和第二计费信息标识可以是 1个, 也可以是 多个, 且第一计费信息标识和第二计费信息标识的个数可以是相等的, 也可 以是不相等的, 本发明实施例对此不作限定。 此外, 本发明实施例网关控制 面根据第一计费信息标识和第二计费信息标识的对应关系对第一计费信息 和第二计费信息进行合并的方式也不作限定。
可选地, 作为一个实施例, 在步骤 104中, 如果第一计费信息和第二计 费信息合并成功, 则生成计费话单, 可以向计费网关发送该计费话单, 或者 还可以先保存该计费话单。 例如, 当检测出网关控制面与计费网关之间的链 路出现故障时, 保存计费话单。 或者, 根据计费网关发送的指示保存计费话 单。 下面还将结合图 11 更加详细描述本发明实施例的计费信息处理方法的 非限制性的例子。
可选地, 作为另一个实施例, 在步骤 104中, 将第一计费信息和第二计 费信息进行合并,如果合并失败,则可以记录计费信息丟失和 /或将第二计费 信息直接丟弃; 或者向网关转发面发送索取消息, 该索取消息包括第一计费 信息标识, 以便网关转发面根据索取消息查找与第一计费信息匹配的第三计 费信息。
进一步地, 如果网关转发面查找到第三计费信息, 则接收该网关转发面 发送的第三计费信息, 第三计费信息携带第三计费信息标识, 根据第一计费 信息标识和第三计费信息标识合并第一计费信息和第三计费信息。 进一步 地,对于根据第一计费信息标识和第三计费信息标识的对应关系合并第一计 费信息和第三计费信息的实施方式如上所述, 此处不再赘述。 应理解, 计费 信息标识集合的元素可以是 1个, 也可以是多个, 本发明实施例对此不作限 定。 例如, 第三计费信息标识可以包括以下之一或任意组合: 由网关控制面 生成的数值, 用户设备标识 UE ID, 用户设备地址 UE IP, UE表项索引, 或 上下文索引。 如果网关转发面未查找到第三计费信息, 则接收该网关转发面 发送的第三消息, 该第三消息用于指示计费信息丟失。 下面还将结合图 5更 加详细描述本发明实施例的计费信息处理方法的非限制性的例子。
本发明实施例通过网关控制面主动向网关转发面发送索取消息, 以便网 关转发面查找匹配的计费信息, 并发送给网关控制面。 这样, 能够有效提高 系统的容错能力, 保证计费的可靠性。
图 2是本发明另一实施例的计费信息处理方法的流程图。 图 2的方法由 网关转发面执行, 并与图 1的方法相对应, 因此将适当省略与图 2的实施例 重复的描述。
201 , 接收网关控制面发送的用于标识计费信息的计费信息标识集合。
202, 向所述网关控制面发送第一计费信息, 第一计费信息携带第一计 费信息标识, 第一计费信息标识为所述计费信息标识集合的元素。
203, 保存第二计费信息。
204, 向网关控制面发送第二计费信息, 第二计费信息携带第二计费信 息标识, 第二计费信息标识为所述计费信息标识集合的元素, 以便网关控制 面根据第一计费信息标识和第二计费信息标识合并第一计费信息和第二计 费信息。
可选地, 作为一个实施例, 计费信息标识集合的元素可以包括以下之一 或任意组合: 由网关控制面生成的数值, 用户设备标识 UE ID, 用户设备地 址 UE IP, UE表项索引, 或上下文索引等。 应理解, 本发明实施例对于计 费信息的标识的选取以及标识计费信息的方式不作限定。
可选地, 作为另一实施例, 可以接收网关控制面发送的计费策略, 计费 策略包括计费信息标识集合, 该计费策略可以是在网关控制面上配置的, 也 可以是 PCRF主动下发给网关控制面的, 本发明对此不作限定。
可选地, 作为另一个实施例, 在步骤 203中, 可以在检测出与网关控制 面出现链路故障时, 开始保存网关转发面将在故障期间采集的第二计费信 息; 在步骤 204中, 可以在检测出与网关控制面出现链路恢复时, 向网关控 制面发送上述第二计费信息, 第二计费信息携带计费信息标识集合的元素。 下面还将结合图 3的例子详细描述本发明实施例的计费信息处理方法的非限 制性的实施方式。
可选地, 作为另一个实施例, 在步骤 203之前, 可以接收网关控制面发 送的第一消息,根据该第一消息保存网关转发面接收第一消息之后所采集的 第二计费信息。 进一步地, 在步骤 204之前, 接收网关控制面发送的第二消 息, 根据该第二消息发送上述第二计费信息, 或者根据预先设置的时限向网 关控制面发送上述第二计费信息。 第二计费信息携带计费信息标识集合的元 素。 因此, 当网关控制面与网关转发面之间的链路出现故障时, 网关转发面 及时保存了计费信息, 不会导致计费信息丟失。 这样, 提高了系统的容灾能 力。 下面还将结合图 4的例子详细描述本发明实施例的计费信息处理方法的 非限制性的实施方式。
应注意的是,本发明实施例对于网关转发面保存计费信息的确定方式不 作限定, 即无论基于何种方式确定网关转发面保存计费信息的均落入本发明 实施例的范围内。
另外, 如果网关控制面合并第一计费信息和第二计费信息失败, 网关转 发面接收网关控制面发送的索取消息, 该索取消息包括第一计费信息标识, 网关转发面根据索取消息查找与第一计费信息匹配的第三计费信息。进一步 地, 如果查找到第三计费信息, 则向该网关控制面发送第三计费信息, 第三 计费信息携带第三计费信息标识, 以便网关控制面根据第一计费信息标识和 第三计费信息标识将第一计费信息和第三计费信息进行合并, 并生成计费话 单。 如果未查找到第三计费信息, 则向该网关控制面发送第三消息, 第三消 息用于指示计费信息丟失。 应理解, 计费信息标识集合的元素可以是 1个, 也可以是多个, 本发明实施例对此不作限定。 例如, 第三计费信息标识可以 包括以下之一或任意组合: 由网关控制面生成的数值,用户设备标识 UE ID, 用户设备地址 UE IP, UE表项索引, 或上下文索引。 下面还将结合图 5的 例子详细描述本发明实施例的计费信息处理方法的非限制性的实施方式。
本发明实施例通过网关转发面接收网关控制面主动发送的索取消息, 网 关转发面根据该索取消息查找匹配的计费信息,并发送给网关控制面。这样, 能够有效提高系统的容错能力, 保证计费的可靠性。
下面结合具体的例子详细描述本发明实施例。 在下面图 3至图 5中, 为 了帮助本领域技术人员理解本发明实施例, 网关控制面将以 3GPP演进网络 的 SAE架构下的 UGW-C为例进行说明,网关转发面将以 UGW-U为例进行 说明。 应注意, 本发明实施例并不限于此, 可以为其它网络控制面和转发面 解耦的网关设备。
应理解, 在下面图 3至图 5中, 对计费信息标识集合的元素的选取仅仅 是示例性的, 而非对本发明实施例的限制。
图 3是本发明一个实施例的计费信息处理方法的过程的示意性流程图。
301 , UGW-C向 UGW-U发送第一计费策略。
第一计费策略包括用于标识计费信息的计费信息标识集合。
可选地, 计费信息标识集合的元素可以包括以下之一或任意组合: UGW-C生成的数值, UE ID ( Identification, 标识), UE IP ( Internet Protocol, 互联网协议)地址, UE表项索引, 上下文索引。 应理解, 本发明实施例对 于计费信息的标识的选取以及标识计费信息的方式不作限定。
302, UGW-U向 UGW-C发送第一计费信息。
在步骤 301 中, UGW-U接收到 UGW-C发送的第一计费策略后, 获取 计费信息标识集合。 UGW-U将相应的第一计费信息标识记录在采集的第一 计费信息中, 并向 UGW-C发送该第一计费信息。
303 , UGW-C检测出 Sg接口链路故障。
304 , UGW-U检测出 Sg接口链路故障。
当 UGW-C与 UGW-U之间的链路出现故障时, UGW-C和 UGW-U都检 测出 Sg接口链路故障。
305, UGW-C保存第一计费信息。
306, UGW-U保存第二计费信息。
例如, UGW-C保存在 302步骤中接收的由 UGW-U发送的第一计费信 息。 在链路故障期间, UGW-U采集第二计费信息, 将相应的第二计费信息 标识记录在采集的第二计费信息中, 并保存该第二计费信息。
307 , UGW-C检测出 Sg接口链路恢复。
308 , UGW-U检测出 Sg接口链路恢复。
309, UGW-U读取第二计费信息。
310, UGW-U向 UGW-C发送第二计费信息。
当 UGW-C与 UGW-U之间的链路恢复时, UGW-C和 UGW-U都检测出 Sg接口链路恢复。 UGW-U读取第二计费信息, 并向 UGW-C发送该第二计 费信息, 第二计费信息携带第二计费信息标识。
311 , UGW-C合并第一计费信息和第二计费信息, 生成计费话单。 UGW-C收到第二计费信息, 根据第二计费信息标识找到 UGW-C本地 保存的第一计费信息, 将第一计费信息和第二计费信息进行合并, 以生成计 费话单记录。 例如, 第一计费信息标识为网关控制面生成的数值 5 , 第二计 费信息携带的第二计费信息标识也为 5。 由于第一计费信息标识与第二计费 信息标识一致, UGW-C可以根据第二计费信息标识 5找到与第二计费信息 相匹配的由 UGW-C本地保存的第一计费信息, 并合并第一计费信息和第二 计费信息。
应理解, 第一计费信息标识和第二计费信息标识可以是 1个, 也可以是 多个, 且第一计费信息标识和第二计费信息标识的个数可以是相等的, 也可 以是不相等的, 本发明实施例对此不作限定。 此外, 本发明实施例 UGW-C 根据第一计费信息标识和第二计费信息标识的对应关系对第一计费信息和 第二计费信息进行合并的方式也不作限定。
进一步地, 如果第一计费信息和第二计费信息合并成功, 则生成计费话 单。 可选地, 可以进入步骤 312, 或者还可以先保存该计费话单。 例如, 当 检测出 UGW-C与计费网关 CG之间的链路出现故障时, 保存计费话单; 或 者, 根据计费网关发送的指示保存计费话单。 如果第一计费信息和第二计费 信息合并失败,则可以记录计费信息丟失和 /或将第二计费信息直接丟弃; 或 者向 UGW-U发送索取消息, 该索取消息包括第一计费信息标识, UGW-U 根据索取消息查找与第一计费信息匹配的第三计费信息。
312, UGW-C向 CG发送计费话单。
本发明实施例 UGW-C向 UGW-U发送第一计费策略, 其中, 第一计费 策略包括计费信息标识集合,通过计费信息标识网关转发面可以将链路故障 时 UGW-C和 UGW-U分别保存的第一计费信息和第二计费信息进行合并, 以生成计费话单, 从而能够有效地提高容灾能力, 保证计费的可靠性。
图 4是本发明另一实施例的计费信息处理方法的过程的示意性流程图。
401 , UGW-C向 UGW-U发送第一计费策略。
第一计费策略包括用于标识计费信息的计费信息标识集合。
可选地, 计费信息标识集合的元素可以包括以下之一或任意组合: UGW-C生成的数值, UE ID ( Identification, 标识), UE IP ( Internet Protocol, 互联网协议)地址, UE表项索引, 上下文索引。 应理解, 本发明实施例对 于计费信息的标识的选取以及标识计费信息的方式不作限定。
402, UGW-U向 UGW-C发送第一计费信息。
在步骤 401 中, UGW-U接收到 UGW-C发送的第一计费策略后, 获取 计费信息标识集合。 UGW-U将相应的第一计费信息标识记录在采集的第一 计费信息中, 并向 UGW-C发送该第一计费信息。
403, UGW-C向 UGW-U发送指示 UGW-U保存计费信息的第一消息。
404, UGW-C保存第一计费信息。
405, UGW-U保存第二计费信息。
例如, UGW-C可以向 UGW-U发送指示 UGW-U保存计费信息的第一 消息, 同时保存已接收的第一计费信息。 UGW-U根据该第一消息保存接收 到第一消息之后所采集的第二计费信息。 并将相应的第二计费信息标识记录 在采集的第二计费信息中。
因此, 若 UGW-C与 UGW-U之间的链路出现故障, 网关控制面和网关 转发面都及时保存了计费信息, 不会导致计费信息丟失。 这样, 提高了系统 的容灾能力。
406, UGW-C向 UGW-U发送指示 UGW-U发送计费信息的第二消息。
407, UGW-U读取第二计费信息。
408 , UGW-U向 UGW-C发送第二计费信息。
例如, 向 UGW-U发送第二消息, 该第二消息用于指示 UGW-U发送上 述第二计费信息。 UGW-U根据第二消息读取第二计费信息, 并向 UGW-C 发送该第二计费信息, 第二计费信息携带第二计费信息标识。
409, UGW-C合并第一计费信息和第二计费信息, 生成计费话单。 UGW-C收到第二计费信息, 根据第二计费信息标识找到 UGW-C本地 保存的第一计费信息, 将第一计费信息和第二计费信息进行合并, 以生成计 费话单记录。 UGW-C可以预先设置计费标识集合的元素的对应关系, 并通 知给 UGW-IL 例如, UGW-C生成的数值 2与 UE ID h相匹配。 如果第一计 费信息标识为 UGW-C生成的数值 2, 第二计费信息携带的第二计费信息标 识为 UE ID h , 则由于第一计费信息标识与第二计费信息标识相对应, UGW-C 可以根据第二计费信息标识 h 找到与第二计费信息相匹配的由 UGW-C本地保存的第一计费信息, 并合并第一计费信息和第二计费信息。
应理解, 第一计费信息标识和第二计费信息标识可以是 1个, 也可以是 多个, 且第一计费信息标识和第二计费信息标识的个数可以是相等的, 也可 以是不相等的, 本发明实施例对此不作限定。 此外, 本发明实施例 UGW-C 根据第一计费信息标识和第二计费信息标识的对应关系对第一计费信息和 第二计费信息进行合并的方式也不作限定。
进一步地, 如果第一计费信息和第二计费信息合并成功, 则生成计费话 单。 可选地, 可以进入步骤 410, 或者还可以先保存该计费话单。 例如, 当 检测出 UGW-C与计费网关 CG之间的链路出现故障时, 保存计费话单; 或 者, 根据计费网关发送的指示保存计费话单。 如果第一计费信息和第二计费 信息合并失败,则可以记录计费信息丟失和 /或将第二计费信息直接丟弃; 或 者向 UGW-U发送索取消息, 该索取消息包括第一计费信息标识, UGW-U 根据索取消息查找与第一计费信息匹配的第三计费信息。
410, UGW-C向 CG发送计费话单。
本发明实施例 UGW-C向 UGW-U发送第一计费策略, 其中, 第一计费 策略包括计费信息标识集合。 通过计费信息标识网关转发面可以将 UGW-C 和 UGW-U分别保存的第一计费信息和第二计费信息进行合并, 以生成计费 话单, 从而能够有效地提高容灾能力, 保证计费的可靠性。
图 5是本发明另一实施例的计费信息处理方法的过程的示意性流程图。 在图 5中, 与图 3中相同或相似的过程用相同的附图标识表示, 并省略相应 的描述。 图 5的过程中 301-310与图 3类似。 图 5与图 3的不同之处在于:
511 , UGW-C合并第一计费信息和第二计费信息失败。
例如, UGW-C合并第一计费信息和第二计费信息失败, 则可以记录计 费信息丟失和 /或将第二计费信息直接丟弃; 或者进入步骤 512。 512, UGW-C向 UGW-U发送索取消息。
向 UGW-U发送索取消息, 该索取消息包括第一计费信息标识。
513, UGW-U查找第三计费信息。
UGW-U根据在 512步骤中接收 UGW-C发送的索取消息查找与第一计 费信息匹配的第三计费信息。
514 a, UGW-U向 UGW-C发送第三计费信息。
515 , UGW-C合并第一计费信息和第三计费信息, 生成计费话单。
516, UGW-C向 CG发送计费话单。
可选地, 如果 UGW-U查找到第三计费信息, 则 UGW-C接收 UGW-U 发送的第三计费信息, 第三计费信息携带第三计费信息标识, 根据第一计费 信息标识和第三计费信息标识合并第一计费信息和第三计费信息。对于根据 第一计费信息标识和第三计费信息标识的对应关系合并第一计费信息和第 三计费信息的实施方式可以参考上述根据第一计费信息标识和第二计费信 息标识的对应关系合并第一计费信息和第二计费信息的实施方式, 此处不再 赘述。
如果第一计费信息和第三计费信息合并成功,则生成计费话单。可选地, UGW-C将计费话单发送给 CG。 或者 UGW-C还可以先保存该计费话单。 例 如, 当检测出 UGW-C与计费网关 CG之间的链路出现故障时, 保存计费话 单。
应理解, 第一计费信息标识和第三计费信息标识可以是 1个, 也可以是 多个, 且第一计费信息标识和第三计费信息标识的个数可以是相等的, 也可 以是不相等的, 本发明实施例对此不作限定。 此外, 本发明实施例 UGW-C 根据第一计费信息标识和第二计费信息标识的对应关系对第一计费信息和 第二计费信息进行合并的方式也不作限定。
514 b, UGW-U向 UGW-C发送计费信息丟失指示。
可选地,如果 UGW-U未查找到第三计费信息,则 UGW-C接收 UGW-U 发送的第三消息, 该第三消息用于指示计费信息丟失。
本发明实施例通过 UGW-U接收 UGW-C主动发送的索取消息, UGW-U 根据该索取消息查找匹配的计费信息, 并发送给 UGW-C。 这样, 能够有效 提高系统的容错能力, 保证计费的可靠性。
图 6是本发明另一实施例的计费信息处理方法的流程图。 图 6的方法由 网关控制面执行。
601 , 向网关转发面发送指示标识集合。
602, 接收网关转发面发送的第四计费信息, 第四计费信息携带指示标 识, 指示标识为所述指示标识集合的元素。
603 , 当检测出与所述网关转发面出现链路故障时, 根据指示标识判断 是否需要保存第四计费信息。
可选地, 作为一个实施例, 当检测与网关转发面出现链路故障时, 网关 控制面可以根据指示标识不保存由网关转发面发送的某些用户的计费信息 和 /或根据指示标识不保存由网关转发面发送的某一类数据业务类型的计费 信息。 或者, 网关控制面可以根据指示标识只保存由网关转发面发送的某些 用户的计费信息和 /或根据指示标识只保存由网关转发面发送的某一类数据 业务类型的计费信息。 应理解, 本发明实施例对于指示标识的指示方式不作 限定。
可选地, 作为另一个实施例, 可以向网关转发面发送计费策略, 计费策 略包括指示标识。该计费策略可以是在网关控制面上配置的,也可以是 PCRF 主动下发给网关控制面的, 本发明对此不作限定。
应理解, 本发明实施例的指示标识集合的元素可以是 1个, 也可以是多 个, 本发明实施例对此不作限定。
本发明实施例通过指示标识网关转发面和网关控制面可以在网关转发 面与网关控制面之间链路故障时对某些计费信息进行保存或不保存。 这样, 提高了计费的灵活性。
图 7是本发明另一实施例的计费信息处理方法的流程图。 图 7的方法由 网关转发面执行。
701 , 接收网关控制面发送的指示标识集合;
702, 向网关控制面发送第四计费信息, 第四计费信息携带指示标识, 指示标识为指示标识集合的元素;
703 , 当检测出与所述网关控制面出现链路故障时, 根据指示标识判断 是否需要保存与网关控制面出现链路故障阶段采集的第五计费信息。
可选地, 作为一个实施例, 当检测出网关控制面与网关转发面出现链路 故障时, 网关转发面可以根据指示标识不保存与网关控制面出现链路故障阶 段采集的某些用户的计费信息和 /或根据指示标识不保存与网关控制面出现 链路故障阶段采集的某一类数据业务类型的计费信息。 或者, 网关转发面可 以根据指示标识只保存与网关控制面出现链路故障阶段采集的某些用户的 计费信息和 /或根据指示标识只保存与网关控制面出现链路故障阶段采集的 某一类数据业务类型的计费信息。 应理解, 本发明实施例对于指示标识的指 示方式不作限定。
可选地, 作为另一个实施例, 可以接收网关控制面发送计费策略, 计费 策略包括指示标识。 该计费策略可以是在网关控制面上配置的, 也可以是
PCRF主动下发给网关控制面的, 本发明对此不作限定。
应理解, 本发明实施例的指示标识集合的元素可以是 1个, 也可以是多 个, 本发明实施例对此不作限定。
本发明实施例通过指示标识网关转发面和网关控制面可以在网关转发 面与网关控制面之间链路故障时对某些计费信息进行保存或不保存。 这样, 提高了计费的灵活性。
下面结合具体的例子详细描述本发明实施例。 在图 8中, 为了帮助本领 域技术人员理解本发明实施例,网关控制面将以 3GPP演进网络的 SAE架构 下的 UGW-C为例进行说明, 网关转发面将以 UGW-U为例进行说明。 应注 意, 本发明实施例并不限于此, 可以为其它网络控制面和转发面解耦的网关 设备。
应理解, 本发明实施例的指示标识集合的元素可以是 1个, 也可以是多 个, 本发明实施例对此不作限定。 还应理解, 本发明实施例中对指示标识集 合的元素的选取仅仅是示例性的, 而非对本发明实施例的限制。
图 8是本发明另一实施例的计费信息处理方法的过程的示意性流程图。
801 , UGW-C向 UGW-U发送第二计费策略。
第二计费策略包括指示标识集合, 例如, 该指示标识集合的元素为对 UE ID为 w的计费信息不保存。
802, UGW-U向 UGW-C发送第四计费信息。
例如, UGW-U采集 UE ID为 w的用户的第四计费信息,将 w记录在第 四计费信息中, 并向 UGW-C发送该第四计费信息。
803 , UGW-C检测出 Sg接口链路故障
804 , UGW-U检测出 Sg接口链路故障。
当 UGW-C与 UGW-U之间的链路出现故障时, UGW-C和 UGW-U都检 测出 Sg接口链路故障。
805, UGW-C判断是否保存第四计费信息。
例如, 第四计费信息的指示标识是 w, 则 UGW-C可以不保存第四计费 信息, 可选地, 直接将第四计费信息丟弃。
806, UGW-U判断是否保存第五计费信息。
例如, 在链路故障期间, UGW-U采集 UE ID为 w的用户的第五计费信 息不保存。
因此, 本发明实施例通过指示标识 UGW-U和 UGW-C可以在网关转发 面与网关控制面之间链路故障时对某些计费信息进行保存或不保存。 这样, 提高了计费的灵活性。
图 9是本发明一个实施例的计费信息处理方法的流程图。 图 9的方法由 计费网关 CG执行。
901 , 接收第一网关发送的第一计费话单。
902, 向第一网关发送第四消息, 第四消息用于指示第一网关保存第二 计费话单或者用于指示第一网关延迟发送第二计费信息。 网关实体), PDSN ( Packet Data Serving Node, 分组数据服务节点), WASN ( WiMAX ( Worldwide Interoperability for Microwave Access, 全球微波互联 接入) Access Serving Network, WiMAX接入服务网络), 或 UGW-C等等, 应理解, 本发明对此不作限定。
可选地, 作为一个实施例, 当第四消息用于指示第一网关保存第二计费 话单时, 还可以向第一网关发送第五消息, 该第五消息用于指示第一网关发 送第二计费话单, 接收第一网关发送的第二计费话单。 下面还将结合图 11 的例子详细描述本发明实施例的计费信息处理方法的非限制性的实施方式。
可选地, 作为另一实施例, 当第四消息用于指示第一网关延迟发送第二 计费信息时, 延迟的时间可以由计费网关预先设置并通知第一网关, 还可以 由第一网关预先设置, 本发明对此不做限定。
因此, 本发明实施例通过计费网关指示第一网关保存计费话单或者延迟 发送计费话单, 当第一网关与计费网关之间的链路出现故障时, 第一网关及 时保存了计费话单, 不会导致计费话单丟失。这样,提高了系统的容灾能力。
图 10是本发明另一实施例的计费信息处理方法的流程图。 图 10的方法 由第一网关执行。
第一网关可以包括 P-GW, PDSN, WASN或 UGW-C等等。 应理解, 本 发明对此不作限定。
1001 , 向计费网关发送第一计费话单。
1002, 接收计费网关发送的第四消息。
1003 ,根据第四消息保存第二计费话单或者根据第四消息延迟发送第二 计费话单。
可选地, 作为一个实施例, 在根据第四消息保存第二计费话单之后, 还 可以接收计费网关发送的第五消息; 并根据该第五消息向计费网关发送第二 计费话单。 下面还将结合图 11 的例子详细描述本发明实施例的计费信息处 理方法的非限制性的实施方式。
可选地, 作为另一实施例, 当根据第四消息延迟发送第二计费话单时, 延迟的时间可以由计费网关预先设置并通知第一网关,还可以由第一网关预 先设置, 本发明对此不做限定。
因此, 本发明实施例通过计费网关指示第一网关保存计费话单或者延迟 发送计费话单, 当第一网关与计费网关之间的链路出现故障时, 第一网关及 时保存了计费话单, 不会导致计费话单丟失。这样,提高了系统的容灾能力。
下面结合图 11 的例子详细描述本发明实施例的计费信息处理方法的非 限制性的实施方式。 为了帮助本领域技术人员理解本发明实施例, 在图 11 中, 第一网关将以 UGW-C为例进行说明。 应注意, 本发明实施例并不限于 此, 第一网关也可以为以 P-GW , PDSN , 或 WASN等。
图 11是本发明另一实施例的计费信息处理方法的过程的示意性流程图。
1101 , UGW-C向 CG发送第一计费话单。
1102, CG向网关发送指示 UGW-C保存计费话单的第四消息。
1103 , UGW-C保存第二计费话单。
例如, UGW-C接收 UGW-U发送的计费信息, 生成并保存第二计费话 单。
1104, CG向网关发送指示 UGW-C发送计费话单的第五消息。
1105, UGW-C读取第二计费话单。
1106, UGW-C向 CG发送第二计费话单。
因此, 本发明实施例 CG指示 UGW-C保存计费话单, 当 UGW-C与 CG 之间的链路出现故障时, UGW-C及时保存了计费话单, 不会导致计费话单 丟失。 这样, 提高了系统的容灾能力。 实施例。本发明实施例可应用于各种通信系统中的网关转发面,网关控制面, 第一网关或者计费网关。 图 12示出了一种设备的实施例,在该实施例中, 设 备 1200包括发射电路 1202、 接收电路 1203、 功率控制器 1206、 解码处理 器 1205、处理器 1206,存储器 1207及天线 1201。处理器 1206控制设备 1200 的操作, 处理器 1206还可以称为中央处理器 CPU或者处理器。存储器 1207 可以包括只读存储器和随机存取存储器, 并向处理器 1206提供指令和数据。 存储器 1207的一部分还可以包括非易失行随机存取存储器(NVRAM )。 具 体的应用中, 设备 1200可以嵌入或者本身可以就是例如移动电话之类的无 线通信设备,还可以包括容纳发射电路 1202和接收电路 1203的载体, 以允 许设备 1200和远程位置之间进行数据发射和接收 。 发射电路 1202和接收 电路 1203 可以耦合到天线 1201.设备 120 的各个组件通过总线系统 1210 耦合在一起, 其中 总线系统 1210除 包括数据总线之外, 还包括电源总线、 控制总线和状态信号总线。 但是为了清楚说明起见, 在图中将各种总线都标 为总线系统 1210。 设备 1200还可以包括用于处理信号的处理器 1206、 此外 还包括功率控制器 1204、 解码处理器 1205。 .
上述本发明实施例揭示的方法可以应用上述的设备 1200,或者说主要由 其中的处理器 1206与发射电路 1202以实现。 处理器 1206可能是一种集成 电路芯片, 具有信号的处理能力。 在实现过程中, 上述方法的各步骤可以通 过处理器 1206 中的硬件的集成逻辑电路或者软件形式的指令完成。 用于执 行本发明实施例揭示的方法, 上述的解码处理器可以是通用处理器、 数字信 号处理器(DSP )、 专用集成电路(ASIC )、 现成可编程门阵列 (FPGA )或 者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以 实现或者执行本发明实施例中的公开的各方法、 步骤及逻辑框图。 通用处理 器可以是微处理器或者该处理器也可以是任何常规的处理器, 解码器等。 结 合本发明实施例所公开的方法的步骤可以直接体现为硬件解码处理器执行 完成, 或者用解码处理器中的硬件及软件模块组合执行完成。 软件模块可 以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可 编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 1207 , 解码单元读取存储器 1207 中的信息, 结合其硬件完成上述方法的步 骤。
进一步地, 图 13是本发明一个实施例的网关控制面的结构框图。 图 13 的网关控制面 1300包括发送单元 1301 , 存储器 1302, 接收单元 1303和处 理器 1304。
发送单元 1301用于向网关转发面发送用于标识计费信息的计费信息标 识集合。
存储器 1302用于保存网关转发面发送的第一计费信息, 第一计费信息 携带第一计费信息标识, 第一计费信息标识为计费信息标识集合的元素。
接收单元 1303用于接收网关转发面发送的由网关转发面保存的第二计 费信息, 第二计费信息携带第二计费信息标识, 第二计费信息标识为计费信 息标识集合的元素。
处理器 1304用于根据第一计费信息标识和第二计费信息标识合并存储 器 1302保存的第一计费信息和接收单元 1303接收的第二计费信息。
本发明实施例网关控制面向网关转发面发送计费信息标识集合,通过该 计费信息标识集合的元素网关转发面可以将网关转发面和网关转发面分别 保存的第一计费信息和第二计费信息进行合并, 以生成计费话单, 从而能够 有效地提高容灾能力, 保证计费的可靠性。
网关控制面 1300可实现图 1至图 5的实施例中涉及网关控制面的操作, 因此为避免重复, 不再详细描述。
可选地, 作为一个实施例, 计费信息标识集合的元素包括以下之一或任 意组合: 由网关控制面生成的数值, 用户设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下文索引。
可选地, 作为另一个实施例, 处理器 1304具体用于根据第一计费信息 标识和第二计费信息标识的对应关系合并存储器 1302保存的第一计费信息 和接收单元 1303接收的所述第二计费信息。
可选地, 作为另一个实施例, 当处理器 1304检测出与网关转发面出现 链路故障时, 存储器 1302具体用于保存第一计费信息; 当处理器 1304检测 出与所述网关转发面出现链路恢复时, 接收单元 1303具体用于接收网关转 发面发送的由网关转发面保存的第二计费信息。
可选地, 作为另一个实施例, 发送单元 1301 向网关转发面发送第一消 息, 存储器 1302具体用于保存第一计费信息, 该第一消息用于指示网关转 发面保存第二计费信息。 进一步地, 发送单元 1301还用于向网关转发面发 送第二消息, 该第二消息用于指示网关转发面发送第二计费信息。
因此, 若网关控制面与网关转发面之间的链路出现故障, 网关控制面和 网关转发面都及时保存了计费信息, 不会导致计费信息丟失。 这样, 提高了 系统的容灾能力。
可选地, 作为另一个实施例, 处理器 1304还用于如果第一计费信息和 第二计费信息合并成功, 则生成计费话单; 如果第一计费信息和第二计费信 息合并失败, 则记录计费信息丟失, 或者发送单元 1301还用于向网关转发 面发送索取消息, 该索取消息包括第一计费信息标识, 以便网关转发面根据 索取消息查找与第一计费信息匹配的第三计费信息。
可选地, 作为另一个实施例, 接收单元 1303还用于如果网关转发面查 找到第三计费信息, 则接收网关转发面发送的第三计费信息, 第三计费信息 携带第三计费信息标识, 第三计费信息标识为所述计费信息标识集合的元 素; 处理器 1304还用于根据第一计费信息标识和第三计费信息标识合并第 一计费信息和第三计费信息。 或者, 接收单元 1303还用于如果网关转发面 未查找到第三计费信息, 则接收网关转发面发送的第三消息, 第三消息用于 指示计费信息丟失。
本发明实施例通过网关控制面主动向网关转发面发送索取消息, 以便网 关转发面查找匹配的计费信息, 并发送给网关控制面。 这样, 能够有效提高 系统的容错能力, 保证计费的可靠性。
图 14是本发明另一实施例的网关转发面的结构框图。 图 14的网关转发 面 1400包括接收单元 1401 , 第一发送单元 1402, 存储器 1403和第二发送 单元 1404。
接收单元 1401 ,用于接收网关控制面发送的用于标识计费信息的计费信 息标识集合, 接收单元 1401向第一发送单元 1402和第二发送单元 1404发 送计费信息标识集合。
第一发送单元 1402用于向网关控制面发送第一计费信息, 第一计费信 息携带第一计费信息标识, 第一计费信息标识为计费信息标识集合的元素。
存储器 1403用于保存第二计费信息。
第二发送单元 1404用于向网关控制面发送存储器 1403保存的第二计费 信息, 第二计费信息携带第二计费信息标识, 第二计费信息标识为计费信息 标识集合的元素, 以便网关控制面根据第一计费信息标识和第二计费信息标 识合并第一发送单元发送的第一计费信息和第二发送单元发送的第二计费 信息。
本发明实施例网关控制面向网关转发面发送计费信息标识集合,通过该 计费信息标识集合的元素网关转发面可以将网关转发面和网关转发面分别 保存的第一计费信息和第二计费信息进行合并, 以生成计费话单, 从而能够 有效地提高容灾能力, 保证计费的可靠性。
网关转发面 1400可实现图 1至图 5的实施例中涉及网关转发面的操作, 因此为避免重复, 不再详细描述。
可选地, 作为一个实施例, 计费信息标识集合的元素包括以下之一或任 意组合: 由网关控制面生成的数值, 用户设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下文索引。
可选地, 作为另一个实施例, 存储器 1403具体用于: 当检测出与网关 控制面出现链路故障时, 保存第二计费信息; 第二发送单元 1404具体用于 当检测出与网关控制面出现链路恢复时, 向网关控制面发送第二计费信息。
可选地, 作为另一个实施例, 接收单元 1401还用于接收网关控制面发 送的第一消息;存储器 1403具体用于根据接收单元 1401接收的第一消息保 存第二计费信息。 进一步地, 接收单元 1401还用于接收网关控制面发送的 第二消息; 第二发送单元 1404具体用于根据接收单元 1401接收的第二消息 向网关控制面发送第二计费信息。
因此, 若网关控制面与网关转发面之间的链路出现故障, 网关转发面都 及时保存了计费信息, 不会导致计费信息丟失。 这样, 提高了系统的容灾能 力。
可选地, 作为另一个实施例, 接收单元 1401还用于接收网关控制面发 送的索取消息, 索取消息包括第一计费信息标识; 网关转发面还可以包括处 理器 1405, 该处理器 1405用于根据索取消息查找与第一计费信息匹配的第 三计费信息。
可选地, 作为另一实施例, 如果处理器 1405查找到第三计费信息, 并 向第二发送单元 1404发送第三计费信息, 则第二发送单元 1404还用于向网 关控制面发送第三计费信息, 第三计费信息携带第三计费信息标识, 第三计 费信息标识为计费信息标识集合的元素, 以便网关控制面根据第一计费信息 标识和第三计费信息标识合并第一计费信息和第三计费信息; 如果处理器
1405未查找到第三计费信息, 则第二发送单元 1404还用于向网关控制面发 送第三消息, 第三消息用于指示计费信息丟失。
本发明实施例通过网关控制面主动向网关转发面发送索取消息, 以便网 关转发面查找匹配的计费信息, 并发送给网关控制面。 这样, 能够有效提高 系统的容错能力, 保证计费的可靠性。
图 15是本发明一个实施例的网关控制面的结构框图。 图 15的网关控制 面 1500包括发送单元 1501 , 接收单元 1502和处理器 1503。
发送单元 1501用于向网关转发面发送指示标识集合。
接收单元 1502用于接收网关转发面发送的第四计费信息, 第四计费信 息携带指示标识, 指示标识为指示标识集合的元素。
处理器 1503用于当检测出与网关转发面出现链路故障时, 根据指示标 识判断是否需要保存接收单元接收的第四计费信息。
网关控制面 1500可实现图 6至图 8的实施例中涉及网关控制面的操作, 因此为避免重复, 不再详细描述。
可选地, 作为一个实施例, 发送单元 1501具体用于向网关转发面发送 计费策略, 计费策略包括指示标识集合。
本发明实施例通过指示标识网关转发面和网关控制面可以在网关转发 面与网关控制面之间链路故障时对某些计费信息进行保存或不保存。 这样, 提高了计费的灵活性。
图 16是本发明另一实施例的网关转发面的结构框图。 图 16的网关转发 面 1600包括接收单元 1601 , 发送单元 1602和处理器 1603。
接收单元 1601用于接收网关控制面发送的指示标识集合;
发送单元 1602用于向网关控制面发送第四计费信息, 第四计费信息携 带指示标识, 指示标识为接收单元接收的指示标识集合的元素;
处理器 1603用于当检测出与网关控制面出现链路故障时, 根据接收单 元 1601接收的指示标识判断是否需要保存与网关控制面出现链路故障阶段 采集的第五计费信息。
网关转发面 1600可实现图 6至图 8的实施例中涉及网关转发面的操作, 因此为避免重复, 不再详细描述。 可选地, 作为一个实施例, 接收单元 1601具体用于接收网关控制面发 送的计费策略, 计费策略包括所述指示标识集合。
本发明实施例通过指示标识网关转发面和网关控制面可以在网关转发 面与网关控制面之间链路故障时对某些计费信息进行保存或不保存。 这样, 提高了计费的灵活性。
图 17是本发明一个实施例的计费网关的结构框图。 图 17 的计费网关 1700包括接收单元 1701和发送单元 1702。
接收单元 1701用于接收第一网关发送的第一计费话单;
发送单元 1702用于向第一网关发送第四消息, 第四消息用于指示第一 网关保存第二计费话单或者用于指示第一网关延迟发送第二计费信息。
计费网关 1700可实现图 9至图 11的实施例中涉及计费网关的操作, 因 此为避免重复, 不再详细描述。
可选地, 作为一个实施例, 发送单元 1702还用于向第一网关发送第五 消息, 第五消息用于指示第一网关发送第二计费话单; 接收单元 1701还用 于接收第一网关发送的第二计费话单。
本发明实施例通过计费网关指示第一网关保存计费话单或者延迟发送 计费话单, 当第一网关与计费网关之间的链路出现故障时, 第一网关及时保 存了计费话单, 不会导致计费话单丟失。 这样, 提高了系统的容灾能力。
图 18是本发明另一实施例的第一网关的结构框图。 图 18 的第一网关 1800包括发送单元 1801 , 接收单元 1802和存储器 1803。 网关实体), PDSN ( Packet Data Serving Node, 分组数据服务节点), WASN ( WiMAX ( Worldwide Interoperability for Microwave Access, 全球微波互联 接入) Access Serving Network, WiMAX接入服务网络), 或 UGW-C等等, 应理解, 本发明对此不作限定。
发送单元 1801用于向计费网关发送第一计费话单;
接收单元 1802用于接收计费网关发送的第四消息;
存储器 1803用于根据接收单元接收的第四消息保存第二计费话单或者 根据第四消息延迟发送第二计费话单。
第一网关 1800可实现图 9至图 11的实施例中涉及第一网关的操作, 因 此为避免重复, 不再详细描述。 可选地, 作为一个实施例, 接收单元 1802还用于接收计费网关发送的 第五消息; 发送单元 1801还用于根据接收单元接收的第五消息向计费网关 发送第二计费话单。
本发明实施例通过计费网关指示第一网关保存计费话单或者延迟发送 计费话单, 当第一网关与计费网关之间的链路出现故障时, 第一网关及时保 存了计费话单, 不会导致计费话单丟失。 这样, 提高了系统的容灾能力。
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描 述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。

Claims

权利要求
1、 一种计费信息处理方法, 其特征在于, 包括:
向网关转发面发送用于标识计费信息的计费信息标识集合;
保存所述网关转发面发送的第一计费信息, 所述第一计费信息携带第一 计费信息标识, 所述第一计费信息标识为所述计费信息标识集合的元素; 接收所述网关转发面发送的由所述网关转发面保存的第二计费信息, 所 述第二计费信息携带第二计费信息标识, 所述第二计费信息标识为所述计费 信息标识集合的元素;
根据所述第一计费信息标识和所述第二计费信息标识合并所述第一计 费信息和所述第二计费信息。
2、 如权利要求 1所述的方法, 其特征在于, 所述根据所述第一计费信 息标识和所述第二计费信息标识将所述第一计费信息和所述第二计费信息 进行合并, 包括:
根据所述第一计费信息标识和所述第二计费信息标识的对应关系合并 所述第一计费信息和所述第二计费信息。
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述保存所述网关转 发面发送的第一计费信息, 包括:
当检测出与所述网关转发面出现链路故障时, 保存第一计费信息; 所述接收所述网关转发面发送的由所述网关转发面保存的第二计费信 息, 包括:
当检测出与所述网关转发面出现链路恢复时,接收所述网关转发面发送 的由所述网关转发面保存的第二计费信息。
4、 如权利要求 1或 2所述的方法, 其特征在于, 所述保存所述网关转 发面发送的第一计费信息, 包括:
向所述网关转发面发送第一消息, 同时保存所述第一计费信息, 所述第 一消息用于指示所述网关转发面保存第二计费信息。
5、 如权利要求 4所述的方法, 其特征在于, 在所述接收所述网关转发 面发送的由所述网关转发面保存的第二计费信息之前, 所述方法还包括: 向所述网关转发面发送第二消息, 所述第二消息用于指示所述网关转发 面发送所述第二计费信息。
6、 如权利要求 1-5任一项所述的方法, 其特征在于, 所述根据所述第 一计费信息标识和所述第二计费信息标识合并所述第一计费信息和所述第 二计费信息, 包括:
如果所述第一计费信息和所述第二计费信息合并成功, 则生成计费话 单;
如果所述第一计费信息和所述第二计费信息合并失败, 则记录计费信息 丟失, 或者向所述网关转发面发送索取消息, 所述索取消息包括所述第一计 费信息标识, 以便所述网关转发面根据所述索取消息查找与所述第一计费信 息匹配的第三计费信息。
7、 如权利要求 6所述的方法, 其特征在于, 所述向所述网关转发面发 送索取消息, 所述索取消息包括所述第一计费信息标识, 以便所述网关转发 面根据所述索取消息查找与所述第一计费信息匹配的第三计费信息, 包括: 如果所述网关转发面查找到所述第三计费信息, 则接收所述网关转发面 发送的所述第三计费信息, 所述第三计费信息携带第三计费信息标识, 所述 第三计费信息标识为所述计费信息标识集合的元素, 并根据所述第一计费信 息标识和所述第三计费信息标识合并所述第一计费信息和所述第三计费信 息;
如果所述网关转发面未查找到所述第三计费信息, 则接收所述网关转发 面发送的第三消息, 所述第三消息用于指示计费信息丟失。
8、 如权利要求 1-7任一项所述的方法, 其特征在于, 所述计费信息标 识集合的元素包括以下之一或任意组合: 由网关控制面生成的数值, 用户设 备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下文索引。
9、 一种计费信息处理方法, 其特征在于, 包括:
接收网关控制面发送的用于标识计费信息的计费信息标识集合; 向所述网关控制面发送第一计费信息, 所述第一计费信息携带第一计费 信息标识, 所述第一计费信息标识为所述计费信息标识集合的元素;
保存第二计费信息;
向所述网关控制面发送所述第二计费信息, 所述第二计费信息携带第二 计费信息标识, 所述第二计费信息标识为所述计费信息标识集合的元素, 以 便所述网关控制面根据所述第一计费信息标识和所述第二计费信息标识合 并所述第一计费信息和所述第二计费信息。
10、 如权利要求 9所述的方法, 其特征在于, 所述保存第二计费信息, 包括:
当检测出与所述网关控制面出现链路故障时, 保存所述第二计费信息; 所述向所述网关控制面发送所述第二计费信息, 包括:
当检测出与所述网关控制面出现链路恢复时, 向所述网关控制面发送所 述第二计费信息。
11、 如权利要求 9所述的方法, 其特征在于, 在所述保存第二计费信息 之前, 所述方法还包括:
接收所述网关控制面发送的第一消息;
所述保存第二计费信息, 包括:
根据所述第一消息保存所述第二计费信息。
12、 如权利要求 11 所述的方法, 其特征在于, 在所述根据所述第一消 息保存所述第二计费信息之后, 所述方法还包括:
接收所述网关控制面发送的第二消息;
所述向所述网关控制面发送所述第二计费信息, 包括:
根据所述第二消息向所述网关控制面发送所述第二计费信息。
13、 如权利要求 9-12任一项所述的方法, 其特征在于, 所述方法还包 括:
接收所述网关控制面发送的索取消息, 所述索取消息包括所述第一计费 信息标识;
根据所述索取消息查找与所述第一计费信息匹配的第三计费信息。
14、 如权利要求 13所述的方法, 其特征在于, 所述根据所述索取消息 查找与所述第一计费信息匹配的第三计费信息, 包括:
如果查找到所述第三计费信息, 则向所述网关控制面发送所述第三计费 信息, 所述第三计费信息携带第三计费信息标识, 所述第三计费信息标识为 所述计费信息标识集合的元素, 以便所述网关控制面根据所述第一计费信息 标识和所述第三计费信息标识合并所述第一计费信息和所述第三计费信息; 如果未查找到所述第三计费信息, 则向所述网关控制面发送第三消息, 所述第三消息用于指示计费信息丟失。
15、 如权利要求 9-14任一项所述的方法, 其特征在于, 所述计费信息 标识集合的元素包括以下之一或任意组合: 由网关控制面生成的数值, 用户 设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下文索引。
16、 一种计费信息处理方法, 其特征在于, 包括:
向网关转发面发送指示标识集合;
接收所述网关转发面发送的第四计费信息, 所述第四计费信息携带指示 标识, 所述指示标识为所述指示标识集合的元素;
当检测出与所述网关转发面出现链路故障时,根据所述指示标识判断是 否需要保存所述第四计费信息。
17、 如权利要求 16所述的方法, 其特征在于, 所述向网关转发面发送 指示标识集合, 包括:
向网关转发面发送计费策略, 所述计费策略包括所述指示标识集合。
18、 一种计费信息处理方法, 其特征在于, 包括:
接收网关控制面发送的指示标识集合;
向所述网关控制面发送第四计费信息, 所述第四计费信息携带指示标 识, 所述指示标识为所述指示标识集合的元素;
当检测出与所述网关控制面出现链路故障时,根据所述指示标识判断是 否需要保存与所述网关控制面出现链路故障阶段采集的第五计费信息。
19、 如权利要求 18所述的方法, 其特征在于, 所述接收网关控制面发 送的指示标识集合, 包括:
接收网关控制面发送的计费策略, 所述计费策略包括所述指示标识集 合。
20、 一种计费信息处理方法, 其特征在于, 包括:
接收第一网关发送的第一计费话单;
向所述第一网关发送第四消息, 所述第四消息用于指示所述第一网关保 存第二计费话单或者用于指示所述第一网关延迟发送第二计费信息。
21、 如权利要求 20所述的方法, 其特征在于, 当所述第四消息用于指 示所述第一网关保存第二计费话单时, 所述方法还包括:
向所述第一网关发送第五消息, 所述第五消息用于指示所述第一网关发 送第二计费话单;
接收所述第一网关发送的第二计费话单。
22、 一种计费信息处理方法, 其特征在于, 包括:
向计费网关发送第一计费话单; 接收所述计费网关发送的第四消息;
根据所述第四消息保存第二计费话单或者根据所述第四消息延迟发送 第二计费话单。
23、 如权利要求 22所述的方法, 其特征在于, 在所述根据所述第四消 息保存第二计费话单之后, 所述方法还包括:
接收所述计费网关发送的第五消息;
根据所述第五消息向所述计费网关发送第二计费话单。
24、 一种网关控制面, 其特征在于, 包括:
发送单元, 用于向网关转发面发送用于标识计费信息的计费信息标识集 合;
存储器, 用于保存所述网关转发面发送的第一计费信息, 所述第一计费 信息携带第一计费信息标识, 所述第一计费信息标识为所述计费信息标识集 合的元素;
接收单元, 用于接收所述网关转发面发送的由所述网关转发面保存的第 二计费信息, 所述第二计费信息携带第二计费信息标识, 所述第二计费信息 标识为所述计费信息标识集合的元素;
处理器, 用于根据所述第一计费信息标识和所述第二计费信息标识合并 所述存储器保存的第一计费信息和所述接收单元接收的所述第二计费信息。
25、 如权利要求 24所述的网关控制面, 其特征在于, 所述处理器具体 用于根据所述第一计费信息标识和所述第二计费信息标识的对应关系合并 所述存储器保存的所述第一计费信息和所述接收单元接收的所述第二计费 信息。
26、 如权利要求 24或 25所述的网关控制面, 其特征在于, 所存储器具 体用于: 信息;
所述接收单元具体用于:
当所述存储器检测出与所述网关转发面出现链路恢复时,接收所述网关 转发面发送的由所述网关转发面保存的第二计费信息。
27、 如权利要求 24或 25所述的网关控制面, 其特征在于, 所述存储器 具体用于: 当所述发送单元向所述网关转发面发送第一消息时,保存所述第一计费 信息, 所述第一消息用于指示所述网关转发面保存第二计费信息。
28、 如权利要求 27所述的网关控制面, 其特征在于, 所述发送单元还 用于:
向所述网关转发面发送第二消息, 所述第二消息用于指示所述网关转发 面发送所述第二计费信息。
29、 如权利要求 24-28任一项所述的网关控制面, 其特征在于, 所述处 理器还用于:
如果所述第一计费信息和所述第二计费信息合并成功, 则生成计费话 单;
如果所述第一计费信息和所述第二计费信息合并失败, 则记录计费信息 丟失, 或者所述发送单元还用于: 向所述网关转发面发送索取消息, 所述索 取消息包括所述第一计费信息标识, 以便所述网关转发面根据所述索取消息 查找与所述第一计费信息匹配的第三计费信息。
30、 如权利要求 29所述的网关控制面, 其特征在于, 所述接收单元还 用于:
如果所述网关转发面查找到所述第三计费信息, 则接收所述网关转发面 发送的所述第三计费信息, 所述第三计费信息携带第三计费信息标识, 所述 第三计费信息标识为所述计费信息标识集合的元素; 所述处理器还用于: 根 据所述第一计费信息标识和所述第三计费信息标识合并所述第一计费信息 和所述第三计费信息;
所述接收单元还用于: 如果所述网关转发面未查找到所述第三计费信 息, 则接收所述网关转发面发送的第三消息, 所述第三消息用于指示计费信 息丟失。
31、 如权利要求 24-30任一项所述的网关控制面, 其特征在于, 所述计 费信息标识集合的元素包括以下之一或任意组合: 由网关控制面生成的数 值, 用户设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下文索引。
32、 一种网关转发面, 其特征在于, 包括:
接收单元, 用于接收网关控制面发送的用于标识计费信息的计费信息标 识集合,所述接收单元向第一发送单元和第二发送单元发送所述计费信息标 识集合; 所述第一发送单元用于向所述网关控制面发送第一计费信息, 所述第一 计费信息携带第一计费信息标识, 所述第一计费信息标识为所述计费信息标 识集合的元素;
存储器, 用于保存第二计费信息;
所述第二发送单元用于向所述网关控制面发送所述存储器保存的所述 第二计费信息, 所述第二计费信息携带第二计费信息标识, 所述第二计费信 息标识为所述计费信息标识集合的元素, 以便所述网关控制面根据所述第一 计费信息标识和所述第二计费信息标识合并所述第一发送单元发送的所述 第一计费信息和所述第二发送单元发送的所述第二计费信息。
33、 如权利要求 32所述的网关转发面, 其特征在于, 所述存储器具体 用于:
当检测出与所述网关控制面出现链路故障时, 保存所述第二计费信息; 所述第二发送单元具体用于:
当检测出与所述网关控制面出现链路恢复时, 向所述网关控制面发送所 述第二计费信息。
34、 如权利要求 32所述的网关转发面, 其特征在于, 所述接收单元还 用于:
接收所述网关控制面发送的第一消息;
所述存储器具体用于:
根据所述接收单元接收的所述第一消息保存所述第二计费信息。
35、 如权利要求 34所述的网关转发面, 其特征在于, 所述接收单元还 用于:
接收所述网关控制面发送的第二消息;
所述第二发送单元具体用于:
根据所述接收单元接收的所述第二消息向所述网关控制面发送所述第 二计费信息。
36、 如权利要求 32-35任一项所述的网关转发面, 其特征在于, 所述接 收单元还用于:
接收所述网关控制面发送的索取消息, 所述索取消息包括所述第一计费 信息标识;
所述网关转发面还包括处理器, 所述处理器用于根据所述索取消息查找 与所述第一计费信息匹配的第三计费信息。
37、 如权利要求 36所述的网关转发面, 其特征在于, 如果所述处理器 查找到所述第三计费信息, 并向所述第二发送单元发送所述第三计费信息, 则所述第二发送单元还用于: 向所述网关控制面发送所述第三计费信息, 所 述第三计费信息携带第三计费信息标识, 所述第三计费信息标识为所述计费 信息标识集合的元素, 以便所述网关控制面根据所述第一计费信息标识和所 述第三计费信息标识合并所述第一计费信息和所述第三计费信息;
如果所述处理器未查找到所述第三计费信息, 则所述第二发送单元还用 于:向所述网关控制面发送第三消息,所述第三消息用于指示计费信息丟失。
38、 如权利要求 32-37任一项所述的网关转发面, 其特征在于, 所述计 费信息标识集合的元素包括以下之一或任意组合: 由网关控制面生成的数 值, 用户设备标识 UE ID, 终端地址 UE IP, UE表项索引, 或上下文索引。
39、 一种网关控制面, 其特征在于, 包括:
发送单元, 用于向网关转发面发送指示标识集合;
接收单元, 用于接收所述网关转发面发送的第四计费信息, 所述第四计 费信息携带指示标识, 所述指示标识为所述指示标识集合的元素;
处理器, 用于当检测出与所述网关转发面出现链路故障时, 根据所述指 示标识判断是否需要保存所述接收单元接收的第四计费信息。
40、 如权利要求 39所述的网关控制面, 其特征在于, 所述发送单元具 体用于:
向网关转发面发送计费策略, 所述计费策略包括所述指示标识集合。
41、 一种网关转发面, 其特征在于, 包括:
接收单元, 用于接收网关控制面发送的指示标识集合;
发送单元, 用于向所述网关控制面发送第四计费信息, 所述第四计费信 息携带指示标识, 所述指示标识为所述接收单元接收的所述指示标识集合的 元素;
处理器, 用于当检测出与所述网关控制面出现链路故障时, 根据所述接 收单元接收的所述指示标识判断是否需要保存与所述网关控制面出现链路 故障阶段采集的第五计费信息。
42、 如权利要求 41所述的网关转发面, 其特征在于, 所述接收单元具 体用于: 接收网关控制面发送的计费策略, 所述计费策略包括所述指示标识集 合。
43、 一种计费网关, 其特征在于, 包括:
接收单元, 用于接收第一网关发送的第一计费话单;
发送单元, 用于向所述第一网关发送第四消息, 所述第四消息用于指示 所述第一网关保存第二计费话单或者用于指示所述第一网关延迟发送第二 计费信息。
44、 如权利要求 43所述的计费网关, 其特征在于, 所述发送单元还用 于:
向所述第一网关发送第五消息,所述第五消息用于指示所述第一网关发 送第二计费话单;
所述接收单元还用于:
接收所述第一网关发送的第二计费话单。
45、 一种网关, 其特征在于, 包括:
发送单元, 用于向计费网关发送第一计费话单;
接收单元, 用于接收所述计费网关发送的第四消息;
存储器, 用于根据所述接收单元接收的所述第四消息保存第二计费话单 或者根据所述第四消息延迟发送第二计费话单。
46、 如权利要求 45所述的网关, 其特征在于, 所述接收单元还用于: 接收所述计费网关发送的第五消息;
所述发送单元还用于:
根据所述接收单元接收的所述第五消息向所述计费网关发送第二计费 话单。
PCT/CN2012/077907 2012-06-29 2012-06-29 计费信息处理方法和网关设备 WO2014000272A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2015518765A JP6034964B2 (ja) 2012-06-29 2012-06-29 課金情報処理方法及びゲートウェイデバイス
PCT/CN2012/077907 WO2014000272A1 (zh) 2012-06-29 2012-06-29 计费信息处理方法和网关设备
CN201280000567.8A CN103621010B (zh) 2012-06-29 2012-06-29 计费信息处理方法和网关设备
EP12880070.3A EP2869493B1 (en) 2012-06-29 2012-06-29 Method and gateway device for processing billing information
US14/582,498 US9692912B2 (en) 2012-06-29 2014-12-24 Charging information processing method and gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/077907 WO2014000272A1 (zh) 2012-06-29 2012-06-29 计费信息处理方法和网关设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/582,498 Continuation US9692912B2 (en) 2012-06-29 2014-12-24 Charging information processing method and gateway device

Publications (1)

Publication Number Publication Date
WO2014000272A1 true WO2014000272A1 (zh) 2014-01-03

Family

ID=49782112

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077907 WO2014000272A1 (zh) 2012-06-29 2012-06-29 计费信息处理方法和网关设备

Country Status (5)

Country Link
US (1) US9692912B2 (zh)
EP (1) EP2869493B1 (zh)
JP (1) JP6034964B2 (zh)
CN (1) CN103621010B (zh)
WO (1) WO2014000272A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019057043A1 (zh) * 2017-09-22 2019-03-28 中兴通讯股份有限公司 移动通信系统的计费方法及设备、存储介质
CN114245330A (zh) * 2021-11-17 2022-03-25 中国联合网络通信集团有限公司 话单合并方法、装置、设备、计算机可读存储介质及产品

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014000266A1 (zh) 2012-06-29 2014-01-03 华为技术有限公司 信息处理方法、转发面设备和控制面设备
CN108353257B (zh) * 2015-11-20 2020-09-04 华为技术有限公司 一种计费方法、控制面网元、转发面网元和计费系统
CN106817686B (zh) * 2015-11-27 2020-07-10 大唐移动通信设备有限公司 一种计费方法及装置
US9430337B1 (en) 2016-01-07 2016-08-30 International Business Machines Corporation Disaster recovery as a dynamic service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296097A (zh) * 2008-06-11 2008-10-29 中兴通讯股份有限公司 基于会话的离线计费方法
CN101764743A (zh) * 2009-12-16 2010-06-30 华为技术有限公司 一种控制CCG向AAA发送radius消息速率的方法、装置及系统
CN102045175A (zh) * 2009-10-22 2011-05-04 中兴通讯股份有限公司 计费信息报告的发送方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG49240A1 (en) * 1994-02-01 1998-05-18 Ericsson Telefon Ab L M Linked records
US8699472B2 (en) * 2000-05-24 2014-04-15 Nokia Corporation Common charging identifier for communication networks
US20020068545A1 (en) * 2000-11-06 2002-06-06 Johnson Oyama Method and apparatus for coordinating charging for services provided in a multimedia session
US20040167834A1 (en) * 2003-02-12 2004-08-26 Juha-Pekka Koskinen Method for processing accounting requests in a communications system
US20080010179A1 (en) * 2006-07-10 2008-01-10 Yigang Cai Charging for offnet sessions between an ims network and a legacy network
US8155290B2 (en) * 2006-10-30 2012-04-10 Alcatel Lucent Systems and methods for providing per call measurement data in an IMS network
CN101237330B (zh) * 2007-01-30 2013-03-27 朗迅科技公司 在离线计费系统内关联计费数据记录的方法
US8116728B2 (en) * 2008-04-22 2012-02-14 Alcatel Lucent Charging in LTE/EPC communication networks
US8813168B2 (en) * 2008-06-05 2014-08-19 Tekelec, Inc. Methods, systems, and computer readable media for providing nested policy configuration in a communications network
WO2011012165A1 (en) * 2009-07-30 2011-02-03 Telefonaktiebolaget Lm Ericsson (Publ) Packet classification method and apparatus
CN101998348A (zh) * 2009-08-25 2011-03-30 中兴通讯股份有限公司 一种计费系统及其进行计费的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296097A (zh) * 2008-06-11 2008-10-29 中兴通讯股份有限公司 基于会话的离线计费方法
CN102045175A (zh) * 2009-10-22 2011-05-04 中兴通讯股份有限公司 计费信息报告的发送方法及装置
CN101764743A (zh) * 2009-12-16 2010-06-30 华为技术有限公司 一种控制CCG向AAA发送radius消息速率的方法、装置及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2869493A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019057043A1 (zh) * 2017-09-22 2019-03-28 中兴通讯股份有限公司 移动通信系统的计费方法及设备、存储介质
CN114245330A (zh) * 2021-11-17 2022-03-25 中国联合网络通信集团有限公司 话单合并方法、装置、设备、计算机可读存储介质及产品
CN114245330B (zh) * 2021-11-17 2024-04-02 中国联合网络通信集团有限公司 话单合并方法、装置、设备、计算机可读存储介质及产品

Also Published As

Publication number Publication date
JP6034964B2 (ja) 2016-11-30
EP2869493A1 (en) 2015-05-06
CN103621010A (zh) 2014-03-05
CN103621010B (zh) 2017-08-11
EP2869493B1 (en) 2017-11-22
JP2015523022A (ja) 2015-08-06
US20150111532A1 (en) 2015-04-23
EP2869493A4 (en) 2015-07-01
US9692912B2 (en) 2017-06-27

Similar Documents

Publication Publication Date Title
US11115350B2 (en) Method for processing information, forwarding plane device and control plane device
US9692912B2 (en) Charging information processing method and gateway device
JP6065189B2 (ja) トンネル管理システム及びトンネル管理方法
US10129110B2 (en) Apparatus and method of identifying a user plane identifier of a user device by a monitoring probe
WO2010012174A1 (zh) 一种用户接入网络的管理方法、装置和系统
WO2014186935A1 (zh) 数据传输方法、装置及系统
WO2016000151A1 (zh) 视频分发方法、设备和系统
WO2009155825A1 (zh) 策略控制方法、系统、数据网关和策略决策实体
WO2016000187A1 (zh) 消息处理方法和装置
WO2013037271A1 (zh) 一种多接入方法及系统
CN105790961A (zh) 计费信息处理方法和网关设备
US11425173B2 (en) Methods and nodes supporting lawful intercept
US20120176973A1 (en) Method for processing multiple access, home agent and user equipment
KR101434178B1 (ko) 이동통신망에서 비정상 과금 유발 데이터 패킷 탐지 방법
CN107925861A (zh) 一种无线通信网络的接入方法及相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12880070

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015518765

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2012880070

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012880070

Country of ref document: EP