The application discloses a cross-
device file operation method, device, medium and product based on an open-source MEC
system, and the method comprises the following steps: whenever a standard file operation instruction for a target second device is detected, a target file operation
record is created, written into a main
storage area, and a
record temporary storage area is emptied; the standard file operation instruction is executed through a
distributed file system, and after the execution, a corresponding
record in the main
storage area is updated; when an operation
rollback instruction is detected, according to a
rollback type of the operation
rollback instruction, the latest historical file operation record in the main
storage area is transferred to the record
temporary storage area, or the latest record in the record
temporary storage area is transferred to the main storage area; according to the rollback type and the transferred record, a rollback file operation instruction is determined, and the rollback file operation instruction is executed through the
distributed file system, and the technical scheme of the embodiment of the application can significantly improve the operation
fault tolerance and user experience of the distributed
file management.