Halow wifi-based NVR and camera batch pairing method and system
By building a halow wifi bridge, batch pairing of NVR and cameras is achieved, the problem of pairing chaos in the existing technology is solved, and the stable connection between NVR and cameras is ensured, which is suitable for factory batch pairing.
Patent Information
- Application Number
- CN202411137547.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-29
AI Technical Summary
The existing NVR and camera pairing methods based on halow wifi adopt a one-to-one button method, which leads to pairing chaos. Especially because the transmission distance of halow wifi is longer and has stronger penetration, resulting in serious pairing errors and chaos.
By building a halow wifi bridge, the camera and the bridge are connected through a wireless network, the NVR and the bridge are connected through a wired network, the NVR sends broadcast scanning commands, the camera monitors and parses the command to obtain connection information, and disconnects the connection from the bridge and NVR Pair to realize batch pairing.
It avoids pairing chaos and realizes stable one-to-one pairing connection between NVR and cameras, which is suitable for batch pairing in factories, reducing the user's need to re-pair.
Smart Images

Figure CN119052948A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless package batch pairing, and in particular to a method and system for batch pairing of NVR and cameras based on halow wifi. Background Art
[0002] Compared with traditional Wi-Fi, the halow wifi protocol adopts the IEEE 802.11ah standard and can operate in the 730M~950M frequency band, providing a longer transmission distance than 2.4GHz and 5GHz Wi-Fi at the same transmission power, achieving 1km video transmission and easily penetrating 7-story floors.
[0003] In the prior art, the pairing process of the Halow WiFi set based on Halow WiFi adopts a one-to-one pairing method through buttons. This pairing method may cause pairing confusion, that is, the camera of the Halow WiFi set will be paired to the NVR of another set. Since the transmission distance of Halow Wiif is longer and the penetration is stronger, the pairing confusion will be more serious. Summary of the invention
[0004] The embodiment of the present invention provides a method and system for batch pairing of NVRs and cameras based on halow wifi, aiming to solve the problem of confusion in pairing caused by a one-to-one pairing method using buttons when pairing NVRs and cameras in the prior art.
[0005] In a first aspect, an embodiment of the present invention provides a method for batch pairing of NVRs and cameras based on halowwifi, comprising:
[0006] Build a halow wifi bridge, and connect the camera in the halow wifi kit to the halow wifi bridge via a wireless network;
[0007] Establishing a connection between the NVR in the halow wifi kit and the halow wifi bridge via a wired network;
[0008] The NVR sends a broadcast scanning instruction through the wired network;
[0009] The camera monitors and receives the broadcast scanning instruction, parses the broadcast scanning instruction to obtain connection information, pairs with the NVR according to the connection information, and disconnects from the halow wifi bridge.
[0010] Optionally, the camera monitors and receives the broadcast scanning instruction, parses the broadcast scanning instruction to obtain connection information, pairs with the NVR according to the connection information, and disconnects from the halow wifi bridge, including:
[0011] Start the camera and listen to the broadcast scanning instruction forwarded by the halow wifi bridge through the broadcast scanning port;
[0012] After the broadcast scanning instruction is monitored, the broadcast scanning instruction is parsed to obtain connection information, wherein the connection information includes: the ssid, psk, encryption mode of the NVR and the IP address of the NVR;
[0013] The camera configures its own SSID, PSK and encryption mode according to the SSID, PSK and encryption mode of the NVR, and pairs and connects with the NVR according to the IP address of the NVR and disconnects from the HALOW WiFi bridge.
[0014] Optionally, before the step of configuring the camera's own SSID, PSK, and encryption mode according to the SSID, PSK, and encryption mode of the NVR and pairing and connecting with the NVR according to the IP address of the NVR, the step further includes:
[0015] The camera replies a video-on-demand command to the NVR according to the IP address of the NVR, to indicate that the camera has received the broadcast scanning instruction sent by the NVR.
[0016] Optionally, after pairing and connecting with the NVR, the method further includes:
[0017] Prompt a successful connection through the camera's built-in prompt module;
[0018] The NVR displays the pairing status of the camera on the UI interface of the NVR according to the on-demand command replied by the camera.
[0019] Optionally, after pairing and connecting with the NVR, the method further includes:
[0020] The ssid, psk and encryption mode in the connection information are stored locally so as to automatically pair and connect with the NVR after the camera is powered off and restarted.
[0021] Optionally, the building of the halow wifi bridge, connecting the camera in the halow wifi kit to the halow wifi bridge via a wireless network, includes:
[0022] Setting a fixed QR code, powering on the camera and identifying the fixed QR code, and acquiring QR code information; wherein the QR code information includes the SSID, PSK, encryption mode and IP address of the HALOW WiFi bridge;
[0023] The camera configures its own SSID, PSK, encryption mode, and IP address according to the SSID, PSK, encryption mode of the Halow WiFi bridge and the IP address of the Halow WiFi bridge to achieve pairing connection with the Halow WiFi bridge.
[0024] Optionally, the step of setting a fixed QR code, powering on the camera and identifying the fixed QR code includes:
[0025] When the pairing buttons on the camera and the NVR are pressed simultaneously, the scanning of the fixed QR code is stopped and the button pairing function is entered;
[0026] If the camera cannot recognize the fixed QR code within a period of time, the QR code recognition function is exited.
[0027] Optionally, pairing and connecting with the NVR and disconnecting from the halow wifi bridge according to the connection information includes:
[0028] Use the NVR in the halow wifi package as an AP and each camera in the halow wifi package as a STA;
[0029] The NVR in the halow wifi kit assigns an associated identifier to each camera's sta;
[0030] The camera allocates its own IP address according to the association identifier and the IP address of the NVR so as to be in the same network as the halow wifi network port of the NVR.
[0031] Optionally, each of the halow wifi kits corresponds to a halow wifi bridge.
[0032] In a second aspect, an embodiment of the present invention provides a system for batch pairing of NVRs and cameras based on halowwifi, including:
[0033] A wireless connection unit, used to build a halow wifi bridge, and connect the camera in the halow wifi kit to the halow wifi bridge via a wireless network;
[0034] A wired connection unit, used to establish a connection between the NVR in the halow wifi kit and the halow wifi bridge via a wired network;
[0035] A broadcast unit, used for the NVR to send a broadcast scanning instruction through the wired network;
[0036] A pairing unit is used for the camera to monitor and receive the broadcast scanning instruction, parse the broadcast scanning instruction to obtain connection information, pair with the NVR according to the connection information and disconnect from the halowwifi bridge.
[0037] The embodiment of the present invention provides a method and system for batch pairing of NVR and camera based on Halow WiFi, the method comprising: building a Halow WiFi bridge, connecting the camera in the Halow WiFi set with the Halow WiFi bridge through a wireless network; connecting the NVR in the Halow WiFi set with the Halow WiFi bridge through a wired network; the NVR sends a broadcast scan instruction through the wired network; the camera monitors and receives the broadcast scan instruction, parses the broadcast scan instruction to obtain connection information, pairs with the NVR according to the connection information and disconnects from the Halow WiFi bridge. The present invention realizes the pairing connection of the NVR and the camera by building a Halow WiFi bridge as a transfer device for the camera and NVR in the Halow WiFi set, so that the user does not need to re-pair when using the Halow WiFi set, and is suitable for batch pairing in the factory, and the NVR and the camera in the Halow WiFi set realize a one-to-one pairing connection, and there will be no pairing confusion problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0039] Figure 1 A flow chart of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of a sub-flow diagram of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0041] Figure 3 Another sub-flow diagram of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0042] Figure 4 Another sub-flow diagram of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0043] Figure 5 Another sub-flow diagram of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0044] Figure 6 Another sub-flow diagram of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0045] Figure 7 A schematic block diagram of a system for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0046] Figure 8 A schematic block diagram of subunits of a system for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention;
[0047] Fig. 9 A schematic block diagram of another subunit of a system for batch pairing of NVRs and cameras based on halow wifi provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0050] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0051] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0052] See also Figure 1 , Figure 1 A flow chart of a method for batch pairing of NVR and cameras based on halow wifi provided by an embodiment of the present invention, the method comprising steps S101 to S104:
[0053] S101, building a halow wifi bridge, and establishing a connection between a camera in the halow wifi kit and the halow wifi bridge via a wireless network;
[0054] In this embodiment, you first need to ensure that the Halow WiFi bridge has been properly configured and powered on, and set the SSID (network name), PSK (pre-shared key), encryption mode, and any necessary network parameters of the Halow WiFi bridge to enable it to transmit the Halow WiFi signal. Place the Halow WiFi bridge in a place where it can cover the camera location and has good signal strength. Since Halow WiFi is designed for long-distance and obstacle-penetrating communication, its coverage is usually wider than traditional Wi-Fi.
[0055] Specifically, a halow wifi set usually includes 1 NVR and 8 cameras. Each production station in the factory provides 8 fixed positions for placing 8 cameras, and each production station needs to provide an additional halow wifi bridge. The ssid and psk of the bridge at each station are different, and the NVR and the camera are transmitted via halow wifi. There are pairing buttons on the NVR and the camera. When the pairing buttons of the NVR and the camera are pressed at the same time, the NVR can only pair with the camera that presses the pairing button at the same time. If the pairing buttons of 8 cameras are pressed at the same time, the NVR will randomly select a camera to pair with, and will not pair with all 8 cameras. The NVR and the camera will only be paired and connected one by one.
[0056] Furthermore, each of the halow wifi kits corresponds to a halow wifi bridge.
[0057] In this embodiment, as described above, in order to ensure that the camera and the NVR can be paired and connected successfully, each production station needs to be additionally provided with a halow wifi bridge.
[0058] In one embodiment, if Figure 2 As shown, the step S101 includes steps S201 to S202:
[0059] S201, setting a fixed QR code, powering on the camera and identifying the fixed QR code, and obtaining QR code information; wherein the QR code information includes the SSID, PSK, encryption mode and IP address of the halowwifi bridge;
[0060] S202, the camera configures its own SSID, PSK, encryption mode, and IP address according to the SSID, PSK, encryption mode of the Halow WiFi bridge and the IP address of the Halow WiFi bridge to achieve pairing and connection with the Halow WiFi bridge.
[0061] In this embodiment, a fixed QR code is provided at each fixed position where the camera is placed. The content of the fixed QR code includes the SSID, PSK, bridge Halow WiFi encryption mode, and IP address of the Halow WiFi bridge of the workstation (each fixed QR code is different and bound to the physical location). The camera automatically recognizes the QR code content after powering on. Once the camera reads the SSID, PSK, encryption mode, and IP address of the Halow WiFi bridge from the fixed QR code, it will automatically apply this information to its own network configuration. After the configuration is completed, the camera attempts to connect to the Halow WiFi bridge using the newly set network parameters. If everything is set correctly, the camera will successfully connect to the Halow WiFi bridge, thereby realizing the pairing connection between the camera and the Halow WiFi bridge.
[0062] Specifically, Figure 3 As shown, the step S201 includes steps S301 to S302:
[0063] S301, when the pairing buttons on the camera and the NVR are pressed simultaneously, the scanning of the fixed QR code is stopped and the button pairing function is entered;
[0064] S302: If the camera cannot recognize the fixed QR code within a period of time, exit the QR code recognition function.
[0065] In this embodiment, in order not to affect the normal key pairing function, if the pairing button is pressed during the fixed QR code recognition process, it is necessary to immediately stop the QR code recognition and enter the key pairing function.
[0066] At the same time, when the pairing process between the camera and NVR needs to be manually triggered, the user needs to press the pairing button on the camera and NVR at the same time. This operation is usually used to replace the automatic pairing method of scanning a fixed QR code, which may be due to a variety of reasons, such as the QR code is damaged, inaccessible, or the user wants more direct control.
[0067] Once the pairing buttons are pressed simultaneously, the system will immediately stop the current fixed QR code scanning operation, which is to ensure that the pairing process will not be interfered by the fixed QR code scanning, thereby ensuring the smooth progress of the key pairing. After stopping scanning the fixed QR code, the system will enter the key pairing mode.
[0068] When the camera attempts to scan a fixed QR code to obtain network configuration information, if it fails to successfully identify the QR code within a period of time (for example, a few seconds or minutes), the system will determine that the QR code recognition has timed out. Once the timeout occurs, the camera will automatically exit the QR code recognition function and may return to a default waiting state or display an error prompt to the user. This mechanism helps prevent the camera from indefinitely trying to scan a non-existent or damaged QR code, thereby saving power and avoiding unnecessary user confusion.
[0069] After exiting the QR code recognition function, the user can choose to retry scanning the QR code (if the QR code is available and in the correct position), or complete the pairing connection between the camera and NVR through other methods (such as key pairing).
[0070] S102, establishing a connection between the NVR in the halow wifi package and the halow wifi bridge via a wired network;
[0071] In this embodiment, the Halow WiFi bridge is used as a network transfer device for the camera and the NVR. The Halow WiFi bridge is used as the AP of the Halow WiFi (i.e., a device that connects the wired network and the wireless network). The Halow WiFi bridge is provided with a wired network port that can be connected to the wired network port of the NVR. After the S101 camera and the Halow WiFi bridge are connected through the wireless network, the Halow WiFi bridge converts the Halow WiFi network of the camera into a wired network, and the camera can send information to the NVR through the wired network port.
[0072] It should be noted that the network segment of the NVR wired network port is fixed. This is because in the network configuration of the NVR device, the IP address connected to its wired network interface (i.e., network port) is usually assigned to a specific IP address range. This range is referred to as the "network segment", which is used to optimize network traffic, improve performance, and ensure security.
[0073] S103, the NVR sends a broadcast scanning instruction through the wired network;
[0074] In this embodiment, in the UI interface (user interface) or configuration tool of the NVR, a broadcast scan command is set and sent, and the purpose of sending this broadcast scan command is to search and identify available cameras in the network. Since the camera is connected to the network through the halow wifi bridge, the NVR can find the camera.
[0075] S104, the camera monitors and receives the broadcast scanning instruction, parses the broadcast scanning instruction to obtain connection information, pairs with the NVR according to the connection information and disconnects from the halow wifi bridge.
[0076] In this embodiment, once the camera receives the broadcast scanning instruction, the camera will parse the connection information in the broadcast scanning instruction, and according to the parsed connection information, the camera will establish a connection with the NVR.
[0077] Since the camera can maintain connection with the bridge and NVR at the same time, after the NVR and camera are paired and connected successfully, the camera can disconnect the wireless connection with the halow wifi bridge or not. However, if the network architecture or security policy requires the camera to communicate with only one device, the camera needs to disconnect the wireless connection with the halow wifi bridge and only maintain a wired connection with the NVR.
[0078] In one embodiment, if Figure 4 As shown, the step S104 includes steps S401 to S403:
[0079] S401, start the camera, and monitor the broadcast scanning instruction forwarded by the halow wifi bridge through the broadcast scanning port;
[0080] In this embodiment, first, the camera is started and its network communication module is initialized. The camera sets one or more broadcast scanning ports in its network communication module and continuously monitors the data on these ports, which are designed to receive broadcast scanning instructions from the NVR.
[0081] S402, after monitoring the broadcast scanning instruction, parsing the broadcast scanning instruction to obtain connection information, wherein the connection information includes: ssid, psk, encryption mode of the NVR and IP address of the NVR;
[0082] In this embodiment, the camera parses the received broadcast scanning instruction to extract the information required to establish a connection with the NVR.
[0083] S403, the camera configures its own SSID, PSK, and encryption mode according to the SSID, PSK, and encryption mode of the NVR, and pairs with the NVR according to the IP address of the NVR and disconnects from the halow wifi bridge.
[0084] In this embodiment, the camera configures its own network parameters according to the SSID, PSK, and encryption mode of the NVR obtained from the broadcast scanning command. After the configuration is completed, the camera attempts to connect to the NVR using the new network parameters based on the IP address of the NVR. If everything is set correctly, the camera will successfully establish a connection with the NVR and start data transmission or other network activities.
[0085] Furthermore, before step S403, step S501 is also included:
[0086] S501. The camera replies a video-on-demand command to the NVR according to the IP address of the NVR, to indicate that the camera has received the broadcast scanning instruction sent by the NVR.
[0087] In this embodiment, the camera sends a reply on-demand command to the NVR (the IP address in the broadcast scan instruction), indicating that the camera has received the broadcast scan instruction sent by the NVR. The camera then configures the SSID, PSK, and encryption mode of its own Halow WiFi to the SSID, PSK, and encryption mode in the broadcast scan instruction.
[0088] Further, such as Figure 5 As shown, after step S104, steps S601 to S602 are also included:
[0089] S601, prompting a successful connection through a prompt module provided by the camera;
[0090] S602: The NVR displays the pairing status of the camera on the UI interface of the NVR according to the on-demand command replied by the camera.
[0091] In this embodiment, in order to provide prompts to the test personnel at the workstation, the LED light of the camera will flash for 5 seconds after the camera is paired with the NVR, and the NVR UI interface will also display that the camera has been paired. Considering that each camera position corresponds to a fixed IP address, the NVR can clearly know which camera position has been successfully paired and which camera position has not been successfully paired according to the IP address of the camera replying to the on-demand command, and will give prompts on the NVR UI interface.
[0092] Furthermore, after step S104, step S701 is further included:
[0093] S701. Store the ssid, psk and encryption mode in the connection information locally so as to automatically pair and connect with the NVR after the camera is powered off and restarted.
[0094] In this embodiment, there is usually a certain amount of storage space inside the camera for storing SSID, PSK and encryption mode in the connection information and log files, etc. In this step, it is necessary to select a suitable storage area, which can be a flash memory, EEPROM (electrically erasable programmable read-only memory) or other types of non-volatile memory to ensure that data will not be lost after the camera is powered off.
[0095] Further, such as Figure 6 As shown, the step S104 also includes steps S801 to S803:
[0096] S801, using the NVR in the halowwifi package as an AP and each camera in the halowwifi package as a STA;
[0097] In this embodiment, the NVR in the Halow WiFi kit is configured as a wireless access point (AP). The AP is the core device in a wireless network and is responsible for providing wireless connection services such as cameras. When the NVR acts as an AP, it broadcasts its SSID (Service Set Identifier) so that other devices can discover and connect to it. At the same time, each camera in the Halow WiFi kit is configured as a station (STA), which is a client device in a wireless network. They access the network by connecting to the AP. In this scenario, the camera as a STA will search for and connect to the SSID broadcast by the NVR.
[0098] S802, the NVR in the halow wifi package assigns an associated identifier to the sta of each camera;
[0099] In this embodiment, in the Halow WiFi wireless network, when a STA successfully connects to an AP, the AP will assign a unique association identifier (also called a connection ID or AID) to each STA. This association identifier is used to identify and distinguish different STAs in subsequent network communications. The NVR, as an AP, will assign an association identifier to each STA after each camera STA successfully connects to its SSID. This process is automatic and usually occurs in the initial stage of establishing a connection between the STA and the AP.
[0100] S803: The camera allocates its own IP address according to the association identifier and the IP address of the NVR so as to be in the same network as the halow wifi network port of the NVR.
[0101] In this embodiment, the cameras are assigned their own IP addresses based on the IP address of the NVR and their own associated identifiers, ensuring that they can communicate with the NVR in the same halow wifi network, which usually means that they need to be assigned to the same subnet, that is, the network part of the IP address (network number) needs to be the same.
[0102] like Figure 7 As shown, an embodiment of the present invention further provides a system 900 for batch pairing of NVR and cameras based on halow wifi, including a wireless connection unit 901, a wired connection unit 902, a broadcast unit 903, and a pairing unit 904.
[0103] The wireless connection unit 901 is used to build a halow wifi bridge, and establish a connection between the camera in the halow wifi kit and the halow wifi bridge via a wireless network;
[0104] A wired connection unit 902, used to establish a connection between the NVR in the halow wifi package and the halow wifi bridge via a wired network;
[0105] A broadcast unit 903, used for the NVR to send a broadcast scan instruction through the wired network;
[0106] The pairing unit 904 is used for the camera to monitor and receive the broadcast scanning instruction, parse the broadcast scanning instruction to obtain connection information, pair with the NVR according to the connection information and disconnect from the halow wifi bridge.
[0107] In one embodiment, if Figure 8 As shown, the wireless connection unit 901 includes:
[0108] The identification unit 1001 is used to set a fixed QR code, power on the camera and identify the fixed QR code to obtain QR code information; wherein the QR code information includes the SSID, PSK, encryption mode and IP address of the HALOW WiFi bridge;
[0109] The first configuration unit 1002 is used for the camera to configure its own SSID, PSK, encryption mode, and IP address according to the SSID, PSK, encryption mode of the HALOW WiFi bridge and the IP address of the HALOW WiFi bridge to achieve pairing connection with the HALOW WiFi bridge.
[0110] In one embodiment, if Fig. 9 As shown, the pairing unit 904 includes:
[0111] The monitoring unit 1101 is used to start the camera and monitor the broadcast scanning instruction forwarded by the halow wifi bridge through the broadcast scanning port;
[0112] The parsing unit 1102 is used to parse the broadcast scanning instruction to obtain connection information after monitoring the broadcast scanning instruction, wherein the connection information includes: the ssid, psk, encryption mode of the NVR and the IP address of the NVR;
[0113] The second configuration unit 1103 is used for the camera to configure its own SSID, PSK and encryption mode according to the SSID, PSK and encryption mode of the NVR, and to pair with the NVR according to the IP address of the NVR and disconnect from the halowwifi bridge.
[0114] The system for batch pairing of NVRs and cameras based on halowwifi provided by the embodiment of the present invention realizes the pairing connection between NVRs and cameras by building a halowwifi bridge as a transfer device for cameras and NVRs in the halowwifi package, so that users do not need to re-pair when using the halowwifi package. It is suitable for batch pairing in factories, and the NVRs and cameras in the halowwifi package realize one-to-one pairing connection, and there will be no pairing confusion problem.
[0115] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, and units with the same function may be combined into one unit, for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0117] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0118] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for batch pairing of NVR and cameras based on halow wifi, characterized in that: include: Build a halow wifi bridge, and connect the camera in the halow wifi kit to the halow wifi bridge via a wireless network; Establishing a connection between the NVR in the halow wifi kit and the halow wifi bridge via a wired network; The NVR sends a broadcast scanning instruction through the wired network; The camera monitors and receives the broadcast scanning instruction, parses the broadcast scanning instruction to obtain connection information, pairs with the NVR according to the connection information, and disconnects from the halow wifi bridge.
2. The method for batch pairing of NVR and cameras based on halow wifi according to claim 1, characterized in that: The camera monitors and receives the broadcast scanning instruction, parses the broadcast scanning instruction to obtain connection information, pairs with the NVR according to the connection information, and disconnects from the halow wifi bridge, including: Start the camera and listen to the broadcast scanning instruction forwarded by the halow wifi bridge through the broadcast scanning port; After the broadcast scanning instruction is monitored, the broadcast scanning instruction is parsed to obtain connection information, wherein the connection information includes: the ssid, psk, encryption mode of the NVR and the IP address of the NVR; The camera configures its own SSID, PSK and encryption mode according to the SSID, PSK and encryption mode of the NVR, and pairs and connects with the NVR according to the IP address of the NVR and disconnects from the HALOW WiFi bridge.
3. The method for batch pairing of NVR and cameras based on halow wifi according to claim 2, characterized in that: The camera configures its own SSID, PSK, and encryption mode according to the SSID, PSK, and encryption mode of the NVR, and before the step of pairing and connecting with the NVR according to the IP address of the NVR, it also includes: The camera replies a video-on-demand command to the NVR according to the IP address of the NVR, to indicate that the camera has received the broadcast scanning instruction sent by the NVR.
4. The method for batch pairing of NVR and cameras based on halow wifi according to claim 3, characterized in that: After pairing and connecting with the NVR, it also includes: Prompt a successful connection through the camera's built-in prompt module; The NVR displays the pairing status of the camera on the UI interface of the NVR according to the on-demand command replied by the camera.
5. The method for batch pairing of NVR and cameras based on halow wifi according to claim 2, characterized in that: After pairing and connecting with the NVR, it also includes: The ssid, psk and encryption mode in the connection information are stored locally so as to automatically pair and connect with the NVR after the camera is powered off and restarted.
6. The method for batch pairing of NVR and cameras based on halow wifi according to claim 1, characterized in that: The building of the halow wifi bridge, connecting the camera in the halow wifi kit to the halow wifi bridge via a wireless network, includes: Setting a fixed QR code, powering on the camera and identifying the fixed QR code, and acquiring QR code information; wherein the QR code information includes the SSID, PSK, encryption mode and IP address of the HALOW WiFi bridge; The camera configures its own SSID, PSK, encryption mode, and IP address according to the SSID, PSK, encryption mode of the Halow WiFi bridge and the IP address of the Halow WiFi bridge to achieve pairing connection with the Halow WiFi bridge.
7. The method for batch pairing of NVR and cameras based on halow wifi according to claim 6, characterized in that: The steps of setting a fixed two-dimensional code, powering on the camera and identifying the fixed two-dimensional code include: When the pairing buttons on the camera and the NVR are pressed simultaneously, the scanning of the fixed QR code is stopped and the button pairing function is entered; If the camera cannot recognize the fixed QR code within a period of time, the QR code recognition function is exited.
8. The method for batch pairing of NVR and cameras based on halow wifi according to claim 1, characterized in that: Pairing and connecting with the NVR according to the connection information and disconnecting from the halow wifi bridge includes: Use the NVR in the halow wifi package as an AP and each camera in the halow wifi package as a STA; The NVR in the halow wifi kit assigns an associated identifier to each camera's sta; The camera allocates its own IP address according to the association identifier and the IP address of the NVR so as to be in the same network as the halow wifi network port of the NVR.
9. The method for batch pairing of NVR and cameras based on halow wifi according to claim 1, characterized in that: Each of the halow wifi kits corresponds to a halow wifi bridge.
10. A system for batch pairing of NVR and cameras based on halow wifi, characterized in that: include: A wireless connection unit, used to build a halow wifi bridge, and connect the camera in the halowwifi kit to the halowwifi bridge via a wireless network; A wired connection unit, used to establish a connection between the NVR in the halow wifi kit and the halow wifi bridge via a wired network; A broadcast unit, used for the NVR to send a broadcast scanning instruction through the wired network; A pairing unit is used for the camera to monitor and receive the broadcast scanning instruction, parse the broadcast scanning instruction to obtain connection information, pair with the NVR according to the connection information and disconnect from the halowwifi bridge.
