A communication method performed by a first access network device , wherein the communication method comprises: obtaining , information about a correspondence from a terminal device , wherein the correspondence comprises a correspondence between a PDU session of the terminal device and a network slice (NS1, NS2, NS3, NS4), the PDU session being established between the terminal device and a first access network device , the terminal device handing over between the first access network device and a second access network device, and the PDU session being established on the network slice (NS1, NS2, NS3, NS4), further wherein network slices supported by the first access network device and network slices supported by the second access network device are different; and sending , the information about the correspondence to a second access network device ,for configuring the PDU session, wherein the first access network device sends the information about the correspondence in a first message to the second access network device, the first message being a handover request message; wherein the PDU session comprises a first PDU session, the network slice (NS1, NS2, NS3, NS4) comprises a first network slice (NS1, NS2, NS3, NS4), and the first PDU session corresponds to the first network slice (NS1, NS2, NS3, NS4); and the correspondence comprises a first relationship, and the first relationship comprises a correspondence between the first PDU session and the first network slice (NS1, NS2, NS3, NS4); wherein the network slice (NS1, NS2, NS3, NS4) further comprises a second network slice (NS1, NS2, NS3, NS4), and the correspondence further comprises information about a second relationship between the first PDU session and the second network slice (NS1, NS2, NS3, NS4). obtaining , information about a correspondence from a terminal device , wherein the correspondence comprises a correspondence between a PDU session of the terminal device and a network slice (NS1, NS2, NS3, NS4), the PDU session being established between the terminal device and a first access network device , the terminal device handing over between the first access network device and a second access network device, and the PDU session being established on the network slice (NS1, NS2, NS3, NS4), further wherein network slices supported by the first access network device and network slices supported by the second access network device are different; and sending , the information about the correspondence to a second access network device ,for configuring the PDU session, wherein the first access network device sends the information about the correspondence in a first message to the second access network device, the first message being a handover request message; wherein the PDU session comprises a first PDU session, the network slice (NS1, NS2, NS3, NS4) comprises a first network slice (NS1, NS2, NS3, NS4), and the first PDU session corresponds to the first network slice (NS1, NS2, NS3, NS4); and the correspondence comprises a first relationship, and the first relationship comprises a correspondence between the first PDU session and the first network slice (NS1, NS2, NS3, NS4); wherein the network slice (NS1, NS2, NS3, NS4) further comprises a second network slice (NS1, NS2, NS3, NS4), and the correspondence further comprises information about a second relationship between the first PDU session and the second network slice (NS1, NS2, NS3, NS4). <EOS>