CN103997448B - The method of automatic configuration and system of pattern are transmitted based on physical chip - Google Patents

The method of automatic configuration and system of pattern are transmitted based on physical chip Download PDF

Info

Publication number
CN103997448B
CN103997448B CN201410245404.7A CN201410245404A CN103997448B CN 103997448 B CN103997448 B CN 103997448B CN 201410245404 A CN201410245404 A CN 201410245404A CN 103997448 B CN103997448 B CN 103997448B
Authority
CN
China
Prior art keywords
interface module
physical chip
physical
module
address information
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
CN201410245404.7A
Other languages
Chinese (zh)
Other versions
CN103997448A (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.)
Renzhou Intelligent Technology (Wuxi) Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410245404.7A priority Critical patent/CN103997448B/en
Publication of CN103997448A publication Critical patent/CN103997448A/en
Application granted granted Critical
Publication of CN103997448B publication Critical patent/CN103997448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The present invention provides a kind of automatic configuration system that pattern is transmitted based on physical chip, including:First control module, which is used to monitor in interface module, whether there is by the signal in place that is lower of height, if so, seeking, to take in the presence of being by the high interface module for becoming low level signal in place in multiple interface modules be which;Send and read the preset address information of interface module;Judge whether to have read the preset address information of interface module;If so, data value is then judged according to the preset address information acquisition mode of the interface module;First control module is additionally operable to judge according to the mode decision data value got the transmission mode of the interface module;3rd control module is used for the preset address information for the physical chip corresponding with the interface module that will be prestored and transmission mode configuration data writes.The present invention realizes the automatic adaptation to 10,000,000,000 physical chip transmission modes, so that the step of reducing human configuration, the flexibility of enhancing 10,000,000,000 physical chip transmission modes configuration.

Description

The method of automatic configuration and system of pattern are transmitted based on physical chip
Technical field
The invention belongs to technical field of communication network, is related to a kind of method of automatic configuration and system, more particularly to one kind The method of automatic configuration and system of pattern are transmitted based on physical chip.
Background technology
Ethernet has 25 years history till now from being born.Since cost is low, reliability is high, installation and maintenance are relatively simple It is single, therefore be popular.Ethernet almost assume responsibility for communication service all on Internet at present.With technology development and The raising of network speed, the development and application of 10G Ethernets or ten thousand megabits of Ethernet (10GE) technologies are increasingly by industry weight Depending on.There are huge difference, particularly 10G Ethernets between 10G ethernet standards and the ethernet standard of early stage only to use optical fiber, And only run in a full-duplex mode, i.e., 10G Ethernets will not be used collision detection protocol (CSMA/CD).Due to 10G with Too net remains ethernet standard, and existing various ethernet standards can be easily transplanted in the new standard in future, Therefore existing network infrastructure investment will not be wasted.
Ten thousand mbit ethernets (10Gigaibt Etherner, 10GE) grow up on the basis of gigabit Ethernet, Its technical standard is IEEE802.3ae, wherein, 10BASE-R physical layer coding sub-layers realize ten thousand mbit ethernets, 16 bit interface With the conversion of 10Gb Media Independent Interfaces, 10Gb/s high speed serialization Ethernet datas are converted into low speed data and higher sublayer Interface, in order to the transmission and processing of data.
10GE exchange chips can support 12 GE mouthfuls, a 10GE interface, and can pass through Uplink (uplink) bus On be linked to cross bar (cross-connect) chip, meet the needs of higher performance system.Chip passes through the same host CPU of cpu i/f It is connected, supports CPU with carrying out packet-switching between chip.Internal data buffer mode is used in the chips, and internal data is delayed Deposit and use SSRAM (static synchronous memory).Chip provides 1 full duplex, ten thousand megabits of ethernet ports, passes through XGMII (10,000,000,000 Position ethernet medium is independent) interface same PHY (physical layer) chip is connected.Chip provides 12 dual rate mac controllers to prop up Hold 100Mb/s and 1000Mb/s Ethernet interfaces.
And currently in the equipment of OLT racks, 10,000,000,000 phy interfaces of 10GE upper united dishs acquiescence be 10-GE transmission mould Formula, when the transmission mode of 1-GE to be used, it is necessary to carry out human configuration to 10,000,000,000 PHY chips;For example, working as has 10GE or 1GE , need to be to the transmission modes of 10,000,000,000 physical chips in OLT chassis equipments into pedestrian when on optical module, or the connection of 1000M electricity module Work configures, and it is neither convenient and very troublesome so to operate, and is only capable of transmitting using a kind of if user does not know about configuration Pattern carries out the transmission of data.
Thus, a kind of method of automatic configuration and system that pattern is transmitted based on physical chip how is provided, with solution It is certainly of the prior art the transmission mode of 10,000,000,000 physical chips can not be automatically configured in OLT chassis equipments lack Fall into, it is real to have become practitioner in the art's technical problem urgently to be resolved hurrily.
The content of the invention
In view of the foregoing deficiencies of prior art, carried out it is an object of the invention to provide one kind based on physical chip The method of automatic configuration and system of transmission mode, for solve in the prior art can not be to 10,000,000,000 physical layers in OLT chassis equipments The problem of transmission mode of chip is automatically configured.
In order to achieve the above objects and other related objects, it is a kind of that automatically configuring for pattern is transmitted based on physical chip Method, the physical chip obtain network mode by multiple multiple interface modules being connected in current network, wherein, often Two interface modules are corresponding with a physical chip, the method for automatic configuration bag that pattern is transmitted based on physical chip Include:Step 1, monitors whether to turn to low level signal in place in the presence of by high level change, if not, then it represents that the multiple interface Module is in extraction state, continues to monitor;If, then it represents that at least one interface module, which is in, in the multiple interface module inserts Enter state, and continue to execute in next step;Step 2, according to by high level become turn to low level signal in place, seek take in the presence of by The interface module that high level change turns to low level signal in place is which of the multiple interface module interface module;Institute Stating interface module has preset address information;Step 3, sends and reading turns to low level letter in place in the presence of by high level change Number interface module preset address information;Step 4, it is low level in the presence of being turned to by high level change to judge whether that reading is finished The preset address information of the interface module of signal in place, if it is not, then continuing to read, finishes until reading;If so, then according to The preset address information acquisition mode of interface module judges data value;Step 5, sentences according to the mode decision data value got Break and the transmission mode of the interface module;It will prestore physical chip corresponding with the interface module according to correct sequential Preset address information and transmission mode configuration data write in the physical chip so that the transmission of the physical chip Pattern is consistent with current network pattern;The transmission mode of wherein described interface module is identical with current network pattern.
Preferably, the transmission mode of the physical chip includes 10GE transmission modes and 1GE transmission modes.
Preferably, it is described to there is the preset address information for becoming the interface module for turning to low level signal in place by high level Including according to the physical address of the interface module to sort successively from big to small, the physical address of IC bus and interface mould The register address of register in block.
Preferably, the mode decision data value turns to connecing for low level signal in place to be described in the presence of by high level change Rate value in mouth mold block internal transmission rate register.
Preferably, the preset address information of the physical chip corresponding with the interface module to prestore be according to from greatly to It is the small physical address for the physical chip corresponding with the interface module that sequence prestores successively, prestoring with the interface module The physical address in region residing for register and the physical layer corresponding with the interface module to prestore in corresponding physical chip The register address of register in chip.
Preferably, in the step 5, the transmission mode configuration data is written to corresponding with the interface module Physical chip in register in.
Another aspect of the present invention also provides a kind of automatic configuration system that pattern is transmitted based on physical chip, described Physical chip obtains network mode by multiple multiple interface modules being connected in current network, wherein, each two interface Module is corresponding with a physical chip, and the automatic configuration system that pattern is transmitted based on physical chip is included:With institute The first control module of multiple interface module connections is stated, low electricity is turned to for monitoring to whether there is to be become by high level in interface module Flat signal in place, if not, then it represents that the multiple interface module is in extraction state, continues to monitor;If, then it represents that it is described At least one interface module is in insert state in multiple interface modules, and low level letter in place is turned to according to being become by high level Number, seek that to take in the presence of becoming the interface module that turns to low level signal in place by high level to be in the multiple interface module be which A interface module;Send the preset address information for existing and becoming the interface module for turning to low level signal in place by high level;Its In, first control module prestores the preset address information of the interface module, and thing corresponding with the interface module Manage the preset address information of layer chip;The second control module being connected with the multiple interface module and the first control module, is used In reading the preset address information for existing and becoming the interface module for turning to low level signal in place by high level, judge whether The address information for finishing the interface module is read, if it is not, then continuing to read, is finished until reading;If so, then connect according to The address information obtaining mode of mouth mold block judges data value and the mode decision data value got is fed back to first control Molding block;Wherein, first control module is additionally operable to judge the interface mould according to the mode decision data value got The transmission mode of block;The transmission mode of the interface module is identical with current network pattern;It is connected with second control module The 3rd control module, for according to correct sequential by the default of the physical chip corresponding with the interface module to prestore Location information and transmission mode configuration data are write in the physical chip so that the transmission mode of the physical chip is with working as Preceding network mode is consistent;;Wherein, the physical chip is connected with the 3rd control module.
Preferably, first control module is master controller, and the second control module and the 3rd control module are from control Device, second control module are I2C controllers, and the 3rd control module is MDC/MDIO controllers.
Preferably, the physical chip is transmitted the automatic configuration system of pattern and further includes:For connecting described Two control modules and the multiple interface module, meet the IC bus of I2C agreements;The IC bus includes SDA line and SCL lines;For by the preset address information of the physical chip corresponding with the interface module to prestore and transmission Mode configuration data is transmitted to the physical chip according to correct sequential, and the serial communication for meeting MDC/MDIO bus protocols is total Line;The serial communication bus includes MDC lines and MDIO lines.
Preferably, the interface module includes optical module or electric module.
As described above, the method for automatic configuration and system that pattern is transmitted based on physical chip of the present invention, are had Following beneficial effect:It is of the present invention the method for automatic configuration of pattern to be transmitted based on physical chip and system is not increasing In the case of stiffened part, the automatic adaptation to 10,000,000,000 physical chip transmission modes is realized, so as to reduce human configuration Step, enhances the flexibility of 10,000,000,000 physical chip transmission modes configuration, united dish on OLT chassis equipments is made 1GE interfaces are could be used that with 10GE interfaces, and it is general to realize two kinds of transmission modes of a plate.
Brief description of the drawings
Fig. 1 is shown as the flow chart of the method for automatic configuration that pattern is transmitted based on physical chip of the present invention.
Fig. 2 is shown as the automatic configuration system structure diagram that pattern is transmitted based on physical chip of the present invention.
Component label instructions
10 are transmitted mould based on physical chip
The automatic configuration system of formula
A interface module more than 11
12 first control modules
13 second control modules
14 the 3rd control modules
15 physical chips
16 signal transmssion lines
17 IC bus
18 serial communication bus
S1~S7 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the case where there is no conflict, following embodiments and implementation Feature in example can be mutually combined.
It should be noted that the diagram provided in following embodiments only illustrates the basic structure of the present invention in a schematic way Think, then only the display component related with the present invention rather than component count, shape and size during according to actual implementation in schema Draw, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel It is likely more complexity.
Embodiment one
The present embodiment provides a kind of method of automatic configuration that pattern is transmitted based on physical chip, for making physical layer The transmission mode of chip is consistent with current network pattern, and the physical chip is connected in current network by multiple Multiple interface modules obtain network mode, wherein, each two interface module is corresponding with a physical chip, in the present embodiment, The physical chip is using 10,000,000,000 physical layers (PHY) chip.Referring to Fig. 1, it is shown as carrying out based on physical chip The method of automatic configuration flow chart of transmission mode, the method for automatic configuration of the transmission mode include:
S1, monitors whether to turn to low level signal in place in the presence of by high level change, if not, then it represents that the multiple interface Module is in extraction state, continues monitoring and turns to low level signal in place by high level change;If, then it represents that it is the multiple to connect At least one interface module is in insert state in mouth mold block, and continues to execute step S2.The interface module includes optical module Or electric module, in the present embodiment, the interface module is optical module, passes through the plug shape of signal identification interface module in place State, when signal in place switchs to high level state by low level, then it represents that optical module is in connection status;When signal in place is by height When level switchs to low level state, then it represents that optical module is in connection status.In the present embodiment, signal in place can be expressed as LOSS signals, have a LOSS signal in each interface module.
S2, according to by high level become turn to low level signal in place, seek take in the presence of by high level become turn to it is low level The interface module of signal in place is which of the multiple interface module interface module.It is specific to say which is exactly found Interface module, which exists to be become by high level, turns to low level signal in place.Wherein, the interface module has preset address information.
S3, sends the preset address information for existing and becoming the interface module for turning to low level signal in place by high level, together When send the reading of the preset address information for reading the interface module for being become by high level and turning to low level signal in place and order Order;
S4, receives the reading order, reads the preset address information of the interface module, judge whether reading finish by High level switchs to the address information of the interface module of low level signal in place, if it is not, then continuing to execute the step, continues to read The preset address information of the interface module, finishes until reading;If so, then continue to execute one step ahead.
S5, judges data value according to the preset address information acquisition mode of the interface module;In the present embodiment, count During to the data that have read 8bit, mean that reading is finished in the presence of the interface module for switching to low level signal in place by high level Corresponding address information.It is described to there is the preset address information for becoming the interface module for turning to low level signal in place by high level Including according to the physical address of the interface module to sort successively from big to small, the physical address of IC bus and interface mould The register address of register in block, the mode decision data value are described low level in place in the presence of being turned to by high level change Rate value in the interface module internal transmission rate register of signal.
S6, judges to turn to low level signal in place in the presence of by high level change according to the mode decision data value got Interface module transmission mode;The preset address for the physical chip corresponding with the interface module that will be prestored is sent at the same time Information and transmission mode configuration data are written to the writing commands in the physical chip.In this step, can be according to mould Formula judges that data value judges to show that current network pattern is operated in 10GE transmission modes or 1GE transmission modes.
S7, receives said write order, will prestore according to correct sequential and turns to low electricity in the presence of by high level change with described The preset address information and transmission mode configuration data of the corresponding physical chip of interface module of flat signal in place are written to So that the transmission mode of the physical chip is consistent with current network pattern in the physical chip.Prestore with institute The preset address information for stating the corresponding physical chip of interface module be according to from big to small successively sequence prestore connect with described Register in the physical address of the corresponding physical chip of mouth mold block, the physical chip corresponding with the interface module to prestore The register of register in the physical address in residing region and the physical chip corresponding with the interface module to prestore Location, terminates process.Wherein, further included in the step S7 and be written to the transmission mode configuration data and the interface module In register in corresponding physical chip.
The method of automatic configuration that pattern is transmitted based on physical chip described in the present embodiment is realized to 10,000,000,000 things The automatic adaptation of layer chip transmission mode is managed, so that the step of reducing human configuration, enhances the transmission of 10,000,000,000 physical chips The flexibility of pattern configurations, particularly makes united dish on OLT chassis equipments to could be used that 1GE interfaces using 10GE interfaces, real It is general two kinds of transmission modes of a plate have been showed.
Embodiment two
The present embodiment provides a kind of automatic configuration system 10 that pattern is transmitted based on physical chip, for making physics The transmission mode of layer chip is consistent with current network pattern, and the physical chip is connected in current network by multiple Multiple interface modules obtain network mode, wherein, each two interface module is corresponding with a physical chip, in the present embodiment In, physical chip is using 10,000,000,000 physical chips.Referring to Fig. 2, it is shown as being transmitted mould based on physical chip The automatic configuration system structure chart of formula, the automatic configuration system of the transmission mode are controlled including multiple interface modules 11, first Module 12, the second control module 13, the 3rd control module 14, multiple physical chips 15, signal transmssion line 16, integrated circuit are total Line 17 and serial communication bus 18.
Wherein, the multiple interface module 11 includes optical module 11 or electric module.In the present embodiment, it is the multiple to connect Mouth mold block 11 is multiple optical modules 11.For example, it is connected with 4 optical modules 11, each two optical module 11 and 10,000 with current network Million physical chips 15 correspond to, and address numbers are carried out to 4 optical modules 11, for example, using 5bit data as address number, according to Secondary is 10001,10010,10011 and 10100.All there are register, multiple physical chips 15 inside the interface module 11 In all there are register.In the present embodiment, 2 physical chips 15, each physical chip 15 are connected with two interface moulds Block, i.e. optical module 11.
In the present embodiment, first control module 12 prestores and multiple 11 corresponding interface modules of interface module Preset address information, and prestore the preset address information of physical chip corresponding with the interface module.The interface The preset address information of module is included according to the physical address of the interface module to sort successively from big to small, IC bus The register address of register in physical address and interface module.The physical layer corresponding with the interface module prestoring The preset address information of chip includes the physical layer core corresponding with the interface module to prestore according to sorting successively from big to small The physical address in region residing for register in the physical address of piece, the physical chip corresponding with the interface module to prestore, And in the physical chip corresponding with the interface module to prestore register register address.
First control module 12 is connected to whether there is in monitoring interface module with the multiple interface module 11 Being become by high level and turn to low level signal in place, if not, then it represents that the multiple interface module is in extraction state, and described the One control module 12 continues monitoring and turns to low level signal in place by high level change;If, then it represents that the multiple interface mould At least one interface module is in insert state in block 11, turns to low level signal in place according to being become by high level, seeks taking and deposit It is which interface mould in becoming the interface module for turning to low level signal in place by high level and being the multiple interface module Block, that is, seek the physical address for taking the interface module;And according to the interface module of discovery, and interface module numbering to described second Control module 13, which is sent, reads the address information for existing and becoming the interface module for turning to low level signal in place by high level Reading order, and by the presence being pre-stored in first control module 12 by high level become turn to low level signal in place The preset address information of interface module is sent to the second control module 13.In the present embodiment, first control module 12 is One master controller.
Second control module 13 is connected respectively with the multiple interface module 11 and first control module 12, is used Ordered in the reading for receiving the preset address information for existing and becoming the interface module for turning to low level signal in place by high level Order and reading, which exist, is being become the preset address information for the interface module for turning to low level signal in place by high level, is judged whether Read the preset address information finished in the presence of the interface module for turning to low level signal in place is become by high level, if it is not, then after Resume studies and take the preset address information of the interface module, finished until reading;If so, then according to the interface module read 11 preset address information acquisition mode judges data value and the mode decision data value fed back to the first control module 12, First control module 12 is additionally operable to judge that current network pattern is 10GE transmission according to the mode decision data value got Pattern or 1GE transmission modes, send will prestore with it is described exist to be become by high level turn to connecing for low level signal in place The preset address information and transmission mode configuration data of the corresponding physical chip of mouth mold block are written in the physical chip Writing commands.There is the interface mould that low level signal in place is turned to by high level change to be described in the mode decision data value Rate value in block internal transmission rate register.In the present embodiment, second control module 13 can only read one every time The data of a byte, when second control module 13 count down to the data that oneself have read 8bit, mean that reading finishes In the presence of the preset address information for becoming the interface module for turning to low level signal in place by high level.In the present embodiment, it is described Second control module 13 is an I2C controllers.
What the 3rd control module 14 was connected with second control module 13, for receiving said write order, and The preset address information of the physical chip corresponding with the interface module to prestore and transmission mode are matched somebody with somebody according to correct sequential Data are put to write in the physical chip so that the transmission mode of the physical chip is consistent with current network pattern. In this step, the transmission mode configuration data is written to and posting in the 11 corresponding physical chip of interface module In storage.Wherein, the physical chip is connected with the 3rd control module.What is prestored is corresponding with the interface module The preset address information of physical chip be according to the thing corresponding with the interface module that prestores of sorting successively from big to small Register institute in the physical address (PRTAD addresses) for managing layer chip, the physical chip corresponding with the interface module to prestore (DEVAD addresses, the DEVAD addresses refer to the one of physical chip internal register region division to the physical address in place region A physical address) and the physical chip corresponding with the interface module that prestores in register register address in this reality Apply in example, the 3rd control module 14 is a MDC/MDIO controllers.In the present embodiment, first control module 12, Second control module 13 and the 3rd control module 14 are realized in FPGA20.Wherein, based on first control module 12 Controller, the second control module 13 and the 3rd control module 14 are from controller.
In the present embodiment, the automatic configuration system 10 that pattern is transmitted based on physical chip is further included and is used for The signal transmssion line 16 of signal in place is transmitted, as shown in Fig. 2, in the present embodiment, the signal transmssion line 16 includes 4 LOSS1, LOSS2, LOSS3 and LOSS4;For connecting second control module 13 and the multiple interface module 11, symbol Close the IC bus 17 of I2C agreements;The IC bus includes SDA line and SCL lines, i.e. SCL1, SCL2, SCL3, SCL4 and SDA1, SDA2, SDA3, SDA4;And for by the physical chip corresponding with the interface module to prestore Preset address information and transmission mode configuration data are transmitted to 10,000,000,000 physical chip 15 according to correct sequential, meet MDC/ The serial communication bus 18 of MDIO bus protocols;The serial communication bus includes MDC lines and MDIO lines.In the present embodiment, There are 4 optical modules, then corresponding SCL lines in IC bus 17 in the automatic configuration system 10 of the transmission mode SCL1, SCL2, SCL3 and SCL4 are followed successively by so as to can accurately be operated to single optical module.
In the present embodiment, multiple 10,000,000,000 physical chips 15 are used using 10,000,000,000 physical chips in upper united dish The BCM8727 of company of Botong.
If the multiple interface module 11 is multiple electric modules, and current electric module is generally operational in 1GE transmission moulds Formula, without the electric module of 10GE patterns, if so when the transmission modes of 10,000,000,000 physical chips is 10GE transmission modes, and connect Mouth mold block is 1GE transmission modes, then is matched somebody with somebody using the automatic of pattern is transmitted based on physical chip described in the present embodiment The method of putting can be by the transmission mode automatic adaptation of 10,000,000,000 physical chips into 1GE transmission modes.
The method of automatic configuration of pattern is transmitted based on physical chip and system exists in conclusion of the present invention In the case of not increasing hardware, the automatic adaptation to 10,000,000,000 physical chip transmission modes is realized, is manually matched somebody with somebody so as to reduce The step of putting, enhances the flexibility of 10,000,000,000 physical chip transmission modes configuration, has particularly made on OLT chassis equipments united dish both 1GE interfaces can be could be used that using 10GE interfaces, it is general to realize two kinds of transmission modes of a plate.
So the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (7)

1. a kind of method of automatic configuration that pattern is transmitted based on physical chip, the physical chip pass through multiple connections Multiple interface modules in current network obtain network mode, wherein, each two interface module is corresponding with a physical chip, It is characterized in that, the method for automatic configuration that pattern is transmitted based on physical chip is included:
Step 1, monitors whether to turn to low level signal in place in the presence of by high level change, if not, then it represents that the multiple interface Module is in extraction state, continues to monitor;If, then it represents that at least one interface module, which is in, in the multiple interface module inserts Enter state, and continue to execute in next step;
Step 2, according to by high level become turn to low level signal in place, seek take in the presence of by high level become turn to it is low level The interface module of signal in place is which of the multiple interface module interface module;The interface module has default ground Location information;
Step 3, sends and reads the preset address that there is the interface module for turning to low level signal in place by high level change and believe Breath;It is described exist become the preset address information of the interface module for turning to low level signal in place by high level and include according to from big Register in the physical address and interface module of physical address, IC bus to the small interface module to sort successively Register address;
Step 4, judges whether that reading is finished in the presence of the default of the interface module that low level signal in place is turned to by high level change Address information, if it is not, then continuing to read, finishes until reading;If so, then obtained according to the preset address information of the interface module Take mode decision data value;The mode decision data value turns to low level signal in place to be described in the presence of by high level change Rate value in interface module internal transmission rate register;
Step 5, the transmission mode of the interface module is judged according to the mode decision data value got;According to it is correct when Sequence writes the preset address information of the physical chip corresponding with the interface module to prestore and transmission mode configuration data So that the transmission mode of the physical chip is consistent with current network pattern in the physical chip;It is wherein described to connect The transmission mode of mouth mold block is identical with current network pattern;The physical chip corresponding with the interface module to prestore is preset Address information be according to from big to small successively sequence prestore physical chip corresponding with the interface module physical address, In the physical chip corresponding with the interface module to prestore the physical address in region residing for register and prestore with it is described The register address of register in the corresponding physical chip of interface module.
2. the method for automatic configuration according to claim 1 that pattern is transmitted based on physical chip, it is characterised in that: The transmission mode of the physical chip includes 10GE transmission modes and 1GE transmission modes.
3. the method for automatic configuration according to claim 1 that pattern is transmitted based on physical chip, it is characterised in that: In the step 5, the transmission mode configuration data is written in physical chip corresponding with the interface module In register.
4. a kind of automatic configuration system that pattern is transmitted based on physical chip, the physical chip pass through multiple connections Multiple interface modules in current network obtain network mode, wherein, each two interface module is corresponding with a physical chip, It is characterized in that, the automatic configuration system that pattern is transmitted based on physical chip is included:
The first control module being connected with the multiple interface module, is become for monitoring to whether there is in interface module by high level Low level signal in place is turned to, if not, then it represents that the multiple interface module is in extraction state, continues to monitor;If so, then Represent that at least one interface module is in insert state in the multiple interface module, it is low level according to being turned to by high level change Signal in place, seeks that to take in the presence of the interface module that turns to low level signal in place is become by high level be in the multiple interface module It is which interface module;Send the preset address letter for existing and becoming the interface module for turning to low level signal in place by high level Breath;Wherein, first control module prestores the preset address information of the interface module, and corresponding with the interface module Physical chip preset address information;It is described to turn to the low level interface module of signal in place in the presence of by high level change Preset address information includes the physical address according to the interface module to sort successively from big to small, IC bus physically The register address of register in location and interface module;
The second control module being connected with the multiple interface module and the first control module, it is described in the presence of by high electricity for reading Flat change turns to the preset address information of the interface module of low level signal in place, judges whether that reading finishes the interface module Address information, if it is not, then continue to read, finished until reading;If so, then obtained according to the address information of the interface module The mode decision data value got is simultaneously fed back to first control module by mode decision data value;Wherein, described first Control module is additionally operable to judge according to the mode decision data value got the transmission mode of the interface module;The interface The transmission mode of module is identical with current network pattern;The mode decision data value is described low in the presence of being turned to by high level change Rate value in the interface module internal transmission rate register of the signal in place of level;
The 3rd control module being connected with second control module, for will prestore and the interface mould according to correct sequential The preset address information and transmission mode configuration data of the corresponding physical chip of block are write in the physical chip so that institute The transmission mode and current network pattern for stating physical chip are consistent;Wherein, the physical chip is and the described 3rd Control module connection;The preset address information of the physical chip corresponding with the interface module to prestore be according to from greatly to It is the small physical address for the physical chip corresponding with the interface module that sequence prestores successively, prestoring with the interface module The physical address in region residing for register and the physical layer corresponding with the interface module to prestore in corresponding physical chip The register address of register in chip.
5. the automatic configuration system according to claim 4 that pattern is transmitted based on physical chip, it is characterised in that: First control module is master controller, and the second control module and the 3rd control module are from controller, second control Module is I2C controllers, and the 3rd control module is MDC/MDIO controllers.
6. the automatic configuration system according to claim 4 that pattern is transmitted based on physical chip, it is characterised in that: The automatic configuration system that the physical chip is transmitted pattern further includes:
For connecting second control module and the multiple interface module, meet the IC bus of I2C agreements;It is described IC bus includes SDA line and SCL lines;
For the preset address information of the physical chip corresponding with the interface module to prestore and transmission mode to be configured number The physical chip is transmitted to according to according to correct sequential, meets the serial communication bus of MDC/MDIO bus protocols;The string Row communication bus includes MDC lines and MDIO lines.
7. the automatic configuration system according to claim 4 that pattern is transmitted based on physical chip, it is characterised in that: The interface module includes optical module or electric module.
CN201410245404.7A 2014-06-04 2014-06-04 The method of automatic configuration and system of pattern are transmitted based on physical chip Active CN103997448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410245404.7A CN103997448B (en) 2014-06-04 2014-06-04 The method of automatic configuration and system of pattern are transmitted based on physical chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410245404.7A CN103997448B (en) 2014-06-04 2014-06-04 The method of automatic configuration and system of pattern are transmitted based on physical chip

Publications (2)

Publication Number Publication Date
CN103997448A CN103997448A (en) 2014-08-20
CN103997448B true CN103997448B (en) 2018-05-01

Family

ID=51311457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410245404.7A Active CN103997448B (en) 2014-06-04 2014-06-04 The method of automatic configuration and system of pattern are transmitted based on physical chip

Country Status (1)

Country Link
CN (1) CN103997448B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547713B (en) * 2015-09-18 2020-06-16 华为技术有限公司 Address allocation method and device
EP3529983B1 (en) 2016-11-23 2024-02-07 Zhejiang Dahua Technology Co., Ltd System and method for establishing connection between devices
CN106534788B (en) * 2016-11-23 2019-03-26 浙江大华技术股份有限公司 Mode adaptive matching process, equipment and system in a kind of monitoring system
CN106534691B (en) * 2016-11-23 2019-03-26 浙江大华技术股份有限公司 One mode adaptive matching method and equipment
CN106898923B (en) * 2017-02-10 2020-06-19 新华三技术有限公司 Interface connection method and interface connection device of network equipment
CN111817784B (en) * 2019-04-10 2022-01-14 华为技术有限公司 Coding and decoding method and device in optical communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045608A (en) * 2010-12-29 2011-05-04 福建星网锐捷网络有限公司 Network device for optical communication and method thereof for automatically configuring exchange interface
CN102590689A (en) * 2011-01-14 2012-07-18 中兴通讯股份有限公司 Device for detecting in-place of small form-factor pluggable (SFP) optical modules
CN103701724A (en) * 2013-12-19 2014-04-02 上海斐讯数据通信技术有限公司 Self-adaptive method and system of upper connection port photoelectric module on OLT (optical line terminal) equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323705A1 (en) * 2008-06-30 2009-12-31 Huawei Technologies Co., Ltd. Method for implementing photoelectric mutex, ethernet photoelectric mutex interface device and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045608A (en) * 2010-12-29 2011-05-04 福建星网锐捷网络有限公司 Network device for optical communication and method thereof for automatically configuring exchange interface
CN102590689A (en) * 2011-01-14 2012-07-18 中兴通讯股份有限公司 Device for detecting in-place of small form-factor pluggable (SFP) optical modules
CN103701724A (en) * 2013-12-19 2014-04-02 上海斐讯数据通信技术有限公司 Self-adaptive method and system of upper connection port photoelectric module on OLT (optical line terminal) equipment

Also Published As

Publication number Publication date
CN103997448A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN103997448B (en) The method of automatic configuration and system of pattern are transmitted based on physical chip
CN100471156C (en) Data bus bridge and its working method
CN202870808U (en) FPGA realization device of SPI serial port module
CN103905281B (en) FC-AE-1553 bus node card capable of interchangeably achieving functions of network controller and network terminal
CN102495920B (en) Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array)
WO2005104698A2 (en) 10/100/1000/2500 mbps serial media independent interface (sgmii)
US9807036B2 (en) Apparatus and method for encoding MDIO into SGMII transmissions
US20160196232A1 (en) Commissioning Method, Master Control Board, and Service Board
CN105978778A (en) Ethernet and serial port/CAN protocol conversion device based on STM32
CN107347027A (en) A kind of link redundancy communication system based on EtherCAT
CN106027424A (en) Ethernet exchange device based on RapidIO exchange technology
CN105357077B (en) The serial data processing unit and method of more equipment
CN103346982B (en) Star structure RapidIO interconnection system and exchange configuration method thereof
CN104852868A (en) Gigabit switch SFP (Small Form-factor Pluggable transceiver) interface rate self-adaptation method and device
CN105262789A (en) FPGA (Field Programmable Gate Array)-based MAC (Media Access Control) layer to MAC layer communication system and control method
CN107643993A (en) Bus conversion interface, the method for work of bus conversion interface and communication equipment
CN103226535B (en) A kind of microserver and management method thereof
CN105162792B (en) A kind of USB network card and Ethernet data conversion method
CN202282789U (en) SOE (SERCOS OVER EtherCAT) communication conversion card for servo driver
CN108011795B (en) A kind of method and system for realizing more boards and multiple data channel management in communication equipment
CN105083337B (en) Connection system applicable to different interlocking system interface cabinets and use method of connection system
CN106980474A (en) A kind of data logger based on PCIE interfaces
CN105068961B (en) A kind of Ethernet interface manages circuit
CN209070718U (en) Water meter data collecting equipment
CN208905017U (en) A kind of communication master-salve station mainboard based on Cortex-M3 processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201208

Address after: 313028 Industrial Park, balidian Town, Huzhou City, Zhejiang Province

Patentee after: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240112

Address after: Room 807, Building D2, Yingyue Lake Science and Technology Park, No. 57-3 Wenjing Road, Anzhen Street, Xishan District, Wuxi City, Jiangsu Province, 214000

Patentee after: Renzhou Intelligent Technology (Wuxi) Co.,Ltd.

Address before: 313028 Industrial Park, balidian Town, Huzhou City, Zhejiang Province

Patentee before: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.