Patent application title: METHOD FOR IMPLEMENTING AN INTERNET PROTOCOL (IP) CHARGING AND RATING MIDDLEWARE PLATFORM AND GATEWAY SYSTEM
Karthik Ramakrishnan (Burlington, CA)
Ian Gordon Collett (Munchen, DE)
Rubens Rahim (Markham, CA)
IPC8 Class: AH04L1256FI
Class name: Multiplex communications data flow congestion prevention or control control of data admission to the network
Publication date: 2012-12-27
Patent application number: 20120327767
A method for Internet Protocol (IP) charging and rating gateway within a
system having: a proxy server for connection to an Authentication,
Authorization, and Accounting (AAA) server; an access gateway, an IP
classification engine for connection between a data network and the
access gateway; and a gateway controller connected to the proxy server
and the IP classification engine, including the steps of: receiving IP
packets at the IP classification engine, the IP packets originating from
the data network and destined for a subscriber device via the access
gateway; classifying the IP packets according to the protocol of each of
the packets at the IP classification engine; and selectively instructing
the IP classification engine to permit or deny the flow of IP packets
between the data network and the access gateway at the gateway
controller. Preferably, the proxy server is configured to emulate the
access gateway and the AAA server.
15. A method comprising: receiving IP packets at an IP classification engine connected between a data network and an access gateway, said IP packets originating from said data network and destined for a subscriber device via said access gateway; determining a type of said IP packets at said IP classification engine based on a protocol type of said IP packets; updating, by a gateway controller connected to said IP classification engine, a subscriber balance stored at an account server, based on said determined type of said packet and on rating rules associated with said subscriber device; and at said IP classification engine, permitting or denying the flow of said IP packets associated with said subscriber device between said data network and said access gateway.
16. The method of claim 15, further comprising: loading said rating rules into said IP classification engine prior to receiving said IP packets.
17. The method of claim 16, further comprising: arming one or more triggers in said IP Classification Engine, each trigger for detecting an event selected from a protocol state, a destination identifier, a time of day, a text string, a message content, and a volume of data.
18. The method of claim 17, wherein said triggers are armed based on attributes associated with OSI layers 2-7 including protocol-specific attributes and according to said protocol type of said IP packets, said protocol type including at least one of HTTP, POP3, SMTP, MMS, FTP, and WAP.
19. The method of claim 18, further comprising: prior to receiving said IP packet, creating a decision tree at said IP classification engine based on said rating rules, said decision tree for analyzing and determining said type of said IP packets.
20. The method of claim 19, wherein determining said type of said IP packet includes analyzing said IP packets using said decision tree.
21. The method of claim 15, wherein denying the flow of further IP packets comprises: receiving at said gateway controller, from said account server, an indication that flow of said IP packets is not permitted; and instructing said IP classification engine to drop or redirect the flow of said IP packets between said data network and said subscriber device.
22. The method of claim 15, wherein the access gateway comprises one of a Gateway GPRS Support Node (GGSN) and a Packet Data Service Node (PDSN).
23. The method of claim 15, wherein said permitting or denying is performed according to said determined type of said IP packets.
24. The method of claim 23, wherein said denying comprises dropping or redirecting said IP packets.
25. The method of claim 15, wherein said protocol type includes one or more of: Hyper Text Transfer Protocol ("HTTP"), Post Office Protocol ("POP3"), Simple Mail Transfer Protocol ("SMTP"), File Transfer Protocol ("FTP"), Multi-media Messaging Service ("MMS"), Wireless Application Protocol ("WAP"), Real Time Protocol ("RTP"), and Real Time Streaming Protocol ("RTSP").
26. A system comprising: an IP classification engine connected between a data network and an access gateway; and a gateway controller connected to said IP classification engine; said IP classification engine configured to: receive IP packets, said IP packets originating from said data network and destined for a subscriber device via said access gateway; determine a type of said IP packets at said IP classification engine based on a protocol type of said IP packets; and permit or deny the flow of said IP packets associated with said subscriber device between said data network and said access gateway; said gateway controller configured to update a subscriber balance stored at an account server, based on said determined type of said packet and on rating rules associated with said subscriber device.
27. A non-transitory computer readable medium storing computer readable instructions executable by a processor of a system having an IP classification engine, connected between a data network and an access gateway, and a gateway controller connected to said IP classification engine, said computer readable instructions for implementing a method comprising: receiving IP packets at said IP classification engine, said IP packets originating from said data network and destined for a subscriber device via said access gateway; determining a type of said IP packets at said IP classification engine based on a protocol type of said IP packets; updating, by said gateway controller, a subscriber balance stored at an account server, based on said determined type of said packet and on rating rules associated with said subscriber device; and at said IP classification engine, permitting or denying the flow of said IP packets associated with said subscriber device between said data network and said access gateway.
CROSS-REFERENCE TO RELATED APPLICATIONS
 This application claims priority to, and is a continuation of U.S. patent application Ser. No. 12/623,806, filed Nov. 23, 2009 (now U.S. Pat. No. 8,244,859), which is continuation of U.S. patent application Ser. No. 12/264,137, filed Nov. 3, 2008 (now U.S. Pat. No. 7,644,158), which is continuation of U.S. patent application Ser. No. 10/348,972, filed Jan. 23, 2003 (now U.S. Pat. No. 7,457,865), which are incorporated herein by reference in their entireties and for all purposes.
 With the evolution and migration of Internet and related informational services to mobile and/or wireless handsets, devices and so on, telecommunications network operators are constantly seeking enhanced ways of rating for their respective data services. The prior art demonstrates considerable limitations, weaknesses and infirmities in this regard.
 Consider U.S. Patent Application, Publication No. 2001/0055291 by Schweitzer, entitled SYSTEM, METHOD AND COMPUTER PROGRAM PRODUCT FOR CHARGING FOR COMPETITIVE IP-OVER-WIRELESS SERVICE, which details a means for charging Internet Protocol (IP) traffic but no substantial means for differentiating the traffic therein. Similarly, European Patent Application (EP) 1026853 by Yamaguchi et al., entitled CHARGING METHOD FOR INFORMATION COMMUNICATION NETWORK, teaches of art directed at merely counting the number of packets exchanged and nothing again of rating the different types of packets therein according to their pre-established utility and/or value.
 Additionally, art which does address the problem of classifying IP traffic remains insufficient or lacks the sophistication of that of present. As with U.S. Patent Application, Publication No. 2002/0152321 by Le et al., entitled METHOD AND APPARATUS FOR CLASSIFYING IP DATA, makes reference to classifying said IP packets based only on IP header fields--basically Layer two (2) of the OSI stack (said stack has seven (7) layers). Our method disclosed goes well beyond Layer two (2) and involves classifying packets based on information obtained from Layer two (2) through to Layer seven (7). (For example, Multi-Media Service (MMS) classification performed by the disclosed invention depends on information obtained from layer six (6) and layer seven (7)). Our classification methodology incorporates correlation of data within the seven (7) layers to classify a packet. And similarly, U.S. Patent Application, Publication No. 2002/0103925 by Sheth et al., entitled GENERIC PROGRAMMABLE INTERNET PROTOCOL CLASSIFICATION TECHNIQUE FOR A BROADBAND ENGINE, concentrates on IP classification specifically at the IPv4 header (i.e. layer 2/3). The art thereof is primarily directed at classification for more or less quality of service (QoS) reasons (indeed, the same can be said of the art identified former) and providing differentiated services. Our art is directed primarily at classification for the purpose of packet and application level data type identification(s).
 Note also U.S. Patent Application, Publication No. 2002/0152321 October, 2002 by Le et al. 709/238; U.S. Patent Application, Publication No. 2002/0103925 August, 2002 by Sheth et al. 709/236; U.S. Patent Application, Publication No. 2001/0055291 December, 2001 by Schweitzer 370/337; and EP 1026853 August, 2000 by Yamaguchi et al.
 The present invention relates generally to wireless communications and gateway services; and more specifically, to a method for implementing an Internet Protocol (IP) charging and rating middleware platform and gateway system.
SUMMARY OF THE INVENTION
 The Internet Protocol (IP) charging and rating middleware platform and gateway system disclosed herewith is intended to equip, in this instance, telecommunications network operators with the ability to rate and bill IP traffic (such as File Transfer Protocol (FTP) and HyperText Transfer Protocol (HTTP)) based upon any number of informational variables, including volume, quality of service, source address, destination address, and/or time of day. The art also accommodates differentiated billing based upon service type, including Wireless Application Protocol (WAP), Multimedia Message Service (MMS), and other services which utilize the Internet Protocol (IP) as the transport protocol.
 The implementation of the architecture preferentially resides at the access gateway point, between the telecommunication provider's and/or wireless operator's IP network (as for instance, GGSN (Gateway GPRS (General Packet Radio Service) Support Node) based or PDSN (Packet Data Service Node) based and the Internet/Intranet. The IP charging and rating middleware platform and gateway system effectively allows for the inspection of IP traffic at definable points within the packet information.
 For the purposes of simplicity and elucidation, the architecture of the Internet Protocol (IP) charging and rating middleware platform and gateway system may be divided functionally among the IP Classification Engine (the core of the art seeking protection of Letlers Patent) and the residual art, the IP charging controllers.
 Inherent to the technology and methodology of the IP Classification Engine (IPCE) remain the rating rules. Such rules are loaded into the IPCE, whereupon a series of system level triggers are then armed to detect the occurrence of certain events as per the existing rating criteria. The arming of triggers and generation of event sets, providing specific charging and/or informational events form the functional foundation of the IPCE.
 Triggers may be armed on a real time basis through the provisioning interface which link to a set of underlying Application Programming Interface's (API's) (in this instance), thereby providing application control for non-limiting instantiations of protocol state, destination URL or address, Time of Day, volume message content or type, and text string, among others. Indeed, those skilled in the art shall recognize that a variety of object oriented application programming interfaces will serve the purpose of notification without affecting the intent and scope of the present invention. Triggers may also be armed on a protocol-specific level, including among others, HTTP, POP3, SMTP, FTP, MMS, and WAP.
 The IPCE also provides the logic for the blocking of data wherever said subscriber has insufficient funds.
 The IP charging controllers in this instance represent much of the residual, generic components of the Internet Protocol (IP) charging and rating middleware platform and gateway system as performing balance queries (which decrements the usage values on each subscriber's temporary token account store, after applying rating specific charges on the data flow information, in real time) and other intermediating functions.
BRIEF DESCRIPTION OF THE DRAWINGS
 FIG. 1 illustrates a typical, non-limiting embodiment of the system level architecture employed in the disclosure of present;
 FIG. 2A and FIG. 2B illustrate the Internet Protocol (IP) rating and classification techniques, methods and advances pertinent to the Internet Protocol (IP) charging and rating middleware platform and gateway system disclosed herein.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
 With reference to FIG. 1, wherever a mobile subscriber seeks to access the Internet 44 and/or related informational services via 45, 46, 47 (WAP Gateway, NMSC or Multi-Media Server, respectively), the GGSN 10 sends via the RADIUS protocol 11, an authorization request to the RADIUS Proxy Server 260 of the Internet Protocol (IP) charging and rating middleware platform and gateway system 200. Technicians skilled in the art will recognize that mobile subscriber's may wish to access content at their wireless handset and/or other similar wireless device other than those delimited prior without diluting the intent and scope of the invention of present. Further still, those practitioners will also recognize that a variety of protocols, including Authentication, Authorization, and Accounting (AAA) protocols, will satisfy the implementation of said architecture without affecting the intent and scope of the present invention. Fundamentally, the Internet Protocol (IP) charging and rating middleware platform and gateway system 200 resides between the GGSN 10 and the Master RADIUS server 20; in a lay manner, the GGSN 10 simply presupposes the gateway system 200 is the Master RADIUS server 20, and vice versa.
 Continuing with reference to FIG. 1, the RADIUS Proxy Server 260 checks the master data to confirm that the account in question is active, via LDAP or RADIUS. Practitioners skilled in the art shall recognize that a variety of protocols will satisfy the implementation of said architecture without affecting the intent and scope of the present invention. Where the returned response is negative (not shown) an authorization reject 11 is returned to the GGSN.
 The gateway system 200, makes a request to an Open Charging (OC) middleware platform and gateway system 250 as detailed in commonly-assigned U.S. patent application Ser. No. 10/307,335 (now U.S. Pat. No. 7,801,171), to confirm the status of the account in question and related profile capabilities. Technicians skilled in the art will recognize that the invention of present need not be limited to the aforementioned Open Charging (OC) middleware platform and system and other similar network implementations may be employed without diluting the intent and scope as such.
 The Open Charging (OC) middleware platform and gateway system 250 accesses the subscriber account server (SCP), removing the access charge from the account (pre-paid). Where the account can not support the requested charge then a negative response is returned (not shown) and a negative authorization is passed to the GGSN as a failed access request.
 From the Unified Rating Service 240 the user profile in question is recovered. In the preferred embodiment, assuming both the account check, and the profile were positive an authorization accept 11 is returned to the GGSN 10 via the gateway system's 200 RADIUS Proxy server 260.
 The gateway system 200 preloads the said user profile and loads the rating plans (detailed further in FIG. 2A and FIG. 2B), as a result, when the first user data packet is received the gateway controller 220, already has a complete user profile built.
 So thus, still in reference in FIG. 1 now, whenever the mobile subscriber initiates a data session 12 and the RADIUS Proxy Server 260 riggers the gateway controller 220 with the subscriber specific identification parameters such as the IP address, MSISDN, APN etc., said controller 220 makes a token reservation request to OCG's Prepay Account Manager 250 application in order to obtain a certain amount of usage quota; 250 responds with a the requested number of credits/quota for consumption, for a particular ID.
 Simultaneously, the gateway controller 220 obtains the rating and charging information 240 specific to the subscriber. The gateway controller 220 then arms the IPCE 210 with the appropriate information, including MSISDN, IP address, the rating specific inspection criteria etc.
 IPCE 210 then internally arms the respective IP Flow Classification triggers (not shown) associated with the specific information. For example, the Flow Classification might specify the URL's allowed for the subscriber, the blocking of streaming service etc. The subscriber specific information is in addition to the regular usage statistic detectors. These generic IP Flow Classifiers perform accounting of usage on IP addresses, ports, protocols and maintain the user state information within the several IP flows.
 Where events corresponding to these trigger points occur, the IP Flow Classifiers update the Internet Protocol (IP) charging and rating middleware platform and gateway system 200 accounting interface (not shown), which monitors the usage related to each type of data low within the user data session.
 The Internet Protocol (IP) charging and rating middleware platform and gateway system 200 decrements the usage details from the allocated quota. Periodically, these usage statistics are updated on the gateway controller 220, which applies the charging to the usage information with rating information and decrements the credits reserved. Where the allocated tokens are exhausted, a token confirmation report is sent to aCG's Prepay Server 250, in order to debit the users account balance and simultaneously reserve additional credit/quota and allocation of usage quotas.
 The Packet Analyzer component of the IP Classification Engine (IPCE) instantiates and configures itself using the downloaded IP Classification Modules Registry. It creates a decision tree based on the IP Classification Modules registry for analyzing and determining packet types. FIG. 2A and FIG. 2B serve to delineate these processes.
 When a packet is captured, it is passed onto the Packet Analyzer. If the source and destination IP addresses are not blocked, the Packet Analyzer obtains a copy of the packet and immediately re-releases the packet into the network. (Blocked packets are copied and dropped within the system. However, if the source or destination IP addresses or ports are defined to be free, the message is forwarded regardless of the blocking logic.) Using the copy of the captured packet, the Packet Analyzer determines the packet type using the decision tree of FIG. 2A.
 For commercial purposes it must be recognized that only chargeable packets may be analyzed.
 When the packet type is determined, the Rating and Charging Component of the IP Classification Engine is notified.
 The IP Classification Modules (IPCM) Registry is used to specify the logic for analyzing the packets. It specifies a decision tree for determining the packet type of each packet; it also specifies the IP Classification module to be used for determining each packet type.
 As explicated earlier with reference to FIG. 1, to enable all the above features of the Internet Protocol (IP) charging and rating middleware platfonn and gateway system, the Unified Rating Service (URS) on the control plane (i.e. service logic plane) is invoked to arm Flow Classification triggers on the data plane (i.e. user traffic plane). When a subscriber starts a data session, the standard and subscriber specific rating information is loaded from the URS onto the IPCE through the Controllers.
 Based on this rating profile, the appropriate Flow Classification triggers are armed within the IPCE. During regular inspection of IP flows, when a set of events corresponding to the armed triggers occurs in the data plane, the control plane service logic is triggered to take control of the IP flow to perform further analysis, accounting, routing and control of the session.
 Protocols such as FTP, POP, RTPIRTSP and SMTP have well-defined state machines where the service logic session information can indicate when a state has been reached. On the contrary, HTTP does not have well-defined state machines, but can be inspected in a way such that service logic can indicate when a state has been reached. For example, the control plane service logic has been implemented to start the counting the number and type of bytes transported after a HTTP GET Response has been detected. The accounting of packets is terminated when a TCP FIN is detected. Further refined service logic has also been implemented in the service logic of the IPCE, to detect content based on Layer 7 information. For example, particular internet content may have restricted access, or may be free of charge.
 Consider further the advances achieved by the IPCM in providing a unique way of identifying and classifying MMS traffic for rating purposes. Now, MMS traffic is usually transported over the standard WAP protocol stack within a GPRS network; the IP classification Flow Monitors detect MMS traffic within the WAP protocol stack through the `Content Type` field within the WSP layer of the WAP protocol or the presence ofthe MMSC URI in the GET header ofthe WSP layer ofthe WAP protocol. All WAP messages with the same Transaction ID as the original MMS packets are considered to be part of the MMS message stream. To ensure that all packets related to a MMS message are correctly rated, session-management is required to correlate all traffic with the same Transaction ID (in the WTP layer).
 Grouping by Transaction ID is terminated by either a time-based counter or the arrival of an `Abort (0×04) PDU within the Wireless Transaction Protocol layer.
 Tables 1A and 1B have been included herewith to further elucidate these advances.
TABLE-US-00001 TABLE 1A MMS Traffic Identifcation Layer Field Value Wireless Transaction Transaction ID compared Transaction ID against existing transaction ID Protocol for MMStraffic streams. If the transaction ID matches an existing MMS traffic stream, it is automatically identified as MMS traffic. Wireless Content e.g. Session Type ,application/vnd.wap.mms- Protocol ,Protocol message' Wireless URI (where The URI of the serving Session Content MMSC. Protocol Type is The URI of the serving unavailable). Wireless PDU Type e.g. Get (0 x 40) Session URI http://[MMSC URI]?message-id=XXXXXX Protocol
TABLE-US-00002 TABLE 1B MMS Traffic Identification Layer Field Description Frame Packet Length The size of the packet. Value is used as the size of the packet during IP rating. Packet Length is presented in bytes . . . Internet Protocol Source/Destination The source or destination IP address. Used to identify the subscriber. Wireless Transaction ID Assigned transaction ID used Transaction to correlate all transactions Protocol within the subscriber- initiated session.
 The Internet Protocol (IP) charging and rating middleware platform and gateway system obtains the usage accounting information (not shown), applies the associated rating information to calculate the incurred charge to the subscriber and decrements that from the quota allocated by the Prepaid Application Manager, in the case of prepaid subscribers. When the allocated quota has been depleted (or lower than a defined threshold) the quota usage is confirmed with a request for more. In the event that the subscriber has no more balance in their prepaid account, it is possible to selectively drop the subscriber packets, or direct them to a top-up site, depending on the subscriber specific rating information. In the case of post paid subscribers, the appropriate usage CDR's (or similar type Event Records) are generated for transfer to the network billing system.
Patent applications by Ian Gordon Collett, Munchen DE
Patent applications by Karthik Ramakrishnan, Burlington CA
Patent applications by Rubens Rahim, Markham CA
Patent applications by REDKNEE INC.
Patent applications in class Control of data admission to the network
Patent applications in all subclasses Control of data admission to the network