CN107623613A - Intelligent household system - Google Patents
Intelligent household system Download PDFInfo
- Publication number
- CN107623613A CN107623613A CN201710822654.6A CN201710822654A CN107623613A CN 107623613 A CN107623613 A CN 107623613A CN 201710822654 A CN201710822654 A CN 201710822654A CN 107623613 A CN107623613 A CN 107623613A
- Authority
- CN
- China
- Prior art keywords
- server
- gateway
- data
- client
- 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.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of Intelligent household system, wechat client, operated by being authorized to the Openid of wechat and then to home intelligent equipment, and carry out data query, set control model and carry out equipment control, wherein authorizing Quick Response Code to include authority and gateway sequence number, wechat server is used to receive and handle wechat client to send information, respond the message of public number and feed back to wechat client, the function of Web server includes:Device configuration is inquired about, to gateway, device configuration information, there is provided generates personalized interface to client;Real time data is inquired about, and real time data is inquired about from distributed caching;The inquiry of historical data, the enquiry of historical data from distributed caching;Combined data is inquired about, and combined data is inquired about from distributed caching;Corresponding control instruction, user instruction is responded, the control instruction of user is sent to message-oriented middleware;Data buffer service, by the data buffer storage of relational database to redis.
Description
Technical field
The invention belongs to Internet technical field, more particularly to a kind of Intelligent household system.
Background technology
Publication No. CN102594630A patent document, disclose " a kind of Intelligent household system, it include one service
Device, a router and multiple terminal presentation facilities.The server is electrically connected with the router, and each terminal presentation facility point
The router is not electrically connected with so as to be electrically connected with the server by the router.Wherein, in these terminal presentation facilities
One of any the interaction with other terminal presentation facilities can be realized by the server.
Preferably, these terminal presentation facilities, which include the terminal presentation facility, includes gesture control TV, the gesture control
NTSC television system NTSC shifts data file to other-end display device.Preferably, the terminal presentation facility includes smart tea table, intelligence
Mobile phone, computer or DPF.Preferably, an interaction display system is provided with the server, above-mentioned terminal presentation facility leads to
Cross the server interaction.Preferably, the interaction display system includes allocation unit, its give these terminal presentation facilities it
Between distribute different addresses on that server.Preferably, at least one of the terminal presentation facility has a touch-control
Operation interface or gesture control interface.Preferably, when in these terminal presentation facilities one of any shown with remaining terminal set
When standby mutually interactive, the terminal presentation facility being steered shows icon corresponding to remaining terminal presentation facility, select need with
The terminal presentation facility being steered carries out an interactive at least terminal presentation facility, and dragging needs the data file extremely needs shifted
Interactive terminal presentation facility is carried out to complete the transfer of data with the terminal presentation facility being steered.Preferably, the terminal
At least one of display device also seizes module including sensing, its be used for sense a portable electron device and with this just
Portable electronic apparatus establishes wireless connection, and the file of the portable electron device is shown in into the terminal of one of them shows
In equipment.Preferably, the Intelligent household system also includes automatically controlling household appliances, and it is electrically connected with the router so as to pass through
The router and be electrically connected with the server, and be provided with this on that server and automatically control control units of household appliances,
The control interface of the control unit is shown at least one of these terminal presentation facilities.Preferably, this automatically controls house
Front yard electrical equipment is refrigerator, washing machine, automatic curtain, micro-wave oven, electric cooker or disinfection cabinet ".
Above-mentioned technical proposal proposes a kind of scheme of wisdom family, still, fast-developing in development of Mobile Internet technology
In the case of, the technical scheme can not merge the latest development of Internet technology development, can not adapt to the new functional requirement of user.
The content of the invention
The present invention provides a kind of Intelligent household system, real by home control system, cloud service system, wechat control interface
New Generation of Intelligent household equipment control system is showed.
A kind of Intelligent household system, the system include wechat client, wechat server, Web server, application service
Device, Redis, MQTT, gateway and home intelligent equipment, wherein,
Wechat client, operated by being authorized to the Openid of wechat and then to home intelligent equipment, and
Data query, setting control model and progress equipment control are carried out, wherein authorize Quick Response Code to include authority and gateway sequence number,
Wechat server is used to receive and handle wechat client to send information, responds the message of public number and feeds back to micro-
Believe client,
The function of Web server includes:
Device configuration is inquired about, to gateway, device configuration information, there is provided generates personalized interface to client;
Real time data is inquired about, and real time data is inquired about from distributed caching;
The inquiry of historical data, the enquiry of historical data from distributed caching;
Combined data is inquired about, and combined data is inquired about from distributed caching;
Corresponding control instruction, user instruction is responded, the control instruction of user is sent to message-oriented middleware;
Data buffer service, by the data buffer storage of relational database to redis,
Application server is used for the instruction for handling web server, will by device data real-time update into distributed caching
Control, query statement are sent to message-oriented middleware MQTT,
Redis is a high performance key-value database, and real time data regularly is saved in into distributed caching data
In storehouse, receiving device control, query statement, instruction is dealt into intelligent gateway,
MQTT (Message Queuing Telemetry Transport, message queue remote measurement transmission) is one instant
Communications protocol, it is the important component of Internet of Things, the receiving real-time data from MQTTserver, is stored in distributed caching, connects
Control instruction is received, control instruction is sent to MQTT server,
The Intelligent household system includes data below handling process:
(1) public number is paid close attention to by wechat, wechat can produce a unique Openid with the public number, pass through Openid
To establish the connection of wechat and wechat server;
(2) by establishing wechat server and Web service in the IP address of wechat server backend arrangement Web server
The communication connection of device;
(3) wechat client is swept by being swept to the Quick Response Code of wisdom home gateway, and the Quick Response Code includes the mandate of gateway
Information, successful Openid will be authorized to preserve on a web server, authorization message is returned to wechat server by web server, and
In the wisdom home gateway that the display of wechat client authorizes;
(4) control information is issued wechat server by wechat client by the Openid authorized;
(5) Web server is handed down to by IP address by wechat server, web server responds the web of wechat client
Request;
(6) Web server initiates to ask according to the type of service of wechat client request to corresponding application server;
(7) when application server receives control instruction, instruction is handed down to MQTT;
(8) information of MQTT self-applications in future server is sent to whole gateways, only with gateway sequence number identical
Gateway can just handle the information;
(9) gateway issues control instruction according to a position information, mapping address (mapaddress) to underlying device;
(10) the current information of the equipment is issued gateway by underlying device;
(11) sequence number from the information of underlying device and itself gateway is issued MQTT by gateway;
(12) information is issued application server by MQTT;
(13) facility information is stored in distributed caching by application server, updates real time data;
(14) by wechat client query equipment state, query statement is issued into wechat server;
(15) query statement is issued Web server by wechat server by IP address;
(16) Web server takes out the state of current device from Redis and issues wechat server;
(17) wechat client is returned to by wechat server.
From the angle of user, the Intelligent household system includes home control centres, cloud service system, wechat control
End,
Home control centres are completed to include:
(1) gathered data, the cloud platform that real time data is sent is handled;
(2) real time data is uploaded, receives control instruction;
(3) program, the online updating of configuration can be achieved;
(4) various functions of MQTT clients are realized, control instruction and the execution of user are received by MQTT agreements.
The present invention uses puppy parc, provides access gateway different type intelligent equipment the unified platform, carries out unification
Change processing driving, be seamlessly connected using gateway and cloud platform, realize program, configuration automation, and then reduce manual maintenance cost.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing
, feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example, and not by way of limitation
Dry embodiment, wherein:
Fig. 1 is the system flow schematic diagram of the present invention.
Embodiment
The Intelligent household system of the present invention is made up of three parts, is home control system, cloud service system, wechat respectively
Control interface, home control system are the bases of whole wisdom domestic. applications system.Including:It is wechat client (Wechat), micro-
Telecommunications services device (Wechat Server), web server (webserver), application server (Application server),
Redis, MQTT, gateway (Gateway), smart machine.
As shown in figure 1, the system flow of the present invention includes:
(1) pay close attention to
When paying close attention to public number by wechat (public number information is stored in wechat server), wechat and the public number meeting
A unique openid is produced, the connection of wechat and wechat server is established by openid;
(2) wechat server
By establishing wechat server and Web server in wechat server backend arrangement webserver IP address
Communication connection.
(3) authorize
Wechat client sweeps (the mandate letter that the Quick Response Code includes gateway by being swept to the Quick Response Code of wisdom home gateway
Breath:The term of validity, authority etc.), successful openid will be authorized to preserve on a web server, web server returns to authorization message
Wechat server, and the wisdom home gateway authorized in the display of wechat client;Smart machine is controlled by wechat:
(4) control information is issued Wechat Server by Wechat by the openid authorized,
(5) Web Server are handed down to by IP address by Wechat Server;Webserver responds wechat web
Request (carries Gateway sequence numbers, equipment point position information);
(6) type of service that webserver asks according to wechat, being initiated to corresponding application server please
Ask;
(7) when Application server receive control instruction, instruction is handed down to MQTT and (carries Gateway sequences
Number, equipment point position information, map address), MQTT (publish/subscribe, TCP/IP, information transmission mechanism<At most once, at least
Once, only once>, ensure that data are correctly transmitted);
(8) information from Application server is sent to whole Gateway by MQTT, only with
Gateway sequence number identicals Gateway can just handle the information;
(9) Gateway issues control instruction according to a position information, mapaddress to underlying device;
Feedback of status flow (green arrow+violet digital)
(10) it is (equipment point position, mapaddress, current to be issued Gateway by underlying device for the current information of the equipment
Value);
(11) information from underlying device+itself Gateway sequence number is issued MQTT by Gateway
(12) information is issued Application server by MQTT
(13) facility information is stored in distributed caching by Application server, updates real time data;
(14) wechat query facility states are passed through:Query statement is issued wechat server by wechat;
(15) query statement is issued Webserver by wechat server by IP address;
(16) Webserver takes out the state of current device from Redis and issues wechat server;
(17) wechat clients are returned to by wechat server.
Home control system is the core of Intelligent household system, and function is as follows
(1) gathered data, the cloud platform that real time data is sent is handled;
(2) real time data is uploaded, receives control instruction;
(3) program, the online updating of configuration can be achieved;
(4) MQTT Client various functions are realized, control instruction and the execution of user are received by MQTT agreements.
What deserves to be explained is although foregoing teachings describe the essence of the invention by reference to some embodiments
God and principle, it should be appreciated that, the present invention is not limited to disclosed embodiment, the also unawareness of the division to each side
The feature that taste in these aspects can not combine, and this division is merely to the convenience of statement.It is contemplated that cover appended power
Included various modifications and equivalent arrangements in the spirit and scope that profit requires.
Claims (2)
- A kind of 1. Intelligent household system, it is characterised in that the system include wechat client, wechat server, Web server, Application server, Redis, MQTT, gateway and home intelligent equipment, wherein,Wechat client, operated, and carried out and then to home intelligent equipment by being authorized to the Openid of wechat Data query, setting control model and progress equipment control, wherein authorize Quick Response Code to include authority and gateway sequence number,Wechat server is used to receive and handle wechat client to send information, responds the message of public number and feeds back to wechat visitor Family end,The function of Web server includes:Device configuration is inquired about, to gateway, device configuration information, there is provided generates personalized interface to client;Real time data is inquired about, and real time data is inquired about from distributed caching;The inquiry of historical data, the enquiry of historical data from distributed caching;Combined data is inquired about, and combined data is inquired about from distributed caching;Corresponding control instruction, user instruction is responded, the control instruction of user is sent to message-oriented middleware;Data buffer service, by the data buffer storage of relational database to redis,Application server is used for the instruction for handling web server, by device data real-time update into distributed caching, will control System, query statement are sent to message-oriented middleware MQTT,Redis is a high performance key-value database, and real time data regularly is saved in into distributed caching database In, receiving device control, query statement, instruction is dealt into intelligent gateway,MQTT (Message Queuing Telemetry Transport, message queue remote measurement transmission) is an instant messaging Agreement, it is the important component of Internet of Things, the receiving real-time data from MQTTserver, is stored in distributed caching, receives control System instruction, control instruction is sent to MQTT server,The Intelligent household system includes data below handling process:(1) public number is paid close attention to by wechat, wechat can produce a unique Openid with the public number, be built by Openid The connection of vertical wechat and wechat server;(2) by establishing wechat server and Web server in the IP address of wechat server backend arrangement Web server Communication connection;(3) wechat client is swept by being swept to the Quick Response Code of wisdom home gateway, and the Quick Response Code includes the authorization message of gateway, Successful Openid will be authorized to preserve on a web server, authorization message is returned to wechat server by web server, and micro- Believe the wisdom home gateway that client display authorizes;(4) control information is issued wechat server by wechat client by the Openid authorized;(5) Web server is handed down to by IP address by wechat server, the web of web server response wechat client please Ask;(6) Web server initiates to ask according to the type of service of wechat client request to corresponding application server;(7) when application server receives control instruction, instruction is handed down to MQTT;(8) information of MQTT self-applications in future server is sent to whole gateways, only with gateway sequence number identical gateway The information can just be handled;(9) gateway issues control instruction according to a position information, mapping address to underlying device;(10) the current information of the equipment is issued gateway by underlying device;(11) sequence number from the information of underlying device and itself gateway is issued MQTT by gateway;(12) information is issued application server by MQTT;(13) facility information is stored in distributed caching by application server, updates real time data;(14) by wechat client query equipment state, query statement is issued into wechat server;(15) query statement is issued Web server by wechat server by IP address;(16) Web server takes out the state of current device from Redis and issues wechat server;(17) wechat client is returned to by wechat server.
- 2. Intelligent household system as claimed in claim 1, it is characterised in that from the angle of user, the Intelligent household system Including home control centres, cloud service system, wechat control terminal,Home control centres are completed to include:(1) gathered data, the cloud platform that real time data is sent is handled;(2) real time data is uploaded, receives control instruction;(3) program, the online updating of configuration can be achieved;(4) various functions of MQTT clients are realized, control instruction and the execution of user are received by MQTT agreements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710822654.6A CN107623613A (en) | 2017-09-13 | 2017-09-13 | Intelligent household system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710822654.6A CN107623613A (en) | 2017-09-13 | 2017-09-13 | Intelligent household system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107623613A true CN107623613A (en) | 2018-01-23 |
Family
ID=61089499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710822654.6A Pending CN107623613A (en) | 2017-09-13 | 2017-09-13 | Intelligent household system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107623613A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108366064A (en) * | 2018-02-11 | 2018-08-03 | 四川虹美智能科技有限公司 | A kind of method and system of docking platform, a kind of electronic equipment |
CN109327513A (en) * | 2018-09-21 | 2019-02-12 | 京东方科技集团股份有限公司 | Exchange method, device and computer readable storage medium |
CN109560612A (en) * | 2018-11-30 | 2019-04-02 | 电子科技大学 | A kind of intelligent power distribution cabinet system |
CN109951559A (en) * | 2019-03-27 | 2019-06-28 | 京东方光科技有限公司 | Timed task configuration method, server, system and computer readable storage medium |
CN110805991A (en) * | 2019-10-30 | 2020-02-18 | 青岛海信智慧家居***股份有限公司 | Method and device for synchronizing states of control terminal and central air conditioner |
CN111866097A (en) * | 2020-07-03 | 2020-10-30 | 熊猫智慧水务有限公司 | Intelligent device-based scanned data aggregation method |
CN112666877A (en) * | 2021-02-01 | 2021-04-16 | 亚特智物联技术(广东)有限公司 | Control system of Internet of things |
CN113254465A (en) * | 2021-05-25 | 2021-08-13 | 四川虹魔方网络科技有限公司 | Cache final consistency updating method |
CN114125010A (en) * | 2021-11-03 | 2022-03-01 | 中科智城(广州)信息科技有限公司 | MQTT protocol-based centralized controller control method, system and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130042244A1 (en) * | 2010-04-23 | 2013-02-14 | Zte Corporation | Method and system for implementing internet of things service |
CN104660695A (en) * | 2015-02-09 | 2015-05-27 | 陈正涛 | Intelligent control system and intelligent control method based on wechat public platform |
CN106131199A (en) * | 2016-07-15 | 2016-11-16 | 深圳市丰巨泰科电子有限公司 | A kind of intelligent home control system based on android system and control method |
CN106210017A (en) * | 2016-07-05 | 2016-12-07 | Tcl集团股份有限公司 | A kind of smart machine control method based on wechat platform and system thereof |
CN106789483A (en) * | 2017-01-23 | 2017-05-31 | 微赫智能科技(上海)有限公司 | A kind of distributed KNX intelligent domestic systems |
-
2017
- 2017-09-13 CN CN201710822654.6A patent/CN107623613A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130042244A1 (en) * | 2010-04-23 | 2013-02-14 | Zte Corporation | Method and system for implementing internet of things service |
CN104660695A (en) * | 2015-02-09 | 2015-05-27 | 陈正涛 | Intelligent control system and intelligent control method based on wechat public platform |
CN106210017A (en) * | 2016-07-05 | 2016-12-07 | Tcl集团股份有限公司 | A kind of smart machine control method based on wechat platform and system thereof |
CN106131199A (en) * | 2016-07-15 | 2016-11-16 | 深圳市丰巨泰科电子有限公司 | A kind of intelligent home control system based on android system and control method |
CN106789483A (en) * | 2017-01-23 | 2017-05-31 | 微赫智能科技(上海)有限公司 | A kind of distributed KNX intelligent domestic systems |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108366064B (en) * | 2018-02-11 | 2021-02-09 | 四川虹美智能科技有限公司 | Method and system for docking platform and electronic equipment |
CN108366064A (en) * | 2018-02-11 | 2018-08-03 | 四川虹美智能科技有限公司 | A kind of method and system of docking platform, a kind of electronic equipment |
CN109327513B (en) * | 2018-09-21 | 2021-12-17 | 京东方科技集团股份有限公司 | Interaction method, interaction device and computer-readable storage medium |
CN109327513A (en) * | 2018-09-21 | 2019-02-12 | 京东方科技集团股份有限公司 | Exchange method, device and computer readable storage medium |
US11356522B2 (en) | 2018-09-21 | 2022-06-07 | Boe Technology Group Co., Ltd. | Data transmission method, network device, terminal device, and computer readable storage medium |
CN109560612A (en) * | 2018-11-30 | 2019-04-02 | 电子科技大学 | A kind of intelligent power distribution cabinet system |
CN109951559A (en) * | 2019-03-27 | 2019-06-28 | 京东方光科技有限公司 | Timed task configuration method, server, system and computer readable storage medium |
CN110805991A (en) * | 2019-10-30 | 2020-02-18 | 青岛海信智慧家居***股份有限公司 | Method and device for synchronizing states of control terminal and central air conditioner |
CN111866097A (en) * | 2020-07-03 | 2020-10-30 | 熊猫智慧水务有限公司 | Intelligent device-based scanned data aggregation method |
CN112666877A (en) * | 2021-02-01 | 2021-04-16 | 亚特智物联技术(广东)有限公司 | Control system of Internet of things |
CN113254465A (en) * | 2021-05-25 | 2021-08-13 | 四川虹魔方网络科技有限公司 | Cache final consistency updating method |
CN113254465B (en) * | 2021-05-25 | 2022-11-01 | 四川虹魔方网络科技有限公司 | Cache final consistency updating method |
CN114125010A (en) * | 2021-11-03 | 2022-03-01 | 中科智城(广州)信息科技有限公司 | MQTT protocol-based centralized controller control method, system and equipment |
CN114125010B (en) * | 2021-11-03 | 2024-02-20 | 中科智城(广州)信息科技有限公司 | Centralized controller control method, system and equipment based on MQTT protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107623613A (en) | Intelligent household system | |
CN103399530B (en) | Method, system and control platform and control terminal that intelligent appliance is uniformly controlled | |
CN103607341B (en) | Terminal control method based on instant messaging mode and system | |
CN104426928B (en) | A kind of isomery intelligent appliance intercommunication control method based on Internet of Things mark service | |
CN102611753B (en) | System and method for controlling controlled equipment through mobile terminal based on cloud platform | |
CN103581740B (en) | A kind of distributed IPTV multi-screens gateway and IPTV multi-screen interaction methods | |
CN107608225A (en) | Control method, system, storage medium and the computer equipment of intelligent home device | |
CN110266794A (en) | Method for subscribing and system are acted on behalf of based on MQTT server | |
CN102694804A (en) | Realization method and device for intelligent home unified platform on basis of UPnP protocol | |
US20210160092A1 (en) | Communication, Monitoring and Control Architecture and Method | |
JP6072132B2 (en) | Method of establishing a communication path using active connection of relay server of mobile terminal | |
CN104580290A (en) | Remote control system for food cooking equipment | |
CN103348761A (en) | Activation of device having limited user interface | |
CN103858380A (en) | Method and apparatus for communication connection service | |
CN202634464U (en) | Realization device of intelligent household unified platform based on UPnP (universal plug-n-play) protocols | |
CN106899464A (en) | Intelligent home furnishing control method | |
CN1767488A (en) | Network domestic electric appliance control system | |
CN102387156A (en) | Equipment logging treatment method, device and system | |
CN109932921A (en) | The control method and system of a kind of intelligent appliance and the first client | |
CN105006139A (en) | System and method for realizing intelligent infrared remote control | |
CN103825939A (en) | Household appliance networking control system | |
CN107526501A (en) | The control system and mobile terminal of intelligent appliance | |
CN110249642A (en) | The method and apparatus of operational instances resource | |
CN113985743A (en) | Equipment control method, device and system, storage medium and electronic device | |
CN104283968A (en) | Intelligent household electrical appliance backstage management system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180123 |
|
RJ01 | Rejection of invention patent application after publication |