CN109167711B - Household appliance control method and device, storage medium and server - Google Patents

Household appliance control method and device, storage medium and server Download PDF

Info

Publication number
CN109167711B
CN109167711B CN201811302741.XA CN201811302741A CN109167711B CN 109167711 B CN109167711 B CN 109167711B CN 201811302741 A CN201811302741 A CN 201811302741A CN 109167711 B CN109167711 B CN 109167711B
Authority
CN
China
Prior art keywords
household appliance
current
information
appliance
user
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
CN201811302741.XA
Other languages
Chinese (zh)
Other versions
CN109167711A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811302741.XA priority Critical patent/CN109167711B/en
Publication of CN109167711A publication Critical patent/CN109167711A/en
Application granted granted Critical
Publication of CN109167711B publication Critical patent/CN109167711B/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
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Abstract

The invention discloses a control method, a device, a storage medium and a server of household appliances, wherein the method comprises the following steps: acquiring the current state of at least one household appliance added to a set database, and acquiring the current position information and the current use habit of a user to which the at least one household appliance belongs; determining control information for controlling the current condition according to the current position information and the current use habit; and controlling the corresponding household appliance in at least one household appliance according to the control information. According to the scheme, the problem that a plurality of APP applications are inconvenient to use when various household appliances need to be downloaded can be solved, and the effect of improving the use convenience is achieved.

Description

Household appliance control method and device, storage medium and server
Technical Field
The invention belongs to the technical field of household appliances, particularly relates to a control method, a control device, a storage medium and a server of a household appliance, and particularly relates to a control method, a control device, a storage medium and a server of a system for managing intelligent household appliances.
Background
Many household electrical appliances have the WIFI function now, but a plurality of APP applications are downloaded to many kinds of household electrical appliances, and this can waste cell-phone memory greatly to increase the use degree of difficulty. There is a need for a system for intelligently controlling the operation of an appliance by comprehensively considering a plurality of factors.
Disclosure of Invention
The present invention aims to provide a method, an apparatus, a storage medium, and a server for controlling a home appliance, so as to solve the problem in the prior art that many kinds of home appliances need to download multiple APP applications, which is inconvenient to use, and achieve the effect of improving convenience of use.
The invention provides a control method of a household appliance, which comprises the following steps: acquiring the current state of at least one household appliance added to a set database, and acquiring the current position information and the current use habit of a user to which the at least one household appliance belongs; determining control information for controlling the current condition according to the current position information and the current use habit; and controlling the corresponding household appliance in at least one household appliance according to the control information.
Optionally, wherein the obtaining of the current status of at least one household appliance added to the set database includes: acquiring the current state of at least one household appliance fed back by the household appliance and/or the current state of at least one household appliance collected and fed back by a camera; and/or, acquiring the current position information of the user to which at least one household appliance belongs, wherein the current position information comprises: acquiring current position information sent by a positioning module and/or a client carried by a user to which at least one household appliance belongs; and/or, acquiring the current use habit of a user to which at least one household appliance belongs, wherein the current use habit comprises the following steps: and acquiring the current use habit of the user to which at least one household appliance belongs, which is sent by a client, or calling the last use habit of the user to which at least one household appliance belongs from the database as the current use habit, or extracting the learned accumulated use habit of the user to which at least one household appliance belongs from the database as the current use habit.
Optionally, wherein determining control information for controlling the current status according to the current location information and the current usage habit includes: determining whether the time for acquiring the current position information has passed a set time length; if the time for acquiring the current position information passes the set time length, acquiring the current distance from home of the user to which at least one household appliance belongs from the current position information to the set time length, and determining whether the current distance from home is smaller than the set distance; if the current distance from the home is smaller than the set distance, determining the sending type and/or sending time of the control signal according to the current use habit; the issue type includes: controlling the household appliance to be turned on or off; and/or, controlling a corresponding household appliance of at least one household appliance according to the control information, comprising: if the user leaves home, controlling the household appliances which are allowed to be powered off in at least one household appliance to be powered off; or if the user goes home, controlling the household appliances running on the household appliances to be powered on.
Optionally, the method further comprises: receiving an adding request which is sent by a client and carries household appliance information of household appliances to be added; determining whether the household appliance information carried by the adding request exists in a set database; and if the household appliance information does not exist in the database, adding the household appliance information into the database.
Optionally, the method further comprises: after searching the household appliance to be added with the household appliance information in a household appliance list corresponding to the database, sending a control code for trying to control the household appliance to be added to the household appliance to be added; if the return information of the household appliance to be added based on the control code is received, determining that the household appliance to be added is successfully added, and sending an adding success message of the household appliance to be added to a client; or if the return information of the household appliance to be added based on the control code is not received, determining that the household appliance to be added fails to be added, and sending an addition failure message of the household appliance to be added to the client.
In accordance with the above method, another aspect of the present invention provides a control apparatus for a home appliance, including: the communication unit is used for acquiring the current state of at least one household appliance added into the set database and acquiring the current position information and the current use habit of a user to which the at least one household appliance belongs; the control unit is used for determining control information for controlling the current condition according to the current position information and the current use habit; and the control unit is also used for controlling the corresponding household appliance in at least one household appliance according to the control information.
Optionally, wherein the obtaining, by the communication unit, a current status of at least one household appliance added to the set database includes: acquiring the current state of at least one household appliance fed back by the household appliance and/or the current state of at least one household appliance collected and fed back by a camera; and/or the communication unit acquires the current position information of the user to which at least one household appliance belongs, and the method comprises the following steps: acquiring current position information sent by a positioning module and/or a client carried by a user to which at least one household appliance belongs; and/or the communication unit acquires the current use habit of the user to which at least one household appliance belongs, and comprises the following steps: and acquiring the current use habit of the user to which at least one household appliance belongs, which is sent by a client, or calling the last use habit of the user to which at least one household appliance belongs from the database as the current use habit, or extracting the learned accumulated use habit of the user to which at least one household appliance belongs from the database as the current use habit.
Optionally, wherein the determining, by the control unit, control information for controlling the current status according to the current location information and the current usage habit includes: determining whether the time for acquiring the current position information has passed a set time length; if the time for acquiring the current position information passes the set time length, acquiring the current distance from home of the user to which at least one household appliance belongs from the current position information to the set time length, and determining whether the current distance from home is smaller than the set distance; if the current distance from the home is smaller than the set distance, determining the sending type and/or sending time of the control signal according to the current use habit; the issue type includes: controlling the household appliance to be turned on or off; and/or the control unit controls corresponding household appliances in at least one household appliance according to the control information, and the control unit comprises: if the user leaves home, controlling the household appliances which are allowed to be powered off in at least one household appliance to be powered off; or if the user goes home, controlling the household appliances running on the household appliances to be powered on.
Optionally, the method further comprises: the control unit is also used for receiving an adding request which is sent by the client and carries household appliance information of household appliances to be added; the control unit is further configured to determine whether the set database has the home appliance information carried by the addition request; the control unit is further configured to add the home appliance information to the database if the home appliance information is not present in the database.
Optionally, the method further comprises: the control unit is further configured to search the home appliance to be added to which the home appliance information is added in a home appliance list corresponding to the database, and then send a control code for attempting to control the home appliance to be added to the home appliance to be added; the control unit is further configured to determine that the household appliance to be added is successfully added if receiving the return information of the household appliance to be added based on the control code, and send an addition success message of the household appliance to be added to the client; or, the control unit is further configured to determine that the addition of the to-be-added household appliance fails if return information of the to-be-added household appliance based on the control code is not received, and send an addition failure message of the to-be-added household appliance to the client.
In accordance with the above apparatus, a further aspect of the present invention provides a server, including: the control device of the household electrical appliance.
In accordance with the above method, a further aspect of the present invention provides a storage medium comprising: the storage medium has stored therein a plurality of instructions; the instructions are used for loading and executing the control method of the household appliance by the processor.
In accordance with the above method, a further aspect of the present invention provides a server, including: a processor for executing a plurality of instructions; a memory to store a plurality of instructions; the instructions are stored in the memory, and loaded by the processor and used for executing the control method of the household appliance.
According to the scheme, only one APP is needed, and the intelligent household appliance management function can be achieved; the server can automatically send control signals, manage running of the household appliances, and improve using convenience of users.
Furthermore, according to the scheme of the invention, the running state of the household appliances is uniformly managed by the server according to the position information (at home or at home) and the environment information (the whole environment condition of the area where the household appliances are located is acquired by the server side), so that the use convenience is good, and the user experience is good.
Furthermore, according to the scheme of the invention, the server uniformly considers a plurality of factors, learns the habits of the user and sends the control signals according to the factors, so that the reliability is high and the use convenience is good.
Furthermore, according to the scheme of the invention, the server can integrate a plurality of intelligent household appliances, the control signal uses the accurate protocol and command of each household appliance, and all the intelligent household appliances are determined to be considered by the control signal, so that the use convenience of a user is good, the number of clients for managing the intelligent household appliances is reduced, the resources are saved, and the user experience is good.
Furthermore, according to the scheme of the invention, the server operates the household appliance in advance according to the positioning information sent by the mobile equipment of the user, the previous home-returning time of the user and other information, so that the user experience is ensured, the memory resource of the mobile equipment of the user is saved, and the use of the user is greatly facilitated.
Therefore, according to the scheme of the invention, the running states of the household appliances are uniformly managed by the server according to the position information of the user and the state information of the household appliances, and the problem that a plurality of APP applications are downloaded by various household appliances in the prior art and are inconvenient to use is solved, so that the defects of inconvenience in use, large occupied memory and poor user experience in the prior art are overcome, and the beneficial effects of convenience in use, small occupied memory and good user experience are realized.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
Fig. 1 is a flowchart illustrating a method for controlling a home appliance according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an embodiment of determining control information that can be used to control the current status according to the current location information and the current usage habits in the method of the present invention;
fig. 3 is a schematic flow chart illustrating an embodiment of adding the home appliance information of the home appliance to be added to the set database in the method of the present invention;
fig. 4 is a flowchart illustrating an embodiment of verifying whether the addition of the home appliance information is successful in the method of the present invention;
fig. 5 is a schematic structural diagram of a control device of a home appliance according to an embodiment of the present invention;
FIG. 6 is a diagram of an application framework of an embodiment of a server of the present invention;
fig. 7 is a schematic flow chart illustrating adding an intelligent appliance according to an embodiment of the server of the present invention;
fig. 8 is a schematic diagram of a system control flow according to an embodiment of the server of the present invention.
The reference numbers in the embodiments of the present invention are as follows, in combination with the accompanying drawings:
1-meteorological data module (such as China meteorological data network http:// data. cma. cn); 2-a communication link; 3-a server; 4-a network module; 5-a home router; 6-house; 7-interactive link (such as interactive link for server to push information or client to send control information); 102-a communication unit; 104-control unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to an embodiment of the present invention, a method for controlling a home appliance is provided, as shown in fig. 1, which is a schematic flow chart of an embodiment of the method of the present invention. The control method of the household appliance can comprise the following steps: step S110 to step S130.
At step S110, a current status of at least one home appliance that has been added to the set database is acquired, and current location information and a current usage habit of a user to which the at least one home appliance belongs are acquired. For example: the current condition may include: at least one of a power-on state, a power-off state, an operating degree and an operating time.
Optionally, the acquiring of the current status of at least one household appliance added to the set database in step S110 may include: and acquiring the current state of the household appliance fed back by at least one household appliance and/or the current state of at least one household appliance collected and fed back by a camera.
Therefore, the current state of at least one household appliance in the user house is obtained in multiple modes, the obtaining mode is simple and convenient, and the accuracy of the obtaining result is good.
Optionally, the acquiring current location information of the user to which at least one home appliance belongs in step S110 may include: and acquiring current position information sent by a positioning module and/or a client carried by a user to which at least one household appliance belongs.
Therefore, the current position information of the user is acquired in various modes, and the current home position of the user can be accurately known, so that the current state of at least one household appliance in a house is controlled according to the home position of the user, and the use experience of the user is improved more humanizedly.
Optionally, the obtaining of the current usage habit of the user to which at least one household appliance belongs in step S110 may include: and acquiring the current use habit of the user to which at least one household appliance belongs, which is sent by a client, or calling the last use habit of the user to which at least one household appliance belongs from the database as the current use habit, or extracting the learned accumulated use habit of the user to which at least one household appliance belongs from the database as the current use habit.
Therefore, the current use habit of the user on at least one household appliance is obtained in multiple modes, and the obtaining mode is simple, convenient and flexible; moreover, automatic control of at least one household appliance can be realized based on the current use habit of the user, the life of the user is greatly facilitated, the intelligent degree is high, and the user experience is good and humanized.
At step S120, control information that can be used to control the current situation is determined according to the current location information and the current usage habit.
Optionally, with reference to a flowchart of an embodiment of determining control information that can be used to control the current status according to the current location information and the current usage habit in the method of the present invention shown in fig. 2, a specific process of determining the control information that can be used to control the current status according to the current location information and the current usage habit in step S120 may further be described, where the specific process includes: step S210 to step S230.
Step S210, determining whether the time for obtaining the current position information has elapsed a set time length.
Step S220, if the time for obtaining the current position information passes the set time length, obtaining the current distance from the current position information to the home of the user of at least one household appliance after the set time length, and determining whether the current distance from the home is less than the set distance.
Step S230, if the current distance from home is less than the set distance, determining the sending type and/or sending time of the control signal according to the current usage habit. The issue type may include: and controlling the household appliance to be turned on or off.
For example: the server is a data processing center and a control center, obtains information from household appliances, mobile equipment and a China meteorological data network (optionally, the meteorological data network can be replaced by other meteorological websites or directly uses sensing equipment for measurement), calculates the information, and determines control information. The client can also provide control information for the server, and the control information of the client has the highest priority and can replace the control information of the server. The intelligent home appliance needs to have a wireless connection function and be controlled by a network control code, and a manufacturer is required to provide information (such as brand, model, control protocol, control API, etc.) about the intelligent home appliance. Each node of the network needs to be unobstructed, and the server can access the household appliances through the network. The mobile device can select the function of receiving the push message and can select the content of receiving the push message (such as a control message sent by a server, a household appliance closing message and the like), the mobile device does not directly control household appliances, and the server serves as a bridge so that the mobile device can control the household appliances.
For example: as shown in fig. 8, the device uploads data, step 21.
Wherein, the "equipment" mainly comprises: intelligent household electrical appliances such as air conditioners, refrigerators, cameras and mobile devices. The "uploaded data" may include: current status of the appliance and location information of the mobile device.
Further, the server side judges whether the calculation requirements are met, which is to prevent the performance loss of the server caused by a large amount of data calculated by Polling (Polling), and to reduce unnecessary calculation, whether the calculation requirements are met by adopting data with less quantity and types.
Suppose that: the method comprises the following steps of recording a starting time T0, a current time T, a time T0, a distance L0 of the mobile device from the home, a distance L of the mobile device from the home, a calculation interval X and a distance threshold m, and the following steps are carried out:
t0+ X is false, waiting until true.
T0T and calculating if L-L0| < m is true, if true, the calculation requirement is met, otherwise, the calculation requirement is not met.
The symbol "is not used as an assignment symbol, and is used as a symbol for determining whether the symbols are equal or not.
Further, the server calculates the previous running condition of the equipment according to ①, ② user position information, ③ environment information obtained from the China weather data network, ④ other household appliance information and ⑤ other information.
The determination of when to send out the control signal is based on the above factors (e.g., the user often moves 17:50 from a certain position to home, and returns to home at 18:20, the user often turns on the air conditioner at 18:25 in summer, takes a bath with the water heater at about 20:00, the server will start the air conditioner at 18:20, start the water heater at 19:50, and turn the temperature of the air conditioner up at 20: 00).
The server side allows the user to use network position location (GPS location is not needed), and even the user can select to turn off the location information (so that the server side only controls the intelligent household appliances according to the past use habits); and the server side controls the household appliances not only by considering one product, but also by considering a plurality of household appliance products to respectively make control decisions. For example: still using the notation of step 22, additionally, the user habit is influenced by time T and distance L, and the user habit of using a water heater is H (T, L). The hot water heating time is n, H ═ 0 is not used, and H ═ 1 is used. If (T1, L1) is one pair of data in the solution set of function H (T, L) ═ 1, then at (T1-n) time and when | L1-L | < m is satisfied, a signal to turn on the water heater is sent and the air conditioner temperature is raised, otherwise recalculated.
Further, a control signal is sent, the server sends the control signal by default, and a user can optionally start a push function at the client to receive control information sent by the server.
Further, whether the execution is successful or not is judged according to the home appliance return signal, if so, whether the uploading requirement is met is calculated, similarly to the step 22, otherwise, the execution is unsuccessful, and the server determines whether to retry the execution according to the error reason (using the error code, 0001-.
Therefore, the current distance from home of the user is further determined under the condition that the time for acquiring the current position information of the user has passed the set time length, and the sending type, the sending time and the like of the control signal are determined according to the current use habit of the user under the condition that the current distance from home is smaller than the set distance, so that the control signal is determined accurately and reliably.
At step S130, controlling a corresponding household appliance of the at least one household appliance according to the control information to realize centralized control of the at least one household appliance.
For example: only one APP is needed, and the intelligent household appliance management function can be realized; the server can automatically send a control signal to manage the running of the household appliances; comprehensively considering such factors as environmental factors, household appliance user demand factors and the like. The server can uniformly manage the running state of the household appliances according to the position information (at home or at the exit) of the user and the environment information (the server side acquires the overall environment condition of the area where the household appliances are located).
For example: the server can uniformly consider a plurality of factors, learn the habits of the user and send the control signals according to the factors. The server can integrate a plurality of intelligent household appliances, the control signal uses the accurate protocol and command of each household appliance, all the intelligent household appliances are considered by the control signal, and the user can realize intelligent control only by downloading one client. The home control is realized by the server, the user does not need to pay extra hardware resources, and the user can select the home control. The server operates the household appliance in advance according to the positioning information sent by the mobile equipment of the user, the previous home-returning time of the user and other information, so that the user experience is ensured; the user is freed and all controls are operable by the server. To reduce performance loss (server and home device), it is necessary to determine whether a calculation upload condition is satisfied before performing a large amount of calculation or upload.
Therefore, by acquiring the current state, the current position information and the current use habit of at least one household appliance added into the database, the control information which can be used for controlling the current state is determined according to the current position information and the current use habit, and the corresponding household appliance in the at least one household appliance is controlled according to the control information, so that the centralized control of the at least one household appliance is realized, and the convenience of use of a user and the use experience of the user are greatly improved.
Optionally, the controlling, in step S130, a corresponding household appliance of the at least one household appliance according to the control information may include: if the user leaves home, controlling the household appliances which are allowed to be powered off in at least one household appliance to be powered off; or if the user goes home, controlling the household appliances running on the household appliances to be powered on.
For example: the user downloads and opens APP (allow background service), and after going out, the server sends and closes the instruction, closes the household electrical appliances that do not use (like air conditioner, water heater etc.), guarantees that household electrical appliances such as refrigerator can not close, reduces the power consumption.
For example: in the process of returning home, the server determines the household appliances which are possibly used by the user according to past experience, such as whether (or when) the household appliances such as a water heater and an air conditioner are started or not is determined, all the household appliances are calculated at the cloud end, and the server sends control signals, so that the performance of the mobile equipment cannot be lost.
Therefore, the household appliance is controlled to be started or shut down under various conditions, so that the household appliance is convenient to use, the electric energy and the equipment loss are saved, and the convenience and the safety of the use of the user are improved.
In an alternative embodiment, the method may further include: a process of adding the home appliance information of the home appliance to be added to the set database before acquiring the current status of at least one home appliance that has been added to the set database.
Referring to fig. 3, a flowchart of an embodiment of adding the household appliance information of the household appliance to be added to the set database in the method of the present invention is further described, where the specific process of adding the household appliance information of the household appliance to be added to the set database may include: step S310 to step S330.
Step S310, receiving an addition request carrying home appliance information of a home appliance to be added, sent by a client. Wherein, the household electrical appliance information may include: at least one of a brand of the appliance and a model of the appliance.
Step S320, determining whether the set database has the home appliance information carried by the addition request.
Step S330, if the household appliance information does not exist in the database, adding the household appliance information in the database.
For example: fig. 7 is a flow chart of adding an intelligent household appliance, and the adding steps are as follows:
the user needs to add the household appliance, download the client and operate.
And adding household appliance information (including household appliance brand, model and the like) at the client.
The server searches whether the household appliance information exists in the database according to the added household appliance information, the database can select to use a relational database such as mysql (namely a relational database management system) and the like, the information stored in the database is public information provided by a household appliance manufacturer, and meanwhile, for subsequent control equipment, a control protocol and a control API (namely an application programming interface) provided by the household appliance manufacturer when the household appliance manufacturer leaves a factory are stored in the database, so that the protocol and the sent control signal code are determined.
Therefore, whether the household appliance information of the household appliance to be added exists in the database is determined under the condition that an adding request of the household appliance information of the household appliance to be added is received, if the household appliance information does not exist in the database, the household appliance information is added into the database, the household appliance information of the household appliance to be added is added into the set database, the household appliance information is automatically added, the use of a user is greatly facilitated, the storage space of a client side is saved, and the use convenience of the client side is facilitated.
In an alternative embodiment, the method may further include: and a process of verifying whether the addition of the household appliance information is successful or not after the household appliance information is added to the database.
With reference to the flowchart of fig. 4 showing an embodiment of the method of the present invention for verifying whether the addition of the home appliance information is successful, a specific process for verifying whether the addition of the home appliance information is successful is further described, which may include: step S410 to step S430.
Step S410, after searching the home appliance to be added to which the home appliance information has been added in the home appliance list corresponding to the database, sending a control code that can be used to attempt to control the home appliance to be added to the home appliance to be added.
Step S420, if receiving the return information of the to-be-added appliance based on the control code, determining that the to-be-added appliance is successfully added, and sending an addition success message of the to-be-added appliance to the client.
Or, in step S430, if the return information of the to-be-added appliance based on the control code is not received, determining that the addition of the to-be-added appliance is failed, and sending an addition failure message of the to-be-added appliance to the client.
For example: as shown in fig. 7, when trying to control the device, the server sends a segment of control code (for example, trying to power on and off the home appliance) according to the control information determined in the previous step, and determines whether the execution is successful according to the information returned by the home appliance, and after the execution is successful, the client may be turned off, so far, the addition is successful, otherwise, the addition is failed, and error information is sent to the client.
Therefore, after the household appliance information of the household appliance to be added is added into the set database, whether the household appliance to be added is successfully added is verified by sending the corresponding control code to the household appliance to be added according to whether the corresponding return information is received, so that the reliability of centralized control of the household appliance to be added is improved, and the convenience and the reliability of use of a user are improved.
Through a large amount of experimental verification, adopt the technical scheme of this embodiment, through only needing an APP, can realize intelligent management household electrical appliances function. The server can automatically send control signals, manage running of the household appliances, and improve using convenience of users.
According to an embodiment of the present invention, there is also provided a control apparatus of a home appliance corresponding to the control method of the home appliance. Referring to fig. 5, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The control device of the household appliance may include: a communication unit 102 and a control unit 104.
In an optional example, the communication unit 102 may be configured to obtain a current status of at least one home appliance that is added to the database of settings, and obtain current location information and a current usage habit of a user to which the at least one home appliance belongs. For example: the current condition may include: at least one of a power-on state, a power-off state, an operating degree and an operating time. The specific function and processing of the communication unit 102 are referred to in step S110.
Alternatively, the acquiring, by the communication unit 102, the current status of at least one household appliance added to the set database may include: the communication unit 102 may be further configured to obtain a current status of the at least one household appliance, which is fed back by the at least one household appliance, and/or a current status of the at least one household appliance, which is collected and fed back by the camera.
Therefore, the current state of at least one household appliance in the user house is obtained in multiple modes, the obtaining mode is simple and convenient, and the accuracy of the obtaining result is good.
Optionally, the acquiring, by the communication unit 102, current location information of a user to which at least one home appliance belongs may include: the communication unit 102 may be further configured to obtain current location information sent by a positioning module and/or a client carried by a user to which at least one home appliance belongs.
Therefore, the current position information of the user is acquired in various modes, and the current home position of the user can be accurately known, so that the current state of at least one household appliance in a house is controlled according to the home position of the user, and the use experience of the user is improved more humanizedly.
Optionally, the acquiring, by the communication unit 102, the current usage habit of the user to which at least one household appliance belongs may include: the communication unit 102 may be further configured to obtain a current usage habit of a user to which at least one home appliance belongs, the current usage habit being sent by a client, or retrieving a last usage habit of the user to which the at least one home appliance belongs from the database as the current usage habit, or extracting a learned accumulated usage habit of the user to which the at least one home appliance belongs from the database as the current usage habit.
Therefore, the current use habit of the user on at least one household appliance is obtained in multiple modes, and the obtaining mode is simple, convenient and flexible; moreover, automatic control of at least one household appliance can be realized based on the current use habit of the user, the life of the user is greatly facilitated, the intelligent degree is high, and the user experience is good and humanized.
In an alternative example, the control unit 104 may be configured to determine control information that may be used to control the current situation based on the current location information and the current usage habits. The specific function and processing of the control unit 104 are referred to in step S120.
Optionally, the determining, by the control unit 104, control information that can be used for controlling the current status according to the current location information and the current usage habit may include:
the control unit 104 may be further configured to determine whether a time since the current location information is acquired has elapsed a set time period. The specific functions and processes of the control unit 104 are also referred to in step S210.
The control unit 104 may be further configured to, if the time for obtaining the current location information has elapsed the set duration, obtain a current distance from home of a user to which at least one home appliance belongs from the current location information to after the set duration, and determine whether the current distance from home is smaller than the set distance. The specific functions and processes of the control unit 104 are also referred to in step S220.
The control unit 104 may be further specifically configured to determine the sending type and/or sending time of the control signal according to the current usage habit if the current distance from home is smaller than the set distance. The issue type may include: and controlling the household appliance to be turned on or off. The specific function and processing of the control unit 104 are also referred to in step S230.
For example: the server is a data processing center and a control center, obtains information from household appliances, mobile equipment and a China meteorological data network (optionally, the meteorological data network can be replaced by other meteorological websites or directly uses sensing equipment for measurement), calculates the information, and determines control information. The client can also provide control information for the server, and the control information of the client has the highest priority and can replace the control information of the server. The intelligent home appliance needs to have a wireless connection function and be controlled by a network control code, and a manufacturer is required to provide information (such as brand, model, control protocol, control API, etc.) about the intelligent home appliance. Each node of the network needs to be unobstructed, and the server can access the household appliances through the network. The mobile device can select the function of receiving the push message and can select the content of receiving the push message (such as a control message sent by a server, a household appliance closing message and the like), the mobile device does not directly control household appliances, and the server serves as a bridge so that the mobile device can control the household appliances.
For example: as shown in fig. 8, the device uploads data, step 21.
Wherein, the "equipment" mainly comprises: intelligent household electrical appliances such as air conditioners, refrigerators, cameras and mobile devices. The "uploaded data" may include: current status of the appliance and location information of the mobile device.
Further, the server side judges whether the calculation requirements are met, which is to prevent the performance loss of the server caused by a large amount of data calculated by Polling (Polling), and to reduce unnecessary calculation, whether the calculation requirements are met by adopting data with less quantity and types.
Suppose that: the method comprises the following steps of recording a starting time T0, a current time T, a time T0, a distance L0 of the mobile device from the home, a distance L of the mobile device from the home, a calculation interval X and a distance threshold m, and the following steps are carried out:
t0+ X is false, waiting until true.
T0T and calculating if L-L0| < m is true, if true, the calculation requirement is met, otherwise, the calculation requirement is not met.
The symbol "is not used as an assignment symbol, and is used as a symbol for determining whether the symbols are equal or not.
Further, the server calculates the previous running condition of the equipment according to ①, ② user position information, ③ environment information obtained from the China weather data network, ④ other household appliance information and ⑤ other information.
The determination of when to send out the control signal is based on the above factors (e.g., the user often moves 17:50 from a certain position to home, and returns to home at 18:20, the user often turns on the air conditioner at 18:25 in summer, takes a bath with the water heater at about 20:00, the server will start the air conditioner at 18:20, start the water heater at 19:50, and turn the temperature of the air conditioner up at 20: 00).
The server side allows the user to use network position location (GPS location is not needed), and even the user can select to turn off the location information (so that the server side only controls the intelligent household appliances according to the past use habits); and the server side controls the household appliances not only by considering one product, but also by considering a plurality of household appliance products to respectively make control decisions. For example: still using the notation of step 22, additionally, the user habit is influenced by time T and distance L, and the user habit of using a water heater is H (T, L). The hot water heating time is n, H ═ 0 is not used, and H ═ 1 is used. If (T1, L1) is one pair of data in the solution set of function H (T, L) ═ 1, then at (T1-n) time and when | L1-L | < m is satisfied, a signal to turn on the water heater is sent and the air conditioner temperature is raised, otherwise recalculated.
Further, a control signal is sent, the server sends the control signal by default, and a user can optionally start a push function at the client to receive control information sent by the server.
Further, whether the execution is successful or not is judged according to the home appliance return signal, if so, whether the uploading requirement is met is calculated, similarly to the step 22, otherwise, the execution is unsuccessful, and the server determines whether to retry the execution according to the error reason (using the error code, 0001-.
Therefore, the current distance from home of the user is further determined under the condition that the time for acquiring the current position information of the user has passed the set time length, and the sending type, the sending time and the like of the control signal are determined according to the current use habit of the user under the condition that the current distance from home is smaller than the set distance, so that the control signal is determined accurately and reliably.
In an optional example, the control unit 104 may be further configured to control a corresponding appliance of the at least one appliance according to the control information, so as to implement centralized control on the at least one appliance. The specific function and processing of the control unit 104 are also referred to in step S130.
For example: only one APP is needed, and the intelligent household appliance management function can be realized; the server can automatically send a control signal to manage the running of the household appliances; comprehensively considering such factors as environmental factors, household appliance user demand factors and the like. The server can uniformly manage the running state of the household appliances according to the position information (at home or at the exit) of the user and the environment information (the server side acquires the overall environment condition of the area where the household appliances are located).
For example: the server can uniformly consider a plurality of factors, learn the habits of the user and send the control signals according to the factors. The server can integrate a plurality of intelligent household appliances, the control signal uses the accurate protocol and command of each household appliance, all the intelligent household appliances are considered by the control signal, and the user can realize intelligent control only by downloading one client. The home control is realized by the server, the user does not need to pay extra hardware resources, and the user can select the home control. The server operates the household appliance in advance according to the positioning information sent by the mobile equipment of the user, the previous home-returning time of the user and other information, so that the user experience is ensured; the user is freed and all controls are operable by the server. To reduce performance loss (server and home device), it is necessary to determine whether a calculation upload condition is satisfied before performing a large amount of calculation or upload.
Therefore, by acquiring the current state, the current position information and the current use habit of at least one household appliance added into the database, the control information which can be used for controlling the current state is determined according to the current position information and the current use habit, and the corresponding household appliance in the at least one household appliance is controlled according to the control information, so that the centralized control of the at least one household appliance is realized, and the convenience of use of a user and the use experience of the user are greatly improved.
Optionally, the controlling unit 104 controls a corresponding household appliance of the at least one household appliance according to the control information, and may include: the control unit 104 may be further configured to control, if the user leaves home, a home appliance that is allowed to be turned off in the at least one home appliance to be turned off; or, the control unit 104 may be further configured to control, if the user goes home, a home appliance that is running on the home appliance among the at least one home appliance to be turned on.
For example: the user downloads and opens APP (allow background service), and after going out, the server sends and closes the instruction, closes the household electrical appliances that do not use (like air conditioner, water heater etc.), guarantees that household electrical appliances such as refrigerator can not close, reduces the power consumption.
For example: in the process of returning home, the server determines the household appliances which are possibly used by the user according to past experience, such as whether (or when) the household appliances such as a water heater and an air conditioner are started or not is determined, all the household appliances are calculated at the cloud end, and the server sends control signals, so that the performance of the mobile equipment cannot be lost.
Therefore, the household appliance is controlled to be started or shut down under various conditions, so that the household appliance is convenient to use, the electric energy and the equipment loss are saved, and the convenience and the safety of the use of the user are improved.
In an alternative embodiment, the method may further include: before acquiring the current status of at least one household appliance added to the set database, adding the household appliance information of the household appliance to be added to the set database, specifically as follows:
the control unit 104 may be further configured to receive an addition request sent by the client and carrying home appliance information of a home appliance to be added. Wherein, the household electrical appliance information may include: at least one of a brand of the appliance and a model of the appliance. The specific functions and processes of the control unit 104 are also referred to in step S310.
The control unit 104 may be further configured to determine whether the set database has the home appliance information carried in the addition request. The specific functions and processes of the control unit 104 are also referred to in step S320.
The control unit 104 may be further configured to add the home appliance information to the database if the home appliance information is not present in the database. The specific functions and processes of the control unit 104 are also referred to in step S330.
For example: fig. 7 is a flow chart of adding an intelligent household appliance, and the adding steps are as follows:
the user needs to add the household appliance, download the client and operate.
And adding household appliance information (including household appliance brand, model and the like) at the client.
The server searches whether the household appliance information exists in the database according to the added household appliance information, the database can select to use a relational database such as mysql (namely a relational database management system) and the like, the information stored in the database is public information provided by a household appliance manufacturer, and meanwhile, for subsequent control equipment, a control protocol and a control API (namely an application programming interface) provided by the household appliance manufacturer when the household appliance manufacturer leaves a factory are stored in the database, so that the protocol and the sent control signal code are determined.
Therefore, whether the household appliance information of the household appliance to be added exists in the database is determined under the condition that an adding request of the household appliance information of the household appliance to be added is received, if the household appliance information does not exist in the database, the household appliance information is added into the database, the household appliance information of the household appliance to be added is added into the set database, the household appliance information is automatically added, the use of a user is greatly facilitated, the storage space of a client side is saved, and the use convenience of the client side is facilitated.
In an alternative embodiment, the method may further include: after the home appliance information is added to the database, verifying whether the home appliance information is successfully added, specifically as follows:
the control unit 104 may be further configured to, after searching for the to-be-added appliance to which the appliance information is added in an appliance list corresponding to the database, send a control code that may be used to attempt to control the to-be-added appliance to the to-be-added appliance. The specific functions and processes of the control unit 104 are also referred to in step S410.
The control unit 104 may be further configured to determine that the addition of the to-be-added appliance is successful if receiving the return information of the to-be-added appliance based on the control code, and send an addition success message of the to-be-added appliance to the client. The specific function and processing of the control unit 104 are also referred to in step S420.
Or, the control unit 104 may be further configured to determine that the addition of the to-be-added appliance is failed if the return information of the to-be-added appliance based on the control code is not received, and send an addition failure message of the to-be-added appliance to the client. The specific functions and processes of the control unit 104 are also referred to in step S430.
For example: as shown in fig. 7, when trying to control the device, the server sends a segment of control code (for example, trying to power on and off the home appliance) according to the control information determined in the previous step, and determines whether the execution is successful according to the information returned by the home appliance, and after the execution is successful, the client may be turned off, so far, the addition is successful, otherwise, the addition is failed, and error information is sent to the client.
Therefore, after the household appliance information of the household appliance to be added is added into the set database, whether the household appliance to be added is successfully added is verified by sending the corresponding control code to the household appliance to be added according to whether the corresponding return information is received, so that the reliability of centralized control of the household appliance to be added is improved, and the convenience and the reliability of use of a user are improved.
Since the processes and functions implemented by the apparatus of this embodiment substantially correspond to the embodiments, principles and examples of the method shown in fig. 1 to 4, the description of this embodiment is not detailed, and reference may be made to the related descriptions in the foregoing embodiments, which are not repeated herein.
Through a large number of tests, the technical scheme of the invention is adopted, the running state of the household appliances is managed uniformly by the server according to the position information (at home or at the time of going out) of the user and the environment information (the whole environment condition of the area where the household appliances are located is obtained by the server side), the use convenience is good, and the user experience is good.
According to an embodiment of the present invention, there is also provided a server corresponding to a control apparatus of a home appliance. The server may include: the control device of the household electrical appliance.
Since the processing and functions implemented by the server in this embodiment substantially correspond to the embodiment, principle and example of the apparatus shown in fig. 5, the description of this embodiment is not given in detail, and reference may be made to the related description in the foregoing embodiment, which is not described herein again.
Through a large number of tests, the technical scheme of the invention is adopted, a plurality of factors are considered by the server in a unified way, the server learns the habits of users, and the control signals are sent according to the factors, so that the reliability is high, and the use convenience is good.
According to an embodiment of the present invention, there is also provided a storage medium corresponding to a control method of a home appliance. The storage medium may include: the storage medium has stored therein a plurality of instructions; the instructions are used for loading and executing the control method of the household appliance by the processor.
Since the processing and functions implemented by the storage medium of this embodiment substantially correspond to the embodiments, principles, and examples of the methods shown in fig. 1 to fig. 4, details are not described in the description of this embodiment, and reference may be made to the related descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme of the invention is adopted, the server can integrate a plurality of intelligent household appliances, the control signal uses the accurate protocol and command of each household appliance, the control signal is determined to consider all the intelligent household appliances, the convenience of use of a user is good, the client for managing the intelligent household appliances is reduced, the resources are saved, and the user experience is good.
According to an embodiment of the present invention, there is also provided a server corresponding to a control method of a home appliance. The server may include: a processor for executing a plurality of instructions; a memory to store a plurality of instructions; the instructions are stored in the memory, and loaded by the processor and used for executing the control method of the household appliance.
Since the processing and functions implemented by the server in this embodiment substantially correspond to the embodiments, principles, and examples of the methods shown in fig. 1 to fig. 4, details are not described in the description of this embodiment, and reference may be made to the related descriptions in the foregoing embodiments, which are not described herein again.
Through a large number of tests, the technical scheme of the invention is adopted, and the server runs the household appliance in advance according to the positioning information sent by the user mobile equipment, the previous home-returning time of the user and other information, so that the user experience is ensured, the memory resource of the user mobile equipment is saved, and the use of the user is greatly facilitated.
In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
In an alternative embodiment, the present invention provides a system for managing smart appliances. The system for managing the intelligent household appliances can realize the intelligent household appliance management function only by one APP; the server can automatically send a control signal to manage the running of the household appliances; comprehensively considering such factors as environmental factors, household appliance user demand factors and the like. By using the system, the server can uniformly manage the running state of the household appliances according to the position information (at home or at the exit) of the user and the environment information (the server acquires the whole environment condition of the area where the household appliances are located).
Optionally, the user downloads and opens the APP (allows the background service), and after the user leaves the door, the server sends a closing instruction to close the unused household appliances (such as an air conditioner and a water heater), so that the household appliances such as a refrigerator can not be closed, and the power consumption is reduced.
Optionally, during the process of returning home, the server determines, according to past experience, a possible household appliance of the user, such as whether (or when) a household appliance such as a water heater or an air conditioner is turned on, all of which are calculated in the cloud, and the server sends the control signal, so that the performance of the mobile device is not lost.
In an alternative example, the server may consider a plurality of factors uniformly, and learn the habits of the user and send the control signal according to the factors.
Optionally, the server may integrate a plurality of intelligent appliances, the control signal uses an accurate protocol and command of each appliance, it is determined that all the intelligent appliances are considered by the control signal, and the user can realize intelligent control by downloading only one client.
Optionally, the home control is implemented by a server, and the user can select the home control without paying extra hardware resources.
Optionally, the server operates the household appliance in advance according to the positioning information sent by the user mobile equipment, the previous home-returning time of the user and other information, so as to ensure the user experience; the user is freed and all controls are operable by the server.
Alternatively, to reduce performance loss (server and home device), it is necessary to determine whether the calculation upload condition is satisfied before performing a large amount of calculation or upload.
In an alternative embodiment, reference may be made to the examples shown in fig. 6 to 8 to illustrate a specific implementation process of the scheme of the present invention.
In an alternative specific example, fig. 6 is a system framework diagram, and in the system framework shown in fig. 6, the method may include: the system comprises a meteorological data module 1 (such as China meteorological data network http:// data. cma. cn), a communication link 2, a server 3, a network module 4, a home router 5, a house 6, and an interactive link 7 for pushing information by the server or sending control information by a client.
The server is a data processing center and a control center, obtains information from household appliances, mobile equipment and a China meteorological data network (optionally, the meteorological data network can be replaced by other meteorological websites or directly uses sensing equipment for measurement), calculates the information, and determines control information.
Optionally, the client may also provide control information to the server, and the control information of the client has the highest priority and may replace the server control information.
Alternatively, the smart appliances need to have a wireless connection function and be controlled by a network control code, and a manufacturer is required to provide information (such as brand, model, control protocol, control API, etc.) about the smart appliances.
Optionally, each node of the network needs to be unobstructed, and the server can access the home appliance through the network.
Optionally, the mobile device may select a function of receiving the push message, and may optionally receive the content of the push message (for example, a control message sent by the server, an appliance shutdown message, and the like), the mobile device does not directly control the appliance, and the server serves as a bridge so that the mobile device may control the appliance.
In an alternative specific example, fig. 7 is a flowchart of adding an intelligent appliance, where the adding steps are as follows:
and 11, the user needs to add the household appliance, download the client and operate.
And step 12, adding household appliance information (including information such as the brand and the model of the household appliance) at the client.
Step 13, the server searches whether the household appliance information exists in the database according to the added household appliance information, the database can select to use a relational database such as mysql (namely, a relational database management system) and the like, the information stored in the database is public information provided by a household appliance manufacturer, and meanwhile, for subsequent control equipment, a control protocol and a control API (namely, an application programming interface) provided when the household appliance manufacturer leaves a factory are stored in the database, so that the used protocol and the sent control signal code are determined.
Step 14, trying to control the device, wherein the server sends a section of control code (for example, trying to turn on or off the home appliance) according to the control information determined in the previous step, determining whether the execution is successful according to information returned by the home appliance, and after the execution is successful, the client can be closed, until the addition is successful, otherwise, the addition is failed, and sending error information to the client.
In an alternative embodiment, fig. 8 is a system control flow chart, and the detailed steps may be as follows:
and step 21, uploading data by the equipment.
Wherein, the "equipment" mainly comprises: intelligent household electrical appliances such as air conditioners, refrigerators, cameras and mobile devices. The "uploaded data" may include: current status of the appliance and location information of the mobile device.
And step 22, the server side judges whether the calculation requirements are met, which is to prevent the performance loss of the server caused by the calculation of a large amount of data by Polling (Polling), and to reduce unnecessary calculation, whether the calculation requirements are met by adopting the calculation of data with less quantity and types.
Suppose that: the method comprises the following steps of recording a starting time T0, a current time T, a time T0, a distance L0 of the mobile device from the home, a distance L of the mobile device from the home, a calculation interval X and a distance threshold m, and the following steps are carried out:
t0+ X is false, waiting until true.
T0T and calculating if L-L0| < m is true, if true, the calculation requirement is met, otherwise, the calculation requirement is not met.
For example: the device set the threshold to 500m, the calculation interval time to 60s, at 7 am: 55, the distance between the mobile device and the home is 0km (namely, at home), the server calculates the distance between the current position and the home every 60s, 7: 56 distance of device from home 10m, 7: 57 distance of the device from home 200m, up to 8: and 00, the straight-line distance between the equipment and the home reaches 500m, and then the server side performs calculation.
The symbol "is not used as an assignment symbol, and is used as a symbol for determining whether the symbols are equal or not.
And step 23, calculating by the server, wherein the server obtains ① previous running conditions of the equipment, ② user position information, ③ environment information obtained from the China weather data network, ④ other household appliance information and ⑤ other information.
The determination of when and what kind of signal the control signal is to issue is based on several factors above. For example: the user often moves 17:50 from a certain position to home, the user often turns on the air conditioner at 18:25 in summer, the user takes a bath by using the water heater at about 20:00, the server side starts the air conditioner at 18:20, starts the water heater at 19:50 and increases the temperature of the air conditioner at 20: 00. For another example: control information of the home appliance, such as a mode (cooling, heating, dehumidifying, etc.) in which the air conditioner is turned on and a set numerical value, is determined based on the environmental data, and the dehumidification mode is turned on when the humidity is high.
Optionally, the server allows the user to use network location positioning (GPS positioning is not necessary), and even the user can optionally turn off the positioning information (so that the server only controls the intelligent household appliance according to the past use habits); and the server side controls the household appliances not only by considering one product, but also by considering a plurality of household appliance products to respectively make control decisions.
For example: still using the notation of step 22, additionally, the user habit is influenced by time T and distance L, and the user habit of using a water heater is H (T, L). The hot water heating time is n, H ═ 0 is not used, and H ═ 1 is used. If (T1, L1) is one pair of data in the solution set of function H (T, L) ═ 1, then at (T1-n) time and when | L1-L | < m is satisfied, a signal to turn on the water heater is sent and the air conditioner temperature is raised, otherwise recalculated.
For example: h (T, L) was classified using Logistic regression algorithm.
And 24, sending a control signal, wherein the server sends the control signal by default, and the user can optionally start a push function at the client and receive the control information sent by the server.
And step 25, judging whether the execution is successful or not according to the home appliance return signal, if so, calculating whether the uploading requirement is met, similarly to the step 22, otherwise, if not, the execution is unsuccessful, and the server determines whether to retry the execution or not according to the error reason (using the error code, 0001-.
In an alternative embodiment, the server uses its own device (e.g., mobile device), but this may have an impact on the system performance; the web page can be used to replace APP, but this affects the location service, so that the system cannot take into account the user location factor and reduce the system performance.

Claims (9)

1. A method for controlling an appliance, comprising:
acquiring the current state of at least one household appliance added to a set database, and acquiring the current position information and the current use habit of a user to which the at least one household appliance belongs;
determining control information for controlling the current condition according to the current position information and the current use habit;
controlling a corresponding household appliance in at least one household appliance according to the control information; enabling the server to uniformly manage the running state of the household appliances according to the position information of the user and the state information of the household appliances;
further comprising:
receiving an adding request which is sent by a client and carries household appliance information of household appliances to be added;
determining whether the household appliance information carried by the adding request exists in a set database;
if the household appliance information does not exist in the database, adding the household appliance information into the database;
further comprising:
after searching the household appliance to be added with the household appliance information in a household appliance list corresponding to the database, sending a control code for trying to control the household appliance to be added to the household appliance to be added;
if the return information of the household appliance to be added based on the control code is received, determining that the household appliance to be added is successfully added, and sending an adding success message of the household appliance to be added to a client;
if the return information of the household appliances to be added based on the control codes is not received, determining that the household appliances to be added are failed to be added, and sending the addition failure information of the household appliances to be added to the client; by enabling the server to integrate multiple intelligent appliances, the control signal uses the exact protocol and commands of each appliance, determining that the control signal considers all intelligent appliances.
2. The method of claim 1, wherein,
acquiring the current condition of at least one household appliance added to a set database, wherein the current condition comprises the following steps:
acquiring the current state of at least one household appliance fed back by the household appliance and/or the current state of at least one household appliance collected and fed back by a camera;
and/or the presence of a gas in the gas,
acquiring current position information of a user to which at least one household appliance belongs, wherein the current position information comprises:
acquiring current position information sent by a positioning module and/or a client carried by a user to which at least one household appliance belongs;
and/or the presence of a gas in the gas,
the method for acquiring the current use habit of the user to which at least one household appliance belongs comprises the following steps:
and acquiring the current use habit of the user to which at least one household appliance belongs, which is sent by a client, or calling the last use habit of the user to which at least one household appliance belongs from the database as the current use habit, or extracting the learned accumulated use habit of the user to which at least one household appliance belongs from the database as the current use habit.
3. The method according to claim 1 or 2, wherein,
determining control information for controlling the current situation according to the current location information and the current usage habit, including:
determining whether the time for acquiring the current position information has passed a set time length;
if the time for acquiring the current position information passes the set time length, acquiring the current distance from home of the user to which at least one household appliance belongs from the current position information to the set time length, and determining whether the current distance from home is smaller than the set distance;
if the current distance from the home is smaller than the set distance, determining the sending type and/or sending time of the control signal according to the current use habit; the issue type includes: controlling the household appliance to be turned on or off;
and/or the presence of a gas in the gas,
controlling a corresponding household appliance of at least one household appliance according to the control information, comprising:
if the user leaves home, controlling the household appliances which are allowed to be powered off in at least one household appliance to be powered off;
or if the user goes home, controlling the household appliances running on the household appliances to be powered on.
4. A control device for an electric home appliance, comprising:
the communication unit is used for acquiring the current state of at least one household appliance added into the set database and acquiring the current position information and the current use habit of a user to which the at least one household appliance belongs;
the control unit is used for determining control information for controlling the current condition according to the current position information and the current use habit;
the control unit is further used for controlling a corresponding household appliance in at least one household appliance according to the control information; enabling the server to uniformly manage the running state of the household appliances according to the position information of the user and the state information of the household appliances;
further comprising:
the control unit is also used for receiving an adding request which is sent by the client and carries household appliance information of household appliances to be added;
the control unit is further configured to determine whether the set database has the home appliance information carried by the addition request;
the control unit is further configured to add the home appliance information to the database if the home appliance information is not present in the database;
further comprising:
the control unit is further configured to search the home appliance to be added to which the home appliance information is added in a home appliance list corresponding to the database, and then send a control code for attempting to control the home appliance to be added to the home appliance to be added;
the control unit is further configured to determine that the household appliance to be added is successfully added if receiving the return information of the household appliance to be added based on the control code, and send an addition success message of the household appliance to be added to the client;
the control unit is further configured to determine that the household appliance to be added fails to be added if the return information of the household appliance to be added based on the control code is not received, and send an addition failure message of the household appliance to be added to the client; by enabling the server to integrate multiple intelligent appliances, the control signal uses the exact protocol and commands of each appliance, determining that the control signal considers all intelligent appliances.
5. The apparatus of claim 4, wherein,
the communication unit acquires a current status of at least one home appliance that has been added to a set database, including:
acquiring the current state of at least one household appliance fed back by the household appliance and/or the current state of at least one household appliance collected and fed back by a camera;
and/or the presence of a gas in the gas,
the communication unit acquires current position information of a user to which at least one household appliance belongs, and the method comprises the following steps:
acquiring current position information sent by a positioning module and/or a client carried by a user to which at least one household appliance belongs;
and/or the presence of a gas in the gas,
the communication unit acquires the current use habit of a user to which at least one household appliance belongs, and comprises the following steps:
and acquiring the current use habit of the user to which at least one household appliance belongs, which is sent by a client, or calling the last use habit of the user to which at least one household appliance belongs from the database as the current use habit, or extracting the learned accumulated use habit of the user to which at least one household appliance belongs from the database as the current use habit.
6. The apparatus of claim 4 or 5, wherein,
the control unit determines control information for controlling the current situation according to the current location information and the current usage habit, and the control information comprises:
determining whether the time for acquiring the current position information has passed a set time length;
if the time for acquiring the current position information passes the set time length, acquiring the current distance from home of the user to which at least one household appliance belongs from the current position information to the set time length, and determining whether the current distance from home is smaller than the set distance;
if the current distance from the home is smaller than the set distance, determining the sending type and/or sending time of the control signal according to the current use habit; the issue type includes: controlling the household appliance to be turned on or off;
and/or the presence of a gas in the gas,
the control unit controls a corresponding household appliance in at least one household appliance according to the control information, and the control unit comprises:
if the user leaves home, controlling the household appliances which are allowed to be powered off in at least one household appliance to be powered off;
or if the user goes home, controlling the household appliances running on the household appliances to be powered on.
7. A server, comprising: a control device for an electrical appliance as claimed in any one of claims 4 to 6.
8. A storage medium having a plurality of instructions stored therein; the plurality of instructions for being loaded by a processor and executing the method for controlling an appliance according to any one of claims 1 to 3.
9. A server, comprising:
a processor for executing a plurality of instructions;
a memory to store a plurality of instructions;
wherein the instructions are stored in the memory, and loaded by the processor to execute the method for controlling an appliance according to any one of claims 1 to 3.
CN201811302741.XA 2018-11-02 2018-11-02 Household appliance control method and device, storage medium and server Active CN109167711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811302741.XA CN109167711B (en) 2018-11-02 2018-11-02 Household appliance control method and device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811302741.XA CN109167711B (en) 2018-11-02 2018-11-02 Household appliance control method and device, storage medium and server

Publications (2)

Publication Number Publication Date
CN109167711A CN109167711A (en) 2019-01-08
CN109167711B true CN109167711B (en) 2020-02-07

Family

ID=64876542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811302741.XA Active CN109167711B (en) 2018-11-02 2018-11-02 Household appliance control method and device, storage medium and server

Country Status (1)

Country Link
CN (1) CN109167711B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884911A (en) * 2019-03-21 2019-06-14 珠海格力电器股份有限公司 A kind of household appliance controller and its control method, device and storage medium
CN110794700A (en) * 2019-11-26 2020-02-14 国网电子商务有限公司 Family energy efficiency optimization system, method and device
CN113341738A (en) * 2021-05-24 2021-09-03 青岛海尔空调器有限总公司 Method, device and equipment for controlling household appliance
CN113777938B (en) * 2021-08-31 2023-07-18 东风柳州汽车有限公司 Household appliance control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942946A (en) * 2013-12-31 2014-07-23 海尔集团公司 Cloud server used for controlling household electrical appliance
CN104166396A (en) * 2014-08-27 2014-11-26 深圳创维-Rgb电子有限公司 Intelligent home control method and system
CN104267608A (en) * 2014-10-20 2015-01-07 珠海格力电器股份有限公司 Intelligent household equipment control method, device and system
CN105629744A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Control method of smart home, control system, terminal and smart home system
CN108449245A (en) * 2018-04-11 2018-08-24 珠海格力电器股份有限公司 Apparatus control system, apparatus control method based on Internet of Things and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783509A (en) * 2016-08-27 2018-03-09 北京北信源软件股份有限公司 A kind of intelligent home furnishing control method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942946A (en) * 2013-12-31 2014-07-23 海尔集团公司 Cloud server used for controlling household electrical appliance
CN104166396A (en) * 2014-08-27 2014-11-26 深圳创维-Rgb电子有限公司 Intelligent home control method and system
CN104267608A (en) * 2014-10-20 2015-01-07 珠海格力电器股份有限公司 Intelligent household equipment control method, device and system
CN105629744A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Control method of smart home, control system, terminal and smart home system
CN108449245A (en) * 2018-04-11 2018-08-24 珠海格力电器股份有限公司 Apparatus control system, apparatus control method based on Internet of Things and device

Also Published As

Publication number Publication date
CN109167711A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN109167711B (en) Household appliance control method and device, storage medium and server
CN104166396B (en) A kind of intelligent home furnishing control method and system
CN107168085B (en) Intelligent household equipment remote control method, device, medium and computing equipment
CN107533094B (en) Method and system for optimizing execution of user commands related to power management
CN109548116A (en) ZigBee gateway batch method of network entry, device and equipment based on NFC
CN110247829A (en) Appliances equipment control method, device, electronic equipment and storage medium
CN109556229B (en) Control method of air conditioning equipment and air conditioning equipment
WO2017020781A1 (en) Power saving processing method, device, mobile terminal and cloud server
CN111965991B (en) Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
CN109753034A (en) A kind of control method, device, electronic equipment and storage medium
CN103053176A (en) Information notification device, information notification system, information notification method, and program
CN109412908B (en) Method and equipment for voice display of controllable equipment
CN113395193B (en) Equipment control method and device, computer equipment and storage medium
CN113765758B (en) Method, system and device for transmitting scene linkage control instruction and storage medium
CN111464351A (en) Network distribution method and device for intelligent household equipment, terminal equipment and storage medium
CN110830334B (en) Household appliance control method, device, system, server and household appliance
CN113194155A (en) Method and device for intelligently recommending scenes in Internet of things
CN113347068B (en) Rule processing method and device, server and storage medium
CN111043704A (en) Self-cleaning control method and device for air conditioner, electronic equipment and storage medium
CN108107740B (en) Household appliance control method and device
CN113412468A (en) SDK plug-in loading method and device, mobile terminal and storage medium
CN113709380A (en) Control method based on external camera device
CN112543413A (en) Networking method and device for single-live-wire Bluetooth intelligent switch, electronic equipment and medium
CN113616112A (en) Sweeper control method and system, sweeper and computer readable storage medium
WO2023202029A1 (en) Tag data adjustment method and apparatus, and storage medium

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