A method for determining a bearer for a mobile edge computing device, MEC, wherein the method is applied to a handover procedure of user equipment, UE, from a first access network device to a second access network device, data of the UE is handed over from a first bearer between the first access network device and a first serving gateway to a second bearer between the second access network device and a second serving gateway, and the method comprises: obtaining, by the MEC, a data packet that carries an end marker and a tunnel endpoint identifier, TEID, of the first bearer, wherein the end marker is used to indicate that the UE is in a handover procedure; obtaining, by the MEC, a bearer identifier of the UE by determining the TEID of the first bearer and an identifier of the UE according to the data packet that carries the end marker by determining an IP address according to the TEID of the first bearer; sending, by the MEC, a first request message to a node of the second bearer, wherein the first request message carries the bearer identifier of the UE and the identifier of the UE, and the first request message is used to request information about the second bearer; receiving, by the MEC, a first response message from the node of the second bearer, wherein the first response message carries the information about the second bearer; and storing, by the MEC, the information about the second bearer according to the identifier of the UE and the bearer identifier of the UE wherein the obtaining, by the MEC, a bearer identifier of the UE and an identifier of the UE according to the data packet that carries the end marker comprises: receiving, by the MEC, a further response message from the node of the first bearer, wherein the further response message carries the identifier of the UE and the bearer identifier of the UE, wherein, (a), the node of the first bearer is the first access network device, and the node of the second bearer is the second access network device, or, (b) the node of the first bearer is a first SGSN of the UE, and the node of the second bearer is the first SGSN, a second MME or a second SGSN of the UE. obtaining, by the MEC, a data packet that carries an end marker and a tunnel endpoint identifier, TEID, of the first bearer, wherein the end marker is used to indicate that the UE is in a handover procedure; obtaining, by the MEC, a bearer identifier of the UE by determining the TEID of the first bearer and an identifier of the UE according to the data packet that carries the end marker by determining an IP address according to the TEID of the first bearer; sending, by the MEC, a first request message to a node of the second bearer, wherein the first request message carries the bearer identifier of the UE and the identifier of the UE, and the first request message is used to request information about the second bearer; receiving, by the MEC, a first response message from the node of the second bearer, wherein the first response message carries the information about the second bearer; and storing, by the MEC, the information about the second bearer according to the identifier of the UE and the bearer identifier of the UE wherein the obtaining, by the MEC, a bearer identifier of the UE and an identifier of the UE according to the data packet that carries the end marker comprises: receiving, by the MEC, a further response message from the node of the first bearer, wherein the further response message carries the identifier of the UE and the bearer identifier of the UE, wherein, (a), the node of the first bearer is the first access network device, and the node of the second bearer is the second access network device, or, (b) the node of the first bearer is a first SGSN of the UE, and the node of the second bearer is the first SGSN, a second MME or a second SGSN of the UE. receiving, by the MEC, a further response message from the node of the first bearer, wherein the further response message carries the identifier of the UE and the bearer identifier of the UE, wherein, (a), the node of the first bearer is the first access network device, and the node of the second bearer is the second access network device, or, (b) the node of the first bearer is a first SGSN of the UE, and the node of the second bearer is the first SGSN, a second MME or a second SGSN of the UE.