CN108199857B - Household appliance, control method and system thereof, and computer readable storage medium - Google Patents

Household appliance, control method and system thereof, and computer readable storage medium Download PDF

Info

Publication number
CN108199857B
CN108199857B CN201810010692.6A CN201810010692A CN108199857B CN 108199857 B CN108199857 B CN 108199857B CN 201810010692 A CN201810010692 A CN 201810010692A CN 108199857 B CN108199857 B CN 108199857B
Authority
CN
China
Prior art keywords
resource
household appliance
home
appliance
household
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
CN201810010692.6A
Other languages
Chinese (zh)
Other versions
CN108199857A (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810010692.6A priority Critical patent/CN108199857B/en
Publication of CN108199857A publication Critical patent/CN108199857A/en
Application granted granted Critical
Publication of CN108199857B publication Critical patent/CN108199857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a control method of household electrical appliance, which comprises the following steps: a first household appliance device in a current local area network broadcasts or multicasts a resource query request so as to feed back respective resource information to the first household appliance device when other household appliance devices receive the resource query request; determining a second household appliance with the current required resources of the first household appliance according to the resource information; sending a resource execution request to the second household appliance device so that the second household appliance device can execute the current required resource and feed back corresponding resource data to the first household appliance device; and when the resource data fed back by the second household appliance is received, executing corresponding operation according to the resource data. The invention also discloses the household appliance, a control system of the household appliance and a computer readable storage medium. The invention improves the efficiency and reliability of linkage between the household appliances.

Description

Household appliance, control method and system thereof, and computer readable storage medium
Technical Field
The invention relates to the technical field of smart home, in particular to household appliances, a control method and a system thereof, and a computer readable storage medium.
Background
In the current smart home system, home appliances such as an air conditioner, a humidifier and a purifier are mainly converted by a server in a mode of accessing the internet to realize linkage among the home appliances. Because the linkage between the household appliances depends on the internet and the server, the interaction time between the household appliances is longer, and the normal linkage between the household appliances is influenced once the conditions of poor network quality, server failure and the like occur. In summary, at present, the linkage between home appliances is not efficient and reliable.
Disclosure of Invention
The invention mainly aims to provide household appliances, a control method and a system thereof, and a computer readable storage medium, and aims to solve the technical problem that the efficiency and reliability of linkage between the household appliances are not high in the prior art.
In order to achieve the above object, the present invention provides a method for controlling a home appliance, comprising:
a first household appliance device in a current local area network broadcasts or multicasts a resource query request so as to feed back respective resource information to the first household appliance device when other household appliance devices receive the resource query request;
determining a second household appliance with the current required resource of the first household appliance according to the resource information, wherein the first household appliance does not have the current required resource;
sending a resource execution request to the second household appliance device so that the second household appliance device can execute the current required resource and feed back corresponding resource data to the first household appliance device;
and when the resource data fed back by the second household appliance is received, executing corresponding operation according to the resource data.
Preferably, the step of sending a resource execution request to the second home device for the second home device to execute the currently required resource and feeding back corresponding resource data to the first home device includes:
and sending the resource execution request to the second household appliance equipment based on a UDP (user Datagram protocol) so as to enable the second household appliance equipment to execute the current required resource, and feeding back corresponding resource data to the first household appliance equipment based on the UDP.
Preferably, the step of broadcasting or multicasting the resource query request by the first home appliance device in the current local area network, so that the other home appliance devices feed back respective resource information to the first home appliance device when receiving the resource query request, includes:
and the first household appliance multicasts the resource query request so that the household appliances in the group to which the first household appliance belongs in the current local area network feed back respective resource information to the first household appliance when receiving the resource query request.
Preferably, before the step of executing the corresponding operation according to the resource data, the method further includes:
acquiring the current running state of the first household appliance;
the step of executing the corresponding operation according to the resource data comprises:
and executing corresponding operation according to the resource data and the current running state of the first household appliance.
Preferably, after the step of broadcasting or multicasting the resource query request by the first home appliance device in the current local area network to allow the other home appliance devices to feed back respective resource information to the first home appliance device when receiving the resource query request, the method further includes:
generating and storing a corresponding resource list according to the resource information;
the control method of the household appliance further comprises the following steps:
and broadcasting or multicasting the resource inquiry request at regular time so as to update the resource list according to the acquired resource information.
Preferably, the resource information is a resource descriptor, wherein each resource corresponds to a unique resource descriptor.
In addition, to achieve the above object, the present invention further provides a home appliance, including: the present invention relates to a method for controlling a home device, and more particularly, to a method for controlling a home device, which includes a memory, a processor, and a home device control program stored in the memory and executable on the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, on which a home appliance control program is stored, the home appliance control program, when executed by a processor, implementing the steps of the method for controlling a home appliance as described above.
In addition, in order to achieve the above object, the present invention further provides a method for controlling a home appliance, including:
the second household appliance receives a resource execution request sent by the first household appliance in the current local area network; the first household appliance equipment does not have the currently required resources, and the second household appliance equipment has the currently required resources;
executing the current required resource according to the resource execution request to obtain corresponding resource data;
and feeding back the resource data to the first household appliance, so that the first household appliance executes corresponding operation according to the resource data when receiving the resource data.
In addition, in order to achieve the above object, the present invention further provides a home appliance, which includes a memory, a processor, and a home appliance control program stored in the memory and executable on the processor, wherein the home appliance control program, when executed by the processor, implements the steps of the method for controlling a home appliance as described above.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, on which a home appliance control program is stored, the home appliance control program, when executed by a processor, implementing the steps of the method for controlling a home appliance as described above.
In addition, in order to achieve the above object, the present invention further provides a control system of a home appliance, the control system of a home appliance includes a first home appliance and a second home appliance, wherein:
the first household appliance device is used for broadcasting or multicasting a resource query request, determining the second household appliance device with resources required by the first household appliance device currently according to resource information fed back by other household appliance devices in the current local area network, sending a resource execution request to the second household appliance device, and executing corresponding operation according to the resource data when receiving the resource data fed back by the second household appliance device; wherein the first home device does not have the currently required resource;
and the second household appliance is used for executing the current required resource according to the resource execution request and feeding back corresponding resource data to the first household appliance when receiving the resource execution request.
According to the scheme provided by the invention, a first household appliance (without current required resources) determines a second household appliance with the current required resources according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, sends a corresponding resource execution request to the second household appliance, executes the current required resources when the second household appliance receives the resource execution request, feeds back corresponding resource data to the first household appliance, and executes corresponding operation according to the resource data when the first household appliance receives the resource data fed back by the second household appliance. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment of a home appliance according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a first embodiment of a method for controlling a home appliance according to the present invention;
fig. 3 is a flowchart illustrating a method for controlling a home appliance according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a fourth embodiment of a method for controlling a home appliance according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: the method comprises the steps that a first household appliance (without current required resources) determines a second household appliance with the current required resources according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, the second household appliance executes the current required resources when receiving the resource execution request, feeds back corresponding resource data to the first household appliance, and the first household appliance executes corresponding operation according to the resource data when receiving the resource data fed back by the second household appliance. By the technical scheme of the embodiment of the invention, the problems of low efficiency and reliability of linkage between household appliances are solved.
The embodiment of the invention provides household electrical appliance equipment.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment of a home appliance according to an embodiment of the present invention.
In the invention, the household electrical appliance can be an air conditioner, a humidifier, a purifier, a dehumidifier, a television, an electric cooker and other electrical appliances.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, the home device may include: a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the home device configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, a user interface module, and a home appliance control program therein.
In the present invention, the home appliance calls the home appliance control program stored in the memory 1005 through the processor 1001, and performs the following operations:
a first household appliance device in a current local area network broadcasts or multicasts a resource query request so as to feed back respective resource information to the first household appliance device when other household appliance devices receive the resource query request;
determining a second household appliance with the current required resource of the first household appliance according to the resource information, wherein the first household appliance does not have the current required resource;
sending a resource execution request to the second household appliance device so that the second household appliance device can execute the current required resource and feed back corresponding resource data to the first household appliance device;
and when the resource data fed back by the second household appliance is received, executing corresponding operation according to the resource data.
Further, the processor 1001 may call the home device control program stored in the memory 1005, and further perform the following operations:
and sending the resource execution request to the second household appliance equipment based on a UDP (user Datagram protocol) so as to enable the second household appliance equipment to execute the current required resource, and feeding back corresponding resource data to the first household appliance equipment based on the UDP.
Further, the processor 1001 may call the home device control program stored in the memory 1005, and further perform the following operations:
and the first household appliance multicasts the resource query request so that the household appliances in the group to which the first household appliance belongs in the current local area network feed back respective resource information to the first household appliance when receiving the resource query request.
Further, the processor 1001 may call the home device control program stored in the memory 1005, and further perform the following operations:
acquiring the current running state of the first household appliance;
the step of executing the corresponding operation according to the resource data comprises:
and executing corresponding operation according to the resource data and the current running state of the first household appliance.
Further, the processor 1001 may call the home device control program stored in the memory 1005, and further perform the following operations:
generating and storing a corresponding resource list according to the resource information;
the control method of the household appliance further comprises the following steps:
and broadcasting or multicasting the resource inquiry request at regular time so as to update the resource list according to the acquired resource information.
According to the scheme, a first household appliance (without the current required resource) determines a second household appliance with the current required resource according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, the second household appliance executes the current required resource when receiving the resource execution request, and feeds back corresponding resource data to the first household appliance, and the first household appliance executes corresponding operation according to the resource data when receiving the resource data fed back by the second household appliance. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
Based on the hardware structure, the embodiment of the control method of the household electrical appliance is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for controlling a home appliance according to a first embodiment of the present invention.
In a first embodiment, the method for controlling a home device includes the steps of:
step S10, broadcasting or multicasting a resource query request by a first household appliance in the current local area network, so that other household appliances feed back respective resource information to the first household appliance when receiving the resource query request;
step S20, according to the resource information, determining a second household appliance with the current required resource of the first household appliance, wherein the first household appliance does not have the current required resource;
step S30, sending a resource execution request to the second home appliance device, so that the second home appliance device executes the currently required resource and feeds back corresponding resource data to the first home appliance device;
and step S40, when receiving the resource data fed back by the second home appliance, executing a corresponding operation according to the resource data.
In the current smart home system, home appliances such as an air conditioner, a humidifier and a purifier are mainly converted by a server in a mode of accessing the internet to realize linkage among the home appliances. Because the linkage between the household appliances depends on the internet and the server, the interaction time between the household appliances is longer, and the normal linkage between the household appliances is influenced once the conditions of poor network quality, server failure and the like occur. In summary, at present, the linkage between home appliances is not efficient and reliable.
In order to improve the efficiency and reliability of linkage between household appliances, the invention provides a control method of the household appliances.
Specifically, in this embodiment, a plurality of household electrical appliances such as air conditioner, humidifier, clarifier, dehumidifier, TV set, electric rice cooker, electric fan accessible are same LAN and are constituteed corresponding wisdom home systems. Each household appliance is configured with corresponding appliance information, and the appliance information includes resource information, device identity information, resource access address information and the like of the household appliance. The resource information includes but is not limited to capabilities of voice recognition, face recognition, infrared human body detection and the like; the device identity information includes, but is not limited to, MAC (Media Access Control) information and the like; the resource access Address information includes, but is not limited to, IP (Internet Protocol Address) information of the device, port information, and the like. In this embodiment, each home device stores device information of other home devices in the current local area network.
When the household appliance equipment in the local area network needs to control the working state of the household appliance equipment according to the corresponding resource data, and the household appliance equipment does not have the corresponding resource and cannot directly obtain the resource data, the household appliance equipment broadcasts or multicasts a resource query request; or, the home device may also broadcast or multicast the resource query request when joining the current local area network; or, the home device broadcasts or multicasts the resource query request at regular time. For convenience of description, the home device will be referred to as a first home device hereinafter.
Specifically, in the broadcast mode, the first home device broadcasts a resource query request. When other home appliances in the current local area network receive the resource query request broadcast by the first home appliance, feeding back respective resource information to the first home appliance. In the multicast mode, the first household appliance device joins a certain group of the current local area network, and multicasts the resource query request, that is, only the household appliance devices in the group to which the first household appliance device belongs can receive the resource query request, and the household appliance devices in other groups in the current local area network cannot receive the resource query request. When other home appliances in the group to which the first home appliance belongs in the current local area network receive the resource query request multicast by the first home appliance, feeding back respective resource information to the first home appliance.
When the first household appliance needs to control the working state of the first household appliance according to the corresponding resource data, and the first household appliance does not have the corresponding resource and cannot directly obtain the resource data, the first household appliance determines the household appliance with the current required resource from the plurality of household appliances according to the obtained resource information of the other household appliances in the current local area network. For convenience of description, the home device having the currently required resource will be referred to as a second home device hereinafter.
Optionally, a corresponding unique resource descriptor is configured for each resource in advance, that is, different resources correspond to different resource descriptors. The resource information corresponding to each home device is represented by a resource descriptor corresponding to the resource included in the home device. And the first household appliance determines a second household appliance with the current required resources from the plurality of household appliances according to the acquired resource descriptors corresponding to the resources of the plurality of household appliances in the current local area network and the resource descriptors.
And after determining the second household appliance with the current required resources, the first household appliance sends a corresponding resource execution request to the second household appliance. When the second household appliance receives the resource execution request, the second household appliance executes the current required resource, obtains corresponding resource data, and feeds the resource data back to the first household appliance.
And when receiving the resource data fed back by the second household appliance, the first household appliance executes corresponding operation according to the resource data. The first household appliance device and the second household appliance device are linked, so that the first household appliance device is controlled to operate more intelligently.
Optionally, before the step S30, the method further includes:
step a, acquiring the current running state of the first household appliance;
the step S30 includes:
and b, executing corresponding operation according to the resource data and the current running state of the first household appliance.
In order to control the more intelligent operation of the first household appliance, the first household appliance also acquires the current operation state of the first household appliance, and then executes corresponding operation according to the resource data fed back by the second household appliance and the current operation state of the first household appliance, so that the operation of the household appliance is more intelligent.
The method for controlling a household electrical appliance according to the present invention will be described in detail below, taking the first household electrical appliance as an electric fan and the second household electrical appliance as an air conditioner as an example. Wherein, the electric fan does not have infrared human body detection ability, and the air conditioner possesses infrared human body detection ability.
In the working process of the electric fan, for example, in the running process at a low wind speed, the electric fan calls prestored resource information of a plurality of household appliances in a current local area network, and according to the resource information, the household appliance with the infrared human body detection capability is determined to be an air conditioner from the plurality of household appliances.
After determining that the air conditioner has the infrared human body detection capability, the electric fan sends a corresponding infrared human body detection request to the air conditioner. When the air conditioner receives the infrared human body detection request, the air conditioner executes infrared human body detection operation, detects whether people exist in the current environment, obtains a corresponding detection result, and feeds the detection result back to the electric fan.
And when receiving the detection result fed back by the air conditioner, the electric fan executes corresponding operation according to the detection result. For example, if the detection result indicates that the current environment is occupied, the electric fan is controlled to continuously maintain the current running state; and if the detection result shows that no person exists in the current environment, controlling the electric fan to shut down and stop running. The electric fan is linked with the air conditioner, so that the electric fan is controlled to run more intelligently.
In the solution provided in this embodiment, a first household appliance (which does not have a currently required resource) determines a second household appliance having the currently required resource according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, when receiving the resource execution request, the second household appliance executes the currently required resource and feeds back corresponding resource data to the first household appliance, and when receiving the resource data fed back by the second household appliance, the first household appliance executes a corresponding operation according to the resource data. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
Further, a second embodiment of the method for controlling a home appliance according to the present invention is proposed based on the first embodiment, and in this embodiment, as shown in fig. 3, the step S30 includes:
step S31, based on the UDP user datagram protocol, sending the resource execution request to the second home appliance device, so that the second home appliance device executes the current required resource, and based on the UDP protocol, feeding back corresponding resource data to the first home appliance device.
In this embodiment, after determining the second home appliance, the first home appliance sends the resource execution request to the second home appliance based on a User Datagram Protocol (UDP). For example, the first home device sends the resource execution request to the second home device based on the UDP protocol according to the resource access address information such as the IP address information and the port information of the second home device. Since the UDP is a connectionless transport layer Protocol, a long TCP (Transmission Control Protocol) connection does not need to be established between the first home appliance device and the second home appliance device, and therefore, the long TCP connection does not need to be maintained, and only a port, an IP address list, and the like need to be maintained, thereby greatly reducing the system load.
In addition, the first home device may transmit the resource execution request to the second home device after the wireless communication connection is successfully established by establishing the wireless communication connection between the first home device and the second home device. For example, a wireless communication connection between the first home device and the second home device is established through a TCP protocol, and after the connection is successfully established, the first home device transmits a resource execution request to the second home device based on the TCP protocol.
When the second home device receives the resource execution request, the second home device executes the currently required resource, and the specific operations are as described in the first embodiment, which is not described herein again. And feeding back the corresponding resource data to the first household appliance based on the UDP protocol.
In the solution provided in this embodiment, the first home appliance device sends the resource execution request to the second home appliance device based on the UDP protocol, so that the second home appliance device executes the currently required resource to obtain corresponding resource data, thereby executing a corresponding operation according to the resource data. Because the data transmission is carried out by adopting the UDP protocol with small delay and high data transmission efficiency, the efficiency of linkage between the household appliances is further improved.
Further, a third embodiment of the method for controlling a home appliance according to the present invention is provided based on the first embodiment or the second embodiment, and in this embodiment, after step S10, the method further includes:
step c, generating and storing a corresponding resource list according to the resource information;
the control method of the household appliance further comprises the following steps:
and d, broadcasting or multicasting the resource inquiry request at regular time so as to update the resource list according to the acquired resource information.
Further, in this embodiment, when the first home device receives and acquires resource information fed back by other home devices, a corresponding resource list is generated according to the resource information, and the resource list is stored.
And then, when the first household appliance needs to control the working state of the first household appliance according to the corresponding resource data, and the first household appliance does not have the corresponding resource and cannot directly obtain the resource data, the first household appliance only needs to call the stored resource list and obtain the resource information of other household appliances in the current local area network according to the resource list, so that the second household appliance with the current required resource is determined according to the resource information. The subsequent operations are as described in the first embodiment or the second embodiment, and are not described herein again.
Further, each home appliance in the current local area network is dynamically updated, and if a new home appliance is added, or a home appliance exits from the current local area network. Therefore, in order to ensure the validity of the resource list, the first home device broadcasts or multicasts the resource query request at regular time, so as to obtain the latest resource information fed back by each home device. And when the first household appliance receives the resource information, updating the resource list according to the latest resource information.
According to the scheme provided by the embodiment, the first household appliance device generates and stores the corresponding resource list according to the acquired resource information of other household appliance devices, and then broadcasts or multicasts the resource query request at regular time to acquire the latest resource information, and updates the resource list according to the acquired resource information, so that the effectiveness of the resource list is ensured, and the reliability of linkage between the household appliance devices is further improved.
Further, a fourth embodiment of the method for controlling a home appliance of the present invention is provided, and referring to fig. 4, fig. 4 is a flowchart illustrating the third embodiment of the method for controlling a home appliance of the present invention.
In a third embodiment, the method for controlling a home device includes the steps of:
step S50, the second household electrical appliance receives the resource execution request sent by the first household electrical appliance in the current local area network; the first household appliance equipment does not have the currently required resources, and the second household appliance equipment has the currently required resources;
step S60, executing the current required resource according to the resource execution request, and obtaining corresponding resource data;
step S70, feeding back the resource data to the first home appliance device, so that the first home appliance device executes a corresponding operation according to the resource data when receiving the resource data.
In this embodiment, a plurality of household electrical appliances such as air conditioner, humidifier, clarifier, dehumidifier, TV set, electric rice cooker, electric fan accessible same LAN constitute corresponding wisdom home systems. Each household appliance is configured with corresponding appliance information, and the appliance information includes resource information, device identity information, resource access address information and the like of the household appliance. The resource information includes but is not limited to capabilities of voice recognition, face recognition, infrared human body detection and the like; the device identity information includes but is not limited to MAC address information and the like; the resource access address information includes, but is not limited to, IP address information, port information, etc. of the device. In this embodiment, each home device stores device information of other home devices in the current local area network.
When the household appliance needs to control the working state of the household appliance according to the corresponding resource data, and the household appliance does not have the corresponding resource and cannot directly obtain the resource data, the household appliance calls prestored resource information of a plurality of household appliances in the current local area network, and the household appliance with the current required resource is determined from the plurality of household appliances according to the resource information. For convenience of description, a home device that needs to acquire resource data and does not have a currently required resource is referred to as a first home device, and a home device that has a currently required resource is referred to as a second home device.
Optionally, a corresponding unique resource descriptor is configured for each resource in advance, that is, different resources correspond to different resource descriptors. The resource information corresponding to each home device is represented by a resource descriptor corresponding to the resource included in the home device. The first household appliance calls prestored resource descriptors corresponding to the resources of the household appliances in the current local area network, and according to the resource descriptors, a second household appliance with the currently needed resources is determined from the household appliances.
And after determining the second household appliance with the current required resources, the first household appliance sends a corresponding resource execution request to the second household appliance. When the second household appliance receives the resource execution request, the second household appliance executes the current required resource, obtains corresponding resource data, and feeds the resource data back to the first household appliance.
And when receiving the resource data fed back by the second household appliance, the first household appliance executes corresponding operation according to the resource data. The first household appliance device and the second household appliance device are linked, so that the first household appliance device is controlled to operate more intelligently.
According to the scheme provided by the embodiment, a first household appliance (without current required resources) calls prestored resource information of a plurality of household appliances in a current local area network, according to the resource information, a second household appliance (with current required resources) is determined from the plurality of household appliances, and a corresponding resource execution request is sent to the second household appliance. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a home appliance control program is stored on the computer-readable storage medium, and when executed by a processor, the home appliance control program implements the following operations:
the method comprises the steps that a first household appliance device calls prestored resource information of a plurality of household appliances in a current local area network, and a second household appliance device with current required resources is determined from the plurality of household appliances according to the resource information, wherein the first household appliance device does not have the current required resources;
sending a resource execution request to the second household appliance device so that the second household appliance device can execute the current required resource and feed back corresponding resource data to the first household appliance device;
and when the resource data fed back by the second household appliance is received, executing corresponding operation according to the resource data.
Further, the home device control program when executed by the processor further performs the following operations:
the method comprises the steps that a first household appliance device broadcasts a resource query request, so that when a plurality of household appliances in the current local area network receive the resource query request, respective resource information is fed back to the first household appliance device;
and saving the resource information of the plurality of household electrical appliances.
Further, the home device control program when executed by the processor further performs the following operations:
the first household appliance multicasts a resource query request so that when receiving the resource query request, a plurality of household appliances in the group to which the first household appliance belongs in the current local area network feed back respective resource information to the first household appliance;
and saving the resource information of the plurality of household electrical appliances.
Further, the home device control program when executed by the processor further performs the following operations:
and sending the resource execution request to the second household appliance equipment based on a UDP user datagram protocol.
Further, the home device control program when executed by the processor further performs the following operations:
acquiring the current running state of the first household appliance;
and executing corresponding operation according to the resource data and the current running state of the first household appliance.
In the solution provided in this embodiment, a first household appliance (which does not have a currently required resource) determines a second household appliance having the currently required resource according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, when receiving the resource execution request, the second household appliance executes the currently required resource and feeds back corresponding resource data to the first household appliance, and when receiving the resource data fed back by the second household appliance, the first household appliance executes a corresponding operation according to the resource data. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
In addition, the embodiment of the invention also provides household electrical appliance equipment.
In this embodiment, the home device includes: a memory, a processor, and a home device control program stored on the memory and executable on the processor, the home device control program when executed by the processor performs the following operations:
the second household appliance receives a resource execution request sent by the first household appliance in the current local area network; the first household appliance equipment does not have the currently required resources, and the second household appliance equipment has the currently required resources;
executing the current required resource according to the resource execution request to obtain corresponding resource data;
and feeding back the resource data to the first household appliance, so that the first household appliance executes corresponding operation according to the resource data when receiving the resource data.
In the solution provided in this embodiment, a first household appliance (which does not have a currently required resource) determines a second household appliance having the currently required resource according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, when receiving the resource execution request, the second household appliance executes the currently required resource and feeds back corresponding resource data to the first household appliance, and when receiving the resource data fed back by the second household appliance, the first household appliance executes a corresponding operation according to the resource data. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
In addition, the embodiment of the invention also provides a control system of the household appliance.
In this embodiment, the control system of the household electrical appliance includes a first household electrical appliance and a second household electrical appliance, wherein:
the first household appliance device is used for broadcasting or multicasting a resource query request, determining a second household appliance device with resources required by the first household appliance device currently according to resource information fed back by other household appliance devices in the current local area network, sending a resource execution request to the second household appliance device, and executing corresponding operation according to the resource data when receiving the resource data fed back by the second household appliance device; wherein the first home device does not have the currently required resource;
and the second household appliance is used for executing the current required resource according to the resource execution request and feeding back corresponding resource data to the first household appliance when receiving the resource execution request.
In this embodiment, the control system of the home appliance includes a plurality of home appliances including a first home appliance and a second home appliance. Each household appliance is configured with corresponding appliance information, and the appliance information includes resource information, device identity information, resource access address information and the like of the household appliance. The resource information includes but is not limited to capabilities of voice recognition, face recognition, infrared human body detection and the like; the device identity information includes, but is not limited to, MAC (Media Access Control) information and the like; the resource access Address information includes, but is not limited to, IP (Internet Protocol Address) information of the device, port information, and the like. In this embodiment, each home device stores device information of other home devices in the current local area network.
When the household appliance equipment in the local area network needs to control the working state of the household appliance equipment according to the corresponding resource data, and the household appliance equipment does not have the corresponding resource and cannot directly obtain the resource data, the household appliance equipment broadcasts or multicasts a resource query request; or, the home device may also broadcast or multicast the resource query request when joining the current local area network; or, the home device broadcasts or multicasts the resource query request at regular time. For convenience of description, the home device will be referred to as a first home device hereinafter.
Specifically, in the broadcast mode, the first home device broadcasts a resource query request. When other home appliances in the current local area network receive the resource query request broadcast by the first home appliance, feeding back respective resource information to the first home appliance. In the multicast mode, the first household appliance device joins a certain group of the current local area network, and multicasts the resource query request, that is, only the household appliance devices in the group to which the first household appliance device belongs can receive the resource query request, and the household appliance devices in other groups in the current local area network cannot receive the resource query request. When other home appliances in the group to which the first home appliance belongs in the current local area network receive the resource query request multicast by the first home appliance, feeding back respective resource information to the first home appliance.
When the first household appliance needs to control the working state of the first household appliance according to the corresponding resource data, and the first household appliance does not have the corresponding resource and cannot directly obtain the resource data, the first household appliance determines the household appliance with the current required resource from the plurality of household appliances according to the obtained resource information of the other household appliances in the current local area network. For convenience of description, the home device having the currently required resource will be referred to as a second home device hereinafter.
Optionally, a corresponding unique resource descriptor is configured for each resource in advance, that is, different resources correspond to different resource descriptors. The resource information corresponding to each home device is represented by a resource descriptor corresponding to the resource included in the home device. And the first household appliance determines a second household appliance with the current required resources from the plurality of household appliances according to the acquired resource descriptors corresponding to the resources of the plurality of household appliances in the current local area network and the resource descriptors.
And after determining the second household appliance with the current required resources, the first household appliance sends a corresponding resource execution request to the second household appliance. When the second household appliance receives the resource execution request, the second household appliance executes the current required resource, obtains corresponding resource data, and feeds the resource data back to the first household appliance.
And when receiving the resource data fed back by the second household appliance, the first household appliance executes corresponding operation according to the resource data. The first household appliance device and the second household appliance device are linked, so that the first household appliance device is controlled to operate more intelligently.
In the solution provided in this embodiment, a first household appliance (which does not have a currently required resource) determines a second household appliance having the currently required resource according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, when receiving the resource execution request, the second household appliance executes the currently required resource and feeds back corresponding resource data to the first household appliance, and when receiving the resource data fed back by the second household appliance, the first household appliance executes a corresponding operation according to the resource data. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a home appliance control program is stored on the computer-readable storage medium, and when executed by a processor, the home appliance control program implements the following operations:
the second household appliance receives a resource execution request sent by the first household appliance in the current local area network; the first household appliance equipment does not have the currently required resources, and the second household appliance equipment has the currently required resources;
executing the current required resource according to the resource execution request to obtain corresponding resource data;
and feeding back the resource data to the first household appliance, so that the first household appliance executes corresponding operation according to the resource data when receiving the resource data.
In the solution provided in this embodiment, a first household appliance (which does not have a currently required resource) determines a second household appliance having the currently required resource according to resource information fed back by other household appliances in a current local area network through a broadcast or multicast resource query request, and sends a corresponding resource execution request to the second household appliance, when receiving the resource execution request, the second household appliance executes the currently required resource and feeds back corresponding resource data to the first household appliance, and when receiving the resource data fed back by the second household appliance, the first household appliance executes a corresponding operation according to the resource data. Because the first household appliance and the second household appliance are directly linked through the local area network and do not need to pass through a server, the efficiency and the reliability of linkage between the household appliances are improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (11)

1. A control method of a home appliance is characterized by comprising the following steps:
a first household appliance device in a current local area network broadcasts or multicasts a resource query request so as to feed back respective resource information to the first household appliance device when other household appliance devices receive the resource query request;
determining a second household appliance with the current required resource of the first household appliance according to the resource information, wherein the first household appliance does not have the current required resource;
sending a resource execution request to the second household appliance device so that the second household appliance device can execute the current required resource and feed back corresponding resource data to the first household appliance device;
and when the resource data fed back by the second household appliance is received, acquiring the current running state of the first household appliance, and executing corresponding operation according to the resource data and the current running state of the first household appliance.
2. The method as claimed in claim 1, wherein the step of sending a resource execution request to the second home device for the second home device to execute the currently required resource and feeding back corresponding resource data to the first home device comprises:
and sending the resource execution request to the second household appliance equipment based on a UDP (user Datagram protocol) so as to enable the second household appliance equipment to execute the current required resource, and feeding back corresponding resource data to the first household appliance equipment based on the UDP.
3. The method as claimed in claim 1, wherein the step of broadcasting or multicasting the resource query request by the first home device in the current lan, so that other home devices feed back respective resource information to the first home device when receiving the resource query request, comprises:
and the first household appliance multicasts the resource query request so that the household appliances in the group to which the first household appliance belongs in the current local area network feed back respective resource information to the first household appliance when receiving the resource query request.
4. The method for controlling home appliances according to claim 1, wherein the step of broadcasting or multicasting the resource query request by the first home appliance in the current local area network, so that the other home appliances feed back respective resource information to the first home appliance when receiving the resource query request, further comprises:
generating and storing a corresponding resource list according to the resource information;
the control method of the household appliance further comprises the following steps:
and broadcasting or multicasting the resource inquiry request at regular time so as to update the resource list according to the acquired resource information.
5. The method of controlling home appliances according to any one of claims 1 to 4, wherein the resource information is a resource descriptor, wherein each resource corresponds to a unique resource descriptor.
6. A control method of a home appliance is characterized by comprising the following steps:
the second household appliance receives a resource execution request sent by the first household appliance in the current local area network; the first household appliance equipment does not have the currently required resources, and the second household appliance equipment has the currently required resources;
executing the current required resource according to the resource execution request to obtain corresponding resource data;
and feeding back the resource data to the first household appliance, so that the first household appliance can acquire the current running state of the first household appliance when receiving the resource data, and executing corresponding operation according to the resource data and the current running state of the first household appliance.
7. An appliance device, comprising: a memory, a processor and a home device control program stored on the memory and executable on the processor, the home device control program, when executed by the processor, implementing the steps of the method of controlling a home device according to any one of claims 1-5.
8. An appliance device, comprising: a memory, a processor, and a home device control program stored on the memory and executable on the processor, the home device control program, when executed by the processor, implementing the steps of the method of controlling a home device of claim 6.
9. The control system of the household electrical appliance is characterized by comprising a first household electrical appliance and a second household electrical appliance, wherein:
the first household appliance device is used for broadcasting or multicasting a resource query request, determining a second household appliance device with resources required by the first household appliance device currently according to resource information fed back by other household appliance devices in a current local area network, sending a resource execution request to the second household appliance device, acquiring the current running state of the first household appliance device when receiving resource data fed back by the second household appliance device, and executing corresponding operation according to the resource data and the current running state of the first household appliance device; wherein the first home device does not have the currently required resource;
and the second household appliance is used for executing the current required resource according to the resource execution request and feeding back corresponding resource data to the first household appliance when receiving the resource execution request.
10. A computer-readable storage medium, wherein a home device control program is stored on the computer-readable storage medium, and when executed by a processor, implements the steps of the method for controlling a home device according to any one of claims 1 to 5.
11. A computer-readable storage medium having a home device control program stored thereon, the home device control program, when executed by a processor, implementing the steps of the method of controlling a home device of claim 6.
CN201810010692.6A 2018-01-02 2018-01-02 Household appliance, control method and system thereof, and computer readable storage medium Active CN108199857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810010692.6A CN108199857B (en) 2018-01-02 2018-01-02 Household appliance, control method and system thereof, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810010692.6A CN108199857B (en) 2018-01-02 2018-01-02 Household appliance, control method and system thereof, and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108199857A CN108199857A (en) 2018-06-22
CN108199857B true CN108199857B (en) 2021-05-25

Family

ID=62588430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810010692.6A Active CN108199857B (en) 2018-01-02 2018-01-02 Household appliance, control method and system thereof, and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108199857B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783576B (en) * 2019-01-02 2022-05-31 佛山市顺德区美的洗涤电器制造有限公司 Household appliance and data storage method and device thereof
CN111415504A (en) * 2020-03-09 2020-07-14 珠海格力电器股份有限公司 Remote controller control method and device, storage medium and remote controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166384A (en) * 2014-06-28 2014-11-26 广东瑞德智能科技股份有限公司 Method and special-purpose device for household electrical interconnection intercommunication bottom transmission
CN105425737A (en) * 2014-09-23 2016-03-23 纳普(上海)软件有限公司 Intelligent equipment control center mainboard (android version) having shape changing function
CN105743752A (en) * 2016-04-01 2016-07-06 深圳蓝奥声科技有限公司 Wireless linkage node network and node device thereof
EP3226483A1 (en) * 2016-03-30 2017-10-04 Advanced Digital Broadcast S.A. Remote service for standard to native messages translation in a lan

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9374337B2 (en) * 2012-06-15 2016-06-21 Citrix Systems, Inc. Systems and methods for supporting IP ownership in a cluster
CN103558836B (en) * 2013-11-19 2016-03-30 海信集团有限公司 Equipment state synchronisation control means and home appliance
CN103856377B (en) * 2014-02-17 2018-02-13 深圳Tcl新技术有限公司 Method, control terminal and the system of control electronics
CN105099835A (en) * 2014-04-21 2015-11-25 青岛海尔智能家电科技有限公司 Linkage establishing method and device
CN105225453B (en) * 2015-09-28 2021-05-14 青岛海尔智能家电科技有限公司 Multi-control-center-based household appliance linkage method and device and control center

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166384A (en) * 2014-06-28 2014-11-26 广东瑞德智能科技股份有限公司 Method and special-purpose device for household electrical interconnection intercommunication bottom transmission
CN105425737A (en) * 2014-09-23 2016-03-23 纳普(上海)软件有限公司 Intelligent equipment control center mainboard (android version) having shape changing function
EP3226483A1 (en) * 2016-03-30 2017-10-04 Advanced Digital Broadcast S.A. Remote service for standard to native messages translation in a lan
CN105743752A (en) * 2016-04-01 2016-07-06 深圳蓝奥声科技有限公司 Wireless linkage node network and node device thereof

Also Published As

Publication number Publication date
CN108199857A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN105471686B (en) Terminal control method, device and system
CN109450752B (en) Household appliance network distribution method and device and computer readable storage medium
JP2004252974A (en) Control point server system for allowing home network device to be efficiently accessed and method therefor
CN107743081B (en) Household appliance, control method and system thereof, and computer readable storage medium
EP3331247A1 (en) Multi-screen control method and device
CN108390795B (en) Household appliance and monitoring method thereof, smart home system and readable storage medium
EP4064618A1 (en) Network configuration terminal, network configuration method for household appliance, and computer-readable storage medium
CN108199857B (en) Household appliance, control method and system thereof, and computer readable storage medium
CN105245418A (en) Method, device and system for controlling smart home devices
US20220022022A1 (en) Device discovery method and apparatus, control terminal, and internet of things auxiliary device
CN106856433A (en) Equipment awakening method, device and system
CN108337137B (en) Household appliance, control method and system thereof, and computer readable storage medium
CN113196721B (en) Method and device for discovering Internet of things equipment and terminal equipment
WO2021087892A1 (en) Resource subscription method and device, and storage medium
CN109245974B (en) Household appliance network distribution method and device and computer readable storage medium
CN112751734A (en) Household appliance control method based on cleaning robot, cleaning robot and chip
CN103581107B (en) Server and working mode setting method thereof
US20090296149A1 (en) Communication system, information storage device, management device, and terminal device
US10404534B2 (en) Method and device for networking intelligent terminals
CN104852835A (en) Smart device WIFI communication system and control method thereof
CN112311633B (en) Distribution network control method, distribution network control device, household appliance and storage medium
JP2023514959A (en) Security information discovery method, security information placement method and equipment
CN108537300B (en) Equipment control method, device, medium and computer equipment
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
WO2016188133A1 (en) Method and device for controlling intelligent household appliance

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