CN100357926C - A system and method for equipment management - Google Patents

A system and method for equipment management Download PDF

Info

Publication number
CN100357926C
CN100357926C CNB2005100934500A CN200510093450A CN100357926C CN 100357926 C CN100357926 C CN 100357926C CN B2005100934500 A CNB2005100934500 A CN B2005100934500A CN 200510093450 A CN200510093450 A CN 200510093450A CN 100357926 C CN100357926 C CN 100357926C
Authority
CN
China
Prior art keywords
slave unit
equipment
analog switch
main equipment
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2005100934500A
Other languages
Chinese (zh)
Other versions
CN1731383A (en
Inventor
沈明
戴科
洪建明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2005100934500A priority Critical patent/CN100357926C/en
Publication of CN1731383A publication Critical patent/CN1731383A/en
Application granted granted Critical
Publication of CN100357926C publication Critical patent/CN100357926C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a device management system and method which comprises an I2C primary device, a CPU, an I2C secondary device, a multiply-path chooser, single channel double-direction simulating switches and a decoder, wherein the multiply-path chooser receives clock signals of the I2C primary device, and chooses output interfaces to output the clock signals according to the controlling signals of the CPU; each output interface of the decoder is connected with the controlling end of a simulating switch with single channel and double directions; the decoder obtains the controlling signals of the CPU to control the opening or the closing of the simulating switch with double directions; a first input end and a first output end of the simulating switch with single channel and double directions are connected with a data wire of the I2C primary device; clock lines of the I2C secondary device are connected to the output interfaces of the multiply-path chooser; a data wire of the I2C secondary device is connected to a second input end and a second output end of the simulating switch with single channel and double directions, and the I2C secondary device which is connected to the same output interface of the multiply-path chooser is connected to different simulating switches with single channel and double directions. The present invention can manage a plurality of devices with the same address, and the driving power of the primary device is improved.

Description

A kind of equipment management system and method
Technical field
The present invention relates to computer communication field, especially the system of managing I 2C equipment in computer communication complex.
Background technology
In computer network communication equipment, the equipment with I2C bus interface is used more and more.Described I2C bus is made up of two lines, a serial time clock line (SCL) and a serial data line (SDA), the I2C bus system is controlled by master cpu, and all controlled plants all are articulated on this line, therefore the I2C bus interface has few, the easy to operate advantage of signal wire.
The I2C bus mode relies on different device addresses to come differentiation equipment, and each equipment that articulates on the I2C bus all has unique address; And in the serial data of CPU by the transmission of I2C bus, first is for transmitting start signal; Second portion is the address of controlled circuit; Third part is a read/write, and being used to indicate the working method of controlled IC is to receive or send; The data of the 4th part for transmitting.And then compare with the address of oneself in the address that is positioned at the start signal back that all controlled devices on the I2C bus all can send CPU, if both are identical, then this controlled device is thought own and chosen by CPU, and then receives or send data.Realize bidirectional data communication between the master cpu that the I2C bus connects and each controlled device, promptly master cpu can send data to controlled device, and controlled device also can return data to master cpu, but controlled device is to receive or the transmission data, is then controlled by master cpu.
Fig. 1 is the system of managing I 2C equipment commonly used in the prior art, as seen from the figure, be generally each controlled device an I2C interface is provided, and main equipment is connected with each slave unit with the way of serial, system's control or CPU operate respectively each interface, promptly visit each controlled device according to different I 2C address.The defective of this system is: the data line of I2C interface all is connected with series system with clock line, if controlled device surpasses the load capacity that master cpu allows, then the reliability of circuit will descend; Simultaneously, the address of each I2C equipment must be different on the bus, otherwise can produce address conflict.
In the reality, the address of some equipment is solidificated in chip internal, can't carry out the configuration of address again during use.For example the I2C device address of Small Form-Factor Pluggable optical module (SFP, Small Form-Factor Pluggable) is fixed as " 000 " by manufacturer, can't be by external setting-up.In this case, use FPGA (Field Programmable Gate Array) design MUX (DEMUX), I2C master cpu clock is distributed, be assigned to the controlled plant of formulating visit, to avoid access conflict, concrete system architecture as shown in Figure 2.The defective of this system is: though the identical equipment in addressing I2C address can be distinguished by this system, and clock has been carried out branch, and other drives, because data line has still been taked the form of series connection, the master cpu load capacity is very limited equally; Therefore, a kind ofly can manage the identical equipment in a plurality of I2C address simultaneously, the design proposal that has suitable driving force is simultaneously demanded urgently proposing.
Summary of the invention
The problem to be solved in the present invention provides a kind of system of managing I 2C equipment, and this system can manage the identical equipment in a plurality of I2C address simultaneously, has driving force preferably simultaneously again, realizes controlling many I2C equipment; Corresponding the present invention also provides a kind of device access method.
For solving the problems of the technologies described above, the objective of the invention is to be achieved through the following technical solutions.
A kind of system of managing I 2C equipment, comprise I2C main equipment, CPU, I2C slave unit, MUX, single channel bidirectional analog switch and code translator, wherein: described MUX receives the clock signal of I2C main equipment, selects output interface to carry out clock signal output according to the control signal of CPU; Each output interface of described code translator is connected with the control end of a single channel bidirectional analog switch, and code translator obtains the control signal of CPU, the opened/closed of control bidirectional analog switch; The first I/O end of described single channel bidirectional analog switch is connected with the data line of described I2C main equipment; The clock line of I2C slave unit is connected to the output interface of MUX, the data line of I2C slave unit is connected to the second I/O end of single channel bidirectional analog switch, and the I2C slave unit that is connected to the same output interface of MUX is connected to different single channel bidirectional analog switches.
On the said system basis, described MUX can be selected No. 8 outlet selectors for use; Described code translator can be selected 3-8 line code translator for use.
A kind of system of managing I 2C equipment, comprise I2C main equipment, CPU, I2C slave unit, MUX, multiselect one two-way analog switch, wherein: described MUX receives the clock signal of I2C main equipment, selects output interface to carry out clock signal output according to the control signal of CPU; The clock line of I2C slave unit is connected to the output interface that MUX is determined, the data line of I2C slave unit is connected to the output interface that multiselect one two-way analog switch is determined, and the data line that is connected to the I2C slave unit of the same output interface of MUX is connected to the different output interfaces of multiselect one two-way analog switch; The input interface of multiselect one two-way analog switch is connected with the data line of described I2C main equipment; And multiselect one two-way analog switch obtains the control signal of CPU, selects one and input interface realization transmission channel in a plurality of output interfaces.
On the said system basis, described multiselect one two-way analog switch can select for use 8 to select 1 bidirectional analog switch.
The present invention also provides a kind of access method of equipment, is used to realize the visit of main equipment to a plurality of slave units.With the slave unit logical partitioning is the capable N row of M, presets the slave unit address and is expert at/the row node location to identify this slave unit; It is capable that first gating unit is sent to definite slave unit with the access control signal of main equipment, and second gating unit sends to definite slave unit row with the clock signal of main equipment, realizes the visit of main equipment to slave unit on described definite row and the definite row node.
The method that described first gating unit sends main equipment access control signal can be obtained the opened/closed of the single channel bidirectional analog switch that control is connected with the code translator output channel after the control signal for: the code translator in first gating unit, if described single channel bidirectional analog switch is opened, then the access control signal of main equipment sends to the slave unit of determining row by this bidirectional analog switch.
Described first gating unit send main equipment access control signal method can also for: the multiselect one two-way analog switch in first gating unit obtains the access control signal of main equipment, and the output channel of selecting to determine according to the control signal that CPU (central processing unit) provides sends to described access control signal the slave unit of determining row.
The method that described second gating unit sends the main equipment clock signal is specially: the MUX in second gating unit is obtained the clock signal of main equipment, and selects definite output channel that the clock signal of described main equipment is sent to the slave unit of determining row according to control signal.
Above technical scheme in the present invention, has been introduced the thought of row/column address and matrix management as can be seen for the management of slave unit.On the one hand, make and exist between the slave unit in the same manner under the situation, can have access to each slave unit according to unique row/column address among the present invention even had cured the address at the slave unit chip internal.On the other hand, because among the present invention, provide MUX that clock is driven respectively, adopt the combination (or multiselect one two-way analog switch) of bidirectional analog switch and code translator that data are driven respectively simultaneously, make and satisfy under the prerequisite of certain traffic rate in host device interface, system provided by the invention can be connected to main equipment with more slave unit, realizes main equipment controlling those slave units; Therefore, the present invention has realized bigger expansion to the main equipment driving force, and the drivable slave unit number of main equipment rises to the product (more than at least 64) into driving force and each road driving force of demultiplexer of bidirectional analog switch.When the present invention used management with I2C equipment, above-mentioned beneficial effect was more obvious.
In sum, equipment management system of the present invention and method are a kind ofly can manage the identical equipment in a plurality of I2C address, hang load simultaneously and can surpass the technical scheme of 50 equipment, can be applied to the occasion that the full SFP light of high density mouth Ethernet switch design etc. need be managed a plurality of I2C equipment simultaneously; And circuit design is simple, and cost is lower.
Description of drawings
Fig. 1 is the system construction drawing of managing I 2C equipment commonly used in the prior art;
Fig. 2 is the system construction drawing of another kind of managing I 2C equipment in the prior art;
Fig. 3 is principle of the invention figure;
Figure 4 shows that the building-block of logic of demultiplexer;
Fig. 5 is a single channel bidirectional analog switch building-block of logic;
Fig. 6 is the building-block of logic of one embodiment of the invention;
Fig. 7 is one embodiment of the invention structural representation.
Embodiment
Thought of the present invention is: provide a kind of I2C of realization host device interface to connect the system of I2C slave unit, promptly between I2C host device interface and slave unit (as SFP), insert a drive system, make the addressable a plurality of I2C slave units of I2C host device interface, yet the present invention does not specifically limit the implementation of host device interface, and promptly how main equipment realizes the visit to slave unit.Chinese patent application number: 200410009102.6, a kind of implementation of host device interface is disclosed in the application documents of denomination of invention for " devices and methods therefor of a plurality of I2C slave units of operation in communication facilities ", and by the method for this host device interface realization to the visit of slave unit, those skilled in the art can be used in combination this technical scheme with the present invention, device in this technical scheme is placed on the front end of system of the present invention, carries out the expansion of I2C device drives quantity; Perhaps those skilled in the art use the present invention separately, can manage the identical equipment in a plurality of I2C address simultaneously, have driving force preferably simultaneously again, and then realize controlling many I2C equipment.
Based on above-mentioned thought, core of the present invention is that the system of described managing I 2C equipment comprises: I2C main equipment, CPU, I2C slave unit, MUX, bidirectional analog switch and code translator.Wherein: MUX receives the clock signal of I2C main equipment, selects output interface to carry out clock signal output according to the control signal of CPU; Each output interface of described code translator is connected with the control end of a two-way analog switch, and code translator obtains the control signal of CPU, the opened/closed of control bidirectional analog switch; The first I/O end of described bidirectional analog switch is connected with the data line of described I2C main equipment; The clock line of I2C slave unit is connected to the output interface of MUX, the data line of I2C slave unit is connected to the second I/O end of bidirectional analog switch, and the data line and the different bidirectional analog switch that are connected to the I2C slave unit of the same output interface of MUX connect.
In conjunction with foregoing invention thought, specify implementation of the present invention.
Fig. 3 is principle of the invention figure.With reference to this figure, no matter whether I2C slave unit address is identical, can be with its matrixing.Because I2C equipment only has data-signal and clock signal, thereby, in the present embodiment matrix laterally being defined as data-signal is listed as, vertically be defined as (the horizontal and vertical artificial definition of matrix of clock signal row, therefore matrix laterally can be defined as the clock signal row among the present invention equally, matrix vertically is defined as the data-signal row); It should be noted that the equipment in the matrix all is slave unit, and main equipment is that clock and read and write access slave unit initiatively are provided, therefore not in matrix.
With reference to Fig. 3, this figure is depicted as the 8X8 matrix, and among the figure, each node on the oblique line representing matrix, all slave units correspond respectively to the node of determining in the matrix, and then this equipment has the address at corresponding node place; Have only when choosing the corresponding clock line of determining slave unit on the node/data line simultaneously, main equipment just can have access to this slave unit.For example be positioned at the slave unit of the 3rd row the 4th row, I2C_DATA2 and I2C_CLK3 need be provided, main equipment just can be visited also unique this equipment that has access to.
Below how explanation realizes the distribution to I2C main equipment data-signal and clock signal.
The distribution of clock signal: because clock signal is unidirectional in the I2C bus, therefore, can select existing demultiplexer (DEMUX) for use,, also can utilize the output of FPGA (Field Programmable Gate Array) design multichannel to select module perhaps for convenient flexible.
Figure 4 shows that the building-block of logic of demultiplexer.As figure, the port number of demultiplexer is columns in the above-mentioned matrix (represent clock signal with definition row above is example), the i.e. output channel of demultiplexer correspondence matrix column.For example: corresponding to the matrix of 8 clock row, select 8 tunnel demultiplexer for use, No. 8 selector switchs as shown in Figure 4 have 1 input end, and 8 output terminals provide 8 tunnel outputs, and 3 control signals; The input end of this selector switch is connected with the clock line of main equipment I2C interface, and to obtain the clock signal of I2C main equipment, 8 output terminals of selector switch are listed as the output of I2C clock respectively as each; And, this selector switch obtains 3 control signals from CPU, when 3 control signals when Binary Zero 00-111 changes, input clock signal is corresponding to the output of 1-8 output channel, provides as matrix 1-8 clock row (000-1,001-2,010-3,011-4,100-5,101-6,110-7,111-8).
The distribution of data-signal: because data-signal is two-way in the I2C bus, and in programmable logic chip, two-way signaling is done selection switches very difficulty, therefore needs the existing bidirectional analog switching device of application.For example the NC7SZ66M5 of fairchild company is exactly a kind of single channel bidirectional analog switch device.As shown in Figure 5, when SE was low level, this bidirectional analog switching device was closed, and blocked between I/O A and the B, and when SE was high level, the bidirectional analog switching device was opened, and forms path between I/O A and the B, and data-signal can be by A to B, also can be by B to A.
The one I/O end (arbitrary end among A or the B) of all single channel bidirectional analog switches is connected, and be connected with the data line of main equipment I2C interface; Determine that with on the other end of analog switch and the matrix data line of the slave unit I2C interface in the row is connected, i.e. the row (above the definition line designate data signal is data line) of each single channel bidirectional analog switch correspondence matrix.And, be connected to the I2C slave unit of the same output terminal of MUX and different single channel bidirectional analog switch connections.With reference to Fig. 6, this figure is the building-block of logic of the embodiment of the invention.As shown in the figure, slave unit 2,10,18 is connected to the same output terminal of clock SCL1 of MUX, and described slave unit is connected respectively on the different bidirectional analog switches; As figure, slave unit 2,10,18 is identical row (all being connected with clock output SCL1) in matrix all, but the different rows in matrix respectively, be that slave unit 2 is connected on the bidirectional analog switch of data line SDA1, slave unit 10 is connected on the bidirectional analog switch of data line SDA3, and slave unit 18 is connected on the bidirectional analog switch of data line SDA5.In like manner, be connected to described MUX and agree that the slave unit 4,12,20 of output terminal of clock SCL3 is connected respectively on the bidirectional analog switch of data line SDA1, SDA3, SDA5.Accordingly, this connected mode can be expressed as equally: the slave unit output terminal of clock different with MUX that is connected to same data line bidirectional analog switch connects.As figure, slave unit 2,4,6,8 all is connected on the bidirectional analog switch of same data line SDA1, and slave unit 2,4,6,8 is connected respectively to MUX output terminal of clock SCL1, SCL3, SCL5, SCL7.
On described bidirectional analog switch and slave unit and main equipment syndeton basis, use existing code translator or become the code translator that logic chip designs, control the On/Off of each bidirectional analog switch, and then realize distribution I2C main equipment data-signal.Its concrete mode is: code translator receives the control signal of CPU, and, each output channel of code translator connects the control interface (SE) of each bidirectional analog switch respectively, be that code translator output channel number is corresponding with described bidirectional analog switch number, and then the quantity of code translator output channel has determined the matrix line number.For example 3-8 line code translator can be controlled the On/Off of 8 bidirectional analog switches by 8 each output channel, and then controls the distribution of 8 line data signals.
By the logical organization of the invention described above as can be known, the port number of described MUX and the port number of described code translator are the main determining factors of the slave unit number that can control of decision I2C main equipment.If used No. 8 outlet selectors and 3-8 line code translator in certain system, then can realize I2C main equipment controlling on the Systems Theory of this managing I 2C equipment to 64 slave units.
Fig. 7 is one embodiment of the invention structural representation.With reference to this figure as can be known the present invention be applied to the system architecture of I2C equipment control.Comprise main equipment, CPU, 3-8 code translator, No. 8 selector switchs, bidirectional analog switch in the diagram, and slave unit (representing slave unit with 71 nodes that identified in the dotted line scope among the figure).Wherein, No. 8 selector switchs obtain the clock signal I2C_CLK of main equipment, the A of No. 8 selector switchs 0, A 1, A 2Obtain the control signal of CPU, control the output of each output channel (I2C_CLK0 to I2C_CLK7) clock signal, every road output channel determines that with matrix the clock line of all slave unit I2C interfaces in the row is connected, also be about to determine the clock line polyphone of all slave units in the row, and be connected to a certain clock output channel of selector switch; The B of 3-8 code translator 0, B 1, B 2Obtain the control signal of CPU, the output of control code translator 8 tunnel output channel (OUT_0 to OUT_7) control signals; As figure, each output channel of 3-8 code translator is connected with the control interface SE of a bidirectional analog switch, makes code translator can control the opened/closed of 8 bidirectional analog switches by 8 output channels respectively after obtaining the control signal of CPU; The one I/O end (being designated A among the figure) of described bidirectional analog switch is connected with the data line of main equipment I2C interface, and promptly an end of each bidirectional analog switch is contacted, and is connected to the data line of main equipment I2C interface; The data line of determining all slave unit I2C interfaces in the row in another I/O end (being designated B among the figure) of bidirectional analog switch and the matrix is connected, also be about to determine the data line polyphone of all slave units in the row, and be connected to a certain bidirectional analog switch input/output terminal.By system as shown in the figure, main equipment can be realized the management of matrixing slave unit in the 71 dotted line scopes that identified (among the figure with the slave unit on each node of circle sign matrix), when main equipment was chosen the corresponding clock line of determining slave unit on the node/data line simultaneously, main equipment promptly may have access to this slave unit.
The present invention also provides a kind of system of managing I 2C equipment, and the core of this system is that the system of described managing I 2C equipment comprises: the I2C main equipment, and CPU, the I2C slave unit also comprises MUX, multiselect one two-way analog switch.Wherein: described MUX receives the clock signal of I2C main equipment, selects output interface to carry out clock signal output according to the control signal of CPU; The clock line of I2C slave unit is connected to the output interface that MUX is determined, the data line of I2C slave unit is connected to the output interface that multiselect one two-way analog switch is determined, and the data line that is connected to the I2C slave unit of the same output interface of MUX is connected to the different output interfaces of multiselect one two-way analog switch; The input interface of multiselect one two-way analog switch is connected with the data line of described I2C main equipment; And multiselect one two-way analog switch obtains the control signal of CPU, selects one and input interface realization transmission channel in a plurality of output interfaces.
The difference of this system and first system is: substituted the combination of code translator and single channel bidirectional analog switch in first system with multiselect one two-way analog switch of the prior art.
On above-mentioned two system architecture bases, realizing that main equipment to before the controlling of each slave unit, need address each slave unit.Be example still with above-mentioned 8X8 matrix, when equipment is addressed, with row address preceding, column address after.For example: in the matrix of this 8X8, be positioned at the equipment of the 3rd row the 4th row, its address is (3,4), is converted to 4 scale-of-two for (0011,0100), this node device address is integrated into a byte representation: 8 ' b00110100.Yet because the control signal address information of logical devices such as described demultiplexer and code translator is since 000, thereby the actual corresponding address information of equipment that described the 3rd row the 4th is listed as is 00100011.In like manner, all slave units are addressed, set up the corresponding relation of each slave unit and this equipment place node address information, those address informations are controlled realization by the address signal line of main equipment.
For example: if certain Ethernet switch need manage 24 100,000,000 SFP modules and two gigabit SFP modules, read the information of these modules respectively, its building-block of logic as shown in Figure 6, clock signal is divided into 8 row, data-signal is divided into 7 row, then (1 equipment in sequence number 1 corresponding diagram 6, the rest may be inferred with reference to following table for the row matrix/column address of each module correspondence.Front three is a row address, and back three is column address).
No. Address
1 000000
2 001001
3 000010
4 001011
5 000100
6 001101
7 000110
8 001111
9 010000
10 011001
11 010010
12 011011
13 010100
14 011101
15 010110
16 011111
17 100000
18 101001
19 100010
20 101011
21 100100
22 101101
23 100110
24 101111
G0 110000
G1 110010
By the foregoing description as can be known, the present invention realizes the control that conducts interviews of I2C equipment to a plurality of identical or different types with the matrix form scheme, has solved the problem that causes managing the slave unit limited amount because of the intrinsic driving force of main equipment chip simultaneously.
The present invention also provides a kind of access method of equipment, is used to realize the visit of main equipment to a plurality of slave units.
This method is specially: with the slave unit logical partitioning is the capable N row of M, has promptly constituted the slave unit matrix of M*N; Preset the slave unit address and be expert at/the row node location, as determine the capable L row of H at slave unit place by the binary coding sign to identify this slave unit; It is capable that first gating unit is sent to definite slave unit with the access control signal of main equipment, i.e. the capable slave unit of gating H; Second gating unit sends to definite slave unit row with the clock signal of main equipment, be gating L row slave units, and then the slave unit that is positioned at the capable H row of L is by gating, thereby realized that main equipment is to described definite row and definite row node (H, L) the upward visit of slave unit.(wherein M, N are the positive integer greater than 1; L is the positive integer smaller or equal to M; H is the positive integer smaller or equal to N).
Specify described first gating unit and second gating unit below and realize the method for signal allocation.Described first gating unit can adopt code translator, and this code translator is under the control of control signal, and it is capable to select access control signal with main equipment to send to the slave unit of determining in the matrix; Described second gating unit can adopt MUX, under the control of control signal, the clock signal of main equipment is sent to the slave unit row that matrix is determined.
And then, when said method is applied to the management of I2C slave unit, because data are two-way between described I2C main equipment and the slave unit, thereby described first gating unit can adopt the mode of code translator and the combination of single channel bidirectional analog switch, concrete grammar is: each output channel of code translator is connected with the control interface SE of a bidirectional analog switch, makes the opened/closed of code translator each bidirectional analog switch of may command after obtaining the control signal of CPU; One I/O end of described bidirectional analog switch is connected with the data line of main equipment I2C interface, and promptly an end of each bidirectional analog switch is contacted, and is connected to the data line of main equipment I2C interface; The data line of determining all slave unit I2C interfaces in the row in another input/output terminal of bidirectional analog switch and the matrix is connected, also is about to determine that the data line of all slave units in the row contacts, and is connected to a certain bidirectional analog switch input/output terminal.
Perhaps, except that said method, described first gating unit send main equipment access control signal method can also for: adopt multiselect one two-way analog switch to obtain the access control signal of main equipment in first gating unit, and the output channel of selecting to determine according to the control signal that CPU (central processing unit) provides sends to described access control signal the slave unit of determining row.
More than the system of a kind of managing I 2C equipment provided by the present invention and a kind of access method of equipment are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1, a kind of equipment management system comprises main equipment, CPU, slave unit, it is characterized in that:
Also comprise MUX, single channel bidirectional analog switch and code translator,
Described MUX receives the clock signal of main equipment, selects output interface to carry out clock signal output according to the control signal of CPU;
Each output interface of described code translator is connected with the control end of a single channel bidirectional analog switch, and code translator obtains the control signal of CPU, controls the opened/closed of each single channel bidirectional analog switch;
The first I/O end of described single channel bidirectional analog switch is connected with the data line of described main equipment;
The clock line of slave unit is connected to the output interface of MUX, the data line of slave unit is connected to the second I/O end of single channel bidirectional analog switch, and the slave unit that is connected to the same output interface of MUX is connected to different single channel bidirectional analog switches.
2, equipment management system as claimed in claim 1 is characterized in that:
Described main equipment is an I2C equipment, and described slave unit is an I2C equipment.
3, equipment management system as claimed in claim 1 is characterized in that:
Described MUX is No. 8 outlet selectors.
4, as one of them described equipment management system of claim 1 to 3, it is characterized in that:
Described code translator is a 3-8 line code translator.
5, a kind of system of managing I 2C equipment comprises I2C main equipment, CPU, I2C slave unit, it is characterized in that:
Also comprise MUX, multiselect one two-way analog switch;
Described MUX receives the clock signal of I2C main equipment, selects output interface to carry out clock signal output according to the control signal of CPU;
The clock line of I2C slave unit is connected to the output interface that MUX is determined, the data line of I2C slave unit is connected to the output interface that multiselect one two-way analog switch is determined, and the data line that is connected to the I2C slave unit of the same output interface of MUX is connected to the different output interfaces of multiselect one two-way analog switch;
The input interface of multiselect one two-way analog switch is connected with the data line of described I2C main equipment; And multiselect one two-way analog switch obtains the control signal of CPU, selects one and input interface realization transmission channel in a plurality of output interfaces.
6, the system of managing I 2C equipment as claimed in claim 5 is characterized in that:
Described multiselect one two-way analog switch is 8 to select 1 bidirectional analog switch.
7, a kind of management method of I2C equipment is used to realize the visit of main equipment to a plurality of slave units, it is characterized in that:
With the slave unit logical partitioning is the capable N row of M, presets the slave unit address and is expert at/the row node location to identify this slave unit;
First gating unit is sent to the slave unit of determining row with the access control signal of main equipment, and second gating unit sends to definite slave unit row with the clock signal of main equipment, realizes the visit of main equipment to slave unit on described definite row and the definite row node.
8, the management method of equipment as claimed in claim 7 is characterized in that, the method that described first gating unit sends main equipment access control signal is specially:
Code translator in first gating unit obtains the opened/closed of the single channel bidirectional analog switch that control is connected with the code translator output channel after the control signal,
If described single channel bidirectional analog switch is opened, then the access control signal of main equipment sends to the slave unit of determining row by this bidirectional analog switch.
9, the management method of equipment as claimed in claim 7 is characterized in that, the method that described first gating unit sends main equipment access control signal is specially:
Multiselect one two-way analog switch in first gating unit obtains the access control signal of main equipment, and the output channel of selecting to determine according to the control signal that CPU provides sends to described access control signal the slave unit of determining row.
10, as the management method of claim 7 or 8 or 9 described equipment, it is characterized in that: the method that described second gating unit sends the main equipment clock signal is specially:
MUX in second gating unit is obtained the clock signal of main equipment, and selects definite output channel that the clock signal of described main equipment is sent to the slave unit of determining row according to control signal.
CNB2005100934500A 2005-08-29 2005-08-29 A system and method for equipment management Active CN100357926C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100934500A CN100357926C (en) 2005-08-29 2005-08-29 A system and method for equipment management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100934500A CN100357926C (en) 2005-08-29 2005-08-29 A system and method for equipment management

Publications (2)

Publication Number Publication Date
CN1731383A CN1731383A (en) 2006-02-08
CN100357926C true CN100357926C (en) 2007-12-26

Family

ID=35963738

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100934500A Active CN100357926C (en) 2005-08-29 2005-08-29 A system and method for equipment management

Country Status (1)

Country Link
CN (1) CN100357926C (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117253B (en) * 2010-12-30 2013-01-02 中国人民解放军海军工程大学 System and method thereof for multiplexing inter-integrated circuit (IIC) devices with identical address
CN103166611A (en) * 2011-12-14 2013-06-19 赵恩海 Two-way analog switching circuit
CN103530261A (en) * 2013-10-30 2014-01-22 广东威创视讯科技股份有限公司 Circuit and management method for access to multiple slaves having same I2C address
CN106469127B (en) * 2015-08-21 2019-11-15 深圳市中兴微电子技术有限公司 A kind of data access device and method
CN105138485A (en) * 2015-08-21 2015-12-09 上海斐讯数据通信技术有限公司 Serial bus address management device
CN105068967B (en) * 2015-09-14 2018-06-19 上海斐讯数据通信技术有限公司 Control method, device and the terminal of I2C equipment
CN105701052A (en) * 2016-02-02 2016-06-22 合肥华凌股份有限公司 Communication device and communication method used for serial port communication
CN106021152B (en) * 2016-05-12 2019-06-25 柳州桂通科技股份有限公司 Master-slave mode serial equipment hub and the one-to-many serial communication method of asynchronous duplex
CN108763139A (en) * 2018-04-20 2018-11-06 青岛海信电器股份有限公司 A kind of control method and device of I2C communications
CN108681517B (en) * 2018-05-09 2020-09-01 广州计量检测技术研究院 Method and system for converting I2C device address
CN111272212B (en) * 2018-12-05 2021-12-31 卓望数码技术(深圳)有限公司 I2C equipment data acquisition method and system thereof
CN110830563A (en) * 2019-10-31 2020-02-21 英业达科技有限公司 Master-slave architecture server and information reading and writing method thereof
CN112199316B (en) * 2020-10-10 2024-01-05 海尔海斯(西安)控制技术有限公司 Configuration method and communication method of chain-type master-slave serial port communication device
CN114416621B (en) * 2021-12-29 2023-08-15 苏州雄立科技有限公司 AXI protocol-based bus communication method and device
CN114579491A (en) * 2022-01-28 2022-06-03 新华三技术有限公司合肥分公司 Integrated circuit bus multiplexing device and network equipment
CN115687190B (en) * 2022-11-04 2024-03-19 浙江衡玖医疗器械有限责任公司 Multipath interaction control circuit and method
CN116821005A (en) * 2023-08-24 2023-09-29 常州星宇车灯股份有限公司 Bus communication addressing system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63133732A (en) * 1986-11-25 1988-06-06 Mitsubishi Electric Corp Data transmission equipment
CN1115539A (en) * 1993-12-27 1996-01-24 夏普公司 Image display device and scanner circuit
CN1142740A (en) * 1995-10-31 1997-02-12 深圳市华为技术有限公司 Central/distributive high speed digital T-shape switching net
CN1211043A (en) * 1997-09-08 1999-03-17 三菱电机株式会社 Semiconductor memory device having selection circuit
JP2004089577A (en) * 2002-09-03 2004-03-25 Abilit Corp Game machine
CN1489126A (en) * 2002-08-27 2004-04-14 夏普株式会社 Display device and its driving method and control device for display driving circuit
CN1525338A (en) * 2003-02-26 2004-09-01 华为技术有限公司 A method for accessing small-package live-line swapping optical module by CPU

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63133732A (en) * 1986-11-25 1988-06-06 Mitsubishi Electric Corp Data transmission equipment
CN1115539A (en) * 1993-12-27 1996-01-24 夏普公司 Image display device and scanner circuit
CN1142740A (en) * 1995-10-31 1997-02-12 深圳市华为技术有限公司 Central/distributive high speed digital T-shape switching net
CN1211043A (en) * 1997-09-08 1999-03-17 三菱电机株式会社 Semiconductor memory device having selection circuit
CN1489126A (en) * 2002-08-27 2004-04-14 夏普株式会社 Display device and its driving method and control device for display driving circuit
JP2004089577A (en) * 2002-09-03 2004-03-25 Abilit Corp Game machine
CN1525338A (en) * 2003-02-26 2004-09-01 华为技术有限公司 A method for accessing small-package live-line swapping optical module by CPU

Also Published As

Publication number Publication date
CN1731383A (en) 2006-02-08

Similar Documents

Publication Publication Date Title
CN100357926C (en) A system and method for equipment management
CN101149722A (en) Method for executing CPU access to XFP optical module
CN102866683B (en) Signal conversion device and automatic testing system
CN101090323A (en) Storage device allocation managing method and system in switches utilizing a flow control
CN104967577B (en) SAS switch and server
CN110245098A (en) Adaptive interface high availability stores equipment
CN102761793B (en) Matrix eID bus circuit
CN102361394A (en) Adjusting system and adjusting method of digital power supply of ion cancer therapy accelerator
CN106155954A (en) The system and method that a kind of module identification and COM1 distribute automatically
CN103609041A (en) Method and apparatus for optical communication
CN108399137A (en) I2C switching method of the PON modules based on CPLD
CN100417079C (en) Automatic protection conversion device for synchronous digital system branch
CN102946574A (en) Optical module integrated set, passive optical network system and optical module sharing method
CN102508807B (en) Scalable processor architecture (SPARC)-V8-processor-based bus structure
CN109116934A (en) Expansible combined server stores backboard
CN109769155B (en) Control implementation method of optical fiber port
CN103095487B (en) A kind of Multi-netmouth state indication method and device
US6839795B1 (en) Priority cross-bar decoder
CN113746553A (en) Intelligent networking system based on multiple zones
CN113688091A (en) Method and system for realizing RapidIO dynamic enumeration process based on Tsi721
US20070239901A1 (en) Multiple mode communication interface for expansion device and PLC host and method for operating the same
CN202231605U (en) Digital power supply regulation system of an ion radiotherapy accelerator
CN112533083B (en) USB optical fiber exchange box and system
CN208888804U (en) A kind of multi-processor electronic device
CN216434923U (en) Single MDIO interface extension multichannel circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.