WO2018210139A1 - 无线网络节点的配置方法、装置及系统 - Google Patents

无线网络节点的配置方法、装置及系统 Download PDF

Info

Publication number
WO2018210139A1
WO2018210139A1 PCT/CN2018/085641 CN2018085641W WO2018210139A1 WO 2018210139 A1 WO2018210139 A1 WO 2018210139A1 CN 2018085641 W CN2018085641 W CN 2018085641W WO 2018210139 A1 WO2018210139 A1 WO 2018210139A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless network
network node
node device
configuration
ble
Prior art date
Application number
PCT/CN2018/085641
Other languages
English (en)
French (fr)
Inventor
王智
Original Assignee
苏州欧普照明有限公司
欧普照明股份有限公司
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
Priority claimed from CN201720555865.3U external-priority patent/CN207354634U/zh
Priority claimed from CN201710352994.7A external-priority patent/CN107205210B/zh
Application filed by 苏州欧普照明有限公司, 欧普照明股份有限公司 filed Critical 苏州欧普照明有限公司
Publication of WO2018210139A1 publication Critical patent/WO2018210139A1/zh
Priority to US16/685,686 priority Critical patent/US10887746B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • H04L5/0055Physical resource allocation for ACK/NACK
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • 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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/38TPC being performed in particular situations
    • H04W52/46TPC being performed in particular situations in multi hop networks, e.g. wireless relay networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1854Scheduling and prioritising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0093Point-to-multipoint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present invention relates to the field of wireless communication technology applications, and in particular, to a method, an apparatus, a system, and a computer readable medium for configuring a wireless network node.
  • Some configurations of wireless network nodes in the prior art have more defects.
  • the configuration of a large number of wireless network nodes is usually configured online, which is inefficient.
  • the number of nodes in the broadcast range is large, and there are a large number of network node identification problems, and it is difficult to configure the designated node, but by infrared technology or the like
  • Auxiliary technology adds complexity to the technology.
  • the distribution distance of the distribution network is usually far away. Since the distribution network process is transmitted in plaintext, the communication distance of the far distribution network is easy to cause the key to be eavesdropped, which may easily lead to malicious invasion of the wireless network.
  • the installer needs to be familiar with the use of the APP associated with configuring the network node and the parameter configuration of the wireless network node, and the existing complex network increases the technical requirements and training costs for the installer.
  • the present invention has been made in order to provide a method, apparatus, system and computer readable medium for configuring a wireless network node that overcomes the above problems or at least partially solves the above problems.
  • a method for configuring a wireless network node is provided, which is applied to a wireless network configuration device having a Bluetooth low energy BLE function, including:
  • the method further includes:
  • the limiting the communication range of the BLE function according to the preset parameter including:
  • the receiving the acknowledgment message returned by the any wireless network node device for the configuration request, and establishing a BLE connection with the wireless network node device that meets the preset condition including:
  • the method is configured to send a read/write operation request to the wireless network node device that is successfully connected, and perform wireless network information configuration on the wireless network node device, where the read/write operation request carries the related information of the wireless network node device.
  • Configuration information including:
  • the connector only receives an acknowledgement message returned by a wireless network node device, establishing a BLE connection with the wireless network node device;
  • a generator connected to the configurator, configured to send a read/write operation request to the successfully connected wireless network node device, and generate a configuration file, where the wireless network node device performs wireless network information configuration Contains configuration information about multiple wireless network node devices.
  • a computer readable medium storing computer program code for causing the wireless network when the computer program code is run on a wireless network configuration device
  • the configuration device performs the above-described configuration method of the wireless network node.
  • Fig. 9 shows a storage unit for holding or carrying program code implementing a configuration method of a wireless network node according to the present invention.
  • the preset parameter may be a communication range parameter that the wireless network configuration device communicates using the BLE function.
  • the BLE communication range of the wireless network configuration device is set to 2 meters by using the preset parameter.
  • the wireless network configuration device can perform with each wireless network node device within the range of 2 meters. Communication.
  • BLE technology is a low-cost, short-distance, interoperable and robust wireless technology that operates in the license-free 2.4GHz ISM radio frequency band.
  • the wireless network node device may be a sensor or other device that requires configuration parameters, such as a sensor (such as a photoelectric sensor that controls the lighting fixture), a wireless communication installed inside the lighting fixture, and used for remote control of the lighting fixture.
  • the module controls the opening, closing, adjusting illumination brightness or color of the smart device according to a control signal received by the wireless communication module.
  • the wireless network node device also has a BLE function to implement communication with a wireless network configuration device having a BLE function.
  • Step S106 Receive an acknowledgement message returned by any wireless network node device for the configuration request, and establish a BLE connection with the wireless network node device that meets the preset condition.
  • the configuration of the wireless network node in the embodiment of the present invention is simple and fast, which not only reduces the skill requirements of the related technical personnel, but also effectively improves the working efficiency of the related technical personnel.
  • the number of wireless network node devices in the BLE communication range may be preset, and then according to the set wireless The number of network node devices selects appropriate preset parameters to limit the communication range of the BLE function.
  • the number of wireless network node devices within the BLE communication range can be set to substantially remain at 1 to 2, and then Combined with the spacing between the devices, the preset parameter is determined to be 2 meters, that is, the BLE communication range of the wireless network configuration device is 2 meters.
  • the embodiment of the present invention may also set the BLE communication range of the wireless network configuration device to other values, such as 1 meter, 3 meters, 4 meters, and the like, which are not specifically limited in this embodiment of the present invention.
  • the wireless network configuration device may send a configuration request in the form of a distribution network request broadcast packet to each wireless network node device in the BLE communication range defined in the upper text, and the distribution network request broadcast packet may carry the wireless network configuration.
  • the address information of the device is used to enable the wireless network node device that received the distribution network request broadcast packet to establish a connection with the wireless network configuration device by using the address information.
  • a broadcast packet packet can be used to send broadcast packets to a network supported by many systems. Broadcasting is usually used for two reasons. First, an application (such as a program for configuring a wireless network node in a wireless network configuration device) wants to find a resource in the local network, and the application uses the resource. The address does not have any prior knowledge. Second, some important features, such as routing, require that their information be sent to all neighbors that can be found.
  • the wireless network configuration device sends a distribution request broadcast packet to each wireless network node device in the BLE communication range, so that the wireless network configuration device does not need to separately send a configuration request for each wireless network node device, thereby effectively saving The configuration time of the wireless network node device.
  • the wireless network configuration device may select and establish a wireless network node device that meets the preset condition.
  • BLE connection when the connection is established, if the wireless network configuration device receives only an acknowledgment message returned by the wireless network node device, the BLE connection is directly established with the wireless network node device. If the wireless network configuration device receives the acknowledgement message returned by the at least two wireless network node devices, the BLE connection needs to be established with the wireless network node device that meets the preset rule.
  • the wireless network configuration device may first determine the arrival time of the acknowledgement message returned by the at least two wireless network node devices, and then select the confirmation message with the shortest arrival time. Corresponding wireless network node device and establishing a BLE connection with the wireless network node device.
  • the wireless network node device If the preset rule is the RSSI (Received Signal Strength Indication) of the acknowledgment message, the wireless network node device with the strongest. Then, after receiving the acknowledgement message returned by the at least two wireless network node devices, the wireless network configuration device may separately analyze the RSSI of the acknowledgement message returned by the at least two wireless network node devices, and then select the acknowledgement message with the strongest RSSI. The wireless network node device establishes a BLE connection with the wireless network node device.
  • RSSI Receiveived Signal Strength Indication
  • the wireless network node device may return an acknowledgement message for the configuration request to the wireless network configuration device in the form of an APK packet (message confirmation packet), ie, the wireless network.
  • APK packet messages confirmation packet
  • the configuration device receives the APK package sent by the wireless network node device to confirm that the wireless network node device successfully receives the configuration request.
  • the configuration file may be pre-generated, and the configuration file includes related configuration information of the plurality of wireless network node devices.
  • the unique identifier of the wireless network node device that successfully connects is obtained.
  • the related configuration information of the wireless network node device corresponding to the unique identifier is extracted from the pre-generated configuration file according to the obtained unique identifier, and sent to the wireless network node device that is successfully connected, thereby performing wireless on the wireless network node device.
  • Network information configuration may be pre-generated, and the configuration file includes related configuration information of the plurality of wireless network node devices.
  • the wireless network configuration device employs a handheld terminal device.
  • the BLE communication range of the handheld terminal device is set to 2 meters, and then the BLE function of the handheld terminal device is activated, and a distribution request broadcast packet is transmitted to each wireless network node device within a range of 2 meters, and the distribution network request broadcast packet includes The address information of the handheld terminal device.
  • three wireless network node devices are included in the 2 meter BLE communication range of the handheld terminal device, which are respectively a wireless network node device 1, a wireless network node device 2, and a wireless network node device 3, which respectively correspond to FIG. Node 1, Node 2, and Node 3 are shown.
  • the handheld terminal device simultaneously transmits a distribution network request broadcast packet to the wireless network node device of the node 1, the wireless network node device of the node 2, and the wireless network node device of the node 3.
  • the wireless network node device of the node 2 sends an ACK packet (ie, a message acknowledgement packet) to the handheld terminal device according to the address information of the handheld terminal device, that is, it confirms that it successfully received the distribution network request broadcast packet. Since the handheld terminal device only receives the ACK packet returned by the wireless network node device 2, the handheld terminal device establishes a BLE connection with the wireless network node device 2.
  • an ACK packet ie, a message acknowledgement packet
  • the unique number of the wireless network node device 2 such as 001
  • the handheld terminal device can acquire the sensor configuration parameter of the virtual node, and further carry the acquired sensor configuration parameter in the read/write operation request, and send To the wireless network node device of node 2.
  • the wireless network node device of the node 2 After receiving the sensor configuration parameter, the wireless network node device of the node 2 returns a response message to the handheld terminal device, indicating that the configuration parameter sent this time is successfully configured.
  • the handheld terminal device may continue to send other configuration parameters to the wireless network node device of the node 2, such as setting the wireless network node device of the node 2
  • the working scenario is a “meeting scenario” and the like.
  • the wireless network node device of the node 2 still returns a response message to the handheld terminal device, indicating that the configuration parameter sent this time is successfully configured.
  • the handheld terminal device configures the wireless network node device of the node 2, and does not need to configure other wireless network node devices, the BLE function on the handheld terminal device can be turned off.
  • the parameter qualifier 410 limits the communication range of the BLE function according to the preset parameter
  • the request transmitter 420 is connected to the parameter qualifier 410, activates the BLE function, and sends a configuration request to each wireless network node device within the defined BLE communication range;
  • the connector 430 is connected to the request transmitter 420, receives an acknowledgement message returned by any wireless network node device for the configuration request of the request transmitter 420, and establishes a BLE connection with the wireless network node device that meets the preset condition.
  • the parameter qualifier 410 selects a corresponding preset parameter according to a preset number of the wireless network node devices in the BLE communication range, and limits the communication range of the BLE function.
  • the connector 430 if the connector 430 receives only an acknowledgment message returned by the wireless network node device, establishing a BLE connection with the wireless network node device, if the connector 430 receives at least two wireless network node devices and returns The confirmation message establishes a BLE connection with the wireless network node device that satisfies the preset rule.
  • the connector 430 receives the acknowledgement message returned by the at least two wireless network node devices, analyzing the RSSI of the acknowledgement message returned by the at least two wireless network node devices, and selecting the strongest RSSI acknowledgement.
  • the wireless network node device corresponding to the message and establishing a BLE connection with the wireless network node device.
  • the configurator 440 is connected to the connector 430, and after the connector 430 establishes a BLE connection with the wireless network node device that meets the preset condition, sends a read/write operation request to the wireless network node device successfully connected by the connector 430, the wireless device
  • the network node device performs wireless network information configuration, where the read/write operation request carries relevant configuration information of the wireless network node device.
  • the configuration information of the wireless network node device includes a unique identifier of the wireless network node device, a configuration parameter of the wireless network node device, group information of the wireless network node device, and scenario setting information of the wireless network node device.
  • the receiver 460 is connected to the configurator 440, and sends a read/write operation request to the successfully connected wireless network node device in the configurator 440. After the wireless network node device performs wireless network information configuration, the configuration returned by the receiving wireless network node device is successful. Message.
  • the wireless network node configuration system 600 includes a wireless network configuration device 610 and at least one wireless network node device (including a wireless network). a node device 620, a wireless network node device 630, a wireless network node device 640, etc., and each device has a BLE function, wherein
  • the wireless network configuration device 610 defines a communication range of the BLE function according to a preset parameter
  • the wireless network node device receiving the configuration request sends an acknowledgement message to the wireless network configuration device to confirm that the configuration request is successfully received;
  • the wireless network configuration device 610 receives the acknowledgement message returned by the wireless network node device and establishes a BLE connection with the wireless network node device that meets the preset condition.
  • the wireless network node device 620 receives the configuration request of the wireless network configuration device 610, it sends an acknowledgement message to the wireless network configuration device 610, and the wireless network configuration device 610 and the wireless network node device 620 establishes a connection.
  • the embodiment of the present invention further provides a computer readable medium storing computer program code, when the computer program code is run on a wireless network configuration device, causing the wireless network configuration device to perform the above The configuration method of the wireless network node.
  • FIG. 8 shows a block diagram of a wireless network configuration device that can implement a method of configuring a wireless network node in accordance with the present invention.
  • the wireless network configuration device conventionally includes a processor 810 and a computer program product or computer readable medium in the form of a memory 820.
  • the memory 820 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 820 has a storage space 830 that stores computer program code 831 for performing any of the method steps described above.
  • storage space 830 storing program code can store various computer program code 831 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such computer program products are typically portable or fixed storage units as shown in FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 820 in the wireless network configuration device of FIG.
  • the computer program code can be compressed, for example, in a suitable form.
  • the storage unit comprises computer program code 831' storing instructions for performing the method according to the invention, i.e. computer program code readable by a processor, such as processor 810, when the computer program code is over a wireless network
  • the configuration device is running, the wireless network configuration device is caused to perform various steps in the methods described above.
  • the embodiment of the present invention can achieve the following beneficial effects:
  • the configuration method of the wireless network node can be applied to a wireless network configuration device with a Bluetooth low energy BLE function.
  • the communication range of the BLE function is first limited according to preset parameters.
  • the BLE function is then initiated and a configuration request is sent to each of the wireless network node devices within the defined BLE communication range.
  • a BLE connection is established with the wireless network node device that meets the preset condition.
  • the limited communication can be performed after the wireless network configuration device starts the BLE function.
  • the specified wireless network node device in the range performs information configuration, so that the configuration of the wireless network node device is more targeted, and avoids a problem that a large number of wireless network node devices are difficult to identify.
  • the embodiment of the present invention simulates the near field communication by using the BLE technology, and effectively avoids the problem that the wireless network node device is maliciously eavesdropped and invaded during the information configuration process, thereby improving the security of the wireless network node configuration.
  • the configuration of the wireless network node in the embodiment of the present invention is simple and fast, which not only reduces the skill requirements of the related technical personnel, but also effectively improves the working efficiency of the related technical personnel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种无线网络节点的配置方法、装置、系统及计算机可读介质,该方法应用于具有BLE功能的无线网络配置设备,包括根据预设参数对BLE功能的通信范围进行限定;启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;接收任意无线网络节点设备针对配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。本发明实施例不仅避免了大量的无线网络节点设备的识别问题,还有效地避免了无线网络节点设备在信息配置过程中被恶意窃听和入侵的问题,提高了无线网络节点配置的安全性。

Description

无线网络节点的配置方法、装置及系统 技术领域
本发明涉及无线通信技术应用领域,特别是涉及无线网络节点的配置方法、装置、系统以及计算机可读介质。
背景技术
在商业照明采用的无线网络节点配置过程中,由于节点数量众多(一般大于20各节点),如何高效、安全地配置每一个网络节点,如命名网络节点、网络节点分组、网络节点的场景设定、网络节点的传感器的参数配置等变的尤为重要。
现有技术中的一些无线网络节点的配置方式存在有较多的缺陷。例如,目前对于大量无线网络节点的配置通常采用在线配置,这种配置方式效率较低。又例如,采用wifi进行网络节点的配置过程中,由于广播范围较大,广播范围内的节点数量众多,存在大量网络节点的识别问题,很难对指定节点进行配置,但是,借助红外技术或者其他辅助技术又会增加技术的复杂性。并且,配网通信距离通常较远,由于配网过程是明文传输的,而较远的配网通信距离容易使得密钥被窃听,进而容易导致对无线网络的恶意入侵。另外,安装人员需要对与配置网络节点相关的APP的使用、无线网络节点的参数配置比较熟悉,而现有的复杂的网络增加了对安装人员的技术要求和培训成本。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的无线网络节点的配置方法、装置、系统以及计算机可读介质。
依据本发明的一方面,提供了一种无线网络节点的配置方法,应用于具有蓝牙低能耗BLE功能的无线网络配置设备,包括:
根据预设参数对所述BLE功能的通信范围进行限定;
启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
接收任意无线网络节点设备针对所述配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
可选地,所述与符合预设条件的无线网络节点设备建立BLE连接之后,还包括:
向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置,其中,所述读写操作请求中携带有该无线网络节点设备的相关配置信息。
可选地,所述根据预设参数对所述BLE功能的通信范围进行限定,包括:
根据所述BLE通信范围内所述无线网络节点设备的预设数量,选取相应的预设参数,并对所述BLE功能的通信范围进行限定。
可选地,所述向限定的BLE通信范围内的各无线网络节点设备发送配置请求,包括:
以配网请求广播包的形式,向限定的BLE通信范围内的各无线网络节点设备发送配置请求,所述配网请求广播包中携带有无线网络配置设备的地址信息。
可选地,所述接收任意无线网络节点设备针对所述配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接,包括:
若仅接收到一个无线网络节点设备返回的确认消息,则与该无线网络节点设备建立BLE连接;
若接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接。
可选地,所述若接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接,包括:
确定所述至少两个无线网络节点设备返回的确认消息的到达时间;
选取到达时间最短的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
可选地,所述若接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接,包括:
分析所述至少两个无线网络节点设备返回的确认消息的接收信号强度指示RSSI;
选取所述RSSI最强的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
可选地,所述无线网络节点设备的相关配置信息包括以下至少之一:
无线网络节点设备的唯一标识;
无线网络节点设备的配置参数;
无线网络节点设备所属分组信息;
无线网络节点设备的场景设定信息。
可选地,所述向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之前,包括:
生成配置文件,所述配置文件中包含多个无线网络节点设备的相关配置信息。
可选地,所述向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置,其中,所述读写操作请求中携带有该无线网络节点设备的相关配置信息,包括:
获取所述连接成功的无线网络节点设备的唯一标识;
依据获取的唯一标识从所述配置文件中提取该唯一标识对应的无线网络节点设备的相关配置信息,并发送至该无线网络节点设备,以对该无线网络节点设备进行无线网络信息配置。
可选地,所述向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之后,包括:
接收所述无线网络节点设备返回的配置成功的消息。
依据本发明的另一方面,还提供了一种无线网络节点的配置装置,应用于具有BLE功能的无线网络配置设备,包括:
参数限定器,根据预设参数对所述BLE功能的通信范围进行限定;
请求发送器,与参数限定器连接,启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
连接器,与所述请求发送器连接,接收任意无线网络节点设备针对所述请求发送器的配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
可选地,配置器,与所述连接器连接,在所述连接器与符合预设条件的无线网络节点设备建立BLE连接之后,向由所述连接器连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置,其中,所述读写操作请求中携带有该无线网络节点设备的相关配置信息。
可选地,所述参数限定器根据所述BLE通信范围内所述无线网络节点设备的预设数量,选取相应的预设参数,并对所述BLE功能的通信范围进行限定。
可选地,所述请求发送器以配网请求广播包的形式,向所述参数限定器限定的BLE通信范围内的各无线网络节点设备发送配置请求,所述配网请求广播包中携带有无线网络配置设备的地址信息。
可选地,若所述连接器仅接收到一个无线网络节点设备返回的确认消息,则与该无线网络节点设备建立BLE连接;
若所述连接器接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接。
可选地,若所述连接器接收到至少两个无线网络节点设备返回的确认消息,则确定所述至少两个无线网络节点设备返回的确认消息的到达时间;
选取到达时间最短的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
可选地,若所述连接器接收到至少两个无线网络节点设备返回的确认消息,则分析所述至少两个无线网络节点设备返回的确认消息的RSSI;
选取所述RSSI最强的确认消息所对应的无线网络节点设备,并与该无线网络 节点设备建立BLE连接。
可选地,所述无线网络节点设备的相关配置信息包括以下至少之一:
无线网络节点设备的唯一标识;
无线网络节点设备的配置参数;
无线网络节点设备所属分组信息;
无线网络节点设备的场景设定信息。
可选地,所述装置还包括:
生成器,与所述配置器连接,在所述配置器向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之前,生成配置文件,所述配置文件中包含多个无线网络节点设备的相关配置信息。
可选地,所述配置器,获取由所述连接器连接成功的无线网络节点设备的唯一标识;
依据所述唯一标识从所述配置文件中提取该唯一标识对应的无线网络节点设备的相关配置信息,并发送至该无线网络节点设备,以对该无线网络节点设备进行无线网络信息配置。
可选地,所述装置还包括:
接收器,与所述配置器连接,在所述配置器向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之后,接收所述无线网络节点设备返回的配置成功的消息。
依据本发明的又一方面,还提供了一种无线网络节点的配置系统,包括无线网络配置设备和至少一个无线网络节点设备,且各设备均具备BLE功能,其中,
所述无线网络配置设备根据预设参数对其BLE功能的通信范围进行限定;
所述无线网络配置设备启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
接收到所述配置请求的无线网络节点设备向所述无线网络配置设备发送确认消息,以确认所述配置请求接收成功;
所述无线网络配置设备接收所述无线网络节点设备返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
依据本发明的再一方面,还提供了一种计算机可读介质,所述计算机可读介质存储有计算机程序代码,当所述计算机程序代码在无线网络配置设备上运行时,导致所述无线网络配置设备执行上述的无线网络节点的配置方法。
在本发明实施例中,无线网络节点的配置方法可以应用于具有蓝牙低能耗BLE功能的无线网络配置设备。在进行无线网络节点的配置过程中,首先根据预设参数对BLE功能的通信范围进行限定。然后启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求。最后通过接收任意无线网络节点设备针对 配置请求返回的确认消息,与符合预设条件的无线网络节点设备建立BLE连接。在该实施例中,通过根据预设参数对BLE功能的通信范围进行限定,例如将通信范围限定在一个合理的小数值范围内,从而可以在无线网络配置设备启动BLE功能后,对限定的通信范围内的指定无线网络节点设备进行信息配置,使无线网络节点设备的配置更有针对性,避免了大量的无线网络节点设备识别困难的问题。此外,本发明实施例通过利用BLE技术,模拟近场通信,还有效地避免了无线网络节点设备在信息配置过程中被恶意窃听和入侵的问题,提高了无线网络节点配置的安全性。
进一步地,本发明实施例的无线网络节点的配置方式简单快捷,不仅降低了相关技术人员的技能要求,还有效地提高了相关技术人员的工作效率。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
根据下文结合附图对本发明具体实施例的详细描述,本领域技术人员将会更加明了本发明的上述以及其他目的、优点和特征。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1示出了根据本发明一个实施例的无线网络节点的配置方法的流程示意图;
图2示出了根据本发明一个实施例无线网络配置设备的通信范围示意图;
图3示出了根据本发明一个实施例无线网络配置设备对无线网络节点设备的参数配置过程示意图;
图4示出了根据本发明一个实施例的无线网络节点的配置装置的结构示意图;
图5示出了根据本发明另一个实施例的无线网络节点的配置装置的结构示意图;
图6示出了根据本发明一个实施例的无线网络节点的配置系统的结构示意图;
图7示出了根据本发明另一个实施例的无线网络节点的配置系统的结构示意图;
图8示出了用于执行根据本发明的无线网络节点的配置方法的无线网络配置设备的框图;以及
图9示出了用于保持或者携带实现根据本发明的无线网络节点的配置方法的程序代码的存储单元。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为解决上述技术问题,本发明实施例提供了一种无线网络节点的配置方法,该方法应用于具有BLE(Bluetooth Low Energy,蓝牙低能耗)功能的无线网络配置设备,该无线网络配置设备可以是手持终端设备,也可以其他移动设备(如智能手机、平板电脑、智能手表等)。图1示出了根据本发明一个实施例的无线网络节点的配置方法的流程示意图。参见图1,该方法包括步骤S102至步骤S106。
步骤S102,根据预设参数对BLE功能的通信范围进行限定。
在该步骤中,预设参数可以是无线网络配置设备利用BLE功能进行通信的通信范围参数。例如,若预设参数为2米,那么利用该预设参数设定无线网络配置设备的BLE通信范围为2米,此时,无线网络配置设备可以与2米范围内的各无线网络节点设备进行通信。其中,BLE技术是低成本、短距离、可互操作的鲁棒性无线技术,工作在免许可的2.4GHz ISM射频频段。
步骤S104,启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求。
在该步骤中,无线网络节点设备可以是传感器或者其他需要配置参数的设备,例如,传感器(如控制照明灯具的光电传感器)、安装在照明灯具内部,用于对照明灯具进行远程控制的无线通信模块,根据无线通信模块接收的控制信号来控制智能设备的开启、关闭、调整照明亮度或颜色等等。并且,该无线网络节点设备也具备BLE功能,以实现与具有BLE功能的无线网络配置设备之间的通信。
步骤S106,接收任意无线网络节点设备针对配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
在该实施例中,通过根据预设参数对BLE功能的通信范围进行限定,例如,将通信范围限定在一个合理的小数值范围内,从而可以在无线网络配置设备启动BLE功能后,对限定的通信范围内的指定无线网络节点设备进行信息配置,使无线网络节点设备的配置更有针对性,避免了大量的无线网络节点设备识别困难的问题。此外,本发明实施例通过利用BLE技术,模拟近场通信,还有效地避免了无线网络节点设备在信息配置过程中被恶意窃听和入侵的问题,提高了无线网络节点配置的安全性。
进一步地,本发明实施例的无线网络节点的配置方式简单快捷,不仅降低了相关技术人员的技能要求,还有效地提高了相关技术人员的工作效率。
参见上文步骤S102,在本发明一实施例中,根据预设参数对BLE功能的通信范围进行限定时,可以预先设定BLE通信范围内无线网络节点设备的数量,然后根据设定的的无线网络节点设备的数量选取合适的预设参数,对BLE功能的通信范围进行限定。例如,为了使无线网络配置设备在其通信范围内更有针对性的与无线网络节点设备进行连接,可以设定其BLE通信范围内的无线网络节点设备的数量基本保持在1至2个,然后结合各设备之间的间距,确定预设参数为2米,即无线网络配置设备的BLE通信范围为2米。当然,本发明实施例还可以设定无线网络配置设备的BLE通信范围为其他数值,如1米、3米、4米等等,本发明实施例对此不做具体限定。
参见上文步骤S104,在本发明一实施例中,无线网络配置设备对无线网络节点设备进行数据配置之前,需要先启动其BLE功能,然后向限定的BLE通信范围内的各无线网络节点设备发送配置请求。在该实施例中,无线网络配置设备可以以配网请求广播包的形式,向上文限定的BLE通信范围内的各无线网络节点设备发送配置请求,该配网请求广播包中可以携带无线网络配置设备的地址信息,以在后续使接收到配网请求广播包的无线网络节点设备能够利用该地址信息与无线网络配置设备建立连接。
其中,广播包(broadcast packet)数据包套接口可以用来向许多系统支持的网络发送广播数据包。广播通常是为了如下两个原因而使用的,第一,应用程序(如无线网络配置设备中用于对无线网络节点进行配置的程序)希望在本地网络中找到一个资源,而应用程序对该资源的地址又没有任何先验的知识。第二,一些重要的功能,例如,路由要求把它们的信息发送给所有可以找到的邻机。本发明实施例中,无线网络配置设备通过向BLE通信范围内的各无线网络节点设备发送配网请求广播包,使无线网络配置设备无需针对每一个无线网络节点设备分别发送配置请求,有效地节约了无线网络节点设备的配置时间。
参见上文步骤S106,在本发明一实施例中,当无线网络配置设备接收到任意无线网络节点设备针对配置请求返回的确认消息后,可以选取符合预设条件的无线网络节点设备,并与其建立BLE连接,在建立连接时,若无线网络配置设备仅接收到一个无线网络节点设备返回的确认消息,则直接与该无线网络节点设备建立BLE连接。若无线网络配置设备接收到至少两个无线网络节点设备返回的确认消息,则需要与满足预设规则的无线网络节点设备建立BLE连接。
在该实施例中,若预设规则为确认消息到达时间最短的无线网络节点设备。那么,无线网络配置设备在接收到至少两个无线网络节点设备返回的确认消息后,可以先分别确定至少两个无线网络节点设备返回的确认消息的到达时间,然后选取到达时间最短的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。例如,若无线网络配置设备接收到两个无线网络节点设备返回的确认消 息,通过分析得知两个无线网络节点设备返回确认消息的时间分别为2秒和3秒,则无线网络配置设备与返回确认消息的时间为2秒的无线网络节点设备连接。
若预设规则为确认消息的RSSI(Received Signal Strength Indication,接收的信号强度指示)最强的无线网络节点设备。那么,无线网络配置设备在接收到至少两个无线网络节点设备返回的确认消息后,可以先分别分析至少两个无线网络节点设备返回的确认消息的RSSI,然后选取RSSI最强的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
在该实施例中,无线网络节点设备在接收到无线网络配置设备的配置请求之后,可以以APK包(消息确认包)的形式向无线网络配置设备返回针对配置请求的确认消息,即,无线网络配置设备接收无线网络节点设备发送的APK包,以确认无线网络节点设备成功接收到配置请求。
在本发明可选实施例中,在与符合预设条件的无线网络节点设备建立BLE连接之后,还可以向连接成功的无线网络节点设备发送读写操作请求,以对该无线网络节点设备进行无线网络信息配置。其中,读写操作请求中携带有该无线网络节点设备的相关配置信息。在该实施例中,无线网络节点设备的相关配置信息可以包括无线网络节点设备的唯一标识(如唯一编号、唯一地理位置信息等)、无线网络节点设备的配置参数、无线网络节点设备所属分组信息、无线网络节点设备的场景设定信息等,当然还可以包括其他的配置信息,本发明实施例对此不做具体限定。
在该实施例中,无线网络配置设备在向连接成功的无线网络节点设备发送读写操作请求之前,可以预先生成配置文件,该配置文件中包含多个无线网络节点设备的相关配置信息。当无线网络配置设备与某一无线网络节点设备连接成功后,先获取该连接成功的无线网络节点设备的唯一标识。然后,依据获取的唯一标识从预先生成的配置文件中提取该唯一标识所对应的无线网络节点设备的相关配置信息,并发送至连接成功的无线网络节点设备,从而对该无线网络节点设备进行无线网络信息配置。
例如,无线网络配置设备在向连接成功的无线网络节点设备发送读写操作请求之前,先建立多个无线网络节点设备与其分别对应的多个虚拟节点,并将各虚拟节点、以及各虚拟节点对应的详细配置方案以配置文件的形式预先保存在无线网络配置设备(如手持终端设备)中。当需要对无线网络节点设备进行信息配置时,安装人员只需要依据即将进行配置的无线网络节点设备的节点位置信息,从配置文件中查找与其对应的虚拟节点,并获取该虚拟节点的相关配置信息,利用BLE发送至无线网络节点设备,从而实现无线网络节点设备的信息配置,这种信息配置方式可以大大降低对安装人员的技能要求。
为了更加清楚地体现本发明实施例的方案,现以一具体场景下的实施例对本发明进行介绍。在该实施例中,无线网络配置设备采用手持终端设备。
首先,设置手持终端设备的BLE通信范围为2米,然后,启动手持终端设备的BLE功能,向2米范围内的各无线网络节点设备发送配网请求广播包,该配网请求广播包中包含了手持终端设备的地址信息。参见图2,在手持终端设备的2米BLE通信范围内包含有三个无线网络节点设备,分别是无线网络节点设备1、无线网络节点设备2以及无线网络节点设备3,其分别对应图2中所示的节点1、节点2和节点3。此时,如图3所示,手持终端设备同时向节点1的无线网络节点设备、节点2的无线网络节点设备以及节点3的无线网络节点设备发送配网请求广播包。
经过一定的延时后,节点2的无线网络节点设备依据手持终端设备的地址信息向手持终端设备发送了ACK包(即消息确认包),即确认其成功接收到了配网请求广播包。由于手持终端设备仅仅接收到了无线网络节点设备2返回的ACK包,因此,手持终端设备与无线网络节点设备2建立BLE连接。
当手持终端设备与无线网络节点设备2连接成功后,会先获取无线网络节点设备2的唯一编号,如001,然后从预先保存的配置文件中查找该编号001对应的虚拟节点,并获取与该虚拟节点相关的相关配置信息。例如,若节点2的无线网络节点设备为控制照明灯具的无线传感器,则手持终端设备可以获取该虚拟节点的传感器配置参数,并进一步将获取的传感器配置参数携带在读写操作请求中,并发送至节点2的无线网络节点设备。当节点2的无线网络节点设备接收到该传感器配置参数之后,会向手持终端设备返回一个响应消息,表示本次发送的配置参数配置成功。
进一步地,若手持终端设备还需与节点2的无线网络节点设备进行其他信息交互,则可以继续向节点2的无线网络节点设备发送其他的配置参数,如设定节点2的无线网络节点设备的工作场景为“会议场景”等等,同样的,节点2的无线网络节点设备接收到该传感器配置参数之后,仍然会向手持终端设备返回一个响应消息,表示本次发送的配置参数配置成功。
最后,当手持终端设备对节点2的无线网络节点设备配置完成后,且无需对其他无线网络节点设备进行配置,则可以关闭手持终端设备上的BLE功能。
基于同一发明构思,本发明实施例还提供了一种无线网络节点的配置装置,应用于具有BLE功能的无线网络配置设备,该无线网络配置设备可以是手持终端设备,也可以其他移动设备。图4示出了根据本发明一个实施例的无线网络节点的配置装置的结构示意图。参见图4,无线网络节点的配置装置400包括参数限定器410、请求发送器420和连接器430。
现介绍本发明实施例的无线网络节点的配置装置400的各组成或器件的功能以及各部分间的连接关系:
参数限定器410,根据预设参数对BLE功能的通信范围进行限定;
请求发送器420,与参数限定器410连接,启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
连接器430,与请求发送器420连接,接收任意无线网络节点设备针对请求发送器420的配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
在本发明一实施例中,参数限定器410根据BLE通信范围内无线网络节点设备的预设数量,选取相应的预设参数,并对BLE功能的通信范围进行限定。
在本发明一实施例中,请求发送器420以配网请求广播包的形式,向限定的BLE通信范围内的各无线网络节点设备发送配置请求,配网请求广播包中携带有无线网络配置设备的地址信息。
在本发明一实施例中,若连接器430仅接收到一个无线网络节点设备返回的确认消息,则与该无线网络节点设备建立BLE连接,若连接器430接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接。
在本发明一实施例中,若连接器430接收到至少两个无线网络节点设备返回的确认消息,则确定至少两个无线网络节点设备返回的确认消息的到达时间,并选取到达时间最短的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
在本发明另一实施例中,若连接器430接收到至少两个无线网络节点设备返回的确认消息,则分析至少两个无线网络节点设备返回的确认消息的RSSI,并选取RSSI最强的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
本发明实施例还提供了另一种无线网络节点的配置装置,该无线网络配置设备可以是手持终端设备,也可以其他移动设备。图5示出了根据本发明另一个实施例的无线网络节点的配置装置的结构示意图。参见图5,无线网络节点的配置装置400除了包含上述各器件之外,还包括配置器440、生成器450和接收器460。
配置器440,与连接器430连接,在连接器430与符合预设条件的无线网络节点设备建立BLE连接之后,向由连接器430连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置,其中,读写操作请求中携带有该无线网络节点设备的相关配置信息。
其中,无线网络节点设备的相关配置信息包括无线网络节点设备的唯一标识、无线网络节点设备的配置参数、无线网络节点设备所属分组信息和无线网络节点设备的场景设定信息等等。
生成器450,与配置器440连接,在配置器440向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之前,生成配置文件,配置文件中包含多个无线网络节点设备的相关配置信息。
接收器460,与配置器440连接,在配置器440向连接成功的无线网络节点设 备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之后,接收无线网络节点设备返回的配置成功的消息。
在本发明一实施例中,配置器440获取由连接器430连接成功的无线网络节点设备的唯一标识,并依据唯一标识从配置文件中提取该唯一标识对应的无线网络节点设备的相关配置信息,并发送至该无线网络节点设备,以对该无线网络节点设备进行无线网络信息配置。
基于同一发明构思,本发明实施例还提供了一种无线网络节点的配置系统,参见图6,无线网络节点的配置系统600包括无线网络配置设备610和至少一个无线网络节点设备(如包含无线网络节点设备620、无线网络节点设备630、无线网络节点设备640等等),且各设备均具备BLE功能,其中,
无线网络配置设备610根据预设参数对其BLE功能的通信范围进行限定;
无线网络配置设备610启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
接收到配置请求的无线网络节点设备向无线网络配置设备发送确认消息,以确认配置请求接收成功;
无线网络配置设备610接收无线网络节点设备返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
例如,如图7所示,若仅有无线网络节点设备620接收到无线网络配置设备610的配置请求后,向无线网络配置设备610发送确认消息,并且,无线网络配置设备610与无线网络节点设备620建立连接。
本发明实施例还提供了一种计算机可读介质,所述计算机可读介质存储有计算机程序代码,当所述计算机程序代码在无线网络配置设备上运行时,导致所述无线网络配置设备执行上述的无线网络节点的配置方法。
例如,图8示出了可以实现根据本发明的无线网络节点的配置方法的无线网络配置设备的框图。该无线网络配置设备传统上包括处理器810和以存储器820形式的计算机程序产品或者计算机可读介质。存储器820可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器820具有存储用于执行上述方法中的任何方法步骤的计算机程序代码831的存储空间830。例如,存储程序代码的存储空间830可以存储分别用于实现上面的方法中的各种步骤的各个计算机程序代码831。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如图9所示的便携式或者固定存储单元。该存储单元可以具有与图8的无线网络配置设备中的存储器820类似布置的存储段、存储空间等。计算机程序代码可以例如以适当形式进行压缩。通常,存储单元包括存储有用于执行根据本发 明的方法步骤的计算机程序代码831’,即可以由例如诸如处理器810之类的处理器读取的计算机程序代码,当这些计算机程序代码由无线网络配置设备运行时,导致该无线网络配置设备执行上面所描述的方法中的各个步骤。
根据上述任意一个优选实施例或多个优选实施例的组合,本发明实施例能够达到如下有益效果:
在本发明实施例中,无线网络节点的配置方法可以应用于具有蓝牙低能耗BLE功能的无线网络配置设备。在进行无线网络节点的配置过程中,首先根据预设参数对BLE功能的通信范围进行限定。然后启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求。最后通过接收任意无线网络节点设备针对配置请求返回的确认消息,与符合预设条件的无线网络节点设备建立BLE连接。在该实施例中,通过根据预设参数对BLE功能的通信范围进行限定,例如将通信范围限定在一个合理的小数值范围内,从而可以在无线网络配置设备启动BLE功能后,对限定的通信范围内的指定无线网络节点设备进行信息配置,使无线网络节点设备的配置更有针对性,避免了大量的无线网络节点设备识别困难的问题。此外,本发明实施例通过利用BLE技术,模拟近场通信,还有效地避免了无线网络节点设备在信息配置过程中被恶意窃听和入侵的问题,提高了无线网络节点配置的安全性。
进一步地,本发明实施例的无线网络节点的配置方式简单快捷,不仅降低了相关技术人员的技能要求,还有效地提高了相关技术人员的工作效率。
以上所述的具体实例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (24)

  1. 一种无线网络节点的配置方法,应用于具有蓝牙低能耗BLE功能的无线网络配置设备,包括:
    根据预设参数对所述BLE功能的通信范围进行限定;
    启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
    接收任意无线网络节点设备针对所述配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
  2. 根据权利要求1所述的方法,其中,所述与符合预设条件的无线网络节点设备建立BLE连接之后,还包括:
    向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置,其中,所述读写操作请求中携带有该无线网络节点设备的相关配置信息。
  3. 根据权利要求1或2所述的方法,其中,所述根据预设参数对所述BLE功能的通信范围进行限定,包括:
    根据所述BLE通信范围内所述无线网络节点设备的预设数量,选取相应的预设参数,并对所述BLE功能的通信范围进行限定。
  4. 根据权利要求1或2所述的方法,其中,所述向限定的BLE通信范围内的各无线网络节点设备发送配置请求,包括:
    以配网请求广播包的形式,向限定的BLE通信范围内的各无线网络节点设备发送配置请求,所述配网请求广播包中携带有无线网络配置设备的地址信息。
  5. 根据权利要求1或2所述的方法,其中,所述接收任意无线网络节点设备针对所述配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接,包括:
    若仅接收到一个无线网络节点设备返回的确认消息,则与该无线网络节点设备建立BLE连接;
    若接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接。
  6. 根据权利要求5所述的方法,其中,所述若接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接,包括:
    确定所述至少两个无线网络节点设备返回的确认消息的到达时间;
    选取到达时间最短的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
  7. 根据权利要求5所述的方法,其中,所述若接收到至少两个无线网络节点设 备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接,包括:
    分析所述至少两个无线网络节点设备返回的确认消息的接收信号强度指示RSSI;
    选取所述RSSI最强的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
  8. 根据权利要求2所述的方法,其中,所述无线网络节点设备的相关配置信息包括以下至少之一:
    无线网络节点设备的唯一标识;
    无线网络节点设备的配置参数;
    无线网络节点设备所属分组信息;
    无线网络节点设备的场景设定信息。
  9. 根据权利要求8所述的方法,其中,所述向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之前,包括:
    生成配置文件,所述配置文件中包含多个无线网络节点设备的相关配置信息。
  10. 根据权利要求9所述的方法,其中,所述向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置,其中,所述读写操作请求中携带有该无线网络节点设备的相关配置信息,包括:
    获取所述连接成功的无线网络节点设备的唯一标识;
    依据获取的唯一标识从所述配置文件中提取该唯一标识对应的无线网络节点设备的相关配置信息,并发送至该无线网络节点设备,以对该无线网络节点设备进行无线网络信息配置。
  11. 根据权利要求2所述的方法,其中,所述向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之后,包括:
    接收所述无线网络节点设备返回的配置成功的消息。
  12. 一种无线网络节点的配置装置,应用于具有BLE功能的无线网络配置设备,包括:
    参数限定器,根据预设参数对所述BLE功能的通信范围进行限定;
    请求发送器,与参数限定器连接,启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
    连接器,与所述请求发送器连接,接收任意无线网络节点设备针对所述请求发送器的配置请求返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
  13. 根据权利要求12所述的无线网络节点的配置装置,其中,还包括:
    配置器,与所述连接器连接,在所述连接器与符合预设条件的无线网络节点设备建立BLE连接之后,向由所述连接器连接成功的无线网络节点设备发送读写操作请 求,对该无线网络节点设备进行无线网络信息配置,其中,所述读写操作请求中携带有该无线网络节点设备的相关配置信息。
  14. 根据权利要求12或13所述的无线网络节点的配置装置,其中,
    所述参数限定器根据所述BLE通信范围内所述无线网络节点设备的预设数量,选取相应的预设参数,并对所述BLE功能的通信范围进行限定。
  15. 根据权利要求12或13所述的无线网络节点的配置装置,其中,
    所述请求发送器以配网请求广播包的形式,向所述参数限定器限定的BLE通信范围内的各无线网络节点设备发送配置请求,所述配网请求广播包中携带有无线网络配置设备的地址信息。
  16. 根据权利要求12或13所述的无线网络节点的配置装置,其中,
    若所述连接器仅接收到一个无线网络节点设备返回的确认消息,则与该无线网络节点设备建立BLE连接;
    若所述连接器接收到至少两个无线网络节点设备返回的确认消息,则与满足预设规则的无线网络节点设备建立BLE连接。
  17. 根据权利要求16所述的无线网络节点的配置装置,其中,若所述连接器接收到至少两个无线网络节点设备返回的确认消息,则确定所述至少两个无线网络节点设备返回的确认消息的到达时间;
    选取到达时间最短的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
  18. 根据权利要求16所述的无线网络节点的配置装置,其中,若所述连接器接收到至少两个无线网络节点设备返回的确认消息,则分析所述至少两个无线网络节点设备返回的确认消息的RSSI;
    选取所述RSSI最强的确认消息所对应的无线网络节点设备,并与该无线网络节点设备建立BLE连接。
  19. 根据权利要求13所述的无线网络节点的配置装置,其中,所述无线网络节点设备的相关配置信息包括以下至少之一:
    无线网络节点设备的唯一标识;
    无线网络节点设备的配置参数;
    无线网络节点设备所属分组信息;
    无线网络节点设备的场景设定信息。
  20. 根据权利要求19所述的无线网络节点的配置装置,其中,所述装置还包括:
    生成器,与所述配置器连接,在所述配置器向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之前,生成配置文件,所述配置文件中包含多个无线网络节点设备的相关配置信息。
  21. 根据权利要求20所述的无线网络节点的配置装置,其中,所述配置器,
    获取由所述连接器连接成功的无线网络节点设备的唯一标识;
    依据所述唯一标识从所述配置文件中提取该唯一标识对应的无线网络节点设备的相关配置信息,并发送至该无线网络节点设备,以对该无线网络节点设备进行无线网络信息配置。
  22. 根据权利要求13所述的无线网络节点的配置装置,其中,所述装置还包括:
    接收器,与所述配置器连接,在所述配置器向连接成功的无线网络节点设备发送读写操作请求,对该无线网络节点设备进行无线网络信息配置之后,接收所述无线网络节点设备返回的配置成功的消息。
  23. 一种无线网络节点的配置系统,包括无线网络配置设备和至少一个无线网络节点设备,且各设备均具备BLE功能,其中,
    所述无线网络配置设备根据预设参数对其BLE功能的通信范围进行限定;
    所述无线网络配置设备启动BLE功能,并向限定的BLE通信范围内的各无线网络节点设备发送配置请求;
    接收到所述配置请求的无线网络节点设备向所述无线网络配置设备发送确认消息,以确认所述配置请求接收成功;
    所述无线网络配置设备接收所述无线网络节点设备返回的确认消息,并与符合预设条件的无线网络节点设备建立BLE连接。
  24. 一种计算机可读介质,所述计算机可读介质存储有计算机程序代码,当所述计算机程序代码在无线网络配置设备上运行时,导致所述无线网络配置设备执行根据权利要求1-11中任一项所述的无线网络节点的配置方法。
PCT/CN2018/085641 2017-05-18 2018-05-04 无线网络节点的配置方法、装置及系统 WO2018210139A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/685,686 US10887746B2 (en) 2017-05-18 2019-11-15 Method, apparatus and system of configuring wireless network node

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710352994.7 2017-05-18
CN201720555865.3 2017-05-18
CN201720555865.3U CN207354634U (zh) 2017-05-18 2017-05-18 无线网络配置设备和无线网络节点的配置系统
CN201710352994.7A CN107205210B (zh) 2017-05-18 2017-05-18 无线网络节点的配置方法、装置、系统及计算机程序

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/685,686 Continuation US10887746B2 (en) 2017-05-18 2019-11-15 Method, apparatus and system of configuring wireless network node

Publications (1)

Publication Number Publication Date
WO2018210139A1 true WO2018210139A1 (zh) 2018-11-22

Family

ID=64273263

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/085641 WO2018210139A1 (zh) 2017-05-18 2018-05-04 无线网络节点的配置方法、装置及系统

Country Status (2)

Country Link
US (1) US10887746B2 (zh)
WO (1) WO2018210139A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390500A (zh) * 2022-02-14 2022-04-22 Oppo广东移动通信有限公司 设备连接方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898449A (zh) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 智能家居系统及其控制方法
US20160182803A1 (en) * 2014-12-22 2016-06-23 Lg Electronics Inc. Method and apparatus for controlling a camera by using bluetooth communication in a wireless communication system
CN106664668A (zh) * 2014-07-18 2017-05-10 谷歌公司 借助蓝牙低功耗的距离管理
CN107205210A (zh) * 2017-05-18 2017-09-26 欧普照明股份有限公司 无线网络节点的配置方法、装置、系统及计算机程序

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103511B2 (en) * 1998-10-14 2006-09-05 Statsignal Ipc, Llc Wireless communication networks for providing remote monitoring of devices
US6411986B1 (en) * 1998-11-10 2002-06-25 Netscaler, Inc. Internet client-server multiplexer
US6775553B1 (en) * 2000-01-14 2004-08-10 Qualcomm Incorporated Method of avoiding PPP time-outs during IPCP negotiations
CN1146821C (zh) * 2000-02-21 2004-04-21 国际商业机器公司 面向用户的数据库查询方法及系统
US10085211B2 (en) * 2014-09-02 2018-09-25 Apple Inc. Communication of processor state information
WO2016126186A1 (en) * 2015-02-04 2016-08-11 Telefonaktiebolaget Lm Ericsson (Publ) Advertisement and connection setup in a wireless communication network
US10367988B2 (en) * 2015-02-04 2019-07-30 Casio Computer Co., Ltd. Data processing system executing predetermined data processing by plurality of apparatuses linking
US9351154B1 (en) * 2015-02-23 2016-05-24 Microsoft Technology Licensing, Llc Wireless advertising to initiate pairing
US9788351B2 (en) * 2015-03-08 2017-10-10 Apple Inc. Establishing a bluetooth classic connection using an existing bluetooth low energy connection
WO2017062448A1 (en) * 2015-10-06 2017-04-13 Huf North America Automotive Parts Manufacturing Corp. System and method for locating a wireless communication device
US10560534B2 (en) * 2015-11-06 2020-02-11 Ricoh Company, Ltd. Information processing apparatus, communication terminal, and communication system for enabling a disconnect of communication between the information processing apparatus and the communication terminal
US9961750B2 (en) * 2016-02-24 2018-05-01 Leviton Manufacturing Co., Inc. Advanced networked lighting control system including improved systems and methods for automated self-grouping of lighting fixtures
US10700791B2 (en) * 2016-03-31 2020-06-30 Intel Corporation On-boarding and provisioning devices using ultrasonic wave communications
WO2017193385A1 (zh) * 2016-05-13 2017-11-16 华为技术有限公司 无线连接建立方法及设备
US20170374623A1 (en) * 2016-06-24 2017-12-28 Qualcomm Incorporated Managing Power Resources of an Internet of Everything (IoE) Device
US10057931B2 (en) * 2016-07-21 2018-08-21 Abl Ip Holding Llc Out of band diagnostics and maintenance
CN110679162B (zh) * 2017-04-11 2021-01-12 谷歌有限责任公司 经由服务位置的热点识别用户

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106664668A (zh) * 2014-07-18 2017-05-10 谷歌公司 借助蓝牙低功耗的距离管理
US20160182803A1 (en) * 2014-12-22 2016-06-23 Lg Electronics Inc. Method and apparatus for controlling a camera by using bluetooth communication in a wireless communication system
CN104898449A (zh) * 2015-06-04 2015-09-09 泰凌微电子(上海)有限公司 智能家居系统及其控制方法
CN107205210A (zh) * 2017-05-18 2017-09-26 欧普照明股份有限公司 无线网络节点的配置方法、装置、系统及计算机程序

Also Published As

Publication number Publication date
US20200084606A1 (en) 2020-03-12
US10887746B2 (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US11979274B2 (en) Network management method and apparatus
US10116489B2 (en) Apparatus and method for managing network access device
CN103458057B (zh) 一种获取资源的方法、装置和服务器
CN110072236B (zh) 设备连接方法、设备和系统
CN110830575B (zh) 智能家居设备的数据传输方法、控制系统及智能网关设备
US20080175187A1 (en) Automatic wireless network device configuration
CN109189698B (zh) 设备控制方法、装置以及物联网系统
JP6756009B2 (ja) データ伝送
CN104955028A (zh) 一种钓鱼wifi的识别方法、装置及传感器
JP6254747B2 (ja) 情報提供方法、装置、プログラム及び記録媒体
US20160132029A1 (en) Method for configuring and controlling smart home products
CN108781473B (zh) 一种在不同终端间共享文件的方法及设备
CN105612805A (zh) 可穿戴式设备的通信方法、通信系统及相关设备
WO2018049823A1 (zh) 一种自动配网方法、装置及设备、中继器
CN107205210B (zh) 无线网络节点的配置方法、装置、系统及计算机程序
KR102600894B1 (ko) 전자 장치를 이용한 위치 측정 장치 및 방법
US20160234307A1 (en) Data transmission method, device, and system
CN109413759B (zh) 一种用于进行无线连接的方法与设备
WO2018233046A1 (zh) 一种基于数据类型的通信控制方法及系统
WO2010018903A1 (en) Portable terminal and a control method of peripheral device using the same
CN104507141A (zh) 客户端接收文件的方法及接收方客户端
CN104348583A (zh) 一种信息处理方法及电子设备
CN106453670A (zh) 智能电表通信的方法、装置和系统
CN107645789A (zh) 入网的方法、装置及系统
CN207354634U (zh) 无线网络配置设备和无线网络节点的配置系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18802925

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18802925

Country of ref document: EP

Kind code of ref document: A1