Provided is a data transmission method. The data transmission method comprises: when a first terminal detects a data transmission operation, determining state information about a target terminal of the data transmission operation, wherein the first terminal and the target terminal are located in the same local area network; and according to the state information about the target terminal, executing the data transmission operation based on the first terminal. Also provided is a data transmission apparatus. Also provided are a state information processing method and apparatus. The present disclosure can improve the flexibility of a terminal when executing a data transmission operation.