CN107370750A - A kind of date storage method of interconnecting module, device and interconnecting module - Google Patents
A kind of date storage method of interconnecting module, device and interconnecting module Download PDFInfo
- Publication number
- CN107370750A CN107370750A CN201710703784.8A CN201710703784A CN107370750A CN 107370750 A CN107370750 A CN 107370750A CN 201710703784 A CN201710703784 A CN 201710703784A CN 107370750 A CN107370750 A CN 107370750A
- Authority
- CN
- China
- Prior art keywords
- information
- module
- protocol
- storage
- host computer
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
- Optical Communication System (AREA)
Abstract
The present invention relates to technical field of photo communication, the more particularly to a kind of date storage method of interconnecting module, device and interconnecting module, a kind of optical module is only supported to solve each host computer present in prior art, limit host computer usage scenario, need to change the optical module used, host computer, which must be changed, could realize replacing optical module, add the problem of changing optical module complexity.The embodiment of the present invention reads the first information in optical mode block storage, and the first information is stored by the first agreement in memory;The first information is converted to by the second information according to second protocol, the second information is stored into the memory of interconnecting module by second protocol, so that host computer is directly read.Due to the first information stored by the first agreement read from optical mode block storage is converted into the second information and stored, so as to realize that host computer can be communicated between the optical module do not supported, expand the usage scenario of host computer, reduce the complexity for changing optical module.
Description
Technical field
The present invention relates to technical field of photo communication, more particularly to a kind of date storage method of interconnecting module, device and
Interconnecting module.
Background technology
Fibre Optical Communication Technology developed rapidly in recent years, to the optical module of one of Networks of Fiber Communications important component, property
Can and index requirement also more and more higher, meanwhile, application scenarios are also more and more diversified.With the development of science and technology, optical device, drive
The optical module important composition parts such as dynamic chip, integrated level also more and more higher, optical module is towards high-speed, low cost, small package
Direction is developed, and therefore, the update of optical module necessarily will be more and more faster.
100G, which transmits optical-fiber network, at present a variety of optical modules, such as CFP (Centum Form-factor Pluggable,
The pluggable interface of system) (Quad Small Form-factor Pluggable, four-way is small-sized to be inserted by 2 optical modules and QSFP
Pull out interface) 28 optical modules.No matter which kind of optical module, host computer only supports a kind of optical module when in use.For example support CFP2 light
The host computer of module can not use QSFP28 optical modules, thus limit the usage scenario of host computer.Used if necessary to change
Optical module, it is necessary to replacing optical module could be realized by changing host computer, add change optical module complexity.
In summary, each host computer only supports a kind of optical module at present, limits the usage scenario of host computer, it is necessary to change
The optical module used, it is necessary to which replacing optical module could be realized by changing host computer, add the complexity for changing optical module.
The content of the invention
The present invention provides a kind of date storage method of interconnecting module, device and interconnecting module, to solve existing skill
Each host computer present in art only supports a kind of optical module, limits the usage scenario of host computer, it is necessary to change the optical mode used
Block, it is necessary to replacing optical module could be realized by changing host computer, add change optical module complexity the problem of.
A kind of date storage method of interconnecting module provided in an embodiment of the present invention, this method include:
The first information in optical mode block storage is read, the first information is carried out in the memory by the first agreement
Storage;
The first information is converted to by the second information according to second protocol, second information is stored by second protocol
Into the memory of interconnecting module, so that host computer is directly read.
A kind of modular converter provided in an embodiment of the present invention, the modular converter include:Processor, golden finger and golden finger connect
Connect device;
The golden finger side is connected with host computer, and opposite side is connected with the processor;The golden finger connector one
Side is connected with the golden finger in outside optical module, and opposite side is connected with the processor;
Processor, for reading the first information in optical mode block storage, the first information is pressed in the memory
First agreement is stored;The first information is converted to by the second information according to second protocol, by second information by the
Two agreements are stored into the memory of interconnecting module, so that host computer is directly read.
Another modular converter provided in an embodiment of the present invention, the modular converter include:
Read module, for reading the first information in optical mode block storage, the first information is in the memory
Stored by the first agreement;
Processing module, for the first information to be converted into the second information according to second protocol, by second information
Stored by second protocol into the memory of interconnecting module, so that host computer is directly read.
The embodiment of the present invention reads the first information in optical mode block storage, and the first information is pressed in the memory
First agreement is stored;The first information is converted to by the second information according to second protocol, by second information by the
Two agreements are stored into the memory of interconnecting module, so that host computer is directly read.Due to can will be from optical mode block storage
That reads is converted into the second information by the first information that the first agreement is stored according to second protocol, and enters according to second protocol
Row storage, so as to realize that host computer can be communicated between the optical module do not supported, expands the usage scenario of host computer,
Reduce the complexity for changing optical module.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 is the method flow schematic diagram of the data storage of interconnecting module of the embodiment of the present invention;
Fig. 2 is the method flow schematic diagram that the embodiment of the present invention updates change information;
Fig. 3 is the method flow schematic diagram that the embodiment of the present invention reads information;
Fig. 4 is the method flow schematic diagram of detection of the embodiment of the present invention;
Fig. 5 is the complete method schematic flow sheet of the data storage of interconnecting module of the embodiment of the present invention;
Fig. 6 is the structural representation of kind modular converter of the embodiment of the present invention;
Fig. 7 is the structural representation for the modular converter that the embodiment of the present invention changes CFP2 and QSFP28;
Fig. 8 is the structural representation of the data storage device of interconnecting module of the embodiment of the present invention;
Fig. 9 is the structural representation of the first host computer of the embodiment of the present invention;
Figure 10 is the structural representation of second of host computer of the embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into
One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
As described in Figure 1, the method for the data storage of interconnecting module of the embodiment of the present invention includes:
The first information in step 100, reading optical mode block storage, the first information press first in the memory
Agreement is stored;
Step 101, the first information is converted to by the second information according to second protocol, second information is pressed second
Agreement is stored into the memory of interconnecting module, so that host computer is directly read.
The embodiment of the present invention reads the first information in optical mode block storage, and the first information is pressed in the memory
First agreement is stored;The first information is converted to by the second information according to second protocol, by second information by the
Two agreements are stored into the memory of interconnecting module, so that host computer is directly read.Due to can will be from optical mode block storage
That reads is converted into the second information by the first information that the first agreement is stored according to second protocol, and enters according to second protocol
Row storage, so as to realize that host computer can be communicated between the optical module do not supported, expands the usage scenario of host computer,
Reduce the complexity for changing optical module.
The first agreement and second protocol of the embodiment of the present invention are agreements corresponding to different optical modules, such as the first agreement
Can be agreement corresponding to CFP2 optical modules, second protocol can be agreement corresponding to QSFP28 optical modules.
The embodiment of the present invention can also transmit high-speed optical signal between host computer and the optical module.
The type of two optical modules changed as needed in design, it is determined that corresponding interface, with adapt to host computer and
Signal transmission between outside optical module.
It is respectively CFP2 optical modules and QSFP28 optical modules than two optical modules if desired for conversion, host computer supports CFP2
Optical module, then one section of modular converter need to be designed to the interface of CFP2 optical modules, in order to host computer connect, the other end need set
Interface corresponding to QSFP28 optical modules is counted into, to be connected with QSFP28 optical modules.
The first information of the embodiment of the present invention can be software control signals;It can also be hardware control signal.
Software control signals are to indicate the signal being controlled by the level of logical zero/1 by Software Create, can be solved
Separate out work state information (such as temperature), control information of optical module etc.;
Hardware control signal is to be generated through the level of logical zero/1 by hardware to indicate the signal being controlled, and can be solved
Separate out control information etc..
Optionally, if the first information is software control information, institute is read by I2C (twin wire universal serial bus) interface
State software control information;Or
If the first information is hardware controls information, pass through universal input/output GPIO (General Purpose
Input Output, universal input/output) the interface reading hardware controls information.
It is mainly agreement difference for two different types of optical modules, it is specific that agreement difference is embodied in same One function
Control signal and storage address it is different, this relates to power and energy and address of cache.
Different optical module agreements have different register architecture, but whether what structure, memory are all divided into two
Kind:
1st, non-volatile registers (Non-Volatile Register, NVR):Information in power down late register is still protected
Stay;
2nd, volatile register (Volatile Register, VR):Information in power down late register is lost.
For NVR:The information preserved in NVR corresponding to first agreement is mapped entirely to modular converter by the embodiment of the present invention
In in a new storage region.
For VR:(1) can directly be corresponded to for the function having in the first agreement and second protocol (is with the first agreement
Agreement corresponding to CFP2 optical modules, exemplified by second protocol is agreement corresponding to QSFP28 optical modules, such as:Module temperature, voltage);
Have in (2) first agreements, but the function not having in second protocol, can carry out self-defined, can also ignore;
Do not have in (3) first agreements, but the function having in second protocol, it (is CFP2 optical modes with the first agreement to be ignored
Agreement corresponding to block, exemplified by second protocol is agreement corresponding to QSFP28 optical modules, such as:TOSA(Transmitter Optical
Subassembly, light emission secondary module) temperature).
In force, modular converter of the embodiment of the present invention can mark off a storage region be used for store the second information.
The host computer passes through the MDIO in first transport module according to the storage information of second protocol
(Management Data Input/Output, the output of management data input) interface can is in the storage region marked off
Find the second information for needing to read.
Optionally, detect be connected with the optical module after notify that the host computer optical module is in place.
Optionally, when second information is stored into the memory of interconnecting module by second protocol, according to setting
The mapping relations of the storage information of the first information and second protocol, it is determined that second protocol corresponding to the first information read
Storage information;According to the storage information of determination, second information is stored to the storage of interconnecting module by second protocol
In device.
Here storage information is can to store the second information to any information in memory, such as storage address
Deng.
Because the first information includes the mapping of many specific information, the here storage information of the first information and second protocol
Relation is the mapping relations of each specific information and the storage information of second protocol, is stored when searching due to knowing needs
It is any bar specifying information, is also known that corresponding storage information, and then can be stored.
Wherein, the information for NVR storages is the category information that will not be changed with the working condition of optical module, can
To be referred to as fix information, that is to say, that software control information and/or software control information include fix information.Different optical modes
Fix information corresponding to block also has difference, and below by taking QSFP28 as an example, fix information includes but is not limited to:
The module essential informations of QSFP28 Page (page) 0, QSFP28 Page3 threshold informations and QSFP28 Page2 User
(user) EEPROM (Electrically Erasable Programmable Read-Only Memory, electric erazable programmable
Read-only storage) information.
In force, can reflecting fix information fix information corresponding with the first agreement corresponding to the first agreement in advance
Relation is penetrated to set into modular converter.
Using the first agreement as agreement corresponding to CFP2 optical modules, second protocol be QSFP28 optical modules corresponding to agreement be
Example, the mapping relations of the fix information corresponding with the first agreement of fix information corresponding to the first agreement may refer to table 1:
Table 1
QSFP28 fix information is converted into the fixed of CFP2 by modular converter according to the mapping relations can of table 1 to be believed
Breath, and store into storage region corresponding to CFP2.
QSFP28 and CFP2 has corresponding Base ID (basis mark) and Threshold (threshold value) information table, but due to
The internal register 26S Proteasome Structure and Function of table differs greatly, therefore QSFP28 tables directly can not be covered into CFP2 and correspond to table space,
Based on this, the embodiment of the present invention divides in modular converter goes a storage region as NVR corresponding to CFP2.
Specific every fix information can correspond to a storage information, and modular converter can be according to every fix information pair
The storage information answered is stored into storage region on corresponding position.
Using the first agreement as agreement corresponding to CFP2 optical modules, second protocol is exemplified by agreement corresponding to QSFP28 optical modules
Illustrate, other agreements are similar, will not be repeated here.
Interconnecting module is to connect QSFP28 optical modules and host computer, switching model as signaling transfer point in master system
Block itself does not possess optical fiber communication function, therefore, switching model is not reported to host computer when host computer interface module is inserted
MOD_ABS (module indication signal in place) outputs are not in place by block state in place, interconnecting module;When QSFP28 optical modules have been inserted
When entering interconnecting module, state in place is reported to host computer, QSFP28 states in place will be detected as triggering report interconnecting module
The signal of state in place.
When QSFP28 modules are in not state in place, interconnecting module will monitor whether that QSFP28 modules access in real time,
While QSFP28 states in place are detected to host computer report state in place, start to perform the initialization operation of interconnecting module,
The NVR information of QSFP28 modules is loaded, opens MDIO communication interface.When QSFP28 is extracted, should be reported immediately to host computer
State not in place, simultaneously closes off MDIO communication interface, is not responding to any operation of host computer.
In force, interconnecting module has been after the power-up if detected optical module insertion, can be at the beginning of the optical module in insertion
After the completion of beginningization, the first information is read at the optical module of insertion, is stored after conversion on corresponding position.
Wherein, the information for VR storages be can the category information that be changed with the working condition of optical module, can be with
Referred to as change information, that is to say, that software control information and/or software control information include change information.Different optical modules
Corresponding change information also has difference, below using the first agreement as agreement corresponding to CFP2 optical modules, second protocol QSFP28
Exemplified by agreement corresponding to optical module, change information includes but is not limited to following three category information:
DDMI (Digital Diagnostic Monitor Information, numerical diagnostic detection information), FAWS
(Fault, Alarm, Warning and Status, mistake, alarm, warning, state) information, software control information.
Include at least one specific information per category information.
In force, can reflecting change information change information corresponding with second protocol corresponding to the first agreement in advance
Relation is penetrated to set into modular converter.
Using the first agreement as agreement corresponding to CFP2 optical modules, second protocol be QSFP28 optical modules corresponding to agreement be
Example, the mapping relations of the change information corresponding with second protocol of change information corresponding to the first agreement may refer to table 2:
Table 2
Wherein, preceding 5 information is DDMI, and the 6th~9th information is FAWS information, and the 10th and the 11st information is software
Control information.
The change that QSFP28 change information is converted into CFP2 according to the mapping relations can of table 2 by modular converter is believed
Breath.
Specific every change information can correspond to a storage information, and modular converter can be according to every change information pair
The storage information answered is stored into storage region on corresponding position.
Optionally, it is described based on this because change information is the information that meeting change with the working condition of optical module
Modular converter can read the first information in optical mode block storage with the cycle, so modular converter can be entered to change information
Row renewal.
Using the first agreement as agreement corresponding to CFP2 optical modules, second protocol is exemplified by agreement corresponding to QSFP28 optical modules
Illustrate, other optical modules are similar, will not be repeated here.
For VR registers, it is necessary to be regularly updated in interconnecting module, i.e., each program circulating period, communicated by I2C
Interface, corresponding information is read from QSFP28 optical modules, be stored in supplying host computer to visit in the address of CFP2 agreement identical functions
Ask.Wherein, host computer can participate in Fig. 2 to the read-write operation flow of interconnecting module multidate information.
As shown in Fig. 2 the method for renewal change information of the embodiment of the present invention includes:
Step 200, host computer are according to change information and the mapping relations of storage address, it is determined that the change letter after conversion
Storage address corresponding to breath.
Step 201, host computer read the change by MDIO interfaces according to the storage address from the modular converter
Change information.
Wherein, the optical module that host computer needs to be connected with interconnecting module according to the change information pair of reading is monitored, institute
With host computer can in real time or the cycle read change information.
Step 202, modular converter judge whether the cycle reaches, if it is, performing step 203;Otherwise, step is performed
202。
The optical module that step 203, modular converter are connected by I2C interface notice with interconnecting module reports change information (this
In can be part or all of change information).
What the optical module that step 204, modular converter are connected by I2C interface reception with interconnecting module reported believes comprising change
The signal of breath.
Step 205, modular converter are parsed to obtain change information to the signal received, and will be obtained according to second protocol
Change information changed.
Step 206, modular converter are according to change information and the mapping relations of storage information, it is determined that the change after conversion
Storage information corresponding to information.
The change information that step 207, the modular converter store to obtain according to the storage information of determination, and return to step
202。
It should be noted that there is no inevitable sequential to close between step 200~step 201 and step 202~step 207
It is two self-contained process that system, i.e. host computer, which read change information and modular converter renewal change information,.
As described in Figure 3, the method for reading of embodiment of the present invention information includes:
Step 300, host computer determine storage information corresponding to second protocol;
Step 301, the host computer read the second information in the modular converter according to the storage information of determination;
Wherein, second information be the modular converter by the first information read from optical mode block storage according to
Two agreements are converted to, and stored by the second protocol;The first information is in the memory by the
One agreement is stored.
Optionally, host computer is according to the second information and the mapping relations of storage information, it is determined that needing the second information read
Corresponding storage information;
The host computer reads the second information according to the storage information from the modular converter.
Because host computer may connect optical module, modular converter can also be connected, so host computer can first judge to connect
Be which module.
When the module for detecting insertion is optical module, reads and believe from the address that second protocol corresponding to optical module is specified
Breath, i.e., these information are stored in optical module;, also can be corresponding from optical module when the module for detecting insertion is modular converter
The address specified of second protocol read information, but at this moment these information are storages into modular converter.Detailed process can
With referring to Fig. 4.
As shown in figure 4, the method for detection of the embodiment of the present invention includes:
Step 400, upper computer detection are to there is optical module insertion.
Whether what step 401, host computer judged to be currently inserted into is modular converter, if it is, performing step 403;Otherwise,
Perform step 402.
The storage information of step 402, the host computer agreement according to corresponding to optical module, reads the second information from optical module.
Whether what step 403, host computer judged to be currently inserted into is modular converter, if it is, performing step 404;Otherwise,
Jump out this flow.
The storage information of step 404, the host computer agreement according to corresponding to optical module, reads the second information from optical module.
As described in Figure 5, the complete method of the data storage of interconnecting module of the embodiment of the present invention includes:
Step 500, modular converter detect to the signal in place of optical module after the power-up.
Step 501, modular converter judge whether to detect optical module signal in place (i.e. optical module whether with modular converter
Connection), if it is, performing step 502;Otherwise return to step 501.
Step 502, modular converter report that optical module is in place to host computer.
Step 503, modular converter read the first information of optical mode block storage by I2C interface.
The first information is converted to the second information by step 504, modular converter according to second protocol.
Step 505, modular converter are stored second information into the memory of interconnecting module by second protocol.
Step 506, modular converter open MDIO communication interface, so that host computer can be got by MDIO communication interface
Fix information.
Step 507, modular converter cycle are updated to the first information.
Specific renewal process may refer to Fig. 2, not repeat herein.
Step 508, modular converter judge whether optical module is in place, if it is, return to step 507;Otherwise step is performed
509。
Step 509, modular converter report that optical module is not in place to host computer, and close MDIO interfaces.
Wherein, whether the in place and modular converter cycle is updated no inevitable sequential to modular converter real-time judge optical module
Relation, it is two independent processes.As long as detecting that optical module reports that optical module is not in place or not to host computer, and close
MDIO interfaces, while dwelling period updates;When not detecting that optical module is not in place, can perform the cycle always is updated
Process.
Based on same inventive concept, modular converter is additionally provided in the embodiment of the present invention, due to the modular converter and Fig. 1 sheets
The date storage method of inventive embodiments interconnecting module is similar, therefore the implementation of the modular converter may refer to the implementation of system,
Part is repeated to repeat no more.
As described in Figure 6, modular converter of the embodiment of the present invention includes:Processor 60, golden finger 61 and golden finger connector 62.
The golden finger side is connected with host computer, and opposite side is connected with the processor;The golden finger connector one
Side is connected with the golden finger in outside optical module, and opposite side is connected with the processor;
Processor, for reading the first information in optical mode block storage, the first information is pressed in the memory
First agreement is stored;The first information is converted to by the second information according to second protocol, by second information by the
Two agreements are stored into the memory of interconnecting module, so that host computer is directly read.
Optionally, the processor 60 of the embodiment of the present application can be single-chip microcomputer (MCU).
Optionally, the processor 60 is specifically used for:
If the first information is software control information, the software control is read by twin wire universal serial bus I2C interface
Information processed;Or
If the first information is hardware controls information, the hardware control is read by universal input/output GPIO interface
Information processed.
Optionally, the processor 60 is additionally operable to:
Detect be connected with the optical module after notify that the host computer optical module is in place.
Optionally, the processor 60 is specifically used for:
According to the first information of setting and the mapping relations of the storage information of second protocol, it is determined that first letter read
The storage information of second protocol corresponding to breath;According to the storage information of determination, second information is deposited by second protocol
Storage is into the memory of interconnecting module.
Below using the first agreement as agreement corresponding to CFP2 optical modules, second protocol is agreement corresponding to QSFP28 optical modules
Exemplified by modular converter structure is illustrated, it is specific as shown in Figure 7.
Wherein, the function of processor 60 is realized by MCU70, and the function of golden finger 61 is realized by CFP2 golden fingers 71, golden hand
The function of referring to connector 62 is realized that the function of power management module 63 is realized by power management module 73 by QSFP28 modules 72.
As described in Figure 7, conversion of embodiment of the present invention CFP2 and QSFP28 modular converter includes:MCU 70, CFP2 gold hands
Refer to 71 and QSFP28 modules 72.
Micro-control units of the MCU 70 as interconnecting module, realize that logical signal monitors to host computer;To QSFP28 modules
Realize that logical signal monitors.
Because host computer is converted into the monitoring signal to QSFP28 modules by MCU 70 to the monitoring signal of interconnecting module, from
And logically connect together host computer with QSFP28 optical modules, realize the function of interface conversion.
For interconnecting module when being inserted into host computer, MCU 70 will not indicate signal (MOD_ABS) in place to host computer, now
Host computer thinks no module insertion, and when QSFP28 is inserted into interconnecting module, MCU can detect QSFP28 signals in place, together
When signal in place is transmitted to host computer, such host computer can carry out MDIO communication access to interconnecting module, logical signal controls
Deng operation.
After the power-up, if QSFP28 is in place, then whether MCU 70 first detection QSFP28 can initialize interconnecting module
Into if initialization completion, the second information is converted into by the QSFP28 first information, and the address for being loaded into CFP2 agreements is empty
Between.
MCU 70 can by CFP2 golden fingers 71 receive host computer send LowPower (i.e. into low-power consumption mode),
TxDiable (i.e. transmitting terminal close) hardware signal, afterwards the general QSFP28 modules 72 of MCU be sent to QSFP28, made by QSFP28
Go out corresponding response.
For LowPower functions, MCU by signal output to QSFP28 modules while, can also determine whether close portion
The power supply of sub-module reduces power consumption, passes through control signal line traffic control if necessary and controls power management module 73.
Power management module 73 obtains power supply by the power supply input signal line between CFP2 golden fingers 71, and power supply is turned
Change the suitable voltage of modules into and modules are transferred to by the power output signal line between modules.
In force, communications of the MCU 70 to host computer can meet maximum 4MHz transmission rate;MCU 70 is right
QSFP28 communication, I2C interface can be used according to SFF-8436 agreements.
In Fig. 7, high-speed optical signal is transmitted by HW High Way between CFP2 golden fingers 71 and QSFP28 modules 72;
Second between the first signal wire and MCU 70 and QSFP28 modules 72 between MCU 70 and CFP2 golden fingers 71
Signal wire is used to transmit hardware signal, such as logic control, status information.For example first corresponding to signal wire and secondary signal line
Interface can be GPIO interface.
The embodiment of the present invention can be used as the MCU in interconnecting module by ADuCM320 single-chip microcomputers.ADuCM320 is carried
MDIO communication interface, it can be connected as MDIO slaves interface with master system plate, as host computer system and switching model
The communication interface of block.Meanwhile interconnecting module and QSFP28 communication, can be with using the I2C communication interfaces for meeting QSFP28 agreements
Using the general GPIO ports of ADuCM320, I2C sequential is simulated, is realized and QSFP28 module communications functions.
As described in Figure 8, the data storage device of interconnecting module of the embodiment of the present invention, including:
Read module 800, for reading the first information in optical mode block storage, the first information is in the memory
In stored by the first agreement;
Processing module 801, for the first information to be converted into the second information according to second protocol, described second is believed
Breath is stored into the memory of interconnecting module by second protocol, so that host computer is directly read.
Optionally, the processing module 801 is specifically used for:
If the first information is software control information, the software control is read by twin wire universal serial bus I2C interface
Information processed;Or
If the first information is hardware controls information, the hardware control is read by universal input/output GPIO interface
Information processed.
Optionally, the processing module 801 is additionally operable to:
Detect be connected with the optical module after notify that the host computer optical module is in place.
Optionally, the processing module 801 is specifically used for:
According to the first information of setting and the mapping relations of the storage information of second protocol, it is determined that first letter read
The storage information of second protocol corresponding to breath;According to the storage information of determination, second information is deposited by second protocol
Storage is into the memory of interconnecting module.
Based on same inventive concept, host computer is additionally provided in the embodiment of the present invention, due to the host computer and Fig. 3 present invention
The method that embodiment reads information is similar, therefore the implementation of the host computer may refer to the implementation of system, and it is no longer superfluous to repeat part
State.
As described in Figure 9, the first host computer of the embodiment of the present invention includes:
At least one processing unit 900 and at least one memory cell 901, wherein, the memory cell 901 stores
There is program code, when described program code is performed by the processing unit so that the processing unit 900 performs following mistake
Journey:
Determine storage information corresponding to second protocol;According to the storage information of determination, in the modular converter is read
Two information;
Wherein, second information be the modular converter by the first information read from optical mode block storage according to
Two agreements are converted to, and stored by the second protocol;The first information is in the memory by the
One agreement is stored.
As described in Figure 10, second of host computer of the embodiment of the present invention includes:
Determining module 1000, for determining storage information corresponding to second protocol;
Read module 1001, for the storage information according to determination, read the second information in the modular converter;
Wherein, second information be the modular converter by the first information read from optical mode block storage according to
Two agreements are converted to, and stored by the second protocol;The first information is in the memory by the
One agreement is stored.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product
Figure and/or flow chart describe the application.It should be understood that it can realize that block diagram and/or flow illustrate by computer program instructions
One block of figure and the combination of block diagram and/or the block of flowchart illustration.These computer program instructions can be supplied to logical
With computer, the processor of special-purpose computer and/or other programmable data processing units, to produce machine so that via meter
The instruction that calculation machine processor and/or other programmable data processing units perform is created for realizing block diagram and/or flow chart block
In specified function/action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More
Further, the application can take computer to can be used or the shape of computer program product on computer-readable recording medium
Formula, it has the computer realized in media as well usable or computer readable program code, to be made by instruction execution system
With or combined command execution system and use.In the present context, computer can be used or computer-readable medium can be with
It is arbitrary medium, it can include, store, communicate, transmit or transmit program, to be made by instruction execution system, device or equipment
With, or combined command execution system, device or equipment use.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of date storage method of interconnecting module, it is characterised in that this method includes:
The first information in optical mode block storage is read, the first information is deposited in the memory by the first agreement
Storage;
The first information is converted to by the second information according to second protocol, by second information by second protocol store to turn
In the memory of connection module, so that host computer is directly read.
2. the method as described in claim 1, it is characterised in that the first information read in optical mode block storage, including:
If the first information is software control information, the software control letter is read by twin wire universal serial bus I2C interface
Breath;Or
If the first information is, the hardware controls information is read by universal input/output GPIO interface.
3. the method as described in claim 1, it is characterised in that before the first information read in optical mode block storage,
Also include:
Detect be connected with the optical module after notify that the host computer optical module is in place.
4. the method as described in claim 1, it is characterised in that described to store second information to switching by second protocol
In the memory of module, including:
According to the first information of setting and the mapping relations of the storage information of second protocol, it is determined that the first information pair read
The storage information for the second protocol answered;
According to the storage information of determination, second information is stored into the memory of interconnecting module by second protocol.
5. a kind of modular converter, it is characterised in that the modular converter includes:Processor, golden finger and golden finger connector;
The golden finger side is connected with host computer, and opposite side is connected with the processor;The golden finger connector side with
Golden finger connection in outside optical module, opposite side are connected with the processor;
Processor, for reading the first information in optical mode block storage, the first information presses first in the memory
Agreement is stored;The first information is converted to by the second information according to second protocol, by second information by the second association
View is stored into the memory of interconnecting module, so that host computer is directly read.
6. modular converter as claimed in claim 5, it is characterised in that the processor is specifically used for:
If the first information is software control information, the software control letter is read by twin wire universal serial bus I2C interface
Breath;Or
If the first information is hardware controls information, the hardware controls are read by universal input/output GPIO interface and believed
Breath.
7. modular converter as claimed in claim 5, it is characterised in that the processor is additionally operable to:
Detect be connected with the optical module after notify that the host computer optical module is in place.
8. modular converter as claimed in claim 5, it is characterised in that the processor is specifically used for:
According to the first information of setting and the mapping relations of the storage information of second protocol, it is determined that the first information pair read
The storage information for the second protocol answered;According to the storage information of determination, by second information by second protocol store to
In the memory of interconnecting module.
9. a kind of data storage device of interconnecting module, it is characterised in that the device includes:
Read module, for reading the first information in optical mode block storage, the first information is in the memory by the
One agreement is stored;
Processing module, for the first information to be converted into the second information according to second protocol, by second information by the
Two agreements are stored into the memory of interconnecting module, so that host computer is directly read.
10. data storage device as claimed in claim 9, it is characterised in that the processing module is specifically used for:
According to the first information of setting and the mapping relations of the storage information of second protocol, it is determined that the first information pair read
The storage information for the second protocol answered;According to the storage information of determination, by second information by second protocol store to
In the memory of interconnecting module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710703784.8A CN107370750A (en) | 2017-08-16 | 2017-08-16 | A kind of date storage method of interconnecting module, device and interconnecting module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710703784.8A CN107370750A (en) | 2017-08-16 | 2017-08-16 | A kind of date storage method of interconnecting module, device and interconnecting module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107370750A true CN107370750A (en) | 2017-11-21 |
Family
ID=60309145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710703784.8A Withdrawn CN107370750A (en) | 2017-08-16 | 2017-08-16 | A kind of date storage method of interconnecting module, device and interconnecting module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107370750A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430016A (en) * | 2019-08-01 | 2019-11-08 | 青岛海信宽带多媒体技术有限公司 | A kind of data receiver method, device and optical module |
CN111866628A (en) * | 2020-09-21 | 2020-10-30 | 武汉联特科技有限公司 | System and method compatible with SFP + optical module and QSFP + switch interface communication |
CN113541802A (en) * | 2020-04-20 | 2021-10-22 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN113722120A (en) * | 2021-07-30 | 2021-11-30 | 龙芯中科(太原)技术有限公司 | Integrated circuit and method for realizing program development |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050074990A1 (en) * | 2003-10-06 | 2005-04-07 | Shearman Simon E. | Optics pack |
CN201570018U (en) * | 2009-12-30 | 2010-09-01 | 青岛海信宽带多媒体技术有限公司 | Device for updating device program |
CN103677671A (en) * | 2013-12-12 | 2014-03-26 | 青岛海信宽带多媒体技术有限公司 | Data reading-writing method and system of electrical port module |
CN105635184A (en) * | 2016-03-22 | 2016-06-01 | 青岛海信宽带多媒体技术有限公司 | Communication protocol conversion method, device and system |
CN105740184A (en) * | 2016-01-26 | 2016-07-06 | 四川华拓光通信股份有限公司 | Riser card for realizing data communication between XFP (10 Gigabit Small Form Factor Pluggable) optical module and SFP+ (Small Form factor Pluggables) equipment interface and application method |
-
2017
- 2017-08-16 CN CN201710703784.8A patent/CN107370750A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050074990A1 (en) * | 2003-10-06 | 2005-04-07 | Shearman Simon E. | Optics pack |
CN201570018U (en) * | 2009-12-30 | 2010-09-01 | 青岛海信宽带多媒体技术有限公司 | Device for updating device program |
CN103677671A (en) * | 2013-12-12 | 2014-03-26 | 青岛海信宽带多媒体技术有限公司 | Data reading-writing method and system of electrical port module |
CN105740184A (en) * | 2016-01-26 | 2016-07-06 | 四川华拓光通信股份有限公司 | Riser card for realizing data communication between XFP (10 Gigabit Small Form Factor Pluggable) optical module and SFP+ (Small Form factor Pluggables) equipment interface and application method |
CN105635184A (en) * | 2016-03-22 | 2016-06-01 | 青岛海信宽带多媒体技术有限公司 | Communication protocol conversion method, device and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430016A (en) * | 2019-08-01 | 2019-11-08 | 青岛海信宽带多媒体技术有限公司 | A kind of data receiver method, device and optical module |
CN113541802A (en) * | 2020-04-20 | 2021-10-22 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN113541802B (en) * | 2020-04-20 | 2022-08-23 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN111866628A (en) * | 2020-09-21 | 2020-10-30 | 武汉联特科技有限公司 | System and method compatible with SFP + optical module and QSFP + switch interface communication |
CN111866628B (en) * | 2020-09-21 | 2021-02-09 | 武汉联特科技股份有限公司 | System and method compatible with SFP + optical module and QSFP + switch interface communication |
US11360921B2 (en) | 2020-09-21 | 2022-06-14 | Linktel Technologies Co., Ltd. | System and method of interface communication compatible with SFP+ optical module and QSFP+ switch |
CN113722120A (en) * | 2021-07-30 | 2021-11-30 | 龙芯中科(太原)技术有限公司 | Integrated circuit and method for realizing program development |
CN113722120B (en) * | 2021-07-30 | 2024-04-05 | 龙芯中科(太原)技术有限公司 | Integrated circuit and method for realizing program development thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107370750A (en) | A kind of date storage method of interconnecting module, device and interconnecting module | |
CN101276488B (en) | Vehicular recording instrument capable of implementing intelligent CAN bus communication | |
CN103248526A (en) | Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method | |
CN105406998A (en) | Dual-redundancy gigabit ethernet media access controller IP core based on FPGA | |
CN108255754B (en) | A kind of I3C main equipment of compatible I2C, I3C master-slave equipment communication system and method | |
CN111756858B (en) | Remote development processing system, method and device for embedded equipment | |
CN100382502C (en) | Serial-port mapping system for debugging single board | |
CN108345558B (en) | RS485 centralized configuration unit supporting multiple protocols | |
CN101815018A (en) | Moonlet multi-bus multi-passage communication monitoring device and monitoring method thereof | |
CN201540487U (en) | Handheld operator for maintenance and detection of equipment in marine engine room | |
WO2024113990A1 (en) | Information query method for optical modules, and a related assembly thereof | |
CN109407574A (en) | Output-controlling device and its method may be selected in a kind of multibus | |
CN113341853B (en) | IP core, FPGA chip, alternating current servo driver and communication method | |
US8996737B1 (en) | Method for emulating communication standards of transceiver modules for native host devices | |
CN207926639U (en) | A kind of elevator protocol conversion apparatus and elevator Internet of things system | |
US20120059969A1 (en) | Non-invasive direct-mapping usb switching device | |
CN113904970B (en) | Transmission system and method of semiconductor test equipment | |
CN105718231A (en) | KVM (Keyboard Video Mouse) redundancy management system and management method of blade server | |
CN112486877B (en) | Outfield guarantee and test platform of generalized FC conversion interface module | |
CN204706031U (en) | Serial peripheral equipment interface SPI bus circuit and electronic equipment | |
CN200941625Y (en) | FRU regulation and test apparatus based on ATCA rack | |
CN112800001A (en) | High-performance Internet of things hardware platform and method based on ARM platform architecture | |
CN110209617A (en) | A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method | |
CN208224792U (en) | A kind of bus embedded type industrial control system | |
CN209496370U (en) | Button control system |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171121 |
|
WW01 | Invention patent application withdrawn after publication |