sending, by a primary base station, a random access resource allocation message and a secondary serving cell addition request message to a terminal and a secondary base station, respectively, where both the random access resource allocation message and the secondary serving cell addition request message include a serial number of a random access preamble code and a serial number of a physical random access channel mask code;
receiving, by the primary base station, a time advance command TAC transmission message sent by the secondary base station, where the TAC transmission message is sent to the primary base station after the secondary base station receives a random access request message that is sent by the terminal and carries the random access preamble code obtained according to the serial number of the random access preamble code; and the TAC transmission message includes a TAC obtained by the secondary base station according to the random access request message; and
sending, by the primary base station to the terminal, a random access response message that carries the TAC, so that the terminal adjusts, according to the TAC, time advance TA of the terminal on a secondary serving cell corresponding to the secondary base station.
Further, before the sending, by a primary base station, a random access resource allocation message to a terminal, the primary base station further sends a cell radio network temporary identifier of the terminal to the terminal; and the primary base station uses the cell radio network temporary identifier of the terminal to scramble the random access resource allocation message, and then sends the random access resource allocation message to the terminal.