The application belongs to the field of
cloud computing security, and discloses a trajectory data-based outsourcing cloud environment
privacy protection infection mode mining method, which is divided into two stages: the first stage: trajectory data preprocessing,
encryption and outsourcing, first, the data owner pre-processes the trajectory
data set to be uploaded, generates a corresponding encoding matrix for the trajectory data of each object, then generates a secure index matrix for the encoding matrix through a strong anti-collision one-way
hash function, and finally uploads the encrypted trajectory data and the generated secure index matrix to a
cloud server, and shares the key with authorized users; the second stage: a
privacy protection infection mode mining method, first, the authorized user sends the infected object number to the
cloud server, the
cloud server performs infection mode mining after receiving the infected object number, and returns the mining result to the authorized user. The application can ensure high accuracy of the mining result, improve the mining efficiency, and is easy to implement.