[go: up one dir, main page]

CN104168645A - Gateway equipment and node equipment networking quitting method - Google Patents

Gateway equipment and node equipment networking quitting method Download PDF

Info

Publication number
CN104168645A
CN104168645A CN201410407201.3A CN201410407201A CN104168645A CN 104168645 A CN104168645 A CN 104168645A CN 201410407201 A CN201410407201 A CN 201410407201A CN 104168645 A CN104168645 A CN 104168645A
Authority
CN
China
Prior art keywords
logout
node device
gateway device
mobile terminal
node
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
CN201410407201.3A
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.)
Nanjing IoT Sensor Technology Co Ltd
Original Assignee
Nanjing IoT Sensor Technology Co Ltd
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 Nanjing IoT Sensor Technology Co Ltd filed Critical Nanjing IoT Sensor Technology Co Ltd
Priority to CN201410407201.3A priority Critical patent/CN104168645A/en
Publication of CN104168645A publication Critical patent/CN104168645A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a gateway equipment and node equipment networking quitting method. The method includes the steps that node equipment sends a networking quitting request to gateway equipment; the gateway equipment judges whether instruction information which is sent by a mobile terminal and allows the node equipment to quit networking is received within first specified time after receiving the network quitting request; if the gateway equipment receives the instruction information, the gateway equipment starts the authority allowing network quitting of the node equipment; the node equipment and the gateway equipment quit networking. By means of the method, networking quitting safety between the equipment is guaranteed, and the problems that the node equipment is off line due to misoperations or malicious operations and can not be normally used are avoided.

Description

A kind of method of gateway device and node device logout
Technical field
The invention belongs to wireless network communication technique field, relate in particular to a kind of method of wireless gateway device and node device logout.
Background technology
Along with the progress of modern science and technology and the raising gradually of people's living standard, all types of electronic products pours in people's life, except using increasing various household appliances to carry out different function allocations, what people paid close attention to more is comfort level and the Discussing Convenience of life, therefore, intelligentized Wireless remote control product has become the trend that can not keep out.
Wireless remote remote control product is now mainly used in Smart Home, intelligent building, the fields such as intelligent industrial, these "smart" products mainly adopt ZigBee, Z-Wave, WiFi or Bluetooth wireless communication mode, and in relatively universal Smart Home field, mostly adopt ZigBee or two kinds of communication modes of Z-Wave, the two all has low cost, low-power consumption, highly reliable, from group/logout, be suitable for the short-distance wireless communication technology of network, feature based on its above-mentioned network agile, while adopting in the "smart" products of above-mentioned two kinds of wireless communication technologys gateway device and node device (device end) logout, only need touch-control logout button, just can carry out automatic logout, very convenient, but some defects have meanwhile also been brought: logout is too simple, without any security mechanism restriction, the any logout that can carry out node device and gateway device by logout button is per capita moved, there is great potential safety hazard, probably there is the medium and small child of the family mistiming operation of playing and cause node device logout, the intentional or unintentional operation of external guest causes node device logout, causes node device normally to use.The network state that how can effectively control node device in above-mentioned wireless network becomes safely the important topic of technical staff's research.
Summary of the invention
The object of the present invention is to provide a kind of method of gateway device and node device logout, too simple to solve gateway device and the node device logout of Radio Network System in prior art, cause the problems such as security of system is poor.
For achieving the above object, the invention provides a kind of method of gateway device and node device logout, comprise that step is as follows:
11) node device sends logout request to gateway device;
12) gateway device receives after above-mentioned logout request, judges whether to receive the command information of the permission node device logout that mobile terminal sends within the first fixed time; If receive, enter next step 13); If receive, do not allow node device logout;
13) gateway device is opened the authority that allows node device logout;
14) node device and gateway device carry out logout action.
Preferably, above-mentioned steps 11) specifically comprise: user sends by the mode of the logout button on touch-control node device, triggering Fingerprint Identification Unit, sound controller or face identification device the request that allows node device logout.
Preferably, above-mentioned steps 12) specifically comprise: gateway device does not receive the command information of the permission node device logout that mobile terminal sends within the second fixed time, produce request mobile terminal and send the notice of the command information that allows node device logout and issue mobile terminal, this second fixed time is less than above-mentioned the first fixed time.
Preferably, above-mentioned steps 12) in the mode of command information of the permission node device logout that sends of gateway device mobile terminal receive be divided into: the command information of the permission node device logout that, gateway device sends by bluetooth or the direct mobile terminal receive of WiFi communication; Two, gateway device connects the command information of the permission node device logout sending by cloud server mobile terminal receive after Ethernet.
Preferably, above-mentioned steps 14) specifically comprise: whether logout is successful for gateway device decision node equipment, and the logout state outcome data that obtain are sent to mobile terminal.
The present invention also provides a kind of method of gateway device and node device logout, comprises that step is as follows:
21) command information of the permission node device logout that gateway device mobile terminal receive sends, and open the first authority;
22) gateway device receives after above-mentioned command information, judges whether to receive node device and send logout request within the first fixed time; If receive, enter next step 23); If do not receive, close the first above-mentioned authority;
23) gateway device is opened the authority that allows node device logout;
24) node device and gateway device carry out logout action.
Preferably, above-mentioned steps 21) in the mode of command information of the permission node device logout that sends of gateway device mobile terminal receive be divided into: the command information of the permission node device logout that, gateway device sends by bluetooth or the direct mobile terminal receive of WiFi communication; Two, gateway device connects the command information of the permission node device logout sending by cloud server mobile terminal receive after Ethernet.
Preferably, above-mentioned steps 22) specifically comprise: user sends by the mode of the logout button on touch-control node device, triggering Fingerprint Identification Unit, sound controller or face identification device the request that allows node device logout.
Preferably, above-mentioned steps 22) specifically comprise: gateway device does not receive node device and sends logout request within the second fixed time, produce requesting node equipment and send the notice of logout request and issue mobile terminal, this second fixed time is less than above-mentioned the first fixed time.
Preferably, above-mentioned steps 24) specifically comprise: whether logout is successful for gateway device decision node equipment, and the logout state outcome data that obtain are sent to mobile terminal.
Beneficial effect of the present invention:
The present invention adopts dual-license mechanism to realize the logout action of gateway device and node device, guaranteed the logout fail safe between equipment, avoided going offline because of the node device that misoperation or malicious operation cause, the problem that node device cannot normally be used occurs.
Accompanying drawing explanation
The flow chart of steps of the method that Fig. 1 illustrates a kind of gateway device of the present invention and node device logout in the first embodiment.
The flow chart of steps of the method that Fig. 2 illustrates a kind of gateway device of the present invention and node device logout in the second embodiment.
Embodiment
For the ease of those skilled in the art's understanding, below in conjunction with embodiment and accompanying drawing, the present invention is further illustrated, and the content that execution mode is mentioned not is limitation of the invention.
Shown in Fig. 1, the method of a kind of gateway device of the present invention and node device logout, in the first embodiment, the method is based on intelligent domestic system, this system comprises: gateway device, node device and mobile terminal, wherein, between gateway device and node device, by ZigBee wireless protocol communications, mobile terminal is referred to as: the electronic communication equipments such as smart mobile phone, panel computer or PC; Node device is referred to as: the wireless products such as ZigBee switch, ZigBee socket, ZigBee door lock, ZigBee infrared transponder and ZigBee Temperature Humidity Sensor, specifically comprise the steps:
Step 11: node device sends logout request to gateway device;
User sends by the mode of the logout button on touch-control node device, triggering Fingerprint Identification Unit, sound controller or face identification device the request that allows node device logout, as: long press logout button on node device 10 seconds, represent to have triggered the request that allows node device logout, by wireless ZigBee LAN, sent to gateway device.
Step 12: gateway device receives after above-mentioned logout request judges whether to receive the command information of the permission node device logout that mobile terminal sends within the first fixed time; If receive, enter next step 13; If receive, do not allow node device logout;
Gateway device receives after the logout request of node device transmission, in the first fixed time, it is the command information that requires the permission node device logout of mobile terminal receive transmission in 10 minutes, in other embodiment, the numerical value of above-mentioned the first fixed time can arrange according to demand, can be also 1 minute, 3 minutes, 5 minutes etc.; When the second fixed time was 5 minutes, gateway device does not receive yet mobile terminal and sends the command information that allows node device logout, the notice that gateway device produces the command information of asking mobile terminal to send permission node device logout is to mobile terminal, to inform that user now needs to be sent and allowed node device logout command information by mobile terminal.
The mode that above-mentioned gateway device and mobile terminal carry out transfer of data is divided into: the permission node device logout command information that, gateway device sends by bluetooth or the direct mobile terminal receive of WiFi communication; Two, gateway device connects the permission node device logout command information sending by cloud server mobile terminal receive after Ethernet.
User inputs the modes such as password, finger print data, people's face data or view data and realizes the transmission that allows node device logout command information on mobile terminal, the aforesaid way that gateway device or cloud server can send mobile terminal carries out data verification, if verify legal after, enter following step 13.
Step 13: gateway device is opened the authority that allows node device logout; Gateway device is opened the mark that allows logout, to sending the node device of logout request, replys the response of agreement logout, allows node device logout.
Step 14: node device and gateway device carry out logout action;
Above-mentioned steps 14 specifically also comprises: gateway device judges the whether logout success of node device that sends logout request within above-mentioned the first fixed time, and the logout state outcome data that analysis is obtained send to mobile terminal, the indicator light that after logout success, gateway device is provided with also can carry out condition prompting.
The method of the gateway device in the present embodiment and node device logout, when user exits a node device LAN under gateway device in advance, need to be through dual-license mechanism, first user needs the logout device on touch-control node device to send logout request; Within the first fixed time, receive after the command information of the permission node device logout that mobile terminal sends, open the authority that allows node device logout, allow to send the node device logout of logout request.Realized the fail safe that node device and gateway device carry out logout.
Shown in Fig. 2, the method of a kind of gateway device of the present invention and node device logout, in the second embodiment, the method is based on intelligent domestic system, this system comprises: gateway device, node device and mobile terminal, wherein, pass through ZigBee wireless protocol communications between gateway device and node device, mobile terminal is referred to as: the electronic communication equipments such as smart mobile phone, panel computer or PC, specifically comprise the steps:
Step 21: the command information of the permission node device logout that gateway device mobile terminal receive sends, and open the first authority;
The mode that above-mentioned gateway device and mobile terminal carry out transfer of data is divided into: the permission node device logout command information that, gateway device sends by bluetooth or the direct mobile terminal receive of WiFi communication; Two, gateway device connects the permission node device logout command information sending by cloud server mobile terminal receive after Ethernet.
User inputs the modes such as password, finger print data, people's face data or view data and realizes the transmission that allows node device logout command information on mobile terminal, the aforesaid way that gateway device or cloud server can send mobile terminal carries out data verification, if verify legal after, enter following step 22.
Above-mentioned unlatching the first authority list is shown the gateway device logout request that now receiving node equipment sends, and can allow node device logout.
Step 22: gateway device receives after above-mentioned command information judges whether to receive node device and sends logout request within the first fixed time; If receive, enter next step 23); If do not receive, close the first above-mentioned authority;
User sends by the mode of the logout button on touch-control node device, triggering Fingerprint Identification Unit, sound controller or face identification device the request that allows node device logout, as: long press logout button on node device 10 seconds, represent to have triggered the request that allows node device logout, by wireless ZigBee LAN, sent to gateway device.
Gateway device receives after the command information of the permission node device logout that mobile terminal sends, in the first fixed time, it is the logout solicited message that requires receiving node equipment to send in 10 minutes, in other embodiment, the numerical value of above-mentioned the first fixed time can arrange according to demand, can be also 1 minute, 3 minutes, 5 minutes etc.; When the second fixed time was 5 minutes, gateway device does not receive the logout solicited message that node device sends yet, the notice of the logout solicited message that gateway device generation request sending node equipment sends is to mobile terminal, to inform that user now needs to send logout solicited message by controlling node device.
Above-mentioned first authority list of closing is shown and after this receives the logout solicited message that node device sends and also can not open the authority that allows node device logout.
Step 23: gateway device is opened the authority that allows node device logout; Gateway device is opened the mark that allows logout, to sending the node device of logout request, replys the response of agreement logout, allows node device logout.
Step 24: node device and gateway device carry out logout action;
Above-mentioned steps 14 specifically also comprises: gateway device judges the whether logout success of node device that sends logout request within above-mentioned the first fixed time, and the logout state outcome data that analysis is obtained send to mobile terminal, the indicator light that after logout success, gateway device is provided with also can carry out condition prompting.
The concrete application approach of the present invention is a lot, and the above is only the preferred embodiment of the present invention, should be understood that; for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvement, these improvement also should be considered as protection scope of the present invention.

Claims (10)

1. a method for gateway device and node device logout, is characterized in that, comprises that step is as follows:
11) node device sends logout request to gateway device;
12) gateway device receives after above-mentioned logout request, judges whether to receive the command information of the permission node device logout that mobile terminal sends within the first fixed time; If receive, enter next step 13); If receive, do not allow node device logout;
13) gateway device is opened the authority that allows node device logout;
14) node device and gateway device carry out logout action.
2. the method for a kind of gateway device according to claim 1 and node device logout, it is characterized in that above-mentioned steps 11) specifically comprise: user sends by the mode of the logout button on touch-control node device, triggering Fingerprint Identification Unit, sound controller or face identification device the request that allows node device logout.
3. the method for a kind of gateway device according to claim 1 and node device logout, it is characterized in that, above-mentioned steps 12) specifically comprise: gateway device does not receive the command information of the permission node device logout that mobile terminal sends within the second fixed time, produce request mobile terminal and send the notice of the command information that allows node device logout and issue mobile terminal, this second fixed time is less than above-mentioned the first fixed time.
4. the method for a kind of gateway device according to claim 1 and node device logout, it is characterized in that above-mentioned steps 12) in the mode of command information of the permission node device logout that sends of gateway device mobile terminal receive be divided into: the command information of the permission node device logout that, gateway device sends by bluetooth or the direct mobile terminal receive of WiFi communication; Two, gateway device connects the command information of the permission node device logout sending by cloud server mobile terminal receive after Ethernet.
5. the method for a kind of gateway device according to claim 1 and node device logout, it is characterized in that, above-mentioned steps 14) specifically comprise: whether logout is successful for gateway device decision node equipment, and the logout state outcome data that obtain are sent to mobile terminal.
6. a method for gateway device and node device logout, is characterized in that, comprises that step is as follows:
21) command information of the permission node device logout that gateway device mobile terminal receive sends, and open the first authority;
22) gateway device receives after above-mentioned command information, judges whether to receive node device and send logout request within the first fixed time; If receive, enter next step 23); If do not receive, close the first above-mentioned authority;
23) gateway device is opened the authority that allows node device logout;
24) node device and gateway device carry out logout action.
7. the method for a kind of gateway device according to claim 6 and node device logout, it is characterized in that above-mentioned steps 21) in the mode of command information of the permission node device logout that sends of gateway device mobile terminal receive be divided into: the command information of the permission node device logout that, gateway device sends by bluetooth or the direct mobile terminal receive of WiFi communication; Two, gateway device connects the command information of the permission node device logout sending by cloud server mobile terminal receive after Ethernet.
8. the method for a kind of gateway device according to claim 6 and node device logout, it is characterized in that above-mentioned steps 22) specifically comprise: user sends by the mode of the logout button on touch-control node device, triggering Fingerprint Identification Unit, sound controller or face identification device the request that allows node device logout.
9. the method for a kind of gateway device according to claim 6 and node device logout, it is characterized in that, above-mentioned steps 22) specifically comprise: gateway device does not receive node device and sends logout request within the second fixed time, produce requesting node equipment and send the notice of logout request and issue mobile terminal, this second fixed time is less than above-mentioned the first fixed time.
10. the method for a kind of gateway device according to claim 6 and node device logout, it is characterized in that, above-mentioned steps 24) specifically comprise: whether logout is successful for gateway device decision node equipment, and the logout state outcome data that obtain are sent to mobile terminal.
CN201410407201.3A 2014-08-18 2014-08-18 Gateway equipment and node equipment networking quitting method Pending CN104168645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410407201.3A CN104168645A (en) 2014-08-18 2014-08-18 Gateway equipment and node equipment networking quitting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410407201.3A CN104168645A (en) 2014-08-18 2014-08-18 Gateway equipment and node equipment networking quitting method

Publications (1)

Publication Number Publication Date
CN104168645A true CN104168645A (en) 2014-11-26

Family

ID=51912227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410407201.3A Pending CN104168645A (en) 2014-08-18 2014-08-18 Gateway equipment and node equipment networking quitting method

Country Status (1)

Country Link
CN (1) CN104168645A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049266A (en) * 2015-08-25 2015-11-11 广州昂宝电子有限公司 Method for achieving network node control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003038721A1 (en) * 2001-11-01 2003-05-08 Salton, Inc. Remote updating of intelligent household appliances
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN102905396A (en) * 2012-10-25 2013-01-30 宁波市北仑海伯精密机械制造有限公司 Device networking and network-accessing management method for intelligent housing system
CN103746888A (en) * 2013-12-30 2014-04-23 广东瑞德智能科技股份有限公司 Intelligent home gateway and node networking and network quitting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003038721A1 (en) * 2001-11-01 2003-05-08 Salton, Inc. Remote updating of intelligent household appliances
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN102905396A (en) * 2012-10-25 2013-01-30 宁波市北仑海伯精密机械制造有限公司 Device networking and network-accessing management method for intelligent housing system
CN103746888A (en) * 2013-12-30 2014-04-23 广东瑞德智能科技股份有限公司 Intelligent home gateway and node networking and network quitting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049266A (en) * 2015-08-25 2015-11-11 广州昂宝电子有限公司 Method for achieving network node control
CN105049266B (en) * 2015-08-25 2019-06-07 广州昂宝电子有限公司 The method for realizing network node control

Similar Documents

Publication Publication Date Title
CN104103111B (en) Automatically-controlled door access control system based on Bluetooth of mobile phone communication and its implementation
US9892579B2 (en) Control method for smart lock, a smart lock, and a lock system
KR101623743B1 (en) Method for controlling the door lock of the home network system
US20150262443A1 (en) METHOD, SYSTEM, and COMPUTER-READABLE MEDIUM RELATING TO INTERNET of THINGS-ENABLED REMOTE CONTROLS
KR101784990B1 (en) Home automation control system and method using the face recognition
CN104185180A (en) Method for networking of gateway device and node devices
CN204946137U (en) Judge that smart lock is locked state and controlled the system that its solution locks by mobile terminal
CN105785878A (en) Room powering device and room powering method controlled through 433MHz signal or Wi-Fi signal
WO2014169807A1 (en) Smart home system and control method
CN104794780A (en) Smart door, smart door control system and control method
CN105631987A (en) Bluetooth access control unlocking method, device and system
CN104050742A (en) Intelligent door and control method and system thereof
CN205375622U (en) Multi -functional intelligence lock
CN106023355A (en) Room control system with Bluetooth signal control function and control method thereof
CN105590362A (en) Multifunctional smart lock
CN106125570A (en) Intelligent home device control system
CN108550213A (en) A kind of intelligent entrance guard control method and system based on mobile terminal
CN104484926A (en) Intelligent door lock management system based on mobile phone wireless control
CN106502113B (en) Automatic pairing method and server
CN104320479B (en) The control method of controlled plant and the control system of controlled plant
Wei et al. The implementation of smart electronic locking system based on z-wave and internet
CN106707978B (en) Method and address book for transferring control of smart home through address book
CN104878974A (en) Intelligent parking space lock and control terminal, control system and control method thereof
TW201804066A (en) Roller door machine with wireless setting function and setting method thereof comprising an open-close setting switch that needs to be activated before the setting, serving as an additional safety control measure
CN105096421A (en) An intelligent lock system and its method for automatically setting parameters through bluetooth at close range

Legal Events

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

Application publication date: 20141126

RJ01 Rejection of invention patent application after publication