CN101355589B - Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment - Google Patents

Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment Download PDF

Info

Publication number
CN101355589B
CN101355589B CN200810214096.6A CN200810214096A CN101355589B CN 101355589 B CN101355589 B CN 101355589B CN 200810214096 A CN200810214096 A CN 200810214096A CN 101355589 B CN101355589 B CN 101355589B
Authority
CN
China
Prior art keywords
ethernet
ethernet device
interface
mac
operating state
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
CN200810214096.6A
Other languages
Chinese (zh)
Other versions
CN101355589A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810214096.6A priority Critical patent/CN101355589B/en
Publication of CN101355589A publication Critical patent/CN101355589A/en
Application granted granted Critical
Publication of CN101355589B publication Critical patent/CN101355589B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention relates to Ethernet equipment, an Ethernet communication system and a method for configuring the Ethernet equipment, wherein the Ethernet equipment and other Ethernet equipment carry out the interaction and/or negotiation of the speed and a working mode of a data stream by a management interface device; the Ethernet equipment configures a working state of an MAC interface of the Ethernet equipment and the working frequency of an external clock generation device by the management interface device; the Ethernet equipment and other Ethernet equipment realize the interaction between a state message and a control signal through controlling a state connecting device; the Ethernet equipment receives a clock signal from the external clock generation device through a clock interface device; and the Ethernet equipment and other Ethernet equipment realize the data communication of the Ethernet through a data wire connecting device based on a result of the interaction and/or negotiation of the speed and the working mode of the data stream, the working states of the MAC interface of the Ethernet equipment and the MAC interface of other Ethernet equipment and the working frequency of the external clock generation device.

Description

The collocation method of ethernet device, ethernet communication system and ethernet device
Technical field
The present invention relates to communication system, particularly, relate to the collocation method of a kind of ethernet device, ethernet communication system and ethernet device.
Background technology
In modern communication and computer equipment, be widely used ethernet technology, various CPU (Central Processor Unit, referred to as CPU), network processing unit, exchange chip all provide Ethernet interface for interconnecting.
According to transmission control protocol/Internet protocol (Transmission ControlProtocol/Internet Protocol, referred to as TCP/IP) model, Ethernet is divided into application layer, transport layer, network layer and host-to-network layer, and host-to-network layer can be divided into data link layer and physical layer again.Ethernet port according to TCP/IP modelling connects in physical layer.
The data link layer of Ethernet comprises logic link control (Logical Link Control, referred to as LLC) sublayer and media interviews control (Media Access Control, referred to as MAC) sublayer.In IEEE802.3 consensus standard, MAC is exactly media access controller, and between LLC and physical layer, and MAC can, separately as a sublayer, like this, just can not affect because of the change of media access method the agreement of higher level.
MAC is comprised of data dismounting and two modules of media interviews management, and its major function has been encapsulation, deblocking, the sending and receiving of Frame.The Ethernet interface of the Ethernet related chips such as CPU, network processing unit and exchange chip is generally referred to as MAC interface, conventionally, between the MAC of two ethernet devices interface, can realize ethernet physical layer by connecting PHY (physic) chip.
The function of PHY chip is the parallel data signal serialization that data link layer is transmitted, and then for example, according to the coding rule of physical layer (, 4B/5B etc.), encodes, and is finally converted to the differential signal that is adapted at transmitting on twisted-pair feeder.
Traditional the interconnected of device interior Ethernet interface all realized in physical layer,, realizes the function of physical layer by connecting PHY chip that is, according to the coupled modes of interconnected signal, is divided into again following two kinds of modes.
Mode one, transformer interconnection mode.Fig. 1 shows the situation that realizes connection between Ethernet network interface with transformer interconnection mode in physical layer, as shown in Figure 1, the MAC interface of protocol processor and network processing unit is an external PHY chip all, and PHY chip couples a signal on the PHY chip of opposite end by transformer.The interface that MAC interface is connected with PHY chip is MII interface, and this interface is commonly called Media Independent Interface.The advantage of this connected mode is that antijamming capability is strong, and transmission range is long, and still, its shortcoming is that volume of transformer is excessive, and the area that takies printed circuit board (PCB) (Printed Circuit Board, referred to as PCB) is larger, and cost is very high.
Mode two, capacitor interconnection mode.Fig. 2 shows the situation that realizes connection between Ethernet network interface with capacitor interconnection mode in physical layer, as shown in Figure 2, the MAC interface of protocol processor and network processing unit is an external PHY chip all, and PHY chip couples a signal on the PHY chip of opposite end by electric capacity.With respect to mode one, the advantage of mode two has been to save isolating transformer, reduced occupy PCB area, reduced cost, therefore, the interconnection mode of device interior Ethernet network interface mainly adopts mode two at present.But may there is problem that can not be compatible during by capacitive coupling in the PHY chip that the shortcoming of mode two is different manufacturers, in this case, just must be by the interconnected mode (mode one) of transformer.
Can find out, the connected mode of above-mentioned these two kinds of Ethernet network interfaces all realizes in physical layer, and its advantage is that anti-interference is stronger, and shortcoming to be the power consumption that cost is higher, PHY chip increases system that connects and transformer and electric capacity will take PCB area.Like this, the equipment for some restriction costs and power consumption, is just not suitable for adopting above-mentioned two kinds of connected modes.
For above-mentioned, at same device interior, the cost that exists in the interconnection technique between Ethernet network interface is high, take the large and high problem of power consumption of PCB area, not yet proposes at present effective solution.
Summary of the invention
Consider that the cost existing in the interconnection technique between Ethernet network interface in correlation technique is high, take the large and high problem of power consumption of PCB area and make the present invention, for this reason, main purpose of the present invention is to provide the collocation method of a kind of ethernet device, ethernet communication system and ethernet device.
According to an aspect of the present invention, provide a kind of ethernet device, it is the MAC interface that MAC interface is connected to other ethernet device by its media access control interface that this equipment is used for.
Ethernet device according to the present invention comprises management interface device, control and stateful connection device, clock interface device and data wire jockey, wherein,
This ethernet device and other ethernet device are carried out the mutual of streaming rate and working method and/or are consulted by management interface device, and this ethernet device by management interface device, configure this ethernet device MAC interface operating state and be configured for the operating frequency that this ethernet device is provided to the external clock generating means of clock signal;
This ethernet device and other ethernet device are realized the mutual of state information and control signal by control and stateful connection device;
This ethernet device receives the clock signal from external clock generating means by clock interface device, and clock interface device is also for providing clock signal to management interface device, control and stateful connection device and data wire jockey;
This ethernet device is realized based on mutual and/or result, the MAC interface of this ethernet device and the operating state of the MAC interface of other ethernet device of negotiation of streaming rate and working method and the Ethernet data of the operating frequency of external clock generating means and being communicated by letter by data wire jockey with other ethernet device.
Wherein, in the situation that there is shared data space in the system at this ethernet device and other ethernet device place, this ethernet device is by pre-stored configuration data in management interface device accessing shared data space, to configure operating state and the streaming rate of the MAC interface of this ethernet device.
Wherein, in the situation that there is not shared data space in the system at this ethernet device and other ethernet device place, this ethernet device is notified the operating state of its expectation to other ethernet device, the operating state that receives other ethernet device expectation of other ethernet device notice, the operating state of notifying in response to other ethernet device and is sent feedback information, receives the feedback information from other ethernet device by management interface device.
According to another aspect of the present invention, provide a kind of ethernet communication system.
Ethernet communication system according to the present invention comprises the first ethernet device and the second ethernet device connecting by MAC interface, and wherein, the first ethernet device and the second ethernet device are above-mentioned according to ethernet device of the present invention, wherein,
The management interface device of the first ethernet device is connected with the management interface device of the second ethernet device;
The control of the first ethernet device and stateful connection device are connected with control and the stateful connection device of the second ethernet device;
The data wire jockey of the first ethernet device is connected with the data wire jockey of the second ethernet device;
And this ethernet communication system further comprises:
External clock generating means, be connected to the clock interface device of the first ethernet device and the clock interface device of the second ethernet device, and be connected to the management interface device of the first ethernet device or the management interface device of the second ethernet device, for providing clock signal according to the operating frequency of the MAC interface of the operating frequency of the MAC interface of the first ethernet device and the second ethernet device to a MAC interface and the 2nd MAC interface.
And this ethernet communication system further comprises:
Share data memory module, be connected to the management interface device of the first ethernet device and the management interface device of the second ethernet device, for storing operating state and the required configuration information of streaming rate of the first ethernet device and the second ethernet device configuration MAC interface separately.
In addition, the first ethernet device and the second ethernet device notify the operating state of expectation separately to the other side, and in response to the operating state of the other side's notice, feedback information are notified to the other side.
Preferably, the operating frequency of clock generating device support is 2.5MHz and/or 25MHz.
According to a further aspect of the invention, provide a kind of collocation method of ethernet device, for carrying out the configuration of ethernet device in above-mentioned ethernet communication system.
According to the collocation method of ethernet device of the present invention, comprise:
Judge whether to exist operating state and the required configuration information of streaming rate of the first ethernet device and the second ethernet device configuration MAC interface separately;
In the situation that being judged as YES, the first ethernet device and the second ethernet device are configured according to configuration information;
In the situation that being judged as NO, the first ethernet device and the second ethernet device are carried out the streaming rate of both sides MAC interface and the mutual and/or negotiation of working method and are carried out respectively the configuration of the operating frequency of MAC interfaces state and external clock generating means by interconnective management interface device.
Wherein, the 2.5MHz supporting according to external clock generating means and the operating frequency of 25MHz configuring external clock generating device.
By technique scheme of the present invention, by redefining MAC interface, can on MAC layer, realize reliable and effective exchanges data, solved in correlation technique, in physical layer, realize the InterWorking Equipment cost that exchanges data brings high, take the large and high problem of power consumption of PCB area.
accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the schematic diagram of the mode one connecting in physical layer between the Ethernet network interface of correlation technique;
Fig. 2 is according to the schematic diagram of the mode two connecting in physical layer between the Ethernet network interface of correlation technique;
Fig. 3 is according to the simplified diagram of the connected mode of ethernet communication system of the present invention;
Fig. 4 A is according to the block diagram of the ethernet device of present device embodiment;
Fig. 4 B is the block diagram of the ethernet device of preferred equipment embodiment according to the present invention;
Fig. 5 is the block diagram of the ethernet communication system of the optimum decision system embodiment according to the present invention;
Fig. 6 is the process chart of configuration effort state in the ethernet communication system of system according to the invention embodiment;
Fig. 7 is the block diagram of the ethernet communication system of the optimum decision system embodiment according to the present invention;
Fig. 8 is according to the process chart of the collocation method of the ethernet device of the inventive method embodiment;
Fig. 9 is according to the collocation method of the ethernet device of the inventive method embodiment process chart in actual applications.
Embodiment
Functional overview
The present invention is directed to the InterWorking Equipment between Ethernet network interface in correlation technique and have cost height and the high problem of power consumption, proposed a kind of ethernet device and communication system.Wherein, this communication system can by management interface obtain or negotiation communication internal system ethernet device between suitable working method, can transmit data reliable and stablely, thereby in the situation that not needing by physical layer, just can realize both sides' mutual communication, provide cost savings, reduced power consumption.
The thinking below the present invention being proposed is carried out brief description.
As mentioned above, media access control (Media Access Control, referred to as MAC) major function be encapsulation, deblocking, the sending and receiving of Frame, in correlation technique, between the MAC interface of two equipment, can realize the physical layer (as depicted in figs. 1 and 2) of Ethernet by connecting PHY (physic) chip, thereby between MAC interface, carry out exchanges data.
The effect of ethernet physical layer is Physical Coding Sublayer (the PhysicalCoder Sublayer of the Ethernet of realization, referred to as PCS), physical medium access (Physical Media Access, referred to as PMA) relevant (the Physical Media Dependent in sublayer, physical medium, referred to as PMD) sublayer and medium dependent interface (Media Dependent Interface, referred to as MDI) sublayer.
More specifically, the major function of ethernet physical layer has following three: first, the parallel data of MAC interface being sent here at transmitting terminal is converted to the differential analog signal that is adapted at transmitting on twisted-pair feeder, at receiving terminal, differential analog signal is reverted to parallel data and gives MAC; The second, rate adaptation function, PHY signal is supported by hardware and corresponding agreement, can be gone out speed and the full duplex half-duplex mode of communication by auto negotiation; The 3rd, according to the data on circuit, recover clock, and this clock is offered to MAC as the work clock that data occur and receive.
At same device interior, distance between Ethernet interface is not far away especially, can between Ethernet interface, connect by PCB cabling, like this, even the parallel-serial conversion that device interior does not have PHY to provide, encoding and decoding and driving function, the Ethernet data of device interior also can be received and dispatched normally, that is to say, by PCB cabling, connected MAC interface and by physical layer, also can not realize the exchanges data between MAC interface, but, in this case, must provide a suitable clock generating device to replace the clock recovery function of PHY, the normal exchange of guarantee data like this.
From the cost-saving angle with reducing power consumption, at same device interior, to directly at MAC layer, carry out exchanges data, rather than realize exchanges data by physical chip, and, guarantee that connected both sides can normally work, and need to consider following problem:
The first, between MAC interface, need a work clock to control digital received and sent;
The second, between MAC interface, suitable working method should be set, comprise the parameter configuration of carrying out communication speed and full duplex half-duplex state;
The 3rd, between MAC interface, should correctly transmit data, control and status signal.
Based on above consideration, the present invention proposes a kind of ethernet device and communication system, for carry out exchanges data on MAC layer at device interior.Fig. 3 shows the concise and to the point connected mode according to ethernet communication system of the present invention, as shown in Figure 3, on MAC interface, directly on MAC layer, realize the exchange of data,, on MII interface, directly realize exchanges data, rather than in physical layer, carry out exchanges data.
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail.
Apparatus embodiments
Fig. 4 A is according to the block diagram of the ethernet device of present device embodiment, as shown in Figure 4 A, according to the ethernet device of present device embodiment, comprise clock interface device 402, data wire jockey 404, control and stateful connection device 406 and management interface device 408.
Below above-mentioned module is elaborated.
The clock signal that this ethernet device receives from external clock generating means (not shown in Fig. 4 A) by clock interface device 402, clock interface device 402 is also for providing clock signal to management interface device 408, control and stateful connection device 406 and data wire jockey 404.
This ethernet device is realized based on mutual and/or result, the MAC interface of this ethernet device and the operating state of the MAC interface of other ethernet device of negotiation of streaming rate and working method and the Ethernet data of the operating frequency of external clock generating means and being communicated by letter by data wire jockey 404 with other ethernet device.
This ethernet device and other ethernet device are realized the mutual of state information and control signal by control and stateful connection device 406.
This ethernet device and other ethernet device are carried out the mutual of streaming rate and working method and/or are consulted by management interface device 408, and the operating state of this ethernet device by the MAC interface of management interface device 408 these ethernet devices of configuration and be configured for the operating frequency that this ethernet device is provided to the external clock generating means of clock signal.
Below the interaction process process of above-mentioned intermodule is described.
When being connected with other ethernet device at this ethernet device and carrying out exchanges data, first to link up the job information of both sides' equipment, and in the situation that determining that through negotiation both sides receive certain working method, both sides' equipment all this working method is set to working method.Like this,
In the situation that there is shared data space (not shown this shared data space in Fig. 4 A) in the system at this ethernet device and other ethernet device place, this ethernet device is by pre-stored configuration data in management interface device 408 accessing shared data spaces, to configure operating state and the data rate of the MAC interface of this ethernet device;
In the situation that there is not shared data space in the system at this ethernet device and other ethernet device place, this ethernet device is sent the operating state of its expectation feedback information, receives the feedback information from other ethernet device to other ethernet device, the operating state that receives other ethernet device expectation of other ethernet device notice, the operating state of notifying in response to other ethernet device by management interface device 408 notices.
Secondly, after being provided with the working method of both sides' ethernet device, just can between ethernet device, carry out exchanges data.Control and stateful connection device 406 are controlled data wire jockeys 404 and are carried out the startup of data transmission and stop, the control that data wire jockey 404 sends in response to the log-on data of controlling and stateful connection device 406 sends, the clock signal of reference clock interface arrangement 402 outputs, sends to opposite end ethernet device by data.
Below the preferred embodiments of the present invention are described.
Fig. 4 B is the block diagram of the ethernet device of preferred equipment embodiment according to the present invention, and as shown in Figure 4 B, ethernet device comprises: clock interface device 402, data wire jockey 404, control and stateful connection device 406 and management interface device 408.
Above-mentioned module further comprises with lower port.
Clock interface device 402 comprises TXC4022 and these two ports of RXC4044, and TXC4022 port is the work clock that sends data, and RXC4044 is the work clock that receives data, these two clocks can synchronous working also can asynchronous work.
Data wire jockey 404 comprises TX[3:0] 4042 and RX[3:0] 4044 ports, these two ports are connected with the data wire jockey of the other side's ethernet device, TX[3:0] 4042 ports are used for sending Ethernet data message, RX[3:0] 4044 ports are used for receiving Ethernet data message.TX[3:0] 4042 with RX[3:0 in data wire jockey in the other side's ethernet device] be connected, the order of each the clock cycle 4bit sending by clock interface device 402 sends datagram to the other side's ethernet device successively; RX[3:0] 4044 with TX[3:0 in data wire jockey in the other side's ethernet device] be connected, the order of each the clock cycle 4bit sending by clock interface device 402 receives the data message that the other side's ethernet device sends over successively.
Control and stateful connection device 406 comprise transmission data beginning energy (TXEN) 4062, transmission error in data (TXER) 4064, effective (RXDV) 4066 of reception data, reception error in data (EXER) 4068, carrier sense signal (CRS) 4070, collision sensing signal (COL) 4072 these 6 ports, for controlling the startup of data flow and stopping, detect data collision, detected carrier signal, misdirection information.RXDV in the control of TXEN4062 and the other side's ethernet device and stateful connection device (being designated hereinafter simply as " the other side's ") is connected, when TXEN4062 is effective, TX[3:0] 4042 ports start to send data, now when the other side's RXDV is effective, the other side's RX[3:0] end starts to receive data.TXER4064 and the other side's RXER is connected, and when TXER4064 is effective, represents TX[3:0] data that send of 4042 ends are wrong, now when the other side's RXER is effectively, the other side's RX[3:0] end stops receiving data.Because ethernet device according to the present invention is connected with other ethernet device by point to point system, so can not there is sending data collision, therefore COL4072 is connect to level "0", and, because this ethernet device does not connect PHY device, so there is not carrier signal, therefore CRS4070 connect to level "0".
In Fig. 4 B, the interaction process process of intermodule, with identical with reference to the processing procedure described in Fig. 4 A, is not repeating.
By technique scheme, a kind of ethernet device is provided, can on MAC layer, realize for the exchanges data of device interior Ethernet interface.
System embodiment
According to the embodiment of the present invention, also provide a kind of ethernet communication system.
Fig. 5 shows the ethernet communication system of system according to the invention embodiment.As shown in Figure 5, ethernet communication system according to the present invention comprises the first ethernet device 51 and the second ethernet device 52, the first ethernet device 51 is connected by MAC interface with 52 of the second ethernet devices, wherein, the first ethernet device 51 and the second ethernet device 52 can be all the ethernet device shown in Fig. 4.
Below annexation and the processing procedure of 52 of the first ethernet device 51 in ethernet communication system and the second ethernet devices are elaborated.
The port that the first ethernet device 51 and the second ethernet device are 52 carries out connection as described below.
As shown in Figure 5, the data wire jockey 5112 of the first ethernet device 51 is connected with the data wire jockey 5212 of the second ethernet device 52, carries out data interaction;
The control of the first ethernet device 51 and stateful connection device 5113 are connected with control and the stateful connection device 5213 of the second ethernet device 52, carry out data and send the control that starts and stop;
The management interface device 5114 of the first ethernet device 51 is connected 5214 with the management interface device of the second ethernet device 52, carries out negotiation and definite work of work state information and work clock therebetween;
And this ethernet communication system further comprises clock generating device 53 and shared data memory module 54.
Clock generating device 53, be connected to the clock interface device 5111 of the first ethernet device 51 and the clock interface device 5211 of the second ethernet device 52, and be connected to the management interface device 5114 of the first ethernet device 51 or the management interface device 5214 of the second ethernet device 52, for providing clock signal according to the operating frequency of the MAC interface of the operating frequency of the MAC interface of the first ethernet device 51 and the second ethernet device 52 to a MAC interface and the 2nd MAC interface.And the operating frequency that clock generating device 53 is supported is 2.5MHz and/or 25MHz.
Share data memory module 54, the management interface device 5214 of the management interface device 5114 of the first ethernet device 51 and the second ethernet device 52, for storing operating state and the required configuration information of data rate of the first ethernet device 51 and the second ethernet device 52 configurations MAC interface separately.
In addition, the first ethernet device 51 and the second ethernet device 52 notify the operating state of expectation separately to the other side, and in response to the operating state of the other side's notice, feedback information are notified to the other side.
Describe the handling process that configures the operating state between the first ethernet device 51 and the second ethernet device 52 in ethernet communication system below in detail.
System based on shown in Fig. 5, Fig. 6 shows the handling process of configuration effort state in the ethernet communication system of system according to the invention embodiment, and as shown in Figure 6, concrete processing procedure comprises the steps.
Step 601a, in ethernet communication system, exist in the situation of shared data space, the first ethernet device 51 is by pre-stored configuration data in management interface device 5114 accessing shared data memory modules 54, that is, and and the pre-configured information about operating state;
Step 601b, the in the situation that of there is not shared data space in ethernet communication system, whether first ethernet device 51 inquiry the second ethernet devices 52 receive the operating state of the expectation of the first ethernet device 51, , the first ethernet device 51 is the management interface device 5214 transmission apply for information to the second ethernet device 52 by management interface device 5114, if the second ethernet device 52 is accepted the operating state that the first ethernet device 51 is inquired, determine that this operating state is set to the operating state of the first ethernet device 51 and the second ethernet device 52, if do not received, the first ether equipment 51 inquires whether receive the second working method or lower working method successively to the second ether equipment, in the situation that the second ethernet device 52 is accepted the operating state that the first ethernet device 51 is inquired, determine that this operating state is set to the operating state of the first ethernet device 51 and the second ethernet device 52,
Step 602, according to determined operating state in step 601a or 601b, arranges the operating frequency of clock generating device 53;
Step 603a and 603b, respectively according to determined operating state in step 601a or 601b, arrange the operating state of the first ethernet device 51 and the second ethernet device 52;
Step 604a, clock generating device 53 is the first ethernet device clock that shares out the work;
Step 604b, clock generating device 53 is the second ethernet device clock that shares out the work.
It should be noted that, in above-mentioned steps 601a and 601b, be all the work of inquiry and interrogation mode of being initiated by the first ethernet device 51, this work also can be initiated by the second ethernet device 52, and, between step 602 and step 603a, 603b, there is no precedence.
By above-mentioned ethernet communication system, can make the exchanges data of device interior Ethernet interface realize on MAC layer.
Below the preferred embodiments of the present invention are described.
Fig. 7 shows the ethernet communication system of the optimum decision system embodiment according to the present invention, as shown in Figure 7, according to the present invention the ethernet communication system of optimum decision system embodiment comprise the first above-mentioned ethernet device with the second ethernet device (can with reference to figure 4A, Fig. 4 B).
According to the present invention, in the ethernet communication system of optimum decision system embodiment, the structure of the first ethernet device and the second ethernet device and annexation and operating state setting up procedure therebetween as mentioned above, no longer repeat.
As shown in Figure 7, in the ethernet communication system that ethernet device as shown in Figure 4 B forms, clock generating device 73 can comprise again crystal oscillator 731 and Clock dividers 732.Crystal oscillator 731 is for generation of the 25MHz clock of standard, Clock dividers 732 is changed to 4 and the identical 25MHz of input or 2.5MHz work clock by this 25MHz clock, they give respectively TXC and the RXC of the TXC of the first ether equipment 71 and RXC, the second ether equipment 72, and MAC just can obtain stable work clock like this.When MAC is operated in 100M speed, Clock dividers output Si road 25MHz clock, when MAC is operated in 10M speed, Clock dividers output Si road 2.5MHz clock.The speed of the consequence devised clock that the first ethernet device 71 (or second ethernet device 72) is consulted according to MAC operating rate.
Below embodiment of the method for the present invention is elaborated.
Embodiment of the method
According to embodiments of the invention, a kind of collocation method of ethernet device is also provided, the method can be for carrying out the configuration of ethernet device in above-mentioned ethernet communication system (with reference to figure 5).
Fig. 8 shows according to the process chart of the collocation method of the ethernet device of the inventive method embodiment, as shown in Figure 8, according to the handling process of the collocation method of the ethernet device of the inventive method embodiment, comprises the following steps:
Step S802, judges whether the operating state and the required configuration information of data rate that exist the first ethernet device and the second ethernet device to configure MAC interface separately;
Step S804A, in the situation that being judged as YES, the first ethernet device and the second ethernet device are configured according to configuration information;
Step S804B, in the situation that being judged as NO, the first ethernet device and the second ethernet device are carried out the streaming rate of both sides MAC interface and the mutual and/or negotiation of working method and are carried out respectively the configuration of the operating frequency of MAC interfaces state and external clock generating means by interconnective management interface device.
According to this technical scheme, can the working method between the ethernet device in ethernet communication system (with reference to figure 5) be configured.
Fig. 9 shows according to the collocation method of the ethernet device of the inventive method embodiment handling process in actual applications, as shown in Figure 9, comprises following processing procedure:
S901, judges whether to have the MAC work state information of making an appointment, in the situation that being judged as YES, and execution step S906, otherwise execution step S902;
S902, the ethernet device in system is notified the operating state of this equipment expectation to the other side (supposing, when carrying out the notice of operating state each time, to notify with expected degree order from high to low) here by management interface;
S903, reception the other side's feedback information;
S904, judges whether the other side's feedack represents that the other side supports the operating state of this equipment notice; In the situation that feedback information represents that the other side supports the operating state of this equipment expectation, carry out S905, confirmation is sent to disconnected equipment by management interface device, carry out afterwards S906; Otherwise return to step S902, the operating state of this equipment second expectation is notified to method, apparatus;
S906, sets MAC and clock according to the configuration information of operating state.
According to this technical scheme, can the working method between the ethernet device in ethernet communication system (with reference to figure 5) be configured.
In sum, by technical scheme of the present invention, by ethernet device provided by the invention and ethernet communication system, can carry out direct interconnection and configure the operating state of MAC interface at MAC layer, make the Ethernet interface of device interior not need physical layer just can communicate with one another, thereby greatly provide cost savings, reduced power consumption, avoided PHY device to take the problem of PCB; And ethernet device provided by the invention and communication system are obtained or negotiated operating rate and the full-duplex/half-duplex working method that communication two party is suitable by management channels, guaranteed that Ethernet two ends can reliablely and stablely carry out transfer of data.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. an ethernet device, for being the MAC interface that MAC interface is connected to other ethernet device by its media access control interface, it is characterized in that, described ethernet device comprises management interface device, control and stateful connection device, clock interface device and data wire jockey, wherein
Described ethernet device and described other ethernet device are carried out the mutual of streaming rate and working method and/or are consulted by described management interface device, and described ethernet device by described management interface device, configure described ethernet device MAC interface operating state and be configured for the operating frequency that described ethernet device is provided to the external clock generating means of clock signal;
Described ethernet device and described other ethernet device are realized the mutual of state information and control signal by described control and stateful connection device;
Described ethernet device receives the clock signal from described external clock generating means by described clock interface device, and described clock interface device is also for providing described clock signal to described management interface device, described control and stateful connection device and described data wire jockey;
Described ethernet device is realized based on mutual and/or result, the MAC interface of described ethernet device and the operating state of the MAC interface of described other ethernet device of negotiation of described streaming rate and described working method and the Ethernet data of the operating frequency of described external clock generating means and being communicated by letter by described data wire jockey with described other ethernet device.
2. equipment according to claim 1, it is characterized in that, in the situation that there is shared data space in the system at described ethernet device and described other ethernet device place, described ethernet device is accessed configuration data pre-stored in described shared data space by described management interface device, to configure operating state and the streaming rate of the MAC interface of described ethernet device.
3. equipment according to claim 1, it is characterized in that, in the situation that there is not shared data space in the system at described ethernet device and described other ethernet device place, described ethernet device is notified the operating state of its expectation to described other ethernet device, the operating state that receives described other ethernet device expectation of described other ethernet device notice, the described operating state of notifying in response to described other ethernet device and is sent feedback information, receives the feedback information from described other ethernet device by described management interface device.
4. an ethernet communication system, comprise the first ethernet device and the second ethernet device that by MAC interface, connect, wherein, described the first ethernet device and described the second ethernet device are according to the ethernet device described in any one in claims 1 to 3, it is characterized in that
The management interface device of described the first ethernet device is connected with the management interface device of described the second ethernet device;
The control of described the first ethernet device and stateful connection device are connected with control and the stateful connection device of described the second ethernet device;
The data wire jockey of described the first ethernet device is connected with the data wire jockey of described the second ethernet device;
Described ethernet communication system further comprises:
External clock generating means, be connected to the clock interface device of described the first ethernet device and the clock interface device of described the second ethernet device, and be connected to the management interface device of described the first ethernet device or the management interface device of described the second ethernet device, for providing clock signal according to the operating frequency of the MAC interface of the operating frequency of the MAC interface of described the first ethernet device and described the second ethernet device to a described MAC interface and described the 2nd MAC interface.
5. system according to claim 4, is characterized in that, further comprises:
Share data memory module, be connected to the management interface device of described the first ethernet device and the management interface device of described the second ethernet device, for storing operating state and the required configuration information of streaming rate of described the first ethernet device and described the second ethernet device configuration MAC interface separately.
6. system according to claim 4, is characterized in that, described the first ethernet device and described the second ethernet device notify the operating state of expectation separately to the other side, and in response to the operating state of the other side's notice, feedback information is notified to the other side.
7. system according to claim 4, is characterized in that, the operating frequency of described clock generating device support is 2.5MHz and/or 25MHz.
8. a collocation method for ethernet device, for according to carrying out the configuration of ethernet device in the ethernet communication system described in claim 4 to 7 any one, is characterized in that, described method comprises:
Judge whether to exist operating state and the required configuration information of streaming rate of the first ethernet device and the second ethernet device configuration MAC interface separately;
In the situation that being judged as YES, described the first ethernet device and described the second ethernet device are configured according to described configuration information;
In the situation that being judged as NO, described the first ethernet device and described the second ethernet device are carried out the streaming rate of both sides MAC interface and the mutual and/or negotiation of working method and are carried out respectively the configuration of the operating frequency of MAC interfaces state and external clock generating means by interconnective management interface device.
9. method according to claim 8, is characterized in that, configures the operating frequency of described external clock generating means according to the 2.5MHz of described external clock generating means support and 25MHz.
CN200810214096.6A 2008-08-28 2008-08-28 Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment Active CN101355589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810214096.6A CN101355589B (en) 2008-08-28 2008-08-28 Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810214096.6A CN101355589B (en) 2008-08-28 2008-08-28 Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment

Publications (2)

Publication Number Publication Date
CN101355589A CN101355589A (en) 2009-01-28
CN101355589B true CN101355589B (en) 2014-03-19

Family

ID=40308177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810214096.6A Active CN101355589B (en) 2008-08-28 2008-08-28 Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment

Country Status (1)

Country Link
CN (1) CN101355589B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209014A (en) * 2011-06-01 2011-10-05 珠海市佳讯实业有限公司 Device for implementing inband management of multiple interconnected devices E1 in Ethernet mode
CN105262789A (en) * 2015-09-08 2016-01-20 天津光电聚能专用通信设备有限公司 FPGA (Field Programmable Gate Array)-based MAC (Media Access Control) layer to MAC layer communication system and control method
CN106571903A (en) * 2015-10-08 2017-04-19 深圳市中兴微电子技术有限公司 Communication method and system between chips
CN106100128B (en) * 2016-07-27 2018-06-19 国网江苏省电力有限公司常州供电分公司 Monitoring device is isolated in active power distribution network intelligent terminal accumulator
CN106788566B (en) * 2016-12-30 2022-08-09 合肥国为电子有限公司 Transceiver with continuously variable chip rate based on Ethernet physical layer and transmission method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1711724A (en) * 2002-11-07 2005-12-21 英特尔公司 System, method and device for autonegotiation
CN1946086A (en) * 2006-10-27 2007-04-11 杭州华为三康技术有限公司 Transmission method and device for supporting non-standard speed rate

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1711724A (en) * 2002-11-07 2005-12-21 英特尔公司 System, method and device for autonegotiation
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
CN101355589A (en) 2009-01-28

Similar Documents

Publication Publication Date Title
US8769082B2 (en) Method and system for PHY initiated wake-up in energy efficient ethernet networks
EP2184890B1 (en) Method and system for control of energy efficiency and associated policies in a physical layer device
US8385237B2 (en) Method and system for simplex or duplex transmission mode of an ethernet link in an energy efficient network
US8982753B2 (en) Method and system for low latency state transitions for energy efficiency
CN108011694B (en) A kind of efficient data exchange method based on FC
US8199770B2 (en) Method and system for asymmetric operation in a network node in an energy efficient ethernet network
US20100111081A1 (en) Method And System For Physical Signaling Between A Higher Layer And A PHY To Manage Energy Efficient Network Devices And/Or Protocols
EP1775884B1 (en) Apparatus and method of remote physical layer auto-negotiation
US20120327806A1 (en) Method and System for Reducing Transceiver Power Via a Variable Number of Channels
US20090154500A1 (en) Method And System For Energy Efficient Signaling For 100MBPS Ethernet Using A Subset Technique
CN101355589B (en) Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment
US9455912B2 (en) Method and system for a distinct physical pattern on an active channel to indicate a data rate transition for energy efficient ethernet
CN201821380U (en) Equipment for conversion among multiple protocols
US9014017B2 (en) Method and system for associating physical link partners using a layer two mechanism
CN101453356A (en) Computer switch and method thereof for matching with multiple servers
JP2009527934A (en) Method and apparatus for transmitting medium busy signal to other devices
CN217216925U (en) Gateway and communication system
CN111884987B (en) Electronic device and method for electronic device
US6912210B1 (en) Data communication system and communication device used
CN104917704A (en) Method and system for multiplexing 10GBase-R PCSs and 40GBase-R PCSs in the same architecture
CN220915288U (en) Intelligent gateway, external device, host device and system
CN102368754A (en) S3C6410-based embedded gateway
CN218679108U (en) Gateway device and industrial control system
CN220043437U (en) Multi-path ARINC-429 bus control system
CN117938571A (en) Communication control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant