Based on the intelligent domestic system that WiFi smart jack is constituted
Technical field
The present invention relates to Smart Home technical field, more particularly to a kind of smart home constituted based on WiFi smart jack
System.
Background technology
With the raising of people's quality of life, the concept of smart home can become more and more popular, and using a complete set of intelligence
Can house system costly, and for the house being delivered for use, transformation is got up also cumbersome.Therefore existing
Smart home cannot meet the demand in market.
Content of the invention
For weak point present in above-mentioned technology, a kind of low cost of present invention offer, installation are simple, easy to use
And the intelligent domestic system that control is flexibly constituted based on WiFi smart jack.
For achieving the above object, the present invention provides a kind of intelligent domestic system constituted based on WiFi smart jack, including
WiFi socket, WiFi socket LAN, intelligent terminal and home appliance;The WiFi socket utilizes the WiFi network in family,
Open or close, by intelligent terminal operation, the home appliance that specifies, and the WiFi socket is set with household electrical appliances installed in conventional socket
Between standby;The intelligent terminal is by network and WiFi socket wireless communication connection, and the WiFi socket passes through WiFi socket
LAN is communicated to connect with home appliance;
Control signal is sent using wireless network by the APP of intelligent terminal, WiFi socket receives what intelligent terminal sent
Control signal, the WiFi socket realized by WiFi socket LAN after receiving control signal the break-make of home appliance and
Remote real_time control to home appliance.
Wherein, the WiFi socket includes serial ports WiFi module, control relay circuit and relay output triggers circuit;
The input of the serial ports WiFi module is communicated to connect with intelligent terminal, and the output end connection relay of the serial ports WiFi module
The input of device control circuit, the output end connection relay output triggers circuit of the control relay circuit, and relay
Output triggers circuit connects home appliance by WiFi socket LAN;The control relay circuit passes through serial ports WiFi module
After being communicatively coupled, wireless receiving and the transmission of data are realized with intelligent terminal;The control relay circuit receives control
Processed after instruction, relay output triggers circuit is sent to after process, after relay output triggers circuit is according to process
Control instruction carries out corresponding operating to home appliance.
Wherein, the WiFi socket is also embedded with makes common home appliance be transported without the need for operation on an operating system
OK, the single-chip microcomputer for realizing bare machine driving and the ICP/IP protocol for realizing conversion between family lan and ICP/IP protocol;Described
Single-chip microcomputer is communicated to connect with home appliance by WiFi socket LAN.
Wherein, the APP includes client end interface and Socket communication module, and client end interface is communicated mould by Socket
Block is communicated to connect with serial ports WiFi module, the client end interface operating control signal, and will be controlled by Socket communication module
Signal processed is sent to serial ports WiFi module, and the serial ports WiFi module is sent to relay after receiving the data that Socket communication is transmitted
Device control circuit carries out data analysis, and the signal transmission after the completion of analysis to relay exports triggers circuit, and to home appliance
Carry out corresponding operating.
Wherein, the APP also includes alarm module, the Smoke Detection mould for being detected to the smog of home appliance
Block, the temperature detecting module for being detected to the temperature of home appliance, control module database module, the smog inspection
Survey module, temperature detecting module database module to electrically connect with the input of control module, and the output of the control module
End is electrically connected with alarm module, and the Smoke Detection module and temperature detecting module are monitored to home appliance, and are sent to
Control module is processed, and threshold values of the control module by the data for monitoring with storage in DBM is contrasted, and works as prison
When surveying data more than certain threshold values, control module will send alarm signal to the client end interface of user, and user receive warning
After signal, remote security monitoring real-time to home equipment is can achieve.
Wherein, the APP also includes time set module, and the time set module is electrically connected with the input of control module
Connect, intelligent terminal is timed by the time set module, the various data of the home appliance for monitoring are to visualize figure
Piece and note form show.
Wherein, the home appliance includes door and window, curtain and lamp, and lamp can carry out power on/off, and door and window can carry out push pull maneuver,
Curtain can be lifted, and can carry out the release control of hot and cold water.
Wherein, the intelligent terminal includes PC and smart mobile phone, and the PC connects wireless router, and passes through Internet
Network is communicated to connect with WiFi socket;The smart mobile phone is communicated to connect with WiFi socket by 3G or 4G mobile network.
The invention has the beneficial effects as follows:Compared with prior art, the present invention provide based on WiFi smart jack constitute
Intelligent domestic system, installs WiFi socket between conventional socket and home appliance, and WiFi socket is make use of in existing family
WiFi network, opens or closes the household electrical appliances that specifies by client operation, can achieve the intellectuality of ordinary electrical home appliance, by WiFi
Receive the instruction that intelligent terminal sends, the home appliance of free manipulation connection;In the structure when old-fashioned non intelligent household electrical appliances and this
The WiFi socket of sample is connected and can be converted into intelligent appliance.The improvement of the present invention, using WiFi socket, it is not necessary to home gateway,
Existing decoration need not be destroyed, it is possible to the intelligentized control method to household electrical appliance is easily realized, realizes the intelligence based on WiFi technology
The structure of energy household, and then reached low cost, it is not necessary to home gateway;And install simple, it is not necessary to break the existing decoration of ring;
Easy to use, can arbitrarily expand the quantity of socket;Control flexibly, can carry out the advantages such as remotely control with smart mobile phone.
Description of the drawings
Fig. 1 is the block diagram of the intelligent domestic system constituted based on WiFi smart jack of the present invention;
Fig. 2 is the working envelope figure of WiFi socket and APP in the present invention.
Main element symbol description is as follows:
10th, WiFi socket 11, WiFi socket LAN
12nd, intelligent terminal 13, home appliance
14th, wireless router 101, serial ports WiFi module
102nd, control relay circuit 103, relay output triggers circuit
121st, PC122, smart mobile phone 123, client end interface
124th, Socket communication module 125, alarm module
126th, Smoke Detection module 127, temperature detecting module
128th, control module 129, DBM
120th, time set module 131, door and window
132nd, curtain 133, lamp.
Specific embodiment
In order to more clearly state the present invention, below in conjunction with the accompanying drawings the present invention is further described.
Refer to Fig. 1, the intelligent domestic system constituted based on WiFi smart jack of the present invention, including WiFi socket 10,
WiFi socket LAN 11, intelligent terminal 12 and home appliance 13;WiFi socket 10 utilizes the WiFi network in family, by intelligence
Can terminal operation open or close the home appliance 12 specified, and the WiFi socket 10 is arranged on conventional socket and home appliance
Between;Intelligent terminal 12 is by network and 10 wireless communication connection of WiFi socket, and WiFi socket 10 passes through WiFi socket local
Net 11 is communicated to connect with home appliance 13;
Control signal is sent using wireless network by the APP of intelligent terminal 12, WiFi socket 10 receives intelligent terminal and sends out
The control signal that send, WiFi socket 10 realize the logical of home appliance by WiFi socket LAN 11 after receiving control signal
The disconnected and remote real_time control to home appliance 13.
Compared to prior art, the intelligent domestic system constituted based on WiFi smart jack that the present invention is provided, in tradition
WiFi socket is installed between socket and home appliance, WiFi socket make use of the WiFi network in existing family, by client
Operate and the household electrical appliances that specifies are opened or close, the intellectuality of ordinary electrical home appliance is can achieve, receive what intelligent terminal sent by WiFi
Instruction, the home appliance of free manipulation connection;When old-fashioned non intelligent household electrical appliances are connected i.e. with such WiFi socket in the structure
Intelligent appliance can be converted into.The improvement of the present invention, using WiFi socket, it is not necessary to home gateway, it is not necessary to destroy existing decoration,
The intelligentized control method to household electrical appliance just can be easily realized, realizes the structure of the smart home based on WiFi technology;And then reach
Low cost is arrived, it is not necessary to home gateway;Install simple, it is not necessary to break the existing decoration of ring;Easy to use, arbitrarily can expand
The quantity of socket;Control flexibly, can carry out the advantages such as remotely control with smart mobile phone.
Include serial ports WiFi module 101, control relay circuit 102 and relay further referring to Fig. 2, WiFi socket 10
Device exports triggers circuit 103;The input of serial ports WiFi module 101 is communicated to connect with intelligent terminal 12, and serial ports WiFi module
The input of 11 output end connection control relay circuit 102, the output end connection relay of control relay circuit 102 are defeated
Go out triggers circuit 103, and relay output triggers circuit 103 connects home appliance 13 by WiFi socket LAN 11;Relay
After device control circuit 102 is communicatively coupled by serial ports WiFi module 101 and intelligent terminal 12, the wireless receiving of data is realized
With transmission;Control relay circuit 102 is processed after receiving control instruction, is sent to relay output triggers circuit after process
103, relay output triggers circuit 103 carries out corresponding operating according to the control instruction after process to home appliance 12.
In the present embodiment, WiFi socket is also embedded with makes common home appliance on an operating system can without the need for operation
Operation, the single-chip microcomputer for realizing bare machine driving and the ICP/IP protocol for realizing conversion between family lan and ICP/IP protocol;Single
Piece machine is communicated to connect with home appliance by WiFi socket LAN.Compared with common WiFi module, WiFi socket can be carried out
The wireless receiving of data and transmission, realize node ask communicate and node is communicated with Internet network.In socket
Embedded single-chip microcomputer makes common home appliance be run without the need for operation on an operating system, realizes bare machine driving;Simultaneously
WiFi socket has also embedded ICP/IP protocol, the Internet network access function for possessing home gateway, family lan with
The conversion that ICP/IP protocol is asked, the function such as protocol conversion that asks of various different communication protocol in family lan, without the need for family
Gateway, can arbitrarily expand the quantity of socket, and extensibility is stronger.In addition, intelligent terminal can also add for WiFi socket
Time switch, time-of-the-day order etc. so as to containing instruction store function.When old-fashioned non intelligent household electrical appliances are connected with such WiFi socket
Intelligent appliance can be converted into.
In the present embodiment, APP includes client end interface 123 and Socket communication module 124, and client end interface 123 leads to
Cross Socket communication module 124 to communicate to connect with serial ports WiFi module 101,123 operating control signal of client end interface, and pass through
Socket communication module 124 sends control signals to serial ports WiFi module, and serial ports WiFi module receives Socket communication transmission
Data after be sent to control relay circuit and carry out data analysis, the signal transmission after the completion of analysis is to relay output triggering
Circuit, and corresponding operating is carried out to home appliance.APP also includes alarm module 125, for examining to the smog of home appliance
The Smoke Detection module 126 of survey, the temperature detecting module 127 for being detected to the temperature of home appliance, control module 128
Database module 129, the input of Smoke Detection module, temperature detecting module database module and control module are electrically connected
Connect, and the output end of control module is electrically connected with alarm module, Smoke Detection module and temperature detecting module are entered to home appliance
Go and monitor, and be sent to control module and processed, control module will the data that monitored and the valve stored in DBM
Value is contrasted, and when Monitoring Data exceedes certain threshold values, control module will send warning letter to the client end interface of user
Number, after user receives alarm signal, can achieve remote security monitoring real-time to home equipment.Home appliance include door and window 131,
Curtain 132 and lamp 133, lamp can carry out power on/off, and door and window can carry out push pull maneuver, and curtain can be lifted, and can carry out cold and hot
The release control of water, home appliance also include a series of equipment used in family.APP also includes time set module 120, fixed
When setup module electrically connect with the input of control module, intelligent terminal is timed by the time set module, monitoring
To the various data of home appliance shown with visualizing picture and note form.For example electrical equipment, window are realized by intelligent terminal
The control of the equipment such as curtain, after home appliance smart jack receives control command, drives the right of electrically driven curtain electric motor at once
Circuit ON or disconnection is answered, thus accomplishes the switch control rule of curtain;Equally after digital security module receives control command, meeting
Change into corresponding voice signal to dial to default phone number call alert etc..When the scene command of various complexity is triggered, right
The order execution equipment that answers decodes and together executes control command according to the order for receiving.
In the present embodiment, intelligent terminal 12 includes PC121 and smart mobile phone 122, PC connection wireless router, and passes through
Internet network is communicated to connect with WiFi socket;Smart mobile phone is communicated to connect with WiFi socket by 3G or 4G mobile network.
The several specific embodiments for being only the present invention disclosed above, but the present invention is not limited to this, any ability
What the technical staff in domain can think change should all fall into protection scope of the present invention.