Pre-provisioning initialization diagnostics for wireless networks
By establishing a self-organizing network before wireless network access initialization and collecting test reports using diagnostic equipment, the problems of improper equipment installation and hardware failure during network access initialization were solved, thereby improving installation efficiency and reducing costs.
Patent Information
- Application Number
- CN202580029516.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-06-18
- Filing Date
- 2025-04-17
- Publication Date
- 2026-11-20
AI Technical Summary
During the initialization phase of wireless network access, problems such as improper equipment installation, hardware failure, and network congestion are often encountered, resulting in time-consuming and costly installation processes. Existing technologies struggle to identify and resolve these issues before network access initialization.
Before network access initialization, a self-organizing network is established using diagnostic equipment. A diagnostic mode request is initiated using a mobile application. The network device enters diagnostic mode and generates a test report. The diagnostic equipment collects and processes these reports to identify potential problems and provides a user-friendly interface for troubleshooting.
It improved the installation speed of wireless networks, reduced the need for manpower and installation delays, promptly identified and resolved issues such as cabling faults and incorrect equipment types, and simplified the network access initialization process.
Smart Images

Figure CN123147180A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network initialization devices (e.g., nodes, sensors, etc.) in wireless networks, such as, but not limited to, Zigbee networks, for use in a variety of different applications targeting homes, offices, retail, hotels, and industries. Background Technology
[0002] In wireless networks such as those used for lighting or load control, problems can arise from a variety of causes. To address such problems, it is important to understand their nature. US 2023 / 0189410 A1 proposes a feedback mechanism in which load control devices in a lighting system can be triggered by means of mobile devices or a system controller to visualize network diagnostics and / or configuration information by appropriately controlling the corresponding lighting load of the load control devices, thereby providing visual feedback through flashing, changing intensity levels, altering colors and / or chromaticity.
[0003] When installing wireless networks (such as wireless lighting infrastructure), installers may encounter various challenges that can hinder the system's proper functioning. These challenges can include issues such as poor cabling, hardware failures, network congestion caused by other co-located wireless devices, and poor device placement. These problems are typically identified during the initialization phase, the next stage of installation where wireless devices (such as nodes, fixtures, etc.) are configured to operate within the network, enabling them to exchange data and provide application-layer functionality, as is the case with lighting systems, heating, ventilation, and air conditioning (HVAC) systems, or building management systems. However, identifying these problems during the initialization phase implies that the wireless devices have already been installed and configured, which can lead to further demands on human resources, increased latency, and additional costs for troubleshooting. In some cases, it may even require installers to completely reinstall and reconfigure the system, which can be a costly and time-consuming process. Summary of the Invention
[0004] The purpose of this invention is to improve the installation speed of wireless networks.
[0005] This objective is achieved by the diagnostic device according to claim 1, the network device according to claim 7, and the network system according to claim 11.
[0006] According to a first aspect, a diagnostic device (e.g., a mobile device or a fixed network device (e.g., a Zigbee Direct device)) is provided for controlling pre-entry initialization diagnostics of multiple network devices in a wireless network. The diagnostic device is configured to: receive a diagnostic mode request from a mobile application via a wireless connection; broadcast the diagnostic mode request via a first type of wireless communication through a first inter-network message before the network entry initialization of one or more network devices; trigger a switch to a diagnostic mode at one or more network devices; when receiving the diagnostic mode request from a mobile application on a mobile device via a second type of wireless communication through a wireless connection, establish a first ad hoc network using the first type of wireless communication including multiple network devices; use the first ad hoc network to query diagnostic test reports from multiple network devices; receive diagnostic test reports from multiple network nodes via inter-network messages; and forward the received diagnostic test reports from the multiple network devices to the mobile application via a wireless connection using the second type of wireless communication.
[0007] According to a second aspect, a network device for use in a wireless network is provided, comprising a diagnostic device according to the first aspect. The network device may be a illuminator and / or smart light and / or sensor for a lighting network.
[0008] According to a third aspect, a network system, preferably a lighting network system, is provided, comprising at least one of a diagnostic device of the first aspect and a network device of the second aspect, and a plurality of additional network devices, wherein the additional network devices are configured to receive diagnostic mode requests from the diagnostic device or from the network devices. Therefore, after the network devices have been installed in their respective locations, and before the network devices are initialized for network access, the diagnostic device or the first network device (e.g., a Zigbee Direct Connected Device (ZDD)) can initiate the transmission of a diagnostic mode request via a network-independent inter-network message (e.g., an InterPAN message) using, for example, a mobile application (e.g., a Zigbee Virtual Device (ZVD)). The receiving network device (e.g., a Zigbee device) can enter diagnostic mode in response to the received diagnostic mode request, can configure itself with predefined network parameters of the established self-organizing network, and can replay the request. This ensures that all network devices receive the diagnostic mode request and configure themselves with the predefined self-organizing network. This self-organizing network is a coordinatorless network (distributed network).
[0009] Diagnostic test reports generated by network devices in diagnostic mode can be used to detect hardware faults. Network devices in diagnostic mode can initiate device-specific self-diagnostics. After self-diagnostics are complete, network devices on a pre-configured distributed ad hoc network can send their diagnostic test reports to a diagnostic device or a first network device (as appropriate). The diagnostic device or first network device can then relay the diagnostic test reports to a mobile application for further refinement and presentation on the user interface. This helps electricians / installers understand problems with installed network devices before network integration initialization.
[0010] Furthermore, performing diagnostics during the installation phase, prior to network initialization (e.g., on brand-new network equipment), can save time and costs by identifying any faulty devices early in the installation process. This allows for timely and targeted troubleshooting of issues such as cabling faults and / or incorrect equipment types, without having to go back and identify the fault, rewire / replace the equipment, and resolve the problem. By identifying and resolving such issues with individual devices in advance, the entire network initialization process can proceed more smoothly and with fewer interruptions.
[0011] The subsequent network device initialization to the already network-initialized application network system may involve network-level and application-level network initialization. Network-level initialization may involve tasks such as grouping network devices into (sub)networks and configuring security settings for (sub)networks. Application-level initialization may involve tasks such as grouping network devices (lights in the case of a lighting control system) into control groups, associating sensors with such network devices or groups of network devices, and associating network devices and / or groups of network devices with (multiple) (user and / or system) control functions. Because the diagnostic process reduces the likelihood of interruptions during network initialization, the network device initialization to the application network system may be performed more quickly. Furthermore, the proposed pre-network initialization diagnostics aims to simplify the process of diagnosing and monitoring networks by providing a user-friendly mobile interface. This interface allows users to form networks, trigger diagnostic modes, and retrieve and process detailed diagnostic reports. Typically, grid connection initialization occurs after electricians / installers have completed their work, but even then, they still have to remain on standby during this period to resolve installation issues. The new method reduces the likelihood of needing to contact electricians / installers during the grid connection initialization phase. The user interface also helps electricians and installers identify faulty equipment / installation fixtures. Based on processed data, the user interface can provide troubleshooting guidance to electricians / installers. This is helpful because electricians / installers may not have knowledge of the products and / or their characteristics. Providing a simple and intuitive user interface improves the efficiency of the installation process.
[0012] Therefore, the diagnostic device is configured to establish a self-organizing network comprising multiple network nodes and use this self-organizing network to query diagnostic test reports from multiple network devices. Furthermore, the diagnostic device can be configured to receive diagnostic test reports from multiple network nodes via inter-network messages.
[0013] The diagnostic device is configured to receive diagnostic mode requests from a mobile application via a wireless connection (preferably a Bluetooth connection) and to forward diagnostic test reports from multiple network devices received to the mobile application via the same wireless connection.
[0014] Option 1 According to the first option of the first aspect, a diagnostic device configured as ZDD is provided.
[0015] Based on a second option built upon the first aspect or the first option of the first aspect, the first inter-network message includes first network parameters for use when joining the first self-organizing network. In this way, the first network parameters can be provided along with the first inter-network message and do not need to be predefined.
[0016] Based on the third option built upon the first option of the first aspect, the diagnostic device also includes a diagnostic test mode timer, and the diagnostic device is configured to: broadcast a "match descriptor" command in the first ad hoc network when the diagnostic test mode timer has elapsed; receive (multiple) match descriptor responses including the device's short address from network devices; and add the received short address to the short address table. In this way, the diagnostic device establishes knowledge of the device's short address.
[0017] Based on the third option of the first aspect, the diagnostic device is further configured to: send a diagnostic test report request using the corresponding short address from the short address table for each network device in the short address table; and receive a diagnostic report response from each addressed network device. In this way, the diagnostic node is able to collect relevant diagnostic reports for mobile applications.
[0018] Based on the fifth option, which builds upon the fourth option of the first aspect, the diagnostic device is also configured to signal to the first ad hoc network that the diagnostic testing phase is complete. Therefore, the network device can leave the first ad hoc network.
[0019] Option 2 According to the first option of the second aspect, the network device is configured to: before the network device's network access initialization, in response to receiving a diagnostic mode request via a second network inter-network message broadcast using a first type of wireless communication, switch to diagnostic mode to join the second ad hoc network, perform self-diagnosis in diagnostic mode, generate a diagnostic test report, replay the diagnostic mode request, and, when requested, send the diagnostic test report via the second ad hoc network.
[0020] Based on the second option of the second aspect, which builds upon the first option of the second aspect, the network device (20) is configured to join the second self-organizing network using the second network parameters provided in the second inter-network message. Using this option, the network parameters can change at runtime and do not need to be predefined.
[0021] Alternatively, based on the third option of the second aspect, which builds upon the first option of the second aspect, the network device is configured to join the second self-organizing network using predefined network parameters. Using predefined network parameters means that inter-network messages can remain brief.
[0022] Option 3 According to the first option of the third aspect, the network system also includes a mobile device, which includes a mobile application configured to send a diagnostic mode request to the diagnostic device and receive a diagnostic test report from the diagnostic device, wherein the mobile device includes a user interface for indicating the type and / or status of the current stage of the pre-entry initialization diagnostics.
[0023] Note that the above-mentioned devices may be implemented based on the arrangement of discrete hardware circuits, integrated chips or chip modules with discrete hardware components, or based on signal processing devices or chips controlled by software routines or programs stored in memory, written on computer-readable media or downloaded from a network such as the Internet.
[0024] These and other aspects of the invention will become apparent and will be explained with reference to the embodiments described below. Attached Figure Description
[0025] In the following figures: Figure 1 A schematic system architecture of a wireless lighting network with a pre-entry initialization diagnostic system according to one embodiment is shown; Figure 2 A flowchart is shown of a pre-entry initialization diagnostic process at a diagnostic device according to one embodiment; Figure 3 A flowchart of a pre-entry initialization diagnostic process at a newly installed network device, according to one embodiment, is shown. Figure 4A schematic processing and signaling diagram of a pre-entry initialization diagnostic procedure according to one embodiment is shown; Figure 5 A schematic processing and signaling diagram of a more detailed pre-entry initialization diagnostic procedure according to one embodiment is shown; and Figure 6 An example of a sequence of user interface displays during the pre-entry initialization diagnostic process is shown according to one embodiment. Detailed Implementation
[0026] Embodiments of the present invention will now be described based on Zigbee lighting networks.
[0027] Zigbee networks represent a low-power / low-cost wireless network that allows devices to communicate in a mesh topology with multiple hops. Zigbee devices offer reduced power consumption and cost, along with mesh networking capabilities, making them suitable for large-scale deployments. Examples of Zigbee mesh network applications include home automation, building automation, retail services, smart energy, and wireless indoor / outdoor lighting systems.
[0028] During initial setup, new Zigbee devices need to perform a network entry initialization procedure, which allows them to join a Zigbee network. More specifically, the Zigbee device is configured to join the network (e.g., obtaining credentials (network key), a unique ID, etc.) so that it can begin communicating with other network nodes. If no network is available to join, the network entry initialization procedure ensures the creation of a new network.
[0029] The following embodiments of the present invention relate to a pre-entry initialization diagnostic option that initiates self-diagnosis at the network device based on access to the network device via inter-network (e.g., broadcast) messages prior to network entry initialization.
[0030] Figure 1 A schematic system architecture of a wireless lighting network with a pre-entry initialization diagnostic system is shown according to one embodiment.
[0031] according to Figure 1The components used in the proposed diagnostic system may include a mobile device 30 (e.g., a smartphone, tablet, laptop, etc.) on which a mobile application 34 (“app”) is installed to initiate the diagnostic process and process received diagnostic reports for presentation on a user interface 32. A microprocessor or microcontroller (uP) 36 is provided to control the operation of the mobile device 30 as described in the following embodiments based on program routines stored in memory (not shown). Furthermore, a first radio frequency unit (RF1) 38-1 for a first type of wireless communication (e.g., with a cellular network, such as a 5G network) and a second radio frequency unit (RF2) 38-2 for a second type of wireless communication (e.g., Bluetooth, WiFi, Near Field Communication (NFC), etc.) may be provided.
[0032] Furthermore, the diagnostic device (DD) 10 (which may be implemented by a Zigbee Direct device) includes a microprocessor or microcontroller (uP) 16 to control the operation of the diagnostic device 10 as described in the following embodiments based on program routines stored in memory (not shown). Additionally, the diagnostic device 10 is configured to communicate with an upstream Zigbee device 20 (e.g., a illuminator, sensor, etc.) of the lighting network via a first wireless connection 120 using a first radio frequency unit (RF1) 18-1 for a first type of wireless communication (Zigbee communication), and with a mobile application 34 via a second wireless connection 130 using a second radio frequency unit (RF2) 18-2 for a second type of wireless communication (e.g., Bluetooth, WiFi, NFC, etc.), wherein the first wireless connection allows the transmission of inter-network messages that can be sent to the upstream Zigbee device 20 prior to network access initialization and the establishment of a federated network.
[0033] Note that, similar to mobile device 30 and diagnostic device 10, the upstream Zigbee device (network device) 20 includes a microprocessor or microcontroller (not shown) configured to control the operation of the Zigbee device 20 as described in the following embodiments based on program routines stored in memory (not shown). Furthermore, at least one radio frequency unit (not shown) is provided in the Zigbee device 20 for Zigbee communication with other Zigbee devices 20.
[0034] Inter-network messaging will be understood as a type of message that can be transmitted across different networks via connections or communications between two or more separate networks (e.g., through public networks such as the Internet). Inter-network communication enables the exchange of data and information between network devices that are not in the same network and / or between different networks, allowing devices (whether or not they are in a network) to access resources and services on other networks.
[0035] In the above embodiments, the diagnostic device 10 can be implemented as a Zigbee Direct Device (ZDD), wherein the first wireless connection 120 is a Zigbee connection and the second wireless connection 130 is a Bluetooth Low Energy (BLE) connection. Zigbee Direct is an extension of Zigbee that allows users to seamlessly interact directly with their Zigbee network using Zigbee Virtual Devices (ZVDs) such as smartphones or other BLE devices without the need for a hub. With Zigbee Direct, users can directly access and control Zigbee devices and networks, making Zigbee devices more accessible to users and the ecosystem of other devices. Zigbee Direct is a protocol standard that enables devices with Bluetooth Low Energy (BLE) capabilities, such as smartphones or tablets, to access and optionally control certain Zigbee devices on a network. The Zigbee Direct protocol describes two types of devices: Zigbee Virtual Devices (ZVDs) and Zigbee Direct Devices (ZDDs). A ZVD acts as a complete BLE device communicating with a ZDD via BLE. ZVDs can also have the option to run a Zigbee stack; however, this is not required. In practice, a ZVD can be a smartphone application, such as mobile application 34 of mobile device 30, which acts as a network controller and is able to perform network access initialization for other ZDDs on the network and interact with other ZDDs. Another type of ZDD is a full Zigbee device that runs an additional BLE stack that enables BLE communication with the ZVD.
[0036] Note that the diagnostic device 10 and the mobile device 30 can be integrated into a single mobile device; for example, the mobile application 34 can be set on the diagnostic device 10.
[0037] according to Figure 1 The upstream Zigbee device 20 can be installed in an office building, as shown in the lighting plan 200, where the black dots represent Zigbee devices 20 and the connecting lines indicate the wireless connection 22 of the Zigbee network.
[0038] Diagnostic device 10 can be provided to agents and / or distributors of lighting networks to facilitate on-site installation. It can be a portable, battery-powered device, eliminating the need for power cords for electricians / installers.
[0039] Zigbee device 20 may include networked illuminators (e.g., light-emitting diode (LED) illuminators), smart (LED) lights, discrete or integrated sensors, and other networked devices with established networking and cloud architectures to enable data collection and sharing, adding intelligence to all illuminated spaces. Smart lights may be LED-based lamps, gas discharge lamps, or filament bulbs, along with any associated brackets, housings, or other such enclosures, arranged to emit light into the environment.
[0040] As Figure 1 Alternatively to the embodiments, the environment may be an outdoor space, such as a park, garden, road, or outdoor parking area, or a partially covered space, such as a stadium, structured parking facility, or pavilion, or any other space, such as the interior of a ship, train, or other vehicle, or any combination of these possibilities.
[0041] Lighting fixtures can take any suitable form, such as ceiling or wall-mounted lights, floor-standing lights, wall washers, chandeliers, or less traditional forms, such as recessed lighting built into furniture items, building materials such as glass or concrete, or any other surface.
[0042] Smart lights and / or lighting fixtures may be equipped with wireless communication interfaces, allowing them to be remotely controlled via lighting control commands received from user devices (not shown) (e.g., smartphones, tablets, laptops, or desktop computers), or via wireless switching devices (e.g., wall switches) and / or based on sensor readings received from one or more (hardware) sensors.
[0043] (Hardware) sensors can be configured to collect data about the illuminated environment, including motion, light levels, occupancy, people count, temperature, humidity, air quality, etc. The location and density of the sensors can depend on ceiling height, spatial configuration, and other factors. In the example, at least some hardware sensors (e.g., using passive infrared (PIR) or microwave) can also report occupancy by emitting broadcast / multicast signals (directly or via a Zigbee parent node).
[0044] Wireless communication between Zigbee devices 20 (e.g., illuminators, lamps, and / or sensors) can conform to the ZigBee Pro standard (IEEE 802.15.4, WPAN) in the 2.4 GHz band within a predetermined range (e.g., 10 m) from one or more ZigBee nodes to form a mesh network.
[0045] In this embodiment, the network access initialization process of Zigbee device 20 can be accelerated by a pre-network access initialization diagnostic process. This can be achieved by initiating a diagnostic process at Zigbee device 20 after it has been installed but before network access initialization.
[0046] In the example, during the pre-network initialization check described above, a "sanity check" may be performed to ensure that the correct equipment is installed (e.g., the correct version and / or software), and / or to ensure that the equipment is powered on and is starting up, and / or to ensure that all nodes are taken into account (e.g., the correct addresses and / or connections).
[0047] Furthermore, because the system has not yet undergone network initialization at this stage—in other words, the device is in a brand-new factory state and has not yet established a network—a self-organizing diagnostic network can be established for the pre-network initialization diagnostic process. Such a self-organizing network can be created between devices without the use of other network devices. In a self-organizing network, one device connects directly to another. This connection allows two or more devices to communicate with each other, share resources, and in some cases, share, for example, an internet connection. Self-organizing networks are very flexible and can consist of many devices, each connected in a different way, and each providing different resources to the network. Devices can connect to a self-organizing network either by directly plugging a physical cable into another device or via radio signals such as Wi-Fi, Bluetooth, or cellular signals. The connection method is irrelevant and does not affect the network's functionality. However, the connection method does affect the range and mobility of the devices.
[0048] Zigbee devices 20 with radio frequency (RF) units (lighters, sensors, etc.) are installed, for example, in buildings. During or after installation, inter-network messages, such as non-network bound broadcast messages (NNBB), can be sent from diagnostic device 10 under the control of mobile application 34 (which acts as an initiator node).
[0049] NNBB can be Zigbee InterPAN messages, which are messages designed to communicate with devices from different Personal Area Networks (PANs) with different PAN identifiers (PAN IDs). The Zigbee specification defines InterPAN communication as a mechanism through which Zigbee devices can exchange information with devices in their local area without having to form or join the same Zigbee network.
[0050] When the Zigbee device 20 receives an NNBB or other inter-network message as a trigger message from the diagnostic device 10, it can use preset or derived network parameters from the NNBB (e.g., to establish a self-organizing network), replay the trigger message, enter diagnostic mode (in which it may be insensitive to further trigger messages), and report a diagnostic report to the initiator node.
[0051] In the example, an ad hoc diagnostic network can be created in response to an InterPAN message or a Zigbee direct message. The ad hoc diagnostic network uses, for example, a broadcast messaging system (e.g., in the form of InterPAN communication as a mechanism through which Zigbee device 20 can exchange information with devices in its local area without having to form or join the same Zigbee network).
[0052] The initiator node or mobile application 34 can then collect diagnostic reports and verify that all devices in the lighting plan 200 have been considered and are available (e.g., ready for network initialization, fault-free). Optionally, the initiator node can switch or trigger all diagnosed Zigbee devices 20 to output a light or sound feedback signal (e.g., a flashing light), where those Zigbee devices 20 that do not output a feedback signal are faulty. Additionally or alternatively, the initiator node can be configured to pick out (e.g., disable, report, etc.) Zigbee devices 20 with reported errors (in the network). Zigbee devices 20 diagnosed as normal can then be reset for network initialization in a normal manner.
[0053] If the Zigbee devices 20 can automatically initialize for network access, they can be configured to wait for the network access initialization process until they are triggered (i.e., based on the triggered pre-network access initialization step).
[0054] Alternatively, when the network device is equipped with a radio that supports both Zigbee and Bluetooth (as is often the case in dual-radio or time-division multiplexing radio solutions today), the mobile phone can connect to the first network device via a Bluetooth (BLE) link. The first network device is configured to receive a diagnostic mode request from the mobile phone (application) via a wireless connection (preferably a Bluetooth connection) and switch to diagnostic mode, in which the first network device broadcasts the diagnostic mode request to other network devices via inter-network messages. In this method, the first network device essentially assumes the role of both the diagnostic device 10 and the first Zigbee device 20 to which the diagnostic device 10 is connected. This is made possible by the fact that the first network device is a Zigbee Direct device, preferably with a dual-radio setup.
[0055] When all network devices are dual-radio Zigbee Direct devices, the mobile phone can initiate pre-entry initialization diagnostics at any of the network devices. Furthermore, the network devices' Bluetooth capabilities can then be used to locate devices (that are correctly powered but) that have failed diagnostic tests, for example, because they come from a batch with an incorrect firmware version. In this case, the Bluetooth link can also be used to upgrade the device firmware.
[0056] In the following text, see references Figure 2 and Figure 3 This describes a pre-entry network initialization diagnostic process according to one embodiment.
[0057] During network setup, the installer installs Zigbee devices (such as fixtures) and powers all devices. Then, the installer connects ZDD (e.g., Figure 1 The diagnostic device 10) is placed on the installed Zigbee device (e.g., Figure 1 The Zigbee device 20 is located nearby. Additionally, installers can be provided with one or more mobile diagnostic applications (e.g., Figure 1 Mobile applications 34) on mobile devices (e.g. Figure 1 The mobile device 30 will act as the ZVD. The installer then selects the correct nearby ZDD, for example via Bluetooth through the ZVD's mobile app, and via the mobile app's user interface (e.g., Figure 1 32) Initiate diagnostic mode via the user interface.
[0058] Figure 2 A flowchart is shown of a pre-entry initialization diagnostic process at a diagnostic device, which has a predefined distributed Zigbee network formed according to one embodiment.
[0059] In step S201 (RX DMRQ), ZDD receives a diagnostic mode request from the mobile application and broadcasts the request using a Zigbee InterPAN message in step S202 (BCDMRQ).
[0060] In step S203 (RX DTRPs), after the diagnostic test is completed, ZDD receives the diagnostic test report generated by the Zigbee device and sent to the host ZDD along with (minimum) device identity.
[0061] Then, in step S204, ZDD relays / forwards the received diagnostic test report (FWMA) to the mobile application, for example via Bluetooth.
[0062] In step S205 (PRES), the mobile application collects and processes the forwarded diagnostic test report and presents the results on the mobile application's user interface.
[0063] Installers can now view and optionally interact with Zigbee devices by identifying them, for example via a mobile app, which can trigger visual recognition of the identified Zigbee devices (such as flashing LEDs, fixtures, illuminators, etc.).
[0064] Optionally, in step S206 (INSTR), the mobile application may also provide troubleshooting guidance to initiate troubleshooting for specific Zigbee devices that have failed diagnostics or indicate faults.
[0065] Figure 3 A newly installed Zigbee device (e.g., according to one embodiment) is shown. Figure 1 The flowchart of the pre-entry initialization diagnostic process at the Zigbee device 20.
[0066] In step S301 (RX DMRQ), the newly installed Zigbee device receives a diagnostic mode request from ZDD.
[0067] Then, in step S302 (D-MD) In step S303 (IGN), the receiving Zigbee device checks whether it has been set to diagnostic mode. If so, the process branches to step S303, in which the receiving Zigbee device ignores the request.
[0068] Otherwise, the process continues to step S304 (D-MD), in which the received Zigbee device enters diagnostic mode. Diagnostic mode can be time-dependent. Upon the expiration of a predetermined time period, the received Zigbee device can exit diagnostic mode.
[0069] In step S305 (CFG NW-PAR), the receiving Zigbee device in diagnostic mode can configure Zigbee parameters (such as PAN ID, extended PAN ID, channel, etc.) to join a Zigbee self-organizing network. This can be a distributed network without any form or joining process (i.e., a coordinatorless network).
[0070] In the subsequent or preceding step S306 (RBC DMRQ), after entering diagnostic mode, the receiving Zigbee device can, for example, use InterPAN messages (multiple) to further replay the received diagnostic mode request to other Zigbee devices. By replaying the received diagnostic mode request, the likelihood of each device receiving the diagnostic mode request is significantly increased, and ultimately all Zigbee devices can finally belong to the same Zigbee ad hoc network.
[0071] In step S307 (JN AH-NW), the received Zigbee device joins the Zigbee ad hoc network, and then self-diagnostic testing can begin in step S308 (SLF-D). Thereby, all received Zigbee devices run their own device-specific tests to test their internal / external interfaces and generate diagnostic reports.
[0072] Finally, in step S309 (TX DTR), after the self-diagnostic test is completed, the receiving Zigbee device can send the diagnostic report along with the (minimum) device identity of the Zigbee device to the host ZDD.
[0073] Figure 4 A schematic processing and signaling diagram of a pre-entry initialization diagnostic process according to one embodiment is shown, wherein a diagnostic device (e.g., ZDD) (DD) 10 is configured to initiate a self-diagnostic and reporting process at multiple network devices (N1 to Nn) 20.
[0074] The diagram indicates the network entities involved (i.e., diagnostic device 10 and network device 20) at the top, with arrows indicating a continuous message flow in a time-related order, and boxes indicating processing steps as time flows from top to bottom.
[0075] Initially, the pre-entry initialization diagnostic process is triggered at diagnostic device 10 via a diagnostic mode request, for example, issued by a mobile application stored on or connected to another mobile device (not shown) on diagnostic device 10. In response, diagnostic device 10 broadcasts the diagnostic mode request to network device 20 in step S401 (DMRQ) via multiple inter-network messages (e.g., multiple ZigbeeInterPAN messages).
[0076] Upon receiving multiple diagnostic mode requests, the receiving network node 20 initiates steps S402-1 to S402-n (J / D), in which it enters diagnostic mode (which can last for a predetermined period and then exit again), or ignores it if already set to diagnostic mode, and replays the diagnostic mode request message to other network devices 20 using inter-network messages (e.g., Zigbee InterPAN). As an additional action to step S402, the receiving network device 20 in diagnostic mode configures network parameters (e.g., PAN ID, extended PAN ID, channel, etc.) to join an ad hoc network, which can be a distributed, coordinatorless network without any formal joining process. Finally, after joining the pre-configured ad hoc network, the receiving network device 20 then begins self-diagnostic testing.
[0077] After the diagnostic test is completed, network device 20 sends its diagnostic report along with (minimum) device identity to diagnostic device 10 in steps S403-1 to S403-n (DTR1-DTRn).
[0078] In step S404 (PRES), the diagnostic device 10 collects and processes the received diagnostic report and presents the results on the user interface.
[0079] In the following text, see references Figure 5 A more detailed example of a pre-entry initialization diagnostic process for a Zigbee lighting network, including preparation and incidental steps, is described according to one embodiment.
[0080] Figure 5 A schematic diagram of the pre-entry initialization diagnostic process according to an embodiment is shown.
[0081] The processing and signaling steps are performed at / between the mobile device (MD) 30 (with mobile application (MA)), the diagnostic device (DD) 10, and the Zigbee device (Ni) 20, which represents multiple Zigbee devices (such as luminaires, sensors, etc.) to be initialized for the Zigbee lighting network.
[0082] The initial preparation steps S501 to S507 are part of the startup phase.
[0083] In step S501 (PC), Zigbee device 20 (and possibly other Zigbee devices awaiting network initialization) is power-cycled (e.g., rebooted), a process of shutting down and then turning the hardware back on. This action can be used to clear any current problems or temporary errors in the device. In response, in step S502 (BU), Zigbee device 20 starts up in normal operating mode to serve as a network node in the Zigbee network. Then, in step S503 (SC), Zigbee device 20 performs a periodic scan of the Zigbee network. Since Zigbee device 20 is not yet a member of the Zigbee network, it scans channels to find open networks to associate with. Once it finds a suitable Zigbee network, it attempts to join that Zigbee network and obtain credentials. If Zigbee device 20 finds more than one available Zigbee network, it can try to join one of the available Zigbee networks one by one.
[0084] In step S504 (PO), the diagnostic device 10 is turned on, for example, by an installer who wants to start the diagnostic process.
[0085] In the subsequent or preceding step S505 (LMA), the mobile application is launched or activated, for example, by an installer, at the mobile device 30. Then, in step S506, the mobile application on the mobile device 30 sends a signaling (SC + CNT) via Bluetooth, for example, to search for and connect to the ZDD (i.e., diagnostic device 10). In step S507 (CNTD), the diagnostic device 10 signals to the mobile device 30 that it has connected.
[0086] Through the following steps S508 to S516, the Zigbee device to be initialized for network access is switched to diagnostic mode and a diagnostic test is initiated.
[0087] In step S508 (TRDM), the mobile application of mobile device 10 sends a trigger message / signal to diagnostic device 10 to trigger diagnostic mode at diagnostic device 10. In response, diagnostic device 10 starts a diagnostic test mode timer in step S509 (ST DMT). The diagnostic test mode time period (duration) counted by the diagnostic test mode timer can be determined to correspond to the maximum time required for any Zigbee device to complete its own diagnosis, plus some additional time as a buffer.
[0088] Then, in step S510 (SW N / W), the diagnostic device 10 switches to a predefined Zigbee ad hoc network. The parameters for switching to the predefined Zigbee network may include one or more of the following: channel number, PAN ID, extended PAN ID, etc. These parameters can be pre-programmed on the diagnostic device 10, and upon receiving a diagnostic mode request, the diagnostic device 10 can configure the Zigbee stack to switch to the predefined Zigbee ad hoc network and announce the predefined Zigbee ad hoc network. In step S511 (SW N / W), the mobile application of the mobile device 10 is signaled to notify of the switch to the predefined Zigbee ad hoc network.
[0089] In step S512 (BC DMRQ) below or before, diagnostic device 10 broadcasts a diagnostic mode request to the Zigbee device (including Zigbee device 20) to be initialized for network access using an inter-network message (e.g., an InterPAN message).
[0090] In response to the received diagnostic mode request, Zigbee device 20 (and possibly other receiving Zigbee devices) switches network device 20 to diagnostic mode in step S513 (SW DM). If it is already set to diagnostic mode, it can ignore the diagnostic mode request.
[0091] Then, in step S514 (ST DMT), Zigbee device 20 (and possibly other receiving Zigbee devices) can start a diagnostic test mode timer configured to count a predefined diagnostic test mode time period (duration). The diagnostic test mode time period can be determined based on the maximum time period required for any Zigbee device to complete its own diagnostics, plus some additional time as a buffer. After this time period is completed, Zigbee device 20 can switch back to normal operating mode.
[0092] In step S515 (SW N / W), Zigbee device 20 (and possibly other receiving Zigbee devices) switches to the same predefined self-organizing network as diagnostic device 10.
[0093] In step S516 (R-BC DMRQ) (step S516 can be executed repeatedly (e.g., 3 times)), Zigbee device 20 (and possibly other receiving Zigbee devices) replays the received diagnostic mode request using multiple inter-network messages (e.g., multiple InterPAN messages). The replay message transmission can be periodic, with some random backoff. This increases the chance that the replayed diagnostic mode request is delivered to the desired Zigbee device awaiting network initialization and thus switched to diagnostic mode. However, it may not be guaranteed that all Zigbee devices will be switched to diagnostic mode, for example, if they are not operating correctly.
[0094] The next steps involve performing diagnostic tests on Zigbee device 20 and other Zigbee devices awaiting network initialization.
[0095] In step S517 (ST STD), Zigbee device 20 begins self-diagnostic testing, which can be based on (device type). The tests may include one or more of the following: peripheral testing, interface testing, and communication testing.
[0096] Then, in step S518 (DTRP), Zigbee device 20 (and other Zigbee devices under test) prepare a diagnostic report, which may include other device details (including, for example, device short address, IEEE address, device model ID, type ID, etc.).
[0097] The completion of the diagnostic test phase is defined in step S519 (EL DMT) when the diagnostic test mode timer at diagnostic device 10 expires. In response, diagnostic device 10 can broadcast a standard Zigbee "match descriptor" command to Zigbee device 20 (and other Zigbee devices under test) in a predefined ad hoc network in step S520 (BC MDC). Zigbee device 20 (and other receiving Zigbee devices) responds to diagnostic device 10 in step S521 (RX MDR(SAi)) with a match descriptor(s) response including the device's short address. In step S522 (ADD SAi), diagnostic device 10 adds the received device(s) short address(s) to its short address table.
[0098] Steps S523 to S525 can be repeated cyclically for all Zigbee devices (including Zigbee device 20) that respond with a matching descriptor command. In step S523 (DTRRQ(SAi)), diagnostic device 10 sends a diagnostic test report request to each Zigbee node using the corresponding short address derived from the short address table. In response, diagnostic device 10 receives a diagnostic report response with a separate diagnostic test report from each addressed Zigbee node (including Zigbee device 20) in step S524 (DTRi). In step S525 (DTRi), diagnostic device 10 forwards the diagnostic test report of the currently received corresponding Zigbee device to the mobile application.
[0099] In step S526 (DTRi CLT), the diagnostic test reports received by all responding Zigbee devices (including Zigbee device 20) are collected by the mobile application at mobile device 30.
[0100] In step S527 (FDT), the diagnostic device 10 signals to the Zigbee self-organizing network that the diagnostic test phase has been completed.
[0101] In response, the receiving Zigbee devices (including Zigbee device 20) properly exit diagnostic mode and the predefined ad hoc network in step S528 (EX DM). Then, in step S529 (SW NM), they switch back to their normal operating mode. In this example, factory settings can be maintained during diagnostic mode.
[0102] The options for a proper exit could be: the Zigbee device exiting diagnostic mode after a predefined time has elapsed, or the device power cycle forcing the Zigbee device to always restart to its normal operating mode (i.e., diagnostic mode is a special on-demand mode initiated via a custom tool), or at the end of the diagnostic process, the diagnostic device 10 could broadcast another command on a predefined self-organizing network to require all Zigbee devices to exit diagnostic mode, or the user could abort the ongoing diagnostic process via a mobile application, and the diagnostic device 10 could then broadcast another command on a predefined self-organizing network to require all Zigbee devices to exit diagnostic mode.
[0103] In step S530 (ANA / DSP), the mobile application analyzes the collected diagnostic test reports for each tested Zigbee node (including Zigbee node 20) and outputs (e.g., displays) the combined diagnostic report on the user interface.
[0104] In optional step S531 (UA Ni), the user or installer can open each tested Zigbee device (including Zigbee device 20) to view diagnostic test details, identify troubleshooting instructions, etc.
[0105] Finally, in step S532 (STP MA), the mobile application can be exited or reset, etc.
[0106] Figure 6 This illustrates, according to one embodiment, during the pre-access initialization diagnostic process, in a mobile device (e.g., Figure 1 An example of a sequence of displayed information is shown on the display (e.g., touchscreen) 322 of the user interface 32 of the mobile device 10. The sequence display report may include information such as a list of nodes, type, diagnostic test status, and identified troubleshooting options.
[0107] exist Figure 6 In the middle, the information sequence is displayed continuously from left to right.
[0108] In the first display step S601, a "Connect to Device" button (CNCT) 321 may be displayed, which can be activated (e.g., touched) to initiate a search and connection process (e.g., combining). Figure 5 (as explained in step S506).
[0109] The second display step S602 can be initiated after button 321 has been activated.
[0110] The remaining display steps S602 to S606 indicate the type or status of the current stage of the diagnostic process in the central field, and include a ring indicator field 323 indicating how much of the stage has been completed. Furthermore, the current stage is marked (e.g., by a bold ring) in the upper diagnostic status field 325, which shows the successive stages of the pre-network initialization diagnostic process (e.g., connection (C), network preparation (P), diagnostics (D), reporting (R), and completion (F)). Completed stages can also be indicated by a filled ring in the diagnostic status field.
[0111] Obviously, other suitable status indicators can be used, such as bars, symbols, and numbers of various shapes and positions.
[0112] The second display step S602 relates to the establishment of a connection (“EC”) between the mobile device and the diagnostic device. Here, the increasing angular fill length of the ring indicator field 323 can indicate the status of the connection establishment. The connection is established when the ring indicator field 323 is fully filled.
[0113] The third display step S603 involves the diagnostic device preparing the ad hoc network (“PN”). Here, the increasing angular fill length of the ring indicator field 323 indicates the status of network preparation. When the ring indicator field 323 is fully filled, the ad hoc network is ready. Note that the diagnostic status field 325 indicates that the connection phase (C) has been completed and the network preparation phase (P) is still in progress.
[0114] The fourth display step S604 relates to the self-diagnostic status of the network device. Here, the increasing angular fill length of the ring indicator field 323 indicates the status of the diagnostic test mode timer. Here, 75% of the diagnostic test time period has elapsed. When the ring indicator field 323 is fully filled, the diagnostic test timer has expired. Note that the diagnostic status field 325 indicates that the connection phase (C) and network preparation phase have been completed, and the diagnostic phase (D) is still running.
[0115] The fifth step, S605, relates to the status of the network device's report generation. Here, the increasing angular fill length of the ring indicator field 323 indicates the number of diagnostic test reports received. When the ring indicator field 323 is fully filled, all diagnostic test reports have been received. Note that the diagnostic status field 325 indicates that the connection phase (C), network preparation phase, and diagnostic phase (D) have been completed, and the report generation phase is still running.
[0116] Finally, the sixth display step S606 relates to the final status of the diagnostic process. Here, the angular fill length of the ring indicator field 323 can indicate the final number of diagnostic test reports received, for example, as part of the maximum number of diagnostic test reports that could be received. When the ring indicator field 323 is fully filled, the maximum number of diagnostic test reports has been received. Here, 190 out of 200 possible diagnostic test reports have been received. Note that the diagnostic status field 325 indicates that all five stages of the diagnostic process have been completed.
[0117] In the modification of the above embodiments, network devices undergoing network initialization can report their individual diagnostic results (diagnostic test reports) before relaying diagnostic mode requests to other network devices. This allows for delaying test responses from other network devices (devices not yet switched to diagnostic mode) by adding a random backoff period for relaying or diagnostics, which helps prevent message spikes (message storms) within ad hoc networks.
[0118] In another modification of the above embodiments, network devices undergoing network initialization can report their individual diagnostic results (diagnostic test reports) back to the diagnostic device using appropriate inter-network messages (e.g., Zigbee InterPAN messages). Thus, the diagnostic device does not need to establish a self-organizing network, but it does need to listen for broadcast inter-network messages. This method has some limitations because, without using relays, it is limited to the single-hop range of inter-network messages.
[0119] In other embodiments, diagnostic test reports from different network devices can be aggregated to compress the response stream. This can be achieved by grouping the diagnostic reports together, or by comparing the diagnostic reports and grouping addresses into a single report for diagnostic test reports with the same or at least similar content.
[0120] The above embodiments can be implemented in other networks that provide inter-network messaging or allow vendor-specific extensions, such as Bluetooth or Thread or other suitable wireless networks.
[0121] Furthermore, the established self-organizing network can be used for signaling associated with the later network entry initialization of the tested and usable network devices, or with signaling associated with the lighting parameters of the illuminators setting up the lighting network. In the example, the self-organizing network can be used to program and / or configure at least some network entry initialization or lighting parameters. This can be achieved by defining a more structured InterPAN command frame format (or another inter-network message format) to address this extended network entry initialization or lighting setup functionality.
[0122] In summary, methods and apparatus have been described for providing pre-entry initialization diagnostics for wireless networks (e.g., Zigbee, Bluetooth, or Thread networks) using direct communication technologies that provide inter-network messaging (e.g., InterPAN, Zigbee Direct, etc.), for exchanging information with devices in the local area of the wireless network without forming or joining the network. This enables pre-entry initialization diagnostics for installed nodes in a wireless network (e.g., a Zigbee wireless lighting infrastructure) prior to network entry initialization, where nodes (e.g., lighting nodes) can be configured to join a distributed self-organizing network (e.g., a predefined Zigbee, Bluetooth, or Thread network) and perform self- and network diagnostics. The diagnostic results can then be processed and presented, for example, via a simple and intuitive user interface of a mobile device wirelessly connected to the diagnostic device using the direct communication technology.
[0123] While the invention has been described in detail with reference to the accompanying drawings and the foregoing description, such description is to be considered illustrative or exemplary, and not restrictive. The invention is not limited to the disclosed embodiments.
[0124] This invention can be implemented in various types of (professional) networked lighting systems in offices, healthcare, industry, retail, hotels, and homes, as well as in agricultural applications and outdoor applications (e.g., parking lots / garages, stand-alone outdoor networks) or other wireless networks that enable RF sensing.
[0125] Furthermore, this invention can be applied to any wireless network (e.g., Bluetooth Low Energy (BLE) or BLE mesh network, or Thread).
[0126] By studying the accompanying drawings, the disclosure, and the appended claims, those skilled in the art can understand and implement other variations of the disclosed embodiments in practicing the claimed invention. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite articles "a" or "an" ("a" or "an") do not exclude multiple. A single processor or other unit can implement the functions of several items described in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that combinations of these measures cannot be used advantageously. The foregoing description details certain embodiments of the invention. However, it should be understood that the invention can be practiced in many ways, however detailed it may appear in the text, and is therefore not limited to the disclosed embodiments. It should be noted that the use of specific terms when describing certain features or aspects of the invention should not be construed as implying that the term is hereby redefined as limited to any particular characteristic of the invention including the feature or aspect associated with that term. Furthermore, the expression "at least one of A, B, and C" should be understood as disjunctive, i.e., as "A and / or B and / or C".
[0127] A single unit or device can perform the functions of several items described in the claims. The fact that certain measures are described only in mutually different dependent claims does not indicate that a combination of these measures cannot be used advantageously.
[0128] Similar to Figures 2 to 6 The operations described herein can be implemented as program code devices of computer programs and / or dedicated hardware of gateway or lighting devices, respectively. Computer programs can be stored and / or distributed on suitable media, such as optical storage media or solid-state media. Computer programs can be provided together with or as part of other hardware, but can also be distributed in other forms, such as via the Internet or other wired or wireless telecommunications systems.
Claims
1. A diagnostic device (10) for controlling pre-entry initialization diagnostics of multiple network devices (20) in a wireless network, wherein the diagnostic device (10) is configured to: - Before the network access initialization of one or more network devices (20), a switch to diagnostic mode is triggered at the one or more network devices (20) by broadcasting a diagnostic mode request via a first type of wireless communication via a first inter-network message. When a diagnostic mode request is received from a mobile application (34) on a mobile device (30) via a wireless connection (130) using a second type of wireless communication, a first self-organizing network is established using the first type of wireless communication including the plurality of network devices (20). - Use the first self-organizing network to query diagnostic test reports from the plurality of network devices (20); - Receive diagnostic test reports from the plurality of network nodes (20) via inter-network messages; as well as - Using the second type of wireless communication, the received diagnostic test reports of the plurality of network devices (20) are forwarded to the mobile application (34) via the wireless connection (130).
2. The diagnostic device (10) according to claim 1, wherein the diagnostic device (10) is configured as a Zigbee direct-connect device.
3. The diagnostic device (10) according to claim 1 or 2, wherein the first inter-network message includes a first network parameter for use when joining the first self-organizing network.
4. The diagnostic device (10) according to claim 2, wherein the diagnostic device (10) further comprises a diagnostic test mode timer, and the diagnostic device (10) is configured to: - When the diagnostic test mode time has elapsed, broadcast a "match descriptor" command in the first self-organizing network; - Receive a response from the network device (20) including a plurality of matching descriptors containing the device's short address; and - Add the received short address to the short address table.
5. The diagnostic device (10) according to claim 4, wherein the diagnostic device (10) is further configured to: - For each network device in the short address table, a diagnostic test report request is sent using the corresponding short address from the short address table; and - Receive the diagnostic report response from each addressed network device.
6. The diagnostic device (10) according to claim 5, wherein the diagnostic device (10) is further configured to: - Signal the completion of the diagnostic testing phase to the first self-organizing network.
7. A network device (20) for use in a wireless network, the network device comprising a diagnostic device according to claim 2 or any one of claims 3-6 which are dependent on claim 2.
8. The network device (20) according to claim 7, wherein the network device (20) is configured to: - Before the network device (20) initiates its network access, it switches to diagnostic mode in response to receiving a diagnostic mode request via a second inter-network message broadcast using the first type of wireless communication, so as to: - Join a second self-organizing network; - Perform self-diagnosis in the diagnostic mode and generate a diagnostic test report; - Replay the diagnostic mode request; as well as - When requested, the diagnostic test report is sent via the second self-organizing network.
9. The network device (20) of claim 8, wherein the network device (20) is configured to join the second self-organizing network using second network parameters provided in the second inter-network message.
10. The network device (20) of claim 8, wherein the network device is configured to join the second self-organizing network using predefined network parameters.
11. A network system, comprising: - At least one of the diagnostic device (10) according to claim 1 and the network device (20) according to claim 8; as well as - According to claim 8, the additional network devices are configured to receive the diagnostic mode request from the diagnostic device (10) or from the network device (20).
12. The network system according to claim 11, further comprising: - A mobile device (30) including a mobile application (34) configured to send a diagnostic mode request to the diagnostic device (10) and receive a diagnostic test report from the diagnostic device (10), wherein the mobile device (30) includes a user interface (32) for indicating the type and / or status of the current stage of the pre-entry initialization diagnostic.
Citation Information
Patent Citations
Network diagnostics using color output of lamps
US20230189410A1
