WO2016197778A1 - Smart device control method and control apparatus, and mobile terminal - Google Patents

Smart device control method and control apparatus, and mobile terminal Download PDF

Info

Publication number
WO2016197778A1
WO2016197778A1 PCT/CN2016/081608 CN2016081608W WO2016197778A1 WO 2016197778 A1 WO2016197778 A1 WO 2016197778A1 CN 2016081608 W CN2016081608 W CN 2016081608W WO 2016197778 A1 WO2016197778 A1 WO 2016197778A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart
control
interface
established
adaptation
Prior art date
Application number
PCT/CN2016/081608
Other languages
French (fr)
Chinese (zh)
Inventor
李春雷
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to CN201610093764.9 priority Critical
Priority to CN201610093764.9A priority patent/CN107104991A/en
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197778A1 publication Critical patent/WO2016197778A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/02Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP]
    • H04L67/025Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP] for remote control or remote monitoring of the application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/40Services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/14Network-specific arrangements or communication protocols supporting networked applications for session management
    • H04L67/141Network-specific arrangements or communication protocols supporting networked applications for session management provided for setup of an application session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances

Abstract

Disclosed is a smart device control method, comprising: receiving a registration request of a smart device, and after authentication, encapsulating an operation interface of the smart device to complete interface adaptation on the smart device; according to the interface adaptation, sending a control command to the smart device having established a control relationship, and correspondingly controlling the smart device having established the control relationship. Also disclosed are a smart device control apparatus, and a mobile terminal. The present invention increases the convenience of controlling a smart device.

Description

智能设备的控制方法、控制装置及移动终端Intelligent device control method, control device and mobile terminal 技术领域Technical field
本发明实施例涉及物联网技术领域,尤指一种智能设备的控制方法、控制装置及移动终端。The embodiment of the invention relates to the technical field of the Internet of Things, in particular to a control method, a control device and a mobile terminal of the smart device.
背景技术Background technique
在物联网中,用户与智能设备器之间是如何实现理想的控制和交流已成为近年研究和探索的热点之一。对智能设备的控制有近距离无线交互、通过网络的远程操作等需求场景也不断体现出来,并且逐渐成为未来人们日常生活的场景化模式。同时,随着移动互联网快速发展和智能设备的迅速普及,在移动终端上的应用平台已经成为市场的主流,不同平台不同厂家的应用商场(AppStore)不断涌现,移动终端上的应用市场发展非常活跃和快速。目前在众多应用平台中,通过该平台对智能设备的控制不够便捷。In the Internet of Things, how to achieve ideal control and communication between users and smart devices has become one of the hotspots of research and exploration in recent years. Demand scenes such as close-range wireless interaction and remote operation through the network are constantly reflected in the control of smart devices, and gradually become the scene mode of people's daily life in the future. At the same time, with the rapid development of mobile Internet and the rapid popularization of smart devices, the application platform on mobile terminals has become the mainstream of the market. AppStores of different manufacturers from different platforms are emerging, and the application market on mobile terminals is very active. And fast. At present, in many application platforms, the control of smart devices through the platform is not convenient enough.
发明内容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.
本发明实施例的目的在于提供一种本发明的主要目的在于提供一种智能设备的控制方法、装置及移动终端,旨在提高对智能设备的控制的便捷性。An object of the present invention is to provide a method, a device, and a mobile terminal for controlling a smart device, which are intended to improve the convenience of controlling the smart device.
为实现上述目的,本发明实施例提供了一种智能设备的控制方法,包括:To achieve the above objective, an embodiment of the present invention provides a method for controlling a smart device, including:
接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;Receiving a registration request of the smart device, and encapsulating the operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated;
根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。And sending, by the interface, a control instruction to the smart device that has established the control relationship, and performing corresponding control on the smart device that has established the control relationship.
可选地,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配;所述向已建立控制关系的智能设备发送控制指令包括:Optionally, the interface is adapted to be an interface adaptation between the instant messaging platform and the smart device, including an adaptation based on a standard interface description language and an adaptation based on a custom interface description language; The smart device sending control commands that establish the control relationship include:
向所述已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令。A control instruction based on a standard interface description language or a custom interface description language is sent to the smart device that has established the control relationship.
可选地,所述根据所述接口适配向已建立控制关系的智能设备发送控制 指令,对所述已建立控制关系的智能设备进行相应的控制之前包括:Optionally, the sending, according to the interface adaptation, sending a control to a smart device that has established a control relationship The instruction, before performing corresponding control on the smart device with the established control relationship, includes:
将已完成所述接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。Pushing the smart device information that has been completed by the interface to the display interface, displaying the smart device discovery list, receiving a viewing instruction for the smart device information, and establishing a control relationship with the smart device.
可选地,所述将已完成接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系之后包括:Optionally, the smart device information that has completed the interface adaptation is pushed to the display interface, and the smart device discovery list is displayed, and the viewing instruction for the smart device information is received, and after the control relationship is established with the smart device, :
将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。The smart device that has established the control relationship is displayed as a device class friend on the instant messaging platform, and the smart device that has established the control relationship is shared with other members, and the device class friends who are other members are presented in the friend. List or specified in the group.
本发明实施例还提供了一种智能设备的控制装置,包括:The embodiment of the invention further provides a control device for the smart device, comprising:
适配模块,设置为接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;The adaptation module is configured to receive a registration request of the smart device, and encapsulate an operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated;
控制模块,设置为根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。The control module is configured to send a control instruction to the smart device that has established the control relationship according to the interface adaptation, and perform corresponding control on the smart device that has established the control relationship.
可选地,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配,所述控制模块具体设置为,根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。Optionally, the interface is adapted to interface adaptation between the instant messaging platform and the smart device, including adaptation based on a standard interface description language and adaptation based on a custom interface description language, the control module Specifically, according to the interface adaptation, sending, according to the standard interface description language or the control instruction based on the custom interface description language, the smart device that has established the control relationship, and correspondingly performing the smart device with the established control relationship control.
可选地,所述智能设备的控制装置还包括:Optionally, the control device of the smart device further includes:
建立模块,设置为将已完成接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。And establishing a module, configured to push the smart device information of the completed interface to the display interface to display the smart device discovery list, receive a viewing instruction for the smart device information, and establish a control relationship with the smart device.
可选地,所述智能设备的控制装置还包括:Optionally, the control device of the smart device further includes:
分享模块,设置为将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。a sharing module, configured to display the smart device that has established a control relationship as a device class friend on the instant messaging platform, and share the smart device that has established a control relationship with other members as a device of another member Class friends are presented in a buddy list or in a specified group.
此外,本发明实施例还提供了一种移动终端,所述移动终端包括上述结构所述的智能设备的控制装置。 In addition, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the control device of the smart device described above.
可选地,所述移动终端还包括:Optionally, the mobile terminal further includes:
接收模块,设置为接入指定网络,接收所述指定网络广播已注册到所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。The receiving module is configured to access the designated network, receive the smart device information that the specified network broadcast has registered to the designated network, and display the smart device discovery list on the display interface of the mobile terminal.
本发明实施例再提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一智能设备的控制方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for executing the control method of any of the foregoing smart devices.
本发明实施例实现了通过即时通信平台对智能设备进行控制,即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。该即时通信平台可为移动终端上的应用,因此,用户可通过移动终端对智能设备进行控制,从而实现了通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性。The embodiment of the invention implements the control of the smart device through the instant messaging platform. The instant messaging platform receives the registration request of the smart device, and encapsulates the operation interface of the smart device to complete the interface adaptation of the smart device after the authentication and authentication. Then, according to the interface adaptation, a control instruction is sent to the smart device that has established the control relationship, and the smart device that has established the control relationship is controlled accordingly. The instant messaging platform can be an application on the mobile terminal. Therefore, the user can control the smart device through the mobile terminal, thereby realizing interaction with the smart device through the instant communication platform, thereby improving the convenience of controlling the smart device.
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the embodiments of the invention will be set forth in the description in the description which The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings are intended to provide a further understanding of the embodiments of the present invention, and are intended to be a part of the present invention, and the description of the present invention is not intended to limit the invention. In the drawing:
图1为本发明智能设备的控制方法一实施例的流程示意图;1 is a schematic flowchart of an embodiment of a method for controlling a smart device according to the present invention;
图2为本发明实施例中移动终端通过即时通信平台与智能设备进行交互的结构示意图;2 is a schematic structural diagram of a mobile terminal interacting with a smart device through an instant communication platform according to an embodiment of the present invention;
图3为本发明智能设备的控制装置一实施例的功能模块示意图;3 is a schematic diagram of functional modules of an embodiment of a control device for a smart device according to the present invention;
图4为本发明实施例中移动终端通过指定网络与智能设备进行近距离交互的结构示意图。 FIG. 4 is a schematic structural diagram of a mobile terminal performing short-distance interaction with a smart device through a designated network according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The 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.
如图1所示,示出了本发明一种智能设备的控制方法第一实施例。该实施例的智能设备的控制方法包括:As shown in FIG. 1, a first embodiment of a control method of a smart device according to the present invention is shown. The control method of the smart device of this embodiment includes:
步骤10、接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配;Step 10: Receive a registration request of the smart device, and encapsulate an operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated;
本实施例中,可通过即时通信平台对智能设备进行控制,该即时通信平台可以是移动终端上的应用。移动终端的类型可根据实际需要进行设置,例如,该移动终端可包括手机、iPad、电脑等。即时通信平台是移动终端应用的一个重要部分,即时通信可包括微信、QQ、陌陌、易信等个人产品,还包括很多政企市场的MOA、统一通信等企业产品。需要说明的是,该即时通信平台对移动终端提供即时通信的能力,这种即时通信的能力除了传统的消息、群组、状态等功能外,还涉及对智能设备的控制功能。智能设备可包括智能电灯、智能风扇、智能窗帘、智能摄像头、智能空调、智能电饭锅、智能冰箱、智能手表等等。在已安装即时通信APP并注册到即时通信平台的移动终端上,用户可通过移动终端上的即时通信平台与智能设备进行通信交互,实现对智能设备的控制。In this embodiment, the smart device can be controlled by using an instant messaging platform, and the instant messaging platform can be an application on the mobile terminal. The type of the mobile terminal can be set according to actual needs. For example, the mobile terminal can include a mobile phone, an iPad, a computer, and the like. Instant messaging platform is an important part of mobile terminal applications. Instant messaging can include personal products such as WeChat, QQ, Momo, and Yixin, as well as many enterprise products such as MOA and unified communications in the government and enterprise markets. It should be noted that the instant messaging platform provides the mobile terminal with the capability of instant communication. The capability of the instant communication involves the control functions of the smart device in addition to the traditional messages, groups, and status functions. Smart devices can include smart lights, smart fans, smart curtains, smart cameras, smart air conditioners, smart rice cookers, smart refrigerators, smart watches, and more. On the mobile terminal that has installed the instant messaging APP and registered to the instant messaging platform, the user can communicate with the smart device through the instant messaging platform on the mobile terminal to implement control of the smart device.
具体地,如图2所示,为移动终端通过即时通信平台与智能设备进行通信的场景。该即时通信平台为移动终端上的APP,上述移动终端通过即时通信平台与智能设备进行交互之前,首先移动终端和智能设备需要分别在即时通信平台上注册账号。具体地,移动终端向即时通信平台发送注册请求,即时通信平台接受移动终端的注册请求并完成认证鉴权后,移动终端完成在该即时通信平台的注册,移动终端与即时通信平台之间的建立会话通道。同样地,智能设备向即时通信平台发送注册请求,在即时通信平台接受智能设备的注册请求并完成认证鉴权后,即时通信平台封装智能设备的操作接口完成对该智能设备的接口适配,以实现通过即时通信平台对智能设备操作层面的封装,即时通信平台与智能设备之间可以通过自定义或标准的接口描述语言进行交互。 Specifically, as shown in FIG. 2, a scenario in which a mobile terminal communicates with a smart device through an instant messaging platform. The instant messaging platform is an APP on the mobile terminal. Before the mobile terminal interacts with the smart device through the instant messaging platform, the mobile terminal and the smart device need to register the account respectively on the instant messaging platform. Specifically, the mobile terminal sends a registration request to the instant messaging platform, and after the instant messaging platform accepts the registration request of the mobile terminal and completes the authentication and authentication, the mobile terminal completes registration on the instant messaging platform, and establishes between the mobile terminal and the instant communication platform. Session channel. Similarly, the smart device sends a registration request to the instant messaging platform, and after the instant messaging platform accepts the registration request of the smart device and completes the authentication and authentication, the operation interface of the instant messaging platform encapsulating the smart device completes the interface adaptation to the smart device, Realizing the encapsulation of the intelligent device operation layer through the instant messaging platform, the instant communication platform and the smart device can interact through a custom or standard interface description language.
即时通信平台在接收智能设备的注册请求后,进行认证鉴权,封装所述智能设备的操作接口完成对所述智能设备的接口适配,以实现通过即时通信平台与智能设备之间进行交互。使得即时通信平台对应移动终端的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质。同时,也降低了对移动终端的要求,只要移动终端可以使用即时通信APP,具有网络接入能力,即可对智能设备进行控制。After receiving the registration request of the smart device, the instant messaging platform performs authentication and authentication, and the operation interface of the smart device is encapsulated to complete the interface adaptation of the smart device to implement interaction between the smart device and the smart device. The user of the instant messaging platform corresponding to the mobile terminal completes communication and control with the smart device like the human friend, and displays the long-awaited human-machine interaction of the Internet of Things to the real life of the user, thereby greatly improving the user's life experience and quality. . At the same time, the requirements for the mobile terminal are also reduced. As long as the mobile terminal can use the instant communication APP and has the network access capability, the smart device can be controlled.
步骤20、根据接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。Step 20: Send a control instruction to the smart device that has established the control relationship according to the interface adaptation, and perform corresponding control on the smart device that has established the control relationship.
在上述即时通信平台完成对所述智能设备的接口适配后,即时通信平台可与需要进行控制操作的智能设备建立控制关系,例如,在该即时通信平台上对搜索得到的智能设备信息根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友。After the instant messaging platform completes the interface adaptation of the smart device, the instant messaging platform can establish a control relationship with the smart device that needs to perform the control operation. For example, the smart device information obtained by the search on the instant communication platform is determined according to the specific The situation selection is added as a friend on the instant messaging platform or in the specified group. Of course, it is also possible to add the searched smart device as a device class friend.
当即时通信平台将已在即时通信平台完成注册的智能设备建立控制关系时,即时通信平台可向智能设备发送控制指令来实现对智能设备的控制,智能设备也可以反馈当前状态、监测参数、控制建议等信息至即时通信平台。例如,时通信平台以微信为例,智能设备以智能空调为例,在用户下班准备回到家中,而需要通过移动终端来控制智能空调开启让室内环境温度达到适宜温度时,用户在移动终端上登录微信后,在微信好友列表或指定分组中找到智能空调,根据预先设置的接口描述语言发送消息至智能空调的对话窗口。假设发送“1”或“开”表示开启空调,发送“0”或“关”表示关闭空调,用户发送“1”至智能空调的对话窗口开启智能空调,智能空调反馈已开启的相关信息至对话框。用户还可以发送“温度升高1度”对智能控制进行温度进行调节,发送“制热运行”对运行模式进行调节。When the instant messaging platform establishes a control relationship with the smart device that has been registered in the instant messaging platform, the instant messaging platform can send a control command to the smart device to implement control of the smart device, and the smart device can also feedback the current state, monitoring parameters, and control. Suggest information and other information to the instant messaging platform. For example, the time communication platform uses WeChat as an example, and the smart device takes the smart air conditioner as an example. When the user is ready to go home after work, the mobile terminal needs to control the smart air conditioner to open, so that the indoor ambient temperature reaches a suitable temperature, the user is on the mobile terminal. After logging in to WeChat, the smart air conditioner is found in the WeChat buddy list or the specified group, and the message is sent to the dialog window of the smart air conditioner according to the preset interface description language. Assume that sending "1" or "on" means turning on the air conditioner, sending "0" or "off" means turning off the air conditioner, the user sends "1" to the conversation window of the smart air conditioner to turn on the smart air conditioner, and the information related to the smart air conditioner feedback is turned on to the conversation. frame. The user can also send "temperature rise of 1 degree" to adjust the temperature of the intelligent control, and send "heating operation" to adjust the operation mode.
本发明实施例可通过即时通信平台对智能设备进行控制,即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。该即时通信平台可为移动终端上的应用,因此用户可通过移动终端对智能设备进行控制。 从而实现了通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性,大大提高用户的生活感受和品质。The embodiment of the present invention can control the smart device through the instant messaging platform, and the instant messaging platform receives the registration request of the smart device, and encapsulates the operation interface of the smart device to complete the interface adaptation of the smart device after the authentication and authentication. Then, according to the interface adaptation, a control instruction is sent to the smart device that has established the control relationship, and the smart device that has established the control relationship is controlled accordingly. The instant messaging platform can be an application on the mobile terminal, so the user can control the smart device through the mobile terminal. Thereby, the interaction with the smart device through the instant communication platform is realized, the convenience of controlling the smart device is improved, and the life experience and quality of the user are greatly improved.
进一步地,基于上述智能设备的控制方法第一实施例,提出了本发明智能设备的控制方法第二实施例,该实施例中,所述即时通信平台与所述智能设备之间的接口适配包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配,上述步骤20可包括:根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。Further, based on the first embodiment of the foregoing control method of the smart device, a second embodiment of the control method of the smart device of the present invention is provided. In this embodiment, the interface between the instant messaging platform and the smart device is adapted. Including the adaptation based on the standard interface description language and the adaptation based on the custom interface description language, the above step 20 may include: sending, according to the interface adaptation, a standard interface description language to a smart device that has established a control relationship or The smart device that has established the control relationship performs corresponding control according to the control instruction of the custom interface description language.
本实施例中,即时通信平台在接受智能设备到平台的注册时,加载智能设备的操作接口,完成对智能设备的适配,将智能设备的操作接口转化封装为即时通信APP的通信操作模式数据,以通用模式封装智能设备接口完成接口适配。对于智能设备与即时通信平台的接口适配,可以包括两种方式,一种是基于通用的标准式描述语言的适配,另一种是基于自定义接口描述语言的适配。针对标准式描述语言的适配,由于是智能设备和即时通信平台都支持的标准,所以可以直接协商完成适配。针对自定义接口描述语言的适配,由于是自定义语言,可自定义为枚举数据指标、区间数据指标、离散数据指标等,其具备个性化特点,需要智能设备提供接口操作SDK,适配到即时通信平台。例如,可自定义“1”表示开启,“0”表示关闭等。In this embodiment, the instant messaging platform loads the operation interface of the smart device when accepting the registration of the smart device to the platform, completes the adaptation of the smart device, and converts the operation interface of the smart device into the communication operation mode data of the instant communication APP. The intelligent device interface is encapsulated in a common mode to complete interface adaptation. For the interface adaptation of the smart device and the instant messaging platform, there may be two ways, one is based on the adaptation of a common standard description language, and the other is based on the adaptation of a custom interface description language. For the adaptation of the standard description language, since it is a standard supported by both the smart device and the instant messaging platform, the adaptation can be directly negotiated. Adaptation to the custom interface description language, because it is a custom language, can be customized to enumerate data indicators, interval data indicators, discrete data indicators, etc., which has personalized features, requires intelligent devices to provide interface operation SDK, adaptation To the instant messaging platform. For example, a customizable "1" means open, and a "0" means closed.
在上述即时通信平台控制智能设备的过程中,基于智能设备在即时通信平台上的接口适配,因此可通过即时通信平台向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,智能设备接收到该控制指令后执行相应的操作。In the process of controlling the smart device by the instant messaging platform, the interface of the smart device on the instant messaging platform is adapted, so that the standard interface description language or the customization based on the standard communication interface can be sent to the smart device with the established control relationship through the instant communication platform. The interface describes the control instruction of the language, and the smart device performs the corresponding operation after receiving the control instruction.
本实施例通过即时通信平台向智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对该智能设备进行相应的控制。使得对智能设备的控制将更生活化、易操作、便于管理和使用,大大方便人们的生活,即时通信平台所在移动终端对应的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质,同时提高了对智能设备的控制的便捷性。In this embodiment, the smart device is sent to the smart device by using a standard interface description language or a control instruction based on a custom interface description language, and the smart device is controlled accordingly. The control of the smart device will be more life-oriented, easy to operate, easy to manage and use, and greatly facilitate the life of the people. The user corresponding to the mobile terminal where the instant communication platform is located, like the human friend, completes the communication and control with the smart device, and the people The long-awaited IoT human-computer interaction is displayed in the real life of the user, greatly improving the user's life experience and quality, and improving the convenience of controlling the smart device.
进一步地,基于上述智能设备的控制方法第二实施例,提出了本发明智 能设备的控制方法第三实施例,该实施例中上述步骤20之前还可包括:步骤30、将已完成接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。Further, based on the second embodiment of the control method of the smart device, the present invention is proposed The third embodiment of the device control method may further include: step 30, pushing the smart device information of the completed interface to the display interface to display the smart device discovery list, and receiving the target device The viewing instruction of the smart device information establishes a control relationship with the smart device.
本实施例中,即时通信平台推送的已在该该即时通信平台上完成注册及接口适配的智能设备信息至显示界面,显示界面在接收到即时通信平台推送的已在该即时通信平台完成注册的智能设备信息后,在显示界面显示智能设备发现列表,在列表中列出所有智能设备的相关信息,使得显示界面能够将智能设备作为设备类好友展现给用户,以便用户点击列表中的智能设备选择查看列表中智能设备的相关信息。智能设备的相关信息可以是智能设备的功能、名称、唯一标识等。In this embodiment, the smart device information that has been registered by the instant messaging platform and has been registered and interface-adapted on the instant messaging platform is displayed on the display interface, and the display interface has been registered on the instant messaging platform after receiving the instant messaging platform. After the smart device information, the smart device discovery list is displayed on the display interface, and all the smart device related information is listed in the list, so that the display interface can display the smart device as a device class friend to the user, so that the user clicks on the smart device in the list. Select to view information about smart devices in the list. The information related to the smart device may be a function, a name, a unique identifier, and the like of the smart device.
用户可根据自己的实际需求添加智能设备为被控对象,即即时通信平台与至少一个已在该即时通信平台上完成注册的智能设备建立控制关系。在与所需进行控制的智能设备建立控制关系后,完成对智能设备进行查看并添加为设备类好友。例如,即时通信平台对搜索得到的智能设备根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友,与该智能设备建立控制关系,即时通信平台只需向已建立控制关系的智能设备发送控制指令,即可对该智能设备进行相应的控制。The user can add the smart device as the controlled object according to his actual needs, that is, the instant messaging platform establishes a control relationship with at least one smart device that has completed registration on the instant messaging platform. After establishing a control relationship with the smart device that needs to be controlled, the smart device is viewed and added as a device class friend. For example, the instant messaging platform selects the smart device that is searched for as a friend on the instant messaging platform or belongs to the specified group according to the specific situation. Of course, it is also possible to add the searched smart device as a device class friend, and establish a control relationship with the smart device, and the instant communication platform only needs to send a control command to the smart device that has established the control relationship, and then the smart device can be performed on the smart device. Corresponding control.
本实施例即时通信平台通过将已完成接口适配的智能设备信息推送至显示界面显示智能设备发现列表,选择与智能设备建立控制关系。从而实现了与智能设备建立控制关系,方便通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性。In this embodiment, the instant messaging platform displays the smart device discovery list by pushing the smart device information of the completed interface to the display interface, and selects to establish a control relationship with the smart device. Thereby, the control relationship with the smart device is established, and the interaction with the smart device is facilitated through the instant communication platform, thereby improving the convenience of controlling the smart device.
进一步地,基于上述智能设备的控制方法第三实施例,提出了本发明智能设备的控制方法第四实施例,该实施例中上述步骤30之后还可包括:将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。Further, based on the third embodiment of the foregoing control method of the smart device, a fourth embodiment of the control method of the smart device of the present invention is proposed. In the embodiment, the step 30 may further include: the smart that has established the control relationship. The device is displayed as a device class friend on the instant messaging platform, and the smart device that has established the control relationship is shared with other members, and the device class friends who are other members are presented in the buddy list or the designated group.
本实施例中,智能设备在即时通信平台上注册后作为即时通信平台上的附属设备,即时通信平台与智能设备建立控制关系后,将已建立控制关系的 智能设备在即时通信平台上作为设备类好友展现给用户,供用户根据需要选择向智能设备发送控制指令。即时通信平台在智能设备所属成员授权下,可以将该智能设备分享给其他成员,即即时通信平台可以将已建立控制关系的智能设备分享给其他成员,以作为其他成员的设备类好友呈现在好友列表或指定分组中。以下进行举例说明,假设在微信平台上,微信平台所在移动终端对应的用户A已经将智能电灯、智能电视、智能空调添加为设备类好友,用户A还有微信成员B,此时,用户A可以将智能电视分享给微信成员B,然后微信成员B可以将智能电视添加为自己的设备类好友呈现在好友列表或指定分组中。In this embodiment, the smart device is registered as an accessory device on the instant messaging platform, and after the instant messaging platform establishes a control relationship with the smart device, the control relationship is established. The smart device is presented to the user as a device class friend on the instant messaging platform, and the user selects to send a control command to the smart device according to the need. The instant messaging platform can share the smart device with other members under the authorization of the member of the smart device, that is, the instant messaging platform can share the smart device with the established control relationship to other members, and present the friend as a friend of other members. List or specified in the group. The following is an example. Assume that on the WeChat platform, the user A corresponding to the mobile terminal where the WeChat platform is located has added smart lights, smart TVs, and smart air conditioners as device friends. User A also has WeChat member B. At this time, user A can The smart TV is shared with WeChat member B, and then WeChat member B can add the smart TV as its own device class friend to be presented in the buddy list or specified group.
本实施例即时通信平台可以将已添加为被控对象的智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中,进一步提高了移动终端对智能设备的控制的人性化管理,大大提高用户的生活感受和品质,以及提高了移动终端对智能设备的控制的便捷性。In this embodiment, the instant messaging platform can share the smart device that has been added as the controlled object to other members, and the device class friends that are other members are presented in the buddy list or the specified group, thereby further improving the humanity of the mobile terminal's control over the smart device. Management, greatly improve the user's life experience and quality, and improve the convenience of mobile terminal control of smart devices.
如图3所示,提出本发明一种智能设备的控制装置第一实施例。该实施例的智能设备的控制装置包括:As shown in FIG. 3, a first embodiment of a control device for a smart device according to the present invention is proposed. The control device of the smart device of this embodiment includes:
适配模块100,用于接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;The adaptation module 100 is configured to receive a registration request of the smart device, and encapsulate an operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated;
本实施例中,可通过即时通信平台对智能设备进行控制,该即时通信平台可移动终端上的应用。移动终端的类型可根据实际需要进行设置,例如,该移动终端可包括手机、iPad、电脑等。即时通信平台是移动终端应用的一个重要部分,即时通信可包括微信、QQ、陌陌、易信等个人产品,还包括很多政企市场的MOA、统一通信等企业产品。需要说明的是,该即时通信平台对移动终端提供即时通信的能力,这种即时通信的能力除了传统的消息、群组、状态等功能外,还涉及对智能设备的控制功能。智能设备可包括智能电灯、智能风扇、智能窗帘、智能摄像头、智能空调、智能电饭锅、智能冰箱、智能手表等等。在已安装即时通信APP并注册到即时通信平台的移动终端上,用户可通过移动终端上的即时通信平台与智能设备进行通信交互,实现对智能设备的控制。In this embodiment, the smart device can be controlled by an instant messaging platform, and the instant messaging platform can be an application on the mobile terminal. The type of the mobile terminal can be set according to actual needs. For example, the mobile terminal can include a mobile phone, an iPad, a computer, and the like. Instant messaging platform is an important part of mobile terminal applications. Instant messaging can include personal products such as WeChat, QQ, Momo, and Yixin, as well as many enterprise products such as MOA and unified communications in the government and enterprise markets. It should be noted that the instant messaging platform provides the mobile terminal with the capability of instant communication. The capability of the instant communication involves the control functions of the smart device in addition to the traditional messages, groups, and status functions. Smart devices can include smart lights, smart fans, smart curtains, smart cameras, smart air conditioners, smart rice cookers, smart refrigerators, smart watches, and more. On the mobile terminal that has installed the instant messaging APP and registered to the instant messaging platform, the user can communicate with the smart device through the instant messaging platform on the mobile terminal to implement control of the smart device.
具体地,如图2所示,为移动终端通过即时通信平台与智能设备进行通信的场景。该即时通信平台为移动终端上的APP,上述移动终端通过即时通 信平台与智能设备进行交互之前,首先移动终端和智能设备需要分别在即时通信平台上注册账号。具体地,移动终端向即时通信平台发送注册请求,即时通信平台接受移动终端的注册请求并完成认证鉴权后,移动终端完成在该即时通信平台的注册,移动终端与即时通信平台之间的建立会话通道。同样地,智能设备向即时通信平台发送注册请求,在即时通信平台调用适配模块100接受智能设备的注册请求并完成认证鉴权后,适配模块100封装智能设备的操作接口完成对该智能设备的接口适配,以实现通过即时通信平台对智能设备操作层面的封装,即时通信平台与智能设备之间可以通过自定义或标准的接口描述语言进行交互。Specifically, as shown in FIG. 2, a scenario in which a mobile terminal communicates with a smart device through an instant messaging platform. The instant messaging platform is an APP on a mobile terminal, and the mobile terminal passes the instant pass Before the letter platform interacts with the smart device, the mobile terminal and the smart device need to register the account on the instant messaging platform respectively. Specifically, the mobile terminal sends a registration request to the instant messaging platform, and after the instant messaging platform accepts the registration request of the mobile terminal and completes the authentication and authentication, the mobile terminal completes registration on the instant messaging platform, and establishes between the mobile terminal and the instant communication platform. Session channel. Similarly, the smart device sends a registration request to the instant messaging platform. After the instant messaging platform invokes the adaptation module 100 to accept the registration request of the smart device and completes the authentication authentication, the adaptation module 100 encapsulates the operation interface of the smart device to complete the smart device. The interface is adapted to implement the encapsulation of the intelligent device operation layer through the instant messaging platform, and the instant communication platform and the smart device can interact through a custom or standard interface description language.
适配模块100在接收智能设备的注册请求后,进行认证鉴权,封装所述智能设备的操作接口完成对所述智能设备的接口适配,以实现通过即时通信平台与智能设备之间进行交互。使得即时通信平台对应移动终端的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质。同时,也降低了对移动终端的要求,只要移动终端可以使用即时通信APP,具有网络接入能力,即可对智能设备进行控制。After receiving the registration request of the smart device, the adaptation module 100 performs authentication and authentication, and encapsulates the operation interface of the smart device to complete interface adaptation to the smart device, so as to implement interaction between the smart device and the smart device. . The user of the instant messaging platform corresponding to the mobile terminal completes communication and control with the smart device like the human friend, and displays the long-awaited human-machine interaction of the Internet of Things to the real life of the user, thereby greatly improving the user's life experience and quality. . At the same time, the requirements for the mobile terminal are also reduced. As long as the mobile terminal can use the instant communication APP and has the network access capability, the smart device can be controlled.
控制模块200,用于根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。The control module 200 is configured to send a control instruction to the smart device that has established the control relationship according to the interface adaptation, and perform corresponding control on the smart device that has established the control relationship.
在上述即时通信平台完成对所述智能设备的接口适配后,即时通信平台可与需要进行控制操作的智能设备建立控制关系,例如,在该即时通信平台上对搜索得到的智能设备信息根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友。After the instant messaging platform completes the interface adaptation of the smart device, the instant messaging platform can establish a control relationship with the smart device that needs to perform the control operation. For example, the smart device information obtained by the search on the instant communication platform is determined according to the specific The situation selection is added as a friend on the instant messaging platform or in the specified group. Of course, it is also possible to add the searched smart device as a device class friend.
当即时通信平台将已在即时通信平台完成注册的智能设备建立控制关系时,即时通信平台可由控制模块200向智能设备发送控制指令来实现对智能设备的控制,智能设备也可以反馈当前状态、监测参数、控制建议等信息至即时通信平台。例如,时通信平台以微信为例,智能设备以智能空调为例,在用户下班准备回到家中,而需要通过移动终端来控制智能空调开启让室内环境温度达到适宜温度时,用户在移动终端上登录微信后,在微信好友列表或指定分组中找到智能空调,根据预先设置的接口描述语言发送消息至智能 空调的对话窗口。假设发送“1”或“开”表示开启空调,发送“0”或“关”表示关闭空调,用户发送“1”至智能空调的对话窗口开启智能空调,智能空调反馈已开启的相关信息至对话框。用户还可以发送“温度升高1度”对智能控制进行温度进行调节,发送“制热运行”对运行模式进行调节。When the instant messaging platform establishes a control relationship with the smart device that has been registered in the instant messaging platform, the instant messaging platform can send control commands to the smart device by the control module 200 to implement control of the smart device, and the smart device can also feedback the current state and monitor. Information such as parameters and control suggestions to the instant messaging platform. For example, the time communication platform uses WeChat as an example, and the smart device takes the smart air conditioner as an example. When the user is ready to go home after work, the mobile terminal needs to control the smart air conditioner to open, so that the indoor ambient temperature reaches a suitable temperature, the user is on the mobile terminal. After logging in to WeChat, find the smart air conditioner in the WeChat buddy list or the specified group, and send the message to the smart according to the preset interface description language. Air-conditioned conversation window. Assume that sending "1" or "on" means turning on the air conditioner, sending "0" or "off" means turning off the air conditioner, the user sends "1" to the conversation window of the smart air conditioner to turn on the smart air conditioner, and the information related to the smart air conditioner feedback is turned on to the conversation. frame. The user can also send "temperature rise of 1 degree" to adjust the temperature of the intelligent control, and send "heating operation" to adjust the operation mode.
本发明实施例可通过即时通信平台对智能设备进行控制,即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。该即时通信平台可为移动终端上的应用,因此用户可通过移动终端对智能设备进行控制。从而实现了通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性,大大提高用户的生活感受和品质。The embodiment of the present invention can control the smart device through the instant messaging platform, and the instant messaging platform receives the registration request of the smart device, and encapsulates the operation interface of the smart device to complete the interface adaptation of the smart device after the authentication and authentication. Then, according to the interface adaptation, a control instruction is sent to the smart device that has established the control relationship, and the smart device that has established the control relationship is controlled accordingly. The instant messaging platform can be an application on the mobile terminal, so the user can control the smart device through the mobile terminal. Thereby, the interaction with the smart device through the instant communication platform is realized, the convenience of controlling the smart device is improved, and the life experience and quality of the user are greatly improved.
进一步地,基于上述智能设备的控制方法第一实施例,提出了本发明智能设备的控制方法第二实施例,该实施例中上述即时通信平台与所述智能设备之间的接口适配包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配,所述控制模块200还用于,根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。Further, based on the first embodiment of the foregoing control method of the smart device, a second embodiment of the control method of the smart device of the present invention is proposed. In this embodiment, the interface adaptation between the instant messaging platform and the smart device includes The adaptation of the standard interface description language and the adaptation based on the custom interface description language, the control module 200 is further configured to send, according to the interface adaptation, a standard interface description language to the smart device that has established the control relationship Or, based on the control instruction of the custom interface description language, perform corresponding control on the smart device that has established the control relationship.
本实施例中,即时通信平台由控制模块200在接受智能设备到平台的注册时,加载智能设备的操作接口,完成对智能设备的适配,将智能设备的操作接口转化封装为即时通信APP的通信操作模式数据,以通用模式封装智能设备接口完成接口适配。对于智能设备与即时通信平台的接口适配,可以包括两种方式,一种是基于通用的标准式描述语言的适配,另一种是基于自定义接口描述语言的适配。针对标准式描述语言的适配,由于是智能设备和即时通信平台都支持的标准,所以可以直接协商完成适配。针对自定义接口描述语言的适配,由于是自定义语言,可自定义为枚举数据指标、区间数据指标、离散数据指标等,其具备个性化特点,需要智能设备提供接口操作SDK,适配到即时通信平台。例如,可自定义“1”表示开启,“0”表示关闭等。In this embodiment, the instant messaging platform loads the operation interface of the smart device by the control module 200 when accepting the registration of the smart device to the platform, completes the adaptation of the smart device, and converts the operation interface of the smart device into an instant communication APP. The communication operation mode data encapsulates the smart device interface in a universal mode to complete interface adaptation. For the interface adaptation of the smart device and the instant messaging platform, there may be two ways, one is based on the adaptation of a common standard description language, and the other is based on the adaptation of a custom interface description language. For the adaptation of the standard description language, since it is a standard supported by both the smart device and the instant messaging platform, the adaptation can be directly negotiated. Adaptation to the custom interface description language, because it is a custom language, can be customized to enumerate data indicators, interval data indicators, discrete data indicators, etc., which has personalized features, requires intelligent devices to provide interface operation SDK, adaptation To the instant messaging platform. For example, a customizable "1" means open, and a "0" means closed.
在上述即时通信平台控制智能设备的过程中,基于智能设备在即时通信平台上的接口适配,因此控制模块200可向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,智能设备 接收到该控制指令后执行相应的操作。In the process of controlling the smart device by the instant messaging platform, the interface of the smart device is adapted on the instant messaging platform, so the control module 200 can send the standard interface description language or the customized interface to the smart device that has established the control relationship. Descriptive language control instructions, smart devices The corresponding operation is performed after receiving the control instruction.
本实施例通过即时通信平台向智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对该智能设备进行相应的控制。使得对智能设备的控制将更生活化、易操作、便于管理和使用,大大方便人们的生活,即时通信平台所在移动终端对应的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质,同时提高了对智能设备的控制的便捷性。In this embodiment, the smart device is sent to the smart device by using a standard interface description language or a control instruction based on a custom interface description language, and the smart device is controlled accordingly. The control of the smart device will be more life-oriented, easy to operate, easy to manage and use, and greatly facilitate the life of the people. The user corresponding to the mobile terminal where the instant communication platform is located, like the human friend, completes the communication and control with the smart device, and the people The long-awaited IoT human-computer interaction is displayed in the real life of the user, greatly improving the user's life experience and quality, and improving the convenience of controlling the smart device.
进一步地,基于上述智能设备的控制方法第二实施例,提出了本发明智能设备的控制方法第三实施例,该实施例中上述智能设备的控制装置还包括:Further, based on the second embodiment of the foregoing control method of the smart device, a third embodiment of the control method of the smart device of the present invention is proposed. The control device of the smart device further includes:
建立模块,用于将已完成接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。The establishing module is configured to push the smart device information of the completed interface to the display interface to display the smart device discovery list, receive a viewing instruction for the smart device information, and establish a control relationship with the smart device.
本实施例中,即时通信平台推送的已在该该即时通信平台上完成注册及接口适配的智能设备信息至显示界面,显示界面在接收到即时通信平台推送的已在该即时通信平台完成注册的智能设备信息后,在显示界面显示智能设备发现列表,在列表中列出所有智能设备的相关信息,使得显示界面能够将智能设备作为设备类好友展现给用户,以便用户点击列表中的智能设备选择查看列表中智能设备的相关信息。智能设备的相关信息可以是智能设备的功能、名称、唯一标识等。In this embodiment, the smart device information that has been registered by the instant messaging platform and has been registered and interface-adapted on the instant messaging platform is displayed on the display interface, and the display interface has been registered on the instant messaging platform after receiving the instant messaging platform. After the smart device information, the smart device discovery list is displayed on the display interface, and all the smart device related information is listed in the list, so that the display interface can display the smart device as a device class friend to the user, so that the user clicks on the smart device in the list. Select to view information about smart devices in the list. The information related to the smart device may be a function, a name, a unique identifier, and the like of the smart device.
用户可根据自己的实际需求添加智能设备为被控对象,即建立模块与至少一个已在该即时通信平台上完成注册的智能设备建立控制关系。在与所需进行控制的智能设备建立控制关系后,完成对智能设备进行查看并添加为设备类好友。例如,建立模块对搜索得到的智能设备根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友,与该智能设备建立控制关系,即时通信平台只需向已建立控制关系的智能设备发送控制指令,即可对该智能设备进行相应的控制。The user can add the smart device as the controlled object according to his actual needs, that is, the establishing module establishes a control relationship with at least one smart device that has completed registration on the instant messaging platform. After establishing a control relationship with the smart device that needs to be controlled, the smart device is viewed and added as a device class friend. For example, the establishing module selects, as the case may be, the smart device obtained by the search to be added as a friend on the instant messaging platform or in the specified group. Of course, it is also possible to add the searched smart device as a device class friend, and establish a control relationship with the smart device, and the instant communication platform only needs to send a control command to the smart device that has established the control relationship, and then the smart device can be performed on the smart device. Corresponding control.
本实施例即时通信平台通过将已完成接口适配的智能设备信息推送至显示界面显示智能设备发现列表,选择与智能设备建立控制关系。从而实现了 与智能设备建立控制关系,方便通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性。In this embodiment, the instant messaging platform displays the smart device discovery list by pushing the smart device information of the completed interface to the display interface, and selects to establish a control relationship with the smart device. Thereby achieving Establishing a control relationship with the smart device facilitates interaction with the smart device through the instant messaging platform, thereby improving the convenience of controlling the smart device.
进一步地,基于上述智能设备的控制方法第三实施例,提出了本发明智能设备的控制方法第四实施例,该实施例中上述智能设备的控制装置还包括:Further, based on the third embodiment of the foregoing control method of the smart device, a fourth embodiment of the control method of the smart device of the present invention is proposed. The control device of the smart device further includes:
分享模块,用于将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。a sharing module, configured to display the smart device that has established a control relationship as a device class friend on the instant messaging platform, and share the smart device that has established a control relationship with other members as a device of another member Class friends are presented in a buddy list or in a specified group.
本实施例中,智能设备在即时通信平台上注册后作为即时通信平台上的附属设备,即时通信平台与智能设备建立控制关系后,分享模块将已建立控制关系的智能设备在即时通信平台上作为设备类好友展现给用户,供用户根据需要选择向智能设备发送控制指令。分享模块在智能设备所属成员授权下,可以将该智能设备分享给其他成员,即分享模块可以将已建立控制关系的智能设备分享给其他成员,以作为其他成员的设备类好友呈现在好友列表或指定分组中。以下进行举例说明,假设在微信平台上,微信平台所在移动终端对应的用户A已经将智能电灯、智能电视、智能空调添加为设备类好友,用户A还有微信成员B,此时,用户A可以将智能电视分享给微信成员B,然后微信成员B可以将智能电视添加为自己的设备类好友呈现在好友列表或指定分组中。In this embodiment, after the smart device is registered on the instant messaging platform as an accessory device on the instant messaging platform, after the instant messaging platform establishes a control relationship with the smart device, the sharing module uses the smart device that has established the control relationship on the instant communication platform. The device class friends are presented to the user, and the user can select to send a control command to the smart device according to the need. The sharing module can share the smart device with other members under the authorization of the member of the smart device, that is, the sharing module can share the smart device with the established control relationship to other members, so that the device class friends who are other members are presented in the friend list or Specify the grouping. The following is an example. Assume that on the WeChat platform, the user A corresponding to the mobile terminal where the WeChat platform is located has added smart lights, smart TVs, and smart air conditioners as device friends. User A also has WeChat member B. At this time, user A can The smart TV is shared with WeChat member B, and then WeChat member B can add the smart TV as its own device class friend to be presented in the buddy list or specified group.
本实施例即时通信平台可以将已添加为被控对象的智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中,进一步提高了移动终端对智能设备的控制的人性化管理,大大提高用户的生活感受和品质,以及提高了移动终端对智能设备的控制的便捷性。In this embodiment, the instant messaging platform can share the smart device that has been added as the controlled object to other members, and the device class friends that are other members are presented in the buddy list or the specified group, thereby further improving the humanity of the mobile terminal's control over the smart device. Management, greatly improve the user's life experience and quality, and improve the convenience of mobile terminal control of smart devices.
本发明实施例还提出一种移动终端,该移动终端包括上述结构的智能设备的控制装置,该智能设备的控制装置的工作原理及实现方式可参照图3其对应的实施例,包含了其中的所有技术特征,在此不作赘述。该移动终端可为手机、iPad等。本发明移动终端实施例中,由于具有上述在移动终端可通过即时通信平台对智能设备进行控制,移动终端上的即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。从而实现了通过即时通 信平台与智能设备进行交互,提高了对智能设备的控制的便捷性,大大提高用户的生活感受和品质。The embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the control device of the smart device, and the working principle and implementation manner of the control device of the smart device can refer to the corresponding embodiment of FIG. All technical features are not described here. The mobile terminal can be a mobile phone, an iPad, or the like. In the embodiment of the mobile terminal of the present invention, since the mobile terminal can control the smart device through the instant messaging platform, the instant messaging platform on the mobile terminal receives the registration request of the smart device, and encapsulates the operation of the smart device after the authentication and authentication. The interface completes the interface adaptation to the smart device. Then, according to the interface adaptation, a control instruction is sent to the smart device that has established the control relationship, and the smart device that has established the control relationship is controlled accordingly. Instant pass The letter platform interacts with the smart device, which improves the convenience of controlling the smart device and greatly improves the user's life experience and quality.
进一步地,上述移动终端还包括:接收模块,用于接入指定网络,接收所述指定网络广播已注册到所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。Further, the mobile terminal further includes: a receiving module, configured to access a designated network, receive the smart device information that the specified network broadcast has registered to the designated network, and display the smart device on a display interface of the mobile terminal Discover the list.
本实施例中,指定网络可以是有线或无线网络,例如,无线网络可以是WiFi、4G或5G等网络,以下将以指定网络为无线网络进行详细说明。用户可以通过移动终端与智能设备近距离控制,具体地,移动终端在成功接入无线网络后,无线网络将已接入该无线网络的智能设备信息推送至移动终端,智能设备信息可以是智能设备的唯一标识。In this embodiment, the designated network may be a wired or wireless network. For example, the wireless network may be a network such as WiFi, 4G, or 5G. The following describes the wireless network in the specified network. The user can control the smart device with the smart device. Specifically, after the mobile terminal successfully accesses the wireless network, the wireless network pushes the smart device information that has accessed the wireless network to the mobile terminal, and the smart device information can be a smart device. Unique identifier.
当移动终端将已经接入无线网络的智能设备添加为被控对象时,移动终端可通过在显示界面显示控制菜单对智能设备进行控制,可针对不同类型的智能设备显示不同的控制菜单。例如,对于智能电视的控制菜单可设置为遥控器上对应的按键功能模式,当移动终端将智能电视添加为被控对象后,在用户需要通过移动终端来控制智能电视时,用户调取智能电视的控制菜单显示在界面上,通过触发音量按键功能可控制智能电视进行相应的音量调节。When the mobile terminal adds the smart device that has accessed the wireless network as the controlled object, the mobile terminal can control the smart device by displaying a control menu on the display interface, and different control menus can be displayed for different types of smart devices. For example, the control menu of the smart TV can be set to the corresponding button function mode on the remote controller. When the mobile terminal adds the smart TV as the controlled object, the user calls the smart TV when the user needs to control the smart TV through the mobile terminal. The control menu is displayed on the interface, and the triggering of the volume button function can control the smart TV to perform corresponding volume adjustment.
进一步地,移动终端向搜索到的指定网络发送接入请求,在所述移动终端通过所述指定网络认证鉴权后成功接入所述指定网络,接收所述指定网络向所述移动终端推送的已接入所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。具体地,如图4所示,为移动终端与智能设备的近距离通信场景,上述移动终端在接入无线网络的过程中,首先移动终端需要对无线网络进行搜索,发现附近的无线网络,向搜索到的无线网络发送接入请求,在移动终端通过该无线网络认证通过后成功接入无线网络,由无线网络向移动终端广播已接入到该无线网络上的智能设备信息。可以理解的是,无线网络可不全部推送已接入到该无线网络上的智能设备信息,可推送预设个数和/或者在预设范围内的智能设备信息。在移动终端上会推出智能设备发现列表,用户可以点击列表中的智能设备信息,查看智能设备的功能、操作指令等,必要的时候在经过智能设备的安全登录后,即可通过移动终端对智能设备进行控制。Further, the mobile terminal sends an access request to the searched designated network, and the mobile terminal successfully accesses the designated network after the specified network authentication and authentication, and receives the designated network to push to the mobile terminal. The smart device information of the specified network is accessed, and the smart device discovery list is displayed on a display interface of the mobile terminal. Specifically, as shown in FIG. 4, in the short-distance communication scenario between the mobile terminal and the smart device, in the process of accessing the wireless network, the mobile terminal first needs to search for the wireless network and discover the nearby wireless network. The searched wireless network sends an access request, and the mobile terminal successfully accesses the wireless network after passing the wireless network authentication, and the wireless network broadcasts the smart device information that has been accessed to the wireless network to the mobile terminal. It can be understood that the wireless network may not push all the smart device information that has been accessed to the wireless network, and may push a preset number and/or smart device information within a preset range. A smart device discovery list is launched on the mobile terminal, and the user can click on the smart device information in the list to view the functions and operation instructions of the smart device, and if necessary, after the secure login by the smart device, the smart terminal can be intelligently The device is controlled.
本实施例移动终端在通过无线网络认证通过后成功接入无线网络后,可 接收指定网络广播已注册到指定网络的智能设备信息,供移动终端选择添加智能设备为被控对象进行控制。使得移动终端能够快速可靠地添加智能设备,提高了移动终端对智能设备的控制的便捷性。After the mobile terminal successfully accesses the wireless network after passing the wireless network authentication, the mobile terminal in this embodiment may Receiving the smart device information that the specified network broadcast has registered to the specified network, and the mobile terminal selects to add the smart device to control the controlled object. The mobile terminal can quickly and reliably add the smart device, which improves the convenience of the mobile terminal to control the smart device.
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提出的智能设备的控制方法,包括:接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。本发明还公开了一种智能设备的控制装置及移动终端。本发明提高了对智能设备的控制的便捷性。 The method for controlling the smart device according to the embodiment of the present invention includes: receiving a registration request of the smart device, and encapsulating the operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated; The control unit sends a control instruction to the smart device that has established the control relationship, and performs corresponding control on the smart device that has established the control relationship. The invention also discloses a control device for a smart device and a mobile terminal. The invention improves the convenience of control of the smart device.

Claims (11)

  1. 一种智能设备的控制方法,包括:A method for controlling a smart device, comprising:
    接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配;Receiving a registration request of the smart device, and encapsulating the operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated;
    根据接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。The control device sends a control command to the smart device that has established the control relationship according to the interface adaptation, and performs corresponding control on the smart device that has established the control relationship.
  2. 如权利要求1所述的控制方法,其中,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配;The control method according to claim 1, wherein the interface is adapted to interface adaptation between the instant messaging platform and the smart device, including adaptation based on a standard interface description language and based on a custom interface description language Adaptation
    所述向已建立控制关系的智能设备发送控制指令包括:The sending the control instruction to the smart device that has established the control relationship includes:
    向所述已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令。A control instruction based on a standard interface description language or a custom interface description language is sent to the smart device that has established the control relationship.
  3. 如权利要求2所述的控制方法,所述根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制之前包括:The control method according to claim 2, wherein the transmitting, by the interface adaptation, a control instruction to the smart device that has established the control relationship, before performing corresponding control on the smart device that has established the control relationship, includes:
    将已完成所述接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。Pushing the smart device information that has been completed by the interface to the display interface, displaying the smart device discovery list, receiving a viewing instruction for the smart device information, and establishing a control relationship with the smart device.
  4. 如权利要求3所述的控制方法,所述将已完成接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系之后包括:The control method according to claim 3, wherein the smart device information of the completed interface is pushed to the display interface and the smart device discovery list is displayed, and the viewing instruction for the smart device information is received, and the smart device After the device establishes the control relationship, it includes:
    将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。The smart device that has established the control relationship is displayed as a device class friend on the instant messaging platform, and the smart device that has established the control relationship is shared with other members, and the device class friends who are other members are presented in the friend. List or specified in the group.
  5. 一种智能设备的控制装置,包括:A control device for a smart device, comprising:
    适配模块,设置为接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;The adaptation module is configured to receive a registration request of the smart device, and encapsulate an operation interface of the smart device to complete interface adaptation to the smart device after the authentication is authenticated;
    控制模块,设置为根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。 The control module is configured to send a control instruction to the smart device that has established the control relationship according to the interface adaptation, and perform corresponding control on the smart device that has established the control relationship.
  6. 如权利要求5所述的控制装置,其中,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配;The control device according to claim 5, wherein said interface is adapted to interface adaptation between said instant messaging platform and said smart device, including adaptation based on standard interface description language and based on custom interface description language Adaptation
    所述控制模块具体设置为,根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。The control module is specifically configured to send, according to the interface adaptation, a control instruction based on a standard interface description language or a custom interface description language to the smart device that has established the control relationship, and the intelligence of the established control relationship The device is controlled accordingly.
  7. 如权利要求6所述的控制装置,还包括:The control device of claim 6 further comprising:
    建立模块,设置为将已完成所述接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。And establishing a module, configured to push the smart device information that has been completed by the interface to the display interface, display the smart device discovery list, receive a viewing instruction for the smart device information, and establish a control relationship with the smart device.
  8. 如权利要求7所述的控制装置,还包括:The control device according to claim 7, further comprising:
    分享模块,设置为将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。a sharing module, configured to display the smart device that has established a control relationship as a device class friend on the instant messaging platform, and share the smart device that has established a control relationship with other members as a device of another member Class friends are presented in a buddy list or in a specified group.
  9. 一种移动终端,所述移动终端包括如权利要求5至8中任一项所述的智能设备的控制装置。A mobile terminal comprising the control device of the smart device according to any one of claims 5 to 8.
  10. 如权利要求9所述的移动终端,所述移动终端还包括:The mobile terminal of claim 9, the mobile terminal further comprising:
    接收模块,用于接入指定网络,接收所述指定网络广播已注册到所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。And a receiving module, configured to access the designated network, receive the smart device information that the specified network broadcast has registered to the specified network, and display the smart device discovery list on the display interface of the mobile terminal.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权1至权4任一项的智能设备的控制方法。 A computer readable storage medium storing computer executable instructions for performing a control method of a smart device according to any one of claims 1 to 4.
PCT/CN2016/081608 2016-02-19 2016-05-10 Smart device control method and control apparatus, and mobile terminal WO2016197778A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610093764.9 2016-02-19
CN201610093764.9A CN107104991A (en) 2016-02-19 2016-02-19 Control method, device and the mobile terminal of smart machine

Publications (1)

Publication Number Publication Date
WO2016197778A1 true WO2016197778A1 (en) 2016-12-15

Family

ID=57502832

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081608 WO2016197778A1 (en) 2016-02-19 2016-05-10 Smart device control method and control apparatus, and mobile terminal

Country Status (2)

Country Link
CN (1) CN107104991A (en)
WO (1) WO2016197778A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083021A (en) * 2018-10-19 2020-04-28 佛山市顺德区美的饮水机制造有限公司 Display terminal and display system
CN112600856A (en) * 2020-12-28 2021-04-02 青岛海尔科技有限公司 Equipment authorization method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000379A1 (en) * 2013-07-04 2015-01-08 珠海格力电器股份有限公司 Method for remotely controlling air conditioner and remote control system for air conditioner
CN104426750A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Method, equipment and system for instant messaging
CN105049306A (en) * 2015-08-26 2015-11-11 北京北信源软件股份有限公司 Smart home control structure based on instant messaging
CN105049340A (en) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 Method and device for accessing intelligent equipment based on instant communication
CN105282233A (en) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 Method, device and system for controlling intelligent equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030078979A1 (en) * 2001-10-22 2003-04-24 Motorola, Inc. Method and apparatus for controlling an intelligent device through an instant messaging protocol over a communication network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000379A1 (en) * 2013-07-04 2015-01-08 珠海格力电器股份有限公司 Method for remotely controlling air conditioner and remote control system for air conditioner
CN104426750A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Method, equipment and system for instant messaging
CN105049340A (en) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 Method and device for accessing intelligent equipment based on instant communication
CN105049306A (en) * 2015-08-26 2015-11-11 北京北信源软件股份有限公司 Smart home control structure based on instant messaging
CN105282233A (en) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 Method, device and system for controlling intelligent equipment

Also Published As

Publication number Publication date
CN107104991A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
US11019130B2 (en) Method and apparatus for remotely controlling home device in home network system
EP3232715B1 (en) Method and apparatus for accessing wireless access point
CN105471686B (en) Terminal control method, device and system
US10701157B2 (en) Method and terminal for controlling internet of things and controlled electronic device
US9930519B2 (en) Method and apparatus for controlling home devices on group basis based upon history of the home devices
KR102102246B1 (en) Method and apparatus for controlling a home device remotely in a home network system
WO2017008399A1 (en) Smart device control method, terminal, and server
US20140121786A1 (en) Smart gateway, smart home system and smart remote control method thereof
KR102025754B1 (en) System and method for connecting device on wifi network
EP3136793B1 (en) Method and apparatus for awakening electronic device
KR20160063343A (en) Device pairing
CN104135443B (en) Router control method and device
KR20100098260A (en) Device and method for controlling remote user interface device
KR20150059081A (en) Method and apparatus for controlling a group of home devices in a home network system
CN110912789B (en) Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
US10051481B2 (en) Electronic apparatus and sensor arrangement method thereof
KR20170075597A (en) Method and appratus for controlling a device
WO2017008394A1 (en) Method of implementing download control procedure and device utilizing same
WO2017097121A1 (en) Method and device for providing service based on scene
WO2016197778A1 (en) Smart device control method and control apparatus, and mobile terminal
CN112994997A (en) Processing method, processing apparatus, and storage medium
KR20150099673A (en) Method for communicating with neighbor apparatus, electronic apparatus and storage medium
WO2018010533A1 (en) Device control system, method and apparatus, and gateway
US20170180148A1 (en) Method, device and system for intelligent household appliance to access multiple servers
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment

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: 16806676

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: 16806676

Country of ref document: EP

Kind code of ref document: A1