CN109803185A - A kind of matching process, device and the storage medium of ONU and OLT - Google Patents
A kind of matching process, device and the storage medium of ONU and OLT Download PDFInfo
- Publication number
- CN109803185A CN109803185A CN201711129768.9A CN201711129768A CN109803185A CN 109803185 A CN109803185 A CN 109803185A CN 201711129768 A CN201711129768 A CN 201711129768A CN 109803185 A CN109803185 A CN 109803185A
- Authority
- CN
- China
- Prior art keywords
- operating mode
- parsing
- onu
- olt
- mode
- 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.)
- Granted
Links
Abstract
The invention discloses the matching process of ONU and OLT a kind of, it include: after receiving the broadcast packet that OLT is sent, ONU is from least two operating modes according to the transmittability selection target operating mode of each operating mode, the parsing operation and registration operation for carrying out the broadcast packet, until the ONU is matched with the OLT.The invention also discloses the coalignment of ONU and OLT a kind of and storage mediums.
Description
Technical field
The present invention relates to passive optical-fiber network (PON, Passive Optical Network) technologies, more particularly to one kind
Optical network unit (ONU, Optical Network Unit) and optical line terminal (OLT, Optical Line Terminal)
Matching process, device and storage medium.
Background technique
Along with the implementation of Chinese network operator " light entering and copper back " engineering, intelligent acess has been promoted for many years, and optical fiber enters
Administration, the Ministry of Revenue is even more like a raging fire.With arriving for 4k, 8k ultra high-definition video and the high speed development of technology of Internet of things, especially 5G epoch
Come, bigger bandwidth demand is carried out to Netowrk tape.Traditional passive multi-plexing light accessing system (GPON, Gigabit-Capable PON), with
Too passive optical network (EPON, Ethernet Passive Optical Network) type is increasingly unable to satisfy and increasingly increases
The development of long bandwidth demand, 10G PON even 100G PON is increasingly urgent to.
It is added along with the various modes of 10G PON, the various modes and situation deposited also exposes a series of problem, example
Such as: PON network interface physical address (MAC, Media Access Control) chip all supports full mould mostly, but due to existing
The limitation of the implementation and optical module of software, the equipment of various modes and incompatible on hardware, device manufacturer need to research and develop not
ONU with the ONU of form, and different shape corresponds to different software;When the operation such as upgrade of network or to maintain equipment need to be carried out,
ONU can not voluntarily match OLT, need by hand be arranged the ONU of different shape, debug, operator need to arrange operation maintenance personnel
It visits and is serviced, increase human cost.
Summary of the invention
To solve existing technical problem, an embodiment of the present invention is intended to provide the matching process of ONU and OLT a kind of,
Device and storage medium.
The technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides the matching process of ONU and OLT a kind of, which comprises
After receiving the broadcast packet that OLT is sent, ONU is from least two operating modes according to the transmittability of each operating mode
Selection target operating mode carries out the parsing operation and registration operation of the broadcast packet, until the ONU and described OLT
Match.
In above scheme, it is described from least two operating modes according to the transmittability selection target work of each operating mode
Operation mode, comprising:
According to the transmittability of each operating mode, by the sequence of transmittability from high to low at least two work
Operation mode is ranked up;
According to ranking results from least two operating mode successively selection target operating mode.
In above scheme, the parsing operation and registration operation for carrying out the broadcast packet, comprising:
The parsing strategy for determining the target operational mode executes solution to the broadcast packet by the determining parsing strategy
Analysis operation;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing
As a result registration operation is executed;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
It is described that registration operation is executed according to the parsing result in above scheme, comprising:
Judge whether the parsing result includes network type identifier, determines that the parsing result includes network type mark
Know symbol, it is determined that the corresponding operating mode of the network type identifier, and judge the corresponding work of the network type identifier
Whether operation mode is consistent with the target operational mode;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then note is executed
Volume operation;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by institute
It states target operational mode and is adjusted to the corresponding operating mode of the network type identifier, under target operational mode after the adjustment
Execute registration operation.
In above scheme, the parsing strategy of the determination target operational mode, comprising:
According to the corresponding relationship of the operating mode of preservation and parsing strategy, the corresponding parsing of the target operational mode is determined
Strategy.
The embodiment of the invention also provides the coalignment of ONU and OLT a kind of, described device include: first processing module,
Second processing module;Wherein,
The first processing module, after receiving the broadcast packet that OLT is sent, according to each from least two operating modes
The transmittability selection target operating mode of operating mode;
The Second processing module, the parsing for carrying out the broadcast packet operates and registration operation, until the ONU
It is matched with the OLT.
In above scheme, the first processing module, specifically for the transmittability according to each operating mode, by biography
The sequence of Movement Capabilities from high to low is ranked up at least two operating mode;According to ranking results from described at least two
Successively selection target operating mode in operating mode.
In above scheme, the Second processing module is pressed specifically for the parsing strategy of the determination target operational mode
The determining parsing strategy executes parsing operation to the broadcast packet;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing
As a result registration operation is executed;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
In above scheme, the Second processing module, specifically for judging whether the parsing result includes network type
Identifier determines that the parsing result includes network type identifier, it is determined that the corresponding work of the network type identifier
Mode, and judge whether the corresponding operating mode of the network type identifier and the target operational mode are consistent;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then note is executed
Volume operation;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by institute
It states target operational mode and is adjusted to the corresponding operating mode of the network type identifier, under target operational mode after the adjustment
Execute registration operation.
In above scheme, the Second processing module, specifically for according to the operating mode of preservation and pair of parsing strategy
It should be related to, determine the corresponding parsing strategy of the target operational mode.
The embodiment of the invention also provides the coalignments of ONU and OLT a kind of, comprising: processor and for store can
The memory of the computer program run on a processor,
Wherein, the processor for when running the computer program, execute any one ONU recited above and
The step of matching process of OLT.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, described
The step of matching process of any one ONU and OLT recited above is realized when computer program is executed by processor.
Matching process, device and the storage medium of ONU and OLT provided by the embodiment of the present invention receive the wide of OLT transmission
After broadcasting packet, ONU, according to the transmittability selection target operating mode of each operating mode, carries out institute from least two operating modes
The parsing operation and registration operation for stating broadcast packet, until the ONU is matched with the OLT.The ONU of the embodiment of the present invention and
Matching process, device and the storage medium of OLT, ONU based on the received voluntarily attempt to be matched with OLT by broadcast packet, is not necessarily to hand
Dynamic replacement optical module or ONU hardware, go to dock corresponding ONU again in the case where without the transmittability supported in known OLT,
It is fitted to ONU in the highest-capacity grade that current OLT can be supported, saves the O&M costs such as operator's installation, debugging.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of ONU provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the matching process one of ONU provided in an embodiment of the present invention and OLT;
Fig. 3 is the flow diagram of the matching process two of ONU provided in an embodiment of the present invention and OLT;
Fig. 4 is the flow diagram of the matching process three of ONU provided in an embodiment of the present invention and OLT;
Fig. 5 is the structural schematic diagram of the coalignment one of ONU provided in an embodiment of the present invention and OLT;
Fig. 6 is the structural schematic diagram of the coalignment two of ONU provided in an embodiment of the present invention and OLT.
Specific embodiment
In various embodiments of the present invention, after receiving the broadcast packet that OLT is sent, ONU is from least two operating modes
According to the transmittability selection target operating mode of each operating mode, parsing operation and the registration behaviour of the broadcast packet are carried out
Make, until the ONU is matched with the OLT.
Below with reference to embodiment, the present invention is further described in more detail.
Fig. 1 is the structural schematic diagram of ONU provided in an embodiment of the present invention;As shown in Figure 1, in embodiments of the present invention, it will
The hardware of ONU is divided into two kinds of 1G PON and 10G PON, by the communication system of ONU and OLT be reduced to OLT respectively with 1G PON and
Communication between 10G PON.Specifically, it is contemplated that 2 kinds of 1G PON, comprising: passive multi-plexing light accessing system (GPON, Gigabit-
Capable Passive Optical Network) and ethernet passive optical network (EPON, Ethernet Passive
Optical Network) it can accomplish to be compatible on hardware;4 kinds of 10G PON, comprising: symmetrical passive optical-fiber network (XGSPON,
Passive Optical Network), asymmetric passive optical-fiber network (XGPON, Passive Optical Network),
10G ethernet passive optical network (EPON, Ethernet Passive Optical Network) is symmetrical, 10G ether passive optical network
Network (EPON, Ethernet Passive Optical Network) is asymmetric can also to be accomplished to be compatible on hardware, so as to
The hardware of ONU is divided into two kinds of 1G PON and 10G PON, by the communication system of ONU and OLT be reduced to OLT respectively with 1G
Communication between PON and 10G PON.
For 2 kinds of 1G PON, it should be noted that GPON ONU, the upstream wavelength of EPON ONU, downstream wavelength are identical,
Optical module can also be unified.
For 4 kinds of 10G PON, it should be noted that the upstream wavelength of the asymmetrical ONU of 10GEPON has required to be narrowed to
XGSPON, 10GEPON that 1260~1280nm, 10G PON include be symmetrical, the asymmetrical ONU of XGPON, 10GEPON upgoing wave
Length can be unified, and downstream wavelength and rate are also identical;In addition, the power requirement of the optical module of the asymmetrical ONU of 10GEPON is
The power requirement of the optical module of 0.5~5.6dBm, XGPON ONU is 2~7dBm, the symmetrical ONU and XGSPON ONU's of 10GEPON
The power requirement of optical module is 4~9dBm, the transmitting optical power of optical module can be set by peak power, and pass through difference
Parameter adjust practical transmitting optical power so that the optical module of 10G PON is uniformly.
In addition, it is necessary to explanation, PON MAC chip has supported full mould, so that PON MAC chip is between optical module
Interface design can be unified for same.
Fig. 2 is the flow diagram of the matching process one of ONU provided in an embodiment of the present invention and OLT, the method application
In ONU, as shown in Figure 2, which comprises
After the broadcast packet that step 201, reception OLT are sent, ONU is from least two operating modes according to each operating mode
Transmittability selection target operating mode;
Specifically, at least two operating mode may include: that XGSPON, 10GEPON be symmetrical, XGPON, 10GEPON
It is asymmetric, in GPON, EPON at least two;
Each operating mode respectively corresponds different parameters, parsing strategy etc., and the parameter may include: transmission rate (packet
Include: upstream rate, downstream rate), optical module send power etc.;ONU can be according to the corresponding parameter switching of different working modes
For required operating mode, realizes multi-operation mode and deposit.The parsing strategy characterizes the corresponding parsing data packet of operating mode
Strategy.
The corresponding relationship of the operating mode and parsing strategy, the operating mode and parameter corresponding relationship can be by
The operation maintenance personnel of ONU and OLT presets and is stored in ONU.
Here, the transmittability may include: transmission rate;The transmission rate is bigger, then the transmittability is got over
Height, conversely, the transmission rate is smaller, the transmittability is lower.
Specifically, before the step 201, which comprises ONU connects OLT by optical fiber, and OLT sends to ONU and broadcasts
Packet, the broadcast packet are received by the ONU.
Specifically, the ONU is from least two operating modes according to the transmittability selection target work of each operating mode
Operation mode, comprising:
The ONU according to the transmittability of each operating mode, by the sequence of transmittability from high to low to it is described extremely
Few two operating modes are ranked up;
According to ranking results from least two operating mode successively selection target operating mode.
Step 202, ONU carry out the parsing operation and registration operation of the broadcast packet, until the ONU and OLT
Matching.
Specifically, the ONU carries out the parsing operation and registration operation of the broadcast packet, comprising:
The ONU determines the parsing strategy of the target operational mode, by the determining parsing strategy to the broadcast
Packet executes parsing operation;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing
As a result registration operation is executed;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
Specifically, registration operation is executed after obtaining parsing result, it is understood that there may be the case where registration failure, therefore this reality
It applies and further provides for a kind of scheme in example;It is here, described that registration operation is executed according to the parsing result, comprising:
Judge whether the parsing result includes network type identifier, determines that the parsing result includes network type mark
Know symbol, it is determined that the corresponding operating mode of the network type identifier, and judge the corresponding work of the network type identifier
Whether operation mode is consistent with the target operational mode;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then note is executed
Volume operation;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by institute
It states target operational mode and is adjusted to the corresponding operating mode of the network type identifier, under target operational mode after the adjustment
Registration operation is executed, i.e., sends registration request to the OLT to complete to register.
Here, the broadcast packet may include: the network type identifier for being used to indicate OLT and being currently located operating mode;
Different network type identifiers corresponds to different operating modes, and the ONU can be determined according to the network type identifier
Corresponding operating mode.Here, the network type identifier can be stored in the corresponding frame of the data packet, as physical frame is same
Walk code, lead code, not used reserved bit at present in frame structure.
Here, the method also includes: when to determine the parsing result not include network type identifier, ONU directly exists
Registration operation is executed under target operational mode, and judges whether to complete registration;When determining completion registration, the ONU and institute are determined
State OLT matching.
For example, ONU determines that the parsing result includes network type identifier, and determines the network type mark
According with corresponding operating mode is XGPON, and the ONU judges whether XGPON is consistent with current target operational mode, is determined
XGPON is consistent with current target operational mode, then ONU completes registration under XGPON operating mode;Determine XGPON and current
Target operational mode it is inconsistent, then select XGPON as target operational mode, carry out registration operation after being adjusted to XGPON.
Specifically, the parsing operation for carrying out the broadcast packet and registration operate, and may include:
The ONU executes parsing operation to the broadcast packet using the corresponding parsing strategy of the target operational mode, sentences
Break and whether obtains the parsing result of broadcast packet under target operational mode;
When determining the parsing result for obtaining broadcast packet, the ONU can send registration to OLT under target operational mode and ask
It asks;Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT;
When determination does not obtain the parsing result of broadcast packet, it is determined that the ONU cannot under the target operational mode
Registration request is sent to OLT, ONU is selected from least two operating mode according to the transmittability of each operating mode again
Fresh target operating mode, then carry out the parsing operation and registration operation of the broadcast packet.
Here, the broadcast packet, further includes: the relevant information of OLT, such as message authentication code (MAC, Message
Authentication Code) etc.;
The ONU executes registration operation, may include: the relevant information that ONU obtains the OLT from the broadcast packet,
Registration request is generated and sent according to the relevant information.
After the OLT receives registration request and carries out registration operation, registering result can be sent to ONU, with explanation whether at
Function completes registration;The ONU receives the registering result that the OLT is sent, and is determined whether to complete registration according to the registering result.
Fig. 3 is the flow diagram of the matching process two of ONU provided in an embodiment of the present invention and OLT;As shown in figure 3, institute
The method of stating includes:
After step 301, ONU are powered on, the broadcast packet that OLT is sent is received, according to each work from least two operating modes
The transmittability selection target operating mode of mode;
Here, at least two operating mode, comprising: XGSPON, 10GEPON are symmetrical, XGPON, 10GEPON are non-right
Title, GPON, EPON;Each operating mode respectively corresponds different transmission rate and parsing strategy.
It is described from least two operating modes according to the transmittability selection target operating mode of each operating mode, packet
It includes:
ONU is according to the transmittability of each operating mode, by the sequence of transmittability from high to low to described at least two
A operating mode is ranked up;According to ranking results from least two operating mode successively selection target operating mode.
Here, the transmittability can be indicated by transmission rate, and ONU can be descending to described according to transmission rate
Operating mode is ranked up, and ranking results can be with are as follows: XGSPON, 10GEPON are symmetrical, XGPON, 10GEPON are asymmetric, GPON,
EPON;Here, the target operational mode selected for the first time is XGSPON operating mode.
Step 302, according to the corresponding parameter setting work mode of target operational mode, and determine that target operational mode is corresponding
Parsing strategy;
Here, ONU can determine the corresponding ginseng of the target operational mode according to the corresponding relationship of operating mode and parameter
Number;
The corresponding parsing of the target operational mode can also be determined according to the corresponding relationship of operating mode and parsing strategy
Strategy.
Step 303, ONU carry out parsing operation to the broadcast packet by the parsing strategy, judge whether to obtain wide
Broadcast the parsing result of packet;
When determining the parsing result for obtaining broadcast packet, then 304 are entered step;
It determines the parsing result for not obtaining broadcast packet, then enters step 305.
Step 304, ONU execute registration operation under target operational mode, judge whether to complete registration, determine and do not complete note
Volume, then enter step 305;Determination is succeeded in registration, it is determined that ONU and OLT successful match can carry out data communication;
Step 305, ONU again according to the transmittability of each operating mode from least two operating modes selection target work
Operation mode, i.e., according to 10GEPON is symmetrical, XGPON, 10GEPON are asymmetric, GPON, EPON operating mode sequence successively determines
Target operational mode, and step 302,303,304,305 are repeated, until completing registration.
Fig. 4 is the flow diagram of the matching process three of ONU provided in an embodiment of the present invention and OLT;As shown in figure 4, institute
The method of stating includes:
After step 401, ONU are powered on, the broadcast packet that OLT is sent is received, according to each work from least two operating modes
The transmittability selection target operating mode of mode;
Here, at least two operating mode, comprising: XGSPON, 10GEPON are symmetrical, XGPON, 10GEPON are non-right
Title, GPON, EPON;Each operating mode respectively corresponds different transmission rate and parsing strategy.
It is described from least two operating modes according to the transmittability selection target operating mode of each operating mode, packet
It includes:
According to the transmittability of each operating mode, by the sequence of transmittability from high to low at least two work
Operation mode is ranked up;
According to ranking results from least two operating mode successively selection target operating mode.
Here, the transmittability can be indicated by transmission rate, and ONU can be descending to described according to transmission rate
Operating mode is ranked up, and ranking results can be with are as follows: XGSPON, 10GEPON are symmetrical, XGPON, 10GEPON are asymmetric, GPON,
EPON;Here, the target operational mode selected for the first time is XGSPON operating mode.
Step 402, according to the corresponding parameter setting work mode of target operational mode, and determine that target operational mode is corresponding
Parsing strategy;
Here, ONU can determine the corresponding ginseng of the target operational mode according to the corresponding relationship of operating mode and parameter
Number;
The corresponding parsing of the target operational mode can also be determined according to the corresponding relationship of operating mode and parsing strategy
Strategy.
Step 403, ONU carry out parsing operation to the broadcast packet by the parsing strategy, judge whether to obtain wide
It broadcasts the parsing result of packet and obtains the network type identifier that the broadcast packet includes;
It determines and obtains the network type identifier that the broadcast packet includes, then enter step 404;
Determination does not obtain the network type identifier that the broadcast packet includes, then enters step 405;
Target operational mode is adjusted to the corresponding operating mode of the network type identifier by step 404, ONU, and
Registration request is sent under the corresponding operating mode of the network type identifier to complete to register, succeed in registration indicate ONU with
OLT successful match can carry out data communication;
Here, different network type identifiers corresponds to different operating modes, and the ONU is according to the network type mark
Know symbol and determines corresponding operating mode.
It should be noted that target operational mode is adjusted to the corresponding operating mode of the network type identifier here
Afterwards, it is believed that the ONU can complete to register with OLT, it is possible to omit the operation for judging whether to complete registration, certainly
The operation for judging whether to complete registration can be retained.
Step 405, ONU again according to the transmittability of each operating mode from least two operating modes selection target work
Operation mode, i.e., according to 10GEPON is symmetrical, XGPON, 10GEPON are asymmetric, GPON, EPON operating mode sequence successively determines
Target operational mode, and step 402,403,404,405 are repeated, until completing registration.
Fig. 5 is the structural schematic diagram of the coalignment one of ONU provided in an embodiment of the present invention and OLT;As shown in figure 5, institute
Stating device includes: first processing module 501, Second processing module 502;Wherein,
The first processing module 501, after receiving the broadcast packet that OLT is sent, the root from least two operating modes
According to the transmittability selection target operating mode of each operating mode;
The Second processing module 502, the parsing for carrying out the broadcast packet operates and registration operation, until described
ONU is matched with the OLT.
Specifically, the first processing module 501, specifically for the transmittability according to each operating mode, by biography
The sequence of Movement Capabilities from high to low is ranked up at least two operating mode;According to ranking results from described at least two
Successively selection target operating mode in operating mode.
Specifically, the Second processing module 502 is pressed specifically for the parsing strategy of the determination target operational mode
The determining parsing strategy executes parsing operation to the broadcast packet;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing
As a result registration operation is executed;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
Specifically, the Second processing module 502, specifically for judging whether the parsing result includes network type mark
Know symbol, determine that the parsing result includes network type identifier, it is determined that the corresponding Working mould of the network type identifier
Formula, and judge whether the corresponding operating mode of the network type identifier and the target operational mode are consistent;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then note is executed
Volume operation;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by institute
It states target operational mode and is adjusted to the corresponding operating mode of the network type identifier, under target operational mode after the adjustment
Execute registration operation.
Specifically, the Second processing module 502, specifically for according to the operating mode of preservation and the correspondence of parsing strategy
Relationship determines the corresponding parsing strategy of the target operational mode.
The method of embodiment to realize the present invention, the embodiment of the present invention provide the coalignment of ONU and OLT a kind of, specifically
For, as shown in fig. 6, the device 60 includes:
Processor 601 and memory 602 for storing the computer program that can be run on the processor;Its
In,
The processor 601 is for executing when running the computer program:
After receiving the broadcast packet that OLT is sent, selected from least two operating modes according to the transmittability of each operating mode
Target operational mode is selected, the parsing operation and registration operation of the broadcast packet are carried out, until the ONU is matched with the OLT.
In one embodiment, the processor 601 is for executing when running the computer program:
According to the transmittability of each operating mode, by the sequence of transmittability from high to low at least two work
Operation mode is ranked up;
According to ranking results from least two operating mode successively selection target operating mode.
In one embodiment, the processor 601 is for executing when running the computer program:
The parsing strategy for determining the target operational mode executes solution to the broadcast packet by the determining parsing strategy
Analysis operation;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing
As a result registration operation is executed;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
In one embodiment, the processor 601 is for executing when running the computer program:
Judge whether the parsing result includes network type identifier, determines that the parsing result includes network type mark
Know symbol, it is determined that the corresponding operating mode of the network type identifier, and judge the corresponding work of the network type identifier
Whether operation mode is consistent with the target operational mode;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then note is executed
Volume operation;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by institute
It states target operational mode and is adjusted to the corresponding operating mode of the network type identifier, under target operational mode after the adjustment
Execute registration operation.
In one embodiment, the processor 601 is for executing when running the computer program:
According to the corresponding relationship of the operating mode of preservation and parsing strategy, the corresponding parsing of the target operational mode is determined
Strategy.
It should be understood that the matching process of the coalignment of ONU provided by the above embodiment and OLT and ONU and OLT are real
It applies example and belongs to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Certainly, when practical application, as shown in fig. 6, the device 60 can also include: at least one network interface 603.The dress
The various components set in 60 are coupled by bus system 604.It is understood that bus system 604 is for realizing these components
Between connection communication.Bus system 604 further includes power bus, control bus and state letter in addition to including data/address bus
Number bus.But for the sake of clear explanation, various buses are all designated as bus system 604 in Fig. 6.
Wherein, the number of the processor 604 can be at least one.
Communication of the network interface 603 for wired or wireless way between device 60 and other equipment.
Memory 602 in the embodiment of the present invention is for storing various types of data to support the operation of device 60.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 601 may be implemented or hold
Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint
What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding
Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at
In storage medium, which is located at memory 602, and processor 601 reads the information in memory 602, in conjunction with its hardware
The step of completing preceding method.
In the exemplary embodiment, the coalignment 60 of ONU and OLT can be by one or more application specific integrated circuit
(ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD,
Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic
Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control
Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member
Part is realized, for executing preceding method.
It is appreciated that the memory (such as memory 602) in the embodiment of the present invention, can be volatile memory or non-
Volatile memory may also comprise both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only
Memory (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read-Only
Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory),
Electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only
Memory), magnetic RAM (FRAM, ferromagnetic random access memory), flash
Device (Flash Memory), magnetic surface storage, CD or CD-ROM (CD-ROM, Compact Disc Read-Only
Memory);Magnetic surface storage can be magnetic disk storage or magnetic tape storage.Volatile memory can be arbitrary access and deposit
Reservoir (RAM, Random Access Memory) is used as External Cache.By exemplary but be not restricted explanation,
The RAM of many forms is available, such as static random access memory (SRAM, Static Random Access Memory), same
Walk static random access memory (SSRAM, Synchronous Static Random Access Memory), dynamic random
Access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM,
Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM
It is (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced same
Walk dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access
Memory), synchronized links dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access
Memory), direct rambus random access memory (DRRAM, Direct Rambus Random Access Memory).
The memory of description of the embodiment of the present invention is intended to include but is not limited to the memory of these and any other suitable type.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including
The memory 602 of computer program, above-mentioned computer program can be executed by the processor 601 of the coalignment 60 of ONU and OLT,
To complete step described in preceding method.
Specifically, the embodiment of the invention provides a kind of computer readable storage medium, it is stored thereon with computer program,
When the computer program is run by processor, execute:
After receiving the broadcast packet that OLT is sent, selected from least two operating modes according to the transmittability of each operating mode
Target operational mode is selected, the parsing operation and registration operation of the broadcast packet are carried out, until the ONU is matched with the OLT.
In one embodiment, it when the computer program is run by processor, executes:
According to the transmittability of each operating mode, by the sequence of transmittability from high to low at least two work
Operation mode is ranked up;
According to ranking results from least two operating mode successively selection target operating mode.
In one embodiment, it when the computer program is run by processor, executes:
The parsing strategy for determining the target operational mode executes solution to the broadcast packet by the determining parsing strategy
Analysis operation;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing
As a result registration operation is executed.
In one embodiment, it when the computer program is run by processor, executes:
Judge whether the parsing result includes network type identifier, determines that the parsing result includes network type mark
Know symbol, it is determined that the corresponding operating mode of the network type identifier, and judge the corresponding work of the network type identifier
Whether operation mode is consistent with the target operational mode;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then note is executed
Volume operation;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by institute
It states target operational mode and is adjusted to the corresponding operating mode of the network type identifier, under target operational mode after the adjustment
Execute registration operation.
In one embodiment, it when the computer program is run by processor, executes:
According to the corresponding relationship of the operating mode of preservation and parsing strategy, the corresponding parsing of the target operational mode is determined
Strategy.
It should be understood that computer readable storage medium provided in an embodiment of the present invention can be FRAM, ROM, PROM,
The memories such as EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include above-mentioned
The various equipment of one of memory or any combination.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all
Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention
Within the scope of.
Claims (12)
1. the matching process of a kind of optical network unit ONU and optical line terminal OLT, which is characterized in that the described method includes:
After receiving the broadcast packet that OLT is sent, ONU is selected from least two operating modes according to the transmittability of each operating mode
Target operational mode carries out the parsing operation and registration operation of the broadcast packet, until the ONU is matched with the OLT.
2. the method according to claim 1, wherein it is described from least two operating modes according to each Working mould
The transmittability selection target operating mode of formula, comprising:
According to the transmittability of each operating mode, by the sequence of transmittability from high to low at least two Working mould
Formula is ranked up;
According to ranking results from least two operating mode successively selection target operating mode.
3. the method according to claim 1, wherein the parsing operation and registration for carrying out the broadcast packet
Operation, comprising:
The parsing strategy for determining the target operational mode executes parsing behaviour to the broadcast packet by the determining parsing strategy
Make;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing result
Execute registration operation;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
4. according to the method described in claim 3, it is characterized in that, described execute registration operation, packet according to the parsing result
It includes:
Judge whether the parsing result includes network type identifier, determines that the parsing result includes network type mark
Symbol, it is determined that the corresponding operating mode of the network type identifier, and judge the corresponding work of the network type identifier
Whether mode is consistent with the target operational mode;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then registration behaviour is executed
Make;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by the mesh
Mark operating mode is adjusted to the corresponding operating mode of the network type identifier, executes under target operational mode after the adjustment
Registration operation.
5. according to the method described in claim 3, it is characterized in that, the parsing strategy of the determination target operational mode,
Include:
According to the corresponding relationship of the operating mode of preservation and parsing strategy, the corresponding parsing plan of the target operational mode is determined
Slightly.
6. the coalignment of ONU and OLT a kind of, which is characterized in that described device includes: first processing module, second processing mould
Block;Wherein,
The first processing module, after receiving the broadcast packet that OLT is sent, according to each work from least two operating modes
The transmittability selection target operating mode of mode;
The Second processing module, the parsing for carrying out the broadcast packet operates and registration operation, until the ONU and institute
State OLT matching.
7. device according to claim 6, which is characterized in that the first processing module is specifically used for according to described each
The transmittability of operating mode is ranked up at least two operating mode by the sequence of transmittability from high to low;Root
According to ranking results from least two operating mode successively selection target operating mode.
8. device according to claim 6, which is characterized in that the Second processing module is specifically used for determining the mesh
The parsing strategy for marking operating mode executes parsing operation to the broadcast packet by the determining parsing strategy;
Judge whether to obtain the parsing result of the broadcast packet, determines when obtaining the parsing result, according to the parsing result
Execute registration operation;
Judge whether to complete registration, when determining completion registration, it is determined that the ONU is matched with the OLT.
9. device according to claim 8, which is characterized in that the Second processing module is specifically used for judging the solution
It analyses whether result includes network type identifier, determines that the parsing result includes network type identifier, it is determined that the net
The corresponding operating mode of network type identifier, and judge the corresponding operating mode of the network type identifier and the target work
Whether operation mode is consistent;
When determining that the corresponding operating mode of the network type identifier is consistent with the target operational mode, then registration behaviour is executed
Make;
When determining that the corresponding operating mode of the network type identifier and the target operational mode are inconsistent, then by the mesh
Mark operating mode is adjusted to the corresponding operating mode of the network type identifier, executes under target operational mode after the adjustment
Registration operation.
10. device according to claim 8, which is characterized in that the Second processing module, specifically for according to preservation
The corresponding relationship of operating mode and parsing strategy determines the corresponding parsing strategy of the target operational mode.
11. the coalignment of ONU and OLT a kind of characterized by comprising processor and for store can be on a processor
The memory of the computer program of operation,
Wherein, the processor is for when running the computer program, perform claim to require any one of 1 to 5 the method
Step.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of any one of claim 1 to 5 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711129768.9A CN109803185B (en) | 2017-11-15 | 2017-11-15 | ONU and OLT matching method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711129768.9A CN109803185B (en) | 2017-11-15 | 2017-11-15 | ONU and OLT matching method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109803185A true CN109803185A (en) | 2019-05-24 |
CN109803185B CN109803185B (en) | 2022-01-07 |
Family
ID=66554678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711129768.9A Active CN109803185B (en) | 2017-11-15 | 2017-11-15 | ONU and OLT matching method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109803185B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110557693A (en) * | 2019-09-26 | 2019-12-10 | 上海欣诺通信技术股份有限公司 | Optical network protocol analyzer |
WO2023226850A1 (en) * | 2022-05-27 | 2023-11-30 | 中国移动通信有限公司研究院 | Signal compensation method and apparatus, related device, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070133800A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics & Telecommunications Research Institute | Method for setting security channel based on MPCP between OLT and ONUs in EPON, and MPCP message structure for controlling frame transmission |
CN101552932A (en) * | 2008-04-01 | 2009-10-07 | 华为技术有限公司 | Method, devices and system for transmitting and processing optical-fiber network |
CN102017522A (en) * | 2008-05-05 | 2011-04-13 | 诺基亚西门子通信公司 | Two and three-stroke discovery process for 10G-EPONs |
CN102480651A (en) * | 2010-11-23 | 2012-05-30 | 中兴通讯股份有限公司 | Multi-rate optical signal transmission method, multi-rate optical signal transmission system and optical network unit |
US20140056585A1 (en) * | 2012-02-16 | 2014-02-27 | Nec Laboratories America, Inc. | Next Generation Optical Access Network with Centralized Digital OLT |
WO2015139218A1 (en) * | 2014-03-19 | 2015-09-24 | 华为技术有限公司 | Communication method, apparatus, and system for passive optical network (pon) |
CN105191340A (en) * | 2013-02-26 | 2015-12-23 | 中兴通讯股份有限公司 | Channel map for optical network unit activation and rogue behavior prevention |
WO2016015216A1 (en) * | 2014-07-29 | 2016-02-04 | 华为技术有限公司 | Method and apparatus for device registration and wavelength switching in ethernet passive optical network system |
-
2017
- 2017-11-15 CN CN201711129768.9A patent/CN109803185B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070133800A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics & Telecommunications Research Institute | Method for setting security channel based on MPCP between OLT and ONUs in EPON, and MPCP message structure for controlling frame transmission |
CN101552932A (en) * | 2008-04-01 | 2009-10-07 | 华为技术有限公司 | Method, devices and system for transmitting and processing optical-fiber network |
CN102017522A (en) * | 2008-05-05 | 2011-04-13 | 诺基亚西门子通信公司 | Two and three-stroke discovery process for 10G-EPONs |
CN102480651A (en) * | 2010-11-23 | 2012-05-30 | 中兴通讯股份有限公司 | Multi-rate optical signal transmission method, multi-rate optical signal transmission system and optical network unit |
US20140056585A1 (en) * | 2012-02-16 | 2014-02-27 | Nec Laboratories America, Inc. | Next Generation Optical Access Network with Centralized Digital OLT |
CN105191340A (en) * | 2013-02-26 | 2015-12-23 | 中兴通讯股份有限公司 | Channel map for optical network unit activation and rogue behavior prevention |
WO2015139218A1 (en) * | 2014-03-19 | 2015-09-24 | 华为技术有限公司 | Communication method, apparatus, and system for passive optical network (pon) |
WO2016015216A1 (en) * | 2014-07-29 | 2016-02-04 | 华为技术有限公司 | Method and apparatus for device registration and wavelength switching in ethernet passive optical network system |
CN105830369A (en) * | 2014-07-29 | 2016-08-03 | 华为技术有限公司 | Method and apparatus for device registration and wavelength switching in ethernet passive optical network system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110557693A (en) * | 2019-09-26 | 2019-12-10 | 上海欣诺通信技术股份有限公司 | Optical network protocol analyzer |
WO2023226850A1 (en) * | 2022-05-27 | 2023-11-30 | 中国移动通信有限公司研究院 | Signal compensation method and apparatus, related device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109803185B (en) | 2022-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1082294C (en) | Internodal user data transmission method for communication network supporting intelligent network architecture | |
WO2017067518A1 (en) | Method and mobile terminal for realizing communication connection thereof | |
CN106470415A (en) | Smart card and its Activiation method, Internet of things system, management platform of remotely contracting | |
CN105530623A (en) | Method and system for realizing mobile terminal communication connection | |
CN107846313B (en) | A kind of method and the network equipment of the generation of network service moulding plate | |
CN111885144B (en) | Equipment binding method and device | |
CN109246780A (en) | A kind of conversation switching method, apparatus and system | |
CN106385710A (en) | System information transmission method and transmission apparatus | |
CN101924643A (en) | Updating method and system of card software in communication system equipment | |
CN110391921B (en) | Method and device for processing configuration information of OLT (optical line terminal) port and storage medium | |
CN102547679B (en) | Number conversion method, device and access system for Internet of things | |
CN105530627A (en) | Method for realizing communication connection of mobile terminal, card adaption server side, and mobile terminal | |
CN109803185A (en) | A kind of matching process, device and the storage medium of ONU and OLT | |
CN106487575A (en) | A kind of communication module batch upgrading method based on power line communication | |
CN110062302A (en) | PON network communication framework and communication means based on TDMA | |
CN105721186B (en) | A kind of determination method and device of ODN connection relationship | |
CN102546558A (en) | Method for switching protocols in optical network unit and optical network unit | |
CN113315717B (en) | Service balancing method and device, electronic equipment and storage medium | |
CN101442756B (en) | Method and apparatus for recognizing baseband zooming unit logic topology structure | |
CN105246132A (en) | Parameter matching method and device for network access point | |
CN104704867B (en) | The method and apparatus of data routing | |
CN110324734B (en) | Automatic importing method and system for regional customized configuration of PON terminal | |
CN108959984A (en) | Intelligent card data wiring method and device | |
CN106303762A (en) | ONU template generation method and device | |
CN102209037B (en) | Media access control address switching method, network equipment and user equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |