CN110460917B - Method and system for realizing intercommunication of different users in PON access system - Google Patents
Method and system for realizing intercommunication of different users in PON access system Download PDFInfo
- Publication number
- CN110460917B CN110460917B CN201910625624.5A CN201910625624A CN110460917B CN 110460917 B CN110460917 B CN 110460917B CN 201910625624 A CN201910625624 A CN 201910625624A CN 110460917 B CN110460917 B CN 110460917B
- Authority
- CN
- China
- Prior art keywords
- vlan
- arp message
- arp
- olt
- access system
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0073—Provisions for forwarding or routing, e.g. lookup tables
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method and a system for realizing intercommunication of different users in a PON access system, relating to the field of PON access. The method comprises the following steps: configuring a QINQ domain on an OLT (optical line terminal), and setting an ARP (address resolution protocol) message control switch; when the switch is turned on, adding a same second VLAN to an ARP message which is sent by an ONU side and carries the first VLAN according to the configured QINQ domain, wherein the second VLAN is the same as the VLAN related to the PON access system and the BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN; and when the switch is closed, forwarding processing is carried out according to a second VLAN in the common QINQ scene. The invention can realize the communication between the same VLAN users at different PON ports under the same PON access system, and the communication between different VLAN users can not be realized, so that the users can communicate with the BRAS through the unified VLAN.
Description
Technical Field
The invention relates to the field of PON access, in particular to a method and a system for realizing intercommunication of different users in a PON access system.
Background
With the development of communication technology, a PON (Passive Optical Network) access technology uses an Optical fiber as an access mode, has the characteristics of high speed, large capacity, high security, and the like, and has become a core technology of an access Network. A telecom PON access Network is composed of an OLT (Optical Line Terminal), ONUs (Optical Network units), and ODNs (Optical Distribution networks), where the OLT hangs an ODN through a PON port on a Line card panel, and the ODN hangs a certain number of ONUs.
Due to the user scenario requirements, different ONUs in the same PON access system belong to different Local Area networks, which are also called VLANs (Virtual Local Area networks). It is a common function to realize that some users communicate according to the requirement of the operator, and some users cannot communicate. In the PON access system, according to the requirements of a telecom operator, data services of different users in the PON system are isolated from each other, and in order to solve the problem of intercommunication among different users, the PON access system usually adopts an ARP (Address Resolution Protocol) proxy (Address Resolution Protocol) that is started in the PON access system or an upper layer switch, and different users realize service intercommunication among different users through a three-layer routing forwarding function.
With the development of network services of operators, network topologies and networking scenarios of operators show diversified development trends, and some special application scenarios appear, for example, some operators require that not only the intercommunication of users under the same VLAN be realized on a PON Access system, but also the users under different VLANs cannot communicate, and at the same time, a unified VLAN planned by the operator needs to be used to interface with an upper Server, so as to realize the communication between users across the PON Access system, and the VLAN of the planned PON Access system of the operator, which communicates with a BRAS (Broadband Remote Access Server) device, is different from the VLAN corresponding to different local area networks under the PON Access system, as shown in fig. 1, ONU1 and ONU2 under OLT1 can communicate with each other, and ONU5 and ONU6 under OLT2 can communicate with each other; ONU1 and ONU2 under OLT1 are communicated with ONU4 under OLT 2; ONU3 under OLT1 interworks with ONU5 and ONU6 under OLT 2.
At present, the intercommunication of different users in a PON access system is mainly realized by an ARP proxy, for example, patents CN103685610B, CN102148766B, CN101594375A, and the like; patent 105307059a introduces details of implementing intercommunication of users through ARP proxy in QINQ scenario; the method for forwarding an ethernet packet by an access network according to a double-layer VLAN mentioned in patent CN1866916A mainly utilizes different values of the ethernet types of the inner-layer VLAN to enable an access node to conveniently and quickly determine the access user type of the packet, thereby simplifying the packet forwarding process of the access node and improving the packet forwarding efficiency of the access node.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
for the special application scenario of the PON access system proposed above, not only the same VLAN user intercommunication under the same OLT device but also the same VLAN user intercommunication under different OLT devices are implemented, that is, different OLTs communicate with the BRAS through the same VLAN. The existing solution is a method of passing through an L2VPN (Layer 2 Virtual Private Network), for example, patent CN108718276A, which proposes to distinguish by two layers of Label information to further implement user intercommunication, but the implementation of the method is too complex, and the requirement on device software and upper Layer devices is high, and it is necessary to support MPLS (Multi-Protocol Label Switching) L2VPN function, and there is no operability for PON access devices.
Disclosure of Invention
The present invention aims to overcome the defects of the background art, and provides a method and a system for realizing intercommunication of different users in a PON access system, which can realize communication between the same VLAN users at different PON ports in the same PON access system, and communication between different VLAN users is impossible, and all users communicate with a BRAS through a unified VLAN.
In a first aspect, a method for implementing interworking between different users in a PON access system is provided, which includes the following steps:
configuring a QINQ domain on an OLT (optical line terminal), and setting an ARP (address resolution protocol) message control switch;
when the ARP message control switch is started, adding a same second VLAN to an ARP message which is sent by an ONU side and carries a first VLAN on a line card of an OLT according to a configured QINQ domain, wherein the second VLAN is the same as VLANs related to a PON access system and BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN;
and when the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene.
According to the first aspect, in a first possible implementation manner of the first aspect, the OLT communicates with the BRAS device according to the second VLAN, specifically including the following steps:
and the switching chip which is controlled by the OLT receives the ARP message added with the second VLAN, and sends the ARP message to the BRAS equipment through the uplink port of the PON access system according to the second VLAN.
According to the first aspect, in a second possible implementation manner of the first aspect, the communicating with the ONU according to the first VLAN specifically includes the following steps:
and analyzing the information of the ARP message copied to the main control CPU and added with the second VLAN on the OLT, forwarding the ARP message to other users of the local area network corresponding to the first VLAN under the PON access system according to the first VLAN, interchanging the first VLAN and the second VLAN of the ARP message, and issuing three layers of routing table items to a main control switching chip.
According to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the forwarding the ARP packet to other users of the local area network corresponding to the first VLAN in the PON access system according to the first VLAN specifically includes the following steps:
and the master control CPU sends the ARP message added with the second VLAN to all line cards of the OLT according to the first VLAN, the line cards strip the second VLAN of the ARP message based on the configured QINQ domain, and the ARP message stripped of the second VLAN is sent to the local area network user corresponding to the first VLAN.
According to the second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the exchanging the first VLAN and the second VLAN of the ARP packet, and issuing a three-layer routing table entry to a master control switch chip specifically includes the following steps:
and for the ARP message added with the second VLAN is received for the first time, the main control CPU exchanges the first VLAN of the ARP message with the second VLAN, then adds an ARP software table entry and a hardware table entry and sends the ARP software table entry and the hardware table entry to a main control exchange chip.
In a second aspect, a PON access system for implementing interworking between different users is provided, including an OLT and an ONU suspended below the OLT, where the OLT includes a main control and a line card, the main control includes a CPU and an exchange chip, the OLT communicates with a BRAS device and the ONU respectively, and the OLT is configured to:
configuring a QINQ domain, and setting an ARP message control switch;
when the ARP message control switch is started, adding a same second VLAN to an ARP message which is sent by an ONU side and carries a first VLAN according to a configured QINQ domain, wherein the second VLAN is the same as VLANs related to a PON access system and BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN;
and when the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene.
According to the second aspect, in a first possible implementation manner of the second aspect, the communicating with the BRAS device according to the second VLAN specifically includes the following steps:
and the switching chip which is controlled by the OLT receives the ARP message added with the second VLAN, and sends the ARP message to the BRAS equipment through the uplink port of the PON access system according to the second VLAN.
According to the second aspect, in a second possible implementation manner of the second aspect, the communicating with the ONU according to the first VLAN specifically includes the following steps:
and for the ARP message which is copied to the main control CPU and added with the second VLAN, analyzing the information of the ARP message, forwarding the ARP message to other users of the local area network corresponding to the first VLAN under the PON access system according to the first VLAN, interchanging the first VLAN and the second VLAN of the ARP message, and issuing three layers of routing table items to a main control exchange chip.
According to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the forwarding the ARP packet to other users of the local area network corresponding to the first VLAN in the PON access system according to the first VLAN specifically includes the following steps:
and the master control CPU sends the ARP message added with the second VLAN to all line cards of the OLT according to the first VLAN, the line cards strip the second VLAN of the ARP message based on the configured QINQ domain, and the ARP message stripped of the second VLAN is sent to the local area network user corresponding to the first VLAN.
According to the second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the exchanging the first VLAN and the second VLAN of the ARP packet, and issuing a three-layer routing table entry to a master control switch chip specifically includes the following steps:
and for the ARP message added with the second VLAN is received for the first time, the main control CPU exchanges the first VLAN of the ARP message with the second VLAN, then adds an ARP software table entry and a hardware table entry and sends the ARP software table entry and the hardware table entry to a main control exchange chip.
Compared with the prior art, the invention has the following advantages:
the invention provides a simple and easy-to-operate method, configure QINQ field on OLT, increase ARP message control switch, under the condition that ARP message control switch is turned on, the master control CPU carries on the special treatment to the ARP message of the double-deck VLAN received, forward the ARP message to other users of the same local area network according to the first VLAN, and according to exchanging the first VLAN, second VLAN information, issue the three-layer routing information to the switching chip, and then realize the function of the user communication of the same local area network; under the condition that the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene, so that the equipment can be compatible with the user intercommunication function in the traditional QINQ scene, and the communication function of local area network users in a special scene can be met. The invention can realize the communication between the same VLAN users at different PON ports under the same PON access system, the communication between different VLAN users can not be realized, and all the users communicate with the BRAS through the unified VLAN.
Drawings
Fig. 1 is a schematic view of a scenario in which different users of a PON access system communicate with each other;
FIG. 2 is a flow chart of ARP message processing in an embodiment of the present invention;
fig. 3 is a processing flow chart of interworking between different users in the PON access system according to the embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the specific embodiments, it will be understood that they are not intended to limit the invention to the embodiments described. On the contrary, it is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims. It should be noted that the method steps described herein may be implemented by any functional block or functional arrangement, and that any functional block or functional arrangement may be implemented as a physical entity or a logical entity, or a combination of both.
In order that those skilled in the art will better understand the present invention, the following detailed description of the invention is provided in conjunction with the accompanying drawings and the detailed description of the invention.
Note that: the example to be described next is only a specific example, and does not limit the embodiments of the present invention necessarily to the following specific steps, values, conditions, data, orders, and the like. Those skilled in the art can, upon reading this specification, utilize the concepts of the present invention to construct more embodiments than those specifically described herein.
Fig. 1 is a networking scenario diagram of a PON access system applicable to the embodiment of the present invention, where VLANs corresponding to users in the same PON access system are different, for example, a part of the users correspond to a VLAN100, and a part of the users correspond to a VLAN 200, and meanwhile, different PON access systems are connected to an upper-layer BRAS server using the same VLAN, for example, VLAN 1000, and the users require that the same VLAN (users corresponding to VLAN100 or VLAN 200) located in the same PON access system or among different PON access systems can communicate, and the users in different VLANs cannot communicate with each other (users corresponding to VLAN100 and VLAN 200, for example).
In order to realize the purpose that the same VLAN users at different PON ports of the same PON access system cannot communicate with each other and different VLAN users cannot communicate with each other and all users communicate with a BRAS through a unified VLAN, considering the hardware and software architecture characteristics of the PON access system, an embodiment of the present invention provides a method for realizing the intercommunication of different users in the PON access system, which includes the following steps:
configuring a QINQ domain on an OLT (optical line terminal), and setting an ARP (address resolution protocol) message control switch;
when the ARP message control switch is started, adding a same second VLAN to an ARP message which is sent by an ONU side and carries a first VLAN on a line card of an OLT according to a configured QINQ domain, wherein the second VLAN is the same as VLANs related to a PON access system and BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN;
and when the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene.
The ARP agent in the common QINQ scene indicates that the ARP message on the OLT carries two layers of VLAN information, and the equipment carries out processing based on the outermost layer of VLAN. This section is the technology already implemented, and patent 105307059a details the specific implementation details, this section is not the subject of the present invention, the present invention emphasizes: by adding the ARP message control switch, the ARP message control switch can be switched, and two scenes mentioned in the text can be simultaneously supported.
As a preferred embodiment, the OLT communicates with the BRAS device according to the second VLAN, specifically including the steps of:
and the switching chip which is controlled by the OLT receives the ARP message added with the second VLAN, and sends the ARP message to the BRAS equipment through the uplink port of the PON access system according to the second VLAN.
As a preferred embodiment, the method for communicating with the ONU according to the first VLAN specifically includes the following steps:
and analyzing the information of the ARP message copied to the main control CPU and added with the second VLAN on the OLT, forwarding the ARP message to other users of the local area network corresponding to the first VLAN under the PON access system according to the first VLAN, interchanging the first VLAN and the second VLAN of the ARP message, and issuing three layers of routing table items to a main control switching chip.
The intercommunication of the ONU is realized, the ONU needs to learn the ARP table items of other ONUs in the first step, and the forwarding is controlled by a main control CPU; the control is based on the ARP proxy switch between the inner layer VLAN and the VLAN.
And analyzing the information of the ARP message copied to the main control CPU and added with the second VLAN on the OLT, and sending the ARP message to all slot ports according to the inner layer VLAN.
The main purpose of adding the second layer VLAN is to realize the communication with the BRAS, and carry out the second layer forwarding based on the VLAN, and realize the user communication under different OLTs under the BRAS.
Interchanging the first VLAN and the second VLAN of the ARP message, and sending a three-layer routing table item to a master control exchange chip, aiming at: learning ARP and forwarding ARP messages to achieve the aim that two ONUs learn ARP table items of an opposite end, and sending host table items to an exchange chip on an OLT based on the ARP messages to achieve three-layer forwarding between different ONUs through the exchange chip table items on the OLT, thereby achieving communication.
Aiming at a special scene in the embodiment of the invention, the embodiment of the invention starts a QINQ function on a PON access system, processes an ARP message of the QINQ of an uplink port forwarded by switching according to a normal scene, analyzes message information for the ARP message copied to a main control CPU on an OLT, replaces first VLAN (virtual local area network) and second VLAN information of the ARP message, forwards the ARP message to other users of a local area network corresponding to the first VLAN under the PON access system by using the first VLAN information, and sends three layers of routing table items to a switching chip under the main control, thereby realizing the intercommunication of users of the same local area network; meanwhile, in order to distinguish the user in the normal QINQ scene from forwarding the ARP packet according to the second VLAN, and further achieve intercommunication, the embodiment of the present invention provides a user communication method in which an ARP packet control switch is added to distinguish the special scene from the normal QINQ scene mentioned in the embodiment of the present invention.
As a preferred embodiment, forwarding the ARP packet to other users of the local area network corresponding to the first VLAN in the PON access system according to the first VLAN specifically includes the following steps:
and the master control CPU sends the ARP message added with the second VLAN to all line cards of the OLT according to the first VLAN, the line cards strip the second VLAN of the ARP message based on the configured QINQ domain, and the ARP message stripped of the second VLAN is sent to the local area network user corresponding to the first VLAN.
As a preferred embodiment, interchanging a first VLAN and a second VLAN of an ARP packet, and issuing a three-layer routing table entry to a master control switch chip specifically includes the following steps:
and for the ARP message added with the second VLAN is received for the first time, the main control CPU exchanges the first VLAN of the ARP message with the second VLAN, then adds an ARP software table entry and a hardware table entry and sends the ARP software table entry and the hardware table entry to a main control exchange chip.
The OLT learns the ARP table information of the ONU for the first time, and forwards an ARP message to the ONUs under all slot ports according to the inner layer VLAN;
when the ARP message of the ONU is not received for the first time, the OLT learns the corresponding ARP table entry, and the OLT responds instead and does not forward the message to all slot ports.
The embodiment of the invention configures a QINQ domain on an OLT, uniformly adds the same VLAN 1000 on a line card of the OLT for messages at a user side, ensures that an uplink message at an ONU side uses a second VLAN to communicate with a BRAS on the basis of carrying a corresponding VLAN, and uses a first VLAN to communicate with the ONU after a downlink ARP message strips information of the second VLAN.
An ARP message control switch is added to the master control for distinguishing different user intercommunication scenes of the PON access system under the special QINQ scene and the normal QINQ scene.
In the scene that an ARP message control switch is started, after a line card receives an ARP request message sent by an ONU side, a second VLAN is added according to a configured QINQ domain and is forwarded to a master control panel, a master control exchange receives the ARP message which is forwarded by the line card and carries a double-layer VLAN, the ARP message is forwarded to an uplink side according to the second VLAN, meanwhile, the ARP message carrying the first VLAN and the second VLAN is sent to a CPU of the master control panel for processing, the master control CPU exchanges the first VLAN with the second VLAN, software table items and hardware table items are issued, and whether the double-layer ARP message is forwarded to all slot positions according to the first VLAN is determined by an ARP proxy switch between VLANs corresponding to the first VLAN and the super-VLAN where the first VLAN is located based on the received ARP message.
Referring to fig. 2, a processing flow of the ARP packet on the line card of the OLT, the main control switching chip, and the main control CPU of the ONU and PON access system respectively includes the following steps:
step 1: the ONU1 sends the ARP packet carrying the first VLAN to the line card of the OLT.
Step 2: and the line card of the OLT adds a second VLAN for the ARP message carrying the first VLAN on the line card based on the configured QINQ domain, and the second VLAN is the same as the VLAN associated with the PON access system and the BRAS equipment. The line card sends the ARP message of the double-layer VLAN to a main control exchange chip for processing.
And step 3: after receiving the ARP message of the double-layer VLAN, the main control exchange chip forwards the ARP message according to a second VLAN, and sends the ARP message to the BRAS equipment through the upper connection disk of the PON access system.
And 4, step 4: and sending the ARP message carrying the double-layer VLAN to a main control CPU, replacing the information of the first VLAN and the second VLAN for the ARP message of the first received double-layer VLAN under the condition that an ARP message control switch is started, and adding ARP software and hardware table entry information according to the ARP message after the first VLAN and the second VLAN are replaced.
And 5: and for the ARP table entry learned for the first time, forwarding the ARP message to all slot positions of the PON access system according to the first VLAN.
Step 6: and the line card strips the second VLAN of the ARP message based on the configured QINQ domain, and sends the ARP message with the stripped second VLAN to a local area network user (ONU2) corresponding to the first VLAN.
Fig. 3 is a diagram for describing the processing flow of ARP packets from the network side and the ONU side at the PON line card, the main control switch chip, and the ARP protocol module, so as to implement the problem that the same VLAN users cannot communicate with each other and can communicate with the BRAS with the same VLAN in the same PON access system in a specific scenario in the embodiment of the present invention, and the specific implementation steps are as follows:
step S1: QINQ domains are configured in both OLT1 and OLT2 of a PON access system, the second VLAN is 1000, super-VLAN 1 is created on OLT1 and OLT2, IP addresses 1.1.1.1 and 1.1.1.254 are configured respectively, sub-VLAN VLANs 100 and 200 are bound by the super-VLANs of OLT1 and OLT2, and an ARP proxy switch in the VLAN is started.
The ARP message control switch mentioned in the text refers to a control switch for distinguishing the ARP message forwarded according to the outermost VLAN from the ARP message forwarded according to the intranet VLAN;
the ARP proxy switch in VLAN and the ARP proxy switch between VLANs are mainly used for controlling the forwarding of ARP messages and controlling whether users under different VLANs are communicated or not.
Step S2: the line card receives an ARP message which is sent by an ONU and carries a first VLAN (for example, the ARP message is sent by ONU1, the first VLAN is 100, the ARP message is sent by ONU3, the first VLAN is 200), the line card uniformly posts a second VLAN 1000 based on a configured QINQ field, and then the ARP message of a double-layer VLAN (the second VLAN 1000, the first VLAN100 or 200) is sent to a master switching chip.
Step S3: the main control exchange chip receives the ARP message carrying the double-layer VLAN, copies the ARP message carrying the double-layer VLAN to the main control CPU according to the service configuration of the user, sends the ARP message carrying the double-layer VLAN to the ARP protocol module for processing, and simultaneously forwards the ARP message carrying the double-layer VLAN to the uplink side.
Step S4: judging whether the ARP message received by an ARP module of the main control CPU is from the ONU side, if the ARP message received from the ONU side is the ARP message, the second VLAN is 1000, the first VLAN is VLAN100 or VLAN 200 carried on the ONU, and turning to the step S5; otherwise, the ARP message received from the uplink side goes to step S6.
Step S5: judging whether the ARP message control switch is started, if so, turning to the step S7; otherwise go to step S6.
Step S6: and for the ARP message of the QINQ received by the network side, the forwarding processing is carried out according to a second VLAN under a normal QINQ scene except that the ARP message of the QINQ needs to be copied to a main control CPU, issuing software and hardware table entry information.
Step S7: under the condition that the ARP message control switch is turned on, for the ARP message (a second VLAN (1000), a first VLAN (100) or 200) carrying the double-layer VLAN which is received for the first time, forwarding processing is carried out on the ARP message according to the first VLAN, the first VLAN and the second VLAN are interchanged, ARP software and hardware table entry information is issued based on the interchanged VLAN (at the moment, the second VLAN (100) or 200, the first VLAN (1000)), and the process goes to step S8.
Step S8: judging whether an inter-VLAN ARP proxy switch corresponding to the super-VLAN (the super-VLAN is 1) where the first VLAN (VLAN100 or 200) is located is started, if so, going to step S10, otherwise, going to step S9.
Step S9: comparing the first VLAN under the condition that an ARP proxy switch among VLANs is closed, and forwarding the ARP message if the received message VLAN is the same as the learned VLAN information for the ARP message; if not, then not all slots are forwarded to, and the process goes to step S11.
Step S10: and forwarding the ARP message to all slot ports according to the first VLAN under the condition that the ARP proxy switch among the VLANs is started, and turning to the step S11.
Step S11: the main control forwards a corresponding ARP message to a user side according to a first VLAN by learning an ARP message of a local area network user, and issues an ARP hardware table item to the main control exchange, and then different users of the same VLAN positioned under the same access system issue the ARP hardware table item of an exchange chip through the main control, thereby realizing communication through three-layer forwarding; for the intercommunication of users with the same VLAN which are not under the same access system, the communication is carried out through two-layer forwarding based on VLAN information carried by the ONU, namely, the ONU with the same VLAN under the same OLT communicates through three-layer forwarding, and the ONU with the same VLAN under different OLTs communicates through two-layer forwarding.
The embodiment of the invention provides a simple and easy-to-operate method, which replaces a first VLAN and a second VLAN information issuing hardware and software table entry by configuring a QINQ domain, forwards an ARP message according to the first VLAN, stores a normal QINQ scene and a database stored under the scene by adding an ARP message control switch, supports configuration recovery and main-standby switching, and ensures that the method is continuously effective after system restart or main-standby switching.
The embodiment of the invention also provides a PON access system for realizing the intercommunication of different users, which comprises an OLT and an ONU hung below the OLT, wherein the OLT comprises a main control and a line card, the main control comprises a CPU and an exchange chip, the OLT respectively communicates with the BRAS equipment and the ONU, and the OLT is used for:
configuring a QINQ domain, and setting an ARP message control switch;
when the ARP message control switch is started, adding the same second VLAN to the ARP message which is sent by the ONU side and carries the first VLAN on the line card according to the configured QINQ domain, wherein the second VLAN is the same as the VLAN related to the PON access system and the BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN;
and when the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene.
As a preferred embodiment, the method for communicating with the BRAS device according to the second VLAN specifically includes the following steps:
and the switching chip which is controlled by the OLT receives the ARP message added with the second VLAN, and sends the ARP message to the BRAS equipment through the uplink port of the PON access system according to the second VLAN.
As a preferred embodiment, the method for communicating with the ONU according to the first VLAN specifically includes the following steps:
and for the ARP message which is copied to the main control CPU and added with the second VLAN, analyzing the information of the ARP message, forwarding the ARP message to other users of the local area network corresponding to the first VLAN under the PON access system according to the first VLAN, interchanging the first VLAN and the second VLAN of the ARP message, and issuing three layers of routing table items to a main control exchange chip.
As a preferred embodiment, forwarding the ARP packet to other users of the local area network corresponding to the first VLAN in the PON access system according to the first VLAN specifically includes the following steps:
and the master control CPU sends the ARP message added with the second VLAN to all line cards of the OLT according to the first VLAN, the line cards strip the second VLAN of the ARP message based on the configured QINQ domain, and the ARP message stripped of the second VLAN is sent to the local area network user corresponding to the first VLAN.
As a preferred embodiment, interchanging a first VLAN and a second VLAN of an ARP packet, and issuing a three-layer routing table entry to a master control switch chip specifically includes the following steps:
and for the ARP message added with the second VLAN is received for the first time, the main control CPU exchanges the first VLAN of the ARP message with the second VLAN, then adds an ARP software table entry and a hardware table entry and sends the ARP software table entry and the hardware table entry to a main control exchange chip.
The embodiment of the invention needs to be realized by the configuration management, the ARP protocol module and the exchange chip module together. A QINQ domain on a PON access system belongs to the prior art and can be directly used, an ARP message control switch needs to be additionally arranged on a main control unit, and the ARP message control switch is turned on under the default condition. When receiving the ARP message of the user double-layer VLAN, the ARP protocol module determines whether to forward to all the slot positions according to the first VLAN of the received ARP message and the configuration of the user for the first time.
In addition, the embodiment of the invention supports the configuration of the storage equipment, restarts the equipment, and correspondingly processes the received ARP message information based on the configuration information of the equipment after the equipment is restarted, thereby realizing the intercommunication of different users of the PON access system and the intercommunication of users across the equipment.
Based on the same inventive concept, the embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements all or part of the method steps of the above method.
The present invention can implement all or part of the processes of the above methods, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the method.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (e.g., a sound playing function, an image playing function, etc.); the storage data area may store data (e.g., audio data, video data, etc.) created according to the use of the cellular phone. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (6)
1. A method for realizing intercommunication of different users in a PON access system is characterized by comprising the following steps:
configuring a QINQ domain on an OLT (optical line terminal), and setting an ARP (address resolution protocol) message control switch;
when the ARP message control switch is started, adding a same second VLAN to an ARP message which is sent by an ONU side and carries a first VLAN on a line card of an OLT according to a configured QINQ domain, wherein the second VLAN is the same as VLANs related to a PON access system and BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN;
when the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene;
the communication with the ONU according to the first VLAN specifically comprises the following steps:
for the ARP message which is copied to the main control CPU and added with the second VLAN, the information of the ARP message is analyzed on the OLT, the ARP message is forwarded to other users of a local area network corresponding to the first VLAN under the PON access system according to the first VLAN, the first VLAN and the second VLAN of the ARP message are exchanged, and three layers of routing table items are issued to a main control exchange chip;
the forwarding of the ARP packet to other users of the local area network corresponding to the first VLAN in the PON access system according to the first VLAN specifically includes the following steps:
and the master control CPU sends the ARP message added with the second VLAN to all line cards of the OLT according to the first VLAN, the line cards strip the second VLAN of the ARP message based on the configured QINQ domain, and the ARP message stripped of the second VLAN is sent to the local area network user corresponding to the first VLAN.
2. The method of claim 1, wherein: the OLT communicates with the BRAS equipment according to a second VLAN, and specifically comprises the following steps:
and the switching chip which is controlled by the OLT receives the ARP message added with the second VLAN, and sends the ARP message to the BRAS equipment through the uplink port of the PON access system according to the second VLAN.
3. The method of claim 1, wherein: the exchanging the first VLAN and the second VLAN of the ARP message, and sending the three-layer routing table items to the main control exchange chip specifically comprises the following steps:
and for the ARP message added with the second VLAN is received for the first time, the main control CPU exchanges the first VLAN of the ARP message with the second VLAN, then adds an ARP software table entry and a hardware table entry and sends the ARP software table entry and the hardware table entry to a main control exchange chip.
4. The utility model provides a PON access system that realizes different user intercommunications, includes OLT and the ONU that the OLT hangs down, and the OLT includes main control and ply-yarn drill, and the main control includes CPU and exchange chip, and the OLT communicates with BRAS equipment, ONU respectively, its characterized in that, the OLT is used for:
configuring a QINQ domain, and setting an ARP message control switch;
when the ARP message control switch is started, adding a same second VLAN to an ARP message which is sent by an ONU side and carries a first VLAN according to a configured QINQ domain, wherein the second VLAN is the same as VLANs related to a PON access system and BRAS equipment; for the ARP message added with the second VLAN, the OLT communicates with the BRAS equipment according to the second VLAN and communicates with the ONU according to the first VLAN;
when the ARP message control switch is closed, forwarding processing is carried out according to a second VLAN in a common QINQ scene;
the communication with the ONU according to the first VLAN specifically comprises the following steps:
for the ARP message which is copied to the main control CPU and added with the second VLAN, analyzing the information of the ARP message, forwarding the ARP message to other users of a local area network corresponding to the first VLAN under the PON access system according to the first VLAN, interchanging the first VLAN and the second VLAN of the ARP message, and issuing three layers of routing table items to a main control exchange chip;
the forwarding of the ARP packet to other users of the local area network corresponding to the first VLAN in the PON access system according to the first VLAN specifically includes the following steps:
and the master control CPU sends the ARP message added with the second VLAN to all line cards of the OLT according to the first VLAN, the line cards strip the second VLAN of the ARP message based on the configured QINQ domain, and the ARP message stripped of the second VLAN is sent to the local area network user corresponding to the first VLAN.
5. The system of claim 4, wherein: the communication with the BRAS device according to the second VLAN specifically includes the following steps:
and the switching chip which is controlled by the OLT receives the ARP message added with the second VLAN, and sends the ARP message to the BRAS equipment through the uplink port of the PON access system according to the second VLAN.
6. The system of claim 4, wherein: the exchanging the first VLAN and the second VLAN of the ARP message, and sending the three-layer routing table items to the main control exchange chip specifically comprises the following steps:
and for the ARP message added with the second VLAN is received for the first time, the main control CPU exchanges the first VLAN of the ARP message with the second VLAN, then adds an ARP software table entry and a hardware table entry and sends the ARP software table entry and the hardware table entry to a main control exchange chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625624.5A CN110460917B (en) | 2019-07-11 | 2019-07-11 | Method and system for realizing intercommunication of different users in PON access system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625624.5A CN110460917B (en) | 2019-07-11 | 2019-07-11 | Method and system for realizing intercommunication of different users in PON access system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110460917A CN110460917A (en) | 2019-11-15 |
CN110460917B true CN110460917B (en) | 2022-02-15 |
Family
ID=68482690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910625624.5A Active CN110460917B (en) | 2019-07-11 | 2019-07-11 | Method and system for realizing intercommunication of different users in PON access system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110460917B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339494B (en) * | 2022-01-05 | 2023-05-26 | 烽火通信科技股份有限公司 | Method and device for accessing Vlan aggregation service into MPLS in PON |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101568049A (en) * | 2009-06-01 | 2009-10-28 | 烽火通信科技股份有限公司 | EPON system, central office (CO) ends equipment and method for realizing voice intercommunication |
CN105307059A (en) * | 2015-09-23 | 2016-02-03 | 烽火通信科技股份有限公司 | System and method for achieving QinQ voice service intercommunication in PON |
CN105681151A (en) * | 2016-02-26 | 2016-06-15 | 上海斐讯数据通信技术有限公司 | Method and system for implementing QinQ, OTL device and electronic device |
CN107172101A (en) * | 2017-07-13 | 2017-09-15 | 无锡路通视信网络股份有限公司 | Port isolation and VLAN isolation switching methods and application in an epon |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100480366B1 (en) * | 2002-12-24 | 2005-03-31 | 한국전자통신연구원 | A system for VLAN configuration of E-PON and method thereof, its program stored recording medium |
-
2019
- 2019-07-11 CN CN201910625624.5A patent/CN110460917B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101568049A (en) * | 2009-06-01 | 2009-10-28 | 烽火通信科技股份有限公司 | EPON system, central office (CO) ends equipment and method for realizing voice intercommunication |
CN105307059A (en) * | 2015-09-23 | 2016-02-03 | 烽火通信科技股份有限公司 | System and method for achieving QinQ voice service intercommunication in PON |
CN105681151A (en) * | 2016-02-26 | 2016-06-15 | 上海斐讯数据通信技术有限公司 | Method and system for implementing QinQ, OTL device and electronic device |
CN107172101A (en) * | 2017-07-13 | 2017-09-15 | 无锡路通视信网络股份有限公司 | Port isolation and VLAN isolation switching methods and application in an epon |
Also Published As
Publication number | Publication date |
---|---|
CN110460917A (en) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111800326B (en) | Message transmission method and device, processing node and storage medium | |
CN106936777B (en) | Cloud computing distributed network implementation method and system based on OpenFlow | |
US12192057B2 (en) | Software defined access fabric without subnet restriction to a virtual network | |
EP3493508B1 (en) | Separation of control plane function and forwarding plane function of broadband remote access server | |
EP3681110B1 (en) | A region interconnect control using vrf tables across heterogeneous networks | |
CN112737690B (en) | Optical line terminal OLT equipment virtualization method and related equipment | |
CN107222353A (en) | The unrelated software defined network virtual management platform of supported protocol | |
EP3065350B1 (en) | Link discovery method, system and device | |
US7894437B2 (en) | Determining transmission port in a GPON network | |
CN111654765B (en) | Business service processing method and device and optical line terminal | |
CN109121026B (en) | Method and system for realizing VOLT (Voice over Internet protocol) based on logic port | |
CN109257266B (en) | Method for expanding PON local area network group based on VXLAN technology | |
JP5295273B2 (en) | Data stream filtering apparatus and method | |
CN109691026A (en) | Method and apparatus for updating multiple multiprotocol label switching (MPLS) two-way converting detection (BFD) sessions | |
CN108965134B (en) | Message forwarding method and device | |
CN106878480A (en) | A kind of DHCP service process sharing method and device | |
CN107306215A (en) | A kind of data processing method, system and node | |
CN110391961B (en) | Tunnel binding method, device and system | |
WO2020238564A1 (en) | Traffic processing method and related device, method and apparatus for establishing forwarding table, and storage medium | |
CN107454482A (en) | ONU type determines method and device, OLT | |
CN110460917B (en) | Method and system for realizing intercommunication of different users in PON access system | |
CN104836746B (en) | The method and device of PPPoE network message forwarding | |
CN108667729B (en) | SDN service isolation and routing method and device based on MPLS | |
CN117478457A (en) | Data forwarding method, device, communication system, storage medium and computer equipment | |
CN108989176A (en) | A kind of virtual machine exchange visit methods, devices and systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |