A method for updating a gateway resource, wherein the method is applicable to an Internet of Things, IoT , control platform connected to a gateway device , and the gateway device is connected to an IoT device , the method comprising: acquiring a model change message comprising a change model identifier of a changed model, wherein different IoT devices correspond to different models, and each model contains measuring point information of a measuring point in the IoT device ; determining an associated template based on the change model identifier and updating the associated template, the associated template containing a corresponding relationship between the measuring point information and a measuring point identifier in the changed model, and the measuring point identifier being applicable to a measuring point data message sent by the IoT device ; determining a target gateway device that uses the associated template; and issuing a gateway resource update package to the target gateway device, the target gateway device being configured to update the gateway resource based on the gateway resource update package, wherein issuing the gateway resource update package to the target gateway device comprises: constructing the gateway resource update package; dividing the gateway resource update package into m resource update sub-packages, wherein m is less than a number of target gateway devices; issuing the m resource update sub-packages to m target gateway devices, the m target gateway devices being configured to perform a deployment test of gateway resource update based on the received resource update sub-packages; and issuing the gateway resource update package to the remaining target gateway devices in response to that the m resource update sub-packages all pass the deployment test. acquiring a model change message comprising a change model identifier of a changed model, wherein different IoT devices correspond to different models, and each model contains measuring point information of a measuring point in the IoT device ; determining an associated template based on the change model identifier and updating the associated template, the associated template containing a corresponding relationship between the measuring point information and a measuring point identifier in the changed model, and the measuring point identifier being applicable to a measuring point data message sent by the IoT device ; determining a target gateway device that uses the associated template; and issuing a gateway resource update package to the target gateway device, the target gateway device being configured to update the gateway resource based on the gateway resource update package, wherein issuing the gateway resource update package to the target gateway device comprises: constructing the gateway resource update package; dividing the gateway resource update package into m resource update sub-packages, wherein m is less than a number of target gateway devices; issuing the m resource update sub-packages to m target gateway devices, the m target gateway devices being configured to perform a deployment test of gateway resource update based on the received resource update sub-packages; and issuing the gateway resource update package to the remaining target gateway devices in response to that the m resource update sub-packages all pass the deployment test. constructing the gateway resource update package; dividing the gateway resource update package into m resource update sub-packages, wherein m is less than a number of target gateway devices; issuing the m resource update sub-packages to m target gateway devices, the m target gateway devices being configured to perform a deployment test of gateway resource update based on the received resource update sub-packages; and issuing the gateway resource update package to the remaining target gateway devices in response to that the m resource update sub-packages all pass the deployment test. <EOS>