CN109167711A - A kind of control method of household electrical appliances, device, storage medium and server - Google Patents
A kind of control method of household electrical appliances, device, storage medium and server Download PDFInfo
- Publication number
- CN109167711A CN109167711A CN201811302741.XA CN201811302741A CN109167711A CN 109167711 A CN109167711 A CN 109167711A CN 201811302741 A CN201811302741 A CN 201811302741A CN 109167711 A CN109167711 A CN 109167711A
- Authority
- CN
- China
- Prior art keywords
- household electrical
- electrical appliances
- added
- control
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Telephonic Communication Services (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of control method of household electrical appliances, device, storage medium and servers, this method comprises: obtain the present situation for having been added at least one household electrical appliances in the database of setting, and obtain at least one household electrical appliances owning user current location information and currently used habit;The control information for controlling described the present situation is determined according to the current location information and the currently used habit;The correspondence household electrical appliances at least one described household electrical appliances are controlled according to the control information.The solution of the present invention, can solve number of types of household electrical appliances but will download multiple APP applications there are inconvenient problem with use, achieve the effect that promote property easy to use.
Description
Technical field
The invention belongs to family's electro-technical fields, and in particular to a kind of control method of household electrical appliances, device, storage medium and service
Device more particularly to a kind of control method, device, storage medium and the server of the system for managing intelligent appliance.
Background technique
Many household appliances have WIFI function now, but number of types of household electrical appliances will but download multiple APP applications, this
Mobile phone EMS memory can be wasted significantly, and is increased using difficulty.Multiple factors, intelligent control of household electrical appliance can be comprehensively considered by needing one
The system of operation.
Summary of the invention
It is an object of the present invention in view of the foregoing drawbacks, provide the control methods of household electrical appliances a kind of, device, storage medium and
Server will but download multiple APP application there are inconvenient problem with use to solve number of types of household electrical appliances in the prior art,
Achieve the effect that promote property easy to use.
The present invention provides a kind of control method of household electrical appliances, comprising: obtains at least one had been added in the database of setting
The present situation of a household electrical appliances, and obtain at least one household electrical appliances owning user current location information and currently used habit;According to
The current location information and the currently used habit determine the control information for controlling described the present situation;According to described
Control information controls the correspondence household electrical appliances at least one described household electrical appliances.
Optionally, wherein obtain the present situation for having been added at least one household electrical appliances in the database of setting, comprising:
It obtains the present situation of itself fed back by household electrical appliances described at least one itself, and/or is acquired by camera and fed back at least
The present situation of one household electrical appliances;And/or obtain the current location information of at least one household electrical appliances owning user, comprising: obtain
The current location information sent by the self-contained locating module of at least one household electrical appliances owning user and/or client;And/or
Obtain the currently used habit of at least one household electrical appliances owning user, comprising: obtain at least one the household electrical appliances institute sent by client
Belong to the currently used habit of user, or transfers the last time use habit work of at least one household electrical appliances owning user from the database
For currently used habit, or extract from the database study of Confucian classics acquistion at least one household electrical appliances owning user accumulative use
Habit is used as currently used habit.
Optionally, wherein determined according to the current location information and the currently used habit for controlling described work as
The control information of preceding situation, comprising: determine from whether the time for obtaining the current location information has been subjected to setting duration;If from
The time for obtaining the current location information has been subjected to the setting duration, then obtains at least one household electrical appliances owning user described in
Current location information rises to the distance of currently leaving home after the setting duration, and determines whether the distance of currently leaving home is small
In set distance;If the distance of currently leaving home is less than the set distance, according to the currently used habit determination
It controls the sending type of signal and/or issues the time;The sending type, comprising: control the household electrical appliances and open or close;With/
Or, controlling the correspondence household electrical appliances at least one described household electrical appliances according to the control information, comprising: if user leaves home, control to
The household electrical appliances shutdown for allowing to shut down in few household electrical appliances;Alternatively, controlling and being transported at least one described household electrical appliances if user goes home
The household electrical appliances booting of row booting.
Optionally, further includes: the addition for receiving the family's power information for carrying household electrical appliances to be added sent by client is requested;
Described power information for whether having the addition request to carry in the database of setting determined;If without described in the database
Family's power information, then add described power information in the database.
Optionally, further includes: searched in household electrical appliances list corresponding with the database and added described power information
After the household electrical appliances to be added, the control routine for being used for attempting to control the household electrical appliances to be added is sent to the household electrical appliances to be added;If
Receive the return information of the household electrical appliances to be added based on the control routine, it is determined that the additions of the household electrical appliances to be added at
Function, and the addition success messages of the household electrical appliances to be added is sent to client;Alternatively, if not receiving the household electrical appliances base to be added
In the return information of the control routine, it is determined that fail to the addition of the household electrical appliances to be added, and send the family to be added
The addition failed message of electricity is to client.
Match with the above method, another aspect of the present invention provides a kind of control device of household electrical appliances, comprising: communication unit,
For obtaining the present situation for having been added at least one household electrical appliances in the database of setting, and obtain belonging at least one household electrical appliances
The current location information of user and currently used habit;Control unit, for according to the current location information and described current
Use habit determines the control information for controlling described the present situation;Described control unit is also used to be believed according to the control
Breath controls the correspondence household electrical appliances at least one described household electrical appliances.
Optionally, wherein the communication unit obtains working as at least one household electrical appliances having been added in the database of setting
Preceding situation, comprising: obtain the present situation of itself fed back by household electrical appliances described at least one itself, and/or acquired by camera
And the present situation of at least one household electrical appliances fed back;And/or the communication unit obtains at least one household electrical appliances owning user
Current location information, comprising: obtain and sent out by the self-contained locating module of at least one household electrical appliances owning user and/or client
The current location information sent;And/or the communication unit obtains the currently used habit of at least one household electrical appliances owning user, packet
It includes: obtaining the currently used habit of at least one the household electrical appliances owning user sent by client, or transferred from the database
The last time use habit of at least one household electrical appliances owning user is extracted as currently used habit, or from the database through learning
The accumulative use habit of at least one obtained household electrical appliances owning user is as currently used habit.
Optionally, wherein described control unit is determined and used according to the current location information and the currently used habit
In the control information for controlling described the present situation, comprising: determine from whether the time for obtaining the current location information has been subjected to
Set duration;If having been subjected to the setting duration from the time for obtaining the current location information, at least one household electrical appliances is obtained
Owning user is currently left home distance from the current location information to after the setting duration, and is determined described current
Whether distance of leaving home is less than set distance;If the distance of currently leaving home is less than the set distance, currently made according to described
The sending type of the control signal is determined with habit and/or issues the time;The sending type, comprising: control the household electrical appliances
It opens or closes;And/or described control unit controls the correspondence man at least one described household electrical appliances according to the control information
Electricity, comprising: if user leaves home, control the household electrical appliances shutdown for allowing to shut down at least one described household electrical appliances;Alternatively, if user returns
Family then controls the household electrical appliances booting that booting is run at least one described household electrical appliances.
Optionally, further includes: described control unit is also used to receive and carries household electrical appliances to be added by what client was sent
The addition request of family's power information;Whether described control unit, being also used to determine has the addition request to take in the database of setting
Described power information of band;Described control unit, if being also used to not have described power information in the database, in the number
According to adding described power information in library.
Optionally, further includes: described control unit is also used to search in household electrical appliances list corresponding with the database
After the household electrical appliances to be added for adding described power information, sent to the household electrical appliances to be added described to be added for attempting control
The control routine of household electrical appliances;Described control unit, if being also used to receive household electrical appliances to be added the returning based on the control routine
It writes in reply and ceases, it is determined that the addition success to the household electrical appliances to be added, and send the addition success message of the household electrical appliances to be added extremely
Client;Alternatively, described control unit, if being also used to not receive the return of the household electrical appliances to be added based on the control routine
Information, it is determined that fail to the additions of the household electrical appliances to be added, and send the addition failed messages of the household electrical appliances to be added to visitor
Family end.
Match with above-mentioned apparatus, further aspect of the present invention provides a kind of server, comprising: the control of above-described household electrical appliances
Device processed.
Match with the above method, further aspect of the present invention provides a kind of storage medium, comprising: deposited in the storage medium
Contain a plurality of instruction;The a plurality of instruction, for being loaded by processor and being executed the control method of above-described household electrical appliances.
Match with the above method, further aspect of the present invention provides a kind of server, comprising: processor is more for executing
Item instruction;Memory, for storing a plurality of instruction;Wherein, a plurality of instruction, for being stored by the memory, and by institute
State the control method that processor loads and executes above-described household electrical appliances.
Intelligent management household electrical appliances functions can be realized by only needing an APP in the solution of the present invention;Server can be certainly
It is dynamic to send control signal, family's electricity operation is managed, the property easy to use of user is improved.
Further, the solution of the present invention, by having gone out server (at home or according to the location information of user
Door), environmental information (by server-side obtain household electrical appliances region integrated environment situation), be managed collectively household electrical appliances operating status, make
Good with convenience, user experience is good.
Further, the solution of the present invention, by making server uniformly consider Multiple factors, and server learns user
Habit, according to these factors send control signal, high reliablity, property easy to use are good.
Further, the solution of the present invention, by alloing server to integrate multiple intelligent appliances, control signal uses each
The accurate agreement of household electrical appliances and order, determine control signal consideration is all intelligent appliances, and the convenience that user uses is good and subtracts
The client for having lacked management intelligent appliance, economizes on resources and user experience is good.
Further, the solution of the present invention passes through the location information for issuing server according to user's mobile device and user
The previous information such as time of going home, run household appliance in advance, guarantee user experience, and have saved the memory money of user's mobile device
Source greatly facilitates the use of user.
The solution of the present invention as a result, by making server according to the location information of user and the status information of household electrical appliances, system
One management household electrical appliances operating status, multiple APP will but be downloaded using in the presence of using not by solving number of types of household electrical appliances in the prior art
Convenient problem, thus, overcome the big defect with poor user experience of inconvenient to use, committed memory, realization in the prior art to make
With the beneficial effect convenient, committed memory is small and user experience is good.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Fig. 1 is the flow diagram of an embodiment of the control method of household electrical appliances of the invention;
Fig. 2 is that can be used in method of the invention according to the current location information and the currently used habit determination
Control the flow diagram of an embodiment of the control information of described the present situation;
Fig. 3 is that family's power information of household electrical appliances to be added is added to the implementation in the database of setting in method of the invention
The flow diagram of example;
Fig. 4 is the process signal verified described power information in method of the invention and whether add a successful embodiment
Figure;
Fig. 5 is the structural schematic diagram of an embodiment of the control device of household electrical appliances of the invention;
Fig. 6 is the application system block schematic illustration of an embodiment of server of the invention;
Fig. 7 is the addition intelligent appliance flow diagram of an embodiment of server of the invention;
Fig. 8 is that an embodiment of server of the invention is system control process schematic diagram.
In conjunction with attached drawing, appended drawing reference is as follows in the embodiment of the present invention:
1- meteorological data module (such as China Meteorological data network http://data.cma.cn);2- communication link;3- service
Device;4- network module;5- home router;6- house;(such as server push information or client send control to 7- interactive link
The interactive link of information processed);102- communication unit;104- control unit.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and
Technical solution of the present invention is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
According to an embodiment of the invention, a kind of control method of household electrical appliances is provided, the one of method of the invention as shown in Figure 1
The flow diagram of embodiment.The control method of the household electrical appliances may include: step S110 to step S130.
At step S110, the present situation for having been added at least one household electrical appliances in the database of setting is obtained, and obtain
Take at least one household electrical appliances owning user current location information and currently used habit.Such as: described the present situation can wrap
It includes: at least one of open state, off-mode, operation degree, runing time.
Optionally, the present situation for having been added at least one household electrical appliances in the database of setting is obtained in step S110,
It may include: to obtain the present situation of itself feed back by household electrical appliances described at least one itself, and/or acquired by camera and anti-
The present situation of at least one household electrical appliances of feedback.
Obtain the present situation of at least one household electrical appliances in user's residence in several ways as a result, the mode of acquisition is easy,
And the accuracy for obtaining result is good.
Optionally, the current location information that at least one household electrical appliances owning user is obtained in step S110 may include: to obtain
The current location information sent by the self-contained locating module of at least one household electrical appliances owning user and/or client.
The current location information for obtaining user in several ways as a result, can accurately learn that user currently leaves home position,
To be left home the present situations of at least one household electrical appliances in position control man according to user, to promote making for user more humanely
With experience.
Optionally, the currently used habit that at least one household electrical appliances owning user is obtained in step S110 may include: to obtain
At least one is transferred by the currently used habit at least one household electrical appliances owning user that client is sent, or from the database
The last time use habit of household electrical appliances owning user extracts study of Confucian classics acquistion to extremely as currently used habit, or from the database
The accumulative use habit of a few household electrical appliances owning user is as currently used habit.
User is obtained in several ways as a result, to the currently used habit of at least one household electrical appliances, acquisition modes it is easy and
Flexibly;Furthermore, it is possible to which the currently used habit based on user realizes the automatic control at least one household electrical appliances, use is greatly facilitated
The life at family, intelligence degree is high, and user experience is good, hommization is good.
At step S120, it can be used for controlling institute according to the current location information and the currently used habit determination
State the control information of the present situation.
It is alternatively possible to described make as shown in connection with fig. 2 according to the current location information and currently in method of the invention
The embodiment flow diagram that can be used for controlling the control information of described the present situation is determined with habit, further illustrates step
It can be used for controlling described the present situation according to the current location information and the currently used habit determination in rapid S120
The detailed process for controlling information, may include: step S210 to step S230.
Step S210 is determined from whether the time for obtaining the current location information has been subjected to setting duration.
Step S220 is obtained at least if having been subjected to the setting duration from the time for obtaining the current location information
One household electrical appliances owning user is currently left home distance from the current location information to after the setting duration, and is determined
Whether the distance of currently leaving home is less than set distance.
Step S230, it is true according to the currently used habit if the distance of currently leaving home is less than the set distance
The sending type of the fixed control signal and/or sending time.The sending type may include: described electric-opening of control
Or it closes.
Such as: server is a data processing centre and control centre, from household electrical appliances, mobile device, China Meteorological data
Net (optionally, which can change other weather sites into, or directly be measured using sensing apparatus) obtains
Information is calculated, and server determines control information.Client can also provide control information, the control of client to server
Information priorities highest processed can control information with alternative server.Intelligent appliance needs wireless connecting function and can be by network
Control routine control needs manufacturer to provide the information (such as brand, model, control protocol, control API) about intelligent appliance.
The each node needs of network are unobstructed, and household electrical appliances can be accessed by network in server.Mobile device can choose receiving push and disappear
Cease function, the optional content (such as: control message that server-side is sent, family are electrically turn off message etc.) for receiving PUSH message is mobile
Equipment does not directly control household appliances, and server is as bridge to which mobile device can control household electrical appliances.
Such as: as shown in figure 8, step 21, equipment upload data.
Wherein, " equipment " mainly may include: the intelligent appliances such as air-conditioning, refrigerator, camera equipment and mobile device." on
The data of biography " may include: household electrical appliances the present situation and position of mobile equipment information.
Further, server-side judges whether to meet to calculate and require, this is that poll (Polling) calculates largely in order to prevent
Whether the loss of server performance caused by data is met to reduce meaningless calculating using quantity, the calculating of type less data
It calculates and requires.
Assuming that: the record time started is T0, current time T, and record T0 time mobile device leaves home position as L0, and movement is set
The standby position L that leaves home, time in counting period are X, distance threshold m, carry out following steps:
T==T0+X is vacation, waits until to be true.
T==T0+X is true, then T0=T, and is calculated | L-L0 | < m whether be it is true, if true, then meet calculating and require, it is no
Then, it is unsatisfactory for calculating and require.
Wherein, symbol "==" is not as assignment, as determining whether equal symbol.
Further, server-side calculates, and server-side is according to the 1. previous operating condition of equipment;2. customer position information;③
The environmental information obtained on the net from Chinese meteorological data;4. other family's power information;5. other information.
According to above it is several because usually determine control signal when issue which kind of signal (such as: the frequent 17:50 of user from certain
Position is mobile to family, is 18:20 after going back home, and user's summer often turns on the aircondition in 18:25, and 20:00 or so is washed using water heater
Bath, then server-side then can start air-conditioning in 18:20, in 19:50 point starting water heaters, and in 20:00 by air-conditioner temperature tune
It is high).
Wherein, server-side allows user to determine using optional close of network site positioning (necessarily GPS positioning) or even user
Position information (such server-side only can control intelligent appliance according to previous use habit);And server-side controls household electrical appliances not only
Consider a product, can consider multiple household appliances, make control decision respectively.Such as: the symbol of step 22 is still used, additionally
, user's habit is influenced by time T and distance L, and user is H (T, L) using water heater habit.The hot water heating time is n, H
==0 item does not use, and H==1 is used.If (T1, L1) is one pair of them data in function H (T, L)==1 disaggregation, then exist
(T1-n) time and at this time satisfaction | L1-L | < m sends and opens water heater signal and air-conditioner temperature is turned up, otherwise recalculates.
Further, control signal is sent, default sends control signal by server-side, and user pushes away in the optional unlatching of client
Function is sent, the control information that server-side is sent is received.
Further, according to household electrical appliances return signal, judge whether execution succeeds, if success, calculates and whether meet upload
It is required that be similar to step 22, otherwise execute unsuccessful, server-side decides whether to reattempt to executions (use according to error reason
Malfunction code, 0001-0999 are reattempted to, and 1000-1999 is not attempted and to client push error message).
In the case where having been subjected to setting duration by obtaining the time of the current location information of user at oneself as a result, into one
Walk determine user currently leave home distance and leave home in this prior distance be less than set distance in the case where according to the current of user
Use habit determines the sending type of control signal, sending time etc., so that, reliability good to the determination accuracy of control signal
It is high.
At step S130, the correspondence household electrical appliances at least one described household electrical appliances are controlled according to the control information, to realize
The centralized control of at least one household electrical appliances.
Such as: an APP is only needed, intelligent management household electrical appliances functions can be realized;Server can send control letter automatically
Number, manage family's electricity operation;Comprehensively consider environmental factor, household electrical appliances user's demand factor etc..Server can be according to user
Location information (at home or having gone out), environmental information (by server-side obtain household electrical appliances region integrated environment shape
Condition), it is managed collectively household electrical appliances operating status.
Such as: server can uniformly consider Multiple factors, and the habit of server study user, according to these because
Element sends control signal.Server can integrate multiple intelligent appliances, and control signal uses the accurate agreement of each household electrical appliances and life
It enables, determine control signal consideration is all intelligent appliances, and user, which need to only download a client, can be realized intelligent control.Family
It occupies control to be realized by server, user does not need to pay additional hardware resource, and user is optional to be controlled by oneself.Server according to
The location information and user that user's mobile device issues were gone home the information such as time in the past, ran household appliance in advance, guaranteed user
Experience;User can be liberated, all controls can all be operated by server-side.To reduce performance loss, (server and household electrical appliances are set
It is standby), before executing a large amount of calculating or uploading, require first to determine whether to meet to calculate upload condition.
As a result, by obtaining the present situation, the current location information that have been added at least one household electrical appliances in database
With currently used habit, and then according to the current location information and currently used habit determination can be used for controlling the present situation
Information is controlled, and the correspondence household electrical appliances at least one household electrical appliances are controlled according to the control information, realizes the collection at least one household electrical appliances
Middle control greatly improves the usage experience of convenience and user that user uses.
Optionally, the correspondence household electrical appliances at least one described household electrical appliances are controlled according to the control information in step S130, it can
If controlling the household electrical appliances shutdown for allowing to shut down at least one described household electrical appliances to include: that user leaves home;Alternatively, if user goes home,
Then control the household electrical appliances booting that booting is run at least one described household electrical appliances.
Such as: user, which downloads, opens APP (allowing background service), and after going out, server sends out code, closes not
The household electrical appliances (such as air-conditioning, water heater etc.) used guarantee that the household electrical appliances such as refrigerator do not turn off, reduce electric quantity consumption.
Such as: for user during going home, server determines the household electrical appliances that the possibility of user uses according to previous experiences,
For example determine whether (or when) household electrical appliances such as water heater, air-conditioning are opened, everything is all calculated beyond the clouds, is sent and is controlled by server
Signal processed will not cause to be lost to mobile device performance.
It is convenient for users to use as a result, by the booting of control household electrical appliances or shutdown in several cases, also save electric energy
And equipment loss, improve the convenience and safety that user uses.
It can also include: to obtain at least one in the database for having been added to setting in an optional embodiment
Before the present situation of a household electrical appliances, family's power information of household electrical appliances to be added is added to the process in the database of setting.
Below with reference to the database that family's power information of household electrical appliances to be added is added to setting in method of the invention shown in Fig. 3
In an embodiment flow diagram, further explanation family's power information of household electrical appliances to be added is added in the database of setting
Detailed process may include: step S310 to step S330.
Step S310, the addition for receiving the family's power information for carrying household electrical appliances to be added sent by client are requested.Wherein,
Described power information may include: at least one of appliance brand, household electrical appliances model.
Step S320 determines described power information for whether having the addition request to carry in the database of setting.
Step S330 adds the household electrical appliances if not having described power information in the database in the database
Information.
Such as: if Fig. 7 is addition intelligent appliance flow chart, steps are as follows for addition:
User needs to add household electrical appliances, downloads client and runs.
Family's power information (including the information such as appliance brand, model) are added in client.
Server searches for whether have family's power information according to family's power information of addition in the database, and database may be selected to make
With relevant databases such as mysql (i.e. a Relational DBMS), the information saved in database is power plant of family
The disclosed information that quotient provides, while for subsequent control equipment should be saved in database and be provided when household appliances manufacturer's factory
Control protocol, control API (i.e. application programming interface), so that it is determined that using the control signal generation of which kind of agreement and transmission
Code.
As a result, by determining in database in the case where receiving the addition of family's power information of household electrical appliances to be added request
Whether the family power information of the to be added household electrical appliances is had, and addition should in the database if not having family's power information in the database
Family's power information, family's power information of household electrical appliances to be added is added in the database of setting, and be to add automatically, is significantly facilitated
User's use, and the memory space of client is saved, facilitate the property easy to use of client.
It can also include: after adding described power information in the database, to test in an optional embodiment
Demonstrate,prove whether described power information adds successful process.
Below with reference to verifying whether described power information adds successful embodiment stream in method of the invention shown in Fig. 4
Journey schematic diagram, further illustrate verifying described power information whether add successful detailed process, may include: step S410 extremely
Step S430.
Step S410, searched in household electrical appliances list corresponding with the database added described in described power information to
After adding household electrical appliances, the control routine that can be used for attempting controlling the household electrical appliances to be added is sent to the household electrical appliances to be added.
Step S420, if receiving the return information of the household electrical appliances to be added based on the control routine, it is determined that institute
The addition success of household electrical appliances to be added is stated, and sends the addition success messages of the household electrical appliances to be added to client.
Alternatively, step S430, if not receiving the return information of the household electrical appliances to be added based on the control routine, really
The fixed addition to the household electrical appliances to be added fails, and sends the addition failed messages of the household electrical appliances to be added to client.
Such as: as shown in fig. 7, attempting control equipment, the control information that server is determined according to previous step sends one section of control
Code processed (such as: attempt to appliance switch machine), the information returned according to household electrical appliances, it is determined whether run succeeded, then may be used after success
It to close client, so far adds successfully, otherwise addition failure, sends error message to client.
As a result, by after in the database that family's power information of household electrical appliances to be added is added to setting, by to be added
Household electrical appliances send corresponding control routine according to whether receiving corresponding return information to which verifying adds household electrical appliances to be added
Add and whether succeed, be conducive to promote the central controlled reliability to household electrical appliances to be added, to promote the convenience that user uses
And reliability.
Through a large amount of verification experimental verification, intelligence can be realized by only needing an APP using the technical solution of the present embodiment
Household electrical appliances functions can be managed.Server can send control signal automatically, manage family's electricity operation, improve the easy to use of user
Property.
According to an embodiment of the invention, additionally providing a kind of control device of household electrical appliances of the control method corresponding to household electrical appliances.
The structural schematic diagram of one embodiment of the device of the invention shown in Figure 5.The control device of the household electrical appliances may include: communication unit
Member 102 and control unit 104.
In an optional example, communication unit 102 can be used for obtaining in the database for having been added to setting at least
The present situation of one household electrical appliances, and obtain at least one household electrical appliances owning user current location information and currently used habit.Example
Such as: described the present situation may include: at least one of open state, off-mode, operation degree, runing time.This is logical
The concrete function for believing unit 102 and processing are referring to step S110.
Optionally, the communication unit 102 obtains the current of at least one household electrical appliances having been added in the database of setting
Situation may include: the communication unit 102, specifically can be also used for obtaining by household electrical appliances described at least one itself feedback
The present situation of itself, and/or the present situation of at least one household electrical appliances for being acquired by camera and being fed back.
Obtain the present situation of at least one household electrical appliances in user's residence in several ways as a result, the mode of acquisition is easy,
And the accuracy for obtaining result is good.
Optionally, the communication unit 102 obtains the current location information of at least one household electrical appliances owning user, can wrap
Include: the communication unit 102 specifically can be also used for obtaining the locating module self-contained by least one household electrical appliances owning user
And/or the current location information that client is sent.
The current location information for obtaining user in several ways as a result, can accurately learn that user currently leaves home position,
To be left home the present situations of at least one household electrical appliances in position control man according to user, to promote making for user more humanely
With experience.
Optionally, the communication unit 102 obtains the currently used habit of at least one household electrical appliances owning user, can wrap
Include: the communication unit 102 specifically can be also used for obtaining the current of at least one the household electrical appliances owning user sent by client
Use habit, or the last time use habit of at least one household electrical appliances owning user is transferred as currently used habit from the database
It is used, or extract from the database study of Confucian classics acquistion at least one household electrical appliances owning user accumulative use habit as current
Use habit.
User is obtained in several ways as a result, to the currently used habit of at least one household electrical appliances, acquisition modes it is easy and
Flexibly;Furthermore, it is possible to which the currently used habit based on user realizes the automatic control at least one household electrical appliances, use is greatly facilitated
The life at family, intelligence degree is high, and user experience is good, hommization is good.
In an optional example, control unit 104 can be used for according to the current location information and described currently make
The control information that can be used for controlling described the present situation is determined with habit.The concrete function and processing ginseng of the control unit 104
See step S120.
Optionally, described control unit 104 can be with according to the current location information and the currently used habit determination
For controlling the control information of described the present situation, may include:
Described control unit 104 specifically can be also used for determining whether to obtain the time of the current location information certainly
By setting duration.The concrete function of the control unit 104 and processing see also step S210.
Described control unit 104, if specifically can be also used for having been subjected to institute from the time for obtaining the current location information
Setting duration is stated, then obtains at least one household electrical appliances owning user from the current location information to after the setting duration
Currently leave home distance, and determine whether the distance of currently leaving home is less than set distance.The concrete function of the control unit 104
And processing sees also step S220.
Described control unit 104, if specifically can be also used for the distance of currently leaving home is less than the set distance, root
The sending type of the control signal is determined according to the currently used habit and/or issues the time.The sending type, can wrap
It includes: controlling the household electrical appliances and open or close.The concrete function of the control unit 104 and processing see also step S230.
Such as: server is a data processing centre and control centre, from household electrical appliances, mobile device, China Meteorological data
Net (optionally, which can change other weather sites into, or directly be measured using sensing apparatus) obtains
Information is calculated, and server determines control information.Client can also provide control information, the control of client to server
Information priorities highest processed can control information with alternative server.Intelligent appliance needs wireless connecting function and can be by network
Control routine control needs manufacturer to provide the information (such as brand, model, control protocol, control API) about intelligent appliance.
The each node needs of network are unobstructed, and household electrical appliances can be accessed by network in server.Mobile device can choose receiving push and disappear
Cease function, the optional content (such as: control message that server-side is sent, family are electrically turn off message etc.) for receiving PUSH message is mobile
Equipment does not directly control household appliances, and server is as bridge to which mobile device can control household electrical appliances.
Such as: as shown in figure 8, step 21, equipment upload data.
Wherein, " equipment " mainly may include: the intelligent appliances such as air-conditioning, refrigerator, camera equipment and mobile device." on
The data of biography " may include: household electrical appliances the present situation and position of mobile equipment information.
Further, server-side judges whether to meet to calculate and require, this is that poll (Polling) calculates largely in order to prevent
Whether the loss of server performance caused by data is met to reduce meaningless calculating using quantity, the calculating of type less data
It calculates and requires.
Assuming that: the record time started is T0, current time T, and record T0 time mobile device leaves home position as L0, and movement is set
The standby position L that leaves home, time in counting period are X, distance threshold m, carry out following steps:
T==T0+X is vacation, waits until to be true.
T==T0+X is true, then T0=T, and is calculated | L-L0 | < m whether be it is true, if true, then meet calculating and require, it is no
Then, it is unsatisfactory for calculating and require.
Wherein, symbol "==" is not as assignment, as determining whether equal symbol.
Further, server-side calculates, and server-side is according to the 1. previous operating condition of equipment;2. customer position information;③
The environmental information obtained on the net from Chinese meteorological data;4. other family's power information;5. other information.
According to above it is several because usually determine control signal when issue which kind of signal (such as: the frequent 17:50 of user from certain
Position is mobile to family, is 18:20 after going back home, and user's summer often turns on the aircondition in 18:25, and 20:00 or so is washed using water heater
Bath, then server-side then can start air-conditioning in 18:20, in 19:50 point starting water heaters, and in 20:00 by air-conditioner temperature tune
It is high).
Wherein, server-side allows user to determine using optional close of network site positioning (necessarily GPS positioning) or even user
Position information (such server-side only can control intelligent appliance according to previous use habit);And server-side controls household electrical appliances not only
Consider a product, can consider multiple household appliances, make control decision respectively.Such as: the symbol of step 22 is still used, additionally
, user's habit is influenced by time T and distance L, and user is H (T, L) using water heater habit.The hot water heating time is n, H
==0 item does not use, and H==1 is used.If (T1, L1) is one pair of them data in function H (T, L)==1 disaggregation, then exist
(T1-n) time and at this time satisfaction | L1-L | < m sends and opens water heater signal and air-conditioner temperature is turned up, otherwise recalculates.
Further, control signal is sent, default sends control signal by server-side, and user pushes away in the optional unlatching of client
Function is sent, the control information that server-side is sent is received.
Further, according to household electrical appliances return signal, judge whether execution succeeds, if success, calculates and whether meet upload
It is required that be similar to step 22, otherwise execute unsuccessful, server-side decides whether to reattempt to executions (use according to error reason
Malfunction code, 0001-0999 are reattempted to, and 1000-1999 is not attempted and to client push error message).
In the case where having been subjected to setting duration by obtaining the time of the current location information of user at oneself as a result, into one
Walk determine user currently leave home distance and leave home in this prior distance be less than set distance in the case where according to the current of user
Use habit determines the sending type of control signal, sending time etc., so that, reliability good to the determination accuracy of control signal
It is high.
In an optional example, described control unit 104 can be also used for controlling at least one according to the control information
Correspondence household electrical appliances in a household electrical appliances, to realize the centralized control at least one household electrical appliances.The control unit 104 it is specific
Function and processing see also step S130.
Such as: an APP is only needed, intelligent management household electrical appliances functions can be realized;Server can send control letter automatically
Number, manage family's electricity operation;Comprehensively consider environmental factor, household electrical appliances user's demand factor etc..Server can be according to user
Location information (at home or having gone out), environmental information (by server-side obtain household electrical appliances region integrated environment shape
Condition), it is managed collectively household electrical appliances operating status.
Such as: server can uniformly consider Multiple factors, and the habit of server study user, according to these because
Element sends control signal.Server can integrate multiple intelligent appliances, and control signal uses the accurate agreement of each household electrical appliances and life
It enables, determine control signal consideration is all intelligent appliances, and user, which need to only download a client, can be realized intelligent control.Family
It occupies control to be realized by server, user does not need to pay additional hardware resource, and user is optional to be controlled by oneself.Server according to
The location information and user that user's mobile device issues were gone home the information such as time in the past, ran household appliance in advance, guaranteed user
Experience;User can be liberated, all controls can all be operated by server-side.To reduce performance loss, (server and household electrical appliances are set
It is standby), before executing a large amount of calculating or uploading, require first to determine whether to meet to calculate upload condition.
As a result, by obtaining the present situation, the current location information that have been added at least one household electrical appliances in database
With currently used habit, and then according to the current location information and currently used habit determination can be used for controlling the present situation
Information is controlled, and the correspondence household electrical appliances at least one household electrical appliances are controlled according to the control information, realizes the collection at least one household electrical appliances
Middle control greatly improves the usage experience of convenience and user that user uses.
Optionally, described control unit 104 controls the correspondence man at least one described household electrical appliances according to the control information
Electricity may include: described control unit 104, leave home if specifically can be also used for user, control at least one described household electrical appliances
The household electrical appliances shutdown for allowing to shut down;Alternatively, described control unit 104, goes home if specifically can be also used for user, controls at least one
The household electrical appliances booting of booting is run in a household electrical appliances.
Such as: user, which downloads, opens APP (allowing background service), and after going out, server sends out code, closes not
The household electrical appliances (such as air-conditioning, water heater etc.) used guarantee that the household electrical appliances such as refrigerator do not turn off, reduce electric quantity consumption.
Such as: for user during going home, server determines the household electrical appliances that the possibility of user uses according to previous experiences,
For example determine whether (or when) household electrical appliances such as water heater, air-conditioning are opened, everything is all calculated beyond the clouds, is sent and is controlled by server
Signal processed will not cause to be lost to mobile device performance.
It is convenient for users to use as a result, by the booting of control household electrical appliances or shutdown in several cases, also save electric energy
And equipment loss, improve the convenience and safety that user uses.
It can also include: to obtain at least one in the database for having been added to setting in an optional embodiment
Before the present situation of a household electrical appliances, family's power information of household electrical appliances to be added is added to the process in the database of setting, specifically such as
Under:
Described control unit 104 can be also used for receiving the family's telecommunications for carrying household electrical appliances to be added sent by client
The addition of breath is requested.Wherein, described power information may include: at least one of appliance brand, household electrical appliances model.The control
The concrete function of unit 104 and processing see also step S310.
Described control unit 104 can be also used for determining whether there is the addition request carrying in the database set
Described power information.The concrete function of the control unit 104 and processing see also step S320.
Described control unit 104, if can be also used for not having described power information in the database, in the data
Described power information is added in library.The concrete function of the control unit 104 and processing see also step S330.
Such as: if Fig. 7 is addition intelligent appliance flow chart, steps are as follows for addition:
User needs to add household electrical appliances, downloads client and runs.
Family's power information (including the information such as appliance brand, model) are added in client.
Server searches for whether have family's power information according to family's power information of addition in the database, and database may be selected to make
With relevant databases such as mysql (i.e. a Relational DBMS), the information saved in database is power plant of family
The disclosed information that quotient provides, while for subsequent control equipment should be saved in database and be provided when household appliances manufacturer's factory
Control protocol, control API (i.e. application programming interface), so that it is determined that using the control signal generation of which kind of agreement and transmission
Code.
As a result, by determining in database in the case where receiving the addition of family's power information of household electrical appliances to be added request
Whether the family power information of the to be added household electrical appliances is had, and addition should in the database if not having family's power information in the database
Family's power information, family's power information of household electrical appliances to be added is added in the database of setting, and be to add automatically, is significantly facilitated
User's use, and the memory space of client is saved, facilitate the property easy to use of client.
It can also include: after adding described power information in the database, to test in an optional embodiment
Demonstrate,prove whether described power information adds successful process, specific as follows:
Described control unit 104 can be also used for searching in household electrical appliances list corresponding with the database and add institute
After the household electrical appliances to be added for stating a power information, it can be used for attempting controlling the family to be added to the household electrical appliances transmission to be added
The control routine of electricity.The concrete function of the control unit 104 and processing see also step S410.
Described control unit 104, if can be also used for receiving household electrical appliances to be added the returning based on the control routine
It writes in reply and ceases, it is determined that the addition success to the household electrical appliances to be added, and send the addition success message of the household electrical appliances to be added extremely
Client.The concrete function of the control unit 104 and processing see also step S420.
Alternatively, described control unit 104, if can be also used for not receiving the household electrical appliances to be added based on the control generation
The return information of code, it is determined that fail to the addition of the household electrical appliances to be added, and send the addition failure of the household electrical appliances to be added
Message is to client.The concrete function of the control unit 104 and processing see also step S430.
Such as: as shown in fig. 7, attempting control equipment, the control information that server is determined according to previous step sends one section of control
Code processed (such as: attempt to appliance switch machine), the information returned according to household electrical appliances, it is determined whether run succeeded, then may be used after success
It to close client, so far adds successfully, otherwise addition failure, sends error message to client.
As a result, by after in the database that family's power information of household electrical appliances to be added is added to setting, by to be added
Household electrical appliances send corresponding control routine according to whether receiving corresponding return information to which verifying adds household electrical appliances to be added
Add and whether succeed, be conducive to promote the central controlled reliability to household electrical appliances to be added, to promote the convenience that user uses
And reliability.
The processing and function realized by the device of the present embodiment essentially correspond to earlier figures 1 to method shown in Fig. 4
Embodiment, principle and example, therefore not detailed place in the description of the present embodiment may refer to mutually speaking on somebody's behalf in previous embodiment
Bright, this will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, by believing that server according to the position of user
(at home or having gone out), environmental information (the integrated environment situation of household electrical appliances region is obtained by server-side) are ceased, it is unified to manage
The electricity operation that keeps house state, property easy to use is good, and user experience is good.
According to an embodiment of the invention, additionally providing a kind of server of the control device corresponding to household electrical appliances.The server
It may include: the control device of above-described household electrical appliances.
The processing and function realized by the server of the present embodiment essentially correspond to the reality of aforementioned device shown in fig. 5
Example, principle and example are applied, therefore not detailed place in the description of the present embodiment, it may refer to the related description in previous embodiment,
This will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, by making server uniformly consider Multiple factors, and
And the habit of server study user, control signal is sent according to these factors, high reliablity, property easy to use are good.
According to an embodiment of the invention, additionally providing a kind of storage medium of the control method corresponding to household electrical appliances.The storage
Medium may include: that a plurality of instruction is stored in the storage medium;The a plurality of instruction, for being loaded by processor and being held
The control method of the above-described household electrical appliances of row.
The processing and function realized by the storage medium of the present embodiment essentially correspond to earlier figures 1 to shown in Fig. 4
Embodiment, principle and the example of method, therefore not detailed place in the description of the present embodiment, may refer to the phase in previous embodiment
It speaks on somebody's behalf bright, this will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, by alloing server to integrate multiple intelligent families
Electricity, control signal use the accurate agreement of each household electrical appliances and order, and that determine control signal consideration is all intelligent appliances, user
The convenience used is good and reduces the client of management intelligent appliance, economizes on resources and user experience is good.
According to an embodiment of the invention, additionally providing a kind of server of the control method corresponding to household electrical appliances.The server,
It may include: processor, for executing a plurality of instruction;Memory, for storing a plurality of instruction;Wherein, a plurality of instruction is used
It is stored in by the memory, and is loaded by the processor and executed the control method of above-described household electrical appliances.
The processing and function realized by the server of the present embodiment essentially correspond to earlier figures 1 to side shown in Fig. 4
Embodiment, principle and the example of method, therefore not detailed place in the description of the present embodiment, may refer to the correlation in previous embodiment
Illustrate, this will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, by sending out server according to user's mobile device
Location information and user out was gone home the information such as time in the past, ran household appliance in advance, guaranteed user experience, and save
The memory source of user's mobile device greatly facilitates the use of user.
To sum up, it will be readily appreciated by those skilled in the art that under the premise of not conflicting, above-mentioned each advantageous manner can be certainly
It combined, be superimposed by ground.
The above description is only an embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification,
Equivalent replacement, improvement etc., should be included within scope of the presently claimed invention.
In an optional embodiment, the solution of the present invention provides a kind of system for managing intelligent appliance.The management
The system of intelligent appliance, it is only necessary to which intelligent management household electrical appliances functions can be realized in an APP;Server can send control automatically
Signal manages family's electricity operation;Comprehensively consider environmental factor, household electrical appliances user's demand factor etc..This system has been used, has been serviced
Device (can obtain household electrical appliances region by server-side according to the location information (at home or having gone out) of user, environmental information
Integrated environment situation), be managed collectively household electrical appliances operating status.
Optionally, user, which downloads, opens APP (allowing background service), and after going out, server sends out code, closes
The household electrical appliances (such as air-conditioning, water heater etc.) not used guarantee that the household electrical appliances such as refrigerator do not turn off, reduce electric quantity consumption.
Optionally, for user during going home, server determines the family that the possibility of user uses according to previous experiences
Electricity, for example determine whether (or when) household electrical appliances such as water heater, air-conditioning are opened, everything all calculates beyond the clouds, is sent out by server
Control signal is sent, mobile device performance will not be caused to be lost.
In an optional example, in the solution of the present invention, server can uniformly consider Multiple factors, and server
The habit for learning user sends control signal according to these factors.
Optionally, server can integrate multiple intelligent appliances, and control signal uses the accurate agreement of each household electrical appliances and life
It enables, determine control signal consideration is all intelligent appliances, and user, which need to only download a client, can be realized intelligent control.
Optionally, home control is realized by server, and user does not need to pay additional hardware resource, and user is optional by certainly
Oneself controls.
Optionally, the location information and user that server is issued according to user's mobile device were gone home the information such as time in the past,
Household appliance is run in advance, guarantees user experience;User can be liberated, all controls can all be operated by server-side.
Optionally, (server and household appliance) is lost to reduce performance, before executing a large amount of calculating or uploading, all needs
First to determine whether to meet and calculate upload condition.
In an optional specific embodiment, Fig. 6 may refer to example shown in Fig. 8, to the solution of the present invention
Specific implementation process illustrates.
In an optional specific example, Fig. 6 is system framework figure, in system framework shown in Fig. 6, may include:
Meteorological data module 1 (such as China Meteorological data network http://data.cma.cn), communication link 2, server 3, network module
4, home router 5, house 6, server push information or client send the interactive link 7 of control information.
Server is a data processing centre and control centre, (can from household electrical appliances, mobile device, China Meteorological data network
Selection of land, which can change other weather sites into, or directly be measured using sensing apparatus) information is obtained,
It is calculated, server determines control information.
Optionally, client can also provide control information to server, and the control information priorities highest of client can
Information is controlled with alternative server.
Optionally, intelligent appliance needs wireless connecting function and can be controlled by network-control code, and manufacturer is needed to provide
Information (such as brand, model, control protocol, control API) about intelligent appliance.
Optionally, each node of network needs unobstructed, and household electrical appliances can be accessed by network in server.
Optionally, mobile device, which can choose, receives PUSH message function, it is optional receive PUSH message content (such as:
The control message of server-side transmission, family are electrically turn off message etc.), mobile device does not directly control household appliances, and server is as bridge
Beam can control household electrical appliances to mobile device.
In an optional specific example, Fig. 7 is addition intelligent appliance flow chart, and steps are as follows for addition:
Step 11, user need to add household electrical appliances, download client and run.
Step 12 adds family's power information (including the information such as appliance brand, model) in client.
Step 13, server search for whether have family's power information, database according to family's power information of addition in the database
It may be selected to use relevant databases such as mysql (i.e. a Relational DBMSs), the information saved in database
For the disclosed information that household appliances manufacturer provides, while for subsequent control equipment, household appliances manufacturer's factory should be saved in database
When provide control protocol, control API (i.e. application programming interface), so that it is determined that using the control of which kind of agreement and transmission
Signal code.
Step 14 attempts control equipment, and the control information that server is determined according to previous step sends one-stage control code
(such as: attempt to appliance switch machine), the information returned according to household electrical appliances, it is determined whether run succeeded, can then be closed after success
Client is so far added successfully, otherwise addition failure, sends error message to client.
In an optional specific example, Fig. 8 is system control process figure, and detailed step can be such that
Step 21, equipment upload data.
Wherein, " equipment " mainly may include: the intelligent appliances such as air-conditioning, refrigerator, camera equipment and mobile device." on
The data of biography " may include: household electrical appliances the present situation and position of mobile equipment information.
Step 22, server-side, which judge whether to meet to calculate, to be required, this is that poll (Polling) calculates a large amount of numbers in order to prevent
Whether the loss of the server performance caused by meets meter using quantity, the calculating of type less data to reduce meaningless calculating
It calculates and requires.
Assuming that: the record time started is T0, current time T, and record T0 time mobile device leaves home position as L0, and movement is set
The standby position L that leaves home, time in counting period are X, distance threshold m, carry out following steps:
T==T0+X is vacation, waits until to be true.
T==T0+X is true, then T0=T, and is calculated | L-L0 | < m whether be it is true, if true, then meet calculating and require, it is no
Then, it is unsatisfactory for calculating and require.
Such as: equipment given threshold is 500m, and the time in counting period is 60s, in morning 7:55, mobile device and family's distance
It (is in) for 0km, every 60s, server can calculate a current location at a distance from family, 7:56 equipment and family distance 10m,
7:57 equipment and family distance 200m, until 8:00 equipment and the linear distance of family reach 500m, then server-side is calculated.
Wherein, symbol "==" is not as assignment, as determining whether equal symbol.
Step 23, server-side calculate, and server-side is according to the 1. previous operating condition of equipment;2. customer position information;3. from
The environmental information obtained on China Meteorological data network;4. other family's power information;5. other information.
According to several because usually determining which kind of signal when control signal issue above.Such as: the frequent 17:50 of user from certain
Position is mobile to family, is 18:20 after going back home, and user's summer often turns on the aircondition in 18:25, and 20:00 or so is washed using water heater
Bath, then server-side then can start air-conditioning in 18:20, in 19:50 points of starting water heaters, and air-conditioner temperature is turned up in 20:00.
For another example: according to environmental data, determining the control information of household electrical appliances, such as mode (refrigeration, heating, dehumidifying etc.) that air-conditioning is opened and set
Fixed numerical value opens dehumidification mode at high humidity.
Optionally, server-side allows user to position (necessarily GPS positioning) or even the optional closing of user using network site
Location information (such server-side only can control intelligent appliance according to previous use habit);And server-side controls household electrical appliances not only
Only consider a product, can consider multiple household appliances, make control decision respectively.
Such as: the symbol of step 22 is still used, additionally, user's habit is influenced by time T and distance L, and user uses
Water heater habit is H (T, L).The hot water heating time is n, and H==0 is not used then, and H==1 is used.If (T1, L1) is function H
One pair of them data in (T, L)==1 disaggregation then meet in (T1-n) time and at this time | L1-L | < m sends and opens hot water
Device signal and air-conditioner temperature is turned up, otherwise recalculates.
Such as: H (T, L) is classified using Logistic regression algorithm.
Step 24 sends control signal, and default sends control signal by server-side, and user is in the optional unlatching push of client
Function receives the control information that server-side is sent.
Step 25, according to household electrical appliances return signal, judge to execute and whether succeed, if success, calculate and whether meet upload and want
It asks, is similar to step 22, otherwise execute unsuccessful, server-side decides whether to reattempt to execution (using going out according to error reason
Error code, 0001-0999 are reattempted to, and 1000-1999 is not attempted and to client push error message).
In an alternative specific example, server is using oneself equipment (such as: mobile device), but this may
System expression effect is impacted;Page end can be used instead of APP, but this affects positioning service so that system without
Method considers user's positional factor, reduces system performance.
Claims (13)
1. a kind of control method of household electrical appliances characterized by comprising
The present situation for having been added at least one household electrical appliances in the database of setting is obtained, and is obtained belonging at least one household electrical appliances
The current location information of user and currently used habit;
The control information for controlling described the present situation is determined according to the current location information and the currently used habit;
The correspondence household electrical appliances at least one described household electrical appliances are controlled according to the control information.
2. the method according to claim 1, wherein wherein,
Obtain the present situation for having been added at least one household electrical appliances in the database of setting, comprising:
It obtains the present situation of itself for being fed back by household electrical appliances described at least one itself, and/or is acquired and fed back by camera
The present situation of at least one household electrical appliances;
And/or
Obtain the current location information of at least one household electrical appliances owning user, comprising:
Obtain the present bit confidence sent by the self-contained locating module of at least one household electrical appliances owning user and/or client
Breath;
And/or
Obtain the currently used habit of at least one household electrical appliances owning user, comprising:
The currently used habit of at least one the household electrical appliances owning user sent by client is obtained, or is transferred from the database
The last time use habit of at least one household electrical appliances owning user is extracted as currently used habit, or from the database through learning
The accumulative use habit of at least one obtained household electrical appliances owning user is as currently used habit.
3. method according to claim 1 or 2, which is characterized in that wherein,
The control information for controlling described the present situation is determined according to the current location information and the currently used habit,
Include:
It determines from whether the time for obtaining the current location information has been subjected to setting duration;
If having been subjected to the setting duration from the time for obtaining the current location information, obtains and used belonging at least one household electrical appliances
Family is currently left home distance from the current location information to after the setting duration, and determine it is described currently leave home away from
From whether less than set distance;
If the distance of currently leaving home is less than the set distance, the control signal is determined according to the currently used habit
Sending type and/or issue the time;The sending type, comprising: control the household electrical appliances and open or close;
And/or
The correspondence household electrical appliances at least one described household electrical appliances are controlled according to the control information, comprising:
If user leaves home, the household electrical appliances shutdown for allowing to shut down at least one described household electrical appliances is controlled;
Alternatively, controlling the household electrical appliances booting for running booting at least one described household electrical appliances if user goes home.
4. method described in one of -3 according to claim 1, which is characterized in that further include:
The addition for receiving the family's power information for carrying household electrical appliances to be added sent by client is requested;
Described power information for whether having the addition request to carry in the database of setting determined;
If not having described power information in the database, described power information is added in the database.
5. according to the method described in claim 4, it is characterized by further comprising:
After searching for the household electrical appliances to be added for having added described power information in household electrical appliances list corresponding with the database, to
The household electrical appliances to be added send the control routine for being used for attempting to control the household electrical appliances to be added;
If receiving the return information of the household electrical appliances to be added based on the control routine, it is determined that the household electrical appliances to be added
It adds successfully, and sends the addition success messages of the household electrical appliances to be added to client;
Alternatively, if not receiving the return information of the household electrical appliances to be added based on the control routine, it is determined that described wait add
Add the addition of household electrical appliances to fail, and sends the addition failed messages of the household electrical appliances to be added to client.
6. a kind of control device of household electrical appliances characterized by comprising
Communication unit for obtaining the present situation for having been added at least one household electrical appliances in the database of setting, and obtains extremely
The current location information of a few household electrical appliances owning user and currently used habit;
Control unit, for being determined according to the current location information and the currently used habit for controlling the current shape
The control information of condition;
Described control unit is also used to control the correspondence household electrical appliances at least one described household electrical appliances according to the control information.
7. device according to claim 6, which is characterized in that wherein,
The communication unit obtains the present situation for having been added at least one household electrical appliances in the database of setting, comprising:
It obtains the present situation of itself for being fed back by household electrical appliances described at least one itself, and/or is acquired and fed back by camera
The present situation of at least one household electrical appliances;
And/or
The communication unit obtains the current location information of at least one household electrical appliances owning user, comprising:
Obtain the present bit confidence sent by the self-contained locating module of at least one household electrical appliances owning user and/or client
Breath;
And/or
The communication unit obtains the currently used habit of at least one household electrical appliances owning user, comprising:
The currently used habit of at least one the household electrical appliances owning user sent by client is obtained, or is transferred from the database
The last time use habit of at least one household electrical appliances owning user is extracted as currently used habit, or from the database through learning
The accumulative use habit of at least one obtained household electrical appliances owning user is as currently used habit.
8. device according to claim 6 or 7, which is characterized in that wherein,
Described control unit is determined according to the current location information and the currently used habit for controlling the current shape
The control information of condition, comprising:
It determines from whether the time for obtaining the current location information has been subjected to setting duration;
If having been subjected to the setting duration from the time for obtaining the current location information, obtains and used belonging at least one household electrical appliances
Family is currently left home distance from the current location information to after the setting duration, and determine it is described currently leave home away from
From whether less than set distance;
If the distance of currently leaving home is less than the set distance, the control signal is determined according to the currently used habit
Sending type and/or issue the time;The sending type, comprising: control the household electrical appliances and open or close;
And/or
Described control unit controls the correspondence household electrical appliances at least one described household electrical appliances according to the control information, comprising:
If user leaves home, the household electrical appliances shutdown for allowing to shut down at least one described household electrical appliances is controlled;
Alternatively, controlling the household electrical appliances booting for running booting at least one described household electrical appliances if user goes home.
9. the device according to one of claim 6-8, which is characterized in that further include:
Described control unit, the addition for being also used to receive the family's power information for carrying household electrical appliances to be added sent by client are asked
It asks;
Described control unit is also used to determine described telecommunications for whether having the addition request to carry in the database of setting
Breath;
Described control unit adds institute if being also used to not have described power information in the database in the database
State a power information.
10. device according to claim 9, which is characterized in that further include:
Described control unit is also used to search in household electrical appliances list corresponding with the database and has added described power information
After the household electrical appliances to be added, the control routine for being used for attempting to control the household electrical appliances to be added is sent to the household electrical appliances to be added;
Described control unit, if being also used to receive the return information of the household electrical appliances to be added based on the control routine, really
The fixed addition success to the household electrical appliances to be added, and the addition success messages of the household electrical appliances to be added is sent to client;
Alternatively, described control unit, is believed if being also used to not receive the household electrical appliances to be added based on the return of the control routine
Breath, it is determined that fail to the additions of the household electrical appliances to be added, and send the addition failed messages of the household electrical appliances to be added to client
End.
11. a kind of server characterized by comprising the control device of the household electrical appliances as described in claim 6-10 is any.
12. a kind of storage medium, which is characterized in that be stored with a plurality of instruction in the storage medium;The a plurality of instruction, is used for
Loaded by processor and executed the control method of household electrical appliances a method as claimed in any one of claims 1 to 5.
13. a kind of server characterized by comprising
Processor, for executing a plurality of instruction;
Memory, for storing a plurality of instruction;
Wherein, a plurality of instruction for being stored by the memory, and is loaded by the processor and is executed such as claim
The control method of any household electrical appliances of 1-5.
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 true CN109167711A (en) | 2019-01-08 |
CN109167711B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110794700A (en) * | 2019-11-26 | 2020-02-14 | 国网电子商务有限公司 | Family energy efficiency optimization system, method and device |
WO2020186758A1 (en) * | 2019-03-21 | 2020-09-24 | 珠海格力电器股份有限公司 | Control method and control device of home appliance controller, and storage medium |
CN113777938A (en) * | 2021-08-31 | 2021-12-10 | 东风柳州汽车有限公司 | Household appliance control method, device, equipment and storage medium |
WO2022247373A1 (en) * | 2021-05-24 | 2022-12-01 | 青岛海尔空调器有限总公司 | Method and apparatus for controlling home appliance, and appliance |
Citations (6)
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 |
WO2018039814A1 (en) * | 2016-08-27 | 2018-03-08 | 北京北信源软件股份有限公司 | Smart household control method, apparatus and system |
CN108449245A (en) * | 2018-04-11 | 2018-08-24 | 珠海格力电器股份有限公司 | Apparatus control system, apparatus control method based on Internet of Things and device |
-
2018
- 2018-11-02 CN CN201811302741.XA patent/CN109167711B/en active Active
Patent Citations (6)
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 |
WO2018039814A1 (en) * | 2016-08-27 | 2018-03-08 | 北京北信源软件股份有限公司 | Smart household control method, apparatus and system |
CN108449245A (en) * | 2018-04-11 | 2018-08-24 | 珠海格力电器股份有限公司 | Apparatus control system, apparatus control method based on Internet of Things and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020186758A1 (en) * | 2019-03-21 | 2020-09-24 | 珠海格力电器股份有限公司 | Control method and control device of home appliance controller, and storage medium |
CN110794700A (en) * | 2019-11-26 | 2020-02-14 | 国网电子商务有限公司 | Family energy efficiency optimization system, method and device |
WO2022247373A1 (en) * | 2021-05-24 | 2022-12-01 | 青岛海尔空调器有限总公司 | Method and apparatus for controlling home appliance, and appliance |
CN113777938A (en) * | 2021-08-31 | 2021-12-10 | 东风柳州汽车有限公司 | Household appliance control method, device, equipment and storage medium |
CN113777938B (en) * | 2021-08-31 | 2023-07-18 | 东风柳州汽车有限公司 | Household appliance control method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109167711B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109167711A (en) | A kind of control method of household electrical appliances, device, storage medium and server | |
CN109548116A (en) | ZigBee gateway batch method of network entry, device and equipment based on NFC | |
CN109951538A (en) | Data processing method, device, system, electronic equipment and storage medium | |
CN101981531A (en) | Aggregating recurrent schedules to optimize resource consumption | |
CN103517405B (en) | A kind of method and system of network positions, mobile terminal and network side equipment | |
CN109756404A (en) | Sharing method, device, storage medium and the computer equipment of equipment control | |
CN113037771B (en) | Method and device for controlling device shadow, storage medium and electronic device | |
WO2024036694A1 (en) | Control instruction sending method, control apparatus, storage medium and electronic apparatus | |
CN111464351B (en) | Network distribution method and device for intelligent household equipment, terminal equipment and storage medium | |
CN108303902B (en) | Equipment control method, medium, equipment and device | |
CN114697150B (en) | Command issuing method and device, storage medium and electronic device | |
CN115047778A (en) | Control method and device for intelligent equipment, storage medium and electronic device | |
CN112130458A (en) | Target device control method and device, storage medium and electronic device | |
CN113395193B (en) | Equipment control method and device, computer equipment and storage medium | |
Tang et al. | Digital twin assisted resource allocation for network slicing in industry 4.0 and beyond using distributed deep reinforcement learning | |
CN102811255B (en) | A kind of apparatus and method for distributed load | |
CN110376917A (en) | A kind of intelligent home control system and control method based on virtual panel | |
CN106792678A (en) | A kind of method and system of radio node automatic matching search | |
CN113986349A (en) | Data processing method, data processing device, computer readable storage medium and computer equipment | |
CN109462522A (en) | A kind of state monitoring method of external terminal device, terminal and its system | |
CN113194155A (en) | Method and device for intelligently recommending scenes in Internet of things | |
Khamayseh et al. | Dynamic framework to mining internet of things for multimedia services | |
CN105933159A (en) | Network request processing method and system | |
CN110501915A (en) | A kind of method and server controlling equipment | |
CN110519258A (en) | Equipment accesses account control method, control device and readable storage medium storing program for executing |
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 |