[go: up one dir, main page]

WO2014040551A1 - 为光网络中的设备生成转发表项的方法和装置 - Google Patents

为光网络中的设备生成转发表项的方法和装置 Download PDF

Info

Publication number
WO2014040551A1
WO2014040551A1 PCT/CN2013/083411 CN2013083411W WO2014040551A1 WO 2014040551 A1 WO2014040551 A1 WO 2014040551A1 CN 2013083411 W CN2013083411 W CN 2013083411W WO 2014040551 A1 WO2014040551 A1 WO 2014040551A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
access device
forwarding entry
line
port
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2013/083411
Other languages
English (en)
French (fr)
Inventor
郑若滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
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
Priority to EP13837541.5A priority Critical patent/EP2887691B1/en
Priority to EP18189487.4A priority patent/EP3468219B1/en
Priority to PL13837541T priority patent/PL2887691T3/pl
Priority to ES13837541T priority patent/ES2696205T3/es
Publication of WO2014040551A1 publication Critical patent/WO2014040551A1/zh
Priority to US14/656,167 priority patent/US9525625B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0066Provisions for optical burst or packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0077Labelling aspects, e.g. multiprotocol label switching [MPLS], G-MPLS, MPAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1301Optical transmission, optical switches

Definitions

  • the present application claims to be a method for generating a forwarding entry for a device in an optical network, which is submitted to the Chinese Patent Office on September 12, 2012, and whose application number is 201210336323.9. The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference.
  • TECHNICAL FIELD The present invention relates to communication technologies, and in particular, to a method and apparatus for generating a forwarding entry for a device in an optical network.
  • an optical access network generally includes a client equipment (abbreviated as CPE), an optical line terminal (abbreviated as 0LT), and a device between the CPE and the OLT, such as an optical network terminal (which should be abbreviated as 0NT), optical network unit (abbreviated as 0NU), multi-dwelling unit (English full name multi-dwel I ing unit, English abbreviation MDU) and / or digital subscriber line access multiplexer (abbreviated as DSLAM) All of these devices can be referred to as access nodes.
  • the forwarding tables on the access nodes are usually manually configured independently, and the operation and maintenance management is complicated.
  • the communications field is currently exploring a fiber-to-distribution point (English full name Fibre to Drop/Distribution Point, abbreviated as FTTDp) technology, and FTTDp represents a fiber-to-family residential exterior wall technology.
  • FTTDp represents a fiber-to-family residential exterior wall technology.
  • the FTTDp technology needs to deploy a large number of access nodes such as the ONU or MDU in the network. For example, in some cases, the number of 0NUs will be the same as the number of home gateways, and the total amount is very large. Accordingly, the forwarding entries of the access nodes are Configuration work is more complicated.
  • the present invention provides a method and a device for generating a forwarding entry for a device in an optical network, which is used to solve the problem that the configuration of the forwarding entry of the access node is complicated.
  • a method for generating a forwarding entry for a device in an optical network the optical network includes a virtual access point (abbreviated as AN), and the virtual AN includes a first access device and a second access Incoming device and access port
  • the device includes:
  • the access port management device obtains a virtual AN forwarding entry sent by the access management device, where the virtual AN forwarding entry includes an ingress port, an identifier of the service to be processed by the virtual AN, and an egress port;
  • the access port management device generates a first forwarding entry, the first forwarding entry, for the first device in the first access device and the second access device according to the virtual AN forwarding entry. Including an ingress port, an egress port, and an identifier of a service that the first device needs to process;
  • the access port management device generates a second forwarding entry, the second forwarding entry, for the second device in the first access device and the second access device according to the virtual AN forwarding entry. Includes in and out ports.
  • the generating, by the access port management device, the first forwarding entry for the first device in the first access device and the second access device according to the virtual AN forwarding entry includes:
  • the virtual device forwarding entry is the first device according to the allocation between the first access device and the second access device and the virtual AN forwarding entry according to the service that is processed by the virtual AN Generate a first forwarding entry.
  • the first access device processes the first part of the service that needs to be processed by the virtual AN, by the first
  • the second access device processes the second part of the service to be processed by the virtual AN
  • the first access device is the first device
  • the second access device is the second device
  • the generating the first forwarding entry includes:
  • the access port management device queries the first virtual line ID and the first according to the obtained first virtual line ID.
  • the access port management device queries the first virtual line ID and the first according to the obtained first virtual line ID.
  • the access port management device determines a first physical line ID, where the first physical line ID includes a first Line ID of the first access device and a first Line ID of the second access device; generating a first forwarding table
  • the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes the first access device.
  • the uplink forwarding port, the first forwarding entry further includes an identifier of the first part of the service; or
  • the generating the first forwarding entry includes:
  • the ingress port of the virtual AN forwarding entry includes the first physical L i ne ID and the first physical line ID includes the first line ID of the first access device and the first line ID of the second access device
  • the outbound port of the first forwarding entry includes an uplink out port of the first access device, and the first forwarding entry further includes an identifier of the first part of the service.
  • the ingress port of the second forwarding entry includes a first line ID of the second access device, where the The egress port of the second forwarding entry includes an uplink egress port of the second access device, and the second forwarding entry further includes an identifier of the second part of the service.
  • the allocation between the first access device and the second access device when the virtual AN needs to be processed is all services in the service that the virtual access AN needs to process by the first access device.
  • the first access device is the first device, and the second access device is the second device;
  • the generating the first forwarding entry includes:
  • the access port management device queries the first virtual L i ne ID according to the obtained first virtual L i ne ID and Determining a first physical line ID, where the first physical line ID includes a first Line ID of the first access device and a first Line ID of the second access device; generating the first a forwarding entry, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes an uplink egress port of the first access device, where the A forwarding entry further includes an identifier of all services in the service that the virtual AN needs to process;
  • the generating the first forwarding entry includes:
  • the ingress port of the virtual AN forwarding entry includes the first L i ne ID and the first physical L i ne ID includes the first Line ID of the first access device and the first Line ID of the second access device, Determining, by the access port management device, the first line ID of the first access device according to the first physical line ID; generating a first forwarding entry, where the ingress port of the first forwarding entry includes the first access device A line ID, the egress port of the first forwarding entry includes an uplink egress port of the first access device, and the first forwarding entry further includes an identifier of all services in the service to be processed by the virtual AN.
  • the ingress port of the second forwarding entry includes a first line ID of the second access device, where the The egress port of the second forwarding entry includes an uplink egress port of the second access device.
  • the service that needs to be processed by the virtual AN is in the first access device and the second access device
  • the second access device is the first device
  • the first access device is the Said second device
  • the generating the first forwarding entry includes:
  • the access port management device queries the correspondence between the first virtual line ID and the first physical line ID according to the obtained first virtual line ID. Determining a first physical line ID, where the first physical line ID includes a first line ID of the first access device and a first line ID of the second access device; generating a first forwarding entry, the first forwarding
  • the ingress port of the publication item includes a first L i ne ID of the second access device, and the egress port of the first forwarding entry includes an uplink egress port of the second access device, where the first forwarding entry further includes Describe the identity of all services in the service that the virtual AN needs to process;
  • the generating the first forwarding entry includes:
  • the access port management device determines the first of the second access device according to the first physical line ID
  • the first forwarding entry is generated, the ingress port of the first forwarding entry includes a first L i ne ID of the second access device, and the egress port of the first forwarding entry includes a second connection
  • the first forwarding entry of the device further includes an identifier of all services in the service that the virtual AN needs to process.
  • the second forwarding entry entry port includes a first L i ne ID of the first access device,
  • the egress port of the second forwarding entry includes an uplink egress port of the first access device.
  • the service is a virtual local area network (abbreviated as VLAN) .
  • VLAN virtual local area network
  • the first access device is the first device, and the second access device is the second device;
  • the virtual port forwarding entry sent by the access management device to the access management device includes:
  • the access port management device acquires a virtual AN uplink forwarding entry and a virtual AN downlink forwarding entry sent by the access management device, where the virtual AN uplink forwarding entry includes an uplink ingress port and a virtual AN external pseudowire (abbreviated as The identifier of the PW, the uplink label of the external PW of the virtual AN, and the uplink and outgoing port, where the virtual AN downlink forwarding entry includes a downlink ingress port, an identifier of the virtual AN external PW, a downlink label of the virtual AN external PW, and a downlink out port;
  • the generating, by the access port management device, the first forwarding entry for the first device in the first access device and the second access device according to the virtual AN forwarding entry includes:
  • the access port management device determines, after the first access device is a switching carrier edge (SPE) device between the virtual AN internal PW and the virtual AN external PW, according to the virtual AN uplink
  • the forwarding entry generates an uplink PW forwarding entry of the first access device, where the uplink PW forwarding entry of the first access device includes an ingress port, an uplink label of the internal PW of the virtual AN, and an uplink label of the external PW of the virtual AN And an egress port, where the ingress port in the uplink PW forwarding entry of the first access device includes the first L i ne ID of the first access device, and the uplink PW forwarding entry of the first access device
  • the egress port in the virtual uplink forwarding entry is the uplink egress port, and the uplink PW forwarding entry of the first access device is a PW exchange entry.
  • the second forwarding entry is an uplink PW forwarding entry of the second access device, where the second connection
  • the ingress port in the uplink PW forwarding entry of the device includes the line ID of the second access device
  • the egress port in the uplink PW forwarding entry of the second access device includes the uplink egress port of the second access device.
  • the uplink PW forwarding entry of the second access device further includes an uplink label of the internal PW of the virtual AN.
  • the generating, by the access port management device, the first forwarding entry for the first device in the first access device and the second access device according to the virtual AN forwarding entry further includes:
  • the access port management device After the first access device is determined to be the SPE device between the virtual AN internal PW and the virtual AN external PW, the access port management device generates a first access device according to the virtual AN downlink forwarding entry.
  • the downlink PW forwarding entry of the first access device where the downlink PW forwarding entry of the first access device includes an ingress port, a downlink label of the external PW of the virtual AN, a downlink label and an egress port of the PW of the virtual AN, and the first connection
  • the downstream PW forwarding entry of the device is a PW exchange entry.
  • the ingress port in the downlink PW forwarding entry of the first access device is the first interface
  • the egress port in the uplink PW forwarding entry of the device is the ingress port in the uplink PW forwarding entry of the first access device.
  • the access port management device queries the correspondence between the first virtual line ID and the first physical line ID according to the obtained first virtual line ID. Determining a Line ID of the first access device and a Line ID of the second access device, where the first physical Line ID includes a Li ne ID of the first access device and a Line ID of the second access device;
  • the access port management device determines the Line ID and the second of the first access device according to the first physical line ID.
  • the Line ID of the access device where the first physical Line ID includes a Line ID of the first access device and a Line ID of the second access device.
  • the virtual ID ID includes a device identifier of the virtual AN and a first port number of the virtual AN;
  • the first line ID of the first access device includes a device identifier of the first access device and a first port number of the first access device;
  • the first line ID of the second access device includes a device identifier of the second access device and a first port number of the second access device.
  • the first access device is an optical line terminal (abbreviated as 0LT), and the second access device is a first optical network unit (abbreviated as 0NU) and a first optical network terminal (abbreviated as 0NT).
  • the first access device is a first DSLAM
  • the second access device is a second DSLAM
  • the first access device is a DSLAM management device
  • the second access device is a DSLAM.
  • the virtual AN forwarding entry received by the access port management device is sent by the access management device through a first control protocol or a first management protocol based on Layer 3 of the Open System Interconnection (English abbreviated as 0SI) model;
  • the access port management device When the access port management device needs to send the first forwarding entry or the second forwarding entry to the second access device, the access port management device sends the second control protocol or the second management protocol based on the layer 2 in the 0SI model.
  • an access port management apparatus is applied to include a first access device,
  • the access port management device includes: an obtaining unit, configured to acquire a virtual AN forwarding entry sent by the access management device, where the virtual AN forwarding entry includes an ingress port
  • the first generation unit is configured to use the virtual AN forwarding entry as the first one of the first access device and the second access device according to the identifier of the service that is to be processed by the virtual AN and the egress port.
  • the device generates a first forwarding entry, where the first forwarding entry includes an ingress port, an egress port, and an identifier of a service that the first device needs to process;
  • a second generating unit configured to generate, according to the virtual AN forwarding entry, a second forwarding entry, the second forwarding entry, for the second device in the first access device and the second access device Includes in and out ports.
  • the first generating unit is specifically configured to:
  • the first access device processes the first part of the service that needs to be processed by the virtual AN, by the first
  • the second access device processes the second part of the service to be processed by the virtual AN
  • the first access device is the first device
  • the second access device is the second device
  • the first generating unit includes:
  • a first determining subunit configured to: when the ingress port of the virtual AN forwarding entry includes the first virtual line identifier L i ne ID, query the first virtual L i ne according to the obtained first virtual L i ne ID Determining a first physical line ID, where the first physical line ID includes a first line ID of the first access device and a first line ID of the second access device;
  • a first generation sub-unit configured to generate a first forwarding entry, where an ingress port of the first forwarding entry includes a first line ID of the first access device, and an egress port of the first forwarding entry includes a first An uplink egress port of the access device, where the first forwarding entry further includes an identifier of the first part of the service;
  • the first generating unit includes:
  • a second determining subunit configured to: when the ingress port of the virtual AN forwarding entry includes the first physical line ID, and the first physical line ID includes the first Li ne ID of the first access device and the second access device Determining, by the first Line ID, the first Line ID of the first access device according to the first physical line ID;
  • a second generation sub-unit configured to generate a first forwarding entry, where an ingress port of the first forwarding entry includes a first line ID of the first access device, and an egress port of the first forwarding entry includes a first An uplink port of the access device, where the first forwarding entry further includes an identifier of the first part of the service.
  • the ingress port of the second forwarding entry includes a first line ID of the second access device, the egress port of the second forwarding entry includes an uplink egress port of the second access device, and the second forwarding entry Also included is an identification of the second portion of the service.
  • the allocation between the first access device and the second access device when the virtual AN needs to be processed is all services in the service that the virtual access AN needs to process by the first access device.
  • the first access device is the first device, and the second access device is the second device;
  • the first generating unit includes:
  • a third determining subunit configured to: when the inbound port of the virtual AN forwarding entry includes the first virtual line ID, query the correspondence between the first virtual line ID and the first physical line ID according to the obtained first virtual line ID Relationship, determining a first physical line ID, wherein the first physical line The ID includes a first line ID of the first access device and a first line ID of the second access device, and a third generation sub-unit, configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes The first line ID of the first access device, the egress port of the first forwarding entry includes an uplink egress port of the first access device, and the first forwarding entry further includes a service to be processed by the virtual AN. Identification of all business;
  • the first generating unit includes:
  • a fourth determining subunit configured to: when the ingress port of the virtual AN forwarding entry includes the first physical line ID, and the first physical line ID includes the first Li ne ID of the first access device and the second access device Determining, by the first Line ID, the first Line ID of the first access device according to the first physical line ID;
  • a fourth generation sub-unit configured to generate a first forwarding entry, where an ingress port of the first forwarding entry includes a first line ID of the first access device, and an egress port of the first forwarding entry includes a first An uplink port of the access device, where the first forwarding entry further includes an identifier of all services in the service that the virtual AN needs to process.
  • the ingress port of the second forwarding entry includes a first line ID of the second access device, where the The egress port of the second forwarding entry includes an uplink egress port of the second access device.
  • the service that needs to be processed by the virtual AN is in the first access device and the second access device
  • the second access device is the first device
  • the first access device is the Said second device
  • the first generating unit includes:
  • a fifth determining subunit configured to: when the inbound port of the virtual AN forwarding entry includes the first virtual line ID, query the correspondence between the first virtual line ID and the first physical line ID according to the obtained first virtual line ID Relationship, determining a first physical line ID, wherein the first physical line The ID includes a first line ID of the first access device and a first line ID of the second access device, and a fifth generation sub-unit, configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes The first line ID of the second access device, the egress port of the first forwarding entry includes an uplink egress port of the second access device, and the first forwarding entry further includes a service to be processed by the virtual AN. Identification of all business;
  • the first generating unit includes:
  • a sixth determining subunit configured to: when the ingress port of the virtual AN forwarding entry includes a first physical line ID, and the first physical line ID includes a first Li ne ID of the first access device and a second access device The first Line ID, determining the first Line ID of the second access device according to the first physical Line ID;
  • the second forwarding entry entry port includes a first line ID of the first access device, where the second The egress port of the forwarding entry includes an uplink egress port of the first access device.
  • the service is a VLAN.
  • the first access device is the first device, and the second access device is the second device;
  • the obtaining unit is specifically configured to:
  • the virtual AN uplink forwarding entry includes an uplink ingress port, an identifier of the virtual AN external PW, an uplink label of the virtual AN external PW, and an uplink The outbound port
  • the virtual AN downlink forwarding entry includes a downlink ingress port, an identifier of the virtual AN external PW, a downlink label of the virtual AN external PW, and a downlink Out port
  • the first generating unit is specifically configured to:
  • the access port management device determines that the first access device is an SPE device between the virtual AN internal PW and the virtual AN external PW
  • the first access device is generated according to the virtual AN uplink forwarding entry.
  • the uplink PW forwarding entry where the uplink PW forwarding entry of the first access device includes an ingress port, an uplink label of the PW of the virtual AN, an uplink label and an egress port of the external PW of the virtual AN, and the first connection
  • the ingress port in the uplink PW forwarding entry of the device includes the first L i ne ID of the first access device, and the egress port in the uplink PW forwarding entry of the first access device is the virtual AN.
  • the uplink PW forwarding entry in the uplink forwarding entry is an PW switching entry of the first access device.
  • the second forwarding entry is an uplink PW forwarding entry of the second access device, where the second connection
  • the ingress port in the uplink PW forwarding entry of the device includes the L i ne ID of the second access device
  • the egress port in the uplink PW forwarding entry of the second access device includes the uplink of the second access device.
  • the uplink PW forwarding entry of the second access device further includes an uplink label of the internal PW of the virtual AN.
  • the first generating unit is further configured to:
  • the access port management device determines that the first access device is an SPE device between the virtual AN internal PW and the virtual AN external PW
  • the first access device is generated according to the virtual AN downlink forwarding entry.
  • the downlink PW forwarding entry of the first access device where the downlink PW forwarding entry of the first access device includes an ingress port, a downlink label of the external PW of the virtual AN, a downlink label and an egress port of the PW of the virtual AN, and the first connection
  • the downstream PW forwarding entry of the device is a PW exchange entry.
  • the ingress port in the downlink PW forwarding entry of the first access device is the first interface
  • the egress port in the uplink PW forwarding entry of the device is the ingress port in the uplink PW forwarding entry of the first access device.
  • the device comprises a line identification L i Ne ID determination unit
  • the Line ID determining unit is used to:
  • the first virtual line ID is queried according to the obtained first virtual line ID to determine the first relationship between the first virtual line ID and the first physical line ID.
  • a Line ID of the access device and a Line ID of the second access device where the first physical Line ID includes a Li ne ID of the first access device and a Li ne ID of the second access device;
  • the Line ID determining unit is used to:
  • the first physical line ID includes a Line ID of the first access device and a Line ID of the second access device.
  • the virtual line ID includes a device identifier of the virtual AN and a first port number of the virtual AN;
  • the first line ID of the first access device includes a device identifier of the first access device and a first port number of the first access device;
  • the first line ID of the second access device includes a device identifier of the second access device and a first port number of the second access device.
  • the first access device is an OLT
  • the second access device is a first ONU, a first ONT, a first multi-dwelling unit MDU, or a first DSLAM; or,
  • the first access device is a first DSLAM
  • the second access device is a second DSLAM
  • the first access device is a DSLAM management device
  • the second access device is a DSLAM.
  • the virtual AN forwarding entry received by the access port management unit is connected
  • the ingress management device is sent by using the first control protocol or the first management protocol of layer 3 in the OSI model;
  • the access port management unit When the access port management unit needs to send the first forwarding entry or the second forwarding entry to the second access device, the access port management unit sends the second forwarding protocol or the second management protocol based on the layer 2 in the OSI model. .
  • the virtual AN can automatically generate a forwarding entry for the first access device and the second access device in the virtual AN according to the virtual AN forwarding entry, so that the virtual AN can process the service involved in the virtual AN forwarding entry.
  • the forwarding entry is not required to be manually configured for the first access device and the second access device in the virtual AN, which greatly improves the efficiency.
  • FIG. 1 is a schematic diagram of a virtual access node according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a virtual access node according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a network including a virtual AN as shown in FIG. 1 or FIG. 2 according to an embodiment of the present invention
  • 4A is a schematic diagram of a physical access subnet in an embodiment of the present invention.
  • FIG. 4B is a schematic diagram of a virtual AN in an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an access port management apparatus according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a method for generating a forwarding entry according to an embodiment of the present invention
  • FIG. 7A is a schematic diagram of a method for generating a first forwarding entry according to an embodiment of the present invention
  • FIG. 7B is a schematic diagram of a method for generating a first forwarding entry according to an embodiment of the present invention
  • FIG. 7D is a schematic diagram of a method for generating a first forwarding entry according to an embodiment of the present invention
  • FIG. 7E is a schematic diagram of generating a first forwarding entry according to an embodiment of the present invention
  • FIG. 7F is a schematic diagram of a method for generating a first forwarding entry according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a method for generating a forwarding entry according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a method for generating a forwarding entry according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a network running a pseudowire service according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a method for generating a forwarding entry according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of an access port management apparatus according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of an access port management apparatus according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of an access port management apparatus according to an embodiment of the present invention.
  • the present invention discloses a method for generating a forwarding entry for a device in an optical network.
  • the optical network includes a virtual access point (in English, referred to as an Access Node, abbreviated as AN) 10, as shown in FIG. 1 or FIG. 2, the virtual AN includes a first access device 1 1 and a second access device. 12 and access port management device 13.
  • AN virtual access point
  • the first access device 1 1 and the second access device 12 may not only be in a series relationship as shown in FIG. 1 or FIG. 2, but also may be in a parallel relationship.
  • the access port management device 13 is in the first access device 11.
  • Access port management The arrangement 13 in the first access device 11 can be understood as the access port management device 13 being located inside the outer casing of the first access device 11, the surface of the outer casing or mounted in the outer casing.
  • the access port management device 13 is outside the first access device 11 and establishes a communication connection with the first access device 11.
  • the third access device 14 may be included in the virtual AN, and the third access device 14 and the second access device 12 are both downstream devices of the first access device 11.
  • a plurality of access devices with the second access device 12 and the third access device 14 may also be included in the virtual AN.
  • the virtual AN may also not include the third access device 14 and other similar access devices.
  • Figure 3 shows a specific schematic diagram of a network including a virtual AN as shown in Figure 1 or Figure 2.
  • the virtual AN is logically treated as a device, using a management IP address.
  • the virtual AN can communicate with the access management device outside the virtual AN by using the first control protocol or the first management protocol based on layer 3 in the Open Systems Interconnection (0SI) model, and receive the virtual AN sent by the access management device as the virtual AN.
  • the ingress port of the virtual AN forwarding entry is the virtual line ID (in the English, the line ID), that is, the identifier of the ingress port corresponding to the virtual AN forwarding entry of the virtual AN is the virtual line ID.
  • the virtual AN is connected to a broadband network gateway (abbreviated as BNG) on the network side, and is also connected to multiple client devices (abbreviated as CPE) located on the user side, for example, CPE1 and FIG. CPEn.
  • BNG broadband network gateway
  • CPE client devices
  • the Line ID is used to identify a port.
  • the Line ID includes at least the device ID of the device where the port identified by the Line ID is located. And the port number of the port identified by the Li ne ID.
  • the virtual AN shown in Figure 3 includes an 0LT, including 0NT, 0NU, MDU, and DSLAM.
  • 0NT, 0NU, MDU, and DSLAM are connected to the OLT in a point-to-multipoint manner, and 0NT, 0NU, MDU, and DSLAM are the "multipoints" described.
  • 0NT and 0LT are connected by a passive optical network (abbreviated as P0N) and use fiber-to-the-home (FTTH) technology.
  • P0N passive optical network
  • FTTH fiber-to-the-home
  • the physical distance between 0NT and the CPE connected to it is very close.
  • 0NU and 0LT are connected through P0N, and use fiber to distribution point (English full name Fibre to Drop/Distribution Point, English abbreviated as FTTDp) technology, 0NU and its connected CPE are connected by wire or wireless, the physical distance between them It is tens of meters.
  • MDU and 0LT are connected via P0N and use FTTC! , fiber to the building (English full name Fibre To The Bui I ding, English abbreviation for FTTB) or fiber to the node (English full name Fibre To The Node, English abbreviated as FTTN) technology, MDU and its connected CPE through the digital
  • DSL The line of households
  • the DSLAM and its connected CPE are connected by DSL technology, and the physical distance between them is several kilometers.
  • the virtual line ID includes a device ID of the virtual AN and a port number of the virtual AN.
  • the virtual line ID may further include a virtual AN (chassis) number, a rack (English rack) number, and a frame ( English is one or more of the frame number, the slot (slot) number, and the sub-slot number.
  • a physical access subnet including 0NU1, 0NU2, and 0LT1 is shown.
  • 0NU1 and 0NU2 are respectively connected to 0LT1,
  • 0NU1 includes slot1 and s1 ot2, and
  • 0NU2 also includes s I ot1 and slot2.
  • Each of the four slots is divided into 1 J, including port1, port 2, port 3, and port 4 0 home gateways (English full name is Residential Gateway, abbreviated as RG) 1- Home gateway 5 is connected to the corresponding port.
  • RG Residential Gateway
  • 0NU1, 0NU2, and 0LT1 are virtualized as a virtual AN.
  • the slot1 and slot2 in 0NU2 are co-virtualized as slotl in the virtual AN
  • portl-port4 in slot1 in 0NU2 is virtualized as portl-port4 in the slot1 of the virtual AN
  • portl-port4 in slot2 in 0NU2 is virtualized as Port5-8 in the slot of the virtual AN.
  • slot2 in 0NU1 is virtualized as slot2 in the virtual AN
  • portl-port4 in slot 2 in 0NU1 is virtualized as port1-port4 of slot 2 in the virtual AN.
  • the slotl in 0NU1 is virtualized as slot3 in the virtual AN
  • the port1_port4 of slotl in 0NU1 is virtualized as portl_port4 of slot3 in the virtual AN.
  • the Line ID of portl in slotl of 0NU1 is 0NU1/s I ot1/port1
  • the Line I D of portl in slotl of 0LT1 is OLTVs I ot1/port1.
  • the portl in slot3 in the virtual AN is based on the portl in slot1 in 0NU1 and the portl in slot1 in 0LT1. It can be seen that a virtual Line ID in the virtual AN should correspond to a physical Line ID, which includes the Line ID of 0NU and the L I ne I D of 0LT. Since both 0NU and 0LT are physical devices, the line IDs of 0NU's L i ne I D and 0LT are physical line IDs.
  • the access port management apparatus 13 includes a processor 131, an interface 132, and a memory 133.
  • the processor 1 31, the interface 132 and the memory 133 cooperate with each other to coordinate the operation of the access port management device 13.
  • the method for generating a forwarding entry in the embodiment of the present invention includes the following content.
  • the access port management device 13 obtains the virtual AN forwarding entry sent by the access management device, where the virtual AN forwarding entry includes an ingress port and an identity port outbound port of the service that the virtual AN needs to process.
  • the virtual AN forwarding entry is sent by the access management by using a first control protocol or a first management protocol based on a layer III of the OS I, such as a network protocol (abbreviated as IP) layer.
  • IP network protocol
  • the destination IP address of the packet carrying the virtual AN forwarding entry is the management IP address of the virtual AN.
  • the first control protocol may adopt an OpenFlow (English Open) protocol or an access node.
  • the control protocol abbreviated as ANCP
  • the first management protocol can use the network configuration (English Netconf) protocol or the simple network management protocol (abbreviated as SNMP).
  • the ingress port included in the virtual AN forwarding entry may include a first virtual line identifier (Line ID in English), and may also include a first physical Li ne ID, where the first physical line ID includes the first device.
  • the first virtual line ID includes a device identifier of the virtual AN and a first port number of the virtual AN.
  • the virtual line ID may further include a virtual AN (chassis) number, a rack (in English), a frame (frame in English), a slot (slot) in English, and a sub-line. One or more of the slots (sub-slots in English).
  • the first Line ID of the first device and the first Line ID of the second device include information similar to the information included in the virtual Line ID.
  • the first line ID of the first access device includes a device identifier of the first access device and a first port number of the first access device; and the first line ID of the second access device includes a second access The device identifier of the device and the first port number of the second access device.
  • first line ID of the first access device may further include one or more of a machine number, a rack number, a frame number, a slot number, and a sub-slot number of the first access device
  • the first line ID of the second access device may further include one or more of a machine access number, a rack number, a frame number, a slot number, and a sub-slot number of the second access device.
  • the access port management device can acquire or has previously obtained the virtual line ID and the physical L i nd ID corresponding to the virtual line ID. Correspondence between the two.
  • the virtual AN can use a management IP address, and the management device in the network regards all devices included in the virtual AN as a whole, that is, as one device, which makes the network structure simple.
  • VLANs virtual local area networks
  • PW pseudowires
  • the identifier of the service to be processed by the virtual AN in the virtual AN forwarding entry includes the VLAN IDo.
  • the virtual AN forwarding entry When the service to be processed by the virtual AN is a PW, the virtual AN forwarding entry includes a virtual AN uplink forwarding entry and a virtual AN downlink forwarding entry, and the virtual AN uplink forwarding entry includes an uplink.
  • Downstream port When the service to be processed by the virtual AN is a PW, the virtual AN forwarding entry includes a virtual AN uplink forwarding entry and a virtual AN downlink forwarding entry, and the virtual AN uplink forwarding entry includes an uplink.
  • the virtual AN downlink forwarding entry includes a downlink ingress port, an identifier of the
  • the identifier of the external PW of the virtual AN, the uplink label of the external PW of the virtual AN, and the downlink label of the external PW of the virtual AN belong to the identifier of the service that needs to be processed by the AN.
  • the egress port in the virtual AN forwarding entry is the uplink egress port of the first access device 11.
  • the access port management device 13 may also obtain the virtual AN forwarding entry in multiple other manners, for example, the virtual network sent by the other device except the access management device 14 in the receiving network.
  • the AN forwards the entry or receives the virtual AN forwarding entry directly configured by the administrator.
  • the virtual AN forwarding entry may be automatically generated by the device in the network according to the structure of the virtual AN and the service to be processed, or may be generated by the network administrator according to the structure of the virtual AN and the service to be processed.
  • the main problems to be solved in this embodiment include how to process the generated virtual forwarding entries.
  • the access port management device 13 generates a first turn for the first device in the first access device 1 1 and the second access device 1 2 according to the virtual AN forwarding entry.
  • the item of the first forwarding entry includes an ingress port, an egress port, and an identifier of a service that the first device needs to process.
  • the identifier of the service that the first device needs to process is used to indicate that the first device needs to encapsulate the first data stream received from the ingress port of the first forwarding entry to the identifier of the service that needs to be processed by the first device.
  • the identifier of the service to be processed by the first device is the identifier of VLAN1
  • the first device needs to encapsulate the first data stream into VLAN1. This enables the allocation of the services that the AN needs to process within the AN.
  • the identifier of the service to be processed by the first device includes multiple VLAN identifiers
  • the first device needs to use the multiple VLAN identifiers to perform multiple VLAN encapsulation on the first data stream in a certain order. .
  • the first access device 1 1 and the second access device 12 can respectively be different specific devices.
  • the first access device 11 is an optical line terminal (abbreviated as 0LT)
  • the second access device 12 is a first optical network unit (abbreviated as 0NU)
  • the first optical network terminal abbreviated as 0NT
  • the first multi-dwelling unit abbreviated as MDU
  • the first subscriber line access multiplexer abbreviated as DSLAM
  • the first access device 11 is the first digital subscriber line access multiplexing Abbreviation a DSLAM
  • the second access device 12 is a second DSLAM
  • the first access device is a digital subscriber line access multiplexer (abbreviated as DSLAM) management device
  • the second access The device is the first DSLAM.
  • the access port management device 13 generates, according to the virtual AN forwarding entry, a first forwarding entry for the first device in the first access device 11 and the second access device 12, including :
  • the access port management device 13 is configured according to the allocation between the first access device and the second access device and the virtual AN forwarding entry according to the service processed by the virtual AN.
  • the first device in the access device 11 and the second access device 12 generates a first forwarding entry.
  • the allocation of the services that the virtual AN needs to process between the first device and the second device may include a variety of situations.
  • the first part of the service that the virtual AN needs to process may be processed by the first access device
  • the second part of the service that the virtual AN needs to process may be processed by the second access device, or may be first
  • the access device processes all services that the virtual AN needs to process, and may also process all services that the virtual AN needs to process by the second access device.
  • the first access device processes the first part of the service that needs to be processed by the virtual AN, by the first
  • the second access device processes the second part of the service to be processed by the virtual AN
  • the first access device is the first device.
  • the method for generating the first forwarding entry includes the following: content.
  • the access port management device queries the first virtual Li ne ID according to the obtained first query.
  • the first physical line ID is determined by the correspondence between the virtual line ID and the first physical line ID, where the first physical line ID includes the first line ID of the first access device and the first line ID of the second access device. ;
  • the first forwarding entry is generated, where the ingress port of the first forwarding entry includes the first line ID of the first access device, and the egress port of the first forwarding entry includes the uplink of the first access device.
  • the first forwarding entry of the port further includes an identifier of the first part of the service.
  • the first forwarding entry may also be generated by a method including the following content.
  • the ingress port of the virtual AN forwarding entry includes a first physical line identifier (Line ID in English) and the first physical line ID includes a first line ID of the first access device and a second access device. a line ID, the access port management device determines a first Line ID of the first access device according to the first physical Li ne ID;
  • the first forwarding entry is generated, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes an uplink of the first access device.
  • the first forwarding entry of the port further includes an identifier of the first part of the service.
  • the allocation between the first access device and the second access device is when the first access device processes all services in the service that the virtual AN needs to process.
  • the first access device is the first device.
  • the method for generating a first forwarding entry includes the following content.
  • the access port management device queries the first virtual Li ne ID according to the obtained first query. Determining, by the correspondence between the virtual line ID and the first physical line ID, the first physical line ID, where the first physical line ID includes a first Line ID of the first access device and a first Line ID of the second access device ;
  • the first forwarding entry is generated, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes an uplink of the first access device.
  • the first forwarding entry of the port further includes an identifier of all services in the service that the virtual AN needs to process.
  • the first forwarding entry may also be generated by a method including the following.
  • the ingress port of the virtual AN forwarding entry includes a first physical line identifier (Line ID in English) and the first physical line ID includes a first line ID of the first access device and a second access device. a line ID, the access port management device determines a first Line ID of the first access device according to the first physical Li ne ID; B22.
  • the first forwarding entry is generated, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes an uplink of the first access device.
  • the first forwarding entry of the port further includes an identifier of all services in the service that the virtual AN needs to process.
  • the allocation between the first access device and the second access device when the virtual AN needs to be processed is all services in the service that the virtual AN needs to process by the second access device.
  • the first device is the second access device.
  • the generating the first forwarding entry includes the following content.
  • the access port management device queries the first virtual Li ne ID according to the obtained first Determining, by the correspondence between the virtual line ID and the first physical line ID, the first physical line ID, where the first physical line ID includes a first Line ID of the first access device and a first Line ID of the second access device ;
  • the first forwarding entry is generated, where the ingress port of the first forwarding entry includes the first line ID of the second access device, and the egress port of the first forwarding entry includes the uplink of the second access device.
  • the first forwarding entry of the port further includes an identifier of all services in the service that the virtual AN needs to process.
  • the first forwarding entry may also be generated by a method including the following.
  • the ingress port of the virtual AN forwarding entry includes a first physical line identifier (Line ID in English) and the first physical line ID includes a first line ID of the first access device and a second access device. a line ID, the access port management device determines a first Line ID of the second access device according to the first physical Li ne ID;
  • the first forwarding entry is generated, where the ingress port of the first forwarding entry includes the first line ID of the second access device, and the egress port of the first forwarding entry includes the uplink of the second access device.
  • the first forwarding entry of the port further includes an identifier of all services in the service that the virtual AN needs to process.
  • the method for generating the forwarding entry is as follows.
  • the first access device 1 is the first device, and the second access device 12 is the second device.
  • the access port management device 13 in the 1 1 0 is based on the virtual AN forwarding entry.
  • the first forwarding device in the first access device 1 1 and the second access device 12 generates the first forwarding entry: the access port management device 13 determines the first access device 1 1 is the internal interior of the virtual AN
  • An uplink PW forwarding entry of the first access device is generated according to the virtual AN uplink forwarding entry, after the PW and the virtual AN external PW exchange carrier edge (abbreviated as SPE) device, where
  • the uplink PW forwarding entry of the first access device includes an ingress port, an uplink label of the internal PW of the virtual AN, an uplink label and an egress port of the external PW of the virtual AN, and the entry in the uplink PW forwarding entry of the first access device
  • the port includes a first L i ne ID of the first access device, and an egress port in the uplink PW forwarding entry of the first access device is an uplink egress port in the virtual AN uplink forwarding entry.
  • the virtual AN especially the first access device, needs to process the virtual AN internal PW and the virtual AN external PW, and the uplink label of the internal PW of the virtual AN and the uplink label of the external PW of the virtual AN belong to the service that the virtual AN needs to process.
  • logo the uplink label of the internal PW of the virtual AN and the uplink label of the external PW of the virtual AN belong to the service that the virtual AN needs to process.
  • the access port management device 13 generates a first turn for the first device in the first access device 1 1 and the second access device 1 2 according to the virtual AN forwarding entry.
  • Publications also include:
  • the virtual AN downlink forwarding entry After the access port management device 13 determines that the first access device 11 is a switching carrier edge (SPE) device between the virtual AN internal PW and the virtual AN external PW,
  • the virtual AN downlink forwarding entry generates a downlink PW forwarding entry of the first access device, where the downlink PW forwarding entry of the first access device includes an ingress port, a downlink label of the virtual AN external PW, and a virtual AN internal Downstream label and outgoing port of the PW.
  • the downlink label of the external PW of the virtual AN and the downlink label of the internal PW of the virtual AN belong to the identifier of the service that the virtual AN needs to process.
  • the uplink PW forwarding entry of the first access device and the downlink PW forwarding entry of the first access device are both PW exchange entries.
  • a PW exchange entry is used to exchange PW labels for packets belonging to a PW, so that the packet becomes a packet belonging to another PW.
  • the ingress port in the downlink PW forwarding entry of the first access device is an egress port in the uplink PW forwarding entry of the first access device
  • the downlink PW of the first access device Turn The egress port in the publication item is an ingress port in the uplink PW forwarding entry of the first access device.
  • the access port management device queries the first virtual line ID and the first according to the obtained first virtual line ID. The correspondence between the line ID of the first access device and the line ID of the second access device, where the first physical line ID includes the line ID of the first access device and the second access device Li ne ID.
  • the access port management device determines the Line ID of the first access device according to the first physical line ID. a Line ID of the second access device, where the first physical Line ID includes a Line ID of the first access device and a Li ne ID of the second access device.
  • the access port management device 13 generates a second forwarding entry for the first device in the first access device 11 and the second access device 12 according to the virtual AN forwarding entry,
  • the second forwarding entry includes an ingress port and an egress port.
  • the first access device processes the virtual AN to process the service.
  • the first part of the service when the second access device processes the second part of the service that needs to be processed by the virtual AN, the second access device is the second device.
  • the ingress port of the second forwarding entry includes a first line ID of the second access device
  • the egress port of the second forwarding entry includes an uplink egress port of the second access device
  • the second forwarding entry Also included is an identification of the second portion of the service.
  • the second access device is the second device when all services in the service are used.
  • the ingress port of the second forwarding entry includes the first line ID of the second access device, and the egress port of the second forwarding entry includes the uplink and egress port of the second access device.
  • the first access device is the second device when all services in the service are used.
  • the second forwarding entry entry port includes a first line ID of the first access device, and the second forwarding table
  • the egress port of the entry includes an uplink egress port of the first access device.
  • the second forwarding entry is an uplink PW forwarding entry of the second access device
  • the ingress port in the uplink PW forwarding entry of the second access device includes the The L i ne ID of the second access device
  • the egress port in the uplink PW forwarding entry of the second access device includes an uplink egress port of the second access device
  • the uplink PW forwarding table of the second access device The entry also includes an upstream label of the internal PW of the virtual AN.
  • the virtual AN when the service to be processed by the virtual AN is the PW, after the first access device uplink PW forwarding entry and the second access device uplink PW forwarding entry are generated, the virtual AN can process the uplink PW. Achieved part of the business.
  • the method in the embodiment of the present invention may be used, and other methods may also be used.
  • the uplink refers to the direction from the second access device to the first access device and continues to the network side
  • the downlink refers to the direction opposite to the uplink.
  • the virtual AN forwarding entry received by the access port management device is sent by the access management device through the first control protocol or the first management protocol based on Layer 3 of Open OSI.
  • the access port management device needs to send the first forwarding entry or the second forwarding entry to the second access device, the access port management device passes the second layer of the second layer based on the open system interconnection (abbreviated as 0S I )
  • the control protocol or the second management protocol is sent.
  • the operation of sending the first forwarding entry or the second forwarding entry by using the second control protocol or the second management protocol of the layer 2 in the OSI model may enable the access port management device to learn the MAC address of the second access device but The sending of the first forwarding entry or the second forwarding entry can be implemented without knowing the management IP address of the second access device.
  • the management device or the management system in the carrier network only sees the management IP address of the virtual AN. You do not need to see the management IP address of each physical AN inside the virtual AN. Therefore, you do not need to assign a management IP address to the second access device. .
  • the technical solution in this implementation may be avoided as a large number of second access devices or A device similar to the device assigns a management IP address and performs maintenance of the corresponding management IP address.
  • the advantages of this embodiment are very obvious, because in the FTTDp scenario, there are a large number of second access devices or devices similar to the second access device, such as ONU, etc., in the vicinity of the user equipment, and this embodiment is adopted.
  • the solution in the scheme avoids the task of configuring and maintaining a management IP address for a large number of ONU or similar devices.
  • the virtual AN can forward the entry to the virtual AN according to the virtual AN.
  • An access device and the second access device automatically generate a forwarding entry, so that the virtual AN can process the service involved in the virtual AN forwarding entry or a part of the service involved, and therefore does not need to be the first access device in the virtual AN.
  • Manually configuring forwarding entries with the second access device greatly improves efficiency.
  • a method for generating a forwarding entry includes the following content.
  • the 0NU reports the uplink physical port ID of the first physical line ID and the ONU, and the 0LT includes the access port management device.
  • the access port management device can also be outside of 0LT.
  • the 0NU also reports the address of the 0NU to the 0LT, and the address of the 0NU may be the MAC address of the 0NU or the IP address of the 0NU.
  • the access port management device allocates a first virtual l ine ID to the first physical line ID, so as to form a mapping relationship between the first physical line ID and the first virtual line ID.
  • the first physical line ID includes the line ID of the ONU and the line ID of the OLT
  • an exemplary mapping relationship between the first physical line ID and the first virtual line ID is as shown in Table 2.
  • the 0NU2 ID entry indicates the 0NU2 identifier
  • the Slotl entry indicates the slot on the 0NU
  • the Port1 entry indicates port 1 on slot 0 of the 0NU.
  • the 0LT1 ID indicates the ID of 0LT1
  • the S1 ot1 identifies the slot 1 on the 0LT
  • the Port2 entry indicates the port 2 on slot 1 of the 0LT.
  • the access port management device determines a decomposition rule for the virtual AN forwarding entry, that is, determines a service that needs to be processed by the 0LT and a service that needs to be processed by the 0NU.
  • the service processed by the 0LT is a service virtual local area network (S-VLAN in English)
  • the service processed by the 0NU is a user virtual local area network (C-VLAN in English).
  • the access port management device receives the virtual AN forwarding entry sent by the access management device, where the virtual AN forwarding entry includes an ingress port, a service to be processed by the virtual AN, and an egress port.
  • the access management device sends the virtual AN forwarding entry by using a first control protocol or a first management protocol based on layer 3 in the 0SI model.
  • the destination IP address of the protocol packet carrying the virtual AN forwarding entry is the management IP address of the virtual AN.
  • the first control protocol may adopt an OpenFlow (English Openflow) protocol or an Access Node Control Protocol (abbreviated as ANCP), and the first management protocol may adopt a network configuration (English Netconf) protocol or a simple network management protocol (abbreviated as English) SNMP).
  • the ingress port of the virtual AN forwarding entry includes the first virtual line ID.
  • the ingress port of the virtual AN forwarding entry is virtual AN ID/Slot 1/Port 1.
  • An exemplary virtual AN forwarding entry is shown in Table 3.
  • the ingress port in Table 3 is the first virtual L i ne in Table 2.
  • the access port management device may receive the virtual AN forwarding table sent by the access management device.
  • a simplified example of the virtual AN forwarding table is shown in Table 4.
  • the physical structure of the virtual AN corresponding to the virtual AN forwarding table shown in Table 4 is as shown in FIG. 4A, and the logical structure of the corresponding virtual AN is as shown in FIG. 4B, and the correspondence between the physical Line ID and the virtual Line ID is as shown in Table 1.
  • the access port management device determines the first physical line ID according to the mapping relationship between the first physical line ID and the first virtual line ID and the first virtual line ID. For example, when the first virtual line ID is AN ID/Slot 1/Port 1, the first physical Li ne ID may be determined according to Table 2, including 0NU2 ID/Slot1/Port1 and 0LT1 ID/SI ot1/Port2 0
  • the access port management device determines, according to the first physical L I ne I D , the 0NU passive optical network (English abbreviation P0N) layer addressing ID and the address of the 0NU.
  • the ONU P0N layer addressing ID is used to access the port management device or the 0LT addresses the corresponding 0NU in the P0N layer when it needs to send a entry to the 0NU.
  • the address of the ONU can be either a MAC address or an IP address.
  • 206 is not required by the access port management device to generate a table entry, but is required in the process of sending an entry to the 0NU.
  • the access port management device generates a first forwarding entry for the 0LT, where the first forwarding entry includes an ingress port, an egress port, and an identifier of a service to be processed by the 0LT.
  • the ingress port is the line ID of the 0LT in the first physical line ID
  • the egress port is the egress port of the virtual AN forwarding entry
  • the identifier of the service to be processed by the 0LT is the service virtual local area network identifier (English abbreviation) For S-VID).
  • the mapping relationship between the first physical line ID and the first virtual line ID is as shown in Table 2 and the virtual AN forwarding entry is as shown in Table 3, the generated first forwarding entry is as shown in Table 5.
  • the inbound port of the first forwarding entry is the line ID of the 0LT.
  • the service ID is S-VID
  • the egress port is the egress port in the virtual AN forwarding entry. The value is 1.
  • the first forwarding table generated according to the method in 207 is as shown in Table 6.
  • the access port management device generates a second forwarding entry for the ONU, where the second forwarding entry includes an ingress port, an egress port, and an identifier of the service to be processed by the 0NU.
  • the ingress port is the line ID of the ONU in the first physical line ID
  • the egress port is the uplink port of the ONU
  • the identifier of the service to be processed by the 0NU is the user virtual local area network identifier (abbreviated as C-VID).
  • C-VID user virtual local area network identifier
  • the second forwarding table generated according to the method in 208 is as shown in Table 8.
  • the access port management device uses the first forwarding entry by the OLT.
  • Access port management device The 0NU uses the second forwarding entry.
  • the access port management device or the 0LT needs to send the second forwarding entry to the 0NU.
  • the access port management device or the 0LT uses the ONU P0N layer addressing identifier to address the corresponding 0NU at the P0N layer, and uses the address of 0NU to address the corresponding 0NU in the network layer corresponding to the address of the 0NU.
  • the access port management device or the OLT sends the second forwarding entry to the ONU through the second control protocol or the second management protocol based on the layer 2 of the OSI model, for example, the media intervention control (MAC) layer.
  • the second control protocol protocol is an optical network unit management and control interface (English name is ONU Management and Cont ro l I nterface, abbreviated as OMC I) protocol or Ethernet operation management and maintenance (abbreviated as ETH 0AM) protocol.
  • the second management protocol is the ETH 0AM protocol. It should be noted that the ETH 0AM protocol can be regarded as either a control protocol or a management protocol.
  • the ONU After receiving the first data stream from the ingress port of the second forwarding entry, the ONU performs C-VLAN encapsulation on the first data stream according to the CV ID, and then encapsulates the first packet according to the egress port of the second forwarding entry.
  • the data stream is sent to 0LT.
  • the 0LT performs S-VLAN encapsulation on the received first data stream according to the SV ID, and continues to forward according to the egress port of the first forwarding entry.
  • the access port management device generates a forwarding entry according to the virtual AN forwarding entry for the 0LT and the 0NU, respectively, so that the 0LT and the ONU can work together, and the virtual AN needs to process the VLAN service.
  • the scheduling of business processing is implemented.
  • the line IDs of the plurality of ONUs can be uniformly addressed to avoid collision and reduce the error rate.
  • a method for generating a forwarding entry includes the following content.
  • the 0NU reports the first physical line ID and the uplink port information of the 0NU to the 0LT, and the 0LT includes the access port management device.
  • the access port management device can also be outside of 0LT.
  • the 0NU also reports the address of the 0NU to the 0LT.
  • the access port management device determines a decomposition rule for the virtual AN forwarding entry, that is, determines a service that needs to be processed by the 0LT and a service that needs to be processed by the 0NU.
  • the service processed by the 0LT is a service virtual local area network (S-VLAN in English)
  • the service processed by the 0NU is a user virtual local area network (C-VLAN in English).
  • the access port management device receives the virtual AN forwarding entry that is sent by the access management device by using the management IP address of the virtual AN as the destination address, where the virtual AN forwarding entry includes the ingress port, the service to be processed by the virtual AN, and Out port.
  • the ingress port of the virtual AN forwarding entry includes the first physical line ID.
  • An exemplary mapping relationship of virtual AN forwarding entries is shown in Table 9.
  • the ingress port of the virtual AN forwarding entry includes 0NU2 ID/Slot1/Port1 and 0LT1 ID/Slot1/Port2, the service identifier includes C-VID and S-VID, and the outbound port is 1, which is the uplink and egress port of 0LT.
  • the ingress port is the first physical Line ID.
  • the access port management device may receive the virtual AN forwarding table sent by the access management device.
  • a simplified example of the virtual AN forwarding table is shown in Table 10.
  • the physical structure of the virtual AN corresponding to the virtual AN forwarding table shown in Table 10 is as shown in FIG. 4A, and the logical structure of the corresponding virtual AN is as shown in FIG. 4B.
  • Incoming port service port
  • the access management device sends the virtual AN forwarding entry by using a first control protocol or a first management protocol based on layer 3 in the 0SI model.
  • the destination IP address of the protocol carrying the virtual AN forwarding entry is the IP address of the virtual AN.
  • the first control protocol may adopt an OpenFlow (English Openf low) protocol or an Access Node Control Protocol (abbreviated as ANCP), and the first management protocol may adopt a network configuration (English Netconf) protocol or a simple network management protocol (English abbreviation) For SNMP).
  • the access port management device determines, according to the first physical L I ne I D , the 0NU passive optical network (abbreviated as P0N) layer addressing ID and the address of the 0NU.
  • P0N passive optical network
  • the ONU P0N layer addressing ID is used to access the port management device or the 0LT addresses the corresponding 0NU in the P0N layer when it needs to send a entry to the 0NU.
  • the address of 0NU can be either a MAC address or an IP address.
  • 304 is not required by the access port management device to generate a table entry, but is required in the process of sending an entry to the 0NU.
  • the access port management device generates a first forwarding entry for the OLT, where the first forwarding entry includes an ingress port, an egress port, and an identifier of a service to be processed by the OLT.
  • the ingress port is the line ID of the 0LT in the first physical line ID
  • the egress port is the egress port of the virtual AN forwarding entry
  • the identifier of the service to be processed by the 0LT is the service virtual local area network identifier (English abbreviation) For S-VID).
  • the virtual AN forwarding entry is as shown in Table 9
  • the generated first forwarding entry is as shown in Table 5. Shown.
  • the virtual AN forwarding table is as shown in Table 10
  • the generated first forwarding table is as shown in Table 6.
  • the access port management device generates a second forwarding entry for the 0NU, where the second forwarding entry includes an ingress port, an egress port, and an identifier of the service to be processed by the 0NU.
  • the ingress port is the line ID of the ONU in the first physical line ID
  • the egress port is the uplink port of the ONU
  • the identifier of the service to be processed by the 0NU is the user virtual local area network identifier (abbreviated as C-VID) .
  • C-VID user virtual local area network identifier
  • the access port management device 0LT uses the first forwarding entry.
  • the access port management device uses the second forwarding entry.
  • the access port management device or the 0LT needs to send the second forwarding entry to the 0NU.
  • the access port management device or the 0LT uses the ONU P0N layer addressing identifier to address the corresponding 0NU at the P0N layer, and uses the address of 0NU to address the corresponding 0NU in the network layer corresponding to the address of the 0NU.
  • the access port management device or the OLT sends the second forwarding entry to the ONU by using the second control protocol or the second management protocol of the layer 2 in the 0SI model, where the second control protocol protocol is an optical network unit management and control interface.
  • the second control protocol protocol is an optical network unit management and control interface.
  • ETH 0AM protocol such as Ethernet operation management and maintenance (abbreviated as ETH 0AM) protocol
  • the second management protocol is ETH 0AM .
  • the ETH 0AM protocol can be regarded as either a control protocol or a management protocol.
  • the 0NU After the ONU receives the first data stream from the ingress port of the second forwarding entry, the 0NU performs C-VLAN encapsulation on the first data stream according to the C-VID, and then encapsulates the encapsulation according to the egress port of the second forwarding entry.
  • a data stream is sent to the 0LT.
  • the 0LT performs S-VLAN encapsulation on the received first data stream according to the S-VID, and continues to forward according to the egress port of the first forwarding entry.
  • multiple 0NU Line IDs can be uniformly addressed to avoid collisions and reduce the error rate.
  • the access port management device forwards the entry according to the virtual AN.
  • 0LT and 0NU respectively generate forwarding entries, so that 0LT and 0NU can work together, and the virtual AN needs to process VLAN services and implement scheduling of service processing.
  • the virtual AN includes 0LT1 and n ONUs, and each ONU is connected to a corresponding CPE.
  • Each 0NU is a PE set close to the CPE shown in Figure 10.
  • the OLT is connected to a PE device PE1 on the other side of the network, that is, 0LT1 is located in the middle of 0NU and PE1.
  • a virtual AN external PW needs to be established between 0LT1 and PE1.
  • Some or all of 0LT1 and n ONUs need to establish a virtual AN internal PW.
  • 0LT1 is located between the virtual AN external PW and the virtual AN internal PW, and its role is SPE.
  • the virtual AN presents a single carrier edge (PE) device.
  • the multi-protocol label switching (referred to as MPLS) is seen by the peer as a virtual AN rather than a separate one.
  • MPLS multi-protocol label switching
  • PE data plane is implemented in 0NU
  • 0LT implements PW exchange as SPE
  • PE control plane is implemented in 0LT
  • virtual AN externally connects to metropolitan area MPLS signaling through "MPLS controller”
  • access end outside of virtual AN
  • the MPLS signaling is implemented by the first control protocol or the first management protocol based on the layer 3 in the OSI model, and the 0NU does not need to implement the IP or MPLS control plane.
  • a method for generating a forwarding entry includes the following content.
  • the 0NU reports the uplink and outbound port information of the first physical L I ne I D and the ONU to the 0LT.
  • the 0NU also reports the address of the 0NU to the 0LT.
  • the 0LT includes an access port management device.
  • the access port management device can also be placed in other devices than 0LT.
  • the 0NU in 401 can be any of the n 0NUs in Figure 10.
  • the access port management device determines that the 0LT is an SPE device between the virtual AN internal PW and the virtual AN external PW to be established.
  • the internal PW of the virtual AN is the PW passing through 0LT and 0NU, and the external PW of the virtual AN is the PW between the 0LT and the PE other than the virtual AN.
  • the access port management device can determine the PW tags that need to be processed by 0NU and 0LT respectively.
  • the PW label to be processed by the 0LT includes the uplink label of the external PW of the virtual AN, the uplink label of the PW of the virtual AN, the downlink label of the external PW of the virtual AN, and the downlink label of the internal PW of the virtual AN.
  • the label includes an uplink label of the internal PW of the virtual AN and a downlink label of the internal PW of the virtual AN.
  • the access port management device receives the virtual AN forwarding entry that is sent by the access management device by using the management IP address of the virtual AN as the destination address, where the virtual AN forwarding entry includes the virtual AN uplink forwarding entry and the virtual AN downlink forwarding table. item.
  • the virtual AN uplink forwarding entry includes an uplink ingress port, an identifier of the virtual AN external PW, an uplink label of the virtual AN external PW, and an uplink out port.
  • the identifier of the external PW of the virtual AN may be 1, and the uplink port includes the first physical line ID.
  • the first physical line ID includes the Line ID of the ONU and the Line ID of the OLT.
  • the value of the Line ID of the ONU is 0NU2 ID/SI otl/Portl
  • the value of the Line ID of the OLT is 0LT1 ID/Slot1/Port2.
  • the uplink port of the OLT includes the uplink and egress port of the OLT.
  • the value in this embodiment may be 1.
  • the value of the uplink label of the external PW of the virtual AN may be 11111 in this embodiment.
  • An exemplary virtual AN uplink forwarding entry in this embodiment is shown in Table 11.
  • Table 11 only the virtual AN uplink forwarding entry when the virtual AN internal PW is established between 0LT1 in FIG. 10 and one 0NU in the 0NUs is shown. 0LT1 and multiple or each of the 0NUs can establish a virtual AN internal PW. In this case, corresponding multiple virtual AN uplink forwarding entries are generated accordingly. Multiple virtual AN uplink forwarding entries may be included in the same virtual AN uplink forwarding table.
  • Table 12 is a brief example of a virtual AN upstream forwarding table.
  • the virtual AN downlink forwarding entry includes the downlink ingress port, the identifier of the virtual AN external PW, and the virtual Downlink label and downlink out port of the external PW of the AN.
  • the downlink ingress port in the virtual AN downlink forwarding entry is the uplink egress port in the virtual AN uplink forwarding entry, and the downlink egress port in the virtual AN downlink forwarding entry is in the virtual AN uplink forwarding entry. Upstream port.
  • the value of the downlink label of the external PW of the virtual AN may be 22222 in this embodiment.
  • An exemplary virtual AN downlink forwarding entry in this embodiment is shown in Table 13.
  • Table 13 shows an example of a virtual AN uplink forwarding entry when a virtual AN internal PW is established between 0LT1 in FIG. 10 and one 0NU in the 0NU.
  • 0LT1 and multiple or each of the ONUs can establish a virtual AN internal PW.
  • corresponding multiple virtual AN downlink forwarding entries are generated accordingly.
  • Multiple virtual AN uplink forwarding entries may be included in the same virtual AN downlink forwarding table.
  • Table 1 4 is a brief example of a virtual AN downstream forwarding table.
  • the access port management apparatus generates an ID of the virtual AN internal PW corresponding to the identifier of the virtual AN external PW, an uplink label of the virtual AN internal PW corresponding to the uplink label of the virtual AN external PW, and the virtual AN external PW. Downlink label corresponding to the virtual AN internal PW Sign.
  • the ID of the external PW of the virtual AN is 1, the ID of the internal PW of the corresponding virtual AN is 11; when the uplink label of the external PW of the virtual AN is 11111, the uplink label of the internal PW of the corresponding virtual AN is 66666; When the downlink label of the external PW of the virtual AN is 22222, the downlink label of the internal PW of the corresponding virtual AN is 77777.
  • the access port management device generates an 0LT uplink PW forwarding entry and a 0LT downlink PW forwarding entry for the 0LT, and the 0LT uplink PW forwarding entry and the 0LT downlink PW forwarding entry are both the first forwarding entry in the 110.
  • the 0LT uplink PW forwarding entry includes the inbound port, the egress port, the upstream label of the internal PW of the virtual AN, and the upstream label of the external PW of the virtual AN.
  • the inbound port in the 0LT upstream PW forwarding entry includes the line ID of the 0LT.
  • the line ID of the OLT may be 0LT1 ID/Slot1/Port2
  • the egress port in the OLT uplink PW forwarding entry includes the virtual AN uplink forwarding entry.
  • the upstream outgoing port is shown in Table 15.
  • the 0LT uplink PW forwarding table is shown in Table 16.
  • the OLT downlink PW forwarding entry includes an inbound port, an egress port, a downlink label of the virtual AN external PW, and a downlink label of the virtual AN internal PW.
  • the ingress port in the 0LT downlink PW forwarding entry includes the egress port in the 0LT uplink PW forwarding entry, and the egress port in the 0LT downlink PW forwarding entry includes the ingress port of the 0LT uplink PW forwarding entry.
  • An exemplary OLT downlink PW forwarding entry in this embodiment is shown in Table 17.
  • the 0LT downlink PW forwarding table is as shown in Table 18a.
  • the access port management device generates 0NU uplink PW forwarding entry, 0NU uplink.
  • the PW forwarding entry belongs to the second forwarding entry in 120.
  • the 0NU uplink PW forwarding entry includes an ingress port, an egress port, and an uplink label of the internal PW of the virtual AN.
  • the inbound port includes the Line ID of the ONU.
  • the Line ID of the ONU may be 0NU2 ID/Slot1/Port1;
  • the egress port includes the ONU port of the ONU, for example, in this embodiment.
  • the uplink port of the medium 0NU can be port X.
  • An exemplary ONU uplink PW forwarding entry in this embodiment is shown in Table 18b. Incoming port virtual AN internal PW out port
  • the access port management device generates a PW forwarding entry according to the virtual AN forwarding entry for the 0LT and the 0NU, respectively, so that the 0LT and the ONU can work together, so that the virtual AN needs to process the PW. business.
  • the access port management device or the 0LT needs to send the 0NU uplink PW forwarding entry to the 0NU. Specifically, the access port management device or the 0LT uses the ONU P0N layer addressing to address the corresponding 0NU at the P0N layer, and uses the address of 0NU to address the corresponding 0NU in the network layer corresponding to the address of the 0NU.
  • the second forwarding protocol is sent to the ONU by using the second control protocol or the second management protocol based on the layer 2 of the OS I model, and the second control protocol is used.
  • the second control protocol is the ETH OAM protocol.
  • the ETH 0AM protocol can be regarded as either a control protocol or a management protocol.
  • this embodiment discloses an access port management device 15.
  • the access port management apparatus can implement the functions of the access port management apparatus in any one of the embodiments corresponding to FIG. 1 to FIG. 1 , and can also be connected to any one of the embodiments corresponding to FIG. 1 to FIG.
  • the ingress port management device is the same.
  • the access port management unit in this embodiment is applied to The first access device and the virtual access node AN of the second access device are included.
  • the access port management device 15 includes:
  • the obtaining unit 151 is configured to obtain a virtual AN forwarding entry that is sent by the access management device, where the virtual AN forwarding entry includes an ingress port, and an identifier and an outgoing end of the service that the virtual AN needs to process;
  • the first generating unit 152 is configured to generate, according to the virtual AN forwarding entry, a first forwarding entry for the first device in the first access device and the second access device, where the first forwarding table is The entry includes an ingress port, an egress port, and an identifier of a service that the first device needs to process;
  • the second generating unit 153 is configured to generate, according to the virtual AN forwarding entry, a second forwarding entry, where the second forwarding device is used by the second device in the first access device and the second access device, where the second forwarding table is Items include in and out ports.
  • the first generating unit 152 is specifically configured to: forward, according to the virtual AN, an entry, and according to the service processed by the virtual AN, in the first access device and the second access device The allocation between the first device generates a first forwarding entry.
  • the first generation unit 152 specifically includes corresponding determination subunits 1521 and generation subunits 1522.
  • Subdivision 1 The allocation between the first access device and the second access device when the virtual AN needs to be processed is the first of the services that the virtual access AN needs to process by the first access device.
  • the second access device processes the second part of the service that is to be processed by the virtual AN
  • the first access device is the first device
  • the second access device is the second device.
  • the determining subunit 1521 is the first determining subunit
  • the generating subunit 1522 is the first generating subunit.
  • the first determining subunit is configured to: when the ingress port of the virtual AN forwarding entry includes the first virtual line identifier L i ne ID, query the first virtual L according to the obtained first virtual L i ne ID Determining, by the correspondence between the i ne ID and the first physical L i ne ID, the first physical L i ne ID, where the first physical L i ne ID includes the first L i ne ID and the second of the first access device The first L i ne ID of the access device;
  • the first generation sub-unit is configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes a An uplink egress port of the access device, where the first forwarding entry further includes an identifier of the first part of the service.
  • the determining subunit 1521 is the second determining subunit
  • the generating subunit 1522 is the second generating subunit.
  • the second determining subunit is configured to: when the ingress port of the virtual AN forwarding entry includes the first physical line identifier Line ID and the first physical line ID includes the first line ID and the second access of the first access device Determining, by the first line ID of the device, the first Line ID of the first access device according to the first physical line ID;
  • the second generation sub-unit is configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes a An uplink egress port of the access device, where the first forwarding entry further includes an identifier of the first part of the service.
  • the ingress port of the second forwarding entry includes a first line ID of the second access device, and the egress port of the second forwarding entry includes an uplink egress port of the second access device.
  • the second forwarding entry further includes an identifier of the second part of the service.
  • Subdivision 2 The allocation between the first access device and the second access device when the virtual AN needs to be processed is processed by the first access device to process the virtual AN.
  • the first access device is the first device
  • the second access device is the second device.
  • the determining subunit 1521 is the third determining subunit
  • the generating subunit 1522 is the third generating subunit.
  • the third determining subunit is configured to: when the ingress port of the virtual AN forwarding entry includes the first virtual line identifier L i ne ID, query the first virtual L according to the obtained first virtual L i ne ID
  • the first physical line ID is determined by the correspondence between the i ne ID and the first physical line ID, where the first physical line ID includes a first line ID of the first access device and a first line ID of the second access device ;
  • the third generation sub-unit is configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes a An uplink egress port of the access device, where the first forwarding entry further includes an identifier of all services in the service that the virtual AN needs to process.
  • the determining subunit 1521 is the fourth determining subunit
  • the generating subunit 1522 is the fourth generating subunit.
  • the fourth generation sub-unit is configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes a first line ID of the first access device, and the egress port of the first forwarding entry includes An uplink egress port of the access device, where the first forwarding entry further includes an identifier of all services in the service that the virtual AN needs to process.
  • the ingress port of the second forwarding entry includes the first line ID of the second access device, and the egress port of the second forwarding entry includes the uplink egress port of the second access device.
  • Subdivision 3 The allocation between the first access device and the second access device when the virtual AN needs to be processed is processed by the second access device to process the virtual AN.
  • the second access device is the first device
  • the first access device is the second device.
  • the determining subunit 1521 is the fifth determining subunit
  • the generating subunit 1522 is the fifth generating subunit. Determining, according to the obtained first virtual L i ne ID, the correspondence between the first virtual L i ne ID and the first physical line ID, determining the first physical line ID, where the The first physical line ID includes a first Line ID of the first access device and a first Line ID of the second access device;
  • the fifth generation sub-unit is configured to generate a first forwarding entry, where the first forwarding entry is The port includes a first line ID of the second access device, and the egress port of the first forwarding entry includes an uplink egress port of the second access device, where the first forwarding entry further includes that the virtual AN needs to be processed.
  • the determining subunit 1521 is the sixth determining subunit
  • the generating subunit 1522 is the sixth generating subunit.
  • the sixth determining subunit is configured to: when the ingress port of the virtual AN forwarding entry includes the first physical line identifier Line ID and the first physical line ID includes the first line ID and the second access of the first access device Determining, by the first line ID of the device, the first Line ID of the second access device according to the first physical line ID;
  • the sixth generation sub-unit is configured to generate a first forwarding entry, where the ingress port of the first forwarding entry includes a first line ID of the second access device, and the egress port of the first forwarding entry includes And the first forwarding entry of the second access device, where the first forwarding entry further includes an identifier of all services in the service that the virtual AN needs to process.
  • the inbound port of the second forwarding entry includes a first line ID of the first access device, and the egress port of the second forwarding entry includes an uplink egress port of the first access device.
  • the service that the virtual AN needs to process may be a virtual local area network (abbreviated as VLAN).
  • VLAN virtual local area network
  • the first access device is the first device, and the second access device is the second device;
  • the obtaining unit 151 is specifically configured to:
  • the virtual AN uplink forwarding entry includes an uplink ingress port, an identifier of the virtual AN external PW, an uplink label of the virtual AN external PW, and an uplink The outbound port
  • the virtual AN downlink forwarding entry includes a downlink ingress port, an identifier of the virtual AN external PW, a downlink label of the virtual AN external PW, and a downlink out port.
  • the first generating unit 152 is specifically configured to:
  • the access port management device determines that the first access device is an exchange carrier edge SPE device between the virtual AN internal PW and the virtual AN external PW, generating, according to the virtual AN uplink forwarding entry An uplink PW forwarding entry of the access device, where the uplink PW forwarding entry of the first access device includes an ingress port, an uplink label of the PW of the virtual AN, and an uplink label and an egress port of the external PW of the virtual AN.
  • the ingress port in the uplink PW forwarding entry of the first access device includes the first L i ne ID of the first access device, and the egress port in the uplink PW forwarding entry of the first access device is An uplink egress port in the virtual AN uplink forwarding entry, where the uplink PW forwarding entry of the first access device is a PW exchange entry.
  • the second forwarding entry is an uplink PW forwarding entry of the second access device, and the uplink PW forwarding table of the second access device is selected.
  • the ingress port in the entry includes the L i ne ID of the second access device, and the egress port in the uplink PW forwarding entry of the second access device includes an uplink egress port of the second access device, and the second connection
  • the uplink PW forwarding entry of the inbound device also includes an uplink label of the internal PW of the virtual AN.
  • the first generating unit When the service to be processed by the virtual AN is a pseudowire, optionally, the first generating unit
  • 152 is also specifically used for:
  • the access port management device 15 determines that the first access device is an exchange carrier edge SPE device between the virtual AN internal PW and the virtual AN external PW, generating, according to the virtual AN downlink forwarding entry, a downlink PW forwarding entry of the first access device, where the downlink PW forwarding entry of the first access device includes an ingress port, a downlink label of the external PW of the virtual AN, and a downlink label and an egress port of the PW of the virtual AN.
  • the downlink PW forwarding entry of the first access device is a PW exchange entry.
  • the ingress port in the downlink PW forwarding entry of the first access device is the uplink PW forwarding entry of the first access device.
  • the egress port in the downlink PW forwarding entry of the first access device is an ingress port in the uplink PW forwarding entry of the first access device.
  • the device 15 When the service to be processed by the virtual AN is a pseudowire, optionally, as shown in FIG. 14, the device 15 includes a line identifier L i ne I D determining unit 154.
  • the L i ne ID determining unit 154 is configured to: When the inbound port of the virtual AN forwarding entry includes the first virtual line identifier L i ne ID, the first virtual line ID is queried according to the obtained first virtual line ID to determine the first relationship between the first virtual line ID and the first physical line ID. a Line ID of the access device and a Line ID of the second access device, where the first physical Line ID includes a Li ne ID of the first access device and a Li ne ID of the second access device;
  • the Line ID determining unit 154 is configured to:
  • the first physical line ID includes a Line ID of the first access device and a Line ID of the second access device.
  • This embodiment separately discloses a unit included in the access port management apparatus when the service to be processed by the virtual AN is a VLAN and a pseudowire.
  • the virtual line ID includes a device identifier of the virtual AN and a first port number of the virtual AN; the first line ID of the first access device includes a first interface The device identifier of the device and the first port number of the first access device; the first line ID of the second access device includes the device identifier of the second access device and the first port number of the second access device.
  • the first access device is an optical line terminal (abbreviated as 0LT), and the second access device is a first optical network unit (abbreviated as 0NU), first The optical network terminal (abbreviated as 0NT), the first multi-dwelling unit (abbreviated as MDU) or the first subscriber line access multiplexer (abbreviated as DSLAM); or the first access device is the first The DSLAM, the second access device is a second DSLAM; or the first access device is a DSLAM management device, and the second access device is a DSLAM.
  • 0NU optical The optical network terminal
  • MDU the first multi-dwelling unit
  • DSLAM subscriber line access multiplexer
  • the virtual AN forwarding entry received by the access port management unit is the first control protocol or the first layer of the third layer in the model based on the open system interconnection (abbreviated as 0SI) by the access management device.
  • the access port management unit needs to send the first forwarding entry or the second forwarding entry to the second access device, the access port management unit passes the second control protocol based on the layer 2 in the OS I model. Or the second management protocol is sent.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例提供一种为光网络中的设备生成转发表项的方法和装置,所述光网络包括虚拟接入点AN,所述虚拟AN包括第一接入设备、第二接入设备和接入端口管理装置,所述方法包括:所述接入端口管理装置获取接入管理设备发送的虚拟AN转发表项,所述接入端口管理装置根据所述虚拟AN转发表项为所述第一接入设备和所述第二接入设备中的第一设备生成第一转发表项,根据所述虚拟AN转发表项为所述第一接入设备和所述第二接入设备中的第二设备生成第二转发表项。虚拟AN可以根据虚拟AN转发表项为虚拟AN中的第一接入设备和第二接入设备自动生成转发表项,因此不需要为虚拟AN中的第一接入设备和第二接入设备分别手工配置转发表项。

Description

为光网络中的设备生成转发表项的方法和装置 本申请要求于 2012 年 9 月 12 日提交中国专利局、 申请号为 201210336323.9、 发明名称为 "为光网络中的设备生成转发表项的方法和 装置" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信技术, 尤其涉及一种为光网络中的设备生成转发表项 的方法和装置。 背景技术 当前, 光接入网络通常包括用户端设备 (英文缩写为 CPE), 光线路终 端 (英文缩写为 0LT), 还包括位于 CPE和 0LT之间的设备, 例如光网络终 端 (应为缩写为 0NT)、 光网络单元 (英文缩写为 0NU)、 多住户单元 (英文 全称为 multi-dwel I ing unit, 英文缩写为 MDU) 和 /或数字用户线接入复 用器 (英文缩写为 DSLAM), 以上这些设备均可以被称为接入节点。 接入节 点上的转发表通常是分别独立人工配置的, 运維管理复杂。 通信领域目前 正在探索一种光纤到分配点 (英文全称为 Fibre to Drop/Distribution Point,英文缩写为 FTTDp) 技术, FTTDp表示一种光纤到家庭住宅外墙的技 术。 FTTDp技术需要在网络中部署大量的 0NU或 MDU等接入节点, 例如在某 些情况下 0NU 的数量会与家庭网关的数量相同, 总量非常巨大, 相应地, 接入节点的转发表项的配置工作就更为复杂。
发明内容 本发明提供一种为光网络中的设备生成转发表项的方法及装置, 用以 解决接入节点的转发表项的配置工作复杂的问题。 根据第一方面, 一种为 光网络中的设备生成转发表项的方法, 所述光网络包括虚拟接入点 (英文 缩写为 AN), 所述虚拟 AN包括第一接入设备、 第二接入设备和接入端口管 理装置, 所述方法包括:
所述接入端口管理装置获取接入管理设备发送的虚拟 AN转发表项, 所 述虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务的标识和出 端口;
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项, 所述第一转发表项 包括入端口、 出端口和所述第一设备需要处理的业务的标识;
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第二设备生成第二转发表项, 所述第二转发表项 包括入端口和出端口。
在根据第一方面的所述方法的第一个可能的实施方式中,
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项包括:
所述接入端口管理装置根据所述虚拟 AN处理的业务在所述第一接入设 备和所述第二接入设备之间的分配情况和所述虚拟 AN转发表项为所述第一 设备生成第一转发表项。
在根据第一方面的第一个可能的实施方式的方法的第二个可能的实施 方式中,
当所述虚拟 AN需要处理的业务在第一接入设备和第二接入设备之间的 分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的第一部分 业务,由第二接入设备处理所述虚拟 AN需要处理的业务中第二部分业务时, 第一接入设备为所述第一设备, 第二接入设备为所述第二设备;
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识(英文为 Line ID) 时, 所述接入端口管理装置根据获取到的第一虚拟 Line ID 查询第一 虚拟 Line ID和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其 中所述第一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设 备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第 一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备 的上行出端口, 所述第一转发表项还包括所述第一部分业务的标识; 或者,
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一物理 L i ne ID并且第一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID 时, 所述接入端口管理装置根据第一物理 Line ID 确定第一接入设备的第 一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第一接入 设备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行 出端口, 所述第一转发表项还包括所述第一部分业务的标识。
在根据第一方面的第二个可能的实施方式的方法的第三个可能的实施 方式中, 所述第二转发表项的入端口包括第二接入设备的第一 Line ID, 所 述第二转发表项的出端口包括第二接入设备的上行出端口, 所述第二转发 表项还包括所述第二部分业务的标识。
在根据第一方面的第一个可能的实施方式的方法的第四个可能的实施 方式中,
当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接入设 备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的 全部业务时, 所述第一接入设备为所述第一设备, 所述第二接入设备为所 述第二设备;
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 所述接入端口管理装置根据获取到的第一虚拟 L i ne ID查询第一虚拟 L i ne ID和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第 一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识;
或者, 所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一 L i ne I D并且第一物理 L i ne ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID时, 所述接入端口管理装置根据第一物理 Line ID 确定第一接入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识。
在根据第一方面的第四个可能的实施方式的方法的第五个可能的实施 方式中, 所述第二转发表项的入端口包括第二接入设备的第一 Line ID, 所 述第二转发表项的出端口包括第二接入设备的上行出端口。
在根据第一方面的第一个可能的实施方式的方法的第六个可能的实施 方式中, 当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接 入设备之间的分配情况为由第二接入设备处理所述虚拟 AN需要处理的业务 中的全部业务时, 所述第二接入设备为所述第一设备, 所述第一接入设备 为所述第二设备;
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一 Line ID时, 所述接入端口 管理装置根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第一物 理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 生成第 一转发表项,所述第一转发表项的入端口包括第二接入设备的第一 L i ne I D, 所述第一转发表项的出端口包括第二接入设备的上行出端口, 所述第一转 发表项还包括所述虚拟 AN需要处理的业务中的全部业务的标识;
或者,
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一 L i ne I D并且第一物理 L i ne ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID时, 所述接入端口管理装置根据第一物理 Line ID 确定第二接入设备的第一 L i ne I D ; 生成第一转发表项, 所述第一转发表项的入端口包括第二接入设 备的第一 L i ne I D , 所述第一转发表项的出端口包括第二接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识。
在根据第一方面的第六个可能的实施方式的方法的第七个可能的实施 方式中, 所述第二转发表项入端口包括第一接入设备的第一 L i ne I D , 所述 第二转发表项的出端口包括第一接入设备的上行出端口。
在根据第一方面的自第一个可能的实施方式至第七个可能的实施方式 中的任意一个的方法的第八个可能的实施方式中, 所述业务为虚拟局域网 (英文缩写为 VLAN)。
在根据第一方面的方法的第九个可能的实施方式中, 所述第一接入设 备为所述第一设备, 所述第二接入设备为所述第二设备;
所述接入端口管理装置获取接入管理设备发送的虚拟 AN 转发表项包 括:
所述接入端口管理装置获取接入管理设备发送的虚拟 AN上行转发表项 和虚拟 AN下行转发表项, 所述虚拟 AN上行转发表项包括上行入端口、 虚 拟 AN外部伪线 (英文缩写为 PW) 的标识、 虚拟 AN外部 PW的上行标签和上 行出端口, 所述虚拟 AN下行转发表项包括下行入端口、 虚拟 AN外部 PW的 标识、 虚拟 AN外部 PW的下行标签和下行出端口;
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项包括:
所述接入端口管理装置在确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的交换运营商边缘(英文缩写为 SPE)设备后, 根 据所述虚拟 AN上行转发表项生成第一接入设备的上行 PW转发表项, 其中, 所述第一接入设备的上行 PW转发表项包括入端口、 虚拟 AN内部 PW的上行 标签、 虚拟 AN外部 PW的上行标签和出端口, 所述第一接入设备的上行 PW 转发表项中的入端口包括所述第一接入设备的第一 L i ne I D , 所述第一接入 设备的上行 PW转发表项中的出端口为所述虚拟 AN上行转发表项中的上行 出端口, 所述第一接入设备的上行 PW转发表项为 PW交换表项。 在根据第一方面的第九个可能的实施方式的方法的第十个可能的实施 方式中, 所述第二转发表项为第二接入设备的上行 PW转发表项, 所述第二 接入设备的上行 PW转发表项中的入端口包括第二接入设备的 Line ID, 所 述第二接入设备的上行 PW转发表项中的出端口包括第二接入设备的上行出 端口, 所述第二接入设备的上行 PW转发表项还包括虚拟 AN内部 PW的上行 标签。
在根据第一方面的第九个可能的实施方式或第十个可能的实现方式的 方法的第十一个可能的实施方式中,
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项还包括:
所述接入端口管理装置在确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的 SPE设备后, 根据所述虚拟 AN下行转发表项生 成第一接入设备的下行 PW转发表项, 其中, 所述第一接入设备的下行 PW 转发表项包括入端口、 虚拟 AN外部 PW的下行标签、 虚拟 AN内部 PW的下 行标签和出端口, 所述第一接入设备的下行 PW转发表项为 PW交换表项。
在根据第一方面的第十一个可能的实施方式的方法的第十二个可能的 实施方式中, 所述第一接入设备的下行 PW转发表项中的入端口为所述第一 接入设备的上行 PW转发表项中的出端口, 所述第一接入设备的下行 PW转 发表项中的出端口为所述第一接入设备的上行 PW转发表项中的入端口。
在根据第一方面的自第九个可能的实施方式至第十二个可能的实施方 式中的任一个实施方式的方法的第十三个可能的实施方式中,
当所述虚拟 AN转发表项的入端口包括第一虚拟 Line ID时, 所述接入 端口管理装置根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第 一物理 Line ID的对应关系确定第一接入设备的 Line ID和第二接入设备 的 Line ID, 其中, 所述第一物理 Line I D包括第一接入设备的 Li ne ID和 第二接入设备的 Line ID;
或者,
当所述虚拟 AN转发表项的入端口包括第一物理 Line ID时, 所述接入 端口管理装置根据第一物理 Line ID确定第一接入设备的 Line ID和第二 接入设备的 Line ID, 其中, 所述第一物理 Line ID 包括第一接入设备的 Line ID和第二接入设备的 Line ID。
在根据第一方面的自第二个可能的实施方式至第十三个可能的实施方 式中的任一个实施方式的方法的第十四个可能的实施方式中,
所述虚拟 L i ne ID包括所述虚拟 AN的设备标识和所述虚拟 AN的第一 端口号;
所述第一接入设备的第一 Line ID 包括第一接入设备的设备标识和第 一接入设备的第一端口号;
所述第二接入设备的第一 Line ID 包括第二接入设备的设备标识和第 二接入设备的第一端口号。
在根据自第一方面至第十四个可能的实施方式中的任一个实施方式的 方法的第十五个可能的实施方式中,
所述第一接入设备为光线路终端 (英文缩写为 0LT), 所述第二接入设 备为第一光网络单元(英文缩写为 0NU)、第一光网络终端(英文缩写为 0NT)、 第一多住户单元(英文缩写为 MDU)或第一用户线接入复用器 (英文缩写为 DSLAM);
或者,
所述第一接入设备为第一 DSLAM, 所述第二接入设备为第二 DSLAM; 或者,
所述第一接入设备为 DSLAM管理设备, 所述第二接入设备为 DSLAM。 在根据自第一方面至第十五个可能的实施方式中的任一个实施方式的 方法的第十六个可能的实施方式中,
接入端口管理装置接收到的虚拟 AN转发表项是由接入管理设备通过基 于开放系统互联(英文缩写为 0SI)模型中层三的第一控制协议或第一管理 协议发送的;
当接入端口管理装置需要向第二接入设备发送第一转发表项或第二转 发表项时, 接入端口管理装置通过基于 0SI 模型中层二的第二控制协议或 第二管理协议发送。
根据第二方面, 一种接入端口管理装置, 应用于包括第一接入设备、 第二接入设备的虚拟接入节点 AN中, 所述接入端口管理装置包括: 获取单元, 用于获取接入管理设备发送的虚拟 AN转发表项, 所述虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务的标识和出端口; 第一生成单元, 用于根据所述虚拟 AN转发表项为所述第一接入设备和 所述第二接入设备中的第一设备生成第一转发表项, 所述第一转发表项包 括入端口、 出端口和所述第一设备需要处理的业务的标识;
第二生成单元, 用于根据所述虚拟 AN转发表项为所述第一接入设备和 所述第二接入设备中的第二设备生成第二转发表项, 所述第二转发表项包 括入端口和出端口。
在根据第二方面的所述方法的第一个可能的实施方式中,
所述第一生成单元具体用于:
根据所述虚拟 AN处理的业务在所述第一接入设备和所述第二接入设备 之间的分配情况和所述虚拟 AN 转发表项为所述第一设备生成第一转发表 项。 在根据第二方面的第一个可能的实施方式的方法的第二个可能的实施 方式中,
当所述虚拟 AN需要处理的业务在第一接入设备和第二接入设备之间的 分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的第一部分 业务,由第二接入设备处理所述虚拟 AN需要处理的业务中第二部分业务时, 第一接入设备为所述第一设备, 第二接入设备为所述第二设备;
所述第一生成单元包括:
第一确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一虚拟 线路标识 L i ne I D时, 艮据获取到的第一虚拟 L i ne I D查询第一虚拟 L i ne I D 和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物 理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID;
第一生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的标 识;
或者,
所述第一生成单元包括:
第二确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一物理 Line ID并且第一物理 Line I D包括第一接入设备的第一 Li ne ID和第二接 入设备的第一 Line ID 时, 根据第一物理 Line ID确定第一接入设备的第 一 Line ID;
第二生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的标 识。 在根据第二方面的第二个可能的实施方式的方法的第三个可能的实施 方式中,
所述第二转发表项的入端口包括第二接入设备的第一 Line ID, 所述第 二转发表项的出端口包括第二接入设备的上行出端口, 所述第二转发表项 还包括所述第二部分业务的标识。 在根据第二方面的第一个可能的实施方式的方法的第四个可能的实施 方式中,
当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接入设 备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的 全部业务时, 所述第一接入设备为所述第一设备, 所述第二接入设备为所 述第二设备;
所述第一生成单元包括:
第三确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一虚拟 Line ID时, 根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第一 物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 第三生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识;
或者,
所述第一生成单元包括:
第四确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一物理 Line ID并且第一物理 Line I D包括第一接入设备的第一 Li ne ID和第二接 入设备的第一 Line ID 时, 根据第一物理 Line ID确定第一接入设备的第 一 Line ID;
第四生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识。 在根据第二方面的第四个可能的实施方式的方法的第五个可能的实施 方式中, 所述第二转发表项的入端口包括第二接入设备的第一 Line ID, 所 述第二转发表项的出端口包括第二接入设备的上行出端口。 在根据第二方面的第一个可能的实施方式的方法的第六个可能的实施 方式中, 当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接 入设备之间的分配情况为由第二接入设备处理所述虚拟 AN需要处理的业务 中的全部业务时, 所述第二接入设备为所述第一设备, 所述第一接入设备 为所述第二设备;
所述第一生成单元包括:
第五确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一虚拟 Line ID时, 根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第一 物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 第五生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第二接入设备的第一 Line ID, 所述第一转发表项的出端口包括第二 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识;
或者,
所述第一生成单元包括:
第六确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一物理 Line ID并且第一物理 Line I D包括第一接入设备的第一 Li ne ID和第二接 入设备的第一 Line ID 时, 根据第一物理 Line ID确定第二接入设备的第 一 Line ID;
第六生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第二接入设备的第一 Line ID, 所述第一转发表项的出端口包括第二 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识。 在根据第二方面的第六个可能的实施方式的方法的第七个可能的实施 方式中, 所述第二转发表项入端口包括第一接入设备的第一 Line ID, 所述 第二转发表项的出端口包括第一接入设备的上行出端口。 在根据第二方面的自第一个可能的实施方式至第七个可能的实施方式 中的任意一个的方法的第八个可能的实施方式中, 所述业务为 VLAN。
在根据第二方面的方法的第九个可能的实施方式中, 所述第一接入设 备为所述第一设备, 所述第二接入设备为所述第二设备;
所述获取单元具体用于:
获取接入管理设备发送的虚拟 AN上行转发表项和虚拟 AN下行转发表 项, 所述虚拟 AN上行转发表项包括上行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的上行标签和上行出端口, 所述虚拟 AN下行转发表项包括 下行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的下行标签和下行 出端口;
所述第一生成单元具体用于:
在所述接入端口管理装置确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的 SPE设备后, 根据所述虚拟 AN上行转发表项生 成第一接入设备的上行 PW转发表项, 其中, 所述第一接入设备的上行 PW 转发表项包括入端口、 虚拟 AN内部 PW的上行标签、 虚拟 AN外部 PW的上 行标签和出端口, 所述第一接入设备的上行 PW转发表项中的入端口包括所 述第一接入设备的第一 L i ne I D , 所述第一接入设备的上行 PW转发表项中 的出端口为所述虚拟 AN上行转发表项中的上行出端口, 所述第一接入设备 的上行 PW转发表项为 PW交换表项。
在根据第二方面的第九个可能的实施方式的方法的第十个可能的实施 方式中, 所述第二转发表项为第二接入设备的上行 PW转发表项, 所述第二 接入设备的上行 PW转发表项中的入端口包括第二接入设备的 L i ne I D , 所 述第二接入设备的上行 PW转发表项中的出端口包括第二接入设备的上行出 端口, 所述第二接入设备的上行 PW转发表项还包括虚拟 AN内部 PW的上行 标签。 在根据第二方面的第九个可能的实施方式或第十个可能的实现方式的 方法的第十一个可能的实施方式中, 所述第一生成单元还具体用于:
在所述接入端口管理装置确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的 SPE设备后, 根据所述虚拟 AN下行转发表项生 成第一接入设备的下行 PW转发表项, 其中, 所述第一接入设备的下行 PW 转发表项包括入端口、 虚拟 AN外部 PW的下行标签、 虚拟 AN内部 PW的下 行标签和出端口, 所述第一接入设备的下行 PW转发表项为 PW交换表项。
在根据第二方面的第十一个可能的实施方式的方法的第十二个可能的 实施方式中, 所述第一接入设备的下行 PW转发表项中的入端口为所述第一 接入设备的上行 PW转发表项中的出端口, 所述第一接入设备的下行 PW转 发表项中的出端口为所述第一接入设备的上行 PW转发表项中的入端口。 在根据第二方面的自第九个可能的实施方式至第十二个可能的实施方 式中的任一个实施方式的方法的第十三个可能的实施方式中, 所述装置包 括线路标识 L i ne I D确定单元,
所述 Line ID确定单元用于:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第一物理 Line ID 的对应关系确定第一接入设备的 Line ID和第二接入设备的 Line ID,其中, 所述第一物理 Line I D包括第一接入设备的 Li ne I D和第二接入设备的 Li ne ID;
或者,
所述 Line ID确定单元用于:
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 L i ne I D时, 根据第一物理 Line I D确定第一接入设备的 Li ne I D和第二接入设备的 Li ne ID, 其中, 所述第一物理 Line ID包括第一接入设备的 Line ID和第二接 入设备的 Line ID。 在根据第二方面的自第二个可能的实施方式至第十三个可能的实施方 式中的任一个实施方式的方法的第十四个可能的实施方式中,
所述虚拟 Line ID包括所述虚拟 AN的设备标识和所述虚拟 AN的第一 端口号;
所述第一接入设备的第一 Line ID 包括第一接入设备的设备标识和第 一接入设备的第一端口号;
所述第二接入设备的第一 Line ID 包括第二接入设备的设备标识和第 二接入设备的第一端口号。 在根据自第二方面至第十四个可能的实施方式中的任一个实施方式的 方法的第十五个可能的实施方式中,
所述第一接入设备为 0LT, 所述第二接入设备为第一 0NU、 第一 0NT、 第一多住户单元 MDU或第一 DSLAM; 或者,
所述第一接入设备为第一 DSLAM, 所述第二接入设备为第二 DSLAM ; 或者,
所述第一接入设备为 DSLAM管理设备, 所述第二接入设备为 DSLAM。 在根据自第二方面至第十五个可能的实施方式中的任一个实施方式的 方法的第十六个可能的实施方式中, 接入端口管理单元接收到的虚拟 AN转 发表项是由接入管理设备通过基于 0S I 模型中层三的第一控制协议或第一 管理协议发送的;
当接入端口管理单元需要向第二接入设备发送第一转发表项或第二转 发表项时, 接入端口管理单元通过基于 0S I 模型中层二的第二控制协议或 第二管理协议发送。
由以上内容可知, 虚拟 AN可以根据虚拟 AN转发表项为虚拟 AN中的第 一接入设备和第二接入设备自动生成转发表项, 以使虚拟 AN能够处理虚拟 AN转发表项涉及的业务或涉及的业务的一部分,因此不需要为虚拟 AN中的 第一接入设备和第二接入设备分别手工配置转发表项, 大幅提高了效率。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1所示为本发明实施例中虚拟接入节点的示意图;
图 2所示为本发明实施例中虚拟接入节点的示意图;
图 3所示为本发明实施例中包括如图 1或图 2所示的虚拟 AN的网络的 具体示意图;
图 4 A所示为本发明实施例中的物理接入子网示意图;
图 4B所示为本发明实施例中的虚拟 AN的逻辑示意图; 图 5所示为本发明实施例中接入端口管理装置的示意图; 图 6所示为本发明实施例中生成转发表项的方法的示意图;
图 7A所示为本发明实施例中生成第一转发表项的方法的示意图; 图 7B所示为本发明实施例中生成第一转发表项的方法的示意图; 图 7C所示为本发明实施例中生成第一转发表项的方法的示意图; 图 7D所示为本发明实施例中生成第一转发表项的方法的示意图; 图 7E所示为本发明实施例中生成第一转发表项的方法的示意图; 图 7F所示为本发明实施例中生成第一转发表项的方法的示意图; 图 8所示为本发明实施例中生成转发表项的方法的示意图;
图 9所示为本发明实施例中生成转发表项的方法的示意图;
图 1 0所示为本发明实施例中运行伪线业务的网络的示意图;
图 1 1所示为本发明实施例中生成转发表项的方法的示意图;
图 1 2所示为本发明实施例中接入端口管理装置的示意图;
图 1 3所示为本发明实施例中接入端口管理装置的示意图;
图 14所示为本发明实施例中接入端口管理装置的示意图。
具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。 本发明实施公开一种为光网络中的设备生成转发表项的方法。 所述光 网络包括虚拟接入点 (英文全称为 Access Node, 英文缩写为 AN) 10, 如 图 1 或图 2所示, 所述虚拟 AN包括第一接入设备 1 1、 第二接入设备 12和 接入端口管理装置 13。 可选地, 第一接入设备 1 1、 第二接入设备 12之间 不仅可以是图 1 或图 2所示的串联关系, 还可以是并联关系。 可选地, 如 图 1 所示, 接入端口管理装置 13在第一接入设备 1 1 中。 接入端口管理装 置 13在第一接入设备 11 中可以被理解为接入端口管理装置 13位于第一接 入设备 11的外壳的内部、 外壳的表项面或者安装在外壳中。 可选地, 如图 2所示, 接入端口管理装置 13在第一接入设备 11 之外且与第一接入设备 11 建立有通信连接。 此外, 虚拟 AN中还可以包括第三接入设备 14, 第三 接入设备 14与第二接入设备 12均为第一接入设备 11的下游设备。虚拟 AN 中还可以包括多个与第二接入设备 12和第三接入设备 14的接入设备。 当 然, 虚拟 AN也可以不包括第三接入设备 14和其他类似的接入设备。
图 3所示为包括如图 1或图 2所示的虚拟 AN的网络的一个具体示意图。 在图 3中, 虚拟 AN在逻辑上被视为一个设备, 使用一个管理 IP地址。 虚拟 AN 能够通过基于开放系统互联 (0SI) 模型中层三的第一控制协议或 者第一管理协议与处于虚拟 AN之外的接入管理设备进行通信, 接收接入管 理设备为虚拟 AN发送的虚拟 AN转发表项。 虚拟 AN转发表项的入端口为虚 拟线路标识 (英文为 Line ID), 即虚拟 AN的与所述虚拟 AN转发表项对应 的入端口的标识为所述虚拟 Line I D。 如图 3所示, 虚拟 AN和网络侧的宽 带网络网关(英文缩写为 BNG)相连,还和位于用户侧的多个用户端设备(英 文缩写为 CPE)相连,例如图 3所示的 CPE1和 CPEn。在本实施例中 Line ID 用于标识一个端口, 但由于不同设备上的端口号可能相同, 因此不能仅用 端口号来标识端口, 因此 Line ID至少包括 Line ID标识的端口所在的设 备的设备 I D和 Li ne ID标识的端口的端口号。
如图 3所示的虚拟 AN包括一个 0LT, 还包括 0NT、 0NU、 MDU和 DSLAM,
0NT、 0NU、 MDU和 DSLAM通过点到多点的方式与 OLT相连, 0NT、 0NU、 MDU 和 DSLAM即为所述的"多点 "。 0NT和 0LT通过无源光网络(英文缩写为 P0N) 相连, 并且使用光纤到户 (英文缩写为 FTTH) 技术, 0NT和与其相连的 CPE 的物理距离很近。 0NU和 0LT通过 P0N相连, 并且使用光纤到分配点 (英文 全称为 Fibre to Drop/Distribution Point,英文缩写为 FTTDp) 技术, 0NU和与其相连的 CPE通过有线或无线的方式相连,它们之间物理距离为几 十米。 MDU和 0LT通过 P0N相连, 并且使用 FTTC!、 光纤到楼 (英文全称为 Fibre To The Bui I ding,英文缩写为 FTTB)或光纤到节点(英文全称为 Fibre To The Node, 英文缩写为 FTTN) 技术, MDU和与其相连的 CPE通过数字用 户线 (英文缩写为 DSL)技术相连, 它们之间的物理距离为从几百米到几公 里。 DSLAM和与其相连的 CPE通过 DSL技术相连, 他们之间的物理距离为几 公里。
所述虚拟 Line ID 包括虚拟 AN的设备标识和虚拟 AN的一个端口号, 此外, 虚拟 Line ID还可以包括虚拟 AN的机拒 (英文为 chassis) 号、 机 架 (英文为 rack) 号、 框 (英文为 frame) 号、 槽位 (英文为 slot) 号和 子槽位 (英文为 sub-slot) 号中的一个或多个。
如图 4A所示为包括 0NU1、 0NU2和 0LT1的物理接入子网示意图, 0NU1 和 0NU2分别和 0LT1相连, 0NU1上包括 slotl和 s I ot2, 0NU2上也包括 s I ot1 和 slot2。 这四个 slot中的每个 slot都分另1 J包括 portl、 port2、 port3和 port40 家庭网关 (英文全称为 Residential Gateway, 英文缩写为 RG) 1- 家庭网关 5分别和对应的 port相连。 当需要把如图 4A所示的物理接入子 网虚拟为一个虚拟 AN时, 得到的虚拟 AN的逻辑示意图为图 4B。
如图 4B所示, 0NU1、 0NU2和 0LT1 被虚拟为一个虚拟 AN。 0NU2中的 slotl 和 slot2被共同虚拟为虚拟 AN 中的 slotl, 0NU2 中的 slotl 中的 portl -port4被虚拟为虚拟 AN的 slotl 中的 portl -port4, 0NU2中的 slot2 中的 portl -port4被虚拟为虚拟 AN的 slotl中的 port5-8。0NU1 中的 slot2 被虚拟为虚拟 AN中的 slot2, 0NU1 中的 slot2的 portl -port4被虚拟为虚 拟 AN中的 slot2的 port1-port4。 0NU1 中的 slotl被虚拟为虚拟 AN中的 slot3, 0NU1 中的 slotl 的 port1—port4被虚拟为虚拟 AN 中的 slot3的 portl— port4。
图 4A中, 0NU1 中的 slotl中的 portl的 Line ID为 0NU1/s I ot1/port1 , 0LT1 中的 slotl 中的 portl的 Line I D为 OLTVs I ot1/port1。 在图 4B中, 虚拟 AN中的 slot3中的 portl是根据 0NU1 中的 slotl 中的 portl和 0LT1 中的 slotl 中的 portl虚拟而来的。 由此可知, 虚拟 AN中的一个虚拟 Line ID应当与一个物理 Line ID对应, 所述物理 Line ID包括 0NU的 Line ID 和 0LT的 L i ne I D。 由于 0NU和 0LT均为物理设备, 因此 0NU的 L i ne I D和 0LT的 Line ID均为物理 Line ID。
当图 4A所示的 0NU1、 0NU2和 0LT1被虚拟为图 4B所示的虚拟 AN时, 虚拟 AN的虚拟 L i ne I D和与其对应的物理 L i ne I D的对应关系如表 1所示。 表 1 中的 0NU的 L i ne I D是统一编址的, 没有相同的 0NU的 L i ne I D。
Figure imgf000020_0001
表 1
如图 5所示, 接入端口管理装置 13包括处理器 131、 接口 132和存储 器 133。 所述处理器 1 31、 接口 132和存储器 133相互配合、 协调工作, 以 便实现接入端口管理装置 13的操作。
如图 6所示, 本发明实施例中的生成转发表项的方法包括如下内容。
1 00、 所述接入端口管理装置 13获取接入管理设备发送的虚拟 AN转发 表项, 所述虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务的 标识 口出端口。
可选地,所述虚拟 AN转发表项是由所述接入管理通过基于 OS I 中层三, 例如网络协议 (英文缩写为 I P) 层, 的第一控制协议或第一管理协议发送 的。 携带所述虚拟 AN转发表项的报文的目的 I P地址为虚拟 AN的管理 I P 地址。 第一控制协议可以采用开放流 (英文为 Openf l ow) 协议或接入节点 控制协议 (英文缩写为 ANCP), 第一管理协议可以采用网络配置 (英文为 Netconf) 协议或简单网络管理协议 (英文缩写为 SNMP)。
可选地, 所述虚拟 AN转发表项包括的入端口可以包括第一虚拟线路标 识(英文为 Line ID), 也可以包括第一物理 Li ne ID, 所述第一物理 Line ID 包括第一设备的第一 Line ID和第二设备的第一 Line ID。 所述第一虚拟 Line ID包括所述虚拟 AN的设备标识和所述虚拟 AN的第一端口号。可选地, 所述虚拟 Line ID还可以包括虚拟 AN的机拒 (英文为 chassis) 号、 机架 (英文为 rack) 号、 框 (英文为 frame) 号、 槽位 (英文为 slot) 号和子 槽位 (英文为 sub-slot) 号中的一个或多个。 第一设备的第一 Line ID和 第二设备的第一 Line ID包括的信息和虚拟 Line ID包括的信息类似。 所 述第一接入设备的第一 Line ID 包括第一接入设备的设备标识和第一接入 设备的第一端口号; 所述第二接入设备的第一 Line ID 包括第二接入设备 的设备标识和第二接入设备的第一端口号。 此外, 所述第一接入设备的第 一 Line ID还可以包括第一接入设备的机拒号、 机架号、 框号、 槽位号和 子槽位号中的一个或多个, 所述第二接入设备的第一 Line ID还可以包括 第二接入设备的机拒号、 机架号、 框号、 槽位号和子槽位号中的一个或多 个。
当所述虚拟 AN转发表项中的入端口包括虚拟 Line ID时, 接入端口管 理装置能够获取或已经预先获取到所述虚拟 Line ID和与所述虚拟 Line ID 对应的物理 L i nd ID之间的对应关系。
在本实施例中, 虚拟 AN可以使用一个管理 IP地址, 网络中的管理设 备会将虚拟 AN包括的全部设备视为一个整体, 即视为一个设备, 使网络结 构变得简单。
虚拟 AN需要处理的业务为虚拟局域网 (英文缩写为 VLAN) 或伪线 (英 文缩写为 PW), 也可以为其他类型的业务。
当虚拟 AN需要处理的业务为 VLAN时, 虚拟 AN转发表项中的所述虚拟 AN需要处理的业务的标识包括 VLAN IDo
当虚拟 AN需要处理的业务为 PW时, 虚拟 AN转发表项包括虚拟 AN上 行转发表项和虚拟 AN下行转发表项, 所述虚拟 AN上行转发表项包括上行 入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的上行标签和上行出端 口, 所述虚拟 AN下行转发表项包括下行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的下行标签和下行出端口。 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的上行标签和虚拟 AN外部 PW的下行标签均属于需要 AN需要处 理的业务的标识。
虚拟 AN转发表项中的出端口为第一接入设备 1 1的上行出端口。
可选地, 在本实施例中, 接入端口管理装置 1 3还可以通过多种其他方 式获取虚拟 AN转发表项, 例如, 接收网络中除接入管理设备 14之外的其 他设备发送的虚拟 AN转发表项, 或者接收由管理员直接配置的虚拟 AN转 发表项。 虚拟 AN转发表项可以由网络中的设备根据虚拟 AN的结构和需要 处理的业务自动生成, 也可以由网络管理员根据根据虚拟 AN的结构和需要 处理的业务生成。 本实施例需要解决的主要问题包括如何对已经生成的虚 拟 AN转发表项进行处理。
1 1 0、 所述接入端口管理装置 1 3根据所述虚拟 AN转发表项为所述第一 接入设备 1 1 和所述第二接入设备 1 2 中的第一设备生成第一转发表项, 所 述第一转发表项包括入端口、 出端口和所述第一设备需要处理的业务的标 识。
所述第一设备需要处理的业务的标识用于表示所述第一设备需要将从 第一转发表项的入端口接收到的第一数据流封装至所述第一设备需要处理 的业务的标识对应的业务中。 例如, 当所述第一设备需要处理的业务的标 识为 VLAN1 的标识, 则第一设备需要将从第一数据流封装到 VLAN1 中。 这 样就实现了 AN需要处理的业务在 AN 内部的分配。 可选地, 当所述第一设 备需要处理的业务的标识包括多个 VLAN标识时, 第一设备需要使用所述多 个 VLAN标识, 按照一定的顺序先后对第一数据流进行多次 VLAN封装。
第一接入设备 1 1 和第二接入设备 1 2分别可以为不同的具体设备。 例 如, 第一接入设备 1 1为光线路终端(英文缩写为 0LT ) , 并且第二接入设备 1 2为第一光网络单元(英文缩写为 0NU )、第一光网络终端(英文缩写为 0NT)、 第一多住户单元(英文缩写为 MDU )或第一用户线接入复用器 (英文缩写为 DSLAM ) ; 或者, 第一接入设备 1 1为第一数字用户线接入复用器 (英文缩写 为 DSLAM), 并且第二接入设备 12为第二 DSLAM; 或者, 所述第一接入设备 为数字用户线接入复用器 (英文缩写为 DSLAM) 管理设备, 并且所述第二接 入设备为第一 DSLAM。
可选地, 所述接入端口管理装置 13根据所述虚拟 AN转发表项为所述 第一接入设备 11 和所述第二接入设备 12 中的第一设备生成第一转发表项 包括:
所述接入端口管理装置 13根据所述虚拟 AN处理的业务在所述第一接 入设备和所述第二接入设备之间的分配情况和所述虚拟 AN转发表项为所述 第一接入设备 11和所述第二接入设备 12中的第一设备生成第一转发表项。
虚拟 AN需要处理的业务在第一设备和第二设备之间的分配情况可以包 括多种情况。 例如, 可以由第一接入设备处理所述虚拟 AN需要处理的业务 中的第一部分业务, 由第二接入设备处理所述虚拟 AN需要处理的业务中第 二部分业务,也可以由第一接入设备处理所述虚拟 AN需要处理的全部业务, 还可以由第二接入设备处理所述虚拟 AN需要处理的全部业务。
对于不同的分配情况, 分别具有对应的生成第一转发表项的方法。 情况 1
当所述虚拟 AN需要处理的业务在第一接入设备和第二接入设备之间的 分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的第一部分 业务,由第二接入设备处理所述虚拟 AN需要处理的业务中第二部分业务时, 第一接入设备为所述第一设备, 如图 7A所示, 所述生成第一转发表项的方 法包括如下内容。
a11、 当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 (英文 为 Line ID) 时, 所述接入端口管理装置^ f艮据获取到的第一虚拟 Li ne ID查 询第一虚拟 Line ID和第一物理 Line ID的对应关系,确定第一物理 Line ID, 其中所述第一物理 Line ID包括第一接入设备的第一 Line ID和第二接入 设备的第一 Line ID;
a12、 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述第一部分业务的标识。 如图 7B所示, 可选地, 在情况 1 中, 也可以通过包括以下内容的方法 生成第一转发表项。
a21、 当所述虚拟 AN 转发表项的入端口包括第一物理线路标识 (英文 为 Line ID) 并且第一物理 Line ID包括第一接入设备的第一 Line ID和第 二接入设备的第一 Line I D时,所述接入端口管理装置根据第一物理 Li ne ID 确定第一接入设备的第一 Line ID;
a22、 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述第一部分业务的标识。
情况 2
当所述虚拟 AN需要处理的业务所述第一接入设备和所述第二接入设备 之间的分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的全 部业务时, 所述第一接入设备为所述第一设备, 如图 7C所示, 所述生成第 一转发表项的方法包括如下内容。
b11、 当所述虚拟 AN 转发表项的入端口包括第一虚拟线路标识 (英文 为 Line ID) 时, 所述接入端口管理装置^ f艮据获取到的第一虚拟 Li ne ID查 询第一虚拟 Line ID和第一物理 Line ID的对应关系,确定第一物理 Line ID, 其中所述第一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入 设备的第一 Line ID;
b12、 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识。
如图 7D所示, 可选地, 在情况 2中, 也可以通过包括以下内容的方法 生成第一转发表项。
b21、 当所述虚拟 AN 转发表项的入端口包括第一物理线路标识 (英文 为 Line ID) 并且第一物理 Line ID包括第一接入设备的第一 Line ID和第 二接入设备的第一 Line I D时,所述接入端口管理装置根据第一物理 Li ne ID 确定第一接入设备的第一 Line ID; b22、 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识。
情况 3
当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接入设 备之间的分配情况为由第二接入设备处理所述虚拟 AN需要处理的业务中的 全部业务时, 所述第一设备为所述第二接入设备, 如图 7E所示, 所述生成 第一转发表项包括如下内容。
c11、 当所述虚拟 AN 转发表项的入端口包括第一虚拟线路标识 (英文 为 Line ID) 时, 所述接入端口管理装置^ f艮据获取到的第一虚拟 Li ne ID查 询第一虚拟 Line ID和第一物理 Line ID的对应关系,确定第一物理 Line ID, 其中所述第一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入 设备的第一 Line ID;
c12、 生成第一转发表项, 所述第一转发表项的入端口包括第二接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第二接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识。
如图 7F所示, 可选地, 在情况 3中, 也可以通过包括以下内容的方法 生成第一转发表项。
c21、 当所述虚拟 AN 转发表项的入端口包括第一物理线路标识 (英文 为 Line ID) 并且第一物理 Line ID包括第一接入设备的第一 Line ID和第 二接入设备的第一 Line I D时,所述接入端口管理装置根据第一物理 Li ne ID 确定第二接入设备的第一 Line ID;
c22、 生成第一转发表项, 所述第一转发表项的入端口包括第二接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第二接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识。 当虚拟 AN需要处理的业务为 PW时, 生成转发表项的方法如下。
第一接入设备 1 1为所述第一设备, 第二接入设备 1 2为所述第二设备, 1 1 0中所述接入端口管理装置 1 3根据所述虚拟 AN转发表项为所述第一接入 设备 1 1和所述第二接入设备 1 2中的第一设备生成第一转发表项包括: 所述接入端口管理装置 1 3在确定所述第一接入设备 1 1为虚拟 AN内部
PW和所述虚拟 AN外部 PW之间的交换运营商边缘 (英文缩写为 SPE) 设备 后, 根据所述虚拟 AN上行转发表项生成第一接入设备的上行 PW转发表项, 其中, 所述第一接入设备的上行 PW转发表项包括入端口、 虚拟 AN内部 PW 的上行标签、 虚拟 AN外部 PW的上行标签和出端口, 所述第一接入设备的 上行 PW转发表项中的入端口包括所述第一接入设备的第一 L i ne I D , 所述 第一接入设备的上行 PW转发表项中的出端口为所述虚拟 AN上行转发表项 中的上行出端口。 虚拟 AN , 尤其是第一接入设备, 需要处理的业务包括虚 拟 AN内部 PW和虚拟 AN外部 PW, 所述虚拟 AN内部 PW的上行标签和虚拟 AN外部 PW的上行标签属于虚拟 AN需要处理的业务的标识。
可选地, 所述接入端口管理装置 1 3根据所述虚拟 AN转发表项为所述 第一接入设备 1 1 和所述第二接入设备 1 2 中的第一设备生成第一转发表项 还包括:
所述接入端口管理装置 1 3在确定所述第一接入设备 1 1为虚拟 AN内部 PW和所述虚拟 AN外部 PW之间的交换运营商边缘 (英文缩写为 SPE) 设备 后, 根据所述虚拟 AN下行转发表项生成第一接入设备的下行 PW转发表项, 其中, 所述第一接入设备的下行 PW转发表项包括入端口、 虚拟 AN外部 PW 的下行标签、 虚拟 AN内部 PW的下行标签和出端口。 虚拟 AN外部 PW的下 行标签、 虚拟 AN内部 PW的下行标签属于虚拟 AN需要处理的业务的标识。
需要指出的是, 由于第一接入设备为 SPE, 第一接入设备的上行 PW转 发表项和第一接入设备的下行 PW转发表项均是 PW交换表项。 PW交换表项 是指用于对属于一个 PW的报文进行 PW标签交换, 使这个报文成为属于另 一个 PW的报文。
可选地, 所述第一接入设备的下行 PW转发表项中的入端口为所述第一 接入设备的上行 PW转发表项中的出端口, 所述第一接入设备的下行 PW转 发表项中的出端口为所述第一接入设备的上行 PW转发表项中的入端口。 可选地,当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 Line ID时, 所述接入端口管理装置根据获取到的第一虚拟 Line ID查询第一虚 拟 Line ID和第一物理 Line ID的对应关系确定第一接入设备的 Line ID 和第二接入设备的 Line ID, 其中, 所述第一物理 Line ID包括第一接入设 备的 Line I D和第二接入设备的 Li ne ID。
可选地,当所述虚拟 AN转发表项的入端口包括第一物理线路标识 L i ne ID时, 所述接入端口管理装置根据第一物理 Line ID确定第一接入设备的 Line ID和第二接入设备的 Line ID, 其中, 所述第一物理 Line ID包括第 一接入设备的 Line I D和第二接入设备的 Li ne ID。
120、 所述接入端口管理装置 13根据所述虚拟 AN转发表项为所述第一 接入设备 11 和所述第二接入设备 12 中的第二设备生成第二转发表项, 所 述第二转发表项包括入端口和出端口。
对于上述的情况 1, 即当所述虚拟 AN需要处理的业务在第一接入设备 和第二接入设备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处 理的业务中的第一部分业务, 由第二接入设备处理所述虚拟 AN需要处理的 业务中第二部分业务时, 所述第二接入设备为所述第二设备。 所述第二转 发表项的入端口包括第二接入设备的第一 Line ID, 所述第二转发表项的出 端口包括第二接入设备的上行出端口, 所述第二转发表项还包括所述第二 部分业务的标识。
对于上述情况 2, 即当所述虚拟 AN需要处理的业务在所述第一接入设 备和所述第二接入设备之间的分配情况为由第一接入设备处理所述虚拟 AN 需要处理的业务中的全部业务时, 所述第二接入设备为所述第二设备。 所 述第二转发表项的入端口包括第二接入设备的第一 Line ID, 所述第二转发 表项的出端口包括第二接入设备的上行出端口。
对于上述情况 3, 即当所述虚拟 AN需要处理的业务在所述第一接入设 备和所述第二接入设备之间的分配情况为由第二接入设备处理所述虚拟 AN 需要处理的业务中的全部业务时, 所述第一接入设备为所述第二设备。 所 述第二转发表项入端口包括第一接入设备的第一 Line ID, 所述第二转发表 项的出端口包括第一接入设备的上行出端口。
当虚拟 AN需要处理的业务为 PW时, 所述第二转发表项为第二接入设 备的上行 PW转发表项, 所述第二接入设备的上行 PW转发表项中的入端口 包括第二接入设备的 L i ne I D , 所述第二接入设备的上行 PW转发表项中的 出端口包括第二接入设备的上行出端口, 所述第二接入设备的上行 PW转发 表项还包括虚拟 AN内部 PW的上行标签。 需要指出的是当于虚拟 AN需要处 理的业务为 PW时, 在生成了第一接入设备上行 PW转发表项和第二接入设 备上行 PW转发表项后, 虚拟 AN就可以处理上行 PW, 实现了业务的一部分。 对于下行 PW的处理可以使用本发明实施例中的方法,也可以使用其他方法。
此外, 需要指明的是, 在如图 6所示的实施例中上行是指由第二接入 设备至第一接入设备并继续向网络侧延伸的方向, 下行是指与上行相反的 方向。接入端口管理装置接收到的虚拟 AN转发表项是由接入管理设备通过 基于开放 0S I 中层三的第一控制协议或第一管理协议发送的。 当接入端口 管理装置需要向第二接入设备发送第一转发表项或第二转发表项时, 接入 端口管理装置通过基于开放系统互联(英文缩写为 0S I )模型中层二的第二 控制协议或第二管理协议发送。 通过基于 0S I 模型中层二的第二控制协议 或第二管理协议发送第一转发表项或第二转发表项这一操作可以使接入端 口管理装置在获知第二接入设备的 MAC地址但未获知第二接入设备的管理 I P地址的情况下就能实现第一转发表项或第二转发表项的发送。 运营商网 络中的管理设备或管理系统看到的只是虚拟 AN的管理 I P地址, 不需要看 到虚拟 AN内部各个物理 AN的管理 I P地址, 也就不需要为第二接入设备分 配管理 I P地址。 因此, 在虚拟 AN中存在大量的第二接入设备或与第二接 入设备类似的设备的情况下, 本实施中的技术方案可以避免进行为大量的 第二接入设备或与第二接入设备类似的设备分配管理 I P地址并进行相应的 管理 I P地址維护的工作。 对于 FTTDp场景, 本实施例的优点非常明显, 因 为 FTTDp 场景中在靠近用户设备的位置上存在大量的第二接入设备或者与 第二接入设备类似的设备, 例如 0NU等, 采用本实施例中的方案避免了为 大量的 0NU或类似的设备配置并維护管理 I P地址的工作。
由以上内容可知, 虚拟 AN可以根据虚拟 AN转发表项为虚拟 AN中的第 一接入设备和第二接入设备自动生成转发表项, 以使虚拟 AN能够处理虚拟 AN转发表项涉及的业务或涉及的业务的一部分,因此不需要为虚拟 AN中的 第一接入设备和第二接入设备分别手工配置转发表项, 大幅提高了效率。 如图 8所示, 一种生成转发表项的方法包括如下内容。
201、 0NU向 0LT上报第一物理 Line ID和 ONU的上行端口信息, 0LT 中包括接入端口管理装置。 在可选的替代方案中, 接入端口管理装置也可 以在 0LT之外。 可选地, 0NU还向 0LT上报 0NU的地址, 0NU的地址可以是 0NU的 MAC地址或者是 0NU的 I P地址。
202、 接入端口管理装置为第一物理 Line ID分配第一虚拟 l ine ID, 从 而形成第一物理 Line ID和第一虚拟 Line ID的映射关系。
当第一物理 Line ID包括 ONU的 Line ID和 OLT的 Line ID时, 第一 物理 Line ID和第一虚拟 Line ID的一个示例性的映射关系如表 2所示。 对于 0NU2 ID/Slot1/Port1 来说, 0NU2 ID表项示 0NU2标识、 Slotl 表项 示 0NU上的槽位 1、 Portl 表项示 0NU 的槽位 1 上的端口 1。 对于 0LT1 ID/Slot1/Port2来说, 0LT1 ID表示 0LT1的标识、 S I ot1标识 0LT上的槽 位 1、 Port2表项示 0LT的槽位 1上的端口 2。
Figure imgf000029_0001
表 2
203、 接入端口管理装置确定对虚拟 AN转发表项的分解规则, 即确定 需要由 0LT处理的业务和需要由 0NU处理的业务。 在本实施例中, 由 0LT 处理的业务为服务虚拟局域网 (英文为 S-VLAN), 由 0NU处理的业务为用户 虚拟局域网 (英文为 C-VLAN)。
204、 接入端口管理装置接收接入管理设备发送的虚拟 AN转发表项, 所述虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务和出端口。 可选地, 接入管理设备通过基于 0SI 模型中层三的第一控制协议或第一管 理协议发送所述虚拟 AN转发表项。 携带所述虚拟 AN转发表项的协议报文 的目的 IP地址为虚拟 AN的管理 IP地址。第一控制协议可以采用开放流(英 文为 Openflow) 协议或接入节点控制协议 (英文缩写为 ANCP), 第一管理 协议可以采用网络配置 (英文为 Netconf) 协议或简单网络管理协议(英文 缩写为 SNMP)。 虚拟 AN转发表项的入端口包括所述第一虚拟 Line ID。 例 如, 虚拟 AN转发表项的入端口为虚拟 AN ID/Slot 1/Port 1。 一个示例性 的虚拟 AN转发表项如表 3所示。表 3中的入端口为表 2中的第一虚拟 L i ne
Figure imgf000030_0001
表 3
可选地,接入端口管理装置可以接收接入管理设备发送的虚拟 AN转发 表。 所述虚拟 AN转发表的一个简化示例如表 4所示。 表 4所示的虚拟 AN 转发表对应的虚拟 AN的物理结构如图 4A所示, 对应的虚拟 AN的逻辑结构 如图 4B所示, 并且并且物理 Line ID和虚拟 Line ID的对应关系如表 1所
入端口 业务 W 出端口
C-VID S-VID
虚拟 AN ID/slot1/port1 1 1 1
虚拟 AN ID/slot2/port1 1 2 1 表 4
205、接入端口管理装置根据所述第一物理 Line ID和第一虚拟 Line ID 的映射关系和第一虚拟 Line ID确定第一物理 Line ID。 例如, 当第一虚拟 Line ID为 AN ID/Slot 1/Port 1时, 根据表 2可以确定第一物理 Li ne ID 包括 0NU2 ID/Slot1/Port1和 0LT1 I D/S I ot1/Port20
206、接入端口管理装置根据第一物理 L i ne I D确定 0NU无源光网络(英 文缩写为 P0N) 层寻址 ID和 0NU的地址。
ONU P0N层寻址 ID用于接入端口管理装置或 0LT在需要向 0NU发送表 项时在 P0N层中寻址相应的 0NU。 ONU的地址可以为 MAC地址, 也可以为 IP 地址。
需要说明的是, 206并不是接入端口管理装置生成表项所需的, 而是在 向 0NU发送表项的过程中所需要的。
207、 接入端口管理装置为 0LT生成第一转发表项, 第一转发表项包括 入端口、 出端口和 0LT 需要处理的业务的标识。 在本实施例中, 入端口为 第一物理 Line ID中的 0LT的 Line ID, 出端口为所述虚拟 AN转发表项的 出端口, 0LT 需要处理的业务的标识为服务虚拟局域网标识 (英文缩写为 S-VID)。 当第一物理 Line ID和第一虚拟 Line ID的映射关系如表 2所示、 虚拟 AN转发表项如表 3所示时, 所生成的第一转发表项如表 5所示。 第一 转发表项的入端口为 0LT的 Line ID, 业务标识为 S-VID, 出端口为虚拟 AN 转发表项中的出端口, 取值为 1。
Figure imgf000031_0001
表 5
当虚拟 AN转发表的一个简化示例如表 4所示时, 依照 207中的方法生 成的第一转发表如表 6所示。 入端口 业务柳(S-VID) 出端口
OLT1 ID/slot1/port2 1 1
OLT1 ID/slot1/port1 2 1
表 6
208、 接入端口管理装置为 ONU生成第二转发表项, 第二转发表项包括 入端口、 出端口和 0NU 需要处理的业务的标识。 在本实施例中, 入端口为 第一物理 Line ID中的 ONU的 Line ID, 出端口为 ONU的上行端口, 0NU需 要处理的业务的标识为用户虚拟局域网标识 (英文缩写为 C-VID)。 当第一 物理 Line ID和第一虚拟 Line I D的映射关系如表 2所示、 虚拟 AN转发表 项如表 3所示时, 所生成的第二转发表项如表 7所示, 其中 X表示 0NU的 上行出端口。
Figure imgf000032_0001
表 7
当虚拟 AN转发表的一个简化示例如表 4所示时,依照 208中的方法生 成的第二转发表如表 8所示。 入端口 业务繊(C-VID) 出端口 ONU2 ID/Slot1 /Port1 1 X
ONU1 ID/slot2/port1 1 Y
表 8
209、 接入端口管理装置 OLT使用所述第一转发表项。
21 0、 接入端口管理装置 0NU使用所述第二转发表项。
接入端口管理装置或 0LT需要将第二转发表项发送给 0NU。具体地, 接 入端口管理装置或 0LT使用 ONU P0N层寻址标识在 P0N层寻址相应的 0NU , 使用 0NU的地址在 0NU的地址对应的网络层中寻址相应的 0NU。
可选地, 接入端口管理装置或者 0LT通过基于 0S I 模型中层二, 例如 媒体介入控制 (英文缩写为 MAC)层, 的第二控制协议或第二管理协议下发 第二转发表项给 0NU , 第二控制协议协议为光网络单元管理和控制接口 (英 文全称为 ONU Management and Cont ro l I nterface,英文缩写为 OMC I ) 协 议或以太网运行管理維护 (英文缩写为 ETH 0AM ) 协议, 第二管理协议为 ETH 0AM协议。 需要说明的是, ETH 0AM协议既可以被视为控制协议, 也可 以被视为管理协议。
当 0NU从第二转发表项的入端口接收到第一数据流后, 0NU根据 C-V I D 对第一数据流进行 C-VLAN封装, 然后根据第二转发表项的出端口将封装后 的第一数据流发送至 0LT。 0LT 根据 S-V I D 对接收到的第一数据流进行 S-VLAN封装, 并根据第一转发表项的出端口继续进行转发。 在如图 8所示的实施例中, 接入端口管理装置根据虚拟 AN转发表项为 0LT和 0NU分别生成了转发表项, 使得 0LT和 0NU能够协同工作, 共同处理 虚拟 AN需要处理 VLAN业务, 实现了对业务处理的调度。 在图 8所示的实施例中, 在虚拟 AN包括多个 0NU的情况下, 可以对多 个 0NU的 Line ID进行统一编址, 以避免发生冲突, 降低出错的 &率。 如图 9所示, 当虚拟 AN转发表项的入端口包括物理 L i ne I D时, 一种 生成转发表项的方法包括如下内容。
301、 0NU向 0LT上报第一物理 Line ID和 0NU的上行端口信息, 0LT 中包括接入端口管理装置。 在可选的替代方案中, 接入端口管理装置也可 以在 0LT之外。 可选地, 0NU还向 0LT上报 0NU的地址。
302、 接入端口管理装置确定对虚拟 AN转发表项的分解规则, 即确定 需要由 0LT处理的业务和需要由 0NU处理的业务。 在本实施例中, 由 0LT 处理的业务为服务虚拟局域网 (英文为 S-VLAN), 由 0NU处理的业务为用户 虚拟局域网 (英文为 C-VLAN)。
303、 接入端口管理装置接收接入管理设备以虚拟 AN的管理 IP地址为 目的地址发送的虚拟 AN转发表项, 所述虚拟 AN转发表项包括入端口、 所 述虚拟 AN需要处理的业务和出端口。 虚拟 AN转发表项的入端口包括第一 物理 Line ID。 虚拟 AN转发表项的一个示例性的映射关系如表 9所示。 在 表 9 中, 虚拟 AN 转发表项的入端口包括 0NU2 ID/Slot1/Port1 和 0LT1 ID/Slot1/Port2, 业务标识包括 C-VID和 S-VID, 出端口为 1, 是 0LT的上 行出端口, 在表 9中, 入端口即为第一物理 Line ID。
Figure imgf000034_0001
表 9
可选地,接入端口管理装置可以接收接入管理设备发送的虚拟 AN转发 表。所述虚拟 AN转发表的一个简化示例如表 10所示。表 10所示的虚拟 AN 转发表对应的虚拟 AN的物理结构如图 4A所示, 对应的虚拟 AN的逻辑结构 如图 4B所示。 入端口 业务繊 出端口
ONU的 Line ID OLT的 Line ID C-VID S-VID
ONU2 ID/Slot1/Port1 OLT1 ID/Slot1/Port2 1 1 1
ONU1 ID/Slot2/Port1 OLT1 ID/Slot1/Port2 1 2 1
表 10
可选地, 接入管理设备通过基于 0SI 模型中层三的第一控制协议或第 一管理协议发送所述虚拟 AN转发表项。 携带所述虚拟 AN转发表项的协议 报文的目的 I P地址为虚拟 AN的管理 I P地址。 第一控制协议可以采用开放 流 (英文为 Openf low) 协议或接入节点控制协议 (英文缩写为 ANCP), 第 一管理协议可以采用网络配置(英文为 Netconf)协议或简单网络管理协议 (英文缩写为 SNMP)。
304、接入端口管理装置根据第一物理 L i ne I D确定 0NU无源光网络(英 文缩写为 P0N) 层寻址 ID和 0NU的地址。
ONU P0N层寻址 ID用于接入端口管理装置或 0LT在需要向 0NU发送表 项时在 P0N层中寻址相应的 0NU。 0NU的地址可以为 MAC地址, 也可以为 IP 地址。
需要说明的是, 304并不是接入端口管理装置生成表项所需的, 而是在 向 0NU发送表项的过程中所需要的。
305、 接入端口管理装置为 0LT生成第一转发表项, 第一转发表项包括 入端口、 出端口和 0LT 需要处理的业务的标识。 在本实施例中, 入端口为 第一物理 Line ID中的 0LT的 Line ID, 出端口为所述虚拟 AN转发表项的 出端口, 0LT 需要处理的业务的标识为服务虚拟局域网标识 (英文缩写为 S-VID)。 当虚拟 AN转发表项为表 9所示时, 所生成的第一转发表项如表 5 所示。 当虚拟 AN转发表为表 10所示时, 所生成的第一转发表如表 6所示。
306、 接入端口管理装置为 0NU生成第二转发表项, 第二转发表项包括 入端口、 出端口和 0NU 需要处理的业务的标识。 在本实施例中, 入端口为 第一物理 Line ID中的 ONU的 Line ID, 出端口为 ONU的上行端口, 0NU需 要处理的业务的标识为为用户虚拟局域网标识 (英文缩写为 C-VID)。 当虚 拟 AN转发表项为表 9所示时, 所生成的第二转发表项如表 7所示, 当虚拟 AN转发表为表 10所示时, 所生成的第二转发表如表 8所示。。
307、 接入端口管理装置 0LT使用所述第一转发表项。
308、 接入端口管理装置 0NU使用所述第二转发表项。
接入端口管理装置或 0LT需要将第二转发表项发送给 0NU。具体地, 接 入端口管理装置或 0LT使用 ONU P0N层寻址标识在 P0N层寻址相应的 0NU, 使用 0NU的地址在 0NU的地址对应的网络层中寻址相应的 0NU。
可选地, 接入端口管理装置或者 0LT通过基于 0SI 模型中层二的第二 控制协议或第二管理协议下发第二转发表项给 0NU,第二控制协议协议为光 网络单元管理和控制接口 (英文全称为 ONU Management and Control 1^:6 306,英文缩写为 01^1) 协议或 ETH 0AM协议, 例如以太网运行管理 維护 (英文缩写为 ETH 0AM) 协议, 第二管理协议为 ETH 0AM。 需要说明的 是, ETH 0AM协议既可以被视为控制协议, 也可以被视为管理协议。
当 0NU从第二转发表项的入端口接收到第一数据流后, 0NU根据 C-VID 对第一数据流进行 C-VLAN封装, 然后根据第二转发表项的出端口将封装后 的第一数据流发送至 0LT。 0LT 根据 S-VID 对接收到的第一数据流进行 S-VLAN封装, 并根据第一转发表项的出端口继续进行转发。
在图 9所示的实施例中, 在虚拟 AN包括多个 0NU的情况下, 可以对多 个 0NU的 Line ID进行统一编址, 以避免发生冲突, 降低出错的 &率。
在如图 9所示的实施例中, 接入端口管理装置根据虚拟 AN转发表项为
0LT和 0NU分别生成了转发表项, 使得 0LT和 0NU能够协同工作, 共同处理 虚拟 AN需要处理 VLAN业务, 实现了对业务处理的调度。
在如图 10所示的网络中, 虚拟 AN中包括 0LT1和 n个 0NU, 每个 0NU 分别与一个对应的 CPE相连。 每个 0NU均为靠近图 10所示的 CPE的 PE设 备, OLT和网络中另一侧的一个 PE设备 PE1 相连, 也就是说, 0LT1位于 0NU和 PE1 的中间。 0LT1和 PE1之间需要建立虚拟 AN外部 PW, 0LT1和 n 个 0NU中的部分或全部需要建立虚拟 AN内部 PW, 0LT1位于虚拟 AN外部 PW 和虚拟 AN内部 PW之间, 其角色为 SPE。在图 1 0所示的网络中, 虚拟 AN对 外整体呈现单一的运营商边缘(英文缩写为 PE)设备, 多协议标签交换(英 文缩写为 MPLS ) 对端看到的是虚拟 AN , 而不是分离的 0NU或 OLT , PE数据 面在 0NU实现, 0LT作为 SPE实现 PW交换, PE控制面在 0LT实现, 虚拟 AN 对外通过 " MPLS控制器"对接城域 MPLS信令, 接入端(虚拟 AN内部) MPLS 信令由基于 0S I模型中层三的第一控制协议或第一管理协议实现, 0NU无需 实现 I P或 MPLS控制面。
基于图 1 0所示的网络, 如图 1 1 所示, 一种生成转发表项的方法包括 如下内容。
401、 0NU向 0LT上报第一物理 L i ne I D和 ONU的上行出端口信息, 可 选地, 0NU还向 0LT上报 0NU的地址。 0LT中包括接入端口管理装置。 在可 选的替代方案中, 接入端口管理装置也可以设置在 0LT之外的其他设备中。
401 中的 0NU可以是图 1 0中的 n个 0NU中的任意一个。
402、接入端口管理装置确定 0LT为待建立的虚拟 AN内部 PW和虚拟 AN 外部 PW之间的 SPE设备。 虚拟 AN内部 PW为经过 0LT和 0NU的 PW, 虚拟 AN外部 PW为 0LT和虚拟 AN之外的 PE之间的 PW。
在确定 0LT为 SPE设备后, 接入端口管理装置就可以相应地确定 0NU 和 0LT分别需要处理的 PW标签。在本实施例中, 0LT需要处理的 PW标签包 括虚拟 AN外部 PW的上行标签、 虚拟 AN内部 PW的上行标签、 虚拟 AN外部 PW的下行标签、 虚拟 AN内部 PW的下行标签, 0NU需要处理的 PW标签包括 虚拟 AN内部 PW的上行标签和虚拟 AN内部 PW的下行标签。
403、 接入端口管理装置接收接入管理设备以虚拟 AN的管理 I P地址为 目的地址发送的虚拟 AN转发表项, 所述虚拟 AN转发表项包括虚拟 AN上行 转发表项和虚拟 AN下行转发表项。
虚拟 AN上行转发表项包括上行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的上行标签和上行出端口。 举例来说, 在本实施例的虚拟 AN上 行转发表项中, 虚拟 AN外部 PW的标识取值可以为 1, 上行入端口包括第一 物理 Line ID。 可选地, 第一物理 Line ID包括 ONU的 Line ID和 0LT的 Line ID, ONU的 Line ID的取值为 0NU2 I D/S I otl/Portl , OLT的 Line ID 的取值为 0LT1 ID/Slot1/Port20 上行出端口包括 OLT的上行出端口, 在本 实施例的取值可以为 1。虚拟 AN外部 PW的上行标签在本实施例的取值可以 为 11111。 本实施例中的一个示例性的虚拟 AN上行转发表项如表 11所示。
Figure imgf000038_0001
表 11
需要说明的是,表 11所示仅为图 10中的 0LT1与 n个 0NU中的一个 0NU 之间建立虚拟 AN内部 PW时的虚拟 AN上行转发表项的举例。 0LT1和可以 n 个 0NU中的多个或每个 0NU建立虚拟 AN内部 PW, 在这种情况下, 则会相应 的产生对应的多个虚拟 AN上行转发表项。 多个虚拟 AN上行转发表项可以 包括在同一张虚拟 AN上行转发表中。 表 12为虚拟 AN上行转发表的一个简 要的示例。
Figure imgf000038_0002
表 12
虚拟 AN下行转发表项包括下行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的下行标签和下行出端口。 虚拟 AN下行转发表项中的下行入端 口即为所述虚拟 AN上行转发表项中的上行出端口, 虚拟 AN下行转发表项 中的下行出端口即为所述虚拟 AN 上行转发表项中的上行入端口。 虚拟 AN 外部 PW的下行标签在本实施例的取值可以为 22222。 本实施例中的一个示 例性的虚拟 AN下行转发表项如表 1 3所示。
Figure imgf000039_0001
表 1 3
需要说明的是,表 1 3所示仅为图 1 0中的 0LT1与 n个 0NU中的一个 0NU 之间建立虚拟 AN内部 PW时的虚拟 AN上行转发表项的举例。 0LT1和可以 n 个 ONU中的多个或每个 ONU建立虚拟 AN内部 PW, 在这种情况下, 则会相应 的产生对应的多个虚拟 AN下行转发表项。 多个虚拟 AN上行转发表项可以 包括在同一张虚拟 AN下行转发表中。 表 1 4为虚拟 AN下行转发表的一个简 要的示例。
Figure imgf000039_0002
表 14
404、接入端口管理装置生成与虚拟 AN外部 PW的标识相对应的虚拟 AN 内部 PW的 I D、与虚拟 AN外部 PW的上行标签相对应的虚拟 AN内部 PW的上 行标签、 与虚拟 AN外部 PW的下行标签相对应的虚拟 AN内部 PW的下行标 签。 例如, 当虚拟 AN外部 PW的 ID为 1时, 相对应的虚拟 AN内部 PW的 ID 为 11; 当虚拟 AN外部 PW的上行标签为 11111 时, 相对应的虚拟 AN内部 PW的上行标签为 66666; 当虚拟 AN外部 PW的下行标签为 22222时, 相对 应的虚拟 AN内部 PW的下行标签为 77777。
405、 接入端口管理装置为 0LT生成 0LT上行 PW转发表项和 0LT下行 PW转发表项, 0LT上行 PW转发表项和 0LT下行 PW转发表项均是或属于 110 中的第一转发表项。
0LT上行 PW转发表项包括入端口、 出端口、 虚拟 AN内部 PW的上行标 签和虚拟 AN外部 PW的上行标签。 0LT上行 PW转发表项中的入端口包括 0LT 的 Line ID, 例如 OLT的 Line ID的取值可以为 0LT1 ID/Slot1/Port2, OLT 上行 PW转发表项中的出端口包括虚拟 AN上行转发表项中的上行出端口。 本实施例中的一个示例性的 0LT上行 PW转发表项如表 15所示。
Figure imgf000040_0001
表 15
当虚拟 AN的上行转发表如表 12所示, 虚拟 AN的下行转发表如表 14 所示时, 0LT上行 PW转发表如表 16所示。
Figure imgf000040_0002
表 16 OLT下行 PW转发表项包括入端口、 出端口、 虚拟 AN外部 PW的下行标 签和虚拟 AN内部 PW的下行标签。 0LT下行 PW转发表项中的入端口包括 0LT 上行 PW转发表项中的出端口, 0LT下行 PW转发表项中的出端口包括 0LT上 行 PW转发表项的入端口。 本实施例中的一个示例性的 0LT下行 PW转发表 项如表 17所示。
Figure imgf000041_0001
表 17
当虚拟 AN的上行转发表如表 12所示, 虚拟 AN的下行转发表如表 14 所示时, 0LT下行 PW转发表如表 18a所示。
Figure imgf000041_0002
表 18a
406、 接入端口管理装置为 0NU生成 0NU上行 PW转发表项, 0NU上行
PW转发表项属于 120中的第二转发表项。 0NU上行 PW转发表项包括入端口、 出端口和虚拟 AN内部 PW的上行标签。 在 0NU上行 PW转发表项中, 入端口 包括 0NU 的 Line ID, 例如在本实施例中 0NU 的 Line ID 可以为 0NU2 ID/Slot1/Port1; 出端口包括 0NU 的上行出端口, 例如在本实施例中 0NU 的上行出端口可以为端口 X。 本实施例中的一个示例性的 0NU上行 PW转发 表项如表 18b所示。 入端口 虚拟 AN内部 PW 出端口
的上行機
ONU2 ID/Slot1/Port1 66666 X 表 1 8b
基于表 1 2和表 1 6,0NU1的一个示例性的 0NU上行 PW转发表项如表 19 所示。
Figure imgf000042_0001
表 19
在如图 1 1 所示的实施例中, 接入端口管理装置根据虚拟 AN转发表项 为 0LT和 0NU分别生成了 PW转发表项, 使得 0LT和 0NU能够协同工作, 以 便处理虚拟 AN需要处理 PW业务。
接入端口管理装置或 0LT需要将 0NU上行 PW转发表项发送给 0NU。 具 体地, 接入端口管理装置或 0LT使用 ONU P0N层寻址标识在 P0N层寻址相 应的 0NU, 使用 0NU的地址在 0NU的地址对应的网络层中寻址相应的 0NU。
接入端口管理装置在为 0NU生成了 0NU上行 PW转发表项后, 使用基于 OS I模型中层二的第二控制协议或第二管理协议下发第二转发表项给 0NU , 第二控制协议协议为光网络单元管理和控制接口 (英文全称为 0NU Management and Cont ro l I nter face,英文缩写为 OMC I ) 协议或 ETH 0AM协 议, 例如以太网运行管理維护 (英文缩写为 ETH OAM) 协议, 第二管理协议 为 ETH OAM协议。 需要说明的是, ETH 0AM协议既可以被视为控制协议, 也 可以被视为管理协议。
如图 1 2所示, 本实施例公开了一种接入端口管理装置 15。所述接入端 口管理装置能够实现与图 1至图 1 1对应的任意一个实施例中的接入端口管 理装置的功能, 也可以与图 1至图 1 1对应的任意一个实施例中的接入端口 管理装置相同。 如图 1 或 2所示, 本实施例中的接入端口管理单元应用于 包括第一接入设备、 第二接入设备的虚拟接入节点 AN中。 所述接入端口管 理装置 15包括:
获取单元 151, 用于获取接入管理设备发送的虚拟 AN转发表项, 所述 虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务的标识和出端 ;
第一生成单元 152, 用于根据所述虚拟 AN转发表项为所述第一接入设 备和所述第二接入设备中的第一设备生成第一转发表项, 所述第一转发表 项包括入端口、 出端口和所述第一设备需要处理的业务的标识;
第二生成单元 153, 用于根据所述虚拟 AN转发表项为所述第一接入设 备和所述第二接入设备中的第二设备生成第二转发表项, 所述第二转发表 项包括入端口、 出端口。
可选地,所述第一生成单元 152具体用于:根据所述虚拟 AN转发表项, 并根据所述虚拟 AN处理的业务在所述第一接入设备和所述第二接入设备之 间的分配情况为所述第一设备生成第一转发表项。
在这种情况下, 第一转发表项和第二转发表项的生成存在多种细分的 情况。 对于每种细分情况, 如图 13所示, 第一生成单元 152均具体包括对 应的确定子单元 1521和生成子单元 1522。
细分情况 1: 当所述虚拟 AN需要处理的业务在第一接入设备和第二接 入设备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务 中的第一部分业务, 由第二接入设备处理所述虚拟 AN需要处理的业务中第 二部分业务时, 第一接入设备为所述第一设备, 第二接入设备为所述第二 设备。
在细分情况 1中,确定子单元 1521为第一确定子单元,生成子单元 1522 为第一生成子单元。
所述第一确定子单元用于当所述虚拟 AN转发表项的入端口包括第一虚 拟线路标识 L i ne I D时, 4艮据获取到的第一虚拟 L i ne I D查询第一虚拟 L i ne I D和第一物理 L i ne I D的对应关系, 确定第一物理 L i ne I D, 其中所述第 一物理 L i ne I D包括第一接入设备的第一 L i ne I D和第二接入设备的第一 L i ne I D ; 所述第一生成子单元用于生成第一转发表项, 所述第一转发表项的入 端口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第 一接入设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的 标识。
或者,
在细分情况 1 中,确定子单元 1521为第二确定子单元,生成子单元 1522 为第二生成子单元。
所述第二确定子单元用于当所述虚拟 AN转发表项的入端口包括第一物 理线路标识 Line ID并且第一物理 Line ID包括第一接入设备的第一 Line ID 和第二接入设备的第一 Line ID 时, 根据第一物理 Line ID确定第一接入 设备的第一 Line ID;
所述第二生成子单元用于生成第一转发表项, 所述第一转发表项的入 端口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第 一接入设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的 标识。
在细分情况 1 中, 所述第二转发表项的入端口包括第二接入设备的第 一 Line ID, 所述第二转发表项的出端口包括第二接入设备的上行出端口, 所述第二转发表项还包括所述第二部分业务的标识。
细分情况 2: 当所述虚拟 AN需要处理的业务在所述第一接入设备和所 述第二接入设备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处 理的业务中的全部业务时, 所述第一接入设备为所述第一设备, 所述第二 接入设备为所述第二设备。
在细分情况 2中,确定子单元 1521为第三确定子单元,生成子单元 1522 为第三生成子单元。
所述第三确定子单元用于当所述虚拟 AN转发表项的入端口包括第一虚 拟线路标识 L i ne I D时, 4艮据获取到的第一虚拟 L i ne ID查询第一虚拟 L i ne ID和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第 一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 所述第三生成子单元用于生成第一转发表项, 所述第一转发表项的入 端口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第 一接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理 的业务中的全部业务的标识。
或者,
在细分情况 2中,确定子单元 1521为第四确定子单元,生成子单元 1522 为第四生成子单元。 理线路标识 Line ID并且第一物理 Line ID包括第一接入设备的第一 Line ID 和第二接入设备的第一 Line ID时, 根据第一物理 Line ID确定第一接入 设备的第一 Line ID;
所述第四生成子单元用于生成第一转发表项, 所述第一转发表项的入 端口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第 一接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理 的业务中的全部业务的标识。
在细分情况 2 中, 所述第二转发表项的入端口包括第二接入设备的第 一 Line ID, 所述第二转发表项的出端口包括第二接入设备的上行出端口。
细分情况 3: 当所述虚拟 AN需要处理的业务在所述第一接入设备和所 述第二接入设备之间的分配情况为由第二接入设备处理所述虚拟 AN需要处 理的业务中的全部业务时, 所述第二接入设备为所述第一设备, 所述第一 接入设备为所述第二设备。
在细分情况 3中,确定子单元 1521为第五确定子单元,生成子单元 1522 为第五生成子单元。 拟线路标识 L i ne I D时, 4艮据获取到的第一虚拟 L i ne ID查询第一虚拟 L i ne ID和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第 一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID;
所述第五生成子单元用于生成第一转发表项, 所述第一转发表项的入 端口包括第二接入设备的第一 Line ID, 所述第一转发表项的出端口包括第 二接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理 的业务中的全部业务的标识;
或者,
在细分情况 3中,确定子单元 1521为第六确定子单元,生成子单元 1522 为第六生成子单元。
所述第六确定子单元用于当所述虚拟 AN转发表项的入端口包括第一物 理线路标识 Line ID并且第一物理 Line ID包括第一接入设备的第一 Line ID 和第二接入设备的第一 Line ID时, 根据第一物理 Line ID确定第二接入 设备的第一 Line ID;
所述第六生成子单元用于生成第一转发表项, 所述第一转发表项的入 端口包括第二接入设备的第一 Line ID, 所述第一转发表项的出端口包括第 二接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理 的业务中的全部业务的标识。
在细分情况 3 中, 所述第二转发表项入端口包括第一接入设备的第一 Line ID, 所述第二转发表项的出端口包括第一接入设备的上行出端口。
可选地, 当所述第一生成单元具体用于根据所述虚拟 AN转发表项, 并 根据所述虚拟 AN处理的业务在所述第一接入设备和所述第二接入设备之间 的分配情况为所述第一设备生成第一转发表项时, 所述虚拟 AN需要处理的 业务可以为虚拟局域网 (英文缩写为 VLAN)。 可选地, 当所述虚拟 AN需要处理的业务为伪线时, 所述第一接入设备 为所述第一设备, 所述第二接入设备为所述第二设备;
所述获取单元 151具体用于:
获取接入管理设备发送的虚拟 AN上行转发表项和虚拟 AN下行转发表 项, 所述虚拟 AN上行转发表项包括上行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的上行标签和上行出端口, 所述虚拟 AN下行转发表项包括 下行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的下行标签和下行 出端口。 所述第一生成单元 152具体用于:
在所述接入端口管理装置确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的交换运营商边缘 SPE设备后, 根据所述虚拟 AN 上行转发表项生成第一接入设备的上行 PW转发表项, 其中, 所述第一接入 设备的上行 PW转发表项包括入端口、虚拟 AN内部 PW的上行标签、虚拟 AN 外部 PW的上行标签和出端口, 所述第一接入设备的上行 PW转发表项中的 入端口包括所述第一接入设备的第一 L i ne I D , 所述第一接入设备的上行 PW转发表项中的出端口为所述虚拟 AN上行转发表项中的上行出端口,所述 第一接入设备的上行 PW转发表项为 PW交换表项。
当所述虚拟 AN需要处理得业务为伪线时, 可选地, 所述第二转发表项 为第二接入设备的上行 PW转发表项, 所述第二接入设备的上行 PW转发表 项中的入端口包括第二接入设备的 L i ne I D , 所述第二接入设备的上行 PW 转发表项中的出端口包括第二接入设备的上行出端口, 所述第二接入设备 的上行 PW转发表项还包括虚拟 AN内部 PW的上行标签。
当所述虚拟 AN需要处理的业务为伪线时, 可选地, 所述第一生成单元
152还具体用于:
在所述接入端口管理装置 15确定所述第一接入设备为虚拟 AN内部 PW 和所述虚拟 AN外部 PW之间的交换运营商边缘 SPE设备后, 根据所述虚拟 AN下行转发表项生成第一接入设备的下行 PW转发表项, 其中, 所述第一接 入设备的下行 PW转发表项包括入端口、 虚拟 AN外部 PW的下行标签、 虚拟 AN内部 PW的下行标签和出端口, 所述第一接入设备的下行 PW转发表项为 PW交换表项。
当所述虚拟 AN需要处理的业务为伪线时, 可选地, 所述第一接入设备 的下行 PW转发表项中的入端口为所述第一接入设备的上行 PW转发表项中 的出端口, 所述第一接入设备的下行 PW转发表项中的出端口为所述第一接 入设备的上行 PW转发表项中的入端口。
当所述虚拟 AN需要处理的业务为伪线时, 可选地, 如图 14所示, 所 述装置 15包括线路标识 L i ne I D确定单元 154,
所述 L i ne I D确定单元 154用于: 当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第一物理 Line ID 的对应关系确定第一接入设备的 Line ID和第二接入设备的 Line ID,其中, 所述第一物理 Line I D包括第一接入设备的 Li ne I D和第二接入设备的 Li ne ID;
或者,
所述 Line ID确定单元 154用于:
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 L i ne I D时, 根据第一物理 Line I D确定第一接入设备的 Li ne I D和第二接入设备的 Li ne ID, 其中, 所述第一物理 Line ID包括第一接入设备的 Line ID和第二接 入设备的 Line ID。
本实施例分别公开了当虚拟 AN需要处理的业务为 VLAN和伪线时, 所 述接入端口管理装置包括的单元。
可选地, 在本实施例中, 所述虚拟 Line I D包括所述虚拟 AN的设备标 识和所述虚拟 AN的第一端口号; 所述第一接入设备的第一 Line ID包括第 一接入设备的设备标识和第一接入设备的第一端口号; 所述第二接入设备 的第一 Line ID 包括第二接入设备的设备标识和第二接入设备的第一端口 号。
可选地, 在本实施例中, 所述第一接入设备为光线路终端 (英文缩写 为 0LT), 所述第二接入设备为第一光网络单元 (英文缩写为 0NU)、 第一光 网络终端 (英文缩写为 0NT)、 第一多住户单元 (英文缩写为 MDU) 或第一 用户线接入复用器 (英文缩写为 DSLAM); 或者, 所述第一接入设备为第一 DSLAM, 所述第二接入设备为第二 DSLAM;或者, 所述第一接入设备为 DSLAM 管理设备, 所述第二接入设备为 DSLAM。
可选地, 在本实施例中, 接入端口管理单元接收到的虚拟 AN转发表项 是由接入管理设备通过基于开放系统互联(英文缩写为 0SI)模型中层三的 第一控制协议或第一管理协议发送的; 当接入端口管理单元需要向第二接 入设备发送第一转发表项或第二转发表项时, 接入端口管理单元通过基于 OS I模型中层二的第二控制协议或第二管理协议发送。 本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 步骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步 骤; 而前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程 序代码的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权利要求
1、 一种为光网络中的设备生成转发表项的方法, 其特征在于, 所述光 网络包括虚拟接入点 AN , 所述虚拟 AN包括第一接入设备、 第二接入设备和 接入端口管理装置, 所述方法包括:
所述接入端口管理装置获取接入管理设备发送的虚拟 AN转发表项, 所 述虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务的标识和出 端口;
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项, 所述第一转发表项 包括入端口、 出端口和所述第一设备需要处理的业务的标识;
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第二设备生成第二转发表项, 所述第二转发表项 包括入端口和出端口。
2、 根据权利要求 1所述的方法, 其特征在于,
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项包括:
所述接入端口管理装置根据所述虚拟 AN处理的业务在所述第一接入设 备和所述第二接入设备之间的分配情况和所述虚拟 AN转发表项为所述第一 设备生成第一转发表项。
3、 根据权利要求 2所述的方法, 其特征在于,
当所述虚拟 AN需要处理的业务在第一接入设备和第二接入设备之间的 分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的第一部分 业务,由第二接入设备处理所述虚拟 AN需要处理的业务中第二部分业务时, 第一接入设备为所述第一设备, 第二接入设备为所述第二设备;
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 所述接入端口管理装置根据获取到的第一虚拟 L i ne I D查询第一虚拟 L i ne I D和第一物理 L i ne I D的对应关系, 确定第一物理 L i ne I D , 其中所述第 一物理 L i ne I D包括第一接入设备的第一 L i ne I D和第二接入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述第一部分业务的标识;
或者,
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 Li ne ID并且 第一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入设备的第 一 Line ID 时, 所述接入端口管理装置根据第一物理 Li ne ID确定第一接 入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包 括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一接入 设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的标识。
4、 根据权利要求 3所述的方法, 其特征在于, 所述第二转发表项的入 端口包括第二接入设备的第一 Line ID, 所述第二转发表项的出端口包括第 二接入设备的上行出端口, 所述第二转发表项还包括所述第二部分业务的 标识。
5、 根据权利要求 2所述的方法, 其特征在于,
当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接入设 备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的 全部业务时, 所述第一接入设备为所述第一设备, 所述第二接入设备为所 述第二设备;
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 所述接入端口管理装置根据获取到的第一虚拟 L i ne ID查询第一虚拟 L i ne ID和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第 一物理 Line ID 包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第一接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识; 或者,
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 Line ID并且第一 物理 Line I D包括第一接入设备的第一 Li ne I D和第二接入设备的第一 Li ne ID时, 所述接入端口管理装置根据第一物理 Line ID确定第一接入设备的 第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第一接 入设备的第一 Line ID, 所述第一转发表项的出端口包括第一接入设备的上 行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部 业务的标识。
6、 根据权利要求 5所述的方法, 其特征在于, 所述第二转发表项的入 端口包括第二接入设备的第一 Line ID, 所述第二转发表项的出端口包括第 二接入设备的上行出端口。
7、 根据权利要求 2所述的方法, 其特征在于, 当所述虚拟 AN需要处 理的业务在所述第一接入设备和所述第二接入设备之间的分配情况为由第 二接入设备处理所述虚拟 AN需要处理的业务中的全部业务时, 所述第二接 入设备为所述第一设备, 所述第一接入设备为所述第二设备;
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 所述接入端口管理装置根据获取到的第一虚拟 L i ne ID查询第一虚拟 L i ne ID和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第 一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包括第二接入设 备的第一 Line ID, 所述第一转发表项的出端口包括第二接入设备的上行出 端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务中的全部业务 的标识;
或者,
所述生成第一转发表项包括:
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 Li ne ID并且 第一物理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第 一 Line ID时, 所述接入端口管理装置^ f艮据第一物理 Li ne ID确定第二接 入设备的第一 Line ID; 生成第一转发表项, 所述第一转发表项的入端口包 括第二接入设备的第一 Line ID, 所述第一转发表项的出端口包括第二接入 设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的业务 中的全部业务的标识。
8、 根据权利要求 7所述的方法, 其特征在于, 所述第二转发表项入端 口包括第一接入设备的第一 Line ID, 所述第二转发表项的出端口包括第一 接入设备的上行出端口。
9、 根据权利要求 2至 8中的任一项所述的方法, 其特征在于, 所述业 务为虚拟局域网 VLAN。
10、 根据权利要求 1 所述的方法, 其特征在于, 所述第一接入设备为 所述第一设备, 所述第二接入设备为所述第二设备;
所述接入端口管理装置获取接入管理设备发送的虚拟 AN 转发表项包 括:
所述接入端口管理装置获取接入管理设备发送的虚拟 AN上行转发表项 和虚拟 AN下行转发表项, 所述虚拟 AN上行转发表项包括上行入端口、 虚 拟 AN外部伪线 PW的标识、 虚拟 AN外部 PW的上行标签和上行出端口, 所 述虚拟 AN下行转发表项包括下行入端口、虚拟 AN外部 PW的标识、虚拟 AN 外部 PW的下行标签和下行出端口;
所述接入端口管理装置根据所述虚拟 AN转发表项为所述第一接入设备 和所述第二接入设备中的第一设备生成第一转发表项包括:
所述接入端口管理装置在确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的交换运营商边缘 SPE设备后, 根据所述虚拟 AN 上行转发表项生成第一接入设备的上行 PW转发表项, 其中, 所述第一接入 设备的上行 PW转发表项包括入端口、虚拟 AN内部 PW的上行标签、虚拟 AN 外部 PW的上行标签和出端口, 所述第一接入设备的上行 PW转发表项中的 入端口包括所述第一接入设备的第一 Line ID, 所述第一接入设备的上行 PW转发表项中的出端口为所述虚拟 AN上行转发表项中的上行出端口,所述 第一接入设备的上行 PW转发表项为 PW交换表项。
11、 根据权利要求 10所述的方法, 其特征在于, 所述第二转发表项为 第二接入设备的上行 PW转发表项, 所述第二接入设备的上行 PW转发表项 中的入端口包括第二接入设备的 Line ID, 所述第二接入设备的上行 PW转 发表项中的出端口包括第二接入设备的上行出端口, 所述第二接入设备的 上行 PW转发表项还包括虚拟 AN内部 PW的上行标签。
12、 根据权利要求 10或 11 所述的方法, 其特征在于, 所述接入端口 管理装置根据所述虚拟 AN转发表项为所述第一接入设备和所述第二接入设 备中的第一设备生成第一转发表项还包括:
所述接入端口管理装置在确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的交换运营商边缘 SPE设备后, 根据所述虚拟 AN 下行转发表项生成第一接入设备的下行 PW转发表项, 其中, 所述第一接入 设备的下行 PW转发表项包括入端口、虚拟 AN外部 PW的下行标签、虚拟 AN 内部 PW的下行标签和出端口, 所述第一接入设备的下行 PW转发表项为 PW 交换表项。
13、 根据权利要求 12所述的方法, 其特征在于, 所述第一接入设备的 下行 PW转发表项中的入端口为所述第一接入设备的上行 PW转发表项中的 出端口, 所述第一接入设备的下行 PW转发表项中的出端口为所述第一接入 设备的上行 PW转发表项中的入端口。
14、 根据权利要求 10至 13中的任一项所述的方法, 其特征在于, 当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 所述接入端口管理装置根据获取到的第一虚拟 L i ne ID查询第一虚拟 L i ne ID和第一物理 Line ID的对应关系确定第一接入设备的 Line ID和第二接 入设备的 Line ID, 其中, 所述第一物理 Line ID包括第一接入设备的 Line ID和第二接入设备的 Line ID;
或者,
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 L i ne I D时, 所述接入端口管理装置根据第一物理 Line I D确定第一接入设备的 Li ne ID 和第二接入设备的 Line ID, 其中, 所述第一物理 Line ID包括第一接入设 备的 Line I D和第二接入设备的 Li ne ID。
15、 根据权利要求 3至 14中的任一项所述的方法, 其特征在于, 所述虚拟 Line ID包括所述虚拟 AN的设备标识和所述虚拟 AN的第一 端口号;
所述第一接入设备的第一 Line ID 包括第一接入设备的设备标识和第 一接入设备的第一端口号;
所述第二接入设备的第一 Line ID 包括第二接入设备的设备标识和第 二接入设备的第一端口号。
16、 根据权利要求 1至 15中任一项所述的方法, 其特征在于, 所述第一接入设备为光线路终端 0LT,所述第二接入设备为第一光网络 单元 0NU、 第一光网络终端 0NT、 第一多住户单元 MDU或第一用户线接入复 用器 DSLAM;
或者,
所述第一接入设备为第一数字用户线接入复用器 DSLAM,所述第二接入 设备为第二 DSLAM;
或者,
所述第一接入设备为数字用户线接入复用器 DSLAM 管理设备, 所述第 二接入设备为 DSLAM。
17、 根据权利要求 1至 16中任一项所述的方法, 其特征在于, 接入端 口管理装置接收到的虚拟 AN转发表项是由接入管理设备通过基于开放系统 互联 OS I模型中层三的第一控制协议或第一管理协议发送的;
当接入端口管理装置需要向第二接入设备发送第一转发表项或第二转 发表项时, 接入端口管理装置通过基于开放系统互联 0SI 模型中层二的第 二控制协议或第二管理协议发送。
18、 一种接入端口管理装置, 其特征在于, 应用于包括第一接入设备、 第二接入设备的虚拟接入节点 AN中, 所述接入端口管理装置包括:
获取单元, 用于获取接入管理设备发送的虚拟 AN转发表项, 所述虚拟 AN转发表项包括入端口、 所述虚拟 AN需要处理的业务的标识和出端口; 第一生成单元, 用于根据所述虚拟 AN转发表项为所述第一接入设备和 所述第二接入设备中的第一设备生成第一转发表项, 所述第一转发表项包 括入端口、 出端口和所述第一设备需要处理的业务的标识; 第二生成单元, 用于根据所述虚拟 AN转发表项为所述第一接入设备和 所述第二接入设备中的第二设备生成第二转发表项, 所述第二转发表项包 括入端口和出端口。
19、 根据权利要求 18所述的装置, 其特征在于,
所述第一生成单元具体用于:
根据所述虚拟 AN处理的业务在所述第一接入设备和所述第二接入设备 之间的分配情况和所述虚拟 AN 转发表项为所述第一设备生成第一转发表 项。
20、 根据权利要求 19所述的装置, 其特征在于,
当所述虚拟 AN需要处理的业务在第一接入设备和第二接入设备之间的 分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的第一部分 业务,由第二接入设备处理所述虚拟 AN需要处理的业务中第二部分业务时, 第一接入设备为所述第一设备, 第二接入设备为所述第二设备;
所述第一生成单元包括:
第一确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一虚拟 线路标识 L i ne I D时, 艮据获取到的第一虚拟 L i ne I D查询第一虚拟 L i ne I D 和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物 理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID;
第一生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的标 识;
或者,
所述第一生成单元包括:
第二确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一物理 线路标识 Line ID并且第一物理 Line ID包括第一接入设备的第一 Line ID 和第二接入设备的第一 Line ID时, 根据第一物理 Line ID确定第一接入 设备的第一 Line ID;
第二生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述第一部分业务的标 识。
21、 根据权利要求 20所述的装置, 其特征在于, 所述第二转发表项的 入端口包括第二接入设备的第一 Line ID, 所述第二转发表项的出端口包括 第二接入设备的上行出端口, 所述第二转发表项还包括所述第二部分业务 的标识。
22、 根据权利要求 19所述的装置, 其特征在于,
当所述虚拟 AN需要处理的业务在所述第一接入设备和所述第二接入设 备之间的分配情况为由第一接入设备处理所述虚拟 AN需要处理的业务中的 全部业务时, 所述第一接入设备为所述第一设备, 所述第二接入设备为所 述第二设备;
所述第一生成单元包括:
第三确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一虚拟 线路标识 L i ne I D时, 艮据获取到的第一虚拟 L i ne I D查询第一虚拟 L i ne I D 和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物 理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID;
第三生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识;
或者,
所述第一生成单元包括:
第四确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一物理 线路标识 Line ID并且第一物理 Line ID包括第一接入设备的第一 Line ID 和第二接入设备的第一 Line ID 时, 根据第一物理 Line ID确定第一接入 设备的第一 Line ID;
第四生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第一接入设备的第一 Line ID, 所述第一转发表项的出端口包括第一 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识。
23、 根据权利要求 22所述的装置, 其特征在于,
所述第二转发表项的入端口包括第二接入设备的第一 Line ID, 所述第 二转发表项的出端口包括第二接入设备的上行出端口。
24、 根据权利要求 19所述的装置, 其特征在于, 当所述虚拟 AN 需要 处理的业务在所述第一接入设备和所述第二接入设备之间的分配情况为由 第二接入设备处理所述虚拟 AN需要处理的业务中的全部业务时, 所述第二 接入设备为所述第一设备, 所述第一接入设备为所述第二设备;
所述第一生成单元包括:
第五确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一虚拟 线路标识 L i ne I D时, 艮据获取到的第一虚拟 L i ne I D查询第一虚拟 L i ne I D 和第一物理 Line ID的对应关系, 确定第一物理 Line ID, 其中所述第一物 理 Line ID包括第一接入设备的第一 Line ID和第二接入设备的第一 Line ID;
第五生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第二接入设备的第一 Line ID, 所述第一转发表项的出端口包括第二 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识;
或者,
所述第一生成单元包括:
第六确定子单元, 用于当所述虚拟 AN转发表项的入端口包括第一物理 线路标识 Line ID并且第一物理 Line ID包括第一接入设备的第一 Line ID 和第二接入设备的第一 Line ID 时, 根据第一物理 Line ID确定第二接入 设备的第一 Line ID;
第六生成子单元, 用于生成第一转发表项, 所述第一转发表项的入端 口包括第二接入设备的第一 L i ne I D , 所述第一转发表项的出端口包括第二 接入设备的上行出端口, 所述第一转发表项还包括所述虚拟 AN需要处理的 业务中的全部业务的标识。
25、 根据权利要求 24所述的装置, 其特征在于,
所述第二转发表项入端口包括第一接入设备的第一 L i ne I D , 所述第二 转发表项的出端口包括第一接入设备的上行出端口。
26、 根据权利要求 19至 25中的任一项所述的装置, 其特征在于, 所 述业务为虚拟局域网 VLAN。
27、 根据权利要求 18所述的装置, 其特征在于, 所述第一接入设备为 所述第一设备, 所述第二接入设备为所述第二设备;
所述获取单元具体用于:
获取接入管理设备发送的虚拟 AN上行转发表项和虚拟 AN下行转发表 项, 所述虚拟 AN上行转发表项包括上行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的上行标签和上行出端口, 所述虚拟 AN下行转发表项包括 下行入端口、 虚拟 AN外部 PW的标识、 虚拟 AN外部 PW的下行标签和下行 出端口;
所述第一生成单元具体用于:
在所述接入端口管理装置确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的交换运营商边缘 SPE设备后, 根据所述虚拟 AN 上行转发表项生成第一接入设备的上行 PW转发表项, 其中, 所述第一接入 设备的上行 PW转发表项包括入端口、虚拟 AN内部 PW的上行标签、虚拟 AN 外部 PW的上行标签和出端口, 所述第一接入设备的上行 PW转发表项中的 入端口包括所述第一接入设备的第一 L i ne I D , 所述第一接入设备的上行 PW转发表项中的出端口为所述虚拟 AN上行转发表项中的上行出端口,所述 第一接入设备的上行 PW转发表项为 PW交换表项。
28、 根据权利要求 27所述的装置, 其特征在于, 所述第二转发表项为 第二接入设备的上行 PW转发表项, 所述第二接入设备的上行 PW转发表项 中的入端口包括第二接入设备的 L i ne I D , 所述第二接入设备的上行 PW转 发表项中的出端口包括第二接入设备的上行出端口, 所述第二接入设备的 上行 PW转发表项还包括虚拟 AN内部 PW的上行标签。
29、 根据权利要求 27或 28所述的装置, 其特征在于, 所述第一生成 单元还具体用于:
在所述接入端口管理装置确定所述第一接入设备为虚拟 AN 内部 PW和 所述虚拟 AN外部 PW之间的交换运营商边缘 SPE设备后, 根据所述虚拟 AN 下行转发表项生成第一接入设备的下行 PW转发表项, 其中, 所述第一接入 设备的下行 PW转发表项包括入端口、虚拟 AN外部 PW的下行标签、虚拟 AN 内部 PW的下行标签和出端口, 所述第一接入设备的下行 PW转发表项为 PW 交换表项。
30、 根据权利要求 29所述的装置, 其特征在于, 所述第一接入设备的 下行 PW转发表项中的入端口为所述第一接入设备的上行 PW转发表项中的 出端口, 所述第一接入设备的下行 PW转发表项中的出端口为所述第一接入 设备的上行 PW转发表项中的入端口。
31、 根据权利要求 27至 30中的任一项所述的装置, 其特征在于, 所 述装置包括线路标识 Line ID确定单元,
所述 Line ID确定单元用于:
当所述虚拟 AN转发表项的入端口包括第一虚拟线路标识 L i ne I D时, 根据获取到的第一虚拟 Line ID查询第一虚拟 Line ID和第一物理 Line ID 的对应关系确定第一接入设备的 Line ID和第二接入设备的 Line ID,其中, 所述第一物理 Line I D包括第一接入设备的 Li ne I D和第二接入设备的 Li ne ID;
或者,
所述 Line ID确定单元用于:
当所述虚拟 AN转发表项的入端口包括第一物理线路标识 L i ne I D时, 根据第一物理 L i ne I D确定第一接入设备的 L i ne I D和第二接入设备的 L i ne ID, 其中, 所述第一物理 Line ID包括第一接入设备的 Line ID和第二接 入设备的 Line ID。
32、 根据权利要求 20至 31 中的任一项所述的装置, 其特征在于, 所述虚拟 Line ID包括所述虚拟 AN的设备标识和所述虚拟 AN的第一 端口号;
所述第一接入设备的第一 L i ne I D 包括第一接入设备的设备标识和第 一接入设备的第一端口号;
所述第二接入设备的第一 L i ne I D 包括第二接入设备的设备标识和第 二接入设备的第一端口号。
33、 根据权利要求 18至 32中任一项所述的装置, 其特征在于, 所述第一接入设备为光线路终端 0LT ,所述第二接入设备为第一光网络 单元 0NU、 第一光网络终端 0NT、 第一多住户单元 MDU或第一用户线接入复 用器 DSLAM ;
或者,
所述第一接入设备为第一数字用户线接入复用器 DSLAM,所述第二接入 设备为第二 DSLAM ;
或者,
所述第一接入设备为数字用户线接入复用器 DSLAM 管理设备, 所述第 二接入设备为 DSLAM。
34、 根据权利要求 18至 33中任一项所述的装置, 其特征在于, 接入 端口管理单元接收到的虚拟 AN转发表项是由接入管理设备通过基于开放系 统互联 OS I模型中层三的第一控制协议或第一管理协议发送的;
当接入端口管理单元需要向第二接入设备发送第一转发表项或第二转 发表项时, 接入端口管理单元通过基于开放系统互联 0S I模型中层二的第二 控制协议或第二管理协议发送。
PCT/CN2013/083411 2012-09-12 2013-09-12 为光网络中的设备生成转发表项的方法和装置 Ceased WO2014040551A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP13837541.5A EP2887691B1 (en) 2012-09-12 2013-09-12 Method and device for generating forwarding entries for devices in optical network
EP18189487.4A EP3468219B1 (en) 2012-09-12 2013-09-12 Method and apparatus for generating forwarding entries for devices in optical network
PL13837541T PL2887691T3 (pl) 2012-09-12 2013-09-12 Sposób i urządzenie do generowania wpisów wysyłkowych dla urządzeń w sieci optycznej
ES13837541T ES2696205T3 (es) 2012-09-12 2013-09-12 Método y dispositivo para generar entradas de reenvío para dispositivos en red óptica
US14/656,167 US9525625B2 (en) 2012-09-12 2015-03-12 Method and apparatus for generating forwarding entries for devices in optical network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210336323.9 2012-09-12
CN201210336323.9A CN103686466B (zh) 2012-09-12 2012-09-12 为光网络中的设备生成转发表项的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/656,167 Continuation US9525625B2 (en) 2012-09-12 2015-03-12 Method and apparatus for generating forwarding entries for devices in optical network

Publications (1)

Publication Number Publication Date
WO2014040551A1 true WO2014040551A1 (zh) 2014-03-20

Family

ID=50277635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083411 Ceased WO2014040551A1 (zh) 2012-09-12 2013-09-12 为光网络中的设备生成转发表项的方法和装置

Country Status (7)

Country Link
US (1) US9525625B2 (zh)
EP (2) EP2887691B1 (zh)
CN (1) CN103686466B (zh)
ES (1) ES2696205T3 (zh)
PL (1) PL2887691T3 (zh)
PT (1) PT3468219T (zh)
WO (1) WO2014040551A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2966830A4 (en) * 2014-06-06 2016-01-20 Huawei Tech Co Ltd METHOD, DEVICE AND SYSTEM FOR INFORMATION EXCHANGE IN AN ACCESS NETWORK
EP3276894A4 (en) * 2015-03-24 2018-10-31 Nec Corporation Communication system, control apparatus, control method, and program

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769561B (zh) * 2012-06-28 2015-05-27 华为技术有限公司 在业务保护方案中减少丢包的方法和系统
CN103188109B (zh) * 2013-03-28 2018-08-10 南京中兴新软件有限责任公司 家庭网关的端口配置方法及装置
CN108566451B (zh) 2014-03-11 2021-05-14 华为技术有限公司 一种消息处理方法、接入控制器及网络节点
CN105790986A (zh) * 2014-12-23 2016-07-20 中兴通讯股份有限公司 光网络单元dpu设备管理方法、装置及系统
CN106357483B (zh) * 2015-07-17 2021-06-01 华为技术有限公司 消息传输方法、接入节点、接入控制器及接入系统
CN106921437B (zh) * 2015-12-28 2019-03-05 华为技术有限公司 一种在光接入网中建立虚拟接入节点的方法和设备
CN107666627A (zh) * 2016-07-28 2018-02-06 上海诺基亚贝尔股份有限公司 一种pon网络中数据转发控制方法及其装置
CN110301104B (zh) * 2017-02-28 2021-01-05 华为技术有限公司 一种光线路终端olt设备虚拟方法及相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499951A (zh) * 2008-02-01 2009-08-05 华为技术有限公司 隧道配置方法、虚拟接入节点、虚拟边缘节点以及系统
EP2209324A1 (en) * 2009-01-15 2010-07-21 BRITISH TELECOMMUNICATIONS public limited company Management of telecommunications connections
EP2362626A1 (en) * 2010-02-15 2011-08-31 British Telecommunications public limited company Telephone equipment powering a network node
EP2456189A1 (en) * 2010-11-23 2012-05-23 British Telecommunications Public Limited Company System for providing telephony and data services

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6532088B1 (en) * 1999-09-10 2003-03-11 Alcatel System and method for packet level distributed routing in fiber optic rings
JP4006169B2 (ja) * 2000-05-30 2007-11-14 株式会社日立製作所 ラベルスイッチング型パケット転送装置
JP4718764B2 (ja) * 2002-10-18 2011-07-06 株式会社日立製作所 光仮想ローカルエリアネットワークにおける経路制御方法、経路切替装置、切替器及び情報伝送方法
US7269348B1 (en) * 2002-11-18 2007-09-11 At&T Corp. Router having dual propagation paths for packets
US20040208570A1 (en) * 2003-04-18 2004-10-21 Reader Scot A. Wavelength-oriented virtual networks
US8990430B2 (en) * 2004-02-19 2015-03-24 Cisco Technology, Inc. Interface bundles in virtual network devices
CN100461732C (zh) * 2006-06-16 2009-02-11 华为技术有限公司 一种以太技术交换和转发的方法、系统和设备
EP1885139A1 (en) * 2006-08-02 2008-02-06 Nokia Siemens Networks Gmbh & Co. Kg Aggregation switch, method of operating an aggregation switch and corresponding computer program product
CN101299698B (zh) * 2007-04-30 2012-05-23 华为技术有限公司 通信代理的方法及装置及系统
CN101309207A (zh) 2007-05-15 2008-11-19 华为技术有限公司 通信代理的方法及装置及系统
CN101399749B (zh) * 2007-09-27 2012-04-04 华为技术有限公司 一种报文过滤的方法、系统和设备
US8737416B2 (en) * 2007-12-04 2014-05-27 At&T Intellectual Property I, L.P. Access link aggregator
JP5074314B2 (ja) * 2008-07-07 2012-11-14 株式会社日立製作所 フレーム転送装置
CN101686180A (zh) * 2008-09-28 2010-03-31 华为技术有限公司 数据传输方法及网络节点和数据传输系统
CN101931548B (zh) * 2009-06-24 2012-09-19 华为技术有限公司 一种接入网络标签管理方法、装置和系统
US8406622B2 (en) * 2009-08-06 2013-03-26 At&T Intellectual Property I, L.P. 1:N sparing of router resources at geographically dispersed locations
US8503289B2 (en) * 2010-03-19 2013-08-06 Brocade Communications Systems, Inc. Synchronizing multicast information for linecards
US8274973B2 (en) * 2010-03-24 2012-09-25 Cisco Technology, Inc. Virtual service domains
US8571408B2 (en) * 2010-04-22 2013-10-29 International Business Machines Corporation Hardware accelerated data frame forwarding
US20120008944A1 (en) * 2010-07-08 2012-01-12 Nec Laboratories America, Inc. Optical switching network
CN102971990B (zh) * 2011-05-19 2015-08-19 华为技术有限公司 一种生成隧道转发表项的方法和网络设备
US8606105B2 (en) * 2011-09-15 2013-12-10 Ciena Corporation Virtual core router and switch systems and methods with a hybrid control architecture
US9906380B2 (en) * 2014-08-03 2018-02-27 Oliver Solutions Ltd. Virtualization method for an access network system and its management architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499951A (zh) * 2008-02-01 2009-08-05 华为技术有限公司 隧道配置方法、虚拟接入节点、虚拟边缘节点以及系统
EP2209324A1 (en) * 2009-01-15 2010-07-21 BRITISH TELECOMMUNICATIONS public limited company Management of telecommunications connections
EP2362626A1 (en) * 2010-02-15 2011-08-31 British Telecommunications public limited company Telephone equipment powering a network node
EP2456189A1 (en) * 2010-11-23 2012-05-23 British Telecommunications Public Limited Company System for providing telephony and data services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2887691A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2966830A4 (en) * 2014-06-06 2016-01-20 Huawei Tech Co Ltd METHOD, DEVICE AND SYSTEM FOR INFORMATION EXCHANGE IN AN ACCESS NETWORK
US9941966B2 (en) 2014-06-06 2018-04-10 Huawei Technologies Co., Ltd. Method for information exchange in access network, apparatus, and system
EP3276894A4 (en) * 2015-03-24 2018-10-31 Nec Corporation Communication system, control apparatus, control method, and program
US10348623B2 (en) 2015-03-24 2019-07-09 Nec Corporation Communication system, control apparatus, control method and program

Also Published As

Publication number Publication date
EP2887691B1 (en) 2018-09-12
CN103686466B (zh) 2016-12-21
EP2887691A4 (en) 2015-08-19
PL2887691T3 (pl) 2019-01-31
PT3468219T (pt) 2020-06-17
US9525625B2 (en) 2016-12-20
ES2696205T3 (es) 2019-01-14
EP3468219A1 (en) 2019-04-10
EP2887691A1 (en) 2015-06-24
CN103686466A (zh) 2014-03-26
US20150188812A1 (en) 2015-07-02
EP3468219B1 (en) 2020-05-13

Similar Documents

Publication Publication Date Title
WO2014040551A1 (zh) 为光网络中的设备生成转发表项的方法和装置
US9455785B2 (en) Unified network management of hybrid fiber coaxial (HFC) network
US9130878B2 (en) Traffic switching in hybrid fiber coaxial (HFC) network
EP2037632B1 (en) Method, device and system for communication proxy
CN104917849B (zh) 一种消息处理方法、接入控制器及网络节点
US9918151B2 (en) Optical network unit, and communications system and method
US8665888B2 (en) Optical line terminal, method and system for packet transmission in optical communication system
CN108965497B (zh) 接入网虚拟化的方法及代理节点
WO2012100716A1 (zh) 在无源光网络中实现家庭网关功能的方法及装置
US12401540B2 (en) Method for indicating multicast forwarding entry and device
KR101376154B1 (ko) 수동형 광 네트워크 내에서 인터넷 프로토콜 버전 6 메세지 전송을 위한 방법, 시스템 및 장치
CN102714614B (zh) 无源光网络中数据的传输方法、用户侧设备和系统
WO2011095040A1 (zh) 无缝多协议标签交换网络中标签分配方法、装置和系统
WO2011153856A1 (zh) Pon系统中宽带业务配置方法和装置
WO2014194760A1 (zh) 一种onu、通信系统及onu通信方法
WO2016101525A1 (zh) 光网络单元dpu设备管理方法、装置及系统
WO2014206238A1 (zh) 光网络单元onu、光线路终端olt以及信息传输方法
CN106357483B (zh) 消息传输方法、接入节点、接入控制器及接入系统
WO2017012443A2 (zh) 消息传输方法、接入节点、接入控制器及接入系统
HK1169761A (zh) 一种同轴电缆媒体转换器及流量交换的方法

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013837541

Country of ref document: EP