WO2016197778A1 - 智能设备的控制方法、控制装置及移动终端 - Google Patents

智能设备的控制方法、控制装置及移动终端 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 device
control
interface
smart
established
Prior art date
Application number
PCT/CN2016/081608
Other languages
English (en)
French (fr)
Inventor
李春雷
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197778A1 publication Critical patent/WO2016197778A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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

Definitions

  • 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.
  • 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.
  • an embodiment of the present invention provides a method for controlling a smart device, including:
  • 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.
  • the sending includes:
  • 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.
  • 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.
  • control device of the smart device further includes:
  • 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.
  • 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.
  • 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.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for controlling a smart device according to the present invention
  • FIG. 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
  • FIG. 3 is a schematic diagram of functional modules of an embodiment of a control device for a smart device according to the present invention.
  • 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.
  • the control method of the smart device of this embodiment includes:
  • 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;
  • 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.
  • 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.
  • 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.
  • the user can communicate with the smart device through the instant messaging platform on the mobile terminal to implement control of the smart device.
  • a scenario in which a mobile terminal communicates with a smart device through an instant messaging platform is an APP on the mobile terminal.
  • the mobile terminal and the smart device need to register the account respectively on the instant messaging platform.
  • 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.
  • 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.
  • the instant messaging platform 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. .
  • 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.
  • 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.
  • the instant messaging platform can establish a control relationship with the smart device that needs to perform the control operation.
  • 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.
  • the searched smart device is also possible to add the searched smart device as a device class friend.
  • 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.
  • the time communication platform uses WeChat as an example, and the smart device takes the smart air conditioner as an example.
  • 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.
  • the smart air conditioner 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.
  • 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
  • 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.
  • a second embodiment of the control method of the smart device of the present invention is provided.
  • the interface between the instant messaging platform and the smart device is adapted.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the smart device 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 civilization 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.
  • the control device of the smart device of this embodiment includes:
  • 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;
  • 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.
  • 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.
  • 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.
  • the user can communicate with the smart device through the instant messaging platform on the mobile terminal to implement control of the smart device.
  • a scenario in which a mobile terminal communicates with a smart device through an 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.
  • 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.
  • the smart device sends a registration request to the instant messaging platform.
  • the adaptation module 100 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.
  • the adaptation module 100 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.
  • 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.
  • 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.
  • the instant messaging platform can establish a control relationship with the smart device that needs to perform the control operation.
  • 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.
  • the searched smart device is also possible to add the searched smart device as a device class friend.
  • 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.
  • the time communication platform uses WeChat as an example, and the smart device takes the smart air conditioner as an example.
  • the smart air conditioner takes the smart air conditioner as an example.
  • 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.
  • WeChat 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the smart device 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 civilization 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the designated network may be a wired or wireless network.
  • 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.
  • 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.
  • the control menu of the smart TV can be set to the corresponding button function mode on the remote controller.
  • 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.
  • 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.
  • the mobile terminal 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.
  • 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.
  • 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 method for controlling the smart device 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种智能设备的控制方法,包括:接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。还公开了一种智能设备的控制装置及移动终端。提高了对智能设备的控制的便捷性。

Description

智能设备的控制方法、控制装置及移动终端 技术领域
本发明实施例涉及物联网技术领域,尤指一种智能设备的控制方法、控制装置及移动终端。
背景技术
在物联网中,用户与智能设备器之间是如何实现理想的控制和交流已成为近年研究和探索的热点之一。对智能设备的控制有近距离无线交互、通过网络的远程操作等需求场景也不断体现出来,并且逐渐成为未来人们日常生活的场景化模式。同时,随着移动互联网快速发展和智能设备的迅速普及,在移动终端上的应用平台已经成为市场的主流,不同平台不同厂家的应用商场(AppStore)不断涌现,移动终端上的应用市场发展非常活跃和快速。目前在众多应用平台中,通过该平台对智能设备的控制不够便捷。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例的目的在于提供一种本发明的主要目的在于提供一种智能设备的控制方法、装置及移动终端,旨在提高对智能设备的控制的便捷性。
为实现上述目的,本发明实施例提供了一种智能设备的控制方法,包括:
接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;
根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。
可选地,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配;所述向已建立控制关系的智能设备发送控制指令包括:
向所述已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令。
可选地,所述根据所述接口适配向已建立控制关系的智能设备发送控制 指令,对所述已建立控制关系的智能设备进行相应的控制之前包括:
将已完成所述接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。
可选地,所述将已完成接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系之后包括:
将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。
本发明实施例还提供了一种智能设备的控制装置,包括:
适配模块,设置为接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;
控制模块,设置为根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。
可选地,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配,所述控制模块具体设置为,根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。
可选地,所述智能设备的控制装置还包括:
建立模块,设置为将已完成接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。
可选地,所述智能设备的控制装置还包括:
分享模块,设置为将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。
此外,本发明实施例还提供了一种移动终端,所述移动终端包括上述结构所述的智能设备的控制装置。
可选地,所述移动终端还包括:
接收模块,设置为接入指定网络,接收所述指定网络广播已注册到所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。
本发明实施例再提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一智能设备的控制方法。
本发明实施例实现了通过即时通信平台对智能设备进行控制,即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。该即时通信平台可为移动终端上的应用,因此,用户可通过移动终端对智能设备进行控制,从而实现了通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性。
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为本发明智能设备的控制方法一实施例的流程示意图;
图2为本发明实施例中移动终端通过即时通信平台与智能设备进行交互的结构示意图;
图3为本发明智能设备的控制装置一实施例的功能模块示意图;
图4为本发明实施例中移动终端通过指定网络与智能设备进行近距离交互的结构示意图。
本发明的较佳实施方式
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
如图1所示,示出了本发明一种智能设备的控制方法第一实施例。该实施例的智能设备的控制方法包括:
步骤10、接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配;
本实施例中,可通过即时通信平台对智能设备进行控制,该即时通信平台可以是移动终端上的应用。移动终端的类型可根据实际需要进行设置,例如,该移动终端可包括手机、iPad、电脑等。即时通信平台是移动终端应用的一个重要部分,即时通信可包括微信、QQ、陌陌、易信等个人产品,还包括很多政企市场的MOA、统一通信等企业产品。需要说明的是,该即时通信平台对移动终端提供即时通信的能力,这种即时通信的能力除了传统的消息、群组、状态等功能外,还涉及对智能设备的控制功能。智能设备可包括智能电灯、智能风扇、智能窗帘、智能摄像头、智能空调、智能电饭锅、智能冰箱、智能手表等等。在已安装即时通信APP并注册到即时通信平台的移动终端上,用户可通过移动终端上的即时通信平台与智能设备进行通信交互,实现对智能设备的控制。
具体地,如图2所示,为移动终端通过即时通信平台与智能设备进行通信的场景。该即时通信平台为移动终端上的APP,上述移动终端通过即时通信平台与智能设备进行交互之前,首先移动终端和智能设备需要分别在即时通信平台上注册账号。具体地,移动终端向即时通信平台发送注册请求,即时通信平台接受移动终端的注册请求并完成认证鉴权后,移动终端完成在该即时通信平台的注册,移动终端与即时通信平台之间的建立会话通道。同样地,智能设备向即时通信平台发送注册请求,在即时通信平台接受智能设备的注册请求并完成认证鉴权后,即时通信平台封装智能设备的操作接口完成对该智能设备的接口适配,以实现通过即时通信平台对智能设备操作层面的封装,即时通信平台与智能设备之间可以通过自定义或标准的接口描述语言进行交互。
即时通信平台在接收智能设备的注册请求后,进行认证鉴权,封装所述智能设备的操作接口完成对所述智能设备的接口适配,以实现通过即时通信平台与智能设备之间进行交互。使得即时通信平台对应移动终端的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质。同时,也降低了对移动终端的要求,只要移动终端可以使用即时通信APP,具有网络接入能力,即可对智能设备进行控制。
步骤20、根据接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。
在上述即时通信平台完成对所述智能设备的接口适配后,即时通信平台可与需要进行控制操作的智能设备建立控制关系,例如,在该即时通信平台上对搜索得到的智能设备信息根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友。
当即时通信平台将已在即时通信平台完成注册的智能设备建立控制关系时,即时通信平台可向智能设备发送控制指令来实现对智能设备的控制,智能设备也可以反馈当前状态、监测参数、控制建议等信息至即时通信平台。例如,时通信平台以微信为例,智能设备以智能空调为例,在用户下班准备回到家中,而需要通过移动终端来控制智能空调开启让室内环境温度达到适宜温度时,用户在移动终端上登录微信后,在微信好友列表或指定分组中找到智能空调,根据预先设置的接口描述语言发送消息至智能空调的对话窗口。假设发送“1”或“开”表示开启空调,发送“0”或“关”表示关闭空调,用户发送“1”至智能空调的对话窗口开启智能空调,智能空调反馈已开启的相关信息至对话框。用户还可以发送“温度升高1度”对智能控制进行温度进行调节,发送“制热运行”对运行模式进行调节。
本发明实施例可通过即时通信平台对智能设备进行控制,即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。该即时通信平台可为移动终端上的应用,因此用户可通过移动终端对智能设备进行控制。 从而实现了通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性,大大提高用户的生活感受和品质。
进一步地,基于上述智能设备的控制方法第一实施例,提出了本发明智能设备的控制方法第二实施例,该实施例中,所述即时通信平台与所述智能设备之间的接口适配包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配,上述步骤20可包括:根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。
本实施例中,即时通信平台在接受智能设备到平台的注册时,加载智能设备的操作接口,完成对智能设备的适配,将智能设备的操作接口转化封装为即时通信APP的通信操作模式数据,以通用模式封装智能设备接口完成接口适配。对于智能设备与即时通信平台的接口适配,可以包括两种方式,一种是基于通用的标准式描述语言的适配,另一种是基于自定义接口描述语言的适配。针对标准式描述语言的适配,由于是智能设备和即时通信平台都支持的标准,所以可以直接协商完成适配。针对自定义接口描述语言的适配,由于是自定义语言,可自定义为枚举数据指标、区间数据指标、离散数据指标等,其具备个性化特点,需要智能设备提供接口操作SDK,适配到即时通信平台。例如,可自定义“1”表示开启,“0”表示关闭等。
在上述即时通信平台控制智能设备的过程中,基于智能设备在即时通信平台上的接口适配,因此可通过即时通信平台向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,智能设备接收到该控制指令后执行相应的操作。
本实施例通过即时通信平台向智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对该智能设备进行相应的控制。使得对智能设备的控制将更生活化、易操作、便于管理和使用,大大方便人们的生活,即时通信平台所在移动终端对应的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质,同时提高了对智能设备的控制的便捷性。
进一步地,基于上述智能设备的控制方法第二实施例,提出了本发明智 能设备的控制方法第三实施例,该实施例中上述步骤20之前还可包括:步骤30、将已完成接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。
本实施例中,即时通信平台推送的已在该该即时通信平台上完成注册及接口适配的智能设备信息至显示界面,显示界面在接收到即时通信平台推送的已在该即时通信平台完成注册的智能设备信息后,在显示界面显示智能设备发现列表,在列表中列出所有智能设备的相关信息,使得显示界面能够将智能设备作为设备类好友展现给用户,以便用户点击列表中的智能设备选择查看列表中智能设备的相关信息。智能设备的相关信息可以是智能设备的功能、名称、唯一标识等。
用户可根据自己的实际需求添加智能设备为被控对象,即即时通信平台与至少一个已在该即时通信平台上完成注册的智能设备建立控制关系。在与所需进行控制的智能设备建立控制关系后,完成对智能设备进行查看并添加为设备类好友。例如,即时通信平台对搜索得到的智能设备根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友,与该智能设备建立控制关系,即时通信平台只需向已建立控制关系的智能设备发送控制指令,即可对该智能设备进行相应的控制。
本实施例即时通信平台通过将已完成接口适配的智能设备信息推送至显示界面显示智能设备发现列表,选择与智能设备建立控制关系。从而实现了与智能设备建立控制关系,方便通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性。
进一步地,基于上述智能设备的控制方法第三实施例,提出了本发明智能设备的控制方法第四实施例,该实施例中上述步骤30之后还可包括:将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。
本实施例中,智能设备在即时通信平台上注册后作为即时通信平台上的附属设备,即时通信平台与智能设备建立控制关系后,将已建立控制关系的 智能设备在即时通信平台上作为设备类好友展现给用户,供用户根据需要选择向智能设备发送控制指令。即时通信平台在智能设备所属成员授权下,可以将该智能设备分享给其他成员,即即时通信平台可以将已建立控制关系的智能设备分享给其他成员,以作为其他成员的设备类好友呈现在好友列表或指定分组中。以下进行举例说明,假设在微信平台上,微信平台所在移动终端对应的用户A已经将智能电灯、智能电视、智能空调添加为设备类好友,用户A还有微信成员B,此时,用户A可以将智能电视分享给微信成员B,然后微信成员B可以将智能电视添加为自己的设备类好友呈现在好友列表或指定分组中。
本实施例即时通信平台可以将已添加为被控对象的智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中,进一步提高了移动终端对智能设备的控制的人性化管理,大大提高用户的生活感受和品质,以及提高了移动终端对智能设备的控制的便捷性。
如图3所示,提出本发明一种智能设备的控制装置第一实施例。该实施例的智能设备的控制装置包括:
适配模块100,用于接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;
本实施例中,可通过即时通信平台对智能设备进行控制,该即时通信平台可移动终端上的应用。移动终端的类型可根据实际需要进行设置,例如,该移动终端可包括手机、iPad、电脑等。即时通信平台是移动终端应用的一个重要部分,即时通信可包括微信、QQ、陌陌、易信等个人产品,还包括很多政企市场的MOA、统一通信等企业产品。需要说明的是,该即时通信平台对移动终端提供即时通信的能力,这种即时通信的能力除了传统的消息、群组、状态等功能外,还涉及对智能设备的控制功能。智能设备可包括智能电灯、智能风扇、智能窗帘、智能摄像头、智能空调、智能电饭锅、智能冰箱、智能手表等等。在已安装即时通信APP并注册到即时通信平台的移动终端上,用户可通过移动终端上的即时通信平台与智能设备进行通信交互,实现对智能设备的控制。
具体地,如图2所示,为移动终端通过即时通信平台与智能设备进行通信的场景。该即时通信平台为移动终端上的APP,上述移动终端通过即时通 信平台与智能设备进行交互之前,首先移动终端和智能设备需要分别在即时通信平台上注册账号。具体地,移动终端向即时通信平台发送注册请求,即时通信平台接受移动终端的注册请求并完成认证鉴权后,移动终端完成在该即时通信平台的注册,移动终端与即时通信平台之间的建立会话通道。同样地,智能设备向即时通信平台发送注册请求,在即时通信平台调用适配模块100接受智能设备的注册请求并完成认证鉴权后,适配模块100封装智能设备的操作接口完成对该智能设备的接口适配,以实现通过即时通信平台对智能设备操作层面的封装,即时通信平台与智能设备之间可以通过自定义或标准的接口描述语言进行交互。
适配模块100在接收智能设备的注册请求后,进行认证鉴权,封装所述智能设备的操作接口完成对所述智能设备的接口适配,以实现通过即时通信平台与智能设备之间进行交互。使得即时通信平台对应移动终端的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质。同时,也降低了对移动终端的要求,只要移动终端可以使用即时通信APP,具有网络接入能力,即可对智能设备进行控制。
控制模块200,用于根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。
在上述即时通信平台完成对所述智能设备的接口适配后,即时通信平台可与需要进行控制操作的智能设备建立控制关系,例如,在该即时通信平台上对搜索得到的智能设备信息根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友。
当即时通信平台将已在即时通信平台完成注册的智能设备建立控制关系时,即时通信平台可由控制模块200向智能设备发送控制指令来实现对智能设备的控制,智能设备也可以反馈当前状态、监测参数、控制建议等信息至即时通信平台。例如,时通信平台以微信为例,智能设备以智能空调为例,在用户下班准备回到家中,而需要通过移动终端来控制智能空调开启让室内环境温度达到适宜温度时,用户在移动终端上登录微信后,在微信好友列表或指定分组中找到智能空调,根据预先设置的接口描述语言发送消息至智能 空调的对话窗口。假设发送“1”或“开”表示开启空调,发送“0”或“关”表示关闭空调,用户发送“1”至智能空调的对话窗口开启智能空调,智能空调反馈已开启的相关信息至对话框。用户还可以发送“温度升高1度”对智能控制进行温度进行调节,发送“制热运行”对运行模式进行调节。
本发明实施例可通过即时通信平台对智能设备进行控制,即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。该即时通信平台可为移动终端上的应用,因此用户可通过移动终端对智能设备进行控制。从而实现了通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性,大大提高用户的生活感受和品质。
进一步地,基于上述智能设备的控制方法第一实施例,提出了本发明智能设备的控制方法第二实施例,该实施例中上述即时通信平台与所述智能设备之间的接口适配包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配,所述控制模块200还用于,根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。
本实施例中,即时通信平台由控制模块200在接受智能设备到平台的注册时,加载智能设备的操作接口,完成对智能设备的适配,将智能设备的操作接口转化封装为即时通信APP的通信操作模式数据,以通用模式封装智能设备接口完成接口适配。对于智能设备与即时通信平台的接口适配,可以包括两种方式,一种是基于通用的标准式描述语言的适配,另一种是基于自定义接口描述语言的适配。针对标准式描述语言的适配,由于是智能设备和即时通信平台都支持的标准,所以可以直接协商完成适配。针对自定义接口描述语言的适配,由于是自定义语言,可自定义为枚举数据指标、区间数据指标、离散数据指标等,其具备个性化特点,需要智能设备提供接口操作SDK,适配到即时通信平台。例如,可自定义“1”表示开启,“0”表示关闭等。
在上述即时通信平台控制智能设备的过程中,基于智能设备在即时通信平台上的接口适配,因此控制模块200可向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,智能设备 接收到该控制指令后执行相应的操作。
本实施例通过即时通信平台向智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对该智能设备进行相应的控制。使得对智能设备的控制将更生活化、易操作、便于管理和使用,大大方便人们的生活,即时通信平台所在移动终端对应的用户像与人类好友一样完成与智能设备的交流和控制,将人们期望已久的物联网人机交互展现到用户的真实生活中,大大提高用户的生活感受和品质,同时提高了对智能设备的控制的便捷性。
进一步地,基于上述智能设备的控制方法第二实施例,提出了本发明智能设备的控制方法第三实施例,该实施例中上述智能设备的控制装置还包括:
建立模块,用于将已完成接口适配的智能设备信息推送至显示界面显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。
本实施例中,即时通信平台推送的已在该该即时通信平台上完成注册及接口适配的智能设备信息至显示界面,显示界面在接收到即时通信平台推送的已在该即时通信平台完成注册的智能设备信息后,在显示界面显示智能设备发现列表,在列表中列出所有智能设备的相关信息,使得显示界面能够将智能设备作为设备类好友展现给用户,以便用户点击列表中的智能设备选择查看列表中智能设备的相关信息。智能设备的相关信息可以是智能设备的功能、名称、唯一标识等。
用户可根据自己的实际需求添加智能设备为被控对象,即建立模块与至少一个已在该即时通信平台上完成注册的智能设备建立控制关系。在与所需进行控制的智能设备建立控制关系后,完成对智能设备进行查看并添加为设备类好友。例如,建立模块对搜索得到的智能设备根据具体情况选择添加为即时通信平台上的好友或归在指定分组中。当然,也可以是对搜索得到的智能设备进行添加为设备类好友,与该智能设备建立控制关系,即时通信平台只需向已建立控制关系的智能设备发送控制指令,即可对该智能设备进行相应的控制。
本实施例即时通信平台通过将已完成接口适配的智能设备信息推送至显示界面显示智能设备发现列表,选择与智能设备建立控制关系。从而实现了 与智能设备建立控制关系,方便通过即时通信平台与智能设备进行交互,提高了对智能设备的控制的便捷性。
进一步地,基于上述智能设备的控制方法第三实施例,提出了本发明智能设备的控制方法第四实施例,该实施例中上述智能设备的控制装置还包括:
分享模块,用于将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。
本实施例中,智能设备在即时通信平台上注册后作为即时通信平台上的附属设备,即时通信平台与智能设备建立控制关系后,分享模块将已建立控制关系的智能设备在即时通信平台上作为设备类好友展现给用户,供用户根据需要选择向智能设备发送控制指令。分享模块在智能设备所属成员授权下,可以将该智能设备分享给其他成员,即分享模块可以将已建立控制关系的智能设备分享给其他成员,以作为其他成员的设备类好友呈现在好友列表或指定分组中。以下进行举例说明,假设在微信平台上,微信平台所在移动终端对应的用户A已经将智能电灯、智能电视、智能空调添加为设备类好友,用户A还有微信成员B,此时,用户A可以将智能电视分享给微信成员B,然后微信成员B可以将智能电视添加为自己的设备类好友呈现在好友列表或指定分组中。
本实施例即时通信平台可以将已添加为被控对象的智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中,进一步提高了移动终端对智能设备的控制的人性化管理,大大提高用户的生活感受和品质,以及提高了移动终端对智能设备的控制的便捷性。
本发明实施例还提出一种移动终端,该移动终端包括上述结构的智能设备的控制装置,该智能设备的控制装置的工作原理及实现方式可参照图3其对应的实施例,包含了其中的所有技术特征,在此不作赘述。该移动终端可为手机、iPad等。本发明移动终端实施例中,由于具有上述在移动终端可通过即时通信平台对智能设备进行控制,移动终端上的即时通信平台接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配。然后根据该接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。从而实现了通过即时通 信平台与智能设备进行交互,提高了对智能设备的控制的便捷性,大大提高用户的生活感受和品质。
进一步地,上述移动终端还包括:接收模块,用于接入指定网络,接收所述指定网络广播已注册到所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。
本实施例中,指定网络可以是有线或无线网络,例如,无线网络可以是WiFi、4G或5G等网络,以下将以指定网络为无线网络进行详细说明。用户可以通过移动终端与智能设备近距离控制,具体地,移动终端在成功接入无线网络后,无线网络将已接入该无线网络的智能设备信息推送至移动终端,智能设备信息可以是智能设备的唯一标识。
当移动终端将已经接入无线网络的智能设备添加为被控对象时,移动终端可通过在显示界面显示控制菜单对智能设备进行控制,可针对不同类型的智能设备显示不同的控制菜单。例如,对于智能电视的控制菜单可设置为遥控器上对应的按键功能模式,当移动终端将智能电视添加为被控对象后,在用户需要通过移动终端来控制智能电视时,用户调取智能电视的控制菜单显示在界面上,通过触发音量按键功能可控制智能电视进行相应的音量调节。
进一步地,移动终端向搜索到的指定网络发送接入请求,在所述移动终端通过所述指定网络认证鉴权后成功接入所述指定网络,接收所述指定网络向所述移动终端推送的已接入所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。具体地,如图4所示,为移动终端与智能设备的近距离通信场景,上述移动终端在接入无线网络的过程中,首先移动终端需要对无线网络进行搜索,发现附近的无线网络,向搜索到的无线网络发送接入请求,在移动终端通过该无线网络认证通过后成功接入无线网络,由无线网络向移动终端广播已接入到该无线网络上的智能设备信息。可以理解的是,无线网络可不全部推送已接入到该无线网络上的智能设备信息,可推送预设个数和/或者在预设范围内的智能设备信息。在移动终端上会推出智能设备发现列表,用户可以点击列表中的智能设备信息,查看智能设备的功能、操作指令等,必要的时候在经过智能设备的安全登录后,即可通过移动终端对智能设备进行控制。
本实施例移动终端在通过无线网络认证通过后成功接入无线网络后,可 接收指定网络广播已注册到指定网络的智能设备信息,供移动终端选择添加智能设备为被控对象进行控制。使得移动终端能够快速可靠地添加智能设备,提高了移动终端对智能设备的控制的便捷性。
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例提出的智能设备的控制方法,包括:接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。本发明还公开了一种智能设备的控制装置及移动终端。本发明提高了对智能设备的控制的便捷性。

Claims (11)

  1. 一种智能设备的控制方法,包括:
    接收智能设备的注册请求,并在认证鉴权后封装智能设备的操作接口完成对智能设备的接口适配;
    根据接口适配向已建立控制关系的智能设备发送控制指令,对已建立控制关系的智能设备进行相应的控制。
  2. 如权利要求1所述的控制方法,其中,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配;
    所述向已建立控制关系的智能设备发送控制指令包括:
    向所述已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令。
  3. 如权利要求2所述的控制方法,所述根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制之前包括:
    将已完成所述接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。
  4. 如权利要求3所述的控制方法,所述将已完成接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系之后包括:
    将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。
  5. 一种智能设备的控制装置,包括:
    适配模块,设置为接收智能设备的注册请求,并在认证鉴权后封装所述智能设备的操作接口完成对所述智能设备的接口适配;
    控制模块,设置为根据所述接口适配向已建立控制关系的智能设备发送控制指令,对所述已建立控制关系的智能设备进行相应的控制。
  6. 如权利要求5所述的控制装置,其中,所述接口适配为即时通信平台与所述智能设备之间的接口适配,包括基于标准式接口描述语言的适配和基于自定义接口描述语言的适配;
    所述控制模块具体设置为,根据所述接口适配,向已建立控制关系的智能设备发送基于标准式接口描述语言或基于自定义接口描述语言的控制指令,对所述已建立控制关系的智能设备进行相应的控制。
  7. 如权利要求6所述的控制装置,还包括:
    建立模块,设置为将已完成所述接口适配的智能设备信息推送至显示界面并显示所述智能设备发现列表,接收针对所述智能设备信息的查看指令,与所述智能设备建立控制关系。
  8. 如权利要求7所述的控制装置,还包括:
    分享模块,设置为将已建立控制关系的所述智能设备在所述即时通信平台上作为设备类好友进行展现,并将已建立控制关系的所述智能设备分享给其他成员,作为其他成员的设备类好友呈现在好友列表或指定分组中。
  9. 一种移动终端,所述移动终端包括如权利要求5至8中任一项所述的智能设备的控制装置。
  10. 如权利要求9所述的移动终端,所述移动终端还包括:
    接收模块,用于接入指定网络,接收所述指定网络广播已注册到所述指定网络的智能设备信息,在所述移动终端的显示界面显示所述智能设备发现列表。
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权1至权4任一项的智能设备的控制方法。
PCT/CN2016/081608 2016-02-19 2016-05-10 智能设备的控制方法、控制装置及移动终端 WO2016197778A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610093764.9 2016-02-19
CN201610093764.9A CN107104991A (zh) 2016-02-19 2016-02-19 智能设备的控制方法、装置及移动终端

Publications (1)

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

Family

ID=57502832

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081608 WO2016197778A1 (zh) 2016-02-19 2016-05-10 智能设备的控制方法、控制装置及移动终端

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478805A (zh) * 2020-04-01 2020-07-31 北京中科网威信息技术有限公司 一种防火墙的硬件面板状态监测方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083021A (zh) * 2018-10-19 2020-04-28 佛山市顺德区美的饮水机制造有限公司 显示终端及显示***
CN112600856A (zh) * 2020-12-28 2021-04-02 青岛海尔科技有限公司 设备授权方法及装置、存储介质、电子装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000379A1 (zh) * 2013-07-04 2015-01-08 珠海格力电器股份有限公司 空调器的远程控制方法和空调器的远程控制***
CN104426750A (zh) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 即时通信方法、设备及***
CN105049340A (zh) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 一种基于即时通讯接入智能设备的方法和装置
CN105049306A (zh) * 2015-08-26 2015-11-11 北京北信源软件股份有限公司 一种基于即时通信的智能家居控制结构
CN105282233A (zh) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 控制智能设备的方法、装置及***

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 (zh) * 2013-07-04 2015-01-08 珠海格力电器股份有限公司 空调器的远程控制方法和空调器的远程控制***
CN104426750A (zh) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 即时通信方法、设备及***
CN105049340A (zh) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 一种基于即时通讯接入智能设备的方法和装置
CN105049306A (zh) * 2015-08-26 2015-11-11 北京北信源软件股份有限公司 一种基于即时通信的智能家居控制结构
CN105282233A (zh) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 控制智能设备的方法、装置及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478805A (zh) * 2020-04-01 2020-07-31 北京中科网威信息技术有限公司 一种防火墙的硬件面板状态监测方法及装置
CN111478805B (zh) * 2020-04-01 2023-02-21 北京中科网威信息技术有限公司 一种防火墙的硬件面板状态监测方法及装置

Also Published As

Publication number Publication date
CN107104991A (zh) 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
CN110912789B (zh) 一种基于阿里云IoT Hub平台的智能家居物联网通信方法
US10701157B2 (en) Method and terminal for controlling internet of things and controlled electronic device
CN104735057B (zh) 分享设备控制权的方法及装置
KR102102246B1 (ko) 홈 네트워크 시스템에서 홈 디바이스를 원격으로 제어하는 방법 및 장치
EP3136793B1 (en) Method and apparatus for awakening electronic device
WO2017008399A1 (zh) 智能设备控制方法、终端及服务器
US20140121786A1 (en) Smart gateway, smart home system and smart remote control method thereof
WO2018010533A1 (zh) 设备控制***、方法、装置及网关
CN112994997B (zh) 处理方法、处理设备及存储介质
KR20160063343A (ko) 디바이스 페어링
KR20100098260A (ko) 원격 사용자 인터페이스 디바이스를 제어하는 장치 및 방법
KR20150059081A (ko) 홈 네트워크 시스템에서 홈 디바이스들의 그룹 제어 방법 및 장치
KR20170075597A (ko) 디바이스를 제어하는 방법 및 장치
WO2017097121A1 (zh) 一种基于场景提供服务的方法及设备
WO2020133495A1 (zh) 一种智能设备管理方法、移动终端及***
WO2016197778A1 (zh) 智能设备的控制方法、控制装置及移动终端
WO2020155870A1 (zh) 设备控制方法和设备
WO2017008394A1 (zh) 一种下载控制程序的方法及装置
KR102206824B1 (ko) 홈 네트워크 시스템에서 홈 디바이스를 원격으로 제어하는 방법 및 장치
US10051481B2 (en) Electronic apparatus and sensor arrangement method thereof
CN107579885A (zh) 信息交互方法、装置及计算机可读存储介质
US20170180148A1 (en) Method, device and system for intelligent household appliance to access multiple servers
CN109712380A (zh) 寻找遥控设备的方法及装置、存储介质、终端设备、遥控设备

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