WO2011076067A1 - Offline accounting method and system - Google Patents

Offline accounting method and system Download PDF

Info

Publication number
WO2011076067A1
WO2011076067A1 PCT/CN2010/079722 CN2010079722W WO2011076067A1 WO 2011076067 A1 WO2011076067 A1 WO 2011076067A1 CN 2010079722 W CN2010079722 W CN 2010079722W WO 2011076067 A1 WO2011076067 A1 WO 2011076067A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
charging
terminal
information
type information
Prior art date
Application number
PCT/CN2010/079722
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2011076067A1 publication Critical patent/WO2011076067A1/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

Definitions

  • the present invention relates to the field of communications, and in particular to an offline charging method and system. Background technique
  • a home base station is deployed in the communication network as a supplement to the macro base station.
  • the home base station is generally installed in a home, an office area or the like.
  • the home base station is a small, low-power base station with practical, convenient, low-power output.
  • the communication network model of the home base station includes a home base station, a security gateway, an access gateway, and an authentication authorization charging server.
  • the home base station can access the access gateway through the security gateway.
  • the security gateway can be set up with the access gateway or with the access gateway.
  • the main function of the security gateway is to ensure link security between the home base station and the access gateway.
  • Authentication Authorization and Accounting Server is an important function in the communication network. It is used to implement network operator control and management of data and users. It provides authentication and authorization, account services, and accounting. Fee services, usually working in conjunction with network access control, gateway servers, databases, and user information directories.
  • An anchor Authenticator (AA) is generally placed in the access gateway. Its main function is to provide access authentication services to the mobile terminal when the mobile terminal accesses the network. After the mobile terminal accesses the network, before the network is disconnected, responsible for managing and maintaining the context information of the mobile terminal.
  • the Anchor Data Path Function (A-DPF) is also generally placed in the access gateway, which is another important function of the communication network: no matter how the mobile terminals in the network switch in each base station, All data from the terminal (upstream data) will eventually be aggregated to the anchor data channel function of the terminal, and then further forwarded (for example, sent to the Internet); all data sent to this terminal (downlink data) will also be sent first.
  • the anchor data channel function is further sent to the terminal by the anchor data channel function.
  • the anchor authenticator and anchor data channel functions can be located in the same An access gateway can also be placed on different access gateways (as shown in Figure 1).
  • the billing function is an important core function in the communication system, and billing can be divided into online billing.
  • Billing server (Accounting Server, called Acc-S), Accounting Client (Acc-C) and Account Agent (Acc-A) are offline charging in wireless communication networks.
  • Acc-S Accounting Server
  • Acc-C Accounting Client
  • Acc-A Account Agent
  • Acc-A The function of Acc-A is to collect offline charging information, for example, collect the volume information of the service used by the terminal and periodically send the information to the charging client.
  • the Acc-C end constructs a usage data record (UDR) of the terminal (end user) based on the offline charging information collected from the Acc-A, in which the related charging information is recorded.
  • Acc-C also needs to report offline charging information to Acc-S periodically. At this time, Acc-C passes the generated UDR to the accounting server.
  • Acc-S collects the above UDR information and combines the same UDR information to charge users for different service types.
  • the UDR contains a lot of information, such as the charging session identifier, the service data stream identifier, the traffic and/or duration of the service, the timestamp for generating the UDR, and so on.
  • the billing session identifier can make the billing server know which terminal (end user) to charge for;
  • the service data stream identifier can be used to identify the billing information of the UDR collection service, such as voice service and data service, generally Said that a service corresponds to a UDR;
  • the traffic and/or duration used by the service is used to indicate the traffic and/or duration information of the terminal (end user) using the service;
  • the timestamp is used to prevent the same UDR from being received repeatedly. Repeat billing for the terminal.
  • one processing method is to first find all the UDRs related to the terminal according to the charging session identifier, and then merge the related UDRs according to the service type, and finally according to the usage fee of each type of service.
  • the terminal is billed for rate and usage.
  • Acc-S combines all the UDRs related to the voice service, and adds the usage traffic among them to obtain the total traffic of the voice service used by the terminal.
  • Acc-S can also all the data services.
  • the associated UDR merges and gets the total traffic of the terminal using the data service. Then, according to the different usage rates of the two services, the costs of using the two services by the terminal are respectively calculated, and after adding, the total cost is obtained.
  • the offline accounting server is generally deployed on the AAA server. It can be understood that the AAA server itself has the function of Acc-S; the Acc-S can also be separated from the AAA server. Interface.
  • Acc-C is deployed on the endpoint's anchor authenticator (connected Incoming gateway); Acc-A is deployed in the anchor data channel function of the terminal (access gateway). When the anchor authenticator and the anchor data channel are located in the same access gateway, Acc-A and Acc-C can communicate directly; when the two are located in different access gateways, Acc-A and Acc-C Communication between the access gateways is possible.
  • CSG-CLOSDE closed mode
  • CSG-OPEN hybrid mode
  • OPEN open mode
  • the closed mode home base station means that only the user of the Closed Subscriber Group (CSG) member of the home base station can access the home base station and enjoy the service provided by the home base station
  • the open mode home base station means that any user can Access to the home base station
  • a hybrid mode home base station refers to allowing CSG users and other users to access, but differentiates different user types according to whether the user belongs to the CSG list, and implements differentiated quality of service processing (eg, CSG users have more High business priority, with better quality of service and business category).
  • the operator needs to use the home base station system.
  • the home base station needs to be purchased and placed by the user (the macro base station does not need to be purchased and placed by the user), it is not effective to attract the user to widely use the home base station, and the home base station service cannot be smoothly carried out until it cannot be carried out.
  • the present invention provides an offline charging method.
  • the method includes: the charging client acquires charging information of the terminal and sends the charging information to the charging server, where the charging information includes a type of the serving base station. Base station type information and/or user type information for indicating the type of the terminal;
  • the charging server receives the charging information, and charges the terminal according to the base station type information and/or user type information.
  • the charging client can send the charging information to the charging server through the charging request, and the charging is requested.
  • the request may be an accounting request for notifying the charging server to start or end the charging of the terminal, or may be a charging request during the charging.
  • the charging client can obtain base station type information and/or user type information in one of the following ways:
  • Obtaining base station type information and/or user type information by using a message sent by the base station including: acquiring, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel establishment request message during handover; The data channel establishment request message, the terminal pre-attach request message, the EAP forwarding message, the user identity response message, or the terminal attach request message is obtained.
  • the method may further include: the charging agent obtaining base station type information and/or user type information in one of the following manners:
  • the base station type information and/or user type information by using the message sent by the base station, including: acquiring, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel setup request message, at the time of handover;
  • the data channel establishment request message, the terminal pre-attach request message, the EAP forwarding message, the user identity response message, or the terminal attach request message is obtained.
  • the charging server charges the terminal according to the base station type information and/or the user type information
  • at least one of the following operations may be performed: classifying the charging information of the terminal; selecting a charging rate for the terminal; and selecting a charging mode for the terminal.
  • the serving base station may be a macro base station or a home base station.
  • the serving base station may be a macro base station, an open mode home base station, a hybrid mode home base station or a closed mode home base station.
  • the terminal can be: a closed user group member or a non-closed user group member.
  • the present invention also provides an offline charging system, where the system includes: a charging client and an accounting server, where
  • the charging client is configured to acquire charging information of the terminal and send the information to the charging server, where
  • the charging information includes base station type information indicating a type of the serving base station and/or user type information indicating the type of the terminal;
  • the charging server is connected to the charging client through a network, and is configured to: receive the charging information, and charge the terminal according to the base station type information and/or user type information.
  • the charging client may be configured to send the charging information to the charging server by using the charging request, where the charging request may be used to notify the charging server to start or end the charging request for the terminal charging, or may be charging. Billing request during the period.
  • the charging client may be configured to obtain the base station type information and/or the user type information by using the message sent by the base station, including: when the handover, the context information interaction message, the MAC layer update message, the data channel pre-establishment request message, or the data channel is established.
  • Request message acquisition At the time of initial network access, the terminal pre-attach request message, the user identity response message, the terminal attach request message, the EAP forwarding message, or the data channel establishment request message acquisition.
  • the system may further include a charging proxy connected to the charging client; the charging client may obtain base station type information and/or user type information from the charging proxy through a charging information update request or a mobile IP protocol message;
  • the charging agent can be configured to obtain the base station type information and/or user type information in one of the following ways:
  • the base station type information and/or user type information by using the message sent by the base station, including: acquiring, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel setup request message, at the time of handover;
  • the terminal pre-attach request message, the user identity response message, the terminal attach request message, the EAP forwarding message, or the data channel establishment request message is obtained.
  • the charging server may be configured to perform at least one of the following operations when charging the terminal according to the base station type information and/or the user type information: classifying the charging information of the terminal; selecting a charging rate for the terminal; Fee mode.
  • the serving base station may be a macro base station or a home base station; wherein the home base station may be an open mode home base station, a hybrid mode home base station or a closed mode home base station.
  • the terminal can be: a closed user group member or a non-closed user group member.
  • the charging client sends the base station type information of the serving base station or the user type information of the terminal to the charging server, and the charging server uses the base station type information and/or the user type when charging.
  • the information provides differentiated billing services for users of the home base station, which can attract and encourage users to widely use the home base station, thereby facilitating the smooth development of the home base station service.
  • FIG. 1 is a schematic diagram of a communication network model including a home base station in the prior art.
  • FIG. 2 is a schematic diagram of an offline charging method of the present invention.
  • FIG. 3 is a schematic flow chart of Embodiment 1 of the present invention.
  • Embodiment 4 is a schematic flow chart of Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flow chart of Embodiment 3 of the present invention.
  • FIG. 6 is a schematic flow chart of Embodiment 4 of the present invention. Preferred embodiment of the invention
  • the main idea of the offline charging method and system of the present invention is that the charging client sends the base station type information of the serving base station and/or the user type information of the terminal to the charging server, and the charging server uses the base station type information when charging. And the user type information is used as a basis for determining the charging rate, thereby providing a differentiated charging service for the user of the home base station, attracting and encouraging the user to widely use the home base station, and promoting the smooth development of the home base station service.
  • the existing charging system does not pay attention to the type of base station used by the terminal user to access the network (there is only a macro base station in the current network), after the home base station system is introduced in the existing network, the existing charging system cannot know the current status of the terminal user.
  • the type of base station used cannot support operators to provide differentiated billing services for users. In this way, the user may be less satisfied with the use of the home base station to access the network, or lose interest (no one would be willing to purchase the home base station to be placed in his own home, but still need to pay the same fee as when using the macro base station), and the present invention Providing differential charging services based on different base station types and/or different user types can solve this problem.
  • the offline charging method of the present invention includes:
  • Step 201 The charging client acquires charging information of the terminal and sends the charging information to the charging server, where the charging information includes base station type information indicating a type of the serving base station and/or user type information indicating the type of the terminal. ;
  • the billing client transmits the billing information to the billing server via a billing request/start, billing request/intermediate or billing request/end message.
  • the charging client acquires the base station type information and/or the user type information from the charging proxy; the charging proxy acquires the base station type information and/or from a message sent by the base station locally or from a message sent by the base station. Or user type information.
  • Step 202 The charging server receives the charging information, and performs charging for the terminal according to the base station type information, user type information, or a combination of the two, to implement a differentiated charging service.
  • the differential charging service according to the present invention is embodied in: the tariff standard used by the home base station is lower than the tariff standard used by the macro base station to access the network; the different types of home base station access networks correspond to different charging policies, for example, using different types.
  • the home base station corresponds to different tariff standards and corresponds to different charging modes (for example, the closed mode home base station corresponds to the time-based charging, and the open mode home base station corresponds to the metering fee).
  • the offline charging client can also notify the offline charging server of the current terminal (terminal user) user type (CSG member, non-CSG member) to provide differentiated charging service for the user. For example, when a CSG member accesses a network through a closed mode home base station or a hybrid mode home base station, a lower tariff standard is obtained; when a non-CSG member accesses the network through an open mode home base station or a hybrid mode home base station, a higher tariff standard is obtained.
  • the charging server performs at least one of the following operations when charging the terminal according to the base station type information, user type information, or a combination of the two: classifying charging information of the terminal; Fee rate; select the billing mode for the terminal.
  • the serving base station type includes a macro base station and a home base station.
  • the charging server uses the base station type information as a basis for determining the rate, in the same case, the rate of the macro base station is higher than the rate of the home base station.
  • the serving base station type includes a macro base station, an open mode home base station, a hybrid mode home base station, and In the closed mode home base station, when the charging server uses the base station type information as a basis for determining the rate, in the same case, the rates are sequentially decreased.
  • the terminal type includes: a closed user group member and a non-closed user group member.
  • the charging server uses the user type information as a basis for determining the rate, in the same case, the rate of the non-closed user group member is higher than the closed user.
  • the rate of group members is higher than the closed user.
  • the serving base station type includes a macro base station, an open mode home base station, a hybrid mode home base station, and a closed mode home base station;
  • the terminal type includes: a closed subscriber group member and a non-closed subscriber group member;
  • the charging server sets the base station type information.
  • the order of the rates from high to low is: non-closed user group members under the macro base station, non-closed user group members under the open mode home base station, and hybrid A non-closed subscriber group member under the mode home base station, a closed subscriber group member under the hybrid mode home base station, and a closed subscriber group member under the closed mode home base station.
  • the method of the user type of the terminal (end user) specifically includes the following steps:
  • Step 301 The (offline) charging client (hereinafter referred to as Acc-C) receives a trigger message for starting charging of the terminal (terminal user);
  • the trigger message is directly sent by the terminal or indirectly through other network elements.
  • Step 302 The Acc-C sends a charging request for requesting the Acc-S to start charging the terminal (end user) to the (offline) charging server (hereinafter referred to as Acc-S) (Accounting-Request/Start, following As “accounting request/start", where the base station type information of the serving base station carrying the terminal, and/or the user type information of the terminal;
  • This message may also send the billing information currently collected by Acc-C to the Acc-S, the service base station type information of the terminal, and/or the user type information of the terminal (end user) in the form of UDR. It is included in the billing information of the UDR form.
  • Step 303 After the Acc-S receives the charging request/start, the context information of the charging session is created, for example, the charging session identifier is associated with the terminal, and charging is started for the terminal, and the Acc-S also refers to the foregoing Acc. - The UDR sent by -C is saved locally, and finally, Acc-S returns the charging response/start to Acc-C;
  • Step 304 During the charging period, the Acc-C sends a charging request (Accountmg-Request/Intenm-Update, hereinafter referred to as "accounting request/intermediate") for updating the related information to the Acc-S, where the service of the terminal is carried.
  • a charging request (Accountmg-Request/Intenm-Update, hereinafter referred to as "accounting request/intermediate"
  • Base station type information of the base station, and/or user type information of the terminal
  • the Acc-C After the start of the charging, the Acc-C needs to collect the charging information of the terminal. For example, the Acc-A reports the charging information related to the terminal to the Acc-C. When collecting the above charging information, Acc-C converts it into a UDR and caches it locally.
  • the UDR includes information such as the charging session identifier and the type of serving base station of the terminal acquired by the Acc-C, and/or user type.
  • Acc-A can monitor the use of services by the terminal and collect billing information (such as traffic). Acc-A can also periodically send (for example, every 20 seconds) the collected billing information to Acc-C. After receiving the accounting information, the Acc-C constructs a UDR based on the charging information, and fills in the related information in the UDR, including: a charging session identifier; a service data flow identifier (in this case, the identifier can indicate that it is a data service) The type of serving base station used when the terminal uses the service (the base station type at this time is the home base station). Then, further, Acc-C can also fill in the type of home base station in the UDR, such as a closed mode home base station, a hybrid mode home base station, and an open mode home base station.
  • Acc-C can also fill in the UDR the type of user (CSG user, or non-CSG user) that the terminal belongs to when using the service.
  • Acc-C needs to collect the billing information of the terminal and convert it into a UDR. After this processing, Acc-C temporarily holds these UDRs locally. Acc-C usually reports the accounting information (UDR) with the Acc-S negotiation cycle. For example, it is reported once every 5 minutes. At this time, when the negotiated good reporting time slot arrives, Acc-C will report it. During this time All UDRs collected are sent to Acc-S through a charging request/intermediate message.
  • UDR accounting information
  • Step 305 After receiving the charging request/intermediate message, the Acc-S saves the UDR carried therein locally, and returns an accounting response/intermediate message to the Acc-C.
  • step 304 to step 304 in the life cycle of a charging session, step 304 to step
  • the 305 will be repeated multiple times, for example, every 5 minutes. The benefit of this is to prevent Acc-C from losing UDR information.
  • Step 306 The charging client receives a trigger message for stopping the charging of the terminal (the terminal user); for example, when the terminal exits the network, or when the terminal ends the service (for example, ends the access to the Internet network), the charging client receives the message. Trigger message to stop charging.
  • Step 307 The Acc-C sends a charging request (Accounting-Request/Stop, hereinafter referred to as "accounting request/stop") message for requesting the Acc-S to stop the charging of the terminal (end user) to the Acc-S.
  • the Acc-C needs to transmit all the UDRs associated with the terminal that have not been sent to the Acc-S to the Acc-S using the charging request/stop message.
  • the method described in step 304, the base station type information of the serving base station of the terminal, and/or the user type information to which the terminal belongs are included in these UDRs.
  • Step 308 After receiving the charging request/stop message, the Acc-S saves the UDR carried therein locally, and returns an accounting response/stop message to the Acc-C.
  • the charging information (UDR) related to the terminal (end user) may include the base station type information used by the terminal, and/or the user type information, to implement the terminal (end user). Differential billing. The following specifically explains how to achieve:
  • Acc-S At any time after the Acc-S obtains the above-mentioned terminal-related UDR information, for example, after the terminal exits the network, or after the service is completed, or at the time specified by the operator (for example, 0:00 every day), Acc- S will process these UDRs and charge users offline, for example, using the following methods:
  • Acc-S takes out all UDRs associated with the terminal and charges the terminal (user)
  • the information is classified (that is, the UDR is classified), for example, classified by service type, and the voice services are classified into one class, and the data services are classified into one class.
  • the following is an example in which the data service is based on the flow rate.
  • the following B1 and B2 are examples categorized only by base station type, B3 is an example classified only by user type, and B4 is an example of combining user type classification in combination with base station type.
  • the UDR is classified into two types according to the type of the base station: the macro base station and the home base station.
  • the base station type is that the macro base station rate is 1 (high)
  • the base station type is the home base station rate is 1/2 (low).
  • the UDR is classified according to the type of the base station: a macro base station, an open mode home base station, a hybrid mode home base station, and a closed mode home base station.
  • the macro base station rate is 1 (high)
  • the open mode home base station rate is 2/. 3 (higher)
  • the mixed mode home base station rate is 1/2 (middle)
  • the closed mode home base station rate is 1/3 (low).
  • the UDR is classified into two types according to the user type of the terminal: the CSG user and the non-CSG user. For example, if the terminal accesses the network in a non-CSG member role (for example, through a macro base station, an open mode home base station, or a hybrid mode home base station), The rate is 1 (high). If the end user accesses the network as a CSG member role (for example, through a closed mode home base station, a mixed mode home base station), the rate is 1/2 (low).
  • the UDR is combined with the service base station type of the terminal and the user type combination:
  • the serving base station of the terminal is a macro base station, and the user type must be a non-CSG member, which can be classified into a (macro base station, non-CSG member) class, and the rate is 1 (high);
  • the service base station of the terminal is an open mode home base station.
  • the user type must be a non-CSG member, which can be classified into (open mode home base station, non-CSG member) class, and the rate is 2/3 (middle); terminal
  • the serving base station is a mixed mode home base station, and if the terminal is not a CSG member of the home base station, classified as a (mixed mode home base station, non-CSG member) class, the rate is 2/3 (middle), and if the terminal is the home
  • the CSG member of the base station is classified as (mixed mode home base station, CSG member) rate rate is 1/3 (low);
  • the service base station of the terminal is a closed mode home base station, and the user type must be a CSG member, which can be classified as ( Closed mode home base station, CSG member) class, the rate is 1/3 (low).
  • Mac BS macro base station
  • you can also make BSTYPE 0 the default value, with the same meaning as above.
  • the above BSTYPE (SUBTYPE) can be used in combination with USERTYPE, or can be used separately, and the differential charging for the terminal (end user) can be realized to different extents.
  • the (offline) charging agent (Acc-A) is located in the anchor data channel function, and its function is to monitor the situation in which the terminal uses the network (for example, the traffic used when performing the service), and collect the charging information. .
  • the charging agent collects the charging information and reports the charging information to the charging client, the type of the current serving base station and/or the user type of the terminal need to be sent to the charging client, as shown in FIG. Specifically, it includes the following steps:
  • Step 401 The Acc-A sends a periodic charging information update request message to the Acc-C to report the (offline) charging information of the recently collected terminal to the Acc-C, where the base station type information of the serving base station carrying the terminal, And/or user type information of the terminal;
  • Acc-A can periodically pass the collected charging information.
  • a Bulk Interim Update message is sent to the Acc-C.
  • the information can reflect the type of service used by the terminal, and the amount of usage (eg, traffic).
  • the message also carries the base station type information of the serving base station of the terminal acquired by the Acc-A, and/or the user type information of the terminal.
  • Step 402 The Acc-C responds with the periodic charging information update response message Acc-A, and notifies that the Acc-A charging information has been received;
  • Step 403 The Acc-C sends a charging request/start, an accounting request/intermediate, or an accounting request/end message to the Acc-S, where the base station type information of the serving base station including the terminal, and/or the user type of the terminal are carried.
  • UDR information of information
  • Acc-C After receiving the periodic charging information update request message from Acc-A, Acc-C takes out the relevant charging information and generates one or more UDRs. At this time, the Acc-C may obtain the type information of the current serving base station of the terminal, and/or the user type information of the terminal, from the periodic charging information update request message, and add the information according to the method described in step 204. Into the response UDR.
  • Acc-C sends a charging request/start, charging request Z intermediate, or charging request Z end message to the Acc-S according to the actual situation.
  • Step 404 After receiving the charging request/start (intermediate, end) message, the Acc-S saves the UDR carried therein locally, and returns a charging response/start (intermediate, ending) message to the Acc-C.
  • the Acc-S may finally classify the UDR according to the type of the base station, and/or the user type, and implement differential charging for the terminal (end user), the principle is the same, Let me repeat.
  • the new serving base station (referred to as the target base station) sends the foregoing base station type information and/or user type information to the (offline) charging proxy, as shown in FIG. 5, specifically Contains the following steps:
  • Step 501 The mobile terminal sends a handover indication to the serving base station.
  • the mobile terminal After the mobile terminal determines the new serving base station (target base station) to be switched in, the mobile terminal needs to send a mobile indication message (MOB_HO-IND) to its current serving base station, the message carrying the identity of the target base station.
  • MOB_HO-IND mobile indication message
  • Step 502 The serving base station sends a handover confirmation (HO_Cnf) message to the target base station, and notifies the handover.
  • the mobile terminal is about to switch to the target base station; the target base station responds to the serving base station by using a handover consent (HO_Ack) message;
  • Step 503 The target base station sends a context request message to the anchor authenticator of the terminal; the anchor authenticator responds to the target base station by using a context response message;
  • the target base station may send a context request (Context_Req) to the anchor authenticator of the terminal to obtain the context information of the terminal.
  • Context_Req a context request
  • Step 504 The target base station sends a data channel pre-establishment request to the anchor access gateway (anchor data channel function) of the terminal, where the base station type information of the serving base station carrying the terminal, and/or the user type information of the terminal;
  • the ingress gateway (anchor data channel function) uses the data channel pre-establishment response to respond to the target base station;
  • the target base station needs to send a data channel pre-establishment request (Path_Prereg_Req) to the anchor data channel function, for pre-establishing data. aisle.
  • the target base station can use the message to send the terminal's serving base station type, and/or the terminal's user type to Acc-A (which resides in the anchor data channel function).
  • the type of base station and the type of user referred to herein refer to the type of serving base station of the terminal and the user of the terminal at the base station when the target base station becomes the serving base station of the terminal (ie, when the handover is completed, the terminal switches to the target base station). Types of.
  • the target base station knows its own type of base station, and the method for expressing the type of the base station according to the first embodiment: if it is a macro base station, the pre-establishment request carrying indication in the data channel is used to indicate that the base station type is a macro base station; or The indication is not carried.
  • the Acc-A (receiver) defaults the base station type to a macro base station; if it is a home base station, carries an indication in the data channel pre-establishment request to indicate that the base station type is a home base station, and further It can also indicate what type of home base station (closed mode home base station, hybrid mode home base station, open mode home base station, etc.).
  • the target base station knows the user type of the terminal at the base station, and the manner of expressing the user type according to the first embodiment: if it is a macro base station, the parameter is ignored, and the Acc-A (receiver) defaults the default user type to CSG member; if it is a home base station, the home base station will first judge the terminal Is it a CSC member of its own, and sends the judgment result as an indication to Acc-A, which is used to indicate the user type (CSG member, non-CSG member) of the current terminal. If the home base station also ignores this parameter (for example, an open mode home base station), the receiver also sets the default user type to a non-CSG member.
  • this parameter for example, an open mode home base station
  • Acc-A After Acc-A obtains the above-mentioned base station type information, and/or user type information, it is saved locally. Acc-A can also associate these two parameters with the base station identity (BSID) of the target base station.
  • BSID base station identity
  • Step 505 The terminal sends a ranging request to the target base station, indicating that the terminal is to be handed over to the target base station.
  • Step 506 The target base station responds to the ranging response to the terminal, and performs a terminal re-entry procedure.
  • Step 507 The target base station (new serving base station) sends a CMAC key count update request to the anchor authenticator; the anchor authenticator Confirming the response to the serving base station using the CMAC key count update;
  • Step 508 The target base station (new serving base station) sends a data channel establishment request to the anchor access gateway (anchor data channel function) of the terminal, where the base station type information of the serving base station carrying the terminal, and/or the user type of the terminal Information; an anchor access gateway (anchor data channel function) uses a data channel to establish a response to the target base station;
  • the target base station needs to formally establish a data channel between the terminal and the anchor data channel function. At this time, the target base station sends a data channel establishment request (Path_Reg_Req) to the anchor data channel function.
  • the target base station can obtain the foregoing base station type information, and/or user type information. If the target base station does not send the above-mentioned base station type information and/or user type information to the Acc-A through the above data channel pre-establishment request, the target base station may send the data to the Acc-A using the data channel establishment request, Acc-A These parameters will be saved locally.
  • Step 509 Perform a data channel removal process between the anchor access gateway (anchor data channel function) and the old serving base station of the terminal;
  • Step 510 The interaction between the target base station (new serving base station) and the old serving base station of the terminal is completed and confirmed.
  • the function of the Acc-A is to monitor the use of the network by the terminal, collect the charging information, and report the charging information to the Acc-C, and the Acc-A needs to perform the operation before and after the terminal is switched. Then, before and after the handover, if the base station type and/or the user type of the terminal change, the Acc-A should separately store the charging information collected before and after the handover.
  • the terminal service base station type is a macro base station before the handover, and the terminal service base station type becomes a home base station after the handover (ie, the base station type is changed), and the terminal is using the data service, and the Acc-A statistical traffic information is taken as an example, as follows:
  • the traffic counted by Acc-A before switching is 5 units. After the switch occurs, Acc-A counts 3 units of traffic. At this time, Acc-A can save the 5 units and 3 units of traffic separately.
  • the first base station (5 units) is inserted into the serving base station type as a macro base station, and the second block (3 units) is inserted into the serving base station type as a home base station. This information is sent to Acc-C when the reporting time slot arrives.
  • Acc-C can construct a UDR based on the information. For example, construct two UDRs. The flow rate is 5 units in the first UDR, and the macro base station is filled in the base station type. The flow rate is 3 units in the second UDR, and the base station type is filled in. Base station. For another example, construct a UDR, fill in two pieces of traffic information, fill in 5 units in the first paragraph, and indicate that the type of base station when the traffic is generated is a macro base station; fill in 3 units in the first paragraph, and indicate when the traffic is generated. The type of base station is a home base station. Finally, Acc-C can send these UDRs to Acc-S to perform differential billing for users.
  • Acc-A can perform the same operation when the user type of the terminal changes before or after the handover, or when the type of the base station and the user type change simultaneously, and finally achieve the purpose of supporting differential charging for the user.
  • the principle is the same and will not be described here.
  • the target base station sends the base station type information and/or the user type information to the Acc-C through the Acc-A, and is convertible.
  • the target base station may also pass the context information.
  • the interactive message, or the MAC layer update message sends the above-mentioned base station type, and/or user type directly to the Acc-C (anchor authenticator), which Acc-C saves locally, and can also combine these two parameters with The BSIDs of the above target base stations are associated.
  • the Acc-A may not carry the base station type, and/or the user type when reporting the accounting information to the Acc-C.
  • the Acc-A is also required to separately store the accounting information counted before and after the handover, and insert the BSID information of the serving base station therein.
  • the Acc-C receives the charging information and generates the UDR, the corresponding base station type, and/or user type can be found according to the BSID, and inserted into the UDR.
  • Acc-A and Acc-C also Can be located in the same access gateway.
  • the foregoing target base station is used to notify the Acc-A (Ac-C) the above-mentioned base station type, and/or user type message, and may also be used to notify the Acc-C (Actra-A) base station type, and/or the user type. .
  • the (candidate) target base station may also send the base station type, and/or the user type to the Acc-A/Acc-C through a message channel pre-establishment, context information interaction, and the like;
  • the target base station may also send the base station type, and/or user type to the Acc-A/Acc-C through data channel establishment, context information exchange, MAC layer update, and the like, and the principles are the same.
  • Embodiment 3 describes the serving base station, and/or user type of the terminal (offline) charging agent/(offline) charging client after the handover, after the handover.
  • FIG. 6 is a fourth embodiment of the present invention.
  • the serving base station sends the foregoing base station type and/or user type to the charging proxy/billing during the initial network access process performed by the serving base station (home base station/base station).
  • the client method includes the following steps:
  • Step 601 Performing air interface parameter synchronization and ranging between the terminal and the base station, where the base station includes a macro base station, a home base station, and the like;
  • Step 602 The terminal sends a basic capability negotiation request to the base station to negotiate the authentication capability (such as the user's authentication policy) with the network.
  • the authentication capability such as the user's authentication policy
  • Step 603 The base station (including the home base station, the macro base station) sends a terminal pre-attachment request to the access gateway; after the access gateway processes the request, returns a terminal pre-attachment response to the base station;
  • the purpose of the foregoing terminal pre-attach request message is to notify the Authenticator located in the access gateway that a new terminal is about to enter the network, and also assist the terminal to negotiate with the access gateway for some subsequent parameters to be used.
  • the terminal pre-attach request may further carry the base station type information of the terminal service base station and/or the user type information of the terminal, and the method is sent to the Acc-A/Acc as described in step 504. -C.
  • Step 604 The base station returns a basic capability negotiation response to the terminal.
  • Step 605 The access gateway (anchor authenticator) starts an extensible authentication protocol (Extensible Authentication protocol (EPP), the user identity request is sent to the base station, and the base station forwards the request to the terminal;
  • EPP Extensible Authentication protocol
  • Step 606 After receiving the user identity request, the terminal replies with the user identity response to the base station, and the base station forwards the response to the access gateway (anchor authenticator), where the base station type information of the serving base station carrying the terminal, and/or User type information of the terminal;
  • anchor authenticator anchor authenticator
  • the base station transmits the user identity response of the terminal to the access gateway (anchor authenticator) using an EAP Forwarding message (EAP-Transfer).
  • EAP-Transfer EAP Forwarding message
  • the service base station type may be used by using the EAP forwarding message according to the method described in step 503. , and / or user type is sent to the access gateway.
  • the Acc-A/Acc-C may acquire the base station type of the above-mentioned terminal serving base station from the EAP forwarding message, and/or the user type of the above terminal.
  • Step 607 Perform an EAP access authentication process between the AAA server and the terminal.
  • Step 608 The access gateway (anchor authenticator) sends a key change indication message to the base station (macro base station or home base station);
  • Step 609 Perform a PKMv2 handshake between the terminal and the base station, establish a security association between the two, and exchange a TEK key;
  • Step 610 The terminal sends a ranging request to the base station (macro base station or home base station);
  • Step 611 The base station (macro base station or home base station) performs a terminal attachment process for the terminal and the access gateway.
  • the base station can transmit the above-mentioned base station type, and/or user type to the Acc-A/Acc-C (access gateway) through the terminal attach request (MS_Attachment_Req).
  • Step 612 The base station (macro base station or home base station) sends a ranging response to the terminal.
  • Step 613 The base station helps the terminal to perform a data channel between the base station and the access gateway (anchor data channel function);
  • the base station can transmit the above-mentioned base station type, and/or user type to the Acc-A/Acc-C (access gateway) through a data channel establishment request (Path_Reg_Req).
  • Step 614 Continue to perform other processes related to user access.
  • This embodiment can be regarded as a method for the Acc-A/Acc-C to acquire the base station type, and/or the user type before the handover.
  • Acc-A can also be deployed on the base station.
  • the charging information of the terminal is collected by Acc-A on the base station.
  • the access gateway connected to the base station does not include an Acc-C (anchor authenticator)
  • an agent needs to exist in the access gateway for the Acc-A and Acc-C on the intermediate base station. Communication between.
  • the base station itself is a serving base station, which can know the current serving base station type of the terminal, and/or the user type, and can base station type and/or according to an embodiment of the present invention. Or the user type is notified to the Acc-C; in the handover scenario, when the target base station becomes the serving base station (ie, when the handover is completed), the accounting information of the terminal is collected by the Acc-A on the target base station.
  • the base station can also know the current service base station type and/or user type of the terminal, and put it in the charging information, and send it to the Acc-C.
  • the serving base station type, and/or user type can be sent to the Acc-C by the Acc-A in the serving base station via the Bulk Interim Update.
  • HA Home Agent
  • Mobile IP Mobile IP
  • all upstream data will eventually be aggregated to the anchor data channel function; all downstream data will also be sent to the anchor data channel function first.
  • all the uplink data is further sent to the HA after being aggregated to the anchor data channel function; all the downlink data is first sent to the HA and then further sent to the anchor data channel function.
  • the anchor data channel function is combined with a network element called a foreign agent (FA).
  • FA foreign agent
  • Acc-C can be on the HA and Acc-A will be on the FA.
  • the first and second embodiments of the present invention are applicable to this scenario; and in the third to fourth embodiments, the above-mentioned anchor authenticator will no longer contain Acc-C, then the above-mentioned serving base station type, and/or The user type will first be obtained by Acc-A (FA) and sent to Acc-C. Communication between Acc-A and Acc-C can be accomplished by communication between the FA and the HA.
  • Acc-A also The service base station type, and/or user type, such as a MIP registration message, etc., may be delivered using a message defined by the Mobile IP (MIP) protocol.
  • MIP Mobile IP
  • the present invention further provides an offline charging system, where the system includes: a charging proxy, a charging client, and a charging server;
  • the charging proxy is configured to obtain the base station type information and/or user type information locally from the serving base station or from a message sent by the base station;
  • the obtaining, by the charging proxy, the base station type information and/or the user type information by using a message sent by the base station includes: when switching, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel establishment request Message acquisition; At the time of initial network access, the request is obtained through a terminal pre-attach request, a user identity response, a terminal attach request, or a data channel establishment request.
  • the charging client and the charging proxy are connected through the network, and are configured to: obtain charging information of the terminal and send the charging information to the charging server, where the charging information includes base station type information used to indicate the type of the serving base station or used to represent the User type information of the terminal type;
  • the charging client obtains the base station type information and/or the user type information, and adopts one of the following methods:
  • the charging client obtains the base station type information and/or user type information from a charging proxy by using a charging information update request or a mobile IP protocol message;
  • the charging client obtains the base station type information and/or user type information by using a message sent by the base station, including: when switching, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel Establishing a request message acquisition; when initially entering the network, obtaining a request by a terminal pre-attach request, a user identity response, a terminal attach request, or a data channel establishment request.
  • the charging client sends the charging information to the charging server by using a charging request, where the charging request is used to notify the charging server to start or end the charging request for charging the terminal. Or it is a charging request during billing.
  • the charging server is connected to the charging client through a network, and is configured to: receive the charging information, and charge the terminal according to the base station type information, user type information, or a combination of the two.
  • the charging server performs at least one of the following operations when charging the terminal according to the base station type information, user type information, or a combination of the two: classifying charging information of the terminal; Fee rate; select the billing mode for the terminal.
  • the serving base station type includes a macro base station and a home base station.
  • the serving base station type may further include a macro base station, an open mode home base station, a hybrid mode home base station, and a closed mode home base station.
  • the terminal type includes a closed user group member and a non-closed user group member.
  • the charging client sends the base station type information of the serving base station or the user type information of the terminal to the charging server, and the charging server uses the base station type information and/or the user type when charging.
  • the information provides differentiated billing services for users of the home base station, which can attract and encourage users to widely use the home base station, thereby facilitating the smooth development of the home base station service.
  • the present invention can provide differentiated charging services for users of home base stations, and can attract and encourage users to widely use home base stations, thereby facilitating the smooth development of home base station services.

Abstract

An offline accounting method and system are provided in the present invention. The method includes that: an accounting client obtains accounting information of a terminal and sends it to an accounting server, wherein the accounting information includes the base-station type information for representing the type of a base-station served and/or the user type information for representing the type of the terminal; and, the accounting server receives the accounting information, and for the terminal, accounts according to the base-station type information and/or the user type information. The present invention can provide the users of home base-station with differentiated accounting services, thus promoting the smooth development of the home base-station service.

Description

离线计费方法及系统  Offline charging method and system
技术领域 Technical field
本发明涉及通信领域, 具体而言, 涉及一种离线计费方法及系统。 背景技术  The present invention relates to the field of communications, and in particular to an offline charging method and system. Background technique
为了给移动用户提供更高的业务速率并降低使用高速率服务所需要的费 用、 降低运营商网络部署的投资, 同时, 为了弥补已有分布式蜂窝无线通信 系统覆盖的不足, 通常会在现有的通信网络中部署家用基站, 作为对宏基站 的补充。 家用基站一般设置在家庭、 办公区域等场所使用。 家用基站是一种 小型、 低功率的基站, 具有实用、 便捷、 低功率输出等优点。  In order to provide mobile users with higher service rates and lower the cost of using high-rate services, and reduce the investment in carrier network deployment, at the same time, in order to make up for the shortage of existing distributed cellular wireless communication system coverage, it is usually existing A home base station is deployed in the communication network as a supplement to the macro base station. The home base station is generally installed in a home, an office area or the like. The home base station is a small, low-power base station with practical, convenient, low-power output.
图 1是根据相关技术的包含家用基站的通信网络模型的示意图, 如图 1 所示, 家用基站的通信网络模型包括家用基站、 安全网关、 接入网关、 鉴权 授权计费服务器。 家用基站可以通过安全网关接入到接入网关。 安全网关可 以与接入网关合设也可以与接入网关分设。 安全网关的主要作用是保障家用 基站和接入网关之间的链路安全。  1 is a schematic diagram of a communication network model including a home base station according to the related art. As shown in FIG. 1, the communication network model of the home base station includes a home base station, a security gateway, an access gateway, and an authentication authorization charging server. The home base station can access the access gateway through the security gateway. The security gateway can be set up with the access gateway or with the access gateway. The main function of the security gateway is to ensure link security between the home base station and the access gateway.
鉴权授权计費服务器 ( Authentication Authorization and Accounting Server, 简称为 AAA服务器)是通信网络中的重要功能设施, 用于实现网络运营商对 数据、 用户的控制和管理, 提供认证授权, 账户服务以及计费服务, 通常与 网络访问控制、 网关服务器、 数据库以及用户信息目录等协同工作。 锚点鉴 权器( Anchor Authenticator, 简称为 AA )—般放置在接入网关, 其主要功能 是在移动终端入网时向移动终端提供接入鉴权服务; 在移动终端入网以后、 退网之前, 负责管理和维护移动终端的上下文信息。 锚点数据通道功能 ( Anchor Data Path Function, 简称为 A-DPF ) 一般也放置在接入网关, 其是 通信网絡具备的另一个重要的功能: 无论网络中的移动终端在各个基站中如 何切换, 所有来自终端的数据 (上行数据) 都会最终汇聚到该终端的锚点数 据通道功能, 然后再被进一步转发(例如, 发送给 Internet ) ; 所有发往此终 端数据 (下行数据) 也都会首先被发送给该锚点数据通道功能, 再进一步由 锚点数据通道功能发送给终端。 锚点鉴权器和锚点数据通道功能可以位于同 一个接入网关中, 也可以安放在不同的接入网关 (如图 1所示) 。 Authentication Authorization and Accounting Server (AAA) is an important function in the communication network. It is used to implement network operator control and management of data and users. It provides authentication and authorization, account services, and accounting. Fee services, usually working in conjunction with network access control, gateway servers, databases, and user information directories. An anchor Authenticator (AA) is generally placed in the access gateway. Its main function is to provide access authentication services to the mobile terminal when the mobile terminal accesses the network. After the mobile terminal accesses the network, before the network is disconnected, Responsible for managing and maintaining the context information of the mobile terminal. The Anchor Data Path Function (A-DPF) is also generally placed in the access gateway, which is another important function of the communication network: no matter how the mobile terminals in the network switch in each base station, All data from the terminal (upstream data) will eventually be aggregated to the anchor data channel function of the terminal, and then further forwarded (for example, sent to the Internet); all data sent to this terminal (downlink data) will also be sent first. The anchor data channel function is further sent to the terminal by the anchor data channel function. The anchor authenticator and anchor data channel functions can be located in the same An access gateway can also be placed on different access gateways (as shown in Figure 1).
计费功能是通信系统中的一种重要的核心功能, 计费可分为在线计费 The billing function is an important core function in the communication system, and billing can be divided into online billing.
(即,预付費)和离线计费(即,后付费)两种。计费服务器( Accounting Server, 筒称 Acc-S ) , 计费客户端 (Accounting Client, 简称 Acc-C ) 以及计费代理 ( Account Agent, 简称 Acc-A )是在无线通信网络中实现离线计费的几个重 要的网络实体。 (ie, prepaid) and offline charging (ie, postpaid). Billing server (Accounting Server, called Acc-S), Accounting Client (Acc-C) and Account Agent (Acc-A) are offline charging in wireless communication networks. Several important network entities.
Acc-A 的功能是搜集离线计费信息, 例如, 收集终端使用业务的流量信 息 ( Volume Information ) 并定时将该信息发送给计费客户端。 Acc-C端则根 据从 Acc-A搜集到的离线计费信息构造终端 (终端用户) 的使用数据记录 ( Usage Data Record, 简称 UDR ) , 其中记录着相关的计费信息。 Acc-C也 需要定期向 Acc-S上报离线计费信息,此时 Acc-C将其生成的 UDR传递给计 费服务器。 Acc-S搜集上述的 UDR信息, 把同类的 UDR信息进行合并, 针 对不同业务类型对用户进行计费。 UDR包含很多信息, 如计费会话标识、 业 务数据流标识、 业务使用的流量和 /或时长、 生成该 UDR的时间戳等。 计费 会话标识可以令计费服务器知道在为哪个终端 (终端用户)计费; 业务数据 流标识则可用于标识该 UDR搜集是哪种业务的计费信息, 如语音业务、数据 业务,一般来说一种业务对应一个 UDR; 业务使用的流量和 /或时长用来表示 终端 (终端用户)使用这种业务的流量和 /或时长信息; 时间戳则用来防止因 重复收到同样 UDR而导致对终端重复计费。  The function of Acc-A is to collect offline charging information, for example, collect the volume information of the service used by the terminal and periodically send the information to the charging client. The Acc-C end constructs a usage data record (UDR) of the terminal (end user) based on the offline charging information collected from the Acc-A, in which the related charging information is recorded. Acc-C also needs to report offline charging information to Acc-S periodically. At this time, Acc-C passes the generated UDR to the accounting server. Acc-S collects the above UDR information and combines the same UDR information to charge users for different service types. The UDR contains a lot of information, such as the charging session identifier, the service data stream identifier, the traffic and/or duration of the service, the timestamp for generating the UDR, and so on. The billing session identifier can make the billing server know which terminal (end user) to charge for; the service data stream identifier can be used to identify the billing information of the UDR collection service, such as voice service and data service, generally Said that a service corresponds to a UDR; the traffic and/or duration used by the service is used to indicate the traffic and/or duration information of the terminal (end user) using the service; the timestamp is used to prevent the same UDR from being received repeatedly. Repeat billing for the terminal.
Acc-S 在对终端计费时, 一种处理方法是首先将根据计费会话标识找出 所有与该终端相关的 UDR, 然后再依照业务类型合并相关的 UDR, 最后根 据各类型业务的使用费率和使用情况对终端进行计费。 例如, 根据业务数据 流标识, Acc-S将所有与语音业务相关的 UDR合并,将其中的使用流量相加, 得到终端使用语音业务的总流量; 同样, Acc-S 也可以将所有与数据业务相 关的 UDR合并, 并得到终端使用数据业务的总流量。 然后根据两种业务不同 的使用费率分别计算出终端使用这两种业务的费用, 相加之后得到总费用。  When the Acc-S charges the terminal, one processing method is to first find all the UDRs related to the terminal according to the charging session identifier, and then merge the related UDRs according to the service type, and finally according to the usage fee of each type of service. The terminal is billed for rate and usage. For example, according to the service data flow identifier, Acc-S combines all the UDRs related to the voice service, and adds the usage traffic among them to obtain the total traffic of the voice service used by the terminal. Similarly, Acc-S can also all the data services. The associated UDR merges and gets the total traffic of the terminal using the data service. Then, according to the different usage rates of the two services, the costs of using the two services by the terminal are respectively calculated, and after adding, the total cost is obtained.
在部署离线计费功能时, 离线计费服务器一般部署在 AAA服务器上, 可 理解为 AAA服务器本身拥有 Acc-S 的功能; Acc-S也可以与 AAA服务器分 设,此时他们之间需要有适当的接口。 Acc-C部署在终端的锚点鉴权器上(接 入网关) ; Acc-A则部署在终端的锚点数据通道功能中 (接入网关) 。 当锚 点鉴权器与锚点数据通道位于同一个接入网关时, Acc-A与 Acc-C之间可以 直接通信; 而当两者位于不同接入网关时, Acc-A与 Acc-C之间可以借助接 入网关之间的接口通信。 When the offline charging function is deployed, the offline accounting server is generally deployed on the AAA server. It can be understood that the AAA server itself has the function of Acc-S; the Acc-S can also be separated from the AAA server. Interface. Acc-C is deployed on the endpoint's anchor authenticator (connected Incoming gateway); Acc-A is deployed in the anchor data channel function of the terminal (access gateway). When the anchor authenticator and the anchor data channel are located in the same access gateway, Acc-A and Acc-C can communicate directly; when the two are located in different access gateways, Acc-A and Acc-C Communication between the access gateways is possible.
在现有的家用基站系统中, 有三种不同类型的家用基站, 分别是: 闭合 模式 (CSG-CLOSDE ) 家用基站、 混合模式(CSG-OPEN ) 家用基站和开放 模式(OPEN )家用基站。 闭合模式家用基站是指只有该家用基站所属闭合用 户组( Closed Subscriber Group, CSG ) 成员的用户才可以接入该家用基站并 享受该家用基站提供的业务; 开放模式家用基站是指任何用户都可以接入该 家用基站; 混合模式家用基站是指允许 CSG用户和其他用户接入, 但会根据 用户是否属于 CSG列表来区分不同的用户类型、 实现差异化的服务质量处理 (如, CSG用户具有更高的业务优先级, 拥有更好的服务质量和业务类别)。  In the existing home base station system, there are three different types of home base stations: closed mode (CSG-CLOSDE) home base station, hybrid mode (CSG-OPEN) home base station, and open mode (OPEN) home base station. The closed mode home base station means that only the user of the Closed Subscriber Group (CSG) member of the home base station can access the home base station and enjoy the service provided by the home base station; the open mode home base station means that any user can Access to the home base station; a hybrid mode home base station refers to allowing CSG users and other users to access, but differentiates different user types according to whether the user belongs to the CSG list, and implements differentiated quality of service processing (eg, CSG users have more High business priority, with better quality of service and business category).
为了到达降低运营商网络部署的投资成本, 以及达到提高用户使用业务 的满意度(更高的业务速率) 的目的, 运营商需使用家用基站系统。 但由于 家用基站需要由用户购买并安置 (宏基站不需要用户购买并安置) , 不能有 效地吸引用户广泛地使用家用基站, 而致使家用基站业务无法顺利开展, 直 至无法开展。 发明内容  In order to achieve the goal of reducing the investment cost of the operator's network deployment and increasing the satisfaction of the user's service usage (higher service rate), the operator needs to use the home base station system. However, since the home base station needs to be purchased and placed by the user (the macro base station does not need to be purchased and placed by the user), it is not effective to attract the user to widely use the home base station, and the home base station service cannot be smoothly carried out until it cannot be carried out. Summary of the invention
本发明的目的是提供一种离线计费方法和系统,以提供差异化计费服务, 促使家用基站业务的顺利开展。  It is an object of the present invention to provide an offline charging method and system for providing differentiated charging services to facilitate the smooth development of home base station services.
为解决以上技术问题, 本发明提供了一种离线计费方法, 该方法包括: 计费客户端获取终端的计费信息并发送到计费服务器, 所述计费信息包 括用于表示服务基站类型的基站类型信息和 /或用于表示所述终端类型的用 户类型信息; 以及  To solve the above technical problem, the present invention provides an offline charging method. The method includes: the charging client acquires charging information of the terminal and sends the charging information to the charging server, where the charging information includes a type of the serving base station. Base station type information and/or user type information for indicating the type of the terminal;
所述计费服务器接收所述计费信息, 并根据所述基站类型信息和 /或用户 类型信息为所述终端计费。  The charging server receives the charging information, and charges the terminal according to the base station type information and/or user type information.
计费客户端可以通过计费请求将计费信息发送给计费服务器, 该计费请 求可以是用于通知计费服务器开始或结束对终端计费的计费请求, 或者可以 是计费期间的计费请求。 The charging client can send the charging information to the charging server through the charging request, and the charging is requested. The request may be an accounting request for notifying the charging server to start or end the charging of the terminal, or may be a charging request during the charging.
计费客户端可以采用如下方式之一获取基站类型信息和 /或用户类型信 息:  The charging client can obtain base station type information and/or user type information in one of the following ways:
通过计费信息更新请求或移动 IP协议消息从计费代理获取;  Obtaining from a charging proxy by a charging information update request or a mobile IP protocol message;
通过基站发送的消息获取基站类型信息和 /或用户类型信息, 包括: 在切 换时, 通过上下文信息交互消息、 MAC层更新消息、 数据通道预建立请求消 息或数据通道建立请求消息获取; 在初始入网时, 通过数据通道建立请求消 息、 终端预附着请求消息、 EAP转发消息、 用户标识响应消息或终端附着请 求消息获取。  Obtaining base station type information and/or user type information by using a message sent by the base station, including: acquiring, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel establishment request message during handover; The data channel establishment request message, the terminal pre-attach request message, the EAP forwarding message, the user identity response message, or the terminal attach request message is obtained.
该方法还可包括: 计费代理通过如下方式之一获得基站类型信息和 /或用 户类型信息:  The method may further include: the charging agent obtaining base station type information and/or user type information in one of the following manners:
从服务基站本地获取;  Obtained locally from the serving base station;
通过基站发送的消息获取该基站类型信息和 /或用户类型信息, 包括: 在 切换时, 通过上下文信息交互消息、 MAC层更新消息、 数据通道预建立请求 消息或数据通道建立请求消息获取; 在初始入网时, 通过数据通道建立请求 消息、 终端预附着请求消息、 EAP转发消息、 用户标识响应消息或终端附着 请求消息获取。  Acquiring the base station type information and/or user type information by using the message sent by the base station, including: acquiring, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel setup request message, at the time of handover; When accessing the network, the data channel establishment request message, the terminal pre-attach request message, the EAP forwarding message, the user identity response message, or the terminal attach request message is obtained.
计费服务器根据基站类型信息和 /或用户类型信息为终端计费时, 可至少 执行以下操作之一: 对终端的计费信息分类; 为终端选择计费费率; 为终端 选择计费模式。 服务基站可以是宏基站或家用基站。  When the charging server charges the terminal according to the base station type information and/or the user type information, at least one of the following operations may be performed: classifying the charging information of the terminal; selecting a charging rate for the terminal; and selecting a charging mode for the terminal. The serving base station may be a macro base station or a home base station.
服务基站可以是宏基站、 开放模式家用基站、 混合模式家用基站或闭合 模式家用基站。  The serving base station may be a macro base station, an open mode home base station, a hybrid mode home base station or a closed mode home base station.
终端可以是: 闭合用户组成员或非闭合用户组成员。  The terminal can be: a closed user group member or a non-closed user group member.
本发明还提供一种离线计费系统, 所述系统包括: 计费客户端和计费服 务器, 其中,  The present invention also provides an offline charging system, where the system includes: a charging client and an accounting server, where
所述计费客户端设置成获取终端的计费信息并发送到计费服务器, 所述 计费信息包括用于表示服务基站类型的基站类型信息和 /或用于表示所述终 端类型的用户类型信息; The charging client is configured to acquire charging information of the terminal and send the information to the charging server, where The charging information includes base station type information indicating a type of the serving base station and/or user type information indicating the type of the terminal;
所述计费服务器通过网络与所述计费客户端连接, 并设置成: 接收所述 计费信息, 以及根据所述基站类型信息和 /或用户类型信息为所述终端计费。  The charging server is connected to the charging client through a network, and is configured to: receive the charging information, and charge the terminal according to the base station type information and/or user type information.
计费客户端可设置成通过计费请求将计费信息发送到计费服务器, 该计 费请求可以是用于通知计费服务器开始或结束对终端计费的计费请求, 或者 可以是计费期间的计费请求。  The charging client may be configured to send the charging information to the charging server by using the charging request, where the charging request may be used to notify the charging server to start or end the charging request for the terminal charging, or may be charging. Billing request during the period.
计费客户端可设置成通过基站发送的消息获取基站类型信息和 /或用户 类型信息, 包括: 在切换时, 通过上下文信息交互消息、 MAC层更新消息、 数据通道预建立请求消息或数据通道建立请求消息获取; 在初始入网时, 通 过终端预附着请求消息、 用户标识响应消息、 终端附着请求消息、 EAP转发 消息或数据通道建立请求消息获取。  The charging client may be configured to obtain the base station type information and/or the user type information by using the message sent by the base station, including: when the handover, the context information interaction message, the MAC layer update message, the data channel pre-establishment request message, or the data channel is established. Request message acquisition; At the time of initial network access, the terminal pre-attach request message, the user identity response message, the terminal attach request message, the EAP forwarding message, or the data channel establishment request message acquisition.
该系统还可包括与计费客户端连接的计费代理; 计费客户端可通过计费 信息更新请求或移动 IP协议消息从计费代理获取基站类型信息和 /或用户类 型信息;  The system may further include a charging proxy connected to the charging client; the charging client may obtain base station type information and/or user type information from the charging proxy through a charging information update request or a mobile IP protocol message;
计费代理可设置成通过如下方式之一获得该基站类型信息和 /或用户类 型信息:  The charging agent can be configured to obtain the base station type information and/or user type information in one of the following ways:
从服务基站本地获取;  Obtained locally from the serving base station;
通过基站发送的消息获取该基站类型信息和 /或用户类型信息, 包括: 在 切换时, 通过上下文信息交互消息、 MAC层更新消息、 数据通道预建立请求 消息或数据通道建立请求消息获取; 在初始入网时, 通过终端预附着请求消 息、 用户标识响应消息、 终端附着请求消息、 EAP转发消息或数据通道建立 请求消息获取。  Acquiring the base station type information and/or user type information by using the message sent by the base station, including: acquiring, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel setup request message, at the time of handover; When accessing the network, the terminal pre-attach request message, the user identity response message, the terminal attach request message, the EAP forwarding message, or the data channel establishment request message is obtained.
计费服务器可设置成在根据基站类型信息和 /或用户类型信息为终端计 费时, 至少执行以下操作之一: 对终端的计费信息分类; 为终端选择计费费 率; 为终端选择计费模式。  The charging server may be configured to perform at least one of the following operations when charging the terminal according to the base station type information and/or the user type information: classifying the charging information of the terminal; selecting a charging rate for the terminal; Fee mode.
服务基站可以是宏基站或家用基站; 其中家用基站可以是开放模式家用 基站、 混合模式家用基站或闭合模式家用基站。 终端可以是: 闭合用户组成员或非闭合用户组成员。 The serving base station may be a macro base station or a home base station; wherein the home base station may be an open mode home base station, a hybrid mode home base station or a closed mode home base station. The terminal can be: a closed user group member or a non-closed user group member.
本发明离线计费方法和系统中, 计费客户端将服务基站的基站类型信息 或终端的用户类型信息发送给计费服务器, 计费服务器在计费时, 将基站类 型信息和 /或用户类型信息作为确定计费费率的依据, 从而为家用基站的用户 提供差异化计费服务, 能够吸引及鼓励用户广泛使用家用基站, 进而促使家 用基站业务的顺利开展。  In the offline charging method and system of the present invention, the charging client sends the base station type information of the serving base station or the user type information of the terminal to the charging server, and the charging server uses the base station type information and/or the user type when charging. As a basis for determining the billing rate, the information provides differentiated billing services for users of the home base station, which can attract and encourage users to widely use the home base station, thereby facilitating the smooth development of the home base station service.
附图概述 BRIEF abstract
图 1是现有技术中的一种包含家用基站的通信网络模型示意图。  FIG. 1 is a schematic diagram of a communication network model including a home base station in the prior art.
图 2是本发明离线计费方法的示意图。  2 is a schematic diagram of an offline charging method of the present invention.
图 3是本发明实施例一的流程示意图。  FIG. 3 is a schematic flow chart of Embodiment 1 of the present invention.
图 4是本发明实施例二的流程示意图。  4 is a schematic flow chart of Embodiment 2 of the present invention.
图 5是本发明实施例三的流程示意图。  FIG. 5 is a schematic flow chart of Embodiment 3 of the present invention.
图 6是本发明实施例四的流程示意图。 本发明的较佳实施方式  FIG. 6 is a schematic flow chart of Embodiment 4 of the present invention. Preferred embodiment of the invention
本发明离线计费方法和系统的主要思想是, 计费客户端将服务基站的基 站类型信息和 /或终端的用户类型信息发送给计费服务器, 计费服务器在计费 时, 将基站类型信息和 /或用户类型信息作为确定计费费率的依据, 从而为家 用基站的用户提供差异化计費服务, 吸引及鼓励用户广泛使用家用基站, 促 使家用基站业务的顺利开展。  The main idea of the offline charging method and system of the present invention is that the charging client sends the base station type information of the serving base station and/or the user type information of the terminal to the charging server, and the charging server uses the base station type information when charging. And the user type information is used as a basis for determining the charging rate, thereby providing a differentiated charging service for the user of the home base station, attracting and encouraging the user to widely use the home base station, and promoting the smooth development of the home base station service.
因现有计费系统不关注终端用户访问网络时使用的基站类型 (现网中都 只有宏基站) , 因此, 在现网中引入家用基站系统以后, 现有的计费系统无 法获知终端用户当前使用的基站的类型, 无法支撑运营商为用户提供差异性 计费服务。 这样, 会导致用户对使用家用基站访问网络的满意程度下降, 或 者失去兴趣(没有人会愿意自己购置家用基站安置在自己家中, 但是仍然需 要支付与使用宏基站时同样的费用) , 而本发明根据不同基站类型和 /或不同 用户类型提供差异性计费服务可以解决这一问题。 如图 2所示, 本发明离线计费方法包括: Because the existing charging system does not pay attention to the type of base station used by the terminal user to access the network (there is only a macro base station in the current network), after the home base station system is introduced in the existing network, the existing charging system cannot know the current status of the terminal user. The type of base station used cannot support operators to provide differentiated billing services for users. In this way, the user may be less satisfied with the use of the home base station to access the network, or lose interest (no one would be willing to purchase the home base station to be placed in his own home, but still need to pay the same fee as when using the macro base station), and the present invention Providing differential charging services based on different base station types and/or different user types can solve this problem. As shown in FIG. 2, the offline charging method of the present invention includes:
步骤 201 : 计费客户端获取终端的计费信息并发送到计费服务器, 所述 计费信息包括用于表示服务基站类型的基站类型信息和 /或用于表示所述终 端类型的用户类型信息;  Step 201: The charging client acquires charging information of the terminal and sends the charging information to the charging server, where the charging information includes base station type information indicating a type of the serving base station and/or user type information indicating the type of the terminal. ;
所述计费客户端通过计费请求 /开始、 计费请求 /中间或计费请求 /结束消 息将所述计费信息发送到所述计费服务器。  The billing client transmits the billing information to the billing server via a billing request/start, billing request/intermediate or billing request/end message.
所述计费客户端从计费代理获取所述基站类型信息和 /或用户类型信息; 所述计费代理从所述服务基站本地获取或从基站发送的消息中获取所述基站 类型信息和 /或用户类型信息。  The charging client acquires the base station type information and/or the user type information from the charging proxy; the charging proxy acquires the base station type information and/or from a message sent by the base station locally or from a message sent by the base station. Or user type information.
步骤 202: 所述计费服务器接收所述计费信息, 并根据所述基站类型信 息、 用户类型信息或两者的组合为所述终端计费, 实现差异化计费服务。  Step 202: The charging server receives the charging information, and performs charging for the terminal according to the base station type information, user type information, or a combination of the two, to implement a differentiated charging service.
本发明所说的差异性计费服务体现在: 使用家用基站访问的资费标准低 于使用宏基站访问网络的资费标准; 使用不同类型的家用基站访问网络对应 不同的计费策略, 例如使用不同类型的家用基站对应不同的资费标准、 对应 不同的计费模式 (例如, 闭合模式家用基站对应按时常计费、 开放模式家用 基站对应按流量计费) 。  The differential charging service according to the present invention is embodied in: the tariff standard used by the home base station is lower than the tariff standard used by the macro base station to access the network; the different types of home base station access networks correspond to different charging policies, for example, using different types. The home base station corresponds to different tariff standards and corresponds to different charging modes (for example, the closed mode home base station corresponds to the time-based charging, and the open mode home base station corresponds to the metering fee).
实际上, 离线计费客户端还可以通知离线计费服务器当前终端 (终端用 户)的用户类型(CSG成员, 非 CSG成员), 来实现为用户提供差异性计费 服务。例如, CSG成员通过闭合模式家用基站或混合模式家用基站访问网络 时, 获得较低的资费标准; 非 CSG成员通过开放模式家用基站或混合模式家 用基站访问网络时, 获得较高的资费标准等。  In fact, the offline charging client can also notify the offline charging server of the current terminal (terminal user) user type (CSG member, non-CSG member) to provide differentiated charging service for the user. For example, when a CSG member accesses a network through a closed mode home base station or a hybrid mode home base station, a lower tariff standard is obtained; when a non-CSG member accesses the network through an open mode home base station or a hybrid mode home base station, a higher tariff standard is obtained.
所述计费服务器根据所述基站类型信息、 用户类型信息或两者的组合为 所述终端计费时至少执行以下操作之一: 对所述终端的计费信息分类; 为所 述终端选择计费费率; 为所述终端选择计费模式。 以下给出几种差异计费服 务的具体实现方式:  The charging server performs at least one of the following operations when charging the terminal according to the base station type information, user type information, or a combination of the two: classifying charging information of the terminal; Fee rate; select the billing mode for the terminal. The following is a detailed implementation of several differential billing services:
1、服务基站类型包括宏基站和家用基站, 计费服务器将所述基站类型信 息作为确定费率的依据时, 相同情况下, 宏基站的费率高于家用基站的费率。  1. The serving base station type includes a macro base station and a home base station. When the charging server uses the base station type information as a basis for determining the rate, in the same case, the rate of the macro base station is higher than the rate of the home base station.
2、 服务基站类型包括宏基站、 开放模式家用基站、 混合模式家用基站和 闭合模式家用基站, 所述计费服务器将所述基站类型信息作为确定费率的依 据时, 相同情况下, 费率依次降低。 2. The serving base station type includes a macro base station, an open mode home base station, a hybrid mode home base station, and In the closed mode home base station, when the charging server uses the base station type information as a basis for determining the rate, in the same case, the rates are sequentially decreased.
3、 终端类型包括: 闭合用户组成员和非闭合用户组成员, 计费服务器将 所述用户类型信息作为确定费率的依据时, 相同情况下, 非闭合用户组成员 的费率高于闭合用户组成员的费率。  3. The terminal type includes: a closed user group member and a non-closed user group member. When the charging server uses the user type information as a basis for determining the rate, in the same case, the rate of the non-closed user group member is higher than the closed user. The rate of group members.
4、 服务基站类型包括宏基站、 开放模式家用基站、 混合模式家用基站和 闭合模式家用基站; 所述终端类型包括: 闭合用户组成员和非闭合用户组成 员; 计费服务器将所述基站类型信息和用户类型信息组合作为确定费率的依 据时, 相同情况下, 费率由高到低的顺序为: 宏基站下的非闭合用户组成员、 开放模式家用基站下的非闭合用户组成员、 混合模式家用基站下的非闭合用 户组成员、 混合模式家用基站下的闭合用户组成员、 闭合模式家用基站下的 闭合用户组成员。  4. The serving base station type includes a macro base station, an open mode home base station, a hybrid mode home base station, and a closed mode home base station; the terminal type includes: a closed subscriber group member and a non-closed subscriber group member; and the charging server sets the base station type information. When combined with user type information as the basis for determining the rate, in the same case, the order of the rates from high to low is: non-closed user group members under the macro base station, non-closed user group members under the open mode home base station, and hybrid A non-closed subscriber group member under the mode home base station, a closed subscriber group member under the hybrid mode home base station, and a closed subscriber group member under the closed mode home base station.
以上 4中方式仅为示意, 具体实现时并不限于以上示例。  The above four modes are merely illustrative, and the specific implementation is not limited to the above examples.
以下结合附图对本发明方法的具体实现进行详细说明:  The specific implementation of the method of the present invention will be described in detail below with reference to the accompanying drawings:
实施例一  Embodiment 1
图 3是(离线)计费客户端向 (离线)计费服务器反馈对终端的计费信息 时, 通知 (离线) 计费服务器在统计该计费信息时, 终端的服务基站类型, 和 Z或终端 (终端用户) 的用户类型的方法, 具体包含以下步骤:  3 is a (offline) charging client when the (offline) charging server feeds back the charging information to the terminal, and informs the (offline) charging server when the charging information is counted, the service base station type of the terminal, and Z or The method of the user type of the terminal (end user) specifically includes the following steps:
步骤 301 : (离线)计费客户端 (以下筒称 Acc-C ) 收到对终端 (终端用 户) 开始计费的触发消息;  Step 301: The (offline) charging client (hereinafter referred to as Acc-C) receives a trigger message for starting charging of the terminal (terminal user);
一般来说, 在终端完成入网时或者开始业务时 (如, 使用数据业务访问 Internet网络) , 由终端直接发出或通过其他网元间接发出该触发消息。  Generally, when the terminal completes the network access or starts the service (for example, using the data service to access the Internet network), the trigger message is directly sent by the terminal or indirectly through other network elements.
步骤 302: Acc-C向 (离线)计费服务器 (以下筒称 Acc-S )发送用于请 求 Acc-S开始对终端(终端用户)计费的计费请求( Accounting-Request/Start, 以下记作 "计费请求 /开始) , 其中携带终端的服务基站的基站类型信息, 和 /或终端的用户类型信息;  Step 302: The Acc-C sends a charging request for requesting the Acc-S to start charging the terminal (end user) to the (offline) charging server (hereinafter referred to as Acc-S) (Accounting-Request/Start, following As "accounting request/start", where the base station type information of the serving base station carrying the terminal, and/or the user type information of the terminal;
此消息也可以将 Acc-C 当前搜集到的计费信息, 以 UDR的形式发送到 Acc-S , 终端的服务基站类型信息, 和 /或终端 (终端用户) 的用户类型信息 包含在该 UDR形式的计费信息中。 This message may also send the billing information currently collected by Acc-C to the Acc-S, the service base station type information of the terminal, and/or the user type information of the terminal (end user) in the form of UDR. It is included in the billing information of the UDR form.
步骤 303: Acc-S 收到计费请求 /开始以后, 创建该计费会话的上下文信 息, 例如将计费会话标识与终端对应起来, 并对该终端开始计费, Acc-S还 将上述 Acc-C发送过来的 UDR保存在本地, 最后, Acc-S向 Acc-C返回计费 响应 /开始;  Step 303: After the Acc-S receives the charging request/start, the context information of the charging session is created, for example, the charging session identifier is associated with the terminal, and charging is started for the terminal, and the Acc-S also refers to the foregoing Acc. - The UDR sent by -C is saved locally, and finally, Acc-S returns the charging response/start to Acc-C;
步骤 304: 计费期间 , Acc-C向 Acc-S发送用以更新相关信息的计费请求 ( Accountmg-Request/Intenm-Update , 以下记作 "计费请求 /中间") , 其中携 带终端的服务基站的基站类型信息, 和 /或终端的用户类型信息;  Step 304: During the charging period, the Acc-C sends a charging request (Accountmg-Request/Intenm-Update, hereinafter referred to as "accounting request/intermediate") for updating the related information to the Acc-S, where the service of the terminal is carried. Base station type information of the base station, and/or user type information of the terminal;
在计费开始以后, Acc-C需要釆集终端的计费信息, 例如, Acc-A将与 该终端相关的计费信息上报到 Acc-C。 在采集到上述的计费信息时, Acc-C 将之转换成 UDR, 并緩存在本地, 其中, UDR 包含计费会话标识等信息以 及 Acc-C获取到的终端的服务基站类型, 和 /或用户类型。  After the start of the charging, the Acc-C needs to collect the charging information of the terminal. For example, the Acc-A reports the charging information related to the terminal to the Acc-C. When collecting the above charging information, Acc-C converts it into a UDR and caches it locally. The UDR includes information such as the charging session identifier and the type of serving base station of the terminal acquired by the Acc-C, and/or user type.
以下以终端通过不同类型的基站接入网络使用数据业务为例, 说明上文 的含义:  The following uses the data service that the terminal accesses the network through different types of base stations as an example to illustrate the above meanings:
假设当前终端通过家用基站接入网络使用数据业务, 由上文描述可知, Assuming that the current terminal accesses the network through the home base station to use the data service, as described above,
Acc-A 可以监控终端使用业务的情况, 搜集计费信息 (如; 流量) 。 Acc-A 还可以周期地(如,每间隔 20秒)将搜集到的计费信息发送到 Acc-C。 Acc-C 收到计费信息后, 根据该计费信息构造 UDR, 在 UDR中填写相关的信息, 包括: 计费会话标识; 业务数据流标识 (此时该标识可以表明其是一个数据 业务) ; 终端使用该业务时, 使用的服务基站的类型 (此时的基站类型是家 用基站) 。 那么, 进一步的, Acc-C还可以在 UDR中填写家用基站的类型, 如, 闭合模式家用基站, 混合模式家用基站, 开放模式家用基站。 Acc-A can monitor the use of services by the terminal and collect billing information (such as traffic). Acc-A can also periodically send (for example, every 20 seconds) the collected billing information to Acc-C. After receiving the accounting information, the Acc-C constructs a UDR based on the charging information, and fills in the related information in the UDR, including: a charging session identifier; a service data flow identifier (in this case, the identifier can indicate that it is a data service) The type of serving base station used when the terminal uses the service (the base station type at this time is the home base station). Then, further, Acc-C can also fill in the type of home base station in the UDR, such as a closed mode home base station, a hybrid mode home base station, and an open mode home base station.
使用同样的原理, Acc-C也可以在 UDR中填写终端使用该业务时所属的 用户类型 (CSG用户, 或非 CSG用户) 。  Using the same principle, Acc-C can also fill in the UDR the type of user (CSG user, or non-CSG user) that the terminal belongs to when using the service.
如上文所述, 在计费开始以后, Acc-C 需要采集终端的计费信息, 并将 之转换为 UDR, 在此处理之后, Acc-C将这些 UDR暂时保持在本地。 Acc-C 一般会与 Acc-S协商周期上报计费信息 (UDR ) , 例如, 每间隔 5分钟上报 一次, 则此时, 当协商的好的上报时隙到达时, Acc-C会将其在这段时间内 搜集到的全部 UDR, 通过计费请求 /中间消息发送到 Acc-S。 As described above, after the billing starts, Acc-C needs to collect the billing information of the terminal and convert it into a UDR. After this processing, Acc-C temporarily holds these UDRs locally. Acc-C usually reports the accounting information (UDR) with the Acc-S negotiation cycle. For example, it is reported once every 5 minutes. At this time, when the negotiated good reporting time slot arrives, Acc-C will report it. During this time All UDRs collected are sent to Acc-S through a charging request/intermediate message.
值得说明的是, 步骤 302对该 UDR的处理与本步骤所述方法相同。  It should be noted that the processing of the UDR in step 302 is the same as the method described in this step.
步骤 305: Acc-S收到计费请求 /中间消息以后, 将其中携带的 UDR保存 在本地, 并向 Acc-C返回计费响应 /中间消息;  Step 305: After receiving the charging request/intermediate message, the Acc-S saves the UDR carried therein locally, and returns an accounting response/intermediate message to the Acc-C.
其中, 值得注意的是, 在一个计费会话的生存周期中, 步骤 304至步骤 Among them, it is worth noting that in the life cycle of a charging session, step 304 to step
305会多次重复执行, 例如, 每间隔 5分钟执行一次。 这样做的好处是防止 Acc-C丟失 UDR信息。 The 305 will be repeated multiple times, for example, every 5 minutes. The benefit of this is to prevent Acc-C from losing UDR information.
步骤 306: 计费客户端收到对终端 (终端用户)停止计费的触发消息; 例如, 在终端退网时, 或者, 在终端结束业务时 (如, 结束访问 Internet 网络)计费客户端收到停止计费的触发消息。  Step 306: The charging client receives a trigger message for stopping the charging of the terminal (the terminal user); for example, when the terminal exits the network, or when the terminal ends the service (for example, ends the access to the Internet network), the charging client receives the message. Trigger message to stop charging.
步骤 307: Acc-C向 Acc-S发送用于请求 Acc-S停止对终端 (终端用户 ) 计费的计费请求(Accounting-Request/Stop, 以下记作 "计费请求 /停止" ) 消 息, 其中携带终端的服务基站的基站类型信息, 和 /或终端的用户类型信息; 计费请求 /停止消息用于通知 Acc-S停止对终端 (终端用户)计费。  Step 307: The Acc-C sends a charging request (Accounting-Request/Stop, hereinafter referred to as "accounting request/stop") message for requesting the Acc-S to stop the charging of the terminal (end user) to the Acc-S. The base station type information of the serving base station carrying the terminal, and/or the user type information of the terminal; the charging request/stop message is used to notify the Acc-S to stop charging the terminal (end user).
Acc-C在此时需要将生成的, 但是还没有发送给 Acc-S的与该终端相关 的 UDR使用该计费请求 /停止消息全部发送给 Acc-S。同步骤 304中所述的方 法, 终端的服务基站的基站类型信息, 和 /或终端所属的用户类型信息包含在 这些 UDR中。  At this time, the Acc-C needs to transmit all the UDRs associated with the terminal that have not been sent to the Acc-S to the Acc-S using the charging request/stop message. The method described in step 304, the base station type information of the serving base station of the terminal, and/or the user type information to which the terminal belongs are included in these UDRs.
步骤 308: Acc-S收到计费请求 /停止消息以后, 将其中携带的 UDR保存 在本地, 并向 Acc-C返回计费响应 /停止消息;  Step 308: After receiving the charging request/stop message, the Acc-S saves the UDR carried therein locally, and returns an accounting response/stop message to the Acc-C.
通过本实施例描述的方法, 可以使得与终端 (终端用户)相关的计费信 息(UDR ) 中包含终端所使用的基站类型信息, 和 /或用户类型信息, 以实现 对终端 (终端用户) 的差异性计费。 以下具体说明如何实现:  Through the method described in this embodiment, the charging information (UDR) related to the terminal (end user) may include the base station type information used by the terminal, and/or the user type information, to implement the terminal (end user). Differential billing. The following specifically explains how to achieve:
在 Acc-S得到上述的与终端相关的 UDR信息以后的任意时刻, 例如, 终 端退网以后, 或者业务执行完毕以后, 又或者是运营商规定的时间点 (如, 每天 0点) , Acc-S将会处理这些 UDR, 并对用户离线计费, 比如, 采用如 下方法:  At any time after the Acc-S obtains the above-mentioned terminal-related UDR information, for example, after the terminal exits the network, or after the service is completed, or at the time specified by the operator (for example, 0:00 every day), Acc- S will process these UDRs and charge users offline, for example, using the following methods:
A. Acc-S取出与该终端相关的所有 UDR, 并对该终端 (用户) 的计费 信息进行分类(即, 对 UDR进行分类) , 例如按业务类型归类, 将语音业务 归为一类, 将数据业务归为一类, 以下以数据业务依照流量计费为例。 A. Acc-S takes out all UDRs associated with the terminal and charges the terminal (user) The information is classified (that is, the UDR is classified), for example, classified by service type, and the voice services are classified into one class, and the data services are classified into one class. The following is an example in which the data service is based on the flow rate.
B. 取出与数据业务相关的 UDR, 继续对上述计費信息分类, 其中, 还 包括依照终端的基站类型, 和 /或用户类型分类。 以下 B1 和 B2是仅依照基 站类型分类的例子, B3是仅依照用户类型分类的例子, B4是结合基站类型, 用户类型分类的例子。  B. Retrieving the UDR related to the data service, and continuing to classify the foregoing charging information, which further includes classifying according to the type of the base station of the terminal, and/or the type of the user. The following B1 and B2 are examples categorized only by base station type, B3 is an example classified only by user type, and B4 is an example of combining user type classification in combination with base station type.
B1. 将 UDR依照基站类型是宏基站、 家用基站分成两类, 如, 基站类型 是宏基站费率是 1 (高) , 基站类型是家用基站的费率是 1/2 (低) 。  B1. The UDR is classified into two types according to the type of the base station: the macro base station and the home base station. For example, the base station type is that the macro base station rate is 1 (high), and the base station type is the home base station rate is 1/2 (low).
B2. 将 UDR依照基站类型是宏基站、 开放模式家用基站、 混合模式家用 基站、 闭合模式家用基站分类, 如, 宏基站的费率为 1 (高) , 开放模式家 用基站的费率为 2/3 (较高) , 混合模式家用基站的费率为 1/2 (中) , 闭合 模式家用基站的费率为 1/3 (低) 。  B2. The UDR is classified according to the type of the base station: a macro base station, an open mode home base station, a hybrid mode home base station, and a closed mode home base station. For example, the macro base station rate is 1 (high), and the open mode home base station rate is 2/. 3 (higher), the mixed mode home base station rate is 1/2 (middle), and the closed mode home base station rate is 1/3 (low).
B3. 将 UDR依照终端的用户类型是 CSG用户、 非 CSG用户分为两类, 如, 若终端以非 CSG成员角色访问网络(例如, 通过宏基站、 开放模式家用 基站、 混合模式家用基站) , 费率为 1 (高) , 若终端用户以 CSG成员角色 访问网络(例如, 通过闭合模式家用基站、 混合模式家用基站) , 费率为 1/2 (低) 。  B3. The UDR is classified into two types according to the user type of the terminal: the CSG user and the non-CSG user. For example, if the terminal accesses the network in a non-CSG member role (for example, through a macro base station, an open mode home base station, or a hybrid mode home base station), The rate is 1 (high). If the end user accesses the network as a CSG member role (for example, through a closed mode home base station, a mixed mode home base station), the rate is 1/2 (low).
B4. 将 UDR结合终端的服务基站类型, 以及用户类型组合分类: 终端的 服务基站是宏基站, 此时用户类型一定是非 CSG成员, 可归为 (宏基站, 非 CSG成员 )类, 费率为 1 (高) ; 终端的服务基站是开放模式家用基站, 此 时用户类型一定是非 CSG成员, 可归为 (开放模式家用基站, 非 CSG成员) 类, 费率为 2/3 (中); 终端的服务基站是混合模式家用基站, 则若终端不是 该家用基站的 CSG成员, 归为 (混合模式家用基站, 非 CSG成员) 类, 费 率为 2/3 (中) , 而若终端是该家用基站的 CSG成员, 就归为 (混合模式家 用基站, CSG成员 )类费率为 1/3 (低) ; 终端的服务基站是闭合模式家用 基站,则用户类型一定是 CSG成员,可归为(闭合模式家用基站, CSG成员) 类, 费率为 1/3 (低) 。  B4. The UDR is combined with the service base station type of the terminal and the user type combination: The serving base station of the terminal is a macro base station, and the user type must be a non-CSG member, which can be classified into a (macro base station, non-CSG member) class, and the rate is 1 (high); The service base station of the terminal is an open mode home base station. At this time, the user type must be a non-CSG member, which can be classified into (open mode home base station, non-CSG member) class, and the rate is 2/3 (middle); terminal The serving base station is a mixed mode home base station, and if the terminal is not a CSG member of the home base station, classified as a (mixed mode home base station, non-CSG member) class, the rate is 2/3 (middle), and if the terminal is the home The CSG member of the base station is classified as (mixed mode home base station, CSG member) rate rate is 1/3 (low); the service base station of the terminal is a closed mode home base station, and the user type must be a CSG member, which can be classified as ( Closed mode home base station, CSG member) class, the rate is 1/3 (low).
C. 将分好类的 UDR合并, 例如, 将类中各 UDR中记录的流量相加, 然后与各自的费率一起计算出每类的价格总额。 最后将各类价格总额相加, 得到最终对用户的计费信息。 C. Merging the well-classed UDRs, for example, adding the traffic recorded in each UDR in the class, and then calculating the total price of each class together with the respective rates. Finally, add the total price of each type, Get the final billing information for the user.
最后, 值得说明的是, 为了表示基站类型信息, 可以在上述的 UDR中增 加参数 BSTYPE, 并令 BSTYPE=0表示宏基站 ( Macro BS ) ; BSTYPE=1表 示开放模式(OPEN ) 家用基站; BSTYPE=2表示混合模式(CSG-OPEN ) 家 用基站; BSTYPE=3 表示闭合模式 (CSG-CLOSED ) 家用基站。 还可令 BSTYPE=0为默认值, 即若 UDR不携带参数 BSTYPE时, 默认服务基站类 型为宏基站。 或者, 采用另外一种方式, 在 UDR中增加参数 BSTYPE=0表 示宏基站 ( Macro BS ) ; BSTYPE=1 , SUBTYPE=1表示开放模式(OPEN ) 家用基站; BSTYPE=1 , SUBTYPE=2表示混合模式(CSG-OPEN )家用基站; BSTYPE=1 , SUBTYPE=3表示闭合模式(CSG-CLOSED ) 家用基站。 同样, 也可以令 BSTYPE=0为默认值, 含义与上同。  Finally, it is worth noting that, in order to represent the base station type information, the parameter BSTYPE may be added to the above UDR, and BSTYPE=0 indicates that the macro base station (Macs); BSTYPE=1 indicates the open mode (OPEN) home base station; BSTYPE= 2 indicates mixed mode (CSG-OPEN) home base station; BSTYPE=3 indicates closed mode (CSG-CLOSED) home base station. It is also possible to make BSTYPE=0 the default value, that is, if the UDR does not carry the parameter BSTYPE, the default serving base station type is a macro base station. Alternatively, in another manner, adding a parameter BSTYPE=0 in the UDR indicates a macro base station (Mac BS); BSTYPE=1, SUBTYPE=1 indicates an open mode (OPEN) home base station; BSTYPE=1, SUBTYPE=2 indicates a mixed mode (CSG-OPEN) Home base station; BSTYPE=1, SUBTYPE=3 indicates closed mode (CSG-CLOSED) home base station. Similarly, you can also make BSTYPE=0 the default value, with the same meaning as above.
为了表示用户类型信息, 可以在 UDR 中增加参数 USERTYPE, 并令 USERTYPE=0表示非 CSG成员 (Non-CSG Member ) ; USERTYPE=1表示 CSG成员 (CSG Member ) 。 还可令 USERT YPE=0为默认值, 即若 UDR不 携带参数 USERTYPE时, 默认用户类型为非 CSG成员。  To represent user type information, you can add the parameter USERTYPE to the UDR, and let USERTYPE=0 indicate non-CSG members (Non-CSG Member); USERTYPE=1 indicates CSG members. You can also make USERT YPE=0 the default value. If the UDR does not carry the parameter USERTYPE, the default user type is non-CSG member.
根据实际应用, 上述的 BSTYPE ( SUBTYPE )可以与 USERTYPE组合 使用, 也可以单独各自使用, 都可以在不同的程度上实现对终端(终端用户) 的差异性计费。  According to the actual application, the above BSTYPE (SUBTYPE) can be used in combination with USERTYPE, or can be used separately, and the differential charging for the terminal (end user) can be realized to different extents.
实施例二  Embodiment 2
由上文描述可知, (离线)计费代理 (Acc-A )位于锚点数据通道功能, 其作用是监控终端使用网络的情况(如, 执行业务时所使用的流量) , 并搜 集计费信息。 在计费代理搜集到计费信息, 并向计费客户端上报计費信息时, 需要将终端当前的服务基站的类型, 和 /或用户类型发送给计费客户端, 如图 4所示, 具体包含以下步骤:  As can be seen from the above description, the (offline) charging agent (Acc-A) is located in the anchor data channel function, and its function is to monitor the situation in which the terminal uses the network (for example, the traffic used when performing the service), and collect the charging information. . When the charging agent collects the charging information and reports the charging information to the charging client, the type of the current serving base station and/or the user type of the terminal need to be sent to the charging client, as shown in FIG. Specifically, it includes the following steps:
步骤 401: Acc-A向 Acc-C发送定期计费信息更新请求消息,用以向 Acc-C 上报最近搜集到的终端的 (离线)计费信息, 其中携带终端的服务基站的基 站类型信息, 和 /或终端的用户类型信息;  Step 401: The Acc-A sends a periodic charging information update request message to the Acc-C to report the (offline) charging information of the recently collected terminal to the Acc-C, where the base station type information of the serving base station carrying the terminal, And/or user type information of the terminal;
如步骤 304中所述的方法, Acc-A可以周期地将搜集到的计费信息通过 定期计费信息更新请求 ( Bulk Interim Update ) 消息发送到 Acc-C。 这些信息 能够反应终端使用的业务类型,以及使用量(如,流量),该消息还携带 Acc-A 获取到的终端的服务基站的基站类型信息, 和 /或终端的用户类型信息。 As described in step 304, Acc-A can periodically pass the collected charging information. A Bulk Interim Update message is sent to the Acc-C. The information can reflect the type of service used by the terminal, and the amount of usage (eg, traffic). The message also carries the base station type information of the serving base station of the terminal acquired by the Acc-A, and/or the user type information of the terminal.
步骤 402: Acc-C用定期计费信息更新应答消息响应 Acc-A, 通知 Acc-A 计费信息已经收到;  Step 402: The Acc-C responds with the periodic charging information update response message Acc-A, and notifies that the Acc-A charging information has been received;
步骤 403: Acc-C向 Acc-S发送计费请求 /开始, 计费请求 /中间, 或计费 请求 /结束消息, 其中携带包含终端的服务基站的基站类型信息, 和 /或终端的 用户类型信息的 UDR信息;  Step 403: The Acc-C sends a charging request/start, an accounting request/intermediate, or an accounting request/end message to the Acc-S, where the base station type information of the serving base station including the terminal, and/or the user type of the terminal are carried. UDR information of information;
接收到来自 Acc-A的定期计费信息更新请求消息以后, Acc-C从中取出 相关的计费信息, 并生成一个或者多个 UDR。 此时, Acc-C可以从该定期计 费信息更新请求消息中取到终端当前的服务基站的类型信息, 和 /或终端的用 户类型信息,并依照步骤 204所述的方法,将这些信息添加到响应的 UDR中。  After receiving the periodic charging information update request message from Acc-A, Acc-C takes out the relevant charging information and generates one or more UDRs. At this time, the Acc-C may obtain the type information of the current serving base station of the terminal, and/or the user type information of the terminal, from the periodic charging information update request message, and add the information according to the method described in step 204. Into the response UDR.
在本步骤中, Acc-C根据实际情况向 Acc-S发送计费请求 /开始, 计费请 求 Z中间, 或计费请求 Z结束消息。  In this step, Acc-C sends a charging request/start, charging request Z intermediate, or charging request Z end message to the Acc-S according to the actual situation.
步骤 404: Acc-S收到计费请求 /开始(中间, 结束)消息以后, 将其中携带 的 UDR保存在本地, 并向 Acc-C返回计费应答 /开始 (中间, 结束) 消息。  Step 404: After receiving the charging request/start (intermediate, end) message, the Acc-S saves the UDR carried therein locally, and returns a charging response/start (intermediate, ending) message to the Acc-C.
同样, 依照实施例一中描述的方法, Acc-S最后可以对 UDR依照基站类 型, 和 /或用户类型分类, 并实现对终端 (终端用户) 的差异性计费, 其原理 相同, 在此不再贅述。  Similarly, according to the method described in Embodiment 1, the Acc-S may finally classify the UDR according to the type of the base station, and/or the user type, and implement differential charging for the terminal (end user), the principle is the same, Let me repeat.
实施例三  Embodiment 3
终端在基站之间执行切换时, 由新的服务基站 (称之为目标基站)将上 述基站类型信息和 /或用户类型信息发送到 (离线)计费代理的方法, 如图 5 所示, 具体包含以下步骤:  When the terminal performs handover between the base stations, the new serving base station (referred to as the target base station) sends the foregoing base station type information and/or user type information to the (offline) charging proxy, as shown in FIG. 5, specifically Contains the following steps:
步骤 501 : 移动终端向服务基站发送切换指示;  Step 501: The mobile terminal sends a handover indication to the serving base station.
在移动终端确定了即将切换进入的新的服务基站 (目标基站) 以后, 移 动终端需要向其当前的服务基站发送移动指示消息( MOB_HO-IND ) , 该消 息中携带目标基站的标识。  After the mobile terminal determines the new serving base station (target base station) to be switched in, the mobile terminal needs to send a mobile indication message (MOB_HO-IND) to its current serving base station, the message carrying the identity of the target base station.
步骤 502: 服务基站向目标基站发出切换确认(HO_Cnf ) 消息, 通知移 动终端即将切换到该目标基站; 目标基站使用切换同意( HO— Ack )消息回应 服务基站; Step 502: The serving base station sends a handover confirmation (HO_Cnf) message to the target base station, and notifies the handover. The mobile terminal is about to switch to the target base station; the target base station responds to the serving base station by using a handover consent (HO_Ack) message;
步骤 503 : 目标基站向终端的锚点鉴权器发送上下文请求消息; 锚点鉴 权器使用上下文应答消息回应目标基站;  Step 503: The target base station sends a context request message to the anchor authenticator of the terminal; the anchor authenticator responds to the target base station by using a context response message;
若目标基站还未拥有终端的上下文信息(例如, AK上下文信息 ), 则此 时, 目标基站可以向终端的锚点鉴权器发送上下文请求 (Context— Req ) , 用 以获取终端的上下文信息。  If the target base station does not already have the context information of the terminal (for example, AK context information), then the target base station may send a context request (Context_Req) to the anchor authenticator of the terminal to obtain the context information of the terminal.
步骤 504: 目标基站向终端的锚点接入网关 (锚点数据通道功能 )发数 据通道预建立请求, 其中携带终端的服务基站的基站类型信息, 和 /或终端的 用户类型信息; 锚点接入网关 (锚点数据通道功能)使用数据通道预建立响 应回应目标基站;  Step 504: The target base station sends a data channel pre-establishment request to the anchor access gateway (anchor data channel function) of the terminal, where the base station type information of the serving base station carrying the terminal, and/or the user type information of the terminal; The ingress gateway (anchor data channel function) uses the data channel pre-establishment response to respond to the target base station;
若目标基站还没有为终端与锚点数据通道功能之间预建立数据通道, 则 在本步驟中, 目标基站需要向锚点数据通道功能发送数据通道预建立请求 ( Path_Prereg_Req ) , 用于预建立数据通道。 此时, 目标基站可以使用该消 息将终端的服务基站类型, 和 /或终端的用户类型发送到 Acc-A (其驻留在锚 点数据通道功能) 。  If the target base station has not pre-established a data channel between the terminal and the anchor data channel function, in this step, the target base station needs to send a data channel pre-establishment request (Path_Prereg_Req) to the anchor data channel function, for pre-establishing data. aisle. At this time, the target base station can use the message to send the terminal's serving base station type, and/or the terminal's user type to Acc-A (which resides in the anchor data channel function).
这里所说的基站类型以及用户类型, 是指当该目标基站成为终端的服务 基站时 (即, 切换完成, 终端切换到该目标基站时) , 终端的服务基站类型 以及终端在该基站上的用户类型。  The type of base station and the type of user referred to herein refer to the type of serving base station of the terminal and the user of the terminal at the base station when the target base station becomes the serving base station of the terminal (ie, when the handover is completed, the terminal switches to the target base station). Types of.
首先, 该目标基站知道自己的基站类型, 依照实施例一中表达基站类型 的方式: 若是宏基站, 则在上述数据通道预建立请求携带指示, 用于表明基 站类型是宏基站; 或者, 也可以不携带该指示, 此时, Acc-A (接收方)将默 认基站类型为宏基站; 若是家用基站, 则在上述数据通道预建立请求中携带 指示, 用于表明基站类型是家用基站, 进一步的还可以表明是何种类型的家 用基站 (闭合模式家用基站, 混合模式家用基站, 开放模式家用基站等) 。  First, the target base station knows its own type of base station, and the method for expressing the type of the base station according to the first embodiment: if it is a macro base station, the pre-establishment request carrying indication in the data channel is used to indicate that the base station type is a macro base station; or The indication is not carried. In this case, the Acc-A (receiver) defaults the base station type to a macro base station; if it is a home base station, carries an indication in the data channel pre-establishment request to indicate that the base station type is a home base station, and further It can also indicate what type of home base station (closed mode home base station, hybrid mode home base station, open mode home base station, etc.).
其次, 该目标基站知道终端在该基站上的用户类型, 依照实施例一中描 述的表达用户类型的方式: 若是宏基站, 则忽略此参数, Acc-A (接收方)将 默认用户类型为非 CSG成员; 若是家用基站, 则家用基站会首先判断该终端 是不是自身的 CSG成员, 并将判断结果作为一个指示发送到 Acc-A, 用来表 明当前终端的用户类型(CSG成员, 非 CSG成员)。 其中, 若家用基站也忽 略此参数(如,开放模式家用基站),那么接收方也将默认用户类型为非 CSG 成员。 Secondly, the target base station knows the user type of the terminal at the base station, and the manner of expressing the user type according to the first embodiment: if it is a macro base station, the parameter is ignored, and the Acc-A (receiver) defaults the default user type to CSG member; if it is a home base station, the home base station will first judge the terminal Is it a CSC member of its own, and sends the judgment result as an indication to Acc-A, which is used to indicate the user type (CSG member, non-CSG member) of the current terminal. If the home base station also ignores this parameter (for example, an open mode home base station), the receiver also sets the default user type to a non-CSG member.
Acc-A获取到上述的基站类型信息, 和 /或用户类型信息以后, 将之保存 在本地。 Acc-A还可以将这两个参数与上述目标基站的基站标识(Base Station Identify, BSID ) 关联起来。  After Acc-A obtains the above-mentioned base station type information, and/or user type information, it is saved locally. Acc-A can also associate these two parameters with the base station identity (BSID) of the target base station.
步骤 505: 终端向目标基站发送测距请求, 表明终端将要切换至该目标 基站;  Step 505: The terminal sends a ranging request to the target base station, indicating that the terminal is to be handed over to the target base station.
步骤 506: 目标基站向终端回应测距响应, 同时, 执行终端重入网过程; 步骤 507: 目标基站 (新的服务基站 ) 向锚点鉴权器发送 CMAC密钥计 数更新请求; 锚点鉴权器使用 CMAC密钥计数更新确认回应服务基站;  Step 506: The target base station responds to the ranging response to the terminal, and performs a terminal re-entry procedure. Step 507: The target base station (new serving base station) sends a CMAC key count update request to the anchor authenticator; the anchor authenticator Confirming the response to the serving base station using the CMAC key count update;
步骤 508: 目标基站 (新的服务基站) 向终端的锚点接入网关 (锚点数 据通道功能)发数据通道建立请求, 其中携带终端的服务基站的基站类型信 息, 和 /或终端的用户类型信息; 锚点接入网关 (锚点数据通道功能)使用数 据通道建立响应回应目标基站;  Step 508: The target base station (new serving base station) sends a data channel establishment request to the anchor access gateway (anchor data channel function) of the terminal, where the base station type information of the serving base station carrying the terminal, and/or the user type of the terminal Information; an anchor access gateway (anchor data channel function) uses a data channel to establish a response to the target base station;
目标基站需要为终端与锚点数据通道功能间正式建立数据通道。 此时, 目标基站向锚点数据通道功能发送数据通道建立请求 (Path— Reg— Req ) 。  The target base station needs to formally establish a data channel between the terminal and the anchor data channel function. At this time, the target base station sends a data channel establishment request (Path_Reg_Req) to the anchor data channel function.
同步骤 504, 目标基站可以获取到上述的基站类型信息, 和 /或用户类型 信息。 如果目标基站没有通过上述数据通道预建立请求将上述的基站类型信 息, 和 /或用户类型信息发送到 Acc-A, 则目标基站可使用数据通道建立请求 将之发送到 Acc-A, Acc-A将把这些参数保存在本地。  In the same step 504, the target base station can obtain the foregoing base station type information, and/or user type information. If the target base station does not send the above-mentioned base station type information and/or user type information to the Acc-A through the above data channel pre-establishment request, the target base station may send the data to the Acc-A using the data channel establishment request, Acc-A These parameters will be saved locally.
步骤 509: 锚点接入网关 (锚点数据通道功能) 与终端旧的服务基站之 间执行数据通道拆除过程;  Step 509: Perform a data channel removal process between the anchor access gateway (anchor data channel function) and the old serving base station of the terminal;
步骤 510: 目标基站 (新的服务基站 ) 与终端旧的服务基站之间交互切 换完成确认。  Step 510: The interaction between the target base station (new serving base station) and the old serving base station of the terminal is completed and confirmed.
如上文所述, Acc-A的作用是监控终端使用网络的情况, 搜集计费信息, 并向 Acc-C上报计费信息, 并且在终端切换前后, Acc-A都需要执行该操作。 那么,在切换前后,若终端的基站类型,和 /或用户类型发生了变化,则 Acc-A 应当将切换前后收集到的计费信息分开保存。 As described above, the function of the Acc-A is to monitor the use of the network by the terminal, collect the charging information, and report the charging information to the Acc-C, and the Acc-A needs to perform the operation before and after the terminal is switched. Then, before and after the handover, if the base station type and/or the user type of the terminal change, the Acc-A should separately store the charging information collected before and after the handover.
假设切换前终端服务基站类型是宏基站, 切换后终端服务基站类型变成 了家用基站 (即, 基站类型变化了 ) , 以终端正在使用数据业务, Acc-A统 计流量信息为例, 如下说明:  It is assumed that the terminal service base station type is a macro base station before the handover, and the terminal service base station type becomes a home base station after the handover (ie, the base station type is changed), and the terminal is using the data service, and the Acc-A statistical traffic information is taken as an example, as follows:
切换前 Acc-A统计到的流量为 5单位, 切换发生以后, Acc-A又统计到 3单位的流量; 则此时, Acc-A可将该 5单位和 3单位的流量分开保存, 并在 第一块(5单位) 中插入服务基站类型为宏基站, 在第二块(3单位) 中插入 服务基站类型为家用基站。 并在上报时隙到达时, 将这些信息发送到 Acc-C。  The traffic counted by Acc-A before switching is 5 units. After the switch occurs, Acc-A counts 3 units of traffic. At this time, Acc-A can save the 5 units and 3 units of traffic separately. The first base station (5 units) is inserted into the serving base station type as a macro base station, and the second block (3 units) is inserted into the serving base station type as a home base station. This information is sent to Acc-C when the reporting time slot arrives.
则 Acc-C可以根据该信息构造 UDR,例如,构造两个 UDR,第一个 UDR 中填写流量为 5单位, 基站类型填写宏基站; 第二个 UDR 中填写流量为 3 单位, 基站类型填写家用基站。 又例如, 构造一个 UDR, 在其中填写两段流 量信息, 第一段填写 5单位, 并注明该流量产生时基站的类型是宏基站; 第 一段填写 3单位, 并注明该流量产生时基站的类型是家用基站。 最后, Acc-C 可将这些 UDR发送到 Acc-S, 以实现为用户执行差异性计费。  Then, Acc-C can construct a UDR based on the information. For example, construct two UDRs. The flow rate is 5 units in the first UDR, and the macro base station is filled in the base station type. The flow rate is 3 units in the second UDR, and the base station type is filled in. Base station. For another example, construct a UDR, fill in two pieces of traffic information, fill in 5 units in the first paragraph, and indicate that the type of base station when the traffic is generated is a macro base station; fill in 3 units in the first paragraph, and indicate when the traffic is generated. The type of base station is a home base station. Finally, Acc-C can send these UDRs to Acc-S to perform differential billing for users.
用同样的原理, 在切换前后, 终端的用户类型发生变化, 或者基站类型 与用户类型同时发生变化时, Acc-A也可以执行相同的操作, 最终达到支持 为用户执行差异性计费的目的, 其原理相同, 在此不再赘述。  With the same principle, Acc-A can perform the same operation when the user type of the terminal changes before or after the handover, or when the type of the base station and the user type change simultaneously, and finally achieve the purpose of supporting differential charging for the user. The principle is the same and will not be described here.
以上流程中目标基站通过 Acc-A将基站类型信息,和 /或用户类型信息发 送给 Acc-C, 可变换的, 在本实施例中的步骤 503与步骤 507中, 目标基站 也可以通过上下文信息交互消息, 或者 MAC层更新消息将上述的基站类型, 和 /或用户类型直接发送到 Acc-C (锚点鉴权器) , Acc-C将之保存在本地, 还可以将这两个参数与上述目标基站的 BSID关联起来。在这种情况下, Acc-A 在向 Acc-C上报其统计到的计费信息时, 也可以不携带基站类型, 和 /或用户 类型。 但是也需要 Acc-A如上述方法一样, 将切换前后统计到的计费信息分 开保存, 并在其中插入服务基站的 BSID信息。 这样, 在 Acc-C收到计费信 息并生成 UDR时, 可以根据该 BSID找到对应的基站类型, 和 /或用户类型, 并插入到 UDR中。  In the above process, the target base station sends the base station type information and/or the user type information to the Acc-C through the Acc-A, and is convertible. In step 503 and step 507 in this embodiment, the target base station may also pass the context information. The interactive message, or the MAC layer update message, sends the above-mentioned base station type, and/or user type directly to the Acc-C (anchor authenticator), which Acc-C saves locally, and can also combine these two parameters with The BSIDs of the above target base stations are associated. In this case, the Acc-A may not carry the base station type, and/or the user type when reporting the accounting information to the Acc-C. However, the Acc-A is also required to separately store the accounting information counted before and after the handover, and insert the BSID information of the serving base station therein. In this way, when the Acc-C receives the charging information and generates the UDR, the corresponding base station type, and/or user type can be found according to the BSID, and inserted into the UDR.
本实施描述的是 Acc-A与 Acc-C分离的场景, 实际上 Acc-A与 Acc-C也 可以位于同一个接入网关中。 此时, 上述目标基站用来通知 Acc-A ( Acc-C ) 上述基站类型, 和 /或用户类型的消息, 也可以用于通知 Acc-C ( Acc-A )基 站类型, 和 /或用户类型。 This embodiment describes the scene where Acc-A and Acc-C are separated. In fact, Acc-A and Acc-C also Can be located in the same access gateway. At this time, the foregoing target base station is used to notify the Acc-A (Ac-C) the above-mentioned base station type, and/or user type message, and may also be used to notify the Acc-C (Actra-A) base station type, and/or the user type. .
此外, 在执行切换之前的切换准备阶段, (候选) 目标基站也可以通过 数据通道预建立、 上下文信息交互等消息, 将基站类型, 和 /或用户类型发送 到 Acc-A/Acc-C; 在执行非受控切换时, 目标基站也可以通过数据通道建立、 上下文信息交互、 MAC 层更新等消息将基站类型, 和 /或用户类型发送到 Acc-A/Acc-C , 其原理都相同。  In addition, in the handover preparation phase before the handover is performed, the (candidate) target base station may also send the base station type, and/or the user type to the Acc-A/Acc-C through a message channel pre-establishment, context information interaction, and the like; When an uncontrolled handover is performed, the target base station may also send the base station type, and/or user type to the Acc-A/Acc-C through data channel establishment, context information exchange, MAC layer update, and the like, and the principles are the same.
实施例四  Embodiment 4
实施例三描述了切换以后, (离线)计费代理 / (离线)计费客户端获取 切换以后终端的服务基站, 和 /或用户类型。 图 6是本发明的实施例四, 本实 施例描述了终端通过服务基站(家用基站 /基站)执行初始入网过程中, 服务 基站将上述基站类型和 /或用户类型发送到计费代理 /计費客户端的方法,具体 包含以下步骤:  Embodiment 3 describes the serving base station, and/or user type of the terminal (offline) charging agent/(offline) charging client after the handover, after the handover. FIG. 6 is a fourth embodiment of the present invention. In this embodiment, the serving base station sends the foregoing base station type and/or user type to the charging proxy/billing during the initial network access process performed by the serving base station (home base station/base station). The client method includes the following steps:
步骤 601 : 终端与基站之间完成空口参数同步及测距, 其中, 基站包括 宏基站, 家用基站等;  Step 601: Performing air interface parameter synchronization and ranging between the terminal and the base station, where the base station includes a macro base station, a home base station, and the like;
步骤 602: 终端向基站发送基本能力协商请求, 用以与网络协商认证能 力 (如用户的认证策略等) 等;  Step 602: The terminal sends a basic capability negotiation request to the base station to negotiate the authentication capability (such as the user's authentication policy) with the network.
步骤 603 : 基站 (包括家用基站, 宏基站) 向接入网关发送终端预附着 请求; 接入网关处理该请求以后, 向基站返回终端预附着响应;  Step 603: The base station (including the home base station, the macro base station) sends a terminal pre-attachment request to the access gateway; after the access gateway processes the request, returns a terminal pre-attachment response to the base station;
上述终端预附着请求消息的目的是, 通知位于接入网关中的鉴权器 ( Authenticator )一个新的终端即将入网, 同时也协助终端与接入网关协商一 些后续需要使用的参数。  The purpose of the foregoing terminal pre-attach request message is to notify the Authenticator located in the access gateway that a new terminal is about to enter the network, and also assist the terminal to negotiate with the access gateway for some subsequent parameters to be used.
上述终端预附着请求 ( MS— PreAttachment_Req ) 中还可以携带上述的终 端服务基站的基站类型信息, 和 /或终端的用户类型信息, 其方法如步骤 504 所述, 将之发送到 Acc-A/Acc-C。  The terminal pre-attach request (MS_PreAttachment_Req) may further carry the base station type information of the terminal service base station and/or the user type information of the terminal, and the method is sent to the Acc-A/Acc as described in step 504. -C.
步骤 604: 基站向终端返回基本能力协商应答;  Step 604: The base station returns a basic capability negotiation response to the terminal.
步骤 605: 接入网关 (锚点鉴权器) 启动可扩展的认证协议(Extensible Authentication Protocol, EAP )鉴权流程, 向基站发送用户标识请求, 基站将 该请求转发给终端; Step 605: The access gateway (anchor authenticator) starts an extensible authentication protocol (Extensible Authentication protocol (EPP), the user identity request is sent to the base station, and the base station forwards the request to the terminal;
步骤 606: 收到用户标识请求后, 终端向基站回复用户标识响应, 其基 站将该响应转发给接入网关 (锚点鉴权器) , 其中携带终端的服务基站的基 站类型信息, 和 /或终端的用户类型信息;  Step 606: After receiving the user identity request, the terminal replies with the user identity response to the base station, and the base station forwards the response to the access gateway (anchor authenticator), where the base station type information of the serving base station carrying the terminal, and/or User type information of the terminal;
在本步骤中,基站使用 EAP转发消息 (EAP-Transfer)将终端的用户标识响 应传递到接入网关 (锚点鉴权器) 。 如果在上述步骤中 (步骤 603 )基站没 有把上述服务基站类型, 和 /或用户类型发送到接入网关, 则此时, 可以依照 步骤 503所述的方法,使用 EAP转发消息将上述服务基站类型, 和 /或用户类 型发到接入网关。 此时, Acc-A/Acc-C可以从 EAP转发消息中获取上述终端 服务基站的基站类型, 和 /或上述终端的用户类型。  In this step, the base station transmits the user identity response of the terminal to the access gateway (anchor authenticator) using an EAP Forwarding message (EAP-Transfer). If the base station does not send the service base station type and/or the user type to the access gateway in the foregoing step (step 603), then the service base station type may be used by using the EAP forwarding message according to the method described in step 503. , and / or user type is sent to the access gateway. At this time, the Acc-A/Acc-C may acquire the base station type of the above-mentioned terminal serving base station from the EAP forwarding message, and/or the user type of the above terminal.
步骤 607: AAA服务器与终端之间执行 EAP接入鉴权流程;  Step 607: Perform an EAP access authentication process between the AAA server and the terminal.
步骤 608: 接入网关 (锚点鉴权器) 向基站 (宏基站或家用基站)发送 密钥改变指示消息;  Step 608: The access gateway (anchor authenticator) sends a key change indication message to the base station (macro base station or home base station);
步骤 609:终端与基站之间进行 PKMv2握手 ,在两者之间建立安全关联, 以及交互 TEK密钥;  Step 609: Perform a PKMv2 handshake between the terminal and the base station, establish a security association between the two, and exchange a TEK key;
步骤 610: 终端向基站 (宏基站或家用基站)发送测距请求;  Step 610: The terminal sends a ranging request to the base station (macro base station or home base station);
步骤 611 : 基站 (宏基站或家用基站) 为该终端与接入网关执行终端的 附着过程;  Step 611: The base station (macro base station or home base station) performs a terminal attachment process for the terminal and the access gateway.
此时,基站可以通过终端附着请求( MS_Attachment_Req )将上述的基站 类型, 和 /或用户类型发送到 Acc-A/Acc-C (接入网关) 。  At this time, the base station can transmit the above-mentioned base station type, and/or user type to the Acc-A/Acc-C (access gateway) through the terminal attach request (MS_Attachment_Req).
步骤 612: 基站 (宏基站或家用基站) 向终端发送测距响应;  Step 612: The base station (macro base station or home base station) sends a ranging response to the terminal.
步骤 613 : 基站帮助终端在基站与接入网关 (锚点数据通道功能)之间 数据通道;  Step 613: The base station helps the terminal to perform a data channel between the base station and the access gateway (anchor data channel function);
此时, 基站可以通过数据通道建立请求 ( Path— Reg— Req )将上述的基站 类型, 和 /或用户类型发送到 Acc-A/Acc-C (接入网关) 。  At this time, the base station can transmit the above-mentioned base station type, and/or user type to the Acc-A/Acc-C (access gateway) through a data channel establishment request (Path_Reg_Req).
步骤 614: 继续执行用户接入相关的其他流程。 本实施例可以看作是终端在切换之前, Acc-A/Acc-C获取基站类型, 和 / 或用户类型的方法。 Step 614: Continue to perform other processes related to user access. This embodiment can be regarded as a method for the Acc-A/Acc-C to acquire the base station type, and/or the user type before the handover.
在实际的网络部署中, Acc-A也可以部署在基站上, 此时由该基站上的 Acc-A来采集对终端的计费信息。 此时, 若该基站连接的接入网关中不包含 Acc-C (锚点鉴权器)时, 则该接入网关中需要存在一个代理, 用于中转基站 上的 Acc-A与 Acc-C之间的通信。  In actual network deployment, Acc-A can also be deployed on the base station. At this time, the charging information of the terminal is collected by Acc-A on the base station. At this time, if the access gateway connected to the base station does not include an Acc-C (anchor authenticator), an agent needs to exist in the access gateway for the Acc-A and Acc-C on the intermediate base station. Communication between.
在这种部署的情况下, 在初始入网的场景中, 基站本身是服务基站, 可 以获知终端当前的服务基站类型,和 /或用户类型,并可依照本发明的实施例, 将基站类型和 /或用户类型通知到 Acc-C; 在切换场景中, 当目标基站成为服 务基站时 (即, 切换完成时) , 便由该目标基站上的 Acc-A釆集对终端的计 费信息, 此时, 该基站也可以获知终端当前的服务基站类型, 和 /或用户类型, 并将之放在计费信息上 4艮消息中, 发送到 Acc-C。  In the case of such a deployment, in the initial network access scenario, the base station itself is a serving base station, which can know the current serving base station type of the terminal, and/or the user type, and can base station type and/or according to an embodiment of the present invention. Or the user type is notified to the Acc-C; in the handover scenario, when the target base station becomes the serving base station (ie, when the handover is completed), the accounting information of the terminal is collected by the Acc-A on the target base station. The base station can also know the current service base station type and/or user type of the terminal, and put it in the charging information, and send it to the Acc-C.
简言之, 在这种网络部署的场景下, 可以由服务基站中的 Acc-A通过定 期计费信息更新请求( Bulk Interim Update )将服务基站类型, 和 /或用户类型 发送到 Acc-C。  In short, in this scenario of network deployment, the serving base station type, and/or user type can be sent to the Acc-C by the Acc-A in the serving base station via the Bulk Interim Update.
在图 1所示的包含家用基站的系统连接图中, 还有一个被称之为家乡代 理( HA, Home Agent )的网元, 该网元主要被用作于在移动通信网中实现移 动 IP ( Mobile IP ) 功能。  In the system connection diagram including the home base station shown in FIG. 1, there is also a network element called a Home Agent (HA), which is mainly used to implement Mobile IP in a mobile communication network. (Mobile IP) function.
如上文所述, 所有上行数据都会最终汇聚到锚点数据通道功能; 所有下 行数据也都会首先被发送到锚点数据通道功能。 当引入 HA以后, 所有的上 行数据在汇聚到锚点数据通道功能以后,进一步发送到 HA; 而所有的下行数 据都会首先被发送到 HA上, 然后进一步发送到锚点数据通道功能。 此时, 可以看作锚点数据通道功能与一个被称为外地代理(FA, Foreign Agent ) 的 网元合设在一起。  As mentioned above, all upstream data will eventually be aggregated to the anchor data channel function; all downstream data will also be sent to the anchor data channel function first. After the introduction of HA, all the uplink data is further sent to the HA after being aggregated to the anchor data channel function; all the downlink data is first sent to the HA and then further sent to the anchor data channel function. At this point, it can be seen that the anchor data channel function is combined with a network element called a foreign agent (FA).
Acc-C可以位于 HA上, 而 Acc-A将位于 FA。 本发明第一、 第二实施例 适用于此场景; 而在第三至四实施例中, 上述的锚点鉴权器中将不再含有 Acc-C, 则上述的服务基站类型, 和 /或用户类型将会首先被 Acc-A ( FA )获 得, 再进一步发送到 Acc-C。 Acc-A与 Acc-C之间的通信可以借助 FA与 HA 之间的通信来完成。 除了上述的定期计费信息更新请求消息以外, Acc-A还 可以使用移动 IP ( Mobile IP, MIP )协议定义的消息来传递上述服务基站类 型, 和 /或用户类型, 例如 MIP注册消息等。 Acc-C can be on the HA and Acc-A will be on the FA. The first and second embodiments of the present invention are applicable to this scenario; and in the third to fourth embodiments, the above-mentioned anchor authenticator will no longer contain Acc-C, then the above-mentioned serving base station type, and/or The user type will first be obtained by Acc-A (FA) and sent to Acc-C. Communication between Acc-A and Acc-C can be accomplished by communication between the FA and the HA. In addition to the above-mentioned periodic billing information update request message, Acc-A also The service base station type, and/or user type, such as a MIP registration message, etc., may be delivered using a message defined by the Mobile IP (MIP) protocol.
可理解的, 本发明中出现的 "A和 /或 B" 的描述包含三种具体实现, 分 别为, 仅八、 仅 B以及 A+B。  As can be appreciated, the description of "A and / or B" appearing in the present invention includes three specific implementations, namely, only eight, only B, and A+B.
为了实现以上方法, 本发明还提供了一种离线计费系统, 所述系统包括: 计费代理、 计费客户端和计费服务器; 其中,  In order to implement the above method, the present invention further provides an offline charging system, where the system includes: a charging proxy, a charging client, and a charging server;
计费代理设置成从所述服务基站本地获取或从所述基站发送的消息中获 取所述基站类型信息和 /或用户类型信息;  The charging proxy is configured to obtain the base station type information and/or user type information locally from the serving base station or from a message sent by the base station;
所述计费代理通过基站发送的消息获取所述基站类型信息和 /或用户类 型信息包括: 在切换时, 通过上下文信息交互消息、 MAC层更新消息、 数据 通道预建立请求消息或数据通道建立请求消息获取; 在初始入网时, 通过终 端预附着请求、 用户标识响应、 终端附着请求或数据通道建立请求获取。  The obtaining, by the charging proxy, the base station type information and/or the user type information by using a message sent by the base station includes: when switching, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel establishment request Message acquisition; At the time of initial network access, the request is obtained through a terminal pre-attach request, a user identity response, a terminal attach request, or a data channel establishment request.
计费客户端与计费代理通过网络连接, 并设置成: 获取终端的计费信息 并发送到计费服务器, 所述计费信息包括用于表示服务基站类型的基站类型 信息或用于表示所述终端类型的用户类型信息;  The charging client and the charging proxy are connected through the network, and are configured to: obtain charging information of the terminal and send the charging information to the charging server, where the charging information includes base station type information used to indicate the type of the serving base station or used to represent the User type information of the terminal type;
所述计费客户端获取所述基站类型信息和 /或所述用户类型信息 , 采用如 下方式之一:  The charging client obtains the base station type information and/or the user type information, and adopts one of the following methods:
所述计费客户端通过计费信息更新请求或移动 IP协议消息从计费代理获 取所述基站类型信息和 /或用户类型信息;  The charging client obtains the base station type information and/or user type information from a charging proxy by using a charging information update request or a mobile IP protocol message;
所述计费客户端通过基站发送的消息获取所述基站类型信息和 /或用户 类型信息, 包括: 在切换时, 通过上下文信息交互消息、 MAC层更新消息、 数据通道预建立请求消息或数据通道建立请求消息获取; 在初始入网时, 通 过终端预附着请求、 用户标识响应、 终端附着请求或数据通道建立请求获取。  The charging client obtains the base station type information and/or user type information by using a message sent by the base station, including: when switching, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel Establishing a request message acquisition; when initially entering the network, obtaining a request by a terminal pre-attach request, a user identity response, a terminal attach request, or a data channel establishment request.
所述计费客户端通过计费请求将所述计费信息发送给所述计费服务器, 所述计费请求是用于通知计费服务器开始或结束对所述终端计费的计费请 求, 或者是计费期间的计费请求。  The charging client sends the charging information to the charging server by using a charging request, where the charging request is used to notify the charging server to start or end the charging request for charging the terminal. Or it is a charging request during billing.
以上方法中描述的计费代理及计费客户端的各种具体实现同样适用于本 发明系统, 在此不再赘述。 所述计费服务器通过网络与所述计费客户端连接, 并设置成: 接收所述 计费信息, 以及根据所述基站类型信息、 用户类型信息或两者的组合为所述 终端计费。 The specific implementations of the charging proxy and the charging client described in the above methods are also applicable to the system of the present invention, and are not described herein again. The charging server is connected to the charging client through a network, and is configured to: receive the charging information, and charge the terminal according to the base station type information, user type information, or a combination of the two.
所述计费服务器根据所述基站类型信息、 用户类型信息或两者的组合为 所述终端计费时至少执行以下操作之一: 对所述终端的计费信息分类; 为所 述终端选择计费费率; 为所述终端选择计费模式。  The charging server performs at least one of the following operations when charging the terminal according to the base station type information, user type information, or a combination of the two: classifying charging information of the terminal; Fee rate; select the billing mode for the terminal.
所述服务基站类型包括宏基站和家用基站。  The serving base station type includes a macro base station and a home base station.
所述服务基站类型还可以包括宏基站、 开放模式家用基站、 混合模式家 用基站和闭合模式家用基站。  The serving base station type may further include a macro base station, an open mode home base station, a hybrid mode home base station, and a closed mode home base station.
所述终端类型包括闭合用户组成员和非闭合用户组成员。  The terminal type includes a closed user group member and a non-closed user group member.
本发明离线计费方法和系统中, 计费客户端将服务基站的基站类型信息 或终端的用户类型信息发送给计费服务器, 计费服务器在计费时, 将基站类 型信息和 /或用户类型信息作为确定计费费率的依据, 从而为家用基站的用户 提供差异化计费服务, 能够吸引及鼓励用户广泛使用家用基站, 进而促使家 用基站业务的顺利开展。  In the offline charging method and system of the present invention, the charging client sends the base station type information of the serving base station or the user type information of the terminal to the charging server, and the charging server uses the base station type information and/or the user type when charging. As a basis for determining the billing rate, the information provides differentiated billing services for users of the home base station, which can attract and encourage users to widely use the home base station, thereby facilitating the smooth development of the home base station service.
工业实用性 Industrial applicability
与现有技术相比, 本发明能够为家用基站的用户提供差异化计费服务, 能够吸引及鼓励用户广泛使用家用基站,进而促使家用基站业务的顺利开展。  Compared with the prior art, the present invention can provide differentiated charging services for users of home base stations, and can attract and encourage users to widely use home base stations, thereby facilitating the smooth development of home base station services.

Claims

权 利 要 求 书 Claim
1、 一种离线计费方法, 该方法包括: 1. An offline charging method, the method comprising:
计费客户端获取终端的计费信息并发送到计费服务器, 所述计费信息包 括用于表示服务基站的类型的基站类型信息和 /或用于表示所述终端的类型 的用户类型信息; 以及  The charging client obtains the charging information of the terminal and sends the charging information to the charging server, where the charging information includes base station type information indicating a type of the serving base station and/or user type information indicating a type of the terminal; as well as
所述计费服务器接收所述计费信息, 并根据所述基站类型信息和 /或用户 类型信息为所述终端计费。  The charging server receives the charging information, and charges the terminal according to the base station type information and/or user type information.
2、 如权利要求 1所述的方法, 其中, 所述计费客户端通过计费请求将所 述计费信息发送到所述计费服务器, 所述计费请求是用于通知计费服务器开 始或结束对所述终端计费的计费请求, 或者是计费期间的计费请求。 2. The method according to claim 1, wherein the charging client sends the charging information to the charging server by using a charging request, where the charging request is used to notify the charging server to start. Or end the charging request for charging the terminal, or the charging request during the charging period.
3、 如权利要求 1所述的方法, 其中, 计费客户端获取终端的计费信息的 步骤中, 所述计费客户端通过如下方式之一获取所述基站类型信息和 /或所述 用户类型信息: The method of claim 1, wherein the charging client obtains the charging information of the terminal, the charging client acquiring the base station type information and/or the user by using one of the following manners: Type information:
所述计费客户端通过计费信息更新请求或移动 IP协议消息从计费代理获 取所述基站类型信息和 /或用户类型信息;  The charging client obtains the base station type information and/or user type information from a charging proxy by using a charging information update request or a mobile IP protocol message;
所述计费客户端通过基站发送的消息获取所述基站类型信息和 /或用户 类型信息, 包括: 在切换时, 通过上下文信息交互消息、 媒体访问控制 MAC 层更新消息、 数据通道预建立请求消息或数据通道建立请求消息获取; 在初 始入网时, 通过数据通道建立请求消息、 终端预附着请求消息、 可扩展的认 证协议 EAP转发消息、 用户标识响应消息或终端附着请求消息获取。  The charging client obtains the base station type information and/or user type information by using a message sent by the base station, including: when switching, by using a context information interaction message, a media access control MAC layer update message, a data channel pre-establishment request message Or the data channel establishment request message acquisition; in the initial network access, the data channel establishment request message, the terminal pre-attach request message, the extensible authentication protocol EAP forwarding message, the user identity response message, or the terminal attach request message acquisition.
4、 如权利要求 3所述的方法, 其在所述计费客户端从所述计费代理获取 所述基站类型信息和 /或用户类型信息的步骤之前, 还包括: The method of claim 3, before the step of the charging client acquiring the base station type information and/or the user type information from the charging proxy, the method further comprising:
所述计费代理通过如下方式之一获得所述基站类型信息和 /或所述用户 类型信息:  The charging proxy obtains the base station type information and/or the user type information by one of the following methods:
所述计费代理从所述服务基站本地获取所述基站类型信息和 /或用户类 型信息; 所述计费代理通过基站发送的消息获取所述基站类型信息和 /或用户类 型信息, 包括: 在切换时, 通过上下文信息交互消息、 MAC层更新消息、 数 据通道预建立请求消息或数据通道建立请求消息获取; 在初始入网时, 通过 数据通道建立请求消息、 终端预附着请求消息、 EAP转发消息、 用户标识响 应消息或终端附着请求消息获取。 The charging proxy locally acquires the base station type information and/or user type information from the serving base station; The charging agent obtains the base station type information and/or user type information by using a message sent by the base station, and includes: establishing, by using a context information interaction message, a MAC layer update message, a data channel pre-establishment request message, or a data channel, during handover Request message acquisition; In the initial network access, the data channel setup request message, the terminal pre-attach request message, the EAP forward message, the user identity response message, or the terminal attach request message is obtained.
5、 如权利要求 1所述的方法, 其中, 所述计费服务器根据所述基站类型 信息和 /或用户类型信息为所述终端计费的步骤中, 所述计费服务器至少执行 以下操作之一: 对所述终端的计费信息分类; 为所述终端选择计费费率; 为 所述终端选择计费模式。 The method according to claim 1, wherein in the step of charging the terminal according to the base station type information and/or user type information, the charging server performs at least the following operations. a classifying the charging information of the terminal; selecting a charging rate for the terminal; and selecting a charging mode for the terminal.
6、如权利要求 5所述的方法,其中,所述服务基站为宏基站或家用基站。 6. The method of claim 5 wherein the serving base station is a macro base station or a home base station.
7、 如权利要求 5所述的方法, 其中, 所述服务基站为宏基站、 开放模式 家用基站、 混合模式家用基站或闭合模式家用基站。 7. The method according to claim 5, wherein the serving base station is a macro base station, an open mode home base station, a hybrid mode home base station or a closed mode home base station.
8、 如权利要求 5至 7中任一项所述的方法, 其中, 所述终端为: 闭合用 户组成员或非闭合用户组成员。 The method according to any one of claims 5 to 7, wherein the terminal is: a closed user group member or a non-closed user group member.
9、 一种离线计费系统, 包括: 计费客户端和计费服务器, 其中, 所述计费客户端设置成获取终端的计费信息并发送到所述计费服务器, 所述计费信息包括用于表示服务基站的类型的基站类型信息和 /或用于表示 所述终端的类型的用户类型信息; An offline charging system, comprising: an accounting client and a charging server, wherein the charging client is configured to acquire charging information of the terminal and send the charging information to the charging server, where the charging information is Included with the base station type information indicating the type of the serving base station and/or user type information indicating the type of the terminal;
所述计费服务器通过网络与所述计费客户端连接, 并设置成: 接收所述 计费信息, 根据所述基站类型信息和 /或用户类型信息为所述终端计费。  The charging server is connected to the charging client through a network, and is configured to: receive the charging information, and charge the terminal according to the base station type information and/or user type information.
10、 如权利要求 9所述的系统, 其中, 所述计费客户端是设置成通过计 费请求将所述计费信息发送到所述计费服务器, 所述计费请求是用于通知计 费服务器开始或结束对所述终端计费的计费请求, 或者是计费期间的计费请 求。 10. The system according to claim 9, wherein the charging client is configured to send the charging information to the charging server by using a charging request, and the charging request is used for a notification The fee server starts or ends the charging request for charging the terminal, or the charging request during the charging.
11、 如权利要求 9所述的系统, 其中, 所述计费客户端是设置成通过基 站发送的消息获取所述基站类型信息和 /或用户类型信息, 包括: 在切换时, 通过上下文信息交互消息、 媒体接入控制 MAC层更新消息、 数据通道预建 立请求消息或数据通道建立请求消息获取; 在初始入网时, 通过终端预附着 请求消息、 用户标识响应消息、 终端附着请求消息、 可扩展的认证协议 EAP 转发消息或数据通道建立请求消息获取。 The system according to claim 9, wherein the charging client is configured to acquire the base station type information and/or user type information by using a message sent by the base station, including: Obtaining through the context information interaction message, the medium access control MAC layer update message, the data channel pre-establishment request message, or the data channel establishment request message; during the initial network access, the terminal pre-attach request message, the user identity response message, and the terminal attach request message An extensible authentication protocol EAP forwarding message or data channel setup request message acquisition.
12、 如权利要求 11所述的系统, 其中, 12. The system of claim 11 wherein:
所述系统还包括与计费客户端连接的计费代理, 所述计费客户端还设置 成通过计费信息更新请求或移动 IP协议消息从计费代理获取所述基站类型信 息和 /或用户类型信息;  The system further includes a charging proxy connected to the charging client, the charging client further configured to acquire the base station type information and/or the user from the charging proxy by using a charging information update request or a mobile IP protocol message. Type information
所述计费代理设置成通过如下方式之一获得所述基站类型信息和 /或所 述用户类型信息:  The charging proxy is configured to obtain the base station type information and/or the user type information by one of the following methods:
从所述服务基站本地获取所述基站类型信息和 /或用户类型信息; 通过基站发送的消息获取所述基站类型信息和 /或用户类型信息, 包括: 在切换时, 通过上下文信息交互消息、 MAC层更新消息、 数据通道预建立请 求消息或数据通道建立请求消息获取; 在初始入网时, 通过终端预附着请求 消息、 用户标识响应消息、 终端附着请求消息、 EAP转发消息或数据通道建 立请求消息获取。  Acquiring the base station type information and/or user type information from the serving base station; acquiring the base station type information and/or user type information by using a message sent by the base station, including: Layer update message, data channel pre-establishment request message or data channel setup request message acquisition; when initial network access, through terminal pre-attach request message, user identity response message, terminal attach request message, EAP forwarding message or data channel setup request message acquisition .
13、 如权利要求 9所述的系统, 其中, 所述计费服务器是设置成在根据 所述基站类型信息和 /或用户类型信息为所述终端计费时, 至少执行以下操作 之一: 对所述终端的计费信息分类; 为所述终端选择计费费率; 为所述终端 选择计费模式。 13. The system according to claim 9, wherein the charging server is configured to perform at least one of the following operations when charging the terminal according to the base station type information and/or user type information: Classification of charging information of the terminal; selecting a charging rate for the terminal; and selecting a charging mode for the terminal.
14、 如权利要求 9所述的系统, 其中, 所述服务基站为宏基站或家用基 站; 其中, 所述家用基站为: 开放模式家用基站、 混合模式家用基站或闭合 模式家用基站。 The system according to claim 9, wherein the serving base station is a macro base station or a home base station; wherein the home base station is: an open mode home base station, a hybrid mode home base station, or a closed mode home base station.
15、 如权利要求 13或 14所述的系统, 其中, 所述终端为: 闭合用户组 成员或非闭合用户组成员。  The system according to claim 13 or 14, wherein the terminal is: a closed user group member or a non-closed user group member.
PCT/CN2010/079722 2009-12-21 2010-12-13 Offline accounting method and system WO2011076067A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009102470674A CN102104859A (en) 2009-12-21 2009-12-21 Offline accounting method and system
CN200910247067.4 2009-12-21

Publications (1)

Publication Number Publication Date
WO2011076067A1 true WO2011076067A1 (en) 2011-06-30

Family

ID=44157313

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079722 WO2011076067A1 (en) 2009-12-21 2010-12-13 Offline accounting method and system

Country Status (2)

Country Link
CN (1) CN102104859A (en)
WO (1) WO2011076067A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695153B (en) * 2012-05-29 2015-03-04 中国联合网络通信集团有限公司 Base station clustering architecture based billing processing method, billing processing device and billing processing system
JP6687564B2 (en) * 2017-06-16 2020-04-22 Kddi株式会社 Communication system, communication method
CN110149602B (en) * 2018-02-13 2020-07-07 华为技术有限公司 Policy control method, device and system
CN110149603B (en) * 2018-02-13 2020-07-07 华为技术有限公司 Policy control method, device and system
CN116452198B (en) * 2023-06-14 2023-09-01 南京能可瑞科技有限公司 Offline authorization and charging method and system for charging pile

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222342A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Off-line accounting system and method
CN101583113A (en) * 2008-07-07 2009-11-18 中兴通讯股份有限公司 Charging method and system for distinguishing user charging rules

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2006341656B2 (en) * 2006-04-12 2011-06-02 Telefonaktiebolaget Lm Ericsson (Publ) Differentiated network indication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222342A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Off-line accounting system and method
CN101583113A (en) * 2008-07-07 2009-11-18 中兴通讯股份有限公司 Charging method and system for distinguishing user charging rules

Also Published As

Publication number Publication date
CN102104859A (en) 2011-06-22

Similar Documents

Publication Publication Date Title
CN100370732C (en) Charge metering method and system
US8023926B2 (en) Offline charging for sessions over a 3GPP network and a WLAN access network
CN101374055B (en) Method for processing charging and network system, packet data network gateway and charging system
EP1265397A2 (en) IP billing system, and device
WO2019157873A1 (en) Charging method and device and session management entity
WO2008022602A1 (en) Method, apparatus and system for implementing policy and charging control
WO2011076067A1 (en) Offline accounting method and system
EP1953952A1 (en) An accounting method and an accounting system thereof
WO2007033559A1 (en) An accounting method in the wireless access network and the system thereof
WO2013060170A1 (en) Method and device for providing charging support based on lipa bearer
CN100496154C (en) Method for realizing prepayment
WO2008043307A1 (en) A method, device and systerm for assciation charging
US20160309373A1 (en) Charging interface for inter-radio access technology handover of call sessions
KR100901713B1 (en) Method for billing service charges in a radio communication system
WO2012171428A1 (en) Charging method and system for evolved packet core supporting non-3gpp accessing
WO2008141589A1 (en) Wireless communication system, apparatus and wireless communication method
WO2012129992A1 (en) Sponsored data connectivity processing method, and policy and charging rules function
WO2010066157A1 (en) Charging method, charging device, charging gateway and charging system
WO2007086122A1 (en) Network visit time charging system
WO2011066780A1 (en) Charging method and prepaid client based on home base station system
CN102647695B (en) A kind of generation method and apparatus of charging data record
CN101448234B (en) Implementation method for switching online charging to offline charging
CN102123368A (en) Synchronous adjustment method and system of charging strategies accessed by home base station
WO2011110006A1 (en) Charging method, apparatus and network system for local routing bussiness
CN102056116B (en) Method and system for implementing charging under control of dynamic policy

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: 10838630

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10838630

Country of ref document: EP

Kind code of ref document: A1