CN109672472A - Standby usage port determines method and device - Google Patents

Standby usage port determines method and device Download PDF

Info

Publication number
CN109672472A
CN109672472A CN201910093754.9A CN201910093754A CN109672472A CN 109672472 A CN109672472 A CN 109672472A CN 201910093754 A CN201910093754 A CN 201910093754A CN 109672472 A CN109672472 A CN 109672472A
Authority
CN
China
Prior art keywords
port
determined
standby
network unit
optical network
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
CN201910093754.9A
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910093754.9A priority Critical patent/CN109672472A/en
Publication of CN109672472A publication Critical patent/CN109672472A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/038Arrangements for fault recovery using bypasses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration

Abstract

The application proposes that a kind of standby usage port determines method and device, is related to field of communication technology.The optical line terminal and optical network unit communicate to connect, which includes port to be determined;The optical line terminal obtains the identification information of the received optical network unit in port to be determined when the port to be determined is standby port;Wherein, the registered port of the identification information and the optical network unit has corresponding relationship;The optical line terminal determines that the corresponding main port of the standby port, the main port are the registered port of the optical network unit according to the identification information and the corresponding relationship.In this way, the corresponding main port of the standby port can be found automatically when there is standby port access on the optical line terminal, it is not necessary that by being manually specified and configuring, the realization for plug and play in automated environment provides condition.

Description

Standby usage port determines method and device
Technical field
This application involves fields of communication technology, determine method and device in particular to a kind of standby usage port.
Background technique
EPON (Ethernet Passive Optical Network, Ethernet passive optical network) is based on Ethernet PON technology uses point-to-multipoint structure, passive fiber transmission, multiple business is provided on Ethernet.In EPON system In, in order to improve network reliability and survivability, optical link wrap protection can be used, i.e., is broken down in active link (such as dropout or channel degradation etc.) or have management event trigger (such as O&M needs) in the case where, can be by primary chain The service switching of road carrying is to reserve link.
Currently, supporting in the EPON system of optical link protection, optical line terminal (Optical Line Termina, OLT) Port between active and standby corresponding relationship need to by being manually specified, i.e., by manual configuration determine belong to a backup group main mouth and Standby mouth is not easy to the realization of plug and play in automated environment so that the optical link defencive function of system has very big defect.
Summary of the invention
A kind of standby usage port of being designed to provide of the application determines method and device, to improve the above problem.
To achieve the goals above, the embodiment of the present application the technical solution adopted is as follows:
In a first aspect, the embodiment of the present application proposes that a kind of standby usage port determines method, it is applied to optical line terminal, it is described Optical line terminal and optical network unit communicate to connect, and the optical line terminal includes port to be determined, which comprises
When the port to be determined is standby port, the received optical network unit in port to be determined is obtained Identification information;Wherein, the registered port of the identification information and the optical network unit has corresponding relationship;
The corresponding main port of the standby port is determined according to the identification information and the corresponding relationship, wherein institute State the registered port that main port is the optical network unit.
Second aspect, the embodiment of the present application also propose a kind of standby usage port determining device, are applied to optical line terminal, institute It states optical line terminal and optical network unit communicates to connect, the optical line terminal includes port to be determined, and described device includes:
Identification information obtains module, for obtaining the port to be determined when the port to be determined is standby port The identification information of the received optical network unit;Wherein, the registered port of the identification information and the optical network unit has There is corresponding relationship;
Port determining module, for determining that the standby port is corresponding according to the identification information and the corresponding relationship Main port, wherein the main port is the registered port of the optical network unit.
Compared with the prior art, the embodiment of the present application has the advantages that
Standby usage port provided by the embodiment of the present application determines method and device, the optical line terminal and optical network unit Communication connection, which includes port to be determined;The optical line terminal is obtained when the port to be determined is standby port Take the identification information of the received optical network unit in port to be determined;Wherein, the registration of the identification information and the optical network unit Port has corresponding relationship;The optical line terminal determines the corresponding master of the standby port according to the identification information and the corresponding relationship With port, which is the registered port of the optical network unit.In this way, when having standby port access on the optical line terminal When, the corresponding main port of the standby port can be found automatically, without being in automated environment by being manually specified and configuring The realization of plug and play provides condition.
Other feature and advantage of the application will be illustrated in subsequent specification, also, partly be become from specification It is clear that by implementing the application understanding.The purpose of the application and other advantages can be by written specifications, power Specifically noted structure is achieved and obtained in sharp claim and attached drawing.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below It singly introduces, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as to range It limits, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other relevant attached drawings.
Fig. 1 shows the application environment schematic diagram of optical line terminal provided by the embodiment of the present application.
Fig. 2 shows a kind of flow diagrams that standby usage port provided by the embodiment of the present application determines method.
Fig. 3 shows another flow diagram that standby usage port provided by the embodiment of the present application determines method.
Fig. 4 shows another flow diagram that standby usage port provided by the embodiment of the present application determines method.
Fig. 5 shows another flow diagram that standby usage port provided by the embodiment of the present application determines method.
Fig. 6 shows another flow diagram that standby usage port provided by the embodiment of the present application determines method.
Fig. 7 shows the functional block diagram of standby usage port determining device provided by the embodiment of the present application.
Icon: 100- optical line terminal;200- optical splitter;300- optical network unit;600- standby usage port determining device; 610- identification information obtains module;The port 620- determining module;630- data simultaneous module.
Specific embodiment
Below in conjunction with attached drawing in the application, the technical solution in the application is clearly and completely described, it is clear that Described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually retouched in attached drawing here The component for the application for stating and showing can be arranged and be designed with a variety of different configurations.Therefore, below to mentioning in the accompanying drawings The detailed description of the embodiments herein of confession is not intended to limit claimed scope of the present application, but is merely representative of this The selected embodiment of application.Based on embodiments herein, those skilled in the art are in the premise for not making creative work Under every other embodiment obtained, shall fall in the protection scope of this application.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Optical line terminal 100 provided by the embodiment of the present application can be applied in EPON system shown in FIG. 1.Please refer to figure 1, which includes optical line terminal 100, optical splitter 200 and optical network unit (Optical Network Unit, ONU) 300, it is communicated to connect between optical line terminal 100 and optical network unit 300 by optical splitter 200, to realize data communication or friendship Mutually.Under normal conditions, an optical line terminal 100 can connect multiple optical network units 300 by optical splitter 200, thus structure At point-to-multipoint structure.
In the present embodiment, which may include multiple ports PON, and the port PON is for connecting light splitting Device 200.Optionally, an optical splitter 200 can be connected with a port PON of optical line terminal 100, can also be with optical link end Multiple ports PON at end 100 are connected, and multiple port PON constitutes a backup group at this time.When an optical splitter 200 with it is multiple When the port PON is connected, a plurality of independent, the optical fiber chain that backs up mutually is established between the optical splitter 200 and optical line terminal 100 Road, to realize the optical link pretection switch of EPON system.With two ports Olt1/0/1 shown in FIG. 1, the port Olt1/0/2 For, when the port Olt1/0/1 and the port Olt1/0/2 are all connected to the optical splitter 200 of 2:N, then the port Olt1/0/1 and The port Olt1/0/2 belongs to a backup group, respectively as main port and standby port, between main port and optical splitter 200 Active link is constituted, constitutes reserve link between standby port and optical splitter 200, when active link failure, optical line terminal 100 controllable main ports are switched with standby port, so that enabling reserve link keeps optical line terminal 100 and optical-fiber network Communication between unit 300 improves network reliability and survivability.
In the present embodiment, when carrying out optical link pretection switch, which can be to optical network unit The information such as 300 registration, ranging, business configuration synchronize between main port and standby port;The optical network unit 300 tool Have " state keep (holdover) " function, i.e., optical network unit 300 between optical line terminal 100 optical link It fails after (such as dropout or channel degradation), can be kept in certain time (state retention time, holdover time) In " registration " state, and registration is not understood, if in state retention time light chain can not be re-established with optical line terminal 100 Road, the then solution of optical network unit 300 registration.
It is worth noting that, during existing EPON system networking, it is necessary to first pass through the protection of human configuration optical link Main port and standby port once there are problems for subsequent discovery port, then need replacing port, port after configuration is fixed After being replaced, the configuration information of all about backup group requires manual modification, is not easy to plug and play in automated environment It realizes.However, optical line terminal 100 provided by the embodiment of the present application can lead all of the port of access EPON system Standby corresponding relationship judges, so that discovery belongs to the main port and standby port of same backup group automatically, and by main port Configuration data and operation data are synchronized to standby port, avoid manual configuration bring trouble, are to insert in automated environment Realization i.e. provides condition.In the following, by optical line terminal 100 automatically discovery backup group in standby usage port process into Row elaborates.
Referring to figure 2., the flow diagram of method is determined for a kind of standby usage port provided by the embodiment of the present application.It needs It is noted that standby usage port described herein determines that method is not limited with Fig. 2 and specific order as described below System, it should be understood that in other embodiments, standby usage port described herein determines that the sequence of method part step can To be exchanged with each other according to actual needs or part steps therein also can be omitted or delete.The standby usage port determination side Method can be applied to above-mentioned optical line terminal 100, and detailed process shown in Fig. 2 will be described in detail below.
Step S201 obtains the mark of the received optical network unit in port to be determined when port to be determined is standby port Know information;Wherein, the registered port of identification information and optical network unit has corresponding relationship.
In the present embodiment, since the port to be determined is standby port, then it there will necessarily be one on the optical line terminal 100 A port is the corresponding main port in the port to be determined, and optical line terminal 100 is by main port and optical-fiber network list Member 300 carries out message interaction, therefore, when main port receives the data message of optical network unit 300, standby port The data message of optical network unit 300 can be received.It, can be by the mark of oneself when the optical network unit 300 sends datagram Information carries in data message, therefore the identification information of the optical network unit 300 can be sent by optical network unit 300 Data message obtains, wherein the data message can be MPCP (Multi-Point Control Protocol, multiple spot control Agreement processed) message, standard OAM (Operation, Administration and Maintenance, Operations, Administration and Maintenance) Protocol massages etc..
Optionally, which is the MAC Address of the optical network unit 300, can be uniquely determined by the MAC Address One optical network unit 300.
It should be noted that, when accessing EPON system, being needed for newly connecting or non-online optical network unit 300 It to be registered on one of port PON of optical line terminal 100, after succeeding in registration, which becomes the light net The registered port of network unit 300, optical line terminal 100 then will record corresponding registration information, such as the optical network unit 300 The corresponding relationship of the registered port of identification information and the optical network unit 300, wherein identification information in the corresponding relationship can be with It is obtained by the data message that the optical network unit 300 is sent in registration process.When optical network unit 300 is at the registration end Mouth registration, then optical line terminal 100 can send message to optical network unit 300 by the registered port, can also pass through The registered port receives the data message that optical network unit 300 is sent.
Step S202 determines the corresponding main port of standby port according to identification information and corresponding relationship, wherein primary end Mouth is the registered port of optical network unit.
In the present embodiment, when port to be determined be standby port, then can parse the received datagram in port to be determined The identification information carried in text, which can uniquely determine the optical network unit 300 for sending the data message, according to this Identification information searches the identification information corresponding registered port (the i.e. note of the optical network unit 300 in the corresponding relationship of record Volume port), and the registered port is determined as the corresponding main port of the standby port, realize the optical line terminal 100 with The automatic discovery of standby usage link between optical splitter 200.
It is worth noting that, in practical applications, if it find that searching in the corresponding relationship of record less than identification information Corresponding registered port then shows that registration may has not been completed in optical network unit 300, therefore can wait for a period of time and look into again It looks for.
In the following, step S201 and step S202 are described in detail by taking EPON system shown in FIG. 1 as an example.Assuming that Registered on the port Olt1/0/1 to have ONU1, the port Olt1/0/2 is the port PON of just access EPON system, then the end Olt1/0/1 Mouth is the registered port of ONU1, just will record the MAC Address of ONU1 and the registered port of ONU1 on optical line terminal 100 at this time The corresponding relationship of (i.e. the port Olt1/0/1), the port Olt1/0/1 and the port Olt1/0/2 can receive the number of ONU1 transmission According to message;When the port Olt1/0/2 is standby port, with obtaining the MAC carried in the received data message in the port Olt1/0/2 Location, and corresponding relationship is searched according to the MAC Address, it is found that the corresponding registered port of the MAC Address is the port Olt1/0/1, then will The port Olt1/0/1 is determined as the main port of the port Olt1/0/2, i.e. the port Olt1/0/1 is same standby with the port Olt1/0/2 Part group.
As it can be seen that can find to belong to one with the standby port automatically when accessing standby port on optical line terminal 100 The main port of a backup group avoids and specifies standby usage port bring in backup group cumbersome by way of manual configuration, Even if thering is port to need replacing in subsequent backup group, do not need to modify the configuration information about backup group by hand, for automation yet The realization of plug and play provides condition in environment.
However, in actual plug and play scene, optical line terminal 100 for just accessing the port PON of EPON system, It needs first to determine that the port PON is standby port, after standby port has been determined, then determines the corresponding master of the standby port With port, to realize the automatic discovery of standby usage port in a backup group.Based on this, as shown in figure 3, step S201 it Before, this method further include:
Step S301 judges that can port to be determined receive optical-fiber network list after port shutdown light-emitting function to be determined The data message that member is sent.
In the present embodiment, after port shutdown light-emitting function to be determined, then the port to be determined can only receive message and Message cannot be sent, with this condition, by judging whether the port to be determined can receive the transmission of optical network unit 300 Data message, it may be determined that whether the port to be determined is standby port;If the port to be determined can receive data message, Execute step S302;If the port to be determined cannot receive data message, S303 is thened follow the steps.
In practical applications, it may judge whether port to be determined is standby port under following two scene: first Kind, there are the port PON and optical splitter 200 to connect on optical line terminal 100, it at this time will be on the optical line terminal 100 Port to be determined is connect with optical splitter 200, and the operating mode that the port to be determined can be set dynamically in optical line terminal 100 is OAM Mode, the port to be determined in OAM mode can only receive data message and cannot send datagram;Second, by light Two ports PON in road terminal 100 are connect with optical splitter 200, but there are no optical network units 300 to connect in EPON system Enter, which is in normal mode of operation, and the port PON in normal mode of operation can receive data message Also can send datagram, thus when in EPON system access optical network unit 300 after, optical line terminal 100 it needs to be determined that this two Active and standby corresponding relationship between a port PON.
As shown in figure 4, finding the detailed process of standby usage port automatically under the first scene for optical line terminal 100.
Step S401 is arranged port to be determined and is in OAM mode.
I.e. optical line terminal 100 is inserted into optical module on detecting the port to be determined, establishes connection with optical splitter 200 When, the operating mode that the port to be determined is arranged is OAM mode.
Step S402 judges that can port to be determined receive in the given time if port to be determined is in OAM mode To data message;Wherein, light-emitting function is closed when port to be determined is in OAM mode.
Due to closing light-emitting function when port to be determined is in OAM mode, thus the port to be determined can only receive message and Message cannot be sent, it with this condition, can by judging that can the port to be determined receive data message in the given time Determine whether the port to be determined is standby port;If the port to be determined can receive data message in the given time, Then follow the steps S302;If the port to be determined cannot receive data message in the given time, S303 is thened follow the steps.
As shown in figure 5, finding the detailed process of standby usage port automatically under second of scene for optical line terminal 100.
Step S501 controls port to be determined and opens light-emitting function.
Step S502, if receiving data message, controls port to be determined after light-emitting function is opened in port to be determined Close light-emitting function.
In the present embodiment, optical line terminal 100 is controlling port opening light-emitting function to be determined and is receiving optical-fiber network After the data message (for example, logon message) of unit 300, it can wait for a period of time at random and close the luminous function of the port to be determined Energy.
Step S503 judges that can port to be determined receive optical-fiber network list after port shutdown light-emitting function to be determined The data message that member is sent.
In the present embodiment, if optical network unit 300 can also be received after the port shutdown light-emitting function to be determined The data message of transmission, thens follow the steps S302;If being not received by optical-fiber network after the port shutdown light-emitting function to be determined The data message of unit 300, then can be with return step S501, to be repeatedly detected repeatedly, if continuously detecting preset times (example Such as, three times after), it is found that port to be determined only can receive data message when opening light-emitting function, and close light-emitting function Shi Buneng receives data message, thens follow the steps S303.
Step S302, when port to be determined can receive data message, it is determined that port to be determined is standby port.
It is appreciated that after port to be determined is confirmed as standby port, it will continue to execute above-mentioned steps S201 and step Rapid S202, to find the main port that there is active and standby corresponding relationship with the standby port.
Step S303, when port to be determined cannot receive data message, it is determined that port to be determined is not spare end Mouthful.
It is appreciated that then the port to be determined is common port when determining the port to be determined is not standby port;It is right In common port, optical line terminal 100 will judge whether the optical network unit 300 has been registered on the common port, if It is unregistered on common port to have the optical network unit 300, then optical network unit 300 can be registered, after succeeding in registration, this is general Go side mouthful becomes the registered port of optical network unit 300, and the mark of optical network unit 300 will be also recorded in optical line terminal 100 The corresponding relationship of information and its registered port.
It should be noted that being confirmed as the port to be determined of standby port under second of scene, OAM mould can be entered Formula, and the not port to be determined for standby port is determined under second of scene, then enter normal mode of operation.
In the following, still by taking EPON system shown in FIG. 1 as an example, to the stream for finding standby usage port under above two scene automatically Journey is described in detail.In the first scene, it is assumed that connection, Olt1/0/ are established with optical splitter 200 in the port Olt1/0/1 On 1 port it is registered have ONU1 and optical line terminal 100 recorded ONU1 MAC Address and the port Olt1/0/1 (i.e. ONU1's Registered port) corresponding relationship, if connection, optical line terminal 100 are also established in the port Olt1/0/2 with optical splitter 200 at this time The control port Olt1/0/2 is in OAM mode, and judges the port Olt1/0/2 in 50 TQ (Time Quantum, period) Either with or without data message is received in (i.e. predetermined time), if the port Olt1/0/2 in OAM mode receives in 50 TQ To data message, it is determined that the port Olt1/0/2 is standby port, and parses the received data message in the port Olt1/0/2 The MAC Address of middle carrying, finding corresponding registered port by the MAC Address is the port Olt1/0/1, it is determined that the Olt1/ 0/1 port and the port Olt1/0/2 belong to same backup group, and the port Olt1/0/1 is the corresponding primary end in the port Olt1/0/2 Mouthful, that is, realize the automatic discovery of standby usage port in same backup group.
In second of scene, which accesses any optical network unit 300 not yet, on optical line terminal 100 The port Olt1/0/1 and the port Olt1/0/2 establish connection with optical splitter 200, the port Olt1/0/1 and Olt1/0/2 at this time Port is in normal mode of operation, if there is optical network unit 300 (such as ONU1) access at this time, controls Olt1/0/1 respectively Light-emitting function is opened in port and the port Olt1/0/2, after the data message for receiving ONU1 transmission, by the port Olt1/0/1 with The light-emitting function of the port Olt1/0/2 respectively waits for a period of time closing at random, if the port Olt1/0/2 is after closing light-emitting function Data message can be received, it is determined that the port Olt1/0/2 is standby port, and controls the port Olt1/0/2 and be in OAM mould Formula;And the port Olt1/0/1 cannot receive data message after closing light-emitting function, then can detect repeatedly, as discovery Olt1/ 0/1 port only when can just receive the data message of ONU1 after shining, then shows that the port Olt1/0/1 is common port, The port Olt1/0/1 enters normal mode of operation, and optical line terminal 100 registers ONU1 on the port Olt1/0/1, registration After success, the port Olt1/0/1 becomes the registered port of ONU1, also will record in optical line terminal 100 MAC Address of ONU1 with The corresponding relationship of the registered port of ONU1.Optical line terminal 100 parses the data that the port Olt1/0/2 (i.e. standby port) receives Message obtains the MAC Address of ONU1, and the MAC Address for searching ONU1 in the corresponding relationship of record according to the MAC Address is corresponding Registered port realizes in same backup group so that it is determined that the port Olt1/0/1 is the corresponding main port in the port Olt1/0/2 The automatic discovery of standby usage port.
In practical applications, after determining main port and standby port, in order to ensure standby port is in pretection switch mistake Cheng Zhong, can maintain the normal work of system, and standby port needs the related data of synchronous main port.Based on this, such as Fig. 6 institute Show, after step S202, this method further include:
The configuration data of main port and operation data are synchronized to standby port by step S203.
In other words, when discovery standby port automatically and after main port, by by the configuration data and fortune of main port Row data are synchronized to standby port, it can be ensured that and standby port continues to the normal work of system during pretection switch, To improve the safety and reliability of business, avoid in the prior art by standby port carry out manual configuration with it is synchronous Trouble.
As it can be seen that can the embodiment of the present application receive number in the case where closing light-emitting function by detecting port to be determined According to message, if data message can be received, it is determined that the port to be determined is standby port;After determining standby port, pass through It parses the identification information carried in received data message and searches corresponding relationship, and the corresponding registered port of the identification information is true It is set to the corresponding main port of the standby port, realizes the automatic discovery of standby port and main port, avoid artificial finger It is cumbersome to determine bring;After finding standby usage port, the configuration data of main port and operation data are synchronized to standby port, Without carrying out manual configuration to standby port, be conducive to the realization of plug and play in automated environment.
Fig. 7 is please referred to, is the functional module signal of standby usage port determining device 600 provided by the embodiment of the present application Figure.It should be noted that the technology of standby usage port determining device 600 provided by the present embodiment, basic principle and generation Effect is identical as preceding method embodiment, to briefly describe, does not refer to part in the present embodiment, can refer to preceding method embodiment In corresponding contents.Standby usage port determining device 600 can be applied to above-mentioned optical line terminal 100 comprising mark Data obtaining module 610, port determining module 620 and data simultaneous module 630.
The port determining module 620 is used for after port shutdown light-emitting function to be determined, determines that can port to be determined connect Receive the data message of the transmission of optical network unit 300;When port to be determined can receive data message, it is determined that end to be determined Mouth is standby port;When port to be determined cannot receive data message, it is determined that port to be determined is not standby port.
Optionally, which is in OAM mode for port to be determined to be arranged;At port to be determined In OAM mode, then judge that can port to be determined receive data message in the given time;Wherein, port to be determined is in Light-emitting function is closed when OAM mode.
Optionally, which is also used to control port to be determined and opens light-emitting function, in port to be determined After opening light-emitting function, if receiving data message, port shutdown light-emitting function to be determined is controlled.
It is appreciated that the port determining module 620 can execute above-mentioned steps S301, step S302, step S303, step S401, step S402, step S501, step S502 and step S503.
The identification information obtains module 610 and is used to obtain port to be determined when port to be determined is standby port and receive Optical network unit 300 identification information;Wherein, the registered port of identification information and optical network unit 300 has corresponding relationship.
It is appreciated that the identification information, which obtains module 610, can execute above-mentioned steps S201.
The port determining module 620 is also used to determine the corresponding primary end of standby port according to identification information and corresponding relationship Mouthful, wherein main port is the registered port of optical network unit 300.
It is appreciated that above-mentioned steps S202 can also be performed in the port determining module 620.
The data simultaneous module 630 is used to the configuration data of main port and operation data being synchronized to standby port.
It is appreciated that the data simultaneous module 630 can execute above-mentioned steps S203.
In conclusion standby usage port provided by the embodiment of the present application determines method and device, the optical line terminal with Optical network unit communication connection, which includes port to be determined;The optical line terminal is sent out in port shutdown to be determined After light function, judge that can port to be determined receive data message, if data message can be received, it is determined that the end to be determined Mouth is standby port;When determining the port to be determined is standby port, the received optical network unit in port to be determined is obtained Identification information;Wherein, the registered port of the identification information and the optical network unit has corresponding relationship;The optical line terminal according to Determine that the corresponding main port of the standby port, the main port are the optical network unit according to the identification information and the corresponding relationship Registered port.In this way, realize the automatic discovery of standby port and main port, avoid that bring is manually specified is cumbersome; After finding standby usage port, the configuration data of main port and operation data are synchronized to standby port, without to spare end Mouth carries out manual configuration, and the realization for plug and play in automated environment provides condition.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.Device and method embodiment described above is only schematical, for example, the flow chart in attached drawing The device of multiple embodiments according to the application, the system in the cards of method and computer program product are shown with block diagram Framework, function and operation.In this regard, each box in flowchart or block diagram can represent a module, program segment or generation A part of code, a part of the module, section or code include one or more for realizing defined logic function Executable instruction.It should also be noted that function marked in the box can also be in some implementations as replacement Occur different from the sequence marked in attached drawing.For example, two continuous boxes can actually be basically executed in parallel, they Sometimes it can also execute in the opposite order, this depends on the function involved.It is also noted that block diagram and or flow chart In each box and the box in block diagram and or flow chart combination, can function or movement as defined in executing it is special Hardware based system is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
The foregoing is merely the alternative embodiments of the application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.

Claims (10)

1. a kind of standby usage port determines method, it is applied to optical line terminal, the optical line terminal is communicated with optical network unit Connection, which is characterized in that the optical line terminal includes port to be determined, which comprises
When the port to be determined is standby port, the mark of the received optical network unit in port to be determined is obtained Information;Wherein, the registered port of the identification information and the optical network unit has corresponding relationship;
The corresponding main port of the standby port is determined according to the identification information and the corresponding relationship, wherein the master It is the registered port of the optical network unit with port.
2. standby usage port as described in claim 1 determines method, which is characterized in that described when the port to be determined is standby When with port, before the step of obtaining the identification information of the received optical network unit in port to be determined, the method Further include:
After the port shutdown light-emitting function to be determined, judge that can the port to be determined receive the optical network unit The data message of transmission;
When the port to be determined can receive the data message, it is determined that the port to be determined is the spare end Mouthful.
3. standby usage port as claimed in claim 2 determines method, which is characterized in that described in the port shutdown to be determined After light-emitting function, the step of can the port to be determined receive the data message that the optical network unit is sent packet is judged It includes:
If the port to be determined is in OAM mode, judge that can the port to be determined receive institute in the given time State data message;Wherein, light-emitting function is closed when the port to be determined is in the OAM mode.
4. standby usage port as claimed in claim 2 determines method, which is characterized in that described in the port shutdown to be determined After light-emitting function, judge the step of can the port to be determined receive the data message that the optical network unit is sent it Before, the method also includes:
After light-emitting function is opened in the port to be determined, if receiving the data message, the port to be determined is controlled Close light-emitting function.
5. standby usage port as described in claim 1 determines method, which is characterized in that described according to the identification information and institute After stating the step of corresponding relationship determines the standby port corresponding main port, the method also includes:
The configuration data of the main port and operation data are synchronized to the standby port.
6. a kind of standby usage port determining device, is applied to optical line terminal, the optical line terminal is communicated with optical network unit Connection, which is characterized in that the optical line terminal includes port to be determined, and described device includes:
Identification information obtains module, receives for when the port to be determined is standby port, obtaining the port to be determined The optical network unit identification information;Wherein, the registered port of the identification information and the optical network unit has pair It should be related to;
Port determining module, for determining that the standby port is corresponding primary according to the identification information and the corresponding relationship Port, wherein the main port is the registered port of the optical network unit.
7. standby usage port as claimed in claim 6 determining device, which is characterized in that the port determining module is also used to After the port shutdown light-emitting function to be determined, determine that can the port to be determined receive what the optical network unit was sent Data message;When the port to be determined can receive the data message, it is determined that the port to be determined is described standby Use port.
8. standby usage port as claimed in claim 7 determining device, which is characterized in that if the port determining module is used for institute It states port to be determined and is in OAM mode, then judge that can the port to be determined receive the datagram in the given time Text;Wherein, light-emitting function is closed when the port to be determined is in the OAM mode.
9. standby usage port as claimed in claim 7 determining device, which is characterized in that the port determining module is also used to After light-emitting function is opened in the port to be determined, if receiving the data message, the port shutdown hair to be determined is controlled Light function.
10. standby usage port as claimed in claim 6 determining device, which is characterized in that described device further include:
Data simultaneous module, for the configuration data of the main port and operation data to be synchronized to the standby port.
CN201910093754.9A 2019-01-30 2019-01-30 Standby usage port determines method and device Pending CN109672472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910093754.9A CN109672472A (en) 2019-01-30 2019-01-30 Standby usage port determines method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910093754.9A CN109672472A (en) 2019-01-30 2019-01-30 Standby usage port determines method and device

Publications (1)

Publication Number Publication Date
CN109672472A true CN109672472A (en) 2019-04-23

Family

ID=66149991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910093754.9A Pending CN109672472A (en) 2019-01-30 2019-01-30 Standby usage port determines method and device

Country Status (1)

Country Link
CN (1) CN109672472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745270A (en) * 2022-05-13 2022-07-12 中国联合网络通信集团有限公司 Network planning method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104424A (en) * 2011-03-04 2011-06-22 中兴通讯股份有限公司 Protection method and system for PON (Passive Optical Network)
CN102868943A (en) * 2011-07-04 2013-01-09 华为技术有限公司 Method for acquiring association between PON ports, optical network device and optical network system
US20160344471A1 (en) * 2015-05-18 2016-11-24 Ciena Corporation Adaptive preconfiguration in optical transport network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104424A (en) * 2011-03-04 2011-06-22 中兴通讯股份有限公司 Protection method and system for PON (Passive Optical Network)
CN102868943A (en) * 2011-07-04 2013-01-09 华为技术有限公司 Method for acquiring association between PON ports, optical network device and optical network system
US20160344471A1 (en) * 2015-05-18 2016-11-24 Ciena Corporation Adaptive preconfiguration in optical transport network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745270A (en) * 2022-05-13 2022-07-12 中国联合网络通信集团有限公司 Network planning method, device, equipment and storage medium
CN114745270B (en) * 2022-05-13 2023-04-28 中国联合网络通信集团有限公司 Network planning method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102917286B (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
US8755685B2 (en) Joint switching method for an aggregation node, aggregation node and system
CN101336530B (en) Network system
CN102215124B (en) Fault processing method, sink node and optical network protection system
US9755749B2 (en) ONU, communication system and communication method for ONU
JP4992487B2 (en) COMMUNICATION SYSTEM, TERMINAL DEVICE, AND EPON VIRTUALization METHOD USED FOR THE SAME
CN102386970B (en) Optical network unit (ONU) device of EPON (Ethernet Passive Optical Network) system and protection switching method for same
EP2744155A1 (en) Data communication method in optical network system, and optical network unit and system
CN106487679B (en) The active-standby switch system and switching method of Ethernet switch
CN108234301A (en) A kind of data link switching method and device
CN102130718B (en) A kind of network element device of protection switching of backbone optical path and method
CN101895791A (en) Protection switching method and device in Ethernet passive optical network
JP2007174123A (en) Optical switch device, optical access network, optical switch method, program, and recording medium
US9998211B2 (en) Protection switching method, system, and apparatus for passive optical network
CN106464356B (en) A kind of detection method of rogue's optical network unit, apparatus and system
CN109474341A (en) A kind of fiber optic network and its network topological method
EP2925011B1 (en) Apparatus and method for managing inner-network element transmission resources
CN103248419B (en) ONU, OLT, D class PON protection system and method
US8670347B2 (en) Method, device and system for automatically discovering optical fibre connection within network element
CN101047443B (en) Fault detection debugging method of passive optical network system and communication message device
CN102142894B (en) Optical network unit control method, device and system
CN108370271A (en) Detection method, device and the passive optical network of optical network unit
CN109672472A (en) Standby usage port determines method and device
CN204761436U (en) Electric power collection system of two MAC protections of two PON
CN102291270A (en) Management method and system of optical network units in passive optical network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190423

RJ01 Rejection of invention patent application after publication