CN106713088A - Method and system for controlling intelligent home equipment based on double mqtt servers - Google Patents

Method and system for controlling intelligent home equipment based on double mqtt servers Download PDF

Info

Publication number
CN106713088A
CN106713088A CN201710010503.0A CN201710010503A CN106713088A CN 106713088 A CN106713088 A CN 106713088A CN 201710010503 A CN201710010503 A CN 201710010503A CN 106713088 A CN106713088 A CN 106713088A
Authority
CN
China
Prior art keywords
mqtt
distal end
mqtt servers
intelligent home
servers
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
Application number
CN201710010503.0A
Other languages
Chinese (zh)
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.)
Co Ltd Of Information Technology Research Institute Of Nanjing Skyworth
Original Assignee
Co Ltd Of Information Technology Research Institute Of Nanjing Skyworth
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 Co Ltd Of Information Technology Research Institute Of Nanjing Skyworth filed Critical Co Ltd Of Information Technology Research Institute Of Nanjing Skyworth
Priority to CN201710010503.0A priority Critical patent/CN106713088A/en
Publication of CN106713088A publication Critical patent/CN106713088A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and system for controlling intelligent home equipment based on double mqtt servers. The method comprises the following steps: connecting to a remote mqtt server by a mobile terminal through a router, and judging whether the mobile terminal is successfully connected to the remote mqtt server; if the connection is successful, then transmitting native device information to the remote mqtt server by the mobile terminal, acquiring an intelligent home equipment list, and operating the intelligent home equipment in the intelligent home equipment list; and if the connection fails, connecting to a local area network mqtt server by the mobile terminal, transmitting the native device information to the local area network mqtt server, acquiring the intelligent home equipment list, and operating the intelligent home equipment in the intelligent home equipment list. The method for controlling the intelligent home equipment based on the double mqtt servers can remotely access equipment in homes through the mobile terminal; and if the equipment in the homes cannot be connected with an external network, equipment access and control can still be realized in a local area network through a mobile phone, which provides convenience for users to control the equipment in the homes.

Description

Intelligent home equipment control method and system based on double mqtt servers
Technical field
The present invention relates to Smart Home technical field, more particularly to the intelligent home device control based on double mqtt servers Method and system.
Background technology
Intelligent domestic system is to carry out all items in the range of one family member life, especially electric type product Interconnection, realizes information sharing.Intelligent domestic system includes appliance control system, lamp light control system, domestic safety prevention system, audio-visual Amusement centralized control system, tele-control system etc..It is an organic whole, and separate between system, and it is right to realize The intelligentized control methods such as indoor light, air-conditioning, TV, refrigerator, washing machine, remote control, mobile control.
Existing intelligent domestic system wants to realize the interconnection of equipment room, and equipment and the interconnection in high in the clouds, usually adopts With communication, wifi and zigbee is to use two kinds of more technologies at present.
Zigbee is the synonym of IEEE 802.15.4 agreements.The technology specified according to this agreement be a kind of short distance, The wireless communication technology of low-power consumption.But Zigbee can not be connected from the network organized with internet, it is necessary to have a similar road By equipment zigbee network is managed and protocol conversion is realized.
The wireless communication protocol of Wi-Fi is 802.11b/g/n.From unlike zigbee, its requirement is two-forty, great Rong Amount, wifi does not have ad hoc capability, it is necessary to set manually.The package dimension of Wi-Fi chips is slightly larger, and power consumption is higher.
Intelligent domestic system of the prior art all supports remote access, but when outer net is obstructed, equipment room cannot lead to Cross LAN to be communicated, so as to equipment in intelligent domestic system cannot be conducted interviews and be controlled when outer net is obstructed.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of the deficiencies in the prior art, set present invention aim at a kind of smart home based on double mqtt servers is provided Standby control method and system, it is intended to solve intelligent domestic system in the prior art and all support remote access, but when outer net is obstructed When, equipment room cannot be communicated by LAN, so as to cannot enter to the equipment in intelligent domestic system when outer net is obstructed The technical problem that row is accessed and controlled.
Technical scheme is as follows:
A kind of intelligent home equipment control method based on double mqtt servers, wherein, method includes:
Mobile terminal connects distal end mqtt servers by router, judges whether are mobile terminal and distal end mqtt server Successful connection;
If local equipment information is sent to distal end by mobile terminal and distal end mqtt server successful connections, mobile terminal Mqtt servers, and intelligent home device list is obtained from the mqtt servers of distal end, to the intelligence in intelligent home device list Energy home equipment is operated;
If mobile terminal and distal end mqtt server connection failures, mobile terminal connection LAN mqtt servers, and Local equipment information is sent to LAN mqtt servers, and intelligent home device row are obtained from LAN mqtt servers Table, operates to the intelligent home device in intelligent home device list.
The described intelligent home equipment control method based on double mqtt servers, wherein, the mobile terminal passes through road By also including before device connection distal end mqtt servers:
Distal end mqtt servers are built on the internet in advance, LAN mqtt servers are built on the router.
The described intelligent home equipment control method based on double mqtt servers, wherein, the mobile terminal connection office Mqtt servers are netted in domain, and local equipment information is sent to LAN mqtt servers, and from LAN mqtt servers Intelligent home device list is obtained, is included after being operated to the intelligent home device in intelligent home device list:
Mobile terminal connects distal end mqtt servers every a scheduled time, if mobile terminal connects with distal end mqtt servers Work(is connected into, then disconnects mobile terminal and LAN mqtt servers, reconnect distal end mqtt servers.
The described intelligent home equipment control method based on double mqtt servers, wherein, the mobile terminal is by the machine Facility information is sent to distal end mqtt servers, and intelligent home device list is obtained from the mqtt servers of distal end, to intelligence Intelligent home device in home equipment list also includes after being operated:
Router connects distal end mqtt servers every a scheduled time, if router is connected into distal end mqtt servers Work(, then LAN mqtt servers obtain equipment communication data from distal end mqtt server.
The described intelligent home equipment control method based on double mqtt servers, wherein, the mobile terminal is every one The scheduled time connects distal end mqtt servers, if mobile terminal and distal end mqtt server successful connections, disconnect mobile terminal With LAN mqtt servers, reconnecting distal end mqtt servers also includes:
When mqtt server in distal end finds to have router to connect, distal end mqtt servers by equipment communication data syn-chronization extremely LAN mqtt servers on router.
A kind of intelligent home device control system based on double mqtt servers, wherein, system includes:
Judge module, distal end mqtt servers are connected for mobile terminal by router, judge mobile terminal and distal end Mqtt servers whether successful connection;
First device control module, if for mobile terminal and distal end mqtt server successful connections, mobile terminal will Local equipment information is sent to distal end mqtt servers, and intelligent home device list is obtained from the mqtt servers of distal end, right Intelligent home device in intelligent home device list is operated;
Second device control module, if for mobile terminal and distal end mqtt server connection failures, mobile terminal connects LAN mqtt servers are connect, and local equipment information is sent to LAN mqtt servers, and serviced from LAN mqtt Intelligent home device list is obtained in device, the intelligent home device in intelligent home device list is operated.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
Server builds module, in advance building on the internet distal end mqtt servers, by LAN mqtt clothes Business device is built on the router.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
Server reconnects module, and distal end mqtt servers are connected every a scheduled time for mobile terminal, if mobile whole End and distal end mqtt server successful connections, then disconnect mobile terminal and LAN mqtt servers, reconnects distal end mqtt Server.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
First data simultaneous module, connects distal end mqtt servers, if router for router every a scheduled time With distal end mqtt server successful connections, then LAN mqtt servers obtain equipment communication data from distal end mqtt server.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
Second data simultaneous module, for when distal end mqtt servers find to have router to connect, distal end mqtt to be serviced Device is by the LAN mqtt servers on equipment communication data syn-chronization to router.
The invention provides a kind of intelligent home equipment control method and system based on double mqtt servers, the present invention can Equipment in family is accessed by mobile terminal remote, if equipment cannot be connected with outer net in family, still can be with LAN Realize that equipment is accessed by mobile phone, control, for equipment is provided conveniently in user's control man.
Brief description of the drawings
Fig. 1 is a kind of preferred embodiment of intelligent home equipment control method based on double mqtt servers of the invention Flow chart;
Fig. 2 is a kind of specific embodiment of intelligent home equipment control method based on double mqtt servers of the invention The flow chart of middle mobile terminal;
Fig. 3 is a kind of specific embodiment of intelligent home equipment control method based on double mqtt servers of the invention The flow chart of middle display terminal;
Fig. 4 is a kind of preferred embodiment of intelligent home device control system based on double mqtt servers of the invention Functional schematic block diagram.
Specific embodiment
To make the purpose of the present invention, technical scheme and effect clearer, clear and definite, below to the present invention further specifically It is bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The equipment of current household internal is divided into two kinds, one kind can with interconnection net interconnecting, mainly by internet access Website, downloads content, for example, intelligent television, mobile phone, flat board, computer etc..Another is then the equipment that cannot be networked, can only In local operation, such as refrigerator, washing machine.When house this specific environment is left, if it is also desirable that various equipment can be had access to And issuing instruction must just allow various equipment using same communication mode, then constitute a system by a kind of agreement, and And to use unified instruction format realize the mutual identification of various equipment rooms, data sharing, behavioural analysis etc..
The invention provides a kind of preferred embodiment of the intelligent home equipment control method based on double mqtt servers Flow chart, as shown in figure 1, wherein, method includes:
Step S100, mobile terminal connect distal end mqtt servers by router, judge mobile terminal and distal end mqtt Server whether successful connection, if successful connection, perform step S200, if connection failure, perform step S300.
During specific implementation, mobile terminal attempts connection distal end mqtt servers after being connected by wifi with router, And different steps are performed according to the situation of connection distal end mqtt servers.Wherein mobile terminal includes but is not limited to mobile phone, puts down The smart machines such as plate computer.
In further embodiment, also include before step S100:
Step S1, distal end mqtt servers are built on the internet in advance, LAN mqtt servers are built on road By on device.
During specific implementation, two mqtt servers are built, a server is built in outer net, and another is built on local road By on device, router uses openwrt operating systems, can support software installation.When outer net is obstructed, local device is with router Centered on set up an environment for LAN, equipment Management Function is realized by the mqtt servers connected in LAN.
Local equipment information is sent to distal end mqtt servers by step S200, mobile terminal, and is serviced from distal end mqtt Intelligent home device list is obtained in device, the intelligent home device in intelligent home device list is operated.
During specific implementation, step S200 is specifically included:Mobile terminal registers the machine on the mqtt servers of distal end, and incite somebody to action this Machine equipment information is sent to distal end mqtt servers;Intelligent home device row in the mqtt servers of acquisition for mobile terminal distal end Table, intelligent home device is selected according to user instruction;Obtain the presentation of information of intelligent home device on mobile terminals, and according to User instruction is manipulated to intelligent home device.
Further, mobile terminal successful connection post-registration the machine, mqtt servers are sent to by the relevant information of the machine, Then the message handle related to list of devices is subscribed to, the equipment that getting can select oneself interested after list of devices is entered Enter, subscribing to the related message handle of the equipment specifying information to server, and then can in real time obtain the information of this equipment is carried out Displaying, while the equipment chosen can also be manipulated.
Further, also include after step S200:
Step S201, router connect distal end mqtt servers every a scheduled time, if router takes with distal end mqtt Business device successful connection, then mqtt servers in distal end are by equipment communication data is activation to LAN mqtt servers.
During specific implementation, data syn-chronization is above all carried out between two-server, serviced with distal end mqtt in this programme Data on device are defined, and mqtt servers are run on router, and data storage can be accessed under same catalogue with certain frequency Distal end mqtt servers, when the connection of distal end mqtt server, distal end mqtt servers when finding to there is router client to connect, Synchronous data is activation can will be needed to local router.
Step S300, mobile terminal connection LAN mqtt servers, and local equipment information is sent to LAN Mqtt servers, and intelligent home device list is obtained from LAN mqtt servers, in intelligent home device list Intelligent home device is operated.
During specific implementation, mobile terminal registers the machine on LAN mqtt servers, and local equipment information is sent To LAN mqtt servers;Intelligent home device list in acquisition for mobile terminal LAN mqtt servers, according to user Instruction selection intelligent home device;Obtain the presentation of information of intelligent home device on mobile terminals, and according to user instruction pair Intelligent home device is manipulated.
Further, also include after step S300:
Step S301, router every a scheduled time connect distal end mqtt servers, if router with distal end mqtt Server successful connection, then LAN mqtt servers obtain equipment communication data from distal end mqtt server.
During specific implementation, on router run mqtt server and client sides, data storage under same catalogue, client End can access distal end mqtt servers, when distal end mqtt servers can be connected, LAN mqtt servers with certain frequency The message of synchrodata is obtained from distal end mqtt servers.So as to realize when network link, newest equipment being got Information.
Data syn-chronization is that the data on the mqtt servers of distal end are defined, when the LAN mqtt services on local router Device judges to be connected with distal end mqtt servers, subscribes to the device data information on the mqtt servers of distal end, and then cover this Data on ground router.
In further embodiment, also include after step S300:
Step S400, when mqtt server in distal end finds to have router to connect, distal end mqtt servers are by equipment communication LAN mqtt servers on data syn-chronization to router..
During specific implementation, after distal end mqtt servers detect router to be connected, in the mqtt servers of distal end Appearance is synchronized to LAN mqtt servers.User obtains corresponding list of devices from distal ends mqtt servers, and perform it is right The operation answered.
Specifically, the LAN mqtt servers on local router can also subscribe to a master for device data update notification Topic, the data syn-chronization that will can be also updated when the device data preserved on the mqtt servers of distal end changes to local routing On, so can guarantee that the data on local router are always newest.So as to realize the synchronization of data.
Summary is exactly, if in the case that outer net is obstructed, LAN mqtt server by utilizing is locally with the data work of preservation Make, once outer net UNICOM, then update the data of distal end, the change locally done is capped.Equipment in whole system is also all It is connected in external network server, LAN mqtt servers is not walked.
So that intelligent home device is as refrigerator as an example, mobile terminal and distal end mqtt server, LAN mqtt servers Message body uses json forms, json forms to occupy little space.Mobile terminal is when the machine is registered, it is necessary to by local equipment information Report, specific reporting information definition includes:Data head, data length, data type, device id, device name, equipment class Type, firmware version, equipment major class, reserved field.When intelligent terminal is manipulated to intelligent home device, manipulation data form is specific Including:Data head, data length, data type, device id, instruction are enumerated, specific data.
The instruction of refrigerator can be may operate in a display terminal, display terminal is used to show the control that other equipment is sent System instruction, and execution after intelligent home device such as refrigerator is sent to after control instruction is parsed.With display terminal as panel computer As a example by be introduced, panel computer is connected with refrigerator apparatus master control borad by serial ports, flat board realize it is same with mobile terminal application Native data is uploaded distal end mqtt servers and LAN mqtt servers by the function of sample, panel computer in real time, while subscribing to The instruction related to the machine control.Parsed after the specific control instruction that flat board receives to refrigerator, and sent to by serial ports Equipment master control, the instruction format of specific serial communication is as shown in table 1.
Table 1
Receive when display board when " change display board sets requirement " position is 1 and will " more after refreshing set position and pattern Change display board setting complete " put 1, when receive again " change display board sets requirement " for 0 when revert to 0.
When display plate temperature or pattern setting have altered need by " write E2 requirements " position 1, then receive what master control was sent " and write E2 Complete " when clear 0.
Present invention also offers a kind of specific implementation of intelligent home equipment control method based on double mqtt servers The flow chart of mobile terminal in example, as shown in Fig. 2 method includes:
Step S10, equipment are to mqtt server registrations;Here mqtt servers be probably distal end mqtt servers or LAN mqtt servers;
Step S20, obtain and monitor chartered list of devices;
Step S30, the specific data monitored in specific equipment;
Step S40, to remote equipment send instruct.
Present invention also offers a kind of specific implementation of intelligent home equipment control method based on double mqtt servers The flow chart of display terminal in example, as shown in figure 3, method includes:
Step S11, equipment are to mqtt server registrations;Here mqtt servers be probably distal end mqtt servers or LAN mqtt servers;
Step S12, obtain and monitor chartered list of devices;
Step S13, monitoring other equipment are sent to the instruction of the machine;
Step S14, parse and perform specific instruction.
Below with mobile phone as distal end, refrigerator how to realize above-mentioned functions for local device is specifically described.
App clients operate in mobile phone, on refrigerator and intelligent router, while can also run a mqtt on router Server processes, client-side program all can first call initMqtt interfaces after starting, create LAN mqtt client instances MqttClient, then calls mqttClient.connect () to realize the connection of device clients and server.Taken in connection Distal end mqtt servers can be first connected during business device, if do not connect reattempting connection LAN mqtt servers, Also need to create the connection that a thread is responsible for detecting distal end mqtt servers simultaneously, if can access, call MqttClient.disconnect () disconnects the connection with current local area network mqtt servers, is needed to local after successful connection Net mqtt servers send instruction and subscribe to message, and mqttClient.publish (topic, message) is called respectively, MqttClient.subscribe (topic, message), message use json forms.
One panel computer can be installed on refrigerator, make all devices in whole system that all there is client end capacity, use Mobile phone terminal is operated, and mobile phone terminal subscribes to the subject information for obtaining list of devices, and refrigerator is used as being needed by operation equipment to subscribe to Obtain the subject information of device directive, and client on router is since it is desired that to carry out data with distal end mqtt servers same Step is, it is necessary to subscribe to the related subject information of device data.Because mobile phone is used as manipulation end, refrigerator as equipment end, it is achieved that Instruction is different.Table 2 is mobile phone terminal instruction list.Table 3 is the instruction list of refrigerator.Table 4 is the related instruction column of router Table.
Table 2
Table 3
Table 4
From above method embodiment, present invention also offers a kind of intelligent home device based on double mqtt servers Control method, by building double mqtt servers, realizes equipment room when outer net has connection mutual by external network server Mutually access, when outer net is connectionless, equipment room is accessed mutually by the server in LAN, when network state changes, Data are defined by external network server data and carry out data syn-chronization, it is ensured that equipment can in the case where outer net connection is whether there is Realize accessing mutually.
Present invention also offers a kind of preferred embodiment of the intelligent home device control system based on double mqtt servers Functional schematic block diagram, as shown in figure 4, system includes:
Judge module 100, for mobile terminal by router connect distal end mqtt servers, judge mobile terminal with it is remote End mqtt servers whether successful connection;Specifically as shown in embodiment of the method.
First device control module 200, if for mobile terminal and distal end mqtt server successful connections, mobile terminal Local equipment information is sent to distal end mqtt servers, and intelligent home device list is obtained from the mqtt servers of distal end 300, the intelligent home device in intelligent home device list is operated;Specifically as shown in embodiment of the method.
Second device control module, if for mobile terminal and distal end mqtt server connection failures, mobile terminal connects LAN mqtt servers are connect, and local equipment information is sent to LAN mqtt servers, and serviced from LAN mqtt Intelligent home device list is obtained in device, the intelligent home device in intelligent home device list is operated;Specific such as side Shown in method embodiment.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
Server builds module, in advance building on the internet distal end mqtt servers, by LAN mqtt clothes Business device is built on the router;Specifically as shown in embodiment of the method.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
Server reconnects module, and distal end mqtt servers are connected every a scheduled time for mobile terminal, if mobile whole End and distal end mqtt server successful connections, then disconnect mobile terminal and LAN mqtt servers, reconnects distal end mqtt Server;Specifically as shown in embodiment of the method.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
First data simultaneous module, connects distal end mqtt servers, if router for router every a scheduled time With distal end mqtt server successful connections, then LAN mqtt servers obtain equipment communication data from distal end mqtt server; Specifically as shown in embodiment of the method.
The described intelligent home device control system based on double mqtt servers, wherein, the system also includes:
Second data simultaneous module, for when distal end mqtt servers find to have router to connect, distal end mqtt to be serviced Device is by the LAN mqtt servers on equipment communication data syn-chronization to router;Specifically as shown in embodiment of the method.
In sum, the invention provides a kind of intelligent home device communication means based on double mqtt servers and it is System, method includes:Mobile terminal connects distal end mqtt servers by router, judges mobile terminal and distal end mqtt servers Whether successful connection;If successful connection, local equipment information is sent to distal end mqtt servers by mobile terminal, and from distal end Intelligent home device list is obtained in mqtt servers, the intelligent home device in intelligent home device list is operated; If connection failure, mobile terminal connection LAN mqtt servers, and local equipment information is sent to LAN mqtt clothes Business device, and from LAN mqtt servers obtain intelligent home device list, to intelligent home device list in intelligent family The equipment of residence is operated.The present invention can access the equipment in family by mobile terminal remote, if equipment cannot be with outer net in family It is connected, still can realizes that equipment is accessed by mobile phone in LAN, control is the equipment side of providing in user's control man Just.
It should be appreciated that application of the invention is not limited to above-mentioned citing, and for those of ordinary skills, can To be improved according to the above description or converted, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Shield scope.

Claims (10)

1. a kind of intelligent home equipment control method based on double mqtt servers, it is characterised in that methods described includes:
Mobile terminal connects distal end mqtt servers by router, judges whether mobile terminal is connected with distal end mqtt servers Success;
If local equipment information is sent to distal end mqtt by mobile terminal and distal end mqtt server successful connections, mobile terminal Server, and from the mqtt servers of distal end obtain intelligent home device list, to intelligent home device list in intelligent family The equipment of residence is operated;
If mobile terminal and distal end mqtt server connection failures, mobile terminal connection LAN mqtt servers, and incite somebody to action this Machine equipment information is sent to LAN mqtt servers, and intelligent home device list is obtained from LAN mqtt servers, Intelligent home device in intelligent home device list is operated.
2. the intelligent home equipment control method based on double mqtt servers according to claim 1, it is characterised in that institute Stating before mobile terminal connects distal end mqtt servers by router also includes:
Distal end mqtt servers are built on the internet in advance, LAN mqtt servers are built on the router.
3. the intelligent home equipment control method based on double mqtt servers according to claim 1, it is characterised in that institute Mobile terminal connection LAN mqtt servers are stated, and local equipment information is sent to LAN mqtt servers, and from office Intelligent home device list is obtained in the net mqtt servers of domain, the intelligent home device in intelligent home device list is grasped Include after work:
Mobile terminal connects distal end mqtt servers every a scheduled time, if mobile terminal is connected into distal end mqtt servers Work(, then disconnect mobile terminal and LAN mqtt servers, reconnects distal end mqtt servers.
4. the intelligent home equipment control method based on double mqtt servers according to claim 2, it is characterised in that institute State mobile terminal and local equipment information is sent to distal end mqtt servers, and smart home is obtained from the mqtt servers of distal end List of devices, also includes after being operated to the intelligent home device in intelligent home device list:
Router connects distal end mqtt servers every a scheduled time, if router and distal end mqtt server successful connections, Then LAN mqtt servers obtain equipment communication data from distal end mqtt servers.
5. the intelligent home equipment control method based on double mqtt servers according to claim 2, it is characterised in that institute State mobile terminal and connect distal end mqtt servers every a scheduled time, if mobile terminal is connected into distal end mqtt servers Work(, then disconnect mobile terminal and LAN mqtt servers, and reconnecting distal end mqtt servers also includes:
When distal end mqtt servers find to have router to connect, extremely route equipment communication data syn-chronization by distal end mqtt servers LAN mqtt servers on device.
6. a kind of intelligent home device control system based on double mqtt servers, it is characterised in that system includes:
Judge module, distal end mqtt servers are connected for mobile terminal by router, judge mobile terminal and distal end mqtt Server whether successful connection;
First device control module, if for mobile terminal and distal end mqtt server successful connections, mobile terminal is by the machine Facility information is sent to distal end mqtt servers, and intelligent home device list is obtained from the mqtt servers of distal end, to intelligence Intelligent home device in home equipment list is operated;
Second device control module, if for mobile terminal and distal end mqtt server connection failures, mobile terminal connection office Mqtt servers are netted in domain, and local equipment information is sent to LAN mqtt servers, and from LAN mqtt servers Intelligent home device list is obtained, the intelligent home device in intelligent home device list is operated.
7. the intelligent home device control system based on double mqtt servers according to claim 6, it is characterised in that institute Stating system also includes:
Server builds module, in advance building on the internet distal end mqtt servers, by LAN mqtt servers Build on the router.
8. the intelligent home device control system based on double mqtt servers according to claim 6, it is characterised in that institute Stating system also includes:
Server reconnects module, for mobile terminal every a scheduled time connect distal end mqtt servers, if mobile terminal with Distal end mqtt server successful connections, then disconnect mobile terminal and LAN mqtt servers, reconnects distal end mqtt services Device.
9. the intelligent home device control system based on double mqtt servers according to claim 7, it is characterised in that institute Stating system also includes:
First data simultaneous module, for router every a scheduled time connect distal end mqtt servers, if router with it is remote Mqtt server successful connections are held, then LAN mqtt servers obtain equipment communication data from distal end mqtt servers.
10. the intelligent home device control system based on double mqtt servers according to claim 7, it is characterised in that The system also includes:
Second data simultaneous module, for when distal end mqtt servers find to have router to connect, distal end mqtt servers will LAN mqtt servers on equipment communication data syn-chronization to router.
CN201710010503.0A 2017-01-06 2017-01-06 Method and system for controlling intelligent home equipment based on double mqtt servers Pending CN106713088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710010503.0A CN106713088A (en) 2017-01-06 2017-01-06 Method and system for controlling intelligent home equipment based on double mqtt servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710010503.0A CN106713088A (en) 2017-01-06 2017-01-06 Method and system for controlling intelligent home equipment based on double mqtt servers

Publications (1)

Publication Number Publication Date
CN106713088A true CN106713088A (en) 2017-05-24

Family

ID=58908547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710010503.0A Pending CN106713088A (en) 2017-01-06 2017-01-06 Method and system for controlling intelligent home equipment based on double mqtt servers

Country Status (1)

Country Link
CN (1) CN106713088A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device
CN107995290A (en) * 2017-12-01 2018-05-04 郑州云海信息技术有限公司 A kind of register method and Accreditation System for differentiated control
CN108259564A (en) * 2017-12-20 2018-07-06 深圳磊迈照明科技有限公司 A kind of remote communication method and system based on MQTT Internet of Things protocol frames
CN108810129A (en) * 2018-06-06 2018-11-13 朔联科技(上海)有限公司 Internet of Things network control system and method, terminal device and local network services equipment
CN109039816A (en) * 2018-08-01 2018-12-18 深圳市比巴科技有限公司 A kind of broadcast control system and method
EP3451717A1 (en) * 2017-08-28 2019-03-06 Askey Computer Corp. Message pushing system, client equipment and message pushing method thereof
CN109709820A (en) * 2019-01-14 2019-05-03 四川长虹电器股份有限公司 A kind of method of one key control smart home of mobile intelligent terminal
CN111131426A (en) * 2019-12-19 2020-05-08 浙江百应科技有限公司 MQTT data interaction based method, terminal and server
CN111555945A (en) * 2020-05-20 2020-08-18 四川九州电子科技股份有限公司 General network communication system based on MQTT protocol
CN111766788A (en) * 2020-06-01 2020-10-13 珠海格力电器股份有限公司 Intelligent household control method and device
CN111866141A (en) * 2020-07-21 2020-10-30 珠海格力电器股份有限公司 Robot monitoring method, system, device, storage medium and processor
CN111885218A (en) * 2020-07-22 2020-11-03 海尔优家智能科技(北京)有限公司 Method and device for managing intelligent equipment and binding equipment
CN112187594A (en) * 2020-09-29 2021-01-05 深圳市新龙鹏科技有限公司 Intelligent home control system based on PON and IOT fusion technology
CN113645084A (en) * 2021-10-14 2021-11-12 杭州控客信息技术有限公司 Method for realizing off-line control in local area network in whole-house intelligent system
CN114466447A (en) * 2021-12-15 2022-05-10 四川天邑康和通信股份有限公司 Cloud management end management system based on WiFi6 router
CN114500495A (en) * 2022-04-01 2022-05-13 荣耀终端有限公司 Equipment control method and equipment control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954456A (en) * 2015-06-08 2015-09-30 陈广宁 Mobile Internet of Things management and control system
CN105446304A (en) * 2015-12-28 2016-03-30 美的集团股份有限公司 Intelligent household system, and interaction method and device for automobile and household electric appliance
CN105446153A (en) * 2015-12-16 2016-03-30 四川长虹电器股份有限公司 Information processing method and intelligent household device
CN106054655A (en) * 2016-07-25 2016-10-26 青岛海信电器股份有限公司 Smart furniture linkage control method and device
CN106131199A (en) * 2016-07-15 2016-11-16 深圳市丰巨泰科电子有限公司 A kind of intelligent home control system based on android system and control method
CN106169967A (en) * 2016-07-14 2016-11-30 美的集团股份有限公司 A kind of subscription client, household electrical appliance and control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954456A (en) * 2015-06-08 2015-09-30 陈广宁 Mobile Internet of Things management and control system
CN105446153A (en) * 2015-12-16 2016-03-30 四川长虹电器股份有限公司 Information processing method and intelligent household device
CN105446304A (en) * 2015-12-28 2016-03-30 美的集团股份有限公司 Intelligent household system, and interaction method and device for automobile and household electric appliance
CN106169967A (en) * 2016-07-14 2016-11-30 美的集团股份有限公司 A kind of subscription client, household electrical appliance and control method thereof
CN106131199A (en) * 2016-07-15 2016-11-16 深圳市丰巨泰科电子有限公司 A kind of intelligent home control system based on android system and control method
CN106054655A (en) * 2016-07-25 2016-10-26 青岛海信电器股份有限公司 Smart furniture linkage control method and device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device
EP3451717A1 (en) * 2017-08-28 2019-03-06 Askey Computer Corp. Message pushing system, client equipment and message pushing method thereof
TWI674806B (en) * 2017-08-28 2019-10-11 亞旭電腦股份有限公司 Message pushing system, client equipment and message pushing method thereof
CN107995290A (en) * 2017-12-01 2018-05-04 郑州云海信息技术有限公司 A kind of register method and Accreditation System for differentiated control
CN108259564A (en) * 2017-12-20 2018-07-06 深圳磊迈照明科技有限公司 A kind of remote communication method and system based on MQTT Internet of Things protocol frames
CN108810129A (en) * 2018-06-06 2018-11-13 朔联科技(上海)有限公司 Internet of Things network control system and method, terminal device and local network services equipment
CN109039816A (en) * 2018-08-01 2018-12-18 深圳市比巴科技有限公司 A kind of broadcast control system and method
CN109709820A (en) * 2019-01-14 2019-05-03 四川长虹电器股份有限公司 A kind of method of one key control smart home of mobile intelligent terminal
CN111131426A (en) * 2019-12-19 2020-05-08 浙江百应科技有限公司 MQTT data interaction based method, terminal and server
CN111131426B (en) * 2019-12-19 2022-05-10 浙江百应科技有限公司 MQTT data interaction based method, terminal and server
CN111555945B (en) * 2020-05-20 2022-01-07 四川九州电子科技股份有限公司 General network communication system based on MQTT protocol
CN111555945A (en) * 2020-05-20 2020-08-18 四川九州电子科技股份有限公司 General network communication system based on MQTT protocol
CN111766788A (en) * 2020-06-01 2020-10-13 珠海格力电器股份有限公司 Intelligent household control method and device
CN111866141A (en) * 2020-07-21 2020-10-30 珠海格力电器股份有限公司 Robot monitoring method, system, device, storage medium and processor
CN111885218A (en) * 2020-07-22 2020-11-03 海尔优家智能科技(北京)有限公司 Method and device for managing intelligent equipment and binding equipment
CN112187594A (en) * 2020-09-29 2021-01-05 深圳市新龙鹏科技有限公司 Intelligent home control system based on PON and IOT fusion technology
CN113645084A (en) * 2021-10-14 2021-11-12 杭州控客信息技术有限公司 Method for realizing off-line control in local area network in whole-house intelligent system
CN114466447A (en) * 2021-12-15 2022-05-10 四川天邑康和通信股份有限公司 Cloud management end management system based on WiFi6 router
CN114466447B (en) * 2021-12-15 2023-08-11 四川天邑康和通信股份有限公司 Cloud management end management system based on WiFi6 router
CN114500495A (en) * 2022-04-01 2022-05-13 荣耀终端有限公司 Equipment control method and equipment control system

Similar Documents

Publication Publication Date Title
CN106713088A (en) Method and system for controlling intelligent home equipment based on double mqtt servers
CN107231606B (en) WiFi network access method, intelligent hardware equipment and electronic terminal
US9420044B2 (en) Leveraging system signaling service advertisements for application-layer discovery and connection management in an internet of things (IoT) environment
CN105915420B (en) The adding method and device of smart home device
US20150006296A1 (en) NOTIFICATION DISMISSAL IN AN INTERNET OF THINGS (IoT) ENVIRONMENT
CN103312760B (en) Realize the ability open platform of terminal equipment plug and play management, method and gateway
US8761050B2 (en) Network integration system and method
CN102355390B (en) Intelligent home system
JP6739456B2 (en) Home automation system including cloud and home message queue synchronization, and related methods
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN103237056B (en) A kind of device end, control terminal and server and its control method
CN105050202B (en) The session establishing method of mobile terminal actively accessed using Relay Server
CN103200070B (en) A kind of control terminal and its control method
US10469286B2 (en) Methods, systems, and devices for managing client devices using a virtual anchor manager
KR20170010377A (en) Triggering commands on a target device in response to broadcasted event notifications
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
US20140229433A1 (en) Home appliance information accumulation server
CN103312715A (en) Web service oriented home network system architecture
CN103973742A (en) Remote control method, remote control system and control and feedback devices supporting remote control
CN105897691A (en) Method, apparatus, and system for connection of IoT device to network
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
CN102404413A (en) Method and system for realizing automatic matching of function applications among household digital devices
CN104301400A (en) Multi-screen cooperation and resource sharing method on basis of Samba protocol
CN103023668B (en) A kind of find and control method, the Apparatus and system of embedded log equipment
US11075775B2 (en) Home automation system including cloud server based maintenance operation communication and related methods

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication