A device for picture encryption, the device comprising a memory for storing computer instructions and a processor in communication with the memory, wherein, when the processor executes the computer instructions, the processor is configured to cause the device to:
- acquire N pictures having a time sequence, N being an integer equal to or greater than 2;
- perform feature extraction on the N pictures to acquire a picture feature of each of the N pictures;
- successively perform target prediction on the N pictures according to the time sequence to obtain prediction information of the each of the N pictures, the target prediction referring to a prediction on the each of the N pictures based on status information, and the status information being information which is updated based on picture features of pictures that have been predicted;
- and
- encrypt the N pictures based on the prediction information of the each of the N pictures.