A method and communication device for transmitting service signals using Ethernet channels
By using multiple PCS channels of Ethernet channels in the metropolitan area network for service signals multiplexing and sharing, the problem of low utilization of equipment and link resources in the metropolitan area network is solved, and efficient utilization of resources and reduction of equipment is achieved.
Patent Information
- Application Number
- CN201911350811.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2015-01-22
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2035-01-22
AI Technical Summary
There are multiple sets of equipment running in parallel or parallel in the metropolitan area network, resulting in low resource utilization of equipment and links, large space occupancy, high power consumption and high maintenance costs.
By utilizing multiple physical coding sublayer PCS channels in the Ethernet channel, service signals are transmitted using a fixed length bearing area to realize multiplexing and sharing of multiple service signals.
It improves link resource utilization, reduces equipment number, land occupation, power consumption and maintenance costs, and realizes the integration of multi-technical systems.
Smart Images

Figure CN111147185B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and communication equipment for transmitting service signals by using an Ethernet channel. Background Art
[0002] With the development of communication technology, different systems have emerged, such as synchronous digital hierarchy SDH, optical transport network OTN, common public radio interface CPRI, Ethernet, etc. In the metropolitan area network, the business requirements are complex, and multiple devices often compete and complement each other, resulting in multiple sets of equipment running in parallel or in parallel in the metropolitan area network. For example, even in one computer room, there is a set of SDH equipment, a set of OTN equipment, a set of Ethernet switch or router and other packet equipment, and multiple links are equipped accordingly. However, the resource utilization rate of equipment and links is not high, generally around 30% or even lower. Multiple sets of equipment occupy more computer room space, introduce relatively large power consumption, and consume multiple sets of personnel for maintenance and management, which has become a problem that needs to be considered and solved in the metropolitan area network. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method for transmitting a service signal by using an Ethernet channel.
[0004] On the one hand, an embodiment of the present invention provides a method for transmitting a service signal using an Ethernet channel, wherein the Ethernet channel includes multiple Ethernet physical coding sublayer PCS channels, each Ethernet PCS channel transmits a service signal through a bearer area with a fixed length, and the method includes: receiving a first service signal and a second service signal; multiplexing the first service signal and the second service signal into the bearer area of the Ethernet PCS channel, wherein a part of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another part of the at least one bearer area carries the second service signal; and sending the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel.
[0005] On the other hand, an embodiment of the present invention further provides a method for transmitting a service signal using an Ethernet channel, wherein the Ethernet channel includes multiple Ethernet physical coding sublayer PCS channels, each Ethernet PCS channel transmits a service signal through a bearer area with a fixed length, and the method includes: receiving a service signal transmitted through the Ethernet channel, wherein the service signal includes a first service signal and a second service signal, a part of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another part of the at least one bearer area carries the second service signal; and distributing the first service signal and the second service signal.
[0006] The communication method and device provided in the embodiment of the present invention can carry multiple service signals into the same bearing area of the same Ethernet PCS channel, thereby realizing that multiple service signals share the Ethernet channel, so that multiple service signals can share link resources and interface module resources, providing a basis for the integration of equipment with multiple technical systems, improving the utilization rate of link resources, and reducing the number of equipment, floor space, power consumption, maintenance costs, etc. in the metropolitan area network. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in the field of technology protection, other drawings can be obtained based on these drawings without paying creative labor.
[0008] Figure 1 A data structure for transmitting data in Ethernet;
[0009] Figure 2 It is a layer reference model for Ethernet network interface;
[0010] Figure 3 A schematic diagram of a method for sending data in MII over Ethernet;
[0011] Figure 4 This is the corresponding relationship diagram between 64B / 66B coded data stream and code block;
[0012] Figure 5 A flow chart of a method for sending directions according to an embodiment of the present invention;
[0013] Figure 6 A schematic diagram of an Ethernet frame structure provided by an embodiment of the present invention;
[0014] Figure 7 A flowchart of a method for receiving a direction according to an embodiment of the present invention;
[0015] Figure 8 A schematic diagram of a sending direction communication device according to an embodiment of the present invention;
[0016] Fig. 9 A schematic diagram of a receiving direction communication device according to an embodiment of the present invention;
[0017] Fig.10 This is a schematic diagram of the Ethernet frame structure in Embodiment 1 of the present invention;
[0018] Fig.11 This is a distribution diagram of front-end services and back-end services in Embodiment 1 of the present invention;
[0019] Fig.12 Schematic diagram of the overhead bearing area in the Ethernet frame structure in the first embodiment of the present invention;
[0020] Fig.13 This is a system architecture diagram of an implementation method in Example 1 of the present invention;
[0021] Fig.14 Schematic diagram of a signal received by the RS layer in Embodiment 1 of the present invention;
[0022] Fig.15 This is a schematic diagram of the structure of a signal sent by the RS layer in Embodiment 1 of the present invention;
[0023] Fig.16 Schematic diagram of the RS layer receiving a signal from the PCS layer in the first embodiment of the present invention;
[0024] Fig.17 This is a schematic diagram of the structure of a signal received by the RS layer in Embodiment 1 of the present invention;
[0025] Fig.18 It is a schematic diagram of the overhead bearing area in the second embodiment of the present invention;
[0026] Fig.19 It is a schematic diagram of the overhead bearing area in the second embodiment of the present invention;
[0027] Fig. 20 This is a system architecture diagram of an implementation method in Embodiment 3 of the present invention;
[0028] Fig.21 This is a schematic diagram of the Cn value indication in the third embodiment of the present invention;
[0029] Fig. 22 This is a schematic diagram of the frame structure of the OTN signal sharing the Ethernet interface in the third embodiment of the present invention;
[0030] Fig.23 This is a schematic diagram of the principle of OTN signals sharing Ethernet interfaces in Embodiment 3 of the present invention;
[0031] Fig.24 This is a system architecture diagram of an implementation method in Embodiment 4 of the present invention;
[0032] Fig.25 This is a system architecture diagram of an implementation method in Embodiment 5 of the present invention;
[0033] Fig.26 This is a system architecture diagram of another implementation method in Embodiment 5 of the present invention;
[0034] Fig. 27 Schematic diagram of the overhead bearing area in Embodiment 6 of the present invention;
[0035] Fig.28This is a schematic diagram of another implementation method in Example 6 of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field of protection of the present invention without making creative work are within the scope of protection of the present invention.
[0037] Figure 1 The method of transmitting data in Ethernet is given. Figure 1 As shown in the figure, (A) if there is no data to be sent on the interface within a certain period of time, idle bytes are continuously sent to maintain the normal sending and receiving status of the hardware on both sides of the Ethernet interface. (B) if there is packet data to be transmitted during this period of time, the packet data is sent over the idle bytes. The packet has a variable length within a certain range. The idle bytes between two packets are at least 12 bytes, and the length is unlimited.
[0038] like Figure 1 As shown in the figure, the typical encapsulation of Ethernet packets is as follows, with 8 bytes as the basic unit. An Ethernet packet contains the first 7 bytes of preamble "0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA", 1 byte of frame start SFD marker "0xAB", followed by 6 bytes of destination address, 6 bytes of source address, 2 bytes of packet type / length information, at least 46 bytes of packet payload information and padding information bytes (when the payload is less than 46 bytes, PAD is used to fill it to 46 bytes), and finally 4 bytes of frame check bytes to check the integrity of the packet. Excluding the 7-byte preamble and frame start byte SFD, the shortest packet is 64 bytes and the longest is 1518 bytes. Including the preamble and frame start byte, the lengths are 72 bytes and 1526 bytes respectively. An idle byte after the Ethernet packet is a control byte and is also called the end of frame delimiter (EFD).
[0039] Figure 2 The layer reference model of Ethernet network interface is given. Figure 2As shown in the figure, Ethernet includes seven layers: application layer, presentation layer, session layer, transport layer, network layer, link layer, and physical layer (PHY). Among them, the link layer includes the logical link control layer, Ethernet OAM layer (optional), Ethernet MAC control layer (optional), and MAC layer. The physical layer includes the reconciliation sub-layer (RS), physical coding sub-layer (PCS), FEC layer (optional), physical medium attachment sub-layer (PMA), and physical medium dependent sub-layer (PMD). The RS layer and the PCS layer are connected through the medium independent interface (MII). Since the 100M Ethernet, the MII logical interface with a stable concept has gradually been formed, and different names have been given as the rate increases. The physical interface rate of the GMII interface is 1Gbps, XGMII is 10Gbps, XLGMII is 40Gbps, CGMII is 100Gbps, etc. The MI logical concept interface has matured and improved with the evolution of interface rate. At 100M, the data width is half a byte and 4 bits, at GE, the data width is 1 byte and 8 bits, at 10GE, the data width is 4 bytes and 32 bits. The MII interface with a rate exceeding 10G has developed into an abstract logical interface, which is uniformly defined as 8 bytes and 64 bits of data width.
[0040] Typically, the first functional level of the interface physical layer from top to bottom is RS; Reconciliation Sublayer. The RS sublayer is connected to other PHY functional layers including PCS physical coding sublayer through MII interface to perform bidirectional data transmission. The MII interface data constructed by the RS reconciliation sublayer in the sending direction mainly takes the packet data from the packet buffer according to the agreed physical interface rate according to the data bit width of the MII interface, and transmits the Ethernet packet data to the physical coding sublayer in parallel through the MII interface with the determined rate bit width, replaces the first byte of the packet preamble with S bytes, fills the idle, T, O and other control byte information when there is no packet transmission, and ensures that the MII interface data format meets the requirements of the physical coding sublayer. For example, the frame on the 10GE XGMII interface is required to be aligned with the XGMII interface boundary, and the start byte S can only be placed on the first MII channel. In the receiving direction, the corresponding MII interface data obtained from the coding sublayer after receiving and decoding through the MII interface is restored to the Ethernet packet data and stored in the packet buffer, and various filling and control byte information are discarded and terminated.
[0041] TX_EN / TX_ER / TXC on the MII interface are used to indicate the start of the first byte of the preamble of the Ethernet packet and the end of the last byte of the packet. The first byte of the preamble is replaced by RS with the / S / character, and the first control character after the Ethernet packet is the / T / character. The bytes from the / S / character to the / T / character are data characters. The characters other than the data characters are control characters, as shown in the left figure below. It should be pointed out that there are 256 legal information combinations of 8-bit byte data characters from 0x00 to 0xFF, while there are only a few legal combinations of control characters, such as / I / , / S / , / T / and other control characters. / I / has the same meaning as I, both indicating the frame interval idle character byte; / S / has the same meaning as S, both indicating the Ethernet frame start character; / T / has the same meaning as T, both indicating the Ethernet frame end character. For example, the common characters of the XGMII interface are shown in the following table.
[0042] Table 1
[0043]
[0044] GMII uses 8-bit width and 125MHz clock, while XGMII uses 32-bit width and 312.5MHz clock. XGMII uses TXC 4-byte to indicate whether the 4 8-bit bytes of 32-bit width data are data characters or control characters. 40GE / 100GE further expands the MII interface width to 64bit and only serves as an abstract logical interface without defining the physical interface form. Subsequent 25GE, 50GE, 400GE, etc. may follow this rule.
[0045] Figure 3 The schematic diagram of MII interface data transmission is given. In the figure, TX_CLK is the clock signal sent by RS layer to PCS layer, TXC is used to indicate the transmission control signal, and TXD is the transmitted data. TXC includes a sequence of 0 and 1, 0 indicates that the corresponding byte transmitted is a data byte, and 1 indicates that the corresponding byte transmitted is a control byte. Figure 3As shown in the figure, in the case of 32-bit data width of the 10G XGMII interface, TX_CLK, TXC[0:3], TXD[0:7], TXD[8:15], TXD[16:23], and TXD[24:31] are transmitted in parallel from the RS layer to the PCS layer. For example, when the value of TXC[0:3] is 1000, it means that TXD[0:7] transmits the control byte, and TXD[8:15], TXD[16:23], and TXD[24:31] transmit the data byte. The same applies to the case of 64-bit width and the receiving direction. The data byte is the data to be transmitted, and the specific meaning of the control byte is shown in Table 1. For example, if TXC[0:3] indicates that TXD[0:7] is the control byte, and the value carried by TXD[0:7] is 0xFB, it can be known from Table 1 that TXD[0:7] carries the frame start character / S / .
[0046] This MII information transmission method can cooperate with the PCS layer encoding method. For example, for 64b / 66b encoding, the 64-bit information required for encoding comes from two consecutive 32-bit wide information of the XGMII interface, or a 64-bit wide information of the XL / CGMII, a total of 8 bytes of information, and the TXC information indicates whether each byte is a control byte or a data byte. Since bytes such as / S / , / O / are limited to the first byte channel of the MII interface, 40GE and 100GE continue to use 64b / 66b encoding, but because a 64-bit wide MII interface is used and the position of the / S / character is limited to the first byte of the 8 bytes of the XLGMII / CGMII interface, the types of corresponding 64b / 66b PCS encoding blocks are reduced, with a total of only 12 types of encoding blocks.
[0047] Figure 4 The 64b / 66b encoding table is given. The 64b / 66b code block includes 66 bits, including a 2-bit synchronization header and an 8-byte bearing area. When the synchronization header 2 bits indicate 01, the 8 bytes following the synchronization header in the code block are all data bytes; when the synchronization header 2 bits indicate 10, the 8 bytes following the synchronization header in the code block are a combination of control bytes and data bytes, and the first byte is used to indicate the codeword structure. Figure 4 In the coding table, D is used to indicate data bytes, C is used to indicate control bytes (the specific meaning of the values carried is shown in Table 1), and 0 indicates padding with 0.
[0048] The above is the basic situation of Ethernet technology. Because Ethernet is widely used, hardware and interface devices have good economies of scale, making the cost extremely low. The current 40GE, 100GE, NG100GE and next-rate Ethernet interfaces (such as 400GE, 1000GE) will also have a relative cost advantage.
[0049] The present invention designs a multiplexing technology that supports multiple technology systems to multiplex and share a link resource, and also supports the mixed integration of equipment of multiple technology systems, so that an integrated set of equipment and a set of links are used for networking, thereby improving equipment utilization, reducing power consumption, and reducing floor space and investment in management and maintenance.
[0050] On the one hand, if Figure 5 As shown, an embodiment of the present invention provides a method for transmitting service signals using an Ethernet channel, characterized in that the Ethernet channel includes multiple Ethernet physical coding sublayer PCS channels, each Ethernet PCS channel transmits service signals through a bearing area with a fixed length, and the method includes the following steps.
[0051] Step 101: Receive a first service signal and a second service signal.
[0052] Step 102: multiplex the first service signal and the second service signal into a bearer area of an Ethernet PCS channel, wherein a portion of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another portion of the at least one bearer area carries the second service signal.
[0053] Step 103: Send the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel.
[0054] Wherein, in combination with the above method, optionally, the at least one bearer area includes an overhead bearer area and a payload bearer area; the overhead bearer area carries bandwidth indication information, and the bandwidth indication information is used to indicate the bandwidth in the payload bearer area occupied by the first service signal. Further optionally, the bandwidth indication information is bandwidth particle number information, and the bandwidth particle number information is used to indicate the number of bandwidth particles in the payload bearer area occupied by the first service signal, wherein the length of each bandwidth particle is fixed.
[0055] In combination with all the above embodiments, optionally, the first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; the second service signal is an Ethernet service signal.
[0056] In combination with all the above embodiments, optionally, receiving the first business signal and the second business signal includes: sending a service identification signal and a clock signal to a sending end of the first business signal and a sending end of the second business signal, receiving the first business signal sent by the sending end of the first business signal, and the second business signal sent by the sending end of the second business signal, wherein, when the service identification signal is a first identification, the sending end of the first business signal sends the first business signal, and the sending end of the second business signal does not send a service signal, when the service identification signal is a second identification, the sending end of the second business signal sends the second business signal, and the sending end of the first business signal does not send a service signal, the first identification corresponds to the first business signal, and the second identification corresponds to the second business signal.
[0057] In combination with all the above embodiments, optionally, sending the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel includes sending at least one bearer area in the at least one Ethernet PCS channel, and sending a clock signal and an indication signal, wherein the indication signal is used to indicate the position of the alignment marker AM corresponding to the at least one bearer area. Further optionally, the indication signal is also used to indicate the position of the overhead bearer area of the at least one bearer area, and the position of the payload bearer area of the at least one bearer area.
[0058] As mentioned above, please refer to Figure 1 In traditional Ethernet, when there is no data to be sent, idle bytes are continuously sent. When there is data (with variable data length) to be transmitted, the corresponding data is transmitted. In the Ethernet physical layer PHY layer, the corresponding idle bytes are removed, and the corresponding alignment marker (AM) is inserted every fixed byte for the receiver to align and recover data. In this way, because the corresponding Ethernet is configured according to the peak traffic, under normal circumstances, the bandwidth utilization is insufficient and cannot be used to transmit other services, resulting in a waste of bandwidth.
[0059] In the embodiment of the present invention, the Ethernet PCS channel is regarded as a container with fixed capacity, which can be used for mixed transmission of multiple service signals, and is of course also compatible with the situation of transmitting only one service signal.
[0060] Specifically, on the sending side, the reconciliation sublayer RS first receives a service signal. The service signal may be an Ethernet service signal, a CPRI service signal, an OTN signal, an FC service signal of a Fiber Channel (FC) from an upper layer, or an SDH signal, or any combination of these signals. For example, it may be two or more Ethernet service signals, or one Ethernet service signal and one CPRI service signal.
[0061] Optionally, the RSs may receive the corresponding service signals through their own independent physical interfaces or through their own logical ports.
[0062] The following describes the receiving methods of different logical ports. Different logical ports can share a physical port. Take the case of two service signals as an example, and other cases are similar. The two service signals are respectively called the first service signal and the second service signal. The RS sends a service identification signal and a clock signal to the transmitting end of the first service signal and the transmitting end of the second service signal, and receives the first service signal sent by the transmitting end of the first service signal and the second service signal sent by the transmitting end of the second service signal, wherein when the service identification signal is the first identification, the transmitting end of the first service signal sends the first service signal, and the transmitting end of the second service signal does not send a service signal, when the service identification signal is the second identification, the transmitting end of the second service signal sends the second service signal, and the transmitting end of the first service signal does not send a service signal, the first identification corresponds to the first service signal, and the second identification corresponds to the second service signal. The transmitting end of the first service signal and the transmitting end of the second service signal are logical transmitting ends, and may be the same hardware component physically, that is, the hardware component has the ability to process the first service signal and the second service signal at the same time. Of course, the sending end of the first service signal and the sending end of the second service signal may also be different hardware components.
[0063] Optionally, RS saves the corresponding relationship between the corresponding Ethernet PCS channel and the service signal, and the corresponding relationship can be stored in a corresponding relationship table or in other ways. For example, each Ethernet PCS channel can correspond to one or more service signals. In one embodiment, each Ethernet PCS channel can correspond to 0-2 service signals, that is, zero means no service is carried, one means one service is carried, and two means two services are carried. Each service signal uses a corresponding service identifier, and the service identifier can be the same as the identifier carried in the above-mentioned service identifier signal. Optionally, the Ethernet PCS channel can correspond to two service signals, one is called the front-end service and the other is called the back-end service. The corresponding corresponding relationship table can store an Ethernet PCS channel identifier, a front-end service identifier, and a back-end service identifier, and the front-end service identifier and the back-end service identifier correspond to the Ethernet PCS channel identifier.
[0064] When the corresponding sender of the first service signal or the sender of the second service signal receives the corresponding service identification signal and clock signal, if the identifier indicated by the corresponding service identification signal matches the local identifier, the corresponding service signal is sent to the RS in the corresponding clock cycle; if the identifier indicated by the corresponding service identification signal does not match the local identifier, the service signal is not sent to the RS in the corresponding clock cycle. The RS forms a service identification signal by allocating an identifier in each clock cycle and broadcasts it to the sender of the first service signal and the sender of the second service signal, thereby avoiding conflicts caused by different senders sending service signals to the RS at the same time.
[0065] Take 40GE Ethernet as an example. Figure 6 As shown, 40GE Ethernet may include a 64 / 66b code block frame structure with 4 rows and 16384 columns, wherein such a frame structure that is continuous in time constitutes an Ethernet channel, and each continuous row of the frame structure is equivalent to an Ethernet PCS channel. The same is true for Ethernet at other rates, and the method of the embodiment of the present invention is also applicable. For example, 100GE Ethernet includes a 64 / 66b code block frame structure with 20 rows and 16384 columns. In the embodiment of the present invention, 64 / 66b code blocks are used as the granularity, and data blocks of other sizes may also be used as the granularity, such as bits, bytes, or 10 bytes, etc., which are not limited in the embodiment of the present invention. Figure 6As shown, in the embodiment of the present invention, a length of a 64 / 66b code block is allocated as AM, and an overhead (Overhead, OH) code block of a 64 / 66b code block is allocated at a certain length. It is worth noting that the length and position of AM and OH in the present invention are only examples, and other positions and lengths can also be set, depending on different granularities, such as the length of AM can be 1, 2, 3...100 granularity lengths, and OH can also be 1, 2, 3...100 granularity lengths. The length of each row can be set, such as half the length 8192 columns can be set as a row, or other lengths can be set as a row, which is not limited in the embodiment of the present invention. Each row includes an AM, one or more subframe structures, and each subframe includes an overhead bearing area OH, and a payload bearing area. It is worth noting that the overhead bearing area in the embodiment of the present invention is optional. In fact, for static services with fixed configuration, overhead may not be required. In this case, the transmitting end and the receiving end need to reach a consensus or be configured by the network management. In addition, optionally, the overhead bearing area of each row can include a corresponding check field for subsequent verification. Optionally, in addition to the AM, OH, and payload bearing areas, a corresponding check field may be separately reserved for each row, or a corresponding check field may be reserved for each subframe in its own payload bearing area.
[0066] After receiving the corresponding service signal, the RS multiplexes the corresponding service signal into the corresponding payload bearing area. The RS can determine the size of the bandwidth occupied by the corresponding service signal in the payload bearing area or the number of granularities, as well as its corresponding position in the payload area according to the specific multiplexing method and the bandwidth required by the service signal. The size of the bandwidth occupied by the service signal or the number of granularities is determined by the RS based on one or more of a fixed configuration, a network management configuration, a negotiation result, or an established bandwidth allocation strategy. The corresponding position of the service signal in the payload area can be directly determined according to the specific multiplexing technology, or it can be determined using a private algorithm, or it can be determined using a fixed configuration, which is not limited in the embodiments of the present invention.
[0067] Optionally, in the embodiment of the present invention, different services may be multiplexed into different Ethernet PCS channels, such as multiplexing a first service signal into a first Ethernet PCS channel, multiplexing a second service signal into a second Ethernet PCS channel, and so on.
[0068] Optionally, an Ethernet PCS channel can carry one service signal or multiple service signals. A service signal can be carried in one Ethernet PCS or multiple Ethernet PCS channels. For example, an Ethernet PCS channel, or a frame structure as described above, can carry a first service in one part and a second service in another part. For another example, a first service signal can be carried in multiple Ethernet PCS channels, and the bandwidth of the first service signal is equal to the sum of the bandwidths occupied by the first service signal in the corresponding multiple Ethernet PCS channels. In this way, the service signal in the embodiment of the present invention can occupy bandwidths of any size, and the system flexibility is high.
[0069] Optionally, the embodiment of the present invention may also generate corresponding overhead information according to the corresponding service, and carry the overhead information in the above-mentioned overhead carrying area. The specific content of the overhead information is optional according to the specific architecture. For example, the overhead information may include one or more of the following information: the size of the occupied bandwidth, the number of occupied granularities, the indication of bandwidth change, the Ethernet PCS channel identifier to which it belongs, the indication of the change in the number of occupied granularities, the corresponding verification information, the location distribution information of the service signal in the payload carrying area, the type information of the service signal, the identification information of the service signal, and the change information of the service signal (such as the identification change information of the service signal, such as the bandwidth adjustment information of the service signal). The overhead information mentioned in all the embodiments of the present invention may be combined with this, and the overhead information between different embodiments may also be combined with each other.
[0070] It is worth noting that the corresponding overhead information is optional, and for static, fixed configuration services, the overhead information may not be required. At the same time, the step of adding the corresponding overhead information may be completed by the RS, or may be sent by the RS to the Ethernet PHY layer and completed by the PCS layer or other layers of the PHY layer, which is not limited in the embodiment of the present invention.
[0071] RS can add corresponding AM and / or overhead carrying area, or fill fixed filling bytes at corresponding positions of corresponding AM and / or overhead carrying area OH, or fill idle characters at corresponding positions of AM and / or overhead carrying area OH, leaving it to the PCS layer or other layers of the PHY layer to replace the corresponding fixed filling bytes or idle characters with actual AM and / or overhead carrying area OH.
[0072] It is worth noting that the overhead information in the overhead carrying area can be explicit or implicit. For example, when an Ethernet PCS channel is occupied by two service signals, the first service signal and the second service signal, you can choose to only carry the bandwidth occupancy information or the number of granularity occupied by the first service signal in the overhead carrying area, and the remaining bandwidth or the number of granularity is assumed to be occupied by the second service signal by default. This method can reduce the overhead information that needs to be transmitted and indirectly improve bandwidth utilization. Optionally, the bandwidth occupancy information or the number of granularity occupied by the first service signal and the second service signal can also be explicitly carried in the overhead carrying area. This method can improve the reliability of overhead information transmission.
[0073] After encapsulating the corresponding service signals, the RS sends the service signals carried in the bearer area of the Ethernet PCS channel, such as the first service signal and the second service signal, to the PCS layer or other layers of the Ethernet PHY layer. Alternatively, sending the service signals carried in the bearer area of the Ethernet PCS channel can also be understood as the corresponding processing device sending the service signals carried in the bearer area of the corresponding Ethernet PCS channel to the transmission link. For the case of sending to the PCS layer, the sending step of the embodiment of the present invention includes sending a data stream encapsulating the corresponding service signals, and sending a clock signal and an indication signal, wherein the indication signal is used to indicate the position of the alignment marker AM corresponding to the at least one bearing area. That is, the RS can send an indication signal during the clock cycle of sending AM to indicate that the AM is transmitted in the current clock cycle. In the case of the existence of an overhead bearing area, the positions of the AM and the overhead bearing area can be relatively fixed, and in the case of indicating the position of the AM, the position of the corresponding overhead bearing area is also specified accordingly. Optionally, the indication signal may further indicate whether AM, overhead carrying area or payload carrying area is transmitted in the current clock cycle. For example, when the indication signal is 1, the payload carrying area is transmitted in the current clock cycle. When the indication signal is 2, AM is transmitted in the current clock cycle. When the indication signal is 3, the overhead carrying area is transmitted in the current clock cycle. This is only for example. The indication signal indicating the payload carrying area, the indication signal indicating the overhead carrying area and the indication signal indicating AM may be any combination of 1-100, or may be any combination of other signal indication methods.
[0074] The service identification signal sent by the RS to the transmitting end of the first service signal and the transmitting end of the second service signal in the embodiment of the present invention may be one signal or a combination of multiple signals, and the indication signal sent by the RS to the PCS layer may be one signal or a combination of multiple signals. For example, the indication method in the following embodiment 1 may be combined herewith.
[0075] The communication method and device introduced in the embodiment of the present invention can carry multiple service signals into the same bearing area of the same Ethernet PCS channel, thereby realizing that multiple service signals share the Ethernet channel, so that multiple service signals can share link resources and interface module resources, providing a basis for the integration of equipment with multiple technical systems, improving the utilization rate of link resources, and reducing the number of equipment, floor space, power consumption, maintenance costs, etc. in the metropolitan area network.
[0076] The following embodiments of the present invention will describe the method of receiving direction in conjunction with the accompanying drawings.
[0077] like Figure 7 As shown, an embodiment of the present invention provides a method for transmitting a service signal by using an Ethernet channel, wherein the Ethernet channel includes multiple Ethernet physical coding sublayer PCS channels, each Ethernet PCS channel transmits a service signal through a bearer area with a fixed length, and the method includes: receiving a service signal transmitted through the Ethernet channel, wherein the service signal includes a first service signal and a second service signal, a part of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another part of the at least one bearer area carries the second service signal; and distributing the first service signal and the second service signal.
[0078] In combination with all the above embodiments, optionally, the at least one bearer area includes an overhead bearer area and a payload bearer area; the overhead bearer area carries bandwidth indication information, and the bandwidth indication information is used to indicate the bandwidth in the payload bearer area occupied by the first service signal; the distribution of the first service signal and the second service signal includes obtaining the bandwidth indication information in the overhead bearer area, generating a service identification signal according to the bandwidth indication information and the identifier of the first service signal and the identifier of the second service signal stored locally, sending a clock signal, the service identification signal and the at least one bearer area, and the service identification signal is used to indicate the position occupied by the first service signal and the second service signal in the payload bearer area. Further optionally, the bandwidth indication information in the overhead bearer area is bandwidth particle number information, and the bandwidth particle number information is used to indicate the number of bandwidth particles in the payload bearer area occupied by the first service signal, wherein the length of each bandwidth particle is fixed.
[0079] In combination with all the above embodiments, optionally, the first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; and the second service signal is an Ethernet service signal.
[0080] In combination with all the above implementations, optionally, the method further includes: receiving a clock signal and an indication signal, wherein the indication signal is used to indicate a position of the overhead bearing area.
[0081] In the receiving direction, after receiving the service signal, the PHY layer sends it to the RS layer, and then the RS layer transmits the signal to the upper layer. In the prior art, there are methods for sending data from a variety of PHY layers to the RS layer, which can all be used in the embodiments of the present invention, and the present invention will not expand on this. The embodiments of the present invention only describe a sending method that is different from the prior art. In the embodiments of the present invention, at the PHY layer, such as when the PCS layer of the PHY layer sends a service signal to the RS layer, AM is optional, that is, AM is not sent. For statically configured services, the overhead bearing area is optional, and the corresponding overhead information is also optional. While sending the service signal to the RS, the PCS layer also sends a clock signal and an indication signal. The indication signal is used to indicate whether the payload bearing area, the overhead bearing area (if any), or the AM (if any) is sent in each clock cycle.
[0082] RS receives signals from corresponding Ethernet PCS channels. For example, RS can identify signals from different Ethernet PCS channels through AM sent by PCS. Alternatively, the corresponding overhead bearer area can carry the identifier of the corresponding Ethernet PCS channel, and RS can identify the corresponding Ethernet PCS according to the identifier of the Ethernet PCS channel in the overhead bearer area.
[0083] After receiving the signal carried in the corresponding Ethernet PCS channel, the RS obtains the bandwidth indication information in the overhead bearing area or determines the carrying position of the corresponding service signal in the payload bearing area according to the bandwidth indication information or the bandwidth allocation information stored locally. For example, when the corresponding payload bearing area carries the first service signal and the second service signal, the RS generates a service identification signal by determining the carrying position of each service signal and the identification of the corresponding service signal stored locally. Then, the RS broadcasts the signal received from the corresponding Ethernet PCS channel to the corresponding receiving end of the first service and the receiving end of the second service, and sends the corresponding clock signal and the corresponding service identification signal at the same time. The corresponding receiving end receives the service indicated by the service identification signal that matches its own identification.
[0084] The methods in the sending direction and the receiving direction of the embodiments of the present invention complement each other, the principles are unified, and the corresponding technical details can be combined with each other without restriction.
[0085] In combination with the above method implementation, the embodiment of the present invention also provides a corresponding communication device. Those skilled in the art can understand that the communication device introduced in the embodiment of the present invention is used to execute the method provided in the embodiment of the present invention, and the method introduced in the embodiment of the present invention can be executed using the communication device provided in the embodiment of the present invention. The communication device and the method complement each other, and the description in the method implementation is also applicable to the communication device, and the description of the communication device is also applicable to the corresponding method. The technical means in the corresponding method implementation can be combined with the communication device, and the technical means in the corresponding device implementation can be combined with the corresponding method.
[0086] like Figure 8 As shown, an embodiment of the present invention provides a communication device, which includes: a processing unit, used to receive a first service signal and a second service signal, and multiplex the first service signal and the second service signal into a bearer area of an Ethernet PCS channel, wherein a part of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another part of the at least one bearer area carries the second service signal; a sending unit, used to send the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel.
[0087] In combination with all the above embodiments, optionally, the at least one bearing area includes an overhead bearing area and a payload bearing area; the overhead bearing area carries bandwidth indication information, and the bandwidth indication information is used to indicate the bandwidth in the payload bearing area occupied by the first service signal.
[0088] In combination with all the above embodiments, optionally, the bandwidth indication information is bandwidth particle quantity information, and the bandwidth particle quantity information is used to indicate the number of bandwidth particles in the payload bearing area occupied by the first service signal, wherein the length of each bandwidth particle is fixed.
[0089] In combination with all the above embodiments, optionally, the first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; and the second service signal is an Ethernet service signal.
[0090] In combination with all the above embodiments, optionally, receiving the first business signal and the second business signal includes: sending a service identification signal and a clock signal to a sending end of the first business signal and a sending end of the second business signal, receiving the first business signal sent by the sending end of the first business signal, and the second business signal sent by the sending end of the second business signal, wherein, when the service identification signal is a first identification, the sending end of the first business signal sends the first business signal, and the sending end of the second business signal does not send a service signal, when the service identification signal is a second identification, the sending end of the second business signal sends the second business signal, and the sending end of the first business signal does not send a service signal, the first identification corresponds to the first business signal, and the second identification corresponds to the second business signal.
[0091] In combination with all the above embodiments, optionally, sending the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel includes sending at least one bearer area in the at least one Ethernet PCS channel, and sending a clock signal and an indication signal, wherein the indication signal is used to indicate the position of the alignment marker AM corresponding to the at least one bearer area. Further optionally, the indication signal is also used to indicate the position of the overhead bearer area of the at least one bearer area, and the position of the payload bearer area of the at least one bearer area.
[0092] In the embodiment of the present invention, all methods and steps except the sending step can be implemented in the processing unit, and the corresponding processing unit can be used to implement all steps except the sending step in the above method implementation.
[0093] Specifically, the corresponding processing unit may be a device such as an ASIC, an FPGA, or a CPU, or a combination of two or more devices such as ASICs, FPGAs, or CPUs. The corresponding ASICs, FPGAs, CPUs, and other devices include a series of executable instructions, which, when executed, will prompt the corresponding ASICs, FPGAs, or CPUs to perform corresponding functions, or to execute corresponding methods. The corresponding instructions may be stored in a storage medium or solidified in the corresponding ASICs or FPGAs.
[0094] Specifically, the corresponding sending unit may refer to an interface connected to the processing unit and having a function of sending a signal stream, or may refer to a functional module integrating a PMA, a PMD and a transmitter, and may optionally include an FEC functional module. The corresponding PMA, PMD and FEC functions may be integrated into one or more ASICs, FPGAs or CPUs.
[0095] like Fig. 9As shown, an embodiment of the present invention provides a communication device, which includes: a receiving unit, used to receive a service signal transmitted through the Ethernet channel, wherein the service signal includes a first service signal and a second service signal, a part of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another part of the at least one bearer area carries the second service signal; a processing unit, used to distribute the first service signal and the second service signal.
[0096] In combination with all the above embodiments, optionally, the at least one bearing area includes an overhead bearing area and a payload bearing area; the overhead bearing area carries bandwidth indication information, and the bandwidth indication information is used to indicate the bandwidth occupied by the first service signal in the payload bearing area; the distribution of the first service signal and the second service signal includes obtaining the bandwidth indication information in the overhead bearing area, generating a service identification signal according to the bandwidth indication information and the locally stored identifier of the first service signal and the identifier of the second service signal, sending a clock signal, the service identification signal and the at least one bearing area, and the service identification signal is used to indicate the positions occupied by the first service signal and the second service signal in the payload bearing area.
[0097] In combination with all the above embodiments, optionally, the bandwidth indication information is bandwidth particle quantity information, and the bandwidth particle quantity information is used to indicate the number of bandwidth particles in the payload bearing area occupied by the first service signal, wherein the length of each bandwidth particle is fixed.
[0098] In combination with all the above embodiments, optionally, the first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; and the second service signal is an Ethernet service signal.
[0099] In combination with all the above embodiments, optionally, the receiving unit is further used to receive a clock signal and an indication signal; the processing unit is further used to determine the location of the overhead bearing area according to the indication signal.
[0100] In the embodiment of the present invention, all methods and steps except the receiving step can be implemented in the processing unit, and the corresponding processing unit can be used to implement all steps except the receiving step in the above method implementation.
[0101] Specifically, the corresponding processing unit may be a device such as an ASIC, an FPGA, or a CPU, or a combination of two or more devices such as ASICs, FPGAs, or CPUs. The corresponding ASICs, FPGAs, CPUs, and other devices include a series of executable instructions, which, when executed, will prompt the corresponding ASICs, FPGAs, or CPUs to perform corresponding functions, or to execute corresponding methods. The corresponding instructions may be stored in a storage medium or solidified in the corresponding ASICs or FPGAs.
[0102] Specifically, the corresponding receiving unit may refer to an interface connected to the processing unit and having a function of receiving a signal stream, or may refer to a functional module integrating a PMA, a PMD and a receiver, and may optionally include an FEC functional module. The corresponding PMA, PMD and FEC functions may be integrated into one or more ASICs, FPGAs or CPUs.
[0103] The specific embodiments of the present invention will be described in detail below in conjunction with specific situations.
[0104] Embodiment 1
[0105] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0106] 100GE Ethernet physical interface is divided into 20 physical coding sublayer logical channels (PCS Lane). Each logical channel periodically contains an alignment marker (AM) every 16384 64 / 66b code blocks. AM is used for synchronization and alignment of all parallel physical coding sublayer logical channels to restore a single 100GE data stream. Therefore, its interface physical layer has a typical data frame periodic structure of 20 rows and 16384 columns. This 20 rows and 16384 columns of data frame periodic structure is equivalent to dividing 20 time slots.
[0107] The situation of 40GE is similar, with four physical coding sublayer logical channels (PCS Lanes), and its interface physical layer has a typical data frame periodic structure of 4 rows and 16384 columns, which is equivalent to dividing it into 4 time slots.
[0108] The 100GE multi-physical coding sublayer logical channel (PCS Lane) has a 20-row 16384-column 64 / 66b code block frame structure, and the 40GE multi-physical coding sublayer logical channel (PCS Lane) has a 4-row 16384-column 64 / 66b code block frame structure. The length of each channel multiplexing frame of 16384 can be further divided into several multiplexing subframes and the overhead is defined, for example Fig.10As defined below, each logical channel multiplexing frame further divides the 16383 blocks except the synchronization alignment code block (Alignment Marker: AM) into 3 multiplexing subframes. The first 64 / 66b code block of each subframe (including 8 bytes + 2 bits of synchronization header, a total of 66 bits) is defined as the subframe overhead area. The rest is the multiplexing bearing area, which contains 5460 64 / 66b code blocks. Each 64 / 66b code block or its corresponding 8 character bytes before encoding is used as an allocable bandwidth particle. Similarly, the 40GE physical layer interface has 4 physical coding sublayer logical channels, and the multiplexing frame with a length of 16384 for each channel can be divided into 3 multiplexing subframes.
[0109] The following describes in detail the scenario of hybrid multiplexing of CPRI-20 in a 40GE Ethernet link.
[0110] The bit multiplexing time slots have been divided on the 40GE and 100GE interfaces. In the present invention, the bandwidth on some time slots is allocated on demand for multiplexing CPRI interface data, and the remaining bandwidth is fully used for the transmission of the original Ethernet statistical multiplexing packet data.
[0111] In Ethernet packet services, data packets are statistically multiplexed on link resources, and effective traffic is sometimes high and sometimes low. System design and network deployment are generally designed according to peak demand. When effective traffic is low, invalid idle fill bytes are transmitted on the link, resulting in a waste of resources. For example, when a 40GE has only 60% effective traffic, 40% of its bandwidth is actually idle and wasted. This embodiment describes a situation where a fixed rate (CBR) circuit CPRIx20 interface data shares a 40GE physical interface and link with the above-mentioned Ethernet packet data with only 60% effective traffic.
[0112] The following table shows the nominal clock and interface information rates of the 40GE physical interface and the CPRIx20 physical interface and their extreme rates at a frequency deviation of ±100 ppm:
[0113] Table 2
[0114]
[0115]
[0116] For the convenience of description, it is assumed that the 40GE Ethernet physical interface and the fixed rate circuit CPRIx20 interface with 60% effective traffic above both work at the nominal clock frequency and have the nominal interface information rate. This embodiment multiplexes the fixed rate (CBR) circuit CPRIx20 interface data of this nominal rate to the first physical coding sublayer logical channel (Lane 0) of the 40GE physical interface with the nominal rate. That is, the present invention divides a part (1 / 4=25%) of the logical channel bandwidth resources from the Ethernet interface link bandwidth to be allocated to interfaces of other technical systems as needed, thereby realizing the shared multiplexing of interface and link resources.
[0117] Bandwidth resources are allocated according to 64 / 66b blocks. The frame synchronization header of CPRI-20 was originally 20 0x50 bytes. In order to cooperate with the use of 64 / 66b encoding, its adaptation sublayer uses the frame end character / T / =0xFD and the frame start character / S / =0xFB to replace the 8th and 9th bytes (#Z.0.7, #Z.0.8) of its 20 0x50 bytes of synchronization header, and indicates it as a control character with TXC=1 on the MII interface, and makes the character / S / appear as the first byte of the 8-byte particle of the 64 / 66b encoding block. In this embodiment, in order to ensure compatibility with 64 / 66b, it is also required that the character / S / appear as the first byte of the 8-byte particle of the 64 / 66b encoding block.
[0118] The nominal frame frequency of the multiplexed frame subframe is Fc = (100*10^9) / 64 / 20 / 16384*3 = 28610.2294921875 Frame / second; the number of subframe bandwidth particles is 5460 (64 / 66b blocks). For the CPRIx20 nominal rate, each multiplexed subframe needs to be allocated (0.49152*10^9) / 64*20 / Fc = 5368.70912 bandwidth particles on average. Then, among 100,000 subframes, 70,912 subframes are allocated 64 / 66b block bandwidth particles with a number of 5369, and 100,000-70,912 = 29,088 subframes are allocated 64 / 66b block bandwidth particles with a number of 5368, which can approach the effect of an average allocation of 5368.70912 64 / 66b block bandwidth particles. In order to achieve uniformity as much as possible, 70912:29088=2.437843784378438:1, approximately 2 to 3 subframes with 5369 bandwidth particles are allocated with one 5368 bandwidth particle per subframe to reduce the demand for cache. The interleaving and arrangement relationship can be determined by an algorithm. For example, the number of bandwidth particles allocated to each subframe of the first 50 subframes and the interleaving and arrangement relationship can be determined in the following way:
[0119] Table 3
[0120]
[0121] The specific arrangement sequence is: […5368,5369,5369,5368,5369,5369,5369,5368…], which can reduce the demand for cache. In theory, the effective data cache accumulation depth can be controlled within 1. The following algorithm 2 can also get the same result.
[0122] Table 4
[0123]
[0124]
[0125] As the first key point, the above solves the number of bandwidth particles allocated in the subframe and its arrangement sequence. The second step is to solve the problem of allocation and arrangement of bandwidth particles in the subframe, and determine whether each particle is allocated to the CPRIx10 interface circuit service or is still reserved for the Ethernet statistical multiplexing packet service. In this way, the Ethernet statistical multiplexing packet service can use all the remaining link bandwidth resources.
[0126] The second key point is that 5369:(5460-5369)=5369:91=59:1, 5460=91*60, 5369=91*59; that is, for a subframe that needs to allocate 5369 bandwidth particles, each subframe is divided into 91 equal parts of 60 particles, and 59 particles are allocated to CPRIx20 out of every 60 particles, and the remaining 1 particle is still reserved for the Ethernet statistical multiplexing packet service. In addition, 5368:(5460-5368)=5368:92=58.3478:1, 5460=60*59+32*60, 5368=60*58+32*59; 60:32=15:8; that is, for a subframe that needs to be allocated 5368 bandwidth particles, the subframe can be divided into 60 parts of 59 particles and 32 parts of 60 particles; each part still reserves one bandwidth particle for the Ethernet statistical multiplexing packet service, and the remaining 58 or 59 particles are allocated to CPRIx20.
[0127] The allocation, assignment, or determination of the ownership of bandwidth granules within a subframe can be determined in the following manner. Let the number of allocable 64 / 66b granules within the subframe be: Pc_subframe, and the number of 64 / 66b granules that need to be allocated to circuit services in the current subframe be Cn_subframe; then the allocation arrangement of the 64 / 66b granules marked 1 to Pc_subframe in the subframe can be determined as follows: If the relationship mod(j*Cn_subframe, Pc_subframe) < Cn_subframe holds for the jth granule, it is a bandwidth granule allocated to the TDM service. Otherwise, it is reserved for the Ethernet statistical multiplexing packet service. Thus, the sharing and multiplexing problem of link resources for the two services is solved.
[0128] Table 5
[0129]
[0130] In this embodiment, each subframe (5460 granules) mentioned above needs to allocate 5368 or 5369 bandwidth granules at intervals per frame. At the receiving end, the receiver only needs to know in advance the value of Cn_subframe, and can also determine the allocation ownership of each bandwidth granule through the same algorithm rule. In particular, in actual situations, there are clock drifts and jitters, or other reasons such as changing the rate of the CPRIx20 circuit interface to CPRIx10, etc., which may be accompanied by slow or rapid changes in Cn_subframe. Therefore, the transmitting end needs and only needs to transmit the value of Cn_subframe corresponding to the subframe to the receiving end in real time.
[0131] All the bandwidth granules reserved for the Ethernet service in each physical coding sublayer channel of 100GE will be uniformly used for the multiplexing of the Ethernet service. As Fig.11 shown, the first subframe of the first channel allocates 5368 granules, with 1 reserved bandwidth granule at intervals of 58 or 59 allocated bandwidth granules, and the second and third subframes both allocate 5369 granules, with 1 reserved bandwidth granule at intervals of 59 allocated bandwidth granules.
[0132] The third key point is that a communication mechanism also needs to be provided at both ends of the physical link to indicate the above-mentioned allocation of bandwidth granules from the transmitting end to the receiving end of the physical link. To achieve reliable transmission of the bandwidth granule allocation value Cn_subframe of each subframe from the transmitting end to the receiving end. The first 64 / 66b code block of each subframe of the improved high-speed Ethernet physical interface of the present invention is an overhead block. As Fig.12 shown, the overhead block can be used as a special data block, and the synchronization header is a two-bit data block synchronization header "0b01", and its 8-byte part is used for the transmission of Cn_subframe of each subframe from the transmitting end to the receiving end of the link.
[0133] like Fig.12 As shown in the figure, each subframe contains 5460 allocable bandwidth particles, requiring a 13-bit Cn_subframe indication (2^12=4096, 2^13=8192). The field of block count in the figure can be used to carry the Cn_subframe indication. Table 6 gives the specific meaning of the Cn_subframe indication. Cn_subframe has two meanings: one is to indicate the number of allocated bandwidth particles, and the other is to implicitly indicate the number of reserved bandwidth particles. The Cn_subframe value is zero, indicating that the bandwidth particles of the current subframe are fully reserved.
[0134] Table 6
[0135]
[0136] While the above Cn_subframe value is absolutely indicated, a relative indication can be further provided, that is, the change of the Cn_subframe value of this frame relative to the previous frame, which is encoded as shown in Table 7 below.
[0137] Table 7
[0138]
[0139] The relative change indication can also be used to verify and check whether Cn_subframe is transmitted reliably, and plays a verification role. The change is generally +1 or -1.
[0140] like Fig.13 As shown, the service identification ID assigned to CPRI-20 is ID=1, and the service identification ID of the global Ethernet statistical multiplexing packet service is ID=0. The MII RS Master module at the transmitting end and the MII RS Master module at the receiving end have learned the types and identification IDs of the two services, and stored them in the form of a table or other forms for future reference. The CPRI-20 service is transmitted on the allocated bandwidth particles, which is called the front-end service, and the original Ethernet statistical multiplexing packet service is transmitted on the reserved bandwidth particles, which is called the back-end service. The table marks the front-end and back-end service configurations of each channel. The MII RSMaster module at the transmitting and receiving end controls the sending and receiving of data according to the table.
[0141] like Fig.14As shown, on the sending side, the MII RS Master module at the sending end sends the clock according to the table content and the multiplexing frame period.<Tx Clk> Driven by, a control indication signal is generated<Tx En> ,<Tx ID> .<Tx Clk> ,<Tx En> ,<Tx ID> It is used to control and guide the data transmission of the Ethernet adaptation sublayer (Ethernet RS, ID=0) and the CPRI adaptation sublayer (CPRI RS, ID=1), as well as the encoding and scrambling of the data by the physical coding sublayer.<Tx En> =(0,0), (0,1), (0,2), (0,3) respectively indicate that the bandwidth particles corresponding to the current clock cycle are the synchronization alignment code blocks AM0~AMn of channels 0~n, the first subframe overhead OH0~OHn, the second subframe overhead OH0~OHn, and the third subframe overhead OH0~OHn.<Tx ID> There is no indication meaning, and the service cannot be transmitted. In this embodiment, 40GE has four channels (lanes), n=4. <txen>=(1,1) indicates that the current n bandwidth particles belong to the first subframe,<Tx En> =(1,2) indicates that the current n bandwidth particles belong to the second subframe,<Tx En> =(1,3) indicates that the current n bandwidth particles belong to the third subframe. The bandwidth particle data of each lane of the device are arranged and transmitted in the order of Lane_0 to Lane_n.<Tx ID> Indicates the allocation and reservation of the current data block bandwidth particles.<Tx ID> The specific value of is determined by the channel and subframe Cn_subframe, and the front-end service ID or back-end service configured for the channel, that is, indicating the ownership of the bandwidth particle in the clock cycle. In this embodiment,<Tx ID> = 0, indicating the bandwidth granularity of Ethernet. The Ethernet adaptation sublayer (Ethernet RS, ID = 0) sends data as instructed. The data sent is as follows:<Tx Data A> .<Tx ID> =1, indicating the bandwidth granularity of Ethernet, the CPRI adaptation sublayer (CPRI RS, ID = 1) sends data as instructed. The data sent is as follows:<Tx Data B> .<Tx Data C> For data<Tx Data A> and<Tx Data B> The sequence of the synchronization alignment code blocks AM0-AMn, the first subframe overhead OH0-OHn, the second subframe overhead OH0-OHn, and the third subframe overhead OH0-OHn data blocks filled by the MII RS Master module at the transmitting end is as follows:<Tx Data D> , and finally time division multiplexing merge<Tx Data E> Send to the physical layer for processing and transmission on the physical link. En = (1, 3), 1 indicates data; 3 means the third subframe. Optionally, in one implementation, please refer to Fig.14 , En=(0,0), the first 0 indicates non-data, the second zero is the first subframe AM / OH, En=(0,1), the first 0 indicates non-data, 1 is the second subframe OH; En=(0,2), the first 0 indicates non-data, 2 is the third subframe OH.
[0142] <Tx En> The position indication of the synchronization alignment code blocks AM0 to AMn of channels 0 to n has the same meaning. Optionally,<Tx Data D> ,<Tx Data E> It may not contain meaningful AM0~AMn data information, such as Fig.15 middle<Tx Data D’> ,<Tx Data E’> PCS can be based on<Tx En> Instructions, directly in<Tx En> =(0,0) and directly insert the corresponding AM0~AMn 64 / 66b coding blocks into the position.
[0143] exist<Tx En> Under the instruction of , the PCS scrambling processing performs scrambling processing on the code blocks other than the AM0~AMn code blocks.
[0144] like Fig.16 As shown, after the physical layer at the receiving end recovers the clock and data, it is obtained<Rx Clk> And the corresponding data sequence before decoding, PCS on the one hand, recognizes, synchronizes and aligns the synchronization alignment code blocks AM0~AMn of channels 0~n that have not been scrambled, so AM0~AMn has completed its mission, and PCS can output<Rx En> On the other hand, the data sequence is decoded and descrambled to recover the<Rx Data A> Data sequence.<Rx En> The position indication of the synchronization alignment code blocks AM0 to AMn of channels 0 to n has the same meaning. Optionally,<Rx Data A> It may not contain meaningful AM0~AMn data information, such as Fig.17 In<Rx Data A’> .<Rx Clk> ,<Rx En> ,<Rx Data A> The MII RS Master module at the receiving end is processed according to the frame period indication of the fixed channel alignment codeword.<Rx En> Explicit indication, combined with the physical coding sublayer logical channel of the receiving side and the corresponding front-end service ID and back-end service ID, the ownership of each clock cycle bandwidth particle is determined by Cn_subframe in the subframe overhead OH0~OHn.<Rx Clk> ,<Rx En> ,<Rx ID> ,<Rx Data B> Sent to the adapter layer of each service interface, each adapter layer<Rx Clk> ,<Rx En> ,<Rx ID> The Ethernet adapter layer (Ethernet RS, ID = 0) receives and extracts its own data.<Rx En> =(1,1),(1,2),(1,3),<Rx ID> = 0; CPRI adaptation sublayer (CPRI RS, ID = 1) receives and extracts<Rx En> =(1,1),(1,2),(1,3),<Rx ID> =1.
[0145] In addition, it should be pointed out that the receiver needs to know the Cn value in a relatively fast way and determine the allocation of bandwidth particles in its frame. If the receiver cannot complete the calculation to determine the ownership of each bandwidth particle in a short enough time, it is recommended to send the overhead block (OverHead) one frame in advance. That is, the overhead block in the current subframe corresponds to the bandwidth particle allocation in the next subframe, and so on. The receiver has enough time to react and calculate the ownership of the bandwidth particles in the subframe.
[0146] Embodiment 2
[0147] The following describes the mixed carrying of CPRI-10 in the bit multiplexing time slots opened up by the 100GE Ethernet link.
[0148] The CPRI-20 frame synchronization header was originally 20 0x50 bytes. To match the use of 64 / 66b encoding, the adaptation sublayer replaced the 8th and 9th bytes (#Z.0.7, #Z.0.8) of the 20 0x50 bytes of the synchronization header with the frame end character / T / =0xFD and the frame start character / S / =0xFB, respectively, and indicated it as a control character with TXC=1 on the MII interface, and made the character / S / appear as the first byte of the 64 / 66b encoding block bandwidth. There are also three types of 4 / 66b encoding blocks involved.
[0149] CPRI-10 can also adopt the same processing method as the frame synchronization header of CPRI-20. Originally, it is 10 0x50 bytes. In order to cooperate with 8 / 10b encoding, the first and second bytes replaced with 0xBC and 0x50 / C5 are still retained as 0x50 bytes, that is, the 8th and 9th bytes (#Z.0.7, #Z.0.8) are replaced with T / S characters, that is, it can cooperate with and use Ethernet PCS for 64 / 66b encoding, and the types of coding blocks involved are also three, which are consistent with CPRI-20. If CPRI-10 shares a multiplexed 100GE physical interface and link with a 100GE Ethernet statistical multiplexing packet service with relatively small effective traffic. This embodiment multiplexes the CPRIx10 interface data of this nominal rate fixed rate (CBR) circuit to the first physical coding sublayer logical channel (Lane 0) of the nominal rate 100GE physical interface.
[0150] Bandwidth resources are allocated according to 64 / 66b blocks. The nominal frame frequency of the multiplexed frame subframe is Fc = (100*10^9) / 64 / 20 / 16384*3 = 14305.11474609375Frame / second; the number of subframe bandwidth particles is 5460 (64 / 66b blocks). For the CPRIx10 nominal rate, each multiplexed subframe needs to be allocated an average of (0.49152*10^9) / 64*10 / Fc = 5368.70912 bandwidth particles. Then, among the 100,000 subframes, 70,912 subframes are allocated with 5,369 64 / 66b block bandwidth particles, and 100,000-70,912=29,088 subframes are allocated with 5,368 64 / 66b block bandwidth particles, which can approximate the effect of evenly allocated 64 / 66b block bandwidth particles of 5368.70912. In order to achieve uniformity as much as possible, 70,912:29,088=2.437843784378438:1, and approximately one subframe is allocated with 5368 bandwidth particles every 2 to 3 subframes to reduce the need for cache. The specific implementation method is basically the same as the above-mentioned embodiment 1, please refer to Figure 10-Figure 17 , I will not go into details here.
[0151] In addition, the determination of the ownership of each bandwidth particle in each subframe depends on Cn_subframe, and the receiving end also relies on Cn_subframe for accurate data demultiplexing. Therefore, the reliable transmission of Cn_subframe is crucial. Therefore, redundancy and verification can be introduced into the transmission of the coded information of Cn_subframe and Cn_subframe Change. There are many different ways to introduce redundancy and verification, such as multiple transmissions and adding the transmission of CRC8 and BIP8 parity check results. Fig.18 An implementation example of multiple transmissions is given.
[0152] The reserved bytes in the overhead block of the first embodiment are as follows: Fig.18 As shown, it can be further used. The coded information of Cn_subframe and Cn_subframe Change is transmitted more than three times, and the original binary value and the inverted binary value (the inverted binary 1 is 0, and the inverted 0 is 1) of the same bit can be transmitted simultaneously to ensure the reliable transmission of Cn and the detectability of errors. For example, the encoding is as follows.
[0153] Table 8
[0154]
[0155] like Fig.19 As shown, multiple transmissions plus row and column combined even check are introduced. Due to the row and column supervision check, one bit error can be corrected and multiple bit errors can be found. Combined with the coded information of Cn_subframe and Cn_subframe Change that are repeatedly transmitted, the reliable transmission and reception of Cn_subframe and Cn_subframeChange can be guaranteed according to the majority consensus principle.
[0156] In addition, if the shared multiplexing physical layer interface uses the 8b / 10b codec, the current frame synchronization header byte definition of CPRIx10 can be retained. However, the structure of the shared multiplexing frame and the overhead information, especially the transmission of the coded information of Cn_subframe and Cn_subframe Change, need to be redesigned.
[0157] Embodiment 3
[0158] The following describes how OTN data utilizes the multiplexing technology provided by the embodiment of the present invention.
[0159] The pre-coding information rate of the OTN OTU2 / ODU2 interface is higher than the pre-coding information rate of the 10GE Ethernet interface, and is also higher than the pre-coding information rate of a 10G bandwidth physical coding sublayer channel in 40GE and the total pre-coding information rate of two 5G bandwidth physical coding sublayer channels in 100GE. As a result, ODU2 or OTU2 cannot be multiplexed into a 10G bandwidth physical coding sublayer channel in 40GE at the nominal rate, nor can it reuse the 10GE physical interface at the nominal rate for transmission, requiring speed increase or other processing. This embodiment uses two physical coding sublayer channels in 40GE.
[0160] Table 9
[0161]
[0162] As a typical TDM signal, the OTU2 signal is multiplexed with the statistical multiplexing packet Ethernet on a 40GE interface. This embodiment uses two physical coding sublayer logical channels lane 1+lane 2 in 40GE. OTN OTU2 is the front-end service on the two channels, and the assigned ID is ID=2. The statistical multiplexing Ethernet packet service is the back-end background service ID=0 on all channels. The transceiver obtains such configuration information or determines the service ID configuration table through protocol negotiation, such as Fig. 20 shown.
[0163] From a numerical point of view, on average, each subframe needs to allocate 5824 or 5825 bandwidth particles of 64 / 66b code blocks for the OTU2 signal, which has exceeded the total number of bandwidth particles that can be allocated per subframe of a single channel (5460). Two 40GE physical coding sublayer channels (time slots) need to be cascaded to allocate bandwidth particles.
[0164] There are different ways to allocate bandwidth particle tasks for the two channels Lane00+Lane01, such as the following method 1 and method 2, as shown in Table 10. Because the front-end service configuration IDs of the two channels are both 2, Cn_subframe is the sum of the Cn values of the two channels. Cn_subframe = Cn2 + Cn1.
[0165] Table 10
[0166]
[0167] The two methods are equivalent. Taking method 1 as an example, the distribution is as follows Fig.21 As shown, it is more uniform than method 2. Method 1 is recommended here. The first channel Lane01 is fully allocated. The second channel Lane02 is supplemented with a bandwidth particle required for a certain period of time in a timely manner, and 364 or 365 particles are evenly distributed in the subframe.
[0168] OTN has a fixed-length frame structure. The OTN frame itself has a 6-byte synchronization sequence FAS.<OA1,OA1,OA1,OA2,OA2,OA2> , where OA1=0xF6, OA2=0x28, is a fixed bit pattern. OTN combines the physical layer to perform scrambling processing on data other than FAS for framing. Optionally, in this embodiment, the original structure of the OTU2 frame can be retained, and the framing task can be handed over to the OTN RS for processing; the MII RS Master module of the present invention can also cooperate with the 64 / 66b encoding function of the physical coding sublayer to perform framing instructions for the OTU frame. Fig. 22 As indicated, the first two bytes of the OTU2 frame, OA1, OA1, are replaced with T and S characters that match the 64 / 66b encoding function of the physical coding sublayer, indicating the start and end of the frame.
[0169] Another difference is that the character attribute indication information TXC\RXC accompanying the sent and received data sequences is 0 in the former, and the OA1 and OA2 bytes are also indicated as data bytes with TXC\RXC=0, which is different from other data bytes. <d>The latter uses the T and S character bytes as control bytes and indicates them with TXC\RXC=1. Fig.23 As shown, the former is shown in Tx Data C1, and there is only one type of code block after encoding, and the latter is shown in Tx Data C2, and there are three types of code blocks after encoding.
[0170] In the implementation of the latter: in the sending direction, the OTN RS can simply replace the first and second bytes of the FAS field in the OUT1 frame with / T / and / S / characters respectively, and then send them to the 64 / 66b physical coding sublayer and other physical layer functions for encoding and transmission through the MII interface with 8-byte 64-bit TXD / RXD data width and 8-bit TXC / RXC; in the receiving direction, the MII receives the MII interface data decoded and output by the physical layer, and restores the / T / and / S / characters to the two OA1 bytes of the original FAS, thereby restoring the OTU1 frame. The data sent on the MII interface follows the rule that the S character appears in the first byte TXD / RXD[0:7]. The former regards all OTU1 frames as data bytes, so there is no special requirement. The situation of the CPRI interface is similar.
[0171] It should also be noted that the FEC overhead included in the OTN frame is optional in this embodiment. Because FEC belongs to the task of the physical interface layer, the lower layer in the embodiment has an optional FEC function to ensure the transmission error performance of the system.
[0172] It is worth noting that the technology of adding / T / and / S / characters in the OTN data stream and transmitting it on the Ethernet MII interface has been described in detail in Chinese Patent No. 201410805443.8, and the entire content of the patent is incorporated into this patent application.
[0173] Embodiment 4
[0174] The marking of the front-end service ID and the back-end background service ID lays the foundation for multiple services to share a physical interface link.
[0175] like Fig.24 As shown in the figure, the interface can multiplex three logical Ethernet statistical multiplexing packet services and CBR CPRI services, CBR OTN services, statistical multiplexing Fibre Channel services, etc. Each service is assigned a different service ID and is assigned to a different Ethernet physical coding sublayer logical channel as a front-end service or back-end background service. In the figure below, taking the 40GE physical layer interface and link as an example, three packet statistical multiplexing Ethernet logical subports are divided, marked as ID = 0, ID = 1, ID = 2; ID = 3 for CBR circuit CPRI-100 service, ID = 4 for CBR circuit OTU2 service, ID = 5 for Fiber Channel FC (1G\2G\4G\8G) service, etc. Fiber Channel FC itself is also a packet-based technology, but it can be treated as a CBR circuit according to its physical interface rate, or it can be treated as a packet statistical multiplexing service like Ethernet, depending on the application scenario and the requirements for the FC RS functional module. Here, it is assumed that Fiber Channel is a CBR service of different rate levels such as FC-1G\2G\4G\8G. That is, the FC, CPRI, and OTN services here are all CBR circuit services.
[0176] like Fig.24 As shown in the figure, on a 40GE physical interface, the front-end service of lane 00 is the CBR circuit CPRI-10 service with ID=3, and the back-end background service is the packet statistical multiplexing Ethernet logical subport with service ID=0; both services are approximately 5G bandwidth, with CPRI bandwidth accounting for a slightly smaller proportion, and share one lane Lane 00. The front-end service of lanes Lane 01+Lane 02 is the CBR circuit OTU2 service with ID=4, and the back-end background service is the packet statistical multiplexing Ethernet logical subport with service ID=1; both services are approximately 10G bandwidth, with OTU2 bandwidth accounting for a slightly higher proportion, and share two lanes Lane 01+Lane 02. The Fiber Channel FC (1G\2G\4G\8G) service with ID=5, as the front-end service and the back-end background service are the packet statistical multiplexing Ethernet logical subport, service ID=2, and share lane 03 together. It even allows OTN and FC services to switch service rate levels without losing services, such as switching FC from 2G to 4G or vice versa. Cn_subframe changes from a value close to an expected value of FC-2G to a value close to an expected value of FC-4G.
[0177] Embodiment 5
[0178] As the speed of high-speed Ethernet interfaces develops, the speed differences of interfaces become larger. For example, the common GE, 10GE, 40GE, 100GE, and 400GE are currently available. The minimum speed difference of interfaces is 9G, and the maximum speed difference is 300G. The demand for packet statistical multiplexing Ethernet interfaces with intermediate bandwidth, such as 30G and 80G, is difficult to meet.
[0179] like Fig.25 As shown, the present invention divides the physical coding sublayer logical channels of the high-speed interface, introduces the front-end logical sub-port and the back-end logical sub-port on the channel or the combination of channels, that is, the Cn_subframe can realize the stepless allocation of the channel or channel group bandwidth between the two logical sub-ports. Even the basic bandwidth allocation or the percentage allocation of the bandwidth can be achieved with several digits after the decimal point. For example, 100GE is divided into 28.55GE, 71.45GE, etc., or 89%, 11% of 80GE, etc. Cn_subframe combines the characteristics of packet statistical multiplexing Ethernet services, Cn_subframe can be consistent with the aforementioned embodiment, change near an approximate expected value, and explicitly indicate it in the overhead, and the explicit indication helps the system to achieve bandwidth adjustment control of lossless services in the system.
[0180] Alternatively, Cn_subframe is a fixed value, which is configured or negotiated by both ends of the physical interface. Optionally, Cn_subframe does not need to be transmitted in the overhead. Therefore, the overhead block may not exist, and the bandwidth particles where the overhead block is located can be allocated or reserved as allocable particles. The reserved bandwidth can also be allocated or reserved according to the subframe, or the bandwidth particles can be allocated or reserved according to the entire multiplexed frame with a length of 16384 particles. Without the Cn_subframe transmission indication, the system can only be set to a static configuration. Therefore, when adjusting the bandwidth, that is, when the Cn_subframe needs to be changed, it is more difficult for the transceiver to perform synchronization matching.
[0181] It should be pointed out that in the absence of overhead indication, there is no need to change the specifications of the existing Ethernet physical interface. The present invention can be perfectly compatible with the current 40GE and 100GE physical interfaces in this way, has practical significance, and should be paid special attention to.
[0182] Embodiment 6
[0183] As mentioned in the fifth embodiment, the explicit Cn_subframe and Cn_subframe Change information in the overhead is conducive to the system to achieve bandwidth adjustment of the lossless service in the system. Similarly, if the service ID configuration information of the current subframe is explicitly transmitted in the overhead, it is conducive to the system to achieve service configuration adjustment of the lossless service in the system. Because of the explicit indication, the transceiver performs data multiplexing and demultiplexing based entirely on the explicit Cn_subframe and Cn_subframe Change information, the front-end service ID information, and the back-end service ID information in the subframe overhead, ensuring the matching and synchronization of the transmission and reception.
[0184] like Fig. 27 As shown, in some special cases, when all backend service IDs used default to a basic backend background statistical multiplexing Ethernet service, for example, ID=0 is reserved to mark the service, then the backend service ID information does not need to be transmitted in the overhead, only the front-end service ID information needs to be transmitted.
[0185] Furthermore, if Fig.28 As shown in the figure, if the front-end and back-end service ID information is not transmitted in the overhead, the negotiation of the shared multiplexed service ID between the link's transceiver and transmitter needs to be done through other means, such as the control plane protocol or the management plane protocol to negotiate and match the possible adjustments. Or the management plane is statically configured and is not allowed to be changed during service activation, otherwise it will be difficult to accurately demultiplex.
[0186] Furthermore, if Cn_subframe and Cn_subframe Change are both fixed static values, as described in Example 5, the overhead block does not need to exist, and 16383 particles in each multiplexing frame (5461 particles in each subframe) can be allocated and reserved, then the fixed Cn_subframe value can be negotiated by the protocol at both ends of the transmitter and receiver or statically configured by the management plane.
[0187] Embodiment 7
[0188] In the above embodiments, the CBR services analyze the value of Cn_subframe and its sequence changes according to the nominal rate. In practice, since the clock frequencies of various interfaces are always different from the nominal frequencies, for example, Ethernet, CPRI, Fibre Channel and other interfaces are allowed to have an absolute frequency difference of + / -100ppm from the nominal frequency, and SDH and OTN are allowed to have an absolute frequency difference of + / -20ppm from the nominal frequency. Therefore, in practice, Cn_subframe depends on the specific actual rate of the CBR circuit interface to determine. There is no such requirement for the sub-port division and flexible bandwidth configuration of statistical multiplexing Ethernet, such as dividing the sub-channel bandwidth by percentage in Example 5. This embodiment provides some practical methods for determining the number of bandwidth particles allocated to CPRI and OTN interfaces per subframe.
[0189] The subframes of the shared multiplexed Ethernet physical layer interface can be allocated with 64 / 66b granules: Pc.subframe, 64 / 66b granules Po.subframe for overhead; subframe frequency F.subframe; then the equivalent 64 / 66b coded line bandwidth granule rate of the channel is C.subframe = (Pc.subframe + Po.subframe) * F.subframe.
[0190] The equivalent 64 / 66b coded line bandwidth granular rate C.cbr for circuit services with uncertain rates. CBR services with C.cbr <= C.subframe can be used as front-end services on a given channel. C.cbr corresponds to the clock recovered by the service CDR. C.subframe corresponds to the local reference clock of the shared multiplexed physical layer interface. CBR circuit services enter the clock isolation FIFO buffer memory under the recovered clock beat, and then are taken out and leave the clock isolation FIFO buffer memory as needed according to the local reference clock.
[0191] There are two methods. Method 1: Compare the CDR recovery clock count of the CBR service and the reference clock count sent by the shared multiplexed physical interface.
[0192] Let the system local reference clock frequency F.SystemClock = (Pc.subframe + Po.subframe) * F.subfame * N / K = C.subframe * N / K. This clock is used for counting a counter with a counting depth of (Pc.subframe + Po.subframe) * N / K. Each time the count is full and returns to zero, a timing pulse with a frequency of F.subfame can be generated and output.
[0193] Another counter, with a count depth of (Pc.subframe+Po.subframe)*N / K, counts the pulses of the clock frequency F.cbr=C.cbr*N / K corresponding to the clock recovered by the service CDR. Whenever the first counter is full and returns to zero, the count value in the second counter is read, and CounterValue*K / N is rounded as Cn output. At the same time, the second counter CounterValue is subtracted from Cn*N / K to prepare for the output of the next Cn value. This provides a feasible method for actually solving the first step above. It ensures that the value of Cn_subframe matches the actual rate of the service data and can track its changes.
[0194] N and K are both positive integers. When N / K=1, one counter unit corresponds to one bandwidth particle; when N / K=2, one counter unit corresponds to 0.5 bandwidth particles; when N / K=3, one counter unit corresponds to 1 / 3 bandwidth; when N / K=2 / 3, one counter unit corresponds to 2 / 3 bandwidth particles; when N / K=4, one counter unit corresponds to 0.25 bandwidth particles; and so on. Selecting a suitable N / K value is conducive to the implementation of the system and avoids the counter and other circuits working within a certain allowed frequency range.
[0195] The receiving end can recover the circuit service clock from the line CDR clock of the receiving end based on the relationship between Cn_subframe and (Pc.subframe+Po.subframe).
[0196] Method 2: By monitoring the changes in the queue length of the FIFO buffer or the changes in the write address of the FIFO buffer, adjust Cn_subframe to track the changes
[0197] Method 1 mentioned that data is written into the clock isolation FIFO buffer under the clock beat recovered by its CDR. By monitoring the data queue write address and its changes, and the FIFO length changes, the information of C.cbr*N / K can be obtained, just like method 1, so as to obtain Cn_subframe, and let Cn_subframe change with the data queue write address and its changes, and the FIFO length changes, to ensure that the value of Cn_subframe matches the actual rate of the business data and can track its changes.
[0198] Method 2 is applicable not only to CBR circuit services, but also to VBR statistical multiplexing packet services.
[0199] Embodiment 8
[0200] When Cn_subframe and its changes, front-end and back-end business ID configurations are explicitly transmitted, Cn_subframe, front-end and back-end business IDs can be changed in real time as needed.
[0201] When both the front-end and back-end services are statistical multiplexing packet services, the bandwidth of each service does not have strict constraints like CBR circuit services. It is possible to adopt the method of explicit transmission of Cn_subframe, implicit indication of front-end and back-end service IDs, and non-real-time transmission. In this case, channels can be added or reduced in the following way.
[0202] Under the given ID configuration, when 0<=Cn_subframe<=Pc.subframe, the front-end service and the back-end service can adjust Cn_subframe as needed to reasonably allocate bandwidth between the front-end service and the back-end service. When Cn_subframe=0 or Cn_subframe=Pc.subframe, the ID configuration can be adjusted and modified.
[0203] Reduce the number of channels configured for front-end business IDs
[0204] 1. Adjust and confirm that Cn_subframe=0 of a certain channel; explicitly transmit Cn_subframe and its changes according to the rules.
[0205] 2. Delete the configuration of the front-end service ID in the channel configuration table; and reach a consensus on both ends.
[0206] 3. Continue to adjust the Cn_subframe of the channel where the front-end service ID is located to the expected value; explicitly transmit the Cn_subframe and its changes according to the rules.
[0207] Increase the number of channels for front-end business ID configuration
[0208] 1. Adjust and confirm that Cn_subframe of a certain channel = 0. Explicitly transmit Cn_subframe and its changes according to the rules.
[0209] 2. Add the front-end service ID configuration to the configuration of the channel configuration table; and reach a consensus on both ends.
[0210] 3. Continue to adjust the Cn_subframe of the channel where the front-end service ID is located to the expected value; explicitly transmit the Cn_subframe and its changes according to the rules.
[0211] Reduce the number of channels configured for front-end business IDs
[0212] 1. Adjust and confirm that Cn_subframe = Pc.subframe of a certain channel. Explicitly transmit Cn_subframe and its changes according to the rules.
[0213] 2. Delete the backend service ID configuration from the channel configuration; and reach a consensus between the sending and receiving ends.
[0214] 3. Continue to adjust the Cn_subframe of the channel where the front-end service ID is located to the expected value; explicitly transmit the Cn_subframe and its changes according to the rules.
[0215] Increase the number of channels for backend business ID configuration
[0216] 1. Adjust and confirm Cn_subframe = Pc.subframe of a certain channel; explicitly transmit Cn_subframe and its changes according to the rules.
[0217] 2. Add the backend service ID configuration to the configuration of the channel configuration table; and reach a consensus on both ends.
[0218] 3. Continue to adjust the Cn_subframe of the channel where the front-end service ID is located to the expected value; explicitly transmit the Cn_subframe and its changes according to the rules.
[0219] A person skilled in the art may understand that all or part of the steps of implementing the above method embodiments may be accomplished by hardware associated with program instructions, and the aforementioned program may be stored in a computer-readable storage medium, which, when executed, executes the steps of the above method embodiments; and the aforementioned storage medium includes various media that can store program codes, such as ROM, RAM, magnetic disks or optical disks.
[0220] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.< / d> < / txen>
Claims
1. A method for transmitting a service signal using an Ethernet channel, characterized in that: The Ethernet channel includes a plurality of Ethernet physical coding sublayer PCS channels, each Ethernet PCS channel transmits a service signal through a bearer area of fixed length, and the method includes: receiving a first service signal and a second service signal; multiplexing the first service signal and the second service signal into a bearer area of an Ethernet PCS channel, wherein a portion of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another portion of the at least one bearer area carries the second service signal; Sending the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel; The at least one bearing area includes an overhead bearing area and a payload bearing area; The overhead bearing area carries bandwidth indication information, where the bandwidth indication information is used to indicate the bandwidth in the payload bearing area occupied by the first service signal; The bandwidth indication information is bandwidth particle quantity information, and the bandwidth particle quantity information is used to indicate the number of bandwidth particles in the payload bearing area occupied by the first service signal, wherein the length of each bandwidth particle is fixed; When one Ethernet PCS channel is occupied by two service signals, the first service signal and the second service signal, the amount of bandwidth occupancy information of the first service signal carried in the overhead bearing area is selected.
2. The method according to claim 1, characterized in that: The first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; The second service signal is an Ethernet service signal.
3. The method according to claim 1 or 2, characterized in that: The receiving of the first service signal and the second service signal comprises: Send a service identification signal and a clock signal to a sending end of the first service signal and a sending end of the second service signal, and receive the first service signal sent by the sending end of the first service signal and the second service signal sent by the sending end of the second service signal, wherein, when the service identification signal is a first identification, the sending end of the first service signal sends the first service signal, and the sending end of the second service signal does not send a service signal; when the service identification signal is a second identification, the sending end of the second service signal sends the second service signal, and the sending end of the first service signal does not send a service signal; the first identification corresponds to the first service signal, and the second identification corresponds to the second service signal.
4. The method according to claim 1 or 2, characterized in that: Sending the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel includes sending at least one bearer area in the at least one Ethernet PCS channel, and sending a clock signal and an indication signal, wherein the indication signal is used to indicate the position of the alignment mark AM corresponding to the at least one bearer area.
5. The method according to claim 4, characterized in that: The indication signal is further used to indicate the position of the overhead bearing area of the at least one bearing area and the position of the payload bearing area of the at least one bearing area.
6. A method for transmitting a service signal using an Ethernet channel, characterized in that: The Ethernet channel includes a plurality of Ethernet physical coding sublayer PCS channels, each Ethernet PCS channel transmits a service signal through a bearer area of fixed length, and the method includes: receiving a service signal transmitted through the Ethernet channel, wherein the service signal includes a first service signal and a second service signal, a portion of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another portion of the at least one bearer area carries the second service signal; Distributing the first service signal and the second service signal; The at least one bearing area includes an overhead bearing area and a payload bearing area; The overhead bearing area carries bandwidth indication information, where the bandwidth indication information is used to indicate the bandwidth in the payload bearing area occupied by the first service signal; The bandwidth indication information is bandwidth particle quantity information, and the bandwidth particle quantity information is used to indicate the number of bandwidth particles in the payload bearing area occupied by the first service signal, wherein the length of each bandwidth particle is fixed; When one Ethernet PCS channel is occupied by two service signals, the first service signal and the second service signal, the amount of bandwidth occupancy information of the first service signal carried in the overhead bearing area is selected.
7. The method according to claim 6, characterized in that: The distribution of the first service signal and the second service signal includes obtaining bandwidth indication information in the overhead bearing area, generating a service identification signal according to the bandwidth indication information and the identification of the first service signal and the identification of the second service signal stored locally, and sending a clock signal, the service identification signal and the at least one bearing area, wherein the service identification signal is used to indicate the positions occupied by the first service signal and the second service signal in the payload bearing area.
8. The method according to claim 7, characterized in that: The first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; The second service signal is an Ethernet service signal.
9. The method according to claim 7 or 8, characterized in that: The method further comprises: A clock signal and an indication signal are received, wherein the indication signal is used to indicate a location of an overhead bearing area.
10. A communication device, characterized in that: The communication device comprises: a processing unit, configured to receive a first service signal and a second service signal, and multiplex the first service signal and the second service signal into a bearer area of an Ethernet PCS channel, wherein a portion of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another portion of the at least one bearer area carries the second service signal; A sending unit, configured to send the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel; The at least one bearing area includes an overhead bearing area and a payload bearing area; The overhead bearing area carries bandwidth indication information, where the bandwidth indication information is used to indicate the bandwidth in the payload bearing area occupied by the first service signal; The bandwidth indication information is bandwidth particle quantity information, and the bandwidth particle quantity information is used to indicate the number of bandwidth particles in the payload bearing area occupied by the first service signal, wherein the length of each bandwidth particle is fixed; When one Ethernet PCS channel is occupied by two service signals, the first service signal and the second service signal, the amount of bandwidth occupancy information of the first service signal carried in the overhead bearing area is selected.
11. The communication device according to claim 10, characterized in that: The first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; The second service signal is an Ethernet service signal.
12. The communication device according to claim 10 or 11, characterized in that: The receiving of the first service signal and the second service signal comprises: Send a service identification signal and a clock signal to a sending end of the first service signal and a sending end of the second service signal, and receive the first service signal sent by the sending end of the first service signal and the second service signal sent by the sending end of the second service signal, wherein, when the service identification signal is a first identification, the sending end of the first service signal sends the first service signal, and the sending end of the second service signal does not send a service signal; when the service identification signal is a second identification, the sending end of the second service signal sends the second service signal, and the sending end of the first service signal does not send a service signal; the first identification corresponds to the first service signal, and the second identification corresponds to the second service signal.
13. The communication device according to claim 10 or 11, characterized in that: Sending the first service signal and the second service signal carried in the bearer area of the Ethernet PCS channel includes sending at least one bearer area in the at least one Ethernet PCS channel, and sending a clock signal and an indication signal, wherein the indication signal is used to indicate the position of the alignment mark AM corresponding to the at least one bearer area.
14. The communication device according to claim 13, characterized in that: The indication signal is further used to indicate the position of the overhead bearing area of the at least one bearing area and the position of the payload bearing area of the at least one bearing area.
15. A communication device, characterized in that: The communication device comprises: a receiving unit, configured to receive a service signal transmitted through an Ethernet channel, wherein the service signal includes a first service signal and a second service signal, a portion of at least one bearer area in at least one Ethernet PCS channel in the Ethernet channel carries the first service signal, and another portion of the at least one bearer area carries the second service signal; A processing unit, configured to distribute the first service signal and the second service signal; The at least one bearing area includes an overhead bearing area and a payload bearing area; The overhead bearing area carries bandwidth indication information, where the bandwidth indication information is used to indicate the bandwidth in the payload bearing area occupied by the first service signal; The bandwidth indication information is bandwidth particle quantity information, and the bandwidth particle quantity information is used to indicate the number of bandwidth particles in the payload bearing area occupied by the first service signal, wherein the length of each bandwidth particle is fixed; When one Ethernet PCS channel is occupied by two service signals, the first service signal and the second service signal, the amount of bandwidth occupancy information of the first service signal carried in the overhead bearing area is selected.
16. The communication device according to claim 15, characterized in that: The distribution of the first service signal and the second service signal includes obtaining bandwidth indication information in the overhead bearing area, generating a service identification signal according to the bandwidth indication information and the identification of the first service signal and the identification of the second service signal stored locally, and sending a clock signal, the service identification signal and the at least one bearing area, wherein the service identification signal is used to indicate the positions occupied by the first service signal and the second service signal in the payload bearing area.
17. The communication device according to claim 16, characterized in that: The first service signal is an Ethernet service signal, or a Synchronous Digital Hierarchy SDH service signal, or an Optical Transport Network OTN service signal, or a Common Public Radio Interface CPRI service signal; The second service signal is an Ethernet service signal.
18. The communication device according to claim 16 or 17, characterized in that: The receiving unit is further used to receive a clock signal and an indication signal; The processing unit is further used to determine the location of the overhead bearing area according to the indication signal.
Citation Information
Patent Citations
Signal processing method and communication device
CN105790883A
Method and Processing Device for Transmitting Ethernet Service Signals in Wavelength Division Multiplexing Networks
US20080226292A1
Ethernet apparatus and method for selectively operating multiple lanes
US20120155486A1