In a possible implementation, if the location service request sent by the GMLC to the AMF does not carry the action indication information or the location service request sent by the V-GMLC to the AMF does not carry the action indication information, the AMF directly performs the location service operation based on the first location privacy setting data. Further, if the first location privacy setting data is allowing positioning but requiring to notify a user, the AMF sends a notification message to the UE by using a RAN, and requests to obtain the location information of the UE. If the first location privacy setting data is allowing positioning but not requiring to notify a user, the AMF requests to obtain the location information of the UE. If the first location privacy setting data is requiring to notify a user and being authorized by the user to determine whether to allow positioning, the AMF sends a notification message to the UE by using a RAN, and requests to obtain the location information of the UE when receiving a location permission message from the UE.