receiving, by a terminal, a random access resource allocation message sent by a primary base station, where the random access resource allocation message includes a serial number of a random access preamble code and a serial number of a physical random access channel mask code;
sending, by the terminal, a random access request message to a secondary base station by using a sending resource that is determined according to the serial number of the physical random access channel mask code, where the random access request message includes the random access preamble code that is determined according to the serial number of the random access preamble code;
receiving, by the terminal, a random access response message sent by the primary base station, where the random access response message includes a time advance command TAC that is sent by the secondary base station to the primary base station and is determined by the secondary base station according to the random access request message; and
adjusting, by the terminal according to the TAC, time advance TA of the terminal on a secondary serving cell corresponding to the secondary base station.
Further, before the receiving, by a terminal, a random access resource allocation message sent by a primary base station, the terminal further receives a cell radio network temporary identifier sent by the primary base station; and after the receiving, by a terminal, a random access resource allocation message sent by a primary base station, the terminal uses the cell radio network temporary identifier to descramble the random access resource allocation message.
An embodiment of the present invention provides a method for adding a secondary serving cell, and the method includes: