CN113365167B - Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment - Google Patents

Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment Download PDF

Info

Publication number
CN113365167B
CN113365167B CN202110765359.8A CN202110765359A CN113365167B CN 113365167 B CN113365167 B CN 113365167B CN 202110765359 A CN202110765359 A CN 202110765359A CN 113365167 B CN113365167 B CN 113365167B
Authority
CN
China
Prior art keywords
vlan
message
lan side
side equipment
olt
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
Application number
CN202110765359.8A
Other languages
Chinese (zh)
Other versions
CN113365167A (en
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.)
Bowei Technology Co ltd
Original Assignee
Bowei Technology 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 Bowei Technology Co ltd filed Critical Bowei Technology Co ltd
Priority to CN202110765359.8A priority Critical patent/CN113365167B/en
Publication of CN113365167A publication Critical patent/CN113365167A/en
Application granted granted Critical
Publication of CN113365167B publication Critical patent/CN113365167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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/0086Network resource allocation, dimensioning or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a dynamic adaptation method for LAN side equipment of a passive optical network system. The method comprises the following steps: the OLT sends a planning VLAN file to at least one ONU, wherein the planning VLAN file comprises a corresponding relation between a preset VLAN and an address identifier of the LAN side equipment; when the ONU receives the message from the LAN side device, adding a preset VLAN corresponding to the address identifier in the message from the LAN side device to the message from the LAN side device based on the address identifier in the message from the LAN side device and the planned VLAN file, and reporting the message from the LAN side device to the OLT based on the preset VLAN; and when the ONU receives the message issued by the OLT, issuing the message issued by the OLT to corresponding LAN side equipment based on the address identifier of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file based on the preset VLAN in the message issued by the OLT and the planning VLAN file, thereby realizing the dynamic adaptation of the LAN side equipment.

Description

Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment
Technical Field
The present disclosure relates to the field of passive optical Network technology, and more particularly, to a dynamic adaptation method for a passive optical Network system LAN (Local Area Network) side device.
Background
A passive Optical Network system generally includes an OLT (Optical Line Terminal) and an ONU (Optical Network Unit). The OLT is responsible for providing convergence and distribution of the two-layer service at the core network side, and the ONU is responsible for providing access and convergence functions of the two-layer service at the user side. In a PON (Passive Optical Network) system, an OLT configures different VLANs (Virtual Local Area networks) to issue an internet access channel, and configures the internet access channel to an ONU, where the ONU configures and controls a data forwarding behavior.
The traditional ONU network access configuration and implementation mode is that an OLT issues a fixed VLAN to an ONU, notifies the ONU of a data packet uploaded from a LAN side, marks the VLAN label and forwards the data packet from an ONU WAN side. Similarly, when the ONU WAN side receives the data packet with the VLAN label, the VLAN is stripped, and then the data is forwarded to the LAN side equipment through the corresponding LAN.
By adopting the traditional ONU port fixed internet access channel mode, when one LAN side of the ONU is accessed to a plurality of different types of equipment, the uploaded messages are all marked with the same VLAN label of the fixed port and then sent to the OLT, and VLAN separation of different equipment cannot be realized; when a plurality of LANs of the ONU access a plurality of different types of devices, the devices can only be connected to corresponding LAN terminals, and once the order is out of order, a logical error is brought, and the devices cannot operate normally. Therefore, when a large number of devices and various devices are networked, the existing port fixed internet access mode has a lot of inconvenience. Therefore, how to design an adaptive method capable of automatically identifying and networking different devices on the LAN side becomes a problem which is gradually emphasized in the field.
Therefore, there is a need to provide a dynamic adaptation method for LAN-side devices in a passive optical network system, so as to at least partially solve the problems in the prior art.
Disclosure of Invention
In this summary, concepts in a simplified form are introduced that are further described in the detailed description. This summary of the invention is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
In order to at least partially solve the above problem, in a first aspect, the present invention provides a method for dynamically adapting a device on a LAN side in a passive optical network system, where the method includes:
the OLT sends a planning VLAN file to at least one ONU, wherein the planning VLAN file comprises a corresponding relation between a preset VLAN and an address identifier of the LAN side equipment;
when the ONU receives the message from the LAN side device, adding a preset VLAN corresponding to the address identifier in the message from the LAN side device to the message from the LAN side device based on the address identifier in the message from the LAN side device and the planned VLAN file, and reporting the message from the LAN side device to the OLT based on the preset VLAN;
and when the ONU receives the message issued by the OLT, issuing the message issued by the OLT to the corresponding LAN side equipment based on the address identifier of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file based on the preset VLAN in the message issued by the OLT and the planning VLAN file.
Optionally, the address identifier in the planned VLAN is a MAC address of the LAN side device.
Optionally, the adding, to the message of the LAN side device, a preset VLAN corresponding to the address identifier in the message of the LAN side device based on the address identifier in the message of the LAN side device and the planned VLAN file, and reporting, to the OLT, the message of the LAN side device based on the preset VLAN includes:
adding a preset VLAN corresponding to the first three bytes or the first four bytes of the MAC address in the message of the LAN side equipment into the message of the LAN side equipment based on the MAC address in the message of the LAN side equipment and the planning VLAN file, and reporting the message of the LAN side equipment to the OLT based on the preset VLAN;
optionally, the issuing, based on the preset VLAN and the planned VLAN file in the message issued by the OLT, the message issued by the OLT to a corresponding LAN-side device based on the address identifier of the LAN-side device corresponding to the preset VLAN in the planned VLAN file includes:
and based on the preset VLAN and the planning VLAN file in the message issued by the OLT, issuing the message issued by the OLT to the corresponding LAN side equipment based on the first three bytes or the first four bytes of the MAC address of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file.
Optionally, the preset VLANs are at least two and include a default VLAN.
Optionally, the ONU is an SFU-type ONU.
Optionally, the format of the message is UNTAG.
In a second aspect, the present invention further provides a device for dynamically adapting a LAN-side device in a passive optical network system, including:
the device configuration module is used for configuring the corresponding relation between a preset VLAN and the address identifier of the LAN side device;
and the dynamic adaptation module is used for identifying the corresponding relation between the preset VLAN and the address identifier of the LAN side equipment.
In a third aspect, the present invention further provides an electronic device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the steps of the method for dynamically adapting a passive optical network system according to the first aspect when executing the computer program stored in the memory.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for dynamically adapting a passive optical network system according to any of the foregoing aspects of the first aspect.
In summary, the present application provides a dynamic adaptation method for passive optical network LAN device, sending a mapping VLAN file containing a VLAN and an address identifier of the LAN device to at least one ONU through the OLT, and when the ONU receives a message from the LAN device, based on the address identifier in the message of the LAN side device and the planned VLAN file, adding a preset VLAN corresponding to the address identifier in the message of the LAN side equipment into the message of the LAN side equipment, reporting the message of the LAN side equipment to the OLT based on the preset VLAN, realizing dynamic identification of different equipment based on different VLANs corresponding to different equipment, therefore, when the equipment is installed, the LAN side port is not required to be matched with the specific equipment and can be installed at will, the background can realize flexible networking, the difficulty of the installation process is reduced, and the fault tolerance of installation is improved. Accordingly, the electronic device and the computer-readable storage medium provided by the embodiment of the invention also have the technical effects described above.
Other advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the specification. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic structural diagram of a possible passive optical network system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a possible dynamic adaptation process of a passive optical network system LAN-side device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a hardware structure of a possible dynamic adaptation protection device for a passive optical network system LAN side device according to an embodiment of the present application;
fig. 4 is a schematic structural block diagram of a possible passive optical network system LAN-side device dynamic adaptation electronic device provided in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a dynamic adaptation method for LAN side equipment of a passive optical network system and related equipment, which can realize automatic adaptation and flexible networking of the LAN side equipment.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
Referring to fig. 1, a schematic diagram of a possible passive optical network system structure provided in an embodiment of the present application may specifically include:
the OLT 11 is used for connecting with a network cable for a convergence layer switch, converting the network cable into an optical signal, interconnecting a single optical fiber with an optical splitter of a user side to realize control, management and distance measurement of user side equipment ONU, and issuing a planning VLAN file to the ONU;
and the optical splitter 12 is used for connecting the OLT and the ONU, distributing downlink data and integrating uplink data. The optical splitter is provided with an uplink optical interface and at least one downlink optical interface;
the ONU 13 is configured to selectively receive a broadcast sent by the OLT, and further configured to collect and buffer ethernet data that needs to be sent by a user, and send the buffered data to the OLT according to the allocated sending window;
the LAN-side device 14 is an electronic device connected to the LAN side, and includes: a PC 141, a wireless AP 142, a camera 143;
in summary, the passive optical network system provided in the above embodiment only needs to install one passive optical splitter to realize information transmission between the OLT and the ONU, and the passive optical network is a pure medium network, so that electromagnetic interference and lightning influence of external devices are avoided, the failure rate of lines and external devices is reduced, and the system reliability is improved.
The structure of the passive optical network system in the embodiment of the present application is described above, and the method for dynamically adapting the LAN-side device in the passive optical network system in the embodiment of the present application is described below.
Referring to fig. 2, a flowchart of a dynamic adaptation method for a LAN-side device of a passive optical network system in an embodiment of the present application may include: S210-S230.
And S210, the OLT sends the planning VLAN file to the ONU.
Specifically, the planned VLAN file includes a correspondence between a preset VLAN and an address identifier of the LAN side device. For example, VLAN 10, VLAN20, and VLAN 30 are three VLAN channels configured by the OLT, where VLAN 10 corresponds to an address identifier of a PC device on the LAN side, VLAN20 corresponds to an address identifier of a wireless AP device on the LAN side, and VLAN 30 corresponds to an address identifier of a camera device on the LAN side. And the ONU receives the planning VLAN file and stores the file in ONU equipment.
And S220, when the ONU receives the message from the LAN-side device, adding a preset VLAN corresponding to the address identifier in the message from the LAN-side device to the message from the LAN-side device based on the address identifier in the message from the LAN-side device and the planned VLAN file, and reporting the message from the LAN-side device to the OLT based on the preset VLAN.
Specifically, a PC or other network device accesses the LAN side of an ONU, and the device sends a message to the ONU. And extracting the address identification from the message. Comparing the obtained address identifier with the address identifier in the planning VLAN; and if the message address identification is consistent with the PC equipment, adding the message into the VLAN 10, if the message address identification is consistent with the wireless AP equipment, adding the message into the VLAN20, and if the message address identification is consistent with the camera, adding the message into the VLAN 30. And reporting the message with the preset VLAN to the OLT through a preset VLAN address.
And S230, when the ONU receives the message sent by the OLT, based on a preset VLAN in the message sent by the OLT and the planning VLAN file, sending the message sent by the OLT to the corresponding LAN equipment based on the address identifier of the LAN equipment corresponding to the preset VLAN in the planning VLAN file.
Specifically, the OLT issues a message with the preset VLAN to the ONU. And extracting the address identification from the message. Comparing the obtained address identifier with the address identifier in the planning VLAN; if the message address is identified as VLAN 10, VLAN 10 is removed from the message, and the target device is a PC; if the message address is identified as VLAN20, removing the VLAN20 from the message; the target device is a wireless AP, and if the message address is identified to be VLAN 30, the VLAN 30 is removed from the message; the target device is a wireless camera. And issuing the message issued by the OLT to the corresponding LAN side equipment based on the address identifier of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file.
In order to dynamically adapt to the LAN-side device quickly and accurately, the application protection method may further include:
in the above method for dynamically adapting a passive optical network system, the address identifier in the planned VLAN is the MAC address of the LAN side device.
Specifically, one electronic device has an IP address and an MAC address in a network, the same VLAN is marked on data uploaded by the same LAN port, separation of different devices cannot be achieved, different devices have different MAC addresses, and the devices can be distinguished by using the MAC addresses as address identifiers.
According to some embodiments, the MAC address further includes:
the above-mentioned address label and above-mentioned planning VLAN file in the message based on the above-mentioned LAN side apparatus, add the correspondent preset VLAN of address label in the message of the above-mentioned LAN side apparatus, report the message of the above-mentioned LAN side apparatus to the above-mentioned OLT based on the above-mentioned preset VLAN, include:
adding a preset VLAN corresponding to the first three bytes or the first four bytes of the MAC address in the message of the LAN side equipment into the message of the LAN side equipment based on the MAC address in the message of the LAN side equipment and the planning VLAN file, and reporting the message of the LAN side equipment to the OLT based on the preset VLAN;
specifically, the network devices have a commonality, and the first three bytes or the first four bytes of the device MAC mark the device manufacturer, so that we can read the device manufacturer from the source MAC of the ONU upstream packet, and the first three bytes of the MAC are the same, we can determine that the device is the same type of device, and then print a corresponding device planning VLAN, for example: the LAN 1 port of ONU receives the message, and the MAC address of PC is: 02:22:22: XX: XX: XX, the first three bytes represent manufacturers, the message configures VLAN 10, and the MAC address of the wireless AP is as follows: 02:33:33: XX, the first three bytes represent the vendor, and the message configures VLAN 20. The LAN2 port of ONU receives the message, and the MAC address of PC is: 02:22:22: XX) configures VLAN 10, and the MAC address of the wireless AP is: 02:33:33: XX configures VLAN 20.
According to some embodiments, the above method for dynamically adapting a passive optical network system may further include;
the preset VLANs are at least two and comprise a default VLAN.
Specifically, three VLAN channels may be preset, where VLAN 10 is a PC device channel, VLAN20 is a wireless Ap device channel, and a default VLAN is a variety of other device channels.
According to some embodiments, the above method for dynamically adapting a passive optical network system may further include:
the ONU is an SFU-type ONU.
According to some embodiments, the above method for dynamically adapting a passive optical network system may further include:
the format of the message is UNTAG.
The above describes the dynamic adapting method for the LAN side device of the passive optical network system in the embodiment of the present application, and the following describes the dynamic adapting apparatus for the LAN side device of the passive optical network system in the embodiment of the present application.
Referring to fig. 3, an embodiment of a dynamic adapting apparatus for a LAN-side device of a passive optical network system in the embodiment of the present application may include:
a device configuration module 401, configured to configure a correspondence between a preset VLAN and an address identifier of a LAN-side device, where different VLANs correspond to different LAN-side devices;
a dynamic adaptation module 402, configured to identify a correspondence between a preset VLAN and an address identifier of a LAN-side device.
In summary, the dynamic adapting apparatus for LAN side devices in a passive optical network system provided in the above embodiments includes a device configuration module, configured to configure a corresponding relationship between a preset VLAN and an address identifier of the LAN side device, and a dynamic adaptation module, configured to identify the corresponding relationship between the preset VLAN and the address identifier of the LAN side device, so that dynamic adaptation of the LAN side device can be implemented, it is not necessary to ensure that the devices and the LAN side ports correspond to each other one by one according to a predetermined matching rule in a device installation stage, the devices and the LAN side ports can be installed at will, a background can implement flexible networking, difficulty in an installation process is reduced, and an installation fault tolerance is improved.
Referring to fig. 4, fig. 4 is a schematic view of an embodiment of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 4, an electronic device according to an embodiment of the present application further includes a memory 410, a processor 420, and a computer program 411 stored in the memory 420 and running on the processor, where the processor 420 executes the computer program 411 to implement the steps of any one of the methods of the LAN-side device dynamic adaptation system method.
Since the electronic device described in this embodiment is a device used for implementing an application protection apparatus in this embodiment, based on the method described in this embodiment, a person skilled in the art can understand the specific implementation manner of the electronic device of this embodiment and various variations thereof, so that how to implement the method in this embodiment by the electronic device is not described in detail herein, and as long as the person skilled in the art implements the device used for implementing the method in this embodiment, the device is within the scope of the present application.
In a specific implementation, the computer program 411 may implement any of the embodiments corresponding to fig. 2 when executed by a processor.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 computer, 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.
An embodiment of the present application further provides a computer program product, where the computer program product includes computer software instructions, and when the computer software instructions are run on a processing device, the processing device is caused to execute the flow in the application protection method in the embodiment corresponding to fig. 2.
The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). A computer-readable storage medium may be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; however, such modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A dynamic adaptation method for LAN side equipment of a passive optical network system comprises the following steps:
the OLT sends a planning VLAN file to at least one ONU, wherein the planning VLAN file comprises a corresponding relation between a preset VLAN and an address identifier of the LAN side equipment;
when the ONU receives the message of the LAN side equipment, adding a preset VLAN corresponding to the address identifier in the message of the LAN side equipment into the message of the LAN side equipment based on the address identifier in the message of the LAN side equipment and the planning VLAN file, and reporting the message of the LAN side equipment to the OLT based on the preset VLAN;
and when the ONU receives the message issued by the OLT, issuing the message issued by the OLT to the corresponding LAN side equipment based on the address identifier of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file based on the preset VLAN in the message issued by the OLT and the planning VLAN file.
2. The method of claim 1, wherein the address identification in the planned VLAN is a MAC address of the LAN-side device.
3. The method of claim 2,
the adding, to the message of the LAN side device, a preset VLAN corresponding to the address identifier in the message of the LAN side device based on the address identifier in the message of the LAN side device and the planning VLAN file, and reporting, to the OLT, the message of the LAN side device based on the preset VLAN, includes:
and adding a preset VLAN corresponding to the first three bytes or the first four bytes of the MAC address in the message of the LAN side equipment into the message of the LAN side equipment based on the MAC address in the message of the LAN side equipment and the planning VLAN file, and reporting the message of the LAN side equipment to the OLT based on the preset VLAN.
4. The method of claim 2,
the issuing of the message issued by the OLT to the corresponding LAN side equipment based on the address identifier of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file based on the preset VLAN in the message issued by the OLT and the planning VLAN file comprises the following steps:
and based on a preset VLAN and the planning VLAN file in the message issued by the OLT, issuing the message issued by the OLT to the corresponding LAN side equipment based on the first three bytes or the first four bytes of the MAC address of the LAN side equipment corresponding to the preset VLAN in the planning VLAN file.
5. The method of claim 1 wherein the predetermined VLANs are at least two and include a default VLAN.
6. The method of claim 1, wherein the ONUs are SFU-type ONUs.
7. The method of claim 1, wherein the format of the message is UNTAG.
8. A passive optical network system LAN side device dynamic adaptation apparatus, for use in the method of any one of claims 1-7, comprising:
the device configuration module is used for configuring the corresponding relation between a preset VLAN and the address identifier of the LAN side device;
and the dynamic adaptation module is used for identifying the corresponding relation between the preset VLAN and the address identifier of the LAN side equipment.
9. An electronic device, comprising: memory, processor and computer program stored in the memory and executable on the processor, characterized in that the processor is configured to implement the steps of the passive optical network system dynamic adaptation method according to any of claims 1-7 when executing the computer program stored in the memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a processor, implements the passive optical network system dynamic adaptation method as claimed in any one of claims 1-7.
CN202110765359.8A 2021-07-06 2021-07-06 Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment Active CN113365167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110765359.8A CN113365167B (en) 2021-07-06 2021-07-06 Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110765359.8A CN113365167B (en) 2021-07-06 2021-07-06 Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment

Publications (2)

Publication Number Publication Date
CN113365167A CN113365167A (en) 2021-09-07
CN113365167B true CN113365167B (en) 2022-08-12

Family

ID=77538429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110765359.8A Active CN113365167B (en) 2021-07-06 2021-07-06 Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment

Country Status (1)

Country Link
CN (1) CN113365167B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100337450C (en) * 2002-08-05 2007-09-12 华为技术有限公司 Communication method between virtual local area webs
CN101114879B (en) * 2007-08-22 2013-08-21 沈成彬 Link failure diagnosis device of hand-hold passive optical network
CN101409685B (en) * 2008-12-01 2010-10-27 杭州华三通信技术有限公司 Forwarding method based on virtual LAN mapping and access equipment
US9130878B2 (en) * 2011-04-05 2015-09-08 Broadcom Corporation Traffic switching in hybrid fiber coaxial (HFC) network
CN102394776B (en) * 2011-11-02 2014-05-14 深圳市共进电子股份有限公司 Method for OLT to carry out dynamic network configuration on ONU in passive optical network
CN107509128B (en) * 2017-08-16 2020-04-07 中国联合网络通信集团有限公司 Method and system for accessing core network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal

Also Published As

Publication number Publication date
CN113365167A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US9287982B2 (en) DPOE system and service auto-configuration method and network based thereon
US9432411B2 (en) Residential gateway
US10374714B2 (en) Method for online switching of operation mode of ONT, ONT and OLT
US20160134473A1 (en) Methods and Apparatus to Convert Router Configuration Data
JP4744429B2 (en) Extended maintenance domain level management method, communication apparatus, program, and data structure
US8406627B2 (en) Stacking of units in a passive optical network
KR20200037368A (en) Communication method, communication device and storage medium
CN101904150A (en) Ethernet connectivity fault management with user verification option
EP3128697B1 (en) Method and device for instructing multicast forwarding entry
CN108418907A (en) IP address distribution method and device
CN112333733A (en) Network connection establishing method and electronic equipment
US11102080B2 (en) Network layer method of configuration of a bare-metal server in a virtual network
EP3086508B1 (en) Fiber-to-the-distribution point device and communication method therefor
US20180367427A1 (en) Method for performing connectivity check and apparatus
CN113365167B (en) Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment
CN107547341B (en) Access method and device of virtual extensible local area network VXLAN
CN101764789B (en) A kind of method of reporting port information of access equipment and access device
CN105516029A (en) Network grouping system and network grouping method thereof
US11967985B2 (en) Optical communication device and communication system
CN107979546B (en) Method and device for processing multiple OpenFlow connections
CN116112835A (en) ONU user port automatic configuration method and related equipment
US20230179509A1 (en) Communication device, communication method, communication system, and program
KR100651720B1 (en) Method for magnaging states of Boards and Ports in EPON-based Passive Optical Equipment
CN116389387A (en) Multi-node server, out-of-band management controller and data forwarding method
CN117768810A (en) Registration method of optical network unit, optical line terminal, optical network unit and medium

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