WO2023083175A1 - Procédé de transmission de paquets et appareil de communication - Google Patents

Procédé de transmission de paquets et appareil de communication Download PDF

Info

Publication number
WO2023083175A1
WO2023083175A1 PCT/CN2022/130613 CN2022130613W WO2023083175A1 WO 2023083175 A1 WO2023083175 A1 WO 2023083175A1 CN 2022130613 W CN2022130613 W CN 2022130613W WO 2023083175 A1 WO2023083175 A1 WO 2023083175A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
packet
network device
client
data
Prior art date
Application number
PCT/CN2022/130613
Other languages
English (en)
Chinese (zh)
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 华为技术有限公司
Publication of WO2023083175A1 publication Critical patent/WO2023083175A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • H04L12/43Loop networks with decentralised control with synchronous transmission, e.g. time division multiplex [TDM], slotted rings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/111Switch interfaces, e.g. port details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/60Software-defined switches

Definitions

  • the present application relates to the technical field of communication, and in particular to a message transmission method and a communication device.
  • Store-and-forward is a forwarding technology that has been used by standard Ethernet since its birth. It means that each receiving-side device in the network completely receives and stores the message, then performs table lookup processing on it, and forwards it after finding the outgoing port. .
  • Channel forwarding refers to forwarding according to the mapping relationship of service ingress and egress ports, and forwarding according to the configuration table, which is a forwarding technology based on code blocks. Store-and-forward and channel-forward are performed on different ports, and the two ports are independent and incompatible with each other.
  • the number of packets to be transmitted in store-and-forward and channel-forwarding may be different. There is a phenomenon that one port is idle, and the packets of the other port cannot be sent in time. The port utilization rate is poor, and packets cannot be transmitted flexibly.
  • the present application provides a message transmission method and a communication device, which can improve port resource utilization and flexibly send messages.
  • the embodiment of the present application provides a message transmission method, and the execution body of the method may be a first network device, or may be a chip applied in the first network device.
  • the description below takes the execution subject as an example of the first network device.
  • the method includes: the first network device determines the first packet and the second packet. Wherein, the first message includes data of common services, and the second message includes data of hard-isolated services. Then, the first network device sends the first packet and the second packet in the same cycle through its first port.
  • the first network device can send more first packets, or, conversely, when the number of first packets decreases or no first packets are sent, if the number of second packets is large, The first network device can send more second packets, avoid idle ports, improve port utilization, and flexibly transmit packets.
  • the first packet includes a first field.
  • the first field indicates the type of the first packet, for example, indicates that the type of the first packet is a common packet.
  • the second packet includes a second field.
  • the second field indicates the type of the second message, such as indicating that the type of the second message is a hard-isolated message, so that the receiving end device, such as the second network device, determines the received message through the first field or the second field The type of the message.
  • the first field is carried in the preamble part of the first packet, or the first field is carried in the overhead OH field of the first packet.
  • the second field is carried in the preamble part of the second packet, or the second field is carried in the OH field of the second packet.
  • the first packet further includes a first identifier.
  • the first identifier is used to identify the first client, and the message of the first client includes the first message.
  • the first identifier indicates which client's message the first message is.
  • the first data unit includes a first code block.
  • the first data unit is one or more data units in the second message
  • the first code block is a code block after encoding the service data of the target customer
  • the target customer is a second customer among at least one second customer
  • the data in the second message includes service data of all the second customers in the at least one second customer.
  • the second packet carries at least one data unit, and one or more data units in the at least one data unit carry service data of a second client.
  • the packet transmission method in the embodiment of the present application further includes: the first network device determines the first code block in the first data unit according to the first information.
  • the first information indicates the corresponding relationship between the first data unit and the target client, so that the first network device encapsulates the second packet.
  • the encoded lengths of the first packet and the second packet are the same, for example, the payloads of the first packet and the second packet carry the same number of code blocks.
  • the encoding includes at least one of the following: 64B/66B, 66B/65B, or 64B/65B.
  • the first network device sends the first message and the second message in the same period through its first port, including: the first network device transmits the first message through the first port according to the second information
  • the first packet is sent in a time unit
  • the second packet is sent in a second time unit.
  • the second information indicates the positions of the first time unit and the second time unit in the cycle.
  • the position of each time unit in the cycle is preconfigured, and the first network device only needs to transmit the first packet and the second packet according to the preconfigured time unit position.
  • the first network device sends the first message and the second message in the same period through its first port, including: the first network device transmits the first message and the second message according to the second information and the third information through the first The port sends the first packet in the unoccupied first time unit, and sends the second packet in the unoccupied second time unit.
  • the second information indicates the configured quantity of the first time unit and the second time unit in the period
  • the third information indicates the unoccupied quantity of the first time unit and the second time unit in the period.
  • the number of each time unit in the period is preconfigured, but the position is not fixed, and the first network device transmits the first packet and the second packet according to the preconfigured number of time units. For example, at a certain moment, only the encapsulation of the first packet is completed, and the number of time units corresponding to the client in the first packet is greater than zero, then the first packet is sent. For another example, at a certain moment, only the encapsulation of the second packet is completed, and the number of time units corresponding to the client in the second packet is greater than zero, the second packet is sent to improve the flexibility of packet transmission.
  • the second time unit where the second packet is located is earlier than the first time unit where the first packet is located.
  • the generation time of the second packet is the same as that of the first packet, or the generation time of the second packet is earlier than the generation time of the first packet.
  • the first network device will send the second packet first, and then send the first packet, so as to ensure the delay requirement of the hard isolation service.
  • the second time unit where the second message is located is later than the first time unit where the first message is located, and the generation time of the second message is later than the generation time of the first message. That is to say, if the encapsulation of the second packet is not completed but the encapsulation of the first packet is completed, the first network device first sends the first packet and then sends the second packet, so as to avoid idle ports.
  • the second information is determined based on the service bandwidth of the first client and the service bandwidth of the second client.
  • the message of the first client includes the first message
  • the data in the second message includes the service data of the second client.
  • the greater the service bandwidth of the first client the greater the number of first time units correspondingly.
  • the greater the service bandwidth of the second client the greater the number of second time units correspondingly.
  • the packet transmission method in this embodiment of the present application further includes: the first network device determines the third packet.
  • the third message is a message of the third client, and the type of the third message is the same as that of the first message.
  • the first network device periodically sends the third packet through its first port.
  • the third message is transmitted through a third time unit, the third time unit is configured to transmit the message of the first client, and the third time unit is in an idle state, and the message of the first client includes the first message.
  • the third time unit can also transmit messages from other clients, such as a message from the third client, so as to implement statistical multiplexing and improve resource utilization.
  • the embodiment of the present application provides a packet transmission method, and the execution subject of the method may be the second network device, or may be a chip applied in the second network device.
  • the following description is made by taking the execution subject as an example of the second network device.
  • the method includes: the second network device receives the first message and the second message in the same period through its second port. Wherein, the first message includes data of common services, and the second message includes data of hard-isolated services. Then, the second network device forwards the service data in the first message according to the type of the first message, and forwards the service data in the second message according to the type of the second message.
  • the second network device forwarding the service data in the first packet according to the type of the first packet includes: the second network device determining a store-and-forward mode according to the type of the first packet. The second network device forwards the service data in the first packet in a store-and-forward manner.
  • the second network device forwards the service data in the first packet in a store-and-forward manner.
  • the first packet includes a first field.
  • the first field indicates the type of the first packet.
  • the first field is carried in the preamble part of the first packet, or the first field is carried in the overhead OH field of the first packet.
  • the second network device forwards the service data in the second message according to the type of the second message, including: the second network device determines the channel forwarding mode according to the type of the second message, and the second The second network device forwards the service data of each second customer in the at least one second customer in a channel forwarding manner.
  • the data in the second message includes service data of all second customers in at least one second customer.
  • the second network device forwards the service data in the second packet in a channel forwarding manner.
  • the second packet includes a second field.
  • the second field indicates the type of the second packet.
  • the second field is carried in the preamble part of the second packet, or the second field is carried in the OH field of the second packet.
  • the embodiment of the present application provides a communication device, which may be the first network device in the above first aspect or any possible design of the first aspect, or a chip that realizes the functions of the above first network device
  • the communication device includes corresponding modules, units, or means (means) for implementing the above method, and the modules, units, or means can be implemented by hardware, software, or by executing corresponding software through hardware.
  • the hardware or software includes one or more modules or units corresponding to the above functions.
  • the communication device includes a processing unit and a sending unit.
  • the processing unit is configured to determine the first packet and the second packet.
  • the first message includes data of common services
  • the second message includes data of hard-isolated services.
  • the sending unit is configured to send the first message and the second message in the same cycle through its first port.
  • the first packet includes a first field.
  • the first field indicates the type of the first packet, for example, indicates that the type of the first packet is a common packet.
  • the second packet includes a second field. Wherein, the second field indicates the type of the second packet.
  • the first field is carried in the preamble part of the first packet, or the first field is carried in the overhead OH field of the first packet.
  • the second field is carried in the preamble part of the second packet, or the second field is carried in the OH field of the second packet.
  • the first packet further includes a first identifier.
  • the first identifier is used to identify the first client, and the message of the first client includes the first message.
  • the first data unit includes a first code block.
  • the first data unit is one or more data units in the second packet.
  • the first code block is a code block after encoding service data of a target customer, and the target customer is a second customer among at least one second customer.
  • the data in the second message includes service data of all the second clients in the at least one second client.
  • the processing unit is further configured to determine the first code block in the first data unit according to the first information.
  • the first information indicates the corresponding relationship between the first data unit and the target customer.
  • the encoded lengths of the first packet and the second packet are the same.
  • the encoding includes at least one of the following: 64B/66B, 66B/65B, or 64B/65B.
  • the sending unit is configured to send the first message and the second message in the same period through its first port, specifically including: according to the second information, sending the first message through the first port at the first time unit The first packet is sent at the time unit, and the second packet is sent at the second time unit.
  • the second information indicates the positions of the first time unit and the second time unit in the cycle.
  • the sending unit is configured to send the first message and the second message in the same cycle through its first port, specifically including: according to the second information and the third information, through the first port at The first message is sent on the unoccupied first time unit, and the second message is sent on the unoccupied second time unit.
  • the second information indicates the configured quantity of the first time unit and the second time unit in the period
  • the third information indicates the unoccupied quantity of the first time unit and the second time unit in the period.
  • the second time unit where the second packet is located is earlier than the first time unit where the first packet is located.
  • the generation time of the second packet is the same as that of the first packet, or the generation time of the second packet is earlier than the generation time of the first packet.
  • the second time unit where the second message is located is later than the first time unit where the first message is located, and the generation time of the second message is later than the generation time of the first message.
  • the second information is determined based on the service bandwidth of the first client and the service bandwidth of the second client.
  • the data in the first message includes the service data of the first customer
  • the data in the second message includes the service data of the second customer.
  • the processing unit is also configured to determine the third packet.
  • the third message is a message of the third client, and the type of the third message is the same as that of the first message.
  • the sending unit is further configured to send the third message in a period through the first port.
  • the third message is transmitted through a third time unit, the third time unit is configured to transmit the message of the first client, and the third time unit is in an idle state.
  • the messages of the first client include the first message.
  • the embodiment of the present application provides a communication device, which may be the second network device in the above-mentioned second aspect or any possible design of the second aspect, or a chip that realizes the functions of the above-mentioned second network device
  • the communication device includes corresponding modules, units, or means (means) for implementing the above method, and the modules, units, or means can be implemented by hardware, software, or by executing corresponding software through hardware.
  • the hardware or software includes one or more modules or units corresponding to the above functions.
  • the communication device includes a receiving unit, a processing unit and a sending unit.
  • the receiving unit is configured to receive the first message and the second message in the same cycle through its second port.
  • the first message includes data of common services
  • the second message includes data of hard-isolated services.
  • the sending unit is configured to forward the service data in the first message according to the type of the first message, and forward the service data in the second message according to the type of the second message.
  • the sending unit is configured to forward the service data in the first message according to the type of the first message, and specifically includes: a processing unit configured to determine the storage and forwarding according to the type of the first message Way.
  • a sending unit configured to forward the service data in the first message in a store-and-forward manner.
  • the first packet includes a first field.
  • the first field indicates the type of the first packet.
  • the first field is carried in the preamble part of the first packet, or the first field is carried in the overhead OH field of the first packet.
  • the sending unit is configured to forward the service data in the second message according to the type of the second message, including: a processing unit configured to determine the channel forwarding mode according to the type of the second message .
  • the sending unit is configured to forward the service data of each second customer in the at least one second customer in a channel forwarding manner.
  • the data in the second message includes service data of all second customers in at least one second customer.
  • the second packet includes a second field.
  • the second field indicates the type of the second packet.
  • the second field is carried in the preamble part of the second packet, or the second field is carried in the OH field of the second packet.
  • the embodiment of the present application provides a communication device, including: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device performs any of the above aspects or any In one aspect, a method performed by the first network device in any possible design.
  • the communication device may be the first network device in the first aspect or any possible design of the first aspect, or a chip implementing the functions of the first network device above.
  • an embodiment of the present application provides a communication device, including: a processor; the processor is coupled to a memory, and is used to read and execute instructions in the memory, so that the communication device performs any of the above aspects Or a method executed by the first network device in any possible design of any aspect.
  • the communication device may be the first network device in the first aspect or any possible design of the first aspect, or a chip implementing the functions of the first network device above.
  • the embodiment of the present application provides a chip, including a processing circuit and an input/output interface.
  • the input and output interface is used to communicate with modules other than the chip, for example, the chip may be a chip that implements the function of the first network device in the first aspect or any possible design of the first aspect.
  • the processing circuit is used to run computer programs or instructions to implement the method in the above first aspect or any possible design of the first aspect.
  • the embodiment of the present application provides a communication device, including: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device performs any of the above aspects or any In one aspect, a method performed by the second network device in any possible design.
  • the communication device may be the second network device in the above-mentioned second aspect or any possible design of the second aspect, or a chip that implements the functions of the above-mentioned second network device.
  • an embodiment of the present application provides a communication device, including: a processor; the processor is coupled to a memory, and is used to read and execute instructions in the memory, so that the communication device performs any of the above aspects Or a method executed by the second network device in any possible design of any aspect.
  • the communication device may be the second network device in the above-mentioned second aspect or any possible design of the second aspect, or a chip that implements the functions of the above-mentioned second network device.
  • the embodiment of the present application provides a chip, including a processing circuit and an input/output interface.
  • the input and output interface is used to communicate with modules other than the chip, for example, the chip may be a chip that implements the function of the second network device in the second aspect or any possible design of the second aspect.
  • the processing circuit is used to run computer programs or instructions to implement the method in the above second aspect or any possible design of the second aspect.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it is run on a computer, the computer can execute any one of the above-mentioned aspects. method.
  • the embodiment of the present application provides a computer program product containing instructions, which when run on a computer, enables the computer to execute the method in any one of the above aspects.
  • the embodiment of the present application provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute the method according to any one of the foregoing aspects.
  • an embodiment of the present application provides a communication system, where the communication system includes the first network device and the second network device in any one of the foregoing aspects.
  • Fig. 1 is a kind of network architecture diagram that the embodiment of the present application applies;
  • Figure 2a is a schematic diagram of a coding format provided by the embodiment of the present application.
  • Fig. 2b is a schematic diagram of another encoding format provided by the embodiment of the present application.
  • FIG. 3a is a schematic diagram of a communication scenario provided by an embodiment of the present application.
  • FIG. 3b is a schematic diagram of another communication scenario provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a port form provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a message transmission method provided by an embodiment of the present application.
  • FIG. 6a is a schematic diagram of a message structure provided by an embodiment of the present application.
  • FIG. 6b is a schematic diagram of another message structure provided by the embodiment of the present application.
  • FIG. 6c is a schematic diagram of another message structure provided by the embodiment of the present application.
  • FIG. 6d is a schematic diagram of another message structure provided by the embodiment of the present application.
  • FIG. 6e is a schematic diagram of another message structure provided by the embodiment of the present application.
  • FIG. 7a is a schematic diagram of a message encapsulation process provided by an embodiment of the present application.
  • FIG. 7b is a schematic diagram of another packet encapsulation process provided by the embodiment of the present application.
  • FIG. 8 is a schematic flowchart of another message transmission method provided by an embodiment of the present application.
  • FIG. 9a is a schematic diagram of a message transmission scenario provided by an embodiment of the present application.
  • FIG. 9b is a schematic diagram of another message transmission scenario provided by the embodiment of the present application.
  • FIG. 10 is a schematic flowchart of another message transmission method provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • first and second in the specification and drawings of the present application are used to distinguish different objects, or to distinguish different processes for the same object, rather than to describe a specific sequence of objects.
  • the terms “including” and “having” mentioned in the description of the present application and any variations thereof are intended to cover non-exclusive inclusion.
  • a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also includes Other steps or elements inherent to the process, method, product or apparatus are included.
  • words such as “exemplary” or “for example” are used as examples, illustrations or descriptions.
  • the applicable network architecture of this embodiment of the present application is shown in FIG. 1 , and the network architecture includes a client device and a network device.
  • FIG. 1 shows four client devices, such as client device 101 , client device 102 , client device 103 , and client device 104 .
  • the network device includes a provider edge (provider edge, PE) device and a provider (provider, P) device.
  • PE provider edge
  • P provider
  • FIG. 1 shows two PE devices (PE device 105 and PE device 106 ) and one P device, and the P device is communicatively connected to the PE device 105 and the PE device 106 respectively.
  • Both the client device 101 and the client device 102 are connected in communication with the PE device 105
  • the client device 103 and the client device 104 are both connected in communication with the PE device 106 .
  • the client device may be a router or a switch, or a host.
  • the PE device may be an edge router of a service provider, which is an edge device of a service provider network and is directly connected to a customer device.
  • the P device may be a backbone router in the service provider's network, and is not directly connected to the client device. This embodiment of the present application does not limit the implementation forms of the client device and the network device.
  • each device bears one or more services.
  • the services borne by a certain device may be one or more of services such as mail services, web page services, and instant messaging services.
  • a client device may carry one type of service or multiple types of services, and regardless of one type of service or multiple types of services, these services all correspond to the same client.
  • a network device (such as the above-mentioned PE device and P device), a network device can carry one type of service or multiple types of services, regardless of one type of service or multiple types of services, and these services correspond to multiple clients.
  • An M-bit/N-bit block may also be referred to as an M-bit/N-bit coding block, an M/N-bit coding block, or an M/N-bit block.
  • M represents the coded input
  • N represents the coded output. Both M and N are positive integers, and M ⁇ N.
  • 64B/66B short for 64/66bit block, refers to the 64B/66B block defined by IEEE 802.3.
  • a 2-bit synchronization header (sync) is added according to whether it is control information or service data information.
  • 0b10 represents a control code block
  • 0b01 represents a data code block
  • other types of sync headers represent invalid code blocks.
  • a block type field (Block Type Field) is also included to indicate the block type.
  • the value of the block type field includes 0x1E, 0x78, 0x4B, 0x87, 0x99, 0xAA, 0xB4, 0xCC, 0xD2, 0xE1 or 0xFF, as shown in FIG. 2a.
  • 64B/65B short for 64/65bit block, refers to the 64B/65B block defined by IEEE 802.3. Specifically, on the basis of 64B/66B, a 2-bit sync header is compressed into a coding block formed by 1 bit. Or, encode directly on the basis of 64bit input and add a 1bit sync header. 64B/65B is shown in Figure 2b.
  • Hard isolation services refer to services that require isolation. For example, refer to Table a. If a certain service requires isolation, the service is a hard isolation service. Optionally, hard isolation services may also have requirements on indicators such as delay and jitter. For example, the delay of the hard isolation service is less than or equal to 100us. For another example, the jitter of the hard isolation service is less than or equal to 10 ns.
  • Ordinary services refer to services that do not require all of the three indicators of isolation, delay, and jitter, as shown in the last row in Table a.
  • the common service may also be a service for which the network provides a best-effort service, that is, a service that has no guarantee for delay, jitter, and isolation.
  • the service type refers to common service or hard isolation service.
  • the service type of mail service and webpage service is common service
  • the service type of instant messaging service (such as video conferencing service) is hard isolation service.
  • a hard-isolation packet refers to a packet encapsulated by hard-isolation service data.
  • the service data in the hard isolation message is the data of the hard isolation service.
  • the service data in a hard isolation message may come from one client or multiple clients, which is not limited in this embodiment of the present application.
  • Ordinary packets refer to packets encapsulated by ordinary service data.
  • the service data in the ordinary message is the data of the ordinary service.
  • the business data in a normal message comes from a client.
  • the packet type refers to a common packet or a hard-isolated packet.
  • Hard isolation means that when the link bandwidth is allocated to a service, even if the service has no data to send, the link bandwidth will not be used by other services.
  • the network device uses time division technology, frequency division technology, etc. to isolate different services from each other during transmission, so that delay, jitter, bandwidth, etc. do not affect each other. That is to say, network devices need to adopt technologies that support hard isolation features, such as time slotting technology, to be able to forward packets of hard isolation services.
  • Statistical multiplexing means that when the link bandwidth is allocated to a service, the link bandwidth can be used by other services when no data is sent for the service.
  • the technology adopted by network devices needs to support statistical multiplexing, such as packet technology, which can improve resource utilization when forwarding packets of common services.
  • the packet technology supports the feature of statistical multiplexing, but does not support the feature of hard isolation.
  • the time slotting technology supports hard isolation but does not support statistical multiplexing.
  • Store-and-forward is the forwarding technique that standard Ethernet has used since its inception.
  • Store-and-forward means that after each receiving device in the network completely receives and stores the message, it performs table lookup processing to find the outgoing port of the message and forwards the message through the outgoing port, as shown in Figure 3a.
  • the receiving side device may be the network device in FIG. 3a, such as PE device 105, PE device 106, P device 107, or P device 108, and so on.
  • store and forward can also be called Layer 2 forwarding, packet forwarding, or destination forwarding.
  • the port used for storing and forwarding on the receiving side device is called a message port, and the port form is shown in FIG. 4 .
  • the packet port can be a native Ethernet port, such as an interface that uses unchanged Ethernet technology to implement packet-level forwarding. Network devices send Ethernet frames through message ports.
  • Channel forwarding means that each receiving-side device in the network forwards according to the mapping relationship between the outbound port and inbound port of the service, without recovering the complete message, as shown in Figure 3b.
  • the receiving side device may be the network device shown in FIG. 3 b , such as PE device 105 , PE device 106 , P device 107 , or P device 108 .
  • Channel forwarding is a time-slotted technology. Channel forwarding can also be called layer 1.5 forwarding, or channel forwarding.
  • the port used for channel forwarding on the receiving side device is called a slotted port, and the port form is shown in FIG. 4 .
  • the time-slotted port may be an interface that uses a modified Ethernet technology, such as a flexible Ethernet (flex ethernet, FlexE) technology, to implement block-level forwarding.
  • a network device sends slotted frames through a slotted port.
  • the slotted frame is a frame of a structure, that is, a frame of a slotted frame structure.
  • a frame or a packet refers to an Ethernet frame.
  • only the name of message is used as an example for introduction.
  • the packet port and the slotted port are independent and incompatible with each other.
  • the same network device needs to have the above two ports to be able to forward the messages of the two services (that is, common services and hard-isolated services).
  • the number of packets to be transmitted may be different. If there is no packet to be forwarded by a certain forwarding method, the corresponding port is idle, and there are many packets to be forwarded by another forwarding method, the packets of the corresponding port cannot be sent in time, the utilization of the port is poor, and the network device cannot flexibly transmit message.
  • the embodiment of the present application provides a packet transmission method, and the packet transmission method of the embodiment of the present application is applied to the network architecture in FIG. 1 , FIG. 3a or FIG. 3b.
  • the first network device determines the first packet and the second packet.
  • the first message includes data of common services
  • the second message includes data of hard-isolated services.
  • the first network device sends the first packet and the second packet in the same cycle through the first port.
  • the first port is a port on the first network device.
  • the first network device can send more first packets, or, conversely, when the quantity of the first packets is reduced or no first packets are sent, if the quantity of the second packets is less than more, the first network device can send more second packets, avoiding idle ports, improving port utilization, and more flexible packet transmission.
  • the first network device determines the first packet and the second packet.
  • the first network device may be the PE device 105 or the P device.
  • the first network device may be PE device 106 or P device.
  • the first network device is implemented as the PE device 105 as an example for introduction.
  • the type of the first message is different from the type of the second message.
  • the introduction of the first packet is as follows: the first packet includes data of common services.
  • the data of common services in the first message comes from the first client.
  • the first client may be a client corresponding to the client device 101 .
  • the client device 101 sends the service data of the first client to the PE device 105 .
  • the PE device 105 receives service data of the first client from the client device 101 .
  • the PE device 105 encapsulates the service data of the first client into a first packet.
  • the first packet indicates the packet type through a field.
  • the first packet includes a first field.
  • the first field indicates the type of the first packet, for example, the value of the first field is 0x55.
  • the first message includes a preamble (preamble) field, a frame start delimiter (start frame delimiter, SFD) field, an overhead (overhead, OH) field, a load field and a cyclic redundancy check ( cyclic redundancy check, CRC) field.
  • a preamble preamble
  • SFD frame start delimiter
  • overhead overhead
  • OH overhead
  • load load
  • CRC cyclic redundancy check
  • the first field is carried in the OH field of the first packet, for example, the first field is carried in the last field in the OH.
  • the first packet further includes a first identifier.
  • the first identifier is used to identify the first client, so as to identify which client the first message is.
  • the first identifier is carried in the OH field.
  • the first identifier can be recorded as a fine-granularity client identity (fgClientID), which occupies 2 fields, namely 16 bits, and the value range is 0 to 2 ⁇ 16-1.
  • fgClientID fine-granularity client identity
  • the first identifier occupies the first two fields in the OH field.
  • the third field in the OH field, field 2 in Figure 6a is reserved.
  • the process of encapsulating the first packet by the first network device is as follows:
  • the first network device performs 64B/66B encoding on the MAC frame to form code block sequence 1. Wherein, each code block in the code block sequence 1 is 66 bits. Then, the first network device performs synchronization header compression on code block sequence 1 to form code block sequence 2 . Wherein, each code block in the code block sequence 2 is 65 bits. Alternatively, the first network device performs 64B/65B encoding on the MAC frame to form code block sequence 3 . Wherein, each code block in the code block sequence 3 is 65 bits.
  • media access control media access control
  • the first network device processes some or all of the code blocks in the code block sequence 2 (or code block sequence 3) to obtain the payload part of the first message.
  • the payload part of the first packet includes a start (start, S) code block, multiple data (data, D) code blocks, and an end (terminal, T) code block.
  • start, S start
  • D data
  • T end
  • the S code block and the T code block are used to determine a complete message.
  • the D code block is used to carry the payload data in the message.
  • the introduction of the second message is as follows: the second message includes the data of the hard isolation service.
  • the data of the hard isolation service in the second packet comes from the second client.
  • the second client may be a client corresponding to the client device 102 .
  • the client device 102 sends the service data of the second client to the PE device 105 .
  • the PE device 105 receives the service data of the second client from the client device 102 .
  • the PE device 105 encapsulates the service data of the second client into a second packet.
  • the second packet indicates the packet type through a field.
  • the second packet includes a second field.
  • the second field indicates the type of the second packet, for example, the value of the second field is 0x66.
  • the second packet includes a preamble field, an SFD field, an OH field, a payload field, and a CRC field.
  • the second field is carried in the preamble part of the second packet.
  • the second field is carried in the OH field of the second message, for example, the second field is carried in the last field in OH, or the second field is carried in the second field in OH, namely
  • the location of field 1 is not limited in this embodiment of the present application.
  • the second packet further includes a multiframe indicator (multiframe indicator, MFI).
  • MFI multiframe indicator
  • the MFI indicates that the second packet is a multiframe.
  • the introduction of the multiframe is as follows: a multiframe includes multiple data units, and different data units correspond to different time slots. Different data units carry service data transmitted in corresponding time slots. For example, taking 96 data units as an example, the first data unit carries the business data transmitted in time slot 0, the second data unit carries the business data transmitted in time slot 1, and so on until the 96th data The unit carries the service data transmitted in the time slot 95. For details, refer to the relevant description of the load of the second message, and details will not be repeated here.
  • the data unit can also be described as a basic frame, fine-granularity slot (fgSlot) data, or slot data, etc. In this embodiment of the application, a data unit is used as an example for introduction.
  • MFI may occupy 1 field, that is, 8 bits, and the value range is 0-19.
  • the MFI is carried in the first field in the OH field.
  • the MFI may also be carried in the second field or the third field in the OH field, which is not limited in this embodiment of the present application.
  • the positions of the first field and the second field in the packet may be the same.
  • the first field is carried in the preamble part of the first packet, and the second field is also carried in the preamble part of the second packet.
  • the first field is carried in the OH field of the first packet, and the second field is also carried in the OH field of the second packet.
  • the positions of the first field and the second field in the message may also be different.
  • the first field is carried in the preamble part of the first packet, and the second field is carried in the OH field of the second packet.
  • the first field is carried in the OH field of the first packet, and the second field is carried in the preamble part of the second packet, which is not limited in this embodiment of the present application.
  • the payload in the second message is introduced as follows: the payload part includes one or more data units, as shown in FIG. 6e, the payload part includes 96 data units, respectively marked as fgSlot0 ⁇ fgSlot95.
  • one data unit corresponds to one second client, and different data units correspond to different second clients.
  • one or more data units may correspond to the same second client.
  • Different data units carry service data transmitted in different time slots. Taking Table 1 as an example, Table 1 shows 96 client numbers and 96 time slot indexes, and the client numbers correspond to the time slot indexes one by one. Different customer numbers represent different second customers. Different slot indices identify different slots.
  • the time slot index 0 corresponds to the time slot for transmitting the service data of the client number fgClient0
  • the time slot index 1 corresponds to the time slot for transmitting the service data of the client number fgClient1. Others can be deduced in this way until the time slot corresponding to the time slot index 95 transmits the service data of the client number fgClient95.
  • the payload part of the second message includes 96 data units, and each data unit transmits service data transmitted in one time slot.
  • the first data unit that is, the data unit identified by fgSlot0
  • the service data of the client number fgClient0 that is, the service data of the client number fgClient0.
  • the second data unit that is, the data unit identified by fgSlot1
  • client number slot index fgClient0 0, 1 fgClient1 2, 3 ... ... fgClient46 92, 93 fgClient47 94,95
  • time slot indexes 0 and 1 correspond to time slots for transmitting service data of client number fgClient0
  • time slot indexes 2 and 3 correspond to time slots for transmitting service data of client number fgClient1. Others can be deduced in this way until the time slot indexes 94 and 95 correspond to the time slots for transmitting the service data of the client number fgClient47.
  • the payload part of the second message includes 96 data units, and each data unit transmits service data transmitted in one time slot.
  • the first data unit that is, the data unit identified by fgSlot0
  • the service data of the client number fgClient0 that is, the service data of the client number fgClient0.
  • the second data unit that is, the data unit identified by fgSlot1
  • Table 2 only uses two data units corresponding to the same second client as an example for introduction. Of course, three or more data units may also correspond to the same second client. Moreover, for different second clients, the number of data units corresponding to different second clients may be the same, as shown in Table 1 or Table 2. Alternatively, the number of data units corresponding to different second clients may also be different. For example, the second client identified by the client number fgClient0 corresponds to one data unit, the second client identified by the client number fgClient1 corresponds to two data units, and the second client identified by the client number fgClient2 corresponds to three data units. limited.
  • each data unit For each data unit, each data unit includes encoded code blocks corresponding to the customer's service data. Each data unit includes at least one code block. For the code blocks in the same data unit, the code blocks are obtained by encoding the service data of the same client.
  • the encoding format adopted by the first network device may be 64B/65B, or 64B/66B and 66B/65B.
  • the first network device determines the first code block in the first data unit according to the first information.
  • the first information indicates the corresponding relationship between the first data unit and the target customer.
  • the first information may be Table 1 or Table 2.
  • the first information is Table 1 as an example for introduction. It should be understood that the first information may also have other names, such as a time slot configuration table for hard-isolated services, which is not limited in this embodiment of the present application.
  • the first data unit may be the data unit identified by fgSlot0 in Table 1.
  • the target client is the second client identified by the client number fgClient0.
  • the first network device performs 64B/66B encoding on the MAC frame to form code block sequence 4 .
  • each code block in the code block sequence 4 is 66 bits.
  • the first network device performs synchronization header compression on the code block sequence 4 to form a code block sequence 5 .
  • each code block in the code block sequence 5 is 65 bits.
  • the first network device performs 64B/65B encoding on the MAC frame to form code block sequence 6 .
  • each code block in the code block sequence 6 is 65 bits.
  • every two adjacent code blocks are processed and carried in the same data unit, that is, the data unit identified by fgSlot0.
  • the first network device still adopts the above processing procedure until the determination of 96 data units in the load part is completed.
  • the payload part of the second message includes 2*96+2 code blocks, specifically, includes one S code block, multiple D code blocks, and one T code block.
  • the S code block and the T code block are used to determine a complete message.
  • the D code block is used to carry the payload data in the message.
  • the lengths of the encoded first packet and the second packet are the same. For example, taking the second message including 96 data units as an example, the number of code blocks in the first message and the second message are both 194, and the number of bits in each code block is the same.
  • the first network device sends the first packet and the second packet to the second network device in the same period through the first port.
  • the second network device receives the first packet and the second packet from the first network device in the same period through the second port.
  • the second network device may be the PE device 106 or the P device.
  • the second network device is the P device.
  • the second network device is a P device or a PE device 106 .
  • the second network device may be PE device 105 or P device.
  • the first network device is a PE device 106
  • the second network device is a P device.
  • the second network device is a P device or a PE device 105 .
  • the first network device is implemented as a PE device 105 and the second network device is implemented as a P device as an example for introduction.
  • the first port is a port on the first network device, for example, the first port is a sending port on the first network device.
  • the second port is a port on the second network device, for example, the second port is a receiving port on the second network device.
  • both the first port and the second port are different from the message port, and both the first port and the second port are different from the slotted port.
  • Both the first port and the second port have the following characteristics: hard isolation and statistical multiplexing. Since both the first port and the second port have the feature of hard isolation, the first port can be used to send hard-isolation packets, and the second port can be used to receive hard-isolation packets. Since both the first port and the second port have the feature of statistical multiplexing, the first port can be used to send ordinary packets, and the second port can be used to receive ordinary packets.
  • the implementation process of S502 includes the following two examples:
  • S502 includes S502a:
  • the first network device sends the first packet to the second network device at the first time unit through the first port, and sends the second packet to the second network device at the second time unit.
  • the second network device receives the first message from the first network device at the first time unit through the second port according to the second information, and receives the second packet from the first network device at the second time unit. message.
  • the first time unit and the second time unit are time units in the same period.
  • a cycle includes 25 time units as an example.
  • the duration of each time unit is the same, for example, each time unit includes 1 time slot.
  • the time unit for sending the first packet is described as the first time unit
  • the time unit for sending the second packet is described as the second time unit.
  • one time unit means one sending opportunity.
  • the second information indicates the positions of the first time unit and the second time unit in the cycle, as shown in Table 3:
  • client number The number of time units (unit: piece) The sequence number of the time unit in the cycle
  • Table 3 shows a period of port bandwidth configuration.
  • the message encapsulated by the business data of customer number 0x0001 occupies 3 time units, that is, the first to third time units in the cycle. That is to say, the message of the client number 0x0001 occupies 3 sending opportunities in the above-mentioned cycle, and is the first 3 sending opportunities in the above-mentioned cycle.
  • the message encapsulated by the business data of customer number 0x0002 occupies 1 time unit, that is, the 4th time unit in the cycle.
  • the message of the client number 0x0002 occupies one sending opportunity in the above-mentioned period, and is the fourth sending opportunity in the above-mentioned period.
  • the second message encapsulated by the service data of the customer number 0x0000 occupies 1 time unit, that is, the 5th time unit in the cycle.
  • the customer number 0x0000 refers to the second customer, which only supports the hard isolation service, and the specific customer number can be referred to Table 1 or Table 2. That is to say, the message of the client number 0x0000 occupies one sending opportunity in the above-mentioned period, and is the fifth sending opportunity in the above-mentioned period.
  • the customer numbers of other lines can be deduced by analogy, and will not be repeated here.
  • the customer number of the first customer can be a customer number in 0x0001 to 0x0007 in Table 3 , such as 0x0001.
  • the first time unit is the first 3 time units in the above period.
  • the second client is identified by 0x0000 in Table 3 to represent a type of client that provides hard isolation services.
  • the second time unit is the time unit of the bold part in the above cycle.
  • the first network device sends the first message encapsulated by the business data of the customer number 0x0001 in the first to third time units in the above-mentioned cycle, and in the fifth and third time units in the above-mentioned cycle At 11, 12, 17, 23, and 24 time units, send the second packet encapsulated by the service data of the second client, as shown in FIG. 9a .
  • the first time unit is still the first 3 time units in the above cycle, and the first message is the message of customer number 0x0001. If only the package of customer number 0x0001 is completed, other customer numbers If the encapsulation of the packet is not completed, the first network device sends the packet with the client number 0x0001 in the first time unit. Conversely, if the packet encapsulation of the client ID 0x0001 and the client ID 0x0002 is completed, the first network device sends the packet in the first time unit according to the preset rule.
  • the preset rule may be the priority of the service, and determine which customer's message to send in order of priority from high to low.
  • the first network device sends the message of the client number 0x0001 in the first time unit according to the preset rule.
  • the preset rule may be the sequence of customer numbers, and the order of the customer numbers from front to back is used to determine which customer's message to send. For example, if the client number 0x0001 is ranked before the client number 0x0002, the first network device sends the message of the client number 0x0001 in the first time unit according to the preset rule. It should be understood that the above is only an introduction by taking priority or customer number sorting as an example, and the preset rules may also have other implementation forms, which are not limited in this embodiment of the present application.
  • S502 includes S502b:
  • the first network device sends the first packet to the second network device through the first port in the unoccupied first time unit, and sends the first packet to the second network device in the unoccupied second time unit.
  • the second network device sends the second packet.
  • the second network device receives the first message from the first network device at the unoccupied first time unit through the second port according to the second information and the third information, and receives the first message from the first network device at the unoccupied second time unit Receive the second packet from the first network device.
  • the second information indicates the configuration quantity of the first time unit and the second time unit in the cycle, as shown in Table 4-1:
  • client number The number of configured time units (unit: pcs) 0x0001 3 0x0002 1 0x0000 6 0x0003 5 0x0004 3 0x0005 1 0x0006 5 0x0007 1
  • Table 4-1 shows a period of port bandwidth configuration. Taking a cycle including 25 time units as an example, the message encapsulated by the business data of the customer number 0x0001 occupies 3 time units, but does not indicate the position of these 3 time units in the cycle. That is to say, the message of client number 0x0001 has 3 sending opportunities in the above cycle. The packet encapsulated by the business data of customer number 0x0002 occupies one time unit, but does not indicate the position of this time unit in the cycle. That is to say, the message of the client number 0x0002 has one sending opportunity in the above period.
  • the second message encapsulated by the service data of the customer number 0x0000 occupies 6 time units, but does not indicate the position of the time unit in the cycle. That is to say, the message of client number 0x0000 has 6 sending opportunities in the above cycle.
  • Other customer numbers can be deduced by analogy, so I won’t repeat them here.
  • the third information indicates the unoccupied quantity of the first time unit and the second time unit in the cycle, as shown in Table 4-2:
  • the first message encapsulated by the business data of customer number 0x0001 has 2 unoccupied time units. That is to say, the message of client number 0x0001 still has 2 sending opportunities in the above-mentioned cycle.
  • Other customer numbers can be deduced by analogy, so I won’t repeat them here.
  • the customer number of the first customer is still 0x0001.
  • the configuration quantity of the first time unit is 3.
  • the second client is identified by 0x0000 in Table 4-1 to represent a type of client that provides hard isolation services.
  • the configuration quantity of the second time unit is 6. Combined with Table 4-2, the unoccupied quantity in the first time unit is 2, and the unoccupied quantity in the second time unit is 5.
  • the hard-isolated service has a higher requirement on time delay.
  • the first network device preferentially sends the packets of the hard-isolated service.
  • the first network device sends the second packet first, and then sends the first packet. That is to say, the second time unit where the second packet is located is earlier than the first time unit where the first packet is located.
  • time unit 1 if the packets of client ID 0x0000 and client ID 0x0001 have been encapsulated, since the packet of client ID 0x0000 is a hard-isolated packet, the first network device first sends Packet with client number 0x0000 to ensure the delay requirement of the hard isolation service.
  • the position of the time unit 1 in the cycle is shown by a dotted box in FIG. 9b.
  • the first network device For the packet with the client number 0x0001 that has been encapsulated, the first network device sends the packet at a time unit after time unit 1, such as time unit 2. Correspondingly, time unit 1 is the second time unit, and time unit 2 is the first time unit.
  • the first network device updates Table 4-2, and the updated Table 4-2 indicates that there are still 4 unoccupied time units for the message of client number 0x0000, that is, there are still 4 sending opportunities for the message of client number 0x0000.
  • the updated Table 4-2 indicates that there is still one unoccupied time unit for the message of client number 0x0001, that is, there is still one sending opportunity for the message of client number 0x0001.
  • the first network device when the generation time of the second packet is earlier than the generation time of the first packet, the first network device also sends the second packet first, and then sends the first packet. That is to say, the second time unit where the second packet is located is earlier than the first time unit where the first packet is located.
  • time unit 1 if the packet of client number 0x0000 has been encapsulated but the packet of client number 0x0001 has not been encapsulated, the first network device first sends the packet of client number 0x0000 in time unit 1 , to ensure the delay requirements of hard-isolated services. Then, the first network device sends the packet at a time unit after time unit 1, such as time unit 2.
  • time unit 2 For other descriptions, please refer to the introduction in the previous paragraph, and will not repeat them here.
  • the first network device when the generation time of the second packet is later than the generation time of the first packet, the first network device sends the first packet first, and then sends the second packet. That is to say, the second time unit where the second packet is located is later than the first time unit where the first packet is located. Specifically, still taking time unit 1 as an example, if the packet of client number 0x0000 has not been encapsulated, but the packet of client number 0x0001 has been encapsulated, then the first network device first sends the packet of client number 0x0001 in time unit 1. message.
  • the first network device After the encapsulation of the message with the client number 0x0000 is completed, the first network device sends the message with the client number 0x0000 in a time unit after the time unit 1, such as time unit 2.
  • time unit 1 is the first time unit
  • time unit 2 is the second time unit.
  • Table 4-2 please refer to the introduction in the previous paragraph, which will not be repeated here.
  • the second information in S502a and S502b is determined based on the customer's service bandwidth.
  • the second information is used to allocate bandwidth for common services and hard-isolated services at the port level, for example, for a 25Gbps port, the division granularity is 1Gbps.
  • the first network device configures the bandwidth according to the bandwidth ratio of the hard-isolation service and the common service.
  • the bandwidth allocated to the hard-isolated service is 2 Gbps
  • the bandwidth allocated to the common service is 23 Gbps.
  • This allocation mode is indicated in the second information in an equivalent form of a time unit (or called a scheduling opportunity).
  • a bandwidth of 23 Gbps is equivalent to 23 allocated time units, that is, 23 sending opportunities.
  • the bandwidth of 2Gbps is equivalent to 2 allocated time units, that is, 2 sending opportunities.
  • the second information may also have another name, such as a port bandwidth configuration table, which is not limited in this embodiment of the present application.
  • this embodiment of the present application also includes S503 and S504:
  • the first network device determines the third packet.
  • the third packet includes data of common services.
  • the third message is a message of the third customer, and the service data of the third customer belongs to common service data. That is to say, the type of the third message is the same as that of the first message, that is, the third message also belongs to a common message.
  • the third message has no requirements on isolation.
  • the customer number of the first customer is 0x0001
  • the packet encapsulated with the service data of the customer number 0x0001 is the first packet.
  • the customer number of the third customer is 0x0002, and the packaged packet of the service data of the customer number 0x0002 is the third packet.
  • the first network device sends the third packet to the second network device in a period through the first port.
  • the second network device receives the third packet from the first network device in a period through the second port.
  • the first port in S504 is the same port as the first port in S502
  • the second port in S504 is the same port as the second port in S502
  • the cycle in S504 is the same cycle as the cycle in S502, specifically Refer to the introduction of S502, which will not be repeated here.
  • the third packet is transmitted by the third time unit.
  • the third time unit is configured to transmit the message of the first client, and the third time unit is in an idle state.
  • the message of the first client includes the first message.
  • the third time unit is the second time unit in the above cycle.
  • the second time unit is configured to send the packet of customer number 0x0001, but the packet of customer number 0x0001 has not been encapsulated, and the packet of customer number 0x0002 has been encapsulated.
  • the first The network device sends a message of 0x0002 at the second time unit in the above cycle.
  • the third time unit is still the second time unit in the above cycle.
  • the packet of the hard isolation service has not been encapsulated.
  • the first network device sends the normal packet in the third time unit.
  • the first network device configures which client's message the third time unit is used to send according to a preset rule.
  • the preset rule may be the priority of the service, which is configured in descending order of priority. For example, if the service priority of 0x0001 is higher than the service priority of 0x0002, the third time unit is configured to send the message of 0x0001.
  • the preset rule may be the arrangement order of customer numbers, which is configured in the order of customer numbers from front to back.
  • the third time unit is configured to send a message of 0x0001.
  • the packet of client ID 0x0001 has not been encapsulated, and the packet of client ID 0x0002 has been encapsulated.
  • the first network device sends the packet of 0x0002 in the second time unit of the above cycle.
  • the characteristic of statistical multiplexing can be realized, so as to improve resource utilization.
  • the second network device forwards the service data in the first packet according to the type of the first packet, and forwards the service data in the second packet according to the type of the second packet.
  • the second network device performs steps 1 and 2:
  • Step 1 The second network device determines a store-and-forward mode according to the type of the first packet.
  • the message is the first message, that is, it belongs to a common message, and needs to be forwarded in a store-and-forward manner.
  • the message For storage and forwarding, please refer to the introduction in the explanation of terms, so I won’t go into details here.
  • Step 2 The second network device forwards the service data in the first packet in a store-and-forward manner.
  • the second network device queries the destination address based on the first identifier in the first packet, and then forwards the service data in the first packet according to the queried destination address.
  • the type of the third packet is the same as that of the first packet. Therefore, after the second network device performs S504, the second network device may perform the above steps 1 and 2 to forward the third packet.
  • the second network device performs steps 3 and 4:
  • Step 3 The second network device determines the channel forwarding mode according to the type of the second packet.
  • the packet is a second packet, that is, a hard-isolated packet, and needs to be forwarded in a channel forwarding manner.
  • channel forwarding please refer to the introduction in the explanation of terms, so I won’t go into details here.
  • Step 4 The second network device forwards the service data of each second customer in the at least one second customer in a channel forwarding manner.
  • the data in the second message includes service data of at least one second client.
  • the second network device determines a code block of each second client service data in the second packet according to the first information. Then, each code block of the second client service data is forwarded according to the egress time slot table.
  • the egress time slot table indicates the egress port and time slot position of each second client.
  • the number of packets is not limited, for example, the number of first packets may be one or multiple.
  • the quantity of the second message may be one or more.
  • the quantity of the third message may be one or more.
  • the client corresponding to the first packet is described as a first client
  • the client corresponding to the second packet is described as a second client
  • the first client and the second client are different clients. It should be understood that the first client and the second client may also have other names, which are not limited in this embodiment of the present application.
  • the embodiment of the present application further provides a communication device, and the communication device may be the network element in the foregoing method embodiment, or a device including the foregoing network element, or may be a component applicable to the network element.
  • the communication device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • FIG. 11 shows a schematic structural diagram of a communication device 1100 .
  • the communication device 1100 includes a processing unit 1101 , a sending unit 1102 and a receiving unit 1103 .
  • the processing unit 1101 is configured to support the first network device to execute S501 in FIG. 5 , and/or in this embodiment of the application, the first network device needs to execute other processing operations.
  • the receiving unit 1103 is configured to support other receiving operations that need to be performed by the first network device.
  • the sending unit 1102 is configured to support the first network device to perform S502 in FIG. 5 , and/or other sending operations that the first network device needs to perform in the embodiment of the present application.
  • the processing unit 1101 is used to support the second network device to execute S505 in FIG. Other processing operations performed.
  • the receiving unit 1103 is configured to support the second network device to perform S502 in FIG. 5 , and/or other receiving operations that the second network device needs to perform in the embodiment of the present application.
  • the sending unit 1102 is configured to support the second network device to perform S505 in FIG. 5 and/or other sending operations that the second network device needs to perform in the embodiment of the present application.
  • the communication device 1100 may further include a storage unit 1104 for storing program codes and data of the communication device, and the data may include but not limited to original data or intermediate data.
  • the processing unit 1101 may be a processor or a controller, such as a CPU, a general-purpose processor, an application specific integrated circuit (ASIC), a field programmable gate array (field programmable gate array, FPGA) or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of DSP and a microprocessor, and so on.
  • the sending unit 1102 may be a communication interface, a transmitter, or a sending circuit, etc., where the communication interface is collectively referred to as, in a specific implementation, the communication interface may include multiple interfaces, for example, may include: a first interface on the first network device , or an interface and/or other interfaces between the second network device and other devices.
  • the receiving unit 1103 may be a communication interface, a receiver or a receiving circuit, etc., wherein the communication interface is collectively referred to as, in a specific implementation, the communication interface may include multiple interfaces, for example, may include: a second interface on the second network device , or an interface and/or other interfaces between the first network device and other devices.
  • the sending unit 1102 and the receiving unit 1103 may be physically or logically implemented as the same unit.
  • the storage unit 1104 may be a memory.
  • the processing unit 1101 is a processor
  • the sending unit 1102 and the receiving unit 1103 are communication interfaces
  • the storage unit 1104 is a memory
  • the communication device involved in this embodiment of the present application may be as shown in FIG. 12 .
  • the communication device includes: a processor 1201 , a communication interface 1202 , and a memory 1203 .
  • the communication device may further include a bus 1204 .
  • the communication interface 1202, the processor 1201 and the memory 1203 can be connected to each other through the bus 1204;
  • the bus 1204 can be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus etc.
  • the bus 1204 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in Fig. 12, but it does not mean that there is only one bus or one type of bus.
  • the embodiments of the present application further provide a computer program product carrying computer instructions, and when the computer instructions are run on the computer, the computer is made to execute the method described in the foregoing embodiments.
  • an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer executes the method described in the above-mentioned embodiments.
  • an embodiment of the present application further provides a chip, including: a processing circuit and a transceiver circuit, and the processing circuit and the transceiver circuit are used to implement the methods described in the foregoing embodiments.
  • the processing circuit is used to execute the processing action in the corresponding method
  • the transceiver circuit is used to execute the receiving/sending action in the corresponding method.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state drive (solid state drive, SSD)) wait.
  • a magnetic medium for example, a floppy disk, a hard disk, a tape
  • an optical medium for example, a digital video disc (digital video disc, DVD)
  • a semiconductor medium for example, a solid state drive (solid state drive, SSD)
  • the disclosed system, device and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple devices. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

La présente demande concerne un procédé de transmission de paquets et un appareil de communication qui relèvent du domaine technique des communications et permettent d'améliorer une utilisation des ressources d'un port et d'envoyer un paquet de manière flexible. Le procédé comprend les étapes au cours desquelles : un premier dispositif de réseau détermine des premier et second paquets, le premier paquet contenant des données d'un service commun et le second paquet contenant des données d'un service d'isolement strict ; puis le premier dispositif de réseau envoie les premier et second paquets pendant la même période au moyen d'un premier port du premier dispositif de réseau.
PCT/CN2022/130613 2021-11-11 2022-11-08 Procédé de transmission de paquets et appareil de communication WO2023083175A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111332727.6 2021-11-11
CN202111332727.6A CN116112452A (zh) 2021-11-11 2021-11-11 报文传输方法及通信装置

Publications (1)

Publication Number Publication Date
WO2023083175A1 true WO2023083175A1 (fr) 2023-05-19

Family

ID=86258491

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/130613 WO2023083175A1 (fr) 2021-11-11 2022-11-08 Procédé de transmission de paquets et appareil de communication

Country Status (2)

Country Link
CN (1) CN116112452A (fr)
WO (1) WO2023083175A1 (fr)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897820A (zh) * 2015-10-23 2016-08-24 乐卡汽车智能科技(北京)有限公司 数据处理方法及装置、无线路由器和车联网系统
CN105978582A (zh) * 2016-06-30 2016-09-28 深圳优克云联科技有限公司 一种单基带双通道的通信方法及通信设备
CN106453138A (zh) * 2016-11-25 2017-02-22 杭州华三通信技术有限公司 一种报文处理方法和装置
CN109995658A (zh) * 2017-12-29 2019-07-09 华为技术有限公司 发送、接收以及转发报文的方法和装置
CN111277454A (zh) * 2020-01-15 2020-06-12 Ut斯达康通讯有限公司 一种网络性能检测系统及方法
CN113452623A (zh) * 2020-03-26 2021-09-28 华为技术有限公司 基于FlexE传输业务流的方法及设备
CN113542155A (zh) * 2017-04-11 2021-10-22 华为技术有限公司 用于处理业务流的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897820A (zh) * 2015-10-23 2016-08-24 乐卡汽车智能科技(北京)有限公司 数据处理方法及装置、无线路由器和车联网系统
CN105978582A (zh) * 2016-06-30 2016-09-28 深圳优克云联科技有限公司 一种单基带双通道的通信方法及通信设备
CN106453138A (zh) * 2016-11-25 2017-02-22 杭州华三通信技术有限公司 一种报文处理方法和装置
CN113542155A (zh) * 2017-04-11 2021-10-22 华为技术有限公司 用于处理业务流的方法及装置
CN109995658A (zh) * 2017-12-29 2019-07-09 华为技术有限公司 发送、接收以及转发报文的方法和装置
CN111277454A (zh) * 2020-01-15 2020-06-12 Ut斯达康通讯有限公司 一种网络性能检测系统及方法
CN113452623A (zh) * 2020-03-26 2021-09-28 华为技术有限公司 基于FlexE传输业务流的方法及设备

Also Published As

Publication number Publication date
CN116112452A (zh) 2023-05-12

Similar Documents

Publication Publication Date Title
EP3573297B1 (fr) Procédé et appareil de traitement de paquets
WO2016191990A1 (fr) Procédé et dispositif de conversion de paquet
US11563521B2 (en) Method and apparatus for port channelization at physical layer
CN113972997A (zh) 一种传输数据的方法和设备
CN109698732B (zh) 传输数据的方法和装置
US20130188655A1 (en) Encapsulation of data
WO2022062930A1 (fr) Procédé et dispositif de traitement de flux de blocs de code
CN109286564B (zh) 一种报文转发方法及装置
WO2019076131A1 (fr) Procédé et appareil d'acheminement de message ethernet flexible
WO2020029892A1 (fr) Procédé de réception de flux de blocs de code, procédé d'envoi de flux de blocs de code et appareil de communication
WO2023083175A1 (fr) Procédé de transmission de paquets et appareil de communication
WO2023109424A1 (fr) Procédé de transmission de données et dispositif associé
CN115174699A (zh) 一种以太报文的处理方法以及相关设备
WO2021213382A1 (fr) Procédé et appareil de transmission de données
US11902403B2 (en) Method for receiving code block stream, method for sending code block stream, and communications apparatus
JP2021533691A (ja) サービスビットストリームを処理する方法及び装置
WO2022022724A1 (fr) Procédé et dispositif d'envoi de blocs de bits
WO2023141777A1 (fr) Procédé de communication et dispositif de réseau
WO2023165412A1 (fr) Procédé de traitement de données, appareil, dispositif, système et support de stockage lisible par ordinateur
WO2023116284A1 (fr) Négociation de créneaux et dispositif pour service à grain fin dans un ethernet flexible (flexe)
WO2024002188A1 (fr) Procédé pour ethernet flexible, et dispositif réseau et support de stockage
US11438091B2 (en) Method and apparatus for processing bit block stream, method and apparatus for rate matching of bit block stream, and method and apparatus for switching bit block stream
WO2022083473A1 (fr) Procédé de transmission de données et appareil associé
WO2024032269A1 (fr) Procédé de communication, appareil associé et support de stockage lisible par ordinateur
CN114629851A (zh) 一种业务报文发送方法及设备

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: 22891969

Country of ref document: EP

Kind code of ref document: A1