[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112073471B - Equipment control method and device, storage medium and electronic device - Google Patents

Equipment control method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112073471B
CN112073471B CN202010827433.XA CN202010827433A CN112073471B CN 112073471 B CN112073471 B CN 112073471B CN 202010827433 A CN202010827433 A CN 202010827433A CN 112073471 B CN112073471 B CN 112073471B
Authority
CN
China
Prior art keywords
target
scene
control command
information
custom information
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.)
Active
Application number
CN202010827433.XA
Other languages
Chinese (zh)
Other versions
CN112073471A (en
Inventor
李振刚
马传荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202010827433.XA priority Critical patent/CN112073471B/en
Publication of CN112073471A publication Critical patent/CN112073471A/en
Application granted granted Critical
Publication of CN112073471B publication Critical patent/CN112073471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/10Protocols in which an application is distributed across nodes in the network
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a control method and a device of equipment, a storage medium and an electronic device, wherein the method comprises the following steps: in response to a scene creation request received from a terminal, creating a corresponding relationship between target custom information in a target scene and a control command, wherein the target custom information is used for representing a first operation executed by a first device in the target scene, and the control command is used for controlling a second device in the target scene; acquiring operation information sent by first equipment, wherein the operation information is used for representing the current operation executed by the first equipment; under the condition that the operation represented by the operation information is a first operation, acquiring a control command with a corresponding relation with the target self-defining information from the created corresponding relation; and controlling the second equipment according to the control command. The invention solves the technical problem of lower efficiency of creating the scene automation scene in the related technology, and improves the efficiency and flexibility of creating the scene.

Description

设备的控制方法和装置、存储介质及电子装置Equipment control method and device, storage medium and electronic device

技术领域technical field

本发明涉及通信领域,具体而言,涉及一种设备的控制方法语和装置、存储介质及电子装置。The present invention relates to the communication field, in particular, to a device control method and device, a storage medium and an electronic device.

背景技术Background technique

相关技术中,用户可以通过智能设备云平台的IFTTT(if this then that)规则引擎创建智能设备的自动化场景,以在自动化场景中实现设备的联动。在创建自动化场景时,用户仅能够获取到各个设备自身支持的操作,并依据设备支持的操作创建自动化场景。由于用户无法对设备中执行的操作进行自定义设置,即无法使用自定义信息来表示设备中执行的操作,而仅能根据设备的一些固定信息创建自动化场景,从而导致自动化场景的创建过程的灵活性较低,并且创建自动化场景的效率较低。In related technologies, users can create automation scenarios of smart devices through the IFTTT (if this then that) rule engine of the smart device cloud platform, so as to realize linkage of devices in the automation scenario. When creating an automation scene, the user can only obtain the operations supported by each device itself, and create an automation scene based on the operations supported by the device. Since users cannot customize the operations performed in the device, that is, they cannot use custom information to represent the operations performed in the device, but can only create automation scenarios based on some fixed information of the device, resulting in low flexibility and low efficiency in creating automation scenarios.

针对相关技术中,创景自动化场景的效率较低的技术问题,尚未提出有效的技术方案。Aiming at the technical problem of the low efficiency of Chuangjing automation scene in related technologies, no effective technical solution has been proposed yet.

发明内容Contents of the invention

本发明实施例提供了一种设备的控制方法和装置、存储介质及电子装置,以至少解决相关技术创景自动化场景的效率较低的技术问题。Embodiments of the present invention provide a device control method and device, a storage medium, and an electronic device, so as to at least solve the technical problem of low efficiency in the scene automation scene in the related art.

根据本发明的一个实施例,提供了一种设备的控制方法,包括:响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;根据所述控制命令对所述第二设备进行控制。According to an embodiment of the present invention, a method for controlling a device is provided, including: in response to a scene creation request received from a terminal, creating a correspondence between target customization information in a target scene and a control command, wherein the target customization information is used to represent a first operation performed by a first device in the target scene, and the control command is used to control a second device in the target scene; acquiring operation information sent by the first device, wherein the operation information is used to represent an operation currently performed by the first device; The control command corresponding to the target customization information is obtained from the corresponding relationship; and the second device is controlled according to the control command.

可选地,在所述响应于从终端接收的场景创建请求之前,所述方法还包括:接收所述终端发送的自定义请求,其中,所述自定义请求包括与所述第一设备支持的目标操作对应的第一自定义信息;获取所述第一设备发送的第一预设操作集合,其中,所述第一预设操作集合包括所述第一设备支持的预设操作,并且所述预设操作的操作标识支持自定义设置,其中,所述操作标识用于表示所述预设操作;在所述第一预设操作集合包括所述目标操作的情况下,将所述目标操作的操作标识以及所述第一自定义信息对应存储。Optionally, before responding to the scene creation request received from the terminal, the method further includes: receiving a customization request sent by the terminal, wherein the customization request includes first customization information corresponding to a target operation supported by the first device; obtaining a first preset operation set sent by the first device, wherein the first preset operation set includes preset operations supported by the first device, and the operation identifier of the preset operation supports custom settings, wherein the operation identifier is used to represent the preset operation; when the first preset operation set includes the target operation, the operation identifier of the target operation and the The first custom information is correspondingly stored.

可选地,在所述响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系之前,所述方法还包括:接收所述终端发送的获取请求,其中,所述获取请求用于请求与所述第一设备对应的自定义信息集合,其中,所述自定义信息集合是由与所述第一预设操作集合中的预设操作对应的各个所述第一自定义信息组成的集合;响应于所述获取请求,将所述自定义信息集合发送给所述终端;接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述目标自定义信息为从所述自定义信息集合中选择出的自定义信息。Optionally, before creating the corresponding relationship between the target custom information and the control command in the target scene in response to the scene creation request received from the terminal, the method further includes: receiving an acquisition request sent by the terminal, wherein the acquisition request is used to request a custom information set corresponding to the first device, wherein the custom information set is a set composed of each of the first custom information corresponding to preset operations in the first preset operation set; in response to the acquisition request, sending the custom information set to the terminal; receiving the scene creation request sent by the terminal, wherein the scene creation The request includes the scene identifier of the target scene, the target custom information and the control command, and the target custom information is custom information selected from the custom information set.

可选地,在所述响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系之前,所述方法还包括:接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述控制命令中包括与所述第二设备支持的第二操作对应的第二自定义信息,并且所述第二操作的操作标识支持自定义设置;其中,在所述创建在目标场景下的目标自定义信息与控制命令的对应关系的同时或之后,所述方法还包括:将所述第二自定义信息以及所述第二操作的操作标识对应存储。Optionally, before creating the corresponding relationship between target customization information and control commands in the target scene in response to the scene creation request received from the terminal, the method further includes: receiving the scene creation request sent by the terminal, wherein the scene creation request includes the scene identification of the target scene, the target customization information and the control command, the control command includes second customization information corresponding to the second operation supported by the second device, and the operation identifier of the second operation supports customization settings; At the same time or later, the method further includes: correspondingly storing the second custom information and the operation identifier of the second operation.

可选地,所述根据所述控制命令对所述第二设备进行控制,包括:查找与所述控制命令中的所述第二自定义信息对应的所述第二操作的操作标识;将所述控制命令中的所述第二自定义信息替换为所述第二操作的操作标识,得到替换后的控制命令;向所述第二设备发送所述替换后的控制命令,其中,所述控制命令用于指示所述第二设备执行所述第二操作。Optionally, controlling the second device according to the control command includes: searching for an operation identifier of the second operation corresponding to the second custom information in the control command; replacing the second custom information in the control command with the operation identifier of the second operation to obtain a replaced control command; sending the replaced control command to the second device, where the control command is used to instruct the second device to perform the second operation.

可选地,在所述根据所述控制命令对所述第二设备进行控制之后,所述方法还包括:接收所述第二设备发送的执行结果,其中,所述执行结果中包括所述第二设备执行的所述第二操作;确定与所述第二操作对应的所述第二自定义信息;根据所述第二自定义信息生成与所述目标场景对应的场景执行日志,并将所述场景执行日志发送给所述终端。Optionally, after the second device is controlled according to the control command, the method further includes: receiving an execution result sent by the second device, wherein the execution result includes the second operation performed by the second device; determining the second custom information corresponding to the second operation; generating a scene execution log corresponding to the target scene according to the second custom information, and sending the scene execution log to the terminal.

根据本发明的另一个实施例,提供了一种设备的控制装置,包括:创建模块,用于响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;接收模块,用于接收所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;获取模块,用于在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;控制模块,用于根据所述控制命令对所述第二设备进行控制。According to another embodiment of the present invention, a device control device is provided, including: a creation module, configured to create a correspondence between target customization information and control commands in a target scenario in response to a scenario creation request received from a terminal, wherein the target customization information is used to represent a first operation performed by a first device in the target scenario, and the control command is used to control a second device in the target scenario; a receiving module is configured to receive operation information sent by the first device, wherein the operation information is used to represent an operation currently performed by the first device; If the operation is the first operation, the control command corresponding to the target customization information is obtained from the created correspondence; a control module is configured to control the second device according to the control command.

可选地,所述接收模块,还用于接收所述终端发送的自定义请求,其中,所述自定义请求包括与所述第一设备支持的目标操作对应的第一自定义信息;所述获取模块,还用于获取所述第一设备发送的第一预设操作集合,其中,所述第一预设操作集合包括所述第一设备支持的预设操作,并且所述预设操作的操作标识支持自定义设置,其中,所述操作标识用于表示所述预设操作;所述装置还包括存储模块,用于在所述第一预设操作集合包括所述目标操作的情况下,将所述目标操作的操作标识以及所述第一自定义信息对应存储。Optionally, the receiving module is further configured to receive a customization request sent by the terminal, wherein the customization request includes first customization information corresponding to a target operation supported by the first device; the obtaining module is further configured to acquire a first preset operation set sent by the first device, wherein the first preset operation set includes preset operations supported by the first device, and the operation identifier of the preset operation supports custom settings, wherein the operation identifier is used to represent the preset operation; And the first custom information is correspondingly stored.

可选地,所述接收模块,还用于接收所述终端发送的获取请求,其中,所述获取请求用于请求与所述第一设备对应的自定义信息集合,其中,所述自定义信息集合是由与所述第一预设操作集合中的预设操作对应的各个所述第一自定义信息组成的集合;所述装置还包括发送模块,用于响应于所述获取请求,将所述自定义信息集合发送给所述终端;所述接收模块,还用于接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述目标自定义信息为从所述自定义信息集合中选择出的自定义信息。Optionally, the receiving module is further configured to receive an acquisition request sent by the terminal, wherein the acquisition request is used to request a custom information set corresponding to the first device, wherein the custom information set is a set composed of each of the first custom information corresponding to preset operations in the first preset operation set; the device further includes a sending module, configured to send the custom information set to the terminal in response to the acquisition request; As well as the control command, the target customized information is customized information selected from the customized information set.

可选地,所述接收模块,还用于接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述控制命令中包括与所述第二设备支持的第二操作对应的第二自定义信息,并且所述第二操作的操作标识支持自定义设置;其中,所述装置还包括存储模块,用于将所述第二自定义信息以及所述第二操作的操作标识对应存储。Optionally, the receiving module is further configured to receive the scene creation request sent by the terminal, wherein the scene creation request includes the scene identifier of the target scene, the target customization information and the control command, the control command includes second customization information corresponding to the second operation supported by the second device, and the operation identifier of the second operation supports customization settings; wherein the device further includes a storage module for correspondingly storing the second customization information and the operation identifier of the second operation.

可选地,所述控制模块,还用于:查找与所述控制命令中的所述第二自定义信息对应的所述第二操作的操作标识;将所述控制命令中的所述第二自定义信息替换为所述第二操作的操作标识,得到替换后的控制命令;向所述第二设备发送所述替换后的控制命令,其中,所述控制命令用于指示所述第二设备执行所述第二操作。Optionally, the control module is further configured to: search for an operation identifier of the second operation corresponding to the second custom information in the control command; replace the second custom information in the control command with the operation identifier of the second operation to obtain a replaced control command; send the replaced control command to the second device, where the control command is used to instruct the second device to perform the second operation.

可选地,所述接收模块,还用于:接收所述第二设备发送的执行结果,其中,所述执行结果中包括所述第二设备执行的所述第二操作;确定与所述第二操作对应的所述第二自定义信息;其中,所述发送模块,还用于根据所述第二自定义信息生成与所述目标场景对应的场景执行日志,并将所述场景执行日志发送给所述终端。Optionally, the receiving module is further configured to: receive an execution result sent by the second device, wherein the execution result includes the second operation executed by the second device; determine the second custom information corresponding to the second operation; wherein the sending module is further configured to generate a scenario execution log corresponding to the target scenario according to the second custom information, and send the scenario execution log to the terminal.

可选地,根据本发明的另一个实施例,提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述方法。Optionally, according to another embodiment of the present invention, a storage medium is provided, and a computer program is stored in the storage medium, wherein the computer program is configured to execute the above method when running.

可选地,根据本发明的另一个实施例,提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述方法。Optionally, according to another embodiment of the present invention, an electronic device is provided, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the above method.

通过本发明,响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;根据所述控制命令对所述第二设备进行控制。因此,可以解决相关技术中创景自动化场景的效率较低的技术问题,提高了创建场景的效率和灵活性。According to the present invention, in response to a scene creation request received from a terminal, a corresponding relationship between target custom information and control commands in a target scene is created, wherein the target custom information is used to represent a first operation performed by a first device in the target scene, and the control command is used to control a second device in the target scene; the operation information sent by the first device is obtained, wherein the operation information is used to represent the operation currently performed by the first device; The control command: controlling the second device according to the control command. Therefore, it is possible to solve the technical problem of low efficiency of creating scene automation scenes in related technologies, and improve the efficiency and flexibility of creating scenes.

附图说明Description of drawings

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

图1为根据本发明实施例的设备的控制方法的流程图;Fig. 1 is the flowchart of the control method of the equipment according to the embodiment of the present invention;

图2为根据本发明实施例的设备的控制方法的应用场景示意图;FIG. 2 is a schematic diagram of an application scenario of a device control method according to an embodiment of the present invention;

图3为根据本发明实施例的目标场景信息的显示示意图;FIG. 3 is a schematic diagram of displaying target scene information according to an embodiment of the present invention;

图4为根据本发明另一实施例的设备的控制方法的示意图;Fig. 4 is a schematic diagram of a control method of a device according to another embodiment of the present invention;

图5为根据本发明另一实施例的设备的控制方法的时序图;FIG. 5 is a sequence diagram of a method for controlling a device according to another embodiment of the present invention;

图6是根据本发明实施例的设备的控制装置的结构框图;Fig. 6 is a structural block diagram of a device control device according to an embodiment of the present invention;

图7为根据本发明又一实施例的设备的控制装置的结构框图(一);FIG. 7 is a structural block diagram (1) of a control device for equipment according to yet another embodiment of the present invention;

图8为根据本发明又一实施例的设备的控制装置的结构框图(二);Fig. 8 is a structural block diagram (2) of a control device of equipment according to yet another embodiment of the present invention;

图9为根据本发明又一实施例的设备的控制装置的结构框图(三);Fig. 9 is a structural block diagram (3) of a control device of equipment according to yet another embodiment of the present invention;

图10是根据本发明实施例的一种可选的电子装置的结构示意图。Fig. 10 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

本发明实施例提供了一种设备的控制方法,图1为根据本发明实施例的设备的控制方法的流程图,如图1所示,包括:An embodiment of the present invention provides a device control method. FIG. 1 is a flowchart of a device control method according to an embodiment of the present invention. As shown in FIG. 1 , it includes:

步骤S102,响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;Step S102, in response to the scene creation request received from the terminal, create a correspondence between target custom information and control commands in the target scene, wherein the target custom information is used to represent a first operation performed by the first device in the target scene, and the control command is used to control a second device in the target scene;

步骤S104,获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;Step S104, acquiring operation information sent by the first device, wherein the operation information is used to indicate the operation currently performed by the first device;

步骤S106,在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;Step S106, if the operation represented by the operation information is the first operation, obtain the control command corresponding to the target customization information from the created correspondence;

步骤S108,根据所述控制命令对所述第二设备进行控制。Step S108, controlling the second device according to the control command.

通过本发明,响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;根据所述控制命令对所述第二设备进行控制。因此,可以解决相关技术中创景自动化场景的效率较低的技术问题,提高了创建场景的效率和灵活性。According to the present invention, in response to a scene creation request received from a terminal, a corresponding relationship between target custom information and control commands in a target scene is created, wherein the target custom information is used to represent a first operation performed by a first device in the target scene, and the control command is used to control a second device in the target scene; the operation information sent by the first device is obtained, wherein the operation information is used to represent the operation currently performed by the first device; The control command: controlling the second device according to the control command. Therefore, it is possible to solve the technical problem of low efficiency of creating scene automation scenes in related technologies, and improve the efficiency and flexibility of creating scenes.

在上述实施例中,第一操作可以是与第一设备提供的功能或第一设备的工作状态(例如属性)对应的操作,例如第一操作用于触发第一设备中的第一功能,即第一设备通过执行第一操作从而开启该第一功能;或者,第一操作用于触发第一设备的第一工作状态,即第一设备通过执行第一操作从而使工作状态切换为该第一工作状态。In the foregoing embodiment, the first operation may be an operation corresponding to a function provided by the first device or a working state (such as an attribute) of the first device. For example, the first operation is used to trigger the first function in the first device, that is, the first device performs the first operation to enable the first function; or, the first operation is used to trigger the first working state of the first device, that is, the first device switches the working state to the first working state by performing the first operation.

可选地,第一设备对应的设备模型中包括与各个功能/属性一一对应的字段,其中,支持自定义设置的字段表示该字段对应的功能/属性名称能够被用户自定义设置,即与该功能/属性对应的操作的操作标识能够被用户自定义设置。Optionally, the device model corresponding to the first device includes fields corresponding to each function/attribute one by one, wherein the field that supports custom settings indicates that the function/attribute name corresponding to the field can be customized by the user, that is, the operation identifier of the operation corresponding to the function/attribute can be customized by the user.

基于上述实施例,目标自定义信息用于表示第一设备执行的第一操作,例如,目标自定义信息可以是目标对象(例如用户)对第一操作设置的自定义的操作标识,即不再使用第一设备对应的固定的操作标识表示第一操作,而是使用目标自定义信息表示第一操作,并根据该目标自定义信息创建目标场景,即创建在目标场景下的目标自定义信息与控制命令的对应关系,从而实现了将目标自定义信息作为目标场景的触发条件,即通过目标自定义信息触发执行目标场景,提高了创建场景的灵活性和效率。Based on the above embodiment, the target custom information is used to represent the first operation performed by the first device. For example, the target custom information may be a custom operation identifier set by the target object (such as a user) for the first operation, that is, instead of using the fixed operation identifier corresponding to the first device to represent the first operation, the target custom information is used to represent the first operation, and the target scene is created according to the target custom information, that is, the corresponding relationship between the target custom information and the control command is created in the target scene. efficiency.

上述实施例中的设备的控制方法可以应用在图2所示的场景中。图2为根据本发明另一实施例的设备的控制方法的应用场景示意图,如图2所示,在目标区域(例如一个房子)中存在第一设备以及第二设备,第二设备可以有多个,通过创建目标场景并执行目标场景,从而可以实现第一设备以及第二设备的联动,即通过第一设备触发目标场景的执行,根据该目标场景下的控制命令控制第二设备执行相应的操作。The device control method in the foregoing embodiments may be applied in the scenario shown in FIG. 2 . 2 is a schematic diagram of an application scenario of a device control method according to another embodiment of the present invention. As shown in FIG. 2 , there are a first device and a second device in a target area (such as a house), and there may be multiple second devices. By creating and executing a target scene, the linkage between the first device and the second device can be realized, that is, the execution of the target scene is triggered by the first device, and the second device is controlled to perform corresponding operations according to the control commands in the target scene.

在一个可选的实施方式中,第一设备可以是智能门锁,第一设备执行的第一操作可以是“接收到指纹001”,该第一操作的操作标识是固定的,即固定的操作标识:“接收到指纹001”,相关技术中用户仅能够获取到第一操作的固定的操作标识,而无法对第一操作的操作标识进行自定义设置。基于上述实施例,目标自定义信息可以是“小苹果开锁了”,即使用目标自定义信息来替代第一操作的固定的操作标识,该目标自定义信息用于表示第一设备中执行的“接收到指纹001”操作。因此,在上述实施例中,根据目标自定义信息创建目标场景,从而使得场景的创建更加具有个性化,能够满足创建场景的个性化需求,并且提高了创建场景的灵活性和效率。In an optional embodiment, the first device may be a smart door lock, and the first operation performed by the first device may be "received fingerprint 001", and the operation identifier of the first operation is fixed, that is, the fixed operation identifier: "received fingerprint 001". In the related art, the user can only obtain the fixed operation identifier of the first operation, but cannot customize the operation identifier of the first operation. Based on the above-mentioned embodiment, the target custom information may be "Little Apple is unlocked", that is, the target custom information is used to replace the fixed operation identifier of the first operation, and the target custom information is used to represent the "receive fingerprint 001" operation performed in the first device. Therefore, in the above embodiment, the target scene is created according to the target customization information, thereby making the creation of the scene more personalized, meeting the individual requirements of creating the scene, and improving the flexibility and efficiency of creating the scene.

其中,在上述实施例中,在所述响应于从终端接收的场景创建请求之前,上述实施例还可以执行以下技术方案:接收所述终端发送的自定义请求,其中,所述自定义请求包括与所述第一设备支持的目标操作对应的第一自定义信息;获取所述第一设备发送的第一预设操作集合,其中,所述第一预设操作集合包括所述第一设备支持的预设操作,并且所述预设操作的操作标识支持自定义设置,其中,所述操作标识用于表示所述预设操作;在所述第一预设操作集合包括所述目标操作的情况下,将所述目标操作的操作标识以及所述第一自定义信息对应存储。Wherein, in the above embodiment, before the response to the scene creation request received from the terminal, the above embodiment may further implement the following technical solutions: receiving a customization request sent by the terminal, wherein the customization request includes first customization information corresponding to a target operation supported by the first device; obtaining a first preset operation set sent by the first device, wherein the first preset operation set includes preset operations supported by the first device, and the operation identifier of the preset operation supports custom settings, wherein the operation identifier is used to represent the preset operation; when the first preset operation set includes the target operation, The operation identifier of the target operation and the first custom information are correspondingly stored.

需要说明的是,操作标识可以是操作名称。基于上述实施例,为第一设备支持的预设操作设置对应的自定义信息,并将目标操作的操作标识以及第一自定义信息对应存储,从而实现了对第一设备执行的操作的个性化设置。其中,所述第一操作可以是第一预设集合中的一个预设操作。It should be noted that the operation identifier may be an operation name. Based on the above embodiments, the corresponding custom information is set for the preset operations supported by the first device, and the operation identifier of the target operation and the first custom information are correspondingly stored, thereby realizing the personalized setting of the operations performed by the first device. Wherein, the first operation may be a preset operation in the first preset set.

其中,在所述响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系之前,上述实施例还可以执行以下技术方案:接收所述终端发送的获取请求,其中,所述获取请求用于请求与所述第一设备对应的自定义信息集合,其中,所述自定义信息集合是由与所述第一预设操作集合中的预设操作对应的各个所述第一自定义信息组成的集合;响应于所述获取请求,将所述自定义信息集合发送给所述终端;接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述目标自定义信息为从所述自定义信息集合中选择出的自定义信息。Wherein, before the corresponding relationship between the target custom information and the control command in the target scene is created in response to the scene creation request received from the terminal, the above embodiment may further implement the following technical solution: receiving an acquisition request sent by the terminal, wherein the acquisition request is used to request a custom information set corresponding to the first device, wherein the custom information set is a set composed of each of the first custom information corresponding to preset operations in the first preset operation set; in response to the acquisition request, sending the custom information set to the terminal; receiving the scene creation request sent by the terminal, wherein, The scene creation request includes the scene identifier of the target scene, the target custom information and the control command, and the target custom information is custom information selected from the custom information set.

在上述实施例中,将第一设备对应的自定义信息集合发送给终端,从而可以实现在终端中通过自定义信息集合中的各个自定义信息表示第一设备执行的操作,从而提高了第一设备执行的操作、功能或工作状态的辨识度,进一步提高了创建场景的效率。In the above embodiment, the user-defined information set corresponding to the first device is sent to the terminal, so that each user-defined information in the user-defined information set can be used to represent the operation performed by the first device in the terminal, thereby improving the recognition degree of the operation, function or working state performed by the first device, and further improving the efficiency of creating scenes.

基于上述实施例,在所述响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系之前,所述方法还包括:接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述控制命令中包括与所述第二设备支持的第二操作对应的第二自定义信息,并且所述第二操作的操作标识支持自定义设置;其中,在所述创建在目标场景下的目标自定义信息与控制命令的对应关系的同时或之后,所述方法还包括:将所述第二自定义信息以及所述第二操作的操作标识对应存储。Based on the above embodiment, before creating a correspondence between target customization information and control commands in a target scene in response to a scene creation request received from a terminal, the method further includes: receiving the scene creation request sent by the terminal, wherein the scene creation request includes a scene identification of the target scene, the target customization information, and the control command, and the control command includes second customization information corresponding to a second operation supported by the second device, and the operation identification of the second operation supports customization settings; Simultaneously or after, the method further includes: correspondingly storing the second custom information and the operation identifier of the second operation.

基于上述实施例,在创建目标场景时,还可以根据为第二设备的支持的操作设置的第二自定义信息创建目标场景,从而进一步提高了创建场景的灵活性和效率。Based on the above embodiments, when creating the target scene, the target scene may also be created according to the second custom information set for the supported operations of the second device, thereby further improving the flexibility and efficiency of creating the scene.

需要说明的是,所述根据所述控制命令对所述第二设备进行控制,包括:查找与所述控制命令中的所述第二自定义信息对应的所述第二操作的操作标识;将所述控制命令中的所述第二自定义信息替换为所述第二操作的操作标识,得到替换后的控制命令;向所述第二设备发送所述替换后的控制命令,其中,所述控制命令用于指示所述第二设备执行所述第二操作。It should be noted that the controlling the second device according to the control command includes: searching for an operation identifier of the second operation corresponding to the second custom information in the control command; replacing the second custom information in the control command with the operation identifier of the second operation to obtain a replaced control command; sending the replaced control command to the second device, where the control command is used to instruct the second device to perform the second operation.

在上述实施例中,在根据为第二设备的支持的操作设置的第二自定义信息创建目标场景之后,还可以根据该第二自定义信息执行目标场景。In the above embodiment, after the target scene is created according to the second custom information set for the supported operations of the second device, the target scene may also be executed according to the second custom information.

其中,在所述根据所述控制命令对所述第二设备进行控制之后,所述方法还包括:接收所述第二设备发送的执行结果,其中,所述执行结果中包括所述第二设备执行的所述第二操作;确定与所述第二操作对应的所述第二自定义信息;根据所述第二自定义信息生成与所述目标场景对应的场景执行日志,并将所述场景执行日志发送给所述终端。Wherein, after the second device is controlled according to the control command, the method further includes: receiving an execution result sent by the second device, wherein the execution result includes the second operation performed by the second device; determining the second custom information corresponding to the second operation; generating a scene execution log corresponding to the target scene according to the second custom information, and sending the scene execution log to the terminal.

基于上述实施例,根据第二自定义信息生成目标场景的场景执行日志并发送给终端,从而提高了场景执行日志在终端中的辨识度,即能够使使用该终端的目标对象(或登录该终端的目标对象)识别目标场景的场景执行日志的效率。Based on the above-mentioned embodiment, the scene execution log of the target scene is generated according to the second custom information and sent to the terminal, thereby improving the recognition degree of the scene execution log in the terminal, that is, enabling the target object using the terminal (or the target object logging into the terminal) to identify the efficiency of the scene execution log of the target scene.

基于上述实施例,在所述响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系之后,上述实施例还可以执行以下技术方案:向所述终端发送创建结果,其中,在所述创建结果指示在所述目标场景下的所述目标自定义信息与所述控制命令的对应关系创建成功的情况下,所述创建结果还用于指示在所述终端上显示与所述目标场景对应的所述目标自定义信息和所述控制命令。Based on the above embodiment, after creating the correspondence between the target customization information and the control command in the target scene in response to the scene creation request received from the terminal, the above embodiment may further implement the following technical solution: sending a creation result to the terminal, wherein, when the creation result indicates that the correspondence between the target customization information and the control command in the target scene is successfully created, the creation result is also used to instruct displaying the target customization information and the control command corresponding to the target scene on the terminal.

通过在终端上显示与所述目标场景对应的所述目标自定义信息和所述控制命令,从而可以向目标对象展示根据其自定义的信息创建的场景,提高了创建的场景在终端中的辨识度。By displaying the target customization information and the control command corresponding to the target scene on the terminal, the scene created according to the customized information can be displayed to the target object, and the recognition degree of the created scene in the terminal is improved.

如图3所示,在终端的显示界面中显示与所述目标场景对应的所述目标自定义信息和所述控制命令,从而提高了场景在终端中的辨识度。As shown in FIG. 3 , the target customization information and the control command corresponding to the target scene are displayed on the display interface of the terminal, thereby improving the recognition degree of the scene in the terminal.

需要说明的是,上述第一设备以及第二设备可以是家电领域中的智能家电设备,例如智能洗衣机,智能空调,智能冰箱、扫地机器人、智能门锁、智能照明设备等设备。例如,第一设备为智能门锁,第二设备为智能空调。It should be noted that the above-mentioned first device and second device may be smart home appliances in the field of home appliances, such as smart washing machines, smart air conditioners, smart refrigerators, sweeping robots, smart door locks, smart lighting devices and other devices. For example, the first device is a smart door lock, and the second device is a smart air conditioner.

以下结合一示例对上述实施例中的设备的控制方法进行解释说明,但不用于限定本发明实施例的技术方案。如图4所示,本发明实施例中的设备的控制方法涉及到了以下部分:The method for controlling the device in the above embodiment is explained below with reference to an example, but it is not intended to limit the technical solution of the embodiment of the present invention. As shown in Figure 4, the control method of the device in the embodiment of the present invention involves the following parts:

通过开发者平台设置各个设备的功能(或称为属性)是否允许用户自定义。需要说明的是,在本发明实施例中,各个设备包括上述实施例中的第一设备和第二设备,并且,各个设备的功能/属性与设备执行的操作是对应的,即通过在设备中执行某一操作从而开启设备中的某一项功能(也即使设备具备了该功能下的属性)。例如,在第一设备执行第一操作后,第一设备开启了与第一操作对应的第一功能,并且该第一设备具备了该第一功能对应的属性。以第一设备为智能门锁为例,第一操作可以是使用指纹001对该智能门锁进行开锁的操作(即第一设备执行了识别指纹001的操作),在第一设备执行了该第一操作后,第一设备启动了开锁这一功能,并且第一设备具备了锁已打开属性。在设置完成后,可以将设置结果上报给物联网(Internet of Things,简称为IOT)云平台;Whether to allow users to customize the functions (or attributes) of each device through the developer platform. It should be noted that, in the embodiment of the present invention, each device includes the first device and the second device in the above embodiments, and the functions/attributes of each device correspond to the operations performed by the device, that is, by performing a certain operation in the device, a certain function in the device is enabled (even if the device has the attribute under the function). For example, after the first device executes the first operation, the first device starts the first function corresponding to the first operation, and the first device has the attribute corresponding to the first function. Taking the first device as a smart door lock as an example, the first operation may be to use fingerprint 001 to unlock the smart door lock (that is, the first device performs the operation of identifying fingerprint 001), after the first device performs the first operation, the first device starts the function of unlocking, and the first device has the property that the lock has been opened. After the setting is completed, the setting result can be reported to the Internet of Things (Internet of Things, referred to as IOT) cloud platform;

通过终端对设备的功能/属性进行自定义。其中,终端可以是笔记本电脑、手机、平板电脑等设备,用户可以通过终端向物联网云平台发送自定义请求(即图3中的步骤1),以对设备的功能/属性设置对应的自定义名称,其中,所述自定义请求包括与所述第一设备支持的目标操作对应的第一自定义信息。在接收到终端发送的自定义请求后,云平台确定该第一设备支持的目标操作是否支持自定义设置,在是的情况下,将该目标操作的操作标识(例如,可以是第一设备中与该目标操作对应的功能名称(例如功能1)或属性名称(例如属性1))与第一自定义信息对应存储,从而可以使用第一自定义信息来表示功能1或属性1;Customize the functions/properties of the device through the terminal. Wherein, the terminal may be a notebook computer, a mobile phone, a tablet computer, etc., and the user may send a customization request (ie, step 1 in FIG. 3 ) to the IoT cloud platform through the terminal to set a corresponding customization name for the function/attribute of the device, wherein the customization request includes first customization information corresponding to the target operation supported by the first device. After receiving the custom request sent by the terminal, the cloud platform determines whether the target operation supported by the first device supports custom settings, and in the case of yes, the operation identifier of the target operation (for example, it may be a function name (such as function 1) or attribute name (such as attribute 1) corresponding to the target operation in the first device and correspondingly stores the first custom information, so that the first custom information can be used to represent function 1 or attribute 1;

用户可以通过终端(例如手机应用程序(Application,简称为APP)端)向应用程序服务器发送场景创建请求(即图4中的步骤2),应用程序服务器将场景创建请求转发到云平台中的IFTTT规则引擎模块(步骤3);IFTTT规则引擎创建目标场景,即创建在目标场景下的目标自定义信息与控制命令的对应关系,并向应用程序服务器返回创建结果消息(步骤4),应用程序服务器将创建结果消息返回给手机APP端(即图4中的步骤5);The user can send a scene creation request (i.e. step 2 in Figure 4) to the application program server through a terminal (such as a mobile application (Application, referred to as APP) side), and the application program server forwards the scene creation request to the IFTTT rule engine module in the cloud platform (step 3); 5);

目标场景创建完成后,即可以自动执行。其中,作为一种可选的实施方式,可以通过终端(例如手机APP端)向应用程序服务器发送确认消息(即图4中的步骤6);应用程序服务器将该确认消息转发至IFTTT规则引擎(即图4中的步骤7),通过IFTTT规则引擎根据获取到的第一设备发送的操作信息确定是否执行目标场景;Once the target scenario is created, it can be executed automatically. Wherein, as an optional embodiment, a confirmation message can be sent to the application server through the terminal (such as the mobile phone APP terminal) (ie, step 6 in FIG. 4); the application server forwards the confirmation message to the IFTTT rule engine (ie, step 7 in FIG. 4), and the IFTTT rule engine determines whether to execute the target scene according to the acquired operation information sent by the first device;

在目标场景执行完之后,IFTTT规则引擎生成场景执行日志并发送给应用程序服务器(即图4中的步骤8),应用程序服务器将该场景执行日志发送给手机APP端(即图4中的步骤9)。After the target scenario is executed, the IFTTT rule engine generates a scenario execution log and sends it to the application server (ie, step 8 in Figure 4), and the application server sends the scenario execution log to the mobile phone APP (ie, step 9 in Figure 4).

其中,上述实施例中的设备的控制方法的时序图图如图5所示,包括以下步骤:Wherein, the sequence diagram of the control method of the device in the above embodiment is shown in Figure 5, including the following steps:

步骤1、通过开发者平台定义设备模型以及每个设备模型对应的个性化条件项(即通过开发者平台设置各个设备的功能(或称为属性)是否允许用户自定义);Step 1. Define the device model and the personalized condition items corresponding to each device model through the developer platform (that is, whether the function (or attribute) of each device is allowed to be customized by the user through the developer platform);

步骤2、通过开发者平台将设备模型上报至物联网云平台;Step 2. Report the device model to the IoT cloud platform through the developer platform;

步骤3、物联网云平台根据设备模型创建设备模型实例数据,并存储设备模型实例数据;Step 3. The IoT cloud platform creates device model instance data according to the device model, and stores the device model instance data;

步骤4、用户通过手机应用程序自定义设备模型属性;Step 4, the user customizes the device model attributes through the mobile phone application;

需要说明的是,在步骤4中,用户也可以通过手机应用程序自定义设备模型功能;通过手机应用程序自定义设备模型属性或功能,即对应于上述实施例中的对设备中的目标操作的操作标识进行自定义设置;It should be noted that in step 4, the user can also customize the device model function through the mobile phone application; customize the device model attributes or functions through the mobile phone application, that is, corresponding to the operation identification of the target operation in the device in the above-mentioned embodiment. Custom settings;

步骤5、手机应用程序向物联网云平台上报用户设置的设备模型的用户自定义属性;Step 5, the mobile phone application reports the user-defined attributes of the device model set by the user to the IoT cloud platform;

步骤6、智能设备1(即上述实施例中的第一设备)向物联网云平台上报设备模型的自定义项(即上述实施例中的第一预设操作集合,其中,所述第一预设操作集合包括所述第一设备支持的预设操作,并且所述预设操作的操作标识支持自定义设置);Step 6, the smart device 1 (i.e. the first device in the above embodiment) reports the customization item of the device model (i.e. the first preset operation set in the above embodiment to the Internet of Things cloud platform, wherein the first preset operation set includes the preset operations supported by the first device, and the operation identification of the preset operation supports custom settings);

步骤7、物联网云平台存储设备模型实例数据对应的用户自定义属性;Step 7. The IoT cloud platform stores the user-defined attributes corresponding to the device model instance data;

步骤8、物联网云平台向手机应用程序返回结果;其中,返回结果可以用于指示设备的自定义属性已设置成功;Step 8, the Internet of Things cloud platform returns a result to the mobile phone application; wherein, the returned result can be used to indicate that the custom attribute of the device has been set successfully;

步骤9、用户可以通过手机应用程序获取到返回结果;Step 9, the user can obtain the returned result through the mobile phone application;

步骤10、物联网云平台向智能设备1返回结果;其中,返回结果可以用于通知智能设备1的自定义属性已设置成功;Step 10, the Internet of Things cloud platform returns a result to the smart device 1; wherein, the returned result can be used to notify the smart device 1 that the custom attribute has been set successfully;

步骤11、通过手机应用程序从物联网云平台获取设备模型和用户自定义的数据;Step 11, obtain the device model and user-defined data from the Internet of Things cloud platform through the mobile phone application;

步骤12、物联网云平台向手机应用程序返回设备模型和用户自定义的数据;Step 12, the IoT cloud platform returns the device model and user-defined data to the mobile phone application;

步骤13、通过手机应用程序向物联网云平台中的IFTTT规则引擎提交创建设备自动化场景请求(即上述实施例中的场景创建请求);Step 13, submit to the IFTTT rule engine in the IoT cloud platform by the mobile phone application to create a device automation scene request (i.e. the scene creation request in the above-mentioned embodiment);

步骤14、IFTTT规则引擎创建设备自动化场景,即创建在目标场景下的目标自定义信息与控制命令的对应关系;Step 14, the IFTTT rule engine creates a device automation scene, that is, creates a corresponding relationship between the target custom information and the control command in the target scene;

步骤15、IFTTT规则引擎向手机应用程序返回场景创建结果;Step 15, the IFTTT rule engine returns the scene creation result to the mobile phone application;

步骤16、用于可以通过手机应用程序查看场景创建结果;Step 16, it is used to view the scene creation result through the mobile phone application;

步骤17、智能设备1上报触发数据(即上述实施例中的操作信息);Step 17, the smart device 1 reports trigger data (ie, the operation information in the above-mentioned embodiment);

步骤18、IFTTT规则引擎接收到触发数据后,向物联网云平台请求用户为智能设备1设置的自定义数据;Step 18, after the IFTTT rule engine receives the trigger data, it requests the user-defined data set for the smart device 1 from the Internet of Things cloud platform;

步骤19、物联网云平台向IFTTT规则引擎返回用户为智能设备1设置的自定义数据;Step 19, the Internet of Things cloud platform returns the custom data that the user sets for the smart device 1 to the IFTTT rule engine;

步骤20、IFTTT规则引擎确定触发数据为用于触发目标场景的数据(即上述实施例中的所述操作信息所表示的操作为所述第一操作),向物联网云平台请求控制目标场景中的设备;Step 20, the IFTTT rule engine determines that the trigger data is the data used to trigger the target scene (that is, the operation represented by the operation information in the above-mentioned embodiment is the first operation), and requests the Internet of Things cloud platform to control the equipment in the target scene;

步骤21、物联网云平台向目标场景中的智能设备2(即上述实施例中的第二设备)发送控制指令(即上述实施例中的控制命令);Step 21, the Internet of Things cloud platform sends a control command (ie the control command in the above embodiment) to the smart device 2 (ie the second device in the above embodiment) in the target scene;

步骤22、智能设备2向物联网云平台返回执行结果(即上述实施例中的第二设备发送的执行结果);Step 22, the smart device 2 returns the execution result (that is, the execution result sent by the second device in the above-mentioned embodiment) to the Internet of Things cloud platform;

步骤23、物联网云平台将接收到的执行结果发送给IFTTT规则引擎。Step 23, the IoT cloud platform sends the received execution result to the IFTTT rule engine.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in various embodiments of the present invention.

根据本发明的另一个实施例,提供了一种设备的控制装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。According to another embodiment of the present invention, a device control device is provided, and the device is used to implement the above embodiments and preferred implementation modes, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

图6是根据本发明实施例的设备的控制装置的结构框图,该装置包括:Fig. 6 is a structural block diagram of a device control device according to an embodiment of the present invention, the device comprising:

创建模块52,用于响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;The creation module 52 is configured to, in response to a scenario creation request received from the terminal, create a correspondence between target customization information and a control command in the target scenario, wherein the target customization information is used to represent a first operation performed by the first device in the target scenario, and the control command is used to control a second device in the target scenario;

接收模块54,用于接收所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;A receiving module 54, configured to receive operation information sent by the first device, where the operation information is used to represent an operation currently performed by the first device;

获取模块56,用于在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;An obtaining module 56, configured to obtain, in the created correspondence, the control command corresponding to the target customization information when the operation represented by the operation information is the first operation;

控制模块58,用于根据所述控制命令对所述第二设备进行控制。A control module 58, configured to control the second device according to the control command.

通过本发明,响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;根据所述控制命令对所述第二设备进行控制。因此,可以解决相关技术中创景自动化场景的效率较低的技术问题,提高了创建场景的效率和灵活性。According to the present invention, in response to a scene creation request received from a terminal, a corresponding relationship between target custom information and control commands in a target scene is created, wherein the target custom information is used to represent a first operation performed by a first device in the target scene, and the control command is used to control a second device in the target scene; the operation information sent by the first device is obtained, wherein the operation information is used to represent the operation currently performed by the first device; The control command: controlling the second device according to the control command. Therefore, it is possible to solve the technical problem of low efficiency of creating scene automation scenes in related technologies, and improve the efficiency and flexibility of creating scenes.

其中,所述接收模块54,还用于接收所述终端发送的自定义请求,其中,所述自定义请求包括与所述第一设备支持的目标操作对应的第一自定义信息;所述获取模块56,还用于获取所述第一设备发送的第一预设操作集合,其中,所述第一预设操作集合包括所述第一设备支持的预设操作,并且所述预设操作的操作标识支持自定义设置,其中,所述操作标识用于表示所述预设操作;图7为根据本发明又一实施例的设备的控制装置的结构框图(一),如图7所示,所述装置还包括存储模块62,用于在所述第一预设操作集合包括所述目标操作的情况下,将所述目标操作的操作标识以及所述第一自定义信息对应存储。Wherein, the receiving module 54 is further configured to receive a customization request sent by the terminal, wherein the customization request includes first customization information corresponding to a target operation supported by the first device; the obtaining module 56 is further configured to obtain a first preset operation set sent by the first device, wherein the first preset operation set includes preset operations supported by the first device, and the operation identifier of the preset operation supports custom settings, wherein the operation identifier is used to represent the preset operation; FIG. The device further includes a storage module 62, configured to store the operation identifier of the target operation and the first custom information correspondingly when the first preset operation set includes the target operation.

在上述实施例中,所述接收模块54,还用于接收所述终端发送的获取请求,其中,所述获取请求用于请求所述第一设备对应的自定义信息集合,其中,所述自定义信息集合是由与所述第一预设操作集合中的预设操作对应的各个所述第一自定义信息组成的集合;图8为根据本发明又一实施例的设备的控制装置的结构框图(二),如图8所示,所述装置还包括发送模块72,用于响应于所述获取请求,将所述自定义信息集合发送给所述终端;所述接收模块54,还用于接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述目标自定义信息为从所述自定义信息集合中选择出的自定义信息。In the above embodiment, the receiving module 54 is further configured to receive an acquisition request sent by the terminal, wherein the acquisition request is used to request a custom information set corresponding to the first device, wherein the custom information set is a set composed of each of the first custom information corresponding to preset operations in the first preset operation set; FIG. 8 is a structural block diagram (2) of a device control device according to another embodiment of the present invention. As shown in FIG. 54. It is further configured to receive the scene creation request sent by the terminal, wherein the scene creation request includes the scene identifier of the target scene, the target custom information and the control command, and the target custom information is custom information selected from the custom information set.

需要说明的是,所述接收模块54,还用于在所述响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系之前,接收所述终端发送的所述场景创建请求,其中,所述场景创建请求中包括所述目标场景的场景标识,所述目标自定义信息以及所述控制命令,所述控制命令中包括与所述第二设备支持的第二操作对应的第二自定义信息,并且所述第二操作的操作标识支持自定义设置;其中,所述存储模块62,还用于在所述创建在目标场景下的目标自定义信息与控制命令的对应关系的同时或之后,将所述第二自定义信息以及所述第二操作的操作标识对应存储。It should be noted that the receiving module 54 is also configured to receive the scene creation request sent by the terminal before creating the corresponding relationship between the target custom information and the control command in the target scene in response to the scene creation request received from the terminal, wherein the scene creation request includes the scene identifier of the target scene, the target custom information and the control command, the control command includes second custom information corresponding to the second operation supported by the second device, and the operation identifier of the second operation supports custom settings; Simultaneously or after the corresponding relationship between the target customization information and the control command in the scene, the second customization information and the operation identifier of the second operation are correspondingly stored.

基于上述实施例,所述控制模块58还用于查找与所述控制命令中的所述第二自定义信息对应的所述第二操作的操作标识;将所述控制命令中的所述第二自定义信息替换为所述第二操作的操作标识,得到替换后的控制命令;以及向所述第二设备发送所述替换后的控制命令,其中,所述控制命令用于指示所述第二设备执行所述第二操作。Based on the above embodiment, the control module 58 is further configured to search for an operation identifier of the second operation corresponding to the second custom information in the control command; replace the second custom information in the control command with the operation identifier of the second operation to obtain a replaced control command; and send the replaced control command to the second device, where the control command is used to instruct the second device to perform the second operation.

其中,所述接收模块54还用于在所述根据所述控制命令对所述第二设备进行控制之后,接收所述第二设备发送的执行结果,其中,所述执行结果中包括所述第二设备执行的所述第二操作。图9为根据本发明又一实施例的设备的控制装置的结构框图(三),如图9所示,所述装置还包括生成模块82,用于确定与所述第二操作对应的所述第二自定义信息;以及根据所述第二自定义信息生成与所述目标场景对应的场景执行日志,并将所述场景执行日志发送给所述终端。Wherein, the receiving module 54 is further configured to receive an execution result sent by the second device after the second device is controlled according to the control command, wherein the execution result includes the second operation executed by the second device. FIG. 9 is a structural block diagram (3) of a device control device according to another embodiment of the present invention. As shown in FIG. 9 , the device further includes a generating module 82 configured to determine the second custom information corresponding to the second operation; and generate a scene execution log corresponding to the target scene according to the second custom information, and send the scene execution log to the terminal.

本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。An embodiment of the present invention also provides a storage medium, the storage medium includes a stored program, wherein the above-mentioned program executes any one of the above-mentioned methods when running.

可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

S1,响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;S1. In response to a scene creation request received from the terminal, create a correspondence between target customization information and a control command in the target scenario, where the target customization information is used to represent a first operation performed by a first device in the target scenario, and the control command is used to control a second device in the target scenario;

S2,获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;S2. Obtain operation information sent by the first device, where the operation information is used to indicate an operation currently performed by the first device;

S3,在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;S3. If the operation represented by the operation information is the first operation, acquire the control command corresponding to the target customization information from the created correspondence;

S4,根据所述控制命令对所述第二设备进行控制。S4. Control the second device according to the control command.

可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: various media that can store program codes such as USB flash drives, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), mobile hard disks, magnetic disks, or optical disks.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.

本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S1,响应于从终端接收的场景创建请求,创建在目标场景下的目标自定义信息与控制命令的对应关系,其中,所述目标自定义信息用于表示所述目标场景下的第一设备执行的第一操作,所述控制命令用于对所述目标场景下的第二设备进行控制;S1. In response to a scene creation request received from the terminal, create a correspondence between target customization information and a control command in the target scenario, where the target customization information is used to represent a first operation performed by a first device in the target scenario, and the control command is used to control a second device in the target scenario;

S2,获取所述第一设备发送的操作信息,其中,所述操作信息用于表示所述第一设备当前执行的操作;S2. Obtain operation information sent by the first device, where the operation information is used to indicate an operation currently performed by the first device;

S3,在所述操作信息所表示的操作为所述第一操作的情况下,在创建的所述对应关系中获取与所述目标自定义信息具有对应关系的所述控制命令;S3. If the operation represented by the operation information is the first operation, acquire the control command corresponding to the target customization information from the created correspondence;

S4,根据所述控制命令对所述第二设备进行控制。S4. Control the second device according to the control command.

图10是根据本发明实施例的一种可选的电子装置的结构示意图。可选地,本领域普通技术人员可以理解,图10所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile InternetDevices,MID)、PAD等终端设备。图10其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图10中所示更多或者更少的组件(如网络接口等),或者具有与图10所示不同的配置。Fig. 10 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. Optionally, those of ordinary skill in the art can understand that the structure shown in FIG. 10 is only schematic, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal devices. FIG. 10 does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or less components than those shown in FIG. 10 (such as a network interface, etc.), or have a different configuration from that shown in FIG. 10 .

其中,存储器1002可用于存储软件程序以及模块,如本发明实施例中的设备的控制方法和设备的控制装置对应的程序指令/模块,处理器1004通过运行存储在存储器1002内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的设备的控制方法。存储器1002可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1002可进一步包括相对于处理器1004远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。作为一种示例,上述存储器1002中可以但不限于包括上述设备的控制装置的创建模块52,接收模块54,获取模块56,控制模块58。此外,还可以包括但不限于上述设备的控制装置中的其他模块单元,本示例中不再赘述。Wherein, the memory 1002 can be used to store software programs and modules, such as program instructions/modules corresponding to the device control method and the device control device in the embodiment of the present invention, and the processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implements the above-mentioned device control method. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1002 may further include a memory that is remotely located relative to the processor 1004, and these remote memories may be connected to the terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. As an example, the memory 1002 may include, but is not limited to, the creating module 52, the receiving module 54, the obtaining module 56, and the controlling module 58 of the control device of the above-mentioned device. In addition, it may also include but not limited to other module units in the control device of the above equipment, which will not be described in detail in this example.

可选地,上述的传输设备1006用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输设备1006包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输设备1006为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, the above-mentioned transmission device 1006 is configured to receive or send data via a network. The specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a network adapter (Network Interface Controller, NIC), which can be connected with other network devices and a router through a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1006 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.

此外,上述电子设备还包括:显示器1008,用于显示画面;和连接总线1010,用于连接上述电子装置中的各个模块部件。In addition, the above-mentioned electronic device further includes: a display 1008 for displaying images; and a connection bus 1010 for connecting various module components in the above-mentioned electronic device.

在其他实施例中,上述终端或者服务器可以是一个分布式系统中的一个节点,其中,该分布式系统可以为区块链系统,该区块链系统可以是由该多个节点通过网络通信的形式连接形成的分布式系统。其中,节点之间可以组成点对点(P2P,Peer To Peer)网络,任意形式的计算设备,比如服务器、终端等电子设备都可以通过加入该点对点网络而成为该区块链系统中的一个节点。In other embodiments, the above-mentioned terminal or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication. Among them, nodes can form a peer-to-peer (P2P, Peer To Peer) network, and any form of computing equipment, such as servers, terminals and other electronic devices, can become a node in the blockchain system by joining the peer-to-peer network.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. The steps are implemented as a single integrated circuit module. As such, the present invention is not limited to any specific combination of hardware and software.

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

Claims (8)

1. A control method of an apparatus, characterized by comprising:
responding to a scene creation request received from a terminal, and creating a corresponding relation between target custom information and a control command in a target scene, wherein the target custom information is used for representing a first operation executed by first equipment in the target scene, and the control command is used for controlling second equipment in the target scene;
acquiring operation information sent by the first device, wherein the operation information is used for representing the operation currently executed by the first device;
acquiring the control command with a corresponding relation with the target custom information in the created corresponding relation under the condition that the operation represented by the operation information is the first operation;
controlling the second equipment according to the control command;
wherein prior to said responding to a scene creation request received from a terminal, the method further comprises:
receiving a self-defining request sent by the terminal, wherein the self-defining request comprises first self-defining information corresponding to target operation supported by the first equipment;
acquiring a first preset operation set sent by the first device, wherein the first preset operation set comprises preset operations supported by the first device, and operation identifiers of the preset operations support custom settings, and the operation identifiers are used for representing the preset operations;
And under the condition that the first preset operation set comprises the target operation, correspondingly storing the operation identifier of the target operation and the first custom information.
2. The method according to claim 1, wherein before the creating of the correspondence of the target custom information and the control command in the target scene in response to the scene creation request received from the terminal, the method further comprises:
receiving an acquisition request sent by the terminal, wherein the acquisition request is used for requesting a custom information set corresponding to the first device, and the custom information set is a set formed by the first custom information corresponding to preset operations in the first preset operation set;
responding to the acquisition request, and sending the custom information set to the terminal;
and receiving the scene creation request sent by the terminal, wherein the scene creation request comprises a scene identifier of the target scene, the target custom information and the control command, and the target custom information is custom information selected from the custom information set.
3. The method according to claim 1, wherein before the creating of the correspondence of the target custom information and the control command in the target scene in response to the scene creation request received from the terminal, the method further comprises:
receiving the scene creation request sent by the terminal, wherein the scene creation request comprises a scene identifier of the target scene, the target custom information and the control command, the control command comprises second custom information corresponding to a second operation supported by the second device, and an operation identifier of the second operation supports custom setting;
wherein, at the same time or after the corresponding relation between the target custom information and the control command in the target scene is created, the method further comprises:
and correspondingly storing the second custom information and the operation identification of the second operation.
4. A method according to claim 3, wherein said controlling said second device in accordance with said control command comprises:
searching an operation identifier of the second operation corresponding to the second custom information in the control command;
Replacing the second custom information in the control command with the operation identifier of the second operation to obtain a replaced control command;
and sending the replaced control command to the second device, wherein the control command is used for indicating the second device to execute the second operation.
5. A method according to claim 3, wherein after said controlling said second device in accordance with said control command, the method further comprises:
receiving an execution result sent by the second device, wherein the execution result comprises the second operation executed by the second device;
determining the second custom information corresponding to the second operation;
and generating a scene execution log corresponding to the target scene according to the second custom information, and sending the scene execution log to the terminal.
6. A control device of an apparatus, characterized by comprising:
the system comprises a creation module, a control module and a control module, wherein the creation module is used for responding to a scene creation request received from a terminal, and creating a corresponding relation between target custom information and a control command in a target scene, wherein the target custom information is used for representing a first operation executed by first equipment in the target scene, and the control command is used for controlling second equipment in the target scene;
The receiving module is used for receiving operation information sent by the first equipment, wherein the operation information is used for representing the operation currently executed by the first equipment;
the acquisition module is used for acquiring the control command with the corresponding relation with the target custom information in the created corresponding relation under the condition that the operation represented by the operation information is the first operation;
the control module is used for controlling the second equipment according to the control command;
the receiving module is further configured to receive a customization request sent by the terminal, where the customization request includes first customization information corresponding to a target operation supported by the first device;
the acquiring module is further configured to acquire a first preset operation set sent by the first device, where the first preset operation set includes preset operations supported by the first device, and an operation identifier of the preset operations supports a user-defined setting, where the operation identifier is used to represent the preset operations;
the device further comprises a storage module, and the storage module is used for correspondingly storing the operation identifier of the target operation and the first custom information under the condition that the first preset operation set comprises the target operation.
7. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when run.
8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 5 by means of the computer program.
CN202010827433.XA 2020-08-17 2020-08-17 Equipment control method and device, storage medium and electronic device Active CN112073471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010827433.XA CN112073471B (en) 2020-08-17 2020-08-17 Equipment control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010827433.XA CN112073471B (en) 2020-08-17 2020-08-17 Equipment control method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112073471A CN112073471A (en) 2020-12-11
CN112073471B true CN112073471B (en) 2023-07-21

Family

ID=73662304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010827433.XA Active CN112073471B (en) 2020-08-17 2020-08-17 Equipment control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112073471B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737901B (en) * 2020-12-29 2022-12-06 青岛海尔科技有限公司 Method, device, storage medium and electronic device for operation configuration in a scene
CN113268004A (en) * 2021-04-22 2021-08-17 深圳Tcl新技术有限公司 Scene creating method and device, computer equipment and storage medium
CN113422711A (en) * 2021-04-29 2021-09-21 青岛海尔多媒体有限公司 Method, system and device for establishing instruction mapping relation and household appliance
CN113434844A (en) * 2021-06-23 2021-09-24 青岛海尔科技有限公司 Intelligent scene building method and device, storage medium and electronic equipment
CN113596234B (en) * 2021-06-29 2023-03-31 青岛海尔科技有限公司 Method and device for determining equipment function model, storage medium and electronic device
CN113676353B (en) * 2021-08-19 2024-06-14 杭州华橙软件技术有限公司 Control method and device of equipment, storage medium and electronic device
CN114740748A (en) * 2022-04-29 2022-07-12 青岛海尔科技有限公司 Smart home scene creation method and device, storage medium and electronic device
CN115296947B (en) * 2022-06-28 2024-01-26 青岛海尔科技有限公司 Control command response method and device, storage medium and electronic device
CN115296945B (en) * 2022-06-28 2024-03-22 青岛海尔科技有限公司 Control method, system and device of equipment, storage medium and electronic device
CN115685848A (en) * 2022-11-04 2023-02-03 深圳市欧瑞博科技股份有限公司 Object model-based equipment control method and related equipment
CN115659405B (en) * 2022-11-18 2023-03-10 中国信息通信研究院 Digital object interaction method and device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017143743A1 (en) * 2016-02-24 2017-08-31 华为技术有限公司 Heterogeneous protocol communication method and controller
WO2019128829A1 (en) * 2017-12-28 2019-07-04 中兴通讯股份有限公司 Action execution method and apparatus, storage medium and electronic apparatus
WO2019179355A1 (en) * 2018-03-23 2019-09-26 腾讯科技 (深圳) 有限公司 Object control method, device, storage medium and electronic device
CN110458051A (en) * 2019-07-25 2019-11-15 中移(杭州)信息技术有限公司 A device control method, device, server and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206636353U (en) * 2017-04-19 2017-11-14 河南紫光物联技术有限公司 A kind of intelligent door lock
CN108170034B (en) * 2017-12-29 2021-06-08 上海器魂智能科技有限公司 Intelligent device control method and device, computer device and storage medium
CN108536033A (en) * 2018-06-29 2018-09-14 王莹莹 A kind of intelligent home furnishing control method
CN109725541B (en) * 2018-12-12 2022-09-27 深圳绿米联创科技有限公司 Automatic generation method and device, electronic equipment and storage medium
CN109656145B (en) * 2018-12-27 2022-08-02 美智纵横科技有限责任公司 Electric appliance, control method and control system thereof, server and electric appliance control device
CN110768877B (en) * 2019-09-27 2022-05-27 百度在线网络技术(北京)有限公司 Voice control instruction processing method and device, electronic equipment and readable storage medium
CN110531632B (en) * 2019-09-27 2022-08-26 北京声智科技有限公司 Control method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017143743A1 (en) * 2016-02-24 2017-08-31 华为技术有限公司 Heterogeneous protocol communication method and controller
WO2019128829A1 (en) * 2017-12-28 2019-07-04 中兴通讯股份有限公司 Action execution method and apparatus, storage medium and electronic apparatus
WO2019179355A1 (en) * 2018-03-23 2019-09-26 腾讯科技 (深圳) 有限公司 Object control method, device, storage medium and electronic device
CN110458051A (en) * 2019-07-25 2019-11-15 中移(杭州)信息技术有限公司 A device control method, device, server and readable storage medium

Also Published As

Publication number Publication date
CN112073471A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN112073471B (en) Equipment control method and device, storage medium and electronic device
CN112738805B (en) Equipment control method and device, storage medium and electronic equipment
CN112737899B (en) Intelligent device management method and device, storage medium and electronic device
CN110598280B (en) Equipment simulation system and method and computer readable storage medium
US20180006840A1 (en) Wearable device and controlling method thereof, and system for controlling smart home
CN106302448B (en) Remote access control method and device
CN111885144B (en) Equipment binding method and device
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
JP2017506772A (en) Intelligent device scene mode customization method and apparatus
CN104852990A (en) Information processing method and intelligent household control system
CN112804730B (en) Equipment interconnection method, device, server, intelligent equipment and storage medium
CN107168765B (en) Method and system for remotely compiling software
CN111641996A (en) Equipment network access method and device based on Bluetooth Mesh network, and storage medium
CN114513379A (en) Binding method and terminal for intelligent household equipment
CN112671572B (en) Method, device, storage medium and electronic device for smart device network distribution
CN111132164A (en) Network distribution method and device of intelligent equipment
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN104836827B (en) Data processing method and system based on asymmetric P2P networks
CN109361641B (en) Method for adding heterogeneous terminal into scene, storage medium and application server
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN113938391A (en) Network distribution method and system for gateway equipment and electronic equipment
EP4135265A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
CN112491583A (en) Data acquisition and analysis method and device
CN113556255B (en) Method and device for configuring smart home
CN112152850B (en) Internet of things equipment management method based on flash connection protocol and service terminal

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
GR01 Patent grant
GR01 Patent grant