CN101583054A - Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device - Google Patents

Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device Download PDF

Info

Publication number
CN101583054A
CN101583054A CNA2009100869726A CN200910086972A CN101583054A CN 101583054 A CN101583054 A CN 101583054A CN A2009100869726 A CNA2009100869726 A CN A2009100869726A CN 200910086972 A CN200910086972 A CN 200910086972A CN 101583054 A CN101583054 A CN 101583054A
Authority
CN
China
Prior art keywords
optical module
rate
optical
user
ply
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
CNA2009100869726A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2009100869726A priority Critical patent/CN101583054A/en
Publication of CN101583054A publication Critical patent/CN101583054A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention discloses a method for realizing that an optical interface supports multiple rate patterns by adopting an optical module, comprising the following step: after receiving the rate disposition instruction which is given by a user and aims at a certain optical interface on a line card, disposing the rate of the optical interface according to the disposed rate pattern of the user under the condition of determining that the optical module is positioned at the optical interface, that the optical module supports multiple rate patterns and that the current rate pattern of the optical module is inconsistent with the disposed rate pattern of the user. The method also further comprises loop detection part, namely, carrying out optical module detection on all the optical interfaces on the line card in turn and disposing a corresponding MAC circuit and the optical module of the optical interface into the rate patterns disposed by the user. The invention also discloses a device realizing that an optical interface supports multiple rate patterns by adopting an optical module. By adopting the invention, direct rate disposition instruction can be used for realizing rate switching, more manual operation inconvenience brought about by disposition of the rates of optical fibre links is avoided and inconvenience of rate switching at the optical interface is overcome.

Description

Utilize optical module realization optical interface to support the method and the device of multiple rate mode
Technical field
The present invention relates to the network communications technology, be specifically related to a kind of method and device that utilizes optical module realization optical interface to support multiple rate mode.
Background technology
The criteria for classifying of network type is various, divides and can be divided into four types of local area network (LAN), metropolitan area network, wide area network and the Internets to network from geographic range.Wherein local area network (LAN) is common, the most most widely used a kind of network, does not have too many restriction in its number of computers configuration, and few can have only two, many reached at hundreds of platforms.The characteristics of this network are exactly: join domain is narrow, number of users is few, configuration is easy, connect the speed height.
Ethernet in the local area network (LAN) because of its low cost, high reliability, open good, technology realize simple relatively, use characteristics such as comparatively convenient become development particularly rapidly, one of the most widely used networking technology.
Ethernet switch plays important basic role in the evolution of networking technologys such as Ethernet.From ten initial mbit ethernets, to 100,000,000 Fast Ethernets, arrive gigabit, ten thousand mbit ethernets again, the evolution of speed and variation have also proposed higher flexibility requirement to Ethernet switch, must possess the interface of supporting the different rates Ethernet protocol simultaneously on the Ethernet switch, to adapt to the access demand of various speed datas of user and various transmission mediums.
In the Ethernet, compare twisted-pair feeder as transmission medium, optical fiber as transmission medium have bandwidth big, be subjected to advantages such as interferences such as electromagnetism is little, transmission range is grown and use more widespread.
At present, with the Ethernet of optical fiber as transmission medium, the ply-yarn drill that adopts on its Ethernet switch has the optical interface of some, and different optical interfaces can be supported different physical layer protocol, and can realize the flexible configuration to single optical interface rate mode; But the optical module that adopts on the Ethernet switch is a single-rate, and optical module is inserted on the optical interface of ply-yarn drill.
When Ethernet switch utilizes ply-yarn drill and optical module transmission data, require the optical interface of ply-yarn drill to adopt identical rate mode with optical module.
For example, in order on optical fiber, to use 100 m ethernet standard agreement 100BASE-FX transmission, accordingly, need on Ethernet switch, use and realize 100,000,000 medium access control (MAC, Media AccessControl) physical layer (PHY of circuit and 100BASE-FX, Physical Layer), so, used ply-yarn drill must have the optical interface of supporting 100,000,000 physical layer protocol, used optical module uses the SFP optical module (SFP, Small Form Factor Pluggable) of corresponding 100BASE-FX; Equally, if in order to use gigabit Ethernet standard agreement 1000BASE-LX transmission, accordingly, need on switch, use and realize the PHY of gigabit MAC circuit and 1000BASE-LX, so, used ply-yarn drill must have the optical interface of supporting the gigabit physical layer protocol, and used optical module uses the SFP of corresponding 1000BASE-LX.
This has just caused, when the user needs to change the speed attribute of certain bar link flexibly, can only arrive the on-the-spot manual optical module of changing of machine room, inconvenience when bringing optical interface speed to switch, for the user, brought the inconvenience of management and use, produced the risk of instability of potential human factor, improved and safeguarded operation cost.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and device that utilizes optical module realization optical interface to support multiple rate mode, reduces the risk of instability of human factor, and reduces and safeguard operation cost.
For achieving the above object, technical scheme of the present invention is achieved in that and the invention provides a kind of device that utilizes optical module realization optical interface to support multiple rate mode, comprises ply-yarn drill and optical module; Wherein, ply-yarn drill, the present rate pattern that is used for determining optical module when inconsistent, is pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate with user's configured rate pattern; Optical module comprises the digital private circuit of supporting different physical layer protocol, is used for determining corresponding digital private circuit according to the configuration of ply-yarn drill.
In the said apparatus, described ply-yarn drill comprises summary responses module and optical interface; Wherein, when the summary responses module is used for determining that the present rate pattern of optical module and user's configured rate pattern are inconsistent, user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module respectively, and according to the media access control MAC circuit of user's configured rate pattern configurations optical interface correspondence; Optical interface is used for determining the present rate pattern according to the content and the MAC circuit of the MAC rate controlled register corresponding with self.
In the said apparatus, described summary responses module is further used for: determine whether optical interface has optical module on the throne; And/or, determine according to the model or the type parameter of optical module whether optical module supports multiple rate mode.
In the said apparatus, described ply-yarn drill further comprises: loop detection module, be used to carry out the poll-interval timing, and when finishing, the poll-interval timing starts cycle detection, determine whether optical interface has optical module on the throne, model or type parameter according to optical module determine whether optical module supports multiple rate mode, whether the present rate pattern of determining optical module is consistent with user's configured rate pattern, when inconsistent, user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module respectively, and according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence.
The present invention also provides a kind of method of utilizing optical module realization optical interface to support multiple rate mode, comprise: ply-yarn drill is pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate when the present rate pattern of determining optical module and user's configured rate pattern are inconsistent; The optical module that comprises the digital private circuit of supporting different physical layer protocol is determined corresponding digital private circuit according to the configuration of ply-yarn drill.
In the said method, before described ply-yarn drill determines that the present rate pattern of optical module and user's configured rate pattern are inconsistent, further comprise: after Ethernet switch receives the rate configuration instruction, according to line card number, optical interface number and rate mode indicate corresponding ply-yarn drill by user's configured rate pattern to the optical module configured rate on corresponding optical interface and this optical interface, and further the optical interface number corresponding relation with user's configured rate pattern is stored on the internal memory of ply-yarn drill.
In the said method, described ply-yarn drill further comprises: determine whether optical module is on the throne before determining that the present rate pattern of optical module and user's configured rate pattern are inconsistent; And/or, determine according to the model or the type parameter of optical module whether optical module supports multiple rate mode.
Said method further comprises: carry out the poll-interval timing; When finishing, the poll-interval timing starts cycle detection, determine successively whether each optical interface has optical module on the throne, determine whether optical module supports multiple rate mode, whether the present rate pattern of determining optical module is consistent with user's configured rate pattern, when inconsistent, press user's configured rate pattern to optical interface and optical module configured rate; Carry out the poll-interval timing.
In the said method, whether described definite optical interface has optical module on the throne, specifically comprise: the content of the CPU fetch interface optical module registers group on the throne on the ply-yarn drill, determine in this content whether the corresponding optical interface of expression has the position at optical module information place on the throne, and judge according to the information of this position whether corresponding optical interface has optical module on the throne; And/or, described model or type parameter according to optical module determines whether optical module supports multiple rate mode, specifically comprise: the content of the model register of the CPU on the ply-yarn drill by reading optical module is obtained the model of optical module, determine that whether this model is a kind of in the model of optical module of the multiple rate mode of support preserved of ply-yarn drill self, if then optical module is supported multiple rate mode; Perhaps, but the content of the supporting rate capabilities register of the CPU on the ply-yarn drill by reading optical module is obtained the property parameters of the rate mode that optical module supports, determines according to this property parameters whether optical module supports multiple rate mode.
In the said method, present rate pattern and user's configured rate pattern of described definite optical module are inconsistent, comprise: the CPU on the ply-yarn drill obtains the present rate pattern of optical module by the physical layer rate control register that reads optical module, and present rate pattern and user's configured rate pattern of optical module compared; And/or, described by user's configured rate pattern configurations speed, comprise: user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module respectively, and the CPU on the ply-yarn drill is according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence.
This shows that compared to existing technologies, a kind of optical module realization optical interface that utilizes provided by the present invention supports the method for multiple rate mode and device to have following characteristics and advantage:
The cooperation of the optical module by supporting multiple rate mode, directly use the flexible configuration of rate configuration instruction realization, need not manual operation, reduced the complexity that realizes rate configuration rate mode, improve efficient and reliability greatly, more thorough satisfied user's request.When changing the speed attribute of certain bar link, the inconvenience of having avoided the management that artificial plug optical module brought and having used, the user need not the scene and carries out manual operation, has eliminated the risk of instability that human factor causes, has reduced and has safeguarded operation cost; Overcome the inconvenience when optical interface speed is switched, realized the convenience of the rate configuration that optical interface and electrical interface are approaching.
In addition, when even Ethernet switch is received the rate configuration instruction that the user assigns, the corresponding optical interface of ply-yarn drill does not also insert optical module, but guaranteed as long as corresponding optical interface is plugged optical module by cycle detection, just can be as soon as possible by customer requirements finish rate configuration automatically, need not user's transmission rate configuration-direct once more.After the optical module on the optical interface damages, even the optical module of changing is inconsistent with user's configured rate pattern of corresponding optical interface, can as soon as possible the optical module after changing be configured to user's configured rate pattern by cycle detection, also need not user's transmission rate configuration-direct once more.
Description of drawings
Fig. 1 supports the apparatus structure schematic diagram of multiple rate mode for utilizing optical module realization optical interface among the present invention;
Fig. 2 supports the summary responses realization flow figure of multiple rate mode for utilizing optical module realization optical interface among the present invention;
Fig. 3 supports the cycle detection realization flow figure of multiple rate mode for utilizing optical module realization optical interface among the present invention.
Embodiment
The present invention is described in detail below in conjunction with drawings and the specific embodiments.
Fig. 1 supports the apparatus structure schematic diagram of multiple rate mode for utilizing optical module realization optical interface among the present invention, comprises ply-yarn drill and optical module.Wherein,
Ply-yarn drill, the present rate pattern that is used for determining optical module when inconsistent, are pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate with user's configured rate pattern;
Optical module comprises the digital private circuit of supporting different physical layer protocol, is used for determining corresponding digital private circuit according to the configuration of ply-yarn drill, thereby by user's configured rate mode transfer data.
Ply-yarn drill comprises the MAC layer of supporting multiple speed, is positioned on the Ethernet switch.Wherein, support the MAC layer of multiple speed, be used for carrying out data processing by user's configured rate pattern.Ethernet switch receives the rate configuration instruction that the user assigns, the instruction of this rate configuration comprises parameters such as line card number, optical interface number and rate mode, wherein, line card number, optical interface number are used for the corresponding optical interface on the ply-yarn drill that identifying user will carry out rate configuration, and rate mode is user's configured rate pattern.After Ethernet switch receives the rate configuration instruction, according to line card number, optical interface number and rate mode indicate corresponding ply-yarn drill by user's configured rate pattern to the optical module configured rate on corresponding optical interface and this optical interface, and can be further the optical interface number corresponding relation with user's configured rate pattern be stored on the internal memory of ply-yarn drill.
Ply-yarn drill is further used for determining whether optical module is on the throne; And when determining not have optical module on the throne, be further used for notifying the user not have optical module on the throne by Ethernet switch.Described optical module can be for only supporting a kind of optical module of rate mode, also can be for supporting the optical module of multiple rate mode.
Ply-yarn drill can also be further used for determining according to the model of optical module or type parameter whether optical module supports multiple rate mode; And be further used for when optical module is not supported multiple rate mode, notifying user's optical module not support multiple rate mode by Ethernet switch.
Ply-yarn drill can also be further used for carrying out the poll-interval timing, and when finishing, the poll-interval timing starts cycle detection, be specially: determine whether optical module is on the throne, model or type parameter according to optical module determine whether optical module supports multiple rate mode, whether the present rate pattern of determining optical module is consistent with user's configured rate pattern, when inconsistent, press user's configured rate pattern to this ply-yarn drill self and optical module configured rate.When determining not have optical module on the throne, ply-yarn drill can be further used for notifying the user not have optical module on the throne by Ethernet switch; When optical module was not supported multiple rate mode, ply-yarn drill also can be further used for notifying user's optical module not support multiple rate mode by Ethernet switch.
Ply-yarn drill specifically comprises summary responses module and optical interface; Wherein, the summary responses module is used for determining according to the content that reads from the physical layer rate control register of optical module whether the present rate pattern of optical module is consistent with user's configured rate pattern, when inconsistent, user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module, and according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence, and user's configured rate pattern is write the physical layer rate control register of optical module; Optical interface can be used for determining the present rate pattern according to the content and the MAC circuit of the MAC rate controlled register corresponding with self for one or more, thereby presses user's configured rate mode transfer data.The summary responses module is further used for the content of fetch interface optical module registers group on the throne, determine in this content whether the corresponding optical interface of expression has the position at optical module information place on the throne, and judge according to the information of this position whether corresponding optical interface has optical module on the throne; And when determining not have optical module on the throne, notify the user not have optical module on the throne by Ethernet switch.But the summary responses module can also be further used for determining according to reading from the model register of optical module or the content of supporting rate capabilities register whether optical module supports multiple rate mode; And be further used for when optical module is not supported multiple rate mode, notifying user's optical module not support multiple rate mode by Ethernet switch.
Ply-yarn drill further comprises loop detection module, be used to carry out the poll-interval timing, and when finishing, the poll-interval timing starts cycle detection, be specially: according to determining corresponding to the content in the interface optical module of the optical interface registers group on the throne whether optical module is on the throne, but determine according to reading whether optical module supports multiple rate mode from the model register of optical module or the content of supporting rate capabilities register, determine according to the content that reads from the physical layer rate control register of optical module whether the present rate pattern of optical module is consistent with user's configured rate pattern, when inconsistent, user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module, and according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence, and user's configured rate pattern is write the physical layer rate control register of optical module.Loop detection module is further used for when determining not have optical module on the throne, notifies the user not have optical module on the throne by Ethernet switch; Also can be further used for when optical module is not supported multiple rate mode, notifying user's optical module not support multiple rate mode by Ethernet switch.
Optical module can comprise special digital circuit 1000BASE-LX Physical Coding Sublayer (PCS, PhysicalCoding Sublayer), the 1000BASE-LX physical medium inserts (PMA, Physical Medium Access) sublayer, 1000BASE-LX physical medium rely on (PMD, Physical Medium Dependent) sublayer; Also can comprise special digital circuit 100BASE-FX PCS, 100BASE-FX PMA sublayer, 100BASE-FX PMD sublayer, or the like.Wherein, 1000BASE-LX PCS, 1000BASE-LX PMA sublayer, 1000BASE-LX PMD sublayer are used for the transmission of gigabit speed data; 100BASE-FX PCS, 100BASE-FX PMA sublayer, 100BASE-FX PMD sublayer are used for the transmission of 100,000,000 speed datas.
Based on said apparatus, the present invention also provides a kind of method of utilizing optical module realization optical interface to support multiple rate mode, comprise summary responses and cycle detection two parts, summary responses parts works under the speed of a certain optical interface situation about disposing immediately on to ply-yarn drill the user; Under the situation that cycle detection part is configured the optical interface of ply-yarn drill when the optical interface of ply-yarn drill does not also insert optical module, earlier and optical module damage and change under the situation of optical module and work.This method realizes flow process such as Fig. 2, shown in Figure 3 of summary responses and cycle detection.
Fig. 2 supports the summary responses realization flow figure of multiple rate mode for utilizing optical module realization optical interface among the present invention, may further comprise the steps:
Step 201: Ethernet switch receives the rate configuration instruction that the user assigns.Described Ethernet switch has the ethernet mac layer of supporting multiple speed; The corresponding MAC circuit of each optical interface of described ply-yarn drill.The instruction of described rate configuration comprises parameters such as line card number, optical interface number and rate mode, and wherein, line card number, optical interface number are used for the corresponding optical interface on the ply-yarn drill that identifying user will carry out rate configuration, and rate mode is user's configured rate pattern.
Step 202~203: after Ethernet switch receives the rate configuration instruction, according to line card number, optical interface number and rate mode indicate corresponding ply-yarn drill by user's configured rate pattern to the optical module configured rate on corresponding optical interface and this optical interface, and can be further with user's configured rate pattern storage on the internal memory of ply-yarn drill.After ply-yarn drill receives the indication of configured rate of Ethernet switch, judge that whether optical module is arranged on the corresponding optical interface is on the throne,, then continue execution in step 204 if there is optical module on the throne; If there is not optical module on the throne, notify the user not have optical module on the throne by Ethernet switch, and execution in step 209 finish the summary responses flow process.
Whether corresponding optical interface on have optical module on the throne specific implementation be: the content of the CPU fetch interface optical module registers group on the throne on the ply-yarn drill if judging, determine in this content whether the corresponding optical interface of expression has the position at optical module information place on the throne, and judge according to the information of this position whether corresponding optical interface has optical module on the throne.If there is not optical module on the throne, CPU sends to user terminal by Ethernet switch and sends notice, and this notice is presented on the user terminal, does not have optical module on the throne to notify this optical interface of user.
Described interface optical module registers group on the throne is made up of a plurality of eight interface optical modules register on the throne, interface optical module the number of registers on the throne is by the optical interface number decision of ply-yarn drill, as ply-yarn drill 48 optical interfaces are arranged, whether on the throne corresponding 6 interface optical modules of needs are at bit register, be used for storing each optical module information.The position of interface optical module registers group on the throne and the optical interface of ply-yarn drill are one to one, whether optical interface of each corresponding binary code representation has optical module on the throne in the interface optical module registers group on the throne, can there be optical module on the throne by 1 expression, correspondingly, there is not optical module on the throne by 0 expression.
Described CPU and interface optical module register-bit on the throne is on ply-yarn drill, and ply-yarn drill is positioned on the Ethernet switch, and a ply-yarn drill has a CPU, and Ethernet switch can have one or more ply-yarn drills.
Step 204~205: ply-yarn drill judges whether optical module on the throne supports multiple rate mode, if support multiple rate mode, then continues execution in step 206; If do not support multiple rate mode, then notify user's optical module not support multiple rate mode, and execution in step 209 finish the summary responses flow process by Ethernet switch.
Judge whether optical module on the throne supports the specific implementation of multiple rate mode to be: having under the optical module situation on the throne, but the CPU on the ply-yarn drill reads the model register or the supporting rate capabilities register of this optical module, obtain the model or the property parameters of this optical module, according to model or property parameters, the CPU on the ply-yarn drill judges whether this optical module supports multiple rate mode.If this optical module is not supported multiple rate mode, the CPU on the ply-yarn drill notifies this optical module of user can not support multiple rate mode by Ethernet switch, and execution in step 209 finishes the summary responses flow process.
But the property parameters that has comprised the rate mode that optical module can support in the supporting rate capabilities register of optical module, like this, but the CPU on the ply-yarn drill is by reading the content of supporting rate capabilities register, can know the property parameters of the rate mode that relevant this optical module is supported, and then determine whether this optical module supports multiple rate mode.
Preserve the model that all support the optical module of multiple rate mode on the ply-yarn drill, therefore, CPU on the ply-yarn drill is by reading the content of model register, can obtain the model of optical module, the model of the optical module of the multiple rate mode of support that this model and ply-yarn drill are preserved is made comparisons then, if this model is a kind of in the model of optical module of the multiple rate mode of support preserved, shows that then this optical module supports multiple rate mode, otherwise this optical module is not supported multiple rate mode.
Step 206~207: ply-yarn drill judges whether the present rate pattern of the optical module of supporting multiple rate mode is consistent with user's configured rate pattern, if it is consistent, then notify user's present rate pattern to meet the demands, and execution in step 209 finish the summary responses flow process by Ethernet switch; Otherwise, continue execution in step 208.
The physical layer rate control register has been preserved the present rate pattern of optical module.Concrete, support under the situation of multiple rate mode having determined this optical module, CPU on the ply-yarn drill obtains the present rate pattern of this optical module by the physical layer rate control register that reads optical module, present rate pattern and user's configured rate pattern of optical module are compared, and then judge whether the present rate pattern of optical module is consistent with user's configured rate pattern.Described optical module is supported multiple rate mode and can be plugged.
Step 208: under the present rate pattern of optical module and the inconsistent situation of user's configured rate pattern, ply-yarn drill is pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate, and can further notify the user to finish the rate configuration of requirement.
Concrete, determined on this optical interface under the optical module present rate pattern and the inconsistent situation of user configured rate mode, CPU on the ply-yarn drill writes the MAC rate controlled register of this optical interface correspondence and the physical layer rate control register of optical module respectively with user's configured rate pattern, and according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence, the MAC circuit and the multiple speed optical module of this optical interface correspondence are operated under user's configured rate pattern, CPU on the ply-yarn drill sends notice by Ethernet switch to the user, this notice is presented on the user terminal, has finished the rate configuration of requirement to notify the user.
Described MAC rate controlled register-bit is used to preserve the present rate pattern of corresponding optical interface on ply-yarn drill.MAC rate controlled register generally is an eight bit register, and the physical layer rate control register generally is 6 bit registers, and the content that therefore writes these two registers can have different forms, but all represents identical rate mode.
Optical module comprises the digital private circuit of supporting different physical layer protocol, as 100BASE-FX PCS, 100BASE-FX PMA sublayer, 100BASE-FX PMD sublayer; 1000BASE-LX PCS, 1000BASE-LX PMA sublayer, 1000BASE-LX PMD sublayer, or the like.When carrying out transfer of data, the on-chip processor visit physical layer rate control register of optical module, obtain the present rate pattern of optical module, determine corresponding digital private circuit transmission data then, as adopt 100,000,000 rate transmissioning datas, corresponding digital private circuit 100BASE-FX PCS, 100BASE-FX PMA sublayer, the 100BASE-FX PMD sublayer transmission data of supporting 100,000,000 physical layer protocol of using in the optical module; As adopt the gigabit rate transmissioning data, corresponding digital private circuit 1000BASE-LX PCS, 1000BASE-LX PMA sublayer, the 1000BASE-LX PMD sublayer transmission data of supporting the gigabit physical layer protocol of using in the optical module.
The direct through-rate configuration-direct of above-described process has just been realized carrying out rate configuration by user's configured rate pattern, need not change ply-yarn drill and optical module, realizes the convenience of optical interface rate configuration.
Optical interface between optical module and the Ethernet switch is parallel interface or serial line interface.
Step 209: finish the summary responses flow process.
More than in the flow process shown in Figure 2, CPU has finished the effect of summary responses module among Fig. 1.
Certain optical interface is according to above-mentioned steps on Ethernet switch one ply-yarn drill, when being configured to wherein a kind of in the multiple physical layer protocol of its support according to customer requirements, as be configured to 1000BASE-LX, adopt gigabit Media Independent Interface (GMII between the MAC circuit of this optical interface correspondence and the optical module, Gigabit MediaIndependent Interface), the process that MAC circuit and optical module carry out data transmit-receive is as follows:
When data send, the data that the MAC circuit that the PHY chip of optical module receives gigabit speed by parallel gmii interface issues, carry out 8B/10B coding, serialization and electric light conversion through 1000BASE-LX PCS, 1000BASE-LX PMA and 1000BASE-LX PMD successively, be converted into the light signal that meets the 1000BASE-LX protocol characteristic at last and send.
During Data Receiving, carry out opto-electronic conversion, de-serialization and 10B/8B decoding through 1000BASE-LX PMD, 1000BASE-LX PMA and the 1000BASE-LX PCS of the PHY chip of optical module by Optical Fiber Transmission successively to the light signal of optical module, be sent to the MAC processing of circuit of gigabit speed at last by gmii interface.
Fig. 3 supports the cycle detection realization flow figure of multiple rate mode for utilizing optical module realization optical interface among the present invention, may further comprise the steps:
Step 301: start the cycle detection process during the online card initialization of Ethernet switch.
Described cycle detection process runs on the ply-yarn drill of switch, all optical interfaces on the ply-yarn drill are carried out successively the detection of optical module, detect last optical interface from first optical interface, and after a detection loop ends, behind the certain interval of time, carry out the cycle detection of a new round again, so repeatedly.
Step 302: the poll-interval timing that Ethernet switch begins to preset, and when timing finished, execution in step 303 detected the optical interface on the ply-yarn drill successively.
Described poll-interval is the blanking time of twice adjacent circulation detection, and effect is the frequency that Control Circulation detects, and the length of poll-interval can be set according to customer requirements.
Step 303~304: ply-yarn drill judges that whether optical module is arranged on the corresponding optical interface is on the throne, if there is optical module on the throne, then continues execution in step 305; If there is not optical module on the throne, notifies the user not have optical module on the throne by Ethernet switch, and continue execution in step 310.
Specific implementation can repeat no more with reference to the associated description of Fig. 2 step 202~203 herein.
Step 305~306: ply-yarn drill judges whether optical module on the throne supports multiple rate mode, if support multiple rate mode, then continues execution in step 307; If do not support multiple rate mode, then notify user's optical module not support multiple rate mode, and continue execution in step 310 by Ethernet switch.
Specific implementation can repeat no more with reference to the associated description of Fig. 2 step 204~205 herein.
Step 307~308: ply-yarn drill judges whether the present rate pattern of the optical module of supporting multiple rate mode is consistent with user's configured rate pattern, if it is consistent, then notify user's present rate pattern to meet the demands, and continue execution in step 310 by Ethernet switch; Otherwise, continue execution in step 309.
Because after Ethernet switch receives the rate configuration instruction, the optical interface number corresponding relation with user's configured rate pattern can be stored on the internal memory of ply-yarn drill, therefore, described user's configured rate pattern number is obtained from internal memory according to optical interface by the CPU on the ply-yarn drill.At a certain optical interface, only preserve up-to-date user's configured rate of assigning in the internal memory of ply-yarn drill.
Specific implementation can repeat no more with reference to the associated description of Fig. 2 step 206~207 herein.
Step 309: under optical module present rate pattern and the inconsistent situation of user's configured rate pattern, ply-yarn drill is pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate, and can further notify the user to finish the rate configuration of requirement.
Specific implementation can repeat no more with reference to the associated description of Fig. 2 step 208 herein.
Step 310: Ethernet switch jumps to the detection of next optical interface or the cycle detection of a new round.
Concrete, CPU judges whether to finish all detections of optical interface on the ply-yarn drill, if do not finish, then transfers execution in step 303, proceeds the detection of next optical interface; If finished all detections of optical interface on the ply-yarn drill, then execution in step 302, after poll-interval finishes, the detection circulation of a beginning new round.
More than in the flow process shown in Figure 3, CPU has finished the effect of loop detection module among Fig. 1.
Based on flow process shown in Figure 3, when even Ethernet switch is received the rate configuration instruction that the user assigns, the corresponding optical interface of ply-yarn drill does not also insert optical module, but because the periodicity of cycle detection is carried out, guaranteed as long as corresponding optical interface is plugged optical module, just can be as soon as possible by customer requirements finish rate configuration automatically, need not user's transmission rate configuration-direct once more.In addition, after the optical module on the optical interface damages, even the optical module of changing is inconsistent with user's configured rate pattern of corresponding optical interface, carry out also and can as soon as possible the optical module after changing be configured to user's configured rate pattern by the periodicity of cycle detection, need not user's transmission rate configuration-direct once more equally.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (10)

1, a kind of device that utilizes optical module realization optical interface to support multiple rate mode is characterized in that this device comprises ply-yarn drill and optical module; Wherein,
Ply-yarn drill, the present rate pattern that is used for determining optical module when inconsistent, are pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate with user's configured rate pattern;
Optical module comprises the digital private circuit of supporting different physical layer protocol, is used for determining corresponding digital private circuit according to the configuration of ply-yarn drill.
2, device according to claim 1 is characterized in that, described ply-yarn drill comprises summary responses module and optical interface; Wherein,
When the summary responses module is used for determining that the present rate pattern of optical module and user's configured rate pattern are inconsistent, user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module respectively, and according to the media access control MAC circuit of user's configured rate pattern configurations optical interface correspondence;
Optical interface is used for determining the present rate pattern according to the content and the MAC circuit of the MAC rate controlled register corresponding with self.
3, device according to claim 2 is characterized in that, described summary responses module is further used for: determine whether optical interface has optical module on the throne; And/or, determine according to the model or the type parameter of optical module whether optical module supports multiple rate mode.
4, according to claim 2 or 3 described devices, it is characterized in that, described ply-yarn drill further comprises: loop detection module, be used to carry out the poll-interval timing, and when finishing, the poll-interval timing starts cycle detection, determine whether optical interface has optical module on the throne, model or type parameter according to optical module determine whether optical module supports multiple rate mode, whether the present rate pattern of determining optical module is consistent with user's configured rate pattern, when inconsistent, user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module respectively, and according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence.
5, a kind of method of utilizing optical module realization optical interface to support multiple rate mode is characterized in that this method comprises:
Ply-yarn drill is pressed user's configured rate pattern to this ply-yarn drill self and optical module configured rate when the present rate pattern of determining optical module and user's configured rate pattern are inconsistent;
The optical module that comprises the digital private circuit of supporting different physical layer protocol is determined corresponding digital private circuit according to the configuration of ply-yarn drill.
6, method according to claim 5, it is characterized in that, before described ply-yarn drill determines that the present rate pattern of optical module and user's configured rate pattern are inconsistent, further comprise: after Ethernet switch receives the rate configuration instruction, according to line card number, optical interface number and rate mode indicate corresponding ply-yarn drill by user's configured rate pattern to the optical module configured rate on corresponding optical interface and this optical interface, and further the optical interface number corresponding relation with user's configured rate pattern is stored on the internal memory of ply-yarn drill.
7, method according to claim 5 is characterized in that, described ply-yarn drill further comprises: determine whether optical module is on the throne before determining that the present rate pattern of optical module and user's configured rate pattern are inconsistent; And/or, determine according to the model or the type parameter of optical module whether optical module supports multiple rate mode.
8, method according to claim 5 is characterized in that, this method further comprises:
Carry out the poll-interval timing;
When finishing, the poll-interval timing starts cycle detection, determine successively whether each optical interface has optical module on the throne, determine whether optical module supports multiple rate mode, whether the present rate pattern of determining optical module is consistent with user's configured rate pattern, when inconsistent, press user's configured rate pattern to optical interface and optical module configured rate;
Carry out the poll-interval timing.
9, according to claim 7 or 8 described methods, it is characterized in that,
Whether described definite optical interface has optical module on the throne, specifically comprise: the content of the CPU fetch interface optical module registers group on the throne on the ply-yarn drill, determine in this content whether the corresponding optical interface of expression has the position at optical module information place on the throne, and judge according to the information of this position whether corresponding optical interface has optical module on the throne; And/or,
Described model or type parameter according to optical module determines whether optical module supports multiple rate mode, specifically comprise: the content of the model register of the CPU on the ply-yarn drill by reading optical module is obtained the model of optical module, determine that whether this model is a kind of in the model of optical module of the multiple rate mode of support preserved of ply-yarn drill self, if then optical module is supported multiple rate mode; Perhaps, but the content of the supporting rate capabilities register of the CPU on the ply-yarn drill by reading optical module is obtained the property parameters of the rate mode that optical module supports, determines according to this property parameters whether optical module supports multiple rate mode.
10, according to claim 5 or 8 described methods, it is characterized in that,
Present rate pattern and user's configured rate pattern of described definite optical module are inconsistent, comprise: the CPU on the ply-yarn drill obtains the present rate pattern of optical module by the physical layer rate control register that reads optical module, and present rate pattern and user's configured rate pattern of optical module compared; And/or,
Described by user's configured rate pattern configurations speed, comprise: user's configured rate pattern is write the MAC rate controlled register of optical interface correspondence and the physical layer rate control register of optical module respectively, and the CPU on the ply-yarn drill is according to the MAC circuit of user's configured rate pattern configurations optical interface correspondence.
CNA2009100869726A 2009-06-12 2009-06-12 Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device Pending CN101583054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100869726A CN101583054A (en) 2009-06-12 2009-06-12 Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100869726A CN101583054A (en) 2009-06-12 2009-06-12 Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device

Publications (1)

Publication Number Publication Date
CN101583054A true CN101583054A (en) 2009-11-18

Family

ID=41364966

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100869726A Pending CN101583054A (en) 2009-06-12 2009-06-12 Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device

Country Status (1)

Country Link
CN (1) CN101583054A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800603A (en) * 2010-02-11 2010-08-11 瑞斯康达科技发展股份有限公司 Method for carrying out self adaptation in optical network according to rate and signal transmission device
WO2012083757A1 (en) * 2010-12-20 2012-06-28 中兴通讯股份有限公司 Method and device for negotiating rate of optical module
CN102694603A (en) * 2012-05-14 2012-09-26 中兴通讯股份有限公司 Method and device for integrating interfaces of optical modules with different speed rates
CN103490904A (en) * 2013-09-11 2014-01-01 福建星网锐捷网络有限公司 Ethernet electrical interface compatibility conversion device, control method and device
CN104038275A (en) * 2014-06-07 2014-09-10 深圳市共进电子股份有限公司 Method for realizing self-adaptation of network equipment interface to optical module, and network equipment
CN104639468A (en) * 2015-01-07 2015-05-20 武汉微创光电股份有限公司 Optical port adaptive Ethernet switch and adaptive method thereof
WO2016000146A1 (en) * 2014-06-30 2016-01-07 华为技术有限公司 Data processing method and apparatus
CN106330628A (en) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 Ethernet-based interface rate control method and device
CN106534788A (en) * 2016-11-23 2017-03-22 浙江大华技术股份有限公司 Mode adaptive matching method, apparatus and system in monitoring system
CN106534691A (en) * 2016-11-23 2017-03-22 浙江大华技术股份有限公司 Adaptive mode matching method and device
CN107005500A (en) * 2014-12-23 2017-08-01 英特尔公司 Data rate detection to simplify retimer logic
CN107342821A (en) * 2017-07-18 2017-11-10 华为技术有限公司 A kind of optical module and the network equipment
CN108075937A (en) * 2016-11-16 2018-05-25 深圳市中兴微电子技术有限公司 A kind of method and apparatus of adaptive network speed matching process
CN108540225A (en) * 2018-03-15 2018-09-14 上海欣诺通信技术股份有限公司 Board Working mode switching method, communication equipment, Control card and storage medium
CN111541960A (en) * 2020-04-21 2020-08-14 深圳市三旺通信股份有限公司 Switch configuration method, device, equipment and computer readable storage medium
US10944833B2 (en) 2016-11-23 2021-03-09 Zhejiang Dahua Technology Co., Ltd. System and method for establishing connection between devices
CN113630187A (en) * 2021-07-25 2021-11-09 苏州浪潮智能科技有限公司 PHY initialization method, system, equipment and medium
CN117424643A (en) * 2023-12-18 2024-01-19 科谱半导体(天津)有限公司 Optical communication method, system, storage medium and device

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800603A (en) * 2010-02-11 2010-08-11 瑞斯康达科技发展股份有限公司 Method for carrying out self adaptation in optical network according to rate and signal transmission device
CN101800603B (en) * 2010-02-11 2012-12-12 瑞斯康达科技发展股份有限公司 Method for carrying out self adaptation in optical network according to rate and signal transmission device
WO2012083757A1 (en) * 2010-12-20 2012-06-28 中兴通讯股份有限公司 Method and device for negotiating rate of optical module
CN102694603A (en) * 2012-05-14 2012-09-26 中兴通讯股份有限公司 Method and device for integrating interfaces of optical modules with different speed rates
CN103490904B (en) * 2013-09-11 2016-11-23 福建星网锐捷网络有限公司 Ethernet electrical interface rough set theory device, control method and device
CN103490904A (en) * 2013-09-11 2014-01-01 福建星网锐捷网络有限公司 Ethernet electrical interface compatibility conversion device, control method and device
CN104038275A (en) * 2014-06-07 2014-09-10 深圳市共进电子股份有限公司 Method for realizing self-adaptation of network equipment interface to optical module, and network equipment
EP3148209A4 (en) * 2014-06-30 2017-06-14 Huawei Technologies Co., Ltd. Data processing method and apparatus
US10187708B2 (en) 2014-06-30 2019-01-22 Huawei Technologies Co., Ltd. Data processing method and apparatus
WO2016000146A1 (en) * 2014-06-30 2016-01-07 华为技术有限公司 Data processing method and apparatus
CN106464990B (en) * 2014-06-30 2019-11-12 华为技术有限公司 A kind of data processing method and device
CN110752878A (en) * 2014-06-30 2020-02-04 华为技术有限公司 Data processing method and device
CN106464990A (en) * 2014-06-30 2017-02-22 华为技术有限公司 Data processing method and apparatus
CN107005500B9 (en) * 2014-12-23 2021-08-24 英特尔公司 Data rate detection to simplify retimer logic
CN107005500A (en) * 2014-12-23 2017-08-01 英特尔公司 Data rate detection to simplify retimer logic
CN107005500B (en) * 2014-12-23 2021-06-25 英特尔公司 Data rate detection to simplify retimer logic
CN104639468A (en) * 2015-01-07 2015-05-20 武汉微创光电股份有限公司 Optical port adaptive Ethernet switch and adaptive method thereof
CN106330628B (en) * 2015-06-29 2020-05-22 中兴通讯股份有限公司 Interface rate control method and device based on Ethernet
CN106330628A (en) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 Ethernet-based interface rate control method and device
CN108075937A (en) * 2016-11-16 2018-05-25 深圳市中兴微电子技术有限公司 A kind of method and apparatus of adaptive network speed matching process
CN106534691B (en) * 2016-11-23 2019-03-26 浙江大华技术股份有限公司 One mode adaptive matching method and equipment
US10944833B2 (en) 2016-11-23 2021-03-09 Zhejiang Dahua Technology Co., Ltd. System and method for establishing connection between devices
CN106534691A (en) * 2016-11-23 2017-03-22 浙江大华技术股份有限公司 Adaptive mode matching method and device
CN106534788A (en) * 2016-11-23 2017-03-22 浙江大华技术股份有限公司 Mode adaptive matching method, apparatus and system in monitoring system
US11356515B2 (en) 2016-11-23 2022-06-07 Zhejiang Dahua Technology Co., Ltd. System and method for establishing connection between devices
CN107342821A (en) * 2017-07-18 2017-11-10 华为技术有限公司 A kind of optical module and the network equipment
CN108540225A (en) * 2018-03-15 2018-09-14 上海欣诺通信技术股份有限公司 Board Working mode switching method, communication equipment, Control card and storage medium
CN108540225B (en) * 2018-03-15 2021-07-30 上海欣诺通信技术股份有限公司 Board working mode switching method, communication equipment, control board and storage medium
CN111541960A (en) * 2020-04-21 2020-08-14 深圳市三旺通信股份有限公司 Switch configuration method, device, equipment and computer readable storage medium
CN111541960B (en) * 2020-04-21 2022-03-25 深圳市三旺通信股份有限公司 Switch configuration method, device, equipment and computer readable storage medium
CN113630187A (en) * 2021-07-25 2021-11-09 苏州浪潮智能科技有限公司 PHY initialization method, system, equipment and medium
CN117424643A (en) * 2023-12-18 2024-01-19 科谱半导体(天津)有限公司 Optical communication method, system, storage medium and device

Similar Documents

Publication Publication Date Title
CN101583054A (en) Method for realizing that optical interface supports multiple rate patterns by adopting optical module and device
CN1288620A (en) Method and apparatus for automatically reducing cross-talk between coupled to a common network device
WO2014114094A1 (en) Optical interface rate self-adapting method and optical network device
CN102983989B (en) Removing method, device and equipment of server virtual address
CN102307118A (en) Back plate test method, apparatus thereof and system thereof
CN102148724A (en) Link detecting method and network access device
CN104065530A (en) Automatic testing method and system of powerline adapter
CN107273258A (en) Method of testing and system are restarted in the automation of interchanger built in a kind of blade server
TWI445374B (en) Remote management system and remote management method
CN202998098U (en) Optical module port test device
CN207588888U (en) A kind of test device and mainboard
CN111510363A (en) Slave station conversion device based on MODBUS protocol and control method thereof
CN108132898A (en) Multiplex communication control method and communication box
CN105162792B (en) A kind of USB network card and Ethernet data conversion method
CN103391329A (en) Interface module and method thereof for supporting multiple interface standards
CN105553859A (en) System and method for enabling SFP modules to be adaptive to interfaces
CN108197048A (en) Multifunctional interface circuit and versatile interface realization method
CN106991067A (en) Data interactive method and its embedded device for one master and multiple slaves formula network
CN203012603U (en) Audio source server applied to remote audio access and play system
CN107612777B (en) Optical fiber switch detection tool and method
CN100574288C (en) The data link layer device that is used for serial communication bus
CN106713008B (en) The method that a kind of pair of EOC local-side device is tested for the property
CN101365002B (en) Method for obtaining double network protocol address by plug and use network apparatus
CN110336615A (en) Information processing method, device and electronic equipment
CN103188352B (en) Obtain method and the procotol system thereof of far-end network address

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20091118