An example in which this embodiment of this application is applied to the schematic diagram of the network architecture shown in
Step S201: UE performs digital signing on first location privacy setting data, to obtain a first digital signature.
The first location privacy setting data is first location privacy setting data entered or updated by a user on the UE, and is first location privacy setting data before digital signing processing is performed. The first digital signature is obtained by performing digital signing by the UE on the first location privacy setting data.