Method and system of accessing network for access network device
First Claim
1. A method for an access network device to access a network, comprising:
- powering on an access switch, and setting, in a downlink protocol packet address table within the access switch, that all downlink protocol packets are to be oriented to a CPU module;
receiving, by the access switch, a downlink protocol packet sent from a node server and orienting the downlink protocol packet to the CPU module of the access switch according to the settings of the downlink protocol packet address table; and
generating, by the CPU module, an uplink protocol packet and sending the uplink protocol packet to the node server;
wherein the downlink protocol packet contains an access network address that is to be allocated;
sending, by the node server, a network access command to the access switch, wherein the network access command contains an access network address of the access switch, and the access network address of the access switch is the access network address to be allocated in the downlink protocol packet received by the access switch; and
updating, by the access switch, the downlink protocol packet address table within the access switch, as orienting, to the CPU module, only a protocol packet with a destination address being the access network address of the access switch;
wherein, an address information table is further set inside the node server, in which address occupation information, device identification information and device resource information are recorded,the method further comprising;
initializing the address information table when the node server is powered on, wherein the initializing comprises;
filling the access network address of the node server in a blank item of the address information table, and marking the address occupation information as used;
filling the device identification information as current node server; and
filling the device resource information as port information of the current node server,the method further comprising;
updating the address information table according to setting of a downlink port to which each downlink protocol packet is to be oriented in a downlink protocol packet address table within the node server, wherein the updating comprises;
filling an access network address, to be allocated, contained in each downlink protocol packet respectively into a blank item of the address information table, and marking the address occupation information as standby,the method further comprising;
updating the address information table according to setting of a downlink port of other access devices to which a port downlink protocol packet is to be oriented, wherein the updating comprises;
filling an access network address, to be allocated, contained in each port downlink protocol packet respectively into a blank item of the address information table, and marking the address occupation information as standby,the method further comprising;
updating the address information table when the node server receives a network access command response sent by the access switch, wherein the updating comprises;
marking the address occupation information in an item corresponding to the access network address of the access switch as used;
updating the device identification information as current access switch; and
updating the device resource information as the port information of the current access switch and an access network address information of an access network device connected to a port of the current access switch,the method further comprising;
updating the address information table when the node server receives a network access command response sent by a terminal, wherein the updating comprises;
marking the address occupation information in an item corresponding to the access network address of the terminal as used;
updating the device identification information as current terminal; and
updating the device resource information as the port information of the current terminal and an access network address information of an access network device connected to a port of the current terminal.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for an access network device to access a network is disclosed, which comprises: powering on an access switch, and setting in its internal downlink protocol packet address table that all downlink protocol packets are to be oriented to a CPU module; receiving, by the access switch, a downlink protocol packet sent from a node server and orienting the downlink protocol packet to the CPU module of the access switch, and generating, by the CPU module, an uplink protocol packet and sending the uplink protocol packet to the node server, wherein the downlink protocol packet contains an access network address that is to be allocated; sending, by the node server, a network access command to the access switch, wherein the network access command contains an access network address of the access switch, and the access network address is the access network address to be allocated; and updating, by the access switch, its internal downlink protocol packet address table, as orienting only a protocol packet with a destination address being its own access network address to the CPU module. The present invention can guarantee a stable transmission rate of the data packet transmission and avoid time delay, thereby guaranteeing the quality of the network transmission.
16 Citations
14 Claims
-
1. A method for an access network device to access a network, comprising:
-
powering on an access switch, and setting, in a downlink protocol packet address table within the access switch, that all downlink protocol packets are to be oriented to a CPU module; receiving, by the access switch, a downlink protocol packet sent from a node server and orienting the downlink protocol packet to the CPU module of the access switch according to the settings of the downlink protocol packet address table; and
generating, by the CPU module, an uplink protocol packet and sending the uplink protocol packet to the node server;
wherein the downlink protocol packet contains an access network address that is to be allocated;sending, by the node server, a network access command to the access switch, wherein the network access command contains an access network address of the access switch, and the access network address of the access switch is the access network address to be allocated in the downlink protocol packet received by the access switch; and updating, by the access switch, the downlink protocol packet address table within the access switch, as orienting, to the CPU module, only a protocol packet with a destination address being the access network address of the access switch; wherein, an address information table is further set inside the node server, in which address occupation information, device identification information and device resource information are recorded, the method further comprising; initializing the address information table when the node server is powered on, wherein the initializing comprises; filling the access network address of the node server in a blank item of the address information table, and marking the address occupation information as used; filling the device identification information as current node server; and filling the device resource information as port information of the current node server, the method further comprising; updating the address information table according to setting of a downlink port to which each downlink protocol packet is to be oriented in a downlink protocol packet address table within the node server, wherein the updating comprises; filling an access network address, to be allocated, contained in each downlink protocol packet respectively into a blank item of the address information table, and marking the address occupation information as standby, the method further comprising; updating the address information table according to setting of a downlink port of other access devices to which a port downlink protocol packet is to be oriented, wherein the updating comprises; filling an access network address, to be allocated, contained in each port downlink protocol packet respectively into a blank item of the address information table, and marking the address occupation information as standby, the method further comprising; updating the address information table when the node server receives a network access command response sent by the access switch, wherein the updating comprises; marking the address occupation information in an item corresponding to the access network address of the access switch as used; updating the device identification information as current access switch; and updating the device resource information as the port information of the current access switch and an access network address information of an access network device connected to a port of the current access switch, the method further comprising; updating the address information table when the node server receives a network access command response sent by a terminal, wherein the updating comprises; marking the address occupation information in an item corresponding to the access network address of the terminal as used; updating the device identification information as current terminal; and updating the device resource information as the port information of the current terminal and an access network address information of an access network device connected to a port of the current terminal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A node server, comprising:
-
a downlink protocol packet sending module, for sending a downlink protocol packet to an access switch, wherein the downlink protocol packet contains an access network address that is to be allocated; an uplink protocol packet receiving module, for receiving an uplink protocol packet returned by the access switch for the downlink protocol packet; and a first network access command sending module, for sending a network access command to the access switch according to the uplink protocol packet received, wherein the network access command contains an access network address allocated to the access switch, and the access network address is the access network address to be allocated in the downlink protocol packet received by the access switch; the node server further comprising; an initializing module, for importing registration information of a subordinate access network device to CPU, obtaining a metropolitan area network address and configuring access network address of the node server after being powered on, the node server further comprising; a protocol label and address acquiring module, for obtaining a protocol label and a metropolitan area network address allocated from a metropolitan area server after accessing a metropolitan area network, wherein the protocol label is configured to describe a connection between the node server and the metropolitan area server;
when a plurality of connections exist between one same node server and a superior connection device, the protocol label and address acquiring module obtains a different protocol label corresponding to each connection, wherein the superior connection device includes a node switch and a metropolitan area server;
the metropolitan area network is a network with a centralized control function, which comprises a metropolitan area server, a node switch and a node server, wherein the node switch is connected between the metropolitan area server and the node server;a data label acquiring module, for obtaining a data label allocated corresponding to a service from the metropolitan area server for each service request across the metropolitan area network, wherein the data label is configured to describe a connection between node servers related to the service; a label adding module, for adding a corresponding protocol label or data label to a protocol packet or data packet sent by the node server to the metropolitan area network; and a label deleting module, for removing the corresponding protocol label or data label from the protocol packet or data packet received from the metropolitan area network, wherein, the label is divided into an IN label and an OUT label, wherein the IN label refers to a label by which a packet enters a metropolitan area server or a node switch, the OUT label refers to a label by which the packet leaves the metropolitan area server or the node switch; the IN label and OUT label of one same data packet are different, or same; and a label packet includes a protocol label and a data label, the node server further comprising; an address-label mapping table, for recording, for each service across the metropolitan area network, a binding relation between the access network address and the OUT label of two terminals across the metropolitan area network; wherein, the access network address is an address allocated by each node server to a network access device connected under the node server, then, the label adding module looks up, according to the address-label mapping table, an OUT label corresponding to a protocol packet or data packet that is sent by the node server to the metropolitan area network, and adds the OUT label that is found and sends the protocol packet or data packet. - View Dependent Claims (11, 12, 13, 14)
-
Specification