WO2011124177A2 - Interaction method between equipments and machine to machine communication network system - Google Patents

Interaction method between equipments and machine to machine communication network system Download PDF

Info

Publication number
WO2011124177A2
WO2011124177A2 PCT/CN2011/074001 CN2011074001W WO2011124177A2 WO 2011124177 A2 WO2011124177 A2 WO 2011124177A2 CN 2011074001 W CN2011074001 W CN 2011074001W WO 2011124177 A2 WO2011124177 A2 WO 2011124177A2
Authority
WO
WIPO (PCT)
Prior art keywords
trigger event
network
message
interaction policy
network middleware
Prior art date
Application number
PCT/CN2011/074001
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011124177A3 (en
Inventor
汪香君
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/074001 priority Critical patent/WO2011124177A2/en
Priority to CN201180000620.XA priority patent/CN102217261B/en
Publication of WO2011124177A2 publication Critical patent/WO2011124177A2/en
Publication of WO2011124177A3 publication Critical patent/WO2011124177A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • Embodiments of the present invention relate to machine communication technologies, and in particular, to an interaction method between devices and a machine to machine (M2M) network system.
  • M2M machine to machine
  • the European Telecommunications Standards Institute (ETSI) established the M2M Technical Committee (ETSI TC M2M), which proposes a level of M2M network architecture for multiple applications.
  • the M2M network system includes a plurality of devices, a network middleware, and an application server. Multiple devices interact with the application server through the network middleware, that is, the device only interacts with the network middleware, the network middleware interacts with the device and the application server, and the application server only interacts with the network middleware.
  • the application server subscribes to the network device for the first device information; second, the first device sends Information to network middleware, network The middleware notifies the application server of the received information of the first device; the third time, the second device subscribes the application server information to the network middleware; the fourth time, the application server processes the received information of the first device and sends the information.
  • the network middleware notifies the second device.
  • the above interaction method must go through four interaction processes, not only because the message between the two devices, the network middleware, and the application server occupies a large amount of network resources, resulting in a long network delay, resulting in low network processing efficiency; Moreover, since the message of the first device must first be sent to the application server through the network middleware, and then the second server action is triggered by the application server through the network middleware, when the link between the application server and the network middleware is disconnected, The second device cannot trigger an action according to the message of the first device.
  • the correct rate of interaction between devices is low, and the network processing efficiency is low. Summary of the invention
  • the embodiments of the present invention provide an interaction method between devices and an M2M network system, which are used to solve the defects in the prior art and improve network processing efficiency.
  • the embodiment of the invention provides a method for interaction between devices, including:
  • the network middleware acquires an interaction policy generated by the application server, where the interaction policy includes: a trigger event and a message processing method;
  • the network middleware controls the first device to monitor the trigger event, and controls the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs;
  • the network middleware processes the trigger event occurrence notification message according to the message processing method, generates a notification message, and sends the notification message to the second device, so that the second device performs a corresponding operation according to the notification message.
  • the embodiment of the invention further provides a method for interaction between devices, including:
  • the first device acquires an interaction policy generated by the application server by using a network middleware, where the interaction policy includes: a trigger event and a message processing method;
  • the first device monitors the trigger event; When the triggering event occurs, the first device generates a notification message according to the message processing method, and sends the notification message to the second device by using the network middleware, so that the second device performs a corresponding operation according to the notification message. .
  • the embodiment of the invention further provides a machine communication M2M network system, including:
  • An application server configured to acquire an interaction policy, where the interaction policy includes: a trigger event and a message processing method;
  • a network middleware configured to acquire the interaction policy from the application server, control the first device to monitor the trigger event, and control the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs And processing the trigger event occurrence notification message according to the message processing method, generating a notification message, and sending the notification message to the second device;
  • a first device configured to monitor, according to the control of the network middleware, the trigger event, and send a trigger event occurrence notification message to the network middleware when the trigger event occurs;
  • a second device configured to perform a corresponding operation according to the notification message.
  • the embodiment of the invention further provides a machine communication M2M network system, including:
  • An application server configured to acquire an interaction policy, where the interaction policy includes: a trigger event and a message processing method;
  • a network middleware configured to acquire the interaction policy from an application server, forward the message to the first device, obtain a notification message from the first device, and forward the message to the second device;
  • a first device configured to acquire the interaction policy, monitor the trigger event, generate a notification message according to the message processing method, and send the notification message to the network middleware when the trigger event occurs;
  • the notification message performs a corresponding operation.
  • the embodiment of the present invention generates or generates an interaction policy indicating a trigger event by using an application server, and the network middleware or the first device controls the first device as a control execution device to monitor the trigger event, when a trigger event occurs.
  • the network middleware or the first device as the control execution device, generates a notification message according to the monitoring result and sends the notification message to the second device, and the second device can perform the corresponding operation according to the trigger event generated by the first device by using the interaction process, and reduce the message. Interaction, saving network resources and shortening network latency, thereby improving network processing efficiency.
  • FIG. 1 is a flowchart of a method for interaction between devices according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for interaction between devices according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of an M2M network system according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of an M2M network system according to Embodiment 6 of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for interaction between devices according to Embodiment 1 of the present invention. This method is applied
  • the M2M network system includes: an application server, a network middleware, a first device, and a second device.
  • interactive control by the network middleware is taken as an example.
  • the method includes the following process.
  • Step 101 The network middleware acquires an interaction policy generated by the application server.
  • the interaction strategy includes: a trigger event and a message processing method.
  • Step 102 The network middleware controls the first device to monitor the trigger event, and controls the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs.
  • Step 103 The network middleware processes the trigger event occurrence notification message according to the message processing method, generates a notification message, and sends the notification message to the second device, so that the second device performs the corresponding operation according to the notification message.
  • the application server generates or obtains an interaction policy indicating a trigger event
  • the network middleware controls the first device to monitor the trigger event.
  • the network middleware generates a notification message according to the monitoring result.
  • Sending to the second device the second device can perform the corresponding operation according to the trigger event generated by the first device by using an interaction process, thereby avoiding having to perform the interaction process for the second device through four interaction processes as in the existing interaction method. Triggering saves network resources and reduces network latency by reducing message interaction, thereby improving network processing efficiency.
  • FIG. 2 is a signaling flowchart of a method for interaction between devices according to Embodiment 2 of the present invention.
  • the method is applied to an M2M network system, where the M2M network system comprises: an application server, a network middleware, a first device, and a second device.
  • the M2M network system comprises: an application server, a network middleware, a first device, and a second device.
  • interactive control is performed by a network middleware as an example.
  • the method includes the following process.
  • Step 201 The network middleware acquires an interaction policy from the application server.
  • the application server acquires an interaction policy
  • the network middleware acquires an interaction policy from the application server.
  • the network middleware can obtain the interaction policy from the application server in any of the following ways: Method 1: The application server sends the interaction policy to the network middleware. In the second mode, the network middleware actively obtains the interaction policy from the application server.
  • the application server can obtain the interaction policy according to multiple ways. For example, the application server can generate the interaction policy according to the service relationship between the first device and the second device, or the application server can also provide a service operation support system (Business Operation Support System, Referred to as BOSS) request to obtain the interaction strategy.
  • BOSS Business Operation Support System
  • the interaction strategy includes: a trigger event and a message processing method.
  • the triggering event is an event that occurs on the first device that triggers the operation of the second device.
  • the first device is a sensor network
  • the sensor network includes a humidity sensor for detecting humidity and a sensor for processing a message.
  • the gateway, the second device is a humidifier, and the functions required by the M2M network system are:
  • the trigger event is:
  • the sensor network detects that the humidity is lower than the threshold.
  • the message processing method is used to instruct the network middleware to process the message to generate a notification message after receiving the trigger event occurrence notification message of the first device.
  • Step 202 The network middleware stores an interaction strategy.
  • Step 203 The network middleware returns an interaction policy receiving response message to the application server.
  • Step 204 The network middleware sends a subscription request message to the first device.
  • the network middleware sends a subscription request message to the first device according to the received interaction policy.
  • the subscription request message includes a trigger event indicated in the interaction policy.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on, and the network middleware sends a subscription request message to the sensor network, and the request message indicates that the trigger event is that the monitoring humidity is lower than the Threshold.
  • Step 205 The first device records a subscription request message.
  • Step 206 The first device returns a subscription request response message to the network middleware.
  • Step 207 The first device monitors the trigger event.
  • the first device monitors the triggering event based on the subscription request message from the network middleware.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on, and the sensor network starts to monitor whether the humidity is lower than the threshold according to the subscription request message.
  • Step 208 When the triggering event occurs, the first device sends a trigger event occurrence notification message to the network middleware.
  • the first device sends a trigger event occurrence notification message to the network middleware according to the subscription request from the network middleware.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on. When the sensor network monitors that the humidity is lower than the threshold, the trigger event occurs, and the sensor network sends the network to the middleware. A trigger event notification message is triggered, indicating that the humidity is below the threshold. Step 209: The network middleware returns a receiving success response message to the first device.
  • Step 210 The network middleware generates a notification message according to the trigger event occurrence notification message.
  • the network middleware processes the trigger event occurrence notification message from the first device according to the message processing method in the acquired interaction policy, and generates a notification message. Specifically, the corresponding relationship between the trigger event and the content of the notification message is indicated in the message processing method.
  • the network middleware learns the trigger event according to the trigger event occurrence notification message from the first device, and according to the instruction of the message processing method, learns the content of the notification message corresponding to the trigger event, thereby generating a corresponding notification message.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is below the threshold, the humidifier is turned on as an example.
  • the message processing method is: when a trigger event occurs in which the sensor network detects that the humidity is lower than the threshold, a notification message for turning on the humidifier is generated.
  • the network middleware After receiving the trigger event occurrence notification message from the sensor network, the network middleware processes the message according to the message processing method to generate a notification message, and the notification message indicates that the humidifier is turned on.
  • Step 211 The network middleware sends a notification message to the second device.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example, and the network middleware sends a notification message to the humidifier, and the message indicates that the humidifier is turned on.
  • Step 212 The second device performs a corresponding operation according to the notification message.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example, and the humidifier indicates that the humidification is started according to the notification message received from the network middleware. Therefore, the humidifier performs an opening operation.
  • Step 213 The second device returns a receiving success response message to the network middleware.
  • the second device is triggered to perform the corresponding operation according to the information acquired by the first device.
  • the interaction policy may be cancelled.
  • the specific process includes the following steps 214 to 218.
  • Step 214 The application server sends a cancel interaction policy request message to the network middleware.
  • the application server sends the cancellation interaction policy to the network middleware according to the cancellation instruction. Slightly request a message.
  • the application server may obtain the cancellation instruction according to multiple ways, for example, the application server may receive the cancellation instruction from the second device, or the application server may also receive the cancellation instruction from the BOSS.
  • the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled.
  • Step 215 The network middleware sends an unsubscribe request message to the first device.
  • the network middleware first performs message processing on the received cancel interaction policy request message, and generates an unsubscribe request message according to the cancel interaction policy request message, where the unsubscribe request message includes a trigger event in the interaction policy to be canceled.
  • the network middleware then sends a cancel subscription request message to the first device.
  • Step 216 The first device stops monitoring the trigger event in the interaction policy to be canceled.
  • the first device performs message processing on the received unsubscribe request message, and stops monitoring the trigger event in the interaction policy to be canceled according to the unsubscribe request message.
  • Step 217 The first device returns an unsubscribe response message to the network middleware.
  • Step 218 The network middleware returns a cancel interaction policy response message to the application server.
  • the network middleware first performs message processing on the received unsubscribe response message, generates a cancel interaction policy response message according to the unsubscribe response message, and then the network middleware sends the cancel interaction policy response message to the application server.
  • the application server generates or obtains an interaction policy indicating a trigger event, and the network middleware controls the first device to monitor the trigger event according to the interaction policy.
  • the trigger event occurs, the first device notifies the network.
  • the network middleware generates a notification message and sends it to the second device.
  • the interaction policy is used to control, and the second device can learn that the first device has a trigger event through an interaction process, thereby reducing message interaction, saving network resources and shortening network delay, thereby improving network processing efficiency.
  • the interaction between the first device and the second device does not need to be controlled by the application server. If the application server disconnects from the M2M network system after the interaction policy is sent to the network middleware, the second embodiment of the present invention is used.
  • the interaction method the second device can still correctly know that the trigger event occurs on the first device, and avoids the existing interaction method.
  • the interruption of interaction between devices caused by the disconnection of the application server improves the correct rate of interaction between devices.
  • FIG. 3 is a flowchart of a method for interaction between devices according to Embodiment 3 of the present invention. This method is applied
  • the M2M network system includes: an application server, a network middleware, a first device, and a second device.
  • the interaction control is performed by the first device, and the network middleware only implements the forwarding function.
  • the method includes the following process.
  • Step 301 The first device acquires an interaction policy generated by the application server by using a network middleware.
  • the interaction strategy includes: a trigger event and a message processing method.
  • Step 302 The first device monitors a trigger event.
  • the first device monitors the trigger event according to the acquired interaction policy.
  • Step 303 When the triggering event occurs, the first device generates a notification message according to the message processing method and sends the notification message to the second device by using the network middleware, so that the second device performs the corresponding operation according to the notification message.
  • the application server generates or obtains an interaction policy indicating a triggering event
  • the first device acquires the interaction policy through the network middleware and monitors the trigger event according to the interaction policy.
  • the first device generates a notification message according to the monitoring result and sends the notification message to the second device through the network middleware, and the second device can perform the corresponding operation according to the trigger event generated by the first device by using the interaction process, thereby avoiding the existing interaction method.
  • the triggering of the second device must be implemented through four interaction processes, which reduces network resources and shortens the network delay by reducing message interaction, thereby improving network processing efficiency.
  • FIG. 4 is a signaling flowchart of a method for interaction between devices according to Embodiment 4 of the present invention.
  • the method is applied to an M2M network system, where the M2M network system comprises: an application server, a network middleware, a first device, and a second device.
  • the first device performs interactive control as an example, and the network middleware only implements the forwarding function.
  • the method includes the following process.
  • Step 401 The network middleware acquires an interaction policy from the application server.
  • the manner in which the application server obtains the interaction policy is the same as the step 201 in the second embodiment of the present invention, and details are not described herein again.
  • the interaction strategy includes: a trigger event and a message processing method.
  • the trigger event is an event that occurs on the first device that triggers the second device operation.
  • the message processing method is used to indicate the correspondence between the trigger event and the content of the notification message.
  • the first device learns the content of the notification message corresponding to the trigger event according to the monitored trigger event, and generates a corresponding notification message according to the indication of the message processing method.
  • the interaction policy may further include: sending a permission indication.
  • the sending permission indication is used to indicate the sending permission of the device in the network, for example: the sending the permission indication comprises: the first device has the right to send a message to the second device.
  • Step 402 The network middleware obtains a sending permission indication.
  • the network middleware obtains the sending permission indication in the interaction policy according to the received interaction policy from the application server, and further, the network middleware can record the sending permission indication.
  • Step 403 The network middleware forwards the interaction policy to the first device.
  • Step 404 The first device stores an interaction policy.
  • Step 405 The first device returns an interaction policy receiving response message to the network middleware.
  • Step 406 The network middleware returns an interaction policy receiving response message to the application server.
  • Step 407 The first device monitors a trigger event.
  • the first device monitors the trigger event according to the interaction policy.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example.
  • the first device is a sensor network. In this step, the sensor network monitors whether the humidity is lower than the threshold.
  • Step 408 When the triggering event occurs, the first device sends a notification message to the network middleware.
  • the first device first learns the content of the notification message corresponding to the triggering event according to the indication of the message processing method in the interaction policy, generates the notification message, and then sends the notification message to the network middleware.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example. Then the message processing method is: When a trigger event occurs in which the sensor network detects that the humidity is below the threshold, a notification message to turn on the humidifier is generated. When the sensor network detects that the humidity is below the threshold, the sensor network generates a notification message according to the message processing method, the notification message indicates that the humidifier is turned on, and then the sensor network sends the notification message to the network middleware.
  • Step 409 The network middleware performs authority verification.
  • the network middleware performs the rights verification on the first network device according to the sending permission indication obtained in step 402, to verify whether the first device has the right to send a message to the second network device, and when the verification is passed, step 410 is performed. .
  • Step 410 The network middleware forwards the notification message to the second device.
  • Step 411 The second device performs a corresponding operation according to the notification message.
  • the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example, and the humidifier indicates that the humidification is started according to the notification message received from the network middleware. Therefore, the humidifier performs an opening operation.
  • Step 412 The second device returns a receiving success response message to the network middleware.
  • Step 413 The network middleware returns a receiving success response message to the first device.
  • the second device is triggered to perform the corresponding operation according to the information acquired by the first device.
  • the interaction policy may be cancelled.
  • the specific process includes the following steps 414 to 418.
  • Step 414 The application server sends a cancel interaction policy request message to the network middleware.
  • the application server sends the cancel interaction policy request message to the network middleware according to the cancel instruction.
  • the manner in which the application server obtains the cancellation instruction is the same as the step 214 in the second embodiment of the present invention, and details are not described herein again.
  • the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled.
  • Step 415 The network middleware forwards the cancel interaction policy request message to the first device.
  • Step 416 The first device stops monitoring the trigger event in the interaction policy to be canceled.
  • the first device first performs a message message on the received cancel interaction policy request message. Then, according to the cancel interaction policy request message, stop monitoring the trigger event in the interaction policy to be canceled.
  • Step 417 The first device returns a cancel interaction policy response message to the network middleware.
  • Step 418 The network middleware forwards the cancel interaction policy response message to the application server.
  • the application server generates or obtains an interaction policy indicating a trigger event, and the first device monitors the trigger event according to the interaction policy.
  • the first device When the trigger event occurs, the first device generates a notification message and passes the network middleware. Forward to the second device.
  • the interaction policy is used to control, and the second device can learn that the first device has a trigger event through an interaction process, thereby reducing message interaction, saving network resources and shortening network delay, thereby improving network processing efficiency.
  • the interaction between the first device and the second device does not need to be forwarded by the application server. If the application server is disconnected from the M2M network system after the interaction policy is sent to the network middleware, the interaction method of the fourth embodiment of the present invention is adopted.
  • the second device can still correctly learn that the triggering event occurs on the first device, and avoids the interruption of interaction between the devices caused by the disconnection of the application server in the existing interaction method, thereby improving the correct rate of interaction between the devices.
  • FIG. 5 is a schematic structural diagram of an M2M network system according to Embodiment 5 of the present invention.
  • the system includes: a first device 51, a second device 52, an application server 53, and a network middleware 54.
  • the network middleware 54 is taken as a control execution device as an example.
  • the application server 53 is configured to acquire an interaction policy.
  • the interaction strategy includes: triggering events and message processing methods.
  • the network middleware 54 is configured to acquire an interaction policy from the application server, control the first device 51 to monitor the trigger event, and control the first device 51 to send a trigger event occurrence notification message to the network middleware 54 when the trigger event occurs, according to the message processing method.
  • the trigger event occurrence notification message is processed, a notification message is generated and sent to the second device 52.
  • the first device 51 is configured to monitor a trigger event according to the control of the network middleware 54, and send a trigger event occurrence notification message to the network middleware 54 when the trigger event occurs.
  • the second device 52 is configured to perform a corresponding operation according to the notification message.
  • the application server 53 is specifically configured to generate an interaction policy including a trigger event and a message processing method.
  • the network middleware 54 is specifically configured to send a subscription request message to the first device 51.
  • the subscription request message includes: a trigger event, and the network middleware 54 is further configured to process a trigger event occurrence notification message from the first device 51 according to the message processing method.
  • a notification message is generated and sent to the second device 52.
  • the first device 51 is specifically configured to monitor a trigger event according to the subscription request message, and send a trigger event occurrence notification message to the network middleware 54 according to the subscription request when the trigger event occurs.
  • the second device 52 is operative to perform a corresponding operation in accordance with a notification message from the network middleware 54.
  • the application server 53 is further configured to generate a cancel interaction policy request message, where the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled.
  • the network middleware 54 is further configured to obtain a cancel interaction policy request message from the application server 53, and send an unsubscribe request message to the first device 51, where the unsubscribe request message includes: a trigger event in the interaction policy to be canceled.
  • the first device 51 is further configured to stop monitoring the trigger event in the interaction policy to be canceled according to the unsubscribe request message.
  • the network middleware is used as the execution control device, and the application server generates or obtains an interaction policy indicating the trigger event, and the network middleware controls the first device to monitor the trigger event according to the interaction policy, when the trigger event is triggered.
  • the first device notifies the network middleware, and the network middleware generates a notification message and sends it to the second device. Therefore, the message interaction is reduced, the network resources are saved, and the network delay is shortened, thereby improving the network processing efficiency.
  • the interaction between the first device and the second device does not need to be forwarded by the application server, thereby improving the correct rate of interaction between the devices.
  • FIG. 6 is a schematic structural diagram of an M2M network system according to Embodiment 6 of the present invention.
  • the system includes: a first device 61, a second device 62, an application server 63, and a network middleware 64.
  • the first device 61 is taken as a control execution device as an example.
  • the application server 63 is configured to acquire an interaction policy.
  • the interaction strategy includes: a trigger event and a message processing method.
  • the network middleware 64 is configured to acquire an interaction policy from the application server 63 and forward it to the first device 61, obtain a notification message from the first device 61, and forward it to the second device 62.
  • the first device 61 is configured to acquire an interaction policy, monitor a trigger event, generate a notification message according to the message processing method when the trigger event occurs, and send the notification message to the network middleware 64.
  • the second device 62 is configured to perform a corresponding operation according to the notification message.
  • the application server 63 is configured to generate an interaction policy including a trigger event and a message processing method, and send an interaction policy to the network middleware 64.
  • the network middleware 64 is for forwarding the interaction policy from the application server 63 to the first device 61, and forwarding the notification message from the first device 61 to the second device 62.
  • the first device 61 is configured to control the first device 61 to monitor the trigger event according to the interaction policy.
  • the notification message is generated according to the message processing method and sent to the network middleware 64.
  • the interaction policy further includes: sending a permission indication.
  • the application server 63 is specifically configured to generate an interaction policy including a trigger event, a message processing method, and a sending permission indication, and send an interaction policy to the network middleware 64.
  • the network middleware 64 is specifically configured to obtain a sending permission indication, perform rights verification on the first network device according to the sending permission indication, and forward the notification message from the first device 61 to the second device 62 when the verification passes.
  • the application server 63 is further configured to generate a cancel interaction policy request message, where the canceling the interaction policy request message includes: a trigger event in the interaction policy to be canceled.
  • the network middleware 64 is also used to forward the cancel interaction policy request message from the application server 63 to the first device 61.
  • the first device 61 is further configured to control the first device 61 to stop monitoring the trigger event in the interaction policy to be canceled according to the cancel interaction policy request message.
  • the first device is used as the execution control device, and the application server generates or obtains an interaction policy indicating the trigger event, and the first device monitors the trigger event according to the interaction policy.
  • the first device When the trigger event occurs, the first device The device generates a notification message and forwards it to the second device through the network middleware. Therefore, the message interaction is reduced, the network resources are saved, and the network delay is shortened, thereby improving the network processing efficiency.
  • the interaction between the first device and the second device does not have to go through an application service.
  • the device controls forwarding, which improves the accuracy of interaction between devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides an interaction method between equipments and a Machine to Machine (M2M) communication network system. A network middleware or a first equipment obtains an interaction strategy generated by an application server, controls, according to the interaction strategy, the first equipment to monitor a triggering event, when the triggering event occurs, generates a notification message based on the result of the monitoring by the first equipment for the triggering event and sends the message to a second equipment. The interaction method between equipments and the M2M communication network system save the network resources and shorten the network delay by reducing message interaction, thus improving the network processing efficiency and the accuracy rate of the interaction between equipments.

Description

设备之间的交互方法和机器通信网络系统  Method of interaction between devices and machine communication network system
技术领域 Technical field
本发明实施例涉及机器通信技术, 尤其涉及设备之间的交互方法和机器 通信( Machine to Machine, 简称 M2M ) 网络系统。 背景技术  Embodiments of the present invention relate to machine communication technologies, and in particular, to an interaction method between devices and a machine to machine (M2M) network system. Background technique
随着人与人之间的通信服务的日臻完善,以及智能电子技术的不断发展, 作为周边设施的机器设备已经具有了参与通信的能力; 并且, 以安防、 智能 仓储和物流为代表的智能综合信息处理需求逐渐增大, 从而出现了用以实现 机器设备之间通信的 M2M网络系统。  With the improvement of communication services between people and the continuous development of intelligent electronic technology, the equipment as a peripheral facility already has the ability to participate in communication; and, intelligent integration represented by security, intelligent warehousing and logistics The demand for information processing is gradually increasing, and an M2M network system for realizing communication between machines and devices has appeared.
欧洲电信标准十办会( European Telecommunications Standards Institute, 简称 ETSI )成立了 M2M技术委员会(简称 ETSI TC M2M ), 该委员会提出 一种面向多种应用的水平的 M2M网络架构。该 M2M网络系统中包括多个设 备、 一个网络中间件和一个应用服务器。 多个设备分别通过网络中间件与应 用服务器实现交互, 即: 设备只与网络中间件交互, 网络中间件与设备和应 用服务器交互, 应用服务器只与网络中间件交互。  The European Telecommunications Standards Institute (ETSI) established the M2M Technical Committee (ETSI TC M2M), which proposes a level of M2M network architecture for multiple applications. The M2M network system includes a plurality of devices, a network middleware, and an application server. Multiple devices interact with the application server through the network middleware, that is, the device only interacts with the network middleware, the network middleware interacts with the device and the application server, and the application server only interacts with the network middleware.
在实际的 M2M应用中, 存在着大量的设备与设备之间进行交互的需求, 一个设备需要获取另一个设备的状态或信息。 例如: 在智能家居应用中, 当 传感器监测到家里的湿度低于某一阈值时需要打开家里的加湿器, 而当湿度 上升到某一值时需要触发加湿器关闭; 在物品监控应用中, 当传感器监测到 物品被移动时, 需要打开或转动附近的摄像头; 在智能安防应用中, 当居民 家门口或者工厂仓库里的摄像头监测到有人闯入时, 需要触发小区警卫室或 仓库监控室的报警器发出警报。 在采用现有的 M2M 网络系统进行设备与设 备之间的交互时, 需要进行如下四次交互过程: 第一次, 应用服务器向网络 中间件订阅第一设备信息; 第二次, 第一设备发送信息给网络中间件, 网络 中间件将收到的第一设备的信息通知给应用服务器; 第三次, 第二设备向网 络中间件订阅应用服务器信息; 第四次, 应用服务器将收到的第一设备的信 息处理后发送给网络中间件, 网络中间件通知第二设备。 上述交互方法必须 经过四次交互过程, 不仅由于消息在两个设备、 网络中间件以及应用服务器 之间的迂回占用了大量的网络资源, 产生了较长的网络时延, 导致网络处理 效率低; 并且, 由于第一设备的消息必须先经过网络中间件发送给应用服务 器, 然后由应用服务器经过网络中间件触发第二设备动作, 当应用服务器与 网络中间件之间的链路断开时,第二设备无法根据第一设备的消息触发动作。 总之, 采用现有的 M2M网络系统及其交互方法, 设备之间交互的正确率低, 并且网络处理效率低。 发明内容 In an actual M2M application, there is a large demand for interaction between devices and devices, and one device needs to acquire the state or information of another device. For example: In smart home applications, when the sensor detects that the humidity in the home is below a certain threshold, it needs to turn on the humidifier at home, and when the humidity rises to a certain value, it needs to trigger the humidifier to turn off; in the item monitoring application, when When the sensor detects that the item is moved, it needs to open or rotate the nearby camera. In the smart security application, when the camera at the door of the resident or the warehouse in the factory monitors someone entering, it needs to trigger the alarm of the community guard room or the warehouse monitoring room. The device sounds an alarm. When the device interacts with the device using the existing M2M network system, the following four interaction processes are required: First, the application server subscribes to the network device for the first device information; second, the first device sends Information to network middleware, network The middleware notifies the application server of the received information of the first device; the third time, the second device subscribes the application server information to the network middleware; the fourth time, the application server processes the received information of the first device and sends the information. To the network middleware, the network middleware notifies the second device. The above interaction method must go through four interaction processes, not only because the message between the two devices, the network middleware, and the application server occupies a large amount of network resources, resulting in a long network delay, resulting in low network processing efficiency; Moreover, since the message of the first device must first be sent to the application server through the network middleware, and then the second server action is triggered by the application server through the network middleware, when the link between the application server and the network middleware is disconnected, The second device cannot trigger an action according to the message of the first device. In summary, with the existing M2M network system and its interaction method, the correct rate of interaction between devices is low, and the network processing efficiency is low. Summary of the invention
本发明实施例提供设备之间的交互方法和 M2M 网络系统, 用以解决现 有技术中的缺陷, 提高网络处理效率。  The embodiments of the present invention provide an interaction method between devices and an M2M network system, which are used to solve the defects in the prior art and improve network processing efficiency.
本发明实施例提供一种设备之间的交互方法, 包括:  The embodiment of the invention provides a method for interaction between devices, including:
网络中间件获取应用服务器产生的交互策略, 所述交互策略包括: 触发 事件和消息处理方法;  The network middleware acquires an interaction policy generated by the application server, where the interaction policy includes: a trigger event and a message processing method;
所述网络中间件控制第一设备监控所述触发事件, 并控制第一设备在所 述触发事件发生时向所述网络中间件发送触发事件发生通知消息;  The network middleware controls the first device to monitor the trigger event, and controls the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs;
所述网络中间件根据所述消息处理方法处理所述触发事件发生通知消 息, 生成通知消息并发送给第二设备, 以使所述第二设备根据所述通知消息 执行对应操作。  The network middleware processes the trigger event occurrence notification message according to the message processing method, generates a notification message, and sends the notification message to the second device, so that the second device performs a corresponding operation according to the notification message.
本发明实施例还提供一种设备之间的交互方法, 包括:  The embodiment of the invention further provides a method for interaction between devices, including:
第一设备通过网络中间件获取应用服务器产生的交互策略, 所述交互策 略包括: 触发事件和消息处理方法;  The first device acquires an interaction policy generated by the application server by using a network middleware, where the interaction policy includes: a trigger event and a message processing method;
所述第一设备监控所述触发事件; 当所述触发事件发生时, 所述第一设备根据所述消息处理方法生成通知 消息并通过所述网络中间件发送给第二设备, 以使所述第二设备根据所述通 知消息执行对应操作。 The first device monitors the trigger event; When the triggering event occurs, the first device generates a notification message according to the message processing method, and sends the notification message to the second device by using the network middleware, so that the second device performs a corresponding operation according to the notification message. .
本发明实施例还提供一种机器通信 M2M网络系统, 包括:  The embodiment of the invention further provides a machine communication M2M network system, including:
应用服务器, 用于获取交互策略, 所述交互策略包括: 触发事件和消息 处理方法;  An application server, configured to acquire an interaction policy, where the interaction policy includes: a trigger event and a message processing method;
网络中间件, 用于获取来自应用服务器的所述交互策略, 控制第一设备 监控所述触发事件, 并控制第一设备在所述触发事件发生时向所述网络中间 件发送触发事件发生通知消息, 根据所述消息处理方法处理所述触发事件发 生通知消息, 生成通知消息并发送给第二设备;  a network middleware, configured to acquire the interaction policy from the application server, control the first device to monitor the trigger event, and control the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs And processing the trigger event occurrence notification message according to the message processing method, generating a notification message, and sending the notification message to the second device;
第一设备, 用于根据所述网络中间件的控制监控所述触发事件, 在所述 触发事件发生时向所述网络中间件发送触发事件发生通知消息;  a first device, configured to monitor, according to the control of the network middleware, the trigger event, and send a trigger event occurrence notification message to the network middleware when the trigger event occurs;
第二设备, 用于根据所述通知消息执行对应操作。  And a second device, configured to perform a corresponding operation according to the notification message.
本发明实施例还提供一种机器通信 M2M网络系统, 包括:  The embodiment of the invention further provides a machine communication M2M network system, including:
应用服务器, 用于获取交互策略, 所述交互策略包括: 触发事件和消息 处理方法;  An application server, configured to acquire an interaction policy, where the interaction policy includes: a trigger event and a message processing method;
网络中间件, 用于从应用服务器获取所述交互策略并转发给第一设备, 从所述第一设备获取通知消息并转发给第二设备;  a network middleware, configured to acquire the interaction policy from an application server, forward the message to the first device, obtain a notification message from the first device, and forward the message to the second device;
第一设备, 用于获取所述交互策略, 监控所述触发事件, 当所述触发事 件发生时根据所述消息处理方法生成通知消息并发送给所述网络中间件; 第二设备, 用于根据所述通知消息执行对应操作。  a first device, configured to acquire the interaction policy, monitor the trigger event, generate a notification message according to the message processing method, and send the notification message to the network middleware when the trigger event occurs; The notification message performs a corresponding operation.
由上述技术方案可知, 本发明实施例通过应用服务器产生或从外界获取 指示触发事件的交互策略, 由网络中间件或第一设备作为控制执行设备控制 第一设备监控该触发事件, 当触发事件发生时, 网络中间件或第一设备作为 控制执行设备根据监控结果生成通知消息并发送给第二设备, 通过一次交互 过程即可令第二设备根据第一设备发生的触发事件执行相应操作, 减少消息 交互, 节省网络资源并缩短网络时延, 从而提高了网络处理效率。 附图说明 According to the foregoing technical solution, the embodiment of the present invention generates or generates an interaction policy indicating a trigger event by using an application server, and the network middleware or the first device controls the first device as a control execution device to monitor the trigger event, when a trigger event occurs. The network middleware or the first device, as the control execution device, generates a notification message according to the monitoring result and sends the notification message to the second device, and the second device can perform the corresponding operation according to the trigger event generated by the first device by using the interaction process, and reduce the message. Interaction, saving network resources and shortening network latency, thereby improving network processing efficiency. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本发明实施例一的设备之间的交互方法的流程图;  1 is a flowchart of a method for interaction between devices according to Embodiment 1 of the present invention;
图 2为本发明实施例二的设备之间的交互方法的信令流程图;  2 is a signaling flowchart of a method for interaction between devices according to Embodiment 2 of the present invention;
图 3为本发明实施例三的设备之间的交互方法的流程图;  3 is a flowchart of a method for interaction between devices according to Embodiment 3 of the present invention;
图 4为本发明实施例四的设备之间的交互方法的信令流程图;  4 is a signaling flowchart of a method for interaction between devices according to Embodiment 4 of the present invention;
图 5为本发明实施例五的 M2M网络系统的结构示意图;  5 is a schematic structural diagram of an M2M network system according to Embodiment 5 of the present invention;
图 6为本发明实施例六的 M2M网络系统的结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of an M2M network system according to Embodiment 6 of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1 为本发明实施例一的设备之间的交互方法的流程图。 该方法应用于 FIG. 1 is a flowchart of a method for interaction between devices according to Embodiment 1 of the present invention. This method is applied
M2M网络系统, 以实现 M2M网络系统中的各个设备之间的交互。 其中, 该 M2M网络系统包括: 应用服务器、 网络中间件、 第一设备和第二设备。 在本 发明实施例一中, 由网络中间件进行交互控制为例。 如图 1所示, 该方法包 括如下过程。 M2M network system to realize the interaction between various devices in the M2M network system. The M2M network system includes: an application server, a network middleware, a first device, and a second device. In the first embodiment of the present invention, interactive control by the network middleware is taken as an example. As shown in Figure 1, the method includes the following process.
步骤 101 : 网络中间件获取应用服务器产生的交互策略。  Step 101: The network middleware acquires an interaction policy generated by the application server.
在本步骤中, 交互策略包括: 触发事件和消息处理方法。 步骤 102: 网络中间件控制第一设备监控触发事件, 并控制第一设备在 触发事件发生时向网络中间件发送触发事件发生通知消息。 In this step, the interaction strategy includes: a trigger event and a message processing method. Step 102: The network middleware controls the first device to monitor the trigger event, and controls the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs.
步骤 103: 网络中间件根据消息处理方法处理触发事件发生通知消息, 生成通知消息并发送给第二设备,以使第二设备根据通知消息执行对应操作。  Step 103: The network middleware processes the trigger event occurrence notification message according to the message processing method, generates a notification message, and sends the notification message to the second device, so that the second device performs the corresponding operation according to the notification message.
在本发明实施例一中, 应用服务器产生或从外界获取指示触发事件的交 互策略, 网络中间件控制第一设备监控该触发事件, 当触发事件发生时, 网 络中间件根据监控结果生成通知消息并发送给第二设备, 通过一次交互过程 即可令第二设备根据第一设备发生的触发事件执行相应操作, 避免了像现有 的交互方法那样必须通过四次交互过程才能实现对第二设备的触发, 通过减 少消息交互节省了网络资源并缩短了网络时延, 从而提高了网络处理效率。  In the first embodiment of the present invention, the application server generates or obtains an interaction policy indicating a trigger event, and the network middleware controls the first device to monitor the trigger event. When the trigger event occurs, the network middleware generates a notification message according to the monitoring result. Sending to the second device, the second device can perform the corresponding operation according to the trigger event generated by the first device by using an interaction process, thereby avoiding having to perform the interaction process for the second device through four interaction processes as in the existing interaction method. Triggering saves network resources and reduces network latency by reducing message interaction, thereby improving network processing efficiency.
图 2为本发明实施例二的设备之间的交互方法的信令流程图。 该方法应 用于 M2M网络系统, 其中, 该 M2M网络系统包括: 应用服务器、 网络中间 件、 第一设备和第二设备。 在本发明实施例二中, 由网络中间件进行交互控 制为例。 如图 2所示, 该方法包括如下过程。  FIG. 2 is a signaling flowchart of a method for interaction between devices according to Embodiment 2 of the present invention. The method is applied to an M2M network system, where the M2M network system comprises: an application server, a network middleware, a first device, and a second device. In the second embodiment of the present invention, interactive control is performed by a network middleware as an example. As shown in FIG. 2, the method includes the following process.
步骤 201 : 网络中间件获取来自应用服务器的交互策略。  Step 201: The network middleware acquires an interaction policy from the application server.
在本步骤中, 首先, 应用服务器获取交互策略, 然后, 网络中间件获取 来自应用服务器的交互策略。 网络中间件获取来自应用服务器的交互策略具 体可以采用以下任意一种方式: 方式一: 应用服务器向网络中间件发送该交 互策略的方式; 方式二, 网络中间件主动向应用服务器获取该交互策略。 应 用服务器可以根据多种途径获取该交互策略, 例如: 应用服务器可以根据第 一设备与第二设备的业务关系生成该交互策略, 或者, 应用服务器还可以向 业务运营支撑系统( Business Operation Support System, 简称 BOSS )请 求获得该交互策略。  In this step, first, the application server acquires an interaction policy, and then the network middleware acquires an interaction policy from the application server. The network middleware can obtain the interaction policy from the application server in any of the following ways: Method 1: The application server sends the interaction policy to the network middleware. In the second mode, the network middleware actively obtains the interaction policy from the application server. The application server can obtain the interaction policy according to multiple ways. For example, the application server can generate the interaction policy according to the service relationship between the first device and the second device, or the application server can also provide a service operation support system (Business Operation Support System, Referred to as BOSS) request to obtain the interaction strategy.
该交互策略中包括: 触发事件和消息处理方法。 其中, 触发事件是发生 在第一设备上的触发第二设备操作的事件, 例如, 第一设备为传感器网络, 该传感器网络中包括用于检测湿度的湿度传感器以及用于处理消息的传感器 网关, 第二设备为加湿器, M2M网络系统需要实现的功能为: 当传感器网络 中的湿度传感器监测到湿度低于阈值时开启加湿器, 则触发事件为: 传感器 网络监测到湿度低于该阈值。 消息处理方法用于指示网络中间件在接收到第 一设备的触发事件发生通知消息后,对该消息进行处理生成通知消息的方法。 The interaction strategy includes: a trigger event and a message processing method. The triggering event is an event that occurs on the first device that triggers the operation of the second device. For example, the first device is a sensor network, and the sensor network includes a humidity sensor for detecting humidity and a sensor for processing a message. The gateway, the second device is a humidifier, and the functions required by the M2M network system are: When the humidity sensor in the sensor network detects that the humidity is lower than the threshold, the trigger event is: The sensor network detects that the humidity is lower than the threshold. . The message processing method is used to instruct the network middleware to process the message to generate a notification message after receiving the trigger event occurrence notification message of the first device.
步骤 202: 网络中间件存储交互策略。  Step 202: The network middleware stores an interaction strategy.
步骤 203: 网络中间件向应用服务器返回交互策略接收响应消息。  Step 203: The network middleware returns an interaction policy receiving response message to the application server.
步骤 204: 网络中间件向第一设备发送订阅请求消息。  Step 204: The network middleware sends a subscription request message to the first device.
在本步骤中, 网络中间件根据接收到的交互策略向第一设备发送订阅请 求消息。 该订阅请求消息中包括交互策略中指示的触发事件。 仍以 M2M 网 络系统需要实现的功能为: 当传感器网络监测到湿度低于阈值时开启加湿器 为例, 网络中间件向传感器网络发送订阅请求消息, 该请求消息指示触发事 件为监测湿度低于该阈值。  In this step, the network middleware sends a subscription request message to the first device according to the received interaction policy. The subscription request message includes a trigger event indicated in the interaction policy. The functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on, and the network middleware sends a subscription request message to the sensor network, and the request message indicates that the trigger event is that the monitoring humidity is lower than the Threshold.
步骤 205: 第一设备记录订阅请求消息。  Step 205: The first device records a subscription request message.
步骤 206: 第一设备向网络中间件返回订阅请求响应消息。  Step 206: The first device returns a subscription request response message to the network middleware.
步骤 207: 第一设备监控触发事件。  Step 207: The first device monitors the trigger event.
在本步骤中, 第一设备根据来自网络中间件的订阅请求消息监控触发事 件。 仍以 M2M 网络系统需要实现的功能为: 当传感器网络监测到湿度低于 阈值时开启加湿器为例, 传感器网络根据订阅请求消息, 开始监控湿度是否 低于该阈值。  In this step, the first device monitors the triggering event based on the subscription request message from the network middleware. The functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on, and the sensor network starts to monitor whether the humidity is lower than the threshold according to the subscription request message.
步骤 208: 当触发事件发生时, 第一设备向网络中间件发送触发事件发 生通知消息。  Step 208: When the triggering event occurs, the first device sends a trigger event occurrence notification message to the network middleware.
在本步骤中, 当触发事件发生时, 第一设备根据来自网络中间件的订阅 请求向网络中间件发送触发事件发生通知消息。 仍以 M2M 网络系统需要实 现的功能为: 当传感器网络监测到湿度低于阈值时开启加湿器为例, 当传感 器网络监控到湿度低于该阈值, 即触发事件发生, 传感器网络向网络中间件 发送触发事件发生通知消息, 该消息中指示湿度低于该阈值。 步骤 209: 网络中间件向第一设备返回接收成功响应消息。 In this step, when the triggering event occurs, the first device sends a trigger event occurrence notification message to the network middleware according to the subscription request from the network middleware. The functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on. When the sensor network monitors that the humidity is lower than the threshold, the trigger event occurs, and the sensor network sends the network to the middleware. A trigger event notification message is triggered, indicating that the humidity is below the threshold. Step 209: The network middleware returns a receiving success response message to the first device.
步骤 210: 网络中间件根据触发事件发生通知消息生成通知消息。  Step 210: The network middleware generates a notification message according to the trigger event occurrence notification message.
在本步骤中, 网络中间件根据获取的交互策略中的消息处理方法, 对来 自第一设备的触发事件发生通知消息进行处理, 生成通知消息。 具体地, 该 消息处理方法中指示触发事件与通知消息内容的对应关系。 网络中间件根据 来自第一设备的触发事件发生通知消息获知触发事件, 并根据该消息处理方 法的指示, 获知该触发事件对应的通知消息内容, 从而生成相应的通知消息。 仍以 M2M 网络系统需要实现的功能为: 当传感器网络监测到湿度低于阈值 时开启加湿器为例。 则该消息处理方法为: 当发生传感器网络监测到湿度低 于阈值的触发事件时, 生成开启加湿器的通知消息。 网络中间件从传感器网 络接收到触发事件发生通知消息后,根据该消息处理方法对该消息进行处理, 生成通知消息, 该通知消息中指示开启加湿器。  In this step, the network middleware processes the trigger event occurrence notification message from the first device according to the message processing method in the acquired interaction policy, and generates a notification message. Specifically, the corresponding relationship between the trigger event and the content of the notification message is indicated in the message processing method. The network middleware learns the trigger event according to the trigger event occurrence notification message from the first device, and according to the instruction of the message processing method, learns the content of the notification message corresponding to the trigger event, thereby generating a corresponding notification message. The functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is below the threshold, the humidifier is turned on as an example. Then, the message processing method is: when a trigger event occurs in which the sensor network detects that the humidity is lower than the threshold, a notification message for turning on the humidifier is generated. After receiving the trigger event occurrence notification message from the sensor network, the network middleware processes the message according to the message processing method to generate a notification message, and the notification message indicates that the humidifier is turned on.
步骤 211 : 网络中间件向第二设备发送通知消息。  Step 211: The network middleware sends a notification message to the second device.
在本步骤中, 仍以 M2M 网络系统需要实现的功能为: 当传感器网络监 测到湿度低于阈值时开启加湿器为例, 网络中间件向加湿器发送通知消息, 该消息中指示开启加湿器。  In this step, the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example, and the network middleware sends a notification message to the humidifier, and the message indicates that the humidifier is turned on.
步骤 212: 第二设备根据通知消息进行对应操作。  Step 212: The second device performs a corresponding operation according to the notification message.
在本步骤中, 仍以 M2M 网络系统需要实现的功能为: 当传感器网络监 测到湿度低于阈值时开启加湿器为例, 加湿器根据从网络中间件接收的通知 消息, 该消息中指示开启加湿器, 因此加湿器执行开启操作。  In this step, the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example, and the humidifier indicates that the humidification is started according to the notification message received from the network middleware. Therefore, the humidifier performs an opening operation.
步骤 213: 第二设备向网络中间件返回接收成功响应消息。  Step 213: The second device returns a receiving success response message to the network middleware.
在步骤 213之后, 实现了根据第一设备获取的信息触发第二设备执行对 应操作, 当第二设备不再需要根据第一设备获取的信息触发操作时, 可以取 消该交互策略。 具体过程包括如下步骤 214至步骤 218。  After the step 213, the second device is triggered to perform the corresponding operation according to the information acquired by the first device. When the second device no longer needs to trigger the operation according to the information acquired by the first device, the interaction policy may be cancelled. The specific process includes the following steps 214 to 218.
步骤 214: 应用服务器向网络中间件发送取消交互策略请求消息。  Step 214: The application server sends a cancel interaction policy request message to the network middleware.
在本步骤中, 应用服务器根据取消指令向网络中间件发送该取消交互策 略请求消息。 具体地, 应用服务器可以根据多种途径获取该取消指令, 例如: 应用服务器可以从第二设备接收取消指令,或者,应用服务器还可以从 BOSS 接收该取消指令。 该取消交互策略请求消息中包括: 待取消的交互策略中的 触发事件。 In this step, the application server sends the cancellation interaction policy to the network middleware according to the cancellation instruction. Slightly request a message. Specifically, the application server may obtain the cancellation instruction according to multiple ways, for example, the application server may receive the cancellation instruction from the second device, or the application server may also receive the cancellation instruction from the BOSS. The cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled.
步骤 215: 网络中间件向第一设备发送取消订阅请求消息。  Step 215: The network middleware sends an unsubscribe request message to the first device.
在本步骤中, 网络中间件首先对接收的取消交互策略请求消息进行消息 处理, 根据取消交互策略请求消息生成取消订阅请求消息, 该取消订阅请求 消息中包括待取消的交互策略中的触发事件, 然后网络中间件将取消订阅请 求消息发送给第一设备。  In this step, the network middleware first performs message processing on the received cancel interaction policy request message, and generates an unsubscribe request message according to the cancel interaction policy request message, where the unsubscribe request message includes a trigger event in the interaction policy to be canceled. The network middleware then sends a cancel subscription request message to the first device.
步骤 216: 第一设备停止监控待取消的交互策略中的触发事件。  Step 216: The first device stops monitoring the trigger event in the interaction policy to be canceled.
在本步骤中, 第一设备对接收的取消订阅请求消息进行消息处理, 根据 取消订阅请求消息, 停止监控待取消的交互策略中的触发事件。  In this step, the first device performs message processing on the received unsubscribe request message, and stops monitoring the trigger event in the interaction policy to be canceled according to the unsubscribe request message.
步骤 217: 第一设备向网络中间件返回取消订阅响应消息。  Step 217: The first device returns an unsubscribe response message to the network middleware.
步骤 218: 网络中间件向应用服务器返回取消交互策略响应消息。  Step 218: The network middleware returns a cancel interaction policy response message to the application server.
在本步骤中, 网络中间件首先对接收的取消订阅响应消息进行消息处理, 根据取消订阅响应消息生成取消交互策略响应消息, 然后网络中间件将取消 交互策略响应消息发送给应用服务器。  In this step, the network middleware first performs message processing on the received unsubscribe response message, generates a cancel interaction policy response message according to the unsubscribe response message, and then the network middleware sends the cancel interaction policy response message to the application server.
在本发明实施例二中, 应用服务器产生或从外界获取指示触发事件的交 互策略, 网络中间件根据该交互策略控制第一设备监控该触发事件, 当触发 事件发生时, 第一设备通知网络中间件, 网络中间件生成通知消息并发送给 第二设备。 采用交互策略进行控制, 通过一次交互过程即可令第二设备获知 第一设备发生了触发事件, 因此减少了消息交互, 节省了网络资源并缩短了 网络时延, 从而提高了网络处理效率。 并且, 第一设备与第二设备的交互不 必经过应用服务器控制转发, 如果应用服务器在将交互策略下发到网络中间 件后与所在的 M2M 网络系统断开断开, 采用本发明实施例二的交互方法, 第二设备仍能够正确获知第一设备发生了触发事件, 避免了现有的交互方法 中应用服务器断开导致的设备之间的交互中断, 从而提高了设备之间交互的 正确率。 In the second embodiment of the present invention, the application server generates or obtains an interaction policy indicating a trigger event, and the network middleware controls the first device to monitor the trigger event according to the interaction policy. When the trigger event occurs, the first device notifies the network. The network middleware generates a notification message and sends it to the second device. The interaction policy is used to control, and the second device can learn that the first device has a trigger event through an interaction process, thereby reducing message interaction, saving network resources and shortening network delay, thereby improving network processing efficiency. The interaction between the first device and the second device does not need to be controlled by the application server. If the application server disconnects from the M2M network system after the interaction policy is sent to the network middleware, the second embodiment of the present invention is used. The interaction method, the second device can still correctly know that the trigger event occurs on the first device, and avoids the existing interaction method. The interruption of interaction between devices caused by the disconnection of the application server improves the correct rate of interaction between devices.
图 3为本发明实施例三的设备之间的交互方法的流程图。 该方法应用于 FIG. 3 is a flowchart of a method for interaction between devices according to Embodiment 3 of the present invention. This method is applied
M2M网络系统, 以实现 M2M网络系统中的各个设备之间的交互。 其中, 该 M2M网络系统包括: 应用服务器、 网络中间件、 第一设备和第二设备。 在本 发明实施例三中, 由第一设备进行交互控制为例, 网络中间件仅实现转发功 能。 如图 3所示, 该方法包括如下过程。 M2M network system to realize the interaction between various devices in the M2M network system. The M2M network system includes: an application server, a network middleware, a first device, and a second device. In the third embodiment of the present invention, the interaction control is performed by the first device, and the network middleware only implements the forwarding function. As shown in FIG. 3, the method includes the following process.
步骤 301: 第一设备通过网络中间件获取应用服务器产生的交互策略。 在本步骤中, 交互策略包括: 触发事件和消息处理方法。  Step 301: The first device acquires an interaction policy generated by the application server by using a network middleware. In this step, the interaction strategy includes: a trigger event and a message processing method.
步骤 302: 第一设备监控触发事件。  Step 302: The first device monitors a trigger event.
在本步骤中 , 第一设备根据获取的交互策略监控触发事件。  In this step, the first device monitors the trigger event according to the acquired interaction policy.
步骤 303: 当触发事件发生时, 第一设备根据消息处理方法生成通知消 息并通过网络中间件发送给第二设备, 以使第二设备根据通知消息执行对应 操作。  Step 303: When the triggering event occurs, the first device generates a notification message according to the message processing method and sends the notification message to the second device by using the network middleware, so that the second device performs the corresponding operation according to the notification message.
在本发明实施例三中, 应用服务器产生或从外界获取指示触发事件的交 互策略, 第一设备并通过网络中间件获取该交互策略并根据该交互策略监控 该触发事件, 当触发事件发生时, 第一设备根据监控结果生成通知消息并通 过网络中间件发送给第二设备, 通过一次交互过程即可令第二设备根据第一 设备发生的触发事件执行相应操作, 避免了像现有的交互方法那样必须通过 四次交互过程才能实现对第二设备的触发, 通过减少消息交互节省了网络资 源并缩短了网络时延, 从而提高了网络处理效率。  In the third embodiment of the present invention, the application server generates or obtains an interaction policy indicating a triggering event, and the first device acquires the interaction policy through the network middleware and monitors the trigger event according to the interaction policy. When the trigger event occurs, The first device generates a notification message according to the monitoring result and sends the notification message to the second device through the network middleware, and the second device can perform the corresponding operation according to the trigger event generated by the first device by using the interaction process, thereby avoiding the existing interaction method. In this way, the triggering of the second device must be implemented through four interaction processes, which reduces network resources and shortens the network delay by reducing message interaction, thereby improving network processing efficiency.
图 4为本发明实施例四的设备之间的交互方法的信令流程图。 该方法应 用于 M2M网络系统, 其中, 该 M2M网络系统包括: 应用服务器、 网络中间 件、 第一设备和第二设备。 在本发明实施例四中, 由第一设备进行交互控制 为例, 网络中间件仅实现转发功能。 如图 4所示, 该方法包括如下过程。  FIG. 4 is a signaling flowchart of a method for interaction between devices according to Embodiment 4 of the present invention. The method is applied to an M2M network system, where the M2M network system comprises: an application server, a network middleware, a first device, and a second device. In the fourth embodiment of the present invention, the first device performs interactive control as an example, and the network middleware only implements the forwarding function. As shown in FIG. 4, the method includes the following process.
步骤 401: 网络中间件获取来自应用服务器的交互策略。 在本步骤中, 应用服务器获取该交互策略的方式与本发明实施例二的步 骤 201相同, 在此不再赘述。 Step 401: The network middleware acquires an interaction policy from the application server. In this step, the manner in which the application server obtains the interaction policy is the same as the step 201 in the second embodiment of the present invention, and details are not described herein again.
该交互策略中包括: 触发事件和消息处理方法。 其中, 触发事件是发生 在第一设备上的触发第二设备操作的事件。 消息处理方法用于指示触发事件 与通知消息内容的对应关系。 第一设备根据监控到的触发事件, 并根据该消 息处理方法的指示, 获知该触发事件对应的通知消息内容, 从而生成相应的 通知消息。 进一步地, 该交互策略中还可以包括: 发送权限指示。 该发送权 限指示用于指示网络中的设备的发送权限, 例如: 发送权限指示包括: 第一 设备具有向第二设备发送消息的权限。  The interaction strategy includes: a trigger event and a message processing method. The trigger event is an event that occurs on the first device that triggers the second device operation. The message processing method is used to indicate the correspondence between the trigger event and the content of the notification message. The first device learns the content of the notification message corresponding to the trigger event according to the monitored trigger event, and generates a corresponding notification message according to the indication of the message processing method. Further, the interaction policy may further include: sending a permission indication. The sending permission indication is used to indicate the sending permission of the device in the network, for example: the sending the permission indication comprises: the first device has the right to send a message to the second device.
步骤 402: 网络中间件获取发送权限指示。  Step 402: The network middleware obtains a sending permission indication.
在本步骤中, 网络中间件根据接收的来自应用服务器的交互策略, 获取 该交互策略中的发送权限指示, 进一步地, 网络中间件可以记录该发送权限 指示。  In this step, the network middleware obtains the sending permission indication in the interaction policy according to the received interaction policy from the application server, and further, the network middleware can record the sending permission indication.
步骤 403: 网络中间件向第一设备转发交互策略。  Step 403: The network middleware forwards the interaction policy to the first device.
步骤 404: 第一设备存储交互策略。  Step 404: The first device stores an interaction policy.
步骤 405: 第一设备向网络中间件返回交互策略接收响应消息。  Step 405: The first device returns an interaction policy receiving response message to the network middleware.
步骤 406: 网络中间件向应用服务器返回交互策略接收响应消息。  Step 406: The network middleware returns an interaction policy receiving response message to the application server.
步骤 407: 第一设备监控触发事件。  Step 407: The first device monitors a trigger event.
在本步骤中, 第一设备根据交互策略监控触发事件。 仍以 M2M 网络系 统需要实现的功能为: 当传感器网络监测到湿度低于阈值时开启加湿器为例, 第一设备为传感器网络, 在本步骤中, 传感器网络监控湿度是否低于阈值。  In this step, the first device monitors the trigger event according to the interaction policy. The functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example. The first device is a sensor network. In this step, the sensor network monitors whether the humidity is lower than the threshold.
步骤 408: 当触发事件发生时, 第一设备向网络中间件发送通知消息。 在本步骤中, 当触发事件发生时, 第一设备首先根据交互策略中的消息 处理方法的指示, 获知该触发事件对应的通知消息内容, 生成该通知消息, 然后向网络中间件发送该通知消息。 仍以 M2M网络系统需要实现的功能为: 当传感器网络监测到湿度低于阈值时开启加湿器为例。则该消息处理方法为: 当发生传感器网络监测到湿度低于阈值的触发事件时, 生成开启加湿器的通 知消息。 当传感器网络监测到湿度低于阈值, 传感器网络根据该消息处理方 法生成通知消息, 该通知消息中指示开启加湿器, 然后传感器网络向网络中 间件发送该通知消息。 Step 408: When the triggering event occurs, the first device sends a notification message to the network middleware. In this step, when the triggering event occurs, the first device first learns the content of the notification message corresponding to the triggering event according to the indication of the message processing method in the interaction policy, generates the notification message, and then sends the notification message to the network middleware. . The functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example. Then the message processing method is: When a trigger event occurs in which the sensor network detects that the humidity is below the threshold, a notification message to turn on the humidifier is generated. When the sensor network detects that the humidity is below the threshold, the sensor network generates a notification message according to the message processing method, the notification message indicates that the humidifier is turned on, and then the sensor network sends the notification message to the network middleware.
步骤 409: 网络中间件进行权限验证。  Step 409: The network middleware performs authority verification.
在本步骤中, 网络中间件根据步骤 402中获取的发送权限指示对第一网 络设备进行权限验证,以验证第一设备是否有权限向第二网络设备发送消息, 当验证通过时, 执行步骤 410。  In this step, the network middleware performs the rights verification on the first network device according to the sending permission indication obtained in step 402, to verify whether the first device has the right to send a message to the second network device, and when the verification is passed, step 410 is performed. .
步骤 410: 网络中间件向第二设备转发通知消息。  Step 410: The network middleware forwards the notification message to the second device.
步骤 411 : 第二设备根据通知消息进行对应操作。  Step 411: The second device performs a corresponding operation according to the notification message.
在本步骤中, 仍以 M2M 网络系统需要实现的功能为: 当传感器网络监 测到湿度低于阈值时开启加湿器为例, 加湿器根据从网络中间件接收的通知 消息, 该消息中指示开启加湿器, 因此加湿器执行开启操作。  In this step, the functions still required to be implemented by the M2M network system are as follows: When the sensor network detects that the humidity is lower than the threshold, the humidifier is turned on as an example, and the humidifier indicates that the humidification is started according to the notification message received from the network middleware. Therefore, the humidifier performs an opening operation.
步骤 412: 第二设备向网络中间件返回接收成功响应消息。  Step 412: The second device returns a receiving success response message to the network middleware.
步骤 413: 网络中间件向第一设备返回接收成功响应消息。  Step 413: The network middleware returns a receiving success response message to the first device.
在步骤 413之后, 实现了根据第一设备获取的信息触发第二设备执行对 应操作, 当第二设备不再需要根据第一设备获取的信息触发操作时, 可以取 消该交互策略。 具体过程包括如下步骤 414至步骤 418。  After the step 413, the second device is triggered to perform the corresponding operation according to the information acquired by the first device. When the second device no longer needs to trigger the operation according to the information acquired by the first device, the interaction policy may be cancelled. The specific process includes the following steps 414 to 418.
步骤 414: 应用服务器向网络中间件发送取消交互策略请求消息。  Step 414: The application server sends a cancel interaction policy request message to the network middleware.
在本步骤中, 应用服务器根据取消指令向网络中间件发送该取消交互策 略请求消息。 应用服务器获取该取消指令的方式与本发明实施例二的步骤 214相同, 在此不再赘述。 该取消交互策略请求消息中包括: 待取消的交互 策略中的触发事件。  In this step, the application server sends the cancel interaction policy request message to the network middleware according to the cancel instruction. The manner in which the application server obtains the cancellation instruction is the same as the step 214 in the second embodiment of the present invention, and details are not described herein again. The cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled.
步骤 415: 网络中间件向第一设备转发取消交互策略请求消息。  Step 415: The network middleware forwards the cancel interaction policy request message to the first device.
步骤 416: 第一设备停止监控待取消的交互策略中的触发事件。  Step 416: The first device stops monitoring the trigger event in the interaction policy to be canceled.
在本步骤中, 第一设备首先对接收的取消交互策略请求消息进行消息处 理, 然后根据该取消交互策略请求消息, 停止监控待取消的交互策略中的触 发事件。 In this step, the first device first performs a message message on the received cancel interaction policy request message. Then, according to the cancel interaction policy request message, stop monitoring the trigger event in the interaction policy to be canceled.
步骤 417: 第一设备向网络中间件返回取消交互策略响应消息。  Step 417: The first device returns a cancel interaction policy response message to the network middleware.
步骤 418: 网络中间件向应用服务器转发取消交互策略响应消息。  Step 418: The network middleware forwards the cancel interaction policy response message to the application server.
在本发明实施例四中, 应用服务器产生或从外界获取指示触发事件的交 互策略, 第一设备根据该交互策略监控触发事件, 当触发事件发生时, 第一 设备生成通知消息并通过网络中间件转发给第二设备。 采用交互策略进行控 制, 通过一次交互过程即可令第二设备获知第一设备发生了触发事件, 因此 减少了消息交互, 节省了网络资源并缩短了网络时延, 从而提高了网络处理 效率。 并且, 第一设备与第二设备的交互不必经过应用服务器控制转发, 如 果应用服务器在将交互策略下发到网络中间件后与所在的 M2M 网络系统断 开, 采用本发明实施例四的交互方法, 第二设备仍能够正确获知第一设备发 生了触发事件, 避免了现有的交互方法中应用服务器断开导致的设备之间的 交互中断, 从而提高了设备之间交互的正确率。  In the fourth embodiment of the present invention, the application server generates or obtains an interaction policy indicating a trigger event, and the first device monitors the trigger event according to the interaction policy. When the trigger event occurs, the first device generates a notification message and passes the network middleware. Forward to the second device. The interaction policy is used to control, and the second device can learn that the first device has a trigger event through an interaction process, thereby reducing message interaction, saving network resources and shortening network delay, thereby improving network processing efficiency. The interaction between the first device and the second device does not need to be forwarded by the application server. If the application server is disconnected from the M2M network system after the interaction policy is sent to the network middleware, the interaction method of the fourth embodiment of the present invention is adopted. The second device can still correctly learn that the triggering event occurs on the first device, and avoids the interruption of interaction between the devices caused by the disconnection of the application server in the existing interaction method, thereby improving the correct rate of interaction between the devices.
图 5为本发明实施例五的 M2M网络系统的结构示意图。 如图 5所示, 该系统中包括:第一设备 51、第二设备 52、应用服务器 53和网络中间件 54。 在本发明实施例五中, 以网络中间件 54作为控制执行设备为例。  FIG. 5 is a schematic structural diagram of an M2M network system according to Embodiment 5 of the present invention. As shown in FIG. 5, the system includes: a first device 51, a second device 52, an application server 53, and a network middleware 54. In the fifth embodiment of the present invention, the network middleware 54 is taken as a control execution device as an example.
其中, 应用服务器 53用于获取交互策略。 该交互策略包括: 触发事件和 消息处理方法。  The application server 53 is configured to acquire an interaction policy. The interaction strategy includes: triggering events and message processing methods.
网络中间件 54用于获取来自应用服务器的交互策略, 控制第一设备 51 监控触发事件, 并控制第一设备 51在触发事件发生时向网络中间件 54发送 触发事件发生通知消息, 根据消息处理方法处理触发事件发生通知消息, 生 成通知消息并发送给第二设备 52。  The network middleware 54 is configured to acquire an interaction policy from the application server, control the first device 51 to monitor the trigger event, and control the first device 51 to send a trigger event occurrence notification message to the network middleware 54 when the trigger event occurs, according to the message processing method. The trigger event occurrence notification message is processed, a notification message is generated and sent to the second device 52.
第一设备 51用于根据网络中间件 54的控制监控触发事件, 在触发事件 发生时向网络中间件 54发送触发事件发生通知消息。  The first device 51 is configured to monitor a trigger event according to the control of the network middleware 54, and send a trigger event occurrence notification message to the network middleware 54 when the trigger event occurs.
第二设备 52用于根据通知消息执行对应操作。 在本发明实施例五的上述技术方案的基础上, 具体地,应用服务器 53具 体用于产生包括触发事件和消息处理方法的交互策略。网络中间件 54具体用 于向第一设备 51发送订阅请求消息, 订阅请求消息包括: 触发事件, 网络中 间件 54还具体用于根据消息处理方法处理来自第一设备 51的触发事件发生 通知消息, 生成通知消息并发送给第二设备 52。 第一设备 51具体用于根据 订阅请求消息监控触发事件, 当触发事件发生时根据订阅请求向网络中间件 54发送触发事件发生通知消息。第二设备 52用于根据来自网络中间件 54的 通知消息执行对应操作。 The second device 52 is configured to perform a corresponding operation according to the notification message. On the basis of the foregoing technical solution of the fifth embodiment of the present invention, specifically, the application server 53 is specifically configured to generate an interaction policy including a trigger event and a message processing method. The network middleware 54 is specifically configured to send a subscription request message to the first device 51. The subscription request message includes: a trigger event, and the network middleware 54 is further configured to process a trigger event occurrence notification message from the first device 51 according to the message processing method. A notification message is generated and sent to the second device 52. The first device 51 is specifically configured to monitor a trigger event according to the subscription request message, and send a trigger event occurrence notification message to the network middleware 54 according to the subscription request when the trigger event occurs. The second device 52 is operative to perform a corresponding operation in accordance with a notification message from the network middleware 54.
在上述技术方案的基础上, 进一步地,应用服务器 53还用于产生取消交 互策略请求消息, 该取消交互策略请求消息包括: 待取消的交互策略中的触 发事件。 网络中间件 54还用于获取来自应用服务器 53的取消交互策略请求 消息, 向第一设备 51发送取消订阅请求消息, 该取消订阅请求消息包括: 待 取消的交互策略中的触发事件。第一设备 51还用于根据取消订阅请求消息停 止监控待取消的交互策略中的触发事件。  Based on the foregoing technical solution, the application server 53 is further configured to generate a cancel interaction policy request message, where the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled. The network middleware 54 is further configured to obtain a cancel interaction policy request message from the application server 53, and send an unsubscribe request message to the first device 51, where the unsubscribe request message includes: a trigger event in the interaction policy to be canceled. The first device 51 is further configured to stop monitoring the trigger event in the interaction policy to be canceled according to the unsubscribe request message.
在本发明实施例五中, 由网络中间件作为执行控制设备, 应用服务器产 生或从外界获取指示触发事件的交互策略, 网络中间件根据该交互策略控制 第一设备监控该触发事件, 当触发事件发生时, 第一设备通知网络中间件, 网络中间件生成通知消息并发送给第二设备。 因此减少了消息交互, 节省了 网络资源并缩短了网络时延, 从而提高了网络处理效率。 并且, 第一设备与 第二设备的交互不必经过应用服务器控制转发, 从而提高了设备之间交互的 正确率。  In the fifth embodiment of the present invention, the network middleware is used as the execution control device, and the application server generates or obtains an interaction policy indicating the trigger event, and the network middleware controls the first device to monitor the trigger event according to the interaction policy, when the trigger event is triggered. When it occurs, the first device notifies the network middleware, and the network middleware generates a notification message and sends it to the second device. Therefore, the message interaction is reduced, the network resources are saved, and the network delay is shortened, thereby improving the network processing efficiency. Moreover, the interaction between the first device and the second device does not need to be forwarded by the application server, thereby improving the correct rate of interaction between the devices.
图 6为本发明实施例六的 M2M网络系统的结构示意图。 如图 6所示, 该系统中包括:第一设备 61、第二设备 62、应用服务器 63和网络中间件 64。 在本发明实施例六中, 以第一设备 61作为控制执行设备为例。  FIG. 6 is a schematic structural diagram of an M2M network system according to Embodiment 6 of the present invention. As shown in FIG. 6, the system includes: a first device 61, a second device 62, an application server 63, and a network middleware 64. In the sixth embodiment of the present invention, the first device 61 is taken as a control execution device as an example.
其中, 应用服务器 63用于获取交互策略。 该交互策略包括: 触发事件和 消息处理方法。 网络中间件 64 用于从应用服务器 63 获取交互策略并转发给第一设备 61 , 从第一设备 61获取通知消息并转发给第二设备 62。 The application server 63 is configured to acquire an interaction policy. The interaction strategy includes: a trigger event and a message processing method. The network middleware 64 is configured to acquire an interaction policy from the application server 63 and forward it to the first device 61, obtain a notification message from the first device 61, and forward it to the second device 62.
第一设备 61用于获取交互策略,监控触发事件, 当触发事件发生时根据 消息处理方法生成通知消息并发送给网络中间件 64。  The first device 61 is configured to acquire an interaction policy, monitor a trigger event, generate a notification message according to the message processing method when the trigger event occurs, and send the notification message to the network middleware 64.
第二设备 62, 用于根据通知消息执行对应操作。  The second device 62 is configured to perform a corresponding operation according to the notification message.
在本发明实施例六的上述技术方案的基础上, 具体地,应用服务器 63具 体用于产生包括触发事件和消息处理方法的交互策略,向网络中间件 64发送 交互策略。 网络中间件 64用于向第一设备 61转发来自应用服务器 63的交 互策略, 向第二设备 62转发来自第一设备 61的通知消息。 第一设备 61具 体用于根据交互策略控制第一设备 61监控触发事件, 当触发事件发生时,根 据消息处理方法生成通知消息并发送给网络中间件 64。  Based on the foregoing technical solution of the sixth embodiment of the present invention, specifically, the application server 63 is configured to generate an interaction policy including a trigger event and a message processing method, and send an interaction policy to the network middleware 64. The network middleware 64 is for forwarding the interaction policy from the application server 63 to the first device 61, and forwarding the notification message from the first device 61 to the second device 62. The first device 61 is configured to control the first device 61 to monitor the trigger event according to the interaction policy. When the trigger event occurs, the notification message is generated according to the message processing method and sent to the network middleware 64.
在上述技术方案的基础上, 进一步地, 交互策略还包括: 发送权限指示。 应用服务器 63具体用于产生包括触发事件、消息处理方法和发送权限指示的 交互策略, 向网络中间件 64发送交互策略。 网络中间件 64具体用于获取发 送权限指示, 根据发送权限指示对第一网络设备进行权限验证, 当验证通过 时, 向第二设备 62转发来自第一设备 61的通知消息。  Based on the foregoing technical solution, the interaction policy further includes: sending a permission indication. The application server 63 is specifically configured to generate an interaction policy including a trigger event, a message processing method, and a sending permission indication, and send an interaction policy to the network middleware 64. The network middleware 64 is specifically configured to obtain a sending permission indication, perform rights verification on the first network device according to the sending permission indication, and forward the notification message from the first device 61 to the second device 62 when the verification passes.
在上述技术方案的基础上, 进一步地,应用服务器 63还用于产生取消交 互策略请求消息, 取消交互策略请求消息包括: 待取消的交互策略中的触发 事件。 网络中间件 64还用于向第一设备 61转发来自应用服务器 63的取消 交互策略请求消息。 第一设备 61还用于根据取消交互策略请求消息,控制第 一设备 61停止监控待取消的交互策略中的触发事件。  On the basis of the foregoing technical solutions, the application server 63 is further configured to generate a cancel interaction policy request message, where the canceling the interaction policy request message includes: a trigger event in the interaction policy to be canceled. The network middleware 64 is also used to forward the cancel interaction policy request message from the application server 63 to the first device 61. The first device 61 is further configured to control the first device 61 to stop monitoring the trigger event in the interaction policy to be canceled according to the cancel interaction policy request message.
在本发明实施例六中, 由第一设备作为执行控制设备, 应用服务器产生 或从外界获取指示触发事件的交互策略, 第一设备根据该交互策略监控触发 事件, 当触发事件发生时, 第一设备生成通知消息并通过网络中间件转发给 第二设备。 因此减少了消息交互, 节省了网络资源并缩短了网络时延, 从而 提高了网络处理效率。 并且, 第一设备与第二设备的交互不必经过应用服务 器控制转发, 从而提高了设备之间交互的正确率。 In the sixth embodiment of the present invention, the first device is used as the execution control device, and the application server generates or obtains an interaction policy indicating the trigger event, and the first device monitors the trigger event according to the interaction policy. When the trigger event occurs, the first device The device generates a notification message and forwards it to the second device through the network middleware. Therefore, the message interaction is reduced, the network resources are saved, and the network delay is shortened, thereby improving the network processing efficiency. Moreover, the interaction between the first device and the second device does not have to go through an application service. The device controls forwarding, which improves the accuracy of interaction between devices.
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。  It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要求 Rights request
1、 一种设备之间的交互方法, 其特征在于, 包括:  A method for interacting between devices, comprising:
网络中间件获取应用服务器产生的交互策略, 所述交互策略包括: 触发 事件和消息处理方法;  The network middleware acquires an interaction policy generated by the application server, where the interaction policy includes: a trigger event and a message processing method;
所述网络中间件控制第一设备监控所述触发事件, 并控制第一设备在所 述触发事件发生时向所述网络中间件发送触发事件发生通知消息;  The network middleware controls the first device to monitor the trigger event, and controls the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs;
所述网络中间件根据所述消息处理方法处理所述触发事件发生通知消 息, 生成通知消息并发送给第二设备, 以使所述第二设备根据所述通知消息 执行对应操作。  The network middleware processes the trigger event occurrence notification message according to the message processing method, generates a notification message, and sends the notification message to the second device, so that the second device performs a corresponding operation according to the notification message.
2、 根据权利要求 1所述的方法, 其特征在于, 所述网络中间件控制第一 设备监控所述触发事件, 并控制第一设备在所述触发事件发生时向所述网络 中间件发送触发事件发生通知消息包括:  2. The method according to claim 1, wherein the network middleware controls the first device to monitor the trigger event, and controls the first device to send a trigger to the network middleware when the trigger event occurs. The event occurrence notification message includes:
所述网络中间件向所述第一设备发送订阅请求消息, 以使所述第一设备 根据所述订阅请求消息监控所述触发事件, 并在所述触发事件发生时向所述 网络中间件发送触发事件发生通知消息, 所述订阅请求消息包括: 所述触发 事件。  Transmitting, by the network middleware, a subscription request message to the first device, so that the first device monitors the trigger event according to the subscription request message, and sends the trigger event to the network middleware when the trigger event occurs And triggering an event occurrence notification message, where the subscription request message includes: the trigger event.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 还包括:  The method according to claim 1 or 2, further comprising:
所述网络中间件获取来自所述应用服务器的取消交互策略请求消息, 所 述取消交互策略请求消息包括: 待取消的交互策略中的触发事件;  The network middleware obtains a cancel interaction policy request message from the application server, where the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled;
所述网络中间件向所述第一设备发送取消订阅请求消息, 以使所述第一 设备停止监控所述待取消的交互策略中的触发事件, 所述取消订阅请求消息 包括: 待取消的交互策略中的触发事件。  The network middleware sends an unsubscribe request message to the first device, so that the first device stops monitoring the trigger event in the interaction policy to be canceled, and the unsubscribe request message includes: the interaction to be canceled The trigger event in the policy.
4、 一种设备之间的交互方法, 其特征在于, 包括:  4. A method for interacting between devices, comprising:
第一设备通过网络中间件获取应用服务器产生的交互策略, 所述交互策 略包括: 触发事件和消息处理方法;  The first device acquires an interaction policy generated by the application server by using a network middleware, where the interaction policy includes: a trigger event and a message processing method;
所述第一设备监控所述触发事件; 当所述触发事件发生时, 所述第一设备根据所述消息处理方法生成通知 消息并通过所述网络中间件发送给第二设备, 以使所述第二设备根据所述通 知消息执行对应操作。 The first device monitors the trigger event; When the triggering event occurs, the first device generates a notification message according to the message processing method, and sends the notification message to the second device by using the network middleware, so that the second device performs a corresponding operation according to the notification message. .
5、 根据权利要求 4所述的方法, 其特征在于,  5. The method of claim 4, wherein
所述第一设备通过网络中间件获取应用服务器产生的交互策略包括: 所 述应用服务器向所述网络中间件发送所述交互策略; 所述网络中间件向所述 第一设备转发所述交互策略;  The acquiring, by the network device, the interaction policy generated by the application server by using the network middleware includes: the application server sending the interaction policy to the network middleware; and the network middleware forwarding the interaction policy to the first device ;
所述第一设备根据所述消息处理方法生成通知消息并通过所述网络中间 件发送给第二设备包括: 所述第一设备根据所述消息处理方法生成通知消息 并发送给所述网络中间件; 所述网络中间件向所述第二设备转发所述通知消 自  The generating, by the first device, the notification message according to the message processing method and sending the message to the second device by using the network middleware includes: generating, by the first device, a notification message according to the message processing method, and sending the message to the network middleware Transmitting, by the network middleware, the notification to the second device
6、 根据权利要求 5所述的方法, 其特征在于,  6. The method of claim 5, wherein
所述交互策略还包括: 发送权限指示;  The interaction policy further includes: sending a permission indication;
所述应用服务器向所述网络中间件发送所述交互策略之后, 还包括: 所 述网络中间件获取所述发送权限指示;  After the application server sends the interaction policy to the network middleware, the method further includes: the network middleware acquiring the sending permission indication;
所述第一设备根据所述消息处理方法生成通知消息并发送给所述网络中 间件之后, 所述网络中间件向所述第二设备转发所述通知消息之前, 该方法 还包括: 所述网络中间件根据所述发送权限指示对第一网络设备进行权限验 证, 当验证通过时, 执行所述网络中间件向所述第二设备转发所述通知消息 的步骤。  After the first device generates the notification message according to the message processing method and sends the notification message to the network middleware, before the network middleware forwards the notification message to the second device, the method further includes: the network The middleware performs the right authority verification on the first network device according to the sending permission indication, and when the verification passes, performs the step of the network middleware forwarding the notification message to the second device.
7、 根据权利要求 4至 6中任意一项所述的方法, 其特征在于, 还包括: 所述第一设备通过所述网络中间件获取来自所述应用服务器的取消交互 策略请求消息, 所述取消交互策略请求消息包括: 待取消的交互策略中的触 发事件;  The method according to any one of claims 4 to 6, further comprising: the first device acquiring a cancel interaction policy request message from the application server by using the network middleware, The cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled;
所述第一设备停止监控所述待取消的交互策略中的触发事件。  The first device stops monitoring a trigger event in the interaction policy to be canceled.
8、 一种机器通信 M2M网络系统, 其特征在于, 包括: 应用服务器, 用于获取交互策略, 所述交互策略包括: 触发事件和消息 处理方法; 8. A machine communication M2M network system, comprising: An application server, configured to acquire an interaction policy, where the interaction policy includes: a trigger event and a message processing method;
网络中间件, 用于获取来自应用服务器的所述交互策略, 控制第一设备 监控所述触发事件, 并控制第一设备在所述触发事件发生时向所述网络中间 件发送触发事件发生通知消息, 根据所述消息处理方法处理所述触发事件发 生通知消息, 生成通知消息并发送给第二设备;  a network middleware, configured to acquire the interaction policy from the application server, control the first device to monitor the trigger event, and control the first device to send a trigger event occurrence notification message to the network middleware when the trigger event occurs And processing the trigger event occurrence notification message according to the message processing method, generating a notification message, and sending the notification message to the second device;
第一设备, 用于根据所述网络中间件的控制监控所述触发事件, 在所述 触发事件发生时向所述网络中间件发送触发事件发生通知消息;  a first device, configured to monitor, according to the control of the network middleware, the trigger event, and send a trigger event occurrence notification message to the network middleware when the trigger event occurs;
第二设备, 用于根据所述通知消息执行对应操作。  And a second device, configured to perform a corresponding operation according to the notification message.
9、 根据权利要求 8所述的系统, 其特征在于,  9. The system of claim 8 wherein:
所述网络中间件具体用于向所述第一设备发送订阅请求消息;  The network middleware is specifically configured to send a subscription request message to the first device;
所述第一设备具体用于根据所述订阅请求消息监控所述触发事件, 并在 所述触发事件发生时向所述网络中间件发送触发事件发生通知消息, 所述订 阅请求消息包括: 所述触发事件。  The first device is specifically configured to monitor the trigger event according to the subscription request message, and send a trigger event occurrence notification message to the network middleware when the trigger event occurs, where the subscription request message includes: trigger event.
10、 根据权利要求 8或 9所述的系统, 其特征在于,  10. A system according to claim 8 or claim 9 wherein:
所述应用服务器还用于产生取消交互策略请求消息, 所述取消交互策略 请求消息包括: 待取消的交互策略中的触发事件;  The application server is further configured to generate a cancel interaction policy request message, where the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled;
所述网络中间件还用于获取所述取消交互策略请求消息, 向所述第一设 备发送取消订阅请求消息, 所述取消订阅请求消息包括: 待取消的交互策略 中的触发事件;  The network middleware is further configured to obtain the cancel interaction policy request message, and send an unsubscribe request message to the first device, where the unsubscribe request message includes: a trigger event in an interaction policy to be canceled;
所述第一设备还用于根据所述取消订阅请求消息停止监控所述待取消的 交互策略中的触发事件。  The first device is further configured to stop monitoring a trigger event in the interaction policy to be canceled according to the unsubscribe request message.
11、 一种机器通信 M2M网络系统, 其特征在于, 包括:  11. A machine communication M2M network system, comprising:
应用服务器, 用于获取交互策略, 所述交互策略包括: 触发事件和消息 处理方法;  An application server, configured to acquire an interaction policy, where the interaction policy includes: a trigger event and a message processing method;
网络中间件, 用于从应用服务器获取所述交互策略并转发给第一设备, 从所述第一设备获取通知消息并转发给第二设备; a network middleware, configured to acquire the interaction policy from an application server and forward the same to the first device, Obtaining a notification message from the first device and forwarding the message to the second device;
第一设备, 用于获取所述交互策略, 监控所述触发事件, 当所述触发事 件发生时根据所述消息处理方法生成通知消息并发送给所述网络中间件; 第二设备, 用于根据所述通知消息执行对应操作。  a first device, configured to acquire the interaction policy, monitor the trigger event, generate a notification message according to the message processing method, and send the notification message to the network middleware when the trigger event occurs; The notification message performs a corresponding operation.
12、 根据权利要求 11所述的系统, 其特征在于,  12. The system of claim 11 wherein:
所述交互策略还包括: 发送权限指示;  The interaction policy further includes: sending a permission indication;
所述网络中间件还用于获取所述发送权限指示, 根据所述发送权限指示 对所述第一网络设备进行权限验证。  The network middleware is further configured to obtain the sending permission indication, and perform rights verification on the first network device according to the sending permission indication.
13、 根据权利要求 11或 12所述的系统, 其特征在于,  13. A system according to claim 11 or 12, characterized in that
所述应用服务器还用于产生取消交互策略请求消息, 所述取消交互策略 请求消息包括: 待取消的交互策略中的触发事件;  The application server is further configured to generate a cancel interaction policy request message, where the cancel interaction policy request message includes: a trigger event in the interaction policy to be canceled;
所述网络中间件还用于从应用服务器获取所述取消交互策略请求消息并 转发给所述第一设备;  The network middleware is further configured to acquire the cancel interaction policy request message from an application server and forward the message to the first device;
所述第一设备获取所述取消交互策略请求消息, 停止监控所述待取消的 交互策略中的触发事件。  The first device acquires the cancel interaction policy request message, and stops monitoring the trigger event in the interaction policy to be canceled.
PCT/CN2011/074001 2011-05-12 2011-05-12 Interaction method between equipments and machine to machine communication network system WO2011124177A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/074001 WO2011124177A2 (en) 2011-05-12 2011-05-12 Interaction method between equipments and machine to machine communication network system
CN201180000620.XA CN102217261B (en) 2011-05-12 2011-05-12 Exchange method between equipment and machine communication network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/074001 WO2011124177A2 (en) 2011-05-12 2011-05-12 Interaction method between equipments and machine to machine communication network system

Publications (2)

Publication Number Publication Date
WO2011124177A2 true WO2011124177A2 (en) 2011-10-13
WO2011124177A3 WO2011124177A3 (en) 2012-04-05

Family

ID=44746754

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074001 WO2011124177A2 (en) 2011-05-12 2011-05-12 Interaction method between equipments and machine to machine communication network system

Country Status (2)

Country Link
CN (1) CN102217261B (en)
WO (1) WO2011124177A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813276A (en) * 2012-11-06 2014-05-21 中兴通讯股份有限公司 Information sending method, MTC server, user equipment, and MTC system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973748B (en) * 2013-02-04 2017-08-01 珠海格力电器股份有限公司 Intelligent domestic system and its monitoring method
CN105474739B (en) * 2013-08-18 2019-11-29 Lg 电子株式会社 Cancel the method and apparatus of equipment triggering in a wireless communication system
CN105656971B (en) * 2014-11-24 2019-02-05 中国移动通信集团公司 The methods, devices and systems of message subscribing relationship are established between a kind of node
WO2016109983A1 (en) * 2015-01-09 2016-07-14 华为技术有限公司 Method and entity for subscribing notifications in machine to machine (m2m) communication system
CN112039769A (en) * 2016-12-28 2020-12-04 华为技术有限公司 Method for processing route and network equipment
CN106791948B (en) * 2016-12-29 2019-11-29 东方网力科技股份有限公司 A kind of video wall management method, apparatus and system that multi-client is synchronous
CN109412850B (en) * 2018-10-25 2022-02-11 新华三技术有限公司合肥分公司 Message subscription control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1849994A (en) * 2006-06-01 2006-10-25 中山大学 Domestic sleeping health monitoring system
CN101247301A (en) * 2008-03-05 2008-08-20 罗笑南 Intelligent household networking structure containing set-top box and its operation method
CN101661268A (en) * 2008-08-25 2010-03-03 李海青 Method for integrally controlling living room and human body count detection energy-saving control system
US20100245583A1 (en) * 2009-03-25 2010-09-30 Syclipse Technologies, Inc. Apparatus for remote surveillance and applications therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937610A (en) * 2009-09-23 2011-01-05 中国电信股份有限公司泉州分公司 Method for triggering linkage action between security equipment and monitoring equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1849994A (en) * 2006-06-01 2006-10-25 中山大学 Domestic sleeping health monitoring system
CN101247301A (en) * 2008-03-05 2008-08-20 罗笑南 Intelligent household networking structure containing set-top box and its operation method
CN101661268A (en) * 2008-08-25 2010-03-03 李海青 Method for integrally controlling living room and human body count detection energy-saving control system
US20100245583A1 (en) * 2009-03-25 2010-09-30 Syclipse Technologies, Inc. Apparatus for remote surveillance and applications therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813276A (en) * 2012-11-06 2014-05-21 中兴通讯股份有限公司 Information sending method, MTC server, user equipment, and MTC system

Also Published As

Publication number Publication date
CN102217261A (en) 2011-10-12
CN102217261B (en) 2016-07-06
WO2011124177A3 (en) 2012-04-05

Similar Documents

Publication Publication Date Title
WO2011124177A2 (en) Interaction method between equipments and machine to machine communication network system
EP2772009B1 (en) System and method for transmitting messages related to operations of electronic devices
US20130049950A1 (en) Methods, Systems, and Products for Notifications in Security Systems
US20170366620A1 (en) Long connection method between a plurality of smart devices and a server, and smart device thereof
US9237077B2 (en) Monitoring persistent client connection status in a distributed server environment
KR101749198B1 (en) Pan-tilt-zoom device identification method, pan-tilt-zoom device, camera, and pan-tilt-zoom device control system
US10959122B2 (en) Method and device for transmitting data
US20220051161A1 (en) Methods, devices, and systems for prioritizing mobile network trouble tickets based on customer impact
CN105814917B (en) Method and apparatus for event notification in home network system
CN104065526A (en) Server fault alarming method and device thereof
KR20150068317A (en) Method of failover for network device in software defined network environment
KR101737259B1 (en) Method deviceprogram and recording medium for sending message
WO2014110911A1 (en) Fault processing method and apparatus in iptv system
US20180176745A1 (en) M2m group and notification resource creation and information exchange methods therefor, and storage medium
TW201800959A (en) Intelligent device control method, apparatus and device for internet of things
US11080107B2 (en) Event notification method, server device, event notification apparatus, and medium
CN110809262B (en) COAP protocol-based operation and maintenance management method for Internet of things equipment
CN116132519A (en) Device management method, device and readable storage medium
US10018981B2 (en) Monitoring removal of an automation control panel
US20170245133A1 (en) Technique for determining the presence of a peripheral device in a service area of a local network
US20230379234A1 (en) Device Anomaly Monitoring Method and Device
US11812487B2 (en) Method, device, extender, and computer medium for automatically restoring connection
CN110830305B (en) Method and device for wireless device to access WIFI network, electronic device and storage medium
KR101577254B1 (en) Apparatus and Method for Scheduling Request Message, and Recording Medium Using the Same
US20180270324A1 (en) Methods and devices for processing resource operation request

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000620.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11765095

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11765095

Country of ref document: EP

Kind code of ref document: A2