CN106330327A - Method and device of managing enabling state of optical module - Google Patents
Method and device of managing enabling state of optical module Download PDFInfo
- Publication number
- CN106330327A CN106330327A CN201510338774.XA CN201510338774A CN106330327A CN 106330327 A CN106330327 A CN 106330327A CN 201510338774 A CN201510338774 A CN 201510338774A CN 106330327 A CN106330327 A CN 106330327A
- Authority
- CN
- China
- Prior art keywords
- optical module
- depositor
- qsfp
- write operation
- operation signal
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/40—Transceivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
The present invention provides a method and device of managing an enabling state of an optical module. The method comprises the steps of obtaining the enabling information recorded by a register when a management request is received, wherein the register is used to simulate an optical module sending turn-off function of a quad small form-factor pluggable (QSFP)+ optical module; according to the received management request, managing the enabling information recorded in the register; if the enabling information changes, sending the enabling information to the QSFP+ optical module.
Description
Technical field
The present invention relates to the communications field, particularly relate to method and the dress of a kind of enabled state managing optical module
Put.
Background technology
The i.e. optical module of TXDISABLE sends to close and enables, and TXDISABLE function is directly to control light
Module by signal sends switch, and as TXDISABLE=1, optical module sends to close and enables effectively, optical mode
Block laser instrument cuts out, and light mouth the most externally sends optical signal, and as TXDISABLE=0, optical module sends
Closing enable invalid, optical module laser instrument is opened, and light mouth the most externally sends optical signal.Generally at optical mode
In block product, its external circuit interface has one TXDISABLE pin of design, in telecommunication circuit
In design, system by monitoring and controls the level value of this TXDISABLE pin to obtain optical module luminous
State, and the level state of this TXDISABLE pin operable realize control optical module light mouth open
Close function.
Along with developing rapidly of communication transmission technology, 40G/100G optical interface standard and pluggable optical module mark
Accurate completes, and the optical module of 40G and 100G steps into market.Owing to speed is fast, encapsulate little, merit
Consuming the advantages such as low, the QSFP+ optical module of 40G develops rapidly, and it is applied in high-speed communication system
Also get more and more.But because of encapsulation reduction, QSFP (Quad Small Form-factor Pluggable,
Four-way SFP)+light module package structure does not design TXDISABLE pin, but
Its TXDISABLE state is built into the internal TXDISABLE depositor of optical module suffer and it needs to
Go to access and operate this depositor by exterior I IC bus to realize obtaining and controlling QSFP+ optical module
TXDISABLE state, this causes system can not directly invoke general-purpose interface as other optical module supervising
Control and operation QSFP+ optical module TXDISABLE pin realize controlling the light mouth of QSFP+ optical module and open
Closing function, the system that reaches controls the function of QSFP+ optical module communication.
Summary of the invention
The present invention provides the method and apparatus of a kind of enabled state managing optical module, and technology to be solved is asked
Topic is how to be managed the enabled state of the TXDISABLE pin of QSFP+ optical module.
For solving above-mentioned technical problem, the technical scheme is that
A kind of method of the enabled state managing optical module, including:
When receiving management request, obtaining the enable information of depositor record, wherein said depositor is used
Optical module in simulation four-way SFP QSFP+ optical module sends closing function;
According to the management request received, manage the enable information of record in described depositor;
If described enable information changes, then send described enable to described QSFP+ optical module and believe
Breath.
Wherein, before the enable information in described acquisition depositor, described method also includes:
Arranging and enabling the initial value of information in described depositor is 1.
Wherein, whether described enable information changes and obtains in the following way, including:
Detect and described depositor enables the level state that information is corresponding;
When the level state described depositor being detected changes, determine that described optical module sends and close
The enable information of function changes.
Wherein, send described enable information to described QSFP+ optical module, including:
Generating write operation signal, wherein said write operation signal is used for changing light in described QSFP+ optical module
The enabled state of module closing function;
Described write operation signal is sent to described QSFP+ optical module by IC bus IIC.
Wherein, before described QSFP+ optical module sends described enable information, described method includes:
Detect described iic bus the most occupied;And/or,
Detect whether to send described enable information to described QSFP+ optical module.
A kind of device of the enabled state managing optical module, described device is connected with QSFP+ optical module, its
Described in device include:
First depositor, sends closing function for simulating the optical module of QSFP+ optical module, and records institute
State optical module and send the enable information of closing function;
Processor, for when receiving management request, asking according to the management received, posts described in management
Enable information in storage;If described enable information changes, then send out to described QSFP+ optical module
Send described enable information.
Wherein said processor, is additionally operable to arrange that to enable the initial value of information in described first depositor be 1.
Wherein, whether described enable information changes and obtains in the following way, including:
Detect and the first depositor enables the level state that information is corresponding;
When the level state the first depositor being detected changes, it is determined that described optical module sends and closes
The enable information closing function changes.
Wherein, described processor, specifically for generating write operation signal, and by iic bus to described
QSFP+ optical module sends described write operation signal, and wherein said write operation signal is used for changing described
The enabled state of optical module closing function in QSFP+ optical module.
Wherein, described device also includes:
First son protection depositor, is used for recording the most occupied information of iic bus, wherein numerical value 0
Representing that iic bus is unoccupied, wherein numerical value 1 represents that iic bus is occupied;
Second son protection depositor, is used for recording described processor the most to described QSFP+ optical module
Interior optical module sends closes depositor transmission described write operation signal, wherein numerical value 0 table that pin is corresponding
Showing that described processor does not send described write operation signal, numerical value 1 represents that described processor is sending institute
State write operation signal;
Always protect depositor, in described first son protection depositor and the second son protection depositor
Numerical value carries out or operates, and obtains result of calculation;
Described processor, if being 0 for result of calculation, then sends described write operation signal;If meter
Calculating result is 1, stops sending described write operation signal, and wherein said write operation signal is used for changing described
The enabled state of optical module closing function in QSFP+ optical module.
Wherein, the initial value of the numerical value of described first son protection depositor and the second son protection depositor is
0。
The embodiment that the present invention provides, it is possible to simulate the TXDISABLE pin of QSFP+ optical module,
Making the QSFP+ optical module also can be as other general light module, calling Common System Interface can realize
The light mouth switching function of QSFP+ optical module.The present invention uses the realization of devices at full hardware circuit, it is achieved method letter
Single easily operation and working stability, it is not necessary to the extra process in system, allowing for QSFP+ optical module can be with
Other optical module the most normally uses TXDISABLE function, improves the work efficiency of whole system,
Facilitate the unified management in system and maintenance the most simultaneously.
Accompanying drawing explanation
The structure chart of the device of the enabled state of the management optical module that Fig. 1 provides for the present invention;
The flow chart of the method for the enabled state of the management optical module that Fig. 2 provides for the present invention;
The QSFP+ optical module that Fig. 3 provides for the present invention initializes schematic flow sheet;
Fig. 4 obtains the signal of QSFP+ optical module TXDISABLE state for the system that the present invention provides
Figure;
The signal of the system operation QSFP+ optical module TXDISABLE state that Fig. 5 provides for the present invention
Figure;
Fig. 6 is automatically brought into operation iic bus for the logic that the present invention provides and writes inside QSFP+ optical module
TXDISABLE depositor schematic diagram;
The system operation iic bus read-write QSFP+ optical module internal register that Fig. 7 provides for the present invention
Schematic diagram.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing and concrete
The present invention is described in further detail for embodiment.It should be noted that in the case of not conflicting,
Embodiment in the application and the feature in embodiment can mutual combination in any.
The structure chart of the device of the enabled state of the management optical module that Fig. 1 provides for the present invention.Wherein said
Device is connected with QSFP+ optical module, and wherein said device includes:
First depositor 101, sends closing function for simulating the optical module of QSFP+ optical module, and remembers
Record described optical module and send the enable information of closing function;
Processor 102, for when receiving management request, according to the management request received, manages institute
State the enable information in depositor;If described enable information changes, then to described QSFP+ optical mode
Block sends described enable information.
The device embodiment that the present invention provides, utilizes the first register analog QSFP+ optical module
TXDISABLE pin so that QSFP+ optical module also can call logical as other general light module
Can realize the light mouth switching function of QSFP+ optical module with system interface, the present invention uses devices at full hardware circuit
Realization, it is achieved method is simple to operation and working stability, it is not necessary to the extra process in system, just makes
Obtain QSFP+ optical module and can normally use TXDISABLE function as other optical module, improve whole
The work efficiency of individual system, facilitates the unified management in system and maintenance the most simultaneously.
The device provided the present invention below is described further:
The basic thought of the present invention is: by logical device, utilize the first depositor to simulate
The TXDISABLE pin function of QSFP+ optical module, system is by reading the value of this first depositor just
May directly learn that the state of the internal TXDISABLE of QSFP+ optical module.Meanwhile, by change first
The value of depositor, then by iic bus, corresponding TXDISABLE state representation numerical value is written to
The internal TXDISABLE depositor of QSFP+ optical module, thus realize system operation optical module
The handoff functionality of TXDISABLE state.
Concrete, logical device arranges a depositor, this attribute register is readable writeable, makees
Use for simulation QSFP+ optical module TXDISABLE pin level state.The most named first posts
Storage, and according to conventional optical module TXDISABLE pin function, definable works as this first depositor
Value when being 0, show that TXDISABLE is invalid, QSFP+ optical module light mouth opens normal luminous, when
When the value of this first depositor is 1, showing that TXDISABLE is effective, QSFP+ optical module light mouth is closed
The most luminous.System can learn QSFP+ optical module by the value reading this first depositor
TXDISABLE state.When system needs to operate optical module TXDISALBE state, it is only necessary to operation
The value of the first depositor in logical device.
Wherein, described processor, it is additionally operable to arrange that to enable the initial value of information in described depositor be 1.
Concrete, in QSFP+ optical module initializes flow process, according to optical module general procedure principle, it is
The value of the first depositor is written as 1 by system, and (address is by internal for QSFP+ TXDISABLE depositor
0d86) value write 0x0f, i.e. optical module acquiescence is in TXDISABLE effective status, to be initiated
After completing, need realizing switching TXDISABLE state according to system.
Whether described enable information changes and obtains in the following way, including: detected register
The level state that middle enable information is corresponding;When the level state this first depositor being detected changes,
Then determine that described enable information changes.
Concrete, described optical module sends the enabled state of closing function and includes two states, and respectively 0
Represent with 1, as long as therefore the level state of record enable information changes, so that it may determine enable letter
Breath changes.
Wherein, described processor, specifically for generating write operation signal, and passes through IC bus
(Inter-Integrated Circuit, IIC) sends described write operation signal to described QSFP+ optical module,
Wherein said write operation signal is the enable of optical module closing function in changing described QSFP+ optical module
State.
Concrete, when QSFP+ optical module normally works, continually scan for fast frequency inside logical device
Detect the level state of the first depositor, when the level state this first depositor being detected changes,
Logical device produces a write pulse, automatically excites iic bus operation once to write within optical module
TXDISABLE depositor is to the TXDISABLE state needed for system.Electricity for the first depositor
Level state by 0 to 1 rising edge saltus step time, logical device excites automatically to be write 0x0f by automatic IIC
Module is written to the TXDISABLE depositor within optical module, for the level state of the first depositor
When having the trailing edge saltus step of 1 to 0, logical device excites 0x00 the most automatically by automatic IIC writing module
It is written to the TXDISABLE depositor within optical module.
Further, in order to prevent this device from using optical module iic bus and system to use iic bus
Conflict entanglement, increase and always protect accordingly depositor, the first son protection depositor and the second son protection to post
Storage, by increasing the above-mentioned depositor for realizing defencive function, is effectively ensured QSFP+ optical module
The normal use of TXDISABLE pin function.It is described as follows:
Described device also includes:
First son protection depositor, is used for recording the most occupied information of iic bus, wherein numerical value 0
Representing that iic bus is unoccupied, wherein numerical value 1 represents that iic bus is occupied;
Second son protection depositor, is used for recording described processor the most to described QSFP+ optical module
Interior optical module sends closes depositor transmission described write operation signal, wherein numerical value 0 table that pin is corresponding
Showing that described processor does not send described write operation signal, numerical value 1 represents that described processor is sending institute
State write operation signal;
Always protect depositor, in described first son protection depositor and the second son protection depositor
Numerical value carries out or operates, and obtains result of calculation;
Described processor, if being 0 for result of calculation, then sends described write operation signal;If meter
Calculating result is 1, stops sending described write operation signal.
Concrete, logical device increases by three protection depositors, be respectively always protect depositor, first
Son protection depositor and the second son protection depositor.Value B the most always protecting depositor is that the first protection is posted
Value B2 of value B1 of storage and the second son protection depositor carries out or computing obtains, i.e. B=B1or
B2, wherein B1 and B2 is the most readable writeable, and B is the most readable.When the first son protection depositor and the second son are protected
When protecting that in depositor, any one plays defencive function, the most always protection depositor is effective.
Wherein, the initial value of the numerical value of described first son protection depositor and the second son protection depositor is
0。
Concrete, when optical module initializes, the first son protection depositor and the second son protection are posted by system
The value of storage is all written as 0, i.e. the value of three protection depositors is all defaulted as 0, i.e. unprotect effect.
Effect to above three depositor below illustrates:
First son protection depositor is used for showing that logical device excites IIC write operation the most automatically, anti-
When only logical device is in automatic IIC operation TXDISABLE depositor process within optical module, it is
System unexpected abnormal operation again writes the value of the first depositor, causes the level state value of the first depositor with actual
Optical module TXDISABLE state corresponding relation mistake.When the value of total protection depositor is 1, table
The I IC bus of Mingguang City's module is currently in use, and does not the most allow system to write the value of the first depositor in operation,
Even if system misoperation, due to the effect of the first son protection depositor so that system write operation first is deposited
The operation of device is invalid;When the value of total protection depositor is 0, show that optical module iic bus is idle, energy
Enough uses, now system can operate the value of the first depositor at any time, realizes switching QSFP+ optical module
TXDISABLE state.Therefore, when using optical module iic bus, first the first son protection is posted
The value of storage is set to 1, shows to have already taken up the iic bus of optical module, carries out writing optical module the most again
The operation of internal TXDISABLE depositor.After logical device performs end of operation, then protect first
Protect depositor and be set to 0, logical device release iic bus.
Wherein the second son protection depositor is used for showing that system is the most taking iic bus, prevents
System and logical device take iic bus simultaneously, cause iic bus conflict.System is grasped by iic bus
When making to access optical module internal register, first read total value protecting depositor, protect depositor when always
When the value of B is 1, shows that optical module iic bus is currently in use, do not allow system to be grasped by iic bus
Make to access optical module internal register;If in now system has initiated iic bus operational access optical module
Portion's register command, then report IIC BUSY error informing system;When the value of total protection depositor is 0
Time, showing that the optical module iic bus free time can use, then system can be visited normal through iic bus operation
Ask optical module internal register.Therefore, when system uses iic bus operation optical module internal register,
First the value of the second son protection depositor is set to 1, shows that system is occupying optical module iic bus, so
Rear system performs iic bus operation optical module internal register, treats that the operation of system iic bus is finished
After, the value of the second son protection depositor being put back into again is 0, system release iic bus.
The flow chart of the method for the enabled state of the management optical module that Fig. 2 provides for the present invention.Shown in Fig. 2
Method includes:
Step 201, when receive management request time, obtain depositor record enable information, Qi Zhongsuo
State depositor and send closing function for the optical module simulating QSFP+ optical module;
Step 202, according to the management request received, manage in described depositor the enable information of record;
If step 203 described enable information changes, then send institute to described QSFP+ optical module
State enable information.
The embodiment of the method that the present invention provides, it is possible to the TXDISABLE simulating QSFP+ optical module draws
Foot so that QSFP+ optical module also can call Common System Interface as other general light module
Realizing the light mouth switching function of QSFP+ optical module, the present invention uses the realization of devices at full hardware circuit, it is achieved side
Method is simple to operation and working stability, it is not necessary to the extra process in system, allows for QSFP+ optical module
Can normally use TXDISABLE function as other optical module, improve the work effect of whole system
Rate, facilitates the unified management in system and maintenance the most simultaneously.
Wherein, for recording drawing of the optical module transmission closedown of QSFP+ optical module in described acquisition depositor
Before the enable information of foot, described method also includes:
Arranging and enabling the initial value of information in described depositor is 1.
Wherein, whether described enable information changes and obtains in the following way, including:
Detect and described depositor enables the level state that information is corresponding;
When the level state this depositor being detected changes, determine that described optical module sends and close merit
The enable information of energy changes.
Wherein, send described enable information to described QSFP+ optical module, including:
Generating write operation signal, wherein said write operation signal is used for changing light in described QSFP+ optical module
The enabled state of module closing function;
Sent by iic bus optical module in described QSFP+ optical module and close corresponding the depositing of pin
Device sends described write operation signal.
Wherein, send the pin closed to the optical module of described QSFP+ optical module and send described enable information
Before, described method includes:
Detect described iic bus the most occupied;And/or,
Detect whether that sending the pin closed to the optical module of described QSFP+ optical module sends described
Enable information.
The device embodiment that the present invention provides, utilizes the first register analog QSFP+ optical module
TXDISABLE pin so that QSFP+ optical module also can call logical as other general light module
Can realize the light mouth switching function of QSFP+ optical module with system interface, the present invention uses devices at full hardware circuit
Realization, it is achieved method is simple to operation and working stability, it is not necessary to the extra process in system, just makes
Obtain QSFP+ optical module and can normally use TXDISABLE function as other optical module, improve whole
The work efficiency of individual system, facilitates the unified management in system and maintenance the most simultaneously.
The embodiment of the method provided the present invention below is described further:
The QSFP+ optical module initialization flowchart that Fig. 3 provides for the present invention.Its detailed process is:
(1), after QSFP+ optical module normally powers on, first QSFP+ optical module solution is resetted, Ji Jiangqi
RESET pin level is drawn high.When generally optical module powers on, default configuration is reset state.
(2) QSFP+ optical module MODSEL pin and LPMODE pin are dragged down.MODSEL
The purpose dragged down is to allow QSFP+ optical module respond iic bus, and the purpose that LPMODE drags down is to allow
QSFP+ optical module is under normal mode of operation.
(3) time delay 2s.According to SFF 8436 agreement, it is maximum that QSFP+ optical module completes to solve reseting procedure
Needing the 2s time, time delay 2s makes optical module be sufficiently complete solution reset herein.
(4) system passes through iic bus by TXDISABLE depositor (within QSFP+ optical module
Location is 0d86) be written as 0x0f, the value of the first depositor in logical device is written as 1 in order to
Allow optical module first give tacit consent to and be in TXDISABLE enabled state, be i.e. optical module light mouth closed mode.
(5) value of the first son protection depositor and the second son protection depositor is all written as 0, initial default
Not guard mode.
As seen from the above, by above-mentioned initialization flow process, it is ensured that the correct execution of follow-up management.
In the present invention, system can read the TXDISABLE state of QSFP+ optical module at any time, and system is read
Take optical module TXDISABLE state.As shown in Figure 4, need to obtain QSFP+ optical module when system
During TXDISABLE state, it is only necessary to go to read the value of the first depositor defined in logical device, when
When the value of the first depositor is 1, shows that the TXDISABLE of current QSFP+ optical module is effective, be in
Send and close, light mouth closed mode;When the value of the first depositor is 0, show current QSFP+ optical mode
The TXDISABLE of block is invalid, is in transmission and enables, light mouth open mode.
In the present invention, system can operate the TXDISABLE state of QSFP+ optical module, and system operates
The TXDISABLE state of QSFP+ optical module is divided into two big processes, is that system operation first is deposited respectively
The value of device, after the value of logical device Scanning Detction to the first depositor changes, automatic exciting light module
Iic bus, is written to optical module TXDISABLE by TXDISABLE state value needed for up-to-date system
In depositor, two big process schematic flow sheets are the most as shown in Figure 5 and Figure 6.
(1) system is the need of the TXDISABLE state of operation QSFP+ optical module, i.e. system is
The no value needing to write the first depositor, the most then enter step (2), otherwise rests on step (1).
(2) logic reads total value protecting depositor automatically, if always the value of protection depositor is 1, then
Entering step (3), the value the most always protecting depositor is 0, then enter step (4)
(3) current QSFP+ optical module bus is currently in use, and does not allow system to write the value of the first depositor,
System operation is invalid, and the first register value keeps constant, and system end of operation returns to step (1).
(4) current QSFP+ optical module bus free, it is allowed to system writes the value of the first depositor, system
Effectively, the value of the first depositor is written as the value required for system in operation.If the value of the first depositor occurs
Change, i.e. the TXDISABLE state of optical module changes, then can be arrived by the automatic Scanning Detction of logic,
And entering step (5), TXDISABLE state does not changes else if, it is not necessary to logic is automatic
Excite iic bus to write the internal TXDISABLE depositor of optical module, return to step (1).
(5) protection depositor B1 is put 1 by logic automatically, and judges the value situation of change of the first depositor,
If the value of the first depositor is become 1 from 0, then logic is written into the internal TXDISABLE of optical module
The temporary variable of depositor is set to 0x0f, and otherwise temporary variable is set to 0x0 by logic.
(6) logic automatic exciting light module iic bus, by automatic IIC writing module, by temporary variable
Value be written to the internal TXDISABLE depositor of optical module.
(7) after logic iic bus is finished, logic again by first son protection depositor value put back into into
0, flow process terminates, and waits system operating process next time.
In the present invention, system can also normal operating QSFP+ optical module internal register, system operate
The schematic flow sheet of QSFP+ optical module internal register is as shown in Figure 7.
(1) system is the need of operation optical module internal register, the most then enter step (2), no
Then rest on step (1) until system has corresponding operating demand.
(2) system reads the value of protection depositor B, and determines whether 1, the most then enter into step
(3) step (4), is otherwise entered into.
(3), during QSFP+ optical module iic bus is being currently used, wouldn't use, report
IIC_BUSY error informing system, and return to step (1).
(4) in the QSFP+ optical module iic bus free time, system can use, and the second son is first protected by system
The value protecting depositor is set to 1, shows that system takies iic bus.
(5) system uses iic bus to perform operation QSFP+ optical module internal register order.
(6), after system is finished, it is 0 that the value at the second son protection depositor is put back into by system, flow process
Operation terminates, and waits next operation flow process.
In summary it can be seen, by logical device, define first depositor and simulate QSFP+
The TXDISABLE pin function of optical module, system just can be straight by the value reading this first depositor
Connect the state learning the internal TXDISABLE of QSFP+ optical module.Meanwhile, system operates the first depositor
During value change, logical device automatic exciting light module iic bus, by corresponding TXDISABLE state
Characterize numerical value and be written to the internal TXDISABLE depositor of QSFP+ optical module, thus realize system operation
The handoff functionality of optical module TXDISABLE state.In order to prevent logical device from using optical module IIC total
Line and system use iic bus conflict entanglement, increase and always protect depositor, the first son to protect accordingly
Protect depositor and the second son protection depositor, increase a small amount of protection flow process, it is ensured that QSFP+ optical module
The normal use of TXDISABLE pin function.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can make to use tricks
Calculation machine program circuit realizes, and described computer program can be stored in a computer-readable recording medium,
Described computer program performs (such as system, unit, device etc.) on corresponding hardware platform,
Upon execution, including one or a combination set of the step of embodiment of the method.
Alternatively, all or part of step of above-described embodiment can also use integrated circuit to realize, this
A little steps can be fabricated to integrated circuit modules one by one respectively, or by the multiple modules in them or
Step is fabricated to single integrated circuit module and realizes.So, the present invention is not restricted to any specific hard
Part and software combine.
Each device/functional module/functional unit in above-described embodiment can use general calculating device
Realizing, they can concentrate on single calculating device, it is also possible to is distributed in multiple calculating device institutes group
On the network become.
Each device/functional module/functional unit in above-described embodiment realizes with the form of software function module
And during as independent production marketing or use, can be stored in a computer read/write memory medium.
Computer read/write memory medium mentioned above can be read only memory, disk or CD etc..
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
In this, any those familiar with the art, can be easily in the technical scope that the invention discloses
Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention
Scope should be as the criterion with the protection domain described in claim.
Claims (11)
1. the method for the enabled state managing optical module, it is characterised in that including:
When receiving management request, obtaining the enable information of depositor record, wherein said depositor is used
Optical module in simulation four-way SFP QSFP+ optical module sends closing function;
According to the management request received, manage the enable information of record in described depositor;
If described enable information changes, then send described enable to described QSFP+ optical module and believe
Breath.
Method the most according to claim 1, it is characterised in that the enable in described acquisition depositor
Before information, described method also includes:
Arranging and enabling the initial value of information in described depositor is 1.
Method the most according to claim 1, it is characterised in that whether described enable information becomes
Change obtains in the following way, including:
Detect and described depositor enables the level state that information is corresponding;
When the level state described depositor being detected changes, determine that described optical module sends and close
The enable information of function changes.
Method the most according to claim 1, it is characterised in that send out to described QSFP+ optical module
Send described enable information, including:
Generating write operation signal, wherein said write operation signal is used for changing light in described QSFP+ optical module
The enabled state of module closing function;
Described write operation signal is sent to described QSFP+ optical module by IC bus IIC.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that to described QSFP+
Before optical module sends described enable information, described method includes:
Detect described iic bus the most occupied;And/or,
Detect whether to send described enable information to described QSFP+ optical module.
6. the device of the enabled state managing optical module, it is characterised in that described device and QSFP+
Optical module is connected, and wherein said device includes:
First depositor, sends closing function for simulating the optical module of QSFP+ optical module, and records institute
State optical module and send the enable information of closing function;
Processor, for when receiving management request, asking according to the management received, posts described in management
Enable information in storage;If described enable information changes, then send out to described QSFP+ optical module
Send described enable information.
Device the most according to claim 6, it is characterised in that:
Described processor, is additionally operable to arrange that to enable the initial value of information in described first depositor be 1.
Device the most according to claim 6, it is characterised in that whether described enable information becomes
Change obtains in the following way, including:
Detect and the first depositor enables the level state that information is corresponding;
When the level state the first depositor being detected changes, it is determined that described optical module sends and closes
The enable information closing function changes.
Device the most according to claim 6, it is characterised in that:
Described processor, specifically for generating write operation signal, and by iic bus to described QSFP+
Optical module sends described write operation signal, and wherein said write operation signal is used for changing described QSFP+ optical mode
The enabled state of optical module closing function in block.
10. according to the arbitrary described device of claim 6 to 9, it is characterised in that described device also wraps
Include:
First son protection depositor, is used for recording the most occupied information of iic bus, wherein numerical value 0
Representing that iic bus is unoccupied, wherein numerical value 1 represents that iic bus is occupied;
Second son protection depositor, is used for recording described processor the most to described QSFP+ optical module
Interior optical module sends closes depositor transmission described write operation signal, wherein numerical value 0 table that pin is corresponding
Showing that described processor does not send described write operation signal, numerical value 1 represents that described processor is sending institute
State write operation signal;
Always protect depositor, in described first son protection depositor and the second son protection depositor
Numerical value carries out or operates, and obtains result of calculation;
Described processor, if being 0 for result of calculation, then sends described write operation signal;If meter
Calculating result is 1, stops sending described write operation signal, and wherein said write operation signal is used for changing described
The enabled state of optical module closing function in QSFP+ optical module.
11. devices according to claim 10, it is characterised in that described first son protection depositor
It is 0 with the initial value of the numerical value of the second son protection depositor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510338774.XA CN106330327B (en) | 2015-06-17 | 2015-06-17 | Method and device for managing enabling state of optical module |
PCT/CN2016/071977 WO2016201983A1 (en) | 2015-06-17 | 2016-01-25 | Method and device for managing enablement state of optical module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510338774.XA CN106330327B (en) | 2015-06-17 | 2015-06-17 | Method and device for managing enabling state of optical module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106330327A true CN106330327A (en) | 2017-01-11 |
CN106330327B CN106330327B (en) | 2020-06-30 |
Family
ID=57544929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510338774.XA Active CN106330327B (en) | 2015-06-17 | 2015-06-17 | Method and device for managing enabling state of optical module |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106330327B (en) |
WO (1) | WO2016201983A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111953412A (en) * | 2020-08-07 | 2020-11-17 | 苏州浪潮智能科技有限公司 | Method and device for realizing optical information synchronization of optical module switch |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294594B (en) * | 2017-07-03 | 2023-11-14 | 博为科技有限公司 | Passive optical network device, switching method and system |
CN113364523B (en) * | 2020-03-06 | 2022-06-28 | 青岛海信宽带多媒体技术有限公司 | Data sending method and optical module |
CN113472449B (en) * | 2021-08-11 | 2022-08-19 | 青岛海信宽带多媒体技术有限公司 | Optical module and signal polarity definition method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101494498A (en) * | 2009-03-06 | 2009-07-29 | 中兴通讯股份有限公司 | Apparatus and method for collecting SFP optical module signal |
US20090317086A1 (en) * | 2007-09-10 | 2009-12-24 | Naofumi Morohashi | Optical transceiver module and method of controlling optical transceiver module |
CN102118660A (en) * | 2011-01-12 | 2011-07-06 | 中兴通讯股份有限公司 | Method and device for accessing optical module |
CN102342042A (en) * | 2009-03-09 | 2012-02-01 | 古河电气工业株式会社 | Optical communication module, and optical communication system in which optical communication module is used |
CN102723988A (en) * | 2012-06-12 | 2012-10-10 | 迈普通信技术股份有限公司 | Control method and communication device of optical module |
CN104639375A (en) * | 2015-03-03 | 2015-05-20 | 大唐移动通信设备有限公司 | Interface management method and network equipment |
-
2015
- 2015-06-17 CN CN201510338774.XA patent/CN106330327B/en active Active
-
2016
- 2016-01-25 WO PCT/CN2016/071977 patent/WO2016201983A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090317086A1 (en) * | 2007-09-10 | 2009-12-24 | Naofumi Morohashi | Optical transceiver module and method of controlling optical transceiver module |
CN101494498A (en) * | 2009-03-06 | 2009-07-29 | 中兴通讯股份有限公司 | Apparatus and method for collecting SFP optical module signal |
CN102342042A (en) * | 2009-03-09 | 2012-02-01 | 古河电气工业株式会社 | Optical communication module, and optical communication system in which optical communication module is used |
CN102118660A (en) * | 2011-01-12 | 2011-07-06 | 中兴通讯股份有限公司 | Method and device for accessing optical module |
CN102723988A (en) * | 2012-06-12 | 2012-10-10 | 迈普通信技术股份有限公司 | Control method and communication device of optical module |
CN104639375A (en) * | 2015-03-03 | 2015-05-20 | 大唐移动通信设备有限公司 | Interface management method and network equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111953412A (en) * | 2020-08-07 | 2020-11-17 | 苏州浪潮智能科技有限公司 | Method and device for realizing optical information synchronization of optical module switch |
Also Published As
Publication number | Publication date |
---|---|
WO2016201983A1 (en) | 2016-12-22 |
CN106330327B (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106662713B (en) | Connection with management and control is supported and the pluggable active light module of emulated memory table | |
CN106330327A (en) | Method and device of managing enabling state of optical module | |
CN107463456A (en) | A kind of system and method for lifting double netcard NCSI management system switching efficiencies | |
CN102571502B (en) | The detection method of terminal access device and reversed Ethernet work power supply state | |
CN103793347B (en) | The method and structure of the SAS expander of the routing property of its port of self-configuring | |
US9712901B2 (en) | Interconnection system, apparatus, and data transmission method | |
CN106063196B (en) | Communicator and method | |
CN117278890B (en) | Optical module access method, device and system, electronic equipment and readable storage medium | |
CN109582153A (en) | information input method and device | |
CN107645310A (en) | The data transmission device and data transmission method of breaker controller | |
CN103812739B (en) | FPGA and DSP communicator and communication means | |
CN102291337A (en) | Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof | |
CN105373511A (en) | Device and method for simultaneous communication with multiple optical modules | |
CN208450861U (en) | A kind of laser marking machine and laser marking system | |
CN109561032A (en) | A kind of switch module and the interchanger including it | |
CN109683470A (en) | A kind of software and hardware self-adaptive matching method, device and driving device | |
CN103150127A (en) | System for accessing storage in multiple paths, configuration of system, and access method | |
CN109445975A (en) | Abnormality eliminating method, logic device and member device | |
CN112671936A (en) | Special transmission module adapting method and device for different domestic systems | |
CN208954104U (en) | Multichannel SIM card read-write equipment | |
CN110320877A (en) | A kind of cable processing Intelligent electronic control system | |
CN109992539A (en) | Double main machine coordination working devices | |
CN114301532A (en) | Optical module working mode negotiation method and device and electronic equipment | |
CN108304280A (en) | Control method, BMC and the device of isomery mixing memory system abnormal restoring | |
CN107193507A (en) | Magneto-optic electricity mixing storage method and device |
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 |