CN109709820A - A kind of method of one key control smart home of mobile intelligent terminal - Google Patents
A kind of method of one key control smart home of mobile intelligent terminal Download PDFInfo
- Publication number
- CN109709820A CN109709820A CN201910031912.8A CN201910031912A CN109709820A CN 109709820 A CN109709820 A CN 109709820A CN 201910031912 A CN201910031912 A CN 201910031912A CN 109709820 A CN109709820 A CN 109709820A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- smart home
- mobile intelligent
- cloud
- mqtt
- 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
- Telephone Function (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of methods of one key control smart home of mobile intelligent terminal, and the method includes the steps 1: mobile intelligent terminal carries out two-way authentication by MQTT-SDK connection MQTT server, server and mobile terminal;Step 2: at least one scene mode is arranged in mobile intelligent terminal according to demand in user, and each scene mode is associated with corresponding smart home device and the state of smart home device sensor is arranged;Step 3: after scene mode is provided with, when the device fires, the change of state is sent by MQTT agreement and returns to implementing result to mobile intelligent terminal through cloud platform by equipment;Step 4: mobile intelligent terminal receives the push from cloud platform and correlated results is sent to mobile intelligent terminal in the form of text and shows.By this method, different scene modes can be set in mobile intelligent terminal according to demand, the corresponding smart home device of reselection is associated under corresponding scene mode.
Description
Technical field
The present invention relates to internet of things field, are a kind of one key control smart homes of mobile intelligent terminal specifically
Method.
Background technique
With popularizing for technology of Internet of things, in smart home industry, how more the smart machine in intelligent control man with regard to is improved
User uses the experience of smart home.It has realized at present by the smart home device in cell phone application remote control home.But actually make
It is more complicated cumbersome with traditional APP control its operating procedure of household with middle discovery, the purpose of " convenient and efficient " is not played, than
It is such as away from home, needs to enable the security protection policing function of various equipment, need to be separately turned on door lock security protection, window security protection, displacement passes
The safety protection functions such as sensor and infrared sensor, complicated cumbersome operating procedure can reduce the Experience Degree of user.
Summary of the invention
The purpose of the present invention is to provide a kind of methods of one key control smart home of mobile intelligent terminal, existing for solving
Smart home device is all individually to manipulate and lead to the complicated cumbersome problem of operating process in technology.
The present invention is solved the above problems by following technical proposals:
A kind of method of one key control smart home of mobile intelligent terminal, described method includes following steps:
Step 1: by MQTT-SDK connection MQTT server, server and mobile terminal two-way recognize mobile intelligent terminal
Card;
Step 2: at least one scene mode, each scene mode association is arranged in mobile intelligent terminal according to demand in user
Corresponding smart home device and the state that smart home device sensor is set;
Step 3: after scene mode is provided with, when the device fires, equipment sends out the change of state by MQTT agreement
It send and returns to implementing result to mobile intelligent terminal through cloud platform;
Step 4: mobile intelligent terminal is received the push from cloud platform and is sent to correlated results in the form of text
Mobile intelligent terminal is shown.
By this method, different scene modes can be set in mobile intelligent terminal according to demand, reselection is corresponding
Smart home device is associated under corresponding scene mode, when user is when selection starts some scene mode, it is only necessary to one
Key control, mobile intelligent terminal generate control instruction and are transferred to MQTT server by MQTT agreement, and MQTT server will control
Instruction is transferred to cloud platform simultaneous transmission to smart home device end, and state occurs after the instruction of smart home device response control
Change, for smart home device actively by state information report to cloud platform, cloud platform changes equipment state after control response
Message is pushed to mobile intelligent terminal, checks for user.Compared to the mode that common smart home controls one by one, this method is mentioned
Control mode out controls multiple smart home devices while can be simply again rapid.
Preferably, the smart home device includes deployable model and mode of withdrawing a garrison, all kinds of smart homes under deployable model
The sensor of equipment is in easy triggering state;Various kinds of sensors is in close state under mode of withdrawing a garrison, and is associated in enabling scene
The sensor of smart home device under mode is in easy triggering state, the not associated smart home device under scene mode
Sensor is in close state.
Preferably, the cloud platform includes user's cloud, equipment cloud, message cloud and business cloud, and user's cloud is used for user account
Management;Equipment is for providing equipment state interface;Message cloud is forwarded and is pushed for message, and the division of labor and effect of each cloud are not
Together, be designed in this way can allow operation response faster, it is not easy to malfunction, after error also be very easy to inquiry error the reason of.
Preferably, the mobile-terminal platform to match with MQTT server is installed on the mobile intelligent terminal, can steps on
Record platform controls smart home device to by intelligent terminal, and platform will record all information of user, including
Its all contextual data being arranged can check and modify one by one all information of setting after logging in.
Preferably, the data transmitted between the mobile intelligent terminal, MQTT server and cloud platform are assisted by MQTT
View encryption, more stable by the encrypted data of agreement, safety is higher, is not easy to be stolen and accident occurs.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that
(1) different scene modes, the corresponding intelligence of reselection can be arranged in the present invention in mobile intelligent terminal according to demand
Energy home equipment is associated under corresponding scene mode, when user is when selection starts some scene mode, it is only necessary to a key
Control, mobile intelligent terminal generate control instruction and are transferred to MQTT server by MQTT agreement, and MQTT server refers to control
Order is transferred to cloud platform simultaneous transmission to smart home device end, and state changes after the instruction of smart home device response control
Become, actively by state information report to cloud platform, cloud platform disappears smart home device by what equipment state after control response changed
Breath is pushed to mobile intelligent terminal, checks for user.Compared to the mode that common smart home controls one by one, this method is proposed
Control mode can simply again rapidly while control multiple smart home devices.
(2) smart home device of the present invention includes deployable model and mode of withdrawing a garrison, and all kinds of smart homes are set under deployable model
Standby sensor is in easy triggering state;Various kinds of sensors is in close state under mode of withdrawing a garrison, and is associated in and is enabled scene mould
The sensor of smart home device under formula is in easy triggering state, the biography of the not associated smart home device under scene mode
Sensor is in close state.
(3) in the present invention, cloud platform includes user's cloud, equipment cloud, message cloud and business cloud, and user's cloud is used for user account
Management;Equipment is for providing equipment state interface;Message cloud is forwarded and is pushed for message, and the division of labor and effect of each cloud are not
Together, be designed in this way can allow operation response faster, it is not easy to malfunction, after error also be very easy to inquiry error the reason of.
Detailed description of the invention
Fig. 1 is one key control ideograph of scene of the invention;
Fig. 2 is long-range control principle drawing of the invention.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
Embodiment 1:
In conjunction with shown in attached drawing 1, a kind of method of one key control smart home of mobile intelligent terminal, the method includes as follows
Step:
Step 1: by MQTT-SDK connection MQTT server, server and mobile terminal two-way recognize mobile intelligent terminal
Card;
Step 2: at least one scene mode, each scene mode association is arranged in mobile intelligent terminal according to demand in user
Corresponding smart home device and the state that smart home device sensor is arranged, smart home device include deployable model and remove
Anti- mode, the sensor of all kinds of smart home devices is in easy triggering state under deployable model;Various kinds of sensors under mode of withdrawing a garrison
It is in close state, the sensor for the smart home device being associated under enabling scene mode is in easy triggering state, does not close
The sensor for the smart home device being associated under scene mode is in close state.;
Step 3: after scene mode is provided with, when the device fires, equipment sends out the change of state by MQTT agreement
It send and returns to implementing result to mobile intelligent terminal through cloud platform, cloud platform includes user's cloud, equipment cloud, message cloud and business
Cloud, user's cloud are used for user account management;Equipment is for providing equipment state interface;Message cloud is forwarded and is pushed for message,
The division of labor of each cloud and effect are different, be designed in this way can allow operation response faster, it is not easy to malfunction, be also very easy to after error
The reason of inquiry error;
Step 4: mobile intelligent terminal is received the push from cloud platform and is sent to correlated results in the form of text
Mobile intelligent terminal is shown.
By this method, different scene modes can be set in mobile intelligent terminal according to demand, reselection is corresponding
Smart home device is associated under corresponding scene mode, as shown in Fig. 2, when user starts some scene mode in selection
When, it is only necessary to a key control, mobile intelligent terminal generate control instruction and are transferred to MQTT server, MQTT clothes by MQTT agreement
Control instruction is transferred to cloud platform simultaneous transmission to smart home device end by business device, and smart home device response control instructs it
State changes afterwards, and smart home device is actively by state information report to cloud platform, and cloud platform is by equipment after control response
The message that state changes is pushed to mobile intelligent terminal, checks for user.The side controlled one by one compared to common smart home
Formula, the control mode that this method proposes control multiple smart home devices while can be simply again rapid.
The mobile-terminal platform to match with MQTT server is installed on mobile intelligent terminal, platform can be logged in passing through
Intelligent terminal controls smart home device, and platform will record all information of user, including all of its setting
Contextual data can check and modify one by one all information of setting after logging in.
And the data transmitted between mobile intelligent terminal, MQTT server and cloud platform are encrypted by MQTT agreement,
More stable by the encrypted data of agreement, safety is higher, is not easy to be stolen and accident occurs.
For example, after we log in the smart home platform APP of mobile intelligent terminal, two fields are simply set
Scape, one is scene mode on daytime, and one is night view mode, and the equipment such as window, curtain are associated under day mode, its is right
The sensor settings answered are easy triggering state, and the sensor of other lamps is set to off closed state.The sensing of curtain and window
Device will carry out feedback according to luminous intensity to carry out the intelligent automatic control of window and curtain.By the biography of lamps and lanterns under night mode
Sensor is set as deployable model, and the sensor of window and curtain is set to off closed state, and is associated under night mode.
When daytime, day mode is enabled, lamps and lanterns may turn off, and window and curtain can be carried out according to extraneous luminous intensity
Adjust automatically.When night, night mode is enabled, enabling, window and curtain need to be only clicked on mobile intelligent terminal
It can be automatically closed, lamps and lanterns sensor is opened, and the switch of lamps and lanterns is controlled according to luminous intensity.
All smart home devices that can be associated with by the method with a key control under corresponding scene, without being arranged one by one
Control one by one, at the same by MQTT server can smart home is controlled by network remote, the response of equipment and
State can also be checked and be shown in mobile intelligent terminal.It uses more convenient.
Although reference be made herein to invention has been described for explanatory embodiment of the invention, and above-described embodiment is only this hair
Bright preferable embodiment, embodiment of the present invention are not limited by the above embodiments, it should be appreciated that those skilled in the art
Member can be designed that a lot of other modification and implementations, these modifications and implementations will fall in principle disclosed in the present application
Within scope and spirit.
Claims (5)
1. a kind of method of one key control smart home of mobile intelligent terminal, which is characterized in that described method includes following steps:
Step 1: mobile intelligent terminal carries out two-way authentication by MQTT-SDK connection MQTT server, server and mobile terminal;
Step 2: at least one scene mode is arranged in mobile intelligent terminal according to demand in user, and each scene mode association is corresponding
Smart home device and the state of smart home device sensor is set;
Step 3: after scene mode is provided with, when the device fires, equipment sends the change of state simultaneously by MQTT agreement
Implementing result is returned to mobile intelligent terminal through cloud platform;
Step 4: mobile intelligent terminal receives the push from cloud platform and correlated results is sent to movement in the form of text
Intelligent terminal is shown.
2. the method for one key control smart home of mobile intelligent terminal according to claim 1, it is characterised in that: the intelligence
Energy home equipment includes deployable model and mode of withdrawing a garrison, and the sensor of all kinds of smart home devices is in easily triggering under deployable model
State;Various kinds of sensors is in close state under mode of withdrawing a garrison.
3. the method for one key control smart home of mobile intelligent terminal according to claim 1, it is characterised in that: the cloud
Platform includes user's cloud, equipment cloud, message cloud and business cloud, and user's cloud is used for user account management;Equipment is for providing equipment
State interface;Message cloud is forwarded and is pushed for message.
4. the method for one key control smart home of mobile intelligent terminal according to claim 1, it is characterised in that: the shifting
The mobile-terminal platform to match with MQTT server is installed on dynamic intelligent terminal, platform can be logged in and set to by intelligent terminal
It is standby that smart home device is controlled.
5. the method for one key control smart home of mobile intelligent terminal according to claim 1, it is characterised in that: the shifting
The dynamic data transmitted between intelligent terminal, MQTT server and cloud platform are encrypted by MQTT agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910031912.8A CN109709820A (en) | 2019-01-14 | 2019-01-14 | A kind of method of one key control smart home of mobile intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910031912.8A CN109709820A (en) | 2019-01-14 | 2019-01-14 | A kind of method of one key control smart home of mobile intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109709820A true CN109709820A (en) | 2019-05-03 |
Family
ID=66261204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910031912.8A Pending CN109709820A (en) | 2019-01-14 | 2019-01-14 | A kind of method of one key control smart home of mobile intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109709820A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112099362A (en) * | 2019-06-17 | 2020-12-18 | 美的集团武汉制冷设备有限公司 | Control terminal, remote control prompting method of household appliance and air conditioner |
CN112115855A (en) * | 2020-09-17 | 2020-12-22 | 四川长虹电器股份有限公司 | Intelligent household gesture control system and control method based on 5G |
CN115457715A (en) * | 2022-11-10 | 2022-12-09 | 广州河东科技有限公司 | Intelligent home anti-theft system based on intelligent mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713088A (en) * | 2017-01-06 | 2017-05-24 | 南京创维信息技术研究院有限公司 | Method and system for controlling intelligent home equipment based on double mqtt servers |
US20170244792A1 (en) * | 2014-11-07 | 2017-08-24 | Huawei Technologies Co., Ltd. | Power-Line Carrier Terminal Control Apparatus, System, and Method |
CN107728590A (en) * | 2017-09-29 | 2018-02-23 | 四川长虹电器股份有限公司 | ZigBee intelligent domestic systems and its scene inter-linked controlling method |
CN108400915A (en) * | 2018-03-20 | 2018-08-14 | 四川长虹电器股份有限公司 | A kind of Intelligent household equipment management system and method |
-
2019
- 2019-01-14 CN CN201910031912.8A patent/CN109709820A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170244792A1 (en) * | 2014-11-07 | 2017-08-24 | Huawei Technologies Co., Ltd. | Power-Line Carrier Terminal Control Apparatus, System, and Method |
CN106713088A (en) * | 2017-01-06 | 2017-05-24 | 南京创维信息技术研究院有限公司 | Method and system for controlling intelligent home equipment based on double mqtt servers |
CN107728590A (en) * | 2017-09-29 | 2018-02-23 | 四川长虹电器股份有限公司 | ZigBee intelligent domestic systems and its scene inter-linked controlling method |
CN108400915A (en) * | 2018-03-20 | 2018-08-14 | 四川长虹电器股份有限公司 | A kind of Intelligent household equipment management system and method |
Non-Patent Citations (1)
Title |
---|
秦利红 等: "基于Android平台智能家居客户端的设计与实现", 《计算机应用与软件》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112099362A (en) * | 2019-06-17 | 2020-12-18 | 美的集团武汉制冷设备有限公司 | Control terminal, remote control prompting method of household appliance and air conditioner |
CN112115855A (en) * | 2020-09-17 | 2020-12-22 | 四川长虹电器股份有限公司 | Intelligent household gesture control system and control method based on 5G |
CN115457715A (en) * | 2022-11-10 | 2022-12-09 | 广州河东科技有限公司 | Intelligent home anti-theft system based on intelligent mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104639624B (en) | A kind of method and apparatus for realizing mobile terminal remote access control | |
CN104167040B (en) | The long-range control method of a kind of electronic lock and system | |
CN109709820A (en) | A kind of method of one key control smart home of mobile intelligent terminal | |
CN104157045B (en) | Access control method and system | |
CN104103111A (en) | Automatic access control system based on mobile phone Bluetooth communication and implementation method thereof | |
CN106130849A (en) | A kind of intelligent switch control system | |
CN104699065B (en) | A kind of control method and device of intelligent home device | |
CN104301891A (en) | Method and system for interconnecting intelligent device and WiFi router | |
CN204143429U (en) | A kind of tele-control system of electronic lock | |
CN104062962A (en) | Internet of things equipment automatic control system and control method thereof | |
CN103813142A (en) | Control system of smart lock of mobile internet and control method thereof | |
CN204946137U (en) | Judge that smart lock is locked state and controlled the system that its solution locks by mobile terminal | |
CN104504887A (en) | Control method and system of wireless remote control | |
CN104867222A (en) | Unattended substation access control system and method based on intelligent mobile platform | |
CN204990454U (en) | Intelligence lock based on control of cell -phone APP | |
CN105354900A (en) | Intelligent door lock snapshot method and system thereof | |
CN110996296A (en) | Control method and system for sharing vehicle | |
CN105827598A (en) | Method and system for strengthening WiFi security of access router | |
CN106530465B (en) | Low power-consumption intelligent door lock complete machine and its implementation | |
CN105913513A (en) | Control method and system for door lock system | |
CN109412906A (en) | Across APP program intelligent control interactive system and working method | |
CN104835229A (en) | Method for controlling lockset by gestures | |
CN107592246A (en) | A kind of data processing method and device | |
CN104680332A (en) | Novel official seal management method based on cloud platforms | |
CN104835230A (en) | Method for controlling locks through human face |
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: 20190503 |
|
RJ01 | Rejection of invention patent application after publication |