WO2022156806A1 - 通信方法、装置、系统、存储介质及计算机程序产品 - Google Patents

通信方法、装置、系统、存储介质及计算机程序产品 Download PDF

Info

Publication number
WO2022156806A1
WO2022156806A1 PCT/CN2022/073651 CN2022073651W WO2022156806A1 WO 2022156806 A1 WO2022156806 A1 WO 2022156806A1 CN 2022073651 W CN2022073651 W CN 2022073651W WO 2022156806 A1 WO2022156806 A1 WO 2022156806A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
data stream
sub
data
fields
Prior art date
Application number
PCT/CN2022/073651
Other languages
English (en)
French (fr)
Inventor
何向
任浩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22742283.9A priority Critical patent/EP4274128A1/en
Priority to JP2023544545A priority patent/JP2024504398A/ja
Publication of WO2022156806A1 publication Critical patent/WO2022156806A1/zh
Priority to US18/357,398 priority patent/US20230370191A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • H04L1/0043Realisations of complexity reduction techniques, e.g. use of look-up tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • H04L1/0042Encoding specially adapted to other signal generation operation, e.g. in order to reduce transmit distortions, jitter, or to improve signal shape
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • H04L1/0047Decoding adapted to other signal detection operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0084Formats for payload data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/14Channel dividing arrangements, i.e. in which a single bit stream is divided between several baseband channels and reassembled at the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/10Streamlined, light-weight or high-speed protocols, e.g. express transfer protocol [XTP] or byte stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0067Rate matching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0096Channel splitting in point-to-point links

Definitions

  • the present application relates to the field of communication, and in particular, to a communication method, apparatus, system, storage medium and computer program product.
  • the speed of the current high-speed Ethernet interface is much faster than the speed of a single channel.
  • multiple channels are used to transmit the data stream sent by the high-speed Ethernet interface in parallel.
  • the above scheme for sending data streams in parallel still has many disadvantages.
  • the above scheme is not suitable for sending information requiring high time stability and reliability, so a brand new information sending method is required.
  • the present application provides a communication method, device, system, storage medium and computer program product to provide a brand-new information sending method.
  • the technical solution is as follows:
  • the present application provides a communication method.
  • a data stream is obtained, and the data stream includes an alignment word indicating an AM group, the AM group includes a plurality of AMs, and the plurality of AMs include a first AM,
  • the first AM includes a first bounding part and a first filling part, the first filling part includes part or all of the first information, the first information is used to indicate a specified function, and the first bounding part is used to determine that the first AM is in the The position in the data stream to send the data stream.
  • the receiver of the data stream does not use the padding information included in the padding portion of each AM, which is useless information for the receiver. Therefore, when the data stream is sent, the padding information included in the first padding part of the first AM in the AM group can be replaced with the first information or part of the first information, even if the first padding part includes the first information or the first part of the information. In this way, the receiver obtains the first information from the AM group when receiving the data stream, thereby realizing a brand-new information sending method. Because the filling part of AM is used to send the first information, the receiver performs the specified function based on the first information without any impact on the data stream, and fully utilizes out-of-band bandwidth resources to send the first information, reducing bandwidth resources of waste.
  • AM is distributed in the data stream at equal intervals, that is, the AM in the data stream is sent periodically, and the time of sending the AM is stable, so that the time stability and reliability can be improved by sending the AM filling part.
  • Sexually demanding information because in the data stream, AM is distributed in the data stream at equal intervals, that is, the AM in the data stream is sent periodically, and the time of sending the AM is stable, so that the time stability and reliability can be improved by sending the AM filling part. Sexually demanding information.
  • the acquired data streams include multiple data streams, each data stream corresponds to one or more AMs in the AM group, and each data stream includes one or more AMs corresponding to each data stream respectively AM.
  • One or more AMs corresponding to the data stream are distributed in the data stream at equal intervals, so using AMs in the AM group to include the first information can send information that requires high time stability and reliability.
  • the first information is associated with the first data stream
  • the multiple data streams include the first data stream
  • the AM in the first data stream includes the first information
  • the first AM is the first data One AM in the stream. Since the first information is associated with the first data stream, the first information is carried in the AM located in the first data stream. In this way, the receiver obtains the first information from the AM of the first data stream and can know that the first information is related to the first data stream. The association of the first data stream is convenient for the receiver to identify and parse the first information.
  • the AM in the M data streams includes the first information
  • the first AM is an AM in the M data streams
  • M is an integer greater than 0.
  • the filling parts of multiple AMs can be used to include the first information, which can be used to transmit the first information with a large amount of data, and the bandwidth resources of the filling parts of the multiple AMs can be fully used.
  • the padding part of each AM in the M data streams includes m fields, where m is an integer greater than 0, and the first information includes at least one sub-information.
  • the m first fields include m first sub-information
  • the m second fields include m second sub-information
  • the m first fields are fields included in the j-th AM in the i-th data stream
  • the number of AMs in the data streams, the m pieces of first sub-information and the m pieces of second sub-information are consecutive 2m pieces of sub-information included in the first information.
  • the first information is included using the AMs in each data stream in a specified order, and the specified sequence is: for the jth AM in each data stream, using the jth AM in the first data stream to include Consecutive m sub-information of the first information, use the j-th AM in the second data stream to include m consecutive sub-information of the first information, ..., use the j-th AM in the M-th data stream to include the first information of consecutive m sub-information. That is, the first information is included in a specified order, so that the receiver can obtain different partial contents of the first information from different AMs, and combine the different partial contents into the first information.
  • the M fields include consecutive M pieces of sub-information
  • the first information includes the M pieces of sub-information. That is to say, the AM in each data stream is used to include the first information in a specified order, and the specified order is: for the j-th AM in the M data streams, that is, there are M j-th AMs, use M-th AMs.
  • the first field in the j AMs includes consecutive M sub-information of the first information
  • the second field in the M j-th AMs is used to include consecutive M sub-informations of the first information, ..., using the M j-th sub-information
  • the m-th field in the AM includes consecutive M sub-information of the first information. That is, the first information is included in a specified order, so that the receiver can obtain different partial contents of the first information from different AMs, and combine the different partial contents into the first information.
  • the m fields of the padding part of each AM include unique padding UP and/or padding Pad. Since the padding information included in the UP and the Pad will not be used by the recipient, the padding information included in the UP and/or the Pad is replaced with the first information, so that the UP and/or the Pad includes the first information for indicating the specified function, thereby Make full use of resources to transmit information that is useful to the recipient.
  • an AM group is acquired, the AM group includes the first AM, the first filling part of the first AM includes the first information or a part of the first information, and the AM group is inserted into the second data stream to obtain the data stream. In this way, it can be ensured that the AM group includes the first information.
  • the inserted AM group when the AM group is inserted into the data stream, the inserted AM group includes the first AM, and the content carried in the first padding part of the first AM is replaced with the first AM in the data stream information or part of the first information. In this way, it can be ensured that the AM group includes the first information.
  • the first AM further includes a first identification part, and the first identification part is used to indicate a data stream corresponding to the first AM. The different data streams are thus identified by the first identification part.
  • the present application provides a communication method.
  • a data stream is received, the data stream includes an alignment word indicating an AM group, the AM group includes a plurality of AMs, the plurality of AMs include a first AM, and the first AM is included in the AM group.
  • An AM includes a first bounding part and a first filling part, the first filling part includes part or all of the first information, the first information is used to indicate a specified function, and the first bounding part is used to determine that the first AM is in the data Position in stream; get first info from AM group.
  • the receiver of the data stream does not use the padding information included in the padding portion of each AM, which is useless information for the receiver. Therefore, in the data stream, the padding information included in the first padding part of the first AM in the AM group can be replaced with the first information or part of the first information, even if the first padding part includes the first information or the first information part of the content. In this way, when the data stream is received, the first information is obtained from the AM group, thereby realizing a brand-new information sending method.
  • the filling part using AM includes the first information
  • the specified function is performed based on the first information without any impact on the data stream, and the out-of-band bandwidth resources are fully used to send the first information , reduce the waste of bandwidth resources.
  • AM is distributed in the data stream at equal intervals, that is, the sender periodically sends the AM in the data stream, and the time of sending the AM is stable, so that the time stability can be transmitted through the filling part of the AM. and information requiring higher reliability.
  • the received data stream includes multiple data streams, each data stream corresponds to one or more AMs in the AM group, and each data stream includes one or more data streams corresponding to each data stream respectively AM.
  • One or more AMs corresponding to the data stream are distributed in the data stream at equal intervals, so using AMs in the AM group to include the first information can send information that requires high time stability and reliability.
  • the first information is associated with the first data stream
  • the multiple data streams include the first data stream
  • the AM in the first data stream includes the first information
  • the first AM is the first data One AM in the stream. Since the first information is associated with the first data stream, the first information is carried in the AM located in the first data stream. In this way, by acquiring the first information from the AM of the first data stream, it can be known that the first information is related to the first information.
  • a data stream is associated to facilitate identification and analysis of the first information.
  • the AM in the M data streams includes the first information
  • the first AM is an AM in the M data streams
  • M is an integer greater than 0.
  • the filling parts of multiple AMs can be used to include the first information, which can be used to transmit the first information with a large amount of data, and the bandwidth resources of the filling parts of the multiple AMs can be fully used.
  • the padding part of each AM in the M data streams includes m fields, where m is an integer greater than 0, and the first information includes at least one sub-information.
  • the m first fields include m first sub-information
  • the m second fields include m second sub-information
  • the m first fields are fields included in the j-th AM in the i-th data stream
  • the number of AMs in the data streams, the m pieces of first sub-information and the m pieces of second sub-information are consecutive 2m pieces of sub-information included in the first information.
  • the first information is included using the AMs in each data stream in a specified order, and the specified sequence is: for the jth AM in each data stream, using the jth AM in the first data stream to include Consecutive m sub-information of the first information, use the j-th AM in the second data stream to include m consecutive sub-information of the first information, ..., use the j-th AM in the M-th data stream to include the first information of consecutive m sub-information. That is, the first information is included in a specified order, so that the receiver can obtain different partial contents of the first information from different AMs, and combine the different partial contents into the first information.
  • the M fields include consecutive M pieces of sub-information
  • the first information includes the M pieces of sub-information. That is to say, the AM in each data stream is used to include the first information in a specified order, and the specified order is: for the j-th AM in the M data streams, that is, there are M j-th AMs, use M-th AMs.
  • the first field in the j AMs includes consecutive M sub-information of the first information
  • the second field in the M j-th AMs is used to include consecutive M sub-informations of the first information, ..., using the M j-th sub-information
  • the m-th field in the AM includes consecutive M sub-information of the first information. That is, the first information is included in a specified order, so that the receiver can obtain different partial contents of the first information from different AMs, and combine the different partial contents into the first information.
  • the m fields of the padding part of each AM include unique padding UP and/or padding Pad. Since the padding information included in the UP and the Pad will not be used by the recipient, the padding information included in the UP and/or the Pad is replaced with the first information, that is, the UP and/or the Pad is used to include the first information for indicating the specified function, Thereby making full use of resources to transmit information useful to the receiver.
  • the first information is obtained from the AM group in the sorted multiple data streams. Since the first information is obtained in the AM group in the sorted data stream, that is to say, the first information can be obtained before decoding, so the sender does not need to perform FEC encoding on the first information when sending the first information. The use of computational resources of the sender can be reduced.
  • the first information is obtained from at least one first data block and at least one second data block. Since the first information is obtained in the decoded data block, that is to say, the first information can be obtained after decoding, so that the sender can perform FEC encoding on the first information when sending the first information, so that the security requirements can be transmitted. Higher first information.
  • the first information is obtained from the AM group in the one data stream. Since the first information is obtained from the AM group in one data stream that is interleaved later, that is to say, the first information can be obtained after decoding. In this way, the sender can perform FEC encoding on the first information when sending the first information, so that the The first information with higher security requirements is transmitted.
  • the first AM further includes a first identification part, and the first identification part is used to indicate a data stream where the first AM is located. The different data streams are thus identified by the first identification part.
  • the present application provides a communication apparatus for executing the method in the first aspect or any possible implementation manner of the first aspect.
  • the apparatus includes a unit for performing the method in the first aspect or any possible implementation manner of the first aspect.
  • the present application provides a communication apparatus for executing the method in the second aspect or any possible implementation manner of the second aspect.
  • the apparatus includes a unit for performing the method in the second aspect or any one possible implementation manner of the second aspect.
  • the present application provides a communication device, the device includes a processor and a computer program, the processor is configured to execute the computer program, so that the device completes the first aspect or any possible possibility of the first aspect method in the implementation.
  • the present application provides a communication device, the device includes a processor and a computer program, the processor is configured to execute the computer program, so that the device completes the second aspect or any possible possibility of the second aspect method in the implementation.
  • the present application provides a computer program product, the computer program product includes a computer program, and the computer program is loaded by a computer to realize any possible implementation of the first aspect, the second aspect, and the first aspect manner or any possible method of implementing the second aspect.
  • the present application provides a computer-readable storage medium for storing a computer program, and the computer program is loaded by a processor to execute the first aspect, the second aspect, and any possible implementation manner of the first aspect. or any possible implementation of the second aspect.
  • the present application provides a chip, including a processor, where the processor is configured to run computer instructions to execute the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect way method.
  • the computer instructions may be located in memory within the processor or in external memory.
  • the present application provides a communication system, including the device described in the third aspect and/or the device described in the fourth aspect, or, including the device described in the fifth aspect and/or the sixth aspect said device.
  • FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a first device and a second device provided by an embodiment of the present application;
  • FIG. 3 is a schematic diagram of a set of alignment markers (alignment markers, AM) provided by an embodiment of the present application;
  • FIG. 4 is a schematic diagram of an AM set including 8 AMs provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an AM set including 16 AMs provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of replacing the content of the filling part with first information provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of at least one AM including first information provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of another at least one AM including first information provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of another at least one AM including first information provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of obtaining first information provided by an embodiment of the present application.
  • FIG. 14 is another schematic diagram of acquiring first information provided by an embodiment of the present application.
  • FIG. 15 is another schematic diagram of acquiring first information provided by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • an embodiment of the present application provides a network architecture 100, including:
  • X physical channels between the first device 101 and the second device 102 , where X is an integer greater than 0, so as to implement the communication between the first device 101 and the second device 102 .
  • the X physical channels may be located between one or more Ethernet interfaces of the first device 101 and one or more Ethernet interfaces of the second device 102 .
  • the device includes a reconciliation sublayer and an Ethernet physical layer
  • the Ethernet physical layer includes a physical coding sublayer (physical coding sublayer, PCS), physical medium attachment (PMA) layer, and physical media dependent (PMD) layer.
  • PCS defines Z PCS channels
  • the Z PCS channels correspond to Z alignment markers (alignment markers, AM) one-to-one
  • the Z PCS channels are virtual channels.
  • the first device 101 includes a first coordination sublayer and an Ethernet physical layer
  • the Ethernet physical layer of the first device 101 includes a first PCS, a first PMA layer, and a first PMD layer.
  • the second device 102 includes a second coordination sublayer and an Ethernet physical layer
  • the Ethernet physical layer of the second device 102 includes a second PCS, a second PMA, and a second PMD layer.
  • the first PCS defines Z PCS channels
  • the second PCS also defines Z PCS channels
  • the ordering of the Z PCS channels in the first PCS is the same as the ordering of the Z PCS channels in the second PCS.
  • the first device 101 may send a data stream to the second device 102, and the process of sending the data stream may be:
  • the first device 101 inserts an AM set into the target data stream, and the AM set includes the Z AMs.
  • the Z data streams are in one-to-one correspondence with the Z AMs
  • each data stream includes the AM corresponding to each data stream
  • each data stream is associated with each data stream.
  • the PCS channels corresponding to the AMs in the streams correspond to each other, so that the Z data streams and the Z PCS channels also correspond one-to-one.
  • the Z data streams are input in parallel to the first PMA layer, and the ordering of each data stream corresponds to the ordering of the PCS channel corresponding to each data stream.
  • the Z data streams are combined into X data streams, and the X data streams are input to the first PMD layer.
  • the X data streams are sent to the second device 102 through the X physical channels.
  • other operations may also be performed, and the other operations will not be described one by one here.
  • the second device 102 receives the X data streams from the X physical channels, and inputs the X data streams to the second PMA layer.
  • Z data streams are recovered based on the X data streams, and the Z data streams are input to the second PCS.
  • an AM included in each of the Z data streams is determined, the Z data streams are aligned based on the AM included in each data stream, and each data stream is determined based on the AM included in each data stream.
  • PCS channel corresponding to each data stream Based on the PCS channel corresponding to each data stream, the aligned Z data streams are sorted, and the sorting of each data stream is the same as the sorting of the PCS channel corresponding to each data stream. Combine the sorted Z data streams into one data stream, remove the AM set in the merged data stream, restore the target data stream based on the data stream from which the AM set is removed, and input the target data stream to the second coordination sub-layer.
  • the AM includes a delimiter part, an identification part and a padding part, the delimiter part is used to determine the position of the AM in the data stream, and the identification part is used to indicate the corresponding AM of the AM PCS channel, the padding part is used to carry padding information.
  • data stream 1 distributes AM11, AM12 and AM13 at equal intervals, and AM11, AM12 and AM13 belong to AM set 1, AM set 2 and AM set 3 respectively.
  • Data stream 2 distributes AM12, AM22, and AM32 at equal intervals, and AM12, AM22, and AM32 belong to AM set 1, AM set 2, and AM set 3, respectively.
  • the data stream Z distributes AM1Z, AM2Z and AM3Z at equal intervals, and AM1Z, AM2Z and AM3Z belong to AM set 1, AM set 2 and AM set 3 respectively.
  • the second device 102 determines each data stream by identifying the delimited part included in the AM in each data stream to get the AM in each data stream.
  • the time span for obtaining AMs in each data stream is short, and there is a large amount of other data between two adjacent AMs in each data stream, so each AM obtained in this time span belongs to the same AM set, Then, the PCS channel corresponding to each data stream is determined based on the identification part included in the AM in each data stream.
  • the delimiting portion of each AM includes the same bit pattern (bit pattern) used to determine the position of the AM, so the second device 102 can base on each AM
  • the delimited portion of the includes the bit pattern in which the AM in each data stream is determined in the Z data streams.
  • the bit patterns included in the identification part of each AM are different from each other, and the bit patterns included in the identification part of each AM respectively correspond to different PCS channels, so the second device 102 determines each AM based on the bit patterns included in the identification part of each AM. PCS channel corresponding to each data stream.
  • the delimited part of each AM includes six fields, namely common marker (CM) 0, CM1, CM2, CM3, CM4 and CM5.
  • the CM0 of each AM includes the same bit pattern
  • the CM1 of each AM includes the same bit pattern
  • the CM2 of each AM includes the same bit pattern
  • the CM3 of each AM includes the same bit pattern
  • the CM4 of each AM includes the same bit pattern
  • the CM5 of each AM includes the same bit pattern.
  • the identification part of each AM includes six fields, which are unique marker (UM) 0, UM1, UM2, UM3, UM4 and UM5 respectively. See Figure 4 and Figure 5.
  • the bit patterns included in UM0 of each AM are mutually exclusive. Different, the bit patterns included in UM1 of each AM are different from each other, the bit patterns included in UM2 of each AM are different from each other, the bit patterns included in UM3 of each AM are different from each other, and the bit patterns included in UM4 of each AM are different from each other. The patterns are different from each other, and the bit patterns included in the UM5 of each AM are different from each other. Thus, the identification portion of each AM is made different from each other.
  • the padding part of the AM includes three padding fields, namely unique pad (UP) 0, UP1 and UP2, the padding part of the AM may also include padding (Pad) or may not include Pad .
  • the padding part of the AM may also include padding (Pad) or may not include Pad .
  • the 1st to 7th AMs all include Pads, and the 8th AMs do not include Pads.
  • the 16 AMs shown in FIG. 5 the 1st to 14th AMs all include Pads, and the 15th to 16th AMs do not include Pads.
  • the size of the AM set is an integer multiple of the specified size.
  • the specified size may be 257 bits, that is, the size of the AM set is an integer multiple of 257 bits, for example, it may be 8*257 bits or 16*257 bits.
  • the first device 101 performs different processing operations on the target data stream in the first PCS to obtain Z data streams. These processing operations are:
  • the first device 101 performs encoding processing and rate matching processing on the target data stream, transcoding the processed data stream, and scrambles the transcoded data stream.
  • Code processing inserting the AM set into the scrambled data stream, performing pre-allocation processing on the data stream inserted into the AM set, obtaining the first data block and the second data block, and performing FEC on the first data block and the second data block respectively.
  • Encoding to obtain a first codeword and a second codeword and assigning and interleaving the first codeword and the second codeword to form Z data streams.
  • the second device 102 performs different processing operations on the Z data streams in the second PCS to obtain the target data stream. These processing operations are:
  • the second device 102 performs alignment lock and deskew processing on the Z data streams.
  • the process of the alignment word locking and de-skew processing may be as follows: the second device 102 identifies the delimited part included in the AM in each data stream, so as to obtain the AM in each data stream, based on the AM included in each data stream.
  • the AM performs alignment processing on the Z data streams.
  • the deskew operation is not required, and the second device 102 identifies the delimited portion included in the AM in each data stream, thereby obtaining the AM.
  • the second device 102 performs channel sorting processing on the Z pieces of data after alignment.
  • the process of channel sorting processing may be: the second device 102 determines the PCS channel corresponding to each data stream based on the identification part included in the AM in each data stream, and the Z data streams based on the PCS channel corresponding to each data stream The stream is sorted. For the ordered Z data streams, the ordering among the Z data streams is the same as the ordering among the Z data streams in the first PCS.
  • the second device 102 deinterleaves the sorted Z data streams to obtain the first codeword and the second codeword, and performs FEC decoding on the first codeword and the second codeword to obtain the first data block and the second data block .
  • the first data block and the second data block are interleaved after FEC decoding to obtain a data stream, and the data stream includes the AM set; the AM set is removed from the data stream, and the data stream of the AM set is removed.
  • inversion code processing is performed on the descrambled data stream, and decoding and rate matching processing is performed on the inversion code processed data stream to recover the target data stream.
  • the second device 102 checks whether there is erroneous information in the first codeword and the second codeword. When erroneous information is checked, error correction may be performed on the erroneous information, or error correction may not be performed on the erroneous information.
  • the second device 102 does not use the padding information included in the padding part of each AM, so the second device 102 does not use the padding information included in the padding part of each AM. That is to say, the padding information included in the padding part of each AM is useless information, resulting in a waste of network resources.
  • the present application provides a new method for sending information. For the detailed implementation of the method, refer to the implementation of any of the following embodiments.
  • an embodiment of the present application provides a communication method 600 , the method 600 is applied to the network architecture 100 shown in FIG. 1 or FIG. 2 , and the execution body of the method 600 may be the network shown in FIG. 1 or FIG. 2 The first device 101 in the architecture 100 .
  • the method 600 includes:
  • Step 601 The first device acquires a data stream, the data stream includes an AM group, the AM group includes multiple AMs, the multiple AMs include a first AM, the first AM includes a first padding portion, and the first padding portion includes first information part or all of the first information is used to indicate the specified function.
  • the first information includes the initialization vector of the physical layer encryption algorithm, one or more of port management information and time synchronization information, etc.
  • the specified function includes the physical layer encryption function indicated by the initialization vector, the port management function indicated by the port management information and One or more of the time synchronization functions and the like indicated by the time synchronization information.
  • the specified function is a function that the receiver of the first information needs to perform.
  • the receiver needs to use the first information to implement one or more functions, that is, the first information is not useless information.
  • the first AM further includes a first bounding part and/or a first identifying part, the first bounding part is used to determine the position of the first AM in the data stream, and the first identifying part is used to identify the first AM The corresponding first data stream and/or the PCS channel corresponding to the first AM.
  • the first padding part includes m fields, where m is an integer greater than 0, and the m fields collectively include the first information or part of the content of the first information.
  • the m fields may be all or part of the fields included in the first padding part, and the m fields are fields agreed in advance between the first device and the second device.
  • the first padding portion includes three UPs. Some or all of the three UPs include the first information or a partial content of the first information.
  • the first padding part may also include Pad, in the case where the first padding part includes Pad, the first padding part includes four fields, the four fields include the three UPs and the Pad, and one of the four fields The or more fields include the first information or a portion of the first information.
  • the first AM is one AM in the at least one AM
  • the filling part of the at least one AM includes the first information
  • the first device may acquire the data stream in the following first manner or second manner, where the first manner and the second manner are:
  • the first device acquires an AM group, the filling part of at least one AM in the AM group includes the first information, and inserts the AM group into the data stream.
  • the at least one AM in the AM group already includes the first information
  • the data stream is a data stream obtained after the first device performs scramble processing in the first PCS.
  • the first device performs encoding processing and rate matching processing on the target data stream from the first coordination sublayer, transcodes the processed data stream, and performs transcoding on the transcoded data stream.
  • the stream is scrambled, and the AM group including the first information is inserted into the scrambled data stream, and then continues to perform FEC pre-allocation, FEC encoding, and allocation and interleaving processing on the data stream inserted into the AM group to obtain Z data flow.
  • Z is an integer greater than 0, that is, Z may be 1 or greater than 1.
  • the operation of acquiring the AM group by the first device may be: the first device generates an AM group, and the filling part of at least one AM in the AM group includes the first information. or,
  • the first device generates an AM group, the padding part of the at least one AM in the AM group carries padding information, and replaces the content carried by the padding part of the at least one AM with the first information, so that the padding part of the at least one AM includes first information. or,
  • An AM group is stored in the first device, and the padding part of the at least one AM in the AM group carries padding information, the first device obtains the AM group locally, and replaces the content carried by the padding part of the at least one AM with the first device. information such that the padding portion of the at least one AM includes the first information.
  • the first device replaces the content carried in the padding part to one AM in the AM group with the first information in the data stream, so that the at least one AM
  • the padding portion of includes the first information.
  • the first device replaces the content carried in the first padding part of the first AM with the first information or the first AM in the data stream. part of a message.
  • the first device inserts the AM group into the scrambled data stream, and in the data stream, the at least one of the AM group is inserted into the data stream.
  • the content carried in the padding part of one AM is replaced with the first information.
  • the first PCS of the first device after the first device scrambles the data stream, inserts the AM group into the scrambled data stream, and performs FEC pre-allocation on the data stream inserted into the AM group , FEC encoding, and distribution and interleaving to form Z data streams.
  • the content carried by the padding part of the at least one AM in the AM group is replaced with the first information in the Z data streams.
  • the AM group may include the first information before FEC encoding, so that the first information can be encoded during FEC encoding, thereby improving the security of transmitting the first information.
  • the AM group may include the first information, so that the first information does not need to be FEC encoded, thereby reducing the occupation of computing resources.
  • the at least one AM may include the first information in the following ways, and the ways are:
  • the padding part of each AM in the at least one AM includes different parts of the first information. That is, the padding portion for the at least one AM collectively includes the first information.
  • some or all fields in the first filling part of the first AM include part of the content of the first information.
  • the one AM is the first AM, such that the first AM carries the entire first information.
  • the data amount of the first information may be less than or equal to the size of the padding portion of the first AM.
  • the at least one AM may be divided into multiple groups, and for each group of AMs, the group of AMs includes one or more AMs, and the one or more AMs collectively include the first information. That is, the at least one AM includes a plurality of the same first information.
  • the at least one AM includes a first set of AMs and a second set of AMs.
  • the first group of AMs includes one or more AMs, and the padding portion of each AM in the first group of AMs includes different portions of the first information, that is, the padding portions of each AM in the first group of AMs collectively include the first information.
  • the second group of AMs includes one or more AMs, and the filled portion of each AM in the second group of AMs includes different portions of the first information, ie, the filled portions of each of the AMs in the second group of AMs collectively include the first information.
  • the at least one AM includes two identical first pieces of information.
  • the second method can be adopted, that is, the at least one AM includes multiple identical first information, so that during the transmission of the data stream, even if the first information included in a certain group of AMs If it is lost, the second device can also receive the first information included in other groups AM, which improves the security of transmitting the first information.
  • the above manners 1 and 2 are only two examples of the at least one AM including the first information. During implementation, there may be other manners to realize that the at least one AM includes the first information, which will not be listed one by one here.
  • the padding portion of the AM includes at least one field, and some or all of the fields in the at least one field are used to include the first information or part of the first information.
  • the data stream obtained in step 601 includes Z data streams, each data stream corresponds to one or more AMs in the AM group, and each data stream includes one or more corresponding to each data stream respectively.
  • each AM included in the data stream belongs to a different set of AMs inserted by the first device. So the AM group includes one or more AM sets into which the first device is inserted.
  • each of the Z data streams corresponds to two AMs in the AM group, and each data stream corresponds to two AMs in the AM group.
  • the streams respectively include two AMs corresponding to each data stream.
  • this data flow 1 corresponds to AM11 and AM21 in the AM group, and data flow 1 includes AM11 and AM21; for data flow 2, this data flow 2 corresponds to AM12 and AM22 in this AM group.
  • the data stream 2 includes AM12 and AM22; ; —, for the data stream Z, the data stream Z corresponds to AM1Z and AM2Z in the AM group, and the data stream Z includes AM1Z and AM2Z.
  • the at least one AM may include the following two AMs, which are:
  • the at least one AM includes an AM corresponding to the first data stream.
  • the first information is associated with the first data stream
  • the Z data streams include the first data stream
  • the first AM is an AM corresponding to the first data stream.
  • the at least one AM is located in the first data stream.
  • the at least one AM may include the first information in the above-mentioned manner 1 or manner 2, and the following describes the details of using the two manners to include the first information respectively.
  • the padding part of the at least one AM collectively includes the first information.
  • m fields in the padding part of the AM may be used to include partial content of the first information, where m is an integer greater than 0.
  • the m fields may be all fields included in the padding part, or may be part of the fields included in the padding part.
  • the first information includes a plurality of sub-information, the m fields of the filling part of the AM include consecutive m sub-information, and the m sub-information are sub-information in the first information.
  • N is an integer greater than 0
  • the at least one AM includes N AMs
  • the padding part of the N AMs includes N*m fields in total.
  • the *m fields include consecutive N*m pieces of sub-information, and the N*m pieces of sub-information are all the sub-information included in the first information, so that the at least one AM collectively includes the first information.
  • the first information is associated with data stream 1, that is, the first data stream is data stream 1, and the at least one AM includes AM11 and AM21 corresponding to data stream 1.
  • the three fields in the padding part using AM11 include sub-information 1, sub-information 2, and sub-information 3
  • the three fields in the padding part using AM21 include sub-information 4, sub-information 5, and sub-information 6.
  • the first information includes sub-information 1, sub-information 2, sub-information 3, sub-information 4, sub-information 5, and sub-information 6.
  • the operation of the first device to replace the content carried in the padding part of the at least one AM with the first information may be: the first device replaces the content carried by the N*m fields with the first information respectively including: The N*m sub-information of .
  • the information includes sub-information 1, sub-information 2, sub-information 3, sub-information 4, sub-information 5 and sub-information 6.
  • the first device before inserting the AM group into the data stream, may replace the content carried in the padding part of the at least one AM with the first information, or, before inserting the AM group into the data stream, After the data flow, the content carried in the padding part of the at least one AM is replaced with the first information.
  • the padding part of the at least one AM includes the same multiple pieces of first information.
  • the at least one AM includes multiple groups of AMs, and for each group of AMs, one or more AMs included in the group of AMs collectively include the first information.
  • the one or more AMs collectively include the detailed content of the first information, and reference may be made to the detailed content that the at least one AM collectively includes the first information introduced in the first mode in the first AM case, which will not be described in detail here. .
  • the at least one AM includes AMs in the M data streams. That is, the AM in the M data streams includes the first information, the first AM is one AM in the M data streams, and M is an integer greater than 0.
  • the at least one AM may include the first information in the above-mentioned manner 1 or manner 2, and the details of using the two manners to include the first information are described below.
  • the padding part of the at least one AM collectively includes the first information.
  • m fields in the padding portion of the AM may be used to include partial content of the first information.
  • the m fields may be all fields included in the padding part, or may be part of the fields included in the padding part.
  • each data stream in the at least one data stream includes N AMs, where N is an integer greater than 0, the padding part of the at least one AM includes M*N*m fields, and the first information includes M*N*m pieces of sub-information, the M*N*m fields include the M*N*m pieces of sub-information in the first information by adopting the following method 1 or method 2, respectively.
  • the methods 1 and 2 are respectively:
  • m first fields include m first sub-information
  • m second fields include m second sub-information
  • the m first fields are fields included in the j-th AM in the i-th data stream
  • the The m pieces of first sub-information and the m pieces of second sub-information are consecutive 2m pieces of sub-information included in the first information.
  • the j-th AM in the i-th data stream and the j-th AM in the i+1-th data stream belong to the same AM set.
  • the at least one AM includes AMs in two data streams. Assuming that the two data streams are data stream 1 and data stream 2, the at least one AM includes AM11 and AM21 in data stream 1 and AM12 and AM22 in data stream 2. It is also assumed that the first information includes sub-information 1, sub-information 2, sub-information 3, sub-information 4, sub-information 5, sub-information 6, sub-information 7, sub-information 8, sub-information 9, sub-information 10, and sub-information 11 and sub-message 12.
  • the three fields in the filling part of AM11 include sub-information 1, sub-information 2 and sub-information 3, and the three fields in the filling part using AM12 include sub-information 4, sub-information 5 and sub-information 6, and the filling part using AM21 is used.
  • the three fields in the padding part include sub-information 7, sub-information 8, and sub-information 9, and the three fields in the padding part using AM22 include sub-information 10, sub-information 11, and sub-information 12.
  • the operation of the first device replacing the content carried in the padding part of the at least one AM with the first information may be:
  • the first device obtains m consecutive pieces of sub-information corresponding to the AM from the first information, and replaces the content carried by the m fields in the padding part of the AM with the m pieces of sub-information .
  • the first device repeats the replacement process, and the sequence of replacing AMs is the jth AM of the first data stream, the jth AM of the second data stream, ..., the jth AM of the Mth data stream AM, j takes the values 1, 2, ..., N in turn, respectively.
  • the first device obtains consecutive m pieces of sub-information starting from the first sub-information included in the first information, and for the m fields included in the padding part of the first AM corresponding to the first data stream, the m The content carried in the fields is replaced with the acquired m sub-information.
  • the at least one AM includes AM11 and AM12 corresponding to data stream 1, and AM21 and AM22 corresponding to data stream 2.
  • the first device obtains sub-information 1, sub-information 2 and sub-information 3 from the first information, and for the three fields included in the filling part of AM11, replaces the contents carried by the three fields with the obtained sub-information 1, sub-information 2 and sub-information 3.
  • the M fields include consecutive M pieces of sub-information
  • the first information includes M pieces of sub-information.
  • the j-th AM in each of the M data streams belongs to the same AM set.
  • the at least one AM includes AMs in two data streams. Assuming that the two data streams are data stream 1 and data stream 2, the at least one AM includes AM11 and AM21 in data stream 1 and AM12 and AM22 in data stream 2. It is also assumed that the first information includes sub-information 1, sub-information 2, sub-information 3, sub-information 4, sub-information 5, sub-information 6, sub-information 7, sub-information 8, sub-information 9, sub-information 10, and sub-information 11 and sub-message 12.
  • the first field in the padding part of AM11 and the first field in the padding part of AM12 include sub-information 1 and sub-information 2, respectively.
  • the 2nd field in the padding part of AM11 and the 2nd field in the padding part of AM12 include sub-information 3 and sub-information 4, respectively.
  • the 3rd field in the padding part of AM11 and the 3rd field in the padding part of AM12 include sub-information 5 and sub-information 6, respectively.
  • the 1st field in the padding part of AM21 and the 1st field in the padding part of AM22 include sub-information 7 and sub-information 8, respectively.
  • the 2nd field in the padding part of AM21 and the 2nd field in the padding part of AM22 include sub-information 9 and sub-information 10, respectively.
  • the 3rd field in the padding part of AM21 and the 3rd field in the padding part of AM22 include sub-information 11 and sub-information 12, respectively.
  • the operation of the first device replacing the content carried in the padding part of the at least one AM with the first information may be:
  • the first device obtains M fields corresponding to M sub-information from the first information, the M fields include the n-th field of the filling part of the j-th AM in each data stream, and j takes values 1, 2, ..., N, and n take values of 1, 2, ..., m respectively, respectively; the contents carried by the M fields are replaced with the M sub-information.
  • the M fields include the first of the filling parts of the first AM corresponding to each data stream field, and replace the content carried by the M fields with the M sub-information.
  • the first device obtains consecutive M pieces of sub-information from the remaining sub-information included in the first information, and determines M fields, where the M fields include the second field of the filling part of the first AM corresponding to each data stream, and The contents carried by the M fields are replaced with the M sub-information.
  • the first device obtains consecutive M pieces of sub-information from the remaining sub-information included in the first information, and determines M fields, where the M fields include the mth of the filling part of the first AM corresponding to each data stream field, and replace the content carried by the M fields with the M sub-information.
  • the first device obtains consecutive M pieces of sub-information from the remaining sub-information included in the first information, and determines M fields, where the M fields include the first field of the filling part of the second AM corresponding to each data stream, and The contents carried by the M fields are replaced with the M sub-information.
  • the above process is repeated until the last M pieces of sub-information included in the first information are obtained, and M fields are determined, and the M fields include the mth field of the filling part of the Nth AM corresponding to each data stream, and the M fields are The carried content is replaced with the M pieces of sub-information.
  • the M data streams include data stream 1 and data stream 2 .
  • the at least one AM includes AM11 and AM12 corresponding to data stream 1, and AM21 and AM22 corresponding to data stream 2.
  • the first device obtains sub-information 1 and sub-information 2 from the first information, and determines two fields, and the two fields include The first field of the padding part of AM11 and the first field of the padding part of AM12 are replaced with sub-information 1 and sub-information 2 for the contents carried by the two fields.
  • Obtain sub-information 3 and sub-information 4 from the first information determine two fields, the two fields include the second field of the filling part of AM11 and the second field of the filling part of AM12, and the two fields carry the The content is replaced with sub-information 3 and sub-information 4.
  • Obtain sub-information 5 and sub-information 6 from the first information determine two fields, the two fields include the third field of the filling part of AM11 and the third field of the filling part of AM12, and the two fields carry the The content is replaced with sub-information 5 and sub-information 6.
  • Obtain sub-information 7 and sub-information 8 from the first information determine two fields, the two fields include the first field of the filling part of AM21 and the first field of the filling part of AM22, and the two fields carry the The content is replaced with sub-information 7 and sub-information 8.
  • Obtain sub-information 9 and sub-information 10 from the first information determine two fields, the two fields include the second field of the filling part of AM21 and the second field of the filling part of AM22, and the two fields carry the The content is replaced with sub-information 9 and sub-information 10.
  • Obtain sub-information 11 and sub-information 12 from the first information determine two fields, the two fields include the third field of the filling part of AM11 and the third field of the filling part of AM12, and the two fields carry the The content is replaced with sub-information 11 and sub-information 12.
  • the at least one AM includes the first information in the second manner, that is, the at least one AM includes the same multiple pieces of first information.
  • the at least one AM includes multiple groups of AMs, and for each group of AMs, one or more AMs included in the group of AMs collectively include the first information.
  • the one or more AMs collectively include the detailed content of the first information, and reference may be made to the detailed content of the first information collectively included by at least one AM introduced in the first method in the second case of the AM, which will not be described in detail here. .
  • Step 602 The first device sends the data stream to the second device.
  • step 601 after the first device acquires the Z data streams, at the first PMA layer of the first device, the first device combines the Z data streams into X data streams data flow. At the first PMD layer of the first device, the first device sends the X data streams to the second device through the X physical channels between the first device and the second device.
  • the second device since the second device does not use the padding information included in the padding part of each AM in the AM group, for the second device, the padding information is useless information, and the padding part of each AM wasted. So the first device can use the padding part of at least one AM in the AM group to include the first information, and then send the data stream including the AM group to the second device. In this way, the second device receives the data stream and can obtain the first information from the AM group, thereby realizing a brand-new information sending method. Because the filling part of the AM is used to send the first information, it will not have any impact on the useful part of the data stream, and the out-of-band bandwidth resources are fully used to send the first information.
  • AM is distributed in the data stream at equal intervals, that is, the first device periodically sends the AM in the data stream, and the time of sending the AM is stable, so that the AM can be sent through the filling part of the AM.
  • Time stability and reliability require high information.
  • an embodiment of the present application provides a communication method 700, the method 700 is applied to the network architecture 100 shown in FIG. 1 or FIG. 2, and the execution body of the method 700 may be the network shown in FIG. 1 or FIG. 2.
  • the method 700 includes:
  • Step 701 The second device receives a data stream, the data stream includes an AM group, the AM group includes multiple AMs, the multiple AMs include a first AM, the first AM includes a first padding portion, and the first padding portion includes first information part or all of the first information is used to indicate the specified function.
  • the first AM further includes a first bounding part and/or a first identifying part, the first bounding part is used to determine the position of the first AM in the data stream, and the first identifying part is used to identify the first AM The corresponding first data stream and/or the PCS channel corresponding to the first AM.
  • the first AM is one AM in the at least one AM
  • the filling part of the at least one AM includes the first information
  • the filling part of the at least one AM includes the detailed content of the first information, please refer to the related content in step 601 of the method 600 shown in FIG. 6 , and will not be described in detail here.
  • step 701 at the second PMD layer of the second device, the second device receives X data streams through X physical channels between the first device and the second device. At the first PMA layer of the second device, the second device restores Z data streams based on the X data streams.
  • Step 702 The second device obtains the first information from the AM group.
  • the at least one AM may include the following two AMs, where the two AMs are:
  • the at least one AM includes AMs in the first data stream.
  • the first information is associated with a first data stream
  • the Z data streams include the first data stream
  • the first AM is an AM of the at least one AM.
  • the second device obtains the first information from the filling part of the at least one AM in the first data stream.
  • the first data stream includes N AMs, that is, at least one AM includes the N AMs.
  • the at least one AM may include the first information in the above-mentioned manner 1 or manner 2, and the following describes the implementation process of the second device acquiring the first information in these two manners:
  • the padding part of the at least one AM collectively includes the first information
  • the padding part of the at least one AM comprises N*m fields in total
  • the second device obtains consecutive N*m pieces of sub-information from the N*m fields to obtain the first information.
  • the first information is associated with data stream 1, that is, the first data stream is data stream 1, and the at least one AM includes AM11 and AM21 corresponding to data stream 1.
  • the filling part of AM11 and the filling part of AM21 include a total of six fields, and the second device obtains sub-information 1, sub-information 2, sub-information 3, sub-information 4, sub-information 5 and sub-information 6 from the six fields to obtain the first a message.
  • the at least one AM includes the first information in the second manner
  • the at least one AM includes multiple groups of AMs, and for each group of AMs, one or more AMs included in the group of AMs, the one or more AMs collectively include the first AM.
  • the second device obtains the first information from one or more groups of AMs in the plurality of groups of AMs.
  • the detailed implementation process for the second device to obtain the first information from the group of AMs can be referred to as the second device obtains the first information from the filling part of the at least one AM described in the first mode in the first AM case.
  • the detailed implementation process of the first information will not be described in detail here.
  • the at least one AM includes AMs in the M data streams.
  • the second device obtains the first information from the filling part of the at least one AM in the Z data streams.
  • each data stream includes N AMs, and the at least one AM includes M*N AMs in total.
  • the at least one AM may include the first information in the above-mentioned manner 1 or manner 2, and the following describes the implementation process of the second device acquiring the first information in these two manners:
  • the at least one AM includes the first information in the above-mentioned manner 1, that is, the padding part of the at least one AM collectively includes the first information.
  • the first information includes M*N*m sub-information
  • the filling part of the at least one AM includes M*N*m fields, because the M*M*m fields use the above-mentioned method 1 or method 2 to respectively include the first M*N*m sub-messages in a message.
  • the second device obtains m pieces of sub-information from the padding part of the 1st AM in the 1st data stream, obtains m pieces of sub-information from the 1st AM in the 2nd data stream, ..., from the Mth
  • the first AM in the data streams acquires m sub-information.
  • the at least one AM includes AM11 and AM12 corresponding to data stream 1, and AM21 and AM22 corresponding to data stream 2.
  • the second device obtains sub-information 1, sub-information 2 and sub-information 3 from the filling part of AM11 in the first data stream; obtains sub-information 4, sub-information 5 and sub-information 6 from the filling part of AM12 in the second data stream ; Obtain sub-information 7, sub-information 8 and sub-information 9 from the filling part of AM21 in the first data stream; obtain sub-information 10, sub-information 11 and sub-information 12 from the filling part of AM22 in the second data stream.
  • the second device determines M fields, and the M fields include each of the M data streams.
  • the at least one AM includes AM11 and AM21 in data stream 1 and AM11 in data stream 2 AM12 and AM22.
  • the second device determines two fields including the first field of the padding part of AM11 and the first field of the padding part of AM12, and obtains sub-information 1 and sub-information 2 from the two fields.
  • Two fields including the second field of the padding part of AM11 and the second field of the padding part of AM12 are determined, and sub-information 3 and sub-information 4 are obtained from the two fields.
  • Two fields including the third field of the padding part of AM11 and the third field of the padding part of AM12 are determined, and sub-information 5 and sub-information 6 are obtained from the two fields.
  • Two fields including the first field of the padding part of AM21 and the first field of the padding part of AM22 are determined, and sub-information 7 and sub-information 8 are obtained from the two fields.
  • Two fields including the second field of the padding part of AM21 and the second field of the padding part of AM22 are determined, and the sub-information 9 and the sub-information 10 are obtained from the two fields.
  • Two fields including the 3rd field of the padding part of AM11 and the 3rd field of the padding part of AM12 are determined, and the sub-information 11 and the sub-information 12 are obtained from the two fields.
  • the at least one AM includes the first information in the second manner
  • the at least one AM includes multiple groups of AMs, and for each group of AMs, one or more AMs included in the group of AMs, the one or more AMs collectively include the first AM.
  • the second device obtains the first information from one or more groups of AMs in the plurality of groups of AMs.
  • the detailed implementation process for the second device to obtain the first information from the group of AMs can refer to the filling part of the second device from the at least one AM introduced in the first method in the second AM case.
  • the detailed implementation process of acquiring the first information will not be described in detail here.
  • the second device may obtain the first information from the AM group in the following three different situations, and the three different situations will be described one by one in the following.
  • the second device after sorting the Z data streams, the second device obtains the first information from the AM group in the sorted Z data streams.
  • the second device first performs alignment word locking and de-skew processing on the Z data streams from the second PMA layer to align the Z data streams, and the aligned Z data streams Stream channel ordering processing.
  • the second device obtains the first information from the AM group in the sorted Z data streams after performing the channel sorting processing and before performing the deinterleaving processing on the sorted Z data streams. After acquiring the first information, the second device performs deinterleaving processing on the sorted Z data streams to obtain at least one first codeword and at least one second codeword. At least one first data block and at least one second data block are obtained by FEC decoding the at least one first codeword and the at least one second codeword. The at least one first data block and the at least one second data block are FEC-decoded and then interleaved to obtain one data stream, and the one data stream includes the AM group.
  • Remove the AM set from the data stream perform descrambling processing on the data stream from which the AM set has been removed, perform reverse code processing on the descrambled data stream, and decode and rate the reverse code processed data stream.
  • the matching process is performed to recover the target data stream and input the target data stream to the second coordination sub-layer.
  • the second device after sorting and processing the aligned Z data stream channels, the second device obtains the AM included in each data stream in the Z data streams, and identifies the AM included in each data stream, so that it can obtain the AM included in each data stream from the Z data streams.
  • the AM group in the sorted Z data streams obtains the first information.
  • the first information is obtained from the AM groups in the sorted Z data streams, that is, the first information is obtained before FEC decoding is performed, so the first information does not need to be decoded, which reduces the amount of computing resources required. occupied.
  • the first device sends the first information, it is not necessary to perform FEC encoding on the first information, and the occupation of computing resources of the first device is also reduced.
  • the second device decodes the sorted Z data streams to obtain at least one first data block and at least one second data block
  • the at least one first data block and at least one second data block The blocks collectively include first information obtained from the at least one first data block and the at least one second data block.
  • the second device first performs alignment word locking and de-skew processing on the Z data streams from the second PMA layer to align the Z data streams; the aligned Z data streams Stream channel sorting processing, performing deinterleaving processing on the sorted Z data streams to obtain at least one first codeword and at least one second codeword, and performing FEC on the at least one first codeword and the at least one second codeword Decoding obtains at least one first data block and at least one second data block.
  • the at least one first data block and the at least one second data block acquire the first information.
  • the second device After acquiring the first information, the second device performs FEC decoding on the at least one first data block and the at least one second data block and then interleaves, so as to obtain a data stream, and the data stream includes the AM group.
  • the second device removes the AM set from the data stream, performs descrambling processing on the data stream from which the AM set has been removed, performs reverse coding processing on the descrambled data stream, and performs reverse coding processing on the data stream from which the AM set has been removed. Decoding and rate matching processing to recover the target data stream, and input the target data stream to the second coordination sub-layer.
  • the second device when the second device obtains one data stream based on the at least one first data block and at least one second data block, the one data stream includes the AM group, and the one data stream is obtained from the one data stream from the one data stream.
  • AM group obtains the first information
  • the second device first performs alignment word locking and de-skew processing on the Z data streams from the second PMA layer to align the Z data streams; the aligned Z data streams Stream channel sorting processing, performing deinterleaving processing on the sorted Z data streams to obtain at least one first codeword and at least one second codeword, and performing FEC on the at least one first data block and the at least one second data block After the interleaving process, one data stream is obtained.
  • the second device obtains the first information from the AM group in the one data stream before obtaining the one data stream and before removing the AM group from the one data stream. After acquiring the first information, the second device removes the AM group from the one data stream. Perform descrambling processing on the data stream from which the AM group has been removed, perform reverse code processing on the descrambled data stream, and perform decoding and rate matching processing on the reverse code processed data stream to recover the target data stream. , input the target data stream to the second coordination sub-layer.
  • the first information is obtained from the AM group.
  • the first device may perform FEC encoding on the first information, so as to improve the security of transmitting the first information.
  • the second device since the second device does not use the padding information included in the padding part of each AM in the AM group, for the second device, the padding information is useless information, and the padding part of each AM wasted. Therefore, for the AM group included in the data stream received by the second device, the padding part using at least one AM in the AM group includes the first information. In this way, the second device receives the data stream and can obtain the first information from the AM group, thereby realizing a brand-new information sending method. Because the filling part of the AM is used to send the first information, it will not have any impact on the useful part of the data stream, and the out-of-band bandwidth resources are fully used to send the first information.
  • AM is distributed in the data stream at equal intervals, that is, the first device periodically sends the AM in the data stream, and the time of sending the AM is stable, so that the AM can be sent through the filling part of the AM.
  • Time stability and reliability require high information.
  • an embodiment of the present application provides a communication apparatus 800.
  • the communication apparatus 800 may be deployed on the first device provided in any of the foregoing embodiments, for example, deployed in the network architecture 100 shown in FIG. 1 or FIG. 2 .
  • a processing unit 801 configured to acquire a data stream, the data stream includes an alignment word marking AM group, the AM group includes a plurality of AMs, the plurality of AMs include a first AM, and the first AM includes a first bounding portion and a first padding part, the first filling part includes part or all of the first information, the first information is used to indicate the specified function, and the first bounding part is used to determine the position of the first AM in the data stream;
  • the sending unit 802 is configured to send the data stream.
  • the acquired data stream includes a plurality of data streams, each data stream corresponds to one or more AMs in the AM group, and each data stream includes one or more AMs corresponding to each data stream respectively.
  • the first information is associated with the first data stream
  • the multiple data streams include the first data stream
  • the AM in the first data stream includes the first information
  • the first AM is an AM in the first data stream.
  • AM in the M data streams includes the first information
  • the first AM is one AM in the M data streams
  • M is an integer greater than 0.
  • the filling part of each AM in the M data streams includes m fields, where m is an integer greater than 0, and the first information includes at least one sub-information;
  • the m first fields include m first sub-information
  • the m second fields include m second sub-information
  • the m first fields are fields included in the j-th AM in the i-th data stream
  • the number of AMs in the stream, m first sub-information and m second sub-information are consecutive 2m sub-information included in the first information.
  • the m first fields include m first sub-information
  • the m second fields include the detailed content of m second sub-information.
  • the M fields include consecutive M pieces of sub-information
  • the first information includes the M pieces of sub-information.
  • the M fields include the detailed content of consecutive M pieces of sub-information, and reference may be made to the relevant content in step 601 of the method 600 shown in FIG. 6 , which will not be described in detail here.
  • the m fields of the padding part of each AM include unique padding UP and/or padding Pad.
  • processing unit 801 is configured to:
  • the AM group is acquired, where the AM group includes the first AM, the first padding part of the first AM includes the first information or the part of the first information, and the AM group is inserted into the data stream.
  • processing unit 801 is configured to:
  • the inserted AM group When the AM group is inserted into the data stream, the inserted AM group includes the first AM, and the content carried by the first padding part of the first AM is replaced with the first information or part of the first information in the data stream.
  • the first AM further includes a first identification part, where the first identification part is used to indicate a data stream corresponding to the first AM.
  • the receiver of the data stream does not use the padding information included in the padding part of each AM, and for the receiver, the padding information is useless information. Therefore, when sending the data stream, the processing unit can replace the padding information included in the first padding part of the first AM in the AM group with the first information or part of the first information, even if the first padding part includes the first information or Part of the content of the first message. In this way, the receiver obtains the first information from the AM group when receiving the data stream, thereby realizing a brand-new information sending method.
  • the receiver Since the sending unit uses the filling part of AM to send the first information, the receiver performs the specified function based on the first information without any impact on the data stream, and fully uses out-of-band bandwidth resources to send the first information, reducing Waste of bandwidth resources. And because in the data stream, AM is distributed in the data stream at equal intervals, that is, the sending unit periodically sends the AM in the data stream, and the time of sending the AM is stable, so that the time stability can be transmitted through the filling part of the AM. and information requiring higher reliability.
  • an embodiment of the present application provides a communication apparatus 900.
  • the communication apparatus 900 may be deployed on the second device provided in any of the foregoing embodiments, for example, deployed in the network architecture 100 shown in FIG. 1 or FIG. 2 .
  • the second device 102, or deployed on the second device in the method 700 shown in FIG. 12, includes:
  • a receiving unit 901 configured to receive a data stream, where the data stream includes an alignment word marking AM group, the AM group includes a plurality of AMs, the plurality of AMs include a first AM, and the first AM includes a first bounding part and a first filling part , the first filling part includes part or all of the first information, the first information is used to indicate the specified function, and the first bounding part is used to determine the position of the first AM in the data stream;
  • the processing unit 902 is configured to obtain the first information from the AM group.
  • the received data stream includes a plurality of data streams, each data stream corresponds to one or more AMs in the AM group, and each data stream includes one or more AMs corresponding to each data stream respectively.
  • the first information is associated with the first data stream
  • the multiple data streams include the first data stream
  • the AM in the first data stream includes the first information
  • the first AM is one AM in the first data stream.
  • AM in the M data streams includes the first information
  • the first AM is one AM in the M data streams
  • M is an integer greater than 0.
  • the filling part of each AM in the M data streams includes m fields, where m is an integer greater than 0, and the first information includes at least one sub-information; the m first fields include m first sub-information. information, m second fields include m second sub-information, m first fields are fields included in the jth AM in the ith data stream, and m second fields are in the i+1th data stream.
  • the information and the m pieces of second sub-information are consecutive 2m pieces of sub-information included in the first information.
  • the m first fields include m first sub-information
  • the m second fields include the detailed content of m second sub-information.
  • the M fields include consecutive M pieces of sub-information
  • the first information includes M pieces of sub-information.
  • the M fields include the detailed content of consecutive M pieces of sub-information, and reference may be made to the relevant content in step 601 of the method 600 shown in FIG. 6 , which will not be described in detail here.
  • the m fields of the padding part of each AM include unique padding UP and/or padding Pad.
  • the received data streams include multiple, and the processing unit 902 is configured to:
  • the first information is obtained from the AM groups in the sorted multiple data streams.
  • processing unit 902 is configured to:
  • the at least one first data block and the at least one second data block together include first information, from the at least one first data block and the at least one second data block together.
  • the data block and at least one second data block acquire the first information.
  • step 702 of the processing unit 902 acquiring the first information from at least one first data block and at least one second data block, reference may be made to the relevant content in step 702 of the method 700 shown in FIG. 12 , which is not repeated here. Detailed description.
  • processing unit 902 is configured to:
  • the first information is obtained from the AM group in the one data stream.
  • the first AM further includes a first identification part, where the first identification part is used to indicate a data stream where the first AM is located.
  • the receiver of the data stream does not use the padding information included in the padding part of each AM, and for the receiver, the padding information is useless information. Therefore, in the data stream, the padding information included in the first padding part of the first AM in the AM group can be replaced with the first information or part of the first information, even if the first padding part includes the first information or the first information part of the content. In this way, when the data stream is received, the first information is obtained from the AM group, thereby realizing a brand-new information sending method.
  • the filling part using AM includes the first information
  • the specified function is performed based on the first information without any impact on the data stream, and the out-of-band bandwidth resources are fully used to send the first information , reduce the waste of bandwidth resources.
  • AM is distributed in the data stream at equal intervals, that is, the sender periodically sends the AM in the data stream, and the time of sending the AM is stable, so that the time stability can be transmitted through the filling part of the AM. and information requiring higher reliability.
  • an embodiment of the present application provides a schematic diagram of a communication device 1000 .
  • the communication device 1000 may be the first device provided in any of the foregoing embodiments, for example, may be the first device 101 in the network architecture 100 shown in FIG. 1 or FIG. 2 , or the first device in the method 600 shown in FIG. 6 .
  • the communication device 1000 includes at least one processor 1001 , an internal connection 1002 and at least one network interface 1003 .
  • the communication device 1000 is a device with a hardware structure.
  • the processing unit 801 in the apparatus 800 shown in FIG. 16 can be implemented by calling computer program codes through the at least one processor 1001, and the sending unit 802 in the apparatus 800 shown in FIG. At least one network interface 1003 is implemented.
  • the communication device 1000 may also be used to implement the function of the first device in any of the foregoing embodiments.
  • the above-mentioned processor 1001 is, for example, a general-purpose central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), a network processor (Network Processor, NP), a graphics processor (Graphics Processing Unit, GPU) , a neural network processor (Neural-network Processing Units, NPU), a data processing unit (Data Processing Unit, DPU), a microprocessor or one or more integrated circuits for implementing the solution of the present application.
  • the processor 701 includes an application-specific integrated circuit (ASIC), a programmable logic device (Programmable Logic Device, PLD) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable Logic Device
  • the PLD is, for example, a Complex Programmable Logic Device (CPLD), a Field-Programmable Gate Array (FPGA), a Generic Array Logic (GAL) or any combination thereof. It can implement or execute various logical blocks, modules and circuits described in connection with the disclosure of the embodiments of the present application.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the internal connection 1002 described above may include a path to transfer information between the aforementioned components.
  • the internal connection 1002 can be a single board or a bus or the like.
  • the bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is shown in FIG. 18, but it does not mean that there is only one bus or one type of bus.
  • the above-mentioned at least one network interface 1003 uses any device such as a transceiver for communicating with other devices or a communication network, and the communication network can be an Ethernet, a wireless access network, or a wireless local area network (Wireless Local Area Networks, WLAN) and the like.
  • the network interface 1003 may include a wired communication interface, and may also include a wireless communication interface.
  • the network interface 1003 may be an Ethernet interface, a Fast Ethernet (FE) interface, a Gigabit Ethernet (GE) interface, an Asynchronous Transfer Mode (ATM) interface, a wireless local area network (WLAN) interface, a cellular interface A network communication interface or a combination thereof.
  • the Ethernet interface can be an optical interface, an electrical interface or a combination thereof.
  • the network interface 1003 may be used for the communication device 1000 to communicate with other devices.
  • the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 18 . Each of these CPUs can be a single-core processor or a multi-core processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the communication device 1000 may include multiple processors, for example, the processor 1001 and the processor 1007 in FIG. 18 .
  • processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the communication device 1000 may further include an output device and an input device.
  • the output device communicates with the processor 1001 and can display information in a variety of ways.
  • the output device may be a liquid crystal display (Liquid Crystal Display, LCD), a light emitting diode (Light Emitting Diode, LED) display device, a cathode ray tube (Cathode Ray Tube, CRT) display device, or a projector, and the like.
  • the input device communicates with the processor 1001 and can receive user input in a variety of ways.
  • the input device may be a mouse, a keyboard, a touch screen device, or a sensor device, or the like.
  • the communication device 1000 in this embodiment of the present application may correspond to the above-mentioned multiple embodiments, for example, the first device in the multiple embodiments corresponding to FIG. 1 and FIG. 6 , in the communication device 1000
  • the processor 1001 of the processor 1001 invokes the computer program code, so that the communication device 1000 shown in FIG. 18 can perform all or part of the operations of the first device in the above-mentioned multiple embodiments.
  • an embodiment of the present application provides a schematic diagram of a communication device 1100 .
  • the communication device 1100 may be the second device provided in any of the foregoing embodiments, for example, may be the second device 102 in the network architecture 100 shown in FIG. 1 or FIG. 2 , or the second device in the method 700 shown in FIG. 12 .
  • the communication device 1100 includes at least one processor 1101 , internal connections 1102 , and at least one network interface 1103 .
  • the communication device 1100 is a device with a hardware structure.
  • the processing unit 902 in the apparatus 900 shown in FIG. 17 can be implemented by calling computer program codes through the at least one processor 1101, and the receiving unit 901 in the apparatus 900 shown in FIG. At least one network interface 1103 is implemented.
  • the communication device 1100 may also be used to implement the functions of the second device in any of the foregoing embodiments.
  • the above-mentioned processor 1101 is, for example, a general-purpose central processing unit (Central Processing Unit, CPU), a digital signal processor (Digital Signal Processor, DSP), a network processor (Network Processor, NP), a graphics processor (Graphics Processing Unit, GPU) , a neural network processor (Neural-network Processing Units, NPU), a data processing unit (Data Processing Unit, DPU), a microprocessor or one or more integrated circuits for implementing the solution of the present application.
  • the processor 701 includes an application-specific integrated circuit (ASIC), a programmable logic device (Programmable Logic Device, PLD) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable Logic Device
  • the PLD is, for example, a Complex Programmable Logic Device (CPLD), a Field-Programmable Gate Array (FPGA), a Generic Array Logic (GAL) or any combination thereof. It can implement or execute various logical blocks, modules and circuits described in connection with the disclosure of the embodiments of the present application.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the aforementioned internal connection 1102 may include a path for transferring information between the aforementioned components.
  • the internal connection 1102 can be a single board or a bus or the like.
  • the bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is shown in FIG. 19, but it does not mean that there is only one bus or one type of bus.
  • the above-mentioned at least one network interface 1103 uses any device such as a transceiver for communicating with other devices or a communication network, and the communication network can be an Ethernet, a wireless access network, or a wireless local area network (Wireless Local Area Networks, WLAN) and the like.
  • the network interface 1103 may include a wired communication interface, and may also include a wireless communication interface.
  • the network interface 1103 may be an Ethernet interface, a Fast Ethernet (FE) interface, a Gigabit Ethernet (GE) interface, an Asynchronous Transfer Mode (ATM) interface, a wireless local area network (WLAN) interface, a cellular interface A network communication interface or a combination thereof.
  • the Ethernet interface can be an optical interface, an electrical interface or a combination thereof.
  • the network interface 1103 may be used for the communication device 1100 to communicate with other devices.
  • the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 19 . Each of these CPUs can be a single-core processor or a multi-core processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the communication device 1100 may include multiple processors, for example, the processor 1101 and the processor 1107 in FIG. 19 .
  • Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the communication device 1100 may further include an output device and an input device.
  • the output device communicates with the processor 1101 and can display information in a variety of ways.
  • the output device may be a liquid crystal display (Liquid Crystal Display, LCD), a light emitting diode (Light Emitting Diode, LED) display device, a cathode ray tube (Cathode Ray Tube, CRT) display device, or a projector, and the like.
  • the input device communicates with the processor 1101 and can receive user input in a variety of ways.
  • the input device may be a mouse, a keyboard, a touch screen device, or a sensor device, or the like.
  • the device 1100 in the embodiment of the present application may correspond to the above-mentioned multiple embodiments, for example, the second device in the multiple embodiments corresponding to FIG. 1 and FIG. 6 , the communication device 1100
  • the processor 1101 invokes the computer program code to enable the communication device 1100 shown in FIG. 19 to perform all or part of the operations of the second device in the above-described embodiments.
  • the communication device of FIGS. 18 and 19 may be a routing device, a switching device or a server.
  • routing devices, switching devices or servers mentioned in this application may also be logical function modules or virtual function modules.
  • an embodiment of the present application provides a communication system 1200, including the communication apparatus 800 described in FIG. 16 and the communication apparatus 900 described in FIG. A communication device 1100 as described in FIG. 19 .
  • the communication apparatus 800 described in FIG. 16 and the communication device 1000 described in FIG. 18 may be the first device 1201, and the communication apparatus 900 described in FIG. 17 and the communication device 1100 described in FIG. 19 may be the first device 1201. Second device 1202.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Power Engineering (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请公开一种通信方法、装置、系统、存储介质及计算机程序产品,属于通信领域。所述方法包括:获取数据流,所述数据流包括对齐字标示AM组,所述AM组包括多个AM,所述多个AM包括第一AM,所述第一AM包括第一定界部分和第一填充部分,所述第一填充部分包括第一信息的部分或全部,所述第一信息用于指示指定功能,所述第一定界部分用于确定所述第一AM在所述数据流中的位置;发送所述数据流。本申请能够提供一种全新的信息发送方法。

Description

通信方法、装置、系统、存储介质及计算机程序产品
本申请要求于2021年1月25日提交的申请号为202110099756.6、发明名称为“数据处理方法、设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。以及,本申请要求于2021年2月10日提交的申请号为202110185523.8、发明名称为“通信方法、装置、系统、存储介质及计算机程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,特别涉及一种通信方法、装置、系统、存储介质及计算机程序产品。
背景技术
目前高速以太网接口的速率远远快于单个通道的速率。为了与高速以太网接口的速率相匹配,采用多个通道并行传输高速以太网接口发送的数据流。
例如,假设高速以太网接口的速率为400G/s,而单个通道的速率为25G/s,这样就需要16个通道来并行传输高速以太网接口发送的数据流,也就是说,高速以太接口将该数据流分成16个子数据流,发送该16个子数据流。
在实现本申请的过程中,发明人发现现有技术至少存在以下问题:
上述并行发送数据流的方案还存在诸多缺点,例如上述方案不适合发送对时间稳定性和可靠性要求较高的信息,因此需要一种全新的信息发送方法。
发明内容
本申请提供了一种通信方法、装置、系统、存储介质及计算机程序产品,以提供一种全新的信息发送方法。所述技术方案如下:
第一方面,本申请提供了一种通信方法,在所述方法中,获取数据流,该数据流包括对齐字标示AM组,该AM组包括多个AM,该多个AM包括第一AM,第一AM包括第一定界部分和第一填充部分,第一填充部分包括第一信息的部分或全部,第一信息用于指示指定功能,第一定界部分用于确定第一AM在该数据流中的位置,发送该数据流。
对于AM组中的每个AM,数据流的接收方不会使用每个AM的填充部分包括的填充信息,对于接收方,该填充信息是无用信息。因此在发送数据流时,可以将AM组中的第一AM的第一填充部分包括的填充信息替换为第一信息或第一信息的部分内容,即使第一填充部分包括第一信息或第一信息的部分内容。这样接收方在接收到数据流时,从AM组中获取第一信息,从而实现了一种全新的信息发送方式。由于使用AM的填充部分来发送第一信息,接收方基于第一信息执行指定功能,且不会对该数据流产生任何影响,充分使用了带外的带宽资源来发送第一信息,减少带宽资源的浪费。又由于在该数据流中,AM是等间隔地分布在数据流中,即周期性发送该数据流中的AM,发送AM的时间稳定,这样可以通过AM的填 充部分发送对时间稳定性和可靠性要求较高的信息。
在一种可能的实现方式中,获取的数据流包括多个,每个数据流与AM组中的一个或多个AM相对应,每个数据流分别包括每个数据流对应的一个或多个AM。其中,该数据流对应的一个或多个AM等间隔地分布在该数据流中,所以使用AM组中的AM来包括第一信息,可以发送对时间稳定性和可靠性要求较高的信息。
在另一种可能的实现方式中,第一信息与第一数据流关联,该多个数据流包括第一数据流,第一数据流中的AM包括第一信息,第一AM是第一数据流中的一个AM。由于第一信息与第一数据流关联,第一信息被携带在位于第一数据流的AM中,这样接收方从第一数据流的AM中获取到第一信息,就可以知道第一信息与第一数据流关联,方便接收方识别并解析第一信息。
在另一种可能的实现方式中,该多个数据流中存在M个数据流,该M个数据流中的AM包括第一信息,第一AM是该M个数据流中的一个AM,M为大于0的整数。这样可以使用多个AM的填充部分来包括第一信息,可以用于传输数据量较大的第一信息,充分使用了该多个AM的填充部分的带宽资源。
在另一种可能的实现方式中,该M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,第一信息包括至少一个子信息。m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,该m个第一字段是第i个数据流中的第j个AM包括的字段,该m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,该m个第一子信息和m个第二子信息是第一信息包括的连续2m个子信息。
也就是说,按指定顺序使用每个数据流中的AM包括第一信息,该指定顺序为:对每个数据流中的第j个AM,使用第一个数据流中的第j个AM包括第一信息的连续m个子信息,使用第二个数据流中的第j个AM包括第一信息的连续m个子信息,……,使用第M个数据流中的第j个AM包括第一信息的连续m个子信息。即按照指定顺序包括第一信息,这样便于接收方从不同的AM中获取第一信息的不同部分内容,并将不同部分内容组合成第一信息。
在另一种可能的实现方式中,M个字段包括连续的M个子信息,该M个字段包括M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,第一信息包括该M个子信息。也就是说,按指定顺序使用每个数据流中的AM包括第一信息,该指定顺序为:对M个数据流中的第j个AM,即有M个第j个AM,使用M个第j个AM中的第1个字段包括第一信息的连续M个子信息,使用M个第j个AM中的第2个字段包括第一信息的连续M个子信息,……,使用M个第j个AM中的第m个字段包括第一信息的连续M个子信息。即按照指定顺序包括第一信息,这样便于接收方从不同的AM中获取第一信息的不同部分内容,并将不同部分内容组合成第一信息。
在另一种可能的实现方式中,该每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。由于UP和Pad包括的填充信息不会被接收方使用,所以将UP和/或Pad包括的填充信息替换为第一信息,使得UP和/或Pad包括用于指示指定功能的第一信息,从而充分使用资源来传输对接收方有用的信息。
在另一种可能的实现方式中,获取AM组,该AM组包括第一AM,第一AM的第一填充部分包括第一信息或第一信息的部分,将该AM组插入到第二数据流中以获得该数据流。如此可以保证AM组包括第一信息。
在另一种可能的实现方式中,在将AM组插入到数据流时,插入的AM组包括第一AM,在该数据流中将第一AM的第一填充部分携带的内容替换为第一信息或第一信息的部分。如此可以保证AM组包括第一信息。
在另一种可能的实现方式中,第一AM还包括第一识别部分,第一识别部分用于指示第一AM对应的数据流。这样通过第一识别部分识别出不同的数据流。
第二方面,本申请提供了一种通信方法,在所述方法中,接收数据流,该数据流包括对齐字标示AM组,AM组包括多个AM,该多个AM包括第一AM,第一AM包括第一定界部分和第一填充部分,第一填充部分包括第一信息的部分或全部,第一信息用于指示指定功能,第一定界部分用于确定第一AM在该数据流中的位置;从AM组中获取第一信息。
对于AM组中的每个AM,数据流的接收方不会使用每个AM的填充部分包括的填充信息,对于接收方,该填充信息是无用信息。因此在该数据流中可以将AM组中的第一AM的第一填充部分包括的填充信息替换为第一信息或第一信息的部分内容,即使第一填充部分包括第一信息或第一信息的部分内容。这样在接收到数据流时,从AM组中获取第一信息,从而实现了一种全新的信息发送方式。由于使用AM的填充部分包括第一信息,在接收到数据流后,基于第一信息执行指定功能,且不会对该数据流产生任何影响,充分使用了带外的带宽资源来发送第一信息,减少带宽资源的浪费。又由于在该数据流中,AM是等间隔地分布在数据流中,即发送方周期性发送该数据流中的AM,发送AM的时间稳定,这样可以通过AM的填充部分发送对时间稳定性和可靠性要求较高的信息。
在一种可能的实现方式中,接收的数据流包括多个,每个数据流与AM组中的一个或多个AM相对应,每个数据流分别包括每个数据流对应的一个或多个AM。其中,该数据流对应的一个或多个AM等间隔地分布在该数据流中,所以使用AM组中的AM来包括第一信息,可以发送对时间稳定性和可靠性要求较高的信息。
在另一种可能的实现方式中,第一信息与第一数据流关联,该多个数据流包括第一数据流,第一数据流中的AM包括第一信息,第一AM是第一数据流中的一个AM。由于第一信息与第一数据流关联,第一信息被携带在位于第一数据流的AM中,这样从第一数据流的AM中获取到第一信息,就可以知道第一信息是与第一数据流关联,方便识别并解析第一信息。
在另一种可能的实现方式中,该多个数据流中存在M个数据流,该M个数据流中的AM包括第一信息,第一AM是该M个数据流中的一个AM,M为大于0的整数。这样可以使用多个AM的填充部分来包括第一信息,可以用于传输数据量较大的第一信息,充分使用了该多个AM的填充部分的带宽资源。
在另一种可能的实现方式中,该M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,第一信息包括至少一个子信息。m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,该m个第一字段是第i个数据流中的第j个AM包括的字段,该m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,该m个第一子信息和m个第二子信息是第一信息包括的连续2m个子信息。
也就是说,按指定顺序使用每个数据流中的AM包括第一信息,该指定顺序为:对每个数据流中的第j个AM,使用第一个数据流中的第j个AM包括第一信息的连续m个子信息,使用第二个数据流中的第j个AM包括第一信息的连续m个子信息,……,使用第M个数据流中的第j个AM包括第一信息的连续m个子信息。即按照指定顺序包括第一信息,这样便于接收方从不同的AM中获取第一信息的不同部分内容,并将不同部分内容组合成第一信息。
在另一种可能的实现方式中,M个字段包括连续的M个子信息,该M个字段包括M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,第一信息包括该M个子信息。也就是说,按指定顺序使用每个数据流中的AM包括第一信息,该指定顺序为:对M个数据流中的第j个AM,即有M个第j个AM,使用M个第j个AM中的第1个字段包括第一信息的连续M个子信息,使用M个第j个AM中的第2个字段包括第一信息的连续M个子信息,……,使用M个第j个AM中的第m个字段包括第一信息的连续M个子信息。即按照指定顺序包括第一信息,这样便于接收方从不同的AM中获取第一信息的不同部分内容,并将不同部分内容组合成第一信息。
在另一种可能的实现方式中,该每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。由于UP和Pad包括的填充信息不会被接收方使用,所以将UP和/或Pad包括的填充信息替换为第一信息,即使用UP和/或Pad包括用于指示指定功能的第一信息,从而充分使用资源来传输对接收方有用的信息。
在另一种可能的实现方式中,在对多个数据流进行排序后,从排序的多个数据流中的AM组获取第一信息。由于在排序后的数据流中的AM组中获取第一信息,也就是说在解码之前就可以获取第一信息,这样发送方在发送第一信息时,可以不用对第一信息进行FEC编码,可以减小使用发送方的计算资源。
在另一种可能的实现方式中,在对排序的多个数据流进行解码得到至少一个第一数据块和至少一个第二数据块时,该至少一个第一数据块和至少一个第二数据块共同包括第一信息, 从至少一个第一数据块和至少一个第二数据块获取第一信息。由于在解码后的数据块中获取第一信息,也就是说在解码之后可以获取第一信息,这样发送方在发送第一信息时,可以对第一信息进行FEC编码,从而可以传输安全性要求较高的第一信息。
在另一种可能的实现方式中,在对至少一个第一数据块和至少一个第二数据块进行后交织得到一路数据流时,从该一路数据流中的AM组获取第一信息。由于从后交织的一路数据流中的AM组获取第一信息,也就是说在解码之后可以获取第一信息,这样发送方在发送第一信息时,可以对第一信息进行FEC编码,从而可以传输安全性要求较高的第一信息。
在另一种可能的实现方式中,第一AM还包括第一识别部分,第一识别部分用于指示第一AM所在的数据流。这样通过第一识别部分识别出不同的数据流。
第三方面,本申请提供了一种通信装置,用于执行第一方面或第一方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第一方面或第一方面的任意一种可能的实现方式中的方法的单元。
第四方面,本申请提供了一种通信装置,用于执行第二方面或第二方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第二方面或第二方面的任意一种可能的实现方式中的方法的单元。
第五方面,本申请提供了一种通信设备,所述设备包括处理器及计算机程序,所述处理器用于执行所述计算机程序,使得所述设备完成第一方面或第一方面的任意可能的实现方式中的方法。
第六方面,本申请提供了一种通信设备,所述设备包括处理器及计算机程序,所述处理器用于执行所述计算机程序,使得所述设备完成第二方面或第二方面的任意可能的实现方式中的方法。
第七方面,本申请提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,并且所述计算程序通过计算机进行加载来实现上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。
第八方面,本申请提供了一种计算机可读存储介质,用于存储计算机程序,所述计算机程序通过处理器进行加载来执行上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。
第九方面,本申请提供了一种芯片,包括处理器,处理器用于运行计算机指令,以执行上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。该计算机指令可以位于处理器内的存储器中或外部的存储器中。
第十方面,本申请提供了一种通信系统,包括上述第三方面所述的装置和/或第四方面所述的装置,或者,包括上述第五方面所述的装置和/或第六方面所述的装置。
附图说明
图1是本申请实施例提供的一种网络架构示意图;
图2是本申请实施例提供的一种第一设备和第二设备的结构示意图;
图3是本申请实施例提供的一种对齐字标示(alignment marker,AM)集合示意图;
图4是本申请实施例提供的一种包括8个AM的AM集合示意图;
图5是本申请实施例提供的一种包括16个AM的AM集合示意图;
图6是本申请实施例提供的一种通信方法流程图;
图7是本申请实施例提供的一种将填充部分的内容替换为第一信息的示意图;
图8是本申请实施例提供的另一种将填充部分的内容替换为第一信息的示意图;
图9是本申请实施例提供的一种至少一个AM包括第一信息的示意图;
图10是本申请实施例提供的另一种至少一个AM包括第一信息的示意图;
图11是本申请实施例提供的另一种至少一个AM包括第一信息的示意图;
图12是本申请实施例提供的另一种通信方法流程图;
图13是本申请实施例提供的一种获取第一信息的示意图;
图14是本申请实施例提供的另一种获取第一信息的示意图;
图15是本申请实施例提供的另一种获取第一信息的示意图;
图16是本申请实施例提供的一种通信装置结构示意图;
图17是本申请实施例提供的另一种通信装置结构示意图;
图18是本申请实施例提供的一种通信设备结构示意图;
图19是本申请实施例提供的另一种通信设备结构示意图;
图20是本申请实施例提供的一种通信系统结构示意图。
具体实施方式
下面将结合附图对本申请实施方式作进一步地详细描述。
参见图1,本申请实施例提供了一种网络架构100,包括:
第一设备101和第二设备102,第一设备101与第二设备102通信。具体地,第一设备101与第二设备102通过各自的以太网接口通信。
可选的,第一设备101和第二设备102之间有X个物理通道,X为大于0的整数,以实现第一设备101和第二设备102通信。当然,还有其他实现第一设备101与第二设备102通信的方式,在此不再一一列举。所述X个物理通道可能位于第一设备101的一个或多个以太网接口及第二设备102的一个或多个以太网接口之间。
参见图2,对于第一设备101和第二设备102中的任一设备,该设备包括协调子层(reconciliation sublayer)和以太网物理层,以太网物理层包括物理编码子层(physical coding sublayer,PCS)、物理介质接入(physical medium attachment,PMA)层和物理介质关联(physical  media dependent,PMD)层。其中,PCS定义了Z个PCS通道,该Z个PCS通道与Z个对齐字标示(alignment marker,AM)一一对应,该Z个PCS通道是虚拟通道。Z为大于0的整数,且Z是X的整数倍,如Z=2*X或4*X等。
例如,参见图2,第一设备101包括第一协调子层和以太网物理层,第一设备101的以太网物理层包括第一PCS、第一PMA层和第一PMD层。第二设备102包括第二协调子层和以太网物理层,第二设备102的以太网物理层包括第二PCS、第二PMA和第二PMD层。第一PCS定义了Z个PCS通道,第二PCS也定义了Z个PCS通道,且在第一PCS中该Z个PCS通道的排序与在第二PCS中该Z个PCS通道的排序相同。
第一设备101可以向第二设备102发送数据流,发送数据流的过程可以为:
对于第一协调子层需要发送的目标数据流,在第一PCS中,第一设备101向目标数据流插入AM集合,AM集合包括该Z个AM。将插入AM集合的数据流分成Z个数据流,该Z个数据流与该Z个AM一一对应,每个数据流分别包括每个数据流对应的AM,每个数据流分别与每个数据流中的AM对应的PCS通道相对应,以使得该Z个数据流与该Z个PCS通道也一一对应。向第一PMA层并行输入该Z个数据流,且每个数据流的排序与每个数据流对应的PCS通道的排序相对应。在第一PMA层中,将该Z个数据流合并为X个数据流,向第一PMD层输入该X个数据流。在第一PMD层中,通过该X个物理通道向第二设备102发送该X个数据流。其中,在第一PMA层中除了对该Z个数据流执行上述合并操作外,还可能执行其他操作,对于其他操作在此不再一一说明。
在第二PMD层中,第二设备102从该X个物理通道上接收该X个数据流,向第二PMA层输入该X个数据流。在第二PMA层中,基于该X个数据流恢复出Z个数据流,向第二PCS输入该Z个数据流。在第二PCS中,确定该Z个数据流中的每个数据流包括的AM,基于每个数据流包括的AM对该Z个数据流进行对齐,以及基于每个数据流包括的AM确定每个数据流对应的PCS通道。基于每个数据流对应的PCS通道,对对齐后的该Z个数据流进行排序,且每个数据流的排序与每个数据流对应的PCS通道的排序相同。将排序后的Z个数据流合并为一个数据流,去除合并的数据流中的AM集合,基于去除AM集合的数据流恢复目标数据流,向第二协调子层输入目标数据流。
参见图3,对于上述Z个数据流中的每个数据流,在该数据流中等间隔地分布有一个或多个AM,该数据流中的每个AM分别属于不同的AM集合。对于该数据流中的每个AM,该AM包括定界部分、识别部分和填充部分,该定界部分用于在该数据流中确定该AM的位置,该识别部分用于指示该AM对应的PCS通道,该填充部分用于携带填充信息。
例如,如图3所示,对于数据流1,数据流1中等间隔地分布AM11、AM12和AM13,AM11、AM12和AM13分别属于AM集合1、AM集合2和AM集合3。数据流2中等间隔地分布AM12、AM22和AM32,AM12、AM22和AM32分别属于AM集合1、AM集合2和AM集合3。……,数据流Z中等间隔地分布AM1Z、AM2Z和AM3Z,AM1Z、AM2Z和AM3Z分别属于AM集合1、AM集合2和AM集合3。
这样对于第二设备102以及该Z个数据流中的每个数据流,在第二PCS中,第二设备102通过识别每个数据流中的AM包括的定界部分,确定出每个数据流中的AM的位置,以得到每个数据流中的AM。其中得到每个数据流中的AM的时间跨度较短,而在每个数据流中相邻两个AM之间间隔大量其他数据,所以在该时间跨度内得到的每个AM属于同一AM集合, 再基于每个数据流中的AM包括的识别部分确定每个数据流对应的PCS通道。
可选的,对于AM集合中的每个AM,每个AM的定界部分包括相同的比特图案(bit pattern),该比特图案用于确定AM的位置,所以第二设备102可以基于每个AM的定界部分包括的比特图案,在该Z个数据流中确定出每个数据流中的AM。每个AM的识别部分包括的比特图案互不相同,每个AM的识别部分包括的比特图案分别与不同的PCS通道对应,所以第二设备102基于每个AM的识别部分包括的比特图案确定每个数据流对应的PCS通道。
参见图4所示的AM集合,该AM集合包括8个AM,即Z=8,该AM集合是200GbE的以太网接口对应的AM集合。或者,参见图5所示的AM集合,该AM集合包括16个AM,即Z=16,该AM集合是400GbE的以太网接口对应的AM集合。每个AM的定界部分包括六个字段,分别为普通标示(common marker,CM)0、CM1、CM2、CM3、CM4和CM5。参见图4和图5,每个AM的CM0包括的比特图案相同,每个AM的CM1包括的比特图案相同,每个AM的CM2包括的比特图案相同,每个AM的CM3包括的比特图案相同,每个AM的CM4包括的比特图案相同,以及每个AM的CM5包括的比特图案相同。从而,使得每个AM的定界部分相同。
每个AM的识别部分包括六个字段,分别为独特标示(unique marker,UM)0、UM1、UM2、UM3、UM4和UM5,参见图4和图5,每个AM的UM0包括的比特图案互不相同,每个AM的UM1包括的比特图案互不相同,每个AM的UM2包括的比特图案互不相同,每个AM的UM3包括的比特图案互不相同,每个AM的UM4包括的比特图案互不相同,以及每个AM的UM5包括的比特图案互不相同。从而,使得每个AM的识别部分互不相同。
对于每个AM,该AM的填充部分包括三个填充字段,分别为独特填充(unique pad,UP)0、UP1和UP2,该AM的填充部分可能还包括填充(Pad),也可能不包括Pad。例如,参见图4所示的8个AM,第1至第7个AM均包括Pad,而第8个AM不包括Pad。以及参见图5所示的16个AM,第1至第14个AM均包括Pad,而第15至第16个AM不包括Pad。
可选的,对于上述每个AM集合,该AM集合的大小是指定大小的整数倍。例如,指定大小可以为257比特,即该AM集合的大小是257比特的整数倍,例如可以是8*257比特或16*257比特等。
其中,第一设备101在第一PCS中对目标数据流执行不同的处理操作,得到Z个数据流,这些处理操作为:
参见图2,对于来自第一协调子层的目标数据流,第一设备101对目标数据流进行编码处理和进行速率匹配处理,对处理的数据流进行转码,对转码的数据流进行扰码处理,向扰码处理的数据流插入AM集合,对插入AM集合的数据流进行预分配处理,得到第一数据块和第二数据块,对第一数据块和第二数据块分别进行FEC编码,得到第一码字和第二码字,对第一码字和第二码字进行分配与交织,形成Z个数据流。
第二设备102在第二PCS中对Z个数据流执行不同的处理操作,得到目标数据流,这些处理操作为:
参见图2,对于来自第二PMA层的Z个数据流,第二设备102对该Z个数据流进行对齐字锁定(alignment lock)与去偏斜(deskew)处理。其中,对齐字锁定与去偏斜处理的过程可以为:第二设备102识别每个数据流中的AM包括的定界部分,从而得到每个数据流中的AM,基于每个数据流包括的AM对该Z个数据流进行对齐处理。在不包括多条PCS通道的 场景中,即在Z=1的场景,不需要deskew操作,第二设备102识别每个数据流中的AM包括的定界部分,从而得到每个数据流中的AM。
第二设备102对对齐后的该Z个数据进行通道排序处理。其中,通道排序处理的过程可以为:第二设备102基于每个数据流中的AM包括的识别部分确定每个数据流对应的PCS通道,基于每个数据流对应的PCS通道对该Z个数据流进行排序。对于排序后的该Z个数据流,该Z个数据流之间的排序与在第一PCS中该Z个数据流之间的排序相同。
第二设备102再对排序的Z个数据流进行解交织得到第一码字和第二码字,对第一码字和第二码字进行FEC解码,得到第一数据块和第二数据块。对第一数据块和第二数据块进行FEC解码后交织处理,得到一路数据流,该路数据流中包括AM集合;从该路数据流中去除该AM集合,对去除AM集合的数据流进行解扰码处理,对解扰码处理的数据流进行反转码处理,对反转码处理的数据流进行解码与速率匹配处理,以恢复出目标数据流。
在一些实施例中,在第二设备102对第一码字和第二码字进行FEC解码的过程中,第二设备102检查第一码字和第二码字中是否有出错的信息。在检查出出错的信息时,可以对该出错的信息进行纠错,或者,不对该出错的信息进行纠错。
从上述第二设备102在第二PCS中,对该Z个数据流的处理过程可以得出:第二设备102没有使用到每个AM的填充部分包括的填充信息,所以对于第二设备102来说,每个AM的填充部分包括的填充信息是无用信息,造成网络资源的浪费。为了充分使用网络资源,本申请提供了一种新的发送信息方法,该方法的详细实现参见如下任一实施例的实现。
参见图6,本申请实施例提供了一种通信方法600,所述方法600应用于图1或图2所示网络架构100,所述方法600的执行主体可为图1或图2所示网络架构100中的第一设备101。所述方法600包括:
步骤601:第一设备获取数据流,该数据流包括AM组,AM组包括多个AM,该多个AM包括第一AM,第一AM包括第一填充部分,第一填充部分包括第一信息的部分或全部,第一信息用于指示指定功能。
第一信息包括物理层加密算法的初始化向量,端口管理信息和时间同步信息等中的一个或多个,指定功能包括该初始化向量指示的物理层加密功能,该端口管理信息指示的端口管理功能和该时间同步信息指示的时间同步功能等中的一个或多个。
可选的,指定功能是第一信息的接收方需要执行的功能。对于第一信息的接收方来说,接收方需要使用第一信息来实现一种或多种功能,即第一信息不是一个无用信息。
可选的,第一AM还包括第一定界部分和/或第一识别部分,第一定界部分用于确定第一AM在数据流中的位置,第一识别部分用于识别第一AM对应的第一数据流和/或第一AM对应的PCS通道。
第一填充部分包括m个字段,m为大于0的整数,该m个字段共同包括第一信息或第一信息中的部分内容。该m个字段可能是第一填充部分包括的全部字段或部分字段,该m个字段是第一设备和第二设备之间事先约定的字段。
例如,第一填充部分包括三个UP。该三个UP中的部分或全部UP包括第一信息或第一信息的部分内容。或者,第一填充部分还可能包括Pad,在第一填充部分包括Pad的情况,第一填充部分包括四个字段,该四个字段包括该三个UP和该Pad,该四个字段中的一个或多 个字段包括第一信息或第一信息的部分内容。
可选的,对于该AM组中的多个AM,该多个AM中存在至少一个AM,第一AM是该至少一个AM中的一个AM,该至少一个AM的填充部分包括第一信息。
在步骤601中,第一设备可以通过如下第一方式或第二方式获取数据流,该第一方式和第二方式分别为:
第一方式,第一设备获取AM组,该AM组中的至少一个AM的填充部分包括第一信息,将该AM组插入到数据流。
其中,在向数据流中插入AM组之前,该AM组中的该至少一个AM已包括第一信息,该数据流是第一设备在第一PCS中进行扰码处理后得到的数据流。
参见图2,在第一设备的第一PCS中,第一设备对来自第一协调子层的目标数据流进行编码处理与速率匹配处理,对处理的数据流进行转码,对转码的数据流进行扰码处理,向扰码处理的数据流插入包括第一信息的AM组,然后继续对插入AM组的数据流进行FEC预分配、FEC编码,以及,分配与交织处理,以得到Z个数据流。其中,Z为大于0的整数,即Z可能为1,也可能大于1。
第一设备获取AM组的操作可以为:第一设备生成AM组,该AM组中的至少一个AM的填充部分包括第一信息。或者,
第一设备生成AM组,该AM组中的该至少一个AM的填充部分携带填充信息,将该至少一个AM的填充部分携带的内容替换为第一信息,以使得该至少一个AM的填充部分包括第一信息。或者,
第一设备中保存有AM组,该AM组中的该至少一个AM的填充部分携带填充信息,第一设备从本地获取该AM组,将该至少一个AM的填充部分携带的内容替换为第一信息,以使得该至少一个AM的填充部分包括第一信息。
第二方式,第一设备在将AM组插入到数据流后,在该数据流中将该AM组中的该至一个AM的填充部分携带的内容替换为第一信息,以使得该至少一个AM的填充部分包括第一信息。
在实现时,对于该至少一个AM中的每个AM,例如以第一AM为例,第一设备在该数据流中将第一AM的第一填充部分携带的内容替换为第一信息或第一信息的部分内容。
参见图7,在第一设备的第一PCS中,第一设备对数据流进行扰码处理后,向扰码处理的数据流插入AM组,在该数据流中将该AM组中的该至少一个AM的填充部分携带的内容替换为第一信息。然后对替换后的数据流进行FEC预分配,FEC编码,以及,分配与交织处理,形成Z个数据流。
或者,参见图8,在第一设备的第一PCS中,第一设备对数据流进行扰码处理后,向扰码处理的数据流插入AM组,对插入AM组的数据流进行FEC预分配,FEC编码,以及,分配与交织处理,形成Z个数据流。在该Z个数据流中将该AM组中的该至少一个AM的填充部分携带的内容替换为第一信息。
从上述内容可以得出,可以在FEC编码前,使AM组包括第一信息,这样在FEC编码时可以对第一信息进行编码,提高传输第一信息的安全性。或者,可以在FEC编码后,使AM组包括第一信息,这样不用对第一信息进行FEC编码,减小占用计算资源。
可选的,该至少一个AM可以采用如下几种方式包括第一信息,该几种方式分别为:
方式一,该至少一个AM中的每个AM的填充部分包括第一信息的不同部分。也就是说,对于该至少一个AM的填充部分共同包括第一信息。
对于每个AM的填充部分,例如以第一AM为例,第一AM的第一填充部分中的部分字段或全部字段包括第一信息的部分内容。
在该至少一个AM包括一个AM的情况,该一个AM为第一AM,这样第一AM携带整个第一信息。其中,第一信息的数据量可能小于或等于第一AM的填充部分的大小。
方式二,该至少一个AM可被分成多组,对于每组AM,该组AM包括一个或多个AM,该一个或多个AM共同包括第一信息。也就是说,该至少一个AM包括多个相同的第一信息。
例如,假设该至少一个AM包括第一组AM和第二组AM。第一组AM包括一个或多个AM,第一组AM中的每个AM的填充部分包括第一信息的不同部分,即第一组AM中的每个AM的填充部分共同包括第一信息。第二组AM包括一个或多个AM,第二组AM中的每个AM的填充部分包括第一信息的不同部分,即第二组AM中的每个AM的填充部分共同包括第一信息。这样该至少一个AM包括两个相同的第一信息。
对于安全性要求高的第一信息,可以采用方式二,即使用该至少一个AM包括多个相同的第一信息,这样在传输该数据流的过程中,即使某一组AM包括的第一信息丢失,第二设备还能接收到其他组AM包括的第一信息,提高传输第一信息的安全性。
上述方式一和方式二只是该至少一个AM包括第一信息的两种举例,在实现时,还可能有其他方式来实现该至少一个AM包括第一信息,在此不再一一列举。
在一种方式中,对于该至少一个AM中的每个AM,该AM的填充部分包括至少一个字段,使用该至少一个字段中的部分或全部字段包括第一信息或第一信息的部分内容。
可选的,在步骤601中获取的数据流包括Z个数据流,每个数据流与该AM组中的一个或多个AM相对应,每个数据流分别包括每个数据流对应的一个或多个AM。对于每个数据流,该数据流包括的各AM属于第一设备插入的不同AM集合。所以该AM组包括第一设备插入的一个或多个AM集合。
例如,参见图3,假设该AM组包括第一设备插入的AM集合1和AM集合2,该Z个数据流中的每个数据流与该AM组中的两个AM相对应,每个数据流分别包括每个数据流对应的两个AM。例如,对于数据流1,该数据流1与该AM组中的AM11和AM21相对应,数据流1包括AM11和AM21;对于数据流2,该数据流2与该AM组中的AM12和AM22相对应,数据流2包括AM12和AM22;……,对于数据流Z,该数据流Z与该AM组中的AM1Z和AM2Z相对应,数据流Z包括AM1Z和AM2Z。
在步骤601,该至少一个AM可以包括如下两种AM,该两种AM分别为:
第一种,该至少一个AM包括与第一数据流相对应的AM。在这种情况下,第一信息与第一数据流关联,该Z个数据流包括第一数据流,第一AM是第一数据流对应的一个AM。
可选的,该至少一个AM均位于第一数据流中。
对于第一种AM,该至少一个AM可以采用上述方式一或方式二包括第一信息,接下分别说明使用该两种方式来包括第一信息的详细内容。
在该至少一个AM采用上述方式一包括第一信息的情况,即该至少一个AM的填充部分共同包括第一信息。对于至少一个AM中的每个AM,可以使用该AM的填充部分中的m个字段包括第一信息的部分内容,m为大于0的整数。该m个字段可能是该填充部分包括的全 部字段,或者,可能是该填充部分包括的部分字段。
第一信息包括多个子信息,该AM的填充部分的m个字段包括连续的m个子信息,该m个子信息是第一信息中的子信息。在实现时,假设第一数据流中的AM数目为N,N为大于0的整数,即该至少一个AM包括N个AM,该N个AM的填充部分共包括N*m个字段,该N*m个字段包括连续的N*m个子信息,该N*m个子信息为第一信息包括的全部子信息,以实现该至少一个AM共同包括第一信息。
例如,参见图9,假设第一信息与数据流1关联,即第一数据流为数据流1,该至少一个AM包括数据流1对应的AM11和AM21。假设m=3,这样使用AM11的填充部分中的三个字段包括子信息1、子信息2和子信息3,使用AM21的填充部分中的三个字段包括子信息4、子信息5和子信息6。第一信息包括子信息1、子信息2、子信息3、子信息4、子信息5和子信息6。
在此种方式下,第一设备将该至少一个AM的填充部分携带的内容替换为第一信息的操作可以为:第一设备将该N*m个字段携带的内容分别替换为第一信息包括的N*m个子信息。例如,仍以图9为例,该至少一个AM包括AM11和AM21,m=3,AM11和AM21的填充部分共包括六个字段,第一设备将该六个字段携带的内容分别替换为第一信息包括的子信息1、子信息2、子信息3、子信息4、子信息5和子信息6。
可选的,对于上述替换操作,第一设备可以在将该AM组插入到数据流之前,将该至少一个AM的填充部分携带的内容替换为第一信息,或者,在将该AM组插入到数据流之后,将该至少一个AM的填充部分携带的内容替换为第一信息。
在该至少一个AM采用上述方式二包括第一信息的情况,即该至少一个AM的填充部分包括相同的多个第一信息。该至少一个AM包括多组AM,对于每组AM,该组AM包括的一个或多个AM,该一个或多个AM共同包括第一信息。
其中,该一个或多个AM共同包括第一信息的详细内容,可以参见上述第一种AM情况下的方式一中介绍的至少一个AM共同包括第一信息的详细内容,在此不再详细说明。
第二种,该Z个数据流中存在M个数据流,该至少一个AM包括该M个数据流中的AM。即该M个数据流中的AM包括第一信息,第一AM是该M个数据流中的一个AM,M为大于0的整数。
对于第二种AM,该至少一个AM可以采用上述方式一或方式二包括第一信息,接下分别说明使用该两种方式来包括第一信息的详细内容。
在该至少一个AM采用上述方式一包括第一信息的情况,该至少一个AM的填充部分共同包括第一信息。对于至少一个AM中的每个AM,可以使用该AM的填充部分中的m个字段包括第一信息的部分内容。该m个字段可能是该填充部分包括的全部字段,或者,可能是该填充部分包括的部分字段。
其中,该至少一个数据流中的每个数据流包括N个AM,N为大于0的整数,该至少一个AM的填充部分包括M*N*m个字段,第一信息包括M*N*m个子信息,该M*N*m个字段采用如下方式1或方式2分别包括第一信息中的M*N*m个子信息。该方式1和方式2分别为:
方式1,m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,该m个第一字段是第i个数据流中的第j个AM包括的字段,该m个第二字段是第i+1个数据流 中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,该m个第一子信息和m个第二子信息是第一信息包括的连续2m个子信息。
第i个数据流中的第j个AM和第i+1个数据流中的第j个AM属于同一个AM集合。
例如,参见图10,假设M=2,m=3,即该至少一个AM包括两个数据流中的AM。假设该两个数据流为数据流1和数据流2,该至少一个AM包括数据流1中的AM11和AM21,以及数据流2中的AM12和AM22。还假设,第一信息包括子信息1、子信息2、子信息3、子信息4、子信息5、子信息6、子信息7、子信息8、子信息9、子信息10、子信息11和子信息12。
这样使用AM11的填充部分中的三个字段包括子信息1、子信息2和子信息3,使用AM12的填充部分中的三个字段包括子信息4、子信息5和子信息6,使用AM21的填充部分中的三个字段包括子信息7、子信息8和子信息9,使用AM22的填充部分中的三个字段包括子信息10、子信息11和子信息12。
在此种方式下,第一设备将该至少一个AM的填充部分携带的内容替换为第一信息的操作可以为:
对于该至少一个AM中的一个AM,第一设备从第一信息中获取与该AM相对应的连续m个子信息,将该AM的填充部分中的m个字段携带的内容替换为该m个子信息。其中,第一设备重复该替换过程,且替换AM的顺序是第一个数据流的第j个AM、第二个数据流的第j个AM、……、第M个数据流的第j个AM,j分别依次取值为1、2、……、N。
在实现时,第一设备从第一信息包括的第一个子信息开始获取连续的m个子信息,对于第一个数据流对应的第一个AM的填充部分包括的m个字段,将该m个字段携带的内容替换为获取的m个子信息。从第一信息包括的剩余子信息中获取连续的m个子信息,对于第2个数据流对应的第一个AM的填充部分包括的m个字段,将该m个字段携带的内容替换为获取的m个子信息。……,从第一信息包括的剩余子信息中获取连续的m个子信息,对于第M个数据流对应的第一个AM的填充部分包括的m个字段,将该m个字段携带的内容替换为获取的m个子信息。
从第一信息包括的剩余子信息中获取连续的m个子信息,对于第一个数据流中的第二个AM的填充部分包括的m个字段,将该m个字段携带的内容替换为获取的m个子信息。重复上述过程,直至获取第一信息包括的最后m个子信息,对于第M个数据流对应的第N个AM的填充部分包括的m个字段,将该m个字段携带的内容替换为获取的m个子信息。
例如,仍以图10所示例子为例,假设M为2,以及假设该M个数据流包括数据流1和数据流2。该至少一个AM包括数据流1对应的AM11和AM12,以及数据流2对应的AM21和AM22。第一设备从第一信息中获取子信息1、子信息2和子信息3,对于AM11的填充部分包括的三个字段,将该三个字段携带的内容替换为获取的子信息1、子信息2和子信息3。从第一信息包括的剩余子信息中获取子信息4、子信息5和子信息6,对于AM21的填充部分包括的三个字段,将该三个字段携带的内容替换为选择的子信息4、子信息5和子信息6。从第一信息中获取子信息7、子信息8和子信息9,对于AM21的填充部分包括的三个字段,将该三个字段携带的内容替换为获取的子信息7、子信息8和子信息9。从第一信息包括的剩余子信息中获取子信息10、子信息11和子信息12,对于AM22的填充部分包括的三个字段,将该三个字段携带的内容替换为选择的子信息10、子信息11和子信息12。
方式2,M个字段包括连续的M个子信息,该M个字段包括该M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,第一信息包括M个子信息。
该M个数据流中的每个数据流中的第j个AM属于同一个AM集合。
例如,参见图11,假设M=2,m=3,即该至少一个AM包括两个数据流中的AM。假设该两个数据流为数据流1和数据流2,该至少一个AM包括数据流1中的AM11和AM21,以及数据流2中的AM12和AM22。还假设,第一信息包括子信息1、子信息2、子信息3、子信息4、子信息5、子信息6、子信息7、子信息8、子信息9、子信息10、子信息11和子信息12。
这样使用AM11的填充部分中的第1个字段和AM12的填充部分中的第1个字段分别包括子信息1和子信息2。使用AM11的填充部分中的第2个字段和AM12的填充部分中的第2个字段分别包括子信息3和子信息4。使用AM11的填充部分中的第3个字段和AM12的填充部分中的第3个字段分别包括子信息5和子信息6。使用AM21的填充部分中的第1个字段和AM22的填充部分中的第1个字段分别包括子信息7和子信息8。使用AM21的填充部分中的第2个字段和AM22的填充部分中的第2个字段分别包括子信息9和子信息10。使用AM21的填充部分中的第3个字段和AM22的填充部分中的第3个字段分别包括子信息11和子信息12。
在此种方式下,第一设备将该至少一个AM的填充部分携带的内容替换为第一信息的操作可以为:
第一设备从第一信息获取M个字段对应M个子信息,该M个字段包括每个数据流中的第j个AM的填充部分的第n个字段,j分别依次取值为1、2、……、N,n分别依次取值为1、2、……、m;将该M个字段携带的内容替换为该M个子信息。
在实现时,从第一信息包括的第一个子信息开始获取连续的M个子信息,确定M个字段,该M个字段包括每个数据流对应的第一个AM的填充部分的第1个字段,将该M个字段携带的内容替换为该M个子信息。第一设备从第一信息包括的剩余子信息中获取连续的M个子信息,确定M个字段,该M个字段包括每个数据流对应的第一个AM的填充部分的第2个字段,将该M个字段携带的内容替换为该M个子信息。……,第一设备从第一信息包括的剩余子信息中获取连续的M个子信息,确定M个字段,该M个字段包括每个数据流对应的第一个AM的填充部分的第m个字段,将该M个字段携带的内容替换为该M个子信息。
第一设备从第一信息包括的剩余子信息中获取连续的M个子信息,确定M个字段,该M个字段包括每个数据流对应的第二个AM的填充部分的第1个字段,将该M个字段携带的内容替换为该M个子信息。重复上述过程,直至获取第一信息包括的最后M个子信息,确定M个字段,该M个字段包括每个数据流对应的第N个AM的填充部分的第m个字段,将该M个字段携带的内容替换为该M个子信息。
例如,仍以图11所示例子为例,假设M为2,该M个数据流包括数据流1和数据流2。该至少一个AM包括数据流1对应的AM11和AM12,以及数据流2对应的AM21和AM22,第一设备从第一信息中获取子信息1和子信息2,确定两个字段,该两个字段包括AM11的填充部分的第1个字段和AM12的填充部分的第1个字段,将该两个字段携带的内容替换为子信息1和子信息2。从第一信息中获取子信息3和子信息4,确定两个字段,该两个字段包括AM11的填充部分的第2个字段和AM12的填充部分的第2个字段,将该两个字段携带的 内容替换为子信息3和子信息4。从第一信息中获取子信息5和子信息6,确定两个字段,该两个字段包括AM11的填充部分的第3个字段和AM12的填充部分的第3个字段,将该两个字段携带的内容替换为子信息5和子信息6。从第一信息中获取子信息7和子信息8,确定两个字段,该两个字段包括AM21的填充部分的第1个字段和AM22的填充部分的第1个字段,将该两个字段携带的内容替换为子信息7和子信息8。从第一信息中获取子信息9和子信息10,确定两个字段,该两个字段包括AM21的填充部分的第2个字段和AM22的填充部分的第2个字段,将该两个字段携带的内容替换为子信息9和子信息10。从第一信息中获取子信息11和子信息12,确定两个字段,该两个字段包括AM11的填充部分的第3个字段和AM12的填充部分的第3个字段,将该两个字段携带的内容替换为子信息11和子信息12。
在该至少一个AM采用上述方式二包括第一信息的情况,即该至少一个AM包括相同的多个第一信息。该至少一个AM包括多组AM,对于每组AM,该组AM包括的一个或多个AM,该一个或多个AM共同包括第一信息。
其中,该一个或多个AM共同包括第一信息的详细内容,可以参见上述第二种AM情况下的方式一中介绍的至少一个AM共同包括第一信息的详细内容,在此不再详细说明。
步骤602:第一设备向第二设备发送该数据流。
参见图2、图7或图8,在步骤601中,在第一设备获取到Z个数据流后,在第一设备的第一PMA层,第一设备将该Z个数据流合并为X个数据流。在第一设备的第一PMD层,第一设备通过第一设备与第二设备之间的X个物理通道,向第二设备发送该X个数据流。
在本申请实施例中,由于第二设备不会使用到AM组中的每个AM的填充部分包括的填充信息,对于第二设备来说,该填充信息是无用信息,每个AM的填充部分被浪费。所以第一设备可以使用AM组中的至少一个AM的填充部分包括第一信息,然后向第二设备发送包括AM组的数据流。这样第二设备接收该数据流,从AM组中可以获取到第一信息,从而实现了一种全新的信息发送方式。由于使用AM的填充部分来发送第一信息,不会对该数据流中的有用部分产生任何影响,充分使用了带外的带宽资源来发送第一信息。又由于在每个数据流中,AM是等间隔地分布在数据流中,即第一设备是周期性发送该数据流中的AM,发送AM的时间稳定,这样可以通过AM的填充部分发送对时间稳定性和可靠性要求较高的信息。
参见图12,本申请实施例提供了一种通信方法700,所述方法700应用于图1或图2所示网络架构100,所述方法700的执行主体可为图1或图2所示网络架构100中的第二设备102。所述方法700包括:
步骤701:第二设备接收数据流,该数据流包括AM组,AM组包括多个AM,该多个AM包括第一AM,第一AM包括第一填充部分,第一填充部分包括第一信息的部分或全部,第一信息用于指示指定功能。
可选的,第一AM还包括第一定界部分和/或第一识别部分,第一定界部分用于确定第一AM在数据流中的位置,第一识别部分用于识别第一AM对应的第一数据流和/或第一AM对应的PCS通道。
可选的,对于该AM组中的多个AM,该多个AM中存在至少一个AM,第一AM是该至少一个AM中的一个AM,该至少一个AM的填充部分包括第一信息。
该至少一个AM的填充部分包括第一信息的详细内容,参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
参见图13、14或15,在步骤701中,在第二设备的第二PMD层,第二设备通过第一设备与第二设备之间的X条物理通道接收X个数据流。在第二设备的第一PMA层,第二设备基于该X个数据流恢复出Z个数据流。
步骤702:第二设备从该AM组中获取第一信息。
该至少一个AM可以包括如下两种AM,该两种AM分别为:
第一种,该至少一个AM包括第一数据流中的AM。在这种情况下,第一信息与第一数据流关联,该Z个数据流包括第一数据流,第一AM是该至少一个AM中的一个AM。这样第二设备在得到第一数据流时,从第一数据流中的该至少一个AM的填充部分获取第一信息。
第一数据流包括N个AM,即至少一个AM包括该N个AM。
可选的,该至少一个AM可以采用上述方式一或方式二包括第一信息,接下来说明在此两种方式下,第二设备获取第一信息的实现过程:
在该至少一个AM采用上述方式一包括第一信息的情况,该至少一个AM的填充部分共同包括第一信息,该至少一个AM的填充部分共包括N*m个字段,该N*m个字段包括连续的N*m个子信息。这在步骤702中,第二设备从该N*m个字段获取连续的N*m个子信息,以得到第一信息。
例如,参见图9,假设第一信息与数据流1关联,即第一数据流为数据流1,该至少一个AM包括数据流1对应的AM11和AM21。AM11的填充部分和AM21的填充部分共包括六个字段,第二设备从该六个字段获取子信息1、子信息2、子信息3、子信息4、子信息5和子信息6,以得到第一信息。
在该至少一个AM采用上述方式二包括第一信息的情况,该至少一个AM包括多组AM,对于每组AM,该组AM包括的一个或多个AM,该一个或多个AM共同包括第一信息。第二设备从该多组AM中的一组或多组AM中获取第一信息。
对于任一组AM,第二设备从该组AM中获取第一信息的详细实现过程,可以参见上述第一种AM情况下的方式一中介绍的第二设备从该至少一个AM的填充部分获取第一信息的详细实现过程,在此不再详细说明。
第二种,该Z个数据流中存在M个数据流,该至少一个AM包括该M个数据流中的AM。这样第二设备在得到该Z条数据流时,从该Z数据流中的该至少一个AM的填充部分获取第一信息。
对于该M个数据流,每个数据流包括N个AM,该至少一个AM共包括M*N个AM。
可选的,该至少一个AM可以采用上述方式一或方式二包括第一信息,接下来说明在此两种方式下,第二设备获取第一信息的实现过程:
在该至少一个AM采用上述方式一包括第一信息的情况,即该至少一个AM的填充部分共同包括第一信息。
其中,第一信息包括M*N*m个子信息,该至少一个AM的填充部分包括M*N*m个字段,由于该M*M*m个字段采用上述方式1或方式2来分别包括第一信息中的M*N*m个子信息。接下来分别说明在方式1或方式2两种情况下,第二设备获取第一信息的过程:
在该M*N*m个字段采用上述方式1包括第一信息中的M*N*m个子信息的情况,第二 设备从第i个数据流中的第j个AM的填充部分获取连续的m个子信息,i=1、2、……、M,j=1、2、……、N。第二设备重复上述过程,直到获取整个第一信息为止。
在实现时,第二设备从第1个数据流中的第1个AM的填充部分获取m个子信息,从第2个数据流中的第1个AM获取m个子信息,……,从第M个数据流中的第1个AM获取m个子信息。从第1个数据流中的第2个AM获取m个子信息,重复上述过程,直到从第M个数据流中的第N个AM获取m个子信息,以得到第一信息。
例如,参见图10,假设M为2,m为3,以及假设该M个数据流包括数据流1和数据流2。该至少一个AM包括数据流1对应的AM11和AM12,以及数据流2对应的AM21和AM22。第二设备从第1个数据流中的AM11的填充部分获取子信息1、子信息2和子信息3;从第2个数据流中的AM12的填充部分获取子信息4、子信息5和子信息6;从第1个数据流中的AM21的填充部分获取子信息7、子信息8和子信息9;从第2个数据流中的AM22的填充部分获取子信息10、子信息11和子信息12。
在该M*N*m个字段采用上述方式2包括第一信息中的M*N*m个子信息的情况,第二设备确定M个字段,该M个字段包括该M个数据流中的每个数据流中的第j个AM中的第n个字段,j=1、2、……,N,n=1、2、……、m,从该M个字段中获取连续的M个子信息。重复上述过程,直到获取整个第一信息为止。
例如,参见图11,假设M=2,m=3,假设该M个数据流为数据流1和数据流2,该至少一个AM包括数据流1中的AM11和AM21,以及数据流2中的AM12和AM22。第二设备确定两个字段,该两个字段包括AM11的填充部分的第1个字段和AM12的填充部分的第1个字段,从该两个字段中获取子信息1和子信息2。确定两个字段,该两个字段包括AM11的填充部分的第2个字段和AM12的填充部分的第2个字段,从该两个字段中获取子信息3和子信息4。确定两个字段,该两个字段包括AM11的填充部分的第3个字段和AM12的填充部分的第3个字段,从该两个字段中获取子信息5和子信息6。
确定两个字段,该两个字段包括AM21的填充部分的第1个字段和AM22的填充部分的第1个字段,从该两个字段获取子信息7和子信息8。确定两个字段,该两个字段包括AM21的填充部分的第2个字段和AM22的填充部分的第2个字段,从该两个字段获取子信息9和子信息10。确定两个字段,该两个字段包括AM11的填充部分的第3个字段和AM12的填充部分的第3个字段,从该两个字段获取子信息11和子信息12。
在该至少一个AM采用上述方式二包括第一信息的情况,该至少一个AM包括多组AM,对于每组AM,该组AM包括的一个或多个AM,该一个或多个AM共同包括第一信息。第二设备从该多组AM中的一组或多组AM中获取第一信息。
对于任一组AM,第二设备从该组AM中获取第一信息的详细实现过程,可以参见上述第二种AM情况下的方式一中介绍的上述第二设备从该至少一个AM的填充部分获取第一信息的详细实现过程,在此不再详细说明。
在步骤702中,在第二设备的第二PCS中,第二设备可以在如下三个不同情况从该AM组中获取第一信息,接下来分别对该三个不同情况分别进行一一说明。
参见图13,第一情况,第二设备在对Z个数据流进行排序处理后,从该排序的Z个数据流中的该AM组获取第一信息。
参见图13,在此情况下,第二设备先对来自第二PMA层的该Z个数据流进行对齐字锁 定与去偏斜处理,以对齐该Z个数据流,对该对齐的Z个数据流通道排序处理。
其中,第二设备在进行通道排序处理之后,以及在对该排序的Z个数据流进行解交织处理之前,从该排序的Z个数据流中的AM组获取第一信息。第二设备在获取到第一信息后,对该排序的Z个数据流进行解交织处理得到至少一个第一码字和至少一个第二码字。对该至少一个第一码字和该至少一个第二码字进行FEC解码得到至少一个第一数据块和至少一个第二数据块。对该至少一个第一数据块和至少一个第二数据块进行FEC解码后交织,以得到一路数据流,该一路数据流包括该AM组。从该路数据流中去除该AM集合,对去除AM集合的数据流进行解扰码处理,对解扰码处理的数据流进行反转码处理,对反转码处理的数据流进行解码与速率匹配处理,以恢复出目标数据流,向第二协调子层输入目标数据流。
其中,第二设备在对该对齐的Z个数据流通道排序处理之后,得到该Z个数据流中的每个数据流包括的AM,并识别出每个数据流包括的AM,从而可以从该排序的Z个数据流中的AM组获取第一信息。
在第一情况中,由于从排序的Z个数据流中的AM组获取第一信息,即在进行FEC解码前就获取第一信息,这样不用对第一信息进行解码,减小对计算资源的占用。相应的,第一设备在发送第一信息时,也不用对第一信息进行FEC编码,也减小对第一设备的计算资源的占用。
参见图14,第二情况,第二设备在对排序的Z个数据流进行解码得到至少一个第一数据块和至少一个第二数据块时,该至少一个第一数据块和至少一个第二数据块共同包括第一信息,从该至少一个第一数据块和至少一个第二数据块获取第一信息。
在此情况下,参见图14,第二设备先对来自第二PMA层的该Z个数据流进行对齐字锁定与去偏斜处理,以对齐该Z个数据流;对该对齐的Z个数据流通道排序处理,对该排序的Z个数据流进行解交织处理得到至少一个第一码字和至少一个第二码字,对该至少一个第一码字和该至少一个第二码字进行FEC解码得到至少一个第一数据块和至少一个第二数据块。
其中,第二设备在得到该至少一个第一数据块和至少一个第二数据之后,以及在对该至少一个第一数据块和至少一个第二数据进行FEC后交织处理得到一路数据流之前,从该至少一个第一数据块和至少一个第二数据块获取第一信息。第二设备在获取到第一信息后,对该至少一个第一数据块和至少一个第二数据块进行FEC解码后交织,以得到一路数据流,该一路数据流包括该AM组。第二设备从该路数据流中去除该AM集合,对去除AM集合的数据流进行解扰码处理,对解扰码处理的数据流进行反转码处理,对反转码处理的数据流进行解码与速率匹配处理,以恢复出目标数据流,向第二协调子层输入目标数据流。
参见图15,第三情况,第二设备在基于该至少一个第一数据块和至少一个第二数据块得到一路数据流时,该一路数据流包括该AM组,从该一路数据流中的该AM组获取第一信息
在此情况下,参见图15,第二设备先对来自第二PMA层的该Z个数据流进行对齐字锁定与去偏斜处理,以对齐该Z个数据流;对该对齐的Z个数据流通道排序处理,对该排序的Z个数据流进行解交织处理得到至少一个第一码字和至少一个第二码字,对该至少一个第一数据块和该至少一个第二数据块进行FEC后交织处理得到一路数据流。
其中,第二设备在得到该一路数据流以及在从该一路数据流中去除AM组之前,从该一路数据流中的该AM组获取第一信息。第二设备在获取到第一信息后,从该一路数据流中去除AM组。对去除AM组的该一路数据流进行解扰码处理,对解扰码处理的数据流进行反转 码处理,对反转码处理的数据流进行解码与速率匹配处理,以恢复出目标数据流,向第二协调子层输入目标数据流。
在第二情况或第三情况中,在进行FEC解码之后,从AM组中获取第一信息。相应的,第一设备在发送第一信息时,可以对第一信息进行FEC编码,提高传输第一信息的安全性。
在本申请实施例中,由于第二设备不会使用到AM组中的每个AM的填充部分包括的填充信息,对于第二设备来说,该填充信息是无用信息,每个AM的填充部分被浪费。所以对于第二设备接收的数据流包括的AM组,使用该AM组中的至少一个AM的填充部分包括第一信息。这样第二设备接收该数据流,从AM组中可以获取到第一信息,从而实现了一种全新的信息发送方式。由于使用AM的填充部分来发送第一信息,不会对该数据流中的有用部分产生任何影响,充分使用了带外的带宽资源来发送第一信息。又由于在每个数据流中,AM是等间隔地分布在数据流中,即第一设备是周期性发送该数据流中的AM,发送AM的时间稳定,这样可以通过AM的填充部分发送对时间稳定性和可靠性要求较高的信息。
参见图16,本申请实施例提供了一种通信装置800,所述通信装置800可以部署在上述任意实施例提供的第一设备上,例如部署在图1或图2所示网络架构100中的第一设备101上,或者,部署在图6所示方法600中的第一设备上,包括:
处理单元801,用于获取数据流,该数据流包括对齐字标示AM组,该AM组包括多个AM,该多个AM包括第一AM,第一AM包括第一定界部分和第一填充部分,第一填充部分包括第一信息的部分或全部,第一信息用于指示指定功能,第一定界部分用于确定第一AM在该数据流中的位置;
发送单元802,用于发送该数据流。
可选的,处理单元801获取数据流的详细实现过程,可以参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
可选的,发送单元802发送数据流的详细实现过程,可以参见图6所示方法600的步骤602中的相关内容,在此不再详细说明。
可选的,获取的数据流包括多个,每个数据流与AM组中的一个或多个AM相对应,每个数据流分别包括每个数据流对应的一个或多个AM。
可选的,第一信息与第一数据流关联,该多个数据流包括第一数据流,第一数据流中的AM包括第一信息,第一AM是第一数据流中的一个AM。
可选的,多个数据流中存在M个数据流,该M个数据流中的AM包括第一信息,第一AM是该M个数据流中的一个AM,M为大于0的整数。
可选的,M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,第一信息包括至少一个子信息;
m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,m个第一字段是第i个数据流中的第j个AM包括的字段,m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,m个第一子信息和m个第二子信息是所述第一信息包括的连续2m个子信息。
可选的,m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息的详细内容,可以参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
可选的,M个字段包括连续的M个子信息,该M个字段包括M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,第一信息包括该M个子信息。
可选的,M个字段包括连续的M个子信息的详细内容,可以参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
可选的,该每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。
可选的,处理单元801,用于:
获取该AM组,该AM组包括第一AM,第一AM的第一填充部分包括第一信息或第一信息的部分,将该AM组插入到数据流中。
可选的,处理单元801,用于:
在将AM组插入到数据流时,插入的AM组包括第一AM,在该数据流中将第一AM的第一填充部分携带的内容替换为第一信息或第一信息的部分。
可选的,处理单元801将第一填充部分携带的内容替换为第一信息或第一信息的部分的详细实现过程,可以参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
可选的,第一AM还包括第一识别部分,第一识别部分用于指示第一AM对应的数据流。
在本申请实施例中,对于AM组中的每个AM,数据流的接收方不会使用每个AM的填充部分包括的填充信息,对于接收方,该填充信息是无用信息。因此在发送数据流时,处理单元可以将AM组中的第一AM的第一填充部分包括的填充信息替换为第一信息或第一信息的部分内容,即使第一填充部分包括第一信息或第一信息的部分内容。这样接收方在接收到数据流时,从AM组中获取第一信息,从而实现了一种全新的信息发送方式。由于发送单元使用AM的填充部分来发送第一信息,接收方基于第一信息执行指定功能,且不会对该数据流产生任何影响,充分使用了带外的带宽资源来发送第一信息,减少带宽资源的浪费。又由于在该数据流中,AM是等间隔地分布在数据流中,即发送单元周期性发送该数据流中的AM,发送AM的时间稳定,这样可以通过AM的填充部分发送对时间稳定性和可靠性要求较高的信息。
参见图17,本申请实施例提供了一种通信装置900,所述通信装置900可以部署在上述任意实施例提供的第二设备上,例如部署在图1或图2所示网络架构100中的第二设备102上,或者,部署在图12所示方法700中的第二设备上,包括:
接收单元901,用于接收数据流,该数据流包括对齐字标示AM组,AM组包括多个AM,该多个AM包括第一AM,第一AM包括第一定界部分和第一填充部分,第一填充部分包括第一信息的部分或全部,第一信息用于指示指定功能,第一定界部分用于确定第一AM在该数据流中的位置;
处理单元902,用于从AM组中获取第一信息。
可选的,接收单元901接收数据流的详细实现过程,可以参见图12所示方法700的步骤701中的相关内容,在此不再详细说明。
可选的,处理单元902获取第一信息的详细实现过程,可以参见图12所示方法700的步骤702中的相关内容,在此不再详细说明。
可选的,接收的数据流包括多个,每个数据流与AM组中的一个或多个AM相对应,每个数据流分别包括每个数据流对应的一个或多个AM。
可选的,第一信息与第一数据流关联,多个数据流包括第一数据流,第一数据流中的AM包括第一信息,第一AM是第一数据流中的一个AM。
可选的,多个数据流中存在M个数据流,M个数据流中的AM包括第一信息,第一AM是M个数据流中的一个AM,M为大于0的整数。
可选的,该M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,第一信息包括至少一个子信息;m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,m个第一字段是第i个数据流中的第j个AM包括的字段,m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,m个第一子信息和m个第二子信息是第一信息包括的连续2m个子信息。
可选的,m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息的详细内容,可以参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
可选的,M个字段包括连续的M个子信息,M个字段包括M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,第一信息包括M个子信息。
可选的,M个字段包括连续的M个子信息的详细内容,可以参见图6所示方法600的步骤601中的相关内容,在此不再详细说明。
可选的,该每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。
可选的,接收的数据流包括多个,处理单元902,用于:
在对多个数据流进行排序后,从排序的多个数据流中的AM组获取第一信息。
可选的,处理单元902从排序的多个数据流中的AM组获取第一信息的详细实现过程,可以参见图12所示方法700的步骤702中的相关内容,在此不再详细说明。
可选的,处理单元902,用于:
在对排序的多个数据流进行解码得到至少一个第一数据块和至少一个第二数据块时,至少一个第一数据块和至少一个第二数据块共同包括第一信息,从至少一个第一数据块和至少一个第二数据块获取第一信息。
可选的,处理单元902从至少一个第一数据块和至少一个第二数据块获取第一信息的详细实现过程,可以参见图12所示方法700的步骤702中的相关内容,在此不再详细说明。
可选的,处理单元902,用于:
在对至少一个第一数据块和至少一个第二数据块进行后交织得到一路数据流时,从该一路数据流中的AM组获取第一信息。
可选的,处理单元902从该一路数据流中的AM组获取第一信息的详细实现过程,可以参见图12所示方法700的步骤702中的相关内容,在此不再详细说明。
可选的,第一AM还包括第一识别部分,第一识别部分用于指示第一AM所在的数据流。
在本申请实施例中,对于AM组中的每个AM,数据流的接收方不会使用每个AM的填充部分包括的填充信息,对于接收方,该填充信息是无用信息。因此在该数据流中可以将AM组中的第一AM的第一填充部分包括的填充信息替换为第一信息或第一信息的部分内容,即使第一填充部分包括第一信息或第一信息的部分内容。这样在接收到数据流时,从AM组中获取第一信息,从而实现了一种全新的信息发送方式。由于使用AM的填充部分包括第一信息,在接收到数据流后,基于第一信息执行指定功能,且不会对该数据流产生任何影响,充 分使用了带外的带宽资源来发送第一信息,减少带宽资源的浪费。又由于在该数据流中,AM是等间隔地分布在数据流中,即发送方周期性发送该数据流中的AM,发送AM的时间稳定,这样可以通过AM的填充部分发送对时间稳定性和可靠性要求较高的信息。
参见图18,本申请实施例提供了一种通信设备1000示意图。所述通信设备1000可以是上述任意实施例提供的第一设备,例如,可以是图1或图2所示网络架构100中的第一设备101,或图6所示方法600中的第一设备。所述通信设备1000包括至少一个处理器1001,内部连接1002以及至少一个网络接口1003。
所述通信设备1000是一种硬件结构的装置。
在一些实施例中,可以用于实现图16所述的装置800中的功能模块。例如,本领域技术人员可以想到图16所示的装置800中的处理单元801可以通过该至少一个处理器1001调用计算机程序代码来实现,图16所示的装置800中的发送单元802可以通过该至少一个网络接口1003来实现。
所述通信设备1000还可以用于实现上述任一实施例中第一设备的功能。
上述处理器1001例如是通用中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)、网络处理器(Network Processer,NP)、图形处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Units,NPU)、数据处理单元(Data Processing Unit,DPU)、微处理器或者一个或多个用于实现本申请方案的集成电路。例如,处理器701包括专用集成电路(Application-specific Integrated Circuit,ASIC),可编程逻辑器件(Programmable Logic Device,PLD)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。PLD例如是复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、现场可编程逻辑门阵列(Field-programmable Gate Array,FPGA)、通用阵列逻辑(Generic Array Logic,GAL)或其任意组合。其可以实现或执行结合本申请实施例公开内容所描述的各种逻辑方框、模块和电路。所述处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,DSP和微处理器的组合等等。
上述内部连接1002可包括一通路,在上述组件之间传送信息。内部连接1002可以为单板或总线等。总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图18中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
上述至少一个网络接口1003使用任何收发器一类的装置,用于与其它设备或通信网络通信,通信网络可以为以太网、无线接入网或无线局域网(Wireless Local Area Networks,WLAN)等。网络接口1003可以包括有线通信接口,还可以包括无线通信接口。具体的,网络接口1003可以为以太接口、快速以太(Fast Ethernet,FE)接口、千兆以太(Gigabit Ethernet,GE)接口,异步传输模式(Asynchronous Transfer Mode,ATM)接口,无线局域网WLAN接口,蜂窝网络通信接口或其组合。以太网接口可以是光接口,电接口或其组合。在本申请实施例中,网络接口1003可以用于所述通信设备1000与其他设备进行通信。
在具体实现中,作为一种实施例,处理器1001可以包括一个或多个CPU,例如图18中的CPU0和CPU1。这些CPU中的每一个可以是一个单核处理器,也可以是一个多核处理器。 这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,所述通信设备1000可以包括多个处理器,例如图18中的处理器1001和处理器1007。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,所述通信设备1000还可以包括输出设备和输入设备。输出设备和处理器1001通信,可以以多种方式来显示信息。例如,输出设备可以是液晶显示器(Liquid Crystal Display,LCD)、发光二级管(Light Emitting Diode,LED)显示设备、阴极射线管(Cathode Ray Tube,CRT)显示设备或投影仪等。输入设备和处理器1001通信,可以以多种方式接收用户的输入。例如,输入设备可以是鼠标、键盘、触摸屏设备或传感设备等。
在具体实施例中,本申请实施例的所述通信设备1000可对应于上述多个实施例,例如与图1和图6对应的多个实施例中的第一设备,所述通信设备1000中的处理器1001调用计算机程序代码,使图18所示的通信设备1000能够执行上述多个实施例中第一设备的全部或部分操作。
参见图19,本申请实施例提供了一种通信设备1100示意图。所述通信设备1100可以是上述任意实施例提供的第二设备,例如,可以是图1或图2所示网络架构100中的第二设备102,或图12所示方法700中的第二设备。所述通信设备1100包括至少一个处理器1101,内部连接1102,以及至少一个网络接口1103。
所述通信设备1100是一种硬件结构的装置。
在一些实施例中,可以用于实现图17所述的装置900中的功能模块。例如,本领域技术人员可以想到图17所示的装置900中的处理单元902可以通过该至少一个处理器1101调用计算机程序代码来实现,图17所示的装置900中的接收单元901可以通过该至少一个网络接口1103来实现。
所述通信设备1100还可以用于实现上述任一实施例中第二设备的功能。
上述处理器1101例如是通用中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)、网络处理器(Network Processer,NP)、图形处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Units,NPU)、数据处理单元(Data Processing Unit,DPU)、微处理器或者一个或多个用于实现本申请方案的集成电路。例如,处理器701包括专用集成电路(Application-specific Integrated Circuit,ASIC),可编程逻辑器件(Programmable Logic Device,PLD)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。PLD例如是复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、现场可编程逻辑门阵列(Field-programmable Gate Array,FPGA)、通用阵列逻辑(Generic Array Logic,GAL)或其任意组合。其可以实现或执行结合本申请实施例公开内容所描述的各种逻辑方框、模块和电路。所述处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,DSP和微处理器的组合等等。
上述内部连接1102可包括一通路,在上述组件之间传送信息。内部连接1102可以为单 板或总线等。总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图19中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
上述至少一个网络接口1103使用任何收发器一类的装置,用于与其它设备或通信网络通信,通信网络可以为以太网、无线接入网或无线局域网(Wireless Local Area Networks,WLAN)等。网络接口1103可以包括有线通信接口,还可以包括无线通信接口。具体的,网络接口1103可以为以太接口、快速以太(Fast Ethernet,FE)接口、千兆以太(Gigabit Ethernet,GE)接口,异步传输模式(Asynchronous Transfer Mode,ATM)接口,无线局域网WLAN接口,蜂窝网络通信接口或其组合。以太网接口可以是光接口,电接口或其组合。在本申请实施例中,网络接口1103可以用于所述通信设备1100与其他设备进行通信。
在具体实现中,作为一种实施例,处理器1101可以包括一个或多个CPU,例如图19中的CPU0和CPU1。这些CPU中的每一个可以是一个单核处理器,也可以是一个多核处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,所述通信设备1100可以包括多个处理器,例如图19中的处理器1101和处理器1107。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,所述通信设备1100还可以包括输出设备和输入设备。输出设备和处理器1101通信,可以以多种方式来显示信息。例如,输出设备可以是液晶显示器(Liquid Crystal Display,LCD)、发光二级管(Light Emitting Diode,LED)显示设备、阴极射线管(Cathode Ray Tube,CRT)显示设备或投影仪等。输入设备和处理器1101通信,可以以多种方式接收用户的输入。例如,输入设备可以是鼠标、键盘、触摸屏设备或传感设备等。
在具体实施例中,本申请实施例的所述设备1100可对应于上述多个实施例,例如与图1和图6对应的多个实施例中的第二设备,所述通信设备1100中的处理器1101调用计算机程序代码,使图19所示的通信设备1100能够执行上述多个实施例中第二设备的全部或部分操作。
可选地,图18和图19的通信设备可以是路由设备、交换设备或服务器。
可选地,本申请提到的路由设备、交换设备或服务器的部分或全部也可以是逻辑功能模块或虚拟功能模块。
参见图20,本申请实施例提供了一种通信系统1200,包括如图16所述的通信装置800和如图17所述的通信装置900,或者,包括如图18所述的通信设备1000和如图19所述的通信设备1100。
其中,如图16所述的通信装置800和如图18所述的通信设备1000可以是第一设备1201,如图17所述的通信装置900和如图19所述的通信设备1100可以是第二设备1202。
本申请的说明书和权利要求书及上述附图中的操作顺序,不限于描述中特定的顺序或先后次序。应该理解这样使用的数据在适当情况下同时进行或可以改变顺序,以便描述的实施例能够以除了在附图中的图示或描述的内容以外的顺序实施。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (36)

  1. 一种通信方法,其特征在于,所述方法包括:
    获取数据流,所述数据流包括对齐字标示AM组,所述AM组包括多个AM,所述多个AM包括第一AM,所述第一AM包括第一定界部分和第一填充部分,所述第一填充部分包括第一信息的部分或全部,所述第一信息用于指示指定功能,所述第一定界部分用于确定所述第一AM在所述数据流中的位置;
    发送所述数据流。
  2. 如权利要求1所述的方法,其特征在于,所述获取的数据流包括多个,每个数据流与所述AM组中的一个或多个AM相对应,所述每个数据流分别包括所述每个数据流对应的一个或多个AM。
  3. 如权利要求2所述的方法,其特征在于,所述第一信息与第一数据流关联,所述多个数据流包括所述第一数据流,所述第一数据流中的AM包括所述第一信息,所述第一AM是所述第一数据流中的一个AM。
  4. 如权利要求2所述的方法,其特征在于,所述多个数据流中存在M个数据流,所述M个数据流中的AM包括所述第一信息,所述第一AM是所述M个数据流中的一个AM,M为大于0的整数。
  5. 如权利要求4所述的方法,其特征在于,所述M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,所述第一信息包括至少一个子信息;
    m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,所述m个第一字段是第i个数据流中的第j个AM包括的字段,所述m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,所述m个第一子信息和m个第二子信息是所述第一信息包括的连续2m个子信息;或者,
    M个字段包括连续的M个子信息,所述M个字段包括所述M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,所述第一信息包括所述M个子信息。
  6. 如权利要求5所述的方法,其特征在于,所述每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。
  7. 如权利要求1至6任一项所述的方法,其特征在于,所述获取数据流,包括:
    获取所述AM组,所述AM组包括所述第一AM,所述第一AM的第一填充部分包括所述第一信息或所述第一信息的部分,将所述AM组插入到第二数据流中以获得所述数据流;或者,
    在将AM组插入到数据流时,所述插入的AM组包括所述第一AM,在所述数据流中将 所述第一AM的第一填充部分携带的内容替换为所述第一信息或所述第一信息的部分。
  8. 如权利要求1至7任一项所述的方法,其特征在于,所述第一AM还包括第一识别部分,所述第一识别部分用于指示所述第一AM对应的数据流。
  9. 一种通信方法,其特征在于,所述方法包括:
    接收数据流,所述数据流包括对齐字标示AM组,所述AM组包括多个AM,所述多个AM包括第一AM,所述第一AM包括第一定界部分和第一填充部分,所述第一填充部分包括第一信息的部分或全部,所述第一信息用于指示指定功能,所述第一定界部分用于确定所述第一AM在所述数据流中的位置;
    从所述AM组中获取所述第一信息。
  10. 如权利要求9所述的方法,其特征在于,所述接收的数据流包括多个,每个数据流与所述AM组中的一个或多个AM相对应,所述每个数据流分别包括所述每个数据流对应的一个或多个AM。
  11. 如权利要求10所述的方法,其特征在于,所述第一信息与第一数据流关联,所述多个数据流包括所述第一数据流,所述第一数据流中的AM包括所述第一信息,所述第一AM是所述第一数据流中的一个AM。
  12. 如权利要求10所述的方法,其特征在于,所述多个数据流中存在M个数据流,所述M个数据流中的AM包括所述第一信息,所述第一AM是所述M个数据流中的一个AM,M为大于0的整数。
  13. 如权利要求12所述的方法,其特征在于,所述M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,所述第一信息包括至少一个子信息;
    m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,所述m个第一字段是第i个数据流中的第j个AM包括的字段,所述m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,所述m个第一子信息和m个第二子信息是所述第一信息包括的连续2m个子信息;或者,
    M个字段包括连续的M个子信息,所述M个字段包括所述M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,所述第一信息包括所述M个子信息。
  14. 如权利要求13所述的方法,其特征在于,所述每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。
  15. 如权利要求9至14任一项所述的方法,其特征在于,所述接收的数据流包括多个,所述从所述AM组中获取所述第一信息,包括:
    在对所述多个数据流进行排序后,从所述排序的多个数据流中的所述AM组获取所述第一信息;或者,
    在对所述排序的多个数据流进行解码得到至少一个第一数据块和至少一个第二数据块时,所述至少一个第一数据块和至少一个第二数据块共同包括所述第一信息,从所述至少一个第一数据块和至少一个第二数据块获取所述第一信息;或者,
    在对所述至少一个第一数据块和至少一个第二数据块进行后交织得到一路数据流时,从所述一路数据流中的所述AM组获取所述第一信息。
  16. 如权利要求9至15任一项所述的方法,其特征在于,所述第一AM还包括第一识别部分,所述第一识别部分用于指示所述第一AM所在的数据流。
  17. 一种通信装置,其特征在于,所述装置包括:
    处理单元,用于获取数据流,所述数据流包括对齐字标示AM组,所述AM组包括多个AM,所述多个AM包括第一AM,所述第一AM包括第一定界部分和第一填充部分,所述第一填充部分包括第一信息的部分或全部,所述第一信息用于指示指定功能,所述第一定界部分用于确定所述第一AM在所述数据流中的位置;
    发送单元,用于发送所述数据流。
  18. 如权利要求17所述的装置,其特征在于,所述获取的数据流包括多个,每个数据流与所述AM组中的一个或多个AM相对应,所述每个数据流分别包括所述每个数据流对应的一个或多个AM。
  19. 如权利要求18所述的装置,其特征在于,所述第一信息与第一数据流关联,所述多个数据流包括所述第一数据流,所述第一数据流中的AM包括所述第一信息,所述第一AM是所述第一数据流中的一个AM。
  20. 如权利要求18所述的装置,其特征在于,所述多个数据流中存在M个数据流,所述M个数据流中的AM包括所述第一信息,所述第一AM是所述M个数据流中的一个AM,M为大于0的整数。
  21. 如权利要求20所述的装置,其特征在于,所述M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,所述第一信息包括至少一个子信息;
    m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,所述m个第一字段是第i个数据流中的第j个AM包括的字段,所述m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,所述m个第一子信息和m个第二子信息是所述第一信息包括的连续2m个子信息;或者,
    M个字段包括连续的M个子信息,所述M个字段包括所述M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,所述第一信息包括所述M个子信息。
  22. 如权利要求21所述的装置,其特征在于,所述每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。
  23. 如权利要求17至22任一项所述的装置,其特征在于,所述处理单元,用于:
    获取所述AM组,所述AM组包括所述第一AM,所述第一AM的第一填充部分包括所述第一信息或所述第一信息的部分,将所述AM组插入到第二数据流中以获得所述数据流;或者,
    在将AM组插入到数据流时,所述插入的AM组包括所述第一AM,在所述数据流中将所述第一AM的第一填充部分携带的内容替换为所述第一信息或所述第一信息的部分。
  24. 如权利要求17至23任一项所述的装置,其特征在于,所述第一AM还包括第一识别部分,所述第一识别部分用于指示所述第一AM对应的数据流。
  25. 一种通信装置,其特征在于,所述装置包括:
    接收单元,用于接收数据流,所述数据流包括对齐字标示AM组,所述AM组包括多个AM,所述多个AM包括第一AM,所述第一AM包括第一定界部分和第一填充部分,所述第一填充部分包括第一信息的部分或全部,所述第一信息用于指示指定功能,所述第一定界部分用于确定所述第一AM在所述数据流中的位置;
    处理单元,用于从所述AM组中获取所述第一信息。
  26. 如权利要求25所述的装置,其特征在于,所述接收的数据流包括多个,每个数据流与所述AM组中的一个或多个AM相对应,所述每个数据流分别包括所述每个数据流对应的一个或多个AM。
  27. 如权利要求26所述的装置,其特征在于,所述第一信息与第一数据流关联,所述多个数据流包括所述第一数据流,所述第一数据流中的AM包括所述第一信息,所述第一AM是所述第一数据流中的一个AM。
  28. 如权利要求26所述的装置,其特征在于,所述多个数据流中存在M个数据流,所述M个数据流中的AM包括所述第一信息,所述第一AM是所述M个数据流中的一个AM,M为大于0的整数。
  29. 如权利要求28所述的装置,其特征在于,所述M个数据流中的每个AM的填充部分包括m个字段,m是大于为0的整数,所述第一信息包括至少一个子信息;
    m个第一字段包括m个第一子信息,m个第二字段包括m个第二子信息,所述m个第一字段是第i个数据流中的第j个AM包括的字段,所述m个第二字段是第i+1个数据流中的第j个AM包括的字段,i=1、2、……、M-1,j=1、2、……、N,N是第i个数据流中的AM数目,所述m个第一子信息和m个第二子信息是所述第一信息包括的连续2m个子信息; 或者,
    M个字段包括连续的M个子信息,所述M个字段包括所述M个数据流中的每个数据流中的第j个AM中的第n个字段,n=1、2、……、m,所述第一信息包括所述M个子信息。
  30. 如权利要求29所述的装置,其特征在于,所述每个AM的填充部分的m个字段包括独特填充UP和/或填充Pad。
  31. 如权利要求25至30任一项所述的装置,其特征在于,所述接收的数据流包括多个,所述处理单元,用于:
    在对所述多个数据流进行排序后,从所述排序的多个数据流中的所述AM组获取所述第一信息;或者,
    在对所述排序的多个数据流进行解码得到至少一个第一数据块和至少一个第二数据块时,所述至少一个第一数据块和至少一个第二数据块共同包括所述第一信息,从所述至少一个第一数据块和至少一个第二数据块获取所述第一信息;或者,
    在对所述至少一个第一数据块和至少一个第二数据块进行后交织得到一路数据流时,从所述一路数据流中的所述AM组获取所述第一信息。
  32. 如权利要求25至31任一项所述的装置,其特征在于,所述第一AM还包括第一识别部分,所述第一识别部分用于指示所述第一AM所在的数据流。
  33. 一种通信设备,其特征在于,包括处理器及计算机程序,所述处理器执行所述计算机程序时,使得所述设备实现如权利要求1-16任一项所述的方法。
  34. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被计算机执行时,实现如权利要求1-16任一项所述的方法。
  35. 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序被计算机执行时,实现如权利要求1-16任一项所述的方法。
  36. 一种通信系统,其特征在于,所述通信系统包括如权利要求17至24任一项所述的装置和/或如权利要求25至32任一项所述的装置。
PCT/CN2022/073651 2021-01-25 2022-01-25 通信方法、装置、系统、存储介质及计算机程序产品 WO2022156806A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP22742283.9A EP4274128A1 (en) 2021-01-25 2022-01-25 Communication method and apparatus, and system, storage medium and computer program product
JP2023544545A JP2024504398A (ja) 2021-01-25 2022-01-25 通信方法、装置、及びシステム、記憶媒体、並びにコンピュータプログラム製品
US18/357,398 US20230370191A1 (en) 2021-01-25 2023-07-24 Communication method, apparatus, and system, storage medium, and computer program product

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110099756 2021-01-25
CN202110099756.6 2021-01-25
CN202110185523.8A CN114793147A (zh) 2021-01-25 2021-02-10 通信方法、装置、系统、存储介质及计算机程序产品
CN202110185523.8 2021-02-10

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/357,398 Continuation US20230370191A1 (en) 2021-01-25 2023-07-24 Communication method, apparatus, and system, storage medium, and computer program product

Publications (1)

Publication Number Publication Date
WO2022156806A1 true WO2022156806A1 (zh) 2022-07-28

Family

ID=82460678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073651 WO2022156806A1 (zh) 2021-01-25 2022-01-25 通信方法、装置、系统、存储介质及计算机程序产品

Country Status (5)

Country Link
US (1) US20230370191A1 (zh)
EP (1) EP4274128A1 (zh)
JP (1) JP2024504398A (zh)
CN (1) CN114793147A (zh)
WO (1) WO2022156806A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024078048A1 (zh) * 2022-10-13 2024-04-18 华为技术有限公司 一种数据处理方法和数据处理装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453028A (zh) * 2013-09-13 2017-02-22 华为技术有限公司 传输数据的方法和装置
US20190097748A1 (en) * 2017-09-22 2019-03-28 Cisco Technology, Inc. Security protection of terabit ethernet pcs layer using alignment markers
CN112039638A (zh) * 2019-06-04 2020-12-04 华为技术有限公司 指示故障状态的方法和装置
CN112039629A (zh) * 2019-06-04 2020-12-04 华为技术有限公司 一种以太网数据传输的方法和通信设备
CN112039628A (zh) * 2019-06-04 2020-12-04 华为技术有限公司 数据处理方法和通信设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453028A (zh) * 2013-09-13 2017-02-22 华为技术有限公司 传输数据的方法和装置
US20190097748A1 (en) * 2017-09-22 2019-03-28 Cisco Technology, Inc. Security protection of terabit ethernet pcs layer using alignment markers
CN112039638A (zh) * 2019-06-04 2020-12-04 华为技术有限公司 指示故障状态的方法和装置
CN112039629A (zh) * 2019-06-04 2020-12-04 华为技术有限公司 一种以太网数据传输的方法和通信设备
CN112039628A (zh) * 2019-06-04 2020-12-04 华为技术有限公司 数据处理方法和通信设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024078048A1 (zh) * 2022-10-13 2024-04-18 华为技术有限公司 一种数据处理方法和数据处理装置

Also Published As

Publication number Publication date
JP2024504398A (ja) 2024-01-31
CN114793147A (zh) 2022-07-26
US20230370191A1 (en) 2023-11-16
EP4274128A1 (en) 2023-11-08

Similar Documents

Publication Publication Date Title
US6363077B1 (en) Load balancing in link aggregation and trunking
US9942064B2 (en) Data processing method and apparatus
US8984380B2 (en) Method and system for operating a communication circuit configurable to support one or more data rates
US8385374B1 (en) Multilane communication device
US9992125B2 (en) Single-lane, twenty-five gigabit ethernet
US10404623B2 (en) Multiple ethernet ports and port types using a shared data path
US20140376566A1 (en) 128 Gigabit Fibre Channel Physical Architecture
US6539051B1 (en) Parallel framer and transport protocol with distributed framing and continuous data
CN101204070A (zh) 用于pci express设备的并行数据完整性校验的方法
US20230370191A1 (en) Communication method, apparatus, and system, storage medium, and computer program product
US11805042B2 (en) Technologies for timestamping with error correction
WO2021109702A1 (zh) 一种数据流处理方法及装置
EP1700224B1 (en) Receiver corporation
JP2007517334A (ja) ポイントツーポイントリンクを処理する非データ符号を介したバッファ管理
Tomori et al. Kyokko: a vendor-independent high-speed serial communication controller
US6642865B2 (en) Scalable interface and method of transmitting data thereon
Yang et al. SDPR: Improving latency and bandwidth in on-chip interconnect through simultaneous dual-path routing
US9253120B1 (en) Systems and methods for high speed data processing at a network port
EP3996330A1 (en) Method for improving transmission speed, processor, network device, and network system
Glass Fibre Channel: leveraging a commercial networking technology for military applications
Sarman et al. RIBiT: Reduced Intra-flit Bit Transitions for Bufferless NoC
CN118118417A (zh) 数据传输方法、装置、介质及电子设备
Moulin et al. Error exponents for channel coding with side information
CN115766046A (zh) 一种数据传输方法、设备、可读存储介质和芯片系统
Yadav et al. Design and VLSI Implementation of HDLC Controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22742283

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023544545

Country of ref document: JP

Ref document number: MX/A/2023/008665

Country of ref document: MX

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112023014706

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2022742283

Country of ref document: EP

Effective date: 20230802

ENP Entry into the national phase

Ref document number: 112023014706

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20230721

NENP Non-entry into the national phase

Ref country code: DE