Patent attributes
A method and apparatus for resource binding are disclosed. In an embodiment, the apparatus includes an acquisition module, for acquiring a data constraint of an Internet of Things (IOT) data input point of an algorithm encapsulation module forming an IOT application, the data constraint defining a requirement which must be met by an IOT resource which can be bound to the IOT data input point; a matching module for, on the basis of the acquired data constraint and descriptions of IOT resources in the IOT, searching amongst the IOT resources for an IOT resource matching the IOT data input point; and a binding module for, upon an IOT resource matching the IOT data input point being found, binding the IOT resource found to the IOT data input point. The use of the method and apparatus can reduce the burden on the user during creation of an IOT application.