摘要 |
<p>The present invention provides an operation triggering method and apparatus for machine-to-machine communications. The method includes: when content of a subject resource is changed, retrieving, by service capability middleware, a change result of the content of the subject resource stored in the service capability middleware; retrieving, by the service capability middleware according to information about an operation resource associated with the subject resource, a representation of the operation resource associated with the subject resource, where the representation of the operation resource includes a condition for sending an operation request to an object resource and a uniform resource identifier of the object resource; constructing, by the service capability middleware, the operation request for the object resource when it is determined that the change result meets the condition for sending the operation request to the object resource in the representation of the operation resource; and sending, by the service capability middleware, the operation request to the object resource according to the uniform resource identifier of the object resource. The technical solution of the present invention can improve stability of an operation trigger in an M2M system.</p> |