Data is transmitted over each physical connection in the physical connection group using a data frame as a period. One subframe is used as an example. The subframe includes an overhead code block at the beginning part, and then 1024 groups of information code blocks closely follow. Each group of information code blocks usually includes 20 code blocks that respectively correspond to bandwidth resources of 20 timeslots obtained using time division. When transmitting a service stream using a virtual connection supported by the physical connection group, the transmit end and the receive end need to determine, based on a timeslot configuration table used by each physical connection in the physical connection group, a timeslot bandwidth resource that belongs to the virtual connection, and then use the timeslot bandwidth resource to transmit the service stream to a receive end. In one system, a 16-bit Client field is defined in an overhead area of a physical connection, and is specially used to transmit content of the timeslot configuration table, so that the receive end can correctly restore the service stream.
However, the timeslot configuration table used by the physical connection does not always change, and information transmitted in a field specially defined for the timeslot configuration table in the overhead area may be repeated or unwanted information. In addition, the timeslot configuration table of the physical connection is excessively large, and in a current system, 40 basic frame periods are needed to transmit content of a complete timeslot configuration table to the receive end. Therefore, transmission efficiency is low.
Embodiments of the present invention provide a method for transmitting a service stream in a flexible Ethernet and an apparatus, to avoid a waste of overhead resources.