The data management network element is further configured to receive the location privacy setting data obtaining request from the gateway mobile location network element, perform digital signing on the first location privacy setting data based on the third freshness parameter, to obtain digital signature data, and send a location privacy setting data obtaining response to the gateway mobile location network element, where the location privacy setting data obtaining response includes the first location privacy setting data, the digital signature data, and the third freshness parameter.
The gateway mobile location network element is further configured to send a location service request to the access management network element, where the location service request includes action indication information, digital signature data, and a third freshness parameter, and the action indication information is used to indicate a location service operation.
The access management network element is configured to receive the location service request from the gateway mobile location network element, and check, based on a public key of the data management network element, whether the digital signature data matches the action indication information. If the digital signature data matches the action indication information, the access management network element determines that the gateway mobile location network element does not tamper with the first location privacy setting data. If the digital signature data does not match the action indication information, the access management network element executes the location service operation based on the first location privacy setting data obtained by de-signing the digital signature data.