A method of transmitting data, performed by a network device comprising at least one main control board and at least one interface board connected to the at least one main control board, the method comprising: determining an interface board (231, 232) among the at least one interface board and a logical channel (241, 242, 243, 244) both corresponding to first data to be sent from one of the at least one main control board; obtaining a remaining resource size of the logical channel (241, 242, 243, 244); when the remaining resource size is greater than or equal to a length of the first data, determining that the logical channel (241, 242, 243, 244) has a capability to send the first data; when the logical channel (241, 242, 243, 244) has a capability to send the first data, obtaining second data by adding header information to the first data, wherein the header information comprises an interface board identifier of the interface board (231, 232) and a logical channel identifier of the logical channel (241, 242, 243, 244), and storing the second data in a buffer (251, 252, 253, 254) corresponding to the logical channel (241, 242, 243, 244); reading the second data from the buffer (251, 252, 253, 254), and obtaining the interface board identifier and the logical channel identifier from the header information of the read second data; obtaining the first data by removing the header information from the read second data, and sending the obtained first data to the interface board (231, 232) corresponding to the interface board identifier. determining an interface board (231, 232) among the at least one interface board and a logical channel (241, 242, 243, 244) both corresponding to first data to be sent from one of the at least one main control board; obtaining a remaining resource size of the logical channel (241, 242, 243, 244); when the remaining resource size is greater than or equal to a length of the first data, determining that the logical channel (241, 242, 243, 244) has a capability to send the first data; when the logical channel (241, 242, 243, 244) has a capability to send the first data, obtaining second data by adding header information to the first data, wherein the header information comprises an interface board identifier of the interface board (231, 232) and a logical channel identifier of the logical channel (241, 242, 243, 244), and storing the second data in a buffer (251, 252, 253, 254) corresponding to the logical channel (241, 242, 243, 244); obtaining second data by adding header information to the first data, wherein the header information comprises an interface board identifier of the interface board (231, 232) and a logical channel identifier of the logical channel (241, 242, 243, 244), and storing the second data in a buffer (251, 252, 253, 254) corresponding to the logical channel (241, 242, 243, 244); reading the second data from the buffer (251, 252, 253, 254), and obtaining the interface board identifier and the logical channel identifier from the header information of the read second data; obtaining the first data by removing the header information from the read second data, and sending the obtained first data to the interface board (231, 232) corresponding to the interface board identifier.