CN105094063B - The control method and device of smart home - Google Patents

The control method and device of smart home Download PDF

Info

Publication number
CN105094063B
CN105094063B CN201410182918.2A CN201410182918A CN105094063B CN 105094063 B CN105094063 B CN 105094063B CN 201410182918 A CN201410182918 A CN 201410182918A CN 105094063 B CN105094063 B CN 105094063B
Authority
CN
China
Prior art keywords
smart home
wireless network
control
home device
default
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410182918.2A
Other languages
Chinese (zh)
Other versions
CN105094063A (en
Inventor
朱佩宏
方流
阮永留
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410182918.2A priority Critical patent/CN105094063B/en
Publication of CN105094063A publication Critical patent/CN105094063A/en
Application granted granted Critical
Publication of CN105094063B publication Critical patent/CN105094063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

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

Abstract

The disclosure is directed to a kind of control method and device of smart home, can control convenient, that smart home device is neatly realized, effectively save resource improves the usage experience of user.Wherein, the method includes:The situation of change of wireless network connection state on local device is detected in real time;When detecting that the changed wireless network of connection status is default wireless network on local device, default control order corresponding with connection status is obtained;Smart home device is controlled according to the default control order corresponding with connection status.

Description

The control method and device of smart home
Technical field
This disclosure relates to Smart Home technical field more particularly to the control method and device of smart home.
Background technology
Smart home be using house as platform, using comprehensive wiring technology, network communication technology, security precautions technology, from Dynamic control technology, audio frequency and video technology integrate the related facility of home life, build efficient housing facilities and family's schedule thing The management system of business, can promote house security, convenience, comfort, artistry, and realize the inhabitation ring of environmental protection and energy saving Border.
Smart home is that the Internet of Things under the influence of internet embody.Smart home will be in family by technology of Internet of things Various equipment (such as audio & video equipment, lighting system, curtain control, airconditioning control, safety-protection system, Digital Theater System, network men Electricity and three tables are made a copy for) it connects together, home wiring control, Lighting control, curtain control, remote control using telephone, interior are provided Multiple functions and the means such as outer remote control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control. Compared with common household, smart home not only has traditional inhabitation function, has both building, network communication, information household appliances, equipment Automation, efficient, comfortable, safe and convenient, the environmentally friendly living environment that collecting system, structure, service, management are integrated provide complete The information exchange function in orientation.It helps family to keep information interchange unimpeded with outside, optimizes people’s lives mode, help people The time effectively is arranged, enhances the safety of home life, it is energy saving.
In the related technology, the control of smart home device can be passed through by network communications approach by long-range user The communication equipments such as mobile phone terminal or tablet computer control.For example, user can be logical by mobile phone terminal or tablet computer etc. Believe the application in equipment, the intelligent appliance for sending out control instruction control family in advance before going home is started to work, and is such as turned on light, is opened Open air-conditioning etc.;It is stopped alternatively, sending out control instruction control intelligent appliance after being away from home, such as turns off the light, closes air-conditioning.
However, the control of above-mentioned smart home device is controlled by user's subjectivity, if user forgets to shift to an earlier date before going home The intelligent appliance for sending out control instruction control family is started to work, such as opens air-conditioning, then is affected user experience;If with Family forgets that sending out control instruction control intelligent appliance is stopped after being away from home, such as turns off the light, closes air-conditioning, and it will cause moneys The waste in source.Therefore, control how convenient, that smart home device is neatly realized and effectively save resource become current Technical problem urgently to be resolved hurrily.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of control method and device of smart home, energy Enough control convenient, that smart home device is neatly realized, effectively save resource improve the usage experience of user.
The situation of change of wireless network connection state on local device is detected in real time;
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect Connect the corresponding default control order of state;
Smart home device is controlled according to the default control order corresponding with connection status.
The technical scheme provided by this disclosed embodiment can include the following benefits:In the embodiment of the present disclosure, in real time Detect the situation of change of wireless network connection state on local device;When detecting that connection status is changed on local device When wireless network is default wireless network, default control order corresponding with connection status is obtained;According to corresponding with connection status Default control order smart home device is controlled, avoid the subjective control of user, realize convenient, neatly intelligence The control of home equipment, effectively save resource improve the usage experience of user.
In another embodiment, when detecting on local device that the changed wireless network of connection status is default wireless When network, default control order corresponding with connection status is obtained, including:It is changed on the local device when detecting When wireless network is default wireless network, the changed connection status type of the wireless network is judged;If detecting described When local device is successfully connected with the default wireless network, the order for opening smart home device is obtained;If detecting described When local device is disconnected with the default wireless network, the order for closing smart home device is obtained.So as to basis The control to smart home device is realized in the instruction of acquisition.
In another embodiment, default control order corresponding with connection status described in the basis is to smart home device It is controlled, including:According to the order of the unlatching smart home device of acquisition, control in smart home device in closing The smart home device of state is opened;According to the order of the closing smart home device of acquisition, smart home device is controlled In in open state smart home device close.
In another embodiment, the control method further includes:Determine the local device and the default wireless network Equipment distance;The order of the unlatching smart home device according to acquisition is controlled and is in smart home device The smart home device of closed state is opened, including:According to the determining distance, determine that the user of the local device covers The time of the distance;According to the order of the unlatching smart home device of acquisition and the time determined, intelligence is controlled The smart home device being closed in energy home equipment is opened.
In another embodiment, the order of the unlatching smart home device according to acquisition controls smart home The smart home device being closed in equipment is opened, including:According to the life of the unlatching smart home device of acquisition It enables, and by the network connection between the default wireless network, controls the intelligence being closed in smart home device It can home equipment unlatching.In this way, intelligence can be sent to control instruction by the network connection between default wireless network Home equipment platform, to realize the control to smart home device.
In another embodiment, the control method further includes:When detecting wireless network connection on the local device When state does not change, keep the current state of smart home device constant.
In another embodiment, the wireless network includes Wireless Fidelity WIFI network, blueteeth network, purple honeybee ZigBee nets Any network in network.The present embodiment can meet different wireless networks.
According to the second aspect of the embodiment of the present disclosure, a kind of control device of smart home is provided, including:
Detection module, the situation of change for detecting wireless network connection state on local device in real time;
Acquisition module detects that the changed wireless network of connection status is default wireless network on local device for working as When network, default control order corresponding with connection status is obtained;
Control module, for being controlled to smart home device according to the default control order corresponding with connection status System.
In another embodiment, the acquisition module includes:
Judging unit detects that changed wireless network is default wireless network on the local device for working as When, judge the changed connection status type of the wireless network;
If first acquisition unit obtains when for detecting that the local device and the default wireless network are successfully connected Take away the order for opening smart home device;
If second acquisition unit obtains when for detecting that the local device and the default wireless network disconnect Take the order for closing smart home device.
In another embodiment, the control module includes:
First control unit, is used for the order of the unlatching smart home device according to acquisition, and control smart home is set The smart home device being closed in standby is opened;
Second control unit, is used for the order of the closing smart home device according to acquisition, and control smart home is set The smart home device in open state is closed in standby.
In another embodiment, first control unit includes:
Apart from determination subelement, for determining the local device at a distance from the equipment of the default wireless network;
Time determination subelement, for according to the determining distance, it is described to determine that the user of the local device covers The time of distance;
First control subelement, the institute for being used for the order according to the unlatching smart home device of acquisition and determining The time is stated, the smart home device being closed in smart home device is controlled and opens.
In another embodiment, first control unit includes:
Second control subelement, for the order according to the unlatching smart home device of acquisition, and by with it is described Network connection between default wireless network controls the smart home device being closed in smart home device and opens.
In another embodiment, the control device further includes:
Processing module, for when detecting that wireless network connection state does not change on the local device, keeping The current state of smart home device is constant.
According to the third aspect of the embodiment of the present disclosure, a kind of control device of smart home is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The situation of change of wireless network connection state on local device is detected in real time;
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect Connect the corresponding default control order of state;
Smart home device is controlled according to the default control order corresponding with connection status.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the control method of smart home shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the control method of the smart home shown according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of the control method of the smart home shown according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of the control method of the smart home shown according to another exemplary embodiment.
Fig. 5 is a kind of flow chart of the control method of the smart home shown according to another exemplary embodiment.
Fig. 6 is a kind of block diagram of the control device of smart home shown according to an exemplary embodiment.
Fig. 7 is the block diagram according to the acquisition module shown in an exemplary embodiment.
Fig. 8 is the block diagram according to the control module shown in an exemplary embodiment.
Fig. 9 is the block diagram of the control module shown according to another exemplary embodiment.
Figure 10 is the block diagram of the control module shown according to another exemplary embodiment.
Figure 11 is to show a kind of block diagram of the control device of smart home according to another exemplary embodiment.
Figure 12 is a kind of block diagram of control device for smart home shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the control method of smart home shown according to an exemplary embodiment, such as Fig. 1 institutes Show, the control method of smart home is in terminal, including the following steps:
In a step 101, the situation of change of wireless network connection state on local device is detected in real time.
Wherein, local terminal is terminal, and local terminal can be the terminal that user is used or operates, and can also be that user is carry-on The terminal of carrying, terminal can be the equipment such as mobile phone, tablet computer.
It can be according to the change for presetting wireless network connection state on preset period (such as 0.5 second) in real time detection local device Change situation.
In a step 102, when detecting on local device that the changed wireless network of connection status is default wireless network When network, default control order corresponding with connection status is obtained.
Default wireless network can be the wireless network in pre-set user family, can also be pre-set and use The distance of the family at family is the wireless network of preset range, that is to say, that the terminal of user can search the preset range at home Wireless network, and can be successfully established and connect with the wireless network, for example, the wireless network (user in the market around user family Terminal can search the wireless network in the market at home, and can be successfully established and connect with the wireless network), user neighbours The wireless network etc. of family.Wireless network can be Wireless Fidelity (WIreless-FIdelity, WIFI) network, blueteeth network or Any network in purple honeybee ZigBee-network.
In step 103, smart home device is controlled according to default control order corresponding with connection status.
In one embodiment of the disclosure, above-mentioned steps 102, which can perform, is:It changes on local device when detecting Wireless network when being default wireless network, judge the changed connection status type of wireless network;If detecting, local terminal is set It is standby when being successfully connected with default wireless network, obtain the order for opening smart home device;If detecting local device and presetting When wireless network disconnects, the order for closing smart home device is obtained.So as to be realized to intelligence according to the instruction of acquisition The control of energy home equipment.
In another embodiment of the disclosure, above-mentioned steps 103, which can perform, is:It is set according to the unlatching smart home of acquisition Standby order controls the smart home device being closed in smart home device and opens (for example, control is in closing shape The unlatchings such as headlamp, air-conditioning, the electric cooker of state);According to the order of the closing smart home device of acquisition, control smart home is set The smart home device in open state is closed (for example, headlamp, air-conditioning, desktop of the control in open state in standby The closings such as brain, electric cooker).
Wherein, it according to the order of the unlatching smart home device of acquisition, controls and is closed in smart home device Smart home device open, which may be embodied as:Determine the equipment of local device and default wireless network (for example, net Network transmitter, wireless router etc.) distance;According to determining distance, determine that the user of local device covers the time of distance; According to the order of the unlatching smart home device of acquisition and the time determined, control in smart home device in closing shape The smart home device of state is opened.For example, mobile phone detects and preset WIFI network (the WIFI nets in the family of such as mobile phone user Network) when being successfully connected, mobile phone determines that local device is 200 meters at a distance from the equipment of preset WIFI network, further determines that It is 3 minutes that the user of mobile phone, which covers 200 meters of the time, at this point, the controllable headlamp being closed is delayed 2 minutes and opens It opens;Controllable intelligent water heater adjusts power, can within 3 minutes burned hot water;Controllable air-conditioning adjusts temperature, makes It can heat up etc. within 3 minutes.
Alternatively, the step can also be embodied as:According to the order of the unlatching smart home device of acquisition, and by with it is default Network connection between wireless network controls the smart home device being closed in smart home device and opens.For example, Default wireless network is the WIFI network in the family of mobile phone user, is connect when mobile phone detects to be successfully established with the WIFI network When, the smart home being closed in smart home device can be controlled by the network connection between the WIFI network Opening of device.In this way, control instruction can be sent to smart home and set by the network connection between default wireless network Standby platform, to realize the control to smart home device.
In addition, in one embodiment of the disclosure, which may also include step:When detecting on local device When wireless network connection state does not change, keep the current state of smart home device constant.For example, default wireless network For the WIFI network in the family of mobile phone user, mobile phone detects that changed wireless network is default wireless network on local device It when network, confirmly detects local device and is successfully connected with default wireless network, then obtain the order for opening smart home device, and According to the order of the unlatching smart home device of acquisition, the smart home device being closed in smart home device is controlled (for example, the headlamp that control is closed is opened) is opened, the rest if mobile phone user turns off the light, mobile phone detects local terminal Wireless network connection state does not change in equipment, and (state that i.e. local device is successfully connected with default wireless network does not occur Variation), the state that headlamp can be kept to be presently off at this time.
In the embodiment of the present disclosure, the situation of change of wireless network connection state on local device is detected in real time;When detecting When the changed wireless network of connection status is default wireless network on local device, obtain corresponding with connection status default Control command;Smart home device is controlled according to default control order corresponding with connection status, avoids user's Subjectivity control realizes that convenient, neatly smart home device control, effectively save resource improve the usage experience of user.
A variety of realization methods of each link in embodiment shown in FIG. 1 are described above, come below by several embodiments Realization process is discussed in detail.
As shown in Fig. 2, being another embodiment of the control method for the smart home that the disclosure provides, it is used in terminal, This approach includes the following steps:
In step 201, the situation of change of wireless network connection state on local device is detected in real time.About step herein 201 description can be found in abovementioned steps 101, and details are not described herein again.
In step 202, when detecting that changed wireless network is default wireless network on local device, judge The changed connection status type of wireless network, if detect that local device is successfully connected with default wireless network, after It is continuous to execute step 203;If detect that local device is disconnected with default wireless network, step 205 is continued to execute.
In step 203, the order for opening smart home device is obtained.
In step 204, it according to the order of the unlatching smart home device of acquisition, controls in smart home device in pass The smart home device of closed state is opened.For example, the unlatchings such as headlamp, air-conditioning, electric cooker that control is closed.
In step 205, the order for closing smart home device is obtained.
In step 206, it according to the order of the closing smart home device of acquisition, controls to be in smart home device and open The smart home device for opening state is closed.For example, headlamp, air-conditioning, desktop computer, electric cooker etc. of the control in open state It closes.
In the present embodiment, can according to the different changed connection status types of wireless network to smart home device into Row control, realization is intelligent, convenient, neatly controls smart home device.
As shown in figure 3, being another embodiment of the control method for the smart home that the disclosure provides, it is used in terminal, In this embodiment, it can further determine that local device at a distance from the equipment of default wireless network in abovementioned steps 204;According to Determining distance determines that the user of local device covers the time of distance;According to acquisition unlatching smart home device order, And the time determined, control the smart home device that is closed in smart home device and open, this method include with Lower step:
In step 301, the situation of change of wireless network connection state on local device is detected in real time.About step herein 301 description can be found in abovementioned steps 101, and details are not described herein again.
In step 302, when detecting that changed wireless network is default wireless network on local device, judge The changed connection status type of wireless network, if detect that local device is successfully connected with default wireless network, after It is continuous to execute step 303;If detect that local device is disconnected with default wireless network, step 307 is continued to execute.
In step 303, the order for opening smart home device is obtained.
In step 304, determine local device at a distance from the equipment of default wireless network.
Here it is possible to determine local terminal according to the transmission power of local terminal and the signal strength of the response message of local terminal and preset Wireless network equipment distance.It is, of course, also possible to the equipment for calculating local terminal and preset wireless network otherwise Distance, such as signal intensity profile method.
In step 305, according to determining distance, determine that the user of local device covers the time of distance.
The average speed that user walks can be prestored on local terminal, so as to according to determining distance and the average speed Degree, determines that the user of local terminal covers the time of the distance.
Within step 306, according to the order of the unlatching smart home device of acquisition and the time determined, control intelligence The smart home device being closed in home equipment is opened.
In step 307, the order for closing smart home device is obtained.
In step 308, it according to the order of the closing smart home device of acquisition, controls to be in smart home device and open The smart home device for opening state is closed.
In the present embodiment, these scenes can be met, for example, mobile phone detects that (such as mobile phone is used with preset WIFI network WIFI network in the family at family) when being successfully connected, mobile phone determines that local device is at a distance from the equipment of preset WIFI network 200 meters, it is 3 minutes to further determine that the user of mobile phone covers 200 meters of the time, is closed at this point, controllable Headlamp is delayed 2 minutes and opens;Controllable intelligent water heater adjusts power, can within 3 minutes burned hot water;Controllably Air-conditioning processed adjusts temperature, can heat up within 3 minutes etc..
As shown in figure 4, being another embodiment of the control method for the smart home that the disclosure provides, it is used in terminal, This approach includes the following steps:
In step 401, the situation of change of wireless network connection state on local device is detected in real time.About step herein 401 description can be found in abovementioned steps 101, and details are not described herein again.
In step 402, when detecting that changed wireless network is default wireless network on local device, judge The changed connection status type of wireless network, if detect that local device is successfully connected with default wireless network, after It is continuous to execute step 403;If detect that local device is disconnected with default wireless network, step 405 is continued to execute.
In step 403, the order for opening smart home device is obtained.
In step 404, according to the order of the unlatching smart home device of acquisition, and by between default wireless network Network connection, control the smart home device that is closed in smart home device and open.For example, can by with it is default The order of the unlatching smart home device of acquisition is sent to smart home device platform by the network connection between wireless network, To realize the control to smart home device.
In step 405, the order for closing smart home device is obtained.
In a step 406, it according to the order of the closing smart home device of acquisition, controls to be in smart home device and open The smart home device for opening state is closed.
In the present embodiment, control instruction can be sent to intelligence by the network connection between default wireless network Home equipment platform, to realize the control to smart home device.
As shown in figure 5, being another embodiment of the control method for the smart home that the disclosure provides, it is used in terminal, This approach includes the following steps:
In step 501, according to the preset period, the variation feelings of wireless network connection state on local device are detected in real time Condition continues to execute step 502 when detecting that wireless network connection state does not change on local device;When detecting this When changed wireless network is default wireless network in end equipment, step 503 is continued to execute.
In step 502, keep the current state of smart home device constant.
In step 503, the changed connection status type of wireless network is judged, if detecting local device and presetting When wireless network is successfully connected, then step 504 is continued to execute;If detecting, local device is disconnected with default wireless network When, then continue to execute step 506.
In step 504, the order for opening smart home device is obtained.
In step 505, it according to the order of the unlatching smart home device of acquisition, controls in smart home device in pass The smart home device of closed state is opened.For example, the unlatchings such as headlamp, air-conditioning, electric cooker that control is closed.
In step 506, the order for closing smart home device is obtained.
In step 507, according to the order of the closing smart home device of acquisition, controls to be in smart home device and open The smart home device for opening state is closed.For example, headlamp, air-conditioning, desktop computer, electric cooker etc. of the control in open state It closes.
In the present embodiment, these scenes can be met, for example, default wireless network is the WIFI nets in the family of mobile phone user Network confirmly detects local device when mobile phone detects that changed wireless network is default wireless network on local device It is successfully connected with default wireless network, then obtains the order for opening smart home device, and according to the unlatching smart home of acquisition The order of equipment controls the smart home device being closed in smart home device and opens (for example, control is in closing The headlamp of state is opened), the rest if mobile phone user turns off the light, mobile phone detects wireless network connection state on local device Do not change (i.e. local device does not change with the state that default wireless network is successfully connected), can keep headlamp at this time The state being presently off.
It should be noted that in practical application, combination may be used in above-mentioned all optional embodiments arbitrary group of mode It closes, forms the alternative embodiment of the disclosure, this is no longer going to repeat them.
The control method that smart home has been understood by above description realizes that process, the process can be realized by device, below The internal structure and function of device are introduced.
Fig. 6 is a kind of control device block diagram of smart home shown according to an exemplary embodiment.With reference to Fig. 6, the dress It sets including detection module 601, acquisition module 602 and control module 603.
The detection module 601 is configured as detecting the situation of change of wireless network connection state on local device in real time;
The acquisition module 602, which is configured as working as, detects that the changed wireless network of connection status is pre- on local device If when wireless network, obtaining default control order corresponding with connection status;
The control module 603 be configured as according to default control order corresponding with connection status to smart home device into Row control.
In one embodiment, as shown in fig. 7, the acquisition module 602 of above-mentioned Fig. 6 displayings may include:Judging unit 701, First acquisition unit 702 and second acquisition unit 703.
The judging unit 701, which is configured as working as, detects that changed wireless network is default wireless network on local device When network, the changed connection status type of wireless network is judged;
If the first acquisition unit 702 is configured as detecting that local device is successfully connected with default wireless network, obtain Take away the order for opening smart home device;
If the second acquisition unit 703 is configured as detecting that local device is disconnected with default wireless network, obtain Take the order for closing smart home device.
In one embodiment, as shown in figure 8, above-mentioned control module 603 may include:First control unit 81 and second is controlled Unit 82 processed.
First control unit 81 is configured as the order of the unlatching smart home device according to acquisition, controls smart home The smart home device being closed in equipment is opened;
Second control unit 82 is configured as the order of the closing smart home device according to acquisition, controls smart home The smart home device in open state is closed in equipment.
In one embodiment, as shown in figure 9, above-mentioned first control unit 81 may include:Apart from determination subelement 901, Time determination subelement 902 and first controls subelement 903.
This is configured to determine that local device at a distance from the equipment of default wireless network apart from determination subelement 901;
The time determination subelement 902 is configured as determining that the user of local device covers distance according to determining distance Time;
The first control subelement 903 is configured as the order according to the unlatching smart home device of acquisition and determines Time, control the smart home device that is closed in smart home device and open.
In one embodiment, as shown in Figure 10, above-mentioned first control unit 81 may include:Second control subelement 1001。
This second control subelement 1001 be configured as according to acquisition unlatching smart home device order, and by with Network connection between default wireless network controls the smart home device being closed in smart home device and opens.
In one embodiment, as shown in figure 11, the control device of above-mentioned Fig. 6 displayings may also include:Processing module 1101.
The processing module 1101 is configured as when detecting that wireless network connection state does not change on local device, Keep the current state of smart home device constant.
In one embodiment, wireless network includes in Wireless Fidelity WIFI network, blueteeth network, purple honeybee ZigBee-network Any network.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 12 is a kind of block diagram of control device 1200 for smart home shown according to an exemplary embodiment.Example Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and tablet is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 2, device 1200 may include following one or more components:Processing component 1202, memory 1204, Power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing element 1202 may include one or more processors 1220 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example includes the instruction for any application program or method that are operated on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 may include power management System, one or more power supplys and other generated with for device 1200, management and the associated component of distribution electric power.
Multimedia component 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detect the state that opens/closes of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, the control device of smart home, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, which is configured as:
The situation of change of wireless network connection state on local device is detected in real time;
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect Connect the corresponding default control order of state;
Smart home device is controlled according to default control order corresponding with connection status.
The processor is additionally configured to:
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect The corresponding default control order of state is connect, including:
When detecting that changed wireless network is default wireless network on local device, wireless network is judged The connection status type of variation;
If detect that local device is successfully connected with default wireless network, the order for opening smart home device is obtained;
If detect that local device is disconnected with default wireless network, the order for closing smart home device is obtained.
The processor is additionally configured to:
Smart home device is controlled according to default control order corresponding with connection status, including:
According to the order of the unlatching smart home device of acquisition, the intelligence being closed in smart home device is controlled Home equipment is opened;
According to the order of the closing smart home device of acquisition, the intelligence that open state is in smart home device is controlled Home equipment is closed.
The processor is additionally configured to:
Control method further includes:
Determine local device at a distance from the equipment of default wireless network;
According to the order of the unlatching smart home device of acquisition, the intelligence being closed in smart home device is controlled Home equipment is opened, including:
According to determining distance, determine that the user of local device covers the time of distance;
According to the order of the unlatching smart home device of acquisition and the time determined, control in smart home device It is opened in the smart home device of closed state.
The processor is additionally configured to:
According to the order of the unlatching smart home device of acquisition, the intelligence being closed in smart home device is controlled Home equipment is opened, including:
According to the order of the unlatching smart home device of acquisition, and by the network connection between default wireless network, The smart home device being closed in control smart home device is opened.
The processor is additionally configured to:
Control method further includes:
When detecting that wireless network connection state does not change on local device, the current of smart home device is kept State is constant.
The processor is additionally configured to:
Wireless network includes any network in Wireless Fidelity WIFI network, blueteeth network, purple honeybee ZigBee-network.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row so that terminal is able to carry out a kind of control method of smart home, the method includes:
The situation of change of wireless network connection state on local device is detected in real time;
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect Connect the corresponding default control order of state;
Smart home device is controlled according to default control order corresponding with connection status.
The storage medium is also stored with:
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect The corresponding default control order of state is connect, including:
When detecting that changed wireless network is default wireless network on local device, wireless network is judged The connection status type of variation;
If detect that local device is successfully connected with default wireless network, the order for opening smart home device is obtained;
If detect that local device is disconnected with default wireless network, the order for closing smart home device is obtained.
The storage medium is also stored with:
Smart home device is controlled according to default control order corresponding with connection status, including:
According to the order of the unlatching smart home device of acquisition, the intelligence being closed in smart home device is controlled Home equipment is opened;
According to the order of the closing smart home device of acquisition, the intelligence that open state is in smart home device is controlled Home equipment is closed.
The storage medium is also stored with:
Control method further includes:
Determine local device at a distance from the equipment of default wireless network;
According to the order of the unlatching smart home device of acquisition, the intelligence being closed in smart home device is controlled Home equipment is opened, including:
According to determining distance, determine that the user of local device covers the time of distance;
According to the order of the unlatching smart home device of acquisition and the time determined, control in smart home device It is opened in the smart home device of closed state.
The storage medium is also stored with:
According to the order of the unlatching smart home device of acquisition, the intelligence being closed in smart home device is controlled Home equipment is opened, including:
According to the order of the unlatching smart home device of acquisition, and by the network connection between default wireless network, The smart home device being closed in control smart home device is opened.
The storage medium is also stored with:
Control method further includes:
When detecting that wireless network connection state does not change on local device, the current of smart home device is kept State is constant.
The storage medium is also stored with:
Wireless network includes any network in Wireless Fidelity WIFI network, blueteeth network, purple honeybee ZigBee-network.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (12)

1. a kind of control method of smart home, which is characterized in that including:
The situation of change of wireless network connection state on local device is detected in real time;
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect shape The corresponding default control order of state;
Smart home device is controlled according to the default control order corresponding with connection status;
The control method further includes:
Determine the local device at a distance from the equipment of the default wireless network;
Default control order corresponding with connection status described in the basis controls smart home device, including:
According to the determining distance, determine that the user of the local device covers the time of the distance;
According to the time opened the order of smart home device in the default control order of acquisition and determined, control The smart home device being closed in smart home device processed is opened.
2. control method according to claim 1, which is characterized in that when detecting that connection status becomes on local device When the wireless network of change is default wireless network, default control order corresponding with connection status is obtained, including:
When detecting that changed wireless network is default wireless network on the local device, the wireless network is judged Changed connection status type;
If detect that the local device is successfully connected with the default wireless network, the life for opening smart home device is obtained It enables;
If detect that the local device is disconnected with the default wireless network, the life for closing smart home device is obtained It enables.
3. control method according to claim 2, which is characterized in that corresponding with connection status default described in the basis Control command controls smart home device, including:
According to the order of the closing smart home device of acquisition, the intelligence that open state is in smart home device is controlled Home equipment is closed.
4. control method according to claim 2, which is characterized in that described to be set according to the unlatching smart home of acquisition Standby order controls the smart home device being closed in smart home device and opens, including:
Connect according to the order of the unlatching smart home device of acquisition, and by the network between the default wireless network It connects, controls the smart home device being closed in smart home device and open.
5. control method according to claim 1, which is characterized in that the control method further includes:
When detecting that wireless network connection state does not change on the local device, the current of smart home device is kept State is constant.
6. control method according to any one of claim 1 to 5, which is characterized in that the wireless network includes wireless Any network in fidelity WIFI network, blueteeth network, purple honeybee ZigBee-network.
7. a kind of control device of smart home, which is characterized in that including:
Detection module, the situation of change for detecting wireless network connection state on local device in real time;
Acquisition module detects that the changed wireless network of connection status is default wireless network on local device for working as When, obtain default control order corresponding with connection status;
Control module, for being controlled smart home device according to the default control order corresponding with connection status;
The control module includes:
Apart from determination subelement, for determining the local device at a distance from the equipment of the default wireless network;
Time determination subelement, for according to the determining distance, determining that the user of the local device covers the distance Time;
First control subelement, the time for being used for the order according to the unlatching smart home device of acquisition and determining, control The smart home device being closed in smart home device processed is opened.
8. control device according to claim 7, which is characterized in that the acquisition module includes:
Judging unit, for when detecting that changed wireless network is default wireless network on the local device, sentencing The disconnected changed connection status type of wireless network;
First acquisition unit, if when for detecting that the local device and the default wireless network are successfully connected, acquisition is opened Open the order of smart home device;
Second acquisition unit, if when for detecting that the local device and the default wireless network disconnect, obtaining and closing Close the order of smart home device.
9. control device according to claim 8, which is characterized in that the control module further includes:
Second control unit is used for the order of the closing smart home device according to acquisition, controls in smart home device Smart home device in open state is closed.
10. control device according to claim 8, which is characterized in that
The control module includes:
Second control subelement is used for the order of the unlatching smart home device according to acquisition, and by being preset with described Network connection between wireless network controls the smart home device being closed in smart home device and opens.
11. control device according to claim 7, which is characterized in that the control device further includes:
Processing module, for when detecting that wireless network connection state does not change on the local device, keeping intelligence The current state of home equipment is constant.
12. a kind of control device of smart home, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The situation of change of wireless network connection state on local device is detected in real time;
When detecting that the changed wireless network of connection status is default wireless network on local device, obtains and connect shape The corresponding default control order of state;
Smart home device is controlled according to the default control order corresponding with connection status;
Determine the local device at a distance from the equipment of the default wireless network;
Default control order corresponding with connection status described in the basis controls smart home device, including:
According to the determining distance, determine that the user of the local device covers the time of the distance;
According to the time opened the order of smart home device in the default control order of acquisition and determined, control The smart home device being closed in smart home device processed is opened.
CN201410182918.2A 2014-04-30 2014-04-30 The control method and device of smart home Active CN105094063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410182918.2A CN105094063B (en) 2014-04-30 2014-04-30 The control method and device of smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410182918.2A CN105094063B (en) 2014-04-30 2014-04-30 The control method and device of smart home

Publications (2)

Publication Number Publication Date
CN105094063A CN105094063A (en) 2015-11-25
CN105094063B true CN105094063B (en) 2018-07-27

Family

ID=54574749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410182918.2A Active CN105094063B (en) 2014-04-30 2014-04-30 The control method and device of smart home

Country Status (1)

Country Link
CN (1) CN105094063B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867141B (en) * 2016-03-30 2019-02-01 上海汉枫电子科技有限公司 A kind of intelligent home furnishing control method and system based on effective instruction range
CN106658668A (en) * 2016-09-08 2017-05-10 北京小米移动软件有限公司 Information processing method and device
EP3516931B1 (en) * 2016-09-20 2020-02-19 Signify Holding B.V. Lighting control
CN107168081A (en) * 2017-06-16 2017-09-15 深圳市聚梦智能科技有限公司 Control method and intelligence control system
CN107612791A (en) * 2017-07-28 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of method and AP for controlling internet of things equipment work
CN108540355A (en) * 2018-03-16 2018-09-14 上海康斐信息技术有限公司 A kind of router adjusts the method and system of home intelligent terminal screen display brightness
CN111798284A (en) * 2019-05-29 2020-10-20 北京沃东天骏信息技术有限公司 Method and device for controlling execution of Internet of things equipment
CN114915512A (en) * 2021-12-17 2022-08-16 天翼数字生活科技有限公司 Automatic control method and system for intelligent equipment
CN115356938A (en) * 2022-08-17 2022-11-18 郑州华泰联合工业自动化有限公司 Intelligent gateway control method and device, intelligent gateway and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017781A (en) * 2008-05-09 2011-04-13 马维尔国际贸易有限公司 Systems and methods for providing location-aware WI-FI access for a portable device
CN102769710A (en) * 2012-07-11 2012-11-07 上海先甲新能源科技有限公司 Automatic lamplight control identification method adopting cell phone to achieve identification
CN102833607A (en) * 2012-08-21 2012-12-19 中兴通讯股份有限公司 Method, device and system for controlling wired television system
CN103249223A (en) * 2013-04-18 2013-08-14 上海大学 Intelligent lamplight control system adopting mobile phone for identification purpose
CN103499960A (en) * 2013-10-09 2014-01-08 广东索博智能科技有限公司 Intelligent household wireless control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9507327B2 (en) * 2012-04-20 2016-11-29 Liaison Home Automation, Llc Systems and methods for controlling home and commercial environments including one touch and intuitive functionality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017781A (en) * 2008-05-09 2011-04-13 马维尔国际贸易有限公司 Systems and methods for providing location-aware WI-FI access for a portable device
CN102769710A (en) * 2012-07-11 2012-11-07 上海先甲新能源科技有限公司 Automatic lamplight control identification method adopting cell phone to achieve identification
CN102833607A (en) * 2012-08-21 2012-12-19 中兴通讯股份有限公司 Method, device and system for controlling wired television system
CN103249223A (en) * 2013-04-18 2013-08-14 上海大学 Intelligent lamplight control system adopting mobile phone for identification purpose
CN103499960A (en) * 2013-10-09 2014-01-08 广东索博智能科技有限公司 Intelligent household wireless control system

Also Published As

Publication number Publication date
CN105094063A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105094063B (en) The control method and device of smart home
CN105159105B (en) Intelligent electric appliance working method and device
CN103926890B (en) Intelligent terminal control method and device
CN104932455B (en) The group technology and apparatus for grouping of smart machine in intelligent domestic system
CN105517277B (en) Lighting apparatus control method and device
CN105392257B (en) Control the method and device of intelligent lamp
CN104039040B (en) The control method and device of intelligent lamp
CN105137787B (en) For controlling the method and apparatus of home appliance
CN104302048B (en) Method for controlling lamp and device
CN105785782B (en) Intelligent home equipment control method and device
CN104714414B (en) The control method and device of smart home device, electronic equipment
CN104932276B (en) The control method and device of home intelligent power supply
CN104330996B (en) Remote control thereof and device
CN105049923B (en) Wake up the method and device of electronic equipment
CN105159112B (en) Environmental parameter treating method and apparatus, the network equipment
CN105212821B (en) Toilet seat method for heating and controlling and device
CN105246045A (en) Method and device for determining user position change
CN105204356B (en) Display methods, device and the terminal of application
CN104023434A (en) Intelligent lamp turning-on method, device and system
CN105093980B (en) Control the method and device of smart machine start and stop
CN105278336B (en) Display methods, device and the terminal of application
CN105376410B (en) Alarm clock setting method and device
CN106292320A (en) Control the method and device that controlled device runs
CN105390120B (en) bright screen control method and device
CN106469932A (en) Output current of charger control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant