摘要:
Embodiments of the present invention provide a method for processing a bit block stream, including: obtaining a first to-be-processed bit block stream; and mapping the first to-be-processed bit block stream into at least two slot bit block streams, where the at least two slot bit block streams correspond to at least two slots of at least one physical interface, different slot bit block streams correspond to different slots, the at least two slot bit block streams include a first slot bit block stream and a second slot bit block stream, the first slot bit block stream includes a first boundary bit block and a second boundary bit block, the second slot bit block stream includes a third boundary bit block and a fourth boundary bit block, the first boundary bit block corresponds to the third boundary bit block, the second boundary bit block corresponds to the fourth boundary bit block, N first bit blocks exist between the first boundary bit block and the second boundary bit block, N first bit blocks exist between the third boundary bit block and the fourth boundary bit block, the first bit block is a non-idle bit block, and N is an integer greater than or equal to 1. Slot rate matching and slot switching can be performed separately on slot bit block streams obtained after bit block stream processing.
摘要:
Embodiments of the present invention provide a service routing packet processing method and apparatus, and a network system, where the method includes: receiving, by a first service router SR, a first service routing packet; querying, by the first SR, a service routing table according to path identification information and identification information of a source service node SN that are carried in the first service routing packet, to determine identification information of a destination SN, where the service routing table includes a correspondence between the path identification information, the identification information of the source SN, and the identification information of the destination SN; generating, by the first SR, a second service routing packet according to the identification information of the destination SN and the first service routing packet; and sending, by the first SR, the second service routing packet. According to the technical solutions of the present invention, support of an independent SN for service routing can be implemented.
摘要:
The present invention provides a method, a terminal, and a gateway for transmitting an IPv6 packet in an IPv4 network. The method includes: obtaining, by an IPv6 terminal, an IPv6 address of the terminal, where the IPv6 address comprises an IPv4 address, the IPv4 address is an IPv4 address of a gateway or an IPv4 address designated by the gateway, the gateway is a device connecting an IPv6 network to an IPv4 network, or a device connecting a layer 2 network to an IPv4 network, multiple IPv6 terminals are connected to the gateway, and IPv6 addresses of all the IPv6 terminals connected to the gateway comprise the same IPv4 address; and sending, by the IPv6 terminal, an IPv6 packet to the gateway, where the IPv6 packet comprises the IPv6 address as a source address. In embodiments of the present invention, traversal of an IPv6 packet through an IPv4 network can be implemented, and IPv4 address resources can be saved.
摘要:
Embodiments of this application provide a data transmission method, a communications device, and a storage medium to reduce a quantity of cross-connections of an intermediate node in a network. In the embodiments of this application, Q first code block streams that are obtained are multiplexed into one second code block stream for transmission, a coding type of the first code block streams is M1/N1 bit coding, a coding type of the second code block stream is M2/N2 bit coding, and bits corresponding to code blocks in the Q first code block streams are carried in a payload area of a code block in the second code block stream. In other words, in the solutions provided by the embodiments of this application, the code block streams are multiplexed and demultiplexed based on a code block granularity. In this way, the second code block stream traverses at least one intermediate node to reach a communications device on a demultiplexing side, and the intermediate node does not perform demultiplexing on the second code block stream. Therefore, a quantity of cross-connections of the intermediate node in the network can be reduced.
摘要:
This application provides a detection block sending and receiving method, and a network device and system. The detection block sending method includes: obtaining, by a network device, an original bit block data flow; generating at least one detection block, and inserting the at least one detection block into a position of at least one idle block in the original bit block data flow; and sending a bit block data flow including the at least one detection block. In this application, a bandwidth resource of an idle block in a bit block data flow is occupied for sending a detection block, thereby resolving a problem of a service bit block loss.
摘要:
The present invention discloses a service packet processing method, apparatus, and system, and pertains to the field of Internet technologies. The method includes: receiving, by a first service atom, a second packet sent by a central switching device, where a first service packet is encapsulated in the second packet and the second packet further includes a first service path identifier; performing, by the first service atom, first service processing according to information in the first service packet, to obtain a first processing result; querying, by the first service atom, a first path switching entry according to the first processing result and the first service path identifier, so as to acquire a second service path identifier; and sending, by the first service atom, a third packet to the central switching device, where a source device identifier of the third packet is a device identifier of the first service atom, a second service packet is encapsulated in the third packet, and the third packet includes the second service path identifier. By using the present invention, a scope of a service that can be processed by a service processing system formed by multiple service atoms can be expanded.
摘要:
A method for mapping a service flow to a service transmission channel includes: configuring determined configuration parameters for a message characteristic into an Optical Network Terminal (ONT); the ONT ensures that the received service flow matches the configured message characteristic; mapping the service flow to a specified service transmission channel. A system and an ONT for mapping the service flow to the service transmission channel are also provided, and the system sets a general service flow mapping module in the ONT. Service flows may be mapped to different service transmission channels based on any predetermined message characteristic by the method, system, and ONT of this invention and it meets the demand of the subdivision service QoS.
摘要:
A communication method, a communications device, and a storage medium are disclosed, to implement a flexible Ethernet protocol-based communication solution. In embodiments of this application, a first communications device receives, by using a link corresponding to a first FlexE group, first indication information sent by a second communications device, where for a slot in N slots of the first FlexE group, the first indication information is used to indicate that the second communications device has assigned a FlexE client to the slot, or used to indicate that the second communications device has not assigned a FlexE client to the slot; and the first communications device assigns the FlexE client to the slot in the N slots of the first FlexE group, or cancels, based on the first indication information, the FlexE client that has been assigned to the slot. In this way, the flexible Ethernet protocol-based communication solution is implemented. Further, because a slot assignment status of a communications device may be updated based on a slot assignment status indicated by indication information, slot assignment flexibility is improved.
摘要:
The present invention discloses a method for generating forwarding information, a controller, and a service forwarding entity. The method includes: determining, by a controller, a first SFE and a second SFE that are used to forward a service stream, where the first SFE and the second SFE are on a service function chain corresponding to the service stream; generating, by the controller, first forwarding information for the first SFE and generating second forwarding information for the second SFE; and sending, by the controller, the first forwarding information to the first SFE and sending the second forwarding information to the second SFE. According to the method for generating forwarding information, the controller, and the service forwarding entity in embodiments of the present invention, the controller generates forwarding information for the SFE, so as to comprehensively control a route of a service stream and implement load sharing, so that a service chaining technology can be applied to a service environment in which a large quantity of services and a large quantity of service processing function units exist.