# Patent

## Title
Method for transmitting policy information between network equipment

## Abstract

A method for transmitting policy information between network equipment, extending protocol types of messages in layer-2, layer-3 or a higher application layer between an IP-uplink broadband user access equipment and a BRAS so as to construct a PITP to bear policy information; a PITP message includes a policy information transmission type field, an operation type field and a policy information content field, and different types of policy information are distinguished by the policy information transmission type field; transmission of the policy information is implemented through a point-to-point means or a broadcast means in layer-2, a unicast or a multicast in layer-3 or a higher application layer. The present invention implements policy information transmission, prevents account intrusions and hacker attacks, makes it convenient for the broadband user access equipment to implement dynamic QoS policy adjustment in terms of different users and makes it easy for integrated managing the online equipment.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 11/587,992, filed on Apr. 20, 2007, which is a continuation of International Application No. PCT/CN2005/000781, filed on Jun. 3, 2005. The International Application claims priority to Chinese Patent Application No. 200410037136.6, filed on Jun. 3, 2004. The afore-mentioned patent applications are hereby incorporated by reference in their entireties.


FIELD OF THE INVENTION
The present invention relates to the field of communication technology, and more particularly to a method for transmitting policy information between network equipment such as a Digital Subscriber Line Access Multiplexer (DSLAM) and a Broadband Remote Access Server (BRAS).
BACKGROUND OF THE INVENTION
With the fast development of the Internet, the number of broadband network users is increasing rapidly. During the procedure of the operators constructing the broadband networks, networking mode has developed from Asynchronous Transfer Mode Digital Subscriber Line Access Multiplexer (ATM DSLAM) to Internet Protocol Digital Subscriber Line Access Multiplexer (IP DSLAM). The uplink of the ATM DSLAM adopts a DSLAM with ATM ports, while the uplink of the IP DSLAM adopts a DSLAM with GE ports or FE ports. Edge service nodes connecting to the DSLAM uplink is Broadband Remote Access Server (BRAS).
With the ever-increasing network scale and the increasing number of network users, security problems are becoming more and more severe. Account intrusions and hacker attacks are becoming more and more intense. In addition, with the prevalence of online movies, video services, online games and IP phones, the requirement for broadband and real-time services are becoming higher and higher, so it is more and more important for the operators to provide different services according to different users or different applications. Therefore, it is an urgent issue for the operators to manage and maintain the online equipment simply, conveniently and efficiently. However, at present the DSLAM cannot communicate with such equipment as the BRAS or policy servers, so other problems will be brought in while resolving the above-mentioned problems. The solutions for solving network security problems, Quality of Service (QoS) implementations, multicast videos, network management and so on, as well as the accompanying problems, will be described in detail.
In terms of the network security problem of the hacker attacks, the primary means in the broadband equipment is to quarantine the user to interdict the user from affecting other users, so that damages to the users are confined in a very small scope. In a DSLAM network framework that adopts the ATM-uplink, the general adopted means is to establish a Permanent Virtual Channel (PVC) from the DSLAM to the BRAS for each Asymmetric Digital Subscriber Line (ADSL) user, so that different PVCs are quarantined; in an IP DSLAM network framework, the general adopted means is to allocate a Virtual Local Area Network Identity (VLAN ID) for each user, so that different users are interdicted from visiting one another.
In terms of the network security problem of the account intrusions, the present solution is to bind the account with a port identity and authenticate the legality of the user with the cooperation of a Remote Authentication Dial-In User Service (RADIUS) Server. The port identity of a user is the PVC of the user in the ATM DSLAM; and is the VLAN ID of the user in the IP DSLAM. The PVC of the user or the VLAN ID of the user identifies a unique actual online user. The BRAS captures the authentication message of the user, takes out the account information of the user and sends the account information together with the port information of the user to the RADIUS Server; the RADIUS Server determines whether the account information and the port identity are legal so as to decide whether the user can log on to the network. The port information of the user is the VLAN ID or the Virtual Path Identifier (VPI) and Virtual Channel Identifier (VCI) of the PVC.
The above-mentioned solutions for network security problems in terms of hacker attacks or account intrusions all need to use the user PVC of the ATM DSLAM or VLAN ID of the IP DSLAM. The number of PVC in the ATM DSLAM is determined by the values of VPI and VCI. According to the definition of VPI and VCI in an ATM Cell, at the user network side, VPI is 8-bit while VCI is 16-bit, so 256 (the number of VPI)×65536 (the number of VCI)=16777216 users are supported. The supported number of the users completely satisfies the quantity requirement of the users accessing the DSLAM, so that the user is uniquely identified by using PVC and thus account intrusions and hacker attacks are prevented by using PVC.
However, in terms of the IP DSLAM, most of the networking modes adopting IP DSLAM uplinks are: FE or GE interface uplinks access to BRAS through GE interfaces after being aggregated by LAN Switches. VLAN ID is currently defined as 12-bit and supports 4096 users at most. In other words, if each user is allocated with a VLAN ID, there will be at most 4096 users aggregated at an GE interface; when there are more than 4096 user ports, multiple users will certainly share one VLAN ID, so it is impossible either to avoid hacker attacks by setting a unique VLAN ID for each user, or to avoid account intrusions by binding the VLAN ID with the user account.
The physical port of each user connected to the DSLAM is unique. If a user can be identified through his physical port, the ports and users will be mapped one by one no matter how many users there are.
Similarly, if a user can be identified by his physical port and the physical port of the user can be bound with information such as the address of the user, the problem of hacker attacks can be solved by monitoring whether the user is a hacker through the binding relation.
Services like video services, online movies and VoIP demand that network equipment provide different services in terms of different applications, i.e. implement QoS functions. At present, there are two ways to provide QoS bandwidth guarantee, which are Integrated Service and Differentiated Service.
1. Integrated Service needs to apply for a specific service from the network before sending traffic, and the application is performed by the signaling. Service application programs, such as a VoIP telephone client program, a VOD client program and so on, transmit their own flow parameter and the required specific QoS request to the network through the signaling. The specific QoS request includes bandwidth, delay and so on; the client service application program sends the traffic after receiving a confirmation from the network, i.e. after the network has reserved some certain resources for the service application program; the traffic sent by the service application program should be controlled within the scope described by the flow parameter.
2. Differentiated Service is different from Integrated Service. Signaling is not necessary in Differentiated Service, in other words, the service application program does not need to notify the network before sending out the traffic. According to Differentiated Service, the network only needs to provide service for each message according to the preset service policy or according to the priority of the message entering the network, rather than maintain the status for every flow.
As a multi-service edge node, a BRAS needs to receive Access Control List (ACL) rules and QoS policies that are issued by such policy servers like a RADIUS Server. The BRAS performs QoS policy control upon the received user message according to the received ACL rule and QoS policy. Because QoS is a kind of service based on end-to-end mode, the DSLAM also needs to perform priority control and management of the bandwidth, the delay and the jitter according to the type of the message service. In other words, the DSLAM needs to obtain and process the ACL rule and QoS policy information accordingly. But as layer-2 equipment, the DSLAM is mainly used for aggregating the user ports and transparently transmitting messages from the user ports, and the service processing ability of the DSLAM is too weak to perform policy information interactions with such equipment as policy servers. If the DSLAM is going to support QoS function relying on Integrated Service, the DSLAM needs to run such protocols as QoS resource reserve protocol, which are all based on layer-3 or higher layer protocols and which demand the DSLAM receive and process related protocol messages, but the DSLAM is the layer-2 equipment and the current DSLAM cannot satisfy the above-mentioned requirement; as to Differentiated Service, the DSLAM has to configure ACL and QoS policy by itself, which obviously makes it impossible to implement dynamic QoS policy adjustment according to different users. Obviously, if the BRAS can transmit the ACL rule and QoS policy information to the DSLAM, the above-mentioned problems can be solved.
As a very important service in Triple-play services, the IP TV multicast video service can be implemented by several measures in the existing IP DSLAM-based broadband access network.
1. an IP DSLAM supports IGMP snooping, and a BRAS provides IGMP proxy function. The multicast authority of a user is transmitted to the BRAS through network Element Management System (EMS) or a policy server as a RADIUS Server, and the user authority control is performed in the BRAS. Multicast copy can be implemented through the IP DSLAM that supports IGMP;
2. an IP DSLAM supports IGMP proxy, the multicast authority of a user is directly sent to the IP DSLAM through EMS. The user authority control is performed in the IP DSLAM and multicast copy can also be implemented through the IP DSLAM;
3. an IP DSLAM does not support IGMP protocol, and a BRAS provides IGMP proxy function. The multicast authority of a user is controlled in the BRAS and multicast copy can only be implemented in the BRAS based on the users. The IP DSLAM cannot provide multicast copy function.
Among the above-mentioned three measures, the first measure is applicable basically.
As to the second measure, the operator may utilize an existing RADIUS Server in the network to store the multicast authority information, and the multicast authority information is uniformly issued to the DSLAM by the RADIUS Server instead of being directly issued through EMS. But the existing RADIUS Server in the network generally interacts with the BRAS rather than with the DSLAM, so the existing mechanism cannot transmit the multicast authority information to the DSLAM from the Radius Server.
As to the third measure, the IP DSLAM has no multicast copy function and the copy can only be executed by the BRAS. If more than one user belonging to a same IP DSLAM apply for a same program, the BRAS will copy the same video data flow for multiple times and then transmit the copies to the users. The solution is not accordant with the original intention of the multicast copy mechanism and may lead to severe bandwidth waste of the access network. One solution improving the third measure is that the BRAS transmits the multicast copy information to the IP DSLAM, so that the IP DSLAM will complete the last level copy. The advantage of the improved solution is that the IP DSLAM needs not to support and detect IGMP protocol messages and thus the requirement for the performance of IP DSLAM is not that high.
Besides, the management upon a DSLAM mostly adopts a network manager mode or a command line mode. Either the network manager mode or the command line mode is adopted, each DSLAM needs to occupy a management IP address; as to the command line mode, the management upon a DSLAM demands logging in to the DSLAM to perform operations; while for the network manager mode, each DSLAM is represented as an independent network element in a network manager terminal, and the management is performed in terms of every element. The above-mentioned modes of managing each DSLAM are called distributive management.
SUMMARY OF THE INVENTION
A method for transmitting policy information between network equipment, includes:
adding a Policy Information Transfer Protocol (PITP) type by extending protocol types of protocol messages on a layer between broadband user access equipment and a Broadband Remote Access Server (BRAS);
transmitting, by the BRAS, the policy information to the broadband user access equipment with a PITP message; and
confirming, by the broadband user access equipment, that the received message is the PITP message sent to the broadband user access equipment, and obtaining the policy information in the PITP message.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic diagram illustrating the method for transmitting policy information when a DSLAM and a BRAS are directly connected;
FIG. 2 is a schematic diagram illustrating the method for transmitting policy information when a DSLAM is aggregated to a BRAS through a aggregation equipment;
FIG. 3 is a flowchart illustrating a process of transmitting policy information between a DSLAM and a BRAS.



DETAILED DESCRIPTION OF EMBODIMENTS
The present invention will be illustrated in detail hereinafter with reference to the accompanying drawings and embodiments.
As shown in FIG. 1, an embodiment of the present invention provides a transmission method for transmitting policy information between broadband user access equipment and a BRAS. The transmission method is abbreviated as the Policy Information Transmission Protocol (PITP), and then the policy information is transmitted between the broadband user access equipment and the BRAS with the PITP. The PITP is obtained by extending the protocol types of the original protocols of each layer. The policy information is anyone of physical port information of a user, QoS policy-related information, multicast authority information, multicast copy information, configuration and maintenance information of user data and so on; surely other information can also be transmitted according to specific requirement. The broadband user access equipment can be IP-uplink or ATM-uplink. The IP-uplink broadband user access equipment can be a DSLAM or a layer-2 switch.
To distinguish different types of policy information, a field of policy information transmission type is set according to the PITP. If the length of the policy information transmission type field is two bytes, 65535 policy types can be identified. Different policy information types can be identified by 0x0001, 0x0002 and 0x0003 based on the setting; furthermore, other identities can be extended to identify different types of policy information. In addition, a field of operation type is set to distinguish types of a current operation. The operation type field can be defined according to the policy information transmission type. For instance, when the policy information transmission type is the broadband user port information which needs request and response operations, a field value of request and a field value of response can be defined for the operation type field. A field of policy information content is also set to transmit the content of the policy information.
The PITP provided by an embodiment of the present invention is independent from any other protocols and can be applied independently. For example, the transmitting end can just send a PITP message to obtain some certain policy information on demand; the PITP can also be applied together with other protocols to implement a certain function, for example, the transmitting end sends a PITP message when the other protocols need some certain policy information. After obtaining the policy information through the PITP message, a corresponding process is executed according to the other protocols. The PITP can be implemented through a point-to-point means or a broadcast means in layer-2; and the acquirement or transmission of the policy information can be implemented through a unicast or a broadcast in layer-3 or higher application layers. No matter in which layer the adopted protocol is, the protocol type of corresponding layer messages needs to be extended so as to define a new protocol message to bear the content of PITP messages. For instance, a layer-2 mode based on Ethernet needs to extend the Ethernet type, while a layer-3 mode based on IP needs to extend the protocol type in the IP packet header. The specific description is as follows:
1. As to the layer-2 point-to-point means, there are two kinds of networking modes:
(1) As shown in FIG. 1, a DSLAM and a BRAS are connected directly.
(2) As shown in FIG. 2, a DSLAM is aggregated to a BRAS through an LAN Switch. The PITP can also be run between the BRAS and the LAN Switch directly connected to the user side; and then the aggregation LAN Switch transparently transmit the protocol message, so as to implement the transmission of the protocol message between the DSLAM and the BRAS.
No matter which mode is adopted, the receiving end of PITP needs to confirm whether the current received PITP message is sent to the receiving end itself. Therefore, as to mode (1), the receiving end of PITP, i.e. the DSLAM or the BRAS, needs to know the layer-2 address information of the counterpart receiving end so as to construct a layer-2 message header. For instance, the BRAS needs to set the layer-2 MAC address information of the DSLAM inside the message header, so that the DSLAM can confirm whether the message is sent to the DSLAM itself according to the MAC address. As to mode (2), an equipment identity is defined to uniquely identify DSLAMs so that messages corresponding to different DSLAMs can be isolated from one another. Specifically speaking, as to a ATM network, a PVC can be established between the DSLAM and the BRAS to transmit the policy information message; while in an Ethernet, a VLAN ID is utilized to identify a DSLAM. The binding relation between the VLAN IDs and the DSLAMs can be one-to-one or multiple-to-one, except that the VLAN IDs of the DSLAMs accessing a same BRAS port can not be the same. It can be seen from the above description that, the VLAN ID in the PITP according to an embodiment of the present invention is used to identify the DSLAM.
Of course, the receiving end needs to confirm not only whether the message is sent to the receiving end itself, but also whether the message is a PITP message. The receiving end determines whether the message is a PITP message according to the protocol type in the message.
2. As to a layer-2 broadcast means, there are also the above-mentioned two networking modes. The primary difference from the layer-2 point-to-point means is that the target address of the PITP request message is a broadcast address. As a receiving end of a broadcast message, the DSLAM needs to not only analyze the protocol type of each received broadcast message so as to determine whether the protocol type is the PITP and determine the transmission information type of the message, but also determine whether the user address carried in the policy information content field of the message is an underlying address of the DSLAM itself. If the user address carried in the policy information content field of the message is an underlying address of the DSLAM itself, the DSLAM processes the message according to the PITP; otherwise, the DSLAM will discard the message. As to a Ethernet, the user address is a MAC address.
3. When layer-3 or a higher application layer is used to bear the PITP, the implement means is similar to that of the layer 2. As to the layer-3 or the higher application layer, when the broadcast mode is adopted, if the IP address of a user is already known, the IP address of the user can be set in the policy information content field of PITP message. After that, the DSLAM determines whether to receive the message according the IP address.
As to the above-mentioned means, the layer-2 point-to-point means is the most preferable, the layer-2 broadcast means is less preferable, and layer-3 point-to-point means and the layer-3 broadcast mode are the least preferable.
Taking the embodiment that a DSLAM and a BRAS are connected directly and a layer-2 point-to-point means is adopted, the implementing process will be described hereinafter. The implementing process is shown in FIG. 3, which includes the following steps.
Step 301: a protocol, which is used for transmitting information between the DSLAM and the BRAS, is preset.
As illustrated above, the messages in the protocol can be obtained by extending layer-2 Ethernet messages, so PITP message is corresponding to a new protocol type. The message can include a policy information transmission type field, an operation type field and a policy information content field.
Step 302: while transmitting a PITP message, the transmitting end sets the policy information transmission type of the PITP in the policy information transmission type of the PITP message on demand, and then sets the policy information to be transmitted in the policy information content field.
Step 303 ̃305: on receiving the message, the receiving end determines whether the message is a PITP message to be transmitted to the receiving end itself, if the message is a PITP message to be transmitted to the receiving end itself, the receiving end processes the message according to the PITP; otherwise, the receiving end terminates the current process.
The receiving end can determine whether the message is a PITP message according to the protocol type of the message, and determine whether the message is sent to the receiving end itself according to the receiving end address information in the message header.
The specific process of the receiving end processing the message according to the PITP is to determine the type of the policy information transmitted by the message according to the policy information transmission field of the message, obtain the policy information from the policy information content field, determine whether the message is a request message, a response message or other types of message according to the operation type field, and process the policy information according to the message type accordingly.
If the receiving end finds that the message is not to be transmitted to the receiving end itself, the receiving end can discard the message.
The policy information can be transmitted through the above-illustrated steps.
The procedure of obtaining the port information, issuing the QoS policy, transmitting the multicast authority information transmission, transmitting multicast copy information and issuing configuration maintenance information will be described in detail hereinafter; and the transmission of other policy information can be implemented by extending with reference to these examples.
1. Obtaining the Port Information of the Broadband User.
The process includes the following steps.
(1) While detecting that the user logs in and is preparing to initiate an authentication request, a BRAS sends a port information request message to a DSLAM with the PITP. The message encapsulates the policy information transmission type field, the operation type field, the policy information content field; and the policy information transmission type is specified to be port information inquiry and the operation type is inquiry request, and the layer-2 MAC address of the inquired user is set inside the policy information content field.
(2) After confirming that the received message is a PITP port information request message, according to the information transmission type and the operation type, the DSLAM determines that the transmitting end sends the message to obtain the port information. The receiving end obtains the physical port information of the user according to the layer-2 MAC address of the user, encapsulates the physical port information of the specified user in the PITP response message and then returns the message to the BRAS.
Of course, besides the physical port information, the PITP response message should also include a policy information transmission type field and an operation type field. The physical port information is carried in the policy information content field. The policy information transmission type is specified to be port information inquiry and the operation type is inquiring confirmation. In addition, the physical port information of the user usually includes the frame, the slot and the port in the DSLAM corresponding to the user, and can further include the PVC or VLAN ID or other information between the user and the DSLAM.
Through the above process, the BRAS is able to obtain the physical port information of the user. So a binding relation between the user accounts and the user port information can be configured in a RADIUS Server; the BRAS sends the physical port information and account information of the user to the RADIUS Server with a RADIUS message; the RADIUS Server determines whether the binding relation between the received user account information and physical port information is the same as that pre-stored binding relation in the RADIUS Server, and further determines the validity of the user.
As a comparison, according to the existing authentication means of IP DSLAM networking mode, the account of the user is bound with the VLAN ID, and the RADIUS Server determines the validity of the user. Since there is insufficient number of VLAN ID, there may be no corresponding VLAN ID for each user port; it is impossible to bind the user port with the account one by one through the VLAN ID, which may lead to account intrusions and hacker attacks.
2. Issuing the QoS Policy.
In order to make a DSLAM able to obtain ACL rules or QoS policy information, and to implement the dynamic QoS policy adjustment in terms of the users, a BRAS can issue the ACL rule and the QoS policy information to a DSLAM with the PITP, so that DSLAM can conveniently obtain the ACL rule and QoS policy information and adjust the QoS policy dynamically in terms of the users. The specific process is as follows.
(1) After receiving the QoS policy information issued by a RADIUS Server or other policy servers, the BRAS updates the local policy information table of the user, and simultaneously encapsulates the QoS information of the user in the policy information content field of a PITP message and sends the message to the DSLAM corresponding to the user. The policy information transmission type in the message is QoS policy and the operation type is QoS issue.
The QoS policy information includes Bandwidth/Throughout, priority, ACL control policy information and so on; and the priority information can be obtained from Delay, Jitter and Loss Rate information.
(2) The DSLAM receives the PITP message sent by the BRAS, analyzes the message to obtain the QoS policy information and updates the user information table. Meanwhile, the DSLAM can return a PITP response message to the BRAS.
3. Issuing the Multicast Authority Information
The process of transmitting multicast authority information through the PITP is as follows.
(1) After a user is successfully authenticated, a RADIUS Server transmits the multicast authority information of the user to a BRAS;
The multicast authority information can include the multicast group that the user can join, and may further include the number of the multicast groups that the user can join and/or multicast sources that the user can visit and/or other information.
(2) The BRAS encapsulates the multicast authority information of the user in the policy information content field of a policy information transmission message and then sends the message to the broadband user access equipment corresponding to the user. The policy information transmission type in the message is multicast authority information and the operation type is multicast authority issue.
(3) The DSLAM receives the PITP message sent by the BRAS, analyzes the message to obtain the multicast authority information and updates the user information table. Optionally, the DSLAM can return a PITP response message to the BRAS.
After the above steps, if the user logs out, the BRAS will delete the multicast authority information of the user from the DSLAM with the PITP. The policy information transmission type field in the PITP message is multicast authority, the operation type field is multicast authority deletion and the information of policy information content field can be the multicast group that the user has left. Specific process is similar to the above-mentioned process of issuing the multicast authority.
In addition, if the user opens or sets other multicast authorities afterwards, i.e. if the user modifies the multicast authority, a similar process can be performed to change the multicast authority information of the user. The policy information transmission type field in the PITP message is multicast authority change, the operation type field is multicast authority change and the policy information content field includes the latest multicast authority information. The process is similar to the above-mentioned process of issuing or deleting the multicast authority.
4. Issuing the Multicast Copy Information.
The process of transmitting the multicast copy information through the PITP is as follows.
(1) When a user wants to watch a video program of a certain channel, the user initiates an IGMP join message;
(2) after receiving the IGMP join message initiated by the user, a BRAS checks the multicast authority information list of the user. If the user is authorized to watch the programs of the channel, the BRAS determines whether the video flow of the channel is already copied to the DSLAM where the user locates. If the video flow of the channel is not copied, the BRAS copies the video flow of the channel to the broadband user access equipment corresponding to the user; simultaneously, the BRAS encapsulates the multicast copy information of the user in a PITP message and then sends the message to the broadband user access equipment. The policy information transmission type in the message is multicast copy and the operation type is multicast copy information issue;
(3) The DSLAM receives the PITP message sent by the BRAS, analyzes the message to obtain the multicast copy information and updates the user information table. After obtaining the multicast copy information, the DSLAM can copy the corresponding video flow, which has been copied to the DSLAM by the BRAS, to the port corresponding to the user.
The multicast copy information can be issued through the above-mentioned three steps. The policy information transmission type field in the PITP message for deleting the multicast copy information is multicast copy, the operation type field is multicast copy information deletion and policy information content field is the multicast copy information that is to be deleted. The specific process of deleting the multicast copy information is basically the same as the process of issuing the multicast copy information.
5. Configuring the Maintenance Information.
There are two modes to manage the equipment: a network manager mode and a command line mode. In terms of these two modes, in accordance with an embodiment of the present invention, the PITP is run between a BRAS and a DSLAM to transmit the command line or network manager configuration information of the DSLAM, so that the DSLAM can be managed in the BRAS integrated, which makes it convenient to manage and maintain the DSLAM and saves the maintaining cost. Since the processes of the two modes are basically the same, only the specific process of the command line mode is illustrated below.
(1) Entering the configuring and managing mode for a certain DSLAM by selecting the DSLAM under the command line at a BRAS.
The configuring and managing mode of the DSLAM connected to the BRAS can be preset in the BRAS in terms of the DSLAM; or the BRAS can automatically discover the DSLAM according to the preset topology discovery protocol and starts the configuring and managing mode for the discovered DSLAM.
Before entering the configuring and managing mode, the BRAS needs to select the DSLAM to be processed. Specifically speaking, if the BRAS and the DSLAM are connected directly, the BRAS can select the DSLAM according to the physical port information directly; if the BRAS and the DSLAM are connected through a LAN Switch, the DSLAM will have an equipment ID as the identity, so that the BRAS can select the DSLAM with the equipment ID.
(2) When the BRAS needs to configure/manage a certain DSLAM, the BRAS will pack the corresponding command line configuration information to a PITP message and transmit the message to the specified DSLAM through the PITP.
The command line configuration information is usually data parameters, which are put into the policy information content field of the message; the policy information transmission type field in the PITP message is configuration maintenance, and the operation type field can be data configuration and/or data inquiry and so on.
(3) The DSLAM analyzes the PITP configuration message, extracts the operation type and the data parameters, and completes the data configuration or data inquiry according to the operation type. The configuration or the inquiry result will be returned to the BRAS with a PITP response message.
The response message also needs to include a policy information transmission type field, an operation type field and a policy information content field. The policy information transmission type field is also configuration maintenance, the operation type field can be data configuration response and/or data inquiry result. The corresponding data configuration response information and/or the data inquiry result information are set in the policy information content field.
Through the above-mentioned three steps, the configuration maintenance information is processed accordingly.
It can be seen from the above description that, the PITP can be used to transmit the physical port information, the bandwidth information, the QoS policy information, the ACL control policy information, the multicast authority or copy information and the user data configuration or maintenance information and so on. The information that the PITP bears includes but is not limited to the above-mentioned information. The PITP is independent from any other protocols, and can be applied separately or together with other protocols to complete a certain function. The PITP can be implemented through a point-to-point means or a broadcast means in layer-2, the policy information can also be obtained or transmitted through a unicast means or a broadcast means in a layer-3 or a higher application layer. No matter in which layer the adopted protocol is, the protocol type of the messages in the corresponding layer need to be extended so as to define a new protocol message to bear the content of the PITP.
According to the embodiments of the present invention, the problem of insufficient IP-uplink VLAN ID in the IP DSLAM is solved so that user account intrusions and hacker attacks are prevented; the DSLAM can obtain the bandwidth and QoS policy information while implementing the QoS function; the multicast authority information can be issued to the DSLAM uniformed from the RADIUS Server; the problem of severe bandwidth waste, which is because that the BRAS has to copy the multicast flow for users when the DSLAM does not support the IGMP, is solved. Moreover, the uniform management upon the DSLAM can be implemented conveniently. The solution in accordance with the embodiments of the invention can be applied to other policy information that is to be transmitted between a DSLAM and a BRAS.
The IP-uplink broadband user access equipment has been illustrated with the example of the DSLAM, if the broadband user access equipment adopts a layer-2 switch, just as the DSLAM, the layer-2 switch can be connected to the BRAS directly or be aggregated to the BRAS through a LAN Switch. So the embodiments of the present invention can also be applied for the policy information transmission between a layer-2 switch and a BRAS, and the transmitting means is the same as the transmitting means of the above embodiments.
It should be understood by those skilled in the art that, there can be many kinds of equivalent solutions without departing from the spirit of the present invention and that the above illustration is just preferable embodiments of the invention without confining the claim scope of the invention. Any equivalent structure change upon the claims and accompanying drawings of the present invention should be comprised in the present invention's claims.

## Claims

1. A system for transmitting policy information, wherein the system comprises a broadband user access equipment and a upper layer network device; wherein a user connects the upper layer network device through the broadband user access equipment;
wherein the broadband user access equipment is configured to receive a first protocol message bearing policy information from the upper layer network device, and perform processes based on the policy information;
wherein the first protocol message comprises: a policy information transmission type field distinguishing policy information transmission types, an operation type field for distinguishing operation types, and a policy information content field for bearing the policy information; and
wherein the first protocol message comprises a first Policy Information Transfer Protocol (PITP) type, wherein the first PITP type comprises the policy information transmission type field distinguishing policy information transmission types, the operation type field for distinguishing operation types and the policy information content field for bearing the policy information.

2. The system of claim 1, wherein the policy information comprises at least one of Quality of Service (QoS) policy-related information, multicast authority information, multicast copy information, and configuration and maintenance information of user data.

3. The system of claim 1, wherein the broadband user access equipment is further configured to send a second protocol message bearing physical port information of the user.

4. The system of claim 3, wherein the second protocol message comprises a second PITP type, which comprises a policy information transmission type field, an operation type field and a policy information content field; wherein the policy information content field of the second PITP type bears the physical port information of the user.

5. The system of claim 4, wherein physical port information comprises a frame number, a slot number, and port information indicating a port on the broadband user access equipment.

6. The system of claim 1, wherein the broadband user access equipment is a Digital Subscriber Line Access Multiplexer (DSLAM), and the upper layer network device is a Broadband Remote Access Server (Bras).

7. A broadband user access equipment, comprising a processor, the processor configured to receive a first protocol message bearing policy information from a upper layer network device, and perform processes based on the policy information;
wherein the first protocol message comprises: a policy information transmission type field distinguishing policy information transmission types, an operation type field for distinguishing operation types, and a policy information content field for bearing the policy information; and
wherein the first protocol message comprises a first Policy Information Transfer Protocol (PITP) type, wherein the first PITP type carries the policy information transmission type field distinguishing policy information transmission types, the operation type field for distinguishing operation types and the policy information content field for bearing the policy information.

8. The broadband user access equipment of claim 7, wherein the policy information comprises at least one of Quality of Service (QoS) policy-related information, multicast authority information, multicast copy information, and configuration and maintenance information of user data.

9. The broadband user access equipment of claim 7, wherein the first protocol message further comprises a Media Access Control (MAC) address of a user that connects the broadband user access equipment; and
wherein the processor is further configured to acquire physical port information of the user according to the MAC address, and send a second protocol message comprising the physical port information of the user to the upper layer network device.

10. The broadband user access equipment of claim 9, wherein the second protocol message comprises a second PITP type, which comprises a policy information transmission type field, an operation type field and a policy information content field; wherein the policy information content field of the second PITP type bears the physical port information of the user.

11. The broadband user access equipment of claim 9, wherein the physical port information comprises a frame number, a slot number, and port information indicating a port on the broadband user access equipment.

12. The broadband user access equipment of claim 9, wherein the broadband user access equipment is comprises a Digital Subscriber Line Access Multiplexer (DSLAM).

13. A Broadband Remote Access Server (Bras), comprising a processor configured to send a first protocol message bearing policy information to a broadband user access equipment;
wherein the first protocol message comprises: a policy information transmission type field distinguishing policy information transmission types, an operation type field for distinguishing operation types, and a policy information content field for bearing the policy information; and
wherein the first protocol message comprises a first Policy Information Transfer Protocol (PITP) type, wherein the first PITP type carries the policy information transmission type field distinguishing policy information transmission types, operation type field for distinguishing operation types and the policy information content field for bearing the policy information.

14. The Bras of claim 13, wherein the Bras is further configured to receive a second protocol message comprising a second PITP type, which comprises a policy information transmission type field, an operation type field and a policy information content field; wherein the policy information content field of the second PITP type bears physical port information of a user that connects the broadband user access equipment;
the processor is further configured to record a relationship between a user accounts of the user and the physical port information of the user.