Summary of the invention
The embodiment of the present invention provides a kind of computer system interconnection means and method for transmitting signals, can be improved computer
The broadband resource utilization rate of each component point-to-point communication in system, improving communication configuration flexibility reduces communication delay.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, provide a kind of computer system interconnection means, in computer system at least two components it is mutual
Even, the interconnection means include: electrical-optical conversion interface unit, filter, light crosspoint and photoelectric conversion interface unit,
At least two component includes: first assembly and the second component, the first assembly and the electrical-optical conversion interface unit phase
Even, the electrooptic switching element is connected by the filter with the smooth crosspoint, and the smooth crosspoint passes through described
Photoelectric conversion interface unit is connected with second component;
The electrical-optical conversion interface unit, the electric signal sent for receiving the first assembly, the electric signal is turned
It is changed to optical signal, and is exported to the filter;
The filter, for the optical signal received by wavelength carry out separating treatment, obtain single-wavelength light signal and
Multiple wavelength optical signal, and the single-wavelength light signal and the multiple wavelength optical signal are sent to the smooth crosspoint respectively;
The smooth crosspoint, for carrying out Circuit switching to the single-wavelength light signal that receives, and by light
The single-wavelength light signal that road exchanges is exported to the photoelectric conversion interface unit;And the multiple wavelength optical signal is carried out
Optical packet switching, and the multiple wavelength optical signal that optical packet switching is obtained is exported to the photoelectric conversion interface unit;
The photoelectric conversion interface unit, single-wavelength light signal for respectively obtaining the Circuit switching and described
The multiple wavelength optical signal that optical packet switching obtains is converted to electric signal, and is sent to second component of connection.
With reference to first aspect, in the first possible implementation, the smooth crosspoint includes: Circuit switching
OCS module, optical packet switching OPS module and control module;
The filter is specifically used for the optical signal that the send according to the control module first control information will receive
Separating treatment is carried out by wavelength, and the single-wavelength light signal that separating treatment obtains is sent to the OCS module, by separating treatment
Obtained multiple wavelength optical signal is sent to the OPS module, and the first control information is distributed in the filter for controlling
It transmits the channel of the single-wavelength light signal and transmits the channel of the multiple wavelength optical signal;
The second control information that the OCS module is used to send according to the control module leads to the single-wavelength light signal
It crosses Circuit switching to export to the photoelectric conversion interface unit, the second control information includes the single-wavelength light signal
Transmission route;
The third control information that the OPS module is used to send according to the control module leads to the multiple wavelength optical signal
It crosses optical packet switching to export to the photoelectric conversion interface unit, the third control information includes the multiple wavelength optical signal
Transmission route.
In conjunction with the first possible implementation, in the second possible implementation, further includes:
At least one detecting unit, the detecting unit are connected on the first assembly and the electrical-optical conversion interface unit
Between, the data packet length of the electric signal for detecting the first assembly output;
When the data packet length of the electric signal is greater than or equal to preset length threshold, the detecting unit is described
The first label of setting in the packet header of electric signal;The electrical-optical conversion interface unit is used to mark according to described first by institute
It states electric signal and is converted to single-wavelength light signal;
When the data packet length of the electric signal is less than preset length threshold, the detecting unit is in the electric signal
Packet header in setting second label;The electrical-optical conversion interface unit is used to mark according to described second by the telecommunications
Number be converted to multiple wavelength optical signal.
In conjunction with second of possible implementation, in the third possible implementation, the detecting unit also with to
The control module sends the data packet number for being provided with the electric signal of first label and is provided with second label
Electric signal data packet number, so as to the control module according to be provided with it is described first label electric signal number-of-packet
The data packet number for measuring and being provided with the electric signal of second label generates the first control information.
In conjunction with the first possible implementation, in the fourth possible implementation, further includes:
At least one marking unit, the marking unit are connected on the first assembly and the electrical-optical conversion interface unit
Between;
The control module is used to detect the number of active lanes of the OCS module and OPS module, when the OCS module can
It is more than or equal to the second preset quantity less than the available channel number of the first preset quantity and/or the OPS module with number of active lanes
When, Xiang Suoshu marking unit sends the first mark instructions;The marking unit is used for according to first mark instructions described
The second label of setting in the packet header of electric signal;The electrical-optical conversion interface unit is used to mark according to described second by institute
It states electric signal and is converted to multiple wavelength optical signal;
When the available channel number of the OPS module is less than the second preset quantity and/or the available channel of the OCS module
When number is more than or equal to the first preset quantity, Xiang Suoshu marking unit sends the second mark instructions;The marking unit is used for root
First label is set in the packet header of the electric signal according to second mark instructions;The electrical-optical conversion interface unit
For the electric signal to be converted to single-wavelength light signal according to first label.
In conjunction with the 4th kind of possible implementation, in a fifth possible implementation, the marking unit also with to
The control module sends the data packet number for being provided with the electric signal of first label and is provided with second label
Electric signal data packet number, so as to the control module according to be provided with it is described first label electric signal number-of-packet
The data packet number for measuring and being provided with the electric signal of second label generates the first control information.
In conjunction with the first possible implementation, in a sixth possible implementation, the OCS module includes:
First optical switching matrix, at least one first multiplexer and at least one first demultiplexer;
Wherein, the public input terminal of first demultiplexer connects an output end of the filter, and described first
Branch's output end of demultiplexer connects the input terminal of first optical switching matrix;
Each branch input of first multiplexer connects an output end of first optical switching matrix;
First optical switching matrix is used to according to the transmission route of the single-wavelength light signal be first light exchange
The received optical signal of the input terminal of matrix constructs transmission channel, by the received Single wavelength of input terminal of first optical switching matrix
Optical signal is exported by the Circuit switching of the first optical switching matrix to the scheduled output end of the first optical switching matrix, described
The public output of first multiplexer will be exported by the single-wavelength light signal of Circuit switching to the photoelectric conversion interface list
Member.
In conjunction with the first possible implementation, in the 7th kind of possible implementation, the OPS module includes:
Input submodule, output sub-module and the second optical switching matrix;
The input submodule includes at least one input terminal and at least one output end, the input of the input submodule
End connects the output end of the filter, and the output end of the input submodule connects the input of second optical switching matrix
End, the input submodule further include a control terminal, and the control terminal of the input submodule connects the control module;
The output sub-module includes at least one input terminal and at least one output end, the input of the output sub-module
End connects the output end of second optical switching matrix, and the output sub-module further includes a control terminal, the output submodule
The control terminal of block connects the control module;
It is exported after the multiple wavelength optical signal demultiplexing that the input submodule is used to receive input terminal by output end
To second optical switching matrix, the input submodule is also used to extract packets headers in the multiple wavelength optical signal after demultiplexing
Information, and the packets headers information is converted into electric signal and is sent to the control module;
The control module, which is used to generate the third according to the packets headers information, controls information, and generates point of update
Group head information, the packets headers information include the transmission route of multiple wavelength optical signal;
Second optical switching matrix, which is used to control information according to the third, believes the multi-wavelength light after the demultiplexing
Number carry out optical packet switching;
The output sub-module receives the packets headers information of the update in control terminal, by the packets headers information of the update
The multiple wavelength optical signal that optical signal is inserted into after the optical packet switching that the input terminal of the output sub-module receives is converted to,
The output sub-module be used for insertion update packets headers information multiple wavelength optical signal carry out be multiplexed and by output end it is defeated
Out to the photoelectric conversion interface unit.
In conjunction with the first possible implementation, in the 8th kind of possible implementation, the electrical-optical conversion interface list
Member, comprising: light source and at least one modulator;
The modulator is used to that a kind of wave that the light source generates will to be modulated to from the received electric signal of the first assembly
On long optical signal.
In conjunction with the 8th kind of possible implementation, in the 9th kind of possible implementation, the light source is multi-wavelength hair
Raw device, for generating the optical signal of different wave length;
The electrical-optical conversion interface unit further includes third multiplexer, and the modulator is arranged in the third multiplexer
Output end, the optical signal multiplexing for exporting the modulator.
With reference to first aspect or the possible implementation of any one in first aspect, in the tenth kind of possible implementation
In, it further include bundling device, the bundling device is set to the smooth crosspoint and photoelectric conversion interface unit, is used for the light
The multiple wavelength optical signal combining that the single-wavelength light signal and the optical packet switching that circuit switched obtains obtain is processed and transmitted to
The photoelectric conversion interface unit.
Second aspect provides a kind of method for transmitting signals, comprising:
Computer system interconnection means receive the electric signal that first assembly is sent, and the electric signal is converted to optical signal;
Separating treatment is carried out by wavelength to the optical signal, obtains single-wavelength light signal and multiple wavelength optical signal;
Circuit switching is carried out to the single-wavelength light signal;
Optical packet switching is carried out to the multiple wavelength optical signal;
By the single-wavelength light signal that the Circuit switching obtains and the multiple wavelength optical signal that the optical packet switching obtains
It is respectively converted into electric signal, and is sent to the second component.
It is in the first possible implementation, described that the optical signal is separated by wavelength in conjunction with second aspect
Processing, obtain single-wavelength light signal and multiple wavelength optical signal, comprising: according to first control information by the optical signal by wavelength into
Row separating treatment obtains single-wavelength light signal and multiple wavelength optical signal;
It is described that Circuit switching is carried out to the single-wavelength light signal, comprising: to control information for the unicast according to second
Long optical signal carries out Circuit switching, and the second control information includes the transmission route of the single-wavelength light signal;
It is described that optical packet switching is carried out to the multiple wavelength optical signal, comprising: to control information for more waves according to third
Long optical signal carries out optical packet switching, and the third control information includes the transmission route of the multiple wavelength optical signal.
It is in the second possible implementation, described by the output signal in conjunction with the first possible implementation
Before being converted to optical signal, further includes:
Detection signal detects the data packet length of the electric signal of the first assembly output;
When the data packet length of the electric signal is greater than or equal to preset length threshold, in the data of the electric signal
Wrap the first label of setting in packet header;
When the data packet length of the electric signal is less than preset length threshold, in the packet header of the electric signal
Middle the second label of setting;
It is described that the electric signal is converted into optical signal, it specifically includes:
The electric signal for being provided with first label is converted into single-wavelength light signal according to first label, according to institute
It states the second label and the electric signal for being provided with second label is converted into multiple wavelength optical signal.
It is in the third possible implementation, described to turn the electric signal in conjunction with the first possible implementation
Before being changed to optical signal, further includes:
Detect the available channel number of the single-wavelength light signal and multiple wavelength optical signal;
When the single-wavelength light signal available channel number less than the first preset quantity and/or multiple wavelength optical signal can
When being more than or equal to the second preset quantity with number of active lanes, the second label is set in the packet header of the electric signal;
When the multiple wavelength optical signal available channel number less than the second preset quantity and/or single-wavelength light signal can
When being more than or equal to the first preset quantity with channel resource, first label is set in the packet header of the electric signal;
It is described that the electric signal is converted into optical signal, it specifically includes:
The electric signal for being provided with first label is converted into single-wavelength light signal according to first label, according to institute
It states the second label and the electric signal for being provided with second label is converted into multiple wavelength optical signal.
In conjunction with second or the third possible implementation, in the fourth possible implementation, the method is also
Include:
It obtains the data packet number for being provided with the electric signal of first label and is provided with the electricity of second label
The data packet number of signal;
According to the data packet number for the electric signal for being provided with first label and it is provided with the described second electricity marked
The data packet number of signal generates the first control information.
In conjunction with the first possible implementation, in a fifth possible implementation, described control according to third is believed
The multiple wavelength optical signal is carried out optical packet switching by breath, comprising:
The multiple wavelength optical signal is demultiplexed;
Packets headers information is extracted in multiple wavelength optical signal after demultiplexing;
The third is generated according to the packets headers information and controls information, and generates the packets headers information of update, described point
Group head information includes the transmission route of multi-wavelength light packet data package;
Information is controlled according to the third, and optical packet switching is carried out to the multiple wavelength optical signal after the demultiplexing;
In multiple wavelength optical signal after the packets headers information of the update to be inserted into the optical packet switching and it is multiplexed output.
With reference to first aspect or any one possible possible implementation of implementation kind of first aspect, the 6th
In kind possible implementation, single-wavelength light signal that the Circuit switching obtains and the optical packet switching are obtained more
Wavelength channels are respectively converted into electric signal;Include:
By the single-wavelength light signal that the Circuit switching obtains and the multiple wavelength optical signal that the optical packet switching obtains
Combining handles and is respectively converted into electric signal.
The computer system interconnection means and method for transmitting signals that the embodiment of the present invention provides, by the way that first assembly is defeated
Electric signal out is converted to optical signal, then carries out Circuit switching to the single-wavelength light signal isolated in optical signal,
And the second component, Neng Gouti are sent to electric signal is respectively converted into after the multiple wavelength optical signal progress optical packet switching isolated
The broadband resource utilization rate of each point-to-point communication of component in high computer system, when improving communication configuration flexibility reduces communication
Prolong.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Shown in referring to Fig.1, a kind of hardware structural diagram of the computer system provided in implementation of the invention is fallen into a trap
The various components of calculation machine system are connected with each other and are carried out data transmission by the interconnection means of setting between components, wherein
The various components of computer system generally include: CPU (central processing unit 1 ... k), memory (memory 1 ... k), low speed storage are set
Standby (attached drawing 1 is schematically to be not drawn into low speed storage device, and wherein low speed storage device can be hard disk), I/O (input and output
K) etc., component here is not limitation of the present invention to interface 1 ... certainly, if in computer system including device for multi-core,
Such as: multi-core CPU, multi-core internal memory chip etc., component here may refer to multi-core CPU, a core in multi-core internal memory chip,
It is connected with each other between these components by interconnection means as shown in Figure 1 to realize that the data between each component are transmitted, it is certainly each
The data transmitted between component can may be control data for resource data, certainly above to be merely illustrative, and actually answer
Quantity with middle CPU, memory and I/O is usually different.
A kind of computer system interconnection means are shown in FIG. 2, in computer system at least two components it is mutual
Even, which includes: electrical-optical conversion interface unit 11, filter 12, light crosspoint 13 and photoelectricity
Translation interface unit 14, at least two component include: first assembly and the second component, first assembly and the electro-optic conversion
Interface unit 11 is connected, and the electrooptic switching element 11 is connected by the filter 12 with the smooth crosspoint 13, described
Light crosspoint 13 is connected by the photoelectric conversion interface unit 14 with second component.
The electrical-optical conversion interface unit 11, the electric signal sent for receiving the first assembly, by the electric signal
Optical signal is converted to, and is exported to the filter 12;
Wherein, first assembly can be any component shown in Fig. 2, as any in central processing unit, memory and I O
It is a kind of.
The filter 12 obtains single-wavelength light signal for carrying out separating treatment by wavelength to the optical signal received
And multiple wavelength optical signal, and the single-wavelength light signal and the multiple wavelength optical signal are sent to the smooth crosspoint respectively
13;
Here the optical filter that filter can be fixed for channel wavelength, it is controllable to be also possible to channel wavelength controlled quantity
Optical filter, the quantity of filter and photoelectric conversion interface unit are one-to-one in diagram, it is to be appreciated that this
Kind corresponding relationship is only a kind of achievable mode functionally, when the optical channel quantity in filter is enough, in diagram
Used n filter can use a filter.
Light crosspoint 13, for carrying out Circuit switching to the single-wavelength light signal that receives, and by optical link
Obtained single-wavelength light signal is exchanged to export to the photoelectric conversion interface unit 14;And the multiple wavelength optical signal is carried out
Optical packet switching, and the multiple wavelength optical signal that optical packet switching is obtained is exported to the photoelectric conversion interface unit 14;
The photoelectric conversion interface unit 14, single-wavelength light signal and institute for respectively obtaining the Circuit switching
It states the multiple wavelength optical signal that optical packet switching obtains and is converted to electric signal, and be sent to second component of connection.
Here the second component can be any component shown in Fig. 2, as any in central processing unit, memory and I O
One kind can be achieved on the data between any pair of component that is, by any one of first assembly and the second component combination
Mutually pass.
It wherein, is with the input terminal for moving towards each unit in definition device or module of signal stream and defeated in above-described embodiment
The port that outlet, i.e. signal flow into is input terminal, and the port of signal outflow is output end, compares attached drawing, the finger of arrow in attached drawing
To i.e. to induction signal trend, the simple signal in both ends, that is, each port of arrow.It is no longer superfluous that following embodiment is all made of this rule
It states, furthermore it should be noted that first assembly is used as signal sending assembly in various embodiments of the present invention, the second component is used
Make signal receiving assembly, therefore what is illustrated for following each embodiment more clearly mentions in the explanation of section Example
The second component is referred both to when referring both to first assembly when signal sending assembly, mentioning signal receiving assembly.
Computer system interconnection means provided by the embodiment of the present invention are converted by the electric signal for exporting first assembly
For optical signal, Circuit switching then is carried out to the single-wavelength light signal isolated in optical signal, and more to what is isolated
Electric signal is respectively converted into after wavelength channels progress optical packet switching and is sent to the second component, can be improved in computer system
The broadband resource utilization rate of each point-to-point communication of component, improving communication configuration flexibility reduces communication delay.
Further, referring to shown in Fig. 3, the smooth crosspoint 13 includes: OCS (Optical Circuit
Switching, Circuit switching) module 131, OPS (Optical Packet Switch, optical packet switching) module 132, control
Molding block 133;
The filter 12 is specifically used for the light that the send according to the control module 133 first control information will receive
Signal carries out separating treatment by wavelength, and the single-wavelength light signal that separating treatment obtains is sent to the OCS module 131, will
The multiple wavelength optical signal that separating treatment obtains is sent to the OPS module 132, and the first control information is for controlling distribution institute
It states the channel for transmitting the single-wavelength light signal in filter 12 and transmits the channel of the multiple wavelength optical signal;
What the OCS module 131 was used to send according to the control module 133 second controls information for the single-wavelength light
Signal is exported by Circuit switching to the photoelectric conversion interface unit 14, and the second control information includes the Single wavelength
The transmission route of optical signal;
The third that the OPS module 132 is used to send according to the control module 133 controls information for the multi-wavelength light
Signal is exported by optical packet switching to the photoelectric conversion interface unit 14, and the third control information includes the multi-wavelength
The transmission route of optical signal.
Wherein, the output end output optical signal of light crosspoint 13 can directly be connect by each output end with photoelectric conversion
The optical channel being directly connected to established between mouth unit 14 is transmitted, and generally for optical channel spending is saved, is exchanged in light single
Bundling device 15 is concatenated between member 13 and photoelectric conversion interface unit 14, bundling device 15 is used for the list for obtaining the Circuit switching
The multiple wavelength optical signal combining that wavelength channels and the optical packet switching obtain is processed and transmitted to the photoelectric conversion interface
Unit 14, the optical signal for needing to input the same component by light crosspoint 13 in this way after exchanging can be closed by bundling device 15
Shu Hou is transmitted to the photoelectric conversion interface unit of bundling device connection, such light crosspoint and photoelectricity in the same optical channel
Optical channel expense between translation interface unit can substantially reduce.
Further, referring to shown in Fig. 4, computer system interconnection means, further includes:
At least one detecting unit 16, the detecting unit 16 are connected on the first assembly and the electrical-optical conversion interface
Between unit 11, the data packet length of the electric signal for detecting the first assembly output;
When the data packet length of the electric signal is greater than or equal to preset length threshold, the detecting unit 16 is in institute
State the first label of setting in the packet header of electric signal;The electrical-optical conversion interface unit 11 is used for according to first label
The electric signal is converted into single-wavelength light signal;
When the data packet length of the electric signal is less than preset length threshold, the detecting unit 16 is in the telecommunications
Number packet header in setting second label;The electrical-optical conversion interface unit 11 is used for will be described according to second label
Electric signal is converted to multiple wavelength optical signal.
In the corresponding embodiment of Fig. 4, due to being provided with detecting unit, the telecommunications that detecting unit can be sent according to component
Number data packet length specify electrical-optical conversion interface unit by data packet length be greater than or equal to preset length threshold telecommunications
Number by OCS module carry out optical path alignment, by data packet length be less than preset length threshold electric signal by OPS module into
Row optical path alignment, to give full play to the advantage of two kinds of exchanged forms.
Further, optional detecting unit 16 is also provided with first label with to the control module 133 transmission
The data packet number of electric signal and the data packet number for being provided with the electric signal that described second marks, so as to the control module
133 bases are provided with the data packet number of the electric signal of first label and are provided with the electric signal of second label
Data packet number generates the first control information.
The data packet number that may be implemented to carry out the electric signal of optical path alignment as needed in the above manner is to filter
Number of channels and channel wavelength type controlled, scheme improve data transfer efficiency and channel resource can be advanced optimized
Utilization rate.
Optionally, another feasible embodiment is computer system interconnection means referring to Figure 5, further includes:
At least one marking unit 17, the marking unit 17 are connected on the first assembly and the electrical-optical conversion interface
Between unit 11;
The control module 133 is used to detect the number of active lanes of the OCS module 131 and OPS module 132, as the OCS
The available channel number of module 131 less than the available channel number of the first preset quantity and/or the OPS module 132 be greater than etc.
When the second preset quantity, Xiang Suoshu marking unit 17 sends the first mark instructions;The marking unit 17 is used for according to
The second label is arranged in first mark instructions in the packet header of the electric signal;The electrical-optical conversion interface unit 11 is used for
The electric signal is converted into multiple wavelength optical signal according to second label;
When the OPS module 132 available channel number less than the second preset quantity and/or the OCS module 131 can
When being more than or equal to the first preset quantity with number of active lanes, Xiang Suoshu marking unit 17 sends the second mark instructions;The label is single
Member 17 in the packet header of the electric signal for the first label to be arranged according to second mark instructions;The electric light turns
Alias unit 11 is used to that the electric signal to be converted to single-wavelength light signal according to first label.
In the corresponding embodiment of Fig. 5, due to being provided with marking unit, marking unit can be according to control unit 133 to working as
The number real time monitoring of the available channel of preceding OCS module 131 and OPS module 132 controls the type to the electro-optic conversion of electric signal,
Can the number individually to 132 channel of OCS module 131 and OPS module detect, when the available channel number of OCS module 131
Mesh can establish the data that channel is sent to the second component to first assembly by OPS module 132 and carry out light exchange when less, or
Person can establish channel by OCS module 131 when the available channel number of OPS module 132 is less and be sent to first assembly
The data of second component carry out light exchange, or detect simultaneously to the number in 132 channel of OCS module 131 and OPS module,
The side for selecting idle channel more in OCS module 131 and OPS module 132 establishes channel and is sent to second to first assembly
The data of component carry out light exchange, to give full play to the advantage of two kinds of optical path alignment modes.Here in conjunction with above-mentioned implementation
Example a kind of further preferred embodiment is provided, i.e., when the available channel number of OCS module 131 there is a serious shortage of and OPS module
When 132 available channel number is relatively sufficient, data packet length can be greater than or equal to the electric signal of preset length threshold
Packet segmentation is less than the second label of setting after the electrical signal data packet of preset length threshold at data packet length, passes through conversion
Optical packet switching is carried out for multiple wavelength optical signal;Or when OPS module 132 available channel number there is a serious shortage of and OCS module
When 131 available channel number is relatively sufficient, data packet length can be less than to the electrical signal data packet of preset length threshold
Data packet length is merged into greater than the first label of setting after the electric signal of preset length threshold, by being converted to single-wavelength light letter
Number carry out Circuit switching.
Further alternative detecting unit 17 is also with the electricity for being provided with first label to the control module 133 transmission
The data packet number of signal and the data packet number for being provided with the electric signal that described second marks, so as to the control module
133 bases are provided with the data packet number of the electric signal of first label and are provided with the electric signal of second label
Data packet number generates the first control information.
The data packet number that may be implemented to carry out the electric signal of optical path alignment as needed in the above manner is to filter
Number of channels and channel wavelength type controlled, scheme improve data transfer efficiency and channel resource can be advanced optimized
Utilization rate.
Further, since OCS module is the Circuit switching to single-wavelength light signal, according to the prior art, OCS module is pair
The transparent transmission for receiving wavelength leads to up to use is finished in progress light after the optical channel that data transmission devices establish fixed wave length
The dismounting in road, optical channel can generate the according to the transmission route of single-wavelength light signal by control module 133 according to the prior art
Two control information control OCS modules are established.
Further, referring to shown in Fig. 6, the OCS module 131 includes:
First optical switching matrix 1311, at least one the first multiplexer 1312 (1 ... m) and at least one first demultiplexer
1313(1…m);
Wherein, the public input terminal of first demultiplexer 1313 connects an output end of the filter 12, institute
The branch's output end for stating the first demultiplexer 1313 connects the input terminal of first optical switching matrix 1311;
Each branch input of first multiplexer 1312 connect first optical switching matrix 1311 one is defeated
Outlet;
First optical switching matrix 1311 is used to be first light according to the transmission route of the single-wavelength light signal
The received optical signal of the input terminal of switching matrix 1311 constructs transmission channel, by the input terminal of first optical switching matrix 1311
Received single-wavelength light signal is exported by the Circuit switching of the first optical switching matrix 1311 to first optical switching matrix
1311 scheduled output ends, the public output of first multiplexer 1312 will pass through the single-wavelength light signal of Circuit switching
It exports to the photoelectric conversion interface unit 14.
Wherein, when the computer system interconnection means include bundling device, the first multiplexer 1312 is arranged in bundling device
Between public output and photoelectric conversion interface unit 14.
Optionally, the first optical switching matrix 1311 can use the photoswitch of M × N in above-described embodiment, i.e., defeated comprising M
Enter the photoswitch of end and N number of output end, wherein M and N can be equal or unequal, any one input terminal from M input terminal
The optical signal of input can any one output end exports in N number of output end under control of the control signal, to realize root
According to carry data transmission route by control signal change optical path function, it is additionally appreciated that the M of the first optical switching matrix
Each port in a input terminal is the address for respectively corresponding signal component output, and each port in N number of output end is point
The other address to induction signal input module, therefore control module can be handed over according to the transmission address of signal by the first light of control
It changes and establishes corresponding connection between M input terminal of matrix and N number of output end to realize according to single-wavelength light packet data package
Establish the purpose of corresponding channel.
Optionally, referring to Fig. 7, OPS module 132 includes:
Input submodule 1321, output sub-module 1322 and the second optical switching matrix 1323;
The input submodule 1321 includes at least one input terminal and at least one output end, the input submodule
1321 input terminal connects the output end of the filter 12, and the output end of the input submodule 1321 connects second light
The input terminal of switching matrix 1323, the input submodule 1321 further include a control terminal, the input submodule 1321
Control terminal connects the control module 131;
The output sub-module 1322 includes at least one input terminal and at least one output end, the output sub-module
1322 input terminal connects the output end of second optical switching matrix 1323, and the output sub-module 1322 further includes a control
The control terminal at end processed, the output sub-module 1322 connects the control module 133;
Pass through output end after the multiple wavelength optical signal demultiplexing that the input submodule 1321 is used to receive input terminal
To second optical switching matrix 1323, the input submodule 1321 is also used to the multiple wavelength optical signal after demultiplexing for output
Middle extraction packets headers information, and the packets headers information is converted into electric signal and is sent to the control module 133;
The control module 133, which is used to generate the third according to the packets headers information, controls information, and generates update
Packets headers information, the packets headers information include multiple wavelength optical signal transmission route;
Second optical switching matrix 1323 is used to control information to the multi-wavelength after the demultiplexing according to the third
Optical signal carries out optical packet switching;
The output sub-module 1322 receives the packets headers information of the update in control terminal, by the packets headers of the update
Information is converted to more waves that optical signal is inserted into after the optical packet switching that the input terminal of the output sub-module 1322 receives
The multiple wavelength optical signal of long optical signal, the packets headers information that the output sub-module 1322 is used to update insertion is multiplexed simultaneously
It is exported by output end to the photoelectric conversion interface unit 14.
Wherein, when the computer system interconnection means include bundling device, output sub-module 1322 is arranged in bundling device
Between output end and photoelectric conversion interface unit 14.
Optionally, the second optical switching matrix 1323 can use M × N photoswitch in above-described embodiment.Here the second light is handed over
Change matrix working principle it is identical with the first optical switching matrix which is not described herein again, control module can according to the transmission of signal
Corresponding connection is established to realize according to more in location between the M input terminal and N number of output end by the second optical switching matrix of control
The purpose of corresponding channel is established in the transmission address of wavelength light packet data package.
Optionally, referring to Fig. 7, the OPS module 132 further includes buffer 1324;
The input terminal of the buffer 1324 connects an output end of second optical switching matrix 1323, the caching
The output end of device 1324 connects an input terminal of second optical switching matrix 1323, what the buffer was used to receive
It is exported again after optical signal delay process to second optical switching matrix 1323.
When multiple multi-wavelength packet data packages need to exchange to the same interface unit to be transmitted to identical component, and
And when in different multi-wavelength packet data packages comprising using identical wavelength grouping data, by buffer to part phase therein
Co-wavelength packet data package is cached, and is occurred to avoid conflict.Further, buffer is delay line 1324, referring to Fig. 8 institute
Show, more than one delay line (illustrate only in figure three delay lines for) can be at least set on the second optical switching matrix,
By control switching path, length of the packet data by delay line is set, i.e., it actually can to the setting of multiple packet data packages
By queue, conflict is avoided.
Wherein, the effect of delay line is: optical signal enters delay line 1324-1 by the output port of M × N photoswitch, then
It is transferred to the input port of M × N photoswitch from delay line 1324-1, is then again gone into from the output port of M × N photoswitch
Delay line 1324-1, is postponed so on circulate, can also enter other delay line (1224- by M × N photoswitch
2 ... ..., 1224-Z) circulation delay is carried out, it realizes and the caching of optical signal is acted on.It can number according to dimension, collision probability
Deng the quantity because usually determining delay line.The length of more delay lines can be designed according to certain rules, be opened by light
The selection of pass can achieve different delay times.Such as three delay lines (1324-1,1324-2,1324-3), length difference
It is L1, L2, L3, delay time may is that T=(a × L1+b × L2+c × L3)/v+N*t, wherein a, and b, c indicate that light passes through
The number of delay line (1324-1,1324-2,1324-3), v indicate speed of the light inside delay line, and N indicates entry into M × N light
The number of switch 12, t indicate the switching time of M × N photoswitch.Above example can increase the flexible of processing Wavelength conflict
Property.
Optionally, referring to Fig. 9, the OPS module further includes wavelength shifter 1325, the input terminal of the wavelength shifter
Connect an output end of second optical switching matrix;The output end of the wavelength shifter connects second light and exchanges square
One input terminal of battle array;The wavelength shifter is used to after the optical signal received is carried out wavelength convert exported again to described
Second optical switching matrix.
When multiple optical signals need to exchange to the same interface unit to be transmitted to identical component, and different light
When in signal comprising the optical signal using phase co-wavelength, believed by light of the wavelength shifter 1325 to phase co-wavelength in part therein
Number carry out wavelength convert, the optical signal of phase co-wavelength is changed into the optical signal of different wave length, to avoid conflict occur.By above
Wavelength shifter 1325 shown in Fig. 9 may be implemented to carry out optical signal light-light conversion, and then realize the conversion to wavelength;Light
The realization mechanism of wavelength shifter 1325 has very much: for example with nonlinear effect, Self-phase modulation, Cross-phase Modulation, four waves
The effects such as mixing realize that more commonly used constituted with SOA (semiconductor optical amplifier).
The setting of delay line and wavelength shifter can exist simultaneously in OPS module in obvious above-described embodiment,
Implementation does not provide attached drawing referring to the description of above-described embodiment.
Further alternative, as shown in Figure 10, the embodiment provides a kind of the defeated of OPS module in the prior art
Enter submodule 1321, comprising:
First photoelectric converter 1321a, at least one the second demultiplexer 1321b and at least one beam splitter 1321c;
The public input terminal of the second demultiplexer 1321b is used as the input terminal of the input submodule;
The input terminal of the beam splitter 1321c connects branch's output end of the second demultiplexer 1321b, the beam splitting
The first output end of device 1321c is used as the output end of the input submodule 1321, the second output terminal of the beam splitter 1321c
The input terminal of the first photoelectric converter 1321a is connected, the output end of first photoelectric converter is used as input
The control terminal of module;
Wherein, the second demultiplexer 1321b is for demultiplexing the received multiple wavelength optical signal of public input terminal
With;
Multiple wavelength optical signal of the first photoelectric converter 1321a by the beam splitter 1321c after demultiplexing all the way
Middle isolated optical signal is converted to electric signal.
Optionally referring to Fig.1 shown in 0, the embodiment provides a kind of output of OPS module in the prior art
Module 1323, comprising:
First electric light converter 1323a, at least one the second multiplexer 1323b and at least one coupler 1323c;
The first input end of the coupler 1323c is used as the input terminal of the output sub-module 1323;The coupler
The second input terminal of 1323c connects the output end of the first electric light converter 1323a, and the coupler 1323c's is public defeated
Outlet connects the branch input of the second multiplexer 1323b;The public output of the second multiplexer 1323b is used as described defeated
The output end of submodule 1323 out;The input terminal of the first electric light converter 1323a is used as the output sub-module 1323
Control terminal;
Wherein, the first electric light converter 1323a is used to receive the packets headers of the update of the transmission of control module 133
Information, and pass through the coupler 1323c insertion output after the packets headers information of the update is converted to optical signal
The received multiple wavelength optical signal of the input terminal of module 1323;
Second multiplexer 1323b is used to be inserted into the multiple wavelength optical signal progress wavelength after the packets headers information of the update
Multiplexing.
Wherein above-mentioned beam splitter 1321c use circulator, in splitter Figure 10 using circulator as example, coupler
Circulator can be used in 1322c, in combiner Figure 10 using circulator as example.
Optionally, referring to Fig.1 shown in 1, electrical-optical conversion interface unit 11 includes:
Light source 111 and at least one modulator 112, the modulator 112 is used for will be from the received electricity of the first assembly
On a kind of optical signal for wavelength that signal modulation is generated to the light source 111.
Referring to Fig.1 shown in 2, light source 111 is multi-wavelength generator, for generating the optical signal of at least two wavelength;
The electrical-optical conversion interface unit 11 further includes third multiplexer 113, and the third multiplexer 113 is arranged described
The output end of modulator 112, the optical signal multiplexing for exporting the modulator 112.
In conjunction with above-described embodiment, when needing the output signal by signal component output (first assembly) to be modulated to single-wavelength light
When signal, multi-wavelength generator only generates a kind of wavelength, and the electric signal of at this moment signal component output output passes through quilt after modulator
It is modulated on a kind of wavelength, forms single-wavelength light signal, the electric signal of at this moment signal component output output is usually big data quantity
Data packet;When needing the electric signal for exporting signal component output to be modulated to multiple wavelength optical signal, multi-wavelength generator is produced
Raw at least two wavelength, the corresponding load of each wavelength is on a modulator, at least one electricity of signal component output output
Signal is respectively by will finally be loaded at least the one of electric signal in an a kind of corresponding modulators modulate to corresponding wavelength
Kind wavelength multiplexing is that a branch of optical signal forms multiple wavelength optical signal, and the electric signal of signal component output output here is usually several
The data packet of small data quantity, it is slow that the electric signal of certain signal component output output also needs to carry out data before entering modulator
Punching and sequence, these are that conventional techniques in the art repeat no more.
Optionally in the above embodiments, filter includes: micro-loop or Bragg grating.
Therefore in the above embodiment since data exchange is the completion in area of light, exchange velocity is fast, with number
It is unrelated according to format, by taking CPU is to the access of memory or I/O as an example, phase can be configured according to the size and flexible form of data volume
The light crosspoint answered carries out data exchange, and supports access of the CPU to more memory or more I/O.
In addition, the computer system interconnection means can be used for the interconnection in device for multi-core between each core (core), ginseng
According to a kind of device for multi-core shown in Figure 13, is shown, which can be the component such as cpu chip of computer, pass through Figure 13
Shown in mode realize the external interconnection of each core on cpu chip, the high speed interconnection being advantageously implemented between core and resource it is flexible
Scheduling.
The embodiment of the present invention also provides a kind of method for transmitting signals, is applied in above-mentioned computer system interconnection means,
Referring in particular to shown in Figure 14, comprising the following steps:
101, computer system interconnection means receive the electric signal that first assembly is sent, and the electric signal is converted to light letter
Number.
102, separating treatment is carried out by wavelength to the optical signal, obtains single-wavelength light signal and multiple wavelength optical signal.
103, Circuit switching is carried out to the single-wavelength light signal.
104, optical packet switching is carried out to the multiple wavelength optical signal.
105, by the single-wavelength light signal that the Circuit switching obtains and the multi-wavelength light that the optical packet switching obtains
Signal is respectively converted into electric signal, and is sent to the second component.
When computer system interconnection means include bundling device, step 105 is specifically included: the Circuit switching is obtained
Single-wavelength light signal and the optical packet switching obtain multiple wavelength optical signal combining handle and be respectively converted into electric signal.
The method for transmitting signals that the embodiment of the present invention provides is converted to light letter by the electric signal for exporting first assembly
Number, Circuit switching then is carried out to the single-wavelength light signal isolated in optical signal, and to the multi-wavelength light isolated
Electric signal is respectively converted into after signal progress optical packet switching and is sent to the second component, can be improved each component in computer system
The broadband resource utilization rate of point-to-point communication, improving communication configuration flexibility reduces communication delay.
Specifically, the data packet length that the embodiment of the present invention provides a kind of electric signal of contrast signal output precision carries out
Method for transmitting signals, (wherein attached drawing be only illustrative be subject to the specific descriptions of specification) includes following referring to Fig.1 shown in 4
Process:
201, computer system interconnection means receive the electric signal that first assembly is sent.
202, the data packet length of the electric signal of the first assembly output is detected.
203a, when the data packet length of the electric signal be greater than or equal to preset length threshold when, in the electric signal
Packet header in setting first label.
203b, when the data packet length of the electric signal be less than preset length threshold when, in the data of the electric signal
Wrap the second label of setting in packet header.
204a, the electric signal for being provided with first label is converted to by single-wavelength light signal according to first label.
204b, the electric signal for being provided with second label is converted to by multiple wavelength optical signal according to second label.
205a, the optical signal is carried out by wavelength by separating treatment according to the first control information, obtains single-wavelength light signal.
205b, the optical signal is carried out by wavelength by separating treatment according to the first control information, obtains multiple wavelength optical signal.
Specifically, due to single-wavelength light signal and multiple wavelength optical signal be in the form of multiplexed signals in same optical path
Transmission, and comparable device embodiment is different to the optical path alignment of single-wavelength light signal and multiple wavelength optical signal on hardware
Implement in hardware module, therefore separated single-wavelength light signal and multiple wavelength optical signal by filter, the specific method is as follows:
Step a, it obtains the data packet number for being provided with the electric signal of first label and is provided with second mark
The data packet number of the electric signal of note.
Step b, according to the data packet number for the electric signal for being provided with first label and it is provided with second mark
The data packet number of the electric signal of note generates the first control information.
Step c, the optical signal is carried out by wavelength by separating treatment according to the first control information, obtains single-wavelength light signal
And multiple wavelength optical signal.
Wherein the first control information, which is mainly used for controlling, is respectively used to transmission single-wavelength light signal and multi-wavelength in filter
The optical channel quantity of optical signal and the wavelength of optical channel, wherein separating treatment here is specially the channel wavelength for controlling filter
And the number of channels of respective wavelength, the input optical signal of filter pass through adaptation wave according to the wavelength band logical principle of filter respectively
Long channel, to reach by wavelength separated.
206a, the single-wavelength light signal is subjected to Circuit switching, the second control letter according to the second control information
Breath includes the transmission route of the single-wavelength light signal.
206b, the multiple wavelength optical signal is subjected to optical packet switching, the third control letter according to third control information
Breath includes the transmission route of the multiple wavelength optical signal.
Step 206b is specifically included:
206b-1, the multiple wavelength optical signal is demultiplexed.
Packets headers information is extracted in 206b-2, the multiple wavelength optical signal after demultiplexing.
206b-3, the third control information is generated according to the packets headers information, and generates the packets headers information of update,
The packets headers information includes the transmission route of multi-wavelength light packet data package.
206b-4, information is controlled according to the third to the multiple wavelength optical signal progress light packet friendship after the demultiplexing
It changes.
206b-5, the packets headers information of the update is inserted into it is in the multiple wavelength optical signal after the optical packet switching and multiple
With output.
207a, the single-wavelength light signal that the Circuit switching obtains is converted into electric signal, and is sent to the second component.
207b, the multiple wavelength optical signal that the optical packet switching obtains is converted into electric signal, and is sent to the second component.
Optionally, step 207a further include: removal is converted to the first label in the single-wavelength light signal of electric signal;Step
207b further include: removal is converted to the second label in the multiple wavelength optical signal of electric signal.Due to the first label and the second label
The substantive content of signal is not transmitted in optical path, but as using used by optical path alignment mode provided by the present invention one
Kind optimization structure, the structure is only related with exchanged form of the present invention, therefore at (second group of signal receiving assembly
Part) receive the electric signal of transmission before subsidiary first can be marked or the second label removes.
It wherein, can be with by the electric signal after step 207a or 207b processing according to above-mentioned apparatus embodiment
Different components is inputted, is also possible to input identical component, path is determined by transmission route.
The method for transmitting signals that the embodiment of the present invention provides is converted to light letter by the electric signal for exporting first assembly
Number, Circuit switching then is carried out to the single-wavelength light signal isolated in optical signal, and to the multi-wavelength light isolated
Electric signal is respectively converted into after signal progress optical packet switching and is sent to the second component, can be improved each component in computer system
The broadband resource utilization rate of point-to-point communication, improving communication configuration flexibility reduces communication delay;Due to being sent according to component
Electric signal data packet length by data packet length be greater than or equal to preset length threshold electric signal light is carried out by OCS
The electric signal that data packet length is less than preset length threshold is carried out optical path alignment by OPS, to give full play to by road exchange
The advantages of two kinds of exchanged forms.
Specifically, the embodiment of the present invention provide it is a kind of referring to single-wavelength light signal in computer system interconnection means and more
The available channel numbers of wavelength channels carries out method for transmitting signals, referring to Fig.1 shown in 5 (wherein attached drawing be only illustrative with
Subject to the specific descriptions of specification) include following below scheme:
301, computer system interconnection means receive the electric signal that first assembly is sent.
302, the available channel number of the single-wavelength light signal and multiple wavelength optical signal is detected.
303a, believed less than the second preset quantity and/or single-wavelength light when the available channel number of the multiple wavelength optical signal
Number available channel number be more than or equal to the first preset quantity when, described first is arranged in the packet header of the electric signal
Label.
303b, when the available channel number of the single-wavelength light signal is less than the first preset quantity or multiple wavelength optical signal
Available channel number be more than or equal to the second preset quantity when, in the packet header of the electric signal be arranged second label.
304a, the electric signal for being provided with first label is converted to by single-wavelength light signal according to first label.
304b, the electric signal for being provided with second label is converted to by multiple wavelength optical signal according to second label.
305a, the optical signal is carried out by wavelength by separating treatment according to the first control information, obtains single-wavelength light signal;
305b, the optical signal is carried out by wavelength by separating treatment according to the first control information, obtains multiple wavelength optical signal;
Specifically, due to single-wavelength light signal and multiple wavelength optical signal be in the form of multiplexed signals in same optical path
Transmission, and comparable device embodiment is different to the optical path alignment of single-wavelength light signal and multiple wavelength optical signal on hardware
Implement in hardware module, therefore separated single-wavelength light signal and multiple wavelength optical signal by filter, the specific method is as follows:
Step a, it obtains the data packet number for being provided with the electric signal of first label and is provided with second mark
The data packet number of the electric signal of note.
Step b, according to the data packet number for the electric signal for being provided with first label and it is provided with second mark
The data packet number of the electric signal of note generates the first control information.
Step c, the optical signal is carried out by wavelength by separating treatment according to the first control information, obtains single-wavelength light signal
And multiple wavelength optical signal.
Wherein the first control information, which is mainly used for controlling, is respectively used to transmission single-wavelength light signal and multi-wavelength in filter
The optical channel quantity of optical signal and the wavelength of optical channel, wherein separating treatment here is specially the channel wavelength for controlling filter
And the number of channels of respective wavelength, the input optical signal of filter pass through adaptation wave according to the wavelength band logical principle of filter respectively
Long channel, to reach by wavelength separated.
306a, the single-wavelength light signal is subjected to Circuit switching, the second control letter according to the second control information
Breath includes the transmission route of the single-wavelength light signal;
306b, the multiple wavelength optical signal is subjected to optical packet switching, the third control letter according to third control information
Breath includes the transmission route of the multiple wavelength optical signal.
Step 306b is specifically included:
306b-1, the multiple wavelength optical signal is demultiplexed.
Packets headers information is extracted in 306b-2, the multiple wavelength optical signal after demultiplexing.
306b-3, the third control information is generated according to the packets headers information, and generates the packets headers information of update,
The packets headers information includes the transmission route of multi-wavelength light packet data package.
306b-4, information is controlled according to the third to the multiple wavelength optical signal progress light packet friendship after the demultiplexing
It changes.
306b-5, the packets headers information of the update is inserted into it is in the multiple wavelength optical signal after the optical packet switching and multiple
With output.
307a, the single-wavelength light signal that the Circuit switching obtains is converted into electric signal, and is sent to the second component.
307b, the multiple wavelength optical signal that the optical packet switching obtains is converted into electric signal, and is sent to the second component.
Optionally, step 307a further include: removal is converted to the first label in the single-wavelength light signal of electric signal;Step
307b further include: removal is converted to the second label in the multiple wavelength optical signal of electric signal.Due to the first label and the second label
The substantive content of signal is not transmitted in optical path, but as using used by optical path alignment mode provided by the present invention one
Kind optimization structure, the structure is only related with exchanged form of the present invention, therefore at (second group of signal receiving assembly
Part) receive the electric signal of transmission before subsidiary first can be marked or the second label removes.
It wherein, can be with by the electric signal after step 307a or 307b processing according to above-mentioned apparatus embodiment
Different components is inputted, is also possible to input identical component, path is determined by transmission route.
The method for transmitting signals that the embodiment of the present invention provides is converted to light letter by the electric signal for exporting first assembly
Number, Circuit switching then is carried out to the single-wavelength light signal isolated in optical signal, and to the multi-wavelength light isolated
Electric signal is respectively converted into after signal progress optical packet switching and is sent to the second component, can be improved each component in computer system
The broadband resource utilization rate of point-to-point communication, improving communication configuration flexibility reduces communication delay;Furthermore to computer system
The available channel resource quantity of single-wavelength light signal and multiple wavelength optical signal is monitored in real time to control to electricity in interconnection means
The type of the electro-optic conversion of signal, to give full play to the advantage of two kinds of optical path alignment modes.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.