Data interaction method, storage medium, electronic device and computer program product
By adopting passive spectrometer and optical fiber communication technology in network video surveillance systems, the problems of limited coverage and high investment costs in existing systems are solved, and more efficient, lower cost, longer transmission distance and anti-interference ability are achieved. Stronger and higher bandwidth monitoring system.
Patent Information
- Application Number
- CN202411504283.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-18
AI Technical Summary
The existing network video surveillance system has problems such as limited coverage and high investment costs, especially in the wired networking method, the network cable layout distance is limited, the lightning protection design requirements are high, and the wireless networking method has large environmental interference. , the problem of limited signal coverage and distance.
Passive optical splitter and optical fiber communication technology are adopted to achieve accurate data transmission and efficient management through optical communication between network video recorders and multiple network cameras, reducing the system setup cost and complexity.
It has realized a network video surveillance system with more efficient, lower cost, longer transmission distance, stronger anti-interference ability and higher bandwidth, solving the problems of limited coverage and high investment cost.
Smart Images

Figure CN119484782A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data interaction method, a storage medium, an electronic device, and a computer program product. Background Art
[0002] There are two main ways to build a network video surveillance system in the related art: one is a network video surveillance system built on a wired networking method, and the other is a network video surveillance system based on a wireless networking method. However, the network video surveillance system built on a wired networking method has technical problems such as limited cable laying distance, high requirements for lightning protection design of the network cable, and high investment cost, while the network video surveillance system based on a wireless networking method has technical problems such as large environmental interference, limited coverage range and distance of wireless signals.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a data interaction method, a storage medium, an electronic device, and a computer program product to at least solve the technical problems of limited coverage and high investment cost in the network video surveillance system in the related art.
[0005] According to one aspect of an embodiment of the present application, a network video monitoring system is provided, comprising: a network video recorder, a passive optical splitter and a plurality of network cameras, wherein the network video recorder performs optical communication with the plurality of network cameras via the passive optical splitter.
[0006] Through the above methods, the limitations of wired and wireless networking methods in related technologies can be effectively solved, providing a more efficient, lower cost, longer transmission distance, stronger anti-interference ability and higher bandwidth network video surveillance system.
[0007] Optionally, in the optical communication, the network video recorder serves as an optical line terminal, and the multiple network cameras serve as corresponding optical network units.
[0008] Through the above methods, multiple network cameras can be effectively managed and data transmitted without the need for additional switch equipment, reducing the cost and complexity of setting up the network video surveillance system. In addition, using a network video recorder as an optical line terminal can also support multi-level splitting, thereby increasing the coverage and reliability of the network.
[0009] Optionally, the network video recorder communicates with the passive optical splitter through a set optical port using a first optical fiber; the multiple network cameras communicate with the passive optical splitter through corresponding set optical ports using corresponding second optical fibers.
[0010] Through the above methods, it can be ensured that each network camera and network video recorder can establish an independent communication link with the splitter through optical fiber to achieve accurate data transmission. Through optical fiber connection, the anti-interference ability and stability of the entire network video surveillance system can be improved. Each network camera uses a separate optical fiber to connect to the passive splitter, which can flexibly add or reduce the number of network camera connections, enhancing the scalability and adaptability of the network video surveillance system.
[0011] Optionally, the first optical fiber is a single-mode optical fiber, and the second optical fiber is a single-mode optical fiber.
[0012] Through the above method, the signal attenuation caused by light wave mode dispersion can be reduced, the stability and quality of signal transmission between the network video recorder and each network camera can be guaranteed, and the network video recorder and multiple network cameras can support higher data transmission rate and longer transmission distance.
[0013] Optionally, the network video surveillance system also includes: an optical attenuator, wherein one end of the optical attenuator is connected to the passive optical splitter, and the other end of the optical attenuator is connected to the multiple network cameras; the optical attenuator is used to adjust the optical communication between the network video recorder and the multiple network cameras to within a predetermined light intensity range.
[0014] Through the above method, it is possible to avoid equipment damage or signal quality degradation caused by excessive optical signals, and overcome the problem of unstable connection caused by optical signal attenuation.
[0015] Optionally, the network video surveillance system further includes: a power supply device, which is respectively connected to the multiple network cameras and is used to supply power to the multiple network cameras.
[0016] Through the above methods, the normal operation of the network camera in different scenarios can be ensured.
[0017] Optionally, the power supply device is a solar power supply device and / or an adapter.
[0018] Through the above methods, the flexibility of network camera deployment can be improved, the dependence on wired power supply can be reduced, and the stability of power supply can be ensured.
[0019] Optionally, the passive optical splitter has a built-in routing module, and the network video surveillance system further includes a target optical network unit, wherein the target optical network unit is used for accessing the Internet.
[0020] Through the above methods, network traffic can be better managed, not only limited to data transmission between network video recorders and network cameras, but also able to process Internet data from the target optical network unit, making full use of the communication bandwidth of PON, so that the entire system can support more complex network architecture and more diverse network services.
[0021] According to another aspect of an embodiment of the present application, a data interaction method is also provided, including: receiving control information for multiple network cameras; generating a control instruction packet based on the control information; transmitting the control instruction packet to a passive optical splitter by optical communication, wherein the passive optical splitter is used to transmit the control instruction packet to the multiple network cameras respectively by optical communication, so that the multiple network cameras act respectively based on the corresponding control instructions.
[0022] Through the above methods, the combination of optical communication and passive optical splitters can achieve efficient and reliable control of multiple network cameras, while reducing costs, expanding network coverage, and simplifying network architecture. It effectively solves the technical problems of limited coverage and high investment costs in network video surveillance systems in related technologies.
[0023] Optionally, the method further includes: receiving video data transmitted by the passive optical splitter in an optical communication manner, wherein the video data is transmitted by the multiple network cameras to the passive optical splitter in an optical communication manner.
[0024] In the above way, the passive optical splitter receives video data from multiple network cameras and forwards it accordingly, simplifying the network structure. The passive optical splitter distributes the optical signal emitted from the network video recorder to multiple network cameras, and can also aggregate the optical signals of multiple network cameras and transmit them to the network video recorder, realizing efficient optical communication.
[0025] Optionally, the control instruction package includes identifiers corresponding to the multiple network cameras and corresponding control instructions.
[0026] By assigning a unique identifier to each network camera in the above manner, each network camera can be precisely controlled without affecting other network cameras in the network, thereby ensuring the accuracy and efficiency of control instructions, avoiding data interference between different network cameras, and improving the security and stability of the network.
[0027] Optionally, corresponding video data transmitted by the plurality of network cameras in an optical communication manner using the passive optical splitter are received in a time division multiplexing manner.
[0028] Through the above methods, the use of time division multiplexing technology can exclusively receive data from a certain network camera within a specific time period, which not only helps to process data in an orderly manner, but also can achieve physical isolation of different network cameras, enhancing the security and stability of the network video surveillance system. Through the use of passive optical splitters and the way network video recorders receive data through time division multiplexing, it can reduce the dependence on complex network equipment (such as active switches), simplify the network structure, and reduce wiring and maintenance costs.
[0029] Optionally, the wavelength of the optical signal used to transmit the control instruction packet to the passive optical splitter is different from the wavelength of the optical signal used to receive the video data transmitted by the passive optical splitter.
[0030] By using different wavelengths to transmit signals, multiple signals can be transmitted simultaneously in the same optical fiber network to avoid mutual interference between signals. In addition, optical signals of different wavelengths support multiplexing in the PON network, thereby optimizing the use of optical fiber resources and improving the bandwidth utilization of the network.
[0031] According to another aspect of an embodiment of the present application, another data interaction method is provided, comprising: receiving a control instruction packet sent by a network video recorder in an optical communication manner, wherein the control instruction packet is obtained by the network video recorder based on control information for multiple network cameras; transmitting the control instruction packet to the multiple network cameras respectively in an optical communication manner, so that the multiple network cameras respectively act based on the corresponding control instructions.
[0032] Through the above method, it is possible to achieve the purpose of efficiently issuing control instructions by connecting a network video recorder to multiple network cameras by means of optical communication without using a switch, thereby reducing the networking cost between a network video recorder and multiple network cameras, extending the networking wiring distance, and improving the efficiency and stability of issuing control instructions, thereby solving the technical problems of limited coverage and high investment cost of network video surveillance systems in related technologies.
[0033] Optionally, the method further includes: receiving video data transmitted by the multiple network cameras in the form of optical communication; and transmitting the transmitted video data to the network video recorder in the form of optical communication.
[0034] Through the above methods, bidirectional optical communication data transmission with network video recorders and multiple network cameras can be realized. Transmitting video data through optical communication can reduce electromagnetic interference and improve the stability and security of data transmission, especially in long-distance transmission, the advantages are more obvious.
[0035] According to another aspect of an embodiment of the present application, another data interaction method is provided, including: collecting video data; transmitting the video data to a passive optical splitter by optical communication, wherein the passive optical splitter is used to transmit the video data to a network video recorder by optical communication.
[0036] Through the above method, it is possible to achieve the purpose of connecting a network video recorder to multiple network cameras by optical communication without using a switch, thereby collecting and uploading video data. This reduces the networking cost between a network video recorder and a network camera, extends the networking wiring distance, and improves the efficiency and stability of issuing control instructions, thereby solving the technical problems of limited coverage and high investment cost of network video surveillance systems in related technologies.
[0037] Optionally, the method also includes: receiving a control instruction packet transmitted by the passive splitter in an optical communication manner, wherein the control instruction packet includes identifiers corresponding to multiple network cameras and corresponding control instructions; the control instruction packet is obtained by the network video recorder based on control information of the multiple network cameras, and transmitted to the passive splitter in an optical communication manner; determining a target identifier corresponding to the target network camera and a control instruction corresponding to the target identifier from the control instruction packet; and controlling the action of the target network camera based on the control instruction corresponding to the target identifier.
[0038] By using the above method, a unique identifier is assigned to each network camera, and the network video recorder can send specific control instructions to the specified network camera to achieve precise control of each network camera without affecting other network cameras in the network, thereby ensuring the accuracy and efficiency of the control instructions.
[0039] Optionally, the wavelength of the optical signal used to transmit the video data to the passive optical splitter is different from the wavelength of the optical signal used to receive the control instruction packet transmitted by the passive optical splitter.
[0040] In the above way, using different wavelengths to transmit control instructions and video data can achieve simultaneous transmission of multiple signals in the same optical fiber network to avoid mutual interference between signals. In addition, optical signals of different wavelengths support multiplexing in passive optical networks, thereby optimizing the use of optical fiber resources.
[0041] According to another aspect of an embodiment of the present application, another data interaction method is provided, including: multiple network cameras transmit the respectively collected video data to a passive splitter by optical communication; the passive splitter transmits the respectively collected video data to a network video recorder by optical communication.
[0042] Through the above method, it is possible to achieve the purpose of connecting a network video recorder to multiple network cameras by optical communication without using a switch, thereby achieving the purpose of collecting and uploading video data, thereby reducing the networking cost between a network video recorder and multiple network cameras, extending the networking wiring distance, and improving the video data collection efficiency and collection stability, thereby solving the technical problems of limited coverage and high investment cost of network video surveillance systems in related technologies.
[0043] Optionally, the network video recorder receives, in a time division multiplexing manner, corresponding video data transmitted by the plurality of network cameras using the passive optical splitter in an optical communication manner.
[0044] Through the above method, using time division multiplexing technology, the network video recorder can exclusively receive the video data of a certain network camera within a specific time period, which not only helps to process the data in an orderly manner, but also can realize the physical isolation of different network cameras and enhance the security and stability of the network video surveillance system.
[0045] Optionally, the method also includes: the network video recorder generates a control instruction packet in response to control information for multiple network cameras, and transmits the control instruction packet to a passive optical splitter by optical communication; the passive optical splitter transmits the control instruction packet to the multiple network cameras respectively by optical communication; and the multiple network cameras act based on the corresponding control instructions in the control instruction packet.
[0046] Through the above method, the network video recorder can send control instructions to all network cameras at one time, improving the efficiency and convenience of network video surveillance system management. Each network camera independently performs corresponding actions based on the control instructions in the received control instruction package, which means that even in a multi-network camera scenario, the network video recorder can independently and accurately control each network camera, enhancing the flexibility and responsiveness of the network video surveillance system.
[0047] Optionally, when the control instruction package includes identifiers and control instructions corresponding to multiple network cameras, before the multiple network cameras act based on the corresponding control instructions in the control instruction package, the method also includes: the multiple network cameras respectively determine the corresponding identifiers from the corresponding received control instruction packages; and the multiple network cameras respectively identify the corresponding control instructions from the corresponding received control instruction packages based on the corresponding identifiers.
[0048] Through the above method, the network video recorder can perform different control actions on different network cameras, improving the accuracy and pertinence of the control. Each network camera can identify its own control command from the received control command package, ensuring that each network camera only executes the command related to itself, avoiding confusion in command execution, and enhancing the stability and security of the system.
[0049] According to another aspect of an embodiment of the present application, a network video recorder is further provided, wherein the network video recorder is used to execute any one of the data interaction methods described above.
[0050] Optionally, the network video recorder is provided with an optical port, and the optical port is at least used for optical communication with a passive optical splitter.
[0051] According to another aspect of an embodiment of the present application, a passive optical splitter is further provided, wherein the passive optical splitter is used to execute any one of the data interaction methods described above.
[0052] According to another aspect of the embodiments of the present application, a network camera is further provided, wherein the network camera is used to execute any one of the data interaction methods described above.
[0053] Optionally, the network camera is provided with an optical port, and the optical port is at least used for optical communication with a passive optical splitter.
[0054] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the data interaction methods described above.
[0055] According to another aspect of the present application, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the above-mentioned data interaction methods when running.
[0056] According to another aspect of the present application, a computer program product is provided, including a computer program, which implements the steps of any one of the above-mentioned data interaction methods when the computer program is executed by a processor.
[0057] In the embodiment of the present application, a network video recorder is provided including a network video recorder, a passive optical splitter and multiple network cameras. The network video recorder performs optical communication with multiple network cameras through the passive optical splitter. Multiple network cameras transmit the respectively collected video data to the passive optical splitter by optical communication; the passive optical splitter transmits the respectively collected video data to the network video recorder by optical communication. The purpose of connecting a network video recorder to multiple network cameras by optical communication using a passive optical splitter is achieved without using a switch, thereby achieving the technical effect of reducing the networking cost between a network video recorder and multiple network cameras, extending the networking wiring distance, and improving the stability of data transmission, thereby solving the technical problems of limited coverage and high investment cost in the network video monitoring system in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0059] Figure 1 It is a schematic diagram of a PoE wired power supply networking method according to the relevant technology;
[0060] Figure 2 It is a schematic diagram of a non-PoE wired power supply networking method according to the relevant technology;
[0061] Figure 3 It is a schematic diagram of a wireless networking method according to the relevant technology;
[0062] Figure 4 is a structural diagram of a network video monitoring system according to an embodiment of the present application;
[0063] Figure 5 is a schematic structural diagram of an optional network video monitoring system according to an embodiment of the present application;
[0064] Figure 6 is a flow chart of a data interaction method according to an embodiment of the present application;
[0065] Figure 7 is a flow chart of another data interaction method according to an embodiment of the present application;
[0066] Figure 8 is a flow chart of another data interaction method according to an embodiment of the present application;
[0067] Fig. 9is a flow chart of another data interaction method according to an embodiment of the present application;
[0068] Fig.10 is a structural schematic diagram of a data interaction device according to an embodiment of the present application;
[0069] Fig.11 is a structural schematic diagram of another data interaction device according to an embodiment of the present application;
[0070] Fig.12 is a structural schematic diagram of a data interaction device according to an embodiment of the present application;
[0071] Fig.13 It is a structural diagram of another data interaction device according to an embodiment of the present application. DETAILED DESCRIPTION
[0072] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0074] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0075] Network Video Recorder (NVR) is a device used to store, manage and play network camera video streams. It is the core component of the network video surveillance system and can encode, store and retrieve video data captured by the camera. NVR is usually used in conjunction with Internet Protocol Camera (IPC) to achieve remote monitoring and remote access to video data.
[0076] Passive Optical Network (PON) is a transmission network based on optical fiber technology, in which the signal does not need any electronic equipment to amplify or process during the optical fiber transmission process, but only needs to be distributed and transmitted through passive components (such as splitters, connectors, etc.). PON network usually consists of a central node (OLT) and multiple end users (ONU), which transmits data signals through optical fiber to achieve broadband access, video transmission, voice communication and other services.
[0077] Optical Line Terminal (OLT) is a device in Passive Optical Network (PON). It is used as the central node in the optical fiber network and is responsible for managing and controlling data transmission in the optical fiber network.
[0078] An Optical Network Unit (ONU) is an end-user device in an optical network. It is responsible for receiving optical signals and converting them into electrical signals. It is an interface device that connects end-user devices (such as computers, phones, network cameras, etc.) with the optical fiber network.
[0079] Passive optical splitter is an optical device used to split the input optical signal into multiple optical signals of different wavelengths. Passive optical splitter does not require external energy supply and realizes the optical signal splitting function through its internal structure.
[0080] An optical attenuator is an optical device used to adjust the intensity of optical signals. It can reduce or increase the intensity of optical signals by adjusting the attenuation device inside it to meet the signal intensity requirements of different optical signal transmission systems.
[0081] There are two main ways to build a network video surveillance system in the related art: one is a network video surveillance system based on a wired networking method, and the other is a network video surveillance system based on a wireless networking method.
[0082] Network video surveillance systems built based on wired networking are mainly divided into two categories: one is based on wired connection based on Power over Ethernet (PoE), Figure 1 This is a schematic diagram of a PoE wired power supply networking method based on related technologies. The Network Video Recorder (NVR) is connected to multiple Internet Protocol Cameras (IPC) through a PoE switching module, and then the network cable connects the NVR device and each IPC device to complete power supply and data transmission at the same time; the other type is a non-PoE powered wired connection. Figure 2 This is a schematic diagram of a non-PoE wired power supply networking method based on relevant technologies. The NVR device is connected to the switching module, and the network cable is connected to the NVR device and each IPC device. Only data transmission is completed here, and the IPC device requires an additional power module for power supply.
[0083] Figure 3 This is a schematic diagram of a wireless networking method based on related technologies. In a network video surveillance system based on wireless networking, NVR devices and IPC devices are equipped with radio frequency modules. NVR devices are equivalent to routers, connecting multiple IPC devices through wireless signals. IPC devices also require additional power modules for power supply. Wireless networking eliminates the need for complex wired connections, but wireless signals are subject to much interference, and unstable signals through walls lead to unstable connections. Therefore, wireless networking is not a mainstream networking method. It is only used in relatively simple application scenarios and small number of accesses.
[0084] However, the network video surveillance system in the related technology has the following problems: For the wired networking method, the NVR device and the IPC device are connected by a network cable, the data transmission is stable, there is no restriction on the application scenario, and it can be used in various complex scenarios. It is currently the most commonly used networking method. However, there are also shortcomings. It is necessary to design a switching module, and the switching module of the NVR device is required to realize a one-to-many networking connection. Secondly, the network cable connects the NVR device and the IPC device. Since the IPC device needs to be deployed outdoors, the lightning protection design requirements for the network cable connection are high. In addition, the laying distance of the network cable is limited, which is not applicable to the ultra-long-distance deployment scenario.
[0085] For wireless networking, NVR devices and IPC devices are connected through wireless signals, which can save the complicated wiring of network cables, and the network topology is very economical. However, wireless signals are greatly affected by environmental interference, and the coverage and distance of wireless signals are limited. Therefore, it is not suitable for long-distance and complex wireless signal scenarios. This form of networking usually uses a small number of access scenarios, usually 8 or less, and try not to have wall penetration scenarios.
[0086] In summary, the network video surveillance system built based on wired networking has problems such as limited network cable laying distance, high requirements for lightning protection design of network cables, and high investment cost. The network video surveillance system based on wireless networking has problems such as great environmental interference and limited coverage range and distance of wireless signals.
[0087] According to an embodiment of the present application, a network video monitoring system embodiment is provided. Figure 4 is a schematic diagram of the structure of a network video monitoring system according to an embodiment of the present application, such as Figure 4 As shown, the above network video monitoring system includes: a network video recorder 1, a passive optical splitter 2 and a plurality of network cameras 3, wherein the network video recorder 1 performs optical communication with the plurality of network cameras 3 via the passive optical splitter 2.
[0088] In this embodiment, a passive optical splitter 2 is provided to connect a network video recorder 1 and multiple network cameras 3 in an optical communication manner, and the advantages of the passive optical network (PON) are used to connect the network video recorder 1 (NVR) and multiple network cameras 3 (IPC). By using the advantages of PON networking, a passive optical splitter 2 is used to connect a NVR device to multiple IPC devices without using a switch. Since PON is a passive network, the lightning protection design requirements for the PON interface are reduced, and the wiring distance of the network can be increased to 20 kilometers. In addition, the PON networking method can achieve a higher bandwidth than the network cable networking.
[0089] Optionally, in terms of data interaction based on the network video surveillance system, the NVR device can send control instruction packets to each IPC device through the passive optical splitter 2 in optical communication, and at the same time receive video data sent by each IPC device through the passive optical splitter 2 in optical communication; the passive optical splitter 2 plays a splitting role in the PON networking, and can send the optical signal from the NVR device to multiple IPC devices in a broadcast manner, and can also aggregate the optical signals from multiple IPC devices and send them to the NVR device; multiple IPC devices can send video data to the NVR device through the passive optical splitter 2 in optical communication, and can also receive control instruction packets sent by the NVR device through the passive optical splitter 2 in optical communication.
[0090] It should be noted that the network video monitoring system in this embodiment uses a passive optical splitter 2 to establish a new type of communication connection between a network video recorder 1 and multiple network cameras 3. By performing optical communication with multiple network cameras 3 through the passive optical splitter 2, the limitation of the transmission distance of the traditional network video monitoring system can be overcome. The long-distance transmission capability of optical communication enables the communication distance between the IPC device and the NVR device to be increased to 20 kilometers or even farther; and optical communication can provide a higher data transmission bandwidth than Ethernet or wireless communication, which is conducive to the real-time transmission of high-resolution video data; optical communication is not susceptible to electromagnetic interference, and the passive optical splitter 2 does not require an external power supply, so that the monitoring system can still maintain stable operation in a complex environment, thereby reducing the communication failure rate caused by environmental factors; in addition, the use of a passive optical splitter can simplify the physical wiring of the network and reduce the dependence on active switching equipment, which can not only reduce the initial deployment cost, but also reduce the complexity and cost of network maintenance. In summary, the above methods can solve the limitations of wired and wireless networking methods in related technologies, and provide a more efficient, lower cost, longer transmission distance, stronger anti-interference ability, and higher bandwidth network video surveillance system.
[0091] Optionally, the plurality of network cameras 3 may be network cameras of the same type and / or function, or may be network cameras of different types and / or functions. The network cameras may include, but are not limited to, one or more of the following: network dome cameras, infrared dome cameras, network spherical cameras, cylindrical cameras, outdoor all-in-one cameras, network gun-shaped cameras, fisheye cameras, network PTZ cameras, smart network cameras, etc.
[0092] In an optional embodiment, in optical communication, the network video recorder 1 serves as an optical line terminal, and the plurality of network cameras 3 serve as corresponding optical network units.
[0093] Optionally, the above method clarifies the roles of the network video recorder 1 and each network camera in the PON network. The network video recorder 1 can act as an optical line terminal (OLT), responsible for sending and receiving data, and multiple network cameras 3 can act as optical network units (ONUs), which can be understood as the network video recorder 1 as a master control device, responsible for receiving data and uploading the video data collected by each network camera. By positioning the network video recorder 1 as an OLT, it can be understood that each network camera is connected to the optical fiber network as a terminal user device, and signals are transmitted and communicated through the ONU, so as to achieve effective management and data transmission of multiple network cameras 3, without the need for additional switch equipment, and reduce the setting cost and complexity of the network video monitoring system. Using the network video recorder 1 as an OLT can support multi-level splitting, and realize long-distance connection with multiple network cameras 3 through a passive optical splitter 2, thereby increasing the coverage and reliability of the network, which is suitable for deployment requirements in different scenarios.
[0094] In an optional embodiment, the network video recorder 1 communicates with the passive optical splitter 2 through a set optical port using a first optical fiber; multiple network cameras 3 communicate with the passive optical splitter 2 through corresponding set optical ports using corresponding second optical fibers.
[0095] In the above method, by clarifying the physical connection mode between the network video recorder 1 and the plurality of network cameras 3 and the passive optical splitter 2, that is, the network video recorder 1 uses the first optical fiber to communicate with the passive optical splitter 2 through the optical port set by it, and each network camera uses the corresponding second optical fiber to communicate with the passive optical splitter 2 through the optical port set by itself. It can ensure that each network camera and network video recorder 1 can establish an independent communication link with the optical splitter through the optical fiber to achieve accurate data transmission. Through optical fiber connection, the anti-interference ability and stability of the entire network video monitoring system can be improved. Compared with the copper wire connection in the related art, optical fiber communication is not easily affected by electromagnetic interference, ensuring the purity and stability of the signal. In addition, each network camera uses a separate optical fiber to connect to the passive optical splitter 2, which means that the network video monitoring system can flexibly add or reduce the number of network camera connections without major adjustments to the existing connections, thereby enhancing the scalability and adaptability of the network video monitoring system. In addition, the long-distance characteristics of optical fiber communication can cover a range far greater than that of traditional Ethernet cables, and can be better applied to widely covered monitoring scenarios.
[0096] Optionally, the network video recorder 1 can be a downstream optical port (i.e., a downstream optical port) through the optical port provided. It can be understood that the network video recorder 1 can be used as an OLT in a PON network, and multiple network cameras 3 can be used as ONUs in the PON network. Therefore, the network video recorder 1, as a core device in the PON network, is responsible for managing multiple network cameras 3 in the PON network and controlling data transmission and management. The network video recorder 1 is set to send data and control information to each network camera through the downstream optical port to realize communication between various devices in the network. Through the set downstream optical port, the network video recorder 1 can realize data interaction with all network cameras connected to the port.
[0097] In an optional embodiment, the first optical fiber is a single-mode optical fiber, and the second optical fiber is a single-mode optical fiber.
[0098] It can be understood that a single-mode optical fiber only allows one mode of light wave propagation, so it can significantly reduce the signal attenuation caused by light wave mode dispersion, and ensure the stability and quality of signal transmission between the network video recorder 1 and each network camera. In addition, the transmission bandwidth of a single-mode optical fiber is much higher than that of a multi-mode optical fiber. Therefore, a single-mode optical fiber is used to establish a communication connection between the network video recorder and the passive optical splitter 2, and a communication connection between each network camera and the passive optical splitter 2, so that the network video recorder 1 and multiple network cameras 3 can support a higher data transmission rate and a longer transmission distance.
[0099] In an optional embodiment, the network video surveillance system also includes: an optical attenuator, wherein one end of the optical attenuator is connected to the passive splitter 2, and the other end of the optical attenuator is connected to multiple network cameras 3; the optical attenuator is used to adjust the optical communication between the network video recorder 1 and the multiple network cameras 3 to within a predetermined light intensity range.
[0100] Optionally, in order to ensure that the network video surveillance system based on PON technology can maintain stable and safe optical communication strength in long-distance optical fiber transmission, the network video recorder 1 and each network camera are connected through a passive optical splitter 2, and an optical attenuator is appropriately added according to the light intensity, so that the optical communication between the network video recorder 1 and each network camera is within a suitable light intensity range. This avoids equipment damage or signal quality degradation caused by excessive optical signals, and overcomes the problem of unstable connection caused by optical signal attenuation.
[0101] In an optional embodiment, the network video monitoring system further includes: a power supply device, which is respectively connected to the multiple network cameras 3 and is used to supply power to the multiple network cameras 3 .
[0102] It should be noted that due to the PON networking mode, it does not have the advantage of Power over Ethernet (PoE). You can set up corresponding power supply equipment to connect to each network camera to ensure the normal operation of the network camera in different scenarios. In addition, the independent existence of power supply equipment also enhances the compatibility of the network video surveillance system, allowing users to choose different power supply methods according to actual needs, such as adapter power supply or solar power supply, which has significant advantages for outdoor long-distance deployment of network cameras.
[0103] In an optional embodiment, the power supply device is a solar power supply device and / or an adapter.
[0104] Optionally, the power supply device can be only a solar power supply device, that is, only the solar power supply device is used to power multiple network cameras 3; it can also be only an adapter, that is, only the solar power supply device is used to power multiple network cameras 3; it can also be a solar power supply device and an adapter at the same time, that is, the solar power supply device and the adapter are used to power multiple network cameras 3, among which the solar power device can be used to power one or several of the multiple network cameras 3, and the remaining network cameras are powered by the adapter.
[0105] Specifically, for network cameras that are far away from the network video recorder 1, solar power supply equipment can be used for power supply. For network cameras that are close to the network video recorder 1, an adapter can be used for power supply. The specific distance division can be set according to the actual scene needs, and no specific limitation is made here.
[0106] In the above method, by setting the power supply device as a solar power supply device and / or an adapter, that is, using the solar power supply device and / or the adapter to power multiple network cameras, flexibility is provided for the deployment of network cameras. Solar power supply is suitable for network cameras deployed at long distances and outdoors, and can reduce the dependence on wired power supply, while adapter power supply is suitable for close distances or indoor environments, and can ensure a stable supply of electricity. By providing two different power supply methods, it can not only meet the demand for wireless power during long-distance deployment, but also ensure a stable supply of power during close-distance deployment, thereby enhancing the applicability and reliability of the entire PON-based network video surveillance system. This flexible power supply strategy can adapt to a variety of different application scenarios, making the deployment of IPC equipment more convenient and efficient.
[0107] Optionally, the solar power supply device may be a solar panel, and the adapter may be a voltage-stabilized power supply.
[0108] In an optional embodiment, the passive optical splitter 2 has a built-in routing module, and the network video monitoring system further includes a target optical network unit, wherein the target optical network unit is used for accessing the Internet.
[0109] It can be understood that by building a routing module into the passive optical splitter 2 and expanding the network video surveillance system to include a target optical network unit (ONU) for Internet access, network traffic can be better managed. It is not limited to data transmission between the network video recorder 1 and the network camera, but can also process Internet data from the target optical network unit, making full use of the communication bandwidth of the PON, so that the entire system can support more complex network architectures and more diverse network services.
[0110] Optionally, the routing module may be a routing chip built into the passive optical splitter 2 .
[0111] Based on the above embodiments and optional embodiments, the present application proposes an optional implementation mode: Figure 5 is a schematic diagram of the structure of an optional network video monitoring system according to an embodiment of the present application, such as Figure 5 As shown, the network video surveillance system includes: a network video recorder NVR, a passive optical splitter, multiple network camera IPCs, a voltage-stabilized power supply, and a solar panel, among which:
[0112] The NVR device establishes optical communication with multiple IPC devices through a passive optical splitter to form a PON network; the NVR device can serve as an OLT in the PON network, and can send control instruction packets to each IPC device through a passive optical splitter in optical communication, and at the same time receive video data sent by each IPC device through the passive optical splitter in optical communication; the passive optical splitter plays a splitting role in the PON network, and can send optical signals from the NVR device to multiple IPC devices in a broadcast manner, and can also aggregate optical signals from multiple IPC devices and send them to the NVR device; multiple IPC devices serve as ONUs in the PON network, and can send video data to the NVR device through a passive optical splitter in optical communication, and can also receive control instruction packets sent by the NVR device through the passive optical splitter in optical communication; multiple IPC devices can include but are not limited to network dome cameras, infrared dome cameras, network spherical cameras, cylindrical cameras, and outdoor all-in-one cameras. The voltage-stabilized power supply is used to supply power to an IPC device that is closer to the NVR device among the multiple IPC devices, and the solar panel is used to supply power to an IPC device that is farther from the NVR device among the multiple IPC devices.
[0113] A routing module may also be provided in the NVR device, and the network video monitoring system may also include a target optical network unit, which is used for accessing the Internet.
[0114] In this embodiment, the advantages of the PON network are used to connect the NVR device and multiple IPC devices. The advantages of the PON network are used to achieve the connection of one NVR device to multiple IPC devices using a passive optical splitter without using a switch. Since PON is a passive network, the lightning protection design requirements for the PON interface are reduced, and the wiring distance of this network can be increased to 20 kilometers. In addition, the PON networking method can achieve a higher bandwidth than the network cable networking method.
[0115] It should be noted that in this application Figures 4 to 5 The specific structure of the network video monitoring system shown in the figure is only for reference. In specific applications, the network video monitoring system in this application can be compared to Figures 4 to 5 The network video surveillance system shown has more or less structures.
[0116] According to an embodiment of the present application, a method embodiment of data interaction is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0117] Figure 6 is a flow chart of a data interaction method according to an embodiment of the present application, such as Figure 6 As shown, the method comprises the following steps:
[0118] Step S102, receiving control information for multiple network cameras;
[0119] As an optional embodiment, the executor of the method of this embodiment may be a network video recorder, which may be applied to any of the aforementioned network video surveillance systems to exchange data with a passive optical splitter and multiple network cameras in the form of optical communication.
[0120] In step S102 provided in the present application, the network video recorder can receive control information from multiple network cameras, which means that the network video recorder can centrally receive and process control instructions from users and generate corresponding control information based on the control instructions.
[0121] Optionally, the control information may include, but is not limited to, adjusting the camera parameters of the corresponding network camera (such as angle adjustment), intercom instructions, turning on or off recording, controlling the pan / tilt, keeping the current state unchanged, etc., so as to achieve unified management and control of multiple network cameras. The control information may be generated by the user end based on the control instructions for multiple network cameras.
[0122] Step S104, generating a control instruction packet based on the control information;
[0123] In step S104 provided in the present application, the network video recorder can generate a control instruction packet based on the control information, so as to subsequently send the control instruction to each network camera in the form of the control instruction packet.
[0124] Step S106, transmitting the control instruction packet to the passive optical splitter in the form of optical communication, wherein the passive optical splitter is used to transmit the control instruction packet to the plurality of network cameras in the form of optical communication, so that the plurality of network cameras respectively act based on the corresponding control instructions.
[0125] In step S106 provided in the present application, the network camera can transmit the control instruction packet to the passive optical splitter (POS) by means of optical communication, and the network video recorder can utilize the characteristics of the passive optical splitter to copy and distribute a single control instruction packet to multiple network cameras, thereby achieving efficient instruction distribution. The passive optical splitter plays a key role in optical communication. It can passively distribute the optical signal received from the network video recorder to multiple optical fiber lines, thereby transmitting the control instruction packet to multiple network cameras respectively, thereby avoiding the cost and maintenance problems caused by the use of active devices (such as switches).
[0126] In the above steps S102 to S106, by combining optical communication and passive optical splitters, efficient and reliable control of multiple network cameras can be achieved, while reducing costs and expanding network coverage, simplifying the network architecture, and effectively solving the technical problems of limited coverage and high investment costs in network video surveillance systems in related technologies.
[0127] In an optional embodiment, the method further includes: receiving video data transmitted by the passive optical splitter in the form of optical communication, wherein the video data is transmitted to the passive optical splitter by multiple network cameras in the form of optical communication.
[0128] It can be understood that by receiving video data from multiple network cameras through a passive optical splitter, the network video recorder can centrally manage and process these video data, simplify the network structure, and facilitate the network video surveillance system to uniformly control and access the video streams of all network cameras. The passive optical splitter can distribute the optical signal emitted by the network video recorder to multiple network cameras, and can also aggregate the optical signals of multiple network cameras and transmit them to the network video recorder to achieve efficient optical communication. In addition, due to the characteristics of PON technology, physical isolation of data can be achieved, that is, signal transmission is carried out through different wavelengths or time slices to ensure that the data of each network camera is independent and avoid interference between data.
[0129] In an optional embodiment, the control instruction package includes identifiers corresponding to a plurality of network cameras and corresponding control instructions.
[0130] Optionally, the control instruction packet includes identifiers (such as LLID, logical link identifier) corresponding to multiple network cameras (IPCs) and corresponding control instructions. By assigning a unique identifier to each network camera, the network video recorder can send specific control instructions to the specified network camera to achieve precise control of each network camera without affecting other network cameras in the network, thereby ensuring the accuracy and efficiency of the control instructions. The existence of identifiers enables the network video recorder to better manage network resources. For example, in downlink broadcasts, the network video recorder can allocate bandwidth based on identifiers to ensure that each network camera has sufficient resources for signal transmission and receiving control instructions. In a multi-network camera environment, the use of identifiers can ensure data isolation, avoid data interference between different network cameras, and improve the security and stability of the network.
[0131] Optionally, the control instruction may be an actual control action instruction to instruct the corresponding network camera to perform the corresponding control action; or may be a null value (or a preset character) to instruct the corresponding network camera not to act. For example, if the control information only includes the control action of a target network camera among multiple network cameras, the control instruction of the target network camera is determined based on the corresponding control action, and the control instructions of other network cameras are null values (or preset characters).
[0132] In an optional embodiment, corresponding video data transmitted by multiple network cameras using a passive optical splitter in an optical communication manner are received in a time division multiplexing manner.
[0133] It can be understood that the time division multiplexing (TDM) technology is used to receive video data through a passive optical splitter in the form of optical communication. Through time division multiplexing technology, the network video recorder can exclusively receive data from a certain network camera within a specific time period, which not only helps to process data in an orderly manner, but also can achieve physical isolation of different network cameras, and enhance the security and stability of the network video surveillance system. The use of passive optical splitters and the way network video recorders receive data through time division multiplexing can reduce the dependence on complex network equipment (such as active switches), simplify the network structure, and reduce wiring and maintenance costs.
[0134] In an optional embodiment, the wavelength of the optical signal used to transmit the control instruction packet to the passive optical splitter is different from the wavelength of the optical signal used to receive the video data transmitted by the passive optical splitter.
[0135] Optionally, in a network video surveillance system, the data sent by the network video recorder to the passive optical splitter can be understood as the downlink signal sent by the network video recorder through the corresponding downlink optical port; the video data received by the network video recorder from the passive optical splitter can be understood as the uplink signal received by the network video recorder through the corresponding downlink optical port, and the wavelengths of the corresponding uplink and downlink signals of the network video recorder are different. By using different wavelengths to transmit control instructions and video data, it is possible to achieve simultaneous transmission of multiple signals in the same optical fiber network to avoid mutual interference between signals. In addition, optical signals of different wavelengths support multiplexing in the PON network, thereby optimizing the use of optical fiber resources. This allows control signals and video streams to be carried simultaneously in the same optical fiber, improving the bandwidth utilization of the network.
[0136] Optionally, the wavelength division multiplexing (WDM) technology can be used, but is not limited to, to distinguish the wavelength of the optical signal used to transmit the control instruction packet to the passive optical splitter from the wavelength of the optical signal used to receive the video data transmitted by the passive optical splitter, that is, to distinguish the uplink and downlink signals at the lower optical port of the network video recorder by using the WDM technology. By using the WDM technology, the uplink and downlink signals can be transmitted simultaneously in the same optical fiber without affecting each other. This method allows the network video recorder to send control instructions at a specific wavelength and receive video data at a different wavelength to achieve two-way communication.
[0137] Optionally, the wavelength of the optical signal (ie, the sending signal) used to transmit the control instruction packet to the passive optical splitter may be 1490 nm, and the wavelength of the optical signal (ie, the receiving signal) used to receive the video data transmitted by the passive optical splitter may be 1310 nm.
[0138] According to an embodiment of the present application, another data interaction method embodiment is also provided. Figure 7 is a flow chart of another data interaction method according to an embodiment of the present application. Figure 7 As shown, the method comprises the following steps:
[0139] Step S202, receiving a control instruction packet sent by the network video recorder in an optical communication manner, wherein the control instruction packet is obtained by the network video recorder based on control information for multiple network cameras;
[0140] As an optional embodiment, the executor of the method of this embodiment may be a passive optical splitter, which may be applied to any of the aforementioned network video surveillance systems as a bridge for data exchange between a network video recorder and multiple network cameras in the form of optical communication.
[0141] In step S202 provided in the present application, in the process of the network video recorder sending control instructions to multiple network cameras via optical communication, the passive optical splitter serves as a bridge for interaction between the network video recorder and the multiple network cameras. By receiving the control instruction packet sent by the network video recorder via optical communication, the transmission speed and reliability of the control instruction are significantly improved through the optical communication network, reducing the delay, and ensuring that the network camera can receive the control instruction of the network video recorder in time and respond. Without the need for additional active switching equipment, one-to-many communication can be achieved through a passive optical splitter, reducing the cost of network equipment and the complexity of maintenance.
[0142] Step S204, transmitting the control instruction packet to the plurality of network cameras respectively in a manner of optical communication, so that the plurality of network cameras respectively act according to the corresponding control instruction.
[0143] In step S202 provided in the present application, after receiving the control instruction packet, the passive optical splitter continues to distribute the control instruction packet to multiple network cameras in the form of optical communication, thereby achieving efficient optical communication.
[0144] Through the above steps S202 to S204, it is possible to achieve the purpose of efficiently issuing control instructions by connecting a network video recorder to multiple network cameras by means of optical communication without using a switch, thereby reducing the networking cost between a network video recorder and multiple network cameras, extending the networking wiring distance, and improving the efficiency and stability of issuing control instructions, thereby solving the technical problems of limited coverage and high investment cost of network video surveillance systems in related technologies.
[0145] In an optional embodiment, the method further includes: receiving video data transmitted by multiple network cameras in the form of optical communication; and transmitting the transmitted video data to a network video recorder in the form of optical communication.
[0146] Optionally, in addition to receiving and forwarding control commands from the network video recorder through optical communication, the passive optical splitter can also receive and forward video data from multiple network cameras through optical communication, realizing two-way optical communication data transmission with the network video recorder and multiple network cameras. Optical communication has the characteristics of high bandwidth and low latency, and can support network cameras to transmit high-quality video data to the network video recorder, thereby improving the overall performance of the video surveillance system. Transmitting video data through optical communication can reduce electromagnetic interference and improve the stability and security of data transmission, especially in long-distance transmission, the advantages are more obvious.
[0147] According to an embodiment of the present application, another data interaction method embodiment is also provided. Figure 8 is a flow chart of another data interaction method according to an embodiment of the present application. Figure 8 As shown, the method comprises the following steps:
[0148] Step S302, collecting video data;
[0149] As an optional embodiment, the executor of the method of this embodiment can be any one of multiple network cameras, and the network camera can be applied to any of the aforementioned network video monitoring systems, and exchange data with the network video recorder through a passive splitter in optical communication.
[0150] In step S302 provided in the present application, the network camera can collect video data, for example, it can collect video data in real time; it can also collect video data based on a preset scheduled task; it can also collect video data in a targeted manner according to the control instructions issued by the network video recorder.
[0151] Step S304 , transmitting the video data to the passive optical splitter in the form of optical communication, wherein the passive optical splitter is used to transmit the video data to the network video recorder in the form of optical communication.
[0152] In step S304 provided in the present application, the video data collected by the network camera is transmitted to the network video recorder through a passive optical splitter using optical communication technology, avoiding the limitations of wired or wireless networking methods in related technologies. The stability, speed and distance of video data transmission are improved, and the requirements for interference and lightning protection are reduced. Due to the characteristics of optical communication, this method is particularly suitable for video surveillance scenarios that require long distance, high bandwidth, low latency and high stability.
[0153] Through the above steps S302 to S304, it is possible to achieve the purpose of connecting a network video recorder to multiple network cameras by optical communication without using a switch, thereby achieving the purpose of collecting and uploading video data by using a passive optical splitter, thereby reducing the networking cost between a network video recorder and the network camera, extending the networking wiring distance, and improving the efficiency and stability of issuing control instructions, thereby solving the technical problems of limited coverage and high investment cost of network video surveillance systems in related technologies.
[0154] In an optional embodiment, the method further includes: receiving a control instruction packet transmitted by a passive optical splitter in an optical communication manner, wherein the control instruction packet includes identifiers corresponding to a plurality of network cameras, and corresponding control instructions; the control instruction packet is obtained by the network video recorder based on control information of the plurality of network cameras, and transmitted to the passive optical splitter in an optical communication manner; determining a target identifier corresponding to the target network camera and a control instruction corresponding to the target identifier from the control instruction packet; and controlling the action of the target network camera based on the control instruction corresponding to the target identifier.
[0155] The data interaction method in this embodiment also includes the function of receiving control instruction packets from a network video recorder. These instruction packets contain control information for multiple network cameras. Each network camera identifies the control instruction corresponding to its own identification through its unique identification (LLID), and directly ignores the control instruction that does not correspond to its own identification. This shows that the network camera can not only collect and transmit video data, but also receive and respond to the management and control of the network video recorder. By assigning a unique identification to each network camera, the network video recorder can send specific control instructions to the specified network camera to achieve precise control of each network camera without affecting other network cameras in the network, thereby ensuring the accuracy and efficiency of the control instructions. The above method can also realize remote management and control of network cameras, and improve the flexibility and manageability of the network video recorder system. By transmitting control instructions through optical communication, the stability and security of the control signal can be maintained, and the risk of signal attenuation and interference can be avoided. Especially in large-scale network video monitoring systems, the configuration and troubleshooting of equipment can be effectively performed.
[0156] Optionally, the control instruction may be an actual control action instruction to instruct the corresponding network camera to perform the corresponding control action; or may be a null value (or a preset character) to instruct the corresponding network camera not to act. For example, if the control information only includes the control action of a target network camera among multiple network cameras, the control instruction of the target network camera is determined based on the corresponding control action, and the control instructions of other network cameras are null values (or preset characters).
[0157] In an optional embodiment, the wavelength of the optical signal used to transmit the video data to the passive optical splitter is different from the wavelength of the optical signal used to receive the control instruction packet transmitted by the passive optical splitter.
[0158] Optionally, in a network video surveillance system, the video data transmitted from the network camera to the passive optical splitter can be understood as the uplink signal at the optical port corresponding to the network camera; the control instruction packet received by the network camera from the passive optical splitter can be understood as the downlink signal at the optical port corresponding to the network camera, and the wavelengths of the uplink and downlink signals at the optical port corresponding to the network camera are different. By using different wavelengths to transmit control instructions and video data, it is possible to achieve simultaneous transmission of multiple signals in the same optical fiber network to avoid mutual interference between signals. In addition, optical signals of different wavelengths support multiplexing in the PON network, thereby optimizing the use of optical fiber resources. This allows control signals and video streams to be carried simultaneously in the same optical fiber, improving the bandwidth utilization of the network.
[0159] Optionally, WDM technology can be used, but is not limited to, to distinguish the wavelength of the optical signal used to transmit video data to the passive optical splitter from the wavelength of the optical signal used to receive the control instruction packet transmitted by the passive optical splitter, that is, to distinguish the uplink and downlink signals at the corresponding optical port of the network camera by using WDM technology. Using WDM technology, the uplink and downlink signals can be transmitted simultaneously in the same optical fiber without affecting each other. This method allows the network video recorder to send control instructions at a specific wavelength and receive video data at a different wavelength to achieve two-way communication.
[0160] Optionally, the wavelength of the optical signal (ie, the sending signal) used to transmit video data to the passive optical splitter may be 1310 nm, and the wavelength of the optical signal (ie, the receiving signal) used to receive the control instruction packet transmitted by the passive optical splitter may be 1490 nm.
[0161] According to an embodiment of the present application, another data interaction method embodiment is also provided. Fig. 9 is a flow chart of another data interaction method according to an embodiment of the present application. Fig. 9 As shown, the method comprises the following steps:
[0162] Step S402, the plurality of network cameras transmit the respectively collected video data to the passive optical splitter in a manner of optical communication;
[0163] As an optional embodiment, the execution subject of the method of this embodiment can be any one of the aforementioned network video monitoring systems, which includes a network camera, a passive optical splitter, and multiple network cameras and other devices. The network video recorder communicates optically with multiple network cameras through the passive optical splitter.
[0164] In step S402 provided in the present application, multiple network cameras send their collected video data to the passive optical splitter through optical communication. This process ensures that each network camera can independently transmit data to the optical splitter, thereby avoiding data conflicts in the network video monitoring system.
[0165] Step S404: the passive optical splitter transmits the respectively collected video data to the network video recorder in the form of optical communication.
[0166] In step S404 provided in the present application, by using a passive splitter, the convergence of multi-channel data from multiple network cameras to a network video recorder can be achieved. At the same time, due to the passive characteristics of the splitter, the energy consumption of the equipment in the network video surveillance system is reduced, the wiring of the network video surveillance system is simplified, and the reliability of the network video surveillance system is improved.
[0167] Through the above steps S202 to S204, it is possible to achieve the purpose of connecting a network video recorder to multiple network cameras by optical communication without using a switch, thereby achieving the purpose of collecting and uploading video data, thereby reducing the networking cost between a network video recorder and multiple network cameras, extending the networking wiring distance, and improving the video data collection efficiency and collection stability, thereby solving the technical problems of limited coverage and high investment cost of network video surveillance systems in related technologies.
[0168] In an optional embodiment, the network video recorder receives corresponding video data transmitted by multiple network cameras in a time division multiplexing manner using a passive optical splitter in an optical communication manner.
[0169] It can be understood that the network video recorder uses TDM technology to receive video data through a passive optical splitter in the form of optical communication. Through time division multiplexing technology, the network video recorder can exclusively receive video data from a certain network camera within a specific time period, which not only helps to process data in an orderly manner, but also can achieve physical isolation of different network cameras, and enhance the security and stability of the network video surveillance system. The use of passive optical splitters and the way the network video recorder receives data through time division multiplexing can reduce the dependence on complex network equipment (such as active switches), simplify the structure of the network video surveillance system, and reduce wiring and maintenance costs.
[0170] In an optional embodiment, the method also includes: the network video recorder generates a control instruction packet in response to control information for multiple network cameras, and transmits the control instruction packet to a passive optical splitter by optical communication; the passive optical splitter transmits the control instruction packet to the multiple network cameras respectively by optical communication; and the multiple network cameras act based on the corresponding control instructions in the control instruction packet.
[0171] The data interaction method of this embodiment can also realize the process of the network video recorder generating a control instruction packet and transmitting it to the network camera through the PON network built based on the passive optical splitter. The network video recorder distributes the control instruction packet to each network camera through the passive optical splitter. This mechanism utilizes the broadcast characteristics of the passive optical splitter, so that the network video recorder can send control instructions to all network cameras at one time, thereby improving the efficiency and convenience of the network video monitoring system management. Each network camera independently performs the corresponding action based on the control instruction in the received control instruction packet, which means that even in the scenario of multiple network cameras, the network video recorder can independently and accurately control each network camera, thereby enhancing the flexibility and responsiveness of the network video monitoring system.
[0172] In an optional embodiment, when a control instruction package includes identifiers and corresponding control instructions corresponding to a plurality of network cameras, before the plurality of network cameras act based on the corresponding control instructions in the control instruction package, the method further includes: the plurality of network cameras respectively determine the corresponding identifiers from the corresponding received control instruction packages; and the plurality of network cameras respectively identify the corresponding control instructions from the corresponding received control instruction packages based on the corresponding identifiers.
[0173] It can be understood that the control instruction package contains the identification of each network camera and its corresponding control instruction, which can enable the network video recorder to perform different control actions on different network cameras, thereby improving the accuracy and pertinence of the control. Each network camera can identify its own control instruction from the received control instruction package, which can ensure that each network camera only executes instructions related to itself, avoid confusion in instruction execution, and enhance the stability and security of the system. The network video recorder can distinguish and manage each network camera through identification, and can maintain effective control over each network camera even in a network video surveillance system composed of a large-scale network camera network, and can better adapt to the management and maintenance needs of a large-scale network video surveillance system.
[0174] Based on the above embodiments and optional embodiments, the present application proposes an optional data interaction method implementation method, which can be used as follows: Figure 5 The network video monitoring system shown, the method comprises:
[0175] S01: The network video recorder NVR is analogous to the OLT in the PON. The downlink port of the NVR device is an optical port, using single-mode optical fiber, and the wavelengths of the upstream and downstream signals are different;
[0176] S02: Each IPC device in the IPC of multiple network cameras is analogous to the ONU in the PON network. Similarly, each IPC device has an optical port, which is also transmitted using single-mode single-fiber optical fiber. The wavelengths of the uplink and downlink signals are different, and the wavelength division multiplexing (WDM) technology is used to distinguish the uplink and downlink signals. This is exactly the opposite of the wavelengths of the uplink and downlink signals in the NVR device. For example, the TX wavelength of the NVR device sending signal is 1490nm, and the RX wavelength of the receiving signal is 1310nm; the IPC device is the opposite, the TX wavelength is 1310nm, and the RX wavelength is 1490nm;
[0177] S03: The NVR device and each IPC device are connected through a passive optical splitter. At the same time, an optical attenuator will be appropriately added according to the light intensity to ensure that the optical communication between the NVR device and each IPC device is within the appropriate light intensity range;
[0178] S04: The data communication method between the NVR device and the IPC device is: the NVR device uses the downlink broadcast method to the IPC device. Each IPC device will use a logical link identifier LLID to mark the specific IPC device connected to the NVR device. The LLID of each IPC device is different; each IPC device accepts the corresponding LLID data, and other LLID data will be discarded. The data from the IPC device to the NVR device is time-division multiplexed. At each time interval, a certain IPC device transmits data. When the data is transmitted, it is recorded to the next IPC device to transmit data; when the data transmission is completed, it is written to the hard disk and previewed and played;
[0179] S05: Due to the PON networking mode, it does not have the advantages of PoE power supply. For long-distance IPC equipment, it is recommended to use solar power supply, and for short-distance IPC equipment, use adapter power supply;
[0180] S06: NVR devices and multiple IPC devices are networked through PON. Since the main data (such as video data) is from IPC devices to NVR devices, if the optical network unit ONU device is connected at this time, then the NVR has a routing function, and the Internet access and other functions can be performed through the ONU, making full use of the communication bandwidth of the PON network.
[0181] This embodiment can achieve at least one of the following effects: (1) Using a passive optical network (i.e., a PON network) for networking can save switching modules to meet the communication needs of one NVR device for multiple IPC devices. At the same time, PON communication can also be used to manage and control IPC devices; (2) NVR devices and IPC devices are connected through optical fibers. Since optical fibers are passive, the interface does not need to have high lightning protection requirements; (3) Optical fibers have stronger anti-interference capabilities; (4) Optical fiber communication has a longer distance. Compared with the distance limit of 100 to 200 meters for network cable connections, optical fibers can reach 20 kilometers or even higher, so they can meet the requirements of longer distance topology layout; (5) The network bandwidth is higher. If the bandwidth of NVR devices and IPC devices needs to be increased, the laid optical fibers can be compatible with it.
[0182] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0183] According to an embodiment of the present application, a network video recorder is also provided, and the network video recorder is used to execute any one of the above-mentioned data interaction methods.
[0184] In an optional embodiment, the network video recorder is provided with an optical port, and the optical port is at least used for optical communication with the passive optical splitter.
[0185] Optionally, the optical port may be a lower optical port.
[0186] According to an embodiment of the present application, a passive optical splitter is further provided, and the passive optical splitter is used to execute any one of the above-mentioned data interaction methods.
[0187] According to an embodiment of the present application, a network camera is also provided, and the network camera is used to execute any one of the above-mentioned data interaction methods.
[0188] Optionally, the network camera is provided with an optical port, and the optical port is at least used for optical communication with a passive optical splitter.
[0189] In this embodiment, a data interaction device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "module" and "device" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0190] According to an embodiment of the present application, a device embodiment for implementing the above data interaction method is also provided. Fig.10 is a structural diagram of a data interaction device according to an embodiment of the present application, such as Fig.10 As shown, the data interaction device includes: a first receiving module 10, a first generating module 12, and a first transmitting module 14, wherein:
[0191] A first receiving module 10 is used to receive control information for multiple network cameras;
[0192] A first generating module 12, connected to the first receiving module 10, for generating a control instruction packet based on the control information;
[0193] The first transmission module 14 is connected to the first generation module 12, and is used to transmit the control instruction packet to the passive splitter in the form of optical communication, wherein the passive splitter is used to transmit the control instruction packet to multiple network cameras in the form of optical communication, so that the multiple network cameras act based on the corresponding control instructions respectively.
[0194] According to an embodiment of the present application, another device embodiment for implementing the above data interaction method is also provided. Fig.11 is a structural diagram of another data interaction device according to an embodiment of the present application, such as Fig.11 As shown, the data interaction device includes: a second receiving module 20 and a second transmission module 22, wherein:
[0195] The second receiving module 20 is used to receive a control instruction packet sent by the network video recorder in an optical communication manner, wherein the control instruction packet is obtained by the network video recorder based on control information for multiple network cameras;
[0196] The second transmission module 22 is connected to the second receiving module 20, and is used to transmit the control instruction packet to the plurality of network cameras respectively in a manner of optical communication, so that the plurality of network cameras respectively act based on the corresponding control instruction.
[0197] According to an embodiment of the present application, another device embodiment for implementing the above data interaction method is also provided. Fig.12 is a structural diagram of another data interaction device according to an embodiment of the present application, such as Fig.12 As shown, the data interaction device includes: a first acquisition module 30 and a third transmission module 32, wherein:
[0198] A first acquisition module 30, used for acquiring video data;
[0199] The third transmission module 32 is connected to the first acquisition module 30, and is used to transmit the video data to the passive optical splitter in the form of optical communication, wherein the passive optical splitter is used to transmit the video data to the network video recorder in the form of optical communication.
[0200] According to an embodiment of the present application, another device embodiment for implementing the above data interaction method is also provided. Fig.13 is a structural diagram of another data interaction device according to an embodiment of the present application, such as Fig.13 As shown, the data interaction device includes: a fourth transmission module 40 and a fifth transmission module 42, wherein:
[0201] A fourth transmission module 40 is used for the plurality of network cameras to transmit the respectively collected video data to the passive optical splitter in a manner of optical communication;
[0202] The fifth transmission module 42 is connected to the fourth transmission module 40 and is used for the passive optical splitter to transmit the respectively collected video data to the network video recorder in the form of optical communication.
[0203] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0204] It should be noted that the first receiving module 10, the first generating module 12, and the first transmission module 14 correspond to steps S102 to S106 in the embodiment, the second receiving module 20 and the second transmission module 22 correspond to steps S202 to S204 in the embodiment, the first acquisition module 30 and the third transmission module 32 correspond to steps S302 to S304 in the embodiment, and the fourth transmission module 40 and the fifth transmission module 42 correspond to steps S402 to S404 in the embodiment. The examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in a computer terminal.
[0205] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0206] The above-mentioned data interaction device may further include a processor and a memory, and the above-mentioned modules are all stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to realize corresponding functions.
[0207] The processor includes a kernel, which retrieves the corresponding program module from the memory. The kernel may be one or more. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.
[0208] According to an embodiment of the present application, an embodiment of a computer-readable storage medium is also provided. Optionally, in this embodiment, the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above data interaction methods.
[0209] According to an embodiment of the present application, an embodiment of a processor is also provided. Optionally, in this embodiment, the processor is used to run a program, wherein the program executes any one of the data interaction methods when it is run.
[0210] According to an embodiment of the present application, an embodiment of a computer program product is also provided. Optionally, in this embodiment, the computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements any one of the steps of the data interaction method described above.
[0211] An embodiment of the present application provides an electronic device, which includes a memory storing an executable program; and a processor for running the program, wherein any one of the above-mentioned data interaction methods is executed when the program is running.
[0212] The above sequence of the embodiments of the present application is for description only and does not represent the advantages or disadvantages of the embodiments.
[0213] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0214] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0215] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0216] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0217] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0218] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A data interaction method, characterized in that: include: Receive control information for multiple network cameras; Based on the control information, generate a control instruction packet; The control instruction packet is transmitted to the passive optical splitter in the form of optical communication, wherein the passive optical splitter is used to transmit the control instruction packet to the multiple network cameras respectively in the form of optical communication, so that the multiple network cameras respectively act based on the corresponding control instructions.
2. The method according to claim 1, characterized in that The method further comprises: The video data transmitted by the passive optical splitter in an optical communication manner is received, wherein the video data is transmitted by the multiple network cameras to the passive optical splitter in an optical communication manner.
3. The method according to claim 1, characterized in that The control instruction package includes the identifiers corresponding to the multiple network cameras and the corresponding control instructions.
4. The method according to claim 3, characterized in that Corresponding video data transmitted by the plurality of network cameras using the passive optical splitter in an optical communication manner are received in a time division multiplexing manner.
5. The method according to claim 3, characterized in that: The wavelength of the optical signal used to transmit the control instruction packet to the passive optical splitter is different from the wavelength of the optical signal used to receive the video data transmitted by the passive optical splitter.
6. A data interaction method, characterized in that: include: receiving a control instruction packet sent by a network video recorder in an optical communication manner, wherein the control instruction packet is obtained by the network video recorder based on control information for a plurality of network cameras; The control instruction packets are transmitted to the plurality of network cameras respectively in a manner of optical communication, so that the plurality of network cameras respectively act based on the corresponding control instructions.
7. The method according to claim 6, characterized in that The method further comprises: receiving video data transmitted by the plurality of network cameras in the form of optical communication; The transmitted video data is transmitted to the network video recorder in a manner of optical communication.
8. A data interaction method, characterized in that: include: Collect video data; The video data is transmitted to a passive optical splitter in an optical communication manner, wherein the passive optical splitter is used to transmit the video data to a network video recorder in an optical communication manner.
9. The method according to claim 8, characterized in that The method further comprises: Receiving a control instruction packet transmitted by the passive optical splitter in an optical communication manner, wherein the control instruction packet includes identifiers corresponding to a plurality of network cameras and corresponding control instructions; the control instruction packet is obtained by the network video recorder based on control information of the plurality of network cameras and transmitted to the passive optical splitter in an optical communication manner; Determine a target identifier corresponding to a target network camera and a control instruction corresponding to the target identifier from the control instruction packet; Based on the control instruction corresponding to the target identifier, the action of the target network camera is controlled.
10. The method according to claim 9, characterized in that The wavelength of the optical signal used to transmit the video data to the passive optical splitter is different from the wavelength of the optical signal used to receive the control instruction packet transmitted by the passive optical splitter.
11. A data interaction method, characterized in that: include: Multiple network cameras transmit the collected video data to the passive optical splitter by means of optical communication; The passive optical splitter transmits the respectively collected video data to the network video recorder in the form of optical communication.
12. The method according to claim 11, characterized in that The network video recorder receives the corresponding video data transmitted by the plurality of network cameras in a time division multiplexing manner through the passive optical splitter in an optical communication manner.
13. The method according to claim 11, characterized in that The method further comprises: The network video recorder generates a control instruction packet in response to the control information for the plurality of network cameras, and transmits the control instruction packet to the passive optical splitter in an optical communication manner; The passive optical splitter transmits the control instruction packet to multiple network cameras respectively in a manner of optical communication; The plurality of network cameras act based on corresponding control instructions in the control instruction package.
14. The method according to claim 13, characterized in that In the case where the control instruction packet includes identifiers corresponding to a plurality of network cameras and corresponding control instructions, before the plurality of network cameras act based on the corresponding control instructions in the control instruction packet, the method further includes: The plurality of network cameras respectively determine corresponding identifiers from corresponding received control instruction packets; The plurality of network cameras respectively identify corresponding control instructions from corresponding received control instruction packets based on corresponding identifiers.
15. A network video recorder, characterized in that: The network video recorder is used to execute the data interaction method described in any one of claims 1 to 5.
16. The network video recorder according to claim 15, characterized in that: The network video recorder is provided with an optical port, and the optical port is at least used for optical communication with the passive optical splitter.
17. A passive optical splitter, characterized in that: The passive optical splitter is used to execute the data interaction method described in claim 6 or 7.
18. A network camera, characterized in that: The network camera is used to execute the data interaction method described in any one of claims 8 to 10.
19. The network camera according to claim 18, characterized in that: The network camera is provided with an optical port, and the optical port is at least used for optical communication with the passive optical splitter.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the data interaction method described in any one of claims 1 to 14.
21. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program executes the data interaction method described in any one of claims 1 to 14 when running.
22. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the data interaction method according to any one of claims 1 to 14 are implemented.