A data packet processing method , comprising: receiving , by a capability exposure function device, a first processing policy sent by a third-party application, wherein the first processing policy comprises an external identifier of user equipment UE, an identifier of the third-party application, and a processing policy of a data packet sent by the UE to the third-party application; and the external identifier of the UE is an identifier for identifying the UE by the third-party application; obtaining , by the capability exposure function device, an internal identifier of the UE from packet data network gateway based on the external identifier of the UE, wherein the internal identifier of the UE is an identifier for identifying the UE by a network side; characterized by : determining, by the capability exposure function device, a second processing policy based on the internal identifier of the UE, wherein the second processing policy comprises the internal identifier of the UE, the identifier of the third-party application, and the processing policy of the data packet; configuring, by the capability exposure function device, the second processing policy on the network side, wherein the second processing policy is used by a network side device to process the data packet; wherein the configuring, by the capability exposure function device, the second processing policy on the network side includes: sending , by the capability exposure function device, the second processing policy to a radio access network congestion awareness function device, so that the radio access network congestion awareness function device sends the second processing policy to a base station, where the second processing policy is used by the base station to process the data packet. receiving , by a capability exposure function device, a first processing policy sent by a third-party application, wherein the first processing policy comprises an external identifier of user equipment UE, an identifier of the third-party application, and a processing policy of a data packet sent by the UE to the third-party application; and the external identifier of the UE is an identifier for identifying the UE by the third-party application; obtaining , by the capability exposure function device, an internal identifier of the UE from packet data network gateway based on the external identifier of the UE, wherein the internal identifier of the UE is an identifier for identifying the UE by a network side; characterized by : determining, by the capability exposure function device, a second processing policy based on the internal identifier of the UE, wherein the second processing policy comprises the internal identifier of the UE, the identifier of the third-party application, and the processing policy of the data packet; configuring, by the capability exposure function device, the second processing policy on the network side, wherein the second processing policy is used by a network side device to process the data packet; wherein the configuring, by the capability exposure function device, the second processing policy on the network side includes: sending , by the capability exposure function device, the second processing policy to a radio access network congestion awareness function device, so that the radio access network congestion awareness function device sends the second processing policy to a base station, where the second processing policy is used by the base station to process the data packet. <EOS>