Data transmission method and access point

The invention discloses data transmission method and device, relating to the field of communication and aiming at solving the problem that UE (User Equipment) resident in FemtoCell cannot carry out local communication with the internet or a local network. In the technical scheme provided by the embodiment of the invention, the method comprises the steps of: receiving an IP (Internet Protocol) message sent by the UE; searching a flow forwarding table corresponding to the IP message in a preset flow forwarding table; and when a flow forwarding table corresponding to the IP message exists, directly sending the IP message to the internet or the local network through a UE through-connection port bound to the flow forwarding table. The embodiment of the invention can be applied under a FemtoCeU access mode.