Wireless networking methods, equipment, and storage media in a wireless kit

By setting up WiFi and WiFi Halow communication modules in the camera and adjusting the networking strategy according to the network topology and spatial location, the problems of disconnection and lag during wireless kit communication were solved, achieving high-performance communication transmission.

CN123075741APending Publication Date: 2026-11-10ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510591354.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing wireless systems are prone to disconnections, stuttering, and unresponsiveness during communication, mainly due to communication interference and distance issues between the camera and the NVR.

Method used

By setting up first and second communication modules in the camera, using WiFi and WiFi Halow communication methods respectively, and by obtaining network topology maps and spatial location relationships, the networking strategy is adjusted to enable the camera and NVR to use a communication link with a longer communication distance and higher layer penetration performance.

Benefits of technology

It achieves high-performance communication transmission for wireless kits, reducing or avoiding issues such as dropped connections and lag, and improving communication stability and smoothness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123075741A_ABST
    Figure CN123075741A_ABST
Patent Text Reader

Abstract

This invention provides a wireless networking method, device, and storage medium for a wireless kit. The method includes: acquiring a network topology diagram between an NVR and each camera; determining the spatial relationship between each camera and the NVR based on the communication performance parameters of the communication links between each camera and the NVR; adjusting the wireless networking strategy between each camera and the NVR based on the network topology diagram, the layer penetration and / or distance between each camera and the NVR, and determining the target communication links between each camera and the NVR; the target communication links include links where cameras communicate with other cameras and / or the NVR using a second communication method, where the communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method. Using this invention can reduce problems such as dropped connections, stuttering, and unresponsiveness during communication in wireless kits.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of video surveillance technology, and in particular to a wireless networking method, device and storage medium for a wireless kit. Background Technology

[0002] Currently, wireless kits in the video surveillance field typically include an NVR (Network Video Recorder) and multiple cameras. These wireless kits use the WiFi protocol to transmit data, meaning that each camera can communicate or transmit data with the NVR via a WiFi wireless network.

[0003] In related technologies, cameras and NVRs generally communicate using the 2.4GHz or 5.8GHz frequency bands. The 2.4GHz band has a larger coverage area, but many electronic devices in the environment commonly use the 2.4GHz wireless frequency, resulting in significant interference between devices in this band. The 5.8GHz band has a smaller coverage area compared to 2.4GHz, and there are relatively fewer electronic devices using the 5.8GHz wireless frequency in the environment, thus resulting in relatively less interference between devices in this band.

[0004] However, the wireless kits in the aforementioned technologies may still experience issues such as dropped connections, lag, and unresponsiveness during communication. Summary of the Invention

[0005] This invention provides a wireless networking method, device, and storage medium for a wireless kit, to address the shortcomings of existing wireless kits that may experience dropped connections, stuttering, and unsmooth communication. It adjusts the networking strategy between each camera and NVR based on the layer penetration and / or distance between them, enabling communication between cameras and NVRs through communication methods with greater distance and higher layer penetration performance, thereby reducing or avoiding problems such as dropped connections, stuttering, and unsmooth communication in wireless kits.

[0006] This invention provides a wireless networking method for a wireless kit, applied to a network video recorder (NVR) within the wireless kit. The wireless kit includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. The method includes: Obtain the network topology diagram between the NVR and each camera; the network topology diagram includes the communication links between each camera and the NVR and the communication performance parameters corresponding to the communication links, the communication links being the links through which the cameras communicate with the NVR using the first communication method and / or the second communication method; Based on the communication performance parameters corresponding to the communication links between each camera and the NVR, the spatial relationship between each camera and the NVR is determined; the spatial relationship includes the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR. The network topology map and spatial location relationships are sent to each camera. The network topology map and spatial location relationships are used to enable each camera to adjust the wireless networking strategy between each camera and the NVR based on the network topology map, the layer penetration situation and / or distance between each camera and the NVR, and to determine the target communication link between each camera and the NVR. The target communication link includes the link between the camera and other cameras and / or the NVR using a second communication method. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0007] This invention also provides a wireless networking method for a wireless kit, applied to cameras within the wireless kit. The wireless kit includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. The method includes: The network topology diagram and spatial relationships sent by the NVR are received. The network topology diagram includes the communication links between each camera and the NVR and the corresponding communication performance parameters of the communication links. The communication links are the links through which the cameras communicate with the NVR using the first communication method and / or the second communication method. The spatial relationships are determined based on the communication performance parameters corresponding to the communication links between each camera and the NVR, including the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR. Based on the network topology diagram, the layer penetration situation and / or distance between the camera and the NVR, the wireless networking strategy between the camera and the NVR is adjusted to determine the target communication link between the camera and the NVR. The target communication link includes the link between the camera and other cameras and / or NVRs using a second communication method, where the communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0008] This invention also provides a wireless networking device for a wireless kit, applied to a network video recorder (NVR) in the wireless kit. The wireless kit includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. The device includes the following modules: The topology acquisition module is used to acquire the network topology between the NVR and each camera. The network topology includes the communication links between each camera and the NVR and the communication performance parameters corresponding to the communication links. The communication links are the links through which the cameras communicate with the NVR using a first communication method and / or a second communication method. The spatial position relationship determination module is used to determine the spatial position relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication link between each camera and the NVR; the spatial position relationship includes the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR; The transmitting module is used to adjust the wireless networking strategy between each camera and the NVR based on the layer penetration and / or distance between each camera and the NVR, and to determine the target communication link between each camera and the NVR. The target communication link includes a link between the camera and other cameras and / or the NVR that uses a second communication method to communicate. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0009] The present invention also provides a network video recorder (NVR), including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a wireless networking method of any of the wireless kits described above on the NVR side.

[0010] The present invention also provides a camera, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a wireless networking method of any of the wireless kits described above for the camera side.

[0011] The present invention also provides a wireless kit, including a network video recorder (NVR) and at least two cameras, wherein at least one of the cameras includes a first communication module and a second communication module, the first communication module communicating using a first communication method and the second communication module communicating using a second communication method; The aforementioned NVR is used to execute wireless networking methods for any type of wireless suite on the NVR side; The aforementioned camera is used to perform a wireless networking method for any of the wireless kits on the camera side.

[0012] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a wireless networking method of any of the wireless kits described above for the NVR side and / or implements a wireless networking method of any of the wireless kits described above for the camera side.

[0013] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements a wireless networking method of any of the wireless kits described above on the NVR side and / or implements a wireless networking method of any of the wireless kits described above on the camera side.

[0014] The wireless networking method, device, and storage medium of the wireless suite provided by this invention are applied to an NVR in the wireless suite. The wireless suite includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. The NVR obtains a network topology diagram between the NVR and each camera, and determines the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR in the network topology diagram. Based on the layer penetration and / or distance between each camera and the NVR in the spatial relationship, the wireless networking strategy between each camera and the NVR is adjusted to determine the target communication link between each camera and the NVR. The target communication link includes a link between the camera and other cameras and / or the NVR using the second communication method. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method. In this method, the wireless networking strategy between each camera and the NVR can be adjusted according to the layer penetration and / or distance between each camera and the NVR, so that each camera and the NVR can communicate through a communication method with a longer communication distance and higher layer penetration performance. This reduces or avoids problems such as dropped connections, stuttering, and unsmooth communication that may occur during the wireless kit's communication process, and achieves high-performance communication transmission of the wireless kit. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0016] Figure 1 This is one of the flowcharts illustrating the wireless networking method of the NVR-side wireless kit provided in this embodiment of the invention.

[0017] Figure 2 This is the second flowchart illustrating the wireless networking method of the NVR-side wireless kit provided in this embodiment of the invention.

[0018] Figure 3 This is one of the example diagrams of the networking architecture of the wireless kit provided in the embodiments of the present invention.

[0019] Figure 4 This is the second example diagram of the networking architecture of the wireless kit provided in this embodiment of the invention.

[0020] Figure 5 This is the third example diagram of the networking architecture of the wireless kit provided in this embodiment of the invention.

[0021] Figure 6 This is the fourth example diagram of the networking architecture of the wireless kit provided in this embodiment of the invention.

[0022] Figure 7 This is the fifth example diagram of the networking architecture of the wireless kit provided in this embodiment of the invention.

[0023] Figure 8 This is the sixth example diagram of the networking architecture of the wireless kit provided in this embodiment of the invention.

[0024] Figure 9 This is the seventh example diagram of the networking architecture of the wireless kit provided in the embodiments of the present invention.

[0025] Figure 10 This is a flowchart illustrating the wireless networking method of the camera-side wireless kit provided in an embodiment of the present invention.

[0026] Figure 11 This is a schematic diagram of the wireless networking device of the NVR-side wireless kit provided in an embodiment of the present invention.

[0027] Figure 12 This is a schematic diagram of the wireless networking device of the camera-side wireless kit provided in an embodiment of the present invention.

[0028] Figure 13 This is a schematic diagram of the structure of the NVR provided in an embodiment of the present invention.

[0029] Figure 14 This is a schematic diagram of the structure of the camera provided in an embodiment of the present invention. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0031] Current wireless kits generally use the WiFi protocol for transmission, typically employing the 2.4GHz or 5.8GHz frequency bands. Because cameras need to wirelessly transmit image / video data back to the NVR for storage or preview, and because they are significantly affected by the installation environment—such as the number, thickness, and material (solid or hollow) of walls, and interference from surrounding electronic devices—wireless kits often experience issues like disconnections, stuttering, and unresponsiveness. Therefore, this invention provides a wireless networking method, device, and storage medium for wireless kits, which can solve the aforementioned technical problems.

[0032] It should be noted that the execution subject of the embodiments of the present invention may be an NVR and / or a camera, or a wireless networking device of a wireless kit in an NVR and / or a camera, or a processor in an NVR and / or a camera, or an electronic device connected to an NVR and / or a camera, etc., without specific limitations here.

[0033] The following embodiments will first take the NVR as the execution subject as an example to illustrate the wireless networking method of the wireless kit on the NVR side.

[0034] Figure 1 This is one of the flowcharts illustrating the wireless networking method of the NVR-side wireless kit provided in this embodiment of the invention, such as... Figure 1 As shown, the method includes the following steps: Step 102: Obtain the network topology diagram between the NVR and each camera; the network topology diagram includes the communication links between each camera and the NVR and the communication performance parameters corresponding to the communication links, the communication links being the links through which the cameras communicate with the NVR using the first communication method and / or the second communication method.

[0035] Before describing the specific content of this embodiment, the wireless kit used in this embodiment of the invention will be described first. The wireless kit includes an NVR and at least two cameras, which can be network cameras (IPCs) or other types of cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. Optionally, the NVR integrates the first and second communication modules, which are used to receive image / video data from the camera. Optionally, the first communication method can be WiFi, and the second communication method can be WiFi Halow. Correspondingly, the first communication module can be a WiFi module, and the second communication module can be a WiFi Halow module. Optionally, the cameras in the wireless kit can include the following situations: each camera includes both a WiFi module and a WiFi Halow module; some cameras include a WiFi module and others include both a WiFi module and a WiFi Halow module; some cameras include a WiFi module and others include a WiFi Halow module.

[0036] The number of cameras included in the wireless kit can be set according to actual needs, such as 2, 4, 6, 8, etc.

[0037] Regarding the second and first communication methods mentioned above, the communication distance of the second method is greater than that of the first method, and its wall-penetrating performance is also superior. In other words, compared to the first method, the second communication method has a longer transmission distance and stronger wall-penetrating performance. Therefore, adding a second communication module using the second communication method (i.e., WiFi Halow) to the camera allows for longer data transmission distances and stronger signals after passing through walls when transmitting data between the camera and the NVR. This helps avoid or reduce issues such as dropped connections, stuttering, and unresponsiveness during data transmission between the camera and the NVR.

[0038] Before the NVR communicates with each camera, it's possible to first attempt connections between the NVR and each camera using both the first and second communication methods. The connection status can then be used to determine the communication links between the cameras and the NVR, and the corresponding communication performance parameters can be obtained. Alternatively, the spatial relationships between the NVR and cameras can be determined during deployment. These spatial relationships can then be used to identify the communication links between the cameras and the NVR, and the corresponding communication performance parameters can be predicted based on these relationships.

[0039] After obtaining the communication links between each camera and the NVR, a network topology diagram can be constructed based on these links. Simultaneously, communication performance parameters for each communication link can be set within this network topology diagram. These communication performance parameters can represent parameters such as signal quality or signal strength.

[0040] It is understood that the network topology diagram above can reflect the communication links between each camera and the NVR. Each communication link between a camera and the NVR may include one communication link or multiple communication links. For example, each communication link between a camera and the NVR may include a communication link that uses a first communication method, or it may include a communication link that uses a second communication method, or it may include a communication link that uses a combination of the first and second communication methods.

[0041] Step 104: Determine the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication link between each camera and the NVR; the spatial relationship includes the layering situation between the camera and the NVR and / or the distance between the camera and the NVR.

[0042] In this step, after obtaining the network topology diagram between each camera and the NVR, the communication links between each camera and the NVR, as well as the communication performance parameters of each link, can be obtained. Then, the spatial relationship between each camera and the NVR can be determined using these performance parameters. For example, if the communication performance parameters of a camera and the NVR indicate poor communication quality, it can be determined that the camera is far from the NVR and / or that the camera and the NVR are not in the same space, meaning that communication requires passing through walls or floors. Conversely, if the communication performance parameters of another camera and the NVR indicate good communication quality, it can be determined that the camera is close to the NVR or that the camera and the NVR are in the same space, meaning that communication does not require passing through walls or floors.

[0043] In summary, the spatial relationship between each camera and the NVR is determined by the communication performance parameters of the communication link of each camera. The spatial relationship of each camera can reflect the distance and / or the layer penetration between the camera and the NVR. The distance refers to whether the distance between the camera and the NVR exceeds the distance threshold, and the layer penetration refers to whether the camera needs to pass through a wall or whether the camera and the NVR are in the same space when communicating with each other.

[0044] Step 106: Send the network topology map and spatial location relationships to each camera; the network topology map and spatial location relationships are used to enable each camera to adjust the wireless networking strategy between each camera and the NVR according to the network topology map, the layer penetration situation and / or distance between each camera and the NVR, and determine the target communication link between each camera and the NVR; the target communication link includes the link between the camera and other cameras and / or the NVR using a second communication method, the communication distance of the second communication method is greater than the communication distance of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0045] In this step, an initial connection is established between each camera and the NVR. After the NVR obtains the network topology map between each camera and the NVR, the NVR can also determine the layer penetration and / or distance between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR. Then, the NVR can send the network topology map and the layer penetration and / or distance between each camera and the NVR to each camera.

[0046] After establishing an initial connection with the NVR, each camera can communicate or transmit data with the NVR using its default communication link. After obtaining the network topology diagram sent by the NVR and the layer penetration and / or distance between each camera and the NVR, each camera can adjust its current networking strategy based on its spatial location and the layer penetration and / or distance to the NVR. For example, it can adjust its current communication link to use the optimal link for communication with the NVR. This optimal link can be designated as the target communication link between the camera and the NVR. For instance, if the communication effect is poor when the camera uses the first communication method to communicate with the NVR, the camera's communication link can be switched to its target communication link. This target communication link is the link using the second communication method to communicate with the NVR. Compared to the first communication method, the second communication method has a longer transmission distance and stronger layer penetration performance, thus improving the camera's communication effect and reducing problems such as stuttering, dropped connections, and unsmooth communication between the camera and the NVR. The above-mentioned method of switching communication links via cameras can automatically switch channels when the NVR and a certain camera are disconnected due to signal interference. This can effectively improve the communication performance of the camera and reduce problems such as stuttering, disconnection, and unsmooth communication between the camera and the NVR.

[0047] Alternatively, after obtaining the network topology map and the layer penetration and / or distance between each camera and the NVR, the NVR can also detect the network status between the NVR and each camera in real time. When there is an abnormality in the network performance between the NVR and a certain camera, the wireless networking strategy between the camera and the NVR can be adjusted according to the layer penetration and / or distance between the camera and the NVR, the target communication link between the camera and the NVR can be determined, and a link switching command can be sent to the camera. The link switching command includes the target communication link corresponding to the camera, which is used to instruct the camera to switch from the current communication link to the target communication link.

[0048] As described above, in this embodiment, the NVR or each camera can automatically adjust the networking strategy between each camera and the NVR based on the layer penetration and / or distance between each camera and the NVR, switching each camera to the optimal communication link to communicate with the NVR, achieving seamless switching. This solves problems such as device disconnection, lag, and unsmoothness in wireless kits, achieving seamless high-performance transmission, improving product competitiveness, and bringing value to customers.

[0049] In this embodiment, the wireless kit includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. The NVR obtains a network topology diagram between the NVR and each camera, and determines the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR in the network topology diagram. Based on the layer penetration and / or distance between each camera and the NVR in the spatial relationship, the wireless networking strategy between each camera and the NVR is adjusted to determine the target communication link between each camera and the NVR. The target communication link includes a link between the camera and other cameras and / or the NVR using the second communication method. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method. In this method, the wireless networking strategy between each camera and the NVR can be adjusted according to the layer penetration and / or distance between each camera and the NVR, so that each camera and the NVR can communicate through a communication method with a longer communication distance and higher layer penetration performance. This reduces or avoids problems such as dropped connections, stuttering, and unsmooth communication that may occur during the wireless kit's communication process, and achieves high-performance communication transmission of the wireless kit.

[0050] The following examples illustrate the process of obtaining the network topology diagram between each camera and the NVR.

[0051] Figure 2 This is the second flowchart illustrating the wireless networking method of the NVR-side wireless kit provided in this embodiment of the invention, as shown below. Figure 2 As shown, step 102 above, which obtains the network topology diagram between the NVR and each camera, may include the following steps: Step 202: Send a first network connection signal to each camera via a first communication method and a second network connection signal to each camera via a second communication method.

[0052] Step 204: Obtain the first signal parameters fed back by each camera for the first network connection signal, and / or the second signal parameters fed back by each camera for the second network connection signal.

[0053] Step 206: Determine the communication link between each camera and the NVR, and the corresponding communication performance parameters of the communication link, based on the first signal parameters and / or second signal parameters of each camera.

[0054] Step 208: Construct a network topology diagram between the NVR and each camera based on the communication links between each camera and the NVR, and the communication performance parameters corresponding to the communication links.

[0055] Taking WiFi as the first communication method and WiFi module as the first communication module, and WiFi Halow as the second communication method and WiFi Halow module as the second example, after each camera and NVR is powered on, the NVR starts up and establishes a connection with each camera. Specifically, the NVR can actively initiate a WiFi connection with each camera via WiFi, that is, send a WiFi signal (denoted as the first network connection signal) to each camera, establishing a WiFi network topology between each camera and the NVR, i.e., determining which cameras can communicate with the NVR via WiFi. Simultaneously, the NVR can actively initiate a WiFi Halow connection with each camera via WiFi Halow, that is, send a WiFi Halow signal (denoted as the second network connection signal) to each camera, establishing a WiFi Halow network topology between each camera and the NVR, i.e., determining which cameras can communicate with the NVR via WiFi Halow.

[0056] When the NVR establishes connections with each camera via WiFi and WiFi Halow signals, each camera can send corresponding signals back to the NVR via WiFi and / or WiFi Halow based on the received WiFi and WiFi Halow signals. These feedback signals carry relevant signal parameters, such as Received Signal Strength (RSSI) and Signal-to-Noise Ratio (SNR). These signal parameters reflect the communication quality between the NVR and the cameras using the corresponding communication methods.

[0057] Additionally, if the camera includes a WiFi module, it can send signal parameters corresponding to the WiFi signal back to the NVR via WiFi communication during the establishment of a WiFi connection. These can be referred to as the first signal parameters. The first signal parameters include parameters such as RSSI and SNR of the WiFi signal received by the camera. If the camera includes a WiFi Halow module, it can send signal parameters corresponding to the WiFi Halow signal back to the NVR via WiFi Halow communication during the establishment of a WiFi Halow connection. These can be referred to as the second signal parameters. The second signal parameters include parameters such as RSSI and SNR of the WiFi Halow signal received by the camera.

[0058] Through the above steps, the NVR can establish a WiFi network topology and a WiFi Halow network topology between itself and each camera, thus identifying which cameras have a second communication module that uses WiFi Halow for communication. It can then control these cameras with the second communication module to establish WiFi connections with other cameras that do not, creating a WiFi network topology between these cameras and obtaining the signal parameters of the communication links between them.

[0059] Subsequently, the NVR can obtain the WiFi communication links between the NVR and each camera, as well as the communication performance parameters of each link, by analyzing the WiFi network topology between the NVR and each camera, and the WiFi network topology between the cameras, combined with the first signal parameters fed back to the NVR by each camera via WiFi. Simultaneously, the NVR can obtain the WiFi Halow communication links between the NVR and each camera, as well as the WiFi Halow network topology, by analyzing the first signal parameters fed back to the NVR by each camera via WiFi, and the second signal parameters fed back to the NVR via WiFi Halow. Based on this, a network topology diagram can be constructed showing the communication between the NVR and each camera via WiFi and / or WiFi Halow.

[0060] In this embodiment, the NVR establishes a connection with each camera through a first communication method and a second communication method, and determines the communication link and communication performance parameters based on the signal parameters fed back by each camera based on the first communication method and the second communication method, and constructs a network topology map accordingly, so as to obtain a more accurate network topology map.

[0061] The wireless kit contains two types of cameras. The first type has both a first communication module and a second communication module. This first type of camera can establish a network topology with the NVR using either a first communication method or a second communication method. The second type of camera only has the first communication module and can only establish a network topology with the NVR using the first communication method. The process for determining the communication performance parameters of the communication links in their network topologies differs for these two types of cameras. The following explains how to determine the spatial relationship between these two types of cameras and the NVR.

[0062] Scenario 1: For cameras equipped with a first communication module and a second communication module, step 104 above, which determines the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR, may include the following steps: If the first camera in each camera feeds back the first signal parameter and the second signal parameter to the NVR, then the first signal attenuation degree and the second signal attenuation degree between the NVR and the first camera are determined based on the first signal parameter and the second signal parameter of the first camera. The first signal attenuation level is determined as the communication performance parameter of the communication link when the first camera and the NVR communicate through the first communication method, and the second signal attenuation level is determined as the communication performance parameter of the communication link when the first camera and the NVR communicate through the second communication method. The spatial relationship between the first camera and the NVR is determined based on the first signal attenuation level and the second signal attenuation level of the first camera.

[0063] Continuing with the example of WiFi as the first communication method and WiFi module as the first communication module, and WiFi Halow as the second communication method and WiFi Halow module as the second communication module, when the NVR powers on and establishes a connection with each camera, it can send WiFi signals and WiFi Halow signals to each camera respectively. Cameras with WiFi modules can receive WiFi signals and feed back the first signal parameters to the NVR via WiFi. Cameras with WiFi Halow modules can receive WiFi Halow signals and feed back the second signal parameters to the NVR via WiFi Halow. Cameras without WiFi Halow modules cannot feed back the second signal parameters to the NVR. Therefore, if the NVR receives both the first and second signal parameters from the same camera during the connection establishment process, it indicates that the camera has both a WiFi module and a WiFi Halow module, and this camera can be designated as the first camera.

[0064] Then, the first signal parameters fed back by the first camera are compared with the signal parameters (such as the strength of the transmitted WiFi signal) when the NVR sends a WiFi signal to the first camera to obtain the degree of WiFi signal attenuation, which is recorded as the first signal attenuation degree. This first signal attenuation degree can serve as a communication performance parameter corresponding to the communication link between the first camera and the NVR when communicating via WiFi. Simultaneously, the second signal parameters fed back by the first camera are compared with the signal parameters (such as the strength of the transmitted WiFi Halow signal) when the NVR sends a WiFi Halow signal to the first camera to obtain the degree of WiFi Halow signal attenuation, which is recorded as the second signal attenuation degree. This second signal attenuation degree can also serve as a communication performance parameter corresponding to the communication link between the first camera and the NVR when communicating via WiFi Halow.

[0065] Then, based on the attenuation levels of these two signals between the first camera and the NVR, the spatial relationship between the first camera and the NVR, such as the distance between them and the presence of interlayer penetration, can be determined. For example, if the attenuation level of the first signal is greater than that of the second signal, it indicates that the WiFi signal is attenuated more than the WiFi Halow signal. In this case, it can be roughly determined that the first camera is far from the NVR and / or that the two are not in the same space (i.e., there is interlayer penetration / wall penetration).

[0066] Scenario 2: For cameras that only have the first communication module, step 104 above, which determines the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR, may include the following steps: If the second camera in each camera feeds back the first signal parameter to the NVR, then the third signal parameter between the second camera and the first camera is obtained; the first camera is the camera that feeds back the first signal parameter and the second signal parameter to the NVR, and the second camera and the first camera communicate with each other through the first communication method. The first signal parameter of the second camera is determined as the communication performance parameter of the communication link when the second camera and the NVR communicate directly through the first communication method, and the third signal parameter is determined as the communication performance parameter of the communication link when the second camera communicates through the first camera and the NVR. Based on the first and third signal parameters of the second camera, the spatial relationship between the second camera and the NVR is determined.

[0067] As mentioned above, if the NVR receives only the first signal parameter from the same camera but not the second signal parameter during the connection establishment process with each camera, it means that the camera only has a WiFi module and can be recorded as the second camera.

[0068] Then, a WiFi connection can be established between the first camera (equipped with both a WiFi module and a WiFi Halow module) and the second camera to obtain the signal parameters for communication between the second camera and the first camera, denoted as the third signal parameter, which could be RSSI, SNR, etc. Subsequently, the first signal parameter fed back by the second camera can be used as the communication performance parameter corresponding to the communication link when it communicates directly with the NVR via WiFi, or the third signal parameter can be used as the communication performance parameter corresponding to the communication link when it communicates with the NVR via the first camera.

[0069] Then, based on the first and third signal parameters of the second camera, the spatial relationship between the second camera and the NVR, such as the distance and layer penetration, can be determined. For example, the first signal parameter of the second camera can be compared with the signal parameters (such as the strength of the transmitted WiFi signal) when the NVR sends a WiFi signal to the second camera. If the difference is large, it indicates that the second camera is far from the NVR. At the same time, the communication quality between the second camera and the first camera can be judged by the third signal parameter of the second camera. If the communication quality is good, it means that the second camera and the first camera are in the same space. Therefore, the layer penetration of the first camera can also be used as the layer penetration of the second camera.

[0070] Taking a wireless kit consisting of one NVR and four cameras as an example, the NVR integrates a WiFi module and a WiFi Halow module, while two of the cameras integrate both WiFi and WiFi Halow modules (e.g., Figure 3 Cameras 3 and 4 in the middle), two cameras integrated with WiFi modules (such as Figure 3 (Camera 1 and Camera 2 in the example). The following are some specific scenario examples based on this example: Example 1: Cameras 1-4 are in the same space (there is no layering).

[0071] See Figure 3 The diagram shows one example of the network architecture of the wireless kit. After the NVR and cameras 1-4 are powered on, the NVR starts to establish a connection with each camera and initiates a self-test. It uses information such as RSSI and SNR to obtain the distance relationship between the cameras and the NVR at this time. From the diagram, it can be seen that cameras 1 and 2 are installed close to the NVR, while cameras 3 and 4 are installed far away from the NVR.

[0072] At this time, Camera 1 and Camera 2 can use WiFi to transmit image / video data from the camera end to the NVR end; at this time, Camera 3 and Camera 4 can use WiFi Halow (because they are far away from the NVR, WiFi communication cannot be used) to transmit image / video data from the camera end to the NVR end.

[0073] Example 2: Cameras 1-4 are in the same space (there is no layering).

[0074] See Figure 4 The second example diagram of the wireless kit's network architecture shows that after the NVR and cameras 1-4 are powered on, the NVR establishes a connection with each camera and initiates a self-test. It uses information such as RSSI and SNR to determine the distance between the cameras and the NVR. From the diagram, it can be seen that cameras 3 and 4 are installed close to the NVR; cameras 1 and 2 are installed far from the NVR. There are two possibilities in this case: 1. At this time, both camera 1 and camera 2 can still establish a WiFi connection with the NVR, indicating that the installation locations of camera 1 and camera 2 are far away from the NVR; 2. At this time, cameras 1 and 2 cannot establish a WiFi connection with the NVR, but cameras 1 and 2 can establish a connection with the NVR through cameras 3 and 4; at this time, it can be determined that the installation positions of cameras 1 and 2 are far away from the NVR.

[0075] Under the original transmission scheme where cameras 1 and 2 were directly connected to the NVR via WiFi, cameras 1 and 2 have now lost connection. Under the new transmission scheme, camera 1 first transmits its image / video data back to camera 3 via WiFi; camera 3 then transmits the image / video data from camera 1 back to the NVR via WiFi / WiFi Halow. Similarly, camera 2 first transmits its image / video data back to camera 4 via WiFi; camera 4 then transmits the image / video data from camera 2 back to the NVR via WiFi / WiFi Halow. At this point, cameras 3 and 4 can use WiFi / WiFi Halow to transmit their image / video data back to the NVR.

[0076] Example 3: Camera 1 and Camera 3 are in the same space, Camera 2 and Camera 4 are in the same space, and there is a layering between Camera 2 and 4 and Camera 1 and 3.

[0077] See Figure 5The third example diagram of the wireless kit's networking architecture shows that after the NVR and cameras 1-4 are powered on, the NVR starts to establish a connection with each camera, initiates a self-test scheme, and uses information such as RSSI and SNR to obtain the distance relationship between the cameras and the NVR at this time. From the diagram, it can be seen that cameras 1 and 3 are in the same space, which is the first layer; cameras 2 and 4 are in the same space, which is the second layer.

[0078] Meanwhile, camera 1 is installed close to the NVR; at this time, camera 1 can use WiFi to transmit image / video data from the camera end back to the NVR end.

[0079] Camera 3 is installed far from the NVR; in this case, camera 3 can use WiFi Halow (if it is too far from the NVR to use WiFi) to transmit image / video data from the camera to the NVR; however, according to the original transmission scheme where camera 3 connects directly to the NVR via WiFi, camera 3 has now lost connection.

[0080] Although camera 2 is installed close to the NVR, it involves passing through a wall and one floor slab. At this time, the signal is poor. Therefore, camera 2 first transmits the image / video data from the camera end back to camera 4 via WiFi. Camera 4 then transmits the image / video data from camera 2 back to the NVR via WiFi Halow.

[0081] Camera 4 is installed far from the NVR and involves passing through a wall and one floor slab; in this case, camera 4 can use WiFiHalow to transmit image / video data from the camera to the NVR.

[0082] The above examples are merely illustrative and do not constitute a limitation on the technical solutions of the embodiments of the present invention. As can be seen from the above examples, by adding WiFi Halow modules to the NVR and some cameras for communication, and by using WiFi Halow modules to communicate with the NVR when the distance between the camera and the NVR is far or when it involves passing through layers / walls, problems such as disconnection, stuttering, and unsmoothness in communication between the camera and the NVR can be avoided.

[0083] In this embodiment, by determining the spatial relationship between cameras equipped with different communication modules and the NVR, the NVR can accurately switch the network of each camera accordingly, further reducing or avoiding problems such as dropped connections, lag, and unsmooth communication that may occur during the wireless kit's communication process.

[0084] Additionally, it should be noted that different countries have strict restrictions on the operating frequency and bandwidth of WiFi Halow. See the table below for the parameter settings for WiFi Halow in different countries, which provides the frequency bands, allowed bandwidth, maximum terminal transmission power, and related notes for different geographical regions. Taking region B as an example, the allowed WiFi Halow frequency band range is 902~928MHz, the allowed bandwidth is 1, 2, 4, 8, 16; and the maximum transmission power is 30dBm.

[0085] Based on this, before communicating with each camera, the NVR can adjust its parameters to meet regulatory requirements according to the relevant requirements of the area where the NVR and cameras are located. These parameters may include, for example, the operating frequency band, allowable bandwidth, and maximum transmission power.

[0086] After constructing the network topology diagram between the NVR and each camera, the communication link between each camera and the NVR can be determined through the network topology diagram. As mentioned above, the communication link between each camera and the NVR may include multiple communication links. The following example illustrates how to implement the network switching process when multiple communication links are included.

[0087] In one embodiment, each camera includes a third camera and a fourth camera, wherein the third camera includes a first communication module, and the fourth camera includes a first communication module and a second communication module. The method further includes the following steps: Based on the network topology diagram, the communication link between the third camera and the NVR that communicates directly through the first communication method is determined as the main communication link of the third camera. Based on the network topology diagram, the communication link through which the third camera communicates with the NVR via the fourth camera is identified as the backup communication link for the third camera; the third camera communicates with the fourth camera via the first communication method, and the fourth camera communicates with the NVR via the second communication method. If it is determined that the main communication link of the third camera is abnormal, a switching command is sent to the third camera; the switching command is used to instruct the third camera to switch its communication link from the main communication link to the backup communication link.

[0088] As shown in the network topology diagram, the communication link between each camera and the NVR may include multiple communication links. The network path reliability (also known as network performance) of each communication link can be determined based on its communication performance parameters. The network path reliability characterizes the trustworthiness of the communication link and reflects whether it can be used for normal communication. Subsequently, during network switching, the network switching can be achieved based on the network communication reliability of each communication link.

[0089] In this embodiment, each camera includes the two types of cameras mentioned above. The camera that only includes the first communication module is referred to as the third camera in this embodiment, and the camera that includes the first communication module and the second communication module is referred to as the fourth camera in this embodiment. That is, the third camera and the NVR can only communicate through the first communication method, while the fourth camera and the NVR can communicate through either the first communication method or the second communication method.

[0090] For example, see Figure 6 The fourth example diagram shows the networking architecture of the wireless kit, and see also... Figure 7 The fifth example diagram of the wireless kit's network architecture shows cameras 1 and 2 as the third camera in this embodiment, and cameras 3 and 4 as the fourth camera. Cameras 1 and 3 are in the first layer, and cameras 2 and 4 are in the second layer. Cameras 1 and 2 transmit their back-to-work images to the NVR via WiFi, while cameras 3 and 4 transmit their back-to-work images to the NVR via WiFi Halow. The communication link between cameras 1 and 2 directly connected to the NVR via WiFi can serve as the primary communication link between them. Camera 1 can also communicate with camera 3 via WiFi, and then camera 3 transmits its back-to-work images to the NVR; this communication link can serve as a backup communication link for camera 1. Similarly, camera 2 can also communicate with camera 4 via WiFi, and then camera 4 transmits its back-to-work images to the NVR; this communication link can also serve as a backup communication link for camera 2.

[0091] Camera 1 and Camera 2 use the main communication link to communicate with the NVR by default. If the main communication link of Camera 1 and Camera 2 malfunctions, such as due to WiFi signal interference or conflict, causing severe WiFi signal attenuation, Camera 1 and Camera 2 will be unable to communicate with the NVR normally via the main communication link WiFi. In this case, the network path reliability (also known as network performance) of Camera 1 and Camera 2 can be used to switch Camera 1 and Camera 2 from the main communication link to their backup communication link to achieve seamless network switching.

[0092] At this time, camera 1 seamlessly switches its communication link and transmits the image back to camera 3 via WiFi; camera 3 combines the images from camera 1 and camera 3 and transmits them to the NVR via WiFi Halow; camera 2 seamlessly switches its communication link and transmits the image back to camera 4 via WiFi; camera 4 combines the images from camera 2 and camera 4 and transmits them to the NVR via WiFi Halow.

[0093] In this embodiment, by determining the main communication link and backup communication link of the camera, and switching the camera from the main communication link to the backup communication link when the main communication link of the camera is abnormal, it can ensure that the camera can communicate normally. This can further avoid problems such as disconnection, lag, and unsmoothness in the communication process between the camera and the NVR.

[0094] In the actual communication process between each camera and the NVR, considering the maximum bitrate limitation of the wireless kit when transmitting data between each camera and the NVR, it is necessary to consider what bitrate each camera uses to communicate with the NVR. The following example illustrates this process.

[0095] In one embodiment, the above method further includes the following steps: Obtain the maximum bitrate allowed to be transmitted by the wireless kit and the target bitrate that each camera can transmit, and calculate the bitrate sum based on the target bitrate that each camera can transmit; the maximum bitrate is less than the bitrate sum. When the target camera in each camera is detected to be triggered to transmit, the first bitstream and the second bitstream are calculated based on the maximum bitstream and the target bitstream; the first bitstream is the same as the target bitstream and is greater than the second bitstream. Send a first control command to the target camera and a second control command to the non-target cameras among the cameras; the first control command is used to instruct the target camera to transmit with a first bitstream, and the second control command is used to instruct the non-target cameras to transmit with a second bitstream.

[0096] For example, continuing with a wireless kit consisting of one NVR and four cameras, assuming the maximum throughput of the NVR in the wireless kit can reach 16Mbps, considering factors such as actual attenuation, we take a 60% margin, and the actual maximum transmittable bit rate is 9.6Mbps. Assuming that the bitrate of cameras 1 to 4 is 2Mbps, then the 2Mbps bitrate of all 4 cameras can meet the requirements, and there is no need to reduce the bitrate.

[0097] Assuming cameras 1-4 each have a bitrate of 4Mbps, the 4Mbps bitrate from all four cameras is insufficient. In this case, based on alarm urgency, priority should be given to the human detection path. For example, if camera 1 is triggered by human detection (i.e., camera 1 is the target camera and its transmission is triggered), then camera 1 will transmit at full bitrate, which is 4Mbps (target bitrate / first bitrate). The remaining cameras 2-4 (non-target cameras) will transmit at a reduced bitrate, using 1.86Mbps (second bitrate). Subsequently, if camera 1 is no longer triggered by human detection, and the other cameras 2-4 have no other triggers, then cameras 1-4 will all transmit at a reduced bitrate, using 2.4Mbps.

[0098] In this embodiment, by prioritizing the transmission of full-stream data to high-priority cameras based on their alarm urgency, while reducing the bitrate of data transmission to other low-priority cameras, the accuracy of alarms can be improved.

[0099] In the actual communication process between the cameras and the NVR, it is considered that the data transmission between the cameras and the NVR may include keyframe data (denoted as I-frame image or I-frame data) and non-keyframe data (denoted as P-frame image or P-frame data). Keyframe data is independently encoded into a complete image through intra-frame compression; its loss will cause all subsequent frames to fail, resulting in problems such as a black screen. Furthermore, its large data volume leads to high transmission latency. Non-keyframe data records the difference from the previous frame, approximately 1 / 5 to 1 / 3 of the keyframe data, and it can only be decoded after the keyframe data arrives. Based on this, considering the limited bandwidth of WiFi Halow and the significant impact of keyframe data, this embodiment proposes a scheme that prioritizes the transmission of keyframe data. The following embodiments will explain this.

[0100] In some embodiments, the above method further includes the following steps: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. When the network performance of the main communication link of the third camera is lower than a threshold, a first control command is sent to the third camera; the first control command is used to instruct the third camera to send non-critical frame data through the main communication link and to send critical frame data through the backup communication link. Receive non-critical frame data sent by the third camera through the main communication link, and receive critical frame data sent by the third camera through the backup communication link.

[0101] Among them, see Figure 8The sixth example diagram of the wireless kit's network architecture continues, using cameras 1 and 2 as the third camera and cameras 3 and 4 as the fourth camera. The reliability of the corresponding network path (also known as network performance) can be determined by the communication performance parameters of the main communication links of cameras 1 and 2, and it can be judged whether the network performance of the main communication link is lower than a threshold (the specific value can be set according to the actual situation). If the network performance of camera 2's main communication link is lower than the threshold, it is determined that the communication quality of the direct WiFi connection between camera 2 and the NVR is poor. In this case, in order to accurately transmit I-frame data to the NVR, the networking strategy of camera 2 can be switched.

[0102] The switched networking strategy includes: NVR controls camera 2 to transmit its own P-frame data to NVR via WiFi, and its own I-frame data to camera 4 via WiFi, and then camera 4 transmits the data to NVR via WiFi Halow.

[0103] In this embodiment, the I-frame data from the camera is transmitted to the NVR through a backup communication link with better transmission performance, while the P-frame data is transmitted to the NVR through the main communication link. This avoids problems such as device black screen caused by failure of key frame data transmission from the camera.

[0104] In the actual communication process between each camera and the NVR, it is considered that when transmitting data between each camera and the NVR, a main bitstream and a secondary bitstream may be transmitted. The main bitstream bitrate is mainly used for local storage and high-definition display, and the bitstream bitrate is relatively large. The secondary bitstream bitrate is mainly used for network transmission and mobile terminal display, and the bitstream bitrate is relatively small. Therefore, it is necessary to prioritize the transmission of the secondary bitstream. Based on this, this embodiment proposes a scheme to prioritize the transmission of the secondary bitstream. The following embodiment will explain this.

[0105] In some embodiments, the above method further includes the following steps: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. If the network performance of the main communication link of the third camera is lower than a threshold, a second control command is sent to the third camera; the second control command is used to instruct the third camera to send the main code stream through the main communication link and to send the auxiliary code stream through the backup communication link. Receive the main stream sent by the third camera through the main communication link, and receive the auxiliary stream sent by the third camera through the backup communication link.

[0106] Among them, see Figure 9The seventh example diagram of the wireless kit's network architecture continues, using cameras 1 and 2 as the third camera and cameras 3 and 4 as the fourth camera. The reliability of the corresponding network path (also known as network performance) can be determined by the communication performance parameters of the main communication links of cameras 1 and 2, and it can be judged whether the network performance of the main communication link is lower than a threshold (the specific value can be set according to the actual situation). If the network performance of camera 2's main communication link is lower than the threshold, it is determined that the communication quality of the direct WiFi connection between camera 2 and the NVR is poor. In this case, in order to accurately transmit the auxiliary stream to the NVR, the networking strategy of camera 2 can be switched.

[0107] The network strategy after the switch includes: NVR controls camera 2 to transmit its main bitstream to NVR via WiFi, and its secondary bitstream to camera 4 via WiFi, and then camera 4 transmits it to NVR via WiFi Halow.

[0108] In this embodiment, the camera's secondary bitstream is transmitted to the NVR through a backup communication link with better transmission performance, while the primary bitstream is transmitted to the NVR through the primary communication link. This avoids problems such as poor device display caused by the failure of the camera's secondary bitstream transmission.

[0109] The above embodiments illustrate the wireless networking method of the wireless kit on the NVR side. The following embodiments will use the camera as the execution subject to illustrate the wireless networking method of the wireless kit on the camera side.

[0110] Figure 10 This is a flowchart illustrating the wireless networking method of the camera-side wireless kit provided in an embodiment of the present invention, as shown below. Figure 10 As shown, the method includes the following steps: Step 302: Receive the network topology map and spatial location relationships sent by the NVR; the network topology map includes the communication links between each camera and the NVR and the corresponding communication performance parameters of the communication links. The communication links are the links through which the cameras communicate with the NVR using the first communication method and / or the second communication method. The spatial location relationships are determined based on the communication performance parameters corresponding to the communication links between each camera and the NVR, including the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR.

[0111] The process of obtaining and determining the network topology and spatial relationships can be found in the explanation of the above-mentioned NVR side embodiment, and will not be repeated here.

[0112] Step 304: Based on the network topology diagram, the layer penetration situation and / or distance between the camera and the NVR, adjust the wireless networking strategy between the camera and the NVR to determine the target communication link between the camera and the NVR; the target communication link includes the link between the camera and other cameras and / or NVRs using a second communication method, the communication distance of the second communication method is greater than the communication distance of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0113] Specifically, for each camera, after receiving the network topology map sent by the NVR and the layer penetration and / or distance between each camera and the NVR, it can adjust its own wireless networking strategy accordingly, that is, adjust its own communication link and determine the optimal target communication link for its own communication.

[0114] For details on the specific process of adjusting the wireless networking strategy, please refer to the explanation of the above-mentioned NVR side implementation, which will not be repeated here.

[0115] In this embodiment, the wireless kit includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. The NVR obtains a network topology diagram between itself and each camera, and determines the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR in the network topology diagram, and sends this information to the camera. The camera can adjust the wireless networking strategy between itself and the NVR based on the layer penetration and / or distance between itself and the NVR in the spatial relationship, and determine the target communication link between the camera and the NVR. The target communication link includes a link between the camera and other cameras and / or the NVR that uses the second communication method to communicate. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method. In this method, the wireless networking strategy between each camera and the NVR can be adjusted according to the layer penetration and / or distance between each camera and the NVR, so that each camera and the NVR can communicate through a communication method with a longer communication distance and higher layer penetration performance. This reduces or avoids problems such as dropped connections, stuttering, and unsmooth communication that may occur during the wireless kit's communication process, and achieves high-performance communication transmission of the wireless kit.

[0116] In some embodiments, each camera includes a third camera and a fourth camera, wherein the camera is a third camera, the third camera includes a first communication module, and the fourth camera includes a first communication module and a second communication module. The method further includes: The main communication link and backup communication link corresponding to the third camera are determined based on the network topology diagram. The main communication link is the communication link between the third camera and the NVR that communicates directly through the first communication method. The backup communication link is the communication link between the third camera and the NVR through the fourth camera. The third camera communicates with the fourth camera through the first communication method, and the fourth camera communicates with the NVR through the second communication method. If it is determined that the main communication link of the third camera is abnormal, the communication link of the third camera will be switched from the main communication link to the backup communication link.

[0117] In this embodiment, the specific process of switching communication links for the camera can be found in the explanation of the above-mentioned NVR side embodiment, and will not be repeated here.

[0118] In some embodiments, the above method further includes: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. When the network performance of the main communication link of the third camera is below a threshold, non-critical frame data is sent to the NVR through the main communication link of the third camera, and critical frame data is sent to the NVR through the backup communication link of the third camera.

[0119] In this embodiment, the specific process of the camera determining the strategy for sending key frame data and non-key frame data can be found in the explanation of the above NVR side embodiment, and will not be repeated here.

[0120] In some embodiments, the above method further includes: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. If the network performance of the main communication link of the third camera is lower than the threshold, the main stream is sent to the NVR through the main communication link of the third camera and the auxiliary stream is sent to the NVR through the backup communication link of the third camera.

[0121] In this embodiment, the specific process of the camera determining the strategy for sending the main bitstream and the secondary bitstream can be found in the explanation of the above NVR side embodiment, and will not be repeated here.

[0122] The wireless networking device of the wireless kit provided in the embodiments of the present invention will be described below. The wireless networking device of the wireless kit described below and the wireless networking method of the wireless kit described above can be referred to in correspondence with each other.

[0123] Figure 11 This is a schematic diagram of the wireless networking device for an NVR-side wireless kit provided in an embodiment of the present invention. This device is applied to the NVR within the wireless kit. The wireless kit includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. See [link to documentation]. Figure 11 As shown, the device may include: The topology acquisition module 410 is used to acquire the network topology diagram between the NVR and each camera; the network topology diagram includes the communication links between each camera and the NVR and the communication performance parameters corresponding to the communication links, and the communication links are the links through which the cameras communicate with the NVR using a first communication method and / or a second communication method; The spatial position relationship determination module 420 is used to determine the spatial position relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication link between each camera and the NVR; the spatial position relationship includes the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR. The sending module 430 is used to send the network topology map and spatial location relationships to each camera. The network topology map and spatial location relationships are used to enable each camera to adjust the wireless networking strategy between each camera and the NVR according to the network topology map, the layer penetration situation and / or distance between each camera and the NVR, and to determine the target communication link between each camera and the NVR. The target communication link includes the link between the camera and other cameras and / or the NVR using a second communication method. The communication distance of the second communication method is greater than the communication distance of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0124] Figure 12 This is a schematic diagram of the wireless networking device for a camera-side wireless kit provided in an embodiment of the present invention. The device is applied to the cameras in the wireless kit, which includes an NVR and at least two cameras. At least one of the cameras includes a first communication module and a second communication module. The first communication module communicates using a first communication method, and the second communication module communicates using a second communication method. (See also...) Figure 12 As shown, the device may include: The receiving module 510 is used to receive the network topology map and spatial position relationship sent by the NVR. The network topology map includes the communication links between each camera and the NVR and the communication performance parameters corresponding to the communication links. The communication links are the links through which the cameras communicate with the NVR using a first communication method and / or a second communication method. The spatial position relationship is determined according to the communication performance parameters corresponding to the communication links between each camera and the NVR, including the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR. The wireless networking adjustment module 520 is used to adjust the wireless networking strategy between the camera and the NVR based on the network topology diagram, the layer penetration situation and / or distance between the camera and the NVR, and to determine the target communication link between the camera and the NVR. The target communication link includes a link between the camera and other cameras and / or NVRs that uses a second communication method to communicate. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

[0125] It should be noted that the apparatus provided in this embodiment of the invention can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0126] In one embodiment, the present invention also provides a wireless kit, including a network video recorder (NVR) and at least two cameras, wherein at least one of the cameras includes a first communication module and a second communication module, the first communication module communicating using a first communication method and the second communication module communicating using a second communication method; The aforementioned NVR is used to execute wireless networking methods for any type of wireless suite on the NVR side; The aforementioned camera is used to perform a wireless networking method for any of the wireless kits on the camera side.

[0127] Figure 13 An example of a schematic diagram of the physical structure of an NVR is shown, such as... Figure 13 As shown, the NVR may include a processor 610, a communications interface 620, a memory 630, and a communication bus 640. The processor 610, communications interface 620, and memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions from the memory 630 to execute the wireless networking method of the NVR-side wireless kit.

[0128] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0129] Figure 14 An example is a schematic diagram of the physical structure of a camera, such as... Figure 14 As shown, the camera may include a processor 710, a communications interface 720, a memory 730, and a communication bus 740. The processor 710, communications interface 720, and memory 730 communicate with each other via the communication bus 740. The processor 710 can call logical instructions from the memory 730 to execute the wireless networking method of the camera-side wireless kit.

[0130] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0131] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the wireless networking method of the wireless kit provided by the above-described methods on the NVR side and / or the camera side.

[0132] In another aspect, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a wireless networking method for the wireless suite provided by the methods described above on the NVR side and / or the camera side.

[0133] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0134] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A wireless networking method for a wireless kit, characterized in that, A network video recorder (NVR) is used in a wireless kit, the wireless kit including an NVR and at least two cameras, at least one of the cameras including a first communication module and a second communication module, the first communication module communicating using a first communication method, and the second communication module communicating using a second communication method, including: Obtain a network topology diagram between the NVR and each of the cameras; the network topology diagram includes communication links between each camera and the NVR and communication performance parameters corresponding to the communication links, wherein the communication links are links through which the cameras communicate with the NVR using the first communication method and / or the second communication method; Based on the communication performance parameters corresponding to the communication links between each camera and the NVR, the spatial positional relationship between each camera and the NVR is determined; the spatial positional relationship includes the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR; The network topology map and spatial location relationships are sent to each of the cameras. The network topology map and spatial location relationships are used to enable each camera to adjust its wireless networking strategy with the NVR based on the network topology map, the layer penetration situation and / or distance between each camera and the NVR, and to determine the target communication link between each camera and the NVR. The target communication link includes a link between the camera and other cameras and / or the NVR that uses the second communication method to communicate. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

2. The wireless networking method of the wireless kit according to claim 1, characterized in that, The step of obtaining the network topology map between the NVR and each of the cameras includes: The first communication method is used to send a first network connection signal to each of the cameras respectively, and the second communication method is used to send a second network connection signal to each of the cameras respectively; Obtain the first signal parameters fed back by each of the cameras in response to the first network connection signal, and / or the second signal parameters fed back by each camera in response to the second network connection signal; Based on the first signal parameters and / or second signal parameters of each camera, determine the communication link between each camera and the NVR, and the communication performance parameters corresponding to the communication link; Based on the communication links between each camera and the NVR, and the communication performance parameters corresponding to the communication links, a network topology diagram between the NVR and each camera is constructed.

3. The wireless networking method of the wireless kit according to claim 2, characterized in that, Determining the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR includes: If the first camera in each of the cameras feeds back a first signal parameter and a second signal parameter to the NVR, then the first signal attenuation degree and the second signal attenuation degree between the NVR and the first camera are determined based on the first signal parameter and the second signal parameter of the first camera. The first signal attenuation level is determined as the communication performance parameter of the communication link when the first camera and the NVR communicate through the first communication method, and the second signal attenuation level is determined as the communication performance parameter of the communication link when the first camera and the NVR communicate through the second communication method. The spatial relationship between the first camera and the NVR is determined based on the first signal attenuation level and the second signal attenuation level of the first camera.

4. The wireless networking method of the wireless kit according to claim 2, characterized in that, Determining the spatial relationship between each camera and the NVR based on the communication performance parameters corresponding to the communication links between each camera and the NVR includes: If the second camera in each of the cameras feeds back the first signal parameter to the NVR, then the third signal parameter between the second camera and the first camera is obtained; the first camera is the camera that feeds back the first signal parameter and the second signal parameter to the NVR, and the second camera and the first camera communicate with each other through the first communication method; The first signal parameter of the second camera is determined as the communication performance parameter of the communication link when the second camera and the NVR communicate directly through the first communication method, and the third signal parameter is determined as the communication performance parameter of the communication link when the second camera communicates with the NVR through the first camera; The spatial relationship between the second camera and the NVR is determined based on the first signal parameters and the third signal parameters of the second camera.

5. The wireless networking method of the wireless kit according to any one of claims 1 to 4, characterized in that, Each of the cameras includes a third camera and a fourth camera. The third camera includes the first communication module, and the fourth camera includes the first communication module and the second communication module. The method further includes: Based on the network topology diagram, the communication link between the third camera and the NVR that communicates directly through the first communication method is determined as the main communication link of the third camera. According to the network topology diagram, the communication link through which the third camera communicates with the NVR via the fourth camera is determined as the backup communication link of the third camera; the third camera communicates with the fourth camera via a first communication method, and the fourth camera communicates with the NVR via a second communication method; If it is determined that the main communication link of the third camera is abnormal, a switching command is sent to the third camera; the switching command is used to instruct the third camera to switch its communication link from the main communication link to the backup communication link.

6. The wireless networking method of the wireless kit according to claim 5, characterized in that, The method further includes: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. When the network performance of the main communication link of the third camera is lower than a threshold, a first control command is sent to the third camera; the first control command is used to instruct the third camera to send non-critical frame data through the main communication link and to send critical frame data through the backup communication link. Receive non-critical frame data sent by the third camera through the main communication link, and receive critical frame data sent by the third camera through the backup communication link.

7. The wireless networking method of the wireless kit according to claim 5, characterized in that, The method further includes: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. If the network performance of the main communication link of the third camera is lower than a threshold, a second control command is sent to the third camera; the second control command is used to instruct the third camera to send the main code stream through the main communication link and to send the auxiliary code stream through the backup communication link. Receive the main code stream sent by the third camera through the main communication link, and receive the auxiliary code stream sent by the third camera through the backup communication link.

8. A wireless networking method for a wireless kit, characterized in that, A camera used in a wireless kit, the wireless kit including a network video recorder (NVR) and at least two cameras, at least one of the cameras including a first communication module and a second communication module, the first communication module communicating using a first communication method, and the second communication module communicating using a second communication method, including: The system receives a network topology map and spatial location relationships sent by the NVR. The network topology map includes communication links between each camera and the NVR and communication performance parameters corresponding to the communication links. Each communication link is a link through which the camera communicates with the NVR using the first communication method and / or the second communication method. The spatial location relationships are determined based on the communication performance parameters corresponding to the communication links between each camera and the NVR, including the layer crossing situation between the camera and the NVR and / or the distance between the camera and the NVR. Based on the network topology diagram, the layer penetration and / or distance between the camera and the NVR, the wireless networking strategy between the camera and the NVR is adjusted to determine the target communication link between the camera and the NVR. The target communication link includes the link between the camera and other cameras and / or the NVR that uses the second communication method to communicate. The communication distance of the second communication method is greater than that of the first communication method, and the layer penetration performance of the second communication method is higher than that of the first communication method.

9. The wireless networking method of the wireless kit according to claim 8, characterized in that, Each of the cameras includes a third camera and a fourth camera. The camera is the third camera, which includes the first communication module. The fourth camera includes the first communication module and the second communication module. The method further includes: Based on the network topology diagram, the main communication link and backup communication link corresponding to the third camera are determined; the main communication link is the communication link between the third camera and the NVR that communicates directly through the first communication method; the backup communication link is the communication link between the third camera and the NVR through the fourth camera, wherein the third camera communicates with the fourth camera through the first communication method, and the fourth camera communicates with the NVR through the second communication method. If it is determined that the main communication link of the third camera is abnormal, the communication link of the third camera will be switched from the main communication link to the backup communication link.

10. The wireless networking method of the wireless kit according to claim 9, characterized in that, The method further includes: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. If the network performance of the main communication link of the third camera is lower than a threshold, non-critical frame data is sent to the NVR through the main communication link of the third camera, and critical frame data is sent to the NVR through the backup communication link of the third camera.

11. The wireless networking method of the wireless kit according to claim 9, characterized in that, The method further includes: The network performance of the main communication link of the third camera is determined based on the communication performance parameters corresponding to the communication link between the third camera and the NVR. If the network performance of the main communication link of the third camera is lower than a threshold, the main stream is sent to the NVR through the main communication link of the third camera and the auxiliary stream is sent to the NVR through the backup communication link of the third camera.

12. A wireless kit comprising a network video recorder (NVR) and at least two cameras, characterized in that, At least one of the cameras includes a first communication module and a second communication module, wherein the first communication module communicates using a first communication method and the second communication module communicates using a second communication method; The NVR is used to perform the wireless networking method of the wireless kit as described in any one of claims 1 to 7; The camera is used to perform the wireless networking method of the wireless kit as described in any one of claims 8 to 11.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the wireless networking method of the wireless kit as described in any one of claims 1 to 7 and / or the wireless networking method of the wireless kit as described in any one of claims 8 to 11.