CN116112835A - ONU user port automatic configuration method and related equipment - Google Patents

ONU user port automatic configuration method and related equipment Download PDF

Info

Publication number
CN116112835A
CN116112835A CN202310128686.1A CN202310128686A CN116112835A CN 116112835 A CN116112835 A CN 116112835A CN 202310128686 A CN202310128686 A CN 202310128686A CN 116112835 A CN116112835 A CN 116112835A
Authority
CN
China
Prior art keywords
onu
equipment
vlan
bits
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310128686.1A
Other languages
Chinese (zh)
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 CN202310128686.1A priority Critical patent/CN116112835A/en
Publication of CN116112835A publication Critical patent/CN116112835A/en
Pending legal-status Critical Current

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
    • 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/0079Operation or maintenance aspects

Abstract

The invention discloses an ONU user port automatic configuration method and related equipment, relates to the field of passive optical networks, and mainly aims to solve the problem that service errors are caused because ONU port services of a configured passive optical network cannot be accurately corresponding to access equipment frequently. The method comprises the following steps: the ONU automatically acquires the first 24 bits of the Mac address of the self port down-hanging device; the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device. The method and the device are used for the ONU user port automatic configuration process.

Description

ONU user port automatic configuration method and related equipment
Technical Field
The present invention relates to the field of passive optical networks, and in particular, to an ONU user port automatic configuration method and related devices.
Background
A passive optical network system is typically composed of an optical line terminal (OLT: optical Line Terminal) and an optical network unit (ONU: optical Network Unit). The system can be applied to an operator network and an enterprise network. 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 an enterprise network, different VLANs are allocated to PC internet surfing services, wireless APs and monitoring cameras so as to isolate services from each other. Under normal conditions, after the configuration of each Ethernet port on the ONU is determined in advance through network planning, IT operators make corresponding configuration on each port of the ONU on the OLT, and constructors have to hang down equipment on the corresponding port according to the planning so as to ensure that different equipment data services hung down by the ONU carry different VLAN information, thereby achieving the purpose of isolating the services from each other.
Therefore, before the engineering is implemented, IT is necessary for IT personnel and constructors to communicate with each other, so that the constructors can understand the type of equipment to which each port should be connected. The constructor must connect the equipment strictly according to the rule, so that the accuracy of equipment connection is ensured, otherwise, the service is not enabled. Meanwhile, in the construction process, because the network design can be changed, IT is required to be frequently communicated with constructors, so that problems in the debugging process are numerous, the construction efficiency is low, the construction progress is greatly influenced, in the later maintenance process, the situation that ports are manually inserted by mistake in the maintenance process often occurs, and thus, the service is interrupted.
Disclosure of Invention
In view of the above problems, the present invention provides an ONU user port automatic configuration method and related devices, and is mainly aimed at solving the problem that the configured ONU port service of the passive optical network and the access device often cannot be accurately corresponding, resulting in service error.
To solve at least one of the above technical problems, in a first aspect, the present invention provides an ONU user port automatic configuration method, where the method includes:
the ONU automatically acquires the first 24 bits of the Mac address of the self port down-hanging device;
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device.
Optionally, the method further comprises:
and setting the initial state of the ONU port as VLAN IDs corresponding to all configurable equipment types.
Optionally, the method further comprises:
in case of detecting that there are a plurality of ONUs, the ONUs receive a binding command sent by the OLT based on the multicast path to configure VLAN IDs of their own ONU ports.
Alternatively to this, the method may comprise,
the automatic configuration command sent by the OLT includes a basic information mapping table corresponding to the target ONU,
the basic information mapping table includes the type of equipment that the target ONU can downhook, VLAN ID corresponding to the type of equipment, and mapping relation of first 24 bits of Mac address of equipment.
Optionally, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device, including:
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table.
Optionally, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table, including:
under the condition of receiving an automatic configuration command sent by the OLT, the ONU automatically acquires the first 24 bits of the Mac address of the target equipment hung by the ONU;
the ONU determines the equipment type of the target equipment and the VLAN ID corresponding to the equipment type of the target equipment based on the first 24 bits of the Mac address of the target equipment and the basic information mapping table;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
Optionally, the method further comprises:
the ONU acquires an information format sent by equipment hung under the ONU;
the ONU determines the equipment type and the VLAN ID corresponding to the equipment type based on the information format;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
In a second aspect, an embodiment of the present invention further provides an ONU user port automatic configuration device, including:
the acquisition unit is used for automatically acquiring the front 24 bits of the Mac address of the self-port down-hanging equipment by the ONU;
and the configuration unit is used for the ONU to automatically configure the VLAN ID of the ONU port associated with the equipment based on the first 24 bits of the Mac address of the equipment.
In order to achieve the above object, according to a third aspect of the present invention, there is provided a computer-readable storage medium including a stored program, wherein the steps of the ONU user port automatic configuration method described above are implemented when the program is executed by a processor.
In order to achieve the above object, according to a fourth aspect of the present invention, there is provided an electronic device including at least one processor, and at least one memory connected to the processor; the processor is configured to call the program instruction in the memory, and execute the step of the ONU user port automatic configuration method.
By means of the technical scheme, the ONU user port automatic configuration method and the related equipment provided by the invention can be used for automatically acquiring 24 front bits of Mac address of the self-port down-hanging equipment through the ONU, wherein the ONU port service of the configured passive optical network and the access equipment can not be accurately corresponding frequently, so that service errors are caused; the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device. In the scheme, the method for automatically identifying the front 24 bits of the Mac address of the ONU down-hanging equipment is introduced to realize the automatic configuration of ONU port service. Therefore, the problems of more debugging problems and long construction period caused by mismatching of the service of port configuration and the hanging equipment in the engineering construction process are solved. Meanwhile, the problem of service interruption caused by port misplacement due to human reasons in the later maintenance can be solved.
Correspondingly, the ONU user port automatic configuration device, the ONU user port automatic configuration equipment and the ONU user port automatic configuration computer readable storage medium have the technical effects.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
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 invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows a flow chart of an ONU user port automatic configuration method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram illustrating a composition of an ONU user port automatic configuration device according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of an ONU user port auto-configuration electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to solve the problem that the configured ONU port service of the passive optical network cannot be accurately corresponding to the access device frequently, and service errors are caused, an embodiment of the present invention provides an ONU user port automatic configuration method, as shown in fig. 1, the method includes:
s101, the ONU automatically acquires the first 24 bits of the Mac address of the self port down-hanging device;
the Mac address is an address used in the Mac layer, that is, a physical address of the network card, where the first 24 bits of the Mac address are vendor addresses applied to IEEE by a manufacturer, and the last 24 bits are defined by the manufacturer, so that the ONU can determine the manufacturer and the device type of the device to be connected by automatically acquiring the first 24 bits of the Mac address of the device to be connected under its own port.
S102, the ONU automatically configures VLAN IDs of ONU ports associated with the equipment based on the first 24 bits of the Mac address of the equipment.
In an enterprise network, different VLANs are distributed to PC internet surfing services, wireless AP, monitoring cameras and the like to achieve mutual isolation of services, and the VLAN attribute corresponding to the type of equipment to be hung down at each port of an ONU is matched with the corresponding ONU port by automatically judging the first 24 bits of the Mac address of the equipment, so that different VLAN information is carried by different equipment data services hung down at the ONU, and the purpose of mutual isolation of the services is achieved.
By means of the technical scheme, the ONU user port automatic configuration method provided by the invention automatically acquires 24 front bits of the Mac address of the self-port down-hanging device through the ONU, and solves the problem that the service error is caused by the fact that ONU port service of the configured passive optical network and access device cannot be accurately corresponding frequently; the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device. In the scheme, the method for automatically identifying the front 24 bits of the Mac address of the ONU down-hanging equipment is introduced to realize the automatic configuration of ONU port service. Therefore, the problems of more debugging problems and long construction period caused by mismatching of the service of port configuration and the hanging equipment in the engineering construction process are solved. Meanwhile, the problem of service interruption caused by port misplacement due to human reasons in the later maintenance can be solved.
In one embodiment, the method further comprises:
and setting the initial state of the ONU port as VLAN IDs corresponding to all configurable equipment types.
Illustratively, on the OLT side, a data service path corresponding to all types of devices is configured for a port of each ONU. The data traffic path includes VLAN ID information. When the device is not connected to the port, all data paths are not used for forwarding the data message by default. Thereby giving the ONU port the ability to configure VLAN IDs for all types of devices.
In one embodiment, the method further comprises:
in case of detecting that there are a plurality of ONUs, the ONUs receive a binding command sent by the OLT based on the multicast path to configure VLAN IDs of their own ONU ports.
Illustratively, the method adds a one-key binding command to the OLT, and after the OLT executes the command, the OLT sends the binding command to the multicast path. Based on the characteristics of PON technology, all ONU's can receive the message sent from the OLT multicast channel, and send the message to all ONU's, and a multicast message can be sent to all ONU's simultaneously by adopting the multicast channel, thereby realizing the simplification and rapidness of message transmission.
In one embodiment of the present invention, in one embodiment,
the automatic configuration command sent by the OLT includes a basic information mapping table corresponding to the target ONU,
the basic information mapping table includes the type of equipment that the target ONU can downhook, VLAN ID corresponding to the type of equipment, and mapping relation of first 24 bits of Mac address of equipment.
Illustratively, the ONU receives a one-key binding command sent by the OLT based on the multicast path to configure the VLAN ID of its ONU port. This mapping message is a proprietary protocol that requires both the ONU and the OLT to support.
In one embodiment, the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device, including:
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table.
Illustratively, when a device is connected to an ONU, the ONU learns the Mac address of the device, and compares the first 24 bits of the learned Mac address with the local basic information mapping table of the ONU, so as to match the VLAN ID of the ONU port connected to the device with the device.
In one embodiment, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table, including:
under the condition of receiving an automatic configuration command sent by the OLT, the ONU automatically acquires the first 24 bits of the Mac address of the target equipment hung by the ONU;
the ONU determines the equipment type of the target equipment and the VLAN ID corresponding to the equipment type of the target equipment based on the first 24 bits of the Mac address of the target equipment and the basic information mapping table;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
When the device is connected to the ONU, the ONU learns the Mac address of the device, and by comparing the first 24 bits of the learned Mac address with the local basic information mapping table of the ONU, the ONU can obtain the corresponding VLAN ID information, and then the ONU configures the VLAN ID of all the data traffic channels configured on the port, so that the VLAN ID of the ONU port connected to the device matches with the device, and when the VLAN IDs are the same, the ONU enables the forwarding capability of the data traffic channels, so that the ONU can implement the data transmission capability of the device of this type.
In one embodiment, the method further comprises:
the ONU acquires an information format sent by equipment hung under the ONU;
the ONU determines the equipment type and the VLAN ID corresponding to the equipment type based on the information format;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
Illustratively, the ONU further has a device type that determines the device by acquiring information transmitted to the ONU by the ONU, for example: the information format sent by the device hung under the ONU is a video format, can be judged to be monitoring equipment, the sent information format is a comprehensive information format and comprises information such as pictures, characters and the like, and can be judged to be the equipment type such as a computer, a mobile phone and the like, so that the VLAN ID corresponding to the equipment type is further judged, and the VLAN ID of the ONU port associated with the target device is automatically configured based on the VLAN ID of the target device.
By means of the method, the construction efficiency of installation and debugging of the network equipment can be effectively improved, and IT personnel and installation personnel do not need to exchange port and type information of each ONU equipment. IT personnel are only responsible for configuration and installers are only responsible for installation without concern as to which type of device must be plugged onto which port. After the equipment has problems in the operation process, operation and maintenance personnel do not care whether ports are misplaced or not, so that the types of the problems in operation and maintenance are simplified. There is no need for an operator to modify and configure the data traffic path at the OLT after the device moves from one port to another. Greatly simplifying the equipment replacement process and improving the equipment replacement efficiency.
In one embodiment, the method further comprises:
under the condition that the ONU detects that the port of the ONU has target equipment restarting, acquiring restarting information of the target equipment restarting;
under the condition that the restarting information of the restarting of the target equipment reflects that the target equipment is abnormally restarted, the ONU re-acquires 24 first bits of a Mac address of the target equipment and sends verification information to a user terminal associated with the target equipment;
and under the condition that the restarting information of the restarting of the target equipment reflects that the target equipment is normal restarting, the ONU automatically configures the VLAN ID of the ONU port associated with the equipment.
For example, in the case that the target device is normal restart (including active restart of a user, reconnection of a power supply, etc.), the VLAN ID of the ONU port associated with the target device may be directly configured, if the target device is abnormally restarted, it is reflected that the target device may be at risk of being invaded or replaced, at this time, the first 24 bits of the Mac address of the target device need to be reacquired to verify the security of the target device, and at the same time, verification information is sent to the user terminal associated with the target device to manually verify the security of the target device, so as to ensure the security of the target device.
Further, as an implementation of the method shown in fig. 1, the embodiment of the present invention further provides an ONU user port automatic configuration device, which is configured to implement the method shown in fig. 1. The embodiment of the device corresponds to the embodiment of the method, and for convenience of reading, details of the embodiment of the method are not repeated one by one, but it should be clear that the device in the embodiment can correspondingly realize all the details of the embodiment of the method. As shown in fig. 2, the apparatus includes: an acquisition unit 21 and a configuration unit 22, wherein
An acquiring unit 21, configured to automatically acquire a first 24 bits of a Mac address of a device hung on a port of the ONU;
a configuration unit 22, configured to automatically configure, by the ONU, the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device.
Illustratively, the above unit is further configured to:
and setting the initial state of the ONU port as VLAN IDs corresponding to all configurable equipment types.
Illustratively, the above unit is further configured to:
in case of detecting that there are a plurality of ONUs, the ONUs receive a binding command sent by the OLT based on the multicast path to configure VLAN IDs of their own ONU ports.
By way of example only, and not by way of limitation,
the automatic configuration command sent by the OLT includes a basic information mapping table corresponding to the target ONU,
the basic information mapping table includes the type of equipment that the target ONU can downhook, VLAN ID corresponding to the type of equipment, and mapping relation of first 24 bits of Mac address of equipment.
Illustratively, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device, including:
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table.
Illustratively, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table, including:
under the condition of receiving an automatic configuration command sent by the OLT, the ONU automatically acquires the first 24 bits of the Mac address of the target equipment hung by the ONU;
the ONU determines the equipment type of the target equipment and the VLAN ID corresponding to the equipment type of the target equipment based on the first 24 bits of the Mac address of the target equipment and the basic information mapping table;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
Illustratively, the above unit is further configured to:
the ONU acquires an information format sent by equipment hung under the ONU;
the ONU determines the equipment type and the VLAN ID corresponding to the equipment type based on the information format;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
By means of the technical scheme, the ONU user port automatic configuration device provided by the invention automatically acquires 24 front bits of the Mac address of the self-port down-hanging device through the ONU, and for the problem that the ONU port service of the configured passive optical network and the access device cannot always be accurately corresponding to each other, so that service errors are caused; the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device. In the scheme, the method for automatically identifying the front 24 bits of the Mac address of the ONU down-hanging equipment is introduced to realize the automatic configuration of ONU port service. Therefore, the problems of more debugging problems and long construction period caused by mismatching of the service of port configuration and the hanging equipment in the engineering construction process are solved. Meanwhile, the problem of service interruption caused by port misplacement due to human reasons in the later maintenance can be solved.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the automatic configuration method of the ONU user port is realized by adjusting kernel parameters, so that the problem that the ONU port service of the configured passive optical network and the access equipment cannot be accurately corresponding frequently and service errors are caused can be solved.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, and the program is executed by a processor to realize the ONU user port automatic configuration method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute the ONU user port automatic configuration method.
The embodiment of the invention provides electronic equipment, which comprises at least one processor and at least one memory connected with the processor; wherein the processor is configured to call the program instructions in the memory and execute the ONU user port auto-configuration method as described above
An embodiment of the present invention provides an electronic device 30, as shown in fig. 3, where the electronic device includes at least one processor 301, and at least one memory 302 and a bus 303 connected to the processor; wherein, the processor 301 and the memory 302 complete communication with each other through the bus 303; the processor 301 is configured to invoke the program instructions in the memory to perform the ONU user port auto-configuration method described above.
The intelligent electronic device herein may be a PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a flow management electronic device, a program initialized with the method steps of:
the ONU automatically acquires the first 24 bits of the Mac address of the self port down-hanging device;
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device.
Further, the method further comprises the following steps:
and setting the initial state of the ONU port as VLAN IDs corresponding to all configurable equipment types.
Further, the method further comprises the following steps:
in case of detecting that there are a plurality of ONUs, the ONUs receive a binding command sent by the OLT based on the multicast path to configure VLAN IDs of their own ONU ports.
Further, the method comprises the steps of,
the automatic configuration command sent by the OLT includes a basic information mapping table corresponding to the target ONU,
the basic information mapping table includes the type of equipment that the target ONU can downhook, VLAN ID corresponding to the type of equipment, and mapping relation of first 24 bits of Mac address of equipment.
Further, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device, including:
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table.
Further, the ONU automatically configures a VLAN ID of an ONU port associated with the device based on the first 24 bits of the Mac address of the device and the basic information mapping table, including:
under the condition of receiving an automatic configuration command sent by the OLT, the ONU automatically acquires the first 24 bits of the Mac address of the target equipment hung by the ONU;
the ONU determines the equipment type of the target equipment and the VLAN ID corresponding to the equipment type of the target equipment based on the first 24 bits of the Mac address of the target equipment and the basic information mapping table;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
Further, the method further comprises the following steps:
the ONU acquires an information format sent by equipment hung under the ONU;
the ONU determines the equipment type and the VLAN ID corresponding to the equipment type based on the information format;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be appreciated by those skilled in the art that 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.
Embodiments of the present application also provide a computer program product comprising computer software instructions which, when run on a processing device, cause the processing device to perform a flow of control of a memory as in the corresponding embodiment of fig. 1.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in 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 by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be stored by a computer or data storage devices such as servers, data centers, etc. that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid State Disks (SSDs)), among others.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. An ONU user port automatic configuration method, comprising:
the ONU automatically acquires the first 24 bits of the Mac address of the self port down-hanging device;
the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device.
2. The method as recited in claim 1, further comprising:
and setting the initial state of the ONU port as VLAN IDs corresponding to all configurable equipment types.
3. The method as recited in claim 1, further comprising:
in case of detecting that there are multiple ONUs, the ONUs receive the binding command sent by the OLT based on the multicast path to configure VLAN IDs of their own ONU ports.
4. The method of claim 3, wherein the step of,
the automatic configuration command sent by the OLT includes a basic information mapping table corresponding to the target ONU,
the basic information mapping table comprises a mapping relation among the type of equipment which can be hung down by the target ONU, VLAN ID corresponding to the type of equipment and the first 24 bits of Mac address of the equipment.
5. The method of claim 4, wherein the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the first 24 bits of the Mac address of the device, comprising:
the ONU automatically configures VLAN IDs of ONU ports associated with the equipment based on the first 24 bits of the Mac address of the equipment and the basic information mapping table.
6. The method of claim 4, wherein the ONU automatically configures the VLAN ID of the ONU port associated with the device based on the Mac address first 24 bits of the device and the basic information mapping table, comprising:
under the condition that an automatic configuration command sent by the OLT is received, the ONU automatically acquires the first 24 bits of the Mac address of the target equipment hung under the ONU;
the ONU determines the equipment type of the target equipment and the VLAN ID corresponding to the equipment type of the target equipment based on the first 24 bits of the Mac address of the target equipment and the basic information mapping table;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
7. The method as recited in claim 1, further comprising:
the ONU acquires an information format sent by equipment hung under the ONU;
the ONU determines the equipment type and the VLAN ID corresponding to the equipment type based on the information format;
the ONU automatically configures the VLAN ID of the ONU port associated with the target device based on the VLAN ID of the target device.
8. An ONU user port automatic configuration device is characterized in that,
the acquisition unit is used for automatically acquiring the front 24 bits of the Mac address of the self port down-hanging device by the ONU;
and the configuration unit is used for the ONU to automatically configure the VLAN ID of the ONU port associated with the equipment based on the first 24 bits of the Mac address of the equipment.
9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the steps of the ONU user port auto-configuration method according to any of claims 1 to 7 are implemented when the program is executed by a processor.
10. An electronic device comprising at least one processor and at least one memory coupled to the processor; wherein the processor is configured to invoke program instructions in the memory to perform the steps of the ONU user port auto-configuration method according to any one of claims 1 to 7.
CN202310128686.1A 2023-02-17 2023-02-17 ONU user port automatic configuration method and related equipment Pending CN116112835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310128686.1A CN116112835A (en) 2023-02-17 2023-02-17 ONU user port automatic configuration method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310128686.1A CN116112835A (en) 2023-02-17 2023-02-17 ONU user port automatic configuration method and related equipment

Publications (1)

Publication Number Publication Date
CN116112835A true CN116112835A (en) 2023-05-12

Family

ID=86267122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310128686.1A Pending CN116112835A (en) 2023-02-17 2023-02-17 ONU user port automatic configuration method and related equipment

Country Status (1)

Country Link
CN (1) CN116112835A (en)

Similar Documents

Publication Publication Date Title
EP2955874B1 (en) Link discovery method and device
EP3422638B1 (en) Method of communication failure reporting and corresponding apparatus
US11201814B2 (en) Configuration of networks using switch device access of remote server
EP2924950B1 (en) Authentication of client devices in networks
US10063312B2 (en) Optical network unit reset message
US8085695B2 (en) Bootstrapping devices using automatic configuration services
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
US20100014433A1 (en) Method for processing multiple active devices in stacking system and stacking member device
CN104753697A (en) Method, equipment and system for controlling provisioning of network equipment
US20150271016A1 (en) Configuration of networks with server cluster device
CN112738834A (en) MESH networking network emergency management method and electronic equipment
CN113556274B (en) Method, device, system, controller and equipment for terminal access authentication
US8406627B2 (en) Stacking of units in a passive optical network
US7170892B2 (en) Network element, and associated method, for facilitating communication of data between elemental devices
CN104869621A (en) Method and device for network awareness
CN108667640B (en) Communication method and device, and network access system
CN116112835A (en) ONU user port automatic configuration method and related equipment
CN114401324B (en) Message forwarding method, network equipment and system
CN103716179A (en) Telnet/SSH-based network terminal management method
CN107979546B (en) Method and device for processing multiple OpenFlow connections
CN112751706A (en) Target data transmission method and device
CN113365167B (en) Dynamic adaptation method for LAN (local area network) side equipment of passive optical network system and related equipment
CN102045698B (en) Method and device for acquiring terminal information
CN113839816B (en) Wiring device and fault switching method thereof
KR102055912B1 (en) Apparatus and method for managing sharing terminal in a router environment

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