[go: up one dir, main page]

CN106792743B - Wireless networking method based on gesture recognition - Google Patents

Wireless networking method based on gesture recognition Download PDF

Info

Publication number
CN106792743B
CN106792743B CN201611088681.7A CN201611088681A CN106792743B CN 106792743 B CN106792743 B CN 106792743B CN 201611088681 A CN201611088681 A CN 201611088681A CN 106792743 B CN106792743 B CN 106792743B
Authority
CN
China
Prior art keywords
wireless
network
gesture recognition
wireless device
gesture
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.)
Active
Application number
CN201611088681.7A
Other languages
Chinese (zh)
Other versions
CN106792743A (en
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.)
Foshan University
Original Assignee
Foshan University
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 Foshan University filed Critical Foshan University
Priority to CN201611088681.7A priority Critical patent/CN106792743B/en
Publication of CN106792743A publication Critical patent/CN106792743A/en
Application granted granted Critical
Publication of CN106792743B publication Critical patent/CN106792743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless networking method based on gesture recognition, which is realized by utilizing a wireless gateway with a gesture recognition function; the wireless gateway includes: the WiFi transceiver, the low-power consumption wireless transceiver and the indicator light are connected with the microprocessor; the WiFi transceiver is used for connecting to the WiFi router through a link and provides wireless radio frequency-based gesture recognition capability. When the wireless device triggers a wireless request data packet for joining the wireless gateway network and the wireless gateway receives the wireless request, the wireless device indicates that a new device requests to join through an indicator light; the human body determines whether the wireless device is a device that it desires to join the network, and if so, issues a permission gesture action, otherwise does not act or issues a denial action. According to the invention, through a gesture recognition mode, the wireless equipment is automatically added or refused to be added into a specific wireless network, and an installer can easily master networking pairing skills, so that the installation efficiency is greatly improved.

Description

一种基于手势识别的无线组网方法A wireless networking method based on gesture recognition

技术领域technical field

本发明涉及无线组网技术领域,尤其涉及一种基于手势识别的无线组网方法。The present invention relates to the technical field of wireless networking, and in particular, to a wireless networking method based on gesture recognition.

背景技术Background technique

无线传感网络在农业、军事、民用等各方面都具有广阔的应用前景。然而,在实际应用中的无线传感网络并不能以一个独立的通信网络形式存在。网络中检测的数据需要发送到上层应用服务器进行分析、处理,同时上层应用服务器也需要将相关命令下发到无线传感网络中的传感节点。这需要无线传感网络实现与不同类型网络间的互联。Wireless sensor networks have broad application prospects in agriculture, military, civil and other fields. However, the wireless sensor network in practical application cannot exist in the form of an independent communication network. The data detected in the network needs to be sent to the upper-layer application server for analysis and processing, and the upper-layer application server also needs to send relevant commands to the sensor nodes in the wireless sensor network. This requires the wireless sensor network to realize the interconnection with different types of networks.

在无线传感网络中,网关担当网络间的协议转换器、不同网络类型的网络路由器、网络数据汇聚、存储处理等重要角色,成为网络间连接的不可缺少的纽带。然而,现有技术中,网关与无线传感器之间的组网通常需要借助按钮配对或者pc/移动设备客户端的配置程序,组网复杂,组网效率低,容易出错,而且组网过程中容易被窃听到网络通信秘钥初始化的握手信息。In wireless sensor networks, gateways play important roles such as protocol converters between networks, network routers of different network types, network data aggregation, storage processing, etc., and become an indispensable link between networks. However, in the prior art, the networking between the gateway and the wireless sensor usually requires button pairing or the configuration program of the PC/mobile device client. The networking is complicated, the networking efficiency is low, and it is prone to errors. Eavesdropping on the handshake information initiated by the network communication key.

发明内容SUMMARY OF THE INVENTION

针对现有技术中存在的问题,本发明的目的在于提供一种组网方便、高效而且安全的无线网络组网方法。Aiming at the problems existing in the prior art, the purpose of the present invention is to provide a wireless network networking method that is convenient, efficient and safe for networking.

为达到以上目的,本发明采用如下技术方案。In order to achieve the above objects, the present invention adopts the following technical solutions.

一种基于手势识别的无线组网方法,其特征在于,它利用具有手势识别功能的无线网关来实现;所述无线网关包括:微处理器,与微处理器连接的WiFi收发器、低功耗无线收发器和指示灯;所述WiFi收发器用于通过链路连接到WiFi路由器,并且提供基于无线射频的手势识别能力;所述低功耗无线收发器用于连接低功耗的无线设备;所述指示灯用于指示当前网络状态和无线设备的加入状态;默认状态下,无线网关的网络是处于禁止无线设备加入的状态;当无线设备上电初始化并触发了加入无线网关网络的无线请求数据包,且无线网关通过其所属的低功耗收发器接收到此无线请求时,会通过指示灯指示有新设备请求加入;人体判断该无线设备是否是其期望加入网络的设备,如果是的话,发出一个允许手势动作,否则不动作或者发出拒绝动作;利用人体的手势动作影响WiFi收发器收到的RSSI和CSI信号,该信号经过微处理器识别后,转化成控制信号,允许或者拒绝无线设备的入网请求,避免了未经授权设备的误加入。A wireless networking method based on gesture recognition is characterized in that, it is realized by using a wireless gateway with gesture recognition function; the wireless gateway comprises: a microprocessor, a WiFi transceiver connected with the microprocessor, a low power consumption A wireless transceiver and an indicator light; the WiFi transceiver is used to connect to a WiFi router through a link, and provides gesture recognition capability based on radio frequency; the low-power wireless transceiver is used to connect low-power wireless devices; the The indicator light is used to indicate the current network status and the joining status of wireless devices; by default, the wireless gateway network is in a state where wireless devices are prohibited from joining; when the wireless device is powered on, it initializes and triggers a wireless request packet to join the wireless gateway network. , and when the wireless gateway receives this wireless request through its low-power transceiver, it will indicate through the indicator light that a new device requests to join; the human body judges whether the wireless device is the device it expects to join the network, and if so, sends out One allows gesture action, otherwise it does not act or sends out a rejection action; the gesture action of the human body is used to affect the RSSI and CSI signals received by the WiFi transceiver. After the signal is recognized by the microprocessor, it is converted into a control signal to allow or reject the wireless device. Network access request, avoiding the mistaken joining of unauthorized devices.

作为改进地,在微处理器上,除了可兼作手势识别用途的WiFi收发器以外,还连接有专门的手势识别设备,所述专门的手势识别设备为:摄像头、雷达、加速度计、地磁计或陀螺仪;微处理器根据手势识别设备识别出的人体的手势动作,允许或者拒绝无线设备的入网请求。As an improvement, on the microprocessor, in addition to the WiFi transceiver that can also be used for gesture recognition, a special gesture recognition device is also connected, and the special gesture recognition device is: camera, radar, accelerometer, geomagnetometer or Gyroscope; the microprocessor allows or rejects the network access request of the wireless device according to the gestures of the human body recognized by the gesture recognition device.

作为改进地,所述低功耗无线收发器为:蓝牙模块、ZigBee模块或Thread模块。As an improvement, the low-power wireless transceiver is: a Bluetooth module, a ZigBee module or a Thread module.

作为改进地,所述无线设备为无线传感器,包括:温度传感器、湿度传感器、照度传感器、热释电传感器、移动感应器、压力传感器中的一种或几种。As an improvement, the wireless device is a wireless sensor, including one or more of a temperature sensor, a humidity sensor, an illuminance sensor, a pyroelectric sensor, a movement sensor, and a pressure sensor.

作为改进地,所述无线设备为无线执行机构,包括:智能照明设备、智能空调、智能电扇、智能电视中的一种或几种。As an improvement, the wireless device is a wireless actuator, including one or more of smart lighting devices, smart air conditioners, smart fans, and smart TVs.

作为改进地,当允许无线设备入网时,关闭指示灯打开网络允许入网;当拒绝无线设备入网时,关闭指示灯并发送报文给请求入网无线设备,拒绝入网。As an improvement, when the wireless device is allowed to access the network, the indicator light is turned off and the network is turned on to allow access to the network; when the wireless device is denied access to the network, the indicator light is turned off and a message is sent to the wireless device requesting network access to deny access to the network.

作为改进地,在微处理器中定义一系列不同的人体手势动作,经微处理器识别后,形成无线设备入网时候的不同授权等级和不同网络秘钥。As an improvement, a series of different human gestures are defined in the microprocessor, and after being recognized by the microprocessor, different authorization levels and different network keys are formed when the wireless device accesses the network.

作为改进地,当允许无线设备入网后,微处理器判断是否检测到密钥选择和授权等级手势;如果没有,则按缺省密钥配置入网设备并赋予缺省授权等级,发送给请求入网无线设备;如果有,则进行如下步骤:1)判断密钥选择手势,并根据检测到的密钥选择手势,选择相应的密钥组并设置相应数据位,准备发送给申请入网的无线设备;2)判断是否有授权等级手势,若有,则根据检测到的授权等级手势设置相应的授权等级数据位,并将完整的应答字节,包括允许加入、密钥选择的数据位、授权等级的数据位发送给申请入网的无线设备;若无,则将允许加入、密钥选择的数据位发送给申请入网的无线设备。As an improvement, when the wireless device is allowed to access the network, the microprocessor determines whether the key selection and authorization level gestures are detected; if not, configure the network access device according to the default key and assign the default authorization level, and send it to the wireless device requesting network access. If there is, then carry out the following steps: 1) judge the key selection gesture, and select the corresponding key group and set the corresponding data bit according to the detected key selection gesture, and prepare to send to the wireless device applying for network access; 2 ) to determine whether there is an authorization level gesture, if so, set the corresponding authorization level data bit according to the detected authorization level gesture, and send the complete response byte, including the data bits of permission to join, key selection, and authorization level data The bit is sent to the wireless device applying for access to the network; if not, the data bits of permission to join and key selection are sent to the wireless device applying for access to the network.

本发明的有益效果是:The beneficial effects of the present invention are:

一、可以通过手势识别的方式,让一个具备无线连接能力的无线设备自动地加入或者拒绝其加入特定的无线网络。当允许该无线设备入网时,具备可选的秘钥选择和授权等级配置能力。用户无需通过复杂的按钮配对或者pc/移动设备客户端的配置程序,就可以高效快捷无差错地让新设备入网。相比较于复杂的按键配对序列和专用的组网设置软件,由于手势动作自然易理解,安装工人可以轻易地掌握组网配对技能,极大地提高了安装效率。1. A wireless device with wireless connection capability can automatically join or refuse to join a specific wireless network by means of gesture recognition. When the wireless device is allowed to access the network, it has optional key selection and authorization level configuration capabilities. Users can bring new devices onto the network efficiently, quickly and error-free without the need for complicated button pairing or pc/mobile device client configuration procedures. Compared with complex key pairing sequences and dedicated networking setup software, installation workers can easily master networking pairing skills due to natural and easy-to-understand gestures, which greatly improves installation efficiency.

二、通过手势识别配置新设备入网时候的秘钥选择和授权等级,避免被无线窃听设备窃听到相应的网络秘钥交换初始化安全保密信息,增强了安全可靠性。传统上的带内无线通信手段配置秘钥等初始化信息,只要窃听设备能够全程监听,总是有机会捕获到网络秘钥交换初始化的数据包(例如由企图入网设备发起的秘钥选择数据包),大大增加了被破解的危险性。2. Configure the key selection and authorization level when the new device is connected to the network through gesture recognition, so as to avoid the wireless eavesdropping device from eavesdropping on the corresponding network key exchange initialization security and confidentiality information, which enhances the security and reliability. The traditional in-band wireless communication means configure the initialization information such as keys. As long as the eavesdropping device can monitor the whole process, there is always a chance to capture the data packets initiated by the network key exchange (such as the key selection data packets initiated by the device attempting to access the network). , greatly increasing the risk of being cracked.

三、可广泛应用于需要更高安全性和易用性的智能照明,工业无线网络,智能建筑等领域。3. It can be widely used in intelligent lighting, industrial wireless network, intelligent building and other fields that require higher security and ease of use.

附图说明Description of drawings

图1所示为无线网关的结构框图。Fig. 1 shows the structural block diagram of the wireless gateway.

图2所示为无线组网方法的流程图。FIG. 2 is a flowchart of a wireless networking method.

具体实施方式Detailed ways

为方便本领域技术人员更好地理解本发明的实质,下面结合附图对本发明的具体实施方式进行详细阐述。In order to facilitate those skilled in the art to better understand the essence of the present invention, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

一种基于手势识别的无线组网方法,它利用具有手势识别功能的无线网关来实现。A wireless networking method based on gesture recognition is realized by using a wireless gateway with gesture recognition function.

如图1所示,所述无线网关8包括:微处理器1,与微处理器1连接的内存2、存储卡3、WiFi收发器4、摄像头5、低功耗(2.4Ghz或者低于1GHz)无线收发器6、指示灯7,所述微处理器1与内存2、存储卡3形成最小处理器单元;所述摄像头5用于提供基于图像传感器的手势识别能力;所述WiFi收发器4用于通过链路9连接到WiFi路由器10,并且提供基于无线射频的手势识别能力;所述低功耗无线收发器6用于连接低功耗的无线设备,所述指示灯7用于指示当前网络状态和无线设备的加入状态。As shown in FIG. 1, the wireless gateway 8 includes: a microprocessor 1, a memory 2 connected to the microprocessor 1, a memory card 3, a WiFi transceiver 4, a camera 5, a low power consumption (2.4Ghz or lower than 1GHz) ) wireless transceiver 6, indicator light 7, described microprocessor 1 and memory 2, memory card 3 form the smallest processor unit; described camera 5 is used for providing gesture recognition capability based on image sensor; described WiFi transceiver 4 It is used to connect to the WiFi router 10 through the link 9, and provides gesture recognition capability based on radio frequency; the low-power wireless transceiver 6 is used to connect low-power wireless devices, and the indicator light 7 is used to indicate the current Network status and joining status of wireless devices.

本实施例中,所述基于无线射频的手势识别能力是指,基于人体动态手势对WiFi等无线射频的RSSI(信号强度)和CSI(无线信道状态信息)的干扰来识别判断手势,或者基于摄像头的手势识别,他们均为成熟的技术,这里不再详细赘述。In this embodiment, the radio frequency-based gesture recognition capability refers to identifying and judging gestures based on the interference of human body dynamic gestures on the RSSI (signal strength) and CSI (wireless channel state information) of radio frequency such as WiFi, or based on the camera gesture recognition, they are all mature technologies, and will not be described in detail here.

所述低功耗无线收发器指的是蓝牙模块、ZigBee模块、Thread模块、或者任意其他私有低功耗无线协议。The low-power wireless transceiver refers to a Bluetooth module, a ZigBee module, a Thread module, or any other proprietary low-power wireless protocol.

所述无线设备包括但不限于:无线传感器21、22,例如温度传感器、湿度传感器、照度传感器、热释电传感器、移动感应器等;无线执行机构31,例如智能照明设备,智能空调,智能电扇,智能电视,智能家庭设备等。The wireless devices include but are not limited to: wireless sensors 21, 22, such as temperature sensors, humidity sensors, illuminance sensors, pyroelectric sensors, motion sensors, etc.; wireless actuators 31, such as smart lighting equipment, smart air conditioners, smart fans , smart TVs, smart home devices, etc.

在其他实施方式中,根据微处理器具体型号的不同,所述内存、存储卡可以省略。所述摄像头可以采用雷达、加速度计、地磁计、陀螺仪等不同的传感器代替,只要能够识别人的手势即可。In other implementations, according to the specific model of the microprocessor, the internal memory and the memory card may be omitted. The camera can be replaced by different sensors such as radar, accelerometer, geomagnetic meter, gyroscope, etc., as long as it can recognize human gestures.

结合图2所示,平时无线网关8的网络是处于关闭(禁止设备加入)的状态。当无线设备21、22、23上电初始化后,自动或者被人为触发了加入无线网关8网络的无线请求数据包211,221,311。当无线网关8通过其所属的低功耗收发器6收到此无线请求时,会通过指示灯7指示有新设备请求加入。人体41通过与无线网关连接的人机交互设备判断该无线设备是否是其期望加入网络的设备,如果是的话,发出一个允许手势动作,否则不动作或者发出拒绝动作。利用人体41的手势动作,影响摄像头5形成的图像数据,或者WiFi收发器4收到的RSSI(信号强度)和CSI(无线信道状态信息)信号,经过微处理器1识别后,转化成控制信号,允许或者拒绝无线设备21、22、23的入网请求,避免了未经授权设备的误加入。当允许无线设备入网时,关闭指示灯7打开网络允许入网。当拒绝无线设备入网时,关闭指示灯7并发送报文给请求入网无线设备,拒绝入网。As shown in FIG. 2 , the network of the wireless gateway 8 is usually in a closed state (devices are prohibited from joining). After the wireless devices 21 , 22 and 23 are powered on and initialized, the wireless request data packets 211 , 221 and 311 for joining the network of the wireless gateway 8 are automatically or artificially triggered. When the wireless gateway 8 receives the wireless request through the low-power transceiver 6 to which it belongs, it will indicate through the indicator light 7 that a new device requests to join. The human body 41 judges whether the wireless device is the device it wants to join the network through the human-computer interaction device connected to the wireless gateway, and if so, issues an allow gesture action, otherwise does not act or issues a reject action. The gestures of the human body 41 are used to affect the image data formed by the camera 5, or the RSSI (signal strength) and CSI (wireless channel status information) signals received by the WiFi transceiver 4 are converted into control signals after being recognized by the microprocessor 1 , allowing or denying the network access request of the wireless devices 21 , 22 and 23 , avoiding the wrong joining of unauthorized devices. When the wireless device is allowed to access the network, turn off the indicator light 7 and turn on the network to allow access to the network. When the wireless device is refused to access the network, the indicator light 7 is turned off and a message is sent to the wireless device requesting to access the network, and the network is refused.

此外,可以定义一系列不同的人体手势动作,经微处理器1识别后,形成无线设备入网时候的不同授权等级和不同网络秘钥。当允许无线设备入网后,微处理器1判断WiFi收发器4或摄像头5是否检测到密钥选择和授权等级手势;如果没有,则按缺省密钥配置入网设备并赋予缺省授权等级,发送给请求入网无线设备。如果有,则进行如下步骤:1)判断密钥选择手势,并根据检测到的密钥选择手势,选择相应的密钥组并设置相应数据位,准备发送给申请入网的无线设备;2)判断是否有授权等级手势,若有,则根据检测到的授权等级手势设置相应的授权等级数据位,并将完整的应答字节,包括允许加入、密钥选择的数据位、授权等级的数据位发送给申请入网的无线设备;若无,则将允许加入、密钥选择的数据位发送给申请入网的无线设备。In addition, a series of different human gestures can be defined, and after being recognized by the microprocessor 1, different authorization levels and different network keys are formed when the wireless device accesses the network. After allowing the wireless device to access the network, the microprocessor 1 determines whether the WiFi transceiver 4 or the camera 5 detects the key selection and authorization level gestures; if not, configure the network access device according to the default key and assign the default authorization level, and send to wireless devices requesting access to the network. If yes, then perform the following steps: 1) Judging the key selection gesture, and according to the detected key selection gesture, select the corresponding key group and set the corresponding data bits, and prepare to send to the wireless device applying for network access; 2) Judgment Whether there is an authorization level gesture, if so, set the corresponding authorization level data bit according to the detected authorization level gesture, and send the complete response byte, including the data bit of permission to join, key selection, and data bit of authorization level It is sent to the wireless device applying for network access; if not, the data bits of permission to join and key selection are sent to the wireless device applying for network access.

具体地,不论是采用摄像头原理还是WiFi收发器的RSSI和CSI参数受人体干扰的原理,检测到的手势需要分成如下几组:(仅为举例说明,编码方式和手势功能可以进一步扩充,只要手势检测精度能够满足更复杂的手势组合即可,不限于本实施例)Specifically, whether using the camera principle or the principle that the RSSI and CSI parameters of the WiFi transceiver are interfered by the human body, the detected gestures need to be divided into the following groups: (For example only, the encoding method and gesture function can be further expanded, as long as the gesture The detection accuracy can satisfy more complex gesture combinations, not limited to this embodiment)

1)入网许可:允许加入、拒绝加入分别编码为1和0。1) Network access permission: The permission to join and the refusal to join are coded as 1 and 0 respectively.

2)秘钥选择:将密钥分为秘钥1(缺省值)、秘钥2、秘钥3和秘钥4,分别编码为00、01、10、11。2) Key selection: the keys are divided into key 1 (default value), key 2, key 3 and key 4, which are encoded as 00, 01, 10, and 11 respectively.

3)授权等级选择:将授权等级分为休眠设备(缺省值)、路由转发设备(不得休眠)、网络控制设备(不得休眠,高安全等级),分别编码为00、01、10、11。3) Authorization level selection: The authorization level is divided into dormant equipment (default value), routing and forwarding equipment (no dormancy), and network control equipment (no dormancy, high security level), which are coded as 00, 01, 10, and 11 respectively.

实际工作时,只需要一个字节(其实只占用5个bit)的编码即可满足分辨率需要。In actual work, only one byte (in fact, only 5 bits) is needed to meet the resolution requirements.

一个字节包括八个二进制位,位数如表1所示。A byte includes eight binary bits, and the number of bits is shown in Table 1.

表1Table 1

D7D7 D6D6 D5D5 D4D4 D3D3 D2D2 D1D1 D0D0

D7-D5位:保留位。D7-D5 bits: reserved bits.

D4位:0=拒绝加入;1=允许加入;缺省值为0,拒绝加入。D4 bit: 0 = refusal to join; 1 = allowed to join; the default value is 0, refusal to join.

D3-D2位:00=秘钥1,01=秘钥2,02=秘钥3,03=秘钥4,缺省值为00。D3-D2 bits: 00=Key 1, 01=Key 2, 02=Key 3, 03=Key 4, the default value is 00.

D1-D0位:00=休眠设备,01=路由转发设备,02=网络控制设备,03=保留,缺省值为00。D1-D0 bits: 00 = dormant device, 01 = routing forwarding device, 02 = network control device, 03 = reserved, the default value is 00.

因此,1)当收到无线设备21的入网请求(join request)时,如果用户没有任何手势应答,或者用户做出了拒绝入网的应答,则无线网关8会通过低功耗无线收发器6发送一个拒绝报文(0x00,也就是二进制的0b00010000)给无线设备21,提示其入网请求已被拒绝。Therefore, 1) when receiving the network access request (join request) from the wireless device 21, if the user does not respond with any gesture, or the user makes a response of refusing access to the network, the wireless gateway 8 will send the wireless gateway 8 through the low-power wireless transceiver 6. A rejection message (0x00, that is, binary 0b00010000) is sent to the wireless device 21, indicating that its network access request has been rejected.

2)当收到无线设备21的入网请求(join request)时,如果用户做出了允许入网的手势,则无线网关8会通过低功耗无线收发器6发送一个允许入网报文给设备21,并携带参数(0x10,也就是二进制的0b00010000),表示允许入网,秘钥1,休眠设备。此后无线设备21将选择内部预置的秘钥1来加密所有与无线网关8及网内其他设备的通信信息,并打开内置的休眠定时器,定时休眠以节约电力(此种情况一般适用于传感器设备)。2) When receiving the network access request (join request) of the wireless device 21, if the user makes a gesture of allowing network access, the wireless gateway 8 will send a network access message to the device 21 through the low-power wireless transceiver 6, And carry the parameter (0x10, that is, the binary 0b00010000), indicating that the network is allowed, the key is 1, and the sleep device is. After that, the wireless device 21 will select the internal preset key 1 to encrypt all communication information with the wireless gateway 8 and other devices in the network, and turn on the built-in sleep timer, and sleep regularly to save power (this situation is generally applicable to sensors. equipment).

3)当收到无线设备22的入网请求(join request)时,如果用户做出了一组手势,包括允许入网的手势,以及后续的秘钥2手势及路由转发设备手势,则无线网关8会通过低功耗无线收发器6发送一个允许入网报文给无线设备22,并携带参数(0x15,也就是二进制的0b00010101),表示允许入网,秘钥2,路由转发设备。此后无线设备22将选择内部预置的秘钥2来加密所有与无线网关8及网内其他设备的通信信息,并关闭内置的休眠定时器,禁止定时休眠并打开路由转发功能(此种情况一般适用于带负载设备例如空调,通风,照明设备等)。3) When receiving the network access request (join request) of the wireless device 22, if the user makes a set of gestures, including the gesture of allowing access to the network, and the subsequent key 2 gestures and routing forwarding device gestures, the wireless gateway 8 will A network access packet is sent to the wireless device 22 through the low-power wireless transceiver 6, and carries the parameter (0x15, that is, 0b00010101 in binary), indicating that the network access is allowed, the key 2, and the routing forwarding device. After that, the wireless device 22 will select the internally preset secret key 2 to encrypt all communication information with the wireless gateway 8 and other devices in the network, and close the built-in sleep timer, prohibit timed sleep and enable the routing and forwarding function (this is generally the case. Suitable for load equipment such as air conditioning, ventilation, lighting, etc.).

以上具体实施方式对本发明的实质进行了详细说明,但并不能以此来对本发明的保护范围进行限制。显而易见地,在本发明实质的启示下,本技术领域普通技术人员还可进行许多改进和修饰,需要注意的是,这些改进和修饰都落在本发明的权利要求保护范围之内。The above specific embodiments describe the essence of the present invention in detail, but do not limit the protection scope of the present invention. Obviously, under the inspiration of the essence of the present invention, those of ordinary skill in the art can make many improvements and modifications. It should be noted that these improvements and modifications all fall within the protection scope of the claims of the present invention.

Claims (6)

1.一种基于手势识别的无线组网方法,其特征在于,它利用具有手势识别功能的无线网关来实现;所述无线网关包括:微处理器,与微处理器连接的WiFi收发器、低功耗无线收发器和指示灯;所述WiFi收发器用于通过链路连接到WiFi路由器,并且提供基于无线射频的手势识别能力;所述低功耗无线收发器用于连接低功耗的无线设备;所述指示灯用于指示当前网络状态和无线设备的加入状态;1. a wireless networking method based on gesture recognition, is characterized in that, it utilizes the wireless gateway with gesture recognition function to realize; Described wireless gateway comprises: microprocessor, the WiFi transceiver that is connected with microprocessor, low Power consumption wireless transceiver and indicator light; the WiFi transceiver is used for connecting to a WiFi router through a link, and provides gesture recognition capability based on radio frequency; the low-power wireless transceiver is used for connecting low-power wireless devices; The indicator light is used to indicate the current network state and the joining state of the wireless device; 默认状态下,无线网关的网络是处于禁止无线设备加入的状态;By default, the network of the wireless gateway is in a state where wireless devices are prohibited from joining; 当无线设备上电初始化并触发了加入无线网关网络的无线请求数据包,且无线网关通过其所属的低功耗收发器接收到此无线请求时,会通过指示灯指示有新设备请求加入;When the wireless device is powered on and initialized and triggers the wireless request data packet to join the wireless gateway network, and the wireless gateway receives the wireless request through its low-power transceiver, it will indicate through the indicator light that a new device requests to join; 人体判断该无线设备是否是其期望加入网络的设备,如果是的话,发出一个允许手势动作,否则不动作或者发出拒绝动作;The human body judges whether the wireless device is a device that it expects to join the network, and if so, issues an allow gesture action, otherwise does not act or issues a reject action; 利用人体的手势动作影响WiFi收发器收到的RSSI和CSI信号,该信号经过微处理器识别后,转化成控制信号,允许或者拒绝无线设备的入网请求,避免了未经授权设备的误加入;The gestures of the human body are used to affect the RSSI and CSI signals received by the WiFi transceiver. After being recognized by the microprocessor, the signals are converted into control signals, allowing or rejecting the network access request of the wireless device, avoiding the mistaken joining of unauthorized devices; 在微处理器中定义一系列不同的人体手势动作,经微处理器识别后,形成无线设备入网时候的不同授权等级和不同网络秘钥;A series of different human gestures are defined in the microprocessor, and after being recognized by the microprocessor, different authorization levels and different network keys are formed when the wireless device accesses the network; 当允许无线设备入网后,微处理器判断是否检测到密钥选择和授权等级手势;When the wireless device is allowed to access the network, the microprocessor determines whether the key selection and authorization level gestures are detected; 如果没有,则按缺省密钥配置入网设备并赋予缺省授权等级,发送给请求入网无线设备;If not, configure the network access device according to the default key and give the default authorization level, and send it to the wireless device requesting network access; 如果有,则进行如下步骤:1)判断密钥选择手势,并根据检测到的密钥选择手势,选择相应的密钥组并设置相应数据位,准备发送给申请入网的无线设备;2)判断是否有授权等级手势,若有,则根据检测到的授权等级手势设置相应的授权等级数据位,并将完整的应答字节,包括允许加入、密钥选择的数据位、授权等级的数据位发送给申请入网的无线设备;若无,则将允许加入、密钥选择的数据位发送给申请入网的无线设备。If yes, perform the following steps: 1) Determine the key selection gesture, select the corresponding key group and set the corresponding data bits according to the detected key selection gesture, and prepare to send it to the wireless device applying for network access; 2) Determine Whether there is an authorization level gesture, if so, set the corresponding authorization level data bit according to the detected authorization level gesture, and send the complete response byte, including the data bit of permission to join, key selection, and data bit of authorization level It is sent to the wireless device applying for network access; if not, the data bits of permission to join and key selection are sent to the wireless device applying for network access. 2.根据权利要求1所述的一种基于手势识别的无线组网方法,其特征在于,除了可兼作手势识别用途的WiFi收发器以外,在微处理器上还连接有专门的手势识别设备,所述手势识别设备为:摄像头、雷达、加速度计、地磁计或陀螺仪;微处理器根据手势识别设备识别出的人体的手势动作,允许或者拒绝无线设备的入网请求。2. a kind of wireless networking method based on gesture recognition according to claim 1, is characterized in that, in addition to the WiFi transceiver that can double as gesture recognition purpose, also be connected with special gesture recognition equipment on the microprocessor, The gesture recognition device is: a camera, a radar, an accelerometer, a geomagnetic meter or a gyroscope; the microprocessor allows or rejects the network access request of the wireless device according to the gestures of the human body recognized by the gesture recognition device. 3.根据权利要求1所述的一种基于手势识别的无线组网方法,其特征在于,所述低功耗无线收发器为:蓝牙模块、ZigBee模块或Thread模块。3 . The method for wireless networking based on gesture recognition according to claim 1 , wherein the low-power wireless transceiver is a Bluetooth module, a ZigBee module or a Thread module. 4 . 4.根据权利要求1所述的一种基于手势识别的无线组网方法,其特征在于,所述无线设备为无线传感器,包括:温度传感器、湿度传感器、照度传感器、热释电传感器、移动感应器、压力传感器中的一种或几种。4. The method for wireless networking based on gesture recognition according to claim 1, wherein the wireless device is a wireless sensor, comprising: a temperature sensor, a humidity sensor, an illuminance sensor, a pyroelectric sensor, a mobile sensor one or more of a pressure sensor and a pressure sensor. 5.根据权利要求1所述的一种基于手势识别的无线组网方法,其特征在于,所述无线设备为无线执行机构,包括:智能照明设备、智能空调、智能电扇、智能电视中的一种或几种。5 . The method for wireless networking based on gesture recognition according to claim 1 , wherein the wireless device is a wireless executive mechanism, comprising: a smart lighting device, a smart air conditioner, a smart fan, and a smart TV. 6 . species or several. 6.根据权利要求1所述的一种基于手势识别的无线组网方法,其特征在于,当允许无线设备入网时,关闭指示灯打开网络允许入网;当拒绝无线设备入网时,关闭指示灯并发送报文给请求入网无线设备,拒绝入网。6. a kind of wireless networking method based on gesture recognition according to claim 1 is characterized in that, when allowing the wireless device to access the network, turn off the indicator light to turn on the network to allow the network access; when rejecting the wireless device to access the network, turn off the indicator light and Send a message to the wireless device requesting access to the network and deny access to the network.
CN201611088681.7A 2016-12-01 2016-12-01 Wireless networking method based on gesture recognition Active CN106792743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611088681.7A CN106792743B (en) 2016-12-01 2016-12-01 Wireless networking method based on gesture recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611088681.7A CN106792743B (en) 2016-12-01 2016-12-01 Wireless networking method based on gesture recognition

Publications (2)

Publication Number Publication Date
CN106792743A CN106792743A (en) 2017-05-31
CN106792743B true CN106792743B (en) 2020-01-21

Family

ID=58914194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611088681.7A Active CN106792743B (en) 2016-12-01 2016-12-01 Wireless networking method based on gesture recognition

Country Status (1)

Country Link
CN (1) CN106792743B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108135049B (en) * 2017-12-14 2019-07-12 惠州市海尼克电子科技有限公司 The network-building method of lighting system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8706170B2 (en) * 2010-09-20 2014-04-22 Kopin Corporation Miniature communications gateway for head mounted display
US8494554B2 (en) * 2011-06-03 2013-07-23 Apple Inc. Mobile device location estimation
CN104185180A (en) * 2014-08-18 2014-12-03 南京物联传感技术有限公司 Method for networking of gateway device and node devices
CN104503575B (en) * 2014-12-18 2017-06-23 大连理工大学 A kind of method for designing of low-power consumption gesture identification circuit arrangement
CN105338554A (en) * 2015-10-15 2016-02-17 珠海格力电器股份有限公司 Networking method and system of intelligent household equipment and ZigBee gateway
CN105357664A (en) * 2015-11-19 2016-02-24 广东瑞德智能科技股份有限公司 Wireless control system and data communication method thereof
CN105807935B (en) * 2016-04-01 2019-01-11 中国科学技术大学苏州研究院 A kind of gesture control man-machine interactive system based on WiFi

Also Published As

Publication number Publication date
CN106792743A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US9913352B2 (en) System and method for light socket adaptation
US20220239622A1 (en) Efficient Network Stack for Wireless Application Protocols
CN104898449B (en) Smart home system and its control method
US20160323283A1 (en) Semiconductor device for controlling access right to resource based on pairing technique and method thereof
WO2016145743A1 (en) Network control device, smart household system, and control method therefor
US20150026791A1 (en) EFFICIENT NETWORK LAYER FOR IPv6 PROTOCOL
CN107218706B (en) Air-conditioner control method and air conditioner based on NB-IoT network
CN109274560A (en) A kind of smart home system
CN104865835A (en) Intelligent household system based on ZigBee
CN107421060A (en) Air conditioner communication means and air conditioner based on NB IoT networks
CN105957198A (en) NFC and ZigBee-based entrance guard system
CN108833268B (en) Control system and operation method of variable description equipment of household wireless sensor network
Zhang et al. Remote control system of smart appliances based on wireless sensor network
CN104185180A (en) Method for networking of gateway device and node devices
US20200092729A1 (en) Method for controlling a radio signal emitted by a gateway, and corresponding gateway and computer program
US12120030B2 (en) Network filtering with private resolvable addresses
CN106792743B (en) Wireless networking method based on gesture recognition
US10469494B2 (en) Home network system using Z-Wave network and home automation device connection method using same
CN104601417A (en) ZIGBEE technology based wireless on-off controller and method
Bai et al. Design and implementation of an IoT multi-interface gateway for establishing a digital art interactive system
Mahith et al. Bluetooth home automation
Zhou et al. Design of intelligent home control system based on ZigBee technology
KR20160129663A (en) Semiconductor device of controlling access right for resource based on pairing technigue and method thereof
CN108600061A (en) Intelligent domestic system
CN204631580U (en) Home wireless monitoring and management system based on ZigBee

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 528000 No. 18, Jiangwan Road, Chancheng District, Guangdong, Foshan

Patentee after: Foshan University

Country or region after: China

Address before: 528000 No. 18, Jiangwan Road, Chancheng District, Guangdong, Foshan

Patentee before: FOSHAN University

Country or region before: China

CP03 Change of name, title or address