WO2022247373A1 - Method and apparatus for controlling home appliance, and appliance - Google Patents

Method and apparatus for controlling home appliance, and appliance Download PDF

Info

Publication number
WO2022247373A1
WO2022247373A1 PCT/CN2022/078590 CN2022078590W WO2022247373A1 WO 2022247373 A1 WO2022247373 A1 WO 2022247373A1 CN 2022078590 W CN2022078590 W CN 2022078590W WO 2022247373 A1 WO2022247373 A1 WO 2022247373A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
home appliance
appliances
household electrical
appliance
Prior art date
Application number
PCT/CN2022/078590
Other languages
French (fr)
Chinese (zh)
Inventor
郭继宾
李艳春
路炎
封荣杰
李恒元
Original Assignee
青岛海尔空调器有限总公司
青岛海尔空调电子有限公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔空调器有限总公司, 青岛海尔空调电子有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调器有限总公司
Publication of WO2022247373A1 publication Critical patent/WO2022247373A1/en

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]
    • 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

Definitions

  • the present application relates to the field of smart home technology, for example, to a method, device, and device for controlling household appliances.
  • Embodiments of the present disclosure provide a method, device, and device for controlling household electrical appliances, so as to control different household electrical appliances through the same APP.
  • the method for controlling a home appliance includes: connecting a home appliance; acquiring constraint information and current state information of the home appliance; controlling the home appliance according to the constraint information and the current state information.
  • the apparatus for controlling household appliances includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling household appliances when executing the program instructions. .
  • the device includes the above-mentioned apparatus for controlling a household appliance.
  • the method, device, and device for controlling home appliances provided by the embodiments of the present disclosure can achieve the following technical effects: by connecting home appliances, obtain constraint information and current state information of home appliances, and control home appliances according to the constraint information and current state information equipment. By acquiring the constraint information and the current state information of the connected household appliances to control the connected household appliances, it is possible to control different household appliances through the same APP.
  • FIG. 1 is a schematic diagram of a method for controlling household appliances provided by an embodiment of the present disclosure
  • FIG. 2 is a sequence diagram of a method for controlling household appliances provided by an embodiment of the present disclosure
  • Fig. 3 is a schematic diagram of an apparatus for controlling household electrical appliances provided by an embodiment of the present disclosure.
  • A/B means: A or B.
  • a and/or B means: A or B, or, A and B, these three relationships.
  • an embodiment of the present disclosure provides a method for controlling household appliances, including:
  • Step S101 connecting home appliances
  • Step S102 obtaining constraint information and current status information of household electrical appliances
  • Step S103 controlling the household electrical appliances according to the constraint information and the current state information.
  • Constraint information and current status information are used to control the connected home appliances, and it is possible to control different home appliances through the same APP.
  • the home appliances include smart air conditioners, smart TVs, smart refrigerators, and the like.
  • connecting the home appliance includes: acquiring a physical communication address of the home appliance; acquiring model information corresponding to the physical communication address; and connecting the home appliance according to the physical communication address and model information.
  • the physical communication address of the home appliance is a Bluetooth MAC (Media Access Control Address, Media Access Control Address) address of the home appliance.
  • Bluetooth MAC Media Access Control Address, Media Access Control Address
  • the method for controlling home appliances provided by the embodiments of the present disclosure uses bluetooth communication to connect home appliances. Compared with the universal remote control APP that uses infrared remote control in the prior art, the use range is wider, and it is convenient for users to control the home appliances through the same APP. Control different home appliances.
  • obtaining the physical communication address of the home appliance includes: obtaining the Bluetooth UUID (Universally Unique Identifier, Universally Unique Identifier) of the home appliance; obtaining the Bluetooth MAC address corresponding to the Bluetooth UUID according to the preset association relationship; Determined as the physical communication address of the home appliance.
  • the Bluetooth UUID Universally Unique Identifier
  • the user terminal installed with the iOS system cannot obtain the Bluetooth MAC address of the home appliance, but can only obtain the Bluetooth UUID of the home appliance.
  • the Bluetooth UUID Store the relationship between the Bluetooth UUID and the Bluetooth MAC address of the home appliance in the broadcast protocol or user terminal, obtain the Bluetooth MAC address corresponding to the Bluetooth UUID according to the relationship, and determine the Bluetooth MAC address as the physical communication address of the home appliance, and then The home appliance is connected through the physical communication address and the corresponding model information, so that the user can control the home appliance.
  • obtaining the model information corresponding to the physical communication address includes: sending the physical communication address of the household electrical appliance to the server, triggering the server to feed back the model information corresponding to the physical communication address; receiving the model information fed back by the server.
  • the physical communication address of the household appliance and its corresponding model information are displayed, and the receiving user
  • connecting the home appliance according to the physical communication address and model information includes: displaying the model information; receiving a user-input selection instruction including the model information; connecting the home appliance through the physical communication address corresponding to the model information included in the selection instruction.
  • the user terminal displays the model information corresponding to several physical communication addresses, and the user can select the corresponding household electrical appliance in the model information displayed to connect, and receive the selection instruction input by the user including the model information; through the selection instruction
  • the physical communication address corresponding to the included model information is connected to the home appliance.
  • the household appliances that need to be connected are determined through the model information, which solves the problem that it is difficult for users to distinguish whether the corresponding household appliances are household appliances that need to be connected through the physical communication address, and thus may connect the wrong household appliances. It is convenient for users to connect and control household appliances .
  • the home appliance after connecting the home appliance, it also includes: obtaining the account ID corresponding to the user terminal; obtaining the device ID of the home appliance; sending the account ID, device ID, physical communication address and model information to the server, and triggering the server to check the account ID, Device ID, physical communication address and model information are stored in association.
  • sending the device ID to the server triggers the server to feed back the physical communication address and model information corresponding to the device ID; receive the physical communication address and model information corresponding to the device ID fed back by the server; connect the home appliance according to the physical communication address and model information.
  • the user terminal associates the account ID, device ID, physical communication address and model information and stores them in the server.
  • the user terminal directly obtains the physical communication address and model information corresponding to the home appliance stored in the server. To connect the home appliances to facilitate the reconnection with the home appliances.
  • the home appliance after connecting the home appliance, it also includes: obtaining the account ID corresponding to the user terminal; obtaining the device ID of the home appliance; sending the account ID, device ID, physical communication address and model information to the home appliance, and triggering the account registration of the home appliance.
  • ID, device ID, physical communication address and model information are stored in association.
  • the trigger household appliance associates the account ID, device ID, physical communication address and model information, and stores them in a preset database.
  • obtain the account ID of the current user terminal send a connection request containing the account ID of the current user terminal to the home appliance, trigger the home appliance to search for the same account ID as the account ID of the current user terminal in a preset database, and If the same account ID is not found, the connection request is rejected.
  • the account ID is added to the home appliance as an authentication credential, and the connection request is sent to the home appliance again after disconnection, which triggers the home appliance to compare the account ID of the current user terminal with the account ID in the home appliance database.
  • the account ID of the terminal is different from the account ID in the home appliance database, that is, if the database does not represent the same account as the current user terminal, the connection request is rejected, preventing user terminals of other accounts from connecting to and controlling home appliances, and improving the efficiency of connecting home appliances.
  • Device Security is different from the account ID in the home appliance database, that is, if the database does not represent the same account as the current user terminal, the connection request is rejected, preventing user terminals of other accounts from connecting to and controlling home appliances, and improving the efficiency of connecting home appliances.
  • obtain the account ID of the current user terminal send an unbinding command containing the account ID of the current user terminal to the home appliance, and trigger the home appliance to search for the same account ID as the account ID of the current user terminal in a preset database , if the same account ID is found, delete the associated information corresponding to the account ID in the household appliance database.
  • the account ID is added to the home appliance as an authentication credential, and when it is necessary to unbind the home appliance, an unbinding command containing the account ID of the current user terminal is sent to the home appliance to trigger the home appliance to unbind the current user terminal.
  • obtaining the constraint information of the home appliance includes: sending the model information of the home appliance to the server, triggering the server to feed back constraint information corresponding to the model information; receiving the constraint information fed back by the server, and determining the constraint information fed back by the server as the home appliance Constraint information.
  • acquiring the current status information of the household electrical appliance includes: sending a status acquisition request to the household electrical appliance, triggering the household electrical appliance to feed back the current status information of the household electrical appliance; and receiving the current status information fed back by the household electrical appliance.
  • the current state information fed back by the smart air conditioner includes the current air conditioner operating mode, the executable air conditioner operating mode, the current temperature, the set temperature, the current humidity, the set humidity, and the like.
  • controlling the household electrical appliances according to the constraint information and current state information includes: generating and displaying a control interface according to the constraint information and current state information; obtaining user setting information through the control interface; generating control instructions according to the user setting information; Control home appliances.
  • the constraint information includes parameter rules and instruction rules.
  • the parameter rule is used to determine the mutually exclusive relationship of the controllable parameters of the corresponding household appliances.
  • the instruction rule is used to determine the mutually exclusive relationship of the control instructions of the corresponding household appliances.
  • generating and displaying a control interface according to constraint information and current state information including: obtaining controllable parameters according to current state information; obtaining parameter rules in constraint information; adjusting controllable parameters according to parameter rules to obtain interface parameters ; Generate and display the control interface according to the interface parameters.
  • the controllable parameters are obtained according to the current status information of the household appliances and the constraint information corresponding to the model information of the household appliances is obtained.
  • the parameter rules in the constraint information are used to determine the mutually exclusive relationship of the controllable parameters of the corresponding household appliances.
  • controllable parameters Adjust the controllable parameters to obtain the interface parameters, and generate the control interface according to the interface parameters, so that different types of home appliances correspond to different control interfaces, and then control the corresponding home appliances through different control interfaces, so that the same APP can control different home appliances. control.
  • the control interface can be customized according to the model information of the home appliance and user requirements, making the control interface more humanized, convenient for users to use, and reducing learning costs for users.
  • controlling the household electrical appliance according to the control instruction includes: if the control instruction does not conflict with the constraint information, sending the control instruction to the household electrical appliance, and triggering the household electrical appliance to execute the control instruction.
  • the instruction rules in the constraint information are used to determine the mutual exclusion relationship of the control instructions of the corresponding household appliances.
  • an embodiment of the present disclosure provides a method for controlling a household appliance, including:
  • Step S201 the user terminal obtains the physical communication address of the household electrical appliance
  • Step S202 the user terminal sends the physical communication address of the household electrical appliance to the server;
  • Step S203 the server receives the physical communication address sent by the user terminal and obtains the model information corresponding to the physical communication address;
  • Step S204 the server sends the model information corresponding to the physical communication address to the user terminal;
  • Step S205 the user terminal receives the model information corresponding to the physical communication address sent by the server;
  • Step S206 the user terminal connects to the home appliance according to the physical communication address and model information
  • Step S207 the user terminal sends a status acquisition request to the home appliance
  • Step S208 the household electrical appliance receives the status acquisition request sent by the user terminal
  • Step S209 the home appliance sends current state information to the user terminal
  • Step S210 the user terminal receives the current state information sent by the household electrical appliance
  • Step S211 the user terminal sends the model information of the home appliance to the server;
  • Step S212 the server receives the model information of the household electrical appliance sent by the user terminal and obtains constraint information corresponding to the model information;
  • Step S213 the server sends constraint information corresponding to the model information to the user terminal;
  • Step S214 the user terminal generates and displays a control interface according to the constraint information and current state information
  • Step S215 the user terminal acquires user setting information through the control interface and generates a control instruction according to the user setting information
  • Step S216 the user terminal sends the control command to the household electrical appliance under the condition that the control command does not conflict with the constraint information
  • step S217 the household electrical appliance receives the control instruction sent by the user terminal and executes the control instruction.
  • the user terminal includes a smart phone, a computer, a tablet computer, and the like.
  • the method for controlling household appliances provided by the embodiments of the present disclosure, by connecting the household appliances, obtaining constraint information and current state information of the household appliances, generating a control interface according to the constraint information and current state information, and controlling the household appliances through the control interface.
  • the constraint information and current status information of the connected home appliances By obtaining the constraint information and current status information of the connected home appliances to control the connected home appliances, different home appliances can be controlled through the same APP, and the cost of developing APPs is reduced, which is energy-saving and environmentally friendly.
  • an embodiment of the present disclosure provides an apparatus for controlling a household appliance, including a processor (processor) 300 and a memory (memory) 301 .
  • the device may further include a communication interface (Communication Interface) 302 and a bus 303.
  • the processor 300 , the communication interface 302 , and the memory 301 can communicate with each other through the bus 303 .
  • the communication interface 302 can be used for information transmission.
  • the processor 300 may invoke logic instructions in the memory 301 to execute the method for controlling a household electrical appliance in the above embodiments.
  • the device for controlling household appliances provided by the embodiments of the present disclosure, by connecting the household appliances, obtaining the constraint information and current status information of the household appliances, and controlling the connected household appliances by acquiring the constraint information and current status information of the connected household appliances.
  • the device can realize the control of different home appliances through the same APP.
  • the above logic instructions in the memory 301 may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 301 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 300 executes the program instructions/modules stored in the memory 301 to execute functional applications and data processing, that is, to implement the methods for controlling household appliances in the above-mentioned embodiments.
  • the memory 301 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device, and the like.
  • the memory 301 may include a high-speed random access memory, and may also include a non-volatile memory.
  • An embodiment of the present disclosure provides a device, including the above-mentioned apparatus for controlling a household appliance.
  • the device includes user terminals such as smart phones, computers, and tablet computers.
  • the device obtains the constraint information and current state information of the home appliance by connecting the home appliance, controls the home appliance according to the constraint information and current state information, and controls the connected home appliance by obtaining the constraint information and current state information of the connected home appliance , It can realize the control of different home appliances through the same APP.
  • An embodiment of the present disclosure provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are configured to execute the above-mentioned method for controlling a household electrical appliance.
  • An embodiment of the present disclosure provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the The computer executes the above-mentioned method for controlling household appliances.
  • the above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
  • the technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to make a computer device (which can be a personal computer, a server, or a network equipment, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure.
  • the aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.
  • the term “and/or” as used in this application is meant to include any and all possible combinations of one or more of the associated listed ones.
  • the term “comprise” and its variants “comprises” and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these.
  • an element defined by the statement “comprising a " does not exclude the presence of additional identical elements in the process, method or apparatus comprising said element.
  • the disclosed methods and products can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units may only be a logical function division.
  • multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures.
  • two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • the operations or steps corresponding to different blocks may also occur in a different order than that disclosed in the description, and sometimes there is no specific agreement between different operations or steps.
  • each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present application relates to the technical field of smart homes, and discloses a method for controlling a home appliance, comprising: connecting a home appliance; acquiring constraint information and current state information of the home appliance; and, on the basis of the constraint information and the current state information, controlling the home appliance. By means of connecting a home appliance, constraint information and current state information of the home appliance are acquired and the home appliance is controlled on the basis of the constraint information and the current state information. The connected home appliance is controlled by means of acquiring the constraint information and the current state information of the connected home appliance, enabling different home appliances to be controlled by means of the same app. Also disclosed in the present application are an apparatus for controlling a home appliance, and an appliance.

Description

用于家电设备控制的方法及装置、设备Method, device, and device for controlling household appliances
本申请基于申请号为202110563524.1、申请日为2021年5月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202110563524.1 and a filing date of May 24, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及智能家居技术领域,例如涉及一种用于家电设备控制的方法及装置、设备。The present application relates to the field of smart home technology, for example, to a method, device, and device for controlling household appliances.
背景技术Background technique
在科技飞速发展的生活中,智能家电设备因为人性化的设置、智能便捷的操作方法而受到人们欢迎,普及率在不断增加,为用户提供了便利。但是在生活中,时常会出现找不到智能家电设备的遥控器而无法控制智能家电设备的情况。为了解决这种情况,很多智能家电设备增加了通过APP(Application,应用程序)进行控制的功能。In the life of the rapid development of science and technology, smart home appliances are welcomed by people because of their humanized settings and intelligent and convenient operation methods. The popularity rate is constantly increasing, which provides convenience for users. However, in life, it often happens that the remote control of the smart home appliance cannot be found and the smart home appliance cannot be controlled. In order to solve this situation, many smart home appliances have added a function of controlling through an APP (Application, application program).
在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in related technologies:
在家电设备通过APP进行控制时,因为家电设备的配置不同,需要为不同的家电设备定制不同的APP。When the home appliances are controlled through the APP, because the configurations of the home appliances are different, different APPs need to be customized for different home appliances.
发明内容Contents of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于家电设备控制的方法及装置、设备,以便于通过同一APP控制不同的家电设备。Embodiments of the present disclosure provide a method, device, and device for controlling household electrical appliances, so as to control different household electrical appliances through the same APP.
在一些实施例中,用于家电设备控制的方法,包括:连接家电设备;获取所述家电设备的约束信息和当前状态信息;根据所述约束信息和所述当前状态信息控制所述家电设备。In some embodiments, the method for controlling a home appliance includes: connecting a home appliance; acquiring constraint information and current state information of the home appliance; controlling the home appliance according to the constraint information and the current state information.
在一些实施例中,用于家电设备控制的装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在运行所述程序指令时,执行上述的用于家电设备控制的方 法。In some embodiments, the apparatus for controlling household appliances includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling household appliances when executing the program instructions. .
在一些实施例中,设备包括上述的用于家电设备控制的装置。In some embodiments, the device includes the above-mentioned apparatus for controlling a household appliance.
本公开实施例提供的用于家电设备控制的方法及装置、设备,可以实现以下技术效果:通过连接家电设备,获取家电设备的约束信息和当前状态信息,并根据约束信息和当前状态信息控制家电设备。通过获取连接的家电设备的约束信息和当前状态信息来控制该连接的家电设备,能够实现通过同一APP对不同的家电设备进行控制。The method, device, and device for controlling home appliances provided by the embodiments of the present disclosure can achieve the following technical effects: by connecting home appliances, obtain constraint information and current state information of home appliances, and control home appliances according to the constraint information and current state information equipment. By acquiring the constraint information and the current state information of the connected household appliances to control the connected household appliances, it is possible to control different household appliances through the same APP.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the corresponding drawings, and these exemplifications and drawings do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, The drawings are not limited to scale and in which:
图1是本公开实施例提供的一个用于家电设备控制的方法的示意图;FIG. 1 is a schematic diagram of a method for controlling household appliances provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一个用于家电设备控制的方法的时序图;FIG. 2 is a sequence diagram of a method for controlling household appliances provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一个用于家电设备控制的装置的示意图。Fig. 3 is a schematic diagram of an apparatus for controlling household electrical appliances provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances so as to facilitate the embodiments of the disclosed embodiments described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/ 或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that there can be three relationships. For example, A and/or B means: A or B, or, A and B, these three relationships.
结合图1所示,本公开实施例提供一种用于家电设备控制的方法,包括:As shown in FIG. 1 , an embodiment of the present disclosure provides a method for controlling household appliances, including:
步骤S101,连接家电设备;Step S101, connecting home appliances;
步骤S102,获取家电设备的约束信息和当前状态信息;Step S102, obtaining constraint information and current status information of household electrical appliances;
步骤S103,根据约束信息和当前状态信息控制家电设备。Step S103, controlling the household electrical appliances according to the constraint information and the current state information.
采用本公开实施例提供的用于家电设备控制的方法,通过连接家电设备,获取家电设备的约束信息和当前状态信息,并根据约束信息和当前状态信息控制家电设备,通过获取连接的家电设备的约束信息和当前状态信息来控制该连接的家电设备,能够实现通过同一APP对不同的家电设备进行控制。Using the method for controlling household appliances provided by the embodiments of the present disclosure, by connecting the household appliances, obtaining the constraint information and current state information of the household appliances, and controlling the household appliances according to the constraint information and current state information, by obtaining the connected household appliances Constraint information and current status information are used to control the connected home appliances, and it is possible to control different home appliances through the same APP.
可选地,家电设备包括智能空调、智能电视、智能冰箱等。Optionally, the home appliances include smart air conditioners, smart TVs, smart refrigerators, and the like.
可选地,连接家电设备,包括:获取家电设备的物理通信地址;获取物理通信地址对应的型号信息;根据物理通信地址和型号信息连接家电设备。Optionally, connecting the home appliance includes: acquiring a physical communication address of the home appliance; acquiring model information corresponding to the physical communication address; and connecting the home appliance according to the physical communication address and model information.
可选地,家电设备的物理通信地址为家电设备的蓝牙MAC(Media Access Control Address,媒体存取控制位址)地址。由于智能手机的发展以及成本考虑,越来越多的智能手机不支持红外遥控功能,使得很多通过红外进行遥控的万能遥控APP无法使用。本公开实施例提供的用于家电设备控制的方法,通过蓝牙的通信方式连接家电设备,相较于现有技术中的通过红外进行遥控的万能遥控APP使用范围更加广泛,便于用户通过同一APP对不同的家电设备进行控制。Optionally, the physical communication address of the home appliance is a Bluetooth MAC (Media Access Control Address, Media Access Control Address) address of the home appliance. Due to the development of smart phones and cost considerations, more and more smart phones do not support the infrared remote control function, making many universal remote control APPs that use infrared remote control unusable. The method for controlling home appliances provided by the embodiments of the present disclosure uses bluetooth communication to connect home appliances. Compared with the universal remote control APP that uses infrared remote control in the prior art, the use range is wider, and it is convenient for users to control the home appliances through the same APP. Control different home appliances.
可选地,获取家电设备的物理通信地址,包括:获取家电设备的蓝牙UUID(Universally Unique Identifier,通用唯一识别码);根据预设的关联关系获取蓝牙UUID对应的蓝牙MAC地址;将蓝牙MAC地址确定为家电设备的物理通信地址。由于iOS(i-Operation System,苹果移动操作系统)系统的安全考虑,安装iOS系统的用户终端无法获取到家电设备的蓝牙MAC地址,只能获取到家电设备的蓝牙UUID。在广播协议或用户终端中储存家电设备的蓝牙UUID与蓝牙MAC地址之间的关联关系,根据该关联关系获取蓝牙UUID对应的蓝牙MAC地址,将蓝牙MAC地址确定为家电设备的物理通信地址,进而通过物理通信地址和对应的型号信息连接家电设备,便于用户控制家电设备。Optionally, obtaining the physical communication address of the home appliance includes: obtaining the Bluetooth UUID (Universally Unique Identifier, Universally Unique Identifier) of the home appliance; obtaining the Bluetooth MAC address corresponding to the Bluetooth UUID according to the preset association relationship; Determined as the physical communication address of the home appliance. Due to the security considerations of the iOS (i-Operation System, Apple mobile operating system) system, the user terminal installed with the iOS system cannot obtain the Bluetooth MAC address of the home appliance, but can only obtain the Bluetooth UUID of the home appliance. Store the relationship between the Bluetooth UUID and the Bluetooth MAC address of the home appliance in the broadcast protocol or user terminal, obtain the Bluetooth MAC address corresponding to the Bluetooth UUID according to the relationship, and determine the Bluetooth MAC address as the physical communication address of the home appliance, and then The home appliance is connected through the physical communication address and the corresponding model information, so that the user can control the home appliance.
可选地,获取物理通信地址对应的型号信息,包括:发送家电设备的物理通信地址给服务器,触发服务器反馈物理通信地址对应的型号信息;接收服务器反馈的型号信息。Optionally, obtaining the model information corresponding to the physical communication address includes: sending the physical communication address of the household electrical appliance to the server, triggering the server to feed back the model information corresponding to the physical communication address; receiving the model information fed back by the server.
在一些实施例中,将家电设备的物理通信地址及其对应的型号信息进行展示,接收用户In some embodiments, the physical communication address of the household appliance and its corresponding model information are displayed, and the receiving user
可选地,根据物理通信地址和型号信息连接家电设备,包括:展示型号信息;接收用户输入的包含型号信息的选择指令;通过选择指令中包含的型号信息对应的物理通信地址连接家电设备。Optionally, connecting the home appliance according to the physical communication address and model information includes: displaying the model information; receiving a user-input selection instruction including the model information; connecting the home appliance through the physical communication address corresponding to the model information included in the selection instruction.
在一些实施例中,用户终端展示若干个物理通信地址对应的型号信息,用户可以在展示的型号信息中选择对应的家电设备进行连接,接收用户输入的包含型号信息的选择指令;通过选择指令中包含的型号信息对应的物理通信地址连接家电设备。这样,通过型号信息确定需要连接的家电设备,解决了用户难以通过物理通信地址区分对应的家电设备是否是需要连接的家电设备,进而可能连接错误的家电设备的问题,便于用户连接和控制家电设备。In some embodiments, the user terminal displays the model information corresponding to several physical communication addresses, and the user can select the corresponding household electrical appliance in the model information displayed to connect, and receive the selection instruction input by the user including the model information; through the selection instruction The physical communication address corresponding to the included model information is connected to the home appliance. In this way, the household appliances that need to be connected are determined through the model information, which solves the problem that it is difficult for users to distinguish whether the corresponding household appliances are household appliances that need to be connected through the physical communication address, and thus may connect the wrong household appliances. It is convenient for users to connect and control household appliances .
可选地,连接家电设备后,还包括:获取用户终端对应的账户ID;获取家电设备的设备ID;将账户ID、设备ID、物理通信地址和型号信息发送至服务器,触发服务器对账户ID、设备ID、物理通信地址和型号信息进行关联储存。Optionally, after connecting the home appliance, it also includes: obtaining the account ID corresponding to the user terminal; obtaining the device ID of the home appliance; sending the account ID, device ID, physical communication address and model information to the server, and triggering the server to check the account ID, Device ID, physical communication address and model information are stored in association.
可选地,发送设备ID给服务器,触发服务器反馈设备ID对应的物理通信地址和型号信息;接收服务器反馈的设备ID对应的物理通信地址和型号信息;根据物理通信地址和型号信息连接家电设备。用户终端将账户ID、设备ID、物理通信地址和型号信息进行关联并储存在服务器中,在需要再次连接家电设备的情况下,用户终端直接获取服务器储存的家电设备对应的物理通信地址和型号信息来连接家电设备,便于与家电设备之间的再次连接。Optionally, sending the device ID to the server triggers the server to feed back the physical communication address and model information corresponding to the device ID; receive the physical communication address and model information corresponding to the device ID fed back by the server; connect the home appliance according to the physical communication address and model information. The user terminal associates the account ID, device ID, physical communication address and model information and stores them in the server. When the home appliance needs to be connected again, the user terminal directly obtains the physical communication address and model information corresponding to the home appliance stored in the server. To connect the home appliances to facilitate the reconnection with the home appliances.
可选地,连接家电设备后,还包括:获取用户终端对应的账户ID;获取家电设备的设备ID;将账户ID、设备ID、物理通信地址和型号信息发送至家电设备,触发家电设备对账户ID、设备ID、物理通信地址和型号信息进行关联储存。Optionally, after connecting the home appliance, it also includes: obtaining the account ID corresponding to the user terminal; obtaining the device ID of the home appliance; sending the account ID, device ID, physical communication address and model information to the home appliance, and triggering the account registration of the home appliance. ID, device ID, physical communication address and model information are stored in association.
可选地,触发家电设备对账户ID、设备ID、物理通信地址和型号信息进行关联,并存储到预设的数据库中。Optionally, the trigger household appliance associates the account ID, device ID, physical communication address and model information, and stores them in a preset database.
可选地,获取当前用户终端的账户ID,发送包含当前用户终端的账户ID的连接请求给家电设备,触发家电设备在预设的数据库中查找与当前用户终端的账户ID相同的账户ID,在没有查找到相同的账户ID的情况下,拒绝连接请求。这样,将账户ID作为认证凭证添加到家电设备中,断开连接后再次发送连接请求给家电设备,触发家电设备将当前用户终端的账户ID与家电设备数据库中的账户ID进行比较,在当前用户终 端的账户ID与家电设备数据库中的账户ID不相同,即数据库中没有与当前用户终端表征同一个账户的情况下,拒绝连接请求,防止其他账户的用户终端连接并控制家电设备,提高连接家电设备的安全性。Optionally, obtain the account ID of the current user terminal, send a connection request containing the account ID of the current user terminal to the home appliance, trigger the home appliance to search for the same account ID as the account ID of the current user terminal in a preset database, and If the same account ID is not found, the connection request is rejected. In this way, the account ID is added to the home appliance as an authentication credential, and the connection request is sent to the home appliance again after disconnection, which triggers the home appliance to compare the account ID of the current user terminal with the account ID in the home appliance database. The account ID of the terminal is different from the account ID in the home appliance database, that is, if the database does not represent the same account as the current user terminal, the connection request is rejected, preventing user terminals of other accounts from connecting to and controlling home appliances, and improving the efficiency of connecting home appliances. Device Security.
可选地,获取当前用户终端的账户ID,发送包含当前用户终端的账户ID的解除绑定指令给家电设备,触发家电设备在预设的数据库中查找与当前用户终端的账户ID相同的账户ID,在查找到相同的账户ID的情况下,删除家电设备数据库中账户ID对应的关联信息。这样,将账户ID作为认证凭证添加到家电设备中,在需要解除与家电设备的绑定的情况下,发送包含当前用户终端的账户ID的解除绑定指令给家电设备,触发家电设备将当前用户终端的账户ID与家电设备数据库中的账户ID进行比较,在当前用户终端的账户ID与家电设备数据库中的账户ID相同,即数据库中存在与当前用户终端表征同一个账户的情况下,删除账户ID对应的关联信息,继续连接其他账户的用户终端,提高连接家电设备的安全性。Optionally, obtain the account ID of the current user terminal, send an unbinding command containing the account ID of the current user terminal to the home appliance, and trigger the home appliance to search for the same account ID as the account ID of the current user terminal in a preset database , if the same account ID is found, delete the associated information corresponding to the account ID in the household appliance database. In this way, the account ID is added to the home appliance as an authentication credential, and when it is necessary to unbind the home appliance, an unbinding command containing the account ID of the current user terminal is sent to the home appliance to trigger the home appliance to unbind the current user terminal. Compare the account ID of the terminal with the account ID in the home appliance database, and delete the account if the account ID of the current user terminal is the same as the account ID in the home appliance database, that is, the same account as the current user terminal exists in the database The associated information corresponding to the ID can continue to connect to user terminals of other accounts, improving the security of connected home appliances.
可选地,获取家电设备的约束信息,包括:发送家电设备的型号信息给服务器,触发服务器反馈型号信息对应的约束信息;接收服务器反馈的约束信息,将服务器反馈的约束信息确定为家电设备的约束信息。Optionally, obtaining the constraint information of the home appliance includes: sending the model information of the home appliance to the server, triggering the server to feed back constraint information corresponding to the model information; receiving the constraint information fed back by the server, and determining the constraint information fed back by the server as the home appliance Constraint information.
可选地,获取家电设备的当前状态信息,包括:发送状态获取请求给家电设备,触发家电设备反馈家电设备的当前状态信息;接收家电设备反馈的当前状态信息。在一些实施例中,智能空调反馈的当前状态信息包括当前空调运行模式、可执行空调运行模式、当前温度、设置温度、当前湿度、设置湿度等。Optionally, acquiring the current status information of the household electrical appliance includes: sending a status acquisition request to the household electrical appliance, triggering the household electrical appliance to feed back the current status information of the household electrical appliance; and receiving the current status information fed back by the household electrical appliance. In some embodiments, the current state information fed back by the smart air conditioner includes the current air conditioner operating mode, the executable air conditioner operating mode, the current temperature, the set temperature, the current humidity, the set humidity, and the like.
可选地,根据约束信息和当前状态信息控制家电设备,包括:根据约束信息和当前状态信息生成控制界面并进行显示;通过控制界面获取用户设置信息;根据用户设置信息生成控制指令;根据控制指令控制家电设备。Optionally, controlling the household electrical appliances according to the constraint information and current state information includes: generating and displaying a control interface according to the constraint information and current state information; obtaining user setting information through the control interface; generating control instructions according to the user setting information; Control home appliances.
可选地,约束信息包括参数规则和指令规则。可选的,参数规则用于确定对应的家电设备的可控制参数的互斥关系。可选地,指令规则用于确定对应的家电设备的控制指令的互斥关系。Optionally, the constraint information includes parameter rules and instruction rules. Optionally, the parameter rule is used to determine the mutually exclusive relationship of the controllable parameters of the corresponding household appliances. Optionally, the instruction rule is used to determine the mutually exclusive relationship of the control instructions of the corresponding household appliances.
可选地,根据约束信息和当前状态信息生成控制界面并进行显示,包括:根据当前状态信息获取可控制参数;获取约束信息中的参数规则;根据参数规则对可控制参数进行调整,获得界面参数;根据界面参数生成控制界面并进行显示。这样,根据家电设备的当前状态信息获得可控制参数并获取家电设备的型号信息对应的约束信息,约束信息中的参数规则用于确定对应的家电设备的可控制参数的互斥关系,通过参数规则对可 控制参数进行调整获得界面参数,根据界面参数生成控制界面,使得不同型号的家电设备对应不同的控制界面,进而通过不同的控制界面控制对应的家电设备,实现同一APP对不同的家电设备进行控制。并且控制界面能够根据家电设备的型号信息和用户需求进行定制,使得控制界面更人性化,便于用户使用,降低用户的学习成本。Optionally, generating and displaying a control interface according to constraint information and current state information, including: obtaining controllable parameters according to current state information; obtaining parameter rules in constraint information; adjusting controllable parameters according to parameter rules to obtain interface parameters ; Generate and display the control interface according to the interface parameters. In this way, the controllable parameters are obtained according to the current status information of the household appliances and the constraint information corresponding to the model information of the household appliances is obtained. The parameter rules in the constraint information are used to determine the mutually exclusive relationship of the controllable parameters of the corresponding household appliances. Through the parameter rules Adjust the controllable parameters to obtain the interface parameters, and generate the control interface according to the interface parameters, so that different types of home appliances correspond to different control interfaces, and then control the corresponding home appliances through different control interfaces, so that the same APP can control different home appliances. control. In addition, the control interface can be customized according to the model information of the home appliance and user requirements, making the control interface more humanized, convenient for users to use, and reducing learning costs for users.
可选地,根据控制指令控制家电设备,包括:在控制指令与约束信息不冲突的情况下,发送控制指令给家电设备,触发家电设备执行控制指令。通过获取家电设备的型号信息对应的约束信息,约束信息中的指令规则用于确定对应的家电设备的控制指令的互斥关系,在发送控制指令给家电设备前先根据指令规则检查控制指令是否可以被该家电设备执行,避免控制指令与家电设备不匹配造成无法执行的问题,从而实现了通过同一APP对不同的家电设备进行控制。Optionally, controlling the household electrical appliance according to the control instruction includes: if the control instruction does not conflict with the constraint information, sending the control instruction to the household electrical appliance, and triggering the household electrical appliance to execute the control instruction. By obtaining the constraint information corresponding to the model information of the household appliances, the instruction rules in the constraint information are used to determine the mutual exclusion relationship of the control instructions of the corresponding household appliances. Before sending the control instructions to the household appliances, check whether the control instructions are valid according to the instruction rules It is executed by the home appliance, avoiding the problem that the control instruction does not match the home appliance and cannot be executed, thus realizing the control of different home appliances through the same APP.
根据图2所示,本公开实施例提供一种用于家电设备控制的方法,包括:As shown in FIG. 2 , an embodiment of the present disclosure provides a method for controlling a household appliance, including:
步骤S201,用户终端获取家电设备的物理通信地址;Step S201, the user terminal obtains the physical communication address of the household electrical appliance;
步骤S202,用户终端发送家电设备的物理通信地址给服务器;Step S202, the user terminal sends the physical communication address of the household electrical appliance to the server;
步骤S203,服务器接收用户终端发送的物理通信地址并获取物理通信地址对应的型号信息;Step S203, the server receives the physical communication address sent by the user terminal and obtains the model information corresponding to the physical communication address;
步骤S204,服务器发送物理通信地址对应的型号信息给用户终端;Step S204, the server sends the model information corresponding to the physical communication address to the user terminal;
步骤S205,用户终端接收服务器发送的物理通信地址对应的型号信息;Step S205, the user terminal receives the model information corresponding to the physical communication address sent by the server;
步骤S206,用户终端根据物理通信地址和型号信息连接家电设备;Step S206, the user terminal connects to the home appliance according to the physical communication address and model information;
步骤S207,用户终端发送状态获取请求给家电设备;Step S207, the user terminal sends a status acquisition request to the home appliance;
步骤S208,家电设备接收用户终端发送的状态获取请求;Step S208, the household electrical appliance receives the status acquisition request sent by the user terminal;
步骤S209,家电设备发送当前状态信息给用户终端;Step S209, the home appliance sends current state information to the user terminal;
步骤S210,用户终端接收家电设备发送的当前状态信息;Step S210, the user terminal receives the current state information sent by the household electrical appliance;
步骤S211,用户终端发送家电设备的型号信息给服务器;Step S211, the user terminal sends the model information of the home appliance to the server;
步骤S212,服务器接收用户终端发送的家电设备的型号信息并获取型号信息对应的约束信息;Step S212, the server receives the model information of the household electrical appliance sent by the user terminal and obtains constraint information corresponding to the model information;
步骤S213,服务器发送型号信息对应的约束信息给用户终端;Step S213, the server sends constraint information corresponding to the model information to the user terminal;
步骤S214,用户终端根据约束信息和当前状态信息生成控制界面并进行显示;Step S214, the user terminal generates and displays a control interface according to the constraint information and current state information;
步骤S215,用户终端通过控制界面获取用户设置信息并根据用户设置信息生成控制指令;Step S215, the user terminal acquires user setting information through the control interface and generates a control instruction according to the user setting information;
步骤S216,用户终端在控制指令与约束信息不冲突的情况下,发送控制指令给家 电设备;Step S216, the user terminal sends the control command to the household electrical appliance under the condition that the control command does not conflict with the constraint information;
步骤S217,家电设备接收用户终端发送的控制指令并执行控制指令。In step S217, the household electrical appliance receives the control instruction sent by the user terminal and executes the control instruction.
可选地,用户终端包括智能手机,计算机,平板电脑等。Optionally, the user terminal includes a smart phone, a computer, a tablet computer, and the like.
采用本公开实施例提供的用于家电设备控制的方法,通过连接家电设备,获取家电设备的约束信息和当前状态信息,并根据约束信息和当前状态信息生成控制界面并通过控制界面控制家电设备。通过获取连接的家电设备的约束信息和当前状态信息来控制该连接的家电设备,能够实现通过同一APP对不同的家电设备进行控制,并且降低了研发APP的成本,节能环保。Using the method for controlling household appliances provided by the embodiments of the present disclosure, by connecting the household appliances, obtaining constraint information and current state information of the household appliances, generating a control interface according to the constraint information and current state information, and controlling the household appliances through the control interface. By obtaining the constraint information and current status information of the connected home appliances to control the connected home appliances, different home appliances can be controlled through the same APP, and the cost of developing APPs is reduced, which is energy-saving and environmentally friendly.
结合图3所示,本公开实施例提供一种用于家电设备控制的装置,包括处理器(processor)300和存储器(memory)301。可选地,该装置还可以包括通信接口(Communication Interface)302和总线303。其中,处理器300、通信接口302、存储器301可以通过总线303完成相互间的通信。通信接口302可以用于信息传输。处理器300可以调用存储器301中的逻辑指令,以执行上述实施例的用于家电设备控制的方法。As shown in FIG. 3 , an embodiment of the present disclosure provides an apparatus for controlling a household appliance, including a processor (processor) 300 and a memory (memory) 301 . Optionally, the device may further include a communication interface (Communication Interface) 302 and a bus 303. Wherein, the processor 300 , the communication interface 302 , and the memory 301 can communicate with each other through the bus 303 . The communication interface 302 can be used for information transmission. The processor 300 may invoke logic instructions in the memory 301 to execute the method for controlling a household electrical appliance in the above embodiments.
采用本公开实施例提供的用于家电设备控制的装置,通过连接家电设备,获取家电设备的约束信息和当前状态信息,通过获取连接的家电设备的约束信息和当前状态信息来控制该连接的家电设备,能够实现通过同一APP对不同的家电设备进行控制。Using the device for controlling household appliances provided by the embodiments of the present disclosure, by connecting the household appliances, obtaining the constraint information and current status information of the household appliances, and controlling the connected household appliances by acquiring the constraint information and current status information of the connected household appliances The device can realize the control of different home appliances through the same APP.
此外,上述的存储器301中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above logic instructions in the memory 301 may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as an independent product.
存储器301作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器300通过运行存储在存储器301中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述实施例中用于家电设备控制的方法。The memory 301, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 300 executes the program instructions/modules stored in the memory 301 to execute functional applications and data processing, that is, to implement the methods for controlling household appliances in the above-mentioned embodiments.
存储器301可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器301可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device, and the like. In addition, the memory 301 may include a high-speed random access memory, and may also include a non-volatile memory.
本公开实施例提供了一种设备,包含上述的用于家电设备控制的装置。可选地,该设备包括智能手机,计算机,平板电脑等用户终端。An embodiment of the present disclosure provides a device, including the above-mentioned apparatus for controlling a household appliance. Optionally, the device includes user terminals such as smart phones, computers, and tablet computers.
该设备通过连接家电设备,获取家电设备的约束信息和当前状态信息,并根据约束信息和当前状态信息控制家电设备,通过获取连接的家电设备的约束信息和当前状态信息来控制该连接的家电设备,能够实现通过同一APP对不同的家电设备进行控制。The device obtains the constraint information and current state information of the home appliance by connecting the home appliance, controls the home appliance according to the constraint information and current state information, and controls the connected home appliance by obtaining the constraint information and current state information of the connected home appliance , It can realize the control of different home appliances through the same APP.
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述用于家电设备控制的方法。An embodiment of the present disclosure provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are configured to execute the above-mentioned method for controlling a household electrical appliance.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述用于家电设备控制的方法。An embodiment of the present disclosure provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the The computer executes the above-mentioned method for controlling household appliances.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to make a computer device (which can be a personal computer, a server, or a network equipment, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well unless the context clearly indicates otherwise . Similarly, the term "and/or" as used in this application is meant to include any and all possible combinations of one or more of the associated listed ones. Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element defined by the statement "comprising a ..." does not exclude the presence of additional identical elements in the process, method or apparatus comprising said element. Herein, what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments may refer to each other. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及 算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. Said artisans may implement the described functions using different methods for each particular application, but such implementation should not be regarded as exceeding the scope of the disclosed embodiments. The skilled person can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than that disclosed in the description, and sometimes there is no specific agreement between different operations or steps. order. For example, two consecutive operations or steps may, in fact, be performed substantially concurrently, or they may sometimes be performed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.

Claims (10)

  1. 一种用于家电设备控制的方法,其特征在于,包括:A method for controlling household electrical appliances, characterized by comprising:
    连接家电设备;Connecting home appliances;
    获取所述家电设备的约束信息和当前状态信息;Acquiring constraint information and current state information of the household electrical appliances;
    根据所述约束信息和所述当前状态信息控制所述家电设备。and controlling the household electrical appliances according to the constraint information and the current state information.
  2. 根据权利要求1所述的方法,其特征在于,连接家电设备,包括:The method according to claim 1, characterized in that, connecting the household appliances comprises:
    获取家电设备的物理通信地址;Obtain the physical communication address of the home appliance;
    获取所述物理通信地址对应的型号信息;Obtaining model information corresponding to the physical communication address;
    根据所述物理通信地址和所述型号信息连接所述家电设备。Connecting the household electrical appliances according to the physical communication address and the model information.
  3. 根据权利要求2所述的方法,其特征在于,获取物理通信地址对应的型号信息,包括:The method according to claim 2, wherein obtaining the model information corresponding to the physical communication address comprises:
    发送家电设备的物理通信地址给服务器,触发所述服务器反馈所述物理通信地址对应的型号信息;Sending the physical communication address of the home appliance to the server, triggering the server to feed back the model information corresponding to the physical communication address;
    接收所述服务器反馈的型号信息。Receive model information fed back by the server.
  4. 根据权利要求2所述的方法,其特征在于,连接家电设备后,还包括:The method according to claim 2, characterized in that, after connecting the home appliances, further comprising:
    获取用户终端对应的账户ID;获取家电设备的设备ID;Obtain the account ID corresponding to the user terminal; obtain the device ID of the home appliance;
    将所述账户ID、所述设备ID、物理通信地址和型号信息发送至家电设备,触发所述家电设备对所述账户ID、所述设备ID、所述物理通信地址和所述型号信息进行关联储存。Send the account ID, the device ID, the physical communication address and the model information to the home appliance, triggering the home appliance to associate the account ID, the device ID, the physical communication address and the model information store.
  5. 根据权利要求2所述的方法,其特征在于,获取家电设备的约束信息,包括:The method according to claim 2, wherein obtaining constraint information of household appliances includes:
    发送家电设备的型号信息给服务器,触发所述服务器反馈所述型号信息对应的约束信息;Sending the model information of the home appliance to the server, triggering the server to feed back constraint information corresponding to the model information;
    接收所述服务器反馈的约束信息,将所述服务器反馈的约束信息确定为家电设备的约束信息。The constraint information fed back by the server is received, and the constraint information fed back by the server is determined as the constraint information of the household electrical appliance.
  6. 根据权利要求1所述的方法,其特征在于,获取家电设备的当前状态信息,包括:The method according to claim 1, wherein obtaining the current status information of the household electrical appliances comprises:
    发送状态获取请求给所述家电设备,触发所述家电设备反馈所述家电设备的当前状态信息;sending a status acquisition request to the household electrical appliance, triggering the household electrical appliance to feed back the current status information of the household electrical appliance;
    接收所述家电设备反馈的当前状态信息。The current state information fed back by the household electrical appliance is received.
  7. 根据权利要求1所述的方法,其特征在于,根据约束信息和当前状态信息控制家电设备,包括:The method according to claim 1, wherein controlling the home appliance according to the constraint information and the current state information comprises:
    根据约束信息和当前状态信息生成控制界面并进行显示;Generate and display a control interface based on constraint information and current state information;
    通过所述控制界面获取用户设置信息;Obtain user setting information through the control interface;
    根据所述用户设置信息生成控制指令;generating a control instruction according to the user setting information;
    根据所述控制指令控制家电设备。The household appliances are controlled according to the control instructions.
  8. 根据权利要求7所述的方法,其特征在于,根据所述控制指令控制家电设备,包括:The method according to claim 7, wherein controlling the household electrical appliances according to the control instruction comprises:
    在所述控制指令与所述约束信息不冲突的情况下,发送控制指令给所述家电设备,触发所述家电设备执行所述控制指令。In the case that the control instruction does not conflict with the constraint information, the control instruction is sent to the home appliance, and the home appliance is triggered to execute the control instruction.
  9. 一种用于家电设备控制的装置,包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在运行所述程序指令时,执行如权利要求1至8任一项所述的用于家电设备控制的方法。A device for controlling household electrical appliances, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute any one of claims 1 to 8 when running the program instructions. The method for controlling household appliances.
  10. 一种设备,其特征在于,包括如权利要求9所述的用于家电设备控制的装置。A device, characterized by comprising the device for controlling household electrical appliances as claimed in claim 9 .
PCT/CN2022/078590 2021-05-24 2022-03-01 Method and apparatus for controlling home appliance, and appliance WO2022247373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110563524.1A CN113341738A (en) 2021-05-24 2021-05-24 Method, device and equipment for controlling household appliance
CN202110563524.1 2021-05-24

Publications (1)

Publication Number Publication Date
WO2022247373A1 true WO2022247373A1 (en) 2022-12-01

Family

ID=77470970

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078590 WO2022247373A1 (en) 2021-05-24 2022-03-01 Method and apparatus for controlling home appliance, and appliance

Country Status (2)

Country Link
CN (1) CN113341738A (en)
WO (1) WO2022247373A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113341738A (en) * 2021-05-24 2021-09-03 青岛海尔空调器有限总公司 Method, device and equipment for controlling household appliance
CN114253145A (en) * 2021-11-11 2022-03-29 青岛海尔空调器有限总公司 Control method and control device for household appliance and household appliance control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1317099A2 (en) * 2001-11-29 2003-06-04 Matsushita Electric Industrial Co., Ltd. Appliance control system and method using mobile communications terminal, and home gateway
CN106789466A (en) * 2016-12-19 2017-05-31 海尔优家智能科技(北京)有限公司 The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN109116748A (en) * 2018-10-30 2019-01-01 滁州市易搜信息技术有限公司 Smart home interaction platform management system based on Internet of Things
CN109167711A (en) * 2018-11-02 2019-01-08 珠海格力电器股份有限公司 A kind of control method of household electrical appliances, device, storage medium and server
CN109976176A (en) * 2019-03-26 2019-07-05 佛山市顺德区美的洗涤电器制造有限公司 Control method, Intelligent control equipment and the system of split type household appliance
CN113341738A (en) * 2021-05-24 2021-09-03 青岛海尔空调器有限总公司 Method, device and equipment for controlling household appliance

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8554376B1 (en) * 2012-09-30 2013-10-08 Nest Labs, Inc Intelligent controller for an environmental control system
CN103309308B (en) * 2013-05-17 2016-08-10 华为技术有限公司 A kind of device intelligence control method and device, system, PnP device
CN105739460B (en) * 2014-12-12 2018-11-09 青岛海尔智能家电科技有限公司 A kind of method and apparatus for the control interface automatically generating Internet of Things household electrical appliances
CN110488619B (en) * 2019-07-29 2023-04-07 维达力实业(深圳)有限公司 Information interaction system of household appliance and control method and device of household appliance
CN111522264B (en) * 2020-04-02 2024-01-23 青岛海尔科技有限公司 Control method and device of equipment, storage medium and electronic device
CN112526892B (en) * 2020-12-18 2022-08-05 青岛海尔科技有限公司 Method and device for controlling intelligent household equipment and electronic equipment
CN112612214B (en) * 2020-12-23 2023-02-03 青岛海尔科技有限公司 Method and system for generating functional interface and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1317099A2 (en) * 2001-11-29 2003-06-04 Matsushita Electric Industrial Co., Ltd. Appliance control system and method using mobile communications terminal, and home gateway
CN106789466A (en) * 2016-12-19 2017-05-31 海尔优家智能科技(北京)有限公司 The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN109116748A (en) * 2018-10-30 2019-01-01 滁州市易搜信息技术有限公司 Smart home interaction platform management system based on Internet of Things
CN109167711A (en) * 2018-11-02 2019-01-08 珠海格力电器股份有限公司 A kind of control method of household electrical appliances, device, storage medium and server
CN109976176A (en) * 2019-03-26 2019-07-05 佛山市顺德区美的洗涤电器制造有限公司 Control method, Intelligent control equipment and the system of split type household appliance
CN113341738A (en) * 2021-05-24 2021-09-03 青岛海尔空调器有限总公司 Method, device and equipment for controlling household appliance

Also Published As

Publication number Publication date
CN113341738A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
EP3506031B1 (en) Smart household control method and system
EP3016318B1 (en) Method and apparatus for customizing scene mode of intelligent device
CN108141394B (en) Home automation system including a safety controller for terminating communication with an abnormally operated addressable device and related methods
WO2022247373A1 (en) Method and apparatus for controlling home appliance, and appliance
RU2605578C1 (en) Method and device for controlling intelligent device basing on preliminarily specified scenario mode
US10116602B2 (en) System and methods for device to device control
US11277278B2 (en) Smart home service server and control method therefor
US9241358B2 (en) Wireless network configuration method and system for smart appliance
CN109246604B (en) Intelligent device safety binding method, server, intelligent device and user side device
JP6473743B2 (en) Configuration connection device
WO2016193417A1 (en) Home appliance control method and control system
US9514641B2 (en) Smart remote control
CN108055339B (en) Household appliance interconnection method and device, storage medium and cloud platform server
TW200523741A (en) Simple and dynamic configuration of network devices
CN106789466B (en) Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
WO2014090052A1 (en) Control method and device for wireless network access
AU2016361086A1 (en) Smart home service server and control method therefor
US20220022022A1 (en) Device discovery method and apparatus, control terminal, and internet of things auxiliary device
WO2017088795A1 (en) Method and device for controlling smart appliance
WO2023010962A1 (en) Method and apparatus for bluetooth device networking, server, mobile terminal, and bluetooth gateway device
WO2023082660A1 (en) Household appliance control method and control apparatus and household appliance control system
WO2022242207A1 (en) Voice information processing method and system, and apparatus for processing voice information
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
US20160124403A1 (en) Method and server of customizing scenario mode for smart devices
US20170257225A1 (en) Smart switch controlling system and method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22810107

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE