The invention discloses a user location personalized
differential privacy protection method for location-based service. The method comprises the steps of 1, generating a disturbance location through utilization of an index mechanism; 2, obtaining a
posterior probability of an opponent for a location of a user at time t according to a
prior probability of the opponent for the location of the user at time t, index mechanism probability distribution and the generated disturbance location; 3, judging whether the
posterior probability of the opponent for the location of the user at time t satisfiesa security requirement or not, sending the disturbance location and a query request to a
service provider if the
posterior probability of the opponent for the location of the user at time t satisfiesthe security requirement, and adding a
confusion location if the posterior probability of the opponent for the location of the user at time t does not satisfy the security requirement; 4, adding theconfusion location, and sending a location set composed of the
confusion location and the disturbance location to the
service provider after the security requirement is satisfied; and 5, screening query results returned by the
service provider. According to the method, the problem that user location privacy is leaked due to unreliability of the service provider can be solved, and moreover, a Bayesian
attack can be effectively coped with, so security of the user location privacy in the location-based service can be improved.