A communication method performed by a first access network device(101, 102, 600, 700, 1000, 1100, 1200), wherein the communication method comprises: obtaining (320, 420), information about a correspondence from a terminal device (104, 105, 800, 1200), wherein the correspondence comprises a correspondence between a PDU session of the terminal device (104, 105, 800, 1200) and a network slice (NS1, NS2, NS3, NS4), the PDU session being established between the terminal device (104, 105, 800, 1200) and a first access network device (101, 102, 600, 700, 1000, 1100, 1200), 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 (330, 430), the information about the correspondence to a second access network device (101, 102, 600, 700, 1000, 1100, 1200),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 (320, 420), information about a correspondence from a terminal device (104, 105, 800, 1200), wherein the correspondence comprises a correspondence between a PDU session of the terminal device (104, 105, 800, 1200) and a network slice (NS1, NS2, NS3, NS4), the PDU session being established between the terminal device (104, 105, 800, 1200) and a first access network device (101, 102, 600, 700, 1000, 1100, 1200), 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 (330, 430), the information about the correspondence to a second access network device (101, 102, 600, 700, 1000, 1100, 1200),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).