CN101404581B - Control method for Ethernet physical layer device - Google Patents
Control method for Ethernet physical layer device Download PDFInfo
- Publication number
- CN101404581B CN101404581B CN2007101757593A CN200710175759A CN101404581B CN 101404581 B CN101404581 B CN 101404581B CN 2007101757593 A CN2007101757593 A CN 2007101757593A CN 200710175759 A CN200710175759 A CN 200710175759A CN 101404581 B CN101404581 B CN 101404581B
- Authority
- CN
- China
- Prior art keywords
- register
- physical layer
- layer device
- mode
- phy
- 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
Links
Images
Abstract
The invention discloses a control method of an Ethernet physical layer device. The method comprises the following steps: at least one idle bit in a standard register is extended as the definition of contents related to a working mode of the physical layer device at a local terminal or capability; at least the other idle bit in the standard register is extended as the definition of the contents related to the working mode of the physical layer device at an opposite terminal or the capability; and the control and consultation between the physical layer device at the local terminal and the physical layer device at the opposite terminal are realized by the idle bit in the standard register. The method can realize the allocation and consultation of the working mode or the capability beyond the IEEE802.3 standard.
Description
Technical field
The present invention relates to the communications field, relate more specifically to a kind of control method of ethernet physical layer device.
Background technology
Physical layer device (Physical Layer Interface Device, be called for short PHY) be that each network element is connected to critical component on the physical medium, be responsible for finishing the function in interconnection reference model (OSI) the I layer, be and carry out bit transfer between the link layer entity the required machinery of physical connection, electric, opto-electronic conversion and rules means are provided.Its function comprises foundation, safeguards and removes physical circuit, realizes the transparent transmission of physical layer bit stream etc.
The component register of physical layer device is the IEEE definition, and PHY is reflected to the register the inside to own present state.The status register that medium access control (Media Access Control, be called for short MAC) layer constantly reads PHY to be to learn the state of present PHY, connection speed for example, the ability of duplex etc.Pass through configuration simultaneously, reach the purpose of control PHY the register of PHY.
In the IEEE802.3 standard, negotiation and configuration as nonstandard mode of operations such as Long Range Ethernet patterns are not defined, so can not satisfy diversified day by day application demand.
Summary of the invention
One or more problems in view of the above the invention provides a kind of control method of ethernet physical layer device.
Control method according to ethernet physical layer device of the present invention comprises: at least one idle bit in the extension standards register is the definition of the mode of operation or the ability related content of local terminal physical layer device; The mode of operation that other at least one idle bit in the extension standards register is the opposite end physical layer device or the definition of ability related content; And utilize idle bit in the standard register to realize control and negotiation between local terminal physical layer device and the opposite end physical layer device.
Wherein, mode of operation or ability related content comprise following content: with speed, half/duplex ability, auto-negotiation or pressure, the indicator light etc. of the corresponding non-standard Long Range Ethernet mode of operation of 802.3 normal operating modes.Standard register is the standard register of IEEE802.3 definition.
By the present invention, can realize negotiation and configuration to the mode of operation beyond the IEEE802.3 standard.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the simplified diagram of the relation of PHY layer and MAC layer;
Fig. 2 is the detailed maps for the relation of PHY layer and MAC layer; And
Fig. 3 is the flow chart according to the control method of the physical layer device of the embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
Illustrated in figures 1 and 2 is the relation of PHY layer and MAC layer.Wherein, the standard xMII (Media IndependentInterface, medium separate interface) by the IEEE definition connects between MAC layer and the PHY layer.The medium separate interface is the IEEE definition.MII has transmitted at the interface all data of network and the control of data.
MAC determines and then is to use serial management interface (Serial Management Interface is called for short SMI) to finish by the register of read-write PHY to the control of PHY the operating state of PHY.IEEE has defined most of register of PHY the inside, PHY is reflected to the status register the inside to the current state of oneself like this, and MAC constantly reads the status register of PHY to learn the state of present PHY by the SMI bus, speed for example, two/half worker's ability etc.Simultaneously, by the SMI interface control register of PHY is set, then can reaches the purpose of control PHY, for example the opening and closing of Flow Control, auto negotiation mode still are compulsory mode etc.
With reference to figure 3, the control method according to the ethernet physical layer device of the embodiment of the invention is described.As shown in Figure 3, the control method of this ethernet physical layer device may further comprise the steps: S302, and at least one first idle bit in the use standard register is configured the mode of operation related content of local terminal physical layer device; S304 uses at least one second idle bit in the standard register that the mode of operation related content of opposite end physical layer device is carried out record; And S306, utilize at least one first idle bit in the standard register and at least one second idle bit to realize that the mode of operation between local terminal physical layer device and the opposite end physical layer device consults, and then realize control local terminal physical layer device and opposite end physical layer device.
Wherein, the mode of operation related content comprises at least a in the following content: with the corresponding non-standard Long Range Ethernet length of 802.3 normal operating modes apart from the speed of mode of operation, long two/half worker's ability, long auto-negotiation or pressure apart from mode of operation apart from mode of operation.Standard register is the standard register of IEEE802.3 definition.
For example, the bit 0 of the bit 3 of the bit 12 of IEEE802.3 definition register 0, register 1 and register 6 is the relevant register-bit of auto-negotiation.The 12nd bit by configuration register 0 is 0 or 1, can be configured to auto negotiation mode or compulsory mode to local terminal PHY.When the 3rd bit of register 1 was 1, expression local terminal PHY was operated in auto negotiation mode, was to represent that local terminal PHY was operated in compulsory mode at 0 o'clock.Just can read and dispose the auto negotiation mode of PHY by register 0 and 1.When the 0th bit of register 6 was 1, expression opposite end PHY had the auto-negotiation ability, is 0 o'clock, and expression opposite end PHY does not have the auto-negotiation ability.Can realize negotiation with remote equipment by register 6 about the auto-negotiation ability.No matter be the MII and the SMI interface of physical connection, or the status register of PHY and control register all are the standards that IEEE is arranged, thus the MAC of different company is the same with PHY can co-ordination.
On the basis of ieee standard PHY, increased the mode of operation (mode of operation beyond the IEEE) of long distance according to the PHY (Long Range Ethernet PHY) of the embodiment of the invention, so adopt the mode of expansion PHY register, realize control, and realize auto-negotiation Long Range Ethernet PHY.Promptly choose the reservation register of IEEE802.3, define long related content (as long speed, long two/half worker's apart from mode of operation ability, long auto-negotiation or pressure etc. apart from mode of operation), thereby realize the configuration and the negotiation of particular job pattern (long) apart from mode of operation apart from mode of operation apart from mode of operation.
Now the length with Long Range Ethernet PHY is that example describes apart from 10BASE-LR.Long Range Ethernet PHY has increased the 10M of long distance, i.e. 10BASE-LR (long apart from 10M) pattern, and chosen the 0x1f register, it has been carried out expanded definition.
Wherein, the bit 4,5 of expanded definition 0x1f register is the capabilities register of complete/half-duplex 10Base-LR, when the bit 4 of 0x1f register is 1, expression Long Range Ethernet PHY has full duplex 10Base-LR ability, can be operated in long apart from full duplex 10M, when the bit 5 of 0x1f register was 1, expression Long Range Ethernet PHY had half-duplex 10Base-LR ability, can be operated in half-duplex 10M.By the bit 4,5 of configuration 0x1f register, the length that just can dispose LRE PHY is apart from the 10M ability.
In addition, the bit 10,11 of expanded definition 0x1f register is the capabilities register of complete/half-duplex 10Base-LR of opposite end PHY.When the bit 10 of 0x1f register is 1, expression opposite end PHY has full duplex 10Base-LR ability, can be operated in long apart from full duplex 10M, when the bit 5 of 0x1f register is 1, the half-duplex 10Base-LR ability that expression opposite end PHY has can be operated in half-duplex 10M.By the bit 4,5 that reads the 0x1f register, the MAC layer just can obtain the length of opposite end PHY apart from the 10M ability.
In addition, the bit 15-12 of expanded definition 0x1f register is the register of negotiation result.When the bit 15-12 of 0x1f register was 0011, expression was operated in the 10BASE-LR full-duplex mode after consulting; When the bit 15-12 of 0x1f register was 0010, expression was operated in 10 BASE-LR semiduplex modes after consulting.
By the present invention, on the basis of compatible IEEE802.3, can realize negotiation and configuration to the mode of operation beyond the IEEE802.3 standard.
The above is embodiments of the invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.
Claims (2)
1. the control method of an ethernet physical layer device is characterized in that, comprising:
At least one idle bit in the extension standards register is the definition of the mode of operation or the ability related content of local terminal physical layer device;
The mode of operation that other at least one idle bit in the extension standards register is the opposite end physical layer device or the definition of ability related content; And
Utilize idle bit in the described standard register to realize the configuration and the negotiation of mode of operation between described local terminal physical layer device and the described opposite end physical layer device or ability;
Wherein, described mode of operation or ability related content comprise following content: with speed, half/duplex ability, auto-negotiation or pressure, the indicator light of the corresponding non-standard Long Range Ethernet mode of operation of 802.3 normal operating modes.
2. control method according to claim 1 is characterized in that, described standard register is the standard register of IEEE802.3 definition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101757593A CN101404581B (en) | 2007-10-11 | 2007-10-11 | Control method for Ethernet physical layer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101757593A CN101404581B (en) | 2007-10-11 | 2007-10-11 | Control method for Ethernet physical layer device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101404581A CN101404581A (en) | 2009-04-08 |
CN101404581B true CN101404581B (en) | 2011-01-12 |
Family
ID=40538459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101757593A Active CN101404581B (en) | 2007-10-11 | 2007-10-11 | Control method for Ethernet physical layer device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101404581B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789856A (en) * | 2010-03-31 | 2010-07-28 | 杭州华三通信技术有限公司 | Method and device for automatically negotiating long-range Ethernet (LRE) working mode under condition of collineation of LRE and voice |
CN104954208A (en) * | 2015-05-06 | 2015-09-30 | 深圳市吉祥腾达科技有限公司 | Method and system for extending data transmission distance of Ethernet switch |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1946086A (en) * | 2006-10-27 | 2007-04-11 | 杭州华为三康技术有限公司 | Transmission method and device for supporting non-standard speed rate |
CN1957422A (en) * | 2004-05-26 | 2007-05-02 | 飞思卡尔半导体公司 | Automatic hidden refresh in a DRAM and method therefor |
-
2007
- 2007-10-11 CN CN2007101757593A patent/CN101404581B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1957422A (en) * | 2004-05-26 | 2007-05-02 | 飞思卡尔半导体公司 | Automatic hidden refresh in a DRAM and method therefor |
CN1946086A (en) * | 2006-10-27 | 2007-04-11 | 杭州华为三康技术有限公司 | Transmission method and device for supporting non-standard speed rate |
Also Published As
Publication number | Publication date |
---|---|
CN101404581A (en) | 2009-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101425948B (en) | Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method | |
CN109067556B (en) | System and method for power saving Ethernet with asymmetric traffic profiling | |
WO2003049370A3 (en) | Havi-upnp bridging | |
CN101404581B (en) | Control method for Ethernet physical layer device | |
CN108418904A (en) | Ethernet communication control device and fully-mechanized mining working communication network | |
CN101360116B (en) | Communication negotiation method, system of physical layer chip and a physical layer chip thereof | |
CN102501862B (en) | Network with vehicle-mounted display screen as core | |
CN110888831B (en) | Multi-power domain asynchronous communication device | |
CN103581163A (en) | Multifunctional remote I/O port control server and design method thereof | |
CN116074397A (en) | Data sharing system | |
CA2445842A1 (en) | Home networking gateway | |
CN216351920U (en) | Programmable logic controller PLC and programmable logic controller PLC system | |
CN202331173U (en) | Industrial controller and industrial network control system | |
CN206620162U (en) | A kind of RapidIO and Ethernet modular converter | |
CN103179012A (en) | FlexRay network node adopting iCoupler magnetic isolation protecting measures | |
US20040098139A1 (en) | Electronic apparatus for a bus system | |
CN201897715U (en) | Digital output board based on FT3150 | |
CN201754231U (en) | FT3150-based digital quantity input card | |
CN214900922U (en) | Lighting protocol conversion device | |
CN216905147U (en) | Multifunctional communication base station | |
CN2857340Y (en) | Photoelectric converter of 650nm plastic fiber glass transmission system | |
CN220254522U (en) | Vehicle-mounted Ethernet and common Ethernet communication switching circuit and Ethernet communication system | |
CN201754587U (en) | MOSFET output card based on FT3150 | |
CN201754228U (en) | FT3150-based analog quantity output card | |
CN214799502U (en) | POE (Power over Ethernet) switch with USB (Universal Serial bus) charging port |
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 |