CN101399811A - Multi-channel data transmitting/receiving and transmission control method, corresponding device - Google Patents
Multi-channel data transmitting/receiving and transmission control method, corresponding device Download PDFInfo
- Publication number
- CN101399811A CN101399811A CN 200710151715 CN200710151715A CN101399811A CN 101399811 A CN101399811 A CN 101399811A CN 200710151715 CN200710151715 CN 200710151715 CN 200710151715 A CN200710151715 A CN 200710151715A CN 101399811 A CN101399811 A CN 101399811A
- Authority
- CN
- China
- Prior art keywords
- channel
- data
- state
- fault
- recovery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 78
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000012545 processing Methods 0.000 claims abstract description 97
- 238000011084 recovery Methods 0.000 claims description 65
- 230000002776 aggregation Effects 0.000 claims description 45
- 238000004220 aggregation Methods 0.000 claims description 45
- 230000008030 elimination Effects 0.000 claims description 35
- 238000003379 elimination reaction Methods 0.000 claims description 35
- 238000004891 communication Methods 0.000 claims description 19
- 230000008859 change Effects 0.000 claims description 9
- 239000002699 waste material Substances 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 9
- 230000000977 initiatory effect Effects 0.000 description 9
- 238000013461 design Methods 0.000 description 4
- 230000006798 recombination Effects 0.000 description 4
- 238000005215 recombination Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000027455 binding Effects 0.000 description 2
- 238000009739 binding Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000008034 disappearance Effects 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/14—Multichannel or multilink protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a multi-channel data transmitting/receiving method; when the data is distributed, difference processing can be carried out according to the state of single channel and effective channel can be fully used; when the data is received, the type of data which is transmitted by the channel can be distinguished and only effective data can be guaranteed to be used for restoring the data. The invention also provides corresponding multi-channel data transmission control method and multi-channel data transmitting/receiving device as well as multi-channel transmission equipment. As the data transmission of a single channel can be controlled dependently, when part of channel is in failure, the entire link can be maintained and the channel resources can be fully used so as to avoid waste on the basis of losing part of capacity.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a multichannel data sending/receiving and transmission control method, a corresponding multichannel data sending/receiving device and multichannel transmission equipment.
Background
Ethernet (Ethernet) has undergone a rapid development process since its birth, and its transmission rate has undergone stages of 10Mbps, 100Mbps, 1Gbps, 10Gbps, etc. with the development of technology. With the increasing popularity of ethernet applications, the demand for bandwidths above 10Gbps, e.g., 40Gbps/100Gbps, has been demonstrated. Since it is difficult to obtain a higher communication bandwidth by increasing the communication rate of a single channel in the communication at a rate of 10Gbps or more, a multi-channel bonding method is currently selected to obtain a high bandwidth. For example, if the single channel rate is 10Gbps, in order to obtain a bandwidth of 40Gbps/100Gbps rate, 4/10 channels of 10Gbps may be bundled to collectively provide a bandwidth of 40Gbps/100 Gbps.
Fig. 1 shows a currently adopted ethernet multi-channel transmission structure. In fig. 1, Media Access Control (MAC) data is transmitted in 4 bonded 10Gbps channels at the physical layer. The Physical layer includes a coordination Sublayer (RS), a 10Gbps (XG: 10Gigabit) Media Independent Interface (MII: 10Gigabit Media Independent Interface), a Physical Coding service Sublayer (PCS: Physical Coding Sublayer), a Physical Media Attachment Sublayer (PMA), and a Physical Media dependent Sublayer (PMD).
The MAC Layer serves as an upper Layer, and interaction with the remote MAC Layer and the home Physical Layer is performed through a Physical Layer Signaling (PLS) service.
The RS performs conversion of a signal transmitted from the MAC layer to the physical layer through the PLS service request into a signal that the physical layer can process, and simultaneously converts a physical layer state into a PLS service signal to notify the MAC layer. The signaling between the MAC layer and the physical layer is accomplished through MII.
The PCS performs encoding of the MAC layer data into a form suitable for transmission over a physical medium and decoding of data transmitted over the physical medium.
The PMA converts PCS data in a media independent manner into a form suitable for serial physical media transfer, and performs deserialization of the serial physical media data into a form suitable for PCS processing.
The PMD converts physical layer data in a physical medium-dependent form into a form for transmission on a specific medium, and receives data on the specific physical medium at the same time into a medium-independent form for processing by the physical layer.
Under the framework shown in fig. 1, when sending information data, the RS converts the MAC layer data into a form suitable for physical layer processing, and then forms data corresponding to each channel of the physical layer, and the data is subjected to various processing independently in each physical layer channel, and finally sent to a physical medium connected to each channel for transmission. Similarly, when receiving data, each physical layer channel data is processed separately, and is converged into a uniform physical layer signal before leaving the PCS sublayer to the XGMII interface, and the RS sublayer converts the physical layer signal into a signal corresponding to the PLS service and then transmits the signal to the MAC layer.
In this process, due to the multi-channel architecture, individual differences between channels may cause partial channel failure problems. If a physical layer channel has a partial channel failure, because a link is composed of all channel bindings, the problem that the whole link fails due to the failure of an individual channel occurs. Referring to fig. 2, the arrow direction in fig. 2 indicates a transmission direction, and "x" indicates a fault, assuming that a single-ended fault occurs in a certain channel and the remaining channels are valid, after the PCS sublayer learns the fault state through a fault detection approach, the PCS sublayer processes the fault state into a signal indicating that the fault of the entire physical layer fails, and the processing procedure is as follows:
1. by passing a Local Fault (LF) signal to the RS over the XGMII interface;
2. the RS converts the LF signal into a PLS service signal representing the failure of the whole physical layer, informs the MAC layer, and enables the MAC layer to stop sending data;
3. meanwhile, the RS sends a Remote Fault (RF) signal representing the failure of the whole physical layer of the local terminal to an RS sublayer at the opposite terminal on an XGMII interface;
4. after receiving the RF signal representing the failure of the remote physical layer, the RS at the opposite end converts the RF signal into a PLS service signal with failure of the physical layer to notify the MAC layer, so that the MAC layer stops sending data;
5. the peer RS sends an IDLE control word on the XGMII interface indicating that no more valid data is transmitted.
If both channels fail, as shown in fig. 3, both RSs receive the LF signal and transmit the RF signal. In the scenario shown in fig. 2 and 2, after some channels fail, the transmission of signals such as LF, RF, IDLE, etc. occupies all channels, and the remaining channels without failure cannot be used for transmitting information data.
In the research and practice process of the prior art, the inventor of the invention finds that based on the processing mode of partial channel faults in the existing multi-channel transmission mode, when partial channel faults occur, the partial channel faults are uniformly regarded as physical layer faults, so that the whole link is unavailable; for example, for the case of bonding 4 lanes to achieve a 10Gbps rate, if a single lane fails, there should still be 7.5Gbps of bandwidth available, thus causing waste, which would be greater in the case of higher rate more lanes.
Disclosure of Invention
The embodiment of the invention provides a multichannel data transmission method capable of fully utilizing channel resources, which comprises the steps of obtaining information data to be transmitted; judging whether a channel in a specific state exists according to the state record of each channel, wherein the state record of the channel comprises the specific state and an effective state; and if the channel is in the valid state, only distributing the information data needing to be sent to the channels, and if the channel is not in the valid state, distributing the information data to each channel.
The embodiment of the invention also provides a multichannel data receiving method, which comprises the steps of receiving data from each channel; judging whether the type of the data received by each channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to perform overall data recovery, and if not, using the data received by the channel as a part of the overall data to be recovered to perform overall data recovery.
The embodiment of the invention also provides a multi-channel data transmission control method, which comprises the steps of obtaining state updating information indicating the state change of a single channel; updating the state record of the corresponding channel according to the state updating information, wherein the state record of the channel comprises a specific state and an effective state; when transmitting information data: judging whether a channel in a specific state exists according to the state record of each channel; if yes, only distributing the information data to be sent to the channels in the effective state; if not, distributing the information data to each channel; upon receiving the data: judging whether the type of data received by a channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to carry out overall data recovery; if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
The embodiment of the invention also provides a multichannel data sending device, which comprises two or more than two physical layer channels, wherein each channel is used for transmitting data; the channel distribution unit is used for acquiring information data to be sent; judging whether a channel in a specific state exists according to the state record of each channel, wherein the state record of the channel comprises the specific state and an effective state; and if the channel is in the valid state, only distributing the information data needing to be sent to the channels, and if the channel is not in the valid state, distributing the information data to each channel.
The embodiment of the invention also provides a multichannel data receiving device, which comprises two or more than two physical layer channels, wherein each channel is used for transmitting data; a receiving processing unit for receiving data from each channel; judging whether the type of data received by a channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to perform overall data recovery, and if not, using the data received by the channel as a part of the overall data to be recovered to perform overall data recovery.
The embodiment of the invention also provides multi-channel transmission equipment, which comprises two or more than two physical layer channels, wherein each channel is used for transmitting data; the channel distribution and aggregation module is used for acquiring state update information indicating the state change of a single channel; updating the state record of the corresponding channel according to the state updating information, wherein the state record of the channel comprises a specific state and an effective state; when transmitting information data: judging whether a channel in a specific state exists according to the state record of each channel; if yes, only distributing the information data to be sent to the channels in the effective state; if not, distributing the information data to each channel; upon receiving the data: judging whether the type of data received by a channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to carry out overall data recovery; if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
In the technical scheme of the embodiment of the invention, the effective channel is fully utilized by carrying out differential processing according to the state of a single channel during data distribution; by distinguishing the type of data transmitted by the channel at the time of data reception, it is ensured that only valid data is used for data recovery. Because the data transmission of a single channel can be independently controlled, when partial channels break down, the effectiveness of the whole link can be kept on the basis of losing partial capacity, channel resources are fully utilized, and waste is avoided.
Drawings
Fig. 1 is a schematic diagram of a conventional ethernet multi-channel transmission structure;
FIG. 2 is a schematic diagram of transmission in the case of single-ended failure of a conventional partial channel;
FIG. 3 is a diagram of an AMC with various specifications;
FIG. 4 is a flow chart of a method for sending multi-channel data according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a logical structure of a multi-channel data transmission apparatus according to an embodiment of the present invention;
FIG. 6 is a flow chart of a multi-channel data receiving method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a logical structure of a multi-channel data receiving apparatus according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a normal case of an example of data transmission according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a partial lane failure condition for an example of data transmission according to an embodiment of the present invention;
FIG. 10 is a flow chart of a multi-channel data transmission control method according to an embodiment of the present invention;
fig. 11 is a schematic logical structure diagram of a multi-channel transmission apparatus according to an embodiment of the present invention;
fig. 12 is a schematic diagram of another logic structure of a multi-channel transmission device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a multi-channel data transmitting/receiving method, which carries out distinguishing processing according to the state of a single channel during data distribution and fully utilizes an effective channel; the type of data transmitted by the channel is distinguished during data receiving, and data recovery is guaranteed to be carried out only by using effective data. The embodiment of the invention also provides a corresponding multichannel data transmission control method, a multichannel data sending/receiving device and multichannel transmission equipment, which are respectively explained in detail below.
As shown in fig. 4, the method for transmitting multichannel data according to the embodiment of the present invention includes the steps of:
and A1, acquiring the information data required to be transmitted.
The data transmission method is suitable for the situation of carrying out data transmission by various multi-channel binding. For the application based on the ethernet architecture, the information data to be transmitted is referred to as MAC layer data to be transmitted by the physical layer.
A2, judging whether a channel in a specific state exists according to the state record of each channel, wherein the state record of the channel comprises the specific state and an effective state; if yes, go to step A3, otherwise go to step a 4.
And A3, distributing the information data to be transmitted to the channels in the effective state.
And A4, distributing the information data to each channel.
In this embodiment, the recorded channel status is used to control the data transmission of a single channel, and only the channel in the valid status is used to perform data transmission. The type of the channel state record divided herein allows downward subdivision, for example, the specific state indicating that valid data cannot be transmitted in the present embodiment can be specifically divided into an invalid state indicating a failure, and a recovery state indicating that the state is in a recovery process, etc.; the specific state division and management is determined by the corresponding transport control mechanism.
In addition, in order to facilitate the opposite end to identify the valid data sent in the channel, when it is determined that the channel in the specific state exists, setting data corresponding to the channel state may be inserted into the determined channel in the specific state. The inserted setting data can be used by the opposite end to identify the data which does not need to participate in data recovery and can also provide basis for the state management of the opposite end to the channel.
The multichannel data transmission method according to the embodiment of the present invention may be executed by a multichannel data transmission apparatus according to an embodiment of the present invention, where the apparatus, as shown in fig. 5, includes:
the physical layer 10 is composed of two or more physical layer channels 101-10 n, and each channel is used for transmitting data;
the channel distribution unit 11 is used for acquiring information data to be sent; judging whether a channel in a specific state exists according to the state record of each channel, wherein the state record of the channel comprises the specific state and an effective state; if yes, only the information data needing to be sent are distributed to the channels in the valid state, and if not, the information data are distributed to all the channels.
Further, the channel distribution unit 11 may be further configured to insert setting data corresponding to the channel state into the determined channel in the specific state when it is determined that the channel in the specific state exists.
The multichannel data receiving method of the embodiment of the invention is shown in fig. 6 and comprises the following steps:
b1, receiving data from each channel.
B2, judging whether the type of the data received by the channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and valid data; if so, go to step B3, otherwise go to step B4.
In this embodiment, a plurality of manners may be used to determine whether the data received by the channel is the recovery-free data, for example, the determination may be performed according to the data content, the determination may be performed according to the status record of the channel, or the comprehensive determination may be performed, where two determination manners are as follows:
judging whether the received data is set data or not according to the data content received by the channel, if so, determining that the data received by the channel is recovery-free data, and if not, determining that the data received by the channel is valid data. In this manner, the transmitting end needs to perform an operation of inserting setting data in a channel in a specific state.
Judging whether the channel is in a specific state according to the state record of the channel, and if so, determining that the data received by the channel is recovery-free data; if not, judging whether the received data is set data according to the data content received by the channel, if so, determining that the data received by the channel is recovery-free data, and if not, determining that the data received by the channel is valid data.
B3, not using the data received by the channel to recover the whole data. Of course, the received setting data can be used as the basis for the status management of the channel.
And B4, performing overall data recovery by taking the data received by the channel as a part of the overall data to be recovered.
In addition, in the case of multi-channel data transmission, data recovery usually needs to be performed after aligning data received by each channel, so to avoid bringing a failed channel into the aligning operation, the following steps may be further performed before the step of determining whether the type of data received by the channel is recovery-free data:
judging whether channels in an invalid state exist according to whether channel fault signals indicating that the local end of a single channel receives faults are received or not or according to the state records of all the channels; if so, only carrying out alignment processing on data received by other channels except the channel in the invalid state; and if not, carrying out alignment processing on the data received by each channel.
Of course, a channel in the invalid state may have a state update, and when the channel is no longer in the invalid state, it is obviously necessary to adjust the channel back to the aligned state. Whether a channel needing to be recovered to the alignment processing exists can be judged according to whether the information indicating the fault elimination of the local end of the single channel is acquired; if so, carrying out alignment processing on the data received by the channel needing to be recovered to the alignment processing and the data received by the existing channel for carrying out alignment processing; if not, only carrying out alignment processing on the data received by the existing channel for carrying out alignment processing.
It should be noted that, when receiving data, the channel alignment unit performing alignment processing and the channel convergence unit performing data convergence sequentially perform processing, and the channel alignment unit transmits the aligned data to the channel convergence unit; when the data received by a certain channel is brought back into the alignment process, the channel alignment module may transmit the data received by the channel to the channel aggregation unit only after the alignment process including the data received by the channel is completed; data received by the channel is not included until alignment is completed (e.g., some setting data may be additionally inserted). Various ways can be specifically designed to implement the data lossless operation when the channel restores alignment, which is not limited in this embodiment, and two applicable methods are as follows:
firstly, a double-alignment page operation mode is adopted.
When the channel needs to be aligned again, all operations are performed in another aligned page before the channel alignment is realized, until after an alignment state including the channel is realized in another aligned page, a specific time point is selected, for example, the time when a data frame ends, and a page for sending data upwards is switched from the previous aligned page to the aligned page including the channel, so that lossless alignment switching is realized.
And secondly, searching an alignment state by adopting a single alignment page.
When the channel needs to be aligned again, the aligned state including the channel is searched in the same aligned page, and only data not including the channel is sent upwards. And selecting a proper time point, such as the end time of a data frame, and starting to transmit data including the channel upwards to realize lossless alignment switching.
The multichannel data receiving method according to the embodiment of the present invention may be executed by a multichannel data receiving apparatus according to an embodiment of the present invention, which includes, as shown in fig. 7:
a physical layer 20 composed of two or more physical layer channels 201-20 n, each channel for transmitting data;
a reception processing unit 21 for receiving data from the respective channels; judging whether the type of the data received by the channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to perform overall data recovery, and if not, using the data received by the channel as a part of the overall data to be recovered to perform overall data recovery.
To align the data received by the channels, the receiving processing unit 21 may specifically include:
a channel aggregation unit 211, configured to determine whether the type of data received from each channel is recovery-free data; if so, not using the data received by the channel to perform overall data recovery, and if not, using the data received by the channel as a part of the overall data to be recovered to perform overall data recovery.
A channel alignment unit 212, configured to receive data from each channel, and transmit the received data to the channel aggregation unit 211; and, prior to data transfer: judging whether a channel in an invalid state exists according to whether a channel fault signal indicating that a single channel home end receives a fault is received or not or according to the state record of each channel, if so, only carrying out alignment processing on data received by other channels except the channel in the invalid state, and if not, carrying out alignment processing on the data received by each channel; further, whether a channel needing to be recovered to the alignment processing exists is judged according to whether the information indicating the local fault elimination of the single channel is acquired, if so, the data received by the channel needing to be recovered to the alignment processing is aligned together with the data received by the existing channel carrying out the alignment processing, and if not, only the data received by the existing channel carrying out the alignment processing is aligned.
In addition, when the channel alignment unit 212 performs the alignment processing on the data received by the channel that needs to be restored to the alignment processing together with the data received by the existing channel that performs the alignment processing, the data received by the channel that needs to be restored to the alignment processing may be included in the data transferred to the channel distribution and aggregation unit 211 only after the alignment processing is completed. .
In order to better understand the multi-channel data transmitting and receiving method of the embodiment of the present invention, an actual data transmission example is described below. Assuming that 4 channels are bound, namely Lane 0-Lane 3; D0-D31 are information data sequences required to be transmitted; TXD <0> to TXD <31> are transmit lane bits, RXD <0> to RXD <31> are receive lane bits, one lane every 8 bits.
Under normal conditions, as shown in fig. 8, D0-D31 are distributed to TXD <0> to TXD <31> in sequence, received at RXD <0> to RXD <31>, and then the whole data is restored in sequence.
② when the Lane2 is in a specific state, as shown in FIG. 9,
when transmitting information data: D0-D31 are distributed to TXD <0> to TXD <7>, TXD <8> to TXD <15> and TXD <24> to TXD <31> in sequence; no more information data is distributed to TXD <16> to TXD <23>, and setting data represented by a special code pattern is inserted into TXD <16> to TXD <23 >;
upon receiving the data: after RXD <0> to RXD <31> are received, RXD <16> to RXD <23> are judged as data recovery-free and do not participate in data recovery; and restoring the whole data by utilizing RXD <0> -RXD <7>, RXD <8> -RXD <15> and RXD <24> -RXD <31 >.
A multichannel data transmission control method according to an embodiment of the present invention is described below, where the method is based on a multichannel data transmission and reception method according to an embodiment of the present invention, and a flow is shown in fig. 10, and includes the steps of:
c1, obtaining status update information indicating status changes of the individual channels.
In this embodiment, the state of the channel is maintained and updated through the state update information, and this is used as a basis for channel management. By expression, the status update information may be a signal having a particular meaning or may be an identification of a particular event. The state update information may include state update information originating from the local peer and originating from the peer, depending on the source. According to the transmission mode, the signal related to the state updating information can be transmitted in the channel related to the state updating information; other channels can be adopted for transmission, and only the related channel needs to be indicated in the signal; other possible transmission modes can be adopted, for example, for the signal related to the status update information which needs to be transmitted to the opposite end, a physical layer Operation Administration and Maintenance (OAM) message mode, even an OAM broadcast mode can be adopted for transmission as long as the purpose of transmitting to the opposite end can be achieved.
And C2, updating the state record of the corresponding channel according to the acquired state updating information, wherein the state record of the channel comprises the specific state and the valid state.
The type of the channel state record allows for downward subdivision, and the specific division manner and the design of the corresponding state update information may be specifically determined according to the control requirements, which will be described in detail later.
C3, for better transmission control of data transmission, after the step of updating the status record of the corresponding channel according to the status update information, generating a flow control signal according to the number of channels in the valid state, wherein the flow control signal is used for adjusting the flow of the information data to be transmitted within the range that the channel in the valid state can process.
The present embodiment does not limit the specific effective manner of the flow control signal, and two examples are as follows:
informing the source of the information data to adjust the flow. For ethernet applications, the MAC layer is notified to perform traffic policing. An alternative way is to set a plurality of traffic classes by using a traffic class, each class corresponds to a MAC layer traffic of a specific size, the traffic class required by the MAC layer is notified by a traffic control signal, and the MAC layer can use various existing traffic shaping algorithms, such as a leaky bucket algorithm, to complete traffic control and upper-layer traffic backpressure.
Secondly, the flow is adjusted after the information data needing to be sent is obtained. In this case, the source of the information data is not directly informed to perform traffic adjustment, but the obtained information data to be transmitted directly uses a buffer and a traffic shaping algorithm to form a traffic backpressure signal for the source of the information data (for example, the MAC layer), and the source of the information data stops transmitting data to the lower layer after receiving the backpressure signal.
C4, when transmitting information data: judging whether a channel in a specific state exists according to the state record of each channel; if yes, only distributing the information data to be sent to the channels in the effective state; and if not, distributing the information data to each channel.
This step may be performed with reference to the multi-channel data transmission method of the embodiment of the present invention.
C5, when receiving data: judging whether the type of the data received by the channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to carry out overall data recovery; if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
This step may be performed with reference to the multi-channel data receiving method of the embodiment of the present invention.
In the following, based on an exemplary channel state partition design, a detailed description is given of corresponding state update information and a transmission and acquisition manner thereof. The recorded channel states are divided into three types: invalid state, recovery state and valid state, wherein invalid state and recovery state belong to a so-called specific state.
One, update to invalid state
The step of obtaining the state updating information comprises the following steps: and acquiring information indicating that the local terminal of the single channel receives the fault.
The corresponding step of updating the state record of the channel comprises the following steps: and updating the state record of the corresponding channel into an invalid state according to the obtained information indicating that the local end of the single channel receives the fault.
The "information indicating that the local terminal of a single channel receives a fault" may be acquired by two specific methods as follows:
the method comprises the steps of obtaining a channel Fault signal (LLF) sent by a Fault notification device, wherein the channel Fault signal is used for indicating a single channel Local terminal to receive faults.
When data is received, the channel alignment unit for executing alignment processing and the channel convergence unit for executing data convergence are supposed to sequentially process; the channel alignment unit may obtain a channel failure signal sent by the failure notification device, and then insert first setting data (may insert LLF as the first setting data) in a channel indicated by the channel failure signal, where the first setting data is transmitted to the channel aggregation unit as data received by the channel, the first setting data is recovery-free data, and the channel aggregation unit takes an event of "the channel receives the first setting data" as "information indicating that a local end of a single channel receives a failure".
In order to facilitate the opposite end to manage the channel state, after the step of obtaining the information indicating that the local end of a single channel receives the fault, the information needs to be notified to the opposite communication end, alternatively or simultaneously, the following two methods can be adopted:
and transmitting a Remote channel Fault signal (RLF) to a communication opposite terminal, wherein the Remote channel Fault signal is used for indicating the Remote receiving Fault of a single channel.
When sending information data: when it is determined that there is a channel in the invalid state, second setting data (RLF may be inserted as the second setting data) is inserted in the channel determined to be in the invalid state, the second setting data belonging to the recovery-free data.
Second, update to recovery State
The step of obtaining the state updating information comprises the following steps: acquiring recovery state update information indicating that the state record of the single channel needs to be updated to the recovery state, where the recovery state update information includes at least one selected from the following four information (obviously, the recovery state can be subdivided according to the four different recovery state update information, and further a finer control design is made, which is not limited in this embodiment):
1. information indicating the elimination of the single channel local end failure.
2. Information indicating that the single lane remote received a failure.
3. Information indicating that the distal end of the single channel is actively closed.
4. A channel close signal, referred to as a channel close signal, to indicate that a single channel home is actively closed, provides a manual close control function for the channel.
The corresponding step of updating the state record of the channel comprises the following steps: and updating the state record of the corresponding channel into a recovery state according to the obtained recovery state updating information.
For the purpose of identifying peer data, etc., when it is determined that a channel in a recovery state exists when information data is transmitted, third setting data (for example, NULL) may be inserted into the channel determined to be in the recovery state, the third setting data being recovery-free data.
In addition, in the above four recovery state update messages, the first and fourth messages belong to messages originating from the local end, so that in order to manage the channel state of the peer end, the corresponding messages may be obtained and then notified to the correspondent peer, and the following method may be adopted:
1. after the step of obtaining the information indicating the fault elimination of the local end of the single channel, a far-end fault elimination signal is sent to the opposite communication end, and the far-end fault elimination signal is used for indicating the far-end receiving fault elimination of the single channel.
2. After the step of acquiring the channel closing signal, sending a remote channel closing signal to the correspondent node, where the remote channel closing signal is used to indicate that the remote end of the single channel is actively closed.
The following describes specific acquisition manners of the first to third recovery state update information, respectively.
1. The "information indicating the elimination of the local end fault of the single channel" may be acquired by two specific methods as follows:
the method comprises the steps of acquiring a fault elimination signal sent by fault notification equipment, wherein the fault elimination signal is used for indicating a local terminal of a single channel to receive fault elimination.
And secondly, sensing that the fault notification equipment stops sending the channel fault signal, and taking the event of 'not receiving the channel fault signal' as 'information indicating that the local end of the single channel has eliminated the fault'.
Supposing that when receiving data, the channel alignment unit executing alignment processing and the channel convergence unit executing data convergence sequentially process; the channel alignment unit may obtain a failure elimination signal sent by the failure notification device, and then does not insert the first setting data (LLF) in the channel indicated by the failure elimination signal, and the channel convergence unit takes an event that the channel does not receive the first setting data as the "information indicating the elimination of the local failure of the single channel".
It should be noted that, after acquiring the failure elimination signal sent by the failure notification device, the channel alignment unit needs to re-incorporate the data received by the channel indicated by the failure elimination signal into the data that needs to be aligned, and since a process is needed to complete data alignment including data newly added to the channel, the channel alignment unit may not transmit the data received by the re-recovered channel to the channel aggregation unit (for example, may continue to insert some setting data into the channel) until the alignment is completed, and may transmit the data including the data received by the re-recovered channel to the channel aggregation unit after the alignment is completed.
2. The "information indicating a single channel remote reception failure" may be acquired by two specific methods:
firstly, a far-end channel fault signal sent by a communication opposite terminal is obtained.
And secondly, when receiving data, determining that the data received by the channel is second setting data (RLF) or the data received by the channel is changed into the second setting data according to the data content received by the channel, and taking the event that the channel receives the second setting data or the data received by the channel is changed into the second setting data as the information for indicating the remote receiving fault of the single channel.
3. The "information indicating the active closing of the remote end of the single channel" may be acquired by two specific methods as follows:
firstly, a far-end channel closing signal sent by a communication opposite terminal is obtained.
Secondly, when receiving data, determining that the type of the data received by the channel is changed from valid data to third setting data (NULL) according to the data content received by the channel, and taking the event that the data received by the channel is changed from the valid data to the third setting data as information indicating that the remote end of the single channel is actively closed.
Three, update to valid State
The step of obtaining the state updating information comprises the following steps: obtaining valid state update information indicating that the state record of the single channel needs to be updated to a valid state, where the valid state update information includes at least one selected from the following three information (obviously, the valid state can be subdivided according to the three different valid state update information, and further a finer control design is made, which is not limited in this embodiment):
1. information indicating the far end of a single lane to eliminate a fault.
2. Information indicating that the distal end of the single channel is actively open.
3. A channel open signal, referred to as a channel open signal, to indicate that a single channel home end is actively open, provides a manual turn-on control function for the channel.
The corresponding step of updating the state record of the channel comprises the following steps: and updating the state record of the corresponding channel into the effective state according to the obtained effective state updating information.
Among the three types of valid state update information, the third type belongs to information originating from the local terminal, and in order to facilitate management of the channel state of the peer terminal, the corresponding information may be obtained and then notified to the correspondent peer, and the following method may be adopted: after the step of obtaining the channel opening signal, sending a remote channel opening signal to the correspondent node, where the remote channel opening signal is used to indicate that the remote end of a single channel is actively opened.
The following describes specific acquisition manners of the first and second valid state update information, respectively.
1. The "information indicating the elimination of the remote failure of the single channel" can be acquired by two specific methods as follows:
firstly, obtaining a far-end fault elimination signal sent by a communication opposite terminal,
when receiving data, determining that the type of the data received by the channel is changed from second setting data (RLF) to third setting data (NULL) according to the content of the data received by the channel, and taking the event that the data received by the channel is changed from the second setting data to the third setting data as information indicating the elimination of the remote fault of the single channel.
2. The "information indicating that the remote end of the single channel is actively opened" may be acquired by two specific methods as follows:
firstly, a far-end channel opening signal sent by a communication opposite terminal is obtained.
Secondly, when receiving data, determining that the type of the data received by the channel is changed from third set data (NULL) to effective data according to the content of the data received by the channel, and taking the event that the data received by the channel is changed from the third set data (NULL) to the effective data as information indicating that the remote end of the single channel is actively opened.
The multichannel data transmission control method according to the embodiment of the present invention may be executed by a multichannel transmission device according to the embodiment of the present invention, where the multichannel transmission device includes, as shown in fig. 11:
the physical layer 30 is composed of two or more physical layer channels 301-30 n, and each channel is used for transmitting data.
A channel distribution and aggregation module 31, configured to acquire state update information indicating a state change of a single channel; updating the state record of the corresponding channel according to the acquired state updating information, wherein the state record of the channel comprises a specific state and an effective state; when transmitting information data: judging whether a channel in a specific state exists according to the state record of each channel; if yes, only distributing the information data to be sent to the channels in the effective state; if not, distributing the information data to each channel; upon receiving the data: judging whether the type of the data received by the channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to carry out overall data recovery; if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
Further, the channel distribution and aggregation module 31 may be further configured to generate a flow control signal according to the number of channels in the valid state, where the flow control signal is used to adjust the flow of the information data to be sent within a range that can be processed by the channel currently in the valid state.
Further, the channel distribution and aggregation module 31 is further configured to insert corresponding setting data into the determined channel in the specific state when it is determined that a channel in the specific state exists when the information data is sent.
In order to perform the alignment processing of the channel receiving data, the multi-channel transmission device of this embodiment further includes:
a channel alignment module 32, configured to receive data from each channel, and transmit the received data to the channel aggregation unit 31; and, prior to data transfer: judging whether channels in an invalid state exist, if so, only carrying out alignment processing on data received by other channels except the channels in the invalid state, and if not, carrying out alignment processing on the data received by each channel; further, judging whether a channel needing to be recovered to the alignment processing exists; if so, carrying out alignment processing on the data received by the channel needing to be recovered to the alignment processing and the data received by the existing channel for carrying out alignment processing; if not, only carrying out alignment processing on the data received by the existing channel for carrying out alignment processing. When the channel alignment module 32 performs alignment processing on the data received by the channel to be restored to alignment processing together with the data received by the existing channel to be aligned, the data received by the channel to be restored to alignment processing may be included in the data transmitted to the channel distribution and aggregation module 31 only after the alignment processing is completed.
In order to obtain the fault information of a single channel and facilitate the control of the channel state, the multi-channel transmission device of this embodiment further includes:
two or more fault notification modules 331-33 n, respectively arranged in each physical layer channel, for obtaining a fault receiving event of the local channel and generating a channel fault signal for indicating the local terminal of the local channel to receive a fault; the generated channel failure signal is notified to the channel alignment module 32 and/or the channel distribution and aggregation module 31. The detection of the channel fault can be carried out according to the existing mode, and the fault notification module completes notification after the fault is detected.
If the channel failure signal is only announced to one of the channel alignment module 32 and the channel distribution and aggregation module 31, the two modules can inform each other by interacting with each other. If a channel failure signal is signaled to the channel distribution and aggregation module 31, it can be used as a kind of "state update information indicating a state change of a single channel". If the channel fault signal is notified to the channel alignment module 32, the channel alignment module 32 may determine whether a channel in an invalid state exists according to whether the channel fault signal is received; and the channel aligning module 32 may further insert the first setting data into the channel indicated by the received channel fault signal, and transmit the first setting data as the data received by the channel to the channel distributing and converging module 31, so as to notify the channel distributing and converging module 31 of the information indicating the local end of the channel receiving the fault.
In addition to the configuration in which each channel is configured with one fault notification module in the above embodiment, a unified fault notification module 33 may also be adopted, as shown in fig. 12. The fault notification module 33 is configured to obtain a fault receiving event of each channel, and generate a channel fault signal for indicating that a local terminal of a single channel receives a fault; notifying the generated channel fault signal to the channel alignment module 32 and/or the channel distribution and aggregation module 31;
in the application of the multi-channel transmission equipment in the embodiment of the invention in the Ethernet, the channel distribution and convergence module and the channel alignment module can be connected with a physical layer consisting of a plurality of physical layer channels through an MII interface; the channel distribution and convergence module and the channel alignment module can be arranged in the RS sublayer, and can also be arranged in a newly added sublayer which is positioned between the RS and the physical layer and is used for carrying out multi-channel management; the specific application mode can be determined according to actual needs, and the embodiment is not limited.
In order to better understand the embodiment of the present invention, the following provides examples of implementing the multi-channel data transmission control method of the embodiment of the present invention by using the multi-channel transmission device of the embodiment of the present invention in three specific application scenarios.
Example one, a single channel fails unidirectionally.
Firstly, a detection end processing flow:
1. and after acquiring the fault event received by the local channel, the fault notification module generates a channel fault signal LLF indicating that the local end of the local channel receives the fault, and notifies the channel distribution and aggregation module and the channel alignment module.
2. And the channel distribution and aggregation module updates the state record of the corresponding channel into an invalid state. Of course, the channel distribution and aggregation module may determine whether all the channels are in an invalid state, and if so, may process according to the existing physical layer failure processing mechanism, and will not be described again.
3. And the channel distribution and convergence module generates a flow control signal for controlling the upper layer flow according to the number of the current effective channels and adjusts the upper layer flow within the processing range of the current effective channels.
4.1, when information data is transmitted: the channel distribution and aggregation module distributes the data transmitted by the upper layer to the effective channel, and inserts the second setting data RLF into the ineffective channel.
4.2, when receiving data: when the channel alignment module executes the alignment operation, the invalid channel is not considered any more, and the valid channel is kept in an aligned state, namely, data is transmitted to the channel distribution and aggregation module.
4.3, when receiving data: when receiving and recombining the upper layer data each time, the channel distribution and convergence module discards any signal received on the invalid channel, and completes the recombination of the upper layer data only by using the signal received on the valid channel.
Secondly, detecting the opposite end processing flow of the end:
1. the channel distribution and aggregation module receives the second setting data RLF, which is regarded as "information indicating that a single channel far end receives a failure". Of course, if the channel distribution and convergence module determines that the received information indicates a remote physical layer fault, the processing may be performed according to the existing physical layer fault processing mechanism, and details are not described again.
2. And the channel distribution and aggregation module updates the state record of the corresponding channel into a recovery state.
3. And the channel distribution and convergence module generates a flow control signal for controlling the upper layer flow according to the number of the current effective channels and adjusts the upper layer flow within the processing range of the current effective channels.
4.1, when information data is transmitted: and the channel distribution and convergence module distributes the data transmitted by the upper layer to the effective channel, and inserts third set data NULL into the channel in the recovery state.
4.2, when receiving data: the channel distribution and aggregation module discards any signal received on the channel in the recovery state, and only uses the signal received on the effective channel to complete the recombination of upper layer data.
Example two, single channel one-way fault disappears.
Firstly, a failure vanishing end processing flow:
1. and after the fault notification module acquires the fault disappearance event of the local channel, the fault notification module stops generating a channel fault signal LLF to the channel distribution and convergence module and the channel alignment module.
2. The channel distribution and convergence module senses that the channel fault is eliminated and updates the state record of the corresponding channel into a recovery state.
3.1, when information data is transmitted: the channel distribution and aggregation module distributes the data transmitted by the upper layer to the effective channel, and inserts the second setting data RLF before the third setting data NULL is replaced in the channel in the recovery state.
3.2, when receiving data: the channel alignment module senses that the channel fault is eliminated, brings the channel which is changed from the invalid state into the recovery state into alignment processing until the channel which is in the recovery state and the original alignment channel enter the alignment state together, and sends the data containing the channel which is in the recovery state to the channel distribution and aggregation module.
3.3, when receiving data: at this time, the channel alignment module and the channel distribution and aggregation module will receive the third setting data NULL or the second setting data RLF sent from the remote end. And when the upper layer data is received and recombined each time, the channel distribution and convergence module discards the third setting data NULL or the second setting data RLF received on the channel in the recovery state, and completes the recombination of the upper layer data only by using the signal received on the effective channel. And if the channel distribution and aggregation module receives the second setting data RLF, keeping the state record of the corresponding channel as a recovery state.
4.1, when receiving data: and the channel distribution and convergence module changes the second setting data RLF received on the channel in the recovery state into third setting data NULL, or changes the received third setting data NULL into effective data, and updates the state record of the corresponding channel into an effective state.
4.2, when receiving data: when the third setting data NULL received by the channel distribution and convergence module on the channel changed to the valid state is changed to the valid signal, these signals are included in the reassembly of the upper layer data.
4.3, when information data is transmitted: and the channel distribution and aggregation module distributes the data transmitted by the upper layer to the channel of which the state is updated to the valid state during channel distribution.
5. And the channel distribution and convergence module generates a flow control signal for controlling the upper layer flow according to the number of the current effective channels and adjusts the upper layer flow within the processing range of the current effective channels.
Secondly, an opposite end processing flow of the fault disappearance end is as follows:
1. and the second setting data RLF received by the channel distribution and aggregation module is changed into third setting data NULL, and the state record of the corresponding channel is updated into a valid state.
2.1, when information data is transmitted: and the channel distribution and aggregation module distributes the data transmitted by the upper layer to the channel of which the state is updated to the valid state during channel distribution without inserting the third setting data NULL.
2.2, when receiving data: and the channel distribution and aggregation module discards the third set data NULL received on the channel changed into the effective state, and completes the recombination of upper layer data by using the signal received on the effective channel only.
2.3, when receiving data: when the third setting data NULL received by the channel distribution and convergence module on the channel changed to the valid state is changed to the valid signal, these signals are included in the reassembly of the upper layer data.
3. And the channel distribution and convergence module generates a flow control signal for controlling the upper layer flow according to the number of the current effective channels and adjusts the upper layer flow within the processing range of the current effective channels.
Example three, manual channel closing and opening (applicable for flow regulation).
Firstly, a manual channel closing process:
1. closing the initiating end: the channel distribution and aggregation module obtains a command for closing a certain channel and updates the state record of the corresponding channel into a recovery state.
2. Closing the initiating end: and the channel distribution and convergence module generates a flow control signal for controlling the upper layer flow according to the number of the current effective channels and adjusts the upper layer flow within the processing range of the current effective channels.
3. Closing the initiating end: and the channel distribution and aggregation module distributes the data transmitted by the upper layer to the effective channel, and inserts third set data NULL into the channel in the recovery state to replace the previous effective data.
4. Closing the opposite end of the initiating end: the effective data received by the channel distribution and convergence module is changed into third set data NULL, and the state record of the corresponding channel is updated into a recovery state; and the channel data is not used for upper layer data recovery; distributing the upper layer data of the local end to other channels, and inserting third setting data NULL into the channels; and generating a flow control signal for controlling the upper layer flow according to the number of the current effective channels, and adjusting the upper layer flow within the processable range of the current effective channels.
5. Closing the initiating end: and the channel distribution and convergence module receives the third set data NULL and does not use the channel data to recover the upper layer data.
Secondly, a manual channel opening process:
1. opening an initiating end: the channel distribution and convergence module obtains a command for opening a certain channel and updates the state record of the corresponding channel into an effective state.
2. Opening an initiating end: and the channel distribution and convergence module generates a flow control signal for controlling the upper layer flow according to the number of the current effective channels and adjusts the upper layer flow within the processing range of the current effective channels.
3. Opening an initiating end: and the channel distribution and aggregation module stops inserting third set data NULL into the channel changed into the effective state and distributes the data transmitted by the upper layer to the effective channel.
4. Opening the opposite end of the initiating end: the third setting data NULL received by the channel distribution and convergence module is changed into effective data, and the state record of the corresponding channel is updated into an effective state; using the channel data to recover upper layer data; stopping inserting third setting data NULL in the channel, and distributing the upper data of the local end to the effective channel; and generating a flow control signal for controlling the upper layer flow according to the number of the current effective channels, and adjusting the upper layer flow within the processable range of the current effective channels.
It can be seen from the above embodiments that, in the embodiments of the present invention, the effective channel is fully utilized by performing the distinguishing processing according to the state of the single channel during the data distribution; by distinguishing the type of data transmitted by the channel at the time of data reception, it is ensured that only valid data is used for data recovery. Because the data transmission of a single channel can be independently controlled, when partial channels break down, the effectiveness of the whole link can be kept on the basis of losing partial capacity, channel resources are fully utilized, and waste is avoided.
The multi-channel data transmitting/receiving method, the multi-channel data transmission control method, the multi-channel data transmitting/receiving device and the multi-channel transmission equipment provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (25)
1. A method for transmitting multi-channel data, comprising:
acquiring information data to be sent;
judging whether a channel in a specific state exists according to the state record of each channel, wherein the state record of the channel comprises the specific state and an effective state;
if yes, only the information data needing to be sent is distributed to the channels in the valid state,
and if not, distributing the information data to each channel.
2. The method for transmitting multi-channel data according to claim 1, further comprising:
and when judging that the channel in the specific state exists, inserting the setting data corresponding to the channel state into the channel in the specific state.
3. A multi-channel data receiving method, comprising:
receiving data from each channel;
judging whether the type of the data received by each channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data;
if yes, not using the data received by the channel to carry out the whole data recovery,
if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
4. The method for receiving multi-channel data according to claim 3, wherein the step of determining whether the data received by the channel is recovery-free data specifically comprises:
judging whether the received data is set data according to the data content received by the channel, if so, determining that the data received by the channel is recovery-free data, and if not, determining that the data received by the channel is valid data; or,
judging whether the channel is in a specific state according to the state record of the channel, and if so, determining that the data received by the channel is recovery-free data; if not, judging whether the received data is set data according to the data content received by the channel, if so, determining that the data received by the channel is recovery-free data, and if not, determining that the data received by the channel is valid data.
5. The multi-channel data receiving method according to claim 3 or 4, further comprising, before the step of determining whether the type of the data received by the channel is recovery-free data:
judging whether a channel in an invalid state exists according to whether a channel fault signal indicating that a single channel home end receives a fault is received or not or according to the state record of each channel, if so, only carrying out alignment processing on data received by other channels except the channel in the invalid state, and if not, carrying out alignment processing on the data received by each channel;
judging whether a channel needing to be recovered to the alignment processing exists according to whether information indicating that the local end of the single channel is eliminated is acquired; if so, carrying out alignment processing on the data received by the channel needing to be recovered to the alignment processing and the data received by the existing channel for carrying out alignment processing; if not, only carrying out alignment processing on the data received by the existing channel for carrying out alignment processing.
6. A multi-channel data transmission control method is characterized by comprising the following steps:
acquiring state update information indicating a state change of a single channel;
updating the state record of the corresponding channel according to the state updating information, wherein the state record of the channel comprises a specific state and an effective state;
when transmitting information data: judging whether a channel in a specific state exists according to the state record of each channel; if yes, only distributing the information data to be sent to the channels in the effective state; if not, distributing the information data to each channel;
upon receiving the data: judging whether the type of data received by a channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to carry out overall data recovery; if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
7. The multi-channel data transmission control method according to claim 6, further comprising: after the step of updating the state records of the corresponding channels according to the state updating information, generating a flow control signal according to the number of the channels in the effective state, wherein the flow control signal is used for adjusting the flow of the information data to be sent within the range which can be processed by the channel in the effective state.
8. The multi-channel data transmission control method according to claim 6 or 7,
the step of obtaining status update information indicating a status change of a single channel comprises: acquiring information indicating that the local terminal of a single channel receives a fault;
the step of updating the state record of the corresponding channel according to the state updating information specifically comprises the following steps: and updating the state record of the corresponding channel into an invalid state according to the information indicating the fault received by the local end of the single channel, wherein the invalid state belongs to a specific state.
9. The multi-channel data transmission control method according to claim 8, characterized in that: the step of acquiring the information indicating that the local end of the single channel receives the fault specifically includes:
acquiring a channel fault signal sent by fault notification equipment, wherein the channel fault signal is used for indicating a single channel home terminal to receive a fault; or,
acquiring a channel fault signal sent by fault notification equipment; upon receiving the data: inserting first setting data into a channel indicated by the channel fault signal as data received by the channel, wherein the first setting data belong to recovery-free data, and an event that the channel receives the first setting data is used as the information indicating that the local end of the single channel receives the fault;
the multichannel data transmission control method further comprises the following steps:
after the step of obtaining the information indicating that the local end of the single channel receives the fault, sending a far-end channel fault signal to the opposite communication end, wherein the far-end channel fault signal is used for indicating that the far end of the single channel receives the fault; and/or the presence of a gas in the gas,
when transmitting information data: and when determining that the channel in the invalid state exists, inserting second setting data into the channel in the invalid state, wherein the second setting data belongs to the recovery-free data.
10. The multi-channel data transmission control method according to claim 6 or 7, wherein the step of obtaining status update information indicating a status change of a single channel comprises: acquiring recovery state update information indicating that a state record of a single channel needs to be updated to a recovery state, the recovery state update information including:
information indicating that a single channel home terminal has failed; and/or the presence of a gas in the gas,
information indicating that a single channel remote receives a fault; and/or the presence of a gas in the gas,
information indicating that a single channel remote is actively closed; and/or the presence of a gas in the gas,
a channel close signal for indicating that a single channel home terminal is actively closed;
the step of updating the state record of the corresponding channel according to the state updating information specifically comprises the following steps: and updating the state record of the corresponding channel into a recovery state according to the recovery state updating information, wherein the recovery state belongs to a specific state.
11. The multi-channel data transmission control method according to claim 10, further comprising:
when information data is sent, when a channel in a recovery state is determined to exist, third setting data are inserted into the channel in the recovery state, and the third setting data belong to recovery-free data;
after the step of obtaining the information indicating the fault elimination of the local end of the single channel, sending a far-end fault elimination signal to a communication opposite end, wherein the far-end fault elimination signal is used for indicating the far-end receiving fault elimination of the single channel;
and after the step of obtaining the channel closing signal, sending a far-end channel closing signal to the communication opposite terminal, wherein the far-end channel closing signal is used for indicating that the far end of the single channel is actively closed.
12. The method for controlling multi-channel data transmission according to claim 10, wherein the step of obtaining the information indicating the local end failure elimination of the single channel specifically comprises:
acquiring a fault elimination signal sent by fault notification equipment, wherein the fault elimination signal is used for indicating a single channel home terminal to receive fault elimination; or,
sensing the fault notification equipment to stop sending the channel fault signal, and taking the event of 'not receiving the channel fault signal' as the information for indicating the elimination of the local end fault of the single channel; or,
acquiring a fault elimination signal sent by fault notification equipment; when receiving data, not inserting the first setting data in the channel indicated by the failure elimination signal, and taking the event that the channel does not receive the first setting data as the information indicating the failure elimination of the local end of the single channel;
the step of acquiring the information indicating the remote receiving fault of the single channel specifically comprises:
acquiring a far-end channel fault signal sent by a communication opposite terminal, wherein the far-end channel fault signal is used for indicating a single channel far-end receiving fault; or,
when receiving data, determining that data received by a channel is second setting data or data received by the channel is changed into second setting data according to the content of the data received by the channel, wherein the second setting data belongs to the recovery-free data, and the event that the channel receives the second setting data or the data received by the channel is changed into the second setting data is used as the information indicating the remote receiving fault of the single channel;
the step of acquiring the information indicating that the remote end of the single channel is actively closed specifically includes:
acquiring a far-end channel closing signal sent by a communication opposite terminal, wherein the far-end channel closing signal is used for indicating that a single channel far end is actively closed; or,
when receiving data, determining that the type of the data received by the channel is changed from valid data to third setting data according to the content of the data received by the channel, wherein the third setting data belongs to recovery-free data, and the event that the data received by the channel is changed from the valid data to the third setting data is taken as the information indicating that the remote end of the single channel is actively closed.
13. The multi-channel data transmission control method according to claim 6 or 7, wherein the step of obtaining status update information indicating a status change of a single channel comprises: obtaining valid state update information indicating that a state record of a single channel needs to be updated to a valid state, the valid state update information including:
information indicating a single channel far end failure cancellation; and/or the presence of a gas in the gas,
information indicating that a single channel distal end is actively open; and/or the presence of a gas in the gas,
a channel open signal to indicate that a single channel home end is actively open;
the step of updating the state record of the corresponding channel according to the state updating information specifically comprises the following steps: and updating the state record of the corresponding channel into the effective state according to the effective state updating information.
14. The multi-channel data transmission control method according to claim 13, further comprising:
and after the step of acquiring the channel opening signal, sending a far-end channel opening signal to the communication opposite terminal, wherein the far-end channel opening signal is used for indicating that the far end of the single channel is actively opened.
15. The method for controlling multi-channel data transmission according to claim 13, wherein the step of obtaining the information indicating the elimination of the remote failure of the single channel comprises:
acquiring a far-end fault elimination signal sent by a communication opposite terminal, wherein the far-end fault elimination signal is used for indicating a single channel to eliminate a far-end receiving fault; or,
when receiving data, determining that the type of the data received by the channel is changed from second setting data to third setting data according to the content of the data received by the channel, wherein the second setting data and the third setting data belong to recovery-free data, and the event that the data received by the channel is changed from the second setting data to the third setting data is taken as the information indicating the elimination of the remote fault of the single channel;
the step of acquiring the information indicating that the remote end of the single channel is actively opened specifically includes:
acquiring a far-end channel opening signal sent by a communication opposite terminal, wherein the far-end channel opening signal is used for indicating that a single channel far end is actively opened; or,
when receiving data, determining that the type of the data received by the channel is changed from third setting data to valid data according to the content of the data received by the channel, wherein the third setting data belongs to recovery-free data, and the event that the data received by the channel is changed from the third setting data to the valid data is taken as the information indicating that the remote end of the single channel is actively opened.
16. A multi-channel data transmission apparatus, comprising:
two or more physical layer channels, each channel for transmitting data;
the channel distribution unit is used for acquiring information data to be sent; judging whether a channel in a specific state exists according to the state record of each channel, wherein the state record of the channel comprises the specific state and an effective state; and if the channel is in the valid state, only distributing the information data needing to be sent to the channels, and if the channel is not in the valid state, distributing the information data to each channel.
17. The multi-channel data transmission apparatus according to claim 16, wherein:
the channel distribution unit is further configured to insert setting data corresponding to a channel state into a channel in a specific state when it is determined that the channel in the specific state exists.
18. A multi-channel data receiving apparatus, comprising:
two or more physical layer channels, each channel for transmitting data;
a receiving processing unit for receiving data from each channel; judging whether the type of data received by a channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to perform overall data recovery, and if not, using the data received by the channel as a part of the overall data to be recovered to perform overall data recovery.
19. The multi-channel data receiving apparatus according to claim 18, wherein the reception processing unit includes:
the channel aggregation unit is used for judging whether the type of the data received from each channel is recovery-free data or not, and the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to perform overall data recovery, and if not, using the data received by the channel as a part of the overall data to be recovered to perform overall data recovery.
The channel alignment unit is used for receiving data from each channel and transmitting the received data to the channel convergence unit; before data transmission, whether a channel fault signal indicating that a local end of a single channel receives a fault is received or not is judged according to the state record of each channel, whether the channel in an invalid state exists or not is judged, if yes, only data received by other channels except the channel in the invalid state are aligned, and if not, the data received by each channel are aligned.
20. The multi-channel data receiving device of claim 19, wherein the channel alignment unit is further configured to: before data transmission, judging whether a channel needing to be recovered to the alignment processing exists according to whether information indicating that the local end of a single channel is eliminated is acquired; if so, carrying out alignment processing on the data received by the channel needing to be recovered to the alignment processing and the data received by the existing channel for carrying out alignment processing; if not, only carrying out alignment processing on the data received by the existing channel for carrying out alignment processing;
when the channel alignment unit performs alignment processing on the data received by the channel which needs to be restored to the alignment processing and the data received by the existing channel which performs the alignment processing, the data transmitted to the channel aggregation unit only includes the data received by the channel which needs to be restored to the alignment processing after the alignment processing is completed.
21. A multi-channel transmission apparatus, comprising:
two or more physical layer channels, each channel for transmitting data;
the channel distribution and aggregation module is used for acquiring state update information indicating the state change of a single channel; updating the state record of the corresponding channel according to the state updating information, wherein the state record of the channel comprises a specific state and an effective state; when transmitting information data: judging whether a channel in a specific state exists according to the state record of each channel; if yes, only distributing the information data to be sent to the channels in the effective state; if not, distributing the information data to each channel; upon receiving the data: judging whether the type of data received by a channel is recovery-free data or not, wherein the type of the data comprises the recovery-free data and effective data; if so, not using the data received by the channel to carry out overall data recovery; if not, the data received by the channel is used as a part of the overall data to be recovered to recover the overall data.
22. Multi-channel transmission device according to claim 21, characterized in that: the channel distribution and aggregation module is further configured to generate a flow control signal according to the number of channels in an effective state, where the flow control signal is used to adjust the flow of the information data to be sent within a range that can be processed by the channel in the effective state; when it is judged that a channel in a specific state exists at the time of transmitting information data, setting data corresponding to the channel state is inserted into the channel in the specific state.
23. Multi-channel transmission device according to claim 21 or 22, characterized in that it further comprises:
the channel alignment module is used for receiving data from each channel and transmitting the received data to the channel convergence unit; before data transmission, judging whether a channel in an invalid state exists, if so, only carrying out alignment processing on data received by other channels except the channel in the invalid state, and if not, carrying out alignment processing on the data received by each channel; the invalid state belongs to a particular state.
24. The multi-channel data receiving device of claim 23, wherein the channel alignment module is further configured to: before data transmission, judging whether a channel needing to be recovered to the alignment processing exists; if so, carrying out alignment processing on the data received by the channel needing to be recovered to the alignment processing and the data received by the existing channel for carrying out alignment processing; if not, only carrying out alignment processing on the data received by the existing channel for carrying out alignment processing;
when the channel alignment module performs alignment processing on the data received by the channel which needs to be restored to the alignment processing and the data received by the existing channel which performs the alignment processing, the data transmitted to the channel distribution and aggregation module only includes the data received by the channel which needs to be restored to the alignment processing after the alignment processing is completed.
25. The multi-channel transmission device of claim 24, further comprising:
two or more fault notification modules which are respectively arranged in each physical layer channel and used for acquiring the receiving fault event of the channel and generating a channel fault signal for indicating the local end of the channel to receive the fault; notifying the channel fault signal to the channel alignment module and/or the channel distribution and aggregation module; or,
the fault notification module is used for acquiring the fault receiving event of each channel and generating a channel fault signal for indicating the local terminal of the single channel to receive the fault; notifying the channel fault signal to the channel alignment module and/or the channel distribution and aggregation module;
the channel alignment module judges whether a channel in an invalid state exists according to whether the channel fault signal is received or not;
the channel alignment module is further configured to insert first setting data into a channel indicated by the channel fault signal, and transmit the first setting data as data received by the channel to the channel distribution and aggregation module; the first setting data belongs to recovery-free data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710151715 CN101399811B (en) | 2007-09-27 | 2007-09-27 | Multi-channel data transmitting/receiving and transmission control method, corresponding device |
PCT/CN2008/072162 WO2009043251A1 (en) | 2007-09-27 | 2008-08-27 | Multiple path data transmitting/receiving method, transmission control method and corresponding apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710151715 CN101399811B (en) | 2007-09-27 | 2007-09-27 | Multi-channel data transmitting/receiving and transmission control method, corresponding device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101399811A true CN101399811A (en) | 2009-04-01 |
CN101399811B CN101399811B (en) | 2011-09-14 |
Family
ID=40518066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710151715 Expired - Fee Related CN101399811B (en) | 2007-09-27 | 2007-09-27 | Multi-channel data transmitting/receiving and transmission control method, corresponding device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101399811B (en) |
WO (1) | WO2009043251A1 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102412994A (en) * | 2011-11-23 | 2012-04-11 | 福建星网锐捷网络有限公司 | Receiving equipment, transmitting equipment, and line fault processing method and system |
CN103077134A (en) * | 2012-12-27 | 2013-05-01 | 飞天诚信科技股份有限公司 | Method and device for achieving multi-pipe data transmission in embedded system |
CN103502985A (en) * | 2013-04-12 | 2014-01-08 | 华为技术有限公司 | Data processing method, device and system |
WO2014153784A1 (en) * | 2013-03-29 | 2014-10-02 | 华为技术有限公司 | Method, apparatus, and system for transmitting data in ethernet |
WO2015066895A1 (en) * | 2013-11-08 | 2015-05-14 | 华为技术有限公司 | Data distribution method and data aggregate method and apparatuses related thereto |
CN106846606A (en) * | 2017-02-08 | 2017-06-13 | 深圳怡化电脑股份有限公司 | A kind of collecting method, device and finance device |
CN107210997A (en) * | 2014-11-19 | 2017-09-26 | 领特投资两合有限公司 | Physical medium relevant layers are bound |
CN112235163A (en) * | 2020-10-21 | 2021-01-15 | 中国核动力研究设计院 | Method, device, equipment and medium for preventing data from being blocked for FPGA (field programmable Gate array) architecture |
CN112671526A (en) * | 2020-12-23 | 2021-04-16 | 宸芯科技有限公司 | Method, device and equipment for aligning wire pairs of physical coding sublayer PCS of Ethernet |
CN113098857A (en) * | 2021-03-29 | 2021-07-09 | 西安微电子技术研究所 | Multi-channel communication method and system |
CN115328094A (en) * | 2022-08-27 | 2022-11-11 | 南京芯传汇电子科技有限公司 | Redundancy fault recovery method and system for redundancy remote control terminal |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112491762B (en) * | 2020-12-15 | 2022-08-12 | 苏州盛科通信股份有限公司 | Signal quality optimization method, device and system based on PCS and MII separation |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1169321C (en) * | 1996-08-22 | 2004-09-29 | 波音公司 | Method and apparatus for obtaining high integrity and availability in multi-channel system |
US6154464A (en) * | 1997-05-09 | 2000-11-28 | Level One Communications, Inc. | Physical layer device having a media independent interface for connecting to either media access control entitices or other physical layer devices |
CN1226846C (en) * | 2001-12-27 | 2005-11-09 | 北京润光泰力科技发展有限公司 | Method using multiplex channel to implement transmission of one line of network data |
CN100452679C (en) * | 2002-12-31 | 2009-01-14 | 北京邮电大学 | Method and device for elastic protection conversion in Ethernet passive optic network system |
CN1671217B (en) * | 2004-03-16 | 2010-10-13 | 华为技术有限公司 | Dual-transmitting selective-receiving circuit and method |
CN100539512C (en) * | 2004-12-29 | 2009-09-09 | 烽火通信科技股份有限公司 | Realize the method that data link is adjusted in the SDH transmission network |
CN100525172C (en) * | 2005-07-27 | 2009-08-05 | 杭州华三通信技术有限公司 | Transmission set of multiplexing multiplepath interface in physical layer |
-
2007
- 2007-09-27 CN CN 200710151715 patent/CN101399811B/en not_active Expired - Fee Related
-
2008
- 2008-08-27 WO PCT/CN2008/072162 patent/WO2009043251A1/en active Application Filing
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102412994A (en) * | 2011-11-23 | 2012-04-11 | 福建星网锐捷网络有限公司 | Receiving equipment, transmitting equipment, and line fault processing method and system |
CN103077134A (en) * | 2012-12-27 | 2013-05-01 | 飞天诚信科技股份有限公司 | Method and device for achieving multi-pipe data transmission in embedded system |
CN103077134B (en) * | 2012-12-27 | 2015-10-28 | 飞天诚信科技股份有限公司 | The method and apparatus of multi-pipe data transmission is realized in a kind of embedded system |
CN104185976B (en) * | 2013-03-29 | 2018-11-30 | 华为技术有限公司 | The method, apparatus and system of data are transmitted in a kind of Ethernet |
WO2014153784A1 (en) * | 2013-03-29 | 2014-10-02 | 华为技术有限公司 | Method, apparatus, and system for transmitting data in ethernet |
US10313089B2 (en) | 2013-03-29 | 2019-06-04 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for transmitting data in ethernet |
CN103502985A (en) * | 2013-04-12 | 2014-01-08 | 华为技术有限公司 | Data processing method, device and system |
WO2014166102A1 (en) * | 2013-04-12 | 2014-10-16 | 华为技术有限公司 | Data processing method, apparatus and system |
CN103502985B (en) * | 2013-04-12 | 2017-01-25 | 华为技术有限公司 | Data processing method, device and system |
US10547539B2 (en) | 2013-11-08 | 2020-01-28 | Huawei Technologies Co., Ltd. | Data distribution method, data aggregation method, and related apparatuses |
CN104904176B (en) * | 2013-11-08 | 2017-12-29 | 华为技术有限公司 | Data distributing method and data aggregation method and relevant apparatus |
CN104904176A (en) * | 2013-11-08 | 2015-09-09 | 华为技术有限公司 | Data distribution method and data aggregate method and apparatuses related thereto |
WO2015066895A1 (en) * | 2013-11-08 | 2015-05-14 | 华为技术有限公司 | Data distribution method and data aggregate method and apparatuses related thereto |
US11770327B2 (en) | 2013-11-08 | 2023-09-26 | Huawei Technologies Co., Ltd. | Data distribution method, data aggregation method, and related apparatuses |
CN107210997A (en) * | 2014-11-19 | 2017-09-26 | 领特投资两合有限公司 | Physical medium relevant layers are bound |
CN106846606A (en) * | 2017-02-08 | 2017-06-13 | 深圳怡化电脑股份有限公司 | A kind of collecting method, device and finance device |
CN106846606B (en) * | 2017-02-08 | 2019-09-20 | 深圳怡化电脑股份有限公司 | A kind of collecting method, device and finance device |
CN112235163A (en) * | 2020-10-21 | 2021-01-15 | 中国核动力研究设计院 | Method, device, equipment and medium for preventing data from being blocked for FPGA (field programmable Gate array) architecture |
CN112235163B (en) * | 2020-10-21 | 2021-12-07 | 中国核动力研究设计院 | Method, device, equipment and medium for preventing data from being blocked for FPGA (field programmable Gate array) architecture |
CN112671526A (en) * | 2020-12-23 | 2021-04-16 | 宸芯科技有限公司 | Method, device and equipment for aligning wire pairs of physical coding sublayer PCS of Ethernet |
CN113098857A (en) * | 2021-03-29 | 2021-07-09 | 西安微电子技术研究所 | Multi-channel communication method and system |
CN115328094A (en) * | 2022-08-27 | 2022-11-11 | 南京芯传汇电子科技有限公司 | Redundancy fault recovery method and system for redundancy remote control terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2009043251A1 (en) | 2009-04-09 |
CN101399811B (en) | 2011-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101399811B (en) | Multi-channel data transmitting/receiving and transmission control method, corresponding device | |
CN109286416B (en) | Multi-channel communication method and transceiver | |
US20080068985A1 (en) | Network redundancy method and middle switch apparatus | |
US7177325B2 (en) | Operations, administration and maintenance (OAM) systems and methods for packet switched data networks | |
US7394758B2 (en) | Method for supporting SDH/SONET APS on Ethernet | |
CN104081797B (en) | The network system that forward error correction is parsed during being configured in data pattern | |
US9106523B2 (en) | Communication device and method of controlling the same | |
US9787496B2 (en) | Communication system, communication apparatus, and protection method | |
US20090052317A1 (en) | Ring Network System, Failure Recovery Method, Failure Detection Method, Node and Program for Node | |
US20100162033A1 (en) | Ethernet apparatus capable of lane fault recovery and methods for transmitting and receiving data | |
US20080002570A1 (en) | Network redundancy method, and middle apparatus and upper apparatus for the network redundancy method | |
US8830825B2 (en) | Method and system for priority based (1:1)n ethernet protection | |
US9515919B2 (en) | Method and apparatus for protection switching in packet transport system | |
KR20060064692A (en) | Packet transmission method and packet transmission device | |
US20130177021A1 (en) | Communication device, communication system and communication method | |
US11646959B2 (en) | Active ethernet cable with broadcasting and multiplexing for data path redundancy | |
US8072878B2 (en) | Packet ring network system, packet transfer system, redundancy node, and packet transfer program | |
US20070217438A1 (en) | Ring node device and method of connecting terminal to ring node device | |
CN104040959A (en) | Ring protection state aware bandwidth adaptation | |
US7586950B1 (en) | Remote management interface | |
CN108462537A (en) | A kind of implementation method of one master and multiple slaves communication | |
CN101222405B (en) | Module for fast recovering looped network redundancy and its use method | |
US20050198260A1 (en) | Method for detecting link partner state during auto negotiation and switching local state to establish link | |
CN106341297B (en) | Networking method and device for monitoring ring network | |
US20080049611A1 (en) | Data transmission method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110914 Termination date: 20170927 |