3. The UDM sends a location privacy setting data obtaining response to the H-GMLC, to respond to the location privacy setting data obtaining request. The location privacy setting data obtaining response may be a Nudm_UECM_Get_response. Correspondingly, the H-GMLC receives the location privacy setting data obtaining response from the UDM. The location privacy setting data obtaining response includes the location privacy setting data of the UE. When the H-GMLC obtains the location privacy setting data of the UE, if the location privacy setting data is not allowing positioning, the H-GMLC directly feeds back a location service response to the external client, and the location service response indicates that a location service is rejected. When the location privacy setting data is not disallowing positioning, the location privacy setting data may be converted into action indication information, to indicate an AMF to perform a corresponding location service operation. For example, if the location privacy setting data is requiring to notify a user and being authorized by the user to determine whether to allow positioning, the action indication information is used to indicate the AMF to send a notification message to the UE and request to obtain location information of the UE when receiving a location permission message of the UE, and the notification message is used to request whether the UE allows an external client to request the location information of the UE. If the UE allows positioning, the UE feeds back the location permission message to the AMF. For another example, if the location privacy setting data is allowing positioning but requiring to notify a user, the action indication information is used to indicate the AMF to send a notification message to the UE and indicate the AMF to request to obtain location information of the UE, and the notification message is used to indicate the external client to obtain the location information of the UE. For another example, if the location privacy setting data is allowing positioning but not requiring to notify a user, the action indication information is used to indicate the AMF to request to obtain the location information of the UE.