Embodiments of the present invention relate to the field of communications technologies, and more specifically, relate to a transmission apparatus, a connection device, and a method.
In the Ethernet technology, a MAC (Medium Access Control, Medium Access Control) layer is located at a data link layer; and sublayers such as PCS (Physical Coding Sublayer, physical coding sublayer), FEC (Forward Error Correction, forward error correction), PMA (Physical Medium Attachment, physical medium attachment), and PMD (Physical Medium Dependent, physical medium dependent) are located at a physical layer. Interconnection between the data link layer and the physical layer is implemented by an MII (Media Independent Interface, media independent interface) electrical interface. One Mac address identifies one Ethernet port, and one MAC port is connected to one physical layer interface by using a corresponding MII.
To meet an increasing demand on a network data traffic speed, a rate of a MAC port continuously increases. The rate of a MAC port rate increases by tenfold. For example, the rate of a MAC port (the rate of a MAC port is determined by bandwidth of a physical layer interface) continuously evolves from 10 Mbps to 100 Mbps, 1 Gbps, 10 Gbps, and 100 Gbps, and from 40 Gbps to 400 Gbps. One MAC port is connected only to one physical layer interface, and the rate of a MAC port generally increases by tenfold, but bandwidth required in actual application does not necessarily increase by tenfold; therefore, a transmission apparatus in the prior art has relatively great limitations. For example, efficient support for an Ethernet MAC port with a rate of 50 Gbps, 60 Gbps, 150 Gbps, and so on is insufficient, which further causes low utilization of interface bandwidth when there is a relatively great difference between bandwidth required in actual application and bandwidth of a physical layer interface. For example, if a 100GE physical interface module is used to support a MAC port with a rate of 50 Gbp, 50% of capacity of the 100GE physical interface module is wasted.
Embodiments of the present invention provide a transmission apparatus, a connection device, and a method, so that multiple Ethernet MAC ports can be simultaneously supported, an Ethernet MAC port with adjustable bandwidth is provided, so as to increase flexibility of the transmission apparatus.
According to a first aspect, a transmission apparatus is provided, where the apparatus includes N Ethernet Medium Access Control MAC ports, wherein each Ethernet MAC port is corresponding to a first interface, K Ethernet physical layer interfaces, wherein each Ethernet physical layer interface is corresponding to a second interface, and a connection device, wherein both N and K are positive integers; wherein the connection device is configured to implement a connection between a timeslot of the first interface and a timeslot of the second interface, wherein the N Ethernet MAC ports are separately connected to the connection device by using the corresponding first interfaces, and the K Ethernet physical layer interfaces are separately connected to the connection device by using the corresponding second interfaces.
According to the second aspect, a data transmission method is provided, where the method includes: implementing, by a connection device, data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first interface and a timeslot of a second interface, wherein the connection between the timeslot of the first interface and the timeslot of the second interface is implemented by the connection device, N and N1 are positive integers and N1≤N, and both K and K1 are positive integers and K1≤K, wherein the N Ethernet MAC ports are separately connected to the connection device by using the corresponding first interfaces, and the K Ethernet physical layer interfaces are separately connected to the connection device by using the corresponding second interfaces.
Embodiments of the present invention provide a transmission apparatus, including: N Ethernet Medium Access Control MAC ports, wherein each Ethernet MAC port is corresponding to a first interface, K Ethernet physical layer interfaces, wherein each Ethernet physical layer interface is corresponding to a second interface, and a connection device, wherein both N and K are positive integers; wherein the connection device is configured to implement a connection between a timeslot of the first interface and a timeslot of the second interface, wherein the N Ethernet MAC ports are separately connected to the connection device by using the corresponding first interfaces, and the K Ethernet physical layer interfaces are separately connected to the connection device by using the corresponding second interfaces. Therefore, by using the connection device, the apparatus can simultaneously support multiple Ethernet MAC ports, and provide an Ethernet MAC port with adjustable bandwidth, so as to increase flexibility of the transmission apparatus.
To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
For ease of description, in the example of the following embodiment, the bandwidth of the Ethernet physical layer interfaces is 100GE, which, however, is not intended to limit the scope of the present invention.
The connection device 102 is configured to control a time-division interconnect bus in the connection device to implement a connection between a timeslot of the first MII interface and a timeslot of the second MII interface, where the N Ethernet MAC ports are separately connected to the time-division interconnect bus in the connection device 102 by using the corresponding first MII interfaces, and the K Ethernet physical layer interfaces are separately connected to the time-division interconnect bus in the connection device 102 by using the corresponding second MII interfaces.
Alternatively, the connection device 102 is configured to control a time-division space-division switching matrix in the connection device to implement a connection between a timeslot of the first MII interface and a timeslot of the second MII interface, where the N Ethernet MAC ports are separately connected to the time-division space-division switching matrix in the connection device 102 by using the corresponding first MII interfaces, and the K Ethernet physical layer interfaces are separately connected to the time-division space-division switching matrix in the connection device 102 by using the corresponding second MII interfaces.
In this embodiment of the present invention, an MII interface may be a logical interface or a physical electrical interface. The first MII interface and the second MII interface in “a connection between a timeslot of the first MII interface and a timeslot of the second MII interface” described in this embodiment of the present invention are general concepts, which may be a connection between timeslots of all first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces, or may be a connection between timeslots of some first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces. This embodiment of the present invention does not set a limitation thereto.
It should be further noted that, in this embodiment of the present invention, a direction of data transmission from an Ethernet physical layer interface to an Ethernet MAC port is called an “uplink direction”, and a direction of data transmission from an Ethernet MAC port to an Ethernet physical layer interface is called a “downlink direction”. The Ethernet MAC port may be construed as a port of a whole formed by a MAC layer and an RS layer, and a total port rate of the N Ethernet MAC ports is determined by total bandwidth of the K Ethernet physical layer interfaces.
Preferably, when K=1, the connection device 102 is configured to control the time-division interconnect bus in the connection device to implement the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, that is, the connection device implements a connection between the N Ethernet MAC ports and one Ethernet physical layer interface by using the time-division interconnect bus, in other words, the N Ethernet MAC ports share the one Ethernet physical layer interface. For example, as shown in
Waste may be reduced and utilization of a capacity of a physical interface module may be increased by using the foregoing solution. For example, a 100GE physical interface module can be used to support two MAC ports with a rate of 50 Gbp.
Preferably, when K>1, the connection device 102 is configured to control the time-division space-division switching matrix in the connection device to implement the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, that is, the connection device implements a connection between the N Ethernet MAC ports and the K Ethernet physical layer interfaces by using the time-division space-division switching matrix, in other words, the N Ethernet MAC ports share multiple Ethernet physical layer interfaces. For example, as shown in
It should be understood that in the foregoing example, bandwidth of the Ethernet physical layer interfaces, a quantity of the Ethernet physical layer interfaces, and a manner of implementing the connection between the timeslot of the first MII interface and the timeslot of the second MII interface are merely exemplary, and are not intended to limit the scope of the present invention.
This embodiment of the present invention provides a transmission apparatus, including: N Ethernet Medium Access Control MAC ports, where each Ethernet MAC port is corresponding to a first MII interface, K Ethernet physical layer interfaces, where each Ethernet physical layer interface is corresponding to a second MII interface, and a connection device, where both N and K are positive integers; where the connection device is configured to control a time-division interconnect bus in the connection device or a time-division space-division switching matrix in the connection device to implement a connection between a timeslot of the first MII interface and a timeslot of the second MII interface, where the N Ethernet MAC ports and the K Ethernet physical layer interfaces are separately connected to the time-division interconnect bus in the connection device by using the first MII interfaces and the second MII interfaces; or, the N Ethernet MAC ports and the K Ethernet physical layer interfaces are separately connected to the time-division space-division switching matrix in the connection device by using the first MII interfaces and the second MII interfaces. Therefore, by using the connection device, the apparatus can simultaneously support multiple Ethernet MAC ports, and provide an Ethernet MAC port with adjustable bandwidth, so as to increase flexibility of the transmission apparatus.
As another embodiment of the present invention, functions of the connection device 102 of the apparatus may be further expanded.
Exemplarily, the connection device 102 may be further configured to configure and control timeslot division, which specifically is obtaining P timeslots by means of division and allocating some or all timeslots of the P timeslots to some or all ports of the N Ethernet MAC ports, where P is a positive integer. One Ethernet MAC port may occupy one or more timeslots, or may occupy no timeslot. Timeslots in the P timeslots may be equal or unequal, and this embodiment of the present invention does not set a limitation thereto. Optionally, an uplink direction or a downlink direction of each timeslot of an MII interface may be corresponding to one or more code blocks (such as a 64/66b code block), that is, a bandwidth granularity corresponding to each timeslot may be 5G; 10G, or the like. It should be understood that the embodiment of the present invention does not set a limitation on a quantity of timeslots obtained by means of division, and does not set a limitation on a form of a code block corresponding to a timeslot either.
Optionally, the connection device 102 may be specifically configured to allocate a timeslot in a static manner, or may allocate a timeslot in a dynamic manner, where the static manner indicates that a timeslot is pre-allocated, and the dynamic manner indicates that timeslot allocation may be dynamically adjusted, for example, a timeslot is allocated according to a service demand or a feature of a transmission link.
The following describes a specific embodiment of timeslot allocation in detail with reference to an example in
Specifically, in
Optionally, one interface of the K Ethernet physical layer interfaces has J virtual channels, or multiple interfaces of the K Ethernet physical layer interfaces have J virtual channels altogether.
The connection device 102 may be further configured to map and connect some or all timeslots of the foregoing P timeslots to the J virtual channels, where each virtual channel is used to provide bandwidth by using the foregoing second MII interface, and J is a positive integer. Optionally, a 802.3ba MLD (Multi-lane Distribution, multi-lane distribution) mechanism may be used. For example, a timeslot-based CGMII interface timeslot is corresponding to two MLD virtual channels.
Exemplarily, the connection device 102 may be further configured to implement data transmission between N1 Ethernet MAC ports and K1 Ethernet physical layer interfaces by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, where the N Ethernet MAC ports include the N1 Ethernet MAC ports, where N1 is a positive integer and N1≤N; and the K Ethernet physical layer interfaces include the K1 Ethernet physical layer interfaces, where K1 is a positive integer and K1≤K. The data transmission may be simultaneous transmission of data in an uplink direction and a downlink direction, or may be data transmission in a particular direction (uplink or downlink), that is, data transmission from an Ethernet MAC port to an Ethernet physical layer interface, or data transmission from a physical layer interface to an Ethernet MAC port. The connection device 102 may be further configured to implement uplink data transmission in a direction from the K1 Ethernet physical layer interfaces to the N1 Ethernet MAC ports by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface; or implement downlink data transmission in a direction from the N1 Ethernet MAC ports to the K1 Ethernet physical layer interfaces by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface.
Optionally, the connection device 102 may be further configured to control the time-division interconnect bus or the time-division space-division switching matrix to converge downlink data borne in the timeslots of the first MII interfaces, so that the converged downlink data is borne in the timeslot of the second MII interface by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, and the converged downlink data borne in the timeslot of the second MII interface is sent to the K1 Ethernet physical layer interfaces, which specifically is mapping the converged downlink data borne in the timeslot of the second MII interface to the J virtual channels that are corresponding to the timeslot and of the K1 Ethernet physical layers. The K1 Ethernet physical layers (such as a PCS layer) may be configured to encode the converged downlink data, and transmit encoded downlink data to a physical transmission channel.
Optionally, the K1 Ethernet physical layers are configured to receive encoded uplink data from a physical transmission channel, decode the encoded uplink data, and send decoded uplink data to the connection device 102. The connection device 102 is further configured to control the time-division interconnect bus or the time-division space-division switching matrix to make the decoded uplink data be borne in a corresponding timeslot of the second MII interface, which specifically is making the decoded uplink data that is transmitted through the J virtual channels of the K1 Ethernet physical layers be borne in the corresponding timeslot of the second MII interface, so that the decoded uplink data is borne in the timeslot of the first MII interface by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, and the decoded uplink data borne in the timeslot of the first MII interface is sent to the N1 Ethernet MAC ports.
Optionally, the connection device 102 may be further configured to mark the foregoing timeslots obtained by means of division. Timeslots are differentiated according to marks of the timeslots, so as to facilitate management and control, achieve that each data stream is transmitted on a corresponding physical interface, increase data transmission accuracy, and avoid a disorder of data packets of a same stream. Optionally, the connection device 102 may be further configured to instruct each MAC port to transmit valid data in an allocated corresponding timeslot, or may instruct each MAC port to skip transmitting data or transmit invalid data. A MAC port may be completely idle when no service demand is required, and the connection device 102 may be configured to provide bandwidth of the MAC port to another MAC port for use.
Exemplarily, the connection device 102 may be further configured to disable some or all Ethernet physical layer interfaces of the K Ethernet physical layer interfaces, such as disabling an Ethernet physical layer interface that is not configured to transmit data. In this way, power consumption of the apparatus can be effectively reduced, and a life circle of a device is prolonged, thereby reducing operation and maintenance costs of the apparatus.
The following describes this embodiment of the present invention in detail with reference to examples in
For example, in the transmission apparatus in
As shown in
Optionally, when data transmission is in a direction from the an Ethernet MAC port to an Ethernet physical layer interface, the connection device 102 may be configured to control the time-division interconnect bus to converge data borne in timeslots of first MII interfaces connected to MAC ports, so that the converged downlink data is borne in the timeslot of the second MII interface by using a connection between the timeslot of the first MII interface and a timeslot of a second MII interface. Certainly, the connection device 102 may be also configured to allocate inconsecutive timeslots to an Ethernet MAC port. As shown in
Optionally, when data transmission is in a direction from an Ethernet physical layer interface to an Ethernet MAC port, the connection device 102 controls the time-division interconnect bus to distribute, by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface, uplink data borne in the timeslot of the second MII interface connected to the Ethernet physical layer interface to the corresponding timeslot of the first MII interface connected to the Ethernet MAC port. As shown in
Therefore, a MAC port may occupy a high percentage of number of timeslots of an MII interface connected to a physical interface, which may reduce waste, thereby increasing utilization of the physical interface.
For another example, in the apparatus in
As shown in
As shown in
It should be understood that the foregoing examples are merely exemplary, and are not intended to limit the scope of the present invention.
By using the foregoing solution, sharing of a physical interface module and a communication channel can be implemented according to a bandwidth demand of a MAC port on an apparatus, which increases utilization of a physical interface and a transmission channel. For another example, all or some physical layer interfaces may be temporarily disabled to reduce power consumption of the apparatus. In this way, a life cycle of a device may be effectively prolonged, thereby reducing operation and maintenance costs of the apparatus.
An embodiment of a virtual channel is shown in
Exemplarily, the connection device 102 may be further configured to extend a bit width or increase a clock rate for any MAC port of the N Ethernet MAC ports, so that a MAC port capacity with transmission capabilities of multiple physical interfaces is supported, thereby increasing bandwidth. In this way, one Ethernet MAC port may occupy bandwidth of multiple physical interfaces. In should be understood that any manner of extending bandwidth of an Ethernet MAC port falls within the scope of the present invention.
As an example, a time-division space-division switching matrix implements a connection between a timeslot of a first MII interface and a timeslot of a second MII interface, as shown in
Specifically, the connection device 102 may be configured to enable, by extending a bit width, that is, in a manner of allocating more timeslots to an Ethernet MAC port, the Ethernet MAC port to support a MAC port capacity with transmission capabilities of multiple physical interfaces. As shown in
It should be understood that the foregoing examples are merely exemplary, and are not intended to limit the scope of the present invention.
Therefore, a transmission apparatus according to this embodiment of the present invention may adjust bandwidth usage of each Ethernet MAC port according to a demand (such as a service condition) of each Ethernet MAC port, thereby increasing flexibility of the transmission apparatus.
In addition, the implementation manners of the present invention may also be applied between other physical layer interfaces, such as implementing a connection between M1 physical coding layer interfaces and M2 physical scrambling layer interfaces by using a timeslot-based interface (in a manner of a time-division interconnect bus or a time-division space-division switching matrix), where both M1 and M2 are positive integers.
1001. A connection device implements data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface, where N, K, N1, and K1 are all positive integers.
In an implementation manner, the connection between the timeslot of the first MII interface and the timeslot of the second MII interface is implemented by the connection device by controlling a time-division interconnect bus in the connection device, where the N Ethernet MAC ports are separately connected to the time-division interconnect bus in the connection device by using the corresponding first MII interfaces, and the K Ethernet physical layer interfaces are separately connected to the time-division interconnect bus in the connection device by using the corresponding second MII interfaces. In another implementation manner, the connection between the timeslot of the first MII interface and the timeslot of the second MII interface is implemented by the connection device by controlling a time-division space-division switching matrix in the connection device, where the N Ethernet MAC ports are separately connected to the time-division space-division switching matrix in the connection device by using the corresponding first MII interfaces, and the K Ethernet physical layer interfaces are separately connected to the time-division space-division switching matrix in the connection device by using the corresponding second MII interfaces.
In this embodiment of the present invention, an MII interface may be a logical interface or a physical electrical interface. The first MII interface and the second MII interface in “a connection between a timeslot of the first MII interface and a timeslot of the second MII interface” described in this embodiment of the present invention are general concepts, which may be a connection between timeslots of all first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces, or may be a connection between timeslots of some first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces. This embodiment of the present invention does not set a limitation thereto.
It should be further noted that, in this embodiment of the present invention, a direction of data transmission from an Ethernet physical layer interface to an Ethernet MAC port is called an “uplink direction”, and a direction of data transmission from an Ethernet MAC port to an Ethernet physical layer interface is called a “downlink direction”. The Ethernet MAC port may be construed as a port of a whole formed by a MAC layer and an RS layer, and a total port rate of the N Ethernet MAC ports is determined by total bandwidth of the K Ethernet physical layer interfaces.
A connection device according to this embodiment of the present invention may control a time-division interconnect bus or a time-division space-division switching matrix to implement data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface. Therefore, by using the connection device, an apparatus can simultaneously support multiple Ethernet MAC ports, provide an Ethernet MAC port with adjustable bandwidth, and select a proper data transmission manner, so as to increase flexibility of a transmission apparatus.
The method in
Optionally, as an embodiment, in step 1001, the connection device may implement uplink data transmission in a direction from the K1 Ethernet physical layer interfaces to the N1 Ethernet MAC ports by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface; or implement downlink data transmission in a direction from the N1 Ethernet MAC ports to the K1 Ethernet physical layer interfaces by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface.
Optionally, as another embodiment, before step 1001, the connection device may configure and control timeslot division, which specifically is obtaining P timeslots by means of division and allocate some or all timeslots of the P timeslots to the N1 Ethernet MAC ports, where P is a positive integer. In step 1001, transmitted data (uplink data or downlink data) is borne in a corresponding timeslot of the first MII interface and a corresponding timeslot of the second MII interface. One Ethernet MAC port may occupy one or more timeslots, or may occupy no timeslot. Timeslots in the P timeslots may be equal or unequal, and this embodiment of the present invention does not set a limitation thereto. Optionally, an uplink direction or a downlink direction of each timeslot of an MII interface may be corresponding to one or more code blocks (for example, a 64/66b code block). This embodiment of the present invention does not set a limitation on a quantity of the timeslots obtained by means of division, and does not set a limitation on a form of a code block corresponding to a timeslot either. Optionally, the connection device may allocate a timeslot in a static manner, or may allocate a timeslot in a dynamic manner, where the static manner indicates that a timeslot is pre-allocated, and the dynamic manner indicates that timeslot allocation may be dynamically adjusted, for example, a timeslot is allocated according to a service demand or a feature of a transmission link. Optionally, the connection device may further mark the foregoing timeslots obtained by means of division. Timeslots are differentiated according to marks of the timeslots, so as to facilitate management and control, achieve that each data stream is transmitted on a corresponding physical interface, increase data transmission accuracy, and avoid a disorder of data of a same stream. An example of obtaining timeslots by means of division and allocating timeslots is as described above, and details are not described herein again.
Optionally, the connection device may further instruct the N1 MAC ports to transmit valid data in an allocated corresponding timeslot of the first MII interface, or may instruct the N1 MAC ports to skip transmitting data or transmit invalid data. A MAC port may be completely idle when no service demand is required, and the connection device may provide bandwidth of the MAC port to another MAC port for use.
Optionally, the connection device may further control the time-division interconnect bus or the time-division space-division switching matrix to converge downlink data borne in the timeslots of the first MII interfaces, so that the converged downlink data is borne in the timeslot of the second MII interface by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, and the converged downlink data borne in the timeslot of the second MII interface is sent to the K1 Ethernet physical layer interface, which specifically is mapping the converged downlink data borne in the timeslot of the second MII interface to J virtual channels of the K1 Ethernet physical layers that are corresponding to the timeslot. The K1 Ethernet physical layers (such as a PCS layer) may be configured to encode the converged downlink data, and transmit encoded downlink data to a physical transmission channel.
Optionally, the K1 Ethernet physical layers receive encoded uplink data from a physical transmission channel, decode the encoded uplink data, and send decoded uplink data to the connection device. The connection device controls the time-division interconnect bus or the time-division space-division switching matrix so that the decoded uplink data is borne in a corresponding timeslot of the second MII interface, which specifically is that the decoded uplink data that is transmitted through the J virtual channels of the K1 Ethernet physical layers is borne in the corresponding timeslot of the second MII interface, the decoded uplink data is borne in the timeslot of the first MII interface by using the connection between the timeslot of the first MII interface and the timeslot of the second MII interface, and the decoded uplink data borne in the timeslot of the first MII interface is sent to the N1 Ethernet MAC ports.
An embodiment of a mapping and a connection between a timeslot and a virtual channel is as described above, and details are not described herein again.
Optionally, the connection device may further disable some or all Ethernet physical layer interfaces of the K Ethernet physical layer interfaces, such as disabling an Ethernet physical layer interface not used to transmit data. In this way, power consumption of the apparatus can be effectively reduced, and a life circle of a device is prolonged, thereby reducing operation and maintenance costs of the apparatus.
In addition, the connection device may further extend a bit width or increase a clock rate for any MAC port of the N Ethernet MAC ports, so that a MAC port capacity with transmission capabilities of multiple physical interfaces is supported, thereby increasing bandwidth. In this way, one Ethernet MAC port may occupy bandwidth of multiple physical interfaces. In should be understood that any manner of extending bandwidth of an Ethernet MAC port falls within the scope of the present invention.
By using the foregoing solution, sharing of a physical interface module and a communication channel can be implemented according to a bandwidth demand of a MAC port on an apparatus, which increases utilization of a physical interface and a transmission channel. For another example, all or some physical layer interfaces may be temporarily disabled to reduce power consumption of the apparatus. In this way, a life cycle of a device may be effectively prolonged, thereby reducing operation and maintenance costs of the apparatus.
The control module 1102 is configured to control the time-division interconnect bus 1101 to implement a connection between a timeslot of a first MII interface and a timeslot of a second MII interface by using the time-division interconnect bus.
The connection between the timeslot of the first MII interface and the timeslot of the second MII interface is implemented by the connection device by controlling the time-division interconnect bus in the connection device, where N Ethernet MAC ports are separately connected to the time-division interconnect bus in the connection device by using the corresponding first MII interfaces, and K Ethernet physical layer interfaces are separately connected to the time-division interconnect bus in the connection device by using the corresponding second MII interfaces.
In this embodiment of the present invention, an MII interface may be a logical interface or a physical electrical interface. The first MII interface and the second MII interface in “a connection between a timeslot of the first MII interface and a timeslot of the second MII interface” described in this embodiment of the present invention are general concepts, which may be a connection between timeslots of all first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces, or may be a connection between timeslots of some first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces. This embodiment of the present invention does not set a limitation thereto.
It should be further noted that, in this embodiment of the present invention, a direction of data transmission from an Ethernet physical layer interface to an Ethernet MAC port is called an “uplink direction”, and a direction of data transmission from an Ethernet MAC port to an Ethernet physical layer interface is called a “downlink direction”. The Ethernet MAC port may be construed as a port of a whole formed by a MAC layer and an RS layer, and a total port rate of the N Ethernet MAC ports is determined by total bandwidth of the K Ethernet physical layer interfaces.
A connection device according to this embodiment of the present invention may control a time-division interconnect bus to implement data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface. Therefore, by using the connection device, an apparatus can simultaneously support multiple Ethernet MAC ports, provide an Ethernet MAC port with adjustable bandwidth, and select a proper data transmission manner, so as to increase flexibility of a transmission apparatus.
Preferably, a value of K is 1, that is, the N Ethernet MAC ports share one Ethernet physical layer interface, and the time-division interconnect bus is used to implement a connection between the N Ethernet MAC ports and the one Ethernet physical layer interface. Optionally, the time-division interconnect bus may be a TDM bus.
For specific implementation of the time-division interconnect bus 1101 and the control module 1102 in the connection device 1100, refer to corresponding descriptions of the connection device in the transmission apparatus in
The control module 102 is configured to control the time-division space-division switching matrix 1201 to implement a connection between a timeslot of a first MII interface and a timeslot of a second MII interface.
The connection between the timeslot of the first MII interface and the timeslot of the second MII interface is implemented by the connection device by controlling the time-division space-division switching matrix in the connection device, where N Ethernet MAC ports are separately connected to the time-division space-division switching matrix in the connection device by using the corresponding first MII interfaces, and K Ethernet physical layer interfaces are separately connected to the time-division space-division switching matrix in the connection device by using the corresponding second MII interfaces.
In this embodiment of the present invention, an MII interface may be a logical interface or a physical electrical interface. The first MII interface and the second MII interface in “a connection between a timeslot of the first MII interface and a timeslot of the second MII interface” described in this embodiment of the present invention are general concepts, which may be a connection between timeslots of all first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces, or may be a connection between timeslots of some first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces. This embodiment of the present invention does not set a limitation thereto.
It should be further noted that, in this embodiment of the present invention, a direction of data transmission from an Ethernet physical layer interface to an Ethernet MAC port is called an “uplink direction”, and a direction of data transmission from an Ethernet MAC port to an Ethernet physical layer interface is called a “downlink direction”. The Ethernet MAC port may be construed as a port of a whole formed by a MAC layer and an RS layer, and a total port rate of the N Ethernet MAC ports is determined by total bandwidth of the K Ethernet physical layer interfaces.
A connection device according to this embodiment of the present invention may control a time-division space-division switching matrix to implement data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface. Therefore, by using the connection device, an apparatus can simultaneously support multiple Ethernet MAC ports, provide an Ethernet MAC port with adjustable bandwidth, and select a proper data transmission manner, so as to increase flexibility of a transmission apparatus.
A value of K is greater than or equal to 1, that is, the N Ethernet MAC ports share one or more Ethernet physical layer interfaces, and the time-division space-division switching matrix is used to implement a connection between the N Ethernet MAC ports and the one or more Ethernet physical layer interfaces. Optionally, the time-division space-division switching matrix may be a TDM T-S-T switching matrix, a transformed form thereof, or the like.
For specific implementation of the time-division interconnect bus 1201 and the control module 1202 in the connection device 1200, refer to corresponding descriptions of the connection device in the transmission apparatus in
A connection device 1300 in
The processor 1303 may be an integrated circuit chip with a signal processing capability. In an implementation process, each step of the foregoing method may be completed by an integrated logic circuit in a form of hardware or an instruction in a form of software form that are in the processor 1303. The foregoing processor 1303 may be a general processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), and the like; or may be a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or another programmable logic device, a discrete gate or a transistor logic device, or a discrete hardware assembly. The processor 1303 may implement or execute each method, step, and logic block diagram disclosed in the embodiments of the present invention. The general processor may be a microprocessor or the processor may also be any conventional processor, or the like. A memory 1320 may include a read-only memory and a random access memory, and provide a control instruction and data to the processor 1303. A part of the memory 1303 may further include a nonvolatile random access memory (NVRAM). The connection device 1300 may further include a user configuration and management interface 1330, another hardware interface, and the like.
The processor 1303, the memory 1320, the user configuration and management interface, and the like are coupled together by a bus system 1310, where besides a data bus, the bus system 1310 further includes a power bus, a control bus, and a status signal bus. However, for clarity of description, all buses in the diagram are marked as the bus system 1310.
The processor 1303 is configured to control the controller 1302 to control the time-division interconnect bus 1301 to implement a connection between a timeslot of a first MII interface and a timeslot of a second MII interface by using the time-division interconnect bus.
The connection between the timeslot of the first MII interface and the timeslot of the second MII interface is implemented by the connection device by controlling the time-division interconnect bus in the connection device, where N Ethernet MAC ports are separately connected to the time-division interconnect bus in the connection device by using the corresponding first MII interfaces, and K Ethernet physical layer interfaces are separately connected to the time-division interconnect bus in the connection device by using the corresponding second MII interfaces.
In this embodiment of the present invention, an MII interface may be a logical interface or a physical electrical interface. The first MII interface and the second MII interface in “a connection between a timeslot of the first MII interface and a timeslot of the second MII interface” described in this embodiment of the present invention are general concepts, which may be a connection between timeslots of all first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces, or may be a connection between timeslots of some first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces. This embodiment of the present invention does not set a limitation thereto.
It should be further noted that, in this embodiment of the present invention, a direction of data transmission from an Ethernet physical layer interface to an Ethernet MAC port is called an “uplink direction”, and a direction of data transmission from an Ethernet MAC port to an Ethernet physical layer interface is called a “downlink direction”. The Ethernet MAC port may be construed as a port of a whole formed by a MAC layer and an RS layer, and a total port rate of the N Ethernet MAC ports is determined by total bandwidth of the K Ethernet physical layer interfaces.
A connection device according to this embodiment of the present invention may control a time-division interconnect bus to implement data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface. Therefore, by using the connection device, an apparatus can simultaneously support multiple Ethernet MAC ports, provide an Ethernet MAC port with adjustable bandwidth, and select a proper data transmission manner, so as to increase flexibility of a transmission apparatus.
Preferably, a value of K is 1, that is, the N Ethernet MAC ports share one Ethernet physical layer interface, and the time-division interconnect bus is used to implement a connection between the N Ethernet MAC ports and the one Ethernet physical layer interface. Optionally, the time-division interconnect bus may be a TDM bus.
For specific implementation of the time-division interconnect bus 1301 and the controller 1302 in the connection device 1300, refer to corresponding descriptions of the connection device in the transmission apparatus in
The processor 1303 is configured to control the controller 1402 to control the time-division space-division switching matrix 1401 to implement a connection between a timeslot of a first MII interface and a timeslot of a second MII interface.
The connection between the timeslot of the first MII interface and the timeslot of the second MII interface is implemented by the connection device by controlling the time-division space-division switching matrix in the connection device, where N Ethernet MAC ports are separately connected to the time-division space-division switching matrix in the connection device by using the corresponding first MII interfaces, and K Ethernet physical layer interfaces are separately connected to the time-division space-division switching matrix in the connection device by using the corresponding second MII interfaces.
In this embodiment of the present invention, an MII interface may be a logical interface or a physical electrical interface. The first MII interface and the second MII interface in “a connection between a timeslot of the first MII interface and a timeslot of the second MII interface” described in this embodiment of the present invention are general concepts, which may be a connection between timeslots of all first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces, or may be a connection between timeslots of some first MII interfaces of the N first MII interfaces and timeslots of some or all second MII interfaces of the K second MII interfaces. This embodiment of the present invention does not set a limitation thereto.
It should be further noted that, in this embodiment of the present invention, a direction of data transmission from an Ethernet physical layer interface to an Ethernet MAC port is called an “uplink direction”, and a direction of data transmission from an Ethernet MAC port to an Ethernet physical layer interface is called a “downlink direction”. The Ethernet MAC port may be construed as a port of a whole formed by a MAC layer and an RS layer, and a total port rate of the N Ethernet MAC ports is determined by total bandwidth of the K Ethernet physical layer interfaces.
A connection device according to this embodiment of the present invention may control a time-division space-division switching matrix to implement data transmission between N1 Ethernet MAC ports of N Ethernet MAC ports and K1 Ethernet physical layer interfaces of K Ethernet physical layer interfaces by using a connection between a timeslot of a first MII interface and a timeslot of a second MII interface. Therefore, by using the connection device, an apparatus can simultaneously support multiple Ethernet MAC ports, provide an Ethernet MAC port with adjustable bandwidth, and select a proper data transmission manner, so as to increase flexibility of a transmission apparatus.
A value of K is greater than or equal to 1, that is, the N Ethernet MAC ports share one or more Ethernet physical layer interfaces, and the time-division space-division switching matrix is used to implement a connection between the N Ethernet MAC ports and the one or more Ethernet physical layer interfaces. Optionally, the time-division space-division switching matrix may be a TDM T-S-T switching matrix, a transformed form thereof, or the like.
For specific implementation of the time-division interconnect bus 1401 and the controller 1402 in the connection device 1400, refer to corresponding descriptions of the connection device in the transmission apparatus in
A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention.
It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, reference may be made to a corresponding process in the foregoing method embodiments, and details are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in a form of a software product. The software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc.
The foregoing descriptions are merely specific implementation manners of the present invention, and are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
This application is a continuation of U.S. patent application Ser. No. 16/026,712, filed on Jul. 3, 2018, which is a continuation of U.S. patent application Ser. No. 14/855,530, filed on Sep. 16, 2015, now U.S. Pat. No. 10,027,506, which is a continuation of International Patent Application No. PCT/CN2013/072979, filed on Mar. 21, 2013. All of the aforementioned patent applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 16026712 | Jul 2018 | US |
Child | 17465396 | US | |
Parent | 14855530 | Sep 2015 | US |
Child | 16026712 | US | |
Parent | PCT/CN2013/072979 | Mar 2013 | US |
Child | 14855530 | US |