[go: up one dir, main page]

CN105592022A - Equipment service call method and apparatus based on Alljoyn gateway - Google Patents

Equipment service call method and apparatus based on Alljoyn gateway Download PDF

Info

Publication number
CN105592022A
CN105592022A CN201410638692.2A CN201410638692A CN105592022A CN 105592022 A CN105592022 A CN 105592022A CN 201410638692 A CN201410638692 A CN 201410638692A CN 105592022 A CN105592022 A CN 105592022A
Authority
CN
China
Prior art keywords
gateway
equipment
gateway device
service
server
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.)
Granted
Application number
CN201410638692.2A
Other languages
Chinese (zh)
Other versions
CN105592022B (en
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.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Beijing Haier Guangke Digital Technology Co Ltd
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 Qingdao Haier Intelligent Home Appliance Technology Co Ltd, Beijing Haier Guangke Digital Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201410638692.2A priority Critical patent/CN105592022B/en
Publication of CN105592022A publication Critical patent/CN105592022A/en
Application granted granted Critical
Publication of CN105592022B publication Critical patent/CN105592022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种基于Alljoyn网关间的设备服务调用方法及装置,方法用于注册有客户端设备的第一网关设备,包括:接收所述客户端设备发送的请求消息;如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识及本网关设备的网络地址的注册邀请消息向外广播;接收具有所述目标服务的服务端设备的注册信息,建立与所述服务端设备之间的连接;根据所述请求消息调用所述服务端设备上的所述目标服务。通过网关设备间广播自身的网络地址和临时注册密码,使注册在不同网关设备上的机器设备可以自动的注册在同一个网关设备上,实现相互通信,并且继承了集中式管理概念,保证系统的安全性和稳定性。

A device service call method and device based on Alljoyn gateways, the method is used to register a first gateway device with a client device, including: receiving a request message sent by the client device; if it is determined that the registered device of the gateway device If the target service required by the request message is not provided, the registration invitation message carrying the identification of the target service and the network address of the gateway device is broadcast to the outside; receiving the registration information of the server device with the target service, Establishing a connection with the server device; invoking the target service on the server device according to the request message. By broadcasting its own network address and temporary registration password between gateway devices, the machines and devices registered on different gateway devices can be automatically registered on the same gateway device to realize mutual communication, and inherit the concept of centralized management to ensure the stability of the system security and stability.

Description

一种基于Alljoyn网关间的设备服务调用方法及装置A device service calling method and device based on Alljoyn gateways

技术领域technical field

本发明涉及通信技术领域,具体而言,涉及一种基于Alljoyn网关间的设备服务调用方法及装置。The present invention relates to the technical field of communication, in particular, to a method and device for invoking equipment services based on Alljoyn gateways.

背景技术Background technique

Alljoyn(Alltojoininthefun,Alljoyn通信协议)是一种基于C/S架构的设备之间点对点通信框架,由总线守护进程(BusDaemon)和终端节点组成。BusDaemon负责终端节点之间的消息路由,服务发现等功能。终端节点是指运行在设备上的应用程序,启动后需要连接到BusDaemon上。终端节点如果提供服务,则向BusDaemon注册一个服务名称,由BusDaemon广播出去。如果作为客户端,那么可以通过服务名称来查找服务,并通过远程调用来完成指定功能。Alljoyn (Alltojoininthefun, Alljoyn communication protocol) is a point-to-point communication framework between devices based on C/S architecture, which consists of a bus daemon (BusDaemon) and terminal nodes. BusDaemon is responsible for message routing between terminal nodes, service discovery and other functions. The terminal node refers to the application program running on the device, which needs to connect to the BusDaemon after startup. If the terminal node provides a service, it will register a service name with the BusDaemon, which will be broadcast by the BusDaemon. As a client, you can find the service through the service name, and complete the specified function through remote calls.

为了使Alljoyn更好的支持智能家居场景,Alljoyn的智能家居服务(Smarthomeservice)提出了集中式管理的概念,即SmartHomeservice运行在网关上,其它Alljoyn设备向网关注册自己提供的服务。Alljoyn设备间的所有通信均通过Alljoyn网关。Alljoyn网关对所有的注册的Alljoyn设备进行统一管理。从而将Alljoyn点对点的分布式通信模式扩展为集中式通信模式,同时保证通信过程中的安全性。但是这种集中式的通信模式只能是基于所有设备必须得先注册到同一网关上的前提条件下,设备间才能进行通信。如果说网络中存在两个以上这种网关设备,那么不同网关上注册设备之间则没办法进行通信,这显然不符合智能家居的场景。In order to enable Alljoyn to better support smart home scenarios, Alljoyn's Smarthome service (Smarthomeservice) proposes the concept of centralized management, that is, SmartHomeservice runs on the gateway, and other Alljoyn devices register the services they provide with the gateway. All communication between Alljoyn devices goes through the Alljoyn Gateway. The Alljoyn gateway manages all registered Alljoyn devices in a unified manner. Thus, Alljoyn's point-to-point distributed communication mode is extended to a centralized communication mode, while ensuring the security of the communication process. However, this centralized communication mode can only communicate between devices based on the premise that all devices must first be registered on the same gateway. If there are more than two such gateway devices in the network, then there is no way to communicate between devices registered on different gateways, which obviously does not meet the smart home scenario.

发明内容Contents of the invention

本发明旨在提供一种基于Alljoyn网关间的设备服务调用方法,以解决现有技术中注册到不同网关上的Alljoyn设备相互之间无法通信的问题。The present invention aims to provide a device service calling method based on Alljoyn gateways to solve the problem in the prior art that Alljoyn devices registered on different gateways cannot communicate with each other.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用方法,用于注册有客户端设备的第一网关设备,包括:接收所述客户端设备发送的请求消息;如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有所述目标服务的标识及本网关设备的网络地址的注册邀请消息向外广播;接收具有所述目标服务的服务端设备的注册信息,建立与所述服务端设备之间的连接;根据所述请求消息调用所述服务端设备上的所述目标服务。In some demonstrative embodiments, the method for invoking device services based on Alljoyn gateways is used for the first gateway device registered with the client device, including: receiving the request message sent by the client device; if it is determined that the The registration device of the gateway device does not provide the target service that the request message needs to call, then broadcasts the registration invitation message carrying the identification of the target service and the network address of the gateway device; Register information of the server device, establish a connection with the server device; call the target service on the server device according to the request message.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用方法,用于第二网关设备,包括:接收第一网关设备广播的注册邀请消息;其中,所述注册邀请消息中包含有第一网关设备的网络地址和目标服务的标识;如果在本网关设备的注册信息表中查找出具有所述目标服务标识的服务端设备,则将所述第一网关设备的网络地址发送至所述服务端设备。In some demonstrative embodiments, the method for invoking device services based on Alljoyn gateways is used for the second gateway device, including: receiving a registration invitation message broadcast by the first gateway device; wherein, the registration invitation message contains The network address of the first gateway device and the identifier of the target service; if the server device with the target service identifier is found in the registration information table of the gateway device, the network address of the first gateway device is sent to the The server device described above.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用方法,用于服务端设备,包括:接收第二网关设备发送的注册有客户端设备的第一网关设备的网关地址;按照所述第一网关设备的网络地址向所述第一网关设备发送注册信息,建立与所述第一网关设备之间的连接;在所述连接建立完成后,接受所述第一网关设备的服务调用操作。In some demonstrative embodiments, the device service invocation method based on Alljoyn gateways is used for the server device, including: receiving the gateway address of the first gateway device registered with the client device sent by the second gateway device; according to The network address of the first gateway device sends registration information to the first gateway device, and establishes a connection with the first gateway device; after the connection is established, accept the service of the first gateway device Call operation.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用方法,用于注册在第一网关设备上的客户端设备,包括:向所述第一网关设备发送请求消息;如果接收到所述第一网关设备发送的第二网关设备的网络地址,则按照所述第二网关设备的网络地址向所述第二网关设备发送注册信息,建立与所述第二网关设备之间的连接;接收所述第二网关设备转发的结果通知消息。In some demonstrative embodiments, the device service invocation method based on Alljoyn gateways is used for client devices registered on the first gateway device, including: sending a request message to the first gateway device; if receiving The network address of the second gateway device sent by the first gateway device sends registration information to the second gateway device according to the network address of the second gateway device, and establishes a connection with the second gateway device ; Receive the result notification message forwarded by the second gateway device.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用方法,用于注册有客户端设备的第一网关设备,包括:接收客户端设备发送的请求消息;如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识的搜寻消息或所述请求消息向外广播;接收包含注册有具有目标服务的服务端设备的第二网关设备的网络地址的注册邀请消息;将所述注册邀请消息中的所述第二网关设备的网络地址发送至所述客户端设备。In some illustrative embodiments, the method for invoking device services based on Alljoyn gateways is used for the first gateway device registered with the client device, including: receiving a request message sent by the client device; if it is determined that the gateway device If the registered device does not provide the target service that needs to be invoked by the request message, it will broadcast the search message carrying the identification of the target service or the request message to the outside; A registration invitation message of the network address of the gateway device; sending the network address of the second gateway device in the registration invitation message to the client device.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用方法,用于第二网关设备,包括:接收第一网关设备广播的搜寻消息或请求消息;如果在本网关设备的注册信息表中查找出具有所述搜寻消息或请求消息指示的目标服务的服务端设备,则将携带有本网关设备的网络地址的注册邀请消息向外广播;接收客户端设备发送的注册信息,建立与所述客户端设备之间的连接;根据所述客户端设备的需求,调用服务端设备上的目标服务。In some demonstrative embodiments, the device service invocation method based on Alljoyn gateways is used for the second gateway device, including: receiving a search message or a request message broadcast by the first gateway device; if the registration information of the gateway device If the server device with the target service indicated by the search message or the request message is found in the table, the registration invitation message carrying the network address of the gateway device is broadcast to the outside; The connection between the client devices; calling the target service on the server device according to the requirements of the client devices.

本发明的另一个目的是提供一种基于Alljoyn网关间的设备服务调用装置。Another object of the present invention is to provide a device service calling device between Alljoyn gateways.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用装置,用于注册有客户端设备的第一网关设备,包括:第一接收模块,用于接收所述客户端设备发送的请求消息;发送模块,用于如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识及本网关设备的网络地址的注册邀请消息向外广播;第二接收模块,用于接收具有所述目标服务的服务端设备的注册信息,建立与所述服务端设备之间的连接;服务调用模块,用于根据所述请求消息调用所述服务端设备上的所述目标服务。In some demonstrative embodiments, the device service invocation device based on Alljoyn gateways is used for the first gateway device registered with the client device, including: a first receiving module, configured to receive the message sent by the client device Request message; sending module, used for if it is judged that the registration device of the gateway device does not provide the target service that the request message needs to call, then send the registration invitation message carrying the identification of the target service and the network address of the gateway device to external broadcast; the second receiving module is used to receive the registration information of the server device with the target service, and establish a connection with the server device; the service calling module is used to call the server device according to the request message. The target service on the server device.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用装置,用于第二网关设备,包括:接收模块,用于接收第一网关设备广播的注册邀请消息;其中,所述注册邀请消息中包含有第一网关设备的网络地址和目标服务的标识;发送模块,用于如果在本网关设备的注册信息表中查找出具有所述目标服务标识的服务端设备,则将所述第一网关设备的网络地址发送至所述服务端设备。In some demonstrative embodiments, the apparatus for invoking device services between Alljoyn-based gateways is used for the second gateway device, including: a receiving module, configured to receive a registration invitation message broadcast by the first gateway device; wherein, the registration The invitation message includes the network address of the first gateway device and the identifier of the target service; the sending module is configured to send the The network address of the first gateway device is sent to the server device.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用装置,用于服务端设备,包括:第一接收模块,用于接收第二网关设备发送的注册有客户端设备的第一网关设备的网关地址;发送模块,用于按照所述第一网关设备的网络地址向所述第一网关设备发送注册信息,建立与所述第一网关设备之间的连接;执行模块,用于在所述连接建立完成后,接受所述第一网关设备的服务调用操作。In some demonstrative embodiments, the device service invocation device based on Alljoyn gateways is used for the server device, including: a first receiving module, configured to receive the first message sent by the second gateway device and registered with the client device. The gateway address of the gateway device; a sending module, configured to send registration information to the first gateway device according to the network address of the first gateway device, and establish a connection with the first gateway device; an execution module, configured to After the connection is established, the service invocation operation of the first gateway device is accepted.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用装置,用于注册在第一网关设备上的客户端设备,包括:第一发送模块,用于向所述第一网关设备发送请求消息;第一接收模块,用于接收到所述第一网关设备发送的第二网关设备的网络地址;第二发送模块,用于按照所述第二网关设备的网络地址向所述第二网关设备发送注册信息,建立与所述第二网关设备之间的连接;第二接收模块,用于接收所述第二网关设备转发的结果通知消息。In some demonstrative embodiments, the apparatus for invoking device services based on Alljoyn gateways is used for client devices registered on the first gateway device, including: a first sending module, used for sending to the first gateway device Sending a request message; the first receiving module is configured to receive the network address of the second gateway device sent by the first gateway device; the second sending module is configured to send a message to the second gateway device according to the network address of the second gateway device The second gateway device sends registration information to establish a connection with the second gateway device; the second receiving module is configured to receive the result notification message forwarded by the second gateway device.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用装置,用于注册有客户端设备的第一网关设备,包括:第一接收模块,用于接收客户端设备发送的请求消息;第一发送模块,用于如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识的搜寻消息或所述请求消息向外广播;第二接收模块,用于接收包含注册有具有目标服务的服务端设备的第二网关设备的网络地址的注册邀请消息;第二发送模块,用于将所述注册邀请消息中的所述第二网关设备的网络地址发送至所述客户端设备。In some demonstrative embodiments, the device service invocation device based on Alljoyn gateways is used for the first gateway device registered with the client device, including: a first receiving module, configured to receive the request message sent by the client device ; The first sending module is used to broadcast the search message or the request message carrying the identification of the target service if it is determined that the registration device of the gateway device does not provide the target service that the request message needs to call; The second receiving module is configured to receive a registration invitation message including the network address of the second gateway device registered with the server device with the target service; the second sending module is configured to send the second registration invitation message in the registration invitation message to The network address of the gateway device is sent to the client device.

在一些说明性实施例中,所述基于Alljoyn网关间的设备服务调用装置,用于第二网关设备,包括:第一接收模块,用于接收第一网关设备广播的搜寻消息或请求消息;第一发送模块,用于如果在本网关设备的注册信息表中查找出具有所述搜寻消息或请求消息指示的目标服务的服务端设备,则将携带有本网关设备的网络地址的注册邀请消息向外广播;第二接收模块,用于接收客户端设备发送的注册信息,建立与所述客户端设备之间的连接;服务调用模块,用于根据所述客户端设备的需求,调用服务端设备上的目标服务。In some demonstrative embodiments, the apparatus for invoking device services between Alljoyn-based gateways is used for the second gateway device, including: a first receiving module, configured to receive a search message or a request message broadcast by the first gateway device; A sending module, used to send the registration invitation message carrying the network address of the gateway device to the External broadcast; the second receiving module is used to receive the registration information sent by the client device, and establish a connection with the client device; the service calling module is used to call the server device according to the requirements of the client device target service on .

与现有技术相比,本发明的说明性实施例包括以下优点:Illustrative embodiments of the present invention include the following advantages over the prior art:

通过网关设备间广播自身的网络地址和临时注册密码,使注册在不同网关设备上的机器设备可以自动的注册在同一个网关设备上,实现注册在不同网关上的机器设备可以相互通信,并且继承了集中式管理概念,使机器设备必须通过网关设备去访问其他机器设备,从而保证系统的安全性和稳定性。By broadcasting its own network address and temporary registration password between gateway devices, machines and devices registered on different gateway devices can be automatically registered on the same gateway device, so that machines and devices registered on different gateways can communicate with each other and inherit The concept of centralized management is introduced, so that the machine equipment must access other machine equipment through the gateway device, so as to ensure the security and stability of the system.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1示出了说明性实施例的设备服务调用的流程图;FIG. 1 shows a flowchart of device service invocation in an illustrative embodiment;

图2示出了说明性实施例的设备服务调用的流程图;Figure 2 shows a flowchart of device service invocation of an illustrative embodiment;

图3示出了说明性实施例的设备服务调用的流程图;Figure 3 shows a flowchart of device service invocation of an illustrative embodiment;

图4示出了说明性实施例的设备服务调用的流程图;Figure 4 shows a flowchart of device service invocation of an illustrative embodiment;

图5示出了说明性实施例的设备服务调用的流程图;Figure 5 shows a flowchart of device service invocation of an illustrative embodiment;

图6示出了说明性实施例的设备服务调用的流程图;Figure 6 shows a flowchart of device service invocation of an illustrative embodiment;

图7示出了说明性实施例的设备服务调用的流程图;Figure 7 shows a flowchart of device service invocation of an illustrative embodiment;

图8示出了说明性实施例的设备服务调用的流程图;Figure 8 shows a flowchart of device service invocation of an illustrative embodiment;

图9示出了说明性实施例的设备服务调用的装置框图;Fig. 9 shows a device block diagram of device service invocation in an illustrative embodiment;

图10示出了说明性实施例的设备服务调用的装置框图;Fig. 10 shows a device block diagram of device service invocation in an illustrative embodiment;

图11示出了说明性实施例的设备服务调用的装置框图;Fig. 11 shows a device block diagram of device service invocation in an illustrative embodiment;

图12示出了说明性实施例的设备服务调用的装置框图;Fig. 12 shows a device block diagram of device service invocation in an illustrative embodiment;

图13示出了说明性实施例的设备服务调用的装置框图;Fig. 13 shows a device block diagram of device service invocation in an illustrative embodiment;

图14示出了说明性实施例的设备服务调用的装置框图。FIG. 14 shows an apparatus block diagram of device service invocation of an illustrative embodiment.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

本文的主要思想是保证Alljoyn网关实现集中控制的基础上,实现注册在不同网关设备上的机器设备具有相互通信的能力,通过网关设备将包含有自身的网络地址和密码的注册邀请消息广播给机器设备,使原注册在不同网关设备上的机器设备可以自动注册在同一个网关设备上,从而使需要通信的两个机器设备之间具有通信能力。The main idea of this article is to ensure that the Alljoyn gateway realizes centralized control, and realizes that the machines and devices registered on different gateway devices have the ability to communicate with each other, and broadcasts the registration invitation message containing its own network address and password to the machine through the gateway device Device, so that the machine equipment originally registered on different gateway devices can be automatically registered on the same gateway device, so that the two machine devices that need to communicate can have communication capabilities.

本文中所使用的客户端设备是指作为请求消息的发送源的机器设备,服务端设备是指作为具有请求消息所需要调用的目标服务的被调用方的机器设备。The client device used herein refers to the machine device that is the source of the request message, and the server device refers to the machine device that is the callee with the target service that needs to be invoked by the request message.

本文中的网关设备的注册信息表中至少包含有其注册设备的网络地址及具有的服务,网关设备可以通过查询其注册信息表,找到其注册设备的网络地址,以及注册设备所具有的服务。The registration information table of the gateway device in this paper contains at least the network address of the registered device and the services it has. The gateway device can find the network address of the registered device and the services of the registered device by querying the registration information table.

如图1所示,公开了一种基于Alljoyn网关间的设备服务调用方法,用于注册有客户端设备的第一网关设备,包括:As shown in Figure 1, a device service invocation method based on Alljoyn gateways is disclosed, which is used for the first gateway device registered with a client device, including:

S11、接收所述客户端设备发送的请求消息;S11. Receive a request message sent by the client device;

S12、如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识及本网关设备的网络地址的注册邀请消息向外广播;S12. If it is judged that the registration device of the gateway device does not provide the target service to be invoked by the request message, broadcast a registration invitation message carrying the identifier of the target service and the network address of the gateway device to the outside;

其中,目标服务的标识是通过解析请求消息,从请求消息中提取得到的;另外,也可以直接采用该请求消息,例如注册邀请消息中包含有该请求消息;Wherein, the identifier of the target service is extracted from the request message by parsing the request message; in addition, the request message may also be used directly, for example, the request message is included in the registration invitation message;

S13、接收具有所述目标服务的服务端设备的注册信息,建立与所述服务端设备之间的连接;S13. Receive registration information of a server device having the target service, and establish a connection with the server device;

其中,服务端设备是根据注册邀请消息,向第一网关设备发送注册信息、且能提供所述目标服务的设备。Wherein, the server device is a device that sends registration information to the first gateway device according to the registration invitation message and can provide the target service.

S14、根据所述请求消息调用所述服务端设备上的所述目标服务。S14. Invoking the target service on the server device according to the request message.

通过网关设备间广播自身的网络地址和临时注册密码,使注册在不同网关设备上的机器设备可以自动的注册在同一个网关设备上,实现注册在不同网关上的机器设备可以相互通信,并且继承了集中式管理概念,使机器设备必须通过网关设备去访问其他机器设备,从而保证系统的安全性和稳定性。By broadcasting its own network address and temporary registration password between gateway devices, machines and devices registered on different gateway devices can be automatically registered on the same gateway device, so that machines and devices registered on different gateways can communicate with each other and inherit The concept of centralized management is introduced, so that the machine equipment must access other machine equipment through the gateway device, so as to ensure the security and stability of the system.

在一些说明性实施例中,判断出本网关设备的注册设备是否提供所述请求消息所需要调用的目标服务,具体包括:通过目标服务的标识,在本网关设备的注册信息表中查找是否存在具有目标服务的注册设备,如果不具有目标服务的注册设备,则判定本网关设备的注册设备不提供该目标服务。In some illustrative embodiments, judging whether the registration device of the gateway device provides the target service that the request message needs to invoke specifically includes: through the identifier of the target service, searching for the existence of If the registered device with the target service does not have the registered device with the target service, it is determined that the registered device of the gateway device does not provide the target service.

上述过程中的发起方无需知道请求消息的目标设备(服务端设备)的网络地址,通过当前网关设备无法获知目标设备的情况时,由当前网关设备将注册邀请消息向外广播,由其它网关对目标服务进行判断,从而达到自动找到目标设备的目的。The initiator in the above process does not need to know the network address of the target device (server device) of the request message. When the current gateway device cannot know the situation of the target device, the current gateway device will broadcast the registration invitation message to the outside, and other gateways will send the registration invitation message to the outside world. The target service makes a judgment, so as to achieve the purpose of automatically finding the target device.

在一些说明性实施例中,所述注册邀请消息中还包含有本网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message further includes the temporary registration password of the gateway device.

其中,在第一网关设备为开放式访问方式时(无需密码连接),注册邀请消息包括目标服务的标识(该标识可替换为请求消息本身)和第一网关设备的网络地址;在第一网关设备为非开放式访问方式时(需要密码连接),第一网关设备发送的注册邀请消息还需包含有第一网关设备的临时注册密码,本领域的技术人员应该可以理解的是在不考虑信息安全的情况下,也可以直接使用第一网关设备的正常密码。Wherein, when the first gateway device is in an open access mode (without password connection), the registration invitation message includes the identifier of the target service (this identifier can be replaced by the request message itself) and the network address of the first gateway device; When the device is in a non-open access mode (password connection is required), the registration invitation message sent by the first gateway device also needs to include the temporary registration password of the first gateway device. In a safe situation, the normal password of the first gateway device can also be used directly.

在一些说明性实施例中,在将包含有所述临时注册密码的所述注册邀请消息向外广播之前,还包括:生成所述临时注册密码。In some demonstrative embodiments, before broadcasting the registration invitation message including the temporary registration password, the method further includes: generating the temporary registration password.

在一些说明性实施例中,在所述根据所述请求消息调用所述服务端设备上的目标服务之后,还包括:接收所述服务端设备发送的结果通知消息,并将所述结果通知消息发送至所述客户端设备。In some demonstrative embodiments, after invoking the target service on the server device according to the request message, it further includes: receiving a result notification message sent by the server device, and sending the result notification message sent to the client device.

其中,结果通知消息可以是用于告知客户端设备对目标服务的调用已成功,也可以是将服务端设备执行完服务调用后的参数数据,例如通过智能手机将空调温度调低4℃,空调执行该服务后,将调节预计时间作为结果通知消息;另外还可以是客户端设备向服务端设备索求的信息或数据,例如智能手机利用空调获取当前室内温度。Among them, the result notification message can be used to inform the client device that the invocation of the target service has been successful, or it can be the parameter data after the server device has executed the service call, for example, the temperature of the air conditioner is lowered by 4°C through the smartphone, and the air conditioner After the service is executed, the expected adjustment time will be used as the result notification message; in addition, it can also be information or data requested by the client device from the server device, for example, a smartphone uses an air conditioner to obtain the current indoor temperature.

在一些说明性实施例中,在所述根据所述请求消息调用所述服务端设备上的所述目标服务之后,还包括:In some demonstrative embodiments, after invoking the target service on the server device according to the request message, the method further includes:

1)在本网关设备上注销所述服务端设备的注册信息;或者,1) cancel the registration information of the server device on the gateway device; or,

2)在本网关设备上注销所述服务端设备的注册信息,以及所述临时注册密码。2) Deregistering the registration information of the server device and the temporary registration password on the gateway device.

上述1)中的过程应用于第一网关设备为开放式访问方式的情况下,2)中的过程应用于第一网关设备为非开放式访问方式的情况下。The procedure in 1) above is applied when the first gateway device is in an open access mode, and the process in 2) is applied in a case where the first gateway device is in a non-open access mode.

在一些说明性实施例中,所述注销是以接收到客户端设备发送的用于指示客户端已成功接收到结果通知消息的确认消息作为触发条件,即在接收到该确认消息后,执行注销注册信息,以及临时注册密码。In some demonstrative embodiments, the logout is triggered by receiving a confirmation message sent by the client device to indicate that the client has successfully received the result notification message, that is, after receiving the confirmation message, the logout is performed Registration information, and a temporary registration password.

如图2所示,公开了一种基于Alljoyn网关间的设备服务调用方法,用于第二网关设备,包括:As shown in Figure 2, a device service invocation method based on Alljoyn gateways is disclosed, which is used for the second gateway device, including:

S21、接收第一网关设备广播的注册邀请消息;其中,所述注册邀请消息中包含有第一网关设备的网络地址和目标服务的标识;S21. Receive a registration invitation message broadcast by the first gateway device; wherein, the registration invitation message includes the network address of the first gateway device and the identifier of the target service;

S22、如果在本网关设备的注册信息表中查找出具有所述目标服务标识的服务端设备,则将所述第一网关设备的网络地址发送至所述服务端设备。S22. If the server device with the target service identifier is found in the registration information table of the gateway device, send the network address of the first gateway device to the server device.

其中,如果在本网关设备的注册信息表中没有查找到具有所述目标服务标识的服务端设备,则将所述注册邀请消息以本网关设备为发送源继续向外广播,扩大广播范围;Wherein, if the server device with the target service identifier is not found in the registration information table of the gateway device, the registration invitation message is continuously broadcasted with the gateway device as the sending source to expand the broadcast range;

在一些说明性实施例中,所述注册邀请消息中还包含有所述第一网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message further includes a temporary registration password of the first gateway device.

在一些说明性实施例中,所述将所述第一网关设备的网络地址发送至所述服务端设备的同时,还包括:将所述第一网关设备的临时注册密码也发送至所述服务端设备。In some demonstrative embodiments, when sending the network address of the first gateway device to the server device, it also includes: sending the temporary registration password of the first gateway device to the service device end device.

在一些说明性实施例中,在所述将所述第一网关设备的网络地址发送至所述服务端设备之后,还包括:断开与所述服务端设备之间的连接;以及,待接收到所述服务端设备发送的连接恢复请求后,恢复与所述服务端设备之间的连接。In some demonstrative embodiments, after sending the network address of the first gateway device to the server device, it further includes: disconnecting from the server device; and, waiting to receive After receiving the connection restoration request sent by the server device, resume the connection with the server device.

在一些说明性实施例中,在断开与所述服务端设备之间的连接之前,还包括:接收服务端设备发送的用于指示其已接收到注册邀请消息的确认消息。In some demonstrative embodiments, before disconnecting from the server device, the method further includes: receiving a confirmation message sent by the server device to indicate that it has received the registration invitation message.

如图3所示,公开了一种基于Alljoyn网关间的设备服务调用方法,用于服务端设备,包括:As shown in Figure 3, a device service invocation method based on Alljoyn gateways is disclosed, which is used for server devices, including:

S31、接收第二网关设备发送的注册有客户端设备的第一网关设备的网关地址;S31. Receive the gateway address of the first gateway device registered with the client device sent by the second gateway device;

S32、按照所述第一网关设备的网络地址向所述第一网关设备发送注册信息,建立与所述第一网关设备之间的连接;S32. Send registration information to the first gateway device according to the network address of the first gateway device, and establish a connection with the first gateway device;

S33、在所述连接建立完成后,接受所述第一网关设备的服务调用操作。S33. After the connection is established, accept the service invocation operation of the first gateway device.

在一些说明性实施例中,还接收由所述第二网关设备发送的所述第一网关设备的临时注册密码。In some demonstrative embodiments, a temporary registration password of the first gateway device sent by the second gateway device is also received.

在一些说明性实施例中,所述按照所述第一网关设备的网络地址向所述第一网关设备发送注册信息,具体包括:按照所述第一网关设备的网络地址和临时注册密码向所述第一网关设备发送注册信息。In some demonstrative embodiments, the sending registration information to the first gateway device according to the network address of the first gateway device specifically includes: sending registration information to the first gateway device according to the network address of the first gateway device and a temporary registration password The first gateway device sends registration information.

在一些说明性实施例中,在接收第二网关设备发送的注册有客户端设备的第一网关设备的网关地址之后,还包括:向第二网关设备发送确认消息,用于告知第二网关设备本设备已接收到注册邀请消息。In some demonstrative embodiments, after receiving the gateway address of the first gateway device registered with the client device sent by the second gateway device, it further includes: sending an acknowledgment message to the second gateway device to inform the second gateway device This device has received a registration invitation message.

在一些说明性实施例中,在所述接收第二网关设备发送的注册有客户端设备的第一网关设备的网关地址之后,还包括:待与所述第二网关设备之间的连接断开后,向所述第一网关设备发送所述注册信息;以及,待与所述第一网关设备之间的连接断开后,向所述第二网关设备发送连接恢复请求消息。In some demonstrative embodiments, after receiving the gateway address of the first gateway device registered with the client device sent by the second gateway device, further comprising: disconnecting the connection with the second gateway device Afterwards, sending the registration information to the first gateway device; and, after the connection with the first gateway device is disconnected, sending a connection recovery request message to the second gateway device.

在一些说明性实施例中,在接受所述第一网关设备的服务调用操作之后,还包括:将包含有调用结果的结果通知消息发送至第一网关设备。In some demonstrative embodiments, after accepting the service invocation operation of the first gateway device, the method further includes: sending a result notification message including the invocation result to the first gateway device.

图4所示的说明性实施例是建立于图1-3公开的说明性实施例上。The illustrative embodiment shown in FIG. 4 builds upon the illustrative embodiment disclosed in FIGS. 1-3.

如图4所示,公开了一种基于Alljoyn网关间的设备服务调用方法,所述方法包括:As shown in Figure 4, a method for invoking device services based on Alljoyn gateways is disclosed, and the method includes:

S401、第一机器设备向第一网关设备发送请求消息;S401. The first machine device sends a request message to the first gateway device;

S402、第一网关设备将包含有请求消息和自身的网络地址和临时注册密码的注册邀请消息向外广播:S402. The first gateway device broadcasts a registration invitation message including the request message and its own network address and temporary registration password:

其中,具体包括:第一网关设备收到请求消息后在本地查找请求的服务信息,经查找本地没有第一机器设备所要调用的服务后,向外广播请求消息,同时携带第一网关设备的网络地址和临时注册密码;Among them, it specifically includes: after the first gateway device receives the request message, it searches for the requested service information locally, and after finding that there is no service to be called by the first machine device locally, broadcasts the request message to the outside, and at the same time carries the network information of the first gateway device. address and temporary registration password;

S403、第二网关设备将注册邀请消息转发至第二机器设备;S403. The second gateway device forwards the registration invitation message to the second machine device;

其中,具体包括:第二网关设备接收到注册邀请消息后在本地查找请求的服务信息,径查找本地存在第一机器设备所要调用的服务后,将注册邀请消息转发至目标服务所在的第二机器设备上;Among them, it specifically includes: after the second gateway device receives the registration invitation message, it searches for the requested service information locally, and after searching for the service to be invoked by the first machine device locally, forwards the registration invitation message to the second machine where the target service is located. on the device;

S405、第二机器设备向第二网关设备发送确认消息,用于告知第二网关设备,第二机器设备已接收到注册邀请消息;S405. The second machine device sends a confirmation message to the second gateway device to inform the second gateway device that the second machine device has received the registration invitation message;

S406、第二网关设备接收到第二机器设备发送的确认消息,断开与第二机器设备之间的连接;S406. The second gateway device receives the confirmation message sent by the second device, and disconnects from the second device;

S407、第二机器设备按照注册邀请消息中的网络地址和临时注册密码,向第一网关设备发送注册消息,实现临时注册;S407. The second machine device sends a registration message to the first gateway device according to the network address and the temporary registration password in the registration invitation message, so as to realize temporary registration;

S408、第一网关设备调用第二机器设备的服务;S408. The first gateway device invokes the service of the second machine device;

S409、第二机器设备将包含有调用结果的结果通知消息反馈给第一网关设备;S409. The second machine device feeds back a result notification message including the call result to the first gateway device;

S410、第一网关设备将结果通知消息转发至第一机器设备;S410. The first gateway device forwards the result notification message to the first machine device;

S411、第一机器设备向第一网关设备发送确认消息,用于告知第一网关设备,第一机器设备已接收到结果通知消息;S411. The first machine device sends a confirmation message to the first gateway device to inform the first gateway device that the first machine device has received the result notification message;

S412、第一网关设备在注册信息表中注销第一机器设备的注册信息,并注销所生成的临时注册密码;S412. The first gateway device cancels the registration information of the first machine device in the registration information table, and cancels the generated temporary registration password;

S413、第二机器设备向第二网关设备发送恢复请求消息,恢复与第二网关设备之间的连接。S413. The second machine device sends a recovery request message to the second gateway device to recover the connection with the second gateway device.

如图5所示,公开了一种基于Alljoyn网关间的设备服务调用方法,用于注册在第一网关设备上的客户端设备,包括:As shown in Figure 5, a device service invocation method based on Alljoyn gateways is disclosed, which is used for client devices registered on the first gateway device, including:

S51、向所述第一网关设备发送请求消息;S51. Send a request message to the first gateway device;

S52、如果接收到所述第一网关设备发送的第二网关设备的网络地址,则按照所述第二网关设备的网络地址向所述第二网关设备发送注册信息,建立与所述第二网关设备之间的连接;S52. If the network address of the second gateway device sent by the first gateway device is received, send registration information to the second gateway device according to the network address of the second gateway device, and establish a relationship with the second gateway device connection between devices;

S53、接收所述第二网关设备转发的结果通知消息。S53. Receive the result notification message forwarded by the second gateway device.

在一些说明性实施例中,方法还包括:接收由所述第一网关设备发送的所述第二网关设备的临时注册密码。In some demonstrative embodiments, the method further includes: receiving the temporary registration password of the second gateway device sent by the first gateway device.

在一些说明性实施例中,所述按照所述第二网关设备的网络地址向所述第二网关设备发送注册信息,具体包括:按照所述第二网关设备的网络地址和临时注册密码向所述第二网关设备发送注册信息。In some demonstrative embodiments, the sending registration information to the second gateway device according to the network address of the second gateway device specifically includes: sending registration information to the second gateway device according to the network address of the second gateway device and a temporary registration password The second gateway device sends registration information.

在一些说明性实施例中,在所述接收到所述第一网关设备发送的第二网关设备的网络地址之后,还包括:待与所述第一网关设备之间的连接断开后,向所述第二网关设备发送所述注册信息;以及,待与所述第二网关设备之间的连接断开后,向所述第一网关设备发送连接恢复请求消息。In some demonstrative embodiments, after receiving the network address of the second gateway device sent by the first gateway device, it further includes: after the connection with the first gateway device is disconnected, sending to The second gateway device sends the registration information; and, after the connection with the second gateway device is disconnected, sends a connection recovery request message to the first gateway device.

在一些说明性实施例中,在接收到注册邀请消息之后,还包括:向第一网关设备发送确认消息,告知第一网关设备本设备已接收到注册邀请消息。In some demonstrative embodiments, after receiving the registration invitation message, the method further includes: sending a confirmation message to the first gateway device to inform the first gateway device that the device has received the registration invitation message.

在一些说明性实施例中,在接收到结果通知消息之后,还包括:向第二网关设备发送确认消息,告知第二网关设备本设备已接收到结果通知消息。In some demonstrative embodiments, after receiving the result notification message, the method further includes: sending a confirmation message to the second gateway device to inform the second gateway device that the device has received the result notification message.

如图6所示,公开了一种基于Alljoyn网关间的设备服务调用方法,用于注册有客户端设备的第一网关设备,包括:As shown in Figure 6, a device service invocation method based on Alljoyn gateways is disclosed, which is used for the first gateway device registered with a client device, including:

S61、接收客户端设备发送的请求消息;S61. Receive a request message sent by the client device;

S62、如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识的搜寻消息或所述请求消息向外广播;S62. If it is determined that the registration device of the gateway device does not provide the target service that the request message needs to invoke, broadcast the search message or the request message carrying the target service identifier;

S63、接收包含注册有具有目标服务的服务端设备的第二网关设备的网络地址的注册邀请消息;S63. Receive a registration invitation message including the network address of the second gateway device registered with the server device with the target service;

S64、将所述注册邀请消息中的所述第二网关设备的网络地址发送至所述客户端设备。S64. Send the network address of the second gateway device in the registration invitation message to the client device.

在一些说明性实施例中,在所述将所述注册邀请消息中的所述第二网关设备的网络地址发送至所述客户端设备之后,还包括:断开与所述客户端设备之间的连接;以及,待接收所述客户端设备发送的连接恢复请求后,恢复与所述客户端设备之间的连接。In some demonstrative embodiments, after the sending the network address of the second gateway device in the registration invitation message to the client device, further comprising: disconnecting from the client device and, after receiving the connection recovery request sent by the client device, resume the connection with the client device.

在一些说明性实施例中,在将注册邀请消息发送至客户端设备之后,还包括:接收所述客户端设备发送的指示其已接收到注册邀请消息的确认消息;之后,断开与客户端设备之间的连接。In some demonstrative embodiments, after sending the registration invitation message to the client device, it also includes: receiving a confirmation message sent by the client device indicating that it has received the registration invitation message; after that, disconnecting from the client device connection between devices.

在一些说明性实施例中,所述注册邀请消息中还包含有所述第二网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message further includes a temporary registration password of the second gateway device.

在一些说明性实施例中,所述将所述注册邀请消息中的所述第二网关设备的网络地址发送至所述客户端设备,具体包括:将所述第二网关设备的网络地址和临时注册密码发送至所述客户端设备。In some demonstrative embodiments, the sending the network address of the second gateway device in the registration invitation message to the client device specifically includes: sending the network address of the second gateway device and temporary A registration password is sent to the client device.

如图7所示,公开了一种基于Alljoyn网关间的设备服务调用方法,用于第二网关设备,包括:As shown in Figure 7, a device service invocation method based on Alljoyn gateways is disclosed, which is used for the second gateway device, including:

S71、接收第一网关设备广播的搜寻消息或请求消息;S71. Receive a search message or a request message broadcast by the first gateway device;

S72、如果在本网关设备的注册信息表中查找出具有所述搜寻消息或请求消息指示的目标服务的服务端设备,则将携带有本网关设备的网络地址的注册邀请消息向外广播;S72. If the server device having the target service indicated by the search message or the request message is found in the registration information table of the gateway device, broadcast the registration invitation message carrying the network address of the gateway device to the outside;

其中,如果在本网关设备的注册信息表中没有查找到具有述目标服务标识的服务端设备,则将所述注册邀请消息继续向外广播;Wherein, if no server device with the target service identifier is found in the registration information table of the gateway device, the registration invitation message will continue to be broadcast outward;

S73、接收客户端设备发送的注册信息,建立与所述客户端设备之间的连接;S73. Receive the registration information sent by the client device, and establish a connection with the client device;

S74、根据所述客户端设备的需求,调用服务端设备上的目标服务。S74. Call the target service on the server device according to the requirement of the client device.

在一些说明性实施例中,在接收所述第一网关设备广播的搜寻消息后,还包括:在建立与所述客户端设备之间的连接后,接收所述客户端设备发送的请求消息,根据所述请求消息调用服务端设备上的目标服务。In some demonstrative embodiments, after receiving the search message broadcast by the first gateway device, the method further includes: after establishing a connection with the client device, receiving a request message sent by the client device, Invoking the target service on the server device according to the request message.

在一些说明性实施例中,在接收所述第一网关设备广播的请求消息后,还包括:所述根据所述客户端设备的需求,调用服务端设备上的目标服务,具体包括:根据所述请求消息调用服务端设备上的目标服务。In some demonstrative embodiments, after receiving the request message broadcast by the first gateway device, the method further includes: invoking the target service on the server device according to the requirements of the client device, specifically including: according to the The above request message invokes the target service on the server device.

在一些说明性实施例中,所述注册邀请消息中包含有本网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message includes the temporary registration password of the gateway device.

在一些说明性实施例中,在所述根据所述客户端设备的需求,调用服务端设备上的目标服务之后,还包括:在本网关设备上注销所述服务端设备的注册信息;或者,在本网关设备上注销所述服务端设备的注册信息,以及所述临时注册密码。In some demonstrative embodiments, after invoking the target service on the server device according to the requirements of the client device, it further includes: canceling the registration information of the server device on the gateway device; or, Deregistering the registration information of the server device and the temporary registration password on the gateway device.

在一些说明性实施例中,在将结果通知消息发送至客户端设备之后,还包括:接收客户端设备发送的用于指示其已接收到结果通知消息的确认消息;之后,断开与客户端设备之间的连接。In some demonstrative embodiments, after sending the result notification message to the client device, it also includes: receiving a confirmation message sent by the client device to indicate that it has received the result notification message; after that, disconnecting from the client device connection between devices.

图8所示的说明性实施例是建立于图5-7公开的说明性实施例上。The illustrative embodiment shown in FIG. 8 builds upon the illustrative embodiment disclosed in FIGS. 5-7.

如图8所示,公开了一种基于Alljoyn网关间的设备服务调用方法,包括:As shown in Figure 8, a device service invocation method based on Alljoyn gateways is disclosed, including:

S801、第一机器设备向第一网关设备发送请求消息;S801. The first machine device sends a request message to the first gateway device;

S802、第一网关设备广播请求消息;S802. The first gateway device broadcasts a request message;

其中,具体包括:第一网关设备收到请求后,在本地查找请求的服务信息,经查找本地没有第一机器设备所要调用的服务,则向外广播请求消息;Among them, it specifically includes: after the first gateway device receives the request, it searches for the requested service information locally, and broadcasts the request message to the outside after finding that there is no service to be called by the first machine device locally;

S803、第二网关设备接收到请求消息,向外广播包含有自身网络地址和临时注册密码的注册邀请消息;S803. The second gateway device receives the request message, and broadcasts a registration invitation message including its own network address and a temporary registration password;

其中,具体包括:第一网关设备收到请求后,在本地查找请求的服务信息,经查找本地存在第一机器设备所要调用的服务,则向外广播注册邀请消息;Among them, it specifically includes: after the first gateway device receives the request, it searches locally for the requested service information, and after finding that there is a service to be invoked by the first machine device locally, it broadcasts a registration invitation message;

S804、第一网关设备接收到注册邀请消息,转发至第一机器设备;S804. The first gateway device receives the registration invitation message, and forwards it to the first machine device;

S805、第一机器设备向第一网关设备发送确认消息,用于告知第一网关设备,第一机器设备已接收到注册邀请消息;S805. The first machine device sends a confirmation message to the first gateway device to inform the first gateway device that the first machine device has received the registration invitation message;

S806、第一机器设备向第一网关设备发送确认消息,用于告知第一网关设备,第一机器设备已接收到注册邀请消息;S806. The first machine device sends a confirmation message to the first gateway device to inform the first gateway device that the first machine device has received the registration invitation message;

S807、第一网关设备接收到第一机器设备发送的确认消息,断开与第一机器设备之间的连接;S807. The first gateway device receives the confirmation message sent by the first machine device, and disconnects the connection with the first machine device;

S808、第一机器设备按照注册邀请消息中的网络地址和临时注册密码,向第一网关设备发送注册消息,实现临时注册;S808. The first machine device sends a registration message to the first gateway device according to the network address and the temporary registration password in the registration invitation message, so as to realize temporary registration;

S809、第二网关设备收到注册请求后进行验证通过后,直接调用第二机器设备的服务;S809. After the second gateway device receives the registration request and passes the verification, it directly invokes the service of the second machine device;

S810、第二机器设备将包含有调用结果的结果通知消息反馈给第二网关设备;S810. The second machine device feeds back a result notification message including the calling result to the second gateway device;

S811、第二网关设备将结果通知消息转发至第一机器设备;S811. The second gateway device forwards the result notification message to the first machine device;

S812、第一机器设备向第二网关设备发送确认消息,用于告知第二网关设备,第一机器设备已接收到结果通知消息;S812. The first machine device sends a confirmation message to the second gateway device to inform the second gateway device that the first machine device has received the result notification message;

S813、第二网关设备在注册信息表中注销第一机器设备的注册信息,并注销所生成的临时注册密码;S813. The second gateway device cancels the registration information of the first machine device in the registration information table, and cancels the generated temporary registration password;

S814、第一机器设备向第一网关设备发送恢复请求消息,恢复与第一网关设备之间的连接。S814. The first machine device sends a recovery request message to the first gateway device to restore the connection with the first gateway device.

如图9所示,公开了一种基于Alljoyn网关间的设备服务调用装置,用于注册有客户端设备的第一网关设备100,包括:接收所述客户端设备发送的请求消息的第一接收模块101;如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识及本网关设备的网络地址的注册邀请消息向外广播的发送模块102;接收具有所述目标服务的服务端设备的注册信息,建立与所述服务端设备之间的连接的第二接收模块103;根据所述请求消息调用所述服务端设备上的所述目标服务的服务调用模块104。As shown in FIG. 9 , a device service invocation device based on Alljoyn gateways is disclosed, which is used for the first gateway device 100 registered with a client device, including: receiving the first receiving request message sent by the client device Module 101; if it is determined that the registration device of the gateway device does not provide the target service that the request message needs to call, then the sending module that broadcasts the registration invitation message carrying the identification of the target service and the network address of the gateway device to the outside 102: Receive the registration information of the server device with the target service, and establish a second receiving module 103 connecting with the server device; call the target on the server device according to the request message The service call module 104 of the service.

在一些说明性实施例中,所述注册邀请消息中还携带有本网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message also carries the temporary registration password of the gateway device.

在一些说明性实施例中,装置还包括:在本网关设备上注销所述服务端设备的注册信息的第一注销模块105。In some demonstrative embodiments, the apparatus further includes: a first deregistration module 105 that deregisters the registration information of the server device on the gateway device.

在一些说明性实施例中,装置还包括:在本网关设备上注销所述服务端设备的注册信息,以及所述临时注册密码的注销模块106。In some demonstrative embodiments, the device further includes: canceling the registration information of the server device on the gateway device, and a cancellation module 106 of the temporary registration password.

如图10所示,公开了一种基于Alljoyn网关间的设备服务调用装置,用于第二网关设备200,包括:接收第一网关设备广播的注册邀请消息的接收模块201;其中,所述注册邀请消息中包含有第一网关设备的网络地址和目标服务的标识;如果在本网关设备的注册信息表中查找出具有所述目标服务标识的服务端设备,则将所述第一网关设备的网络地址发送至所述服务端设备的发送模块202。As shown in Figure 10, a device service invocation device based on Alljoyn gateways is disclosed, which is used for the second gateway device 200, including: a receiving module 201 that receives the registration invitation message broadcast by the first gateway device; wherein, the registration The invitation message contains the network address of the first gateway device and the identifier of the target service; if the server device with the target service identifier is found in the registration information table of the gateway device, the first gateway device's The network address is sent to the sending module 202 of the server device.

在一些说明性实施例中,所述注册邀请消息中还包含有所述第一网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message further includes a temporary registration password of the first gateway device.

在一些说明性实施例中,所述发送模块用于将所述第一网关设备的网络地址及临时注册密码发送至所述服务端设备。In some demonstrative embodiments, the sending module is configured to send the network address and temporary registration password of the first gateway device to the server device.

在一些说明性实施例中,所述装置还包括:断开与所述服务端设备之间的连接的连接关断模块203;以及,待接收到所述服务端设备发送的连接恢复请求后,恢复与所述服务端设备之间的连接的连接恢复模块204。In some demonstrative embodiments, the apparatus further includes: a connection shutdown module 203 for disconnecting the connection with the server device; and, after receiving the connection recovery request sent by the server device, A connection recovery module 204 for recovering the connection with the server device.

如图11所示,公开了一种基于Alljoyn网关间的设备服务调用装置,用于服务端设备300,包括:接收第二网关设备发送的注册有客户端设备的第一网关设备的网关地址的第一接收模块301;按照所述第一网关设备的网络地址向所述第一网关设备发送注册信息,建立与所述第一网关设备之间的连接的发送模块302;在所述连接建立完成后,接受所述第一网关设备的服务调用操作的执行模块303。As shown in Figure 11, a device service calling device based on Alljoyn gateways is disclosed, which is used for the server device 300, including: receiving the gateway address of the first gateway device registered with the client device sent by the second gateway device The first receiving module 301; sending registration information to the first gateway device according to the network address of the first gateway device, and establishing a sending module 302 connecting with the first gateway device; when the connection is established After that, the execution module 303 that accepts the service call operation of the first gateway device.

在一些说明性实施例中,所述装置还包括:由所述第二网关设备发送的所述第一网关设备的临时注册密码的第二接收模块304。In some demonstrative embodiments, the apparatus further includes: a second receiving module 304 of the temporary registration password of the first gateway device sent by the second gateway device.

在一些说明性实施例中,所述发送模块用于按照所述第一网关设备的网络地址和临时注册密码向所述第一网关设备发送注册信息。In some demonstrative embodiments, the sending module is configured to send registration information to the first gateway device according to the network address of the first gateway device and a temporary registration password.

在一些说明性实施例中,所述装置还包括:待与所述第二网关设备之间的连接断开后,向所述第一网关设备发送所述注册信息的连接关断模块305;以及,待与所述第一网关设备之间的连接断开后,向所述第二网关设备发送连接恢复请求消息的连接恢复模块306。In some demonstrative embodiments, the apparatus further includes: a connection closing module 305 that sends the registration information to the first gateway device after the connection with the second gateway device is disconnected; and A connection recovery module 306 that sends a connection recovery request message to the second gateway device after the connection with the first gateway device is disconnected.

如图12所示,公开了一种基于Alljoyn网关间的设备服务调用装置,用于注册在第一网关设备上的客户端设备400,包括:向所述第一网关设备发送请求消息的第一发送模块401;接收到所述第一网关设备发送的第二网关设备的网络地址的第一接收模块402;按照所述第二网关设备的网络地址向所述第二网关设备发送注册信息,建立与所述第二网关设备之间的连接的第二发送模块403;接收所述第二网关设备转发的结果通知消息的第二接收模块404。As shown in FIG. 12 , a device service invocation device based on Alljoyn gateways is disclosed, which is used for a client device 400 registered on a first gateway device, including: a first device that sends a request message to the first gateway device The sending module 401; the first receiving module 402 that receives the network address of the second gateway device sent by the first gateway device; sends registration information to the second gateway device according to the network address of the second gateway device, and establishes A second sending module 403 for connection with the second gateway device; a second receiving module 404 for receiving the result notification message forwarded by the second gateway device.

在一些说明性实施例中,所述装置还包括:接收由所述第一网关设备发送的所述第二网关设备的临时注册密码的第三接收模块405。In some demonstrative embodiments, the apparatus further includes: a third receiving module 405 for receiving the temporary registration password of the second gateway device sent by the first gateway device.

在一些说明性实施例中,所述第二发送模块用于按照所述第二网关设备的网络地址和临时注册密码向所述第二网关设备发送注册信息。In some demonstrative embodiments, the second sending module is configured to send registration information to the second gateway device according to the network address of the second gateway device and a temporary registration password.

在一些说明性实施例中,所述装置还包括:待与所述第一网关设备之间的连接断开后,向所述第二网关设备发送所述注册信息的连接关断模块406;以及,待与所述第二网关设备之间的连接断开后,向所述第一网关设备发送连接恢复请求消息的连接恢复模块407。In some demonstrative embodiments, the apparatus further includes: a connection closing module 406 that sends the registration information to the second gateway device after the connection with the first gateway device is disconnected; and A connection recovery module 407 that sends a connection recovery request message to the first gateway device after the connection with the second gateway device is disconnected.

如图13所示,公开了一种基于Alljoyn网关间的设备服务调用装置,用于注册有客户端设备的第一网关设备500,包括:接收客户端设备发送的请求消息的第一接收模块501;如果判断出本网关设备的注册设备不提供所述请求消息所需要调用的目标服务,则将携带有目标服务的标识的搜寻消息或所述请求消息向外广播的第一发送模块502;接收包含注册有具有目标服务的服务端设备的第二网关设备的网络地址的注册邀请消息的第二接收模块503;将所述注册邀请消息中的所述第二网关设备的网络地址发送至所述客户端设备的第二发送模块504。As shown in Figure 13, a device service invocation device based on Alljoyn gateways is disclosed, which is used for a first gateway device 500 registered with a client device, including: a first receiving module 501 for receiving a request message sent by a client device If it is judged that the registration device of the gateway device does not provide the target service that the request message needs to call, the first sending module 502 that broadcasts the search message carrying the target service identifier or the request message to the outside; receives The second receiving module 503 includes a registration invitation message registered with the network address of the second gateway device of the server device with the target service; sending the network address of the second gateway device in the registration invitation message to the A second sending module 504 of the client device.

在一些说明性实施例中,所述装置还包括:断开与所述客户端设备之间的连接的连接关断模块505;以及,待接收所述客户端设备发送的连接恢复请求后,恢复与所述客户端设备之间的连接的连接恢复模块506。In some demonstrative embodiments, the apparatus further includes: a connection shutdown module 505 for disconnecting the connection with the client device; and, after receiving a connection recovery request sent by the client device, resume A connection recovery module 506 for the connection with the client device.

在一些说明性实施例中,所述注册邀请消息中还包含有所述第二网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message further includes a temporary registration password of the second gateway device.

在一些说明性实施例中,所述第二发送模块用于将所述第二网关设备的网络地址和临时注册密码发送至所述客户端设备。In some demonstrative embodiments, the second sending module is configured to send the network address and the temporary registration password of the second gateway device to the client device.

如图14所示,公开了一种基于Alljoyn网关间的设备服务调用装置,用于第二网关设备600,包括:接收第一网关设备广播的搜寻消息或请求消息的第一接收模块601;如果在本网关设备的注册信息表中查找出具有所述搜寻消息或请求消息指示的目标服务的服务端设备,则将携带有本网关设备的网络地址的注册邀请消息向外广播的第一发送模块602;接收客户端设备发送的注册信息,建立与所述客户端设备之间的连接的第二接收模块603;根据所述客户端设备的需求,调用服务端设备上的目标服务的服务调用模块604。As shown in Figure 14, a device service invocation device based on Alljoyn gateways is disclosed, which is used for the second gateway device 600, including: a first receiving module 601 that receives a search message or a request message broadcast by the first gateway device; if Find the server device with the target service indicated by the search message or the request message in the registration information table of the gateway device, and then broadcast the registration invitation message carrying the network address of the gateway device to the outside. The first sending module 602: Receive the registration information sent by the client device, and establish a second receiving module 603 to connect with the client device; according to the requirements of the client device, call the service calling module of the target service on the server device 604.

在一些说明性实施例中,所述装置还包括:在建立与所述客户端设备之间的连接后,接收所述客户端设备发送的请求消息的第三接收模块605。In some demonstrative embodiments, the apparatus further includes: after the connection with the client device is established, a third receiving module 605 that receives a request message sent by the client device.

在一些说明性实施例中,所述服务调用模块用于根据所述请求消息调用服务端设备上的目标服务。In some demonstrative embodiments, the service calling module is configured to call a target service on the server device according to the request message.

在一些说明性实施例中,所述注册邀请消息中包含有本网关设备的临时注册密码。In some demonstrative embodiments, the registration invitation message includes the temporary registration password of the gateway device.

在一些说明性实施例中,所述装置还包括:在本网关设备上注销所述服务端设备的注册信息的第一注销模块606。In some demonstrative embodiments, the apparatus further includes: a first deregistration module 606 that deregisters the registration information of the server device on the gateway device.

在一些说明性实施例中,所述装置还包括:在本网关设备上注销所述服务端设备的注册信息,以及所述临时注册密码的第二注销模块607。In some demonstrative embodiments, the apparatus further includes: deregistering the registration information of the server device on the gateway device, and a second deregistration module 607 of the temporary registration password.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (40)

1. A method for calling device service based on Alljoyn gateways is characterized in that the method is used for a first gateway device registered with a client device, and comprises the following steps:
receiving a request message sent by the client device;
if the register device of the gateway device does not provide the target service required to be called by the request message, the register invitation message carrying the identification of the target service and the network address of the gateway device is broadcasted outwards;
receiving registration information of server equipment with the target service, and establishing connection with the server equipment;
and calling the target service on the server-side equipment according to the request message.
2. The device service invoking method according to claim 1, wherein the registration invitation message further carries a temporary registration password of the gateway device;
after the target service on the server device is called according to the request message, the method further includes:
and the gateway equipment is used for annotating and selling the registration information of the server equipment and the temporary registration password.
3. The device service invocation method according to claim 1, wherein,
after the target service on the server device is called according to the request message, the method further includes:
and the gateway equipment is used for annotating and selling the registration information of the server-side equipment.
4. A method for calling device service based on Alljoyn gateways is characterized in that the method is used for a second gateway device and comprises the following steps:
receiving a registration invitation message broadcast by first gateway equipment; wherein, the registration invitation message contains the network address of the first gateway device and the identification of the target service;
and if the server side equipment with the target service identification is found in the registration information table of the gateway equipment, the network address of the first gateway equipment is sent to the server side equipment.
5. The device service invocation method according to claim 4, wherein the registration invitation message further includes a temporary registration password of the first gateway device;
when the network address of the first gateway device is sent to the server device, the method further includes:
and sending the temporary registration password to the server-side equipment.
6. The device service invoking method according to claim 4 or 5, wherein after the sending the network address of the first gateway device to the server device, further comprising:
disconnecting the connection with the server-side equipment; and the number of the first and second groups,
and after receiving a connection recovery request sent by the server-side equipment, recovering the connection with the server-side equipment.
7. A method for calling device service based on Alljoyn gateways is characterized in that the method is used for a server device and comprises the following steps:
receiving a gateway address of a first gateway device registered with a client device, which is sent by a second gateway device;
sending registration information to the first gateway device according to the network address of the first gateway device, and establishing connection with the first gateway device;
and after the connection is established, receiving the service calling operation of the first gateway equipment.
8. The device service invocation method according to claim 7, further comprising receiving the temporary registration password of the first gateway device sent by the second gateway device;
sending registration information to the first gateway device according to the network address of the first gateway device specifically includes:
and sending registration information to the first gateway equipment according to the network address and the temporary registration password of the first gateway equipment.
9. The device service invoking method according to claim 7, wherein after receiving the gateway address of the first gateway device registered with the client device sent by the second gateway device, further comprising:
after the connection with the second gateway equipment is disconnected, sending the registration information to the first gateway equipment; and the number of the first and second groups,
and after the connection between the first gateway equipment and the second gateway equipment is disconnected, sending a connection recovery request message to the second gateway equipment.
10. A method for calling device service based on Alljoyn gateways is characterized in that the method is used for registering client devices on a first gateway device and comprises the following steps:
sending a request message to the first gateway device;
if the network address of the second gateway equipment sent by the first gateway equipment is received, sending registration information to the second gateway equipment according to the network address of the second gateway equipment, and establishing connection with the second gateway equipment;
and receiving a result notification message forwarded by the second gateway device.
11. The device service invocation method according to claim 10, further comprising: receiving a temporary registration password of the second gateway device sent by the first gateway device;
sending registration information to the second gateway device according to the network address of the second gateway device specifically includes:
and sending registration information to the second gateway equipment according to the network address and the temporary registration password of the second gateway equipment.
12. The device service invocation method according to claim 10, further comprising, after the receiving the network address of the second gateway device sent by the first gateway device:
after the connection with the first gateway equipment is disconnected, sending the registration information to the second gateway equipment; and the number of the first and second groups,
and after the connection between the first gateway equipment and the second gateway equipment is disconnected, sending a connection recovery request message to the first gateway equipment.
13. A method for calling device service based on Alljoyn gateways is characterized in that the method is used for a first gateway device registered with a client device, and comprises the following steps:
receiving a request message sent by client equipment;
if the registered device of the gateway device is judged not to provide the target service required to be called by the request message, the search message carrying the identifier of the target service or the request message is broadcasted outwards;
receiving a registration invitation message containing a network address of a second gateway device registered with a server device having a target service;
sending the network address of the second gateway device in the registration invitation message to the client device.
14. The device service invocation method according to claim 13, wherein, after the sending the network address of the second gateway device in the registration invitation message to the client device, further comprising:
disconnecting the connection with the client device; and the number of the first and second groups,
and after receiving the connection recovery request sent by the client equipment, recovering the connection with the client equipment.
15. The device service invocation method according to claim 13 or 14, wherein the registration invitation message further includes a temporary registration password of the second gateway device;
the sending the network address of the second gateway device in the registration invitation message to the client device specifically includes:
and sending the network address and the temporary registration password of the second gateway device to the client device.
16. A method for calling device service based on Alljoyn gateways is characterized in that the method is used for a second gateway device and comprises the following steps:
receiving a search message or a request message broadcasted by first gateway equipment;
if the server side equipment with the target service indicated by the search message or the request message is found in the registration information table of the gateway equipment, the registration invitation message carrying the network address of the gateway equipment is broadcasted outwards;
receiving registration information sent by client equipment, and establishing connection with the client equipment;
and calling the target service on the server side equipment according to the requirement of the client side equipment.
17. The device service invocation method according to claim 16, further comprising, after receiving the search message broadcast by the first gateway device:
after the connection with the client device is established, receiving a request message sent by the client device, and calling a target service on the server device according to the request message.
18. The device service invocation method according to claim 16, further comprising, after receiving the request message broadcast by the first gateway device:
the invoking of the target service on the server device according to the requirement of the client device specifically includes:
and calling the target service on the server side equipment according to the request message.
19. The device service invocation method according to claim 16, wherein the registration invitation message includes a temporary registration password of the gateway device;
after the target service on the server device is called according to the requirement of the client device, the method further includes:
and the gateway equipment is used for annotating and selling the registration information of the server equipment and the temporary registration password.
20. The device service invocation method according to claim 16, further comprising, after said invoking a target service on a server device according to the requirements of the client device:
and the gateway equipment is used for annotating and selling the registration information of the server-side equipment.
21. An apparatus for invoking a device service based on Alljoyn gateways, which is used for a first gateway device registered with a client device, comprises:
a first receiving module, configured to receive a request message sent by the client device;
a sending module, configured to broadcast a registration invitation message carrying an identifier of the target service and a network address of the gateway device to the outside if it is determined that the registration device of the gateway device does not provide the target service that needs to be called by the request message;
the second receiving module is used for receiving the registration information of the server-side equipment with the target service and establishing connection with the server-side equipment;
and the service calling module is used for calling the target service on the server side equipment according to the request message.
22. The device for invoking device service according to claim 21, wherein the registration invitation message further carries a temporary registration password of the gateway device;
the device for calling the service of the equipment further comprises:
and the first logout module is used for annotating and selling the registration information of the server equipment and the temporary registration password on the gateway equipment.
23. The device service invocation apparatus according to claim 22, further comprising:
and the second logout module is used for annotating and selling the registration information of the server side equipment on the gateway equipment.
24. The device service calling device based on the Alljoyn gateways is used for a second gateway device and comprises the following components:
the receiving module is used for receiving the registration invitation message broadcast by the first gateway equipment; wherein, the registration invitation message contains the network address of the first gateway device and the identification of the target service;
and the sending module is used for sending the network address of the first gateway device to the server device if the server device with the target service identifier is found in the registration information table of the gateway device.
25. The device service invocation apparatus according to claim 24, wherein the registration invitation message further includes a temporary registration password of the first gateway device;
the sending module is used for sending the network address and the temporary registration password of the first gateway device to the server device.
26. The device service invocation apparatus according to claim 24 or 25, further comprising:
the connection disconnection module is used for disconnecting the connection with the server-side equipment; and the number of the first and second groups,
and the connection recovery module is used for recovering the connection with the server-side equipment after receiving the connection recovery request sent by the server-side equipment.
27. The device for calling the device service based on the Alljoyn gateways is characterized in that the device is used for a server device and comprises the following components:
the first receiving module is used for receiving the gateway address of the first gateway equipment which is registered with the client equipment and sent by the second gateway equipment;
a sending module, configured to send registration information to the first gateway device according to the network address of the first gateway device, and establish a connection with the first gateway device;
and the execution module is used for receiving the service calling operation of the first gateway equipment after the connection is established.
28. The device service invocation apparatus according to claim 27, further comprising:
a second receiving module, configured to send, by the second gateway device, the temporary registration password of the first gateway device;
the sending module is used for sending registration information to the first gateway device according to the network address of the first gateway device and the temporary registration password.
29. The device service invocation apparatus according to claim 27, further comprising:
the connection disconnection module is used for sending the registration information to the first gateway equipment after the connection between the first gateway equipment and the second gateway equipment is disconnected; and the number of the first and second groups,
and the connection recovery module is used for sending a connection recovery request message to the second gateway equipment after the connection between the first gateway equipment and the second gateway equipment is disconnected.
30. An apparatus for invoking a device service based on Alljoyn gateway, which is used for registering a client device on a first gateway device, and comprises:
a first sending module, configured to send a request message to the first gateway device;
a first receiving module, configured to receive a network address of a second gateway device sent by the first gateway device;
the second sending module is used for sending registration information to the second gateway equipment according to the network address of the second gateway equipment and establishing connection with the second gateway equipment;
and the second receiving module is used for receiving the result notification message forwarded by the second gateway device.
31. The device service invocation apparatus according to claim 30, further comprising:
a third receiving module, configured to receive the temporary registration password of the second gateway device sent by the first gateway device;
the second sending module is configured to send registration information to the second gateway device according to the network address and the temporary registration password of the second gateway device.
32. The device service invocation apparatus according to claim 30, further comprising:
the connection disconnection module is used for sending the registration information to the second gateway equipment after the connection between the first gateway equipment and the second gateway equipment is disconnected; and the number of the first and second groups,
and the connection recovery module is used for sending a connection recovery request message to the first gateway equipment after the connection between the first gateway equipment and the second gateway equipment is disconnected.
33. An apparatus for invoking a device service based on Alljoyn gateways, which is used for a first gateway device registered with a client device, comprises:
the first receiving module is used for receiving a request message sent by the client equipment;
a first sending module, configured to broadcast a search message carrying an identifier of a target service or the request message to the outside if it is determined that the registration device of the gateway device does not provide the target service that needs to be called by the request message;
a second receiving module, configured to receive a registration invitation message including a network address of a second gateway device registered with a server device having a target service;
a second sending module, configured to send the network address of the second gateway device in the registration invitation message to the client device.
34. The device service invocation apparatus according to claim 33, further comprising:
the connection disconnection module is used for disconnecting the connection with the client equipment; and the number of the first and second groups,
and the connection recovery module is used for recovering the connection with the client equipment after receiving the connection recovery request sent by the client equipment.
35. The device service invocation apparatus according to claim 33 or 34, wherein the registration invitation message further includes a temporary registration password of the second gateway device;
the second sending module is configured to send the network address and the temporary registration password of the second gateway device to the client device.
36. The device service calling device based on the Alljoyn gateways is used for a second gateway device and comprises the following components:
the first receiving module is used for receiving a search message or a request message broadcasted by the first gateway equipment;
a first sending module, configured to broadcast a registration invitation message carrying a network address of the gateway device to the outside if the server device with the target service indicated by the search message or the request message is found in a registration information table of the gateway device;
the second receiving module is used for receiving the registration information sent by the client equipment and establishing connection with the client equipment;
and the service calling module is used for calling the target service on the server side equipment according to the requirement of the client side equipment.
37. The device service invocation apparatus according to claim 36, further comprising:
the third receiving module is used for receiving the request message sent by the client device after the connection with the client device is established;
and the service calling module is used for calling the target service on the server side equipment according to the request message.
38. The device-service invoking device of claim 36, wherein the service invoking module is configured to invoke a target service on a server device according to the request message.
39. The device service invocation apparatus according to claim 36, wherein the registration invitation message includes a temporary registration password of the gateway device;
the device for calling the service of the equipment further comprises:
and the first logout module is used for annotating and selling the registration information of the server equipment and the temporary registration password on the gateway equipment.
40. The device service invocation apparatus according to claim 36, further comprising: and the second logout module is used for annotating and selling the registration information of the server-side equipment on the gateway equipment.
CN201410638692.2A 2014-11-07 2014-11-07 A device service invocation method and device based on Alljoyn gateways Active CN105592022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410638692.2A CN105592022B (en) 2014-11-07 2014-11-07 A device service invocation method and device based on Alljoyn gateways

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410638692.2A CN105592022B (en) 2014-11-07 2014-11-07 A device service invocation method and device based on Alljoyn gateways

Publications (2)

Publication Number Publication Date
CN105592022A true CN105592022A (en) 2016-05-18
CN105592022B CN105592022B (en) 2019-06-04

Family

ID=55931240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410638692.2A Active CN105592022B (en) 2014-11-07 2014-11-07 A device service invocation method and device based on Alljoyn gateways

Country Status (1)

Country Link
CN (1) CN105592022B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230878A (en) * 2016-06-30 2016-12-14 宁波翼动通讯科技有限公司 A kind of equipment service calling method based on AllJoyn framework and device
CN109818959A (en) * 2019-01-28 2019-05-28 心动网络股份有限公司 A kind of remote service communication means, server and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040148439A1 (en) * 2003-01-14 2004-07-29 Motorola, Inc. Apparatus and method for peer to peer network connectivty
CN101212384A (en) * 2006-12-31 2008-07-02 华为技术有限公司 Method, system and equipment for realizing home network interconnection
CN103108294A (en) * 2011-11-10 2013-05-15 中国电信股份有限公司 Data forwarding processing method and gateway equipment and communication system
CN103796299A (en) * 2012-10-29 2014-05-14 中兴通讯股份有限公司 Terminal peripheral cancellation method and device
CN103901844A (en) * 2014-03-13 2014-07-02 惠州Tcl移动通信有限公司 Intelligent home control method and system based on Alljoyn technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634783B (en) * 2014-11-07 2019-10-25 海尔优家智能科技(北京)有限公司 A device service calling method and device based on Alljoyn gateways

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040148439A1 (en) * 2003-01-14 2004-07-29 Motorola, Inc. Apparatus and method for peer to peer network connectivty
CN101212384A (en) * 2006-12-31 2008-07-02 华为技术有限公司 Method, system and equipment for realizing home network interconnection
CN103108294A (en) * 2011-11-10 2013-05-15 中国电信股份有限公司 Data forwarding processing method and gateway equipment and communication system
CN103796299A (en) * 2012-10-29 2014-05-14 中兴通讯股份有限公司 Terminal peripheral cancellation method and device
CN103901844A (en) * 2014-03-13 2014-07-02 惠州Tcl移动通信有限公司 Intelligent home control method and system based on Alljoyn technology

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230878A (en) * 2016-06-30 2016-12-14 宁波翼动通讯科技有限公司 A kind of equipment service calling method based on AllJoyn framework and device
CN106230878B (en) * 2016-06-30 2020-02-14 宁波翼动通讯科技有限公司 Equipment service calling method and device based on AllJoyn framework
CN109818959A (en) * 2019-01-28 2019-05-28 心动网络股份有限公司 A kind of remote service communication means, server and system

Also Published As

Publication number Publication date
CN105592022B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN103096502B (en) Apparatus for establishing is to the methods, devices and systems of equipment connection
WO2014109597A1 (en) Method for changing gateway in machine-to-machine (m2m) system and device therefor
US12170899B2 (en) Secure inter-mobile network communication
CN109964495B (en) Service layer mobility management of applications
JP3470756B2 (en) Main device address restriction notification system
WO2015188440A1 (en) Resource subscription processing method and device
EP3447996A1 (en) Resource subscription method, resource subscription device, and resource subscription system
US20160261994A1 (en) Method and Device for Realizing Terminal WIFI Talkback
WO2017074034A1 (en) Method and apparatus for interworking between heterogeneous systems
CN107438981A (en) Across controller failure switching and the wireless client business continuance of balancing the load
CN104579889B (en) A kind of method and device for being used to call network function
WO2016054888A1 (en) Method and device for creating subscription resource
CN105072149A (en) Method and device for building remote communication through proxy gateway
JP5676067B1 (en) Communication method and communication system
KR102423812B1 (en) Enabling stable decentralized M2M/IoT services
CN104935484A (en) A method and device for invoking home appliance services through a gateway
CN105592022B (en) A device service invocation method and device based on Alljoyn gateways
CN105792015A (en) Remote network connecting method and remote network connecting system based on intelligent television
WO2013189398A2 (en) Application data push method, device, and system
WO2018009803A1 (en) Message retargeting in machine-to-machine service layer communications
US11653395B2 (en) Method for establishing a connection of a mobile terminal to a mobile radio communication network and radio access network component
CN102904879A (en) Dialing mobile terminal and its dialing method
CN105072148A (en) Method and device for building connection with terminal
CN104935485A (en) Home appliance service calling method, home appliance service calling request forwarding method and device
CN105634783B (en) A device service calling method and device based on Alljoyn gateways

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170110

Address after: 100088 room 601-606, level, Pacific International Building, Zhichun Road, Beijing, 106, China

Applicant after: Haier smart technology (Beijing) Co., Ltd.

Applicant after: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

Address before: 100086 Beijing, Zhichun Road, Zhongguancun, No. 106 crown office building, layer, layer 15

Applicant before: Beijing Haier Guangke Digital Techn Co., Ltd.

Applicant before: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant