WO2016183996A1 - 设备间互动处理方法及装置 - Google Patents

设备间互动处理方法及装置 Download PDF

Info

Publication number
WO2016183996A1
WO2016183996A1 PCT/CN2015/090607 CN2015090607W WO2016183996A1 WO 2016183996 A1 WO2016183996 A1 WO 2016183996A1 CN 2015090607 W CN2015090607 W CN 2015090607W WO 2016183996 A1 WO2016183996 A1 WO 2016183996A1
Authority
WO
WIPO (PCT)
Prior art keywords
interaction
message
gateway
binding
interactive
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2015/090607
Other languages
English (en)
French (fr)
Inventor
苏本昌
侯恩星
高自光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to KR1020167005786A priority Critical patent/KR101760630B1/ko
Priority to RU2016110583A priority patent/RU2636122C2/ru
Priority to MX2016001781A priority patent/MX356618B/es
Priority to JP2017518402A priority patent/JP2017527232A/ja
Publication of WO2016183996A1 publication Critical patent/WO2016183996A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/288Distributed intermediate devices, i.e. intermediate devices for interaction with other intermediate devices on the same level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/566Routing instructions carried by the data packet, e.g. active networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present disclosure relates to the field of wireless network technologies, and in particular, to an inter-device interaction processing method and apparatus.
  • Gateway also known as network connector and protocol converter, is a complex device that implements interconnection between devices at the network layer. It is often used for two high-level protocols with different network connections. It is a network that connects to another network. "pass”.
  • a gateway is an intermediate device that connects an internal network to other devices on the Internet, also called a "router"; some devices that use non-TCP/IP protocols must also be able to communicate with other devices on the Internet through a dedicated network. Communication.
  • the embodiments of the present disclosure provide an apparatus and device for processing interaction between devices, which are used to reduce the burden on the server, improve the execution efficiency of the interaction logic between the devices, and avoid the problem of slow response or no response due to network communication congestion.
  • an inter-device interaction processing method including:
  • the second device is configured to execute a message according to the interaction.
  • the method further includes:
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the method further includes:
  • the binding relationship is released according to the release command.
  • the interaction execution message includes an operating parameter of the second device.
  • the method further includes:
  • an inter-device interaction processing method for a server, including:
  • interaction binding message includes interaction logic between the first device and the second device, where the first device and the second device belong to the same gateway;
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the method further includes:
  • the method further includes:
  • an inter-device interaction processing apparatus for a gateway, including:
  • An acquiring module configured to acquire an interaction trigger message that is sent by the first device that belongs to the gateway, and includes an identifier of the first device
  • a locating module configured to search, according to the identifier of the first device, an interaction execution message of the second device corresponding to the interaction trigger message from the pre-stored interaction binding message, where the second device belongs to the gateway, where
  • the interaction binding message includes an interaction logic between the first device and the second device;
  • a first sending module configured to send the interaction execution message to the second device, where the second device is used The message is executed according to the interaction.
  • the apparatus further includes:
  • a first receiving module configured to receive and store the interactive binding message sent by the server
  • the binding module is configured to establish a binding relationship between the first device and the second device according to the interaction binding message.
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the apparatus further includes:
  • a second receiving module configured to receive a release command sent by the server to the binding relationship
  • the unbinding module is configured to release the binding relationship according to the release command.
  • the interaction execution message includes an operating parameter of the second device.
  • the apparatus further includes:
  • a third receiving module configured to receive a query command sent by the server to the interactive binding message of the gateway
  • the second sending module is configured to send a corresponding interactive binding message to the server according to the query command.
  • an inter-device interaction processing apparatus for a server, including:
  • An acquiring module configured to acquire an interaction binding message, where the interaction binding message includes interaction logic between the first device and the second device, where the first device and the second device belong to the same gateway;
  • the first sending module is configured to send the interaction binding message to the gateway for storage, and establish a binding relationship between the first device and the second device.
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the apparatus further includes:
  • a second sending module configured to send a release command to the binding relationship to the gateway, so that the gateway cancels the binding relationship according to the release command.
  • the apparatus further includes:
  • a third sending module configured to send a query command for an interactive binding message of the gateway to the gateway
  • the receiving module is configured to receive a corresponding interactive binding message sent by the gateway according to the query command.
  • an inter-device interaction processing apparatus for a gateway, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the second device is configured to execute a message according to the interaction.
  • an inter-device interaction processing apparatus for a gateway, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • interaction binding message includes interaction logic between the first device and the second device, where the first device and the second device belong to the same gateway;
  • the above technical solution manages the interaction logic between devices through the gateway, reduces the burden on the server, improves the execution efficiency of the interaction logic, and, because the interaction between the devices does not need to pass through the server, therefore, some devices and servers are avoided.
  • FIG. 1 is a flowchart of an inter-device interaction processing method according to an exemplary embodiment.
  • FIG. 2 is a flowchart of another method for inter-device interaction processing according to an exemplary embodiment.
  • FIG. 3 is a flowchart of still another method for inter-device interaction processing according to an exemplary embodiment.
  • FIG. 4 is a flowchart of still another method for inter-device interaction processing according to an exemplary embodiment.
  • FIG. 5 is a flowchart of an inter-device interaction processing method according to another exemplary embodiment.
  • FIG. 6 is a flowchart of another method of inter-device interaction processing according to another exemplary embodiment.
  • FIG. 7 is a flowchart of still another method for inter-device interaction processing according to another exemplary embodiment.
  • FIG. 8 is a block diagram of an inter-device interaction processing apparatus according to an exemplary embodiment.
  • FIG. 9 is a block diagram of another inter-device interaction processing apparatus, according to an exemplary embodiment.
  • FIG. 10 is a block diagram of still another apparatus for inter-device interaction processing according to an exemplary embodiment.
  • FIG. 11 is a block diagram of still another apparatus-to-device interaction processing apparatus according to an exemplary embodiment.
  • FIG. 12 is a block diagram of an inter-device interaction processing apparatus according to another exemplary embodiment.
  • FIG. 13 is a block diagram of another inter-device interaction processing apparatus according to another exemplary embodiment.
  • FIG. 14 is a block diagram of still another apparatus-to-device interaction processing apparatus according to another exemplary embodiment.
  • FIG. 15 is a block diagram of an apparatus for inter-device interaction processing, according to an exemplary embodiment.
  • the technical solution provided by the embodiment of the present disclosure relates to a device in a three-party: a server, a gateway, and a gateway, where the server is configured to acquire an interactive binding message between the devices, and deliver the interactive binding message to the gateway; the gateway is configured to store The binding message is interactively combined, and the binding relationship between the devices included in the information is established according to the interaction binding message, so that the operation of another device is controlled according to the interaction trigger message of one device.
  • the device under the gateway is configured to send an interaction trigger message to the gateway when receiving the interactive trigger condition, or receive an interactive execution message sent by the gateway, and run according to the interactive execution message.
  • the interaction logic between devices is managed through the gateway, which reduces the burden on the server and improves the execution efficiency of the interaction logic.
  • some devices and servers are avoided. The problem of slow or no response caused by network communication blocking.
  • Embodiments of the present disclosure provide an inter-device interaction processing method, and an execution entity implementing the method has a gateway and a server.
  • Embodiments of the present disclosure configure a method of inter-device interaction processing according to different methods of implementing a subject, as follows:
  • An embodiment of the present disclosure provides an inter-device interaction processing method, which can be used in a gateway. As shown in FIG. 1, the foregoing inter-device interaction processing method includes the following steps S101-S103:
  • step S101 an interaction trigger message that is sent by the first device that belongs to the gateway and that includes the identifier of the first device is obtained.
  • step S102 according to the identifier of the first device, searching for an interactive trigger in the pre-stored interactive binding message
  • the interaction execution message of the second device corresponding to the second device belongs to the gateway, and the interaction binding message includes interaction logic between the first device and the second device.
  • the interaction logic refers to logic for interacting between the first device and the second device.
  • the interaction binding message may include an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message; The interaction triggers the message, then the second device needs to operate according to the interactive execution message.
  • step S103 an interactive execution message is sent to the second device, and the second device is configured to execute the message according to the interaction.
  • the interaction execution message may include an operation parameter of the second device.
  • the interactive execution message may include a specific operating parameter of the air conditioner, such as an air conditioning mode, a set temperature, etc., in addition to the air conditioner opening message, thereby facilitating operation of the air conditioner.
  • the interaction logic between the devices is managed through the gateway, the burden on the server is reduced, the execution efficiency of the interaction logic is improved, and since the interaction between the devices does not need to pass through the server, some devices are avoided.
  • the foregoing method further includes the following steps S201-S202:
  • step S201 receiving and storing an interactive binding message sent by the server
  • step S202 a binding relationship between the first device and the second device is established according to the interaction binding message.
  • the binding relationship between the first device and the second device is established by interactively binding the message, so that the second device can be controlled according to the state of the first device.
  • the foregoing method further includes the following steps S301-S302:
  • step S301 the release command sent by the server to the binding relationship is received
  • step S302 the binding relationship is released according to the release command.
  • two devices that have established a binding relationship may also be unbound, and the two devices that are unbound will no longer operate according to the interaction logic in the interactive binding message.
  • the user can choose to bind or unbind two devices according to individual needs, thereby facilitating user control of the device and improving the user experience.
  • the foregoing method further includes the following steps S401-S402:
  • step S401 the query command of the interactive binding message sent by the server to the gateway is received
  • step S402 a corresponding interactive binding message is sent to the server according to the query command.
  • all interactive binding messages in the gateway can be queried.
  • the user may send a query request to the server, and the server sends a query command to the gateway according to the query request, and the gateway returns the corresponding query result to the server, and then the server sends the query to the user, so that the user You can view the interactive binding messages you want to query, so that users can further manipulate the interactive binding messages.
  • An embodiment of the present disclosure provides an inter-device interaction processing method, which can be used in a server. As shown in FIG. 5, the foregoing inter-device interaction processing method includes the following steps S501-S502:
  • step S501 an interaction binding message is obtained, where the interaction binding message includes interaction logic between the first device and the second device, and the first device and the second device belong to the same gateway.
  • the interaction logic refers to logic for interacting between the first device and the second device.
  • the interaction binding message may include an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message; The interaction triggers the message, then the second device needs to operate according to the interactive execution message.
  • the interactive binding message may be input by an operator of the server, or may be sent by the first device or the second device. When the interactive binding message is unrecognizable, the server can convert the interactive binding message into an interactive binding message in a format recognizable by the gateway.
  • the interaction execution message may include an operation parameter of the second device.
  • the interactive execution message may include a specific operating parameter of the air conditioner, such as an air conditioning mode, a set temperature, etc., in addition to the air conditioner opening message, thereby facilitating operation of the air conditioner.
  • step S502 an interaction binding message is sent to the gateway for storage, and a binding relationship between the first device and the second device is established.
  • the server sends an interactive binding message to the gateway, manages the interaction logic between the devices through the gateway, reduces the burden on the server, improves the execution efficiency of the interaction logic, and does not need to pass through the server due to interaction between devices. Therefore, some problems such as slow response or no response due to network communication blocking between the device and the server are avoided.
  • the foregoing method further includes step S601:
  • step S601 a release command for the binding relationship is sent to the gateway, so that the gateway releases the binding relationship according to the release command.
  • the two devices in the gateway that have established the binding relationship may be unbound, and the two devices that are unbound will no longer operate according to the interaction logic in the interactive binding message.
  • the user can choose to bind or unbind two devices according to individual needs, thereby facilitating user control of the device and improving the user experience.
  • the above method further includes steps S701-S702:
  • step S701 an inquiry command for the interactive binding message of the gateway is sent to the gateway;
  • step S702 the corresponding interactive binding message sent by the gateway according to the query command is received.
  • all interactive binding messages in the gateway can be queried.
  • the user may send a query request to the server, and the server sends a query command to the gateway according to the query request, and the gateway returns the corresponding query result to the server, and then the server sends the query to the user, so that the user can view the interaction desired to be queried. Bind the message so that the user can further manipulate the interactive binding message.
  • the user wants the PM2.5 sensor using the Bluetooth protocol to issue an instruction to turn on the smart air purifier using the Bluetooth protocol in the home when detecting the current poor air quality. Both devices are connected to the same Bluetooth in the user's home. On the gateway. Then, the user can set the interaction logic between the devices on the terminal, and the terminal app sends the user's settings to the server.
  • the server detects that the related device configured by the user is a device under the user gateway, the server sends an interaction binding message to the gateway.
  • the format of the message is: ⁇ sid1, event1, sid2, method2, params ⁇ .
  • Sid1 is the id of device 1
  • event1 is the interaction trigger message sent by device 1
  • sid2 is the id of device 2
  • method2 is the interactive execution message of device 2
  • params is the parameter of the message executed by device 2.
  • the meaning of the message is: the interaction trigger message event1 of the device 1 is bound to the interaction execution message method of the device 2, that is, when the device 1 generates the interaction trigger message event1, the device 2 automatically executes the interactive execution message method2, and the parameter of the method2 is params.
  • the interactive trigger message event1 detects that the PM2.5 is exceeded in the air for the PM2.5 sensor, and the interactive execution message method is to turn on the smart air purifier.
  • an interactive trigger message event1 containing its own id (sid1) is sent to the gateway.
  • the gateway After receiving the message, the gateway will send an interactive execution message to the Bluetooth air purifier (sid2) after discovering the interactive logic that the user has set in the pre-stored interactive binding message, and the Bluetooth air purifier starts running according to the message.
  • the interaction logic between devices is managed through the gateway, the burden on the server is reduced, the execution efficiency of the interaction logic is improved, and since the interaction between devices does not need to pass through the server, some networks between the device and the server are avoided.
  • the response caused by communication blocking is slow or unresponsive.
  • the embodiment of the present disclosure further provides an inter-device interaction processing device.
  • the device is used in a gateway, and the device includes:
  • the obtaining module 81 is configured to obtain an interaction trigger message that is sent by the first device that belongs to the gateway and that includes the identifier of the first device.
  • the locating module 82 is configured to search for an interaction execution message of the second device corresponding to the interaction trigger message from the pre-stored interaction binding message according to the identifier of the first device, where the second device belongs to the gateway, and the interaction binding message includes the first device. Interaction logic with the second device;
  • the first sending module 83 is configured to send an interactive execution message to the second device, and the second device is configured to execute the message according to the interaction.
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the interactive execution message includes operational parameters of the second device.
  • the foregoing apparatus further includes:
  • the first receiving module 91 is configured to receive and store an interactive binding message sent by the server;
  • the binding module 92 is configured to establish a binding relationship between the first device and the second device according to the interaction binding message.
  • the foregoing apparatus further includes:
  • the second receiving module 1001 is configured to receive a release command sent by the server to the binding relationship
  • the unbinding module 1002 is configured to release the binding relationship according to the release command.
  • the foregoing apparatus further includes:
  • the third receiving module 1101 is configured to receive a query command sent by the server to the interactive binding message of the gateway;
  • the second sending module 1102 is configured to send a corresponding interactive binding message to the server according to the query command.
  • the embodiment of the present disclosure further provides an inter-device interaction processing device.
  • the device is used for a server, and the device includes:
  • the obtaining module 1201 is configured to obtain an interaction binding message, where the interaction binding message includes interaction logic between the first device and the second device, where the first device and the second device belong to the same gateway; in one embodiment, the interaction is tied
  • the message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the first sending module 1202 is configured to send an interaction binding message to the gateway for storage, and establish a binding relationship between the first device and the second device.
  • the foregoing apparatus further includes:
  • the second sending module 1301 is configured to send a release command to the binding relationship to the gateway, so that the gateway releases the binding relationship according to the release command.
  • the foregoing apparatus further includes:
  • the third sending module 1401 is configured to send a query command to the gateway for the interactive binding message to the gateway;
  • the receiving module 1402 is configured to receive a corresponding interactive binding message sent by the gateway according to the query command.
  • the present disclosure also provides an inter-device interaction processing apparatus for a gateway, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the second device is configured to execute a message according to the interaction.
  • the above processor can also be configured to:
  • the method further includes:
  • the above processor can also be configured to:
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the above processor can also be configured to:
  • the method further includes:
  • the binding relationship is released according to the release command.
  • the above processor can also be configured to:
  • the interaction execution message includes an operation parameter of the second device.
  • the above processor can also be configured to:
  • the method further includes:
  • the present disclosure also provides an inter-device interaction processing apparatus for a server, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • interaction binding message includes interaction logic between the first device and the second device, where the first device and the second device belong to the same gateway;
  • the above processor can also be configured to:
  • the interaction binding message includes an identifier of the first device, an identifier of the second device, an interaction trigger message of the first device, and an interaction execution message of the second device corresponding to the interaction trigger message.
  • the above processor can also be configured to:
  • the method further includes:
  • the above processor can also be configured to:
  • the method further includes:
  • FIG. 15 is a block diagram of an apparatus 1900 for inter-device interaction processing, according to an exemplary embodiment.
  • device 1500 can be provided as a server.
  • apparatus 1500 includes a processing component 1522 that further includes one or more processors, and memory resources represented by memory 1532 for storing instructions executable by processing component 1522, such as an application.
  • An application stored in memory 1532 can include one or more modules each corresponding to a set of instructions. Additionally, processing component 1522 is configured to execute instructions to perform the methods described above.
  • Apparatus 1500 can also include a power supply component 1526 configured to perform power management of apparatus 1500, a wired or wireless network interface 1550 configured to connect apparatus 1500 to the network, and an input/output (I/O) interface 1558.
  • Device 1500 can operate based on an operating system stored in memory 1532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

本公开是关于设备间互动处理方法及装置,用以减轻服务器的负担,提高设备间的互动逻辑的执行效率,避免由于网络通信阻塞造成的响应速度慢或无响应的问题。该方法包括:获取归属于网关的第一设备发送的互动触发消息;根据第一设备的标识,从预存的互动绑定消息中查找互动触发消息对应的第二设备的互动执行消息,第二设备归属于网关,互动绑定消息包括第一设备与第二设备之间的互动逻辑;发送互动执行消息至第二设备,第二设备用于根据互动执行消息运行。通过该方案,减轻了服务器的负担,提高了互动逻辑的执行效率,并且,由于设备间互动不需要再经过服务器,因此,避免了一些由于设备与服务器之间网络通信阻塞造成的响应速度慢或者无响应的问题。

Description

设备间互动处理方法及装置
本申请基于申请号为201510260776.1、申请日为2015/5/20的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及无线网络技术领域,尤其涉及设备间互动处理方法及装置。
背景技术
网关(Gateway)又称网络连接器、协议转换器,是一种复杂的在网络层以上实现设备间互联的设备,常用于两个高层协议不同的网络连接,是一个网络连接到另一个网络的“关口”。在Internet网络中,网关是连接内部网络与Internet上其它设备的中间设备,也称“路由器”;一些使用了非TCP/IP协议的设备也必须通过专用的网络才能够和Internet网络中的其它设备通信。
在当前智能家居领域,很多无线协议(如蓝牙协议、Zigbee协议)得到了应用。这些设备间相互通信会使用自己的协议,和Internet网络中的其它设备进行通信时要通过网关来进行协议转换。而设备间的互动逻辑是由服务器来管理的。
发明内容
本公开实施例提供一种设备间互动处理方法及装置,用以减轻服务器的负担,提高设备间的互动逻辑的执行效率,避免由于网络通信阻塞造成的响应速度慢或无响应的问题。
根据本公开实施例的第一方面,提供一种设备间互动处理方法,包括:
获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
发送所述互动执行消息至所述第二设备,所述第二设备用于根据所述互动执行消息运行。
在一个实施例中,所述方法还包括:
接收并存储服务器发送的所述互动绑定消息;
根据所述互动绑定消息,建立所述第一设备与所述第二设备的绑定关系。
在一个实施例中,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
在一个实施例中,所述方法还包括:
接收所述服务器发送的对所述绑定关系的解除命令;
根据所述解除命令,解除所述绑定关系。
在一个实施例中,所述互动执行消息中包括所述第二设备的运行参数。
在一个实施例中,所述方法还包括:
接收服务器发送的对所述网关的互动绑定消息的查询命令;
根据所述查询命令发送对应的互动绑定消息至所述服务器。
根据本公开实施例的第二方面,提供一种设备间互动处理方法,用于服务器,包括:
获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设备的绑定关系。
在一个实施例中,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
在一个实施例中,所述方法还包括:
发送对所述绑定关系的解除命令至所述网关,以使所述网关根据所述解除命令解除所述绑定关系。
在一个实施例中,所述方法还包括:
发送对网关的互动绑定消息的查询命令至所述网关;
接收所述网关根据所述查询命令发送的对应的互动绑定消息。
根据本公开实施例的第三方面,提供一种设备间互动处理装置,用于网关,包括:
获取模块,用于获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
查找模块,用于根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
第一发送模块,用于发送所述互动执行消息至所述第二设备,所述第二设备用于 根据所述互动执行消息运行。
在一个实施例中,所述装置还包括:
第一接收模块,用于接收并存储服务器发送的所述互动绑定消息;
绑定模块,用于根据所述互动绑定消息,建立所述第一设备与所述第二设备的绑定关系。
在一个实施例中,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
在一个实施例中,所述装置还包括:
第二接收模块,用于接收所述服务器发送的对所述绑定关系的解除命令;
解绑模块,用于根据所述解除命令,解除所述绑定关系。
在一个实施例中,所述互动执行消息中包括所述第二设备的运行参数。
在一个实施例中,所述装置还包括:
第三接收模块,用于接收服务器发送的对所述网关的互动绑定消息的查询命令;
第二发送模块,用于根据所述查询命令发送对应的互动绑定消息至所述服务器。
根据本公开实施例的第四方面,提供一种设备间互动处理装置,用于服务器,包括:
获取模块,用于获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
第一发送模块,用于发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设备的绑定关系。
在一个实施例中,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
在一个实施例中,所述装置还包括:
第二发送模块,用于发送对所述绑定关系的解除命令至所述网关,以使所述网关根据所述解除命令解除所述绑定关系。
在一个实施例中,所述装置还包括:
第三发送模块,用于发送对网关的互动绑定消息的查询命令至所述网关;
接收模块,用于接收所述网关根据所述查询命令发送的对应的互动绑定消息。
根据本公开实施例的第五方面,提供一种设备间互动处理装置,用于网关,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
发送所述互动执行消息至所述第二设备,所述第二设备用于根据所述互动执行消息运行。
根据本公开实施例的第六方面,提供一种设备间互动处理装置,用于网关,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设备的绑定关系。
本公开的实施例提供的技术方案可以包括以下有益效果:
上述技术方案,通过网关来管理设备间的互动逻辑,减轻了服务器的负担,提高了互动逻辑的执行效率,并且,由于设备间互动不需要再经过服务器,因此,避免了一些由于设备与服务器之间网络通信阻塞造成的响应速度慢或者无响应的问题。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的一种设备间互动处理方法的流程图。
图2是根据一示例性实施例示出的另一种设备间互动处理方法的流程图。
图3是根据一示例性实施例示出的再一种设备间互动处理方法的流程图。
图4是根据一示例性实施例示出的又一种设备间互动处理方法的流程图。
图5是根据另一示例性实施例示出的一种设备间互动处理方法的流程图。
图6是根据另一示例性实施例示出的另一种设备间互动处理方法的流程图。
图7是根据另一示例性实施例示出的又一种设备间互动处理方法的流程图。
图8是根据一示例性实施例示出的一种设备间互动处理装置的框图。
图9是根据一示例性实施例示出的另一种设备间互动处理装置的框图。
图10是根据一示例性实施例示出的又一种设备间互动处理装置的框图。
图11是根据一示例性实施例示出的再一种设备间互动处理装置的框图。
图12是根据另一示例性实施例示出的一种设备间互动处理装置的框图。
图13根据另一示例性实施例示出的另一种设备间互动处理装置的框图。
图14是根据另一示例性实施例示出的再一种设备间互动处理装置的框图。
图15是根据一示例性实施例示出的适用于设备间互动处理装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
本公开实施例提供的技术方案,涉及三方:服务器、网关、网关下的设备,其中,服务器用于获取设备间的互动绑定消息,并将互动绑定消息下发至网关;网关用于存储互动绑定消息,并根据互动绑定消息建立信息中包含的设备之间的绑定关系,从而实现根据一个设备的互动触发消息控制另一个设备的运行。网关下的设备用于在满足互动触发条件时,发送互动触发消息至网关,或者接收网关发送的互动执行消息,并按照互动执行消息运行。在这个过程中,通过网关来管理设备间的互动逻辑,减轻了服务器的负担,提高了互动逻辑的执行效率,并且,由于设备间互动不需要再经过服务器,因此,避免了一些由于设备与服务器之间网络通信阻塞造成的响应速度慢或者无响应的问题。
本公开实施例提供了设备间互动处理方法,实施该方法的执行主体有网关和服务器。本公开实施例根据方法实施主体的不同,布置了设备间互动处理的方法,如下所述:
网关侧
本公开实施例提供了一种设备间互动处理方法,该方法可用于网关,如图1所示,上述设备间互动处理方法包括以下步骤S101-S103:
在步骤S101中,获取归属于网关的第一设备发送的、包括第一设备的标识的互动触发消息。
在步骤S102中,根据第一设备的标识,从预存的互动绑定消息中查找互动触发消 息对应的第二设备的互动执行消息,第二设备归属于网关,互动绑定消息包括第一设备与第二设备之间的互动逻辑。
在一个实施例中,互动逻辑是指第一设备与第二设备之间进行互动操作的逻辑。例如,互动绑定消息可包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应互动触发消息的第二设备的互动执行消息;一旦网关接收到第一设备发送来的互动触发消息,那么第二设备就需要根据互动执行消息进行运作。
在步骤S103中,发送互动执行消息至第二设备,第二设备用于根据互动执行消息运行。
其中,互动执行消息中可包括第二设备的运行参数。例如,第二设备为空调,则其互动执行消息中除了包含空调开启消息,还可以包括空调的具体运行参数,如空调模式,设定温度等,从而便于空调的运行。
在该实施例中,通过网关来管理设备间的互动逻辑,减轻了服务器的负担,提高了互动逻辑的执行效率,并且,由于设备间互动不需要再经过服务器,因此,避免了一些由于设备与服务器之间网络通信阻塞造成的响应速度慢或者无响应的问题。
如图2所示,在一个实施例中,在步骤S101之前,上述方法还包括如下步骤S201-S202:
在步骤S201中,接收并存储服务器发送的互动绑定消息;
在步骤S202中,根据互动绑定消息,建立第一设备与第二设备的绑定关系。
在该实施例中,通过互动绑定消息,建立第一设备与第二设备之间的绑定关系,这样,就可以根据第一设备的状态来控制第二设备运行。
如图3所示,在一个实施例中,上述方法还包括如下步骤S301-S302:
在步骤S301中,接收服务器发送的对绑定关系的解除命令;
在步骤S302中,根据解除命令,解除绑定关系。
在该实施例中,还可以对已经建立绑定关系的两个设备进行解绑定,解绑定后的两个设备将不再按照互动绑定消息中的互动逻辑来运行。这样,用户可以根据个人需要选择绑定或解绑定两个设备,从而便于用户对设备的控制,提升用户的使用体验。
如图4所示,在一个实施例中,上述方法还包括如下步骤S401-S402:
在步骤S401中,接收服务器发送的对网关的互动绑定消息的查询命令;
在步骤S402中,根据查询命令发送对应的互动绑定消息至服务器。
在该实施例中,可以对网关中所有的互动绑定消息,或某个互动绑定消息进行查询。例如,用户可以向服务器发送查询请求,由服务器根据查询请求向网关发送查询命令,网关将相应的查询结果返回给服务器,再由服务器发送给用户,这样,用户就 可以查看到想要查询的互动绑定消息,从而便于用户对互动绑定消息进行进一步操作。
服务器侧
本公开实施例提供了一种设备间互动处理方法,该方法可用于服务器,如图5所示,上述设备间互动处理方法包括以下步骤S501-S502:
在步骤S501中,获取互动绑定消息,互动绑定消息包括第一设备与第二设备之间的互动逻辑,第一设备与第二设备归属于同一网关。
在一个实施例中,互动逻辑是指第一设备与第二设备之间进行互动操作的逻辑。例如,互动绑定消息可包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应互动触发消息的第二设备的互动执行消息;一旦网关接收到第一设备发送来的互动触发消息,那么第二设备就需要根据互动执行消息进行运作。其中,互动绑定消息可以是由服务器的操作人员输入,也可以是由第一设备或第二设备发送来。而在互动绑定消息不可识别时,服务器可以将互动绑定消息转换成网关可识别的格式的互动绑定消息。
其中,互动执行消息中可包括第二设备的运行参数。例如,第二设备为空调,则其互动执行消息中除了包含空调开启消息,还可以包括空调的具体运行参数,如空调模式,设定温度等,从而便于空调的运行。
在步骤S502中,发送互动绑定消息至网关进行存储、和建立第一设备和第二设备的绑定关系。
在该实施例中,服务器发送互动绑定消息至网关,通过网关来管理设备间的互动逻辑,减轻了服务器的负担,提高了互动逻辑的执行效率,并且,由于设备间互动不需要再经过服务器,因此,避免了一些由于设备与服务器之间网络通信阻塞造成的响应速度慢或者无响应的问题。
如图6所示,在一个实施例中,上述方法还包括步骤S601:
在步骤S601中,发送对绑定关系的解除命令至网关,以使网关根据解除命令解除绑定关系。
在该实施例中,还可以对网关中已经建立绑定关系的两个设备进行解绑定,解绑定后的两个设备将不再按照互动绑定消息中的互动逻辑来运行。这样,用户可以根据个人需要选择绑定或解绑定两个设备,从而便于用户对设备的控制,提升用户的使用体验。
如图7所示,在一个实施例中,上述方法还包括步骤S701-S702:
在步骤S701中,发送对网关的互动绑定消息的查询命令至网关;
在步骤S702中,接收网关根据查询命令发送的对应的互动绑定消息。
在该实施例中,可以对网关中所有的互动绑定消息,或某个互动绑定消息进行查询。例如,用户可以向服务器发送查询请求,由服务器根据查询请求向网关发送查询命令,网关将相应的查询结果返回给服务器,再由服务器发送给用户,这样,用户就可以查看到想要查询的互动绑定消息,从而便于用户对互动绑定消息进行进一步操作。
下面以一个具体实施例详细说明本公开的技术方案。
例如,用户希望使用了蓝牙协议的PM2.5传感器在检测到当前空气质量较差时发出指令开启家中使用了蓝牙协议的智能空气净化器,这两款设备都接入到了用户家中的同一个蓝牙网关上。那么,用户可以在终端上设置设备间的互动逻辑,终端app将用户的设置发送到服务器。服务器在检测到用户配置的相关设备为用户网关下的设备时,将向网关下发互动绑定命消息,消息的格式为:{sid1,event1,sid2,method2,params}。其中sid1为设备1的id;event1为设备1发出的互动触发消息;sid2为设备2的id;method2为设备2的互动执行消息;params为设备2执行的消息的参数。该消息的含义是:将设备1的互动触发消息event1与设备2的互动执行消息method绑定,即当设备1发生互动触发消息event1时,设备2自动执行互动执行消息method2,method2的参数为params。假设,互动触发消息event1为PM2.5传感器检测到空气中PM2.5超标,互动执行消息method为开启智能空气净化器。
那么,当用户的蓝牙PM2.5传感器检测到空气中PM2.5超标后,将向网关发送包含自身id(sid1)的互动触发消息event1。网关接到该消息后在预存的互动绑定消息中发现了用户曾经设置过的互动逻辑后,将向蓝牙空气净化器(sid2)发送互动执行消息method,蓝牙空气净化器根据该消息开始运行。
这样,通过网关来管理设备间的互动逻辑,减轻了服务器的负担,提高了互动逻辑的执行效率,并且,由于设备间互动不需要再经过服务器,因此,避免了一些由于设备与服务器之间网络通信阻塞造成的响应速度慢或者无响应的问题。
对应本公开实施例提供的上述设备间互动处理方法,本公开实施例还提供一种设备间互动处理装置,如图8所示,上述装置用于网关,该装置包括:
获取模块81被配置为获取归属于网关的第一设备发送的、包括第一设备的标识的互动触发消息;
查找模块82被配置为根据第一设备的标识,从预存的互动绑定消息中查找互动触发消息对应的第二设备的互动执行消息,第二设备归属于网关,互动绑定消息包括第一设备与第二设备之间的互动逻辑;
第一发送模块83被配置为发送互动执行消息至第二设备,第二设备用于根据互动执行消息运行。
在一个实施例中,互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应互动触发消息的第二设备的互动执行消息。
在一个实施例中,互动执行消息中包括第二设备的运行参数。
如图9所示,在一个实施例中,上述装置还包括:
第一接收模块91被配置为接收并存储服务器发送的互动绑定消息;
绑定模块92被配置为根据互动绑定消息,建立第一设备与第二设备的绑定关系。
如图10所示,在一个实施例中,上述装置还包括:
第二接收模块1001被配置为接收服务器发送的对绑定关系的解除命令;
解绑模块1002被配置为根据解除命令,解除绑定关系。
如图11所示,在一个实施例中,上述装置还包括:
第三接收模块1101被配置为接收服务器发送的对网关的互动绑定消息的查询命令;
第二发送模块1102被配置为根据查询命令发送对应的互动绑定消息至服务器。
对应本公开实施例提供的上述设备间互动处理方法,本公开实施例还提供一种设备间互动处理装置,如图12所示,上述装置用于服务器,该装置包括:
获取模块1201被配置为获取互动绑定消息,互动绑定消息包括第一设备与第二设备之间的互动逻辑,第一设备与第二设备归属于同一网关;在一个实施例中,互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应互动触发消息的第二设备的互动执行消息。
第一发送模块1202被配置为发送互动绑定消息至网关进行存储、和建立第一设备和第二设备的绑定关系。
如图13所示,在一个实施例中,上述装置还包括:
第二发送模块1301被配置为发送对绑定关系的解除命令至网关,以使网关根据解除命令解除绑定关系。
如图14所示,在一个实施例中,上述装置还包括:
第三发送模块1401被配置为发送对网关的互动绑定消息的查询命令至网关;
接收模块1402被配置为接收网关根据查询命令发送的对应的互动绑定消息。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本公开还提供一种设备间互动处理装置,用于网关,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
发送所述互动执行消息至所述第二设备,所述第二设备用于根据所述互动执行消息运行。
上述处理器还可被配置为:
所述方法还包括:
接收并存储服务器发送的所述互动绑定消息;
根据所述互动绑定消息,建立所述第一设备与所述第二设备的绑定关系。
上述处理器还可被配置为:
所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
上述处理器还可被配置为:
所述方法还包括:
接收所述服务器发送的对所述绑定关系的解除命令;
根据所述解除命令,解除所述绑定关系。
上述处理器还可被配置为:
所述互动执行消息中包括所述第二设备的运行参数。
上述处理器还可被配置为:
所述方法还包括:
接收服务器发送的对所述网关的互动绑定消息的查询命令;
根据所述查询命令发送对应的互动绑定消息至所述服务器。
本公开还提供一种设备间互动处理装置,用于服务器,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设 备的绑定关系。
上述处理器还可被配置为:
所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
上述处理器还可被配置为:
所述方法还包括:
发送对所述绑定关系的解除命令至所述网关,以使所述网关根据所述解除命令解除所述绑定关系。
上述处理器还可被配置为:
所述方法还包括:
发送对网关的互动绑定消息的查询命令至所述网关;
接收所述网关根据所述查询命令发送的对应的互动绑定消息。
图15是根据一示例性实施例示出的一种用于设备间互动处理的装置1900的框图。例如,装置1500可以被提供为一服务器。
参照图15,装置1500包括处理组件1522,其进一步包括一个或多个处理器,以及由存储器1532所代表的存储器资源,用于存储可由处理部件1522的执行的指令,例如应用程序。存储器1532中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1522被配置为执行指令,以执行上述方法。
装置1500还可以包括一个电源组件1526被配置为执行装置1500的电源管理,一个有线或无线网络接口1550被配置为将装置1500连接到网络,和一个输入输出(I/O)接口1558。装置1500可以操作基于存储在存储器1532的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (22)

  1. 一种设备间互动处理方法,用于网关,其特征在于,包括:
    获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
    根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
    发送所述互动执行消息至所述第二设备,所述第二设备用于根据所述互动执行消息运行。
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    接收并存储服务器发送的所述互动绑定消息;
    根据所述互动绑定消息,建立所述第一设备与所述第二设备的绑定关系。
  3. 如权利要求1或2所述的方法,其特征在于,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
  4. 如权利要求2所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的对所述绑定关系的解除命令;
    根据所述解除命令,解除所述绑定关系。
  5. 如权利要求1所述的方法,其特征在于,所述互动执行消息中包括所述第二设备的运行参数。
  6. 如权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:
    接收服务器发送的对所述网关的互动绑定消息的查询命令;
    根据所述查询命令发送对应的互动绑定消息至所述服务器。
  7. 一种设备间互动处理方法,用于服务器,其特征在于,包括:
    获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
    发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设备的绑定关系。
  8. 如权利要求7所述的方法,其特征在于,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
  9. 如权利要求7所述的方法,其特征在于,所述方法还包括:
    发送对所述绑定关系的解除命令至所述网关,以使所述网关根据所述解除命令解除所述绑定关系。
  10. 如权利要求7至9中任一项所述的方法,其特征在于,所述方法还包括:
    发送对网关的互动绑定消息的查询命令至所述网关;
    接收所述网关根据所述查询命令发送的对应的互动绑定消息。
  11. 一种设备间互动处理装置,用于网关,其特征在于,包括:
    获取模块,用于获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
    查找模块,用于根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
    第一发送模块,用于发送所述互动执行消息至所述第二设备,所述第二设备用于根据所述互动执行消息运行。
  12. 如权利要求11所述的装置,其特征在于,所述装置还包括:
    第一接收模块,用于接收并存储服务器发送的所述互动绑定消息;
    绑定模块,用于根据所述互动绑定消息,建立所述第一设备与所述第二设备的绑定关系。
  13. 如权利要求11或12所述的装置,其特征在于,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
  14. 如权利要求12所述的装置,其特征在于,所述装置还包括:
    第二接收模块,用于接收所述服务器发送的对所述绑定关系的解除命令;
    解绑模块,用于根据所述解除命令,解除所述绑定关系。
  15. 如权利要求11所述的装置,其特征在于,所述互动执行消息中包括所述第二设备的运行参数。
  16. 如权利要求11至15中任一项所述的装置,其特征在于,所述装置还包括:
    第三接收模块,用于接收服务器发送的对所述网关的互动绑定消息的查询命令;
    第二发送模块,用于根据所述查询命令发送对应的互动绑定消息至所述服务器。
  17. 一种设备间互动处理装置,用于服务器,其特征在于,包括:
    获取模块,用于获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
    第一发送模块,用于发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设备的绑定关系。
  18. 如权利要求17所述的装置,其特征在于,所述互动绑定消息包括第一设备的标识、第二设备的标识、第一设备的互动触发消息、对应所述互动触发消息的所述第二设备的互动执行消息。
  19. 如权利要求17所述的装置,其特征在于,所述装置还包括:
    第二发送模块,用于发送对所述绑定关系的解除命令至所述网关,以使所述网关根据所述解除命令解除所述绑定关系。
  20. 如权利要求17至19中任一项所述的装置,其特征在于,所述装置还包括:
    第三发送模块,用于发送对网关的互动绑定消息的查询命令至所述网关;
    接收模块,用于接收所述网关根据所述查询命令发送的对应的互动绑定消息。
  21. 一种设备间互动处理装置,用于网关,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取归属于所述网关的第一设备发送的、包括所述第一设备的标识的互动触发消息;
    根据所述第一设备的标识,从预存的互动绑定消息中查找所述互动触发消息对应的第二设备的互动执行消息,所述第二设备归属于所述网关,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑;
    发送所述互动执行消息至所述第二设备,所述第二设备用于根据所述互动执行消息运行。
  22. 一种设备间互动处理装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取互动绑定消息,所述互动绑定消息包括所述第一设备与第二设备之间的互动逻辑,所述第一设备与第二设备归属于同一网关;
    发送所述互动绑定消息至所述网关进行存储、和建立所述第一设备和所述第二设备的绑定关系。
PCT/CN2015/090607 2015-05-20 2015-09-24 设备间互动处理方法及装置 Ceased WO2016183996A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020167005786A KR101760630B1 (ko) 2015-05-20 2015-09-24 디바이스 사이의 인터랙션을 처리하는 방법 및 장치
RU2016110583A RU2636122C2 (ru) 2015-05-20 2015-09-24 Способ и аппаратура для обработки взаимодействий между устройствами
MX2016001781A MX356618B (es) 2015-05-20 2015-09-24 Método y aparato para procesar interacciones entre dispositivos.
JP2017518402A JP2017527232A (ja) 2015-05-20 2015-09-24 機器間の相互作用を処理する方法および装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510260776.1A CN105099931A (zh) 2015-05-20 2015-05-20 设备间互动处理方法及装置
CN201510260776.1 2015-05-20

Publications (1)

Publication Number Publication Date
WO2016183996A1 true WO2016183996A1 (zh) 2016-11-24

Family

ID=54579516

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090607 Ceased WO2016183996A1 (zh) 2015-05-20 2015-09-24 设备间互动处理方法及装置

Country Status (8)

Country Link
US (1) US20160344573A1 (zh)
EP (1) EP3096505B1 (zh)
JP (1) JP2017527232A (zh)
KR (1) KR101760630B1 (zh)
CN (1) CN105099931A (zh)
MX (1) MX356618B (zh)
RU (1) RU2636122C2 (zh)
WO (1) WO2016183996A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741817A (zh) * 2017-09-29 2018-02-27 联想(北京)有限公司 处理方法及处理装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263776A (zh) * 2010-05-26 2011-11-30 魏星 一种智能家居远程控制系统及智能家居服务器
US20150106061A1 (en) * 2013-10-15 2015-04-16 Kt Corporation Monitoring device using automation network
CN104601674A (zh) * 2014-12-29 2015-05-06 小米科技有限责任公司 通知消息同步方法、装置及系统

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233611B1 (en) * 1998-05-08 2001-05-15 Sony Corporation Media manager for controlling autonomous media devices within a network environment and managing the flow and format of data between the devices
US6748278B1 (en) * 2000-03-13 2004-06-08 Microsoft Corporation Remote controlled system with computer-based remote control facilitator
US9729342B2 (en) * 2010-12-20 2017-08-08 Icontrol Networks, Inc. Defining and implementing sensor triggered response rules
US7543020B2 (en) * 2005-02-10 2009-06-02 Cisco Technology, Inc. Distributed client services based on execution of service attributes and data attributes by multiple nodes in resource groups
KR100643294B1 (ko) * 2005-05-04 2006-11-10 삼성전자주식회사 홈 네트워크 시뮬레이션 시스템 및 방법
KR100746031B1 (ko) * 2006-01-10 2007-08-06 삼성전자주식회사 홈 네트워크 시뮬레이션 시스템 및 방법
US9420047B2 (en) * 2007-02-19 2016-08-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for enabling user services in communication network
US9742851B2 (en) * 2007-03-05 2017-08-22 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for remotely controlling multimedia communication across local networks
WO2010135372A1 (en) * 2009-05-18 2010-11-25 Alarm.Com Incorporated Remote device control and energy monitoring
US20110047253A1 (en) * 2009-08-19 2011-02-24 Samsung Electronics Co. Ltd. Techniques for controlling gateway functionality to support device management in a communication system
US20110314163A1 (en) * 2010-06-16 2011-12-22 Mmb Research Inc. Wireless communication network for smart appliances
TWI442200B (zh) * 2011-03-02 2014-06-21 Ind Tech Res Inst 自動連結感測器和致動器之方法和系統
JP5592302B2 (ja) * 2011-04-05 2014-09-17 日本電信電話株式会社 ホームゲートウェイ、ネットワークシステム、および機器連携方法
JP5357920B2 (ja) * 2011-04-21 2013-12-04 日本電信電話株式会社 ホーム機器連携制御装置、およびホーム機器連携制御方法
JP5763985B2 (ja) * 2011-06-24 2015-08-12 株式会社日立製作所 サービス提供システム、及び装置
CN102761440B (zh) * 2012-06-28 2015-01-28 华为终端有限公司 管理IPv4终端的通道的建立方法及网络网关
KR20140055321A (ko) * 2012-10-31 2014-05-09 삼성전자주식회사 홈 네트워크 시스템에서 서비스 맵 기반으로 홈 디바이스를 제어하는 방법 및 장치
IN2013CH01206A (zh) * 2013-03-20 2015-08-14 Infosys Ltd
CN104426962B (zh) * 2013-08-29 2019-11-15 腾讯科技(深圳)有限公司 多终端绑定的方法、绑定服务器、终端及系统
CN103699079A (zh) * 2013-12-16 2014-04-02 四川九洲电器集团有限责任公司 一种通过移动终端定时控制智能家居设备的方法
TWM481549U (zh) * 2014-02-14 2014-07-01 Jsw Pacific Corp 使用單一資料庫的閘道器
CN104394044B (zh) * 2014-10-29 2018-02-02 小米科技有限责任公司 自定义智能设备场景模式的方法和装置
CN104614997B (zh) * 2014-12-12 2017-12-29 联想(北京)有限公司 控制方法、控制装置和电子设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263776A (zh) * 2010-05-26 2011-11-30 魏星 一种智能家居远程控制系统及智能家居服务器
US20150106061A1 (en) * 2013-10-15 2015-04-16 Kt Corporation Monitoring device using automation network
CN104601674A (zh) * 2014-12-29 2015-05-06 小米科技有限责任公司 通知消息同步方法、装置及系统

Also Published As

Publication number Publication date
KR20160148504A (ko) 2016-12-26
KR101760630B1 (ko) 2017-07-21
CN105099931A (zh) 2015-11-25
RU2016110583A (ru) 2017-09-28
MX356618B (es) 2018-06-06
EP3096505A1 (en) 2016-11-23
EP3096505B1 (en) 2017-11-08
JP2017527232A (ja) 2017-09-14
MX2016001781A (es) 2017-04-27
RU2636122C2 (ru) 2017-11-20
US20160344573A1 (en) 2016-11-24

Similar Documents

Publication Publication Date Title
US9774704B2 (en) Home gateway, cloud server, and method for communication therebetween
RU2681351C1 (ru) Способ и средство управления интеллектуальным устройством для домашнего пользования для загрузки данных, способ и устройство сбора данных, загруженных интеллектуальным устройством для домашнего пользования
CN103441881B (zh) 统一设备管理方法
JP2014501978A5 (ja) ファイルシステムセッションにおけるマルチコネクションのための方法及びシステム
CN104426680B (zh) 数据传输方法、装置和系统
CN106169967A (zh) 一种用户客户端、家用电器及其控制方法
WO2018071773A2 (en) Enabling multicast for service layer group operation
WO2014059827A1 (zh) 物联网应用的实现方法、装置及终端
WO2015196330A1 (zh) 一种路由设备的操作方法、路由设备和终端设备
US20140351478A1 (en) Apparatus and method for performing wireless docking operation in communication system supporting universal plug and play protocol
US10805781B2 (en) Method and apparatus for establishing a connection between devices
WO2017181682A1 (zh) 一种网关设备的管理系统及方法
WO2014187241A1 (zh) 控制无线网络直连群组中无线设备断开的方法及无线设备
WO2015188331A1 (zh) 转发控制方法、驱动器及sdn网络
WO2015117415A1 (zh) 实现对网络逻辑实体的操作方法、客户端及代理端
CN107592360B (zh) 一种基于混合云的物联网数据聚合方法及系统
CN104363155B (zh) 网络连接方法及其设备
CN106230882A (zh) 第一机器、第二机器及第一机器对第二机器的控制方法
WO2016183996A1 (zh) 设备间互动处理方法及装置
WO2011026367A1 (zh) 服务质量参数的配置方法以及远程访问服务器和系统
CN111314477A (zh) P2p通信方法、系统、家庭网关、电子设备和存储介质
CN107360065A (zh) 信息推送方法及装置
CN103796342B (zh) 属性信息的显示系统和路由器
CN117478449B (zh) 一种第三方设备的控制方法、装置、电子设备及介质
CN100456697C (zh) 一种双向转发检测的自动配置方法及系统

Legal Events

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

Ref document number: MX/A/2016/001781

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 20167005786

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017518402

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016110583

Country of ref document: RU

Kind code of ref document: A

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

Ref document number: 15892374

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016003259

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112016003259

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160216

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15892374

Country of ref document: EP

Kind code of ref document: A1