A data transmission method, comprising: establishing, by an electronic device, a multipath transmission control protocol MPTCP connection to application server, wherein the MPTCP connection comprises a first TCP connection and a second TCP connection, and a data transmission delay of the first TCP connection is less than a data transmission delay of the second TCP connection; receiving, by the electronic device, indication information from the application server, wherein the indication information comprises a type identifier used to indicate a type of a data stream of a first service or a second service sent by the application server to the electronic device; when the type identifier is a first identifier, receiving, by the electronic device by using the first TCP connection, the data stream from the application server in a first time period after the electronic device receives the indication information; or when the type identifier is a second identifier, receiving, by the electronic device by using the second TCP connection, the data stream from the application server in a second time period after the electronic device receives the indication information, wherein a delay required by a data stream indicated by the first identifier is less than a delay required by a data stream of the second service indicated by the second identifier; the method being characterised in that the indication information further comprises a parameter used to indicate a bandwidth requirement, and in obtaining, by the electronic device, the parameter from the indication information; wherein when the electronic device determines that the type identifier is the second identifier, after the receiving, by the electronic device by using the second TCP connection, the data stream in a second time period after the electronic device receives the indication information, the method further comprises: when the electronic device determines that a bandwidth corresponding to a maximum receive window of the second TCP connection is less than the bandwidth requirement indicated by the parameter, receiving, by the electronic device, the data stream in the second time period also by using the first TCP connection; and adjusting, by the electronic device, a receive window of the first TCP connection in the second time period, so that an aggregated bandwidth of the second TCP connection and the first TCP connection is greater than or equal to the bandwidth requirement indicated by the parameter. establishing, by an electronic device, a multipath transmission control protocol MPTCP connection to application server, wherein the MPTCP connection comprises a first TCP connection and a second TCP connection, and a data transmission delay of the first TCP connection is less than a data transmission delay of the second TCP connection; receiving, by the electronic device, indication information from the application server, wherein the indication information comprises a type identifier used to indicate a type of a data stream of a first service or a second service sent by the application server to the electronic device; when the type identifier is a first identifier, receiving, by the electronic device by using the first TCP connection, the data stream from the application server in a first time period after the electronic device receives the indication information; or when the type identifier is a second identifier, receiving, by the electronic device by using the second TCP connection, the data stream from the application server in a second time period after the electronic device receives the indication information, wherein a delay required by a data stream indicated by the first identifier is less than a delay required by a data stream of the second service indicated by the second identifier; the method being characterised in that the indication information further comprises a parameter used to indicate a bandwidth requirement, and in obtaining, by the electronic device, the parameter from the indication information; wherein when the electronic device determines that the type identifier is the second identifier, after the receiving, by the electronic device by using the second TCP connection, the data stream in a second time period after the electronic device receives the indication information, the method further comprises: when the electronic device determines that a bandwidth corresponding to a maximum receive window of the second TCP connection is less than the bandwidth requirement indicated by the parameter, receiving, by the electronic device, the data stream in the second time period also by using the first TCP connection; and adjusting, by the electronic device, a receive window of the first TCP connection in the second time period, so that an aggregated bandwidth of the second TCP connection and the first TCP connection is greater than or equal to the bandwidth requirement indicated by the parameter.