The invention discloses a firmware over-the-air upgrading method and system based on a DMP, and belongs to the technical field of firmware upgrading of Internet of Things equipment, and the firmware over-the-air upgrading method comprises the following steps: S1, storing a firmware package and version information; s2, creating an FOTA upgrading plan; and S3, carrying out FOTA upgrading work. The FOTA upgrading plan is created, the upgrading strategy is formulated in the plan, when the module is online, reliable firmware over-the-air upgrading work can be conducted on the module, and the serious problems that upgrading fails or equipment is unavailable due to the fact that the module is too low in electric quantity, low in signal strength and the like in the firmware over-the-air upgradingprocess are avoided; in the firmware over-the-air upgrading process, the upgrading information is displayed in real time, and the upgrading log can be checked in real time, so that problems occurringin the over-the-air upgrading process can be solved in time, and later data tracing work is facilitated; and a cloud connection management platform and a cloud server are adopted to store the firmwarepackage and related data, so that firmware over-the-air upgrading work is facilitated.