Search

CN-122027888-A - Method for halow wifi wireless battery camera to access NVR

CN122027888ACN 122027888 ACN122027888 ACN 122027888ACN-122027888-A

Abstract

The invention relates to a method for enabling a halow wifi wireless battery camera to access an NVR (network video recorder), which is based on a Halow wifi network bridge and comprises the following steps of S1, controlling a Halow wifi network bridge to be connected with a halow wifi wireless battery camera, specifically, enabling the NVR to be provided with a UI (user interface) provided with a button for connecting with the NVR, enabling the halow wifi wireless battery camera to be provided with a camera pairing button, S11, clicking the NVR pairing button, enabling the NVR to send a broadcast pairing command to the Halow wifi network bridge through a network port, S12, enabling the Halow wifi network bridge to start an AP pairing state based on the broadcast pairing command, S13, clicking the camera pairing button to enable the NVR to be connected with the halow wifi wireless battery camera, S14, enabling the halow wifi wireless battery camera to send a successfully paired broadcast command to the NVR, S15, enabling the NVR to store the MAC address of the halow wifi wireless battery camera, and enabling the halow wifi wireless battery camera to store the MAC address of the NVR.

Inventors

  • WANG WEIZHI

Assignees

  • 深圳英飞拓科技股份有限公司

Dates

Publication Date
20260512
Application Date
20251107

Claims (7)

  1. 1. A method for halow wifi wireless battery camera access to NVR based on Halow wifi bridge comprising the steps of: s1, NVR controls Halow wifi network bridge to connect halow wifi wireless battery camera; Specifically, the NVR is provided with a UI interface, the UI interface is provided with a connect NVR pairing button, and the halow wifi wireless battery camera is provided with a camera pairing button, comprising the following steps: S11, clicking the NVR pairing button, and sending a broadcast pairing command to a Halow wifi network bridge through a network port by the NVR; S12, the Halow wifi network bridge starts an AP pairing state based on the broadcast pairing command; s13, clicking the camera pairing button to realize connection between the NVR and the halow wifi wireless battery camera; S14, halow wifi, the wireless battery camera sends a successfully paired broadcast command to the NVR; And S15, the NVR stores the MAC address of the halow wifi wireless battery camera, and the halow wifi wireless battery camera stores the MAC address of the NVR.
  2. 2. The method of halow wifi wireless battery camera access NVR of claim 1, further comprising the steps of: s2, if the NVR IP changes in the wake-up state of the halow wifi wireless battery camera, the halow wifi wireless battery camera updates the NVR IP address by broadcasting a search command.
  3. 3. The method of halow wifi wireless battery camera access NVR of claim 2, characterized in that in S2; Specifically, when the halow wifi wireless battery camera is in an awake state, the halow wifi wireless battery camera continuously transmits a heartbeat command (1 second interval, UDP packet) to the NVR, the NVR receives the heartbeat command, if the NVR receives the heartbeat command, the previously paired halow wifi wireless battery camera MAC address transmits a heartbeat reply command to the halow wifi wireless battery camera, if the halow wifi wireless battery camera transmits the heartbeat command to the NVR, the halow wifi wireless battery camera does not receive a reply command of the NVR, and the halow wifi wireless battery camera needs to transmit a broadcast search command, wherein the broadcast search command carries the MAC address of the previously paired NVR, the NVR receives the halow wifi wireless battery camera broadcast search command, the MAC address in the search command is the MAC address of the NVR, the reply search command is returned to the halow wifi wireless battery camera, the reply search command carries the newly allocated IP address of the NVR, and the halow wifi wireless battery camera receives and updates the new IP address of the NVR.
  4. 4. The method of halow wifi wireless battery camera access NVR of claim 1, further comprising the steps of: S3, before halow wifi the wireless battery camera enters dormancy, the Halow wifi network bridge acquires an IP address of NVR, a port for sending a heartbeat command, a heartbeat packet period, a heartbeat packet timeout time and a heartbeat packet reply command through the halow wifi wireless battery camera; And S4, after the wireless battery camera is dormant in halow wifi, the Halow wifi network bridge sends a heartbeat packet to the NVR, if the heartbeat packet replied by the NVR is not received after the time-out, the Halow wifi network bridge wakes up the halow wifi wireless battery camera remotely, the halow wifi wireless battery camera wakes up and searches for a new NVR IP address through a broadcast search command, if the search command replied by the NVR is received, the halow wifi wireless battery camera is dormant, the new NVR IP address is configured to the Halow wifi network bridge before the wireless battery camera sleeps, the Halow wifi network bridge can keep alive with the new NVR IP address in normal heartbeat, if the halow wifi wireless battery camera does not receive the search reply command of the NVR, the halow wifi wireless battery camera is considered to be disconnected, and the Halow wifi network bridge heartbeat keep alive time-out does not wake up the halow wifi wireless battery camera, so that the halow wifi wireless battery camera is frequently waken up under the condition of disconnection of the NVR, and the power consumption of the halow wifi wireless battery camera is saved.
  5. 5. The method of halow wifi wireless battery camera access NVR of claim 4, The remote wake-up command is obtained by the Halow wifi bridge through the halow wifi wireless battery camera, the remote wake-up command comprises the MAC address of the NVR, after the halow wifi wireless battery camera enters dormancy, the Halow wifi bridge replaces the halow wifi wireless battery camera and the NVR to perform heartbeat keep-alive, if a user clicks a preview button on a UI interface of the NVR, the NVR sends the remote wake-up command to the bridge, the bridge receives the remote wake-up command sent by the NVR, the content of a wake-up packet configured to the bridge by the halow wifi wireless battery camera is the same, the corresponding halow wifi wireless battery camera is woken up remotely, and the MAC address of the woken halow wifi wireless battery camera is the same as the MAC address carried in the remote wake-up command sent by the NVR.
  6. 6. The method of halow wifi wireless battery camera access NVR of claim 4, further comprising the steps of: And S5, when the NVR is powered on again and the network is disconnected and then reconnected, the NVR actively transmits a remote wake-up command, wakes up all halow wifi wireless battery cameras paired with the NVR, transmits a broadcast search command after the halow wifi wireless battery cameras are waken up, stores the searched new NVR IP, and updates the new NVR IP to the network bridge. After halow wifi the wireless battery camera is powered on again, the DHCP will reassign the IP, halow wifi the wireless battery camera sends a broadcast command to search for a new IP address for the NVR, which receives the halow wifi wireless battery camera send a broadcast command to update the IP address of the halow wifi wireless battery camera for the tunnel.
  7. 7. The method of halow wifi wireless battery camera access NVR of claim 4, further comprising the steps of: And S6, when the network bridge is powered on again or the network connected with the NVR is disconnected and then is connected again, waking up all halow wifi wireless battery cameras paired with the NVR, sending a broadcast search command after the halow wifi wireless battery camera is waken up, storing the searched new NVR IP, updating the new NVR IP to the network bridge, if the network bridge network is disconnected with the halow wifi wireless battery camera, the network bridge directly enters dormancy, and waiting for the network bridge to be on line again.

Description

Method for halow wifi wireless battery camera to access NVR Technical Field The invention belongs to a method for halow wifi wireless battery cameras to access NVR. Background Wi-Fi HaLow fills this gap by providing a wireless solution with ultra-low power consumption, which can connect more internet of things devices at a longer distance and lower power consumption than conventional Wi-Fi (wifi 2.4G, wifi G). The HaLow wifi protocol is incompatible with the conventional wifi protocol, a large number of conventional wifi NVRs and Ethernet wired NVRs are available in the market at present, and the invention aims to provide a mode capable of realizing that the halow wifi wireless battery camera of halow wifi is connected into the conventional wifi NVRs and the Ethernet wired NVRs. Disclosure of Invention The invention aims to provide a method for halow wifi wireless battery cameras to access NVR, which is used for solving the technical problems in the background art. To achieve the above object, the present invention provides a method for halow wifi wireless battery camera access to NVR, which is based on Halow wifi bridge, and is characterized by comprising the following steps: s1, NVR controls Halow wifi network bridge to connect halow wifi wireless battery camera; Specifically, the NVR is provided with a UI interface, the UI interface is provided with a connect NVR pairing button, and the halow wifi wireless battery camera is provided with a camera pairing button, comprising the following steps: S11, clicking the NVR pairing button, and sending a broadcast pairing command to a Halow wifi network bridge through a network port by the NVR; S12, the Halow wifi network bridge starts an AP pairing state based on the broadcast pairing command; s13, clicking the camera pairing button to realize connection between the NVR and the halow wifi wireless battery camera; S14, halow wifi, the wireless battery camera sends a successfully paired broadcast command to the NVR; And S15, the NVR stores the MAC address of the halow wifi wireless battery camera, and the halow wifi wireless battery camera stores the MAC address of the NVR. The method also comprises the following steps: s2, if the NVR IP changes in the wake-up state of the halow wifi wireless battery camera, the halow wifi wireless battery camera updates the NVR IP address by broadcasting a search command. In S2; Specifically, when the halow wifi wireless battery camera is in an awake state, the halow wifi wireless battery camera continuously transmits a heartbeat command (1 second interval, UDP packet) to the NVR, the NVR receives the heartbeat command, if the NVR receives the heartbeat command, the previously paired halow wifi wireless battery camera MAC address transmits a heartbeat reply command to the halow wifi wireless battery camera, if the halow wifi wireless battery camera transmits the heartbeat command to the NVR, the halow wifi wireless battery camera does not receive a reply command of the NVR, and the halow wifi wireless battery camera needs to transmit a broadcast search command, wherein the broadcast search command carries the MAC address of the previously paired NVR, the NVR receives the halow wifi wireless battery camera broadcast search command, the MAC address in the search command is the MAC address of the NVR, the reply search command is returned to the halow wifi wireless battery camera, the reply search command carries the newly allocated IP address of the NVR, and the halow wifi wireless battery camera receives and updates the new IP address of the NVR. Further, the method also comprises the following steps: S3, before halow wifi the wireless battery camera enters dormancy, the Halow wifi network bridge acquires an IP address of NVR, a port for sending a heartbeat command, a heartbeat packet period, a heartbeat packet timeout time and a heartbeat packet reply command through the halow wifi wireless battery camera; And S4, after the wireless battery camera is dormant in halow wifi, the Halow wifi network bridge sends a heartbeat packet to the NVR, if the heartbeat packet replied by the NVR is not received after the time-out, the Halow wifi network bridge wakes up the halow wifi wireless battery camera remotely, the halow wifi wireless battery camera wakes up and searches for a new NVR IP address through a broadcast search command, if the search command replied by the NVR is received, the halow wifi wireless battery camera is dormant, the new NVR IP address is configured to the Halow wifi network bridge before the wireless battery camera sleeps, the Halow wifi network bridge can keep alive with the new NVR IP address in normal heartbeat, if the halow wifi wireless battery camera does not receive the search reply command of the NVR, the halow wifi wireless battery camera is considered to be disconnected, and the Halow wifi network bridge heartbeat keep alive time-out does not wake up the halow wifi wireless battery camera, so that the halow w