WO2016197637A1 - Method for implementing remote access, alljoyn gateway proxy, cloud server and mobile device - Google Patents
Method for implementing remote access, alljoyn gateway proxy, cloud server and mobile device Download PDFInfo
- Publication number
- WO2016197637A1 WO2016197637A1 PCT/CN2016/075653 CN2016075653W WO2016197637A1 WO 2016197637 A1 WO2016197637 A1 WO 2016197637A1 CN 2016075653 W CN2016075653 W CN 2016075653W WO 2016197637 A1 WO2016197637 A1 WO 2016197637A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- mobile device
- remote
- configuration file
- request message
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000004044 response Effects 0.000 claims abstract description 60
- 238000010586 diagram Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Definitions
- This document relates to, but is not limited to, the field of communications, and in particular to a method for implementing remote access, an AllJoyn gateway proxy, a cloud server, and a mobile device.
- AllJoyn is a collaborative open source software framework that allows programmers to easily write applications that search for nearby devices and connect to any brand, category, or nearby device that does not require a cloud environment.
- the AllJoyn framework is very flexible and enables the IoT to achieve its vision.
- users can enjoy AllJoyn services using their AllJoyn devices in a near-end network such as a home network.
- the AllJoyn Gateway Agent (GA) enables users to seamlessly experience the AllJoyn service when they leave the near-end network.
- the user sets up a remotely accessible service list in the near-end network, including the device, the application (App, or App), and the interface. After that, the user accesses the AllJoyn service remotely through the Cloud Service (CS).
- CS Cloud Service
- the Control App on the Mobile Device enables the user to set up a remote profile in the near-end network and, after leaving the near-end network, can also control the device and receive notifications as if it were in a near-end network.
- the third-party protocol that GA connects to its CS is specified by the service provider, and the components that implement remote access in GA include:
- the gateway management App is configured to implement the control App to manage the remote configuration file and expose the remote configuration file to the connector App;
- the Connector App is configured to provide a connection between the AllJoyn device and the CS, and to provide protocol conversion between AllJoyn and third party protocols.
- Control the App set to discover the gateway management App in an advertisement-based manner
- the gateway management App and the connector App communicate with each other via the same AllJoyn router preset on the GA.
- Embodiments of the present invention provide a method for implementing remote access, an AllJoyn gateway proxy, a cloud server, and a mobile device to implement remote access to the AllJoyn service.
- An embodiment of the present invention provides a method for implementing remote access, including:
- the mobile device sends an update resource request message to the designated cloud server
- the mobile device After receiving the update resource response message of the specified cloud server, the mobile device sends a remote access request message to the AllJoyn gateway agent.
- the foregoing method further has the following feature: after the sending the remote access request message to the AllJoyn gateway proxy, the method further includes:
- the mobile device receives a remote access response message returned by the AllJoyn gateway agent, and the remote access response message includes indication information of a remote access execution result.
- the above method also has the following features:
- the update resource request message includes an attribute of a resource to be updated, an identifier of a connector application of the AllJoyn gateway agent, and an identifier of a control application of the mobile device.
- the embodiment of the invention further provides a mobile device, which includes:
- a sending module configured to send an update resource request message to the specified cloud server; after receiving the update resource response message of the specified cloud server, the receiving module sends a remote access request message to the AllJoyn gateway agent; the update resource request message includes An attribute of the updated resource, an identifier of the connector application of the AllJoyn gateway agent, and an identification of the control application of the mobile device;
- a receiving module configured to receive an update resource response message of the specified cloud server.
- the mobile device further has the following features:
- the receiving module is further configured to receive a remote access response returned by the AllJoyn gateway proxy The message, the remote access response message includes indication information of a remote access execution result.
- the embodiment of the invention further provides a method for implementing remote access, including:
- the AllJoyn gateway agent receives a remote access request message of the mobile device
- AllJoyn gateway agent determines that the control application of the mobile device is set in the remote configuration file, performing a remote access request of the mobile device;
- AllJoyn gateway agent determines that the control application of the mobile device is not set in the remote configuration file, acquires a remote configuration file from the cloud server specified by the remote configuration file, and updates the local remote configuration file, and then determines the The remote access request of the mobile device is executed when the control application of the mobile device is set in the local remote configuration file.
- the foregoing method further has the following feature: after the AllJoyn gateway agent performs the remote access request of the mobile device, the method further includes:
- the AllJoyn gateway agent sends a remote access response message to the mobile device, and carries indication information of the remote access execution result.
- the foregoing method further has the following feature: before the AllJoyn gateway agent receives the remote access request message of the mobile device, the method further includes:
- the AllJoyn gateway agent sends a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and an identifier of a connector application of the AllJoyn gateway agent, the to-be-created
- the properties of the resource include the remote configuration file.
- the foregoing method further has the following features:
- the update resource request message is sent to the cloud server specified in the remote configuration file, where the update resource request message includes attributes of the resource to be updated, and the to-be-updated The properties of the resource include the remote configuration file.
- An embodiment of the present invention further provides an AllJoyn gateway proxy, which includes:
- a receiving module configured to receive a remote access request message of the mobile device
- a remote processing module configured to: when the control application of the mobile device is set in the remote configuration file, perform a remote access request of the mobile device; determine that the control application of the mobile device is not set at the remote
- the cloud service specified to the remote profile when in the configuration file The server obtains the remote configuration file and updates the local remote configuration file, and then determines that the mobile device's control application is set in the local remote configuration file to perform the remote access request of the mobile device.
- AllJoyn gateway agent also has the following features:
- the remote processing module is further configured to send a remote access response message to the mobile device after performing the remote access request of the mobile device, and carry the indication information of the remote access execution result.
- the foregoing AllJoyn gateway agent further has the following features:
- a sending module configured to send a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and an identifier of a connector application of the AllJoyn gateway agent, where to be created
- the properties of the resource include the remote configuration file.
- the foregoing AllJoyn gateway agent further has the following features:
- an update module configured to: when the local remote configuration file is updated, send an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes an attribute of the resource to be updated, the to-be-updated The properties of the resource include the remote configuration file.
- the embodiment of the invention further provides a method for implementing remote access, including:
- the cloud server receives a create resource request message of the AllJoyn gateway proxy
- the cloud server creates an attribute remote configuration file of the resource according to the create resource request message.
- the foregoing method further has the following feature: after receiving the resource request message of the AllJoyn gateway agent, the cloud server further includes:
- the cloud server authenticates the AllJoyn gateway agent, and after the authentication is passed, the resource including the attribute remote configuration file is created according to the created resource request message.
- the foregoing method further has the following feature: after the cloud server creates the resource that includes the attribute remote configuration file according to the create resource request message, the method further includes:
- the cloud server returns an update resource response message to the AllJoyn gateway agent or the mobile device.
- the foregoing method further has the following features:
- the cloud server sends a get resource response message to the AllJoyn gateway agent, where the get resource response message includes an attribute remote configuration file that is requested to be acquired.
- the embodiment of the invention further provides a cloud server, which includes:
- a receiving module configured to receive a create resource request message of the AllJoyn gateway proxy
- a module is created that is set to create a resource that includes an attribute remote profile based on the create resource request message.
- the cloud server further has the following features: an update module is further included.
- the receiving module is further configured to receive an update resource request message of the AllJoyn gateway proxy or the mobile device,
- the authentication module is further configured to notify the update module after authenticating the AllJoyn gateway agent or the mobile device;
- the update module is configured to update the attribute remote configuration file after receiving the notification, and then return an update resource response message to the AllJoyn gateway agent or the mobile device.
- the cloud server further has the following features: further comprising: a sending module, where
- the receiving module is further configured to receive an acquisition resource request message of the AllJoyn gateway proxy
- the sending module is configured to send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring resource response message includes an attribute remote configuration file that is requested to be acquired.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
- Embodiments of the present invention provide a method for implementing remote access, an AllJoyn gateway proxy, a cloud server, and a mobile device, which can implement remote access to the AllJoyn service.
- FIG. 2 is a flowchart of a method for implementing remote access by an agent side of an AllJoyn gateway according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for implementing remote access on a cloud server side according to an embodiment of the present invention
- FIG. 4 is a flowchart of a method for implementing remote access on a mobile device side according to an embodiment of the present invention
- FIG. 5 is a flowchart of a method for implementing remote access according to an application example of the present invention
- FIG. 6 is a schematic diagram of an AllJoyn gateway proxy according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a cloud server according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of a mobile device according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for implementing remote access by the agent side of the AllJoyn gateway according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
- the AllJoyn gateway agent receives a remote access request message of the mobile device.
- the AllJoyn gateway agent determines whether the control application of the mobile device is set in a local remote configuration file, and performs remote access processing according to the determined result.
- step S12 the AllJoyn gateway agent performs remote access processing according to the determination result, which may include:
- the AllJoyn gateway agent After performing the remote access request of the mobile device, the AllJoyn gateway agent sends a remote access response message to the mobile device, and carries indication information of the remote access execution result.
- the AllJoyn gateway agent before receiving the remote access request message of the mobile device, the AllJoyn gateway agent may include:
- the AllJoyn gateway agent sends a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of the resource to be created and an identifier of the connector application of the own AllJoyn gateway agent, where the The properties of the created resource include the remote configuration file.
- the AllJoyn gateway agent determines that the local remote configuration file is updated, sending an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes the to-be-updated An attribute of the resource, where the attribute of the resource to be updated includes a remote configuration file.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
- FIG. 3 is a flowchart of a method for implementing remote access on a cloud server side according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
- the cloud server receives a resource creation request message of the AllJoyn gateway agent.
- the cloud server creates a resource attribute of the remote configuration file according to the create resource request message.
- the cloud server stores correspondence relationship information between a resource attribute of the remote configuration file and a connector application identifier of the AllJoyn gateway agent.
- the cloud server may further include:
- the cloud server authenticates the AllJoyn gateway proxy, and the resource attribute of the remote configuration file is created according to the create resource request message after the authentication is passed.
- the cloud server after the cloud server creates the resource attribute of the remote configuration file according to the create resource request message, the cloud server further includes:
- the cloud server may further receive the acquiring resource request message of the AllJoyn gateway agent; and then send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring the resource response message includes requesting the obtained remote Configuration file.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
- FIG. 4 is a flowchart of a method for implementing remote access on a mobile device side according to an embodiment of the present invention. As shown in FIG. 4, the method in this embodiment includes:
- the mobile device sends an update resource request message to the designated cloud server.
- the mobile device After receiving the update resource response message of the specified cloud server, the mobile device sends a remote access request message to the AllJoyn gateway agent.
- the mobile device receives a remote access response message returned by the AllJoyn gateway agent, where the remote access response message includes indication information of a remote access execution result.
- the update resource request message includes an attribute of a resource to be updated, a connector application identifier of the AllJoyn gateway agent, and a control application identifier of the mobile device.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
- FIG. 5 is a method provided by an application example of the present invention. Flow chart, including:
- Step S101 When the remote configuration file in the gateway proxy is activated, the connector application sends a request to create a resource to the CS set in the remote configuration file, where the request message includes:
- the "remote profile” and its value are the same as the remote profile set by the user in the near-end network via the control application in the mobile device MD1.
- Step S102 After authenticating the application to the connector, the CS creates a resource “Resource-AJ1” of type “AE”, creates a “remote configuration file” attribute for the resource “Resource-AJ1”, and sets the attribute value and the request message.
- the parameter "Remote Profile” is the same.
- the CS sends a resource response to the connector application, and the response message includes a Uniform Resource Identifier (URI) of the resource “Resource-AJ1”.
- URI Uniform Resource Identifier
- Step S103 When the user needs to remotely access the gateway proxy through the mobile device MD2 that is not set in the remote configuration file local to the gateway proxy, the control application in the MD2 sends an update resource request to the CS, where the request message includes:
- the "remote profile" and its values include the identity of the control application.
- Step S104 After authenticating the control application, the CS searches for the resource “Resource-AJ1” according to the identifier of the connector application in the request message, and updates the attribute “remote configuration file” of the resource “Resource-AJ1”, and the updated attribute.
- the value includes the identity of the control application.
- the CS sends an update resource response to the control application, and the response message includes a response code indicating that the update is successful.
- Step S105 After receiving the response message of the CS, the control application sends a remote access request to the connector application, for example, requesting remote control of the AJ device 1.
- Step S106 After the connector application receives the request message for controlling the application, the gateway agent performs the pair Controlling the authentication of the application includes determining whether the control application is set in a remote configuration file local to the gateway proxy. If the result is no, the connector application sends a request for obtaining a resource to the CS, where the request message includes:
- Step S107 After receiving the request message of the connector, the CS searches for the attribute “remote configuration file” of the resource “Resource-AJ” according to the URI of the resource “Resource-AJ1” in the request message, and feeds back the connection by acquiring the resource response message.
- the CS After receiving the request message of the connector, the CS searches for the attribute “remote configuration file” of the resource “Resource-AJ” according to the URI of the resource “Resource-AJ1” in the request message, and feeds back the connection by acquiring the resource response message.
- Step S108 After the connector application receives the response message of the CS, the gateway agent updates the local remote configuration file according to the value of the attribute “remote configuration file” in the response message, and determines whether the control application is set to the local remote configuration after the update. In the file, the result is yes, the gateway agent executes the remote access request of MD2.
- Step S109 After the gateway agent executes the remote access request of the MD2, the connector application sends a remote access response to the control application, and the response message includes an indication of the execution result.
- This embodiment is a resource update process, and includes the following steps:
- Step S201 When the remote configuration file in the gateway proxy is updated, the connector application sends an update resource request to the cloud server CS set in the remote configuration file, where the request message includes:
- the "remote profile” and its value are the same as the remote profile that the user updates in the near-end network through the control application in the mobile device MD3.
- Step S202 After authenticating the connector application, the CS updates the attribute “remote configuration file” of the resource “Resource-AJ2” according to the value of the attribute “remote configuration file” in the request message.
- the CS sends an update resource response to the connector application, and the response message includes a response code indicating that the update is successful.
- FIG. 6 is a schematic diagram of an AllJoyn gateway proxy according to an embodiment of the present invention. As shown in FIG. 6, the AllJoyn gateway proxy of this embodiment includes:
- a receiving module configured to receive a remote access request message of the mobile device
- the remote processing module is configured to determine whether the control application of the mobile device is set in a local remote configuration file, and perform remote access processing according to the determination result.
- the remote processing module is configured to perform remote access processing according to the determination result by the AllJoyn gateway agent determining that the control application of the mobile device is set in the remote configuration file And executing a remote access request of the mobile device; determining that the control application of the mobile device is not set in the remote configuration file, acquiring a remote configuration file from a cloud server specified by the remote configuration file, and updating A local remote profile, and then determining that the mobile device's control application is set in a local remote profile, performs a remote access request for the mobile device.
- the remote processing module is further configured to: after performing the remote access request of the mobile device, send a remote access response message to the mobile device, and carry indication information of the remote access execution result.
- the AllJoyn gateway agent may further include:
- a sending module configured to send a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and a connector application identifier of the local AllJoyn gateway agent, where the to-be-created
- the properties of the resource include the remote configuration file.
- the AllJoyn gateway agent may further include:
- an update module configured to: when the local remote configuration file is updated, send an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes an attribute of the resource to be updated, the to-be-updated The properties of the resource include the remote configuration file.
- FIG. 7 is a schematic diagram of a cloud server according to an embodiment of the present invention. As shown in FIG. 7, the cloud server in this embodiment includes:
- a receiving module configured to receive a create resource request message of the AllJoyn gateway proxy
- a module is created, configured to create an attribute remote configuration file including the attribute according to the create resource request message.
- the cloud server may further include:
- the authentication module is configured to authenticate the AllJoyn gateway agent, and notify the office after the authentication is passed
- the creation module creates a resource that contains an attribute remote configuration file.
- the cloud server may further include an update module.
- the receiving module is further configured to receive an update resource request message of the AllJoyn gateway proxy or the mobile device,
- the authentication module is further configured to notify the update module after authenticating the AllJoyn gateway agent or the mobile device;
- the update module is configured to update the attribute remote configuration file after receiving the notification, and then return an update resource response message to the AllJoyn gateway agent or the mobile device.
- the cloud server may further include a sending module, where
- the receiving module is further configured to receive an acquisition resource request message of the AllJoyn gateway proxy
- the sending module is configured to send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring resource response message includes an attribute remote configuration file that is requested to be acquired.
- FIG. 8 is a schematic diagram of a mobile device according to an embodiment of the present invention. As shown in FIG. 8, the mobile device of this embodiment includes:
- a sending module configured to send an update resource request message to the specified cloud server; after receiving the update resource response message of the specified cloud server, the receiving module sends a remote access request message to the AllJoyn gateway agent;
- a receiving module configured to receive an update resource response message of the specified cloud server.
- the receiving module is further configured to receive a remote access response message returned by the AllJoyn gateway agent, where the remote access response message includes indication information of a remote access execution result.
- the method for implementing remote access can remotely access the AllJoyn service by setting a remotely accessible device or application in the near-end network, and can implement remote access to the AllJoyn service.
- the above technical solution can realize remote access to the AllJoyn service.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
A method for implementing remote access, an AllJoyn gateway proxy, a cloud server and a mobile device. The method comprises: a mobile device sends a resource update request message to a designated cloud server, and sends a remote access request message to an AllJoyn gateway proxy after receiving a resource update response message from the designated cloud server. The technical solution can implement remote access to an AllJoyn service.
Description
本文涉及但不限于通信领域,特别是涉及一种实现远程访问的方法、AllJoyn网关代理、云服务器及移动设备。This document relates to, but is not limited to, the field of communications, and in particular to a method for implementing remote access, an AllJoyn gateway proxy, a cloud server, and a mobile device.
AllJoyn是一个合作的开源软件框架,程序员可以很方便的编写出搜索附近设备的应用程序,并且对于任何品牌、类别、运行系统的附近设备,都可以在不需要云环境的情况下连接。AllJoyn框架非常灵活,能使物联网实现愿景。在AllJoyn系统中,用户能在近端网络(如家庭网络)中使用其AllJoyn设备享受AllJoyn服务。而AllJoyn网关代理(Gateway Agent,简称GA)使用户能在离开近端网络时无缝体验AllJoyn服务。为此,用户在近端网络中设置可远程访问的服务列表,包括设备、应用(Application,简称App)、接口,之后,用户通过云服务器(Cloud Service,简称CS)远程访问AllJoyn服务。AllJoyn is a collaborative open source software framework that allows programmers to easily write applications that search for nearby devices and connect to any brand, category, or nearby device that does not require a cloud environment. The AllJoyn framework is very flexible and enables the IoT to achieve its vision. In the AllJoyn system, users can enjoy AllJoyn services using their AllJoyn devices in a near-end network such as a home network. The AllJoyn Gateway Agent (GA) enables users to seamlessly experience the AllJoyn service when they leave the near-end network. To this end, the user sets up a remotely accessible service list in the near-end network, including the device, the application (App, or App), and the interface. After that, the user accesses the AllJoyn service remotely through the Cloud Service (CS).
移动设备(Mobile Device,简称MD)上的控制App使用户能够在近端网络之中设置远程配置文件,并且在离开近端网络后同样能够控制设备、接收通知,如同在近端网络之中。The Control App on the Mobile Device (MD) enables the user to set up a remote profile in the near-end network and, after leaving the near-end network, can also control the device and receive notifications as if it were in a near-end network.
GA与其CS连接的第三方协议由服务供应商指定,而GA中实现远程访问的组件包括:The third-party protocol that GA connects to its CS is specified by the service provider, and the components that implement remote access in GA include:
网关管理App,设置为实现控制App管理远程配置文件并曝露远程配置文件给连接器App;The gateway management App is configured to implement the control App to manage the remote configuration file and expose the remote configuration file to the connector App;
连接器App,设置为提供AllJoyn设备与CS的连接,同时提供AllJoyn和第三方协议间的协议转换。The Connector App is configured to provide a connection between the AllJoyn device and the CS, and to provide protocol conversion between AllJoyn and third party protocols.
控制App,设置为以基于通告的方式发现网关管理App;Control the App, set to discover the gateway management App in an advertisement-based manner;
所述网关管理App和连接器App经GA上预设的同一AllJoyn路由器进行相互通信。
The gateway management App and the connector App communicate with each other via the same AllJoyn router preset on the GA.
然而,用户如何使用未在近端网络中设定为可远程访问的设备或应用来远程访问AllJoyn服务,在相关技术中还没有实现所述远程访问的机制。However, how a user remotely accesses the AllJoyn service using a device or application that is not set to be remotely accessible in the near-end network has not been implemented in the related art.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种实现远程访问的方法、AllJoyn网关代理、云服务器及移动设备,以实现远程访问AllJoyn服务。Embodiments of the present invention provide a method for implementing remote access, an AllJoyn gateway proxy, a cloud server, and a mobile device to implement remote access to the AllJoyn service.
本发明实施例提供了一种实现远程访问的方法,包括:An embodiment of the present invention provides a method for implementing remote access, including:
移动设备向指定云服务器发送更新资源请求消息;The mobile device sends an update resource request message to the designated cloud server;
移动设备接收到所述指定云服务器的更新资源响应消息后,向AllJoyn网关代理发送远程访问请求消息。After receiving the update resource response message of the specified cloud server, the mobile device sends a remote access request message to the AllJoyn gateway agent.
可选地,上述方法还具有下面特点:所述向AllJoyn网关代理发送远程访问请求消息之后,还包括:Optionally, the foregoing method further has the following feature: after the sending the remote access request message to the AllJoyn gateway proxy, the method further includes:
移动设备接收所述AllJoyn网关代理返回的远程访问响应消息,所述远程访问响应消息包括远程访问执行结果的指示信息。The mobile device receives a remote access response message returned by the AllJoyn gateway agent, and the remote access response message includes indication information of a remote access execution result.
可选地,上述方法还具有下面特点:Optionally, the above method also has the following features:
所述更新资源请求消息包括待更新的资源的属性、所述AllJoyn网关代理的连接器应用的标识和所述移动设备的控制应用的标识。The update resource request message includes an attribute of a resource to be updated, an identifier of a connector application of the AllJoyn gateway agent, and an identifier of a control application of the mobile device.
本发明实施例还提供了一种移动设备,其中,包括:The embodiment of the invention further provides a mobile device, which includes:
发送模块,设置为向指定云服务器发送更新资源请求消息;在接收模块接收到所述指定云服务器的更新资源响应消息后,向AllJoyn网关代理发送远程访问请求消息;所述更新资源请求消息包括待更新的资源的属性、所述AllJoyn网关代理的连接器应用的标识和所述移动设备的控制应用的标识;a sending module, configured to send an update resource request message to the specified cloud server; after receiving the update resource response message of the specified cloud server, the receiving module sends a remote access request message to the AllJoyn gateway agent; the update resource request message includes An attribute of the updated resource, an identifier of the connector application of the AllJoyn gateway agent, and an identification of the control application of the mobile device;
接收模块,设置为接收所述指定云服务器的更新资源响应消息。And a receiving module, configured to receive an update resource response message of the specified cloud server.
可选地,上述移动设备还具有下面特点:Optionally, the mobile device further has the following features:
所述接收模块,还设置为接收所述AllJoyn网关代理返回的远程访问响应
消息,所述远程访问响应消息包括远程访问执行结果的指示信息。The receiving module is further configured to receive a remote access response returned by the AllJoyn gateway proxy
The message, the remote access response message includes indication information of a remote access execution result.
本发明实施例还提供了一种实现远程访问的方法,包括:The embodiment of the invention further provides a method for implementing remote access, including:
AllJoyn网关代理接收移动设备的远程访问请求消息;The AllJoyn gateway agent receives a remote access request message of the mobile device;
AllJoyn网关代理确定所述移动设备的控制应用被设置在所述远程配置文件中时,执行所述移动设备的远程访问请求;When the AllJoyn gateway agent determines that the control application of the mobile device is set in the remote configuration file, performing a remote access request of the mobile device;
AllJoyn网关代理确定所述移动设备的控制应用未被设置在所述远程配置文件中时,向所述远程配置文件指定的云服务器获取远程配置文件,并更新本地的远程配置文件,然后确定所述移动设备的控制应用被设置在本地的远程配置文件中时,执行所述移动设备的远程访问请求。When the AllJoyn gateway agent determines that the control application of the mobile device is not set in the remote configuration file, acquires a remote configuration file from the cloud server specified by the remote configuration file, and updates the local remote configuration file, and then determines the The remote access request of the mobile device is executed when the control application of the mobile device is set in the local remote configuration file.
可选地,上述方法还具有下面特点:所述AllJoyn网关代理执行所述移动设备的远程访问请求后,还包括:Optionally, the foregoing method further has the following feature: after the AllJoyn gateway agent performs the remote access request of the mobile device, the method further includes:
所述AllJoyn网关代理向所述移动设备发送远程访问响应消息,携带远程访问执行结果的指示信息。The AllJoyn gateway agent sends a remote access response message to the mobile device, and carries indication information of the remote access execution result.
可选地,上述方法还具有下面特点:所述AllJoyn网关代理接收移动设备的远程访问请求消息前,还包括:Optionally, the foregoing method further has the following feature: before the AllJoyn gateway agent receives the remote access request message of the mobile device, the method further includes:
所述AllJoyn网关代理向所述远程配置文件中指定的云服务器发送创建资源请求消息,所述创建资源请求消息包括待创建的资源的属性和AllJoyn网关代理的连接器应用的标识,所述待创建的资源的属性包括远程配置文件。The AllJoyn gateway agent sends a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and an identifier of a connector application of the AllJoyn gateway agent, the to-be-created The properties of the resource include the remote configuration file.
可选地,上述方法还具有下面特点:还包括:Optionally, the foregoing method further has the following features:
所述AllJoyn网关代理确定本地的远程配置文件被更新时,向所述远程配置文件中指定的云服务器发送更新资源请求消息,所述更新资源请求消息包括待更新的资源的属性,所述待更新的资源的属性包括远程配置文件。When the AllJoyn gateway agent determines that the local remote configuration file is updated, the update resource request message is sent to the cloud server specified in the remote configuration file, where the update resource request message includes attributes of the resource to be updated, and the to-be-updated The properties of the resource include the remote configuration file.
本发明实施例还提供了一种AllJoyn网关代理,其中,包括:An embodiment of the present invention further provides an AllJoyn gateway proxy, which includes:
接收模块,设置为接收移动设备的远程访问请求消息;a receiving module, configured to receive a remote access request message of the mobile device;
远程处理模块,设置为确定所述移动设备的控制应用被设置在所述远程配置文件中时,执行所述移动设备的远程访问请求;确定所述移动设备的控制应用未被设置在所述远程配置文件中时,向所述远程配置文件指定的云服
务器获取远程配置文件,并更新本地的远程配置文件,然后确定所述移动设备的控制应用被设置在本地的远程配置文件中时,执行所述移动设备的远程访问请求。a remote processing module, configured to: when the control application of the mobile device is set in the remote configuration file, perform a remote access request of the mobile device; determine that the control application of the mobile device is not set at the remote The cloud service specified to the remote profile when in the configuration file
The server obtains the remote configuration file and updates the local remote configuration file, and then determines that the mobile device's control application is set in the local remote configuration file to perform the remote access request of the mobile device.
可选地,上述AllJoyn网关代理还具有下面特点:Optionally, the AllJoyn gateway agent described above also has the following features:
所述远程处理模块,还设置为执行所述移动设备的远程访问请求后,向所述移动设备发送远程访问响应消息,携带远程访问执行结果的指示信息。The remote processing module is further configured to send a remote access response message to the mobile device after performing the remote access request of the mobile device, and carry the indication information of the remote access execution result.
可选地,上述AllJoyn网关代理还具有下面特点:还包括:Optionally, the foregoing AllJoyn gateway agent further has the following features:
发送模块,设置为向所述远程配置文件中指定的云服务器发送创建资源请求消息,所述创建资源请求消息包括待创建的资源的属性和AllJoyn网关代理的连接器应用的标识,所述待创建的资源的属性包括远程配置文件。a sending module, configured to send a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and an identifier of a connector application of the AllJoyn gateway agent, where to be created The properties of the resource include the remote configuration file.
可选地,上述AllJoyn网关代理还具有下面特点:还包括:Optionally, the foregoing AllJoyn gateway agent further has the following features:
更新模块,设置为确定本地的远程配置文件被更新时,向所述远程配置文件中指定的云服务器发送更新资源请求消息,所述更新资源请求消息包括待更新的资源的属性,所述待更新的资源的属性包括远程配置文件。And an update module, configured to: when the local remote configuration file is updated, send an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes an attribute of the resource to be updated, the to-be-updated The properties of the resource include the remote configuration file.
本发明实施例还提供了一种实现远程访问的方法,包括:The embodiment of the invention further provides a method for implementing remote access, including:
云服务器接收AllJoyn网关代理的创建资源请求消息;The cloud server receives a create resource request message of the AllJoyn gateway proxy;
云服务器根据所述创建资源请求消息创建资源的属性远程配置文件。The cloud server creates an attribute remote configuration file of the resource according to the create resource request message.
可选地,上述方法还具有下面特点:所述云服务器接收AllJoyn网关代理的创建资源请求消息后,还包括:Optionally, the foregoing method further has the following feature: after receiving the resource request message of the AllJoyn gateway agent, the cloud server further includes:
所述云服务器对所述AllJoyn网关代理进行鉴权,鉴权通过后才根据所述创建资源请求消息创建包含属性远程配置文件的资源。The cloud server authenticates the AllJoyn gateway agent, and after the authentication is passed, the resource including the attribute remote configuration file is created according to the created resource request message.
可选地,上述方法还具有下面特点:所述云服务器根据所述创建资源请求消息创建包含属性远程配置文件的资源后,还包括:Optionally, the foregoing method further has the following feature: after the cloud server creates the resource that includes the attribute remote configuration file according to the create resource request message, the method further includes:
所述云服务器接收所述AllJoyn网关代理或移动设备的更新资源请求消息,Receiving, by the cloud server, an update resource request message of the AllJoyn gateway proxy or a mobile device,
对所述AllJoyn网关代理或所述移动设备进行鉴权后,更新所述属性远程配置文件;
After authenticating the AllJoyn gateway agent or the mobile device, updating the attribute remote configuration file;
所述云服务器向所述AllJoyn网关代理或所述移动设备返回更新资源响应消息。The cloud server returns an update resource response message to the AllJoyn gateway agent or the mobile device.
可选地,上述方法还具有下面特点:还包括:Optionally, the foregoing method further has the following features:
所述云服务器接收所述AllJoyn网关代理的获取资源请求消息;Receiving, by the cloud server, an acquisition resource request message of the AllJoyn gateway agent;
所述云服务器向所述AllJoyn网关代理发送获取资源响应消息,所述获取资源响应消息包括请求获取的属性远程配置文件。The cloud server sends a get resource response message to the AllJoyn gateway agent, where the get resource response message includes an attribute remote configuration file that is requested to be acquired.
本发明实施例还提供了一种云服务器,其中,包括:The embodiment of the invention further provides a cloud server, which includes:
接收模块,设置为接收AllJoyn网关代理的创建资源请求消息;a receiving module, configured to receive a create resource request message of the AllJoyn gateway proxy;
创建模块,设置为根据所述创建资源请求消息创建包含属性远程配置文件的资源。A module is created that is set to create a resource that includes an attribute remote profile based on the create resource request message.
可选地,上述云服务器还具有下面特点:还包括更新模块,Optionally, the cloud server further has the following features: an update module is further included.
所述接收模块,还设置为接收所述AllJoyn网关代理或移动设备的更新资源请求消息,The receiving module is further configured to receive an update resource request message of the AllJoyn gateway proxy or the mobile device,
所述鉴权模块,还设置为对所述AllJoyn网关代理或所述移动设备进行鉴权后,通知所述更新模块;The authentication module is further configured to notify the update module after authenticating the AllJoyn gateway agent or the mobile device;
所述更新模块,设置为接收到通知后更新所述属性远程配置文件,然后向所述AllJoyn网关代理或所述移动设备返回更新资源响应消息。The update module is configured to update the attribute remote configuration file after receiving the notification, and then return an update resource response message to the AllJoyn gateway agent or the mobile device.
可选地,上述云服务器还具有下面特点:还包括发送模块,其中,Optionally, the cloud server further has the following features: further comprising: a sending module, where
所述接收模块,还设置为接收所述AllJoyn网关代理的获取资源请求消息;The receiving module is further configured to receive an acquisition resource request message of the AllJoyn gateway proxy;
所述发送模块,设置为向所述AllJoyn网关代理发送获取资源响应消息,所述获取资源响应消息包括请求获取的属性远程配置文件。The sending module is configured to send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring resource response message includes an attribute remote configuration file that is requested to be acquired.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
本发明实施例提供一种实现远程访问的方法、AllJoyn网关代理、云服务器及移动设备,可以实现远程访问AllJoyn服务。
Embodiments of the present invention provide a method for implementing remote access, an AllJoyn gateway proxy, a cloud server, and a mobile device, which can implement remote access to the AllJoyn service.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关技术的AllJoyn服务的远程访问示意图;1 is a schematic diagram of remote access of a related art AllJoyn service;
图2为本发明实施例的AllJoyn网关代理侧实现远程访问的方法的流程图;2 is a flowchart of a method for implementing remote access by an agent side of an AllJoyn gateway according to an embodiment of the present invention;
图3为本发明实施例的云服务器侧实现远程访问的方法的流程图;3 is a flowchart of a method for implementing remote access on a cloud server side according to an embodiment of the present invention;
图4为本发明实施例的移动设备侧实现远程访问的方法的流程图;4 is a flowchart of a method for implementing remote access on a mobile device side according to an embodiment of the present invention;
图5为本发明应用示例的实现远程访问的方法的流程图;FIG. 5 is a flowchart of a method for implementing remote access according to an application example of the present invention; FIG.
图6为本发明实施例的AllJoyn网关代理的示意图;6 is a schematic diagram of an AllJoyn gateway proxy according to an embodiment of the present invention;
图7为本发明实施例的云服务器的示意图;FIG. 7 is a schematic diagram of a cloud server according to an embodiment of the present invention; FIG.
图8为本发明实施例的移动设备的示意图。FIG. 8 is a schematic diagram of a mobile device according to an embodiment of the present invention.
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图2为本发明实施例的AllJoyn网关代理侧实现远程访问的方法的流程图,如图2所示,本实施例的方法包括:2 is a flowchart of a method for implementing remote access by the agent side of the AllJoyn gateway according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
S11、AllJoyn网关代理接收移动设备的远程访问请求消息;S11. The AllJoyn gateway agent receives a remote access request message of the mobile device.
S12、AllJoyn网关代理确定所述移动设备的控制应用是否被设置在本地的远程配置文件中,根据确定结果进行远程访问处理。S12. The AllJoyn gateway agent determines whether the control application of the mobile device is set in a local remote configuration file, and performs remote access processing according to the determined result.
步骤S12中,所述AllJoyn网关代理根据确定结果进行远程访问处理,可以包括:In step S12, the AllJoyn gateway agent performs remote access processing according to the determination result, which may include:
所述AllJoyn网关代理确定所述移动设备的控制应用被设置在所述远程配置文件中时,执行所述移动设备的远程访问请求;确定所述移动设备的控制应用未被设置在所述远程配置文件中时,向所述远程配置文件指定的云服务器获取远程配置文件,并更新本地的远程配置文件,然后确定所述移动设
备的控制应用被设置在本地的远程配置文件中时,执行所述移动设备的远程访问请求。Determining, when the AllJoyn gateway agent determines that the control application of the mobile device is set in the remote configuration file, performing a remote access request of the mobile device; determining that the control application of the mobile device is not set in the remote configuration In the file, obtain a remote configuration file from the cloud server specified by the remote configuration file, update the local remote configuration file, and then determine the mobile device
When the standby control application is set in the local remote configuration file, the remote access request of the mobile device is executed.
AllJoyn网关代理执行所述移动设备的远程访问请求后,向所述移动设备发送远程访问响应消息,携带远程访问执行结果的指示信息。After performing the remote access request of the mobile device, the AllJoyn gateway agent sends a remote access response message to the mobile device, and carries indication information of the remote access execution result.
在一可选实施例中,所述AllJoyn网关代理接收移动设备的远程访问请求消息前,可以包括:In an optional embodiment, before receiving the remote access request message of the mobile device, the AllJoyn gateway agent may include:
所述AllJoyn网关代理向所述远程配置文件中指定的云服务器发送创建资源请求消息,所述创建资源请求消息包括待创建的资源的属性和本AllJoyn网关代理的连接器应用的标识,所述待创建的资源的属性包括远程配置文件。The AllJoyn gateway agent sends a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of the resource to be created and an identifier of the connector application of the own AllJoyn gateway agent, where the The properties of the created resource include the remote configuration file.
在一可选实施例中,所述AllJoyn网关代理确定本地的远程配置文件被更新时,向所述远程配置文件中指定的云服务器发送更新资源请求消息,所述更新资源请求消息包括待更新的资源的属性,所述待更新的资源的属性包括远程配置文件。In an optional embodiment, when the AllJoyn gateway agent determines that the local remote configuration file is updated, sending an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes the to-be-updated An attribute of the resource, where the attribute of the resource to be updated includes a remote configuration file.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
图3为本发明实施例的云服务器侧实现远程访问的方法的流程图,如图3所示,本实施例的方法包括:FIG. 3 is a flowchart of a method for implementing remote access on a cloud server side according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
S21、云服务器接收AllJoyn网关代理的创建资源请求消息;S21. The cloud server receives a resource creation request message of the AllJoyn gateway agent.
S22、云服务器根据所述创建资源请求消息创建远程配置文件的资源属性。S22. The cloud server creates a resource attribute of the remote configuration file according to the create resource request message.
所述云服务器存储所述远程配置文件的资源属性与所述AllJoyn网关代理的连接器应用标识的对应关系信息。The cloud server stores correspondence relationship information between a resource attribute of the remote configuration file and a connector application identifier of the AllJoyn gateway agent.
在一可选实施例中,所述云服务器接收AllJoyn网关代理的创建资源请求消息后,还可以包括:In an optional embodiment, after the cloud server receives the create resource request message of the AllJoyn gateway agent, the cloud server may further include:
所述云服务器对所述AllJoyn网关代理进行鉴权,鉴权通过后才根据所述创建资源请求消息创建远程配置文件的资源属性。
The cloud server authenticates the AllJoyn gateway proxy, and the resource attribute of the remote configuration file is created according to the create resource request message after the authentication is passed.
在一可选实施例中,所述云服务器根据所述创建资源请求消息创建远程配置文件的资源属性后,还包括:In an optional embodiment, after the cloud server creates the resource attribute of the remote configuration file according to the create resource request message, the cloud server further includes:
所述云服务器接收所述AllJoyn网关代理或移动设备的更新资源请求消息,对所述AllJoyn网关代理或所述移动设备进行鉴权后,更新指定的远程配置文件;然后向所述AllJoyn网关代理或所述移动设备返回更新资源响应消息。Receiving, by the cloud server, an update resource request message of the AllJoyn gateway proxy or the mobile device, after authenticating the AllJoyn gateway proxy or the mobile device, updating the specified remote configuration file; and then proxying to the AllJoyn gateway or The mobile device returns an update resource response message.
在一可选实施例中,所述云服务器还可以接收所述AllJoyn网关代理的获取资源请求消息;然后向所述AllJoyn网关代理发送获取资源响应消息,所述获取资源响应消息包括请求获取的远程配置文件。In an optional embodiment, the cloud server may further receive the acquiring resource request message of the AllJoyn gateway agent; and then send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring the resource response message includes requesting the obtained remote Configuration file.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
图4为本发明实施例的移动设备侧实现远程访问的方法的流程图,如图4所示,本实施例的方法包括:FIG. 4 is a flowchart of a method for implementing remote access on a mobile device side according to an embodiment of the present invention. As shown in FIG. 4, the method in this embodiment includes:
S31、移动设备向指定云服务器发送更新资源请求消息;S31. The mobile device sends an update resource request message to the designated cloud server.
S32、移动设备接收到所述指定云服务器的更新资源响应消息后,向AllJoyn网关代理发送远程访问请求消息。S32. After receiving the update resource response message of the specified cloud server, the mobile device sends a remote access request message to the AllJoyn gateway agent.
S33、移动设备接收所述AllJoyn网关代理返回的远程访问响应消息,所述远程访问响应消息包括远程访问执行结果的指示信息。S33. The mobile device receives a remote access response message returned by the AllJoyn gateway agent, where the remote access response message includes indication information of a remote access execution result.
所述更新资源请求消息包括待更新的资源的属性、所述AllJoyn网关代理的连接器应用标识和所述移动设备的控制应用标识。The update resource request message includes an attribute of a resource to be updated, a connector application identifier of the AllJoyn gateway agent, and a control application identifier of the mobile device.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
以下通过具体实施方式对本发明的实现远程访问的方法进行详细的说明。The method for realizing remote access of the present invention will be described in detail below through specific embodiments.
本实施例一,请参考图1和图5,图5为本发明应用示例提供的方法的
流程图,包括:For the first embodiment, please refer to FIG. 1 and FIG. 5. FIG. 5 is a method provided by an application example of the present invention.
Flow chart, including:
步骤S101:当网关代理中的远程配置文件被激活时,连接器应用发送创建资源请求到远程配置文件中设定的CS,请求消息中包含:Step S101: When the remote configuration file in the gateway proxy is activated, the connector application sends a request to create a resource to the CS set in the remote configuration file, where the request message includes:
1)类型:“应用实体(Application Entity,简称AE)”资源;1) Type: "Application Entity (AE)" resource;
2)标识:连接器应用的标识;2) Identification: the identifier of the connector application;
3)内容(包含需要创建的资源的属性):3) Content (including the attributes of the resources that need to be created):
“远程配置文件”,及其取值与用户通过移动设备MD1中的控制应用在近端网络中设置的远程配置文件相同。The "remote profile" and its value are the same as the remote profile set by the user in the near-end network via the control application in the mobile device MD1.
步骤S102:CS通过对连接器应用的鉴权后,创建类型为“AE”的资源“Resource-AJ1”,为资源“Resource-AJ1”创建“远程配置文件”属性,并设置属性值与请求消息中的参数“远程配置文件”相同。Step S102: After authenticating the application to the connector, the CS creates a resource “Resource-AJ1” of type “AE”, creates a “remote configuration file” attribute for the resource “Resource-AJ1”, and sets the attribute value and the request message. The parameter "Remote Profile" is the same.
同时,CS发送创建资源响应给连接器应用,响应消息中包含资源“Resource-AJ1”的统一资源标识(Uniform Resource Identifier,简称URI)。At the same time, the CS sends a resource response to the connector application, and the response message includes a Uniform Resource Identifier (URI) of the resource “Resource-AJ1”.
步骤S103:当用户需要通过未设置在网关代理本地的远程配置文件中的移动设备MD2远程访问网关代理时,MD2中的控制应用发送更新资源请求到CS,请求消息中包含:Step S103: When the user needs to remotely access the gateway proxy through the mobile device MD2 that is not set in the remote configuration file local to the gateway proxy, the control application in the MD2 sends an update resource request to the CS, where the request message includes:
1)标识:连接器应用的标识;1) Identification: the identifier of the connector application;
2)内容(包含需要更新的资源的属性):2) Content (including attributes of resources that need to be updated):
“远程配置文件”,及其取值包括控制应用的标识。The "remote profile" and its values include the identity of the control application.
步骤S104:CS通过对控制应用的鉴权后,根据请求消息中的连接器应用的标识查找资源“Resource-AJ1”,并更新资源“Resource-AJ1”的属性“远程配置文件”,更新的属性值包括控制应用的标识。Step S104: After authenticating the control application, the CS searches for the resource “Resource-AJ1” according to the identifier of the connector application in the request message, and updates the attribute “remote configuration file” of the resource “Resource-AJ1”, and the updated attribute. The value includes the identity of the control application.
同时,CS发送更新资源响应给控制应用,响应消息中包含指示更新成功的响应码。At the same time, the CS sends an update resource response to the control application, and the response message includes a response code indicating that the update is successful.
步骤S105:控制应用接收到CS的响应消息后,发送远程访问请求到连接器应用,例如,请求远程控制AJ设备1。Step S105: After receiving the response message of the CS, the control application sends a remote access request to the connector application, for example, requesting remote control of the AJ device 1.
步骤S106:连接器应用接收到控制应用的请求消息后,网关代理进行对
控制应用的鉴权,包括确定控制应用是否被设置在网关代理本地的远程配置文件中,结果为否,则连接器应用发送获取资源请求到CS,请求消息中包含:Step S106: After the connector application receives the request message for controlling the application, the gateway agent performs the pair
Controlling the authentication of the application includes determining whether the control application is set in a remote configuration file local to the gateway proxy. If the result is no, the connector application sends a request for obtaining a resource to the CS, where the request message includes:
1)地址:资源“Resource-AJ1”的URI;1) Address: the URI of the resource "Resource-AJ1";
2)内容(包含需要获取的资源的属性):“远程配置文件”。2) Content (including the attributes of the resources that need to be acquired): "Remote Profile".
步骤S107:CS接收到连接器的请求消息后,根据请求消息中的资源“Resource-AJ1”的URI查找资源“Resource-AJ”的属性“远程配置文件”,并通过获取资源响应消息反馈给连接器应用。Step S107: After receiving the request message of the connector, the CS searches for the attribute “remote configuration file” of the resource “Resource-AJ” according to the URI of the resource “Resource-AJ1” in the request message, and feeds back the connection by acquiring the resource response message. Application.
步骤S108:连接器应用接收到CS的响应消息后,网关代理根据响应消息中的属性“远程配置文件”的值更新本地的远程配置文件,并确定控制应用是否被设置在更新后本地的远程配置文件中,结果为是,则网关代理执行MD2的远程访问请求。Step S108: After the connector application receives the response message of the CS, the gateway agent updates the local remote configuration file according to the value of the attribute “remote configuration file” in the response message, and determines whether the control application is set to the local remote configuration after the update. In the file, the result is yes, the gateway agent executes the remote access request of MD2.
步骤S109:网关代理执行MD2的远程访问请求后,连接器应用发送远程访问响应给控制应用,响应消息中包含执行结果的指示。Step S109: After the gateway agent executes the remote access request of the MD2, the connector application sends a remote access response to the control application, and the response message includes an indication of the execution result.
实施例二Embodiment 2
本实施例为资源更新流程,包括以下步骤:This embodiment is a resource update process, and includes the following steps:
步骤S201:当网关代理中的远程配置文件被更新时,连接器应用发送更新资源请求到远程配置文件中设定的云服务器CS,请求消息中包含:Step S201: When the remote configuration file in the gateway proxy is updated, the connector application sends an update resource request to the cloud server CS set in the remote configuration file, where the request message includes:
1)地址:资源“Resource-AJ2”的URI;1) Address: the URI of the resource "Resource-AJ2";
2)内容(包含需要更新的资源的属性):2) Content (including attributes of resources that need to be updated):
“远程配置文件”及其取值与用户通过移动设备MD3中的控制应用在近端网络中更新的远程配置文件相同。The "remote profile" and its value are the same as the remote profile that the user updates in the near-end network through the control application in the mobile device MD3.
步骤S202:CS通过对连接器应用的鉴权后,根据请求消息中的属性“远程配置文件”的值更新资源“Resource-AJ2”的属性“远程配置文件”。Step S202: After authenticating the connector application, the CS updates the attribute “remote configuration file” of the resource “Resource-AJ2” according to the value of the attribute “remote configuration file” in the request message.
同时,CS发送更新资源响应给连接器应用,响应消息中包含指示更新成功的响应码。At the same time, the CS sends an update resource response to the connector application, and the response message includes a response code indicating that the update is successful.
图6为本发明实施例的AllJoyn网关代理的示意图,如图6所示,本实施例的AllJoyn网关代理包括:
FIG. 6 is a schematic diagram of an AllJoyn gateway proxy according to an embodiment of the present invention. As shown in FIG. 6, the AllJoyn gateway proxy of this embodiment includes:
接收模块,设置为接收移动设备的远程访问请求消息;a receiving module, configured to receive a remote access request message of the mobile device;
远程处理模块,设置为确定所述移动设备的控制应用是否被设置在本地的远程配置文件中,根据确定结果进行远程访问处理。The remote processing module is configured to determine whether the control application of the mobile device is set in a local remote configuration file, and perform remote access processing according to the determination result.
在一可选实施例中,所述远程处理模块,是设置为通过如下方式实现根据确定结果进行远程访问处理:所述AllJoyn网关代理确定所述移动设备的控制应用被设置在所述远程配置文件中时,执行所述移动设备的远程访问请求;确定所述移动设备的控制应用未被设置在所述远程配置文件中时,向所述远程配置文件指定的云服务器获取远程配置文件,并更新本地的远程配置文件,然后确定所述移动设备的控制应用被设置在本地的远程配置文件中时,执行所述移动设备的远程访问请求。In an optional embodiment, the remote processing module is configured to perform remote access processing according to the determination result by the AllJoyn gateway agent determining that the control application of the mobile device is set in the remote configuration file And executing a remote access request of the mobile device; determining that the control application of the mobile device is not set in the remote configuration file, acquiring a remote configuration file from a cloud server specified by the remote configuration file, and updating A local remote profile, and then determining that the mobile device's control application is set in a local remote profile, performs a remote access request for the mobile device.
在一可选实施例中,所述远程处理模块,还设置为执行所述移动设备的远程访问请求后,向所述移动设备发送远程访问响应消息,携带远程访问执行结果的指示信息。In an optional embodiment, the remote processing module is further configured to: after performing the remote access request of the mobile device, send a remote access response message to the mobile device, and carry indication information of the remote access execution result.
在一可选实施例中,所述AllJoyn网关代理还可以包括:In an optional embodiment, the AllJoyn gateway agent may further include:
发送模块,设置为向所述远程配置文件中指定的云服务器发送创建资源请求消息,所述创建资源请求消息包括待创建的资源的属性和本AllJoyn网关代理的连接器应用标识,所述待创建的资源的属性包括远程配置文件。a sending module, configured to send a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and a connector application identifier of the local AllJoyn gateway agent, where the to-be-created The properties of the resource include the remote configuration file.
在一可选实施例中,所述AllJoyn网关代理还可以包括:In an optional embodiment, the AllJoyn gateway agent may further include:
更新模块,设置为确定本地的远程配置文件被更新时,向所述远程配置文件中指定的云服务器发送更新资源请求消息,所述更新资源请求消息包括待更新的资源的属性,所述待更新的资源的属性包括远程配置文件。And an update module, configured to: when the local remote configuration file is updated, send an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes an attribute of the resource to be updated, the to-be-updated The properties of the resource include the remote configuration file.
图7为本发明实施例的云服务器的示意图,如图7所示,本实施例的云服务器包括:FIG. 7 is a schematic diagram of a cloud server according to an embodiment of the present invention. As shown in FIG. 7, the cloud server in this embodiment includes:
接收模块,设置为接收AllJoyn网关代理的创建资源请求消息;a receiving module, configured to receive a create resource request message of the AllJoyn gateway proxy;
创建模块,设置为根据所述创建资源请求消息创建包括属性远程配置文件。A module is created, configured to create an attribute remote configuration file including the attribute according to the create resource request message.
在一可选实施例中,所述云服务器还可以包括:In an optional embodiment, the cloud server may further include:
鉴权模块,设置为对所述AllJoyn网关代理进行鉴权,鉴权通过后通知所
述创建模块创建包含属性远程配置文件的资源。The authentication module is configured to authenticate the AllJoyn gateway agent, and notify the office after the authentication is passed
The creation module creates a resource that contains an attribute remote configuration file.
在一可选实施例中,所述云服务器还可以包括更新模块,In an optional embodiment, the cloud server may further include an update module.
所述接收模块,还设置为接收所述AllJoyn网关代理或移动设备的更新资源请求消息,The receiving module is further configured to receive an update resource request message of the AllJoyn gateway proxy or the mobile device,
所述鉴权模块,还设置为对所述AllJoyn网关代理或所述移动设备进行鉴权后,通知所述更新模块;The authentication module is further configured to notify the update module after authenticating the AllJoyn gateway agent or the mobile device;
所述更新模块,设置为接收到通知后更新所述属性远程配置文件,然后向所述AllJoyn网关代理或所述移动设备返回更新资源响应消息。The update module is configured to update the attribute remote configuration file after receiving the notification, and then return an update resource response message to the AllJoyn gateway agent or the mobile device.
在一可选实施例中,所述云服务器还可以包括发送模块,其中,In an optional embodiment, the cloud server may further include a sending module, where
所述接收模块,还设置为接收所述AllJoyn网关代理的获取资源请求消息;The receiving module is further configured to receive an acquisition resource request message of the AllJoyn gateway proxy;
所述发送模块,设置为向所述AllJoyn网关代理发送获取资源响应消息,所述获取资源响应消息包括请求获取的属性远程配置文件。The sending module is configured to send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring resource response message includes an attribute remote configuration file that is requested to be acquired.
图8为本发明实施例的移动设备的示意图,如图8所述,本实施例的移动设备包括:FIG. 8 is a schematic diagram of a mobile device according to an embodiment of the present invention. As shown in FIG. 8, the mobile device of this embodiment includes:
发送模块,设置为向指定云服务器发送更新资源请求消息;在接收模块接收到所述指定云服务器的更新资源响应消息后,向AllJoyn网关代理发送远程访问请求消息;;a sending module, configured to send an update resource request message to the specified cloud server; after receiving the update resource response message of the specified cloud server, the receiving module sends a remote access request message to the AllJoyn gateway agent;
接收模块,设置为接收所述指定云服务器的更新资源响应消息。And a receiving module, configured to receive an update resource response message of the specified cloud server.
所述接收模块,还设置为接收所述AllJoyn网关代理返回的远程访问响应消息,所述远程访问响应消息包括远程访问执行结果的指示信息。The receiving module is further configured to receive a remote access response message returned by the AllJoyn gateway agent, where the remote access response message includes indication information of a remote access execution result.
通过本发明实施例的实现远程访问的方法可以在近端网络中设定可远程访问的设备或应用来远程访问AllJoyn服务,可以实现远程访问AllJoyn服务。The method for implementing remote access according to the embodiment of the present invention can remotely access the AllJoyn service by setting a remotely accessible device or application in the near-end network, and can implement remote access to the AllJoyn service.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读
存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art can understand that all or part of the above steps can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as read only.
Memory, disk or disc, etc. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例,当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
上述技术方案可以实现远程访问AllJoyn服务。
The above technical solution can realize remote access to the AllJoyn service.
Claims (24)
- 一种实现远程访问的方法,包括:A method of implementing remote access, including:移动设备向指定云服务器发送更新资源请求消息;The mobile device sends an update resource request message to the designated cloud server;移动设备接收到所述指定云服务器的更新资源响应消息后,向AllJoyn网关代理发送远程访问请求消息。After receiving the update resource response message of the specified cloud server, the mobile device sends a remote access request message to the AllJoyn gateway agent.
- 如权利要求1所述的方法,还包括:The method of claim 1 further comprising:所述向AllJoyn网关代理发送远程访问请求消息之后,移动设备接收所述AllJoyn网关代理返回的远程访问响应消息,所述远程访问响应消息包括远程访问执行结果的指示信息。After the remote access request message is sent to the AllJoyn gateway agent, the mobile device receives the remote access response message returned by the AllJoyn gateway agent, and the remote access response message includes indication information of the remote access execution result.
- 如权利要求1所述的方法,其中:The method of claim 1 wherein:所述更新资源请求消息包括待更新的资源的属性、所述AllJoyn网关代理的连接器应用的标识和所述移动设备的控制应用的标识。The update resource request message includes an attribute of a resource to be updated, an identifier of a connector application of the AllJoyn gateway agent, and an identifier of a control application of the mobile device.
- 一种移动设备,包括:A mobile device comprising:发送模块,设置为向指定云服务器发送更新资源请求消息;在接收模块接收到所述指定云服务器的更新资源响应消息后,向AllJoyn网关代理发送远程访问请求消息;所述更新资源请求消息包括待更新的资源的属性、所述AllJoyn网关代理的连接器应用的标识和所述移动设备的控制应用的标识;a sending module, configured to send an update resource request message to the specified cloud server; after receiving the update resource response message of the specified cloud server, the receiving module sends a remote access request message to the AllJoyn gateway agent; the update resource request message includes An attribute of the updated resource, an identifier of the connector application of the AllJoyn gateway agent, and an identification of the control application of the mobile device;接收模块,设置为接收所述指定云服务器的更新资源响应消息。And a receiving module, configured to receive an update resource response message of the specified cloud server.
- 如权利要求4所述的移动设备,The mobile device of claim 4,所述接收模块,还设置为接收所述AllJoyn网关代理返回的远程访问响应消息,所述远程访问响应消息包括远程访问执行结果的指示信息。The receiving module is further configured to receive a remote access response message returned by the AllJoyn gateway agent, where the remote access response message includes indication information of a remote access execution result.
- 一种实现远程访问的方法,包括:A method of implementing remote access, including:AllJoyn网关代理接收移动设备的远程访问请求消息;The AllJoyn gateway agent receives a remote access request message of the mobile device;AllJoyn网关代理确定所述移动设备的控制应用被设置在所述远程配置文件中时,执行所述移动设备的远程访问请求;When the AllJoyn gateway agent determines that the control application of the mobile device is set in the remote configuration file, performing a remote access request of the mobile device;AllJoyn网关代理确定所述移动设备的控制应用未被设置在所述远程配置文件中时,向所述远程配置文件指定的云服务器获取远程配置文件,并更 新本地的远程配置文件,然后确定所述移动设备的控制应用被设置在本地的远程配置文件中时,执行所述移动设备的远程访问请求。When the AllJoyn gateway agent determines that the control application of the mobile device is not set in the remote configuration file, acquires a remote configuration file from the cloud server specified by the remote configuration file, and A remote access request to the mobile device is performed when the new local remote profile is determined to be set in the local remote profile.
- 如权利要求6所述的方法,还包括:The method of claim 6 further comprising:所述AllJoyn网关代理执行所述移动设备的远程访问请求后,所述AllJoyn网关代理向所述移动设备发送远程访问响应消息,携带远程访问执行结果的指示信息。After the AllJoyn gateway agent performs the remote access request of the mobile device, the AllJoyn gateway agent sends a remote access response message to the mobile device, and carries indication information of the remote access execution result.
- 如权利要求6所述的方法,还包括:The method of claim 6 further comprising:所述AllJoyn网关代理接收移动设备的远程访问请求消息前,所述AllJoyn网关代理向所述远程配置文件中指定的云服务器发送创建资源请求消息,所述创建资源请求消息包括待创建的资源的属性和AllJoyn网关代理的连接器应用的标识,所述待创建的资源的属性包括远程配置文件。Before the AllJoyn gateway agent receives the remote access request message of the mobile device, the AllJoyn gateway agent sends a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes attributes of the resource to be created And an identifier of a connector application of the AllJoyn gateway agent, where the attribute of the resource to be created includes a remote configuration file.
- 如权利要求6-8任一项所述的方法,还包括:The method of any of claims 6-8, further comprising:所述AllJoyn网关代理确定本地的远程配置文件被更新时,向所述远程配置文件中指定的云服务器发送更新资源请求消息,所述更新资源请求消息包括待更新的资源的属性,所述待更新的资源的属性包括远程配置文件。When the AllJoyn gateway agent determines that the local remote configuration file is updated, the update resource request message is sent to the cloud server specified in the remote configuration file, where the update resource request message includes attributes of the resource to be updated, and the to-be-updated The properties of the resource include the remote configuration file.
- 一种AllJoyn网关代理,包括:An AllJoyn gateway agent, including:接收模块,设置为接收移动设备的远程访问请求消息;a receiving module, configured to receive a remote access request message of the mobile device;远程处理模块,设置为确定所述移动设备的控制应用被设置在所述远程配置文件中时,执行所述移动设备的远程访问请求;确定所述移动设备的控制应用未被设置在所述远程配置文件中时,向所述远程配置文件指定的云服务器获取远程配置文件,并更新本地的远程配置文件,然后确定所述移动设备的控制应用被设置在本地的远程配置文件中时,执行所述移动设备的远程访问请求。a remote processing module, configured to: when the control application of the mobile device is set in the remote configuration file, perform a remote access request of the mobile device; determine that the control application of the mobile device is not set at the remote In the configuration file, when the remote configuration file is obtained from the cloud server specified by the remote configuration file, and the local remote configuration file is updated, and then the control application of the mobile device is determined to be set in the local remote configuration file, A remote access request for a mobile device.
- 如权利要求10所述的AllJoyn网关代理,The AllJoyn gateway agent of claim 10,所述远程处理模块,还设置为执行所述移动设备的远程访问请求后,向所述移动设备发送远程访问响应消息,携带远程访问执行结果的指示信息。The remote processing module is further configured to send a remote access response message to the mobile device after performing the remote access request of the mobile device, and carry the indication information of the remote access execution result.
- 如权利要求10述的AllJoyn网关代理,还包括: The AllJoyn gateway agent of claim 10, further comprising:发送模块,设置为向所述远程配置文件中指定的云服务器发送创建资源请求消息,所述创建资源请求消息包括待创建的资源的属性和AllJoyn网关代理的连接器应用的标识,所述待创建的资源的属性包括远程配置文件。a sending module, configured to send a create resource request message to the cloud server specified in the remote configuration file, where the create resource request message includes an attribute of a resource to be created and an identifier of a connector application of the AllJoyn gateway agent, where to be created The properties of the resource include the remote configuration file.
- 如权利要求10-12任一项所述的AllJoyn网关代理,还包括:The AllJoyn gateway agent according to any one of claims 10 to 12, further comprising:更新模块,设置为确定本地的远程配置文件被更新时,向所述远程配置文件中指定的云服务器发送更新资源请求消息,所述更新资源请求消息包括待更新的资源的属性,所述待更新的资源的属性包括远程配置文件。And an update module, configured to: when the local remote configuration file is updated, send an update resource request message to the cloud server specified in the remote configuration file, where the update resource request message includes an attribute of the resource to be updated, the to-be-updated The properties of the resource include the remote configuration file.
- 一种实现远程访问的方法,包括:A method of implementing remote access, including:云服务器接收AllJoyn网关代理的创建资源请求消息;The cloud server receives a create resource request message of the AllJoyn gateway proxy;云服务器根据所述创建资源请求消息创建资源的属性远程配置文件。The cloud server creates an attribute remote configuration file of the resource according to the create resource request message.
- 如权利要求14所述的方法,还包括:The method of claim 14 further comprising:所述云服务器接收AllJoyn网关代理的创建资源请求消息后,所述云服务器对所述AllJoyn网关代理进行鉴权,鉴权通过后才根据所述创建资源请求消息创建包含属性远程配置文件的资源。After the cloud server receives the resource creation request message of the AllJoyn gateway agent, the cloud server authenticates the AllJoyn gateway agent, and after the authentication is passed, the resource including the attribute remote configuration file is created according to the created resource request message.
- 如权利要求14或15所述的方法,还包括:The method of claim 14 or 15, further comprising:所述云服务器根据所述创建资源请求消息创建包含属性远程配置文件的资源后,所述云服务器接收所述AllJoyn网关代理或移动设备的更新资源请求消息,对所述AllJoyn网关代理或所述移动设备进行鉴权后,更新所述属性远程配置文件;After the cloud server creates a resource including the attribute remote configuration file according to the create resource request message, the cloud server receives an update resource request message of the AllJoyn gateway agent or the mobile device, and the agent or the mobile agent of the AllJoyn gateway After the device performs authentication, the attribute remote configuration file is updated;所述云服务器向所述AllJoyn网关代理或所述移动设备返回更新资源响应消息。The cloud server returns an update resource response message to the AllJoyn gateway agent or the mobile device.
- 如权利要求14或15所述的方法,还包括:The method of claim 14 or 15, further comprising:所述云服务器接收所述AllJoyn网关代理的获取资源请求消息;Receiving, by the cloud server, an acquisition resource request message of the AllJoyn gateway agent;所述云服务器向所述AllJoyn网关代理发送获取资源响应消息,所述获取资源响应消息包括请求获取的属性远程配置文件。The cloud server sends a get resource response message to the AllJoyn gateway agent, where the get resource response message includes an attribute remote configuration file that is requested to be acquired.
- 一种云服务器,包括:A cloud server that includes:接收模块,设置为接收AllJoyn网关代理的创建资源请求消息; a receiving module, configured to receive a create resource request message of the AllJoyn gateway proxy;创建模块,设置为根据所述创建资源请求消息创建包含属性远程配置文件的资源。A module is created that is set to create a resource that includes an attribute remote profile based on the create resource request message.
- 如权利要求18所述的云服务器,还包括:The cloud server of claim 18, further comprising:鉴权模块,对所述AllJoyn网关代理进行鉴权,鉴权通过后通知所述创建模块创建包含属性远程配置文件的资源。The authentication module authenticates the AllJoyn gateway agent, and after the authentication is passed, notifies the creating module to create a resource that includes the attribute remote configuration file.
- 如权利要求19所述的云服务器,还包括更新模块,The cloud server of claim 19, further comprising an update module,所述接收模块,还设置为接收所述AllJoyn网关代理或移动设备的更新资源请求消息,The receiving module is further configured to receive an update resource request message of the AllJoyn gateway proxy or the mobile device,所述鉴权模块,还设置为对所述AllJoyn网关代理或所述移动设备进行鉴权后,通知所述更新模块;The authentication module is further configured to notify the update module after authenticating the AllJoyn gateway agent or the mobile device;所述更新模块,设置为接收到通知后更新所述属性远程配置文件,然后向所述AllJoyn网关代理或所述移动设备返回更新资源响应消息。The update module is configured to update the attribute remote configuration file after receiving the notification, and then return an update resource response message to the AllJoyn gateway agent or the mobile device.
- 如权利要求18-20任一项所述的云服务器,还包括发送模块,A cloud server according to any one of claims 18 to 20, further comprising a transmitting module,所述接收模块,还设置为接收所述AllJoyn网关代理的获取资源请求消息;The receiving module is further configured to receive an acquisition resource request message of the AllJoyn gateway proxy;所述发送模块,设置为向所述AllJoyn网关代理发送获取资源响应消息,所述获取资源响应消息包括请求获取的属性远程配置文件。The sending module is configured to send an acquiring resource response message to the AllJoyn gateway agent, where the acquiring resource response message includes an attribute remote configuration file that is requested to be acquired.
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~3中任一项所述的方法。A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 3.
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求6~9中任一项所述的方法。A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 6-9.
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求14~17中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 14-17.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510916177.0A CN106878352A (en) | 2015-12-10 | 2015-12-10 | A kind of method for realizing remote access, AllJoyn gateway proxies, Cloud Server and mobile device |
CN201510916177.0 | 2015-12-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016197637A1 true WO2016197637A1 (en) | 2016-12-15 |
Family
ID=57504255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/075653 WO2016197637A1 (en) | 2015-12-10 | 2016-03-04 | Method for implementing remote access, alljoyn gateway proxy, cloud server and mobile device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106878352A (en) |
WO (1) | WO2016197637A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111885103A (en) * | 2020-06-12 | 2020-11-03 | 视联动力信息技术股份有限公司 | Resource processing method, server, electronic device, and storage medium |
CN115412588A (en) * | 2022-06-20 | 2022-11-29 | 北京车网科技发展有限公司 | Method and device for remotely updating configuration file and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140082177A1 (en) * | 2012-09-15 | 2014-03-20 | Honeywell International Inc. | Asynchronous reporting system |
US20140206331A1 (en) * | 2013-01-24 | 2014-07-24 | Electronics And Telecommunications Research Institute | Method and apparatus for initially configuring wireless devices by using wireless gateway in internet environment |
CN104994159A (en) * | 2015-06-30 | 2015-10-21 | 青岛海尔智能家电科技有限公司 | Distributed agent method and device based on AllJoyn, and mobile equipment |
US20150312113A1 (en) * | 2014-04-28 | 2015-10-29 | Qualcomm Incorporated | AllJoyn Messaging Anonymous Targets Based on Association |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8224936B2 (en) * | 2008-05-21 | 2012-07-17 | Cisco Technology, Inc. | Configuration file override |
CN104052641A (en) * | 2013-03-15 | 2014-09-17 | 佘培嘉 | Electric appliance network adapter networking method |
CN104038564A (en) * | 2014-07-08 | 2014-09-10 | 马传军 | System and method for achieving mobile terminal management in router based on cloud network center |
-
2015
- 2015-12-10 CN CN201510916177.0A patent/CN106878352A/en active Pending
-
2016
- 2016-03-04 WO PCT/CN2016/075653 patent/WO2016197637A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140082177A1 (en) * | 2012-09-15 | 2014-03-20 | Honeywell International Inc. | Asynchronous reporting system |
US20140206331A1 (en) * | 2013-01-24 | 2014-07-24 | Electronics And Telecommunications Research Institute | Method and apparatus for initially configuring wireless devices by using wireless gateway in internet environment |
US20150312113A1 (en) * | 2014-04-28 | 2015-10-29 | Qualcomm Incorporated | AllJoyn Messaging Anonymous Targets Based on Association |
CN104994159A (en) * | 2015-06-30 | 2015-10-21 | 青岛海尔智能家电科技有限公司 | Distributed agent method and device based on AllJoyn, and mobile equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111885103A (en) * | 2020-06-12 | 2020-11-03 | 视联动力信息技术股份有限公司 | Resource processing method, server, electronic device, and storage medium |
CN111885103B (en) * | 2020-06-12 | 2024-05-14 | 视联动力信息技术股份有限公司 | Resource processing method, server, electronic device and storage medium |
CN115412588A (en) * | 2022-06-20 | 2022-11-29 | 北京车网科技发展有限公司 | Method and device for remotely updating configuration file and electronic equipment |
CN115412588B (en) * | 2022-06-20 | 2024-01-23 | 北京车网科技发展有限公司 | Method and device for remotely updating configuration file and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106878352A (en) | 2017-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210297410A1 (en) | Mec platform deployment method and apparatus | |
EP3333744B1 (en) | Authorization code flow for in-browser applications | |
US20200067903A1 (en) | Integration of Publish-Subscribe Messaging with Authentication Tokens | |
AU2014342976B2 (en) | Extensible framework for communicating over a fire wall with a software application regarding a user account | |
US20180063879A1 (en) | Apparatus and method for interoperation between internet-of-things devices | |
US20170085498A1 (en) | Accessing a cloud-based service using a communication device linked to another communication device via a peer-to-peer ad hoc communication link | |
US11516211B2 (en) | System for providing a service based upon authorization token and virtual assistant and related methods | |
KR102208935B1 (en) | Messaging api over http protocol to establish context for data exchange | |
JP2019519174A (en) | Method and entity for terminating a subscription | |
WO2015127889A1 (en) | Profile association management method and device | |
JP2019522282A (en) | Secure configuration of cloud computing nodes | |
WO2011023122A1 (en) | Method, device and system for routing service | |
US9438603B2 (en) | Method for managing access right of terminal to resource by server in wireless communication system, and device for same | |
WO2016041342A1 (en) | Method for managing application resources and registered node in m2m | |
WO2017136979A1 (en) | Implementation method, apparatus and system for remote access | |
WO2016197637A1 (en) | Method for implementing remote access, alljoyn gateway proxy, cloud server and mobile device | |
WO2016155266A1 (en) | Data sharing method and device for virtual desktop | |
WO2016074499A1 (en) | Method for calling routing algorithm, sdn controller, and sdn-oaf | |
US8924520B2 (en) | Method, remote access server and system for configuring a quality of service parameter | |
WO2017185498A1 (en) | Registration management method and device | |
JP6076276B2 (en) | Communication system and communication method | |
KR20140121571A (en) | System for intergrated authentication, method and apparatus for intergraged authentication thereof | |
CN113742617A (en) | Cache updating method and device | |
US20190312929A1 (en) | Information synchronization method and device | |
US11108869B1 (en) | System and method for dynamically configuring a handshake protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16806535 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16806535 Country of ref document: EP Kind code of ref document: A1 |