A communication method, comprising: sending, by a master base station, a first request message to a secondary base station, wherein the first request message is used to instruct to switch a first QoS flow of a first session from the secondary base station to the master base station, and the first session is a session corresponding to a terminal device; receiving, by the master base station, a first response message from the secondary base station, wherein the first response message is used to respond to the first request message; sending, by the master base station, a first RRC message to the terminal device, wherein the first RRC message is used to indicate that the first QoS flow of the first session is switched from the secondary base station to the master base station; sending, by the master base station, first information to the terminal device, wherein the first information is used to instruct the terminal device to set up, with the master base station, a first bearer corresponding to the first session, a QoS flow corresponding to the first bearer comprises the first QoS flow, and the first information comprises a configuration parameter of the first bearer, wherein the configuration parameter of the first bearer is the same as a configuration parameter of a second bearer, the second bearer is a bearer that is between the terminal device and the secondary base station and that is in the first session, and a QoS flow corresponding to the second bearer comprises the first QoS flow; and the method further comprises: receiving, by the master base station, second information from the secondary base station, wherein the second information comprises the configuration parameter of the second bearer; and determining, by the master base station, the first information based on the second information, wherein the configuration parameter of the first bearer comprises at least one of the following: a mapping relationship between the first bearer and the QoS flow, and a parameter of the QoS flow comprised by the first bearer. sending, by a master base station, a first request message to a secondary base station, wherein the first request message is used to instruct to switch a first QoS flow of a first session from the secondary base station to the master base station, and the first session is a session corresponding to a terminal device; receiving, by the master base station, a first response message from the secondary base station, wherein the first response message is used to respond to the first request message; sending, by the master base station, a first RRC message to the terminal device, wherein the first RRC message is used to indicate that the first QoS flow of the first session is switched from the secondary base station to the master base station; sending, by the master base station, first information to the terminal device, wherein the first information is used to instruct the terminal device to set up, with the master base station, a first bearer corresponding to the first session, a QoS flow corresponding to the first bearer comprises the first QoS flow, and the first information comprises a configuration parameter of the first bearer, wherein the configuration parameter of the first bearer is the same as a configuration parameter of a second bearer, the second bearer is a bearer that is between the terminal device and the secondary base station and that is in the first session, and a QoS flow corresponding to the second bearer comprises the first QoS flow; and the method further comprises: receiving, by the master base station, second information from the secondary base station, wherein the second information comprises the configuration parameter of the second bearer; and determining, by the master base station, the first information based on the second information, wherein the configuration parameter of the first bearer comprises at least one of the following: a mapping relationship between the first bearer and the QoS flow, and a parameter of the QoS flow comprised by the first bearer. receiving, by the master base station, second information from the secondary base station, wherein the second information comprises the configuration parameter of the second bearer; and determining, by the master base station, the first information based on the second information, wherein the configuration parameter of the first bearer comprises at least one of the following: a mapping relationship between the first bearer and the QoS flow, and a parameter of the QoS flow comprised by the first bearer.