A congestion information collection method, comprising: receiving, by a first connection node, a first packet, wherein a forwarding path of the first packet comprises a plurality of connection nodes, the forwarding path is divided by the plurality of connection nodes into a plurality of segment links, the first connection node is any one of the plurality of connection nodes, the first packet comprises a plurality of parameter fields respectively corresponding to the plurality of connection nodes, and each of the plurality of parameter fields is used to record congestion information of a segment link; obtaining, by the first connection node, congestion information of a segment link comprising the first connection node; and recording, by the first connection node, the congestion information in a parameter field corresponding to the first connection node in the first packet, wherein the segment link comprising the first connection node is a segment link between the first connection node and a next connection node on the forwarding path of the first packet, and the obtaining congestion information of a segment link comprising the first connection node comprises: obtaining, by the first connection node, address information of a second connection node, wherein the second connection node is a next connection node on the forwarding path of the first packet; determining, by the first connection node based on the address information of the second connection node, an egress port through which the first connection node forwards the first packet; and characterised in that the method further comprises: obtaining, by the first connection node, a congestion degree of the egress port, the congestion degree being represented by a congestion level, a higher congestion level indicating more severe congestion, and using the congestion degree as the congestion information of the segment link comprising the first connection node. receiving, by a first connection node, a first packet, wherein a forwarding path of the first packet comprises a plurality of connection nodes, the forwarding path is divided by the plurality of connection nodes into a plurality of segment links, the first connection node is any one of the plurality of connection nodes, the first packet comprises a plurality of parameter fields respectively corresponding to the plurality of connection nodes, and each of the plurality of parameter fields is used to record congestion information of a segment link; obtaining, by the first connection node, congestion information of a segment link comprising the first connection node; and recording, by the first connection node, the congestion information in a parameter field corresponding to the first connection node in the first packet, wherein the segment link comprising the first connection node is a segment link between the first connection node and a next connection node on the forwarding path of the first packet, and the obtaining congestion information of a segment link comprising the first connection node comprises: obtaining, by the first connection node, address information of a second connection node, wherein the second connection node is a next connection node on the forwarding path of the first packet; determining, by the first connection node based on the address information of the second connection node, an egress port through which the first connection node forwards the first packet; and characterised in that the method further comprises: obtaining, by the first connection node, a congestion degree of the egress port, the congestion degree being represented by a congestion level, a higher congestion level indicating more severe congestion, and using the congestion degree as the congestion information of the segment link comprising the first connection node. obtaining, by the first connection node, address information of a second connection node, wherein the second connection node is a next connection node on the forwarding path of the first packet; determining, by the first connection node based on the address information of the second connection node, an egress port through which the first connection node forwards the first packet; and characterised in that the method further comprises: obtaining, by the first connection node, a congestion degree of the egress port, the congestion degree being represented by a congestion level, a higher congestion level indicating more severe congestion, and using the congestion degree as the congestion information of the segment link comprising the first connection node.