The content of the invention
Based on this, it is necessary to which there is provided one for the problem of easily being influenceed for Ethernet service in distributed system by step-out
Ethernet service guard method and system in distributed system are planted, to protect Ethernet service in distributed system.
A kind of Ethernet service guard method in distributed system, distributed system includes muti-service access unit, many industry
Ethernet service guard method includes step in business expanding element and multi-service remote-end unit, distributed system:
Obtain the frame signal that muti-service access unit sends at most operation expanding unit;
Clock signal in frame signal is extracted, and clock signal is reduced, the first reference clock in distributed system is obtained and believes
Number;
The distributed system standard clock signal of outside input at most operation expanding unit is received, the second reference clock is used as
Signal;
When muti-service access unit and during multi-service expanding element step-out, by reference clock signal in distributed system by the
One reference clock signal switches to the second reference clock signal.
Ethernet service protects system in a kind of distributed system, and distributed system includes muti-service access unit, many industry
Ethernet service protection system includes in business expanding element and multi-service remote-end unit, distributed system:
Acquisition module, the frame signal of at most operation expanding unit is sent for obtaining muti-service access unit;
First clock signal module, is reduced for extracting clock signal in frame signal, and by clock signal, obtains distributed
First reference clock signal in system;
Second clock signaling module, the distributed system standard time clock for receiving outside input at most operation expanding unit
Signal, is used as the second reference clock signal;
Handover module, for that when muti-service access unit is with multi-service expanding element step-out, will join in distributed system
Examine clock signal and the second reference clock signal is switched to by the first reference clock signal.
Ethernet service guard method and system in distributed system of the present invention, distributed system include multi service access list
Member, multi-service expanding element and multi-service remote-end unit, obtain muti-service access unit transmission at most operation expanding unit
Frame signal, extracts clock signal in frame signal, and clock signal is reduced, and obtains the first reference clock signal, receives outside defeated
The second reference clock signal entered, when muti-service access unit and multi-service expanding element step-out, by multi-service expanding element
The second reference clock signal is switched to by the first reference clock signal with reference clock signal in multi-service remote-end unit.Whole mistake
Cheng Zhong, only determines just to enter row clock switching on the premise of distributed system step-out, this can increase reliability, in addition in many industry
When being engaged in access unit with multi-service expanding element step-out, ensure that unit keeps same in distributed system by switching clock
Step, so as to which so that other business are unaffected, effectively realization is protected to Ethernet service in distributed system.
Embodiment
To explain in detail Ethernet service guard method and the skill of the whole technical scheme of system in distributed system of the present invention
Art principle and its effect, carry out further detailed description by the composition first against distributed system below.
Fig. 1 is optical fiber distributed type system group network structural representation, and whole system is made up of three parts, multi service access list
First MAU130, multi-service expanding element MEU140 and multi-service remote-end unit MRU150.Muti-service access unit is from base station 110
(BTS) coupled RF signal in.
Transmission medium 121 between muti-service access unit MAU130 and base station 110 can be coaxial cable, for coupling
Radiofrequency signal.Muti-service access unit MAU130 is realized is digitized processing by downstream signal, and digital uplink signal is turned
Into radiofrequency signal.Muti-service access unit MAU130 can couple the radio frequency of the mobile communication standards such as 2G, 3G, LTE from base station 110
Signal.It is attached between multi-service expanding element MEU140 and muti-service access unit MAU130 using optical fiber, transmits video
Data signal.The transmission medium 122 used between multi-service expanding element MEU140 and multi-service expanding element MEU140 can be with
It is optical fiber, category-5 cable, CAT5E UTP cable, six class lines etc..Multi-service expanding element MEU140 and multi-service expanding element MEU140 it
Between transmission information be digital radio signal that muti-service access unit MAU130 is transmitted.Multi-service expanding element MEU140
It can also be communicated with ethernet device 160, the transmission between multi-service expanding element MEU140 and ethernet device 160 is situated between
Matter 123 can be category-5 cable, CAT5E UTP cable or six class lines etc..Ethernet device 160 can support 100,000,000 transmission or gigabit to pass
Defeated equipment, such as interchanger, router, the ONU (Optical Network Unit, optical network unit) of passive optical-fiber network
Deng.Ethernet device 160 can support gigabit, 100,000,000 etc..Multi-service expanding element MEU140 can be by ethernet device 160
Ethernet signal and muti-service access unit MAU130 digital video signal by customized frame structure carry out framing, and
Communicated by customized frame structure with multi-service remote-end unit MRU150.Multi-service remote-end unit MRU150 and multi-service
It is also to use transmission medium 124 between expanding element MEU140, the transmission medium 124 can be optical fiber, category-5 cable, surpass five classes
Line, six class lines etc..Transmission signal between multi-service remote-end unit MRU150 and multi-service expanding element MEU140 includes numeral
Radiofrequency signal and ethernet signal.
As shown in Fig. 2 Ethernet service guard method in a kind of distributed system, including step:
S200:Obtain the frame signal that muti-service access unit sends at most operation expanding unit.
As shown in figure 1, passing through customized frame structure between muti-service access unit MAU and multi-service expanding element MEU
Data are transmitted, multi-service expanding element MEU can receive the data from muti-service access unit MAU.Herein, directly
Obtain the frame signal that muti-service access unit sends at most operation expanding unit.
S400:Clock signal in frame signal is extracted, and clock signal is reduced, when obtaining in distributed system first and referring to
Clock signal.
Clock signal in the frame signal that extraction step S200 is obtained, clock signal is reduced, when acquisition is referred to after reduction
Clock signal, the reference clock signal is each components (muti-service access unit, multi-service expanding element in distributed system
And multi-service remote-end unit) between initial synchronizing clock signals, using the signal as in distributed system first refer to when
Clock signal.Non-essential, multi-service expanding element MEU is also by being responsible for receiving Ethernet data bag, by the storage of Ethernet bag simultaneously
Again framing, the packet weight that multi-service expanding element MEU is received by Ethernet data bag and from muti-service access unit MAU
It is new that framing is into the packet for being adapted to transmit on medium and is uniformly sent to multi-service remote-end unit MRU.
S600:The distributed system standard clock signal of outside input at most operation expanding unit is received, the second ginseng is used as
Examine clock signal.
Control multi-service expanding element MEU to receive the clock signal of outside input, and the clock signal of outside input is made
For the second reference clock signal, the clock signal of outside input is the default standard clock signal of distributed system.It is non-essential,
The clock signal of outside input can be specifically the predeterminated frequency signal generated by all kinds of crystal oscillators, and the signal can be
The clock signal that historical empirical data analysis acquisition meets current distributed system standard is needed and combined according to actual conditions.
S800:When muti-service access unit and multi-service expanding element step-out, reference clock in distributed system is believed
Number the second reference clock signal is switched to by the first reference clock signal.
Judge that muti-service access unit whether there is step-out phenomenon with multi-service expanding element, when it is present, by multi-service
Expanding element switches to the second reference clock letter with reference clock signal in multi-service remote-end unit by the first reference clock signal
Number.Specifically, multi-service expanding element can be sent a command to, judged by the process chip in multi-service expanding element be
No to occur step-out with muti-service access unit abnormal, when present, and clock signal is switched into the by the first reference clock signal
Two reference clock signals.Clock signal is switched to after the second reference clock signal in distributed system, muti-service access unit, many
Operation expanding unit and multi-service remote-end unit can keep synchronous regime, not interfere with Ethernet service in compartment system
Normal process.
Ethernet service guard method in distributed system of the present invention, distributed system includes muti-service access unit, many
Operation expanding unit and multi-service remote-end unit, obtain the frame letter that muti-service access unit sends at most operation expanding unit
Number, clock signal in frame signal is extracted, and clock signal is reduced, the first reference clock signal is obtained, outside input is received
Second reference clock signal, when muti-service access unit and during multi-service expanding element step-out, by multi-service expanding element with it is many
Reference clock signal switches to the second reference clock signal by the first reference clock signal in business far-end unit.Whole process
In, only determine just to enter row clock switching on the premise of distributed system step-out, this can increase reliability, in addition in multi-service
When access unit is with multi-service expanding element step-out, ensure that unit keeps synchronous in distributed system by switching clock,
So as to which so that other business are unaffected, effectively realization is protected to Ethernet service in distributed system.
As shown in figure 3, in one of the embodiments, also including after step S800:
S900:Detect whether multi-service expanding element is synchronous with multi-service remote-end unit.
After row clock switching is entered, to avoid the occurrence of extreme abnormal conditions (such as because unit exception causes clock to be believed
Number mistake, clock switching are unsuccessful etc.), it is necessary to whether detection multi-service expanding element is synchronous with multi-service remote-end unit again,
When both are synchronous (in a synchronization system), show that the switching of this clock is effective and successful, when both are not yet synchronous
When, represent that the switching of this clock exists abnormal, it is necessary to feed back the abnormal conditions, for example, can send prompting message and give work people
Member.
As shown in figure 3, in one of the embodiments, receiving the distributed system of outside input at most operation expanding unit
Standard clock signal, also includes as after the step of the second reference clock signal:
S700:When muti-service access unit is synchronous with multi-service expanding element, multi-service expanding element is controlled by first
Reference clock signal is sent to multi-service far-end unit.
When muti-service access unit is synchronous with multi-service expanding element, show that reference clock is believed in current distributed system
Number synchronisation requirement is disclosure satisfy that, now send the first reference clock signal to multi-service far-end unit, so that multi-service extends
Unit is synchronous with multi-service remote-end unit, i.e., muti-service access unit, multi-service expanding element and many industry in distributed system
Three parts of far-end unit be engaged in same synchronization system.
In one of the embodiments, clock signal in frame signal is extracted, and clock signal is reduced, distributed system is obtained
Include in system the step of the first reference clock signal:
Step one:Clock signal in frame signal is extracted, recovers multi-service expanding element link clock.
Step 2:Using the link clock of recovery as clock phase-locked loop ring element in multi-service expanding element reference clock,
Obtain the first reference clock signal in distributed system.
Further to explain in detail the technical scheme of Ethernet service guard method in distributed system of the present invention, below
It will be described in detail using multi-service expanding element as visual angle using concrete application example.
As shown in figure 4, multi-service expanding element MEU includes control unit, clock unit, ethernet device and FPGA
(Field-Programmable Gate Array, field programmable gate array) unit.Muti-service access unit MAU access with
By customized frame structure between multi-service expanding element MEU extensions, pass through some transmission medium, multi-service expanding element
MEU receives the frame signal that muti-service access unit MAU is sent, and clock signal is reduced.The clock signal of reduction is used as clock
First reference clock signal of unit.Multi-service expanding element MEU is also responsible for receiving Ethernet data bag by ethernet device,
Ethernet bag is stored and framing again.Multi-service expanding element MEU is by Ethernet data bag and from muti-service access unit
Framing is into the packet for being adapted to transmit on medium again and is uniformly sent to multi-service remote-end unit for the packet that MAU is received
MRU distal ends.Clock unit receives the standard time clock clock signal produced by all kinds of crystal oscillators of outside input, i.e., the second ginseng
Examine clock signal.Clock unit can judge whether multi-service expanding element MEU extensions are accessed with muti-service access unit MAU same
Step, and synchronizing information is passed into control unit.If asynchronous, control unit controls clock unit by reference clock by the first ginseng
Examine clock signal and switch to the second reference clock signal.Reference clock switches to the second reference clock, and clock unit can be normal defeated
Go out clock signal, multi-service expanding element MEU and multi-service remote-end unit MRU or a synchronous system, multi-service extension
Unit MEU and multi-service remote-end unit MRU can continue to provide Ethernet service.
As shown in figure 5, Ethernet service protects system in a kind of distributed system, distributed system includes multi service access
Ethernet service protection system includes in unit, multi-service expanding element and multi-service remote-end unit, distributed system:
Acquisition module 200, the frame signal of at most operation expanding unit is sent for obtaining muti-service access unit;
First clock signal module 400, reduces for extracting clock signal in frame signal, and by clock signal, is divided
First reference clock signal in cloth system;
Second clock signaling module 600, the distributed system standard for receiving outside input at most operation expanding unit
Clock signal, is used as the second reference clock signal;
Handover module 800, for when muti-service access unit is with multi-service expanding element step-out, by distributed system
Reference clock signal switches to the second reference clock signal by the first reference clock signal.
Ethernet service protects system in distributed system of the present invention, and distributed system includes muti-service access unit, many
Operation expanding unit and multi-service remote-end unit, acquisition module 200 obtain muti-service access unit and send at most operation expanding
The frame signal of unit, the first clock signal module 400 extracts clock signal in frame signal, and clock signal is reduced, and obtains the
One reference clock signal, second clock signaling module 600 receives the second reference clock signal of outside input, handover module 800
When muti-service access unit and multi-service expanding element step-out, by multi-service expanding element with being referred in multi-service remote-end unit
Clock signal switches to the second reference clock signal by the first reference clock signal.In whole process, distributed system is only determined
Just enter row clock switching on the premise of system step-out, this can increase reliability, expand in addition in muti-service access unit and multi-service
When opening up unit step-out, ensure that unit keeps synchronous in distributed system by switching clock, so as to so that other business
It is unaffected, effectively realize and Ethernet service in distributed system is protected.
As shown in fig. 6, in one of the embodiments, Ethernet service protects system in distributed system, in addition to:
Synchronous detection module 900, for detecting whether multi-service expanding element is synchronous with multi-service remote-end unit.
As shown in fig. 6, in one of the embodiments, Ethernet service protects system in distributed system, its feature exists
In, in addition to:
Synchronization module 700, for when muti-service access unit is synchronous with multi-service expanding element, control multi-service to extend
Unit sends the first reference clock signal to multi-service far-end unit.
In one of the embodiments, the first clock signal module includes:
Recovery unit is extracted, for extracting clock signal in frame signal, recovers multi-service expanding element link clock;
Reference clock unit, for regarding the link clock of recovery as clock phase-locked loop ring element in multi-service expanding element
Reference clock, obtains the first reference clock signal in distributed system.
In one of the embodiments, Ethernet service protection system also includes in distributed system:
Standard clock signal generation module, for generating distributed system standard clock signal by crystal oscillator, and
By the standard clock signal input at most operation expanding unit of generation.
In addition, Ethernet service protection system can also be integrated into such as figure in actual applications in distributed system of the present invention
Three functional unit modes shown in 7 realize its function, specifically, including clock phase-locked loop ring element, clock switching unit with
And clock recovery and synchronous judging unit.
Wherein, integrated clock recovery unit is used to recover link clock, and the clock of recovery is used as clock phase-locked loop ring element
Reference clock, that is, obtain distributed system the first reference clock signal.Integrated clock phase-locked loop ring element is used for according to the
One reference clock signal, produces and exports the clock signal of a certain specific frequency, and integrated clock switch control unit is used for root
Step loss condition is judged whether according to the clock signal of the first reference clock signal and generation and output, that is, judges whether needs
Reference clock switching is carried out, if so, then control clock phase-locked loop ring element joins reference clock signal in distributed system by first
The second reference clock signal that clock signal switches to the standard of outside input is examined, and detects whether to switch successfully.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.