WO2009039797A1 - A method, system and apparatus for dynamically updating classifier information - Google Patents

A method, system and apparatus for dynamically updating classifier information Download PDF

Info

Publication number
WO2009039797A1
WO2009039797A1 PCT/CN2008/072582 CN2008072582W WO2009039797A1 WO 2009039797 A1 WO2009039797 A1 WO 2009039797A1 CN 2008072582 W CN2008072582 W CN 2008072582W WO 2009039797 A1 WO2009039797 A1 WO 2009039797A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
classifier
module
gateway
dynamically
Prior art date
Application number
PCT/CN2008/072582
Other languages
French (fr)
Chinese (zh)
Inventor
Shuo Li
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009039797A1 publication Critical patent/WO2009039797A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]

Definitions

  • Embodiments of the present invention relate to the field of network communication technologies, and in particular, to a method, system, and apparatus for dynamically updating classifier information. Background technique
  • WiMAX Worldwide Interoperability for Microwave Access
  • the WiMAX network is mainly composed of three parts, that is, the client, the ASN (Access Service Network), the BS (Base Station), and the ASN-GW (Access Service Network-Gateway).
  • CSN Connectioned Service Network
  • PPS Prepaid Server
  • AAA Server Authentication Authority Account Server
  • HA Home Agent, Home Agent
  • the wireless side of the WiMAX network is a wireless metropolitan area network access technology based on the IEEE 802.16d/e standard.
  • the NWG Network Working Grou, Network Working Group of the WiMAX Forum
  • NWG Network Working Grou, Network Working Group of the WiMAX Forum
  • the NWG Stage2 network is shown in Figure 1.
  • the ASN includes two network elements, a BS and an ASN-GW.
  • the classification of services in the WiMAX system is mainly performed by the classifier.
  • the ASN-GW classifies the downlink data by matching the downlink classifier, and the MS (Mobile Subscriber) classifies the uplink data by matching the uplink classifier.
  • the classifier can identify one or a type of service with the same QoS (Quality of Service) attributes.
  • the existing classifiers are mainly classified by some parameters in the IP (Internet Protocol) header, see Table 1. These parameters are in the preset business flow.
  • IP Internet Protocol
  • the AAA server is configured to be sent to the ASN-GW through the authorization process.
  • the dynamic service flow it is determined in the application layer negotiation process and delivered to the ASN-GW through the policy server.
  • the relationship between the classifier and the user IP and DataPath (data path) is as shown in Figure 2.
  • the ASN-GW receives the downlink data packet, it can locate the above three classifiers according to the destination IP (user IP) of the packet, and then follow The priority in the classifier matches each classifier one by one. If a classifier is successfully matched, the packet corresponding to the classifier is used to forward the message to the BS.
  • the classifier template Although different services can be distinguished, the actual application
  • the specific parameters in the classifier template may not be available or difficult to collect and describe when setting up the classifier, and need to be dynamically updated in the business process. For example, in the following two application scenarios, the classifier information cannot be obtained when setting the classifier.
  • An operator requires self-operated services to directly access the Internet through the roaming gateway through HA, Internet services, emergency calls, etc. At this time, the user obtains the mobile IP address of the home location and the simple IP address of the roaming place, respectively.
  • the service can be distinguished by the terminal IP, but the terminal IP cannot be obtained when setting the classifier, and the existing classifier has no relevant design for dynamic update.
  • An operator requires the WiMAX ASN-GW to support the classification of services on the R3 interface by using a Virtual Local Area Network (Virtual Local Area Network).
  • the carrier believes that different services are connected through different tunnels in order to ensure service security.
  • the R3 interface to the ASN-GW can be differentiated according to the identifiers of the tunnels, such as the VLAN ID (Virtual Local Area Network Identifier) and the GRE Key (Generic Routing Encapsulation Key). .
  • the IP header parameter information is available in the existing classifier, and the existing process of classifying by the matching classifier cannot be compatible with the scenario that is classified by the connection or interface information.
  • the inventors have found that at least the following problems exist in the prior art:
  • the specific parameters in the classifier information cannot be obtained when the server sets the classifier, and the gateway cannot also use the classifier in the business process.
  • the parameters are dynamically updated, and the existing processes for classifying by matching classifiers are not compatible with scenarios that rely on interface information for classification. Summary of the invention
  • Embodiments of the present invention provide a method, system, and apparatus for dynamically updating classifier information, so as to implement dynamic update of classifier information, and enable classifier information to support scenarios that are classified according to interface information.
  • an embodiment of the present invention provides a method for dynamically updating classifier information, including the following steps: The gateway receives classifier information delivered by a server; The gateway determines whether the dynamic information existence bit in the classifier information is set; if set, the gateway dynamically updates the classifier information according to the dynamic information existence bit.
  • the embodiment of the present invention further provides a system for dynamically updating classifier information, including: a server, configured to set classifier information, and send the classifier information; and a gateway, connected to the server, And receiving the classifier information sent by the server, and determining whether the dynamic information presence bit in the classifier information is set, if set, dynamically updating the classifier according to the dynamic information existence bit information.
  • a server configured to set classifier information, and send the classifier information
  • a gateway connected to the server, And receiving the classifier information sent by the server, and determining whether the dynamic information presence bit in the classifier information is set, if set, dynamically updating the classifier according to the dynamic information existence bit information.
  • an embodiment of the present invention further provides a server, including: an information setting module, configured to set classifier information; and an information delivery module, connected to the information setting module, configured to set the information setting module The classifier information is sent to the gateway.
  • the embodiment of the present invention further provides a gateway, including: an information receiving module, configured to receive classifier information delivered by a server; and an information determining module, connected to the information receiving module, for determining the information
  • the information about the presence of the dynamic information in the classifier information received by the receiving module is set;
  • the information updating module is connected to the information determining module, and is configured to dynamically update the location after the information determining module determines that the dynamic information exists.
  • the embodiment of the present invention has the following advantages: By adding dynamic information in the classifier information, the application of the classifier is more flexible, and the existing process of classifying by the matching classifier can be compatible with the connection. Or the scenario where the interface information is classified. DRAWINGS
  • Figure 1 is a reference model of a prior art NWG Stage 2 network
  • FIG. 2 is a relationship diagram between a prior art classifier and a user IP and DataPath
  • FIG. 3 is a structural diagram of a system for dynamically updating classifier information according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for dynamically updating classifier information according to an embodiment of the present invention
  • the embodiment of the invention provides a method for dynamically updating the classifier information.
  • the embodiment of the present invention dynamically updates the classifier to make the application of the classifier more flexible, and also enables the existing classification by the matching classifier.
  • the process can be compatible with scenarios that rely on connection or interface information for classification.
  • a structural diagram of a system for dynamically updating classifier information includes a server 1 and a gateway 2.
  • Server 1 is used to set the classifier information, and the classifier information is sent to the gateway 2 through the authorization process.
  • a dynamic information existence bit is added to the template of the classifier.
  • the server 1 sets the classifier information, it determines whether the classifier information needs to be dynamically updated according to the classifier setting policy and the networking setting, and if the classifier information needs to be dynamically updated.
  • the server 1 sets the dynamic information to the location bit.
  • the dynamic information presence bit has two functions, one is to indicate which parameters in the classifier information the gateway 2 wants to dynamically update, and the other is to indicate which information is dynamic information that needs to be matched when the classifier is matched.
  • the gateway 2 is connected to the server 1 and is configured to receive the classifier information delivered by the server 1.
  • a dynamic parameter VPN ID Virtual Private Network Identifier
  • VLAN ID Virtual Private Network ID
  • GRE KEY GRE Key
  • the gateway 2 updates the parameter identified by the dynamic information existence bit when the service flow is established, and can distinguish different parameters by using the dynamically updated parameter when using the classifier classification. Business flow, and thus the classification function.
  • the server 1 includes an update judging module 11, an information setting module 12, and an information sending module 13.
  • the update judging module 11 is configured to determine, according to the classifier setting policy and the networking setting, whether to dynamically update the classifier information when the classifier information is set, and if the classifier information needs to be dynamically updated, the notification information setting module 12 sets the location of the dynamic information.
  • Bit The dynamic information presence bit has two functions, one is to indicate which parameters in the classifier information to be dynamically updated by the gateway 2, and the other is to indicate which information is dynamic information that needs to be matched when the classifier is matched.
  • the information setting module 12 is configured to: when the update determining module 11 determines that the classifier information needs to be dynamically updated, the dynamic information in the classifier information is in a position, and the present invention is implemented.
  • a method for setting the presence of dynamic information in the example is shown in Table 2.
  • the gateway 2 includes a relationship configuration module 21, an information receiving module 22, an information determining module 23, an information updating module 24, a classifier determining module 25, a classifier issuing module 26, and a classifying module 27.
  • the relationship configuration module 21 is configured to configure a correspondence between the service type and the interface information of the gateway 2, where the service type includes a VoIP service, a Game service, or an Internet service.
  • the information receiving module 22 is configured to receive the classifier information sent by the server 1.
  • the dynamic parameter VPN ID, VLAN ID, GRE KEY, etc. related to the interface information are newly added to the classifier information, and the meanings of these parameters are shown in Table 2.
  • the information judging module 23 is connected to the information receiving module 22 for determining whether the dynamic information presence bit in the classifier information received by the information receiving module 22 is set.
  • the information update module 24 is connected to the information judging module 223, and is configured to update the parameter identified by the presence bit of the dynamic information when the service flow is established after the information judging module 23 judges that the dynamic information exists.
  • the classifier determining module 25 is connected to the information updating module 24, and is configured to determine, after the information updating module 24 updates the classifier information, whether the classifier corresponding to each service type is unique; the classifier issuing module 26 and the classifier determining module The connection is sent to the classification module 27 after the classifier determination module 25 determines that the classifier corresponding to each service type is unique.
  • the classification module 27 is connected to the classifier delivery module 26 for classifying the downlink data by the classifier delivered by the matching classifier delivery module 26.
  • the priority of the Priority classifier determines the order in which the classifiers are matched, and the high-priority classifiers are advanced in line matching.
  • Bit #4 destination IP address Bit #3-1 Reserved, set to 0
  • IP TOS/DSCP Range and Mask The range and mask of the TOS/DSCP field in the IP header
  • Protocol type in the Protocol IP header
  • IP port destination port range IP port destination port range
  • VLAN ID receives the VLAN ID information of the 4 port
  • GRE KEY information on the GRE KEY receiving port Table 2 Dynamic Information Exist Flag, VPN ID, VLAN ID, GRE
  • the KEY is a newly added classifier parameter in the embodiment of the present invention. If the VPN ID bit in the Dynamic Information Exist Flag sent by the server 1 is set, that is, Bit #8 is set, the gateway 2 dynamically updates the VPN when the service flow is established. ID parameter, and this parameter is applied when the message is classified.
  • a flowchart of a method for dynamically updating classifier information includes the following steps:
  • Step S401 The gateway receives the classifier information delivered by the server.
  • the classifier information is dynamic information added in the classifier, and includes: a virtual private network identifier VPN ID, a virtual local area network identifier VLAN ID, and/or a universal route encapsulation key GRE KEY.
  • the server first sets the classifier information before the server sends the classifier information.
  • a dynamic information existence bit is added to the template of the classifier, and when the server sets the classifier information, the server determines whether the classifier information needs to be dynamically updated according to the classifier setting policy and the networking setting, and if the classifier needs to be dynamically updated. Information, then the server sets the dynamic information presence bit.
  • the dynamic information presence bit has two functions, one is to indicate which parameters in the classifier information to be dynamically updated by the gateway, and the other is to indicate which information is dynamic information that needs to be matched when the classifier is matched.
  • a method for setting a presence bit of dynamic information according to an embodiment of the present invention is shown in Table 2.
  • the interface includes a physical interface or a logical interface used by the gateway to connect with other devices, such as a FE interface, a GE interface, a tunnel interface, and a sub-interface.
  • the gateway interface information is specifically configured as the interface description information of the interface of the gateway according to different service types or applications. For example, after the sub-interface is bound to the VLAN, the interface has the VLAN ID information; the tunnel interface and the peer device establish a GRE tunnel. After that, this interface has GRE KEY information.
  • Step S402 the gateway determines whether the dynamic information existence bit in the classifier information is set. After receiving the classifier information, the gateway determines whether the dynamic information presence bit in the classifier information is set.
  • Step S403 if set, the gateway dynamically updates the classifier information according to the dynamic information existence bit. After judging that the dynamic information in the classifier information has a position bit, the gateway updates the parameter identified by the presence of the dynamic information when the service flow is established, and can distinguish different services by using the dynamically updated parameters when using the classifier classification. Stream, and then implement the classification function.
  • the dynamic parameter VPN ID, VLAN ID, GRE KEY, etc. related to the interface information are newly added to the classifier information, and the meanings of these parameters are as shown in Table 2.
  • the Dynamic Information Exist Flag, VPN ID, VLAN ID, and GRE KEY in Table 2 are the newly added classifier parameters in the embodiment of the present invention. If the VPN ID bit in the Dynamic Information Exist Flag sent by the server is set, Bit #8 is placed. Bit, the gateway dynamically updates the VPN ID parameter when the service flow is established, and applies the parameter when the message is classified.
  • the classifier information is dynamic information added in the classifier, including a VPN ID, a VLAN ID, and/or a GRE KEY.
  • the dynamically updated classifier information includes a source IP address and a destination IP address, and a source IP address and The destination IP address is obtained according to the information of the user of the classifier on the gateway, and the gateway queries the user entry corresponding to the classifier to obtain the IP address information and update the classifier information.
  • the gateway After updating the corresponding parameters according to the presence of the dynamic information, the gateway checks each type of service. The uniqueness of the classifier, check and pass, confirm that each type of service classifier is unique, and then send the classifier that updated the corresponding parameters to the entity that performs the classification function. After the downlink data arrives at the gateway, the gateway completes the data classification function by matching the valid parameters in the downlink classifier, including the original parameters of the classifier and the parameters added in the embodiment of the present invention. Then distribute the data of the good class to the client.
  • FIG. 5 it is a schematic diagram of Embodiment 1 of a method for dynamically updating classifier information according to the present invention.
  • FIG. 5 shows Internet service data, indicating VoIP service data.
  • a VoIP service tunnel is established between ASN-GW and a gateway of the VoIP network.
  • This tunnel can be identified by VPN. It can also be identified by a VLAN.
  • Other services can also establish other service tunnels between the gateway and the service gateway.
  • VPN ID or VLAN ID of these tunnels on the ASN-GW the classifier can distinguish different services.
  • the mapping between the service type and the VPN can be configured in advance on the ASN-GW.
  • MSI and MS2 are VPN users who have signed up for Internet, Game, and VoIP services. You can set the service classifier on the AAA Server as:
  • VoIP ⁇ Dynamic information exists in the VPN ID location bit ⁇
  • the ASN-GW After receiving the service classifier with the dynamic information in the location, the ASN-GW updates the VPN ID to the classifier information after querying the local configuration, and then checks whether the classifier of each type of service has uniqueness. To confirm that each type of service classifier is unique, it is delivered to the entity that performs the classification function.
  • the ASN-GW After a downlink packet arrives at the ASN-GW, according to the destination IP of the packet, that is, the user IP, the ASN-GW can locate the two classifiers above, and then follow the superiority in the classifier.
  • the first level matches each classifier one by one, in the embodiment of the present invention, the VPN due to the classifier information
  • the DataPath forwards the message to the BS.
  • the AAA Server sets the VPN ID bit in the bitifier information presence bit, and after receiving the classifier information, the ASN-GW updates the VPN ID to the classifier information.
  • the dynamic update of the classifier information is realized, and the existing process of classifying by the matching classifier can be compatible with the scenario that is classified according to the interface information.
  • the second embodiment of the present invention is a method for dynamically updating classifier information according to an embodiment of the present invention in a 3GPP (3rd Generation Partnership Project) system.
  • the classifier information parameters are shown in Table 3.
  • the dynamic information presence bit in Table 3 is the new 8-bit dynamic information presence bit.
  • the type identifier of the classification information parameter can be set as follows: Bits
  • the other values are reserved and may be set to 0.
  • the VPNID, the VLAN ID, and the GREKEY are the newly added classifier parameters in the embodiment of the present invention. If the classifier dynamic information sent by the server has a VPN ID bit in the bit, that is, Bit #8 is set. Then, the gateway dynamically updates the VPN ID parameter when the service flow is established, and applies the parameter when the message is classified.
  • An embodiment of the present invention provides a method for dynamically updating classifier information.
  • a dynamic information presence bit is added to the classifier information, and the gateway updates the corresponding parameter according to the presence of the dynamic information, and the solution is solved.
  • the problem that the existing classifier cannot be dynamically updated, and the existing process of classifying by the matching classifier through the newly added classifier parameters can be compatible with the scenario that is classified by the interface information.
  • the gateway dynamically updates the classifier information according to the presence of the dynamic information.
  • the ASN-GW obtains the dynamic update parameter after receiving the service classifier with the dynamic information.
  • VPN ID Updates the dynamically updated parameters to the classifier information.
  • Bit #7 VLAN ID: Same as VPN ID.
  • Bit #6 GRE KEY: Same as VPN ID.
  • Bit#5 Source IP address: It can be obtained according to the information recorded in the user table of the user of the classifier on the GW.
  • the IP address is dynamically allocated by the gateway after the user passes the authentication, and the IP assigned to the user is recorded in the user.
  • the user name of the user corresponding to the classifier can be obtained by updating the classifier to obtain the IP address information.
  • Bit#4 Destination IP Address: The same IP address.
  • the present invention can be implemented by hardware or by software plus a necessary general hardware platform.
  • the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

A method for dynamically updating classifier information is disclosed, and the method includes the following steps: the gateway receives classifier information transmitted by the server; the gateway judges whether the dynamic information exist flag is set; if said flag is set, the gateway dynamically updates the classifier information according to the dynamic information exist flag. Through the embodiments of the invention, the gateway updates relative parameters of classifier information according to the classifier information set by the server, thus the method overcomes the disadvantage that the prior art could not dynamically update classifier information and makes the present procedure of classifying by matching classifier be compatible with the scene of classifying by interface information.

Description

一种动态更新分类器信息的方法、 系统和装置  Method, system and device for dynamically updating classifier information
技术领域 Technical field
本发明实施例涉及网络通信技术领域,特别涉及一种动态更新分 类器信息的方法、 系统和装置。 背景技术  Embodiments of the present invention relate to the field of network communication technologies, and in particular, to a method, system, and apparatus for dynamically updating classifier information. Background technique
WiMAX ( Worldwide Interoperability for Microwave Access , 微波 接入全球互通 ),是一种基于 IEEE( Institute of Electrical and Electronics Engineers, 电气电子工程师协会) 802.16标准的无线城域网技术。 WiMAX网络主要由三个部分组成, 即客户端、 ASN ( Access Service Network, 接入业务网 ) 包括 BS ( Base Station, 基站)和 ASN-GW ( Access Service Network-Gateway , 接入业务网网关) 和 CSN ( Connectivity Service Network , 连接业务网) 包括 PPS ( Prepaid Server,予贞付费月良务器 )、 AAA Server ( Authentication Authority Account Server, 认证、 授权和计费服务器)、 HA ( Home Agent, 归属代理) 等逻辑实体。 WiMAX网络无线侧是基于 IEEE 802.16d/e标准的无线 城域网接入技术。 NWG ( Network Working Grou , WiMAX论坛的网 络工作组)负责制定端到端的网络规范, 其目标是: 建立端到端的网 络参考模型, 满足 WiMAX论坛运营商工作组提出的需求; 制定端到 端的网络规范, 定义网络中的功能实体和网络接口; 为 WiMAX系统 的互通认证奠定基础。 NWG Stage2网络的参考模型如图 1所示。 其 中, ASN包括 BS和 ASN-GW两个网元。  WiMAX ( Worldwide Interoperability for Microwave Access) is a wireless metropolitan area network technology based on the IEEE (Institute of Electrical and Electronics Engineers) 802.16 standard. The WiMAX network is mainly composed of three parts, that is, the client, the ASN (Access Service Network), the BS (Base Station), and the ASN-GW (Access Service Network-Gateway). CSN (Connected Service Network) includes PPS (Prepaid Server), AAA Server (Authentication Authority Account Server, Authentication, Authorization and Accounting Server), HA (Home Agent, Home Agent) Equal logical entities. The wireless side of the WiMAX network is a wireless metropolitan area network access technology based on the IEEE 802.16d/e standard. The NWG (Network Working Grou, Network Working Group of the WiMAX Forum) is responsible for developing end-to-end network specifications with the goal of: Establishing an end-to-end network reference model to meet the needs of the WiMAX Forum Operators Working Group; Developing end-to-end network specifications , define functional entities and network interfaces in the network; lay the foundation for interoperability authentication of WiMAX systems. The reference model for the NWG Stage2 network is shown in Figure 1. The ASN includes two network elements, a BS and an ASN-GW.
WiMAX系统中业务的分类主要是通过分类器完成的, ASN-GW 通过匹配下行分类器实现下行数据的分类, MS ( Mobile Subscriber , 移动用户)通过匹配上行分类器实现上行数据的分类。 分类器可以标 识出具有相同 QoS ( Quality of Service, 服务质量)属性的一种或一 类业务。 现有分类器主要是通过 IP ( Internet Protocol, 互联网协议) 头中的某些参数来实现分类的, 参见表 1。 这些参数在预置业务流的 情况下在用户签约时配置在 AAA Server上, 通过授权过程下发到 ASN-GW 上; 在动态业务流情况下在应用层的协商过程中确定, 并 通过策略服务器下发到 ASN-GW上。 The classification of services in the WiMAX system is mainly performed by the classifier. The ASN-GW classifies the downlink data by matching the downlink classifier, and the MS (Mobile Subscriber) classifies the uplink data by matching the uplink classifier. The classifier can identify one or a type of service with the same QoS (Quality of Service) attributes. The existing classifiers are mainly classified by some parameters in the IP (Internet Protocol) header, see Table 1. These parameters are in the preset business flow In the case of the user's subscription, the AAA server is configured to be sent to the ASN-GW through the authorization process. In the case of the dynamic service flow, it is determined in the application layer negotiation process and delivered to the ASN-GW through the policy server.
表 1  Table 1
Figure imgf000004_0001
下面以下行报文为例, 说明分类器的分类过程。
Figure imgf000004_0001
The following line of packets is used as an example to illustrate the classification process of the classifier.
假设某用户签约了三种业务, Internet (因特网)、 Game (游戏)、 VoIP ( Voice over Internet Protocol, 基于 IP网络的语音传输), 这三种 业务均通过下行报文的源地址进行分类。 对应的分类器分别为:  Assume that a user subscribes to three types of services: Internet (Internet), Game (Play), and Voice over Internet Protocol (VoIP). These three services are classified by the source address of the downlink packets. The corresponding classifiers are:
VoIP: {Priority =1 , IP Source Address and Mask = 12.130.5.0/255.255.255.0 } VoIP: {Priority =1, IP Source Address and Mask = 12.130.5.0/255.255.255.0 }
Game: {Priority =2, IP Source Address and Mask = 11.120.1.0/255.255.255.0 }Game: {Priority = 2, IP Source Address and Mask = 11.120.1.0/255.255.255.0 }
Internet : {Priority =3 , IP Source Address and Mask = 10.110.10.0/255.255.255.0 } Internet : {Priority =3 , IP Source Address and Mask = 10.110.10.0/255.255.255.0 }
分类器与用户 IP、DataPath (数据路径)关系如图 2所示, ASN-GW 收到下行数据报文时, 根据报文的目的 IP (用户 IP )可以定位到上 面三个分类器, 然后按照分类器中的优先级逐一匹配每个分类器, 如 果和某个分类器匹配成功,则使用该分类器对应的 DataPath将报文转 发给 BS。  The relationship between the classifier and the user IP and DataPath (data path) is as shown in Figure 2. When the ASN-GW receives the downlink data packet, it can locate the above three classifiers according to the destination IP (user IP) of the packet, and then follow The priority in the classifier matches each classifier one by one. If a classifier is successfully matched, the packet corresponding to the classifier is used to forward the message to the BS.
通过设置分类器模板, 虽然可以区分出不同的业务, 但实际应用 时,分类器模板中的具体参数在设置分类器时可能无法获得或者很难 收集并描述, 需要在业务过程中动态更新。 例如下面两种应用场景, 分类器信息在设置分类器时无法获得。 By setting the classifier template, although different services can be distinguished, the actual application The specific parameters in the classifier template may not be available or difficult to collect and describe when setting up the classifier, and need to be dynamically updated in the business process. For example, in the following two application scenarios, the classifier information cannot be obtained when setting the classifier.
1 ) 某运营商要求自营业务通过 HA, Internet业务、 紧急呼叫等 业务通过漫游地网关直接接入 Internet, 此时用户分别获得归属地的 移动 IP地址和漫游地的简单 IP地址, 这两类业务可以通过终端 IP 进行区分, 但是终端 IP在设置分类器时无法获得, 现有的分类器也 没有动态更新的相关设计。  1) An operator requires self-operated services to directly access the Internet through the roaming gateway through HA, Internet services, emergency calls, etc. At this time, the user obtains the mobile IP address of the home location and the simple IP address of the roaming place, respectively. The service can be distinguished by the terminal IP, but the terminal IP cannot be obtained when setting the classifier, and the existing classifier has no relevant design for dynamic update.
2 ) 某运营商要求 WiMAX ASN-GW支持在 R3接口上用 VLAN ( Virtual Local Area Network, 虚拟局域网)对业务进行分类, 该运营 商认为为了保证业务的安全性, 不同业务是通过不同的隧道连接到 ASN-GW的 R3接口的,可以直接根据这些隧道的标识,如 VLAN ID ( Virtual Local Area Network Identifier , 虚拟局域网标识)、 GRE Key ( Generic Routing Encapsulation Key, 通用路由封装密钥)等来区分 业务。 而现有分类器中只有 IP头参数信息, 现有的通过匹配分类器 进行分类的流程无法兼容这种依靠连接或接口信息进行分类的场景。  2) An operator requires the WiMAX ASN-GW to support the classification of services on the R3 interface by using a Virtual Local Area Network (Virtual Local Area Network). The carrier believes that different services are connected through different tunnels in order to ensure service security. The R3 interface to the ASN-GW can be differentiated according to the identifiers of the tunnels, such as the VLAN ID (Virtual Local Area Network Identifier) and the GRE Key (Generic Routing Encapsulation Key). . However, only the IP header parameter information is available in the existing classifier, and the existing process of classifying by the matching classifier cannot be compatible with the scenario that is classified by the connection or interface information.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问 题: 在实际应用时, 分类器信息中的具体参数在服务器设置分类器时 无法获得, 在业务过程中网关也无法对分类器的参数进行动态更新, 并且现有的通过匹配分类器进行分类的流程无法兼容依靠接口信息 进行分类的场景。 发明内容  In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: In actual application, the specific parameters in the classifier information cannot be obtained when the server sets the classifier, and the gateway cannot also use the classifier in the business process. The parameters are dynamically updated, and the existing processes for classifying by matching classifiers are not compatible with scenarios that rely on interface information for classification. Summary of the invention
本发明实施例提供一种动态更新分类器信息的方法、 系统和装 置, 以实现对分类器信息进行动态更新, 并使分类器信息支持依靠接 口信息进行分类的场景。  Embodiments of the present invention provide a method, system, and apparatus for dynamically updating classifier information, so as to implement dynamic update of classifier information, and enable classifier information to support scenarios that are classified according to interface information.
为达到上述目的,本发明实施例一方面提供了一种动态更新分类 器信息的方法, 包括以下步骤: 网关接收服务器下发的分类器信息; 所述网关判断所述分类器信息中的动态信息存在位是否置位;如果置 位, 则所述网关才艮据所述动态信息存在位动态更新所述分类器信息。 To achieve the above objective, an embodiment of the present invention provides a method for dynamically updating classifier information, including the following steps: The gateway receives classifier information delivered by a server; The gateway determines whether the dynamic information existence bit in the classifier information is set; if set, the gateway dynamically updates the classifier information according to the dynamic information existence bit.
另一方面,本发明实施例还提供了一种动态更新分类器信息的系 统, 包括: 服务器, 用于设置分类器信息, 并将所述分类器信息下发; 网关, 与所述服务器连接, 用于接收所述服务器下发的分类器信息, 并判断所述分类器信息中的动态信息存在位是否置位, 如果置位, 则 才艮据所述动态信息存在位动态更新所述分类器信息。  In another aspect, the embodiment of the present invention further provides a system for dynamically updating classifier information, including: a server, configured to set classifier information, and send the classifier information; and a gateway, connected to the server, And receiving the classifier information sent by the server, and determining whether the dynamic information presence bit in the classifier information is set, if set, dynamically updating the classifier according to the dynamic information existence bit information.
再一方面, 本发明实施例还提供了一种服务器, 包括: 信息设置 模块, 用于设置分类器信息; 信息下发模块, 与所述信息设置模块连 接, 用于将所述信息设置模块设置的分类器信息下发给网关。  In another aspect, an embodiment of the present invention further provides a server, including: an information setting module, configured to set classifier information; and an information delivery module, connected to the information setting module, configured to set the information setting module The classifier information is sent to the gateway.
再一方面, 本发明实施例还提供了一种网关, 包括: 信息接收模 块, 用于接收服务器下发的分类器信息; 信息判断模块, 与所述信息 接收模块连接 ,用于判断所述信息接收模块接收的分类器信息中的动 态信息存在位是否置位; 信息更新模块, 与所述信息判断模块连接, 用于在所述信息判断模块判断所述动态信息存在位置位之后,动态更 新所述分类器信息。  In another aspect, the embodiment of the present invention further provides a gateway, including: an information receiving module, configured to receive classifier information delivered by a server; and an information determining module, connected to the information receiving module, for determining the information The information about the presence of the dynamic information in the classifier information received by the receiving module is set; the information updating module is connected to the information determining module, and is configured to dynamically update the location after the information determining module determines that the dynamic information exists. The classifier information.
与现有技术相比, 本发明实施例具有以下优点: 通过在分类器信 息中增加动态信息, 使分类器的应用更加灵活, 并使得现有的通过匹 配分类器进行分类的流程可以兼容依靠连接或接口信息进行分类的 场景。 附图说明  Compared with the prior art, the embodiment of the present invention has the following advantages: By adding dynamic information in the classifier information, the application of the classifier is more flexible, and the existing process of classifying by the matching classifier can be compatible with the connection. Or the scenario where the interface information is classified. DRAWINGS
图 1为现有技术 NWG Stage2网络的参考模型;  Figure 1 is a reference model of a prior art NWG Stage 2 network;
图 2为现有技术分类器和用户 IP、 DataPath的关系图;  2 is a relationship diagram between a prior art classifier and a user IP and DataPath;
图 3为本发明实施例动态更新分类器信息的系统的结构图; 图 4为本发明实施例动态更新分类器信息的方法的流程图; 图 5为本发明动态更新分类器信息的方法实施例一的示意图。 具体实施方式 3 is a structural diagram of a system for dynamically updating classifier information according to an embodiment of the present invention; FIG. 4 is a flowchart of a method for dynamically updating classifier information according to an embodiment of the present invention; FIG. A schematic diagram of one. detailed description
本发明实施例提供了一种动态更新分类器信息的方法,通过本发 明实施例, 对分类器进行动态更新, 使分类器的应用更加灵活, 同时 也使得现有的通过匹配分类器进行分类的流程可以兼容依靠连接或 接口信息进行分类的场景。  The embodiment of the invention provides a method for dynamically updating the classifier information. The embodiment of the present invention dynamically updates the classifier to make the application of the classifier more flexible, and also enables the existing classification by the matching classifier. The process can be compatible with scenarios that rely on connection or interface information for classification.
如图 3所示,为本发明实施例动态更新分类器信息的系统的结构 图, 包括服务器 1和网关 2。 服务器 1用于设置分类器信息, 并将该 分类器信息通过授权过程下发给网关 2。 本发明实施例在分类器的模 板中增加了动态信息存在位, 在服务器 1设置分类器信息时, 会根据 分类器设置策略和组网设置判断是否需要动态更新分类器信息,如果 需要动态更新分类器信息, 则服务器 1将动态信息存在位置位。 该动 态信息存在位有两个功能,一是指示网关 2要动态更新分类器信息中 的哪些参数,二是在匹配分类器时指示哪些信息是需要匹配的动态信 息。 网关 2与服务器 1连接, 用于接收服务器 1下发的分类器信息。 本发明实施例在分类器信息中还新增了与接口信息相关的动态参数 VPN ID ( Virtual Private Network Identifier, 虚拟专用网标识), VLAN ID, GRE KEY等。 在判断该分类器信息中的动态信息存在位置位之 后, 网关 2会在业务流建立时更新动态信息存在位所标识的参数, 在 使用分类器分类时可以通过这些动态更新的参数区分出不同的业务 流, 进而实现分类功能。  As shown in FIG. 3, a structural diagram of a system for dynamically updating classifier information according to an embodiment of the present invention includes a server 1 and a gateway 2. Server 1 is used to set the classifier information, and the classifier information is sent to the gateway 2 through the authorization process. In the embodiment of the present invention, a dynamic information existence bit is added to the template of the classifier. When the server 1 sets the classifier information, it determines whether the classifier information needs to be dynamically updated according to the classifier setting policy and the networking setting, and if the classifier information needs to be dynamically updated. The server 1 then sets the dynamic information to the location bit. The dynamic information presence bit has two functions, one is to indicate which parameters in the classifier information the gateway 2 wants to dynamically update, and the other is to indicate which information is dynamic information that needs to be matched when the classifier is matched. The gateway 2 is connected to the server 1 and is configured to receive the classifier information delivered by the server 1. In the embodiment of the present invention, a dynamic parameter VPN ID (Virtual Private Network Identifier), a VLAN ID, a GRE KEY, and the like related to the interface information are added to the classifier information. After judging that the dynamic information in the classifier information has a position bit, the gateway 2 updates the parameter identified by the dynamic information existence bit when the service flow is established, and can distinguish different parameters by using the dynamically updated parameter when using the classifier classification. Business flow, and thus the classification function.
其中服务器 1包括更新判断模块 11、 信息设置模块 12和信息下 发模块 13。 更新判断模块 11用于在设置分类器信息时, 根据分类器 设置策略和组网设置判断是否需要动态更新分类器信息,如果需要动 态更新分类器信息,则通知信息设置模块 12将动态信息存在位置位。 该动态信息存在位有两个功能,一是指示网关 2要动态更新分类器信 息中的哪些参数,二是在匹配分类器时指示哪些信息是需要匹配的动 态信息。信息设置模块 12用于在更新判断模块 11判断需要动态更新 分类器信息时, 将分类器信息中的动态信息存在位置位, 本发明实施 例提出的一种设置动态信息存在位的方法如表 2所示。信息下发模块The server 1 includes an update judging module 11, an information setting module 12, and an information sending module 13. The update judging module 11 is configured to determine, according to the classifier setting policy and the networking setting, whether to dynamically update the classifier information when the classifier information is set, and if the classifier information needs to be dynamically updated, the notification information setting module 12 sets the location of the dynamic information. Bit. The dynamic information presence bit has two functions, one is to indicate which parameters in the classifier information to be dynamically updated by the gateway 2, and the other is to indicate which information is dynamic information that needs to be matched when the classifier is matched. The information setting module 12 is configured to: when the update determining module 11 determines that the classifier information needs to be dynamically updated, the dynamic information in the classifier information is in a position, and the present invention is implemented. A method for setting the presence of dynamic information in the example is shown in Table 2. Information delivery module
13 , 与信息设置模块 12连接, 用于将信息设置模块 12设置的分类器 信息通过授权过程下发给网关 2。 13 . Connect with the information setting module 12, and the classifier information used for setting the information setting module 12 is sent to the gateway 2 through the authorization process.
其中, 网关 2包括关系配置模块 21、 信息接收模块 22、 信息判 断模块 23、 信息更新模块 24、 分类器判断模块 25、 分类器下发模块 26和分类模块 27。关系配置模块 21用于配置业务类型与网关 2的接 口信息的对应关系,该业务类型包括 VoIP业务、 Game业务或 Internet 业务等。 信息接收模块 22用于接收服务器 1下发的分类器信息。 本 发明实施例在分类器信息还新增了与接口信息相关的动态参数 VPN ID, VLAN ID, GRE KEY等, 这些参数的含义如表 2所示。 信息判 断模块 23与信息接收模块 22连接, 用于判断信息接收模块 22接收 的分类器信息中的动态信息存在位是否置位。 信息更新模块 24与信 息判断模块 223连接, 用于在信息判断模块 23判断动态信息存在位 置位之后, 在业务流建立时更新动态信息存在位所标识的参数。 分类 器判断模块 25与信息更新模块 24连接, 用于在信息更新模块 24更 新完分类器信息之后, 判断与每个业务类型对应的分类器是否唯一; 分类器下发模块 26与分类器判断模块 25连接,用于在分类器判断模 块 25判断与每个业务类型对应的分类器唯一之后, 将该分类器下发 给分类模块 27。 分类模块 27与分类器下发模块 26连接, 用于通过 匹配分类器下发模块 26下发的分类器对下行数据进行分类。  The gateway 2 includes a relationship configuration module 21, an information receiving module 22, an information determining module 23, an information updating module 24, a classifier determining module 25, a classifier issuing module 26, and a classifying module 27. The relationship configuration module 21 is configured to configure a correspondence between the service type and the interface information of the gateway 2, where the service type includes a VoIP service, a Game service, or an Internet service. The information receiving module 22 is configured to receive the classifier information sent by the server 1. In the embodiment of the present invention, the dynamic parameter VPN ID, VLAN ID, GRE KEY, etc. related to the interface information are newly added to the classifier information, and the meanings of these parameters are shown in Table 2. The information judging module 23 is connected to the information receiving module 22 for determining whether the dynamic information presence bit in the classifier information received by the information receiving module 22 is set. The information update module 24 is connected to the information judging module 223, and is configured to update the parameter identified by the presence bit of the dynamic information when the service flow is established after the information judging module 23 judges that the dynamic information exists. The classifier determining module 25 is connected to the information updating module 24, and is configured to determine, after the information updating module 24 updates the classifier information, whether the classifier corresponding to each service type is unique; the classifier issuing module 26 and the classifier determining module The connection is sent to the classification module 27 after the classifier determination module 25 determines that the classifier corresponding to each service type is unique. The classification module 27 is connected to the classifier delivery module 26 for classifying the downlink data by the classifier delivered by the matching classifier delivery module 26.
表 2  Table 2
分类器参数 含义  Classifier parameters meaning
Priority 分类器的优先级,决定了匹配分类 器的顺序,高优先级的分类器先进 行匹配。  The priority of the Priority classifier determines the order in which the classifiers are matched, and the high-priority classifiers are advanced in line matching.
Dynamic Information Exist 动态信息存在位, 8-bit Bitmasko  Dynamic Information Exist dynamic information presence bit, 8-bit Bitmasko
Flag Bit #8 = VPN ID .  Flag Bit #8 = VPN ID .
Bit #7 = VLAN ID  Bit #7 = VLAN ID
Bit #6 = GRE KEY  Bit #6 = GRE KEY
Bit #5 = 源 IP地址  Bit #5 = Source IP Address
Bit #4 = 目的 IP地址 Bit #3-1 保留, 置 0 Bit #4 = destination IP address Bit #3-1 Reserved, set to 0
1表示置位。  1 means set.
IP TOS/DSCP Range and Mask IP头中 TOS/DSCP域的范围和掩 码  IP TOS/DSCP Range and Mask The range and mask of the TOS/DSCP field in the IP header
Protocol IP头中的协议类型  Protocol type in the Protocol IP header
IP Source Address and Mask IP头中的源 IP地址和掩码 Source IP address and mask in the IP Source Address and Mask IP header
IP Destination Address and IP头中的目的 IP地址和掩码 Destination IP address and mask in IP Destination Address and IP header
Mask  Mask
Source Port Range IP头中的源端口范围 Source Port Range in the Source Port Range IP Header
Destination Port Range IP头中的目的端口范围 Destination port range IP port destination port range
VPN ID 接收 文端口的 VPN ID信息 VPN ID Received VPN ID information of the port
VLAN ID 接收 4艮文端口的 VLAN ID信息VLAN ID receives the VLAN ID information of the 4 port
GRE KEY 接收 文端口的 GRE KEY信息 表 2中 Dynamic Information Exist Flag, VPN ID, VLAN ID, GREGRE KEY information on the GRE KEY receiving port. Table 2 Dynamic Information Exist Flag, VPN ID, VLAN ID, GRE
KEY为本发明实施例新增加的分类器参数, 如果服务器 1 下发的分 类器 Dynamic Information Exist Flag中 VPN ID比特位, 即 Bit #8置 位, 则网关 2在业务流建立时会动态更新 VPN ID参数, 并在报文分 类时应用该参数。 The KEY is a newly added classifier parameter in the embodiment of the present invention. If the VPN ID bit in the Dynamic Information Exist Flag sent by the server 1 is set, that is, Bit #8 is set, the gateway 2 dynamically updates the VPN when the service flow is established. ID parameter, and this parameter is applied when the message is classified.
如图 4所示,为本发明实施例动态更新分类器信息的方法的流程 图, 具体包括以下步骤:  As shown in FIG. 4, a flowchart of a method for dynamically updating classifier information according to an embodiment of the present invention includes the following steps:
步骤 S401 , 网关接收服务器下发的分类器信息。 具体的, 分类 器信息为在分类器中增加的动态信息, 包括: 虚拟专用网标识 VPN ID, 虚拟局域网标识 VLAN ID和 /或通用路由封装密钥 GRE KEY。 在服务器下发分类器信息之前, 服务器会先设置该分类器信息。 本发 明实施例在分类器的模板中增加了动态信息存在位,服务器在设置分 类器信息时 ,会根据分类器设置策略和组网设置判断是否需要动态更 新分类器信息, 如果需要动态更新分类器信息, 则服务器置位动态信 息存在位。 该动态信息存在位有两个功能, 一是指示网关要动态更新 分类器信息中的哪些参数,二是在匹配分类器时指示哪些信息是需要 匹配的动态信息。本发明实施例提出的一种设置动态信息存在位的方 法如表 2所示。 服务器在将分类器信息设置完毕之后, 通过授权过程 将业务对应的分类器信息下发给网关。在接收服务器下发的分类器信 息之前, 网关会先配置业务类型与该网关的接口信息的对应关系, 该 业务类型包括 VoIP业务、 Game业务或 Internet业务等。 Step S401: The gateway receives the classifier information delivered by the server. Specifically, the classifier information is dynamic information added in the classifier, and includes: a virtual private network identifier VPN ID, a virtual local area network identifier VLAN ID, and/or a universal route encapsulation key GRE KEY. The server first sets the classifier information before the server sends the classifier information. In the embodiment of the present invention, a dynamic information existence bit is added to the template of the classifier, and when the server sets the classifier information, the server determines whether the classifier information needs to be dynamically updated according to the classifier setting policy and the networking setting, and if the classifier needs to be dynamically updated. Information, then the server sets the dynamic information presence bit. The dynamic information presence bit has two functions, one is to indicate which parameters in the classifier information to be dynamically updated by the gateway, and the other is to indicate which information is dynamic information that needs to be matched when the classifier is matched. A method for setting a presence bit of dynamic information according to an embodiment of the present invention is shown in Table 2. After the server sets the classifier information, it passes the authorization process. The classifier information corresponding to the service is sent to the gateway. Before receiving the classifier information sent by the server, the gateway first configures the correspondence between the service type and the interface information of the gateway, and the service type includes a VoIP service, a Game service, or an Internet service.
具体的,接口包括网关与其他设备连接所使用的物理接口或逻辑 接口, 如 FE接口、 GE接口、 Tunnel接口、 子接口等。 网关接口信 息具体为所述网关的接口根据不同业务类型或应用所具有的不同的 接口描述信息, 如子接口绑定 VLAN后, 这个接口就具有 VLAN ID 信息; Tunnel接口和对端设备建立 GRE隧道后,这个接口就具有 GRE KEY信息。  Specifically, the interface includes a physical interface or a logical interface used by the gateway to connect with other devices, such as a FE interface, a GE interface, a tunnel interface, and a sub-interface. The gateway interface information is specifically configured as the interface description information of the interface of the gateway according to different service types or applications. For example, after the sub-interface is bound to the VLAN, the interface has the VLAN ID information; the tunnel interface and the peer device establish a GRE tunnel. After that, this interface has GRE KEY information.
步骤 S402, 网关判断分类器信息中的动态信息存在位是否置位。 网关在接收到该分类器信息之后,会判断该分类器信息中的动态信息 存在位是否置位。  Step S402, the gateway determines whether the dynamic information existence bit in the classifier information is set. After receiving the classifier information, the gateway determines whether the dynamic information presence bit in the classifier information is set.
步骤 S403 , 如果置位, 则网关根据动态信息存在位动态更新所 述分类器信息。 在判断该分类器信息中的动态信息存在位置位之后, 网关会在业务流建立时更新动态信息存在位所标识的参数,在使用分 类器分类时可以通过这些动态更新的参数区分出不同的业务流,进而 实现分类功能。本发明实施例在分类器信息还新增了与接口信息相关 的动态参数 VPN ID , VLAN ID , GRE KEY等, 这些参数的含义如 表 2所示。表 2中 Dynamic Information Exist Flag , VPN ID , VLAN ID , GRE KEY为本发明实施例新增加的分类器参数, 如果服务器下发的 分类器 Dynamic Information Exist Flag中 VPN ID比特位, 即 Bit #8 置位, 则网关在业务流建立时会动态更新 VPN ID参数, 并在报文分 类时应用该参数。  Step S403, if set, the gateway dynamically updates the classifier information according to the dynamic information existence bit. After judging that the dynamic information in the classifier information has a position bit, the gateway updates the parameter identified by the presence of the dynamic information when the service flow is established, and can distinguish different services by using the dynamically updated parameters when using the classifier classification. Stream, and then implement the classification function. In the embodiment of the present invention, the dynamic parameter VPN ID, VLAN ID, GRE KEY, etc. related to the interface information are newly added to the classifier information, and the meanings of these parameters are as shown in Table 2. The Dynamic Information Exist Flag, VPN ID, VLAN ID, and GRE KEY in Table 2 are the newly added classifier parameters in the embodiment of the present invention. If the VPN ID bit in the Dynamic Information Exist Flag sent by the server is set, Bit #8 is placed. Bit, the gateway dynamically updates the VPN ID parameter when the service flow is established, and applies the parameter when the message is classified.
其中, 分类器信息为在分类器中增加的动态信息, 包括 VPN ID、 VLAN ID和 /或 GRE KEY等, 另外, 动态更新的分类器信息还包括 源 IP地址和目的 IP地址, 源 IP地址和目的 IP地址才艮据分类器所属 用户在所述网关上的信息获得,所述网关查询所述分类器对应的用户 表项获得所述 IP地址信息并更新所述分类器信息。  The classifier information is dynamic information added in the classifier, including a VPN ID, a VLAN ID, and/or a GRE KEY. In addition, the dynamically updated classifier information includes a source IP address and a destination IP address, and a source IP address and The destination IP address is obtained according to the information of the user of the classifier on the gateway, and the gateway queries the user entry corresponding to the classifier to obtain the IP address information and update the classifier information.
在根据动态信息存在位更新完相应参数之后,网关检查每类业务 分类器的唯一性, 检查通过, 确认每类业务分类器具有唯一性, 则将 更新完相应参数的分类器下发给执行分类功能的实体。当下行数据到 达网关之后, 网关通过匹配下行分类器中的有效参数, 包括分类器原 有的参数和本发明实施例新增的参数, 完成数据分类功能。 然后再将 分好类的数据下发到客户端。 After updating the corresponding parameters according to the presence of the dynamic information, the gateway checks each type of service. The uniqueness of the classifier, check and pass, confirm that each type of service classifier is unique, and then send the classifier that updated the corresponding parameters to the entity that performs the classification function. After the downlink data arrives at the gateway, the gateway completes the data classification function by matching the valid parameters in the downlink classifier, including the original parameters of the classifier and the parameters added in the embodiment of the present invention. Then distribute the data of the good class to the client.
如图 5所示,为本发明动态更新分类器信息的方法实施例一的示 意图,图 5中 表示 Internet业务数据, 表示 VoIP业务数据, As shown in FIG. 5, it is a schematic diagram of Embodiment 1 of a method for dynamically updating classifier information according to the present invention. FIG. 5 shows Internet service data, indicating VoIP service data.
——表示其他业务数据。 - Indicates other business data.
实际组网时各种不同类型的业务在 R3接口往往是通过不同的通 道区分的,如图 5所示, ASN-GW和 VoIP网络的某个网关间建立 VoIP 业务隧道, 这个隧道可以用 VPN标识, 也可用 VLAN标识, 其他业 务也可以在网关和业务网关间建立其他业务隧道。 通过这些隧道在 ASN-GW上的接口信息, VPN ID或 VLAN ID ,分类器就可以区分出 不同的业务。  In actual networking, different types of services are often distinguished by different channels on the R3 interface. As shown in Figure 5, a VoIP service tunnel is established between ASN-GW and a gateway of the VoIP network. This tunnel can be identified by VPN. It can also be identified by a VLAN. Other services can also establish other service tunnels between the gateway and the service gateway. Through the interface information, VPN ID or VLAN ID of these tunnels on the ASN-GW, the classifier can distinguish different services.
在这种组网模式下, 可以预先在 ASN-GW 上配置业务类型和 VPN 的对应关系, 如 VoIP 业务对应的 VRF ( VPN Routing and Forwarding, VPN路由 /转发)实例名为 voipservice( VPN ID=3 ), Game 业务对应的 VRF实例名为 gameservice ( VPN ID=5 )。 MSI和 MS2 是签约了 Internet, Game, VoIP 3种业务的 VPN用户,则可以在 AAA Server上设置业务的分类器为:  In this networking mode, the mapping between the service type and the VPN can be configured in advance on the ASN-GW. For example, the VRF (VPN Routing and Forwarding) instance corresponding to the VoIP service is named voipservice (VPN ID=3). ), the VRF instance corresponding to the Game service is named gameservice (VPN ID=5). MSI and MS2 are VPN users who have signed up for Internet, Game, and VoIP services. You can set the service classifier on the AAA Server as:
Internet: 不设置分类器  Internet: Do not set the classifier
Game: {动态信息存在位 VPN ID位置位 }  Game: {Dynamic information exists in the VPN ID location bit }
VoIP: {动态信息存在位 VPN ID位置位 }  VoIP: {Dynamic information exists in the VPN ID location bit }
ASN-GW 收到动态信息存在位置位的业务分类器后, 查询本地 配置获得相应得 VPN ID后将 VPN ID更新到分类器信息中, 然后检 查每类业务的分类器是否具有唯一性, 检查通过, 确认每类业务分类 器具有唯一性, 则下发到执行分类功能的实体。  After receiving the service classifier with the dynamic information in the location, the ASN-GW updates the VPN ID to the classifier information after querying the local configuration, and then checks whether the classifier of each type of service has uniqueness. To confirm that each type of service classifier is unique, it is delivered to the entity that performs the classification function.
当有下行报文到达 ASN-GW后,根据报文的目的 IP,即用户 IP, ASN-GW 就可以定位到上面的两个分类器, 然后按照分类器中的优 先级逐一匹配每个分类器 ,在本发明实施例中由于分类器信息的 VPNAfter a downlink packet arrives at the ASN-GW, according to the destination IP of the packet, that is, the user IP, the ASN-GW can locate the two classifiers above, and then follow the superiority in the classifier. The first level matches each classifier one by one, in the embodiment of the present invention, the VPN due to the classifier information
ID动态信息存在位被置位, 因此 ASN-GW使用报文的 VPN ID信息 去匹配分类器, 如果是 VoIP业务, 则匹配 VPN ID=3的分类器成功, 于是 ASN-GW使用该分类器对应的 DataPath将报文转发给 BS。 The ID dynamic information existence bit is set. Therefore, the ASN-GW uses the VPN ID information of the packet to match the classifier. If it is a VoIP service, the classifier matching the VPN ID=3 succeeds, and the ASN-GW uses the classifier to correspond. The DataPath forwards the message to the BS.
上述动态更新分类器信息的方法,在 WiMAX系统中 AAA Server 将分类器信息存在位中的 VPN ID位置位, 在 ASN-GW接收到该分 类器信息之后, 将 VPN ID更新到分类器信息中, 从而实现了对分类 器信息的动态更新,同时也使得现有的通过匹配分类器进行分类的流 程可以兼容依靠接口信息进行分类的场景。  In the above method for dynamically updating the classifier information, in the WiMAX system, the AAA Server sets the VPN ID bit in the bitifier information presence bit, and after receiving the classifier information, the ASN-GW updates the VPN ID to the classifier information. Thereby, the dynamic update of the classifier information is realized, and the existing process of classifying by the matching classifier can be compatible with the scenario that is classified according to the interface information.
本发明动态更新分类器信息的方法实施例二为在 3GPP ( 3rd Generation Partnership Project, 第三代合作伙伴计划) 系统中应用本 发明实施例提出的动态更新分类器信息的方法。 在 3GPP系统中, 分 类器信息参数如表 3所示。  The second embodiment of the present invention is a method for dynamically updating classifier information according to an embodiment of the present invention in a 3GPP (3rd Generation Partnership Project) system. In the 3GPP system, the classifier information parameters are shown in Table 3.
表 3  table 3
8 7 6 4 3 2 1  8 7 6 4 3 2 1
Parameter identifier 1 Octet z+1 Parameter identifier 1 Octet z+1
Length of Parameter contents 1 Octet z+2 Length of Parameter contents 1 Octet z+2
动态信息存 在位, 8bits,
Figure imgf000012_0001
1表示置位
Dynamic information exists, 8bits,
Figure imgf000012_0001
1 means set
Parameter contents 1 Octet z+3  Parameter contents 1 Octet z+3
Octet k  Octet k
Parameter identifier 2 Octet k+1 Parameter identifier 2 Octet k+1
Length of Parameter contents 2 Octet k+2 Length of Parameter contents 2 Octet k+2
Parameter contents 2 Octet k+3  Parameter contents 2 Octet k+3
Octet p  Octet p
Octet p+1 Octet q  Octet p+1 Octet q
Parameter identifier N Octet q+1 Parameter identifier N Octet q+1
Length of Parameter contents N Octet q+2 Length of Parameter contents N Octet q+2
Parameter contents N Octet q+3  Parameter contents N Octet q+3
Octet v 表 3中的动态信息存在位即为新增的 8位动态信息存在位,分类 信息参数的类型标识符可按如下方式设置: Bits Octet v The dynamic information presence bit in Table 3 is the new 8-bit dynamic information presence bit. The type identifier of the classification information parameter can be set as follows: Bits
87654321  87654321
00010000 IPv4 remote address type  00010000 IPv4 remote address type
00100000 IPv6 remote address type 00100000 IPv6 remote address type
00110000 Protocol identifier/Next header type 00110000 Protocol identifier/Next header type
01000000 Single local port type  01000000 Single local port type
01000001 Local port range type 01000001 Local port range type
01010000 Single remote port type  01010000 Single remote port type
01010001 Remote port range type  01010001 Remote port range type
01100000 Security parameter index type 01100000 Security parameter index type
01110000 Type of service/Traffic class type 01110000 Type of service/Traffic class type
10000000 Flow label type  10000000 Flow label type
10000001 VPN ID 10000001 VPN ID
10000010 VLANID  10000010 VLANID
10000011 GREKEY 10000011 GREKEY
其它值保留, 可以置 0, 其中 VPNID, VLANID, GREKEY为本发 明实施例新增加的分类器参数,如果服务器下发的分类器动态信息存 在位中的 VPN ID比特位, 即 Bit #8置位, 则网关在业务流建立时会 动态更新 VPN ID参数, 并在报文分类时应用该参数。 The other values are reserved and may be set to 0. The VPNID, the VLAN ID, and the GREKEY are the newly added classifier parameters in the embodiment of the present invention. If the classifier dynamic information sent by the server has a VPN ID bit in the bit, that is, Bit #8 is set. Then, the gateway dynamically updates the VPN ID parameter when the service flow is established, and applies the parameter when the message is classified.
本发明实施例提供了一种动态更新分类器信息的方法,通过本发 明实施例, 在分类器信息中新增了动态信息存在位, 网关根据该动态 信息存在位对相应参数进行更新,解决了现有分类器不能动态更新的 问题 ,并且通过新增的分类器参数使现有的通过匹配分类器进行分类 的流程可以兼容依靠接口信息进行分类的场景。  An embodiment of the present invention provides a method for dynamically updating classifier information. In the embodiment of the present invention, a dynamic information presence bit is added to the classifier information, and the gateway updates the corresponding parameter according to the presence of the dynamic information, and the solution is solved. The problem that the existing classifier cannot be dynamically updated, and the existing process of classifying by the matching classifier through the newly added classifier parameters can be compatible with the scenario that is classified by the interface information.
本发明的另一个实施例中: 网关才艮据动态信息存在位动态更新所 述分类器信息具体为: ASN-GW 收到动态信息存在位置位的业务分 类器后, 获得动态更新的参数(例如 VPN ID)将该动态更新的参数 更新到该分类器信息。对于本发明中所列出的可以动态更新的参数及 获取方式具体可以如下: Bit #8 = VPN ID: 需要查询 "业务类型与网关接口信息的对应关系" 配置, 因为 AAA是按照业务流粒度下发分类器的, 网关可以获得需 要更新的分类器属于哪个业务,然后用业务类型查询配置即可获得接 口信息 (如 VLAN ID、 GRE KEY等) 并更新到分类器中。 In another embodiment of the present invention, the gateway dynamically updates the classifier information according to the presence of the dynamic information. The ASN-GW obtains the dynamic update parameter after receiving the service classifier with the dynamic information. VPN ID) Updates the dynamically updated parameters to the classifier information. The parameters that can be dynamically updated and the manner of obtaining listed in the present invention can be specifically as follows: Bit #8 = VPN ID: You need to query the "correspondence between service type and gateway interface information" configuration. Because AAA sends the classifier according to the service flow granularity, the gateway can obtain which service the classifier that needs to be updated belongs to, and then use the service. Type query configuration can get interface information (such as VLAN ID, GRE KEY, etc.) and update to the classifier.
Bit #7 = VLAN ID: 同 VPN ID 。 Bit #7 = VLAN ID: Same as VPN ID.
Bit #6 = GRE KEY: 同 VPN ID。 Bit #6 = GRE KEY: Same as VPN ID.
Bit#5 = 源 IP地址:根据分类器所属用户在 GW上的用户表项里记录 的信息可以获得, IP 地址是在用户认证通过后被动态分配的 网关会将分配给用户的 IP记录在用户表项里, 因此更新分类器时查 询分类器对应的用户的用户表项即可获得 IP地址信息。  Bit#5 = Source IP address: It can be obtained according to the information recorded in the user table of the user of the classifier on the GW. The IP address is dynamically allocated by the gateway after the user passes the authentication, and the IP assigned to the user is recorded in the user. In the entry, the user name of the user corresponding to the classifier can be obtained by updating the classifier to obtain the IP address information.
Bit#4 = 目的 IP地址: 同源 IP地址。 Bit#4 = Destination IP Address: The same IP address.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明, 可以通过硬件实现, 也可以借助软件加必要的通用硬件平 台的方式来实现。基于这样的理解, 本发明的技术方案可以以软件产 品的形式体现出来, 该软件产品可以存储在一个非易失性存储介质 (可以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使 得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内所作的任何修改、 等 同替换、 改进等, 均应包含在本发明的保护范围之内。  In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1、 一种动态更新分类器信息的方法, 其特征在于, 包括以下步 骤: A method for dynamically updating classifier information, comprising the steps of:
网关接收服务器下发的分类器信息;  The gateway receives the classifier information delivered by the server;
所述网关判断所述分类器信息中的动态信息存在位是否置位; 如果置位,则所述网关根据所述动态信息存在位动态更新所述分 类器信息。  The gateway determines whether a dynamic information presence bit in the classifier information is set; if set, the gateway dynamically updates the classifier information according to the dynamic information presence bit.
2、如权利要求 1所述动态更新分类器信息的方法, 其特征在于, 在所述网关接收服务器下发的分类器信息之前, 还包括以下步骤: 所 述网关配置业务类型与所述网关接口信息的对应关系。  The method of dynamically updating the classifier information according to claim 1, wherein before the gateway receives the classifier information sent by the server, the method further includes the following steps: the gateway configuring a service type and the gateway interface Correspondence of information.
3、如权利要求 2所述动态更新分类器信息的方法, 其特征在于, 所述网关接口信息具体为:所述网关的接口根据不同业务类型或应用 所具有的不同的接口描述信息。  The method for dynamically updating the classifier information according to claim 2, wherein the gateway interface information is specifically: the interface description information of the interface of the gateway according to different service types or applications.
4、 如权利要求 1或 2所述动态更新分类器信息的方法, 其特征 在于, 还包括以下步骤:  4. The method of dynamically updating classifier information according to claim 1 or 2, further comprising the steps of:
所述网关判断与所述业务类型对应的分类器是否唯一;  Determining, by the gateway, whether the classifier corresponding to the service type is unique;
如果唯一, 则将所述分类器下发给执行分类功能的实体。  If unique, the classifier is delivered to the entity performing the classification function.
5、如权利要求 4所述动态更新分类器信息的方法, 其特征在于, 还包括以下步骤: 所述网关通过匹配所述分类器对下行数据进行分 类。  The method of dynamically updating classifier information according to claim 4, further comprising the step of: the gateway classifying the downlink data by matching the classifier.
6、如权利要求 1所述动态更新分类器信息的方法, 其特征在于, 在所述网关接收服务器下发的分类器信息之前, 还包括以下步骤: 所 述服务器设置所述分类器信息。  The method of dynamically updating classifier information according to claim 1, wherein before the gateway receives the classifier information sent by the server, the method further includes the following steps: the server sets the classifier information.
7、如权利要求 6所述动态更新分类器信息的方法, 其特征在于, 所述服务器设置所述分类器信息具体包括:  The method of dynamically updating the classifier information according to claim 6, wherein the setting of the classifier information by the server specifically includes:
所述服务器判断是否需要动态更新所述分类器信息;  Determining, by the server, whether the classifier information needs to be dynamically updated;
如果需要动态更新所述分类器信息,则所述服务器置位所述动态 信息存在位。 If the classifier information needs to be dynamically updated, the server sets the dynamic information presence bit.
8、 如权利要求 1-7任意一项所述动态更新分类器信息的方法, 其特征在于, 所述分类器信息为在分类器中增加的动态信息, 包括: 虚拟专用网标识 VPN ID, 虚拟局域网标识 VLAN ID和 /或通用路由 封装密钥 GRE KEY。 The method for dynamically updating classifier information according to any one of claims 1 to 7, wherein the classifier information is dynamic information added in a classifier, and includes: a virtual private network identifier VPN ID, virtual The LAN identifies the VLAN ID and/or the Generic Routing Encapsulation Key GRE KEY.
9、如权利要求 1所述动态更新分类器信息的方法, 其特征在于, 所述网关根据所述动态信息存在位动态更新所述分类器信息步骤具 体为:  9. The method of dynamically updating classifier information according to claim 1, wherein the step of dynamically updating the classifier information according to the presence of the dynamic information presence bit is:
所述网关获得动态更新的参数,根据动态信息存在位动态将该动 态更新的参数更新到该分类器信息。  The gateway obtains a dynamically updated parameter, and dynamically updates the dynamically updated parameter to the classifier information according to the dynamic information presence bit.
10、如权利要求 1所述动态更新分类器信息的方法,其特征在于, 所属网关获得动态更新的参数,具体可以为查询本地配置或者从用户 表项获得。  The method for dynamically updating the classifier information according to claim 1, wherein the gateway obtains the dynamically updated parameter, which may be obtained by querying the local configuration or obtaining the user entry.
11、如权利要求 1所述动态更新分类器信息的方法,其特征在于, 所述动态更新的分类器信息还包括: 源 IP地址和目的 IP地址。  The method of dynamically updating classifier information according to claim 1, wherein the dynamically updated classifier information further comprises: a source IP address and a destination IP address.
12、 如权利要求 11所述动态更新分类器信息的方法, 其特征在 于,  12. The method of dynamically updating classifier information as claimed in claim 11, wherein:
所述源 IP地址和目的 IP地址, 才艮据分类器所属用户在所述网关 上的信息获得,所述网关查询所述分类器对应的用户表项获得所述 IP 地址信息并更新所述分类器信息。  The source IP address and the destination IP address are obtained according to the information of the user of the classifier on the gateway, and the gateway queries the user entry corresponding to the classifier to obtain the IP address information and update the classification. Information.
13、 一种动态更新分类器信息的系统, 其特征在于, 包括: 服务器, 用于设置分类器信息, 并将所述分类器信息下发; 网关, 与所述服务器连接, 用于接收所述服务器下发的分类器信 息,并判断所述分类器信息中的动态信息存在位是否置位,如果置位, 则才艮据所述动态信息存在位动态更新所述分类器信息。  A system for dynamically updating classifier information, comprising: a server, configured to set classifier information, and send the classifier information; a gateway, connected to the server, configured to receive the The classifier information sent by the server, and determining whether the dynamic information presence bit in the classifier information is set. If set, the classifier information is dynamically updated according to the dynamic information existence bit.
14、 如权利要求 13所述动态更新分类器信息的系统, 其特征在 于, 所述服务器包括:  14. The system of dynamically updating classifier information according to claim 13, wherein the server comprises:
信息设置模块, 用于设置所述分类器信息;  An information setting module, configured to set the classifier information;
信息下发模块, 与所述信息设置模块连接, 用于将所述信息设置 模块设置的分类器信息下发给所述网关。 The information sending module is connected to the information setting module, and is configured to send the classifier information set by the information setting module to the gateway.
15、 如权利要求 13所述动态更新分类器信息的系统, 其特征在 于, 所述服务器还包括: 更新判断模块, 与所述信息设置模块连接, 用于判断是否需要动态更新所述分类器信息,如果需要动态更新所述 分类器信息,则所述更新判断模块通知所述信息设置模块将所述分类 器信息中的动态信息存在位置位。 The system for dynamically updating the classifier information according to claim 13, wherein the server further comprises: an update determining module, connected to the information setting module, configured to determine whether the classifier information needs to be dynamically updated. And if the classifier information needs to be dynamically updated, the update determining module notifies the information setting module to set the dynamic information in the classifier information to a position.
16、 如权利要求 13所述动态更新分类器信息的系统, 其特征在 于, 所述网关包括:  The system for dynamically updating classifier information according to claim 13, wherein the gateway comprises:
信息接收模块, 用于接收所述服务器下发的分类器信息; 信息判断模块, 与所述信息接收模块连接, 用于判断所述信息接 收模块接收的分类器信息中的动态信息存在位是否置位;  An information receiving module, configured to receive the classifier information sent by the server; the information determining module is connected to the information receiving module, and configured to determine whether the dynamic information in the classifier information received by the information receiving module is located Bit
信息更新模块, 与所述信息判断模块连接, 用于在所述信息判断 模块判断所述动态信息存在位置位之后, 动态更新所述分类器信息。  The information update module is connected to the information determining module, and configured to dynamically update the classifier information after the information determining module determines that the dynamic information exists.
17、 如权利要求 13所述动态更新分类器信息的系统, 其特征在 于, 所述网关还包括关系配置模块, 用于配置业务类型与所述网关接 口信息的对应关系。  The system for dynamically updating the classifier information according to claim 13, wherein the gateway further comprises a relationship configuration module, configured to configure a correspondence between the service type and the gateway interface information.
18、如权利要求 13或 17所述动态更新分类器信息的系统, 其特 征在于, 所述网关还包括:  The system for dynamically updating classifier information according to claim 13 or 17, wherein the gateway further comprises:
分类器判断模块, 与所述信息更新模块连接, 用于在所述信息更 新模块更新完分类器信息之后,判断与所述业务类型对应的分类器是 否唯一;  a classifier determining module, configured to be connected to the information update module, configured to determine, after the information update module updates the classifier information, whether the classifier corresponding to the service type is unique;
分类器下发模块, 与所述分类器判断模块连接, 用于在所述分类 器判断模块判断与所述业务类型对应的分类器唯一之后,将所述分类 器下发。  The classifier issuing module is connected to the classifier judging module, and is configured to deliver the classifier after the classifier judging module judges that the classifier corresponding to the service type is unique.
19、 如权利要求 18所述动态更新分类器信息的系统, 其特征在 于, 所述网关还包括: 分类模块, 与所述分类器下发模块连接, 用于 通过匹配所述分类器下发模块下发的分类器对下行数据进行分类。  The system for dynamically updating the classifier information according to claim 18, wherein the gateway further comprises: a classification module, connected to the classifier issuing module, configured to match the classifier to deliver the module The issued classifier classifies the downlink data.
20、 一种服务器, 其特征在于, 包括:  20. A server, comprising:
信息设置模块, 用于设置分类器信息;  An information setting module, configured to set classifier information;
信息下发模块, 与所述信息设置模块连接, 用于将所述信息设置 模块设置的分类器信息下发给网关。 An information delivery module, connected to the information setting module, configured to set the information The classifier information set by the module is sent to the gateway.
21、 如权利要求 20所述服务器, 其特征在于, 还包括: 更新判 断模块, 与所述信息设置模块连接, 用于判断是否需要动态更新所述 分类器信息, 如果需要动态更新所述分类器信息, 则所述更新判断模 块通知所述信息设置模块将所述分类器信息中的动态信息存在位置 位。  The server of claim 20, further comprising: an update determining module, coupled to the information setting module, configured to determine whether the classifier information needs to be dynamically updated, if the classifier needs to be dynamically updated The information is sent to the information setting module to notify the information setting module to set the dynamic information in the classifier information to a position.
22、 一种网关, 其特征在于, 包括:  22. A gateway, comprising:
信息接收模块, 用于接收服务器下发的分类器信息;  An information receiving module, configured to receive classifier information delivered by the server;
信息判断模块, 与所述信息接收模块连接, 用于判断所述信息接 收模块接收的分类器信息中的动态信息存在位是否置位;  An information judging module is connected to the information receiving module, and configured to determine whether a dynamic information presence bit in the classifier information received by the information receiving module is set;
信息更新模块, 与所述信息判断模块连接, 用于在所述信息判断 模块判断所述动态信息存在位置位之后, 动态更新所述分类器信息。  The information update module is connected to the information determining module, and configured to dynamically update the classifier information after the information determining module determines that the dynamic information exists.
23、 如权利要求 22所述网关, 其特征在于, 还包括关系配置模 块, 用于配置业务类型与所述网关接口信息的对应关系。  The gateway according to claim 22, further comprising a relationship configuration module, configured to configure a correspondence between the service type and the gateway interface information.
24、 如权利要求 23所述网关, 其特征在于, 还包括:  The gateway according to claim 23, further comprising:
分类器判断模块, 与所述信息更新模块连接, 用于在所述信息更 新模块更新完分类器信息之后,判断与所述业务类型对应的分类器是 否唯一;  a classifier determining module, configured to be connected to the information update module, configured to determine, after the information update module updates the classifier information, whether the classifier corresponding to the service type is unique;
分类器下发模块, 与所述分类器判断模块连接, 用于在所述分类 器判断模块判断与所述业务类型对应的分类器唯一之后,将所述分类 器下发。  The classifier issuing module is connected to the classifier judging module, and is configured to deliver the classifier after the classifier judging module judges that the classifier corresponding to the service type is unique.
25、 如权利要求 24所述网关, 其特征在于, 还包括: 分类模块, 与所述分类器下发模块连接,用于通过匹配所述分类器下发模块下发 的分类器对下行数据进行分类。  The gateway according to claim 24, further comprising: a classification module, configured to connect to the classifier sending module, to perform downlink data by matching a classifier sent by the classifier sending module classification.
PCT/CN2008/072582 2007-09-28 2008-09-27 A method, system and apparatus for dynamically updating classifier information WO2009039797A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710151884.0 2007-09-28
CN200710151884.0A CN101399741B (en) 2007-09-28 2007-09-28 Method, system and device for dynamically updating information of classifier

Publications (1)

Publication Number Publication Date
WO2009039797A1 true WO2009039797A1 (en) 2009-04-02

Family

ID=40510760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072582 WO2009039797A1 (en) 2007-09-28 2008-09-27 A method, system and apparatus for dynamically updating classifier information

Country Status (2)

Country Link
CN (1) CN101399741B (en)
WO (1) WO2009039797A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160239736A1 (en) * 2015-02-17 2016-08-18 Qualcomm Incorporated Method for dynamically updating classifier complexity
CN109660464A (en) * 2017-10-12 2019-04-19 中兴通讯股份有限公司 A kind of downlink message processing method, UPF equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002007388A2 (en) * 2000-07-14 2002-01-24 At & T Corp. Frame classification for qos-driven wireless local area networks
US6718379B1 (en) * 2000-06-09 2004-04-06 Advanced Micro Devices, Inc. System and method for network management of local area networks having non-blocking network switches configured for switching data packets between subnetworks based on management policies
WO2006000612A1 (en) * 2004-06-24 2006-01-05 Nokia Corporation Transfer of packet data in system comprising mobile terminal, wireless local network and mobile network
CN1859330A (en) * 2006-03-06 2006-11-08 华为技术有限公司 Method and system for processing electronic mails
CN1925457A (en) * 2005-08-31 2007-03-07 华为技术有限公司 Device and method for multi-service grouping data dispatching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6718379B1 (en) * 2000-06-09 2004-04-06 Advanced Micro Devices, Inc. System and method for network management of local area networks having non-blocking network switches configured for switching data packets between subnetworks based on management policies
WO2002007388A2 (en) * 2000-07-14 2002-01-24 At & T Corp. Frame classification for qos-driven wireless local area networks
WO2006000612A1 (en) * 2004-06-24 2006-01-05 Nokia Corporation Transfer of packet data in system comprising mobile terminal, wireless local network and mobile network
CN1925457A (en) * 2005-08-31 2007-03-07 华为技术有限公司 Device and method for multi-service grouping data dispatching
CN1859330A (en) * 2006-03-06 2006-11-08 华为技术有限公司 Method and system for processing electronic mails

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP TS 29.207 V6.5.0 (3GPP TSG CT), 30 September 2005 (2005-09-30), pages 9 - 29 *

Also Published As

Publication number Publication date
CN101399741B (en) 2014-04-30
CN101399741A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
US10511961B2 (en) Service in WLAN inter-working, address management system, and method
WO2012065499A1 (en) Method and system for realizing service quality control
CN104854576A (en) Systems and methods for accessing a network
WO2011079782A1 (en) Policy and charging control method, gateway and mobile terminal thereof
WO2008131689A1 (en) Method and system for realizing an emergency communication service and corresponding apparatuses thereof
WO2011075884A1 (en) Method and device for providing network service to a mobile user equipment
CN103517249A (en) Method, device and system of strategy control
WO2019019997A1 (en) Multicast data transmission method, related device and communication system
WO2018058365A1 (en) Network access authorization method, and related device and system
WO2009100661A1 (en) A tunnel service data stream controlling method and apparatus
WO2011134102A1 (en) Method, apparatus and system for correlating session
WO2012171430A1 (en) Method for obtaining tunnel information, a security gateway(segw) and an evolved home base station/ a home base station
WO2010006493A1 (en) Dynamic service flow processing method and system
WO2010091562A1 (en) Method and apparatus for interaction between fixed network and third party network or application server
WO2009039797A1 (en) A method, system and apparatus for dynamically updating classifier information
WO2007124671A1 (en) A method, device and system of negotiating the encrypting algorithm between the user equipment and the network
WO2012022212A1 (en) Method, apparatus and system for user equipment access
WO2012174977A1 (en) Method and device for processing service data streams
WO2013075580A1 (en) Method and system for resource control of local unload data
WO2012059043A1 (en) Method and system for controlling service admission
WO2011109992A1 (en) Method, device and system for obtaining information
WO2009129730A1 (en) Method, device and system for registering in universal service interface system
WO2008017275A1 (en) A packet classification method and system, encryption node, classification node thereof
WO2012041128A1 (en) Communication network system, method and device for finding home node b strategy network element
WO2012079443A1 (en) Method for switching resource control among base stations

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

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

Country of ref document: EP

Kind code of ref document: A1