[go: up one dir, main page]

CN111459039A - A method and device for managing smart home equipment - Google Patents

A method and device for managing smart home equipment Download PDF

Info

Publication number
CN111459039A
CN111459039A CN202010228538.3A CN202010228538A CN111459039A CN 111459039 A CN111459039 A CN 111459039A CN 202010228538 A CN202010228538 A CN 202010228538A CN 111459039 A CN111459039 A CN 111459039A
Authority
CN
China
Prior art keywords
template
access device
access
cloud
app
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010228538.3A
Other languages
Chinese (zh)
Inventor
王艳青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Smart Home Systems Co ltd
Hisense Co Ltd
Original Assignee
Qingdao Hisense Smart Home Systems Co ltd
Hisense Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Smart Home Systems Co ltd, Hisense Co Ltd filed Critical Qingdao Hisense Smart Home Systems Co ltd
Priority to CN202010228538.3A priority Critical patent/CN111459039A/en
Publication of CN111459039A publication Critical patent/CN111459039A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a method and a device for managing intelligent household equipment, the method comprises the steps that a cloud end obtains a configuration request of access equipment issued by a user, the configuration request of the access equipment comprises an equipment type, an equipment model and configuration information of the access equipment, an equipment template corresponding to the equipment type of the access equipment is determined according to the equipment type of the access equipment, the function and the state of the access equipment in the equipment template are configured according to the configuration information of the access equipment and the equipment model of the access equipment, the configured equipment template is synchronized to an APP end and a gateway, so that the APP end generates an equipment control interface of the access equipment according to the configured equipment template, the gateway receives the reported information of the access equipment according to the configured equipment template, and the compatibility support of specific equipment with difference based on a general equipment template can be realized, and improve user experience.

Description

一种智能家居设备管理的方法及装置A method and device for managing smart home equipment

技术领域technical field

本发明实施例涉及智能家居技术领域,尤其涉及一种智能家居设备管理的方法及装置。Embodiments of the present invention relate to the field of smart home technology, and in particular, to a method and device for managing smart home equipment.

背景技术Background technique

当前智慧家居系统,实现对设备的管理,云端创建的设备模板是根据具体设备类型创建的,一旦设备模板创建成功,其支持的设备类型,设备具有的状态属性,设备的功能就已经确定。而具有不同功能的两个同类设备,必须使用两个不同的设备模板,两个不同的设备类型进行区分。APP端也需要根据不同的设备类型建立对应的控制界面,分别进行对应显示。智能家居网关端也需要对具体的设备类别进行区分,根据不同的设备类别上报不同的设备数据;网关端也要根据设备类型,对应进行不同的设备控制相关的处理。这就会导致出现通用设备模板对具有差异性的具体设备不兼容支持的问题,给用户带来不好的体验。The current smart home system implements device management. The device template created by the cloud is created according to the specific device type. Once the device template is successfully created, the device type it supports, the state attribute of the device, and the function of the device have been determined. For two similar devices with different functions, two different device templates and two different device types must be used to distinguish them. The APP side also needs to establish a corresponding control interface according to different device types, and display them accordingly. The smart home gateway also needs to distinguish specific device categories, and report different device data according to different device categories; the gateway also needs to perform different device control-related processing according to the device type. This will lead to a problem that the general device template is not compatible with specific devices with differences, which brings a bad experience to the user.

综上,目前亟需一种智能家居设备管理的方法,用以实现基于通用设备模板对具有差异性的具体设备的兼容性支持。To sum up, there is an urgent need for a smart home device management method to implement compatibility support for specific devices with differences based on a general device template.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种智能家居设备管理的方法及装置,用以实现基于通用设备模板对具有差异性的具体设备的兼容性支持。Embodiments of the present invention provide a method and apparatus for managing smart home devices, which are used to implement compatibility support for specific devices with differences based on a general device template.

第一方面,本发明实施例提供了一种智能家居设备管理的方法,包括:In a first aspect, an embodiment of the present invention provides a method for managing smart home devices, including:

云端获取用户下发的接入设备的配置请求,所述接入设备的配置请求包括接入设备的设备类型、设备型号和配置信息;The cloud obtains the configuration request of the access device issued by the user, where the configuration request of the access device includes the device type, device model and configuration information of the access device;

所述云端根据所述接入设备的设备类型,确定出所述接入设备的设备类型对应的设备模板;The cloud determines, according to the device type of the access device, a device template corresponding to the device type of the access device;

所述云端根据所述接入设备的配置信息和所述接入设备的设备型号,对所述设备模板中所述接入设备的功能和状态进行配置;The cloud configures the function and state of the access device in the device template according to the configuration information of the access device and the device model of the access device;

所述云端将配置完的所述设备模板同步给APP端和网关,以使所述APP端根据所述配置完的所述设备模板生成所述接入设备的设备控制界面,以使所述网关根据所述配置完的所述设备模板接收所述接入设备的上报信息。The cloud synchronizes the configured device template to the APP and the gateway, so that the APP generates the device control interface of the access device according to the configured device template, so that the gateway Receive the report information of the access device according to the configured device template.

上述技术方案中,通过根据接入设备的设备类型,确定出接入设备的设备类型对应的设备模板,再根据接入设备的配置信息和接入设备的设备型号,对设备模板中接入设备的功能和状态进行配置,并将配置完的设备模板同步给APP端和网关,以使APP端根据配置完的设备模板生成接入设备的设备控制界面,以使网关根据配置完的设备模板接收接入设备的上报信息。由于针对相同类型不同型号的接入设备,基于相同的设备模板并根据接入设备的配置信息和接入设备的设备型号,对设备模板中接入设备的功能和状态进行配置,可以实现基于通用设备模板对具有差异性的具体设备的兼容性支持,并提升用户体验。In the above technical solution, the device template corresponding to the device type of the access device is determined according to the device type of the access device, and then the access device in the device template is determined according to the configuration information of the access device and the device model of the access device. Configure the function and status of the device, and synchronize the configured device template to the APP and the gateway, so that the APP can generate the device control interface of the access device according to the configured device template, so that the gateway can receive the device according to the configured device template. Information reported by the access device. For access devices of the same type and different models, the functions and states of the access devices in the device template are configured based on the same device template and according to the configuration information of the access device and the device model of the access device. Device templates support the compatibility of specific devices with differences and improve user experience.

可选地,所述方法还包括:Optionally, the method further includes:

所述云端获取所述用户下发的修改信息;obtaining, by the cloud, modification information issued by the user;

所述云端根据所述修改信息对所述设备模板进行修改,并对所述设备模板中所述接入设备的功能和状态进行修改;The cloud modifies the device template according to the modification information, and modifies the function and state of the access device in the device template;

所述云端将修改后的所述设备模板同步给所述APP端和所述网关,以使所述APP端根据所述修改后的所述设备模板更新所述APP端的设备控制界面,以使所述网关根据所述修改后的所述设备模板接收所述接入设备的上报信息。The cloud synchronizes the modified device template to the APP and the gateway, so that the APP updates the device control interface of the APP according to the modified device template, so that all The gateway receives the report information of the access device according to the modified device template.

上述技术方案中,通过在云端上根据修改信息对设备模板进行修改,并对设备模板中接入设备的功能和状态进行修改,之后将修改后的设备模板同步给APP端和网关,以使APP端根据修改后的设备模板更新APP端的设备控制界面,以使网关根据修改后的设备模板接收接入设备的上报信息,可以有助于根据用户的需求对接入设备的设备模板进行灵活的修改,并根据修改后的设备模板快速地更新APP端的设备控制界面,从而提升用户体验。In the above technical solution, the device template is modified on the cloud according to the modification information, and the function and status of the access device in the device template are modified, and then the modified device template is synchronized to the APP and the gateway, so that the APP The terminal updates the device control interface of the APP terminal according to the modified device template, so that the gateway receives the report information of the access device according to the modified device template, which can help to flexibly modify the device template of the access device according to the user's needs. , and quickly update the device control interface on the APP side according to the modified device template, thereby improving the user experience.

可选地,所述云端获取用户下发的接入设备的配置请求之前,还包括:Optionally, before the cloud obtains the configuration request of the access device sent by the user, the method further includes:

所述云端获取所述用户下发的设备模板的创建请求,所述创建请求包括设备类型、所述设备类型对应的设备的功能和状态;obtaining, by the cloud, a creation request for a device template issued by the user, where the creation request includes a device type, and the function and status of the device corresponding to the device type;

所述云端创建所述设备类型对应的设备模板,并在所述设备类型对应的设备模板中设置所述设备类型对应的设备的功能和状态是否为可选功能或可选状态。The cloud creates a device template corresponding to the device type, and sets in the device template corresponding to the device type whether the function and state of the device corresponding to the device type are optional functions or optional states.

上述技术方案中,在获取用户下发的接入设备的配置请求之前,需要在云端创建设备类型对应的设备模板,并在设备类型对应的设备模板中设置设备类型对应的设备的功能和状态是否为可选功能或可选状态,有助于基于通用模板为新接入设备的功能和状态进行配置,从而实现设备的兼容性管理,并提升用户体验。In the above technical solution, before obtaining the configuration request of the access device issued by the user, it is necessary to create a device template corresponding to the device type in the cloud, and set whether the function and status of the device corresponding to the device type are set in the device template corresponding to the device type. It is an optional function or optional state, which helps to configure the function and state of the newly connected device based on the common template, so as to realize the compatibility management of the device and improve the user experience.

可选地,在所述云端将配置完的所述设备模板同步给APP端和网关之后,还包括:Optionally, after the cloud synchronizes the configured device template to the APP and the gateway, it also includes:

所述云端获取所述APP端下发的控制指令,所述控制指令是所述用户在所述APP端的所述接入设备的设备控制界面下发的;obtaining, by the cloud, a control instruction issued by the APP terminal, where the control instruction is issued by the user on a device control interface of the access device of the APP terminal;

所述云端将所述控制指令发送给所述网关,以使所述网关根据所述控制指令以及所述云端同步的所述接入设备的设备模板对所述接入设备进行控制。The cloud sends the control instruction to the gateway, so that the gateway controls the access device according to the control instruction and the device template of the access device synchronized by the cloud.

上述技术方案中,通过将APP端下发的控制指令发送给网关,以使网关根据控制指令以及云端同步的接入设备的设备模板对接入设备进行控制,可以有助于用户将控制指令快速地发送给网关,以实现对接入设备的顺利控制。In the above technical solution, by sending the control command issued by the APP to the gateway, so that the gateway controls the access device according to the control command and the device template of the access device synchronized by the cloud, which can help the user to quickly transfer the control command. It is sent to the gateway in order to realize the smooth control of the access device.

可选地,在所述云端将配置完的所述设备模板同步给APP端和网关之后,还包括:Optionally, after the cloud synchronizes the configured device template to the APP and the gateway, it also includes:

所述云端接收所述网关上报的所述接入设备的状态信息,所述接入设备的状态信息是所述网关根据所述云端同步的所述接入设备的设备模板上报的;receiving, by the cloud, the state information of the access device reported by the gateway, where the state information of the access device is reported by the gateway according to the device template of the access device synchronized by the cloud;

所述云端将所述接入设备的状态信息发送给所述APP端,以使所述APP端根据所述接入设备的状态信息更新所述接入设备的设备控制界面上的所述接入设备的状态。The cloud sends the state information of the access device to the APP, so that the APP updates the access device on the device control interface of the access device according to the state information of the access device Status of the device.

上述技术方案中,通过接收网关上报的接入设备的状态信息,并将接入设备的状态信息发送给APP端,以使APP端根据接入设备的状态信息更新接入设备的设备控制界面上的接入设备的状态,可以有助于快速地显示APP端的设备控制界面上接入设备的最新状态。In the above technical solution, the state information of the access device reported by the gateway is received, and the state information of the access device is sent to the APP, so that the APP updates the device control interface of the access device according to the state information of the access device. The status of the access device can be helpful to quickly display the latest status of the access device on the device control interface of the APP.

第二方面,本发明实施例还提供了一种智能家居设备管理的装置,包括:In a second aspect, an embodiment of the present invention also provides an apparatus for managing smart home equipment, including:

获取单元,用于获取用户下发的接入设备的配置请求,所述接入设备的配置请求包括接入设备的设备类型、设备型号和配置信息;an obtaining unit, configured to obtain a configuration request of the access device sent by the user, where the configuration request of the access device includes the device type, device model and configuration information of the access device;

处理单元,用于根据所述接入设备的设备类型,确定出所述接入设备的设备类型对应的设备模板;根据所述接入设备的配置信息和所述接入设备的设备型号,对所述设备模板中所述接入设备的功能和状态进行配置;将配置完的所述设备模板同步给APP端和网关,以使所述APP端根据所述配置完的所述设备模板生成所述接入设备的设备控制界面,以使所述网关根据所述配置完的所述设备模板接收所述接入设备的上报信息。a processing unit, configured to determine a device template corresponding to the device type of the access device according to the device type of the access device; according to the configuration information of the access device and the device model of the access device, The function and state of the access device in the device template are configured; the configured device template is synchronized to the APP and the gateway, so that the APP generates all the settings according to the configured device template. The device control interface of the access device, so that the gateway receives the report information of the access device according to the configured device template.

可选地,所述处理单元还用于:Optionally, the processing unit is also used for:

获取所述用户下发的修改信息;Obtain the modification information issued by the user;

根据所述修改信息对所述设备模板进行修改,并对所述设备模板中所述接入设备的功能和状态进行修改;Modify the device template according to the modification information, and modify the function and status of the access device in the device template;

将修改后的所述设备模板同步给所述APP端和所述网关,以使所述APP端根据所述修改后的所述设备模板更新所述APP端的设备控制界面,以使所述网关根据所述修改后的所述设备模板接收所述接入设备的上报信息。Synchronize the modified device template to the APP and the gateway, so that the APP updates the device control interface of the APP according to the modified device template, so that the gateway can update the device control interface according to the modified device template. The modified device template receives the report information of the access device.

可选地,所述处理单元还用于:Optionally, the processing unit is also used for:

在获取所述用户下发的接入设备的配置请求之前,获取用户下发的设备模板的创建请求,所述创建请求包括设备类型、所述设备类型对应的设备的功能和状态;Before obtaining the configuration request of the access device sent by the user, obtain the creation request of the device template sent by the user, where the creation request includes the device type, and the function and status of the device corresponding to the device type;

创建所述设备类型对应的设备模板,并在所述设备类型对应的设备模板中设置所述设备类型对应的设备的功能和状态是否为可选功能或可选状态。Create a device template corresponding to the device type, and set whether the function and state of the device corresponding to the device type are optional functions or optional states in the device template corresponding to the device type.

可选地,所述处理单元还用于:Optionally, the processing unit is also used for:

在将配置完的所述设备模板同步给APP端和网关之后,获取所述APP端下发的控制指令,所述控制指令是所述用户在所述APP端的所述接入设备的设备控制界面下发的;After synchronizing the configured device template to the APP and the gateway, obtain a control command issued by the APP, where the control command is the device control interface of the user's access device on the APP issued;

将所述控制指令发送给所述网关,以使所述网关根据所述控制指令以及所述云端同步的所述接入设备的设备模板对所述接入设备进行控制。Sending the control instruction to the gateway, so that the gateway controls the access device according to the control instruction and the device template of the access device synchronized by the cloud.

可选地,所述处理单元还用于:Optionally, the processing unit is also used for:

在将配置完的所述设备模板同步给APP端和网关之后,接收所述网关上报的所述接入设备的状态信息,所述接入设备的状态信息是所述网关根据所述云端同步的所述接入设备的设备模板上报的;After synchronizing the configured device template to the APP and the gateway, the state information of the access device reported by the gateway is received, and the state information of the access device is synchronized by the gateway according to the cloud. reported by the device template of the access device;

将所述接入设备的状态信息发送给所述APP端,以使所述APP端根据所述接入设备的状态信息更新所述接入设备的设备控制界面上的所述接入设备的状态。Send the state information of the access device to the APP, so that the APP updates the state of the access device on the device control interface of the access device according to the state information of the access device .

第三方面,本发明实施例提供一种计算设备,包括:In a third aspect, an embodiment of the present invention provides a computing device, including:

存储器,用于存储程序指令;memory for storing program instructions;

处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行智能家居设备管理的方法。The processor is used for calling the program instructions stored in the memory, and executing the method for smart home device management according to the obtained program.

第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行智能家居设备管理的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, where the computer-executable instructions are used to cause a computer to execute a method for managing smart home devices.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明实施例提供的一种系统架构的示意图;1 is a schematic diagram of a system architecture according to an embodiment of the present invention;

图2为本发明实施例提供的一种智能家居设备管理的方法的流程示意图;2 is a schematic flowchart of a method for managing smart home devices according to an embodiment of the present invention;

图3为本发明实施例提供的一种接入设备的设备控制界面的展示的流程;FIG. 3 is a process of displaying a device control interface of an access device according to an embodiment of the present invention;

图4为本发明实施例提供的一种智能家居设备管理的装置的结构示意图。FIG. 4 is a schematic structural diagram of an apparatus for managing smart home equipment according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

图1为本发明实施例提供的一种系统架构。如图1所示,该系统架构可以包括终端设备100、网关200、云端300、被控设备A400和被控设备B500。FIG. 1 is a system architecture provided by an embodiment of the present invention. As shown in FIG. 1 , the system architecture may include a terminal device 100 , a gateway 200 , a cloud 300 , a controlled device A400 and a controlled device B500 .

其中,终端设备100用于被控设备控制以及被控设备状态显示,例如手机、平板、中控屏等终端。The terminal device 100 is used for controlling the controlled device and displaying the state of the controlled device, for example, a terminal such as a mobile phone, a tablet, and a central control screen.

网关200用于建立ZigBee网络以使从云端300同步信息,并使被控设备B500接入。The gateway 200 is used to establish a ZigBee network to synchronize information from the cloud 300 and allow the controlled device B500 to access.

云端300用于信息存储。The cloud 300 is used for information storage.

被控设备A400直接由云端300控制。The controlled device A400 is directly controlled by the cloud 300 .

被控设备B500可以和云端300直接通信或通过网关200与云端300通信。The controlled device B500 can communicate with the cloud 300 directly or communicate with the cloud 300 through the gateway 200 .

需要说明的是,上述图1所示的结构仅是一种示例,本发明实施例对此不做限定。It should be noted that the structure shown in FIG. 1 above is only an example, which is not limited in this embodiment of the present invention.

基于上述描述,图2示例性的示出了本发明实施例提供的一种智能家居设备管理的方法的流程,该流程可以由智能家居设备管理的装置执行。Based on the above description, FIG. 2 exemplarily shows a flow of a smart home device management method provided by an embodiment of the present invention, and the flow may be executed by an apparatus for smart home device management.

如图2所示,该流程具体包括:As shown in Figure 2, the process specifically includes:

步骤201,云端获取用户下发的接入设备的配置请求。Step 201: The cloud obtains a configuration request of an access device sent by a user.

在本发明实施例中,接入设备的配置请求可以包括接入设备的设备类型、设备型号和配置信息。在获取用户下发的接入设备的配置请求之前,需要创建接入设备对应设备类型的设备模板,即根据用户下发的设备模板的创建请求创建设备类型对应的设备模板,并在设备类型对应的设备模板中设置设备类型对应的设备的功能和状态是否为可选功能或可选状态。另外,用户在云端上配置设备模板时,每增加一个新类型的设备都需要配置一个设备模板,这个设备模板包括对应类型设备支持的功能以及具有的状态。针对设备的功能和状态可以设置是否支持设置,即是否为可选功能或者可选状态,并针对状态和功能的值的取值范围,可设置是否可配置。当为可选功能或者可选状态时,在进行具体设备型号的维护时,可以进行选择设置;其中,配置信息是指接入设备的具体的功能和状态信息,也就是说,是用户根据接入设备的具体情况所需要配置的具体信息;创建请求可以包括设备类型、设备类型对应的设备的功能和状态;取值范围是否可配置是指是否可以在这个取值范围内为不同型号的设备,配置不同的取值范围,此外,设备模板中配置的取值范围是所有型号设备对应的最大取值范围,不会存在超范围的情况;而取值范围不可配置是指针对该项功能,这类型的所有设备该功能的取值范围都相同。In this embodiment of the present invention, the configuration request of the access device may include the device type, device model, and configuration information of the access device. Before obtaining the configuration request of the access device sent by the user, it is necessary to create a device template corresponding to the device type of the access device. In the device template of , set whether the function and status of the device corresponding to the device type are optional functions or optional statuses. In addition, when a user configures a device template on the cloud, each time a new type of device is added, a device template needs to be configured, and the device template includes the functions supported by the corresponding type of device and the state it has. For the function and status of the device, you can set whether to support the setting, that is, whether it is an optional function or optional status, and for the value range of the status and function, you can set whether it is configurable. When it is an optional function or optional state, you can select settings when maintaining a specific device model; among them, the configuration information refers to the specific function and status information of the access device, that is, the user according to the access device. The specific information that needs to be configured for the specific situation of the incoming device; the creation request can include the device type, the function and status of the device corresponding to the device type; whether the value range is configurable refers to whether it can be used for different types of devices within this value range. , configure different value ranges. In addition, the value range configured in the device template is the maximum value range corresponding to all types of devices, and there is no case of exceeding the range; and the value range cannot be configured refers to this function. The value range of this function is the same for all devices of this type.

步骤202,所述云端根据所述接入设备的设备类型,确定出所述接入设备的设备类型对应的设备模板。Step 202, the cloud determines a device template corresponding to the device type of the access device according to the device type of the access device.

在本发明实施例中,用户在云端上创建设备模板时,云端根据所需接入设备的设备类型,确定出接入设备的设备类型对应的设备模板。具体地,当智能家居系统需要支持某型号的该类型设备时,在云端上需要进行新设备型号的维护,则在进行设备型号的维护时,需要选择该设备对应的设备模板类型。In the embodiment of the present invention, when a user creates a device template on the cloud, the cloud determines a device template corresponding to the device type of the access device according to the device type of the required access device. Specifically, when the smart home system needs to support a certain type of device of this type, and a new device model needs to be maintained on the cloud, the device template type corresponding to the device needs to be selected when maintaining the device model.

步骤203,所述云端根据所述接入设备的配置信息和所述接入设备的设备型号,对所述设备模板中所述接入设备的功能和状态进行配置。Step 203, the cloud configures the function and status of the access device in the device template according to the configuration information of the access device and the device model of the access device.

在本发明实施例中,云端根据接入设备的配置信息和接入设备的设备型号,对设备模板中接入设备的功能和状态进行配置。另外,云端也可以根据用户下发的修改信息对设备模板进行修改,并对设备模板中接入设备的功能和状态进行修改。具体地,当智能家居系统需要支持某型号的该类型设备时,在云端上需要进行新设备型号的维护,则在进行设备型号的维护时,需要选择该设备对应的设备模板类型,并对该型号设备针对设备模板中的状态和功能进行配置,即根据该设备对应的设备模板和该型号设备的具体情况,使用该设备模板配置该型号设备的具体信息。这样,针对具有相同类型不同型号的设备,基于相同的设备模板,可配置出不同的状态和功能集合,即实现基于相同设备模板的差异化设备支持。APP端的设备控制界面是根据设备模板设计的,APP端根据设备型号信息以及根据设备型号配置的差异化模板,实现对设备控制界面的展示。另外,设备端直接或者通过网关上报设备的信息中包含设备型号信息,网关端针对相同设备类型且不同型号的设备(具有差异功能的设备)进行具体处理,即网关端会根据云端同步的具体设备型号的设备模板来处理设备状态数据的上报。In the embodiment of the present invention, the cloud configures the function and state of the access device in the device template according to the configuration information of the access device and the device model of the access device. In addition, the cloud can also modify the device template according to the modification information sent by the user, and modify the function and status of the access device in the device template. Specifically, when the smart home system needs to support a certain type of device of this type, and a new device model needs to be maintained on the cloud, when maintaining the device model, the device template type corresponding to the device needs to be selected, and the device template type corresponding to the device needs to be selected. The model device is configured for the status and function in the device template, that is, according to the device template corresponding to the device and the specific situation of the device of the model, the device template is used to configure the specific information of the device of the model. In this way, for devices of the same type and different models, different states and function sets can be configured based on the same device template, that is, differentiated device support based on the same device template can be realized. The device control interface on the APP side is designed based on the device template. The APP side displays the device control interface based on the device model information and the differentiated templates configured according to the device model. In addition, the information reported by the device directly or through the gateway includes device model information, and the gateway performs specific processing for devices of the same device type but different models (devices with different functions), that is, the gateway will synchronize according to the cloud. The device template of the model is used to process the reporting of device status data.

举例来说,针对开关类设备模板,在云端上创建设备模板时指定设备类型为switch,状态包括开关1路的状态、开关2路的状态,功能包括开关1路的开关控制,开关2路的开关控制。开关1路的状态和开关1路的开关控制是不可选的,开关2路的状态和开关2路的开关控制功能是可选的。这样,当智能家居系统需要接入型号为m1的单路开关时,在云端上维护单路开关m1的信息,选择对应的设备模板为开关类设备模板,配置开关2路的状态和开关2路的控制不选。智能家居网关端,针对开关类设备进行统一处理,当自动识别到接入的具体设备a为一路开关时,仅上报开关1路的状态,当自动识别到接入的具体设备b为两路开关时,上报开关1路和开关2路的状态,当APP端或者云端下发针对具体开关设备a的控制消息时,仅会包含对开关1路的控制,当APP端或者云端下发针对具体开关设备b的控制消息时,可能会包含对开关1路和开关2路的控制,其针对一路开关和两路开关的控制消息格式统一。App端对设备的控制界面进行展示时,根据单路开关m1针对开关类设备模板进行的具体配置,仅会显示1路开关的状态和1路开关的控制功能。其中,针对开关类设备来说,至少包含一路开关,因此开关1路的状态和开关1路的控制是必须的,针对某类型的设备,一定有同类型的设备必须具备的功能和状态,比如空调一定具有模式控制和温度控制的功能。在云端上维护单路开关m1的信息,这里的信息可以包括接入设备的设备类型信息、设备型号信息以及对应的配置完的设备模板。For example, for switch device templates, when creating a device template on the cloud, specify the device type as switch, the status includes the state of switch 1, the state of switch 2, the function includes switch control of switch 1, and the status of switch 2. switch control. The state of switch 1 and the switch control of switch 1 are not optional, and the state of switch 2 and the switch control function of switch 2 are optional. In this way, when the smart home system needs to access the single-circuit switch of model m1, the information of the single-circuit switch m1 is maintained on the cloud, the corresponding device template is selected as the switch device template, and the status of switch 2 and switch 2 are configured. control is not selected. The smart home gateway terminal performs unified processing for switch devices. When it automatically recognizes that the specific device a connected is a one-way switch, it only reports the status of switch 1, and when it automatically recognizes that the specific device b connected is a two-way switch When the status of switch 1 and switch 2 is reported, when the APP or the cloud sends a control message for a specific switch device a, it only includes the control of switch 1. When the APP or the cloud sends a control message for a specific switch The control message of device b may include the control of switch 1 and switch 2, and the format of the control message for one switch and two switches is unified. When the App displays the control interface of the device, according to the specific configuration of the single-channel switch m1 for the switch device template, only the status of the 1-channel switch and the control function of the 1-channel switch will be displayed. Among them, for switch equipment, at least one switch is included, so the state of switch 1 and the control of switch 1 are necessary. For a certain type of equipment, there must be functions and states that the same type of equipment must have, such as The air conditioner must have the function of mode control and temperature control. The information of the one-way switch m1 is maintained on the cloud, and the information here may include the device type information of the access device, the device model information, and the corresponding configured device template.

另外,如果出现了具有三路开关的型号m3的开关时,可以在云端上对设备模板进行编辑修改,设备类型为switch不变,状态增加开关3路的状态,功能增加开关3路的开关控制功能,开关3路的状态和开关3路的控制功能均为可选,然后在智能家居系统中维护型号m3的三路开关的信息,选择对应的设备模板为开关类设备模板,设备型号还是switch,开关2路的状态和开关2路的开关控制功能,开关3路的状态,开关3路的开关控制功能均选择。这样通过更新设备模板,一个设备模板同时支持了3个设备型号,甚至可以支持更多。In addition, if there is a switch of the model m3 with a three-way switch, you can edit and modify the device template on the cloud. The device type is the same as switch, the state increases the state of switch 3, and the function increases the switch control of switch 3. Function, the state of switch 3 and the control function of switch 3 are optional, and then maintain the information of the three-way switch of model m3 in the smart home system, select the corresponding device template as a switch device template, and the device model is switch. , the state of switch 2 and the switch control function of switch 2, the state of switch 3 and the switch control function of switch 3 are all selected. In this way, by updating the device template, one device template supports 3 device models at the same time, or even more.

步骤204,所述云端将配置完的所述设备模板同步给APP端和网关。Step 204, the cloud synchronizes the configured device template to the APP and the gateway.

在本发明实施例中,云端可以将配置完的设备模板同步给APP端和网关,以使APP端根据配置完的设备模板生成接入设备的设备控制界面,以使网关根据配置完的设备模板接收接入设备的上报信息。此外,云端也可以将修改后的设备模板同步给APP端和网关,以使APP端根据修改后的设备模板更新APP端的设备控制界面,以使网关根据所述修改后的所述设备模板接收所述接入设备的上报信息。另外,云端在将配置完的设备模板同步给APP端和网关之后,可以获取用户在APP端的接入设备的设备控制界面下发的控制指令,并将控制指令发送给网关,以使网关根据控制指令以及云端同步的接入设备的设备模板对接入设备进行控制;也可以接收网关根据云端同步的接入设备的设备模板上报的接入设备的状态信息,并将接入设备的状态信息发送给APP端,以使APP端根据接入设备的状态信息更新接入设备的设备控制界面上的接入设备的状态。进一步地,可以通过更新智能家居网关端程序,实现对更新后的,最多包含三路开关的开关类设备的支持,并且继续支持原已接入的单路开关设备和两路开关设备,再通过更新APP端开关设备的设备显示界面,实现对三路开关设备的适配即可。这里所描述的针对开关类设备的设备模板仅是举例对本发明的技术方案进行说明,对于其它类设备也是适用的,例如通过建立空调的设备模板,在维护具有不同功能或者功能上有一些细节差别的不同型号的空调时,通过为具体型号的空调根据空调类别的设备模板进行配置;在空调WiFi模块端(如果空调是通过WiFi模块直接接入云端)实现对空调类别的支持,通过开发针对空调类别的WiFi模块,实现在WiFi模块端对不同型号空调的适配;如果空调是通过网关接入云端的,也可以在网关端开发针对空调类别的功能,实现在网关端对不同型号空调的适配,在APP端针对空调建立空调的设备显示界面,以适配不同型号的空调。其中,设备显示界面也是指在APP端上显示的接入设备的设备控制界面。In the embodiment of the present invention, the cloud can synchronize the configured device template to the APP and the gateway, so that the APP generates a device control interface of the access device according to the configured device template, so that the gateway can generate a device control interface according to the configured device template. Receive the report information of the access device. In addition, the cloud can also synchronize the modified device template to the APP and the gateway, so that the APP can update the device control interface of the APP according to the modified device template, so that the gateway can receive the data according to the modified device template. The information reported by the access device. In addition, after synchronizing the configured device template to the APP and the gateway, the cloud can obtain the control instructions issued by the user on the device control interface of the access device on the APP side, and send the control instructions to the gateway, so that the gateway can control the It can also receive the state information of the access device reported by the gateway according to the device template of the access device synchronized by the cloud, and send the state information of the access device. To the APP end, so that the APP end updates the state of the access device on the device control interface of the access device according to the state information of the access device. Further, by updating the smart home gateway terminal program, it is possible to realize the support for the updated switch equipment that contains at most three-way switches, and continue to support the originally connected one-way switch equipment and two-way switch equipment, and then pass Update the device display interface of the switch device on the APP side to realize the adaptation of the three-way switch device. The equipment templates for switch equipment described here are only examples to illustrate the technical solutions of the present invention, and are also applicable to other types of equipment. For example, by establishing equipment templates for air conditioners, maintenance has different functions or there are some detailed differences in functions. When selecting different models of air conditioners, configure the specific models of air conditioners according to the device template of the air conditioner category; on the air conditioner WiFi module side (if the air conditioner is directly connected to the cloud through the WiFi module), support for the air conditioner category is realized. WiFi modules of different types can be adapted to different types of air conditioners on the WiFi module side; if the air conditioners are connected to the cloud through the gateway, functions for different types of air conditioners can also be developed on the gateway side to realize the adaptation of different types of air conditioners on the gateway side. The device display interface of the air conditioner is established on the APP side for the air conditioner to adapt to different types of air conditioners. The device display interface also refers to the device control interface of the access device displayed on the APP.

为了更好的解释本发明APP端接入设备的设备控制界面的展示过程的实施例,下面通过具体的实施场景描述本发明实施例提供的一种接入设备的设备控制界面的展示的流程。In order to better explain the embodiment of the display process of the device control interface of the APP terminal access device of the present invention, the following describes the process of displaying the device control interface of the access device provided by the embodiment of the present invention through a specific implementation scenario.

如图3所示,该流程包括以下步骤:As shown in Figure 3, the process includes the following steps:

步骤301,用户点击设备图标。Step 301, the user clicks the device icon.

用户在APP端的设备控制界面上点击接入设备对应的设备图标。The user clicks the device icon corresponding to the access device on the device control interface of the APP.

步骤302,查询接入设备的设备类型和接入设备的设备型号。Step 302, query the device type of the access device and the device model of the access device.

在用户点击设备图标时,触发智能家居系统查询接入设备的设备类型和接入设备的设备型号。When the user clicks the device icon, the smart home system is triggered to query the device type of the access device and the device model of the access device.

步骤303,根据接入设备的设备模板以及配置完的该设备型号的接入设备的状态和功能集合显示设备控制界面。Step 303: Display the device control interface according to the device template of the access device and the configured state and function set of the access device of the device model.

智能家居系统根据接入设备的设备模板以及配置完的该设备型号的接入设备的状态和功能集合显示接入设备的设备控制界面。The smart home system displays the device control interface of the access device according to the device template of the access device and the configured state and function set of the access device of the device model.

上述实施例表明,通过在APP端的设备控制界面上点击接入设备对应的设备图标,并在点击设备图标时,触发智能家居系统查询接入设备的设备类型和接入设备的设备型号,之后智能家居系统根据接入设备的设备模板以及配置完的该设备型号的接入设备的状态和功能集合显示接入设备的设备控制界面,可以实现APP端根据设备型号信息以及根据设备型号配置的差异化模板对接入设备的设备控制界面进行快速地展示,并提升用户体验。The above embodiment shows that the device icon corresponding to the access device is clicked on the device control interface of the APP, and when the device icon is clicked, the smart home system is triggered to query the device type of the access device and the device model of the access device. The home system displays the device control interface of the access device according to the device template of the access device and the status and function set of the configured access device of the device model, which can realize the differentiation of the APP based on the device model information and the configuration according to the device model. The template quickly displays the device control interface of the access device and improves the user experience.

基于相同的技术构思,图4示例性的示出了本发明实施例提供的一种智能家居设备管理的装置,该装置可以执行智能家居设备管理的方法的流程。Based on the same technical concept, FIG. 4 exemplarily shows an apparatus for managing smart home equipment provided by an embodiment of the present invention, where the apparatus can execute the flow of the method for managing smart home equipment.

如图4所示,该装置包括:As shown in Figure 4, the device includes:

获取单元401,用于获取用户下发的接入设备的配置请求,所述接入设备的配置请求包括接入设备的设备类型、设备型号和配置信息;an obtaining unit 401, configured to obtain a configuration request of an access device sent by a user, where the configuration request of the access device includes the device type, device model and configuration information of the access device;

处理单元402,用于根据所述接入设备的设备类型,确定出所述接入设备的设备类型对应的设备模板;根据所述接入设备的配置信息和所述接入设备的设备型号,对所述设备模板中所述接入设备的功能和状态进行配置;将配置完的所述设备模板同步给APP端和网关,以使所述APP端根据所述配置完的所述设备模板生成所述接入设备的设备控制界面,以使所述网关根据所述配置完的所述设备模板接收所述接入设备的上报信息。The processing unit 402 is configured to determine a device template corresponding to the device type of the access device according to the device type of the access device; according to the configuration information of the access device and the device model of the access device, Configure the function and state of the access device in the device template; synchronize the configured device template to the APP and the gateway, so that the APP generates according to the configured device template The device control interface of the access device, so that the gateway receives the report information of the access device according to the configured device template.

可选地,所述处理单元402还用于:Optionally, the processing unit 402 is further configured to:

获取所述用户下发的修改信息;Obtain the modification information issued by the user;

根据所述修改信息对所述设备模板进行修改,并对所述设备模板中所述接入设备的功能和状态进行修改;Modify the device template according to the modification information, and modify the function and status of the access device in the device template;

将修改后的所述设备模板同步给所述APP端和所述网关,以使所述APP端根据所述修改后的所述设备模板更新所述APP端的设备控制界面,以使所述网关根据所述修改后的所述设备模板接收所述接入设备的上报信息。Synchronize the modified device template to the APP and the gateway, so that the APP updates the device control interface of the APP according to the modified device template, so that the gateway can update the device control interface according to the modified device template. The modified device template receives the report information of the access device.

可选地,所述处理单元402还用于:Optionally, the processing unit 402 is further configured to:

在获取所述用户下发的接入设备的配置请求之前,获取用户下发的设备模板的创建请求,所述创建请求包括设备类型、所述设备类型对应的设备的功能和状态;Before obtaining the configuration request of the access device sent by the user, obtain the creation request of the device template sent by the user, where the creation request includes the device type, and the function and status of the device corresponding to the device type;

创建所述设备类型对应的设备模板,并在所述设备类型对应的设备模板中设置所述设备类型对应的设备的功能和状态是否为可选功能或可选状态。Create a device template corresponding to the device type, and set whether the function and state of the device corresponding to the device type are optional functions or optional states in the device template corresponding to the device type.

可选地,所述处理单元402还用于:Optionally, the processing unit 402 is further configured to:

在将配置完的所述设备模板同步给APP端和网关之后,获取所述APP端下发的控制指令,所述控制指令是所述用户在所述APP端的所述接入设备的设备控制界面下发的;After synchronizing the configured device template to the APP and the gateway, obtain a control command issued by the APP, where the control command is the device control interface of the user's access device on the APP issued;

将所述控制指令发送给所述网关,以使所述网关根据所述控制指令以及所述云端同步的所述接入设备的设备模板对所述接入设备进行控制。Sending the control instruction to the gateway, so that the gateway controls the access device according to the control instruction and the device template of the access device synchronized by the cloud.

可选地,所述处理单元402还用于:Optionally, the processing unit 402 is further configured to:

在将配置完的所述设备模板同步给APP端和网关之后,接收所述网关上报的所述接入设备的状态信息,所述接入设备的状态信息是所述网关根据所述云端同步的所述接入设备的设备模板上报的;After synchronizing the configured device template to the APP and the gateway, the state information of the access device reported by the gateway is received, and the state information of the access device is synchronized by the gateway according to the cloud. reported by the device template of the access device;

将所述接入设备的状态信息发送给所述APP端,以使所述APP端根据所述接入设备的状态信息更新所述接入设备的设备控制界面上的所述接入设备的状态。Send the state information of the access device to the APP, so that the APP updates the state of the access device on the device control interface of the access device according to the state information of the access device .

基于相同的技术构思,本发明实施例提供一种计算设备,包括:Based on the same technical concept, an embodiment of the present invention provides a computing device, including:

存储器,用于存储程序指令;memory for storing program instructions;

处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行智能家居设备管理的方法。The processor is used for calling the program instructions stored in the memory, and executing the method for smart home device management according to the obtained program.

基于相同的技术构思,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行智能家居设备管理的方法。Based on the same technical concept, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute a method for managing smart home devices .

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present application and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (10)

1.一种智能家居设备管理的方法,其特征在于,包括:1. a method for smart home equipment management, is characterized in that, comprises: 云端获取用户下发的接入设备的配置请求,所述接入设备的配置请求包括接入设备的设备类型、设备型号和配置信息;The cloud obtains the configuration request of the access device issued by the user, where the configuration request of the access device includes the device type, device model and configuration information of the access device; 所述云端根据所述接入设备的设备类型,确定出所述接入设备的设备类型对应的设备模板;The cloud determines, according to the device type of the access device, a device template corresponding to the device type of the access device; 所述云端根据所述接入设备的配置信息和所述接入设备的设备型号,对所述设备模板中所述接入设备的功能和状态进行配置;The cloud configures the function and state of the access device in the device template according to the configuration information of the access device and the device model of the access device; 所述云端将配置完的所述设备模板同步给APP端和网关,以使所述APP端根据所述配置完的所述设备模板生成所述接入设备的设备控制界面,以使所述网关根据所述配置完的所述设备模板接收所述接入设备的上报信息。The cloud synchronizes the configured device template to the APP and the gateway, so that the APP generates the device control interface of the access device according to the configured device template, so that the gateway Receive the report information of the access device according to the configured device template. 2.如权利要求1所述的方法,其特征在于,所述方法还包括:2. The method of claim 1, wherein the method further comprises: 所述云端获取所述用户下发的修改信息;obtaining, by the cloud, modification information issued by the user; 所述云端根据所述修改信息对所述设备模板进行修改,并对所述设备模板中所述接入设备的功能和状态进行修改;The cloud modifies the device template according to the modification information, and modifies the function and state of the access device in the device template; 所述云端将修改后的所述设备模板同步给所述APP端和所述网关,以使所述APP端根据所述修改后的所述设备模板更新所述APP端的设备控制界面,以使所述网关根据所述修改后的所述设备模板接收所述接入设备的上报信息。The cloud synchronizes the modified device template to the APP and the gateway, so that the APP updates the device control interface of the APP according to the modified device template, so that all The gateway receives the report information of the access device according to the modified device template. 3.如权利要求1所述的方法,其特征在于,所述云端获取用户下发的接入设备的配置请求之前,还包括:3. The method according to claim 1, wherein before the cloud acquires the configuration request of the access device issued by the user, the method further comprises: 所述云端获取所述用户下发的设备模板的创建请求,所述创建请求包括设备类型、所述设备类型对应的设备的功能和状态;obtaining, by the cloud, a creation request for a device template issued by the user, where the creation request includes a device type, and the function and status of the device corresponding to the device type; 所述云端创建所述设备类型对应的设备模板,并在所述设备类型对应的设备模板中设置所述设备类型对应的设备的功能和状态是否为可选功能或可选状态。The cloud creates a device template corresponding to the device type, and sets in the device template corresponding to the device type whether the function and state of the device corresponding to the device type are optional functions or optional states. 4.如权利要求1所述的方法,其特征在于,在所述云端将配置完的所述设备模板同步给APP端和网关之后,还包括:4. The method of claim 1, wherein after the cloud synchronizes the configured device template to the APP and the gateway, further comprising: 所述云端获取所述APP端下发的控制指令,所述控制指令是所述用户在所述APP端的所述接入设备的设备控制界面下发的;obtaining, by the cloud, a control instruction issued by the APP terminal, where the control instruction is issued by the user on a device control interface of the access device of the APP terminal; 所述云端将所述控制指令发送给所述网关,以使所述网关根据所述控制指令以及所述云端同步的所述接入设备的设备模板对所述接入设备进行控制。The cloud sends the control instruction to the gateway, so that the gateway controls the access device according to the control instruction and the device template of the access device synchronized by the cloud. 5.如权利要求1至4任一项所述的方法,其特征在于,在所述云端将配置完的所述设备模板同步给APP端和网关之后,还包括:5. The method according to any one of claims 1 to 4, wherein after the cloud synchronizes the configured device template to the APP terminal and the gateway, the method further comprises: 所述云端接收所述网关上报的所述接入设备的状态信息,所述接入设备的状态信息是所述网关根据所述云端同步的所述接入设备的设备模板上报的;receiving, by the cloud, the state information of the access device reported by the gateway, where the state information of the access device is reported by the gateway according to the device template of the access device synchronized by the cloud; 所述云端将所述接入设备的状态信息发送给所述APP端,以使所述APP端根据所述接入设备的状态信息更新所述接入设备的设备控制界面上的所述接入设备的状态。The cloud sends the state information of the access device to the APP, so that the APP updates the access device on the device control interface of the access device according to the state information of the access device Status of the device. 6.一种智能家居设备管理的装置,其特征在于,包括:6. A device for smart home equipment management, comprising: 获取单元,用于获取用户下发的接入设备的配置请求,所述接入设备的配置请求包括接入设备的设备类型、设备型号和配置信息;an obtaining unit, configured to obtain a configuration request of the access device sent by the user, where the configuration request of the access device includes the device type, device model and configuration information of the access device; 处理单元,用于根据所述接入设备的设备类型,确定出所述接入设备的设备类型对应的设备模板;根据所述接入设备的配置信息和所述接入设备的设备型号,对所述设备模板中所述接入设备的功能和状态进行配置;将配置完的所述设备模板同步给APP端和网关,以使所述APP端根据所述配置完的所述设备模板生成所述接入设备的设备控制界面,以使所述网关根据所述配置完的所述设备模板接收所述接入设备的上报信息。a processing unit, configured to determine a device template corresponding to the device type of the access device according to the device type of the access device; according to the configuration information of the access device and the device model of the access device, The function and state of the access device in the device template are configured; the configured device template is synchronized to the APP and the gateway, so that the APP generates all the settings according to the configured device template. The device control interface of the access device, so that the gateway receives the report information of the access device according to the configured device template. 7.如权利要求6所述的装置,其特征在于,所述处理单元还用于:7. The apparatus of claim 6, wherein the processing unit is further configured to: 获取所述用户下发的修改信息;Obtain the modification information issued by the user; 根据所述修改信息对所述设备模板进行修改,并对所述设备模板中所述接入设备的功能和状态进行修改;Modify the device template according to the modification information, and modify the function and status of the access device in the device template; 将修改后的所述设备模板同步给所述APP端和所述网关,以使所述APP端根据所述修改后的所述设备模板更新所述APP端的设备控制界面,以使所述网关根据所述修改后的所述设备模板接收所述接入设备的上报信息。Synchronize the modified device template to the APP and the gateway, so that the APP updates the device control interface of the APP according to the modified device template, so that the gateway can update the device control interface according to the modified device template. The modified device template receives the report information of the access device. 8.如权利要求6所述的装置,其特征在于,所述处理单元还用于:8. The apparatus of claim 6, wherein the processing unit is further configured to: 在获取所述用户下发的接入设备的配置请求之前,获取用户下发的设备模板的创建请求,所述创建请求包括设备类型、所述设备类型对应的设备的功能和状态;Before obtaining the configuration request of the access device sent by the user, obtain the creation request of the device template sent by the user, where the creation request includes the device type, and the function and status of the device corresponding to the device type; 创建所述设备类型对应的设备模板,并在所述设备类型对应的设备模板中设置所述设备类型对应的设备的功能和状态是否为可选功能或可选状态。Create a device template corresponding to the device type, and set whether the function and state of the device corresponding to the device type are optional functions or optional states in the device template corresponding to the device type. 9.一种计算设备,其特征在于,包括:9. A computing device, comprising: 存储器,用于存储程序指令;memory for storing program instructions; 处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行权利要求1至5任一项所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 5 according to the obtained program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行权利要求1至5任一项所述的方法。10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the method described in any one of claims 1 to 5. method.
CN202010228538.3A 2020-03-27 2020-03-27 A method and device for managing smart home equipment Pending CN111459039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010228538.3A CN111459039A (en) 2020-03-27 2020-03-27 A method and device for managing smart home equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010228538.3A CN111459039A (en) 2020-03-27 2020-03-27 A method and device for managing smart home equipment

Publications (1)

Publication Number Publication Date
CN111459039A true CN111459039A (en) 2020-07-28

Family

ID=71683316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010228538.3A Pending CN111459039A (en) 2020-03-27 2020-03-27 A method and device for managing smart home equipment

Country Status (1)

Country Link
CN (1) CN111459039A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732291A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device
CN112817593A (en) * 2021-01-29 2021-05-18 青岛海尔科技有限公司 Control page display method and device, storage medium and electronic device
CN113296770A (en) * 2021-04-28 2021-08-24 厦门科灿信息技术有限公司 Equipment management interface generation method and device and terminal
CN113960929A (en) * 2021-10-19 2022-01-21 华帝股份有限公司 Visual data interactive detection method, system, equipment and medium for intelligent kitchen appliances
CN114448802A (en) * 2022-01-28 2022-05-06 北京百度网讯科技有限公司 Gateway configuration method and device, electronic equipment and storage medium
CN114839887A (en) * 2022-03-23 2022-08-02 青岛海尔科技有限公司 Equipment attribute configuration method and device, storage medium and electronic device
CN114911476A (en) * 2021-12-14 2022-08-16 天翼数字生活科技有限公司 Front-end equipment template instant publishing method independent of client version
CN115277400A (en) * 2022-07-15 2022-11-01 浪潮思科网络科技有限公司 Terminal network access method, equipment and medium based on campus network environment
CN115981170A (en) * 2022-11-28 2023-04-18 深圳海智创科技有限公司 A smart home management method, device, equipment and storage medium
CN116032680A (en) * 2023-03-29 2023-04-28 广东好太太智能家居有限公司 Configuration method and device of intelligent equipment, electronic equipment and storage medium
CN116257234A (en) * 2021-12-09 2023-06-13 青岛海尔科技有限公司 Method and device for generating device control application, storage medium, and electronic device
WO2023202633A1 (en) * 2022-04-22 2023-10-26 华为技术有限公司 Method for controlling iot device, and device, iot system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530317A (en) * 2016-01-12 2016-04-27 广东瑞德智能科技股份有限公司 Smart home control terminal UI automatic generation method
US20160330200A1 (en) * 2006-12-29 2016-11-10 Kip Prod P1 Lp Multi-services application gateway and system employing the same
CN108196846A (en) * 2017-12-28 2018-06-22 美的智慧家居科技有限公司 Home appliance control interface configuration method, terminal and computer readable storage medium
CN108345449A (en) * 2017-12-25 2018-07-31 海尔优家智能科技(北京)有限公司 A kind of information processing method, device, storage medium and computer equipment
CN108462618A (en) * 2017-02-22 2018-08-28 中兴通讯股份有限公司 Cloud Server and smart home device method for managing system
CN109407538A (en) * 2018-12-24 2019-03-01 南京遍宇联动科技有限公司 Intelligent home furnishing control method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160330200A1 (en) * 2006-12-29 2016-11-10 Kip Prod P1 Lp Multi-services application gateway and system employing the same
CN105530317A (en) * 2016-01-12 2016-04-27 广东瑞德智能科技股份有限公司 Smart home control terminal UI automatic generation method
CN108462618A (en) * 2017-02-22 2018-08-28 中兴通讯股份有限公司 Cloud Server and smart home device method for managing system
CN108345449A (en) * 2017-12-25 2018-07-31 海尔优家智能科技(北京)有限公司 A kind of information processing method, device, storage medium and computer equipment
CN108196846A (en) * 2017-12-28 2018-06-22 美的智慧家居科技有限公司 Home appliance control interface configuration method, terminal and computer readable storage medium
CN109407538A (en) * 2018-12-24 2019-03-01 南京遍宇联动科技有限公司 Intelligent home furnishing control method and system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732291A (en) * 2020-12-29 2021-04-30 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device
CN112732291B (en) * 2020-12-29 2024-03-22 青岛海尔科技有限公司 Product function development method and device, storage medium and electronic device
CN112817593A (en) * 2021-01-29 2021-05-18 青岛海尔科技有限公司 Control page display method and device, storage medium and electronic device
CN113296770A (en) * 2021-04-28 2021-08-24 厦门科灿信息技术有限公司 Equipment management interface generation method and device and terminal
CN113960929A (en) * 2021-10-19 2022-01-21 华帝股份有限公司 Visual data interactive detection method, system, equipment and medium for intelligent kitchen appliances
CN116257234A (en) * 2021-12-09 2023-06-13 青岛海尔科技有限公司 Method and device for generating device control application, storage medium, and electronic device
CN114911476A (en) * 2021-12-14 2022-08-16 天翼数字生活科技有限公司 Front-end equipment template instant publishing method independent of client version
CN114448802A (en) * 2022-01-28 2022-05-06 北京百度网讯科技有限公司 Gateway configuration method and device, electronic equipment and storage medium
CN114448802B (en) * 2022-01-28 2024-05-14 北京百度网讯科技有限公司 Gateway configuration method, device, electronic equipment and storage medium
CN114839887A (en) * 2022-03-23 2022-08-02 青岛海尔科技有限公司 Equipment attribute configuration method and device, storage medium and electronic device
CN114839887B (en) * 2022-03-23 2024-10-22 青岛海尔科技有限公司 Device attribute configuration method, device, storage medium and electronic device
WO2023202633A1 (en) * 2022-04-22 2023-10-26 华为技术有限公司 Method for controlling iot device, and device, iot system and storage medium
CN115277400A (en) * 2022-07-15 2022-11-01 浪潮思科网络科技有限公司 Terminal network access method, equipment and medium based on campus network environment
CN115981170A (en) * 2022-11-28 2023-04-18 深圳海智创科技有限公司 A smart home management method, device, equipment and storage medium
CN116032680A (en) * 2023-03-29 2023-04-28 广东好太太智能家居有限公司 Configuration method and device of intelligent equipment, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111459039A (en) A method and device for managing smart home equipment
JP6421220B2 (en) Field device control management method and apparatus based on Industrial Internet Operating System
CN110233874B (en) Information transmission method and device for Internet of things equipment
CN108989164A (en) Intelligent home furnishing control method, intelligent home control system and mobile terminal
CN105207863A (en) Method for controlling heterogeneous intelligent home electric appliances, cloud platform and home gateway
CN112202654B (en) Control instruction processing method, device, equipment and storage medium
WO2022116920A1 (en) Topology management method and device thereof, network element management node and storage medium
CN106940553A (en) Industrial flow control management method and device based on industry internet operating system
CN105137858A (en) Integrated household appliance control method and device
CN115296948A (en) Scene information updating method and device, storage medium and electronic device
CN111367542A (en) Home appliance and home appliance firmware upgrade method
CN105005199A (en) Method and apparatus for controlling equipment through gateway
CN109905431A (en) Message treatment method and system, storage medium, electronic equipment
CN114374602A (en) Main control device configuration method, device, cloud server and storage medium
CN111343059A (en) A method and device for multi-function setting of ZigBee terminal equipment
CN104717135B (en) A kind of realization method and device of smart home home gateway
CN105991423A (en) Gateway and method for calling device through gateway
WO2020034522A1 (en) Method and apparatus for connecting to network, smart device, and user terminal
CN104703301A (en) Multi-service access system and multi-service access control method
CN110794773A (en) Click-type scene creating method and device
WO2017198004A1 (en) Method and apparatus for processing sdn source, and storage medium
CN112764350A (en) Control method and device of intelligent household equipment and storage medium
CN115766436A (en) Equipment state updating method and device, storage medium and electronic device
CN113436631A (en) Voice information processing method and system and device for voice information processing
CN105207811B (en) A method and device for replacing non-AllJoyn equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200728