The invention discloses an OTA upgrading method, equipment and device for an application program and a medium, and relates to the technical field of vehicles. A part of the disk partitions in the whole disk partitions adopt the
IMG upgrading mode, and compared with the mode that all the disk partitions adopt the
IMG upgrading mode, the overall quantity of upgrading packages is reduced. And the other part of disk partitions adopt a file upgrading mode, so that multiple versions of redundant files are totally reduced, and the
disk space is saved. And according to the partition address information of the second disk partition, constructing a
virtual mirror image environment corresponding to the file upgrading mode, so that the
mirror image environment under the file upgrading mode is the same as the
mirror image environment under the
IMG upgrading mode, and collaborative upgrading of different upgrading
modes is realized. The stored application program is upgraded according to the upgrading
modes of the first disk partition and the second disk partition, so that OTA upgrading is completed, the advantages and disadvantages of the two upgrading
modes are considered, upgrading balance is achieved, it is guaranteed that the occupied
disk space is small, and meanwhile the upgrading speed is increased.