Monitoring video acquisition method, device and equipment and storage medium

CN120075607BActive Publication Date: 2026-08-21ZHEJIANG UNIVIEW TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311613769.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2026-08-21
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

[0005]本发明提供一种监控视频获取方法、装置、设备和存储介质,用以解决现有技术中监控系统的功耗较大的缺陷,实现降低监控系统的功耗的目的

Benefits of technology

[0035]本发明提供的监控视频获取方法、装置、设备和存储介质,第一摄像设备的主控制器在接收到第一摄像设备的从控制器发送的监控指令的情况下,在监控指令中获取摄像设备的标识信息,在该摄像设备的标识信息为第二摄像设备的标识信息,且第一摄像设备和第二摄像设备处于同一组网内的情况下,通过第二摄像设备的主控制器获取第二摄像设备采集的第一图像数据,并将该第一图像数据发送至第一摄像设备的从控制器,以使得第一摄像设备的从控制器对第一图像数据进行图像处理,得到监控视频。由于用户在查看第二摄像设备的监控视频时,可以借助第一摄像设备的从控制器对第二摄像设备采集的第一图像数据进行处理,这样,第一摄像设备的从控制器既能处理自身的图像数据,也能处理第二摄像设备的图像数据,从而无需唤醒第二摄像设备的从控制器,因此,可以降低监控系统的功耗。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075607B_ABST
    Figure CN120075607B_ABST
Patent Text Reader

Abstract

The application provides a kind of monitoring video acquisition method, device, equipment and storage medium, it is related to monitoring technical field, the method comprises: the main controller of first camera equipment obtains the identification information of camera equipment in the case where monitoring instruction is sent by the slave controller of first camera equipment;The main controller of first camera equipment obtains the first image data collected by the second camera equipment by the main controller of second camera equipment in the case where the identification information of camera equipment is the identification information of second camera equipment, and second camera equipment and first camera equipment are in the same networking;The main controller of first camera equipment sends first image data to the slave controller of first camera equipment, and image data is used to indicate that the slave controller of first camera equipment sends monitoring video to terminal equipment.The power consumption of monitoring system can be reduced by the embodiment of the application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the field of surveillance, low-power design can improve the battery life of camera equipment and extend its continuous working time. Therefore, low-power design is receiving increasing attention.

[0003] Currently, low-power camera devices typically include at least two central processing units (CPUs): a microcontroller unit (MCU) and a system-on-a-chip (SoC). The MCU is always powered on, while the SoC is only woken up by the MCU when image processing is required. Because the SoC is usually in sleep mode and only wakes up to perform image processing tasks, power consumption is reduced.

[0004] However, in practical applications, it is often necessary to view surveillance videos collected by multiple cameras in a monitoring system through terminal devices. In this scenario, since each camera will wake up its own SOC for image processing, the power consumption of the monitoring system is still relatively high. Summary of the Invention

[0005] This invention provides a method, apparatus, device, and storage medium for acquiring surveillance video, in order to solve the problem of high power consumption in existing surveillance systems and achieve the goal of reducing the power consumption of surveillance systems.

[0006] This invention provides a method for acquiring surveillance video, applied to a first camera device, the first camera device including a main controller and a slave controller, the method comprising:

[0007] When the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, it obtains the identification information of the camera device from the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when it receives a video acquisition instruction input by the user;

[0008] When the main controller of the first camera device determines that the identification information of the camera device is the identification information of the second camera device, and the second camera device and the first camera device are in the same network, the main controller of the second camera device obtains the first image data collected by the second camera device through the main controller of the second camera device;

[0009] The main controller of the first camera device sends the first image data to the slave controller of the first camera device. The image data is used to instruct the slave controller of the first camera device to send monitoring video to the terminal device.

[0010] According to a method for acquiring surveillance video provided by the present invention, when the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, before acquiring the identification information of the camera device in the monitoring instruction, the method further includes:

[0011] Upon receiving a wake-up command sent by the terminal device, the main controller of the first camera device wakes up the slave controller of the first camera device in response to the wake-up command.

[0012] After the slave controller of the first camera device is woken up, the slave controller of the first camera device establishes a communication connection with the terminal device.

[0013] According to a method for acquiring surveillance video provided by the present invention, the method further includes:

[0014] When the main controller of the first camera device receives a monitoring switch command sent by the slave controller of the first camera device, it obtains the identification information of the new camera device from the monitoring switch command; the monitoring switch command is sent by the terminal device to the slave controller of the first camera device when it receives the video switch command input by the user;

[0015] The main controller of the first camera device acquires the second image data captured by the new camera device through the main controller of the new camera device;

[0016] The main controller of the first camera device sends the second image data to the slave controller of the first camera device.

[0017] According to a method for acquiring surveillance video provided by the present invention, the step of acquiring first image data collected by the second camera device through the main controller of the second camera device includes:

[0018] The main controller of the first camera device sends an image acquisition request to the main controller of the second camera device through the first near-field communication module in the first camera device. The image acquisition request is used to request image data.

[0019] The main controller of the first camera device receives the first image data sent by the main controller of the second camera device through the second near-field communication module in the second camera device.

[0020] According to a method for acquiring surveillance video provided by the present invention, the method further includes:

[0021] The main controller of the first camera device searches for camera devices that include a near-field communication module within a preset distance through the first near-field communication module;

[0022] The main controller of the first camera device will network the camera device, which includes a near-field communication module, with the first camera device.

[0023] According to a method for acquiring surveillance video provided by the present invention, the method further includes:

[0024] When the main controller of the first camera device determines that the second camera device and the first camera device are not on the same network, it sends feedback information to the terminal device through the slave controller of the first camera device. The feedback information is used to instruct the terminal device to wake up the slave controller of the second camera device through the main controller of the second camera device.

[0025] According to a method for acquiring surveillance video provided by the present invention, the method further includes:

[0026] When the main controller of the first camera device determines that the identification information of the camera device is the identification information of the first camera device, it acquires the third image data collected by the first camera device.

[0027] The main controller of the first camera device sends the third image data to the slave controller.

[0028] The present invention also provides a surveillance video acquisition device, comprising:

[0029] The acquisition module is used to acquire the identification information of the camera device from the monitoring instruction sent by the slave controller of the first camera device upon receiving the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device upon receiving a video acquisition instruction input by the user.

[0030] The acquisition module is further configured to acquire the first image data collected by the second camera device through the main controller of the second camera device when it is determined that the identification information of the camera device is the identification information of the second camera device and the second camera device and the first camera device are in the same network;

[0031] The sending module is used to send the first image data to the slave controller of the first camera device, wherein the image data is used to instruct the slave controller of the first camera device to send monitoring video to the terminal device.

[0032] The present invention also provides a camera device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the surveillance video acquisition method as described above.

[0033] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the surveillance video acquisition method as described above.

[0034] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the surveillance video acquisition method as described above.

[0035] The present invention provides a method, apparatus, device, and storage medium for acquiring surveillance video. When the main controller of a first camera receives a monitoring command from a slave controller of the first camera, it obtains the identification information of the camera from the monitoring command. If the identification information is the same as that of a second camera, and the first and second cameras are on the same network, the main controller of the second camera acquires first image data collected by the second camera and sends this first image data to the slave controller of the first camera. The slave controller then processes the first image data to obtain the surveillance video. Since the user can process the first image data collected by the second camera using the slave controller of the first camera when viewing the surveillance video, the slave controller can process both its own image data and the image data of the second camera without needing to wake up the slave controller of the second camera, thus reducing the power consumption of the monitoring system. Attached Figure Description

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

[0037] Figure 1 This is a flowchart illustrating the method for acquiring surveillance video provided in an embodiment of the present invention;

[0038] Figure 2 This is one of the data interaction diagrams of the monitoring system provided in the embodiments of the present invention;

[0039] Figure 3 This is the second schematic diagram of data interaction of the monitoring system provided in the embodiment of the present invention;

[0040] Figure 4 This is a schematic diagram of the structure of the surveillance video acquisition device provided in an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of the physical structure of a camera device is provided. Detailed Implementation

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

[0043] Currently, many cameras in surveillance systems are powered by solar energy. However, due to limitations in solar energy conversion efficiency, reducing the power consumption of these cameras is a significant challenge. Low-power cameras typically incorporate an MCU (Microcontroller Unit) and a System-on-Chip (SOC). The MCU is always powered on, while the SOC is usually in sleep mode. When image processing is needed, the MCU wakes up the SOC to perform image processing, thus reducing power consumption. In many applications, surveillance systems include multiple cameras. Monitoring personnel often need to switch between the video feeds from these cameras using a terminal device, for example, switching from camera 1 to camera 2. In this scenario, each camera needs to wake up its respective SOC for image processing and send the processed image to the terminal device. For instance, when a monitoring personnel is viewing the image from camera 1, its MCU wakes up its SOC to process the image. When switching to camera 2, its MCU wakes up its SOC to process the image. Because each camera device wakes up its own SOC for image processing, the power consumption of the monitoring system is still relatively high, and it cannot truly achieve the goal of reducing power consumption.

[0044] To address the aforementioned issues, this invention provides a method for acquiring surveillance video. In this method, when a surveillance system includes multiple camera devices, it is only necessary to wake up the SOC of one of the camera devices in the surveillance system. This SOC can process the image data collected by all camera devices in the surveillance system, meaning that the surveillance video of all camera devices can be acquired through this SOC without waking up the SOCs of other camera devices, thereby reducing the power consumption of the surveillance system.

[0045] The following is combined Figures 1 to 3The method for acquiring surveillance video provided in this embodiment of the invention is described below. This method is applicable to scenarios where the power consumption of a surveillance system can be reduced when viewing surveillance video through multiple camera devices. The executing entity of this method can be a camera device or a surveillance video acquisition device installed in the camera device. This surveillance video acquisition device can be implemented through software, hardware, or a combination of both. The camera device includes a master controller and a slave controller, and the camera device can be a network camera (IP Camera, IPC).

[0046] Figure 1 This is a flowchart illustrating the surveillance video acquisition method provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the method includes:

[0047] Step 101: When the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, it obtains the identification information of the camera device from the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when it receives a video acquisition instruction input by the user.

[0048] In this step, the main controller of the first camera device can be, for example, an MCU, which is an infrastructure with near-field communication. The slave controller of the first camera device can be, for example, a System-on-a-Chip (SOC), which can process images and send the processed images to the terminal device. In addition, the SOC can also interact with the cloud server and the application (APP) on the terminal device.

[0049] When viewing surveillance video, users can input video acquisition commands into the app on their terminal device, such as sending "View surveillance video of camera #1" via voice, or directly clicking the monitoring window corresponding to camera #1 in the app. After receiving the video acquisition command from the user via the app, the terminal device sends a wake-up command to the main controller of the first camera. Upon receiving this wake-up command, the main controller of the first camera, recognizing the need to process image data, wakes up the slave controller of the first camera. Once awakened, the slave controller establishes a communication connection with the app on the terminal device. The terminal device then sends monitoring commands to the slave controller via the app, and the slave controller forwards the received monitoring commands to the main controller of the first camera. The monitoring command is generated by the terminal device based on the received video acquisition command; therefore, it includes the camera's identification information—the camera the user wants to view the surveillance video of. It's worth noting that the content of the monitoring command can be the same as or different from the content of the video acquisition command. For example, the monitoring command could also be "View surveillance video of camera #1".

[0050] After receiving a monitoring command from the slave controller of the first camera device, the main controller of the first camera device can parse the monitoring command and obtain the identification information of the camera device from it. For example, it can obtain "camera device number 1".

[0051] Figure 2 This is one of the data interaction diagrams of the monitoring system provided in this embodiment of the invention, using an example of a monitoring system including three camera devices: camera device 22, camera device 23, and camera device 24. Of course, the monitoring system can also include a larger number of camera devices. Figure 2 As shown, an app is installed on terminal device 21, allowing users to view surveillance videos captured by various cameras. Assuming the first camera is camera 23, after the user sends a video acquisition command to the app on terminal device 21, the app sends a wake-up command to the MCU of camera 23. Upon receiving this command, the MCU of camera 23 wakes up its SOC, establishing a communication connection between the SOC and the app. The terminal device then sends monitoring commands to the SOC of camera 23 via the app, and the SOC forwards these commands to the MCU. The MCU of camera 23 parses the received commands to obtain the identification information of the camera the user wants to view.

[0052] It should be noted that the first camera in the monitoring system can be a pre-set camera or the first camera that the user views.

[0053] Step 102: When the main controller of the first camera device determines that the identification information of the camera device is the identification information of the second camera device, and the second camera device and the first camera device are in the same network, the main controller of the second camera device obtains the first image data collected by the second camera device through the main controller of the second camera device.

[0054] In this step, the second camera device is a different device from the first camera device in the monitoring system. When the main controller of the first camera device determines that the identification information of the second camera device matches the identification information of the first camera device, it indicates that the user wants to view the monitoring video captured by the second camera device, which is different from the first camera device. At this time, the main controller of the first camera device will determine whether it is in the same network as the second camera device, that is, whether the main controller of the first camera device can communicate or exchange data with the main controller of the second camera device. If it is determined that the first and second camera devices are in the same network, the target device of the image source can be identified as the second camera device. In this case, the main controller of the first camera device can send an image acquisition request to the main controller of the second camera device. Based on this image acquisition request, the main controller of the second camera device acquires the first image data collected by the image acquisition sensor and sends the first image data back to the main controller of the first camera device.

[0055] The image acquisition sensor can be a low-power sensor with adaptive capabilities, such as a complementary metal-oxide-semiconductor (CMOS) sensor. It can perform preliminary processing on the acquired image source data and send the pre-processed first image data to the main controller of the first camera device through the main controller of the second camera device. This allows the main controller of the first camera device to send the first image data to the slave controller of the first camera device for processing. Therefore, it can ensure the rapid response of the main controller of the first camera device in switching data and ensure the real-time performance and effectiveness of the video stream.

[0056] Continue to refer to Figure 2 As shown, assuming the second camera device is camera device 22, and camera device 22 and camera device 23 are in the same network, then camera device 22 and camera device 23 can communicate. The MCU of camera device 23 sends an image acquisition request to the MCU of camera device 22. Based on the image acquisition request, the MCU of camera device 22 acquires the first image data collected by the image acquisition sensor of camera device 22, and sends the first image data to the MCU of camera device 23.

[0057] Step 103: The main controller of the first camera device sends the first image data to the slave controller of the first camera device. The image data is used to instruct the slave controller of the first camera device to send the monitoring video to the terminal device.

[0058] In this step, after receiving the first image data, the main controller of the first camera device sends the first image data to the slave controller of the first camera device through a physical link. The slave controller of the first camera device processes the first image data to generate a monitoring video and sends the monitoring video to the terminal device for display, so that the user can view the video captured by the second camera device.

[0059] Continue to refer to Figure 2 As shown, the MCU of the camera device 23 sends the received first image data to the SOC of the camera device 23. After the SOC of the camera device 23 performs image processing on the first image data, it generates a monitoring video and pushes it to the terminal device for display via APP.

[0060] In the above method, when the user views the monitoring video of camera device 22, the MCU of camera device 22 does not wake up the SOC of camera device 22. Instead, it sends the first image data to the SOC of camera device 23 for processing. Similarly, when the user views the monitoring video of other camera devices, it is not necessary to wake up the SOC of other camera devices. Image processing can be performed by the SOC of camera device 23. Therefore, the power consumption of camera device 22 and other camera devices can be reduced, thereby reducing the power consumption of the monitoring system.

[0061] The surveillance video acquisition method provided in this embodiment of the invention involves a first camera device's main controller receiving a monitoring command from its slave controller. The main controller of the first camera device retrieves the camera's identification information from the command. If this identification information is the same as that of a second camera device, and both devices are on the same network, the main controller of the second camera device acquires first image data collected by the second camera device and sends this data to its slave controller. The slave controller then processes the first image data to obtain the surveillance video. Since the user can view the surveillance video from the second camera device by processing the first image data collected by the second camera device through its slave controller, the slave controller can process both its own image data and the image data from the second camera device without needing to wake up the slave controller. This reduces the power consumption of the monitoring system.

[0062] For example, based on the above embodiments, if the main controller of the first camera device determines that the identification information of the camera device is the identification information of the first camera device, it acquires the third image data collected by the first camera device, and the main controller of the first camera device sends the third image data to the slave controller.

[0063] Specifically, if the surveillance video that the user wants to view is the surveillance video captured by the first camera device, the main controller of the first camera device will obtain the third image data captured by the image acquisition device of the first camera device, and send the third image data to the slave controller of the first camera device. The slave controller of the first camera device will perform image processing on the third image data to obtain the surveillance video corresponding to the first camera device, and push the surveillance video to the terminal device so that the terminal device can display it through the APP.

[0064] Continue to refer to Figure 2 As shown, if the identification information of the camera device included in the monitoring command is the identification information of camera device 23, the MCU of camera device 23 will obtain the third image data collected by the image acquisition device of camera device 23 and send the third image data to the SOC of camera device 23. The SOC of camera device 23 will process the third image data and send it to the terminal device 21 for display via APP, so as to facilitate user viewing.

[0065] In this embodiment, the main controller of the first camera device can acquire the third image data and send the third image data to the slave controller of the first camera device, thereby ensuring that the image data in the first camera device can also be processed normally, improving the reliability of the monitoring system.

[0066] For example, based on the above embodiments, when the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, before obtaining the identification information of the camera device from the monitoring instruction, when the main controller of the first camera device receives a wake-up instruction sent by the terminal device, it wakes up the slave controller of the first camera device in response to the wake-up instruction, and after the slave controller of the first camera device is woken up, the slave controller of the first camera device establishes a communication connection with the terminal device.

[0067] Specifically, after receiving the video acquisition command input by the user through the APP, the terminal device sends a wake-up command to the main controller of the first camera device. Upon receiving this wake-up command, the main controller of the first camera device indicates that there is image data service to process. At this time, the main controller of the first camera device wakes up the slave controller of the first camera device. After being woken up, the slave controller of the first camera device establishes a communication connection with the APP of the terminal device for subsequent information exchange.

[0068] The above method can wake up the slave controller of the first camera device to establish a communication connection with the terminal device, thus providing a foundation for subsequent information exchange. Furthermore, since only the slave controller of the first camera device is woken up, and not the slave controllers of other cameras, the overall power consumption of the monitoring system can be reduced.

[0069] For example, when the main controller of the first camera device receives a monitoring switching instruction sent by the slave controller of the first camera device, it obtains the identification information of the new camera device from the monitoring switching instruction; the monitoring switching instruction is sent by the terminal device to the slave controller of the first camera device when it receives a video switching instruction input by the user; the main controller of the first camera device obtains the second image data collected by the new camera device through the main controller of the new camera device, and the main controller of the first camera device sends the second image data to the slave controller of the first camera device.

[0070] Specifically, when a user wants to switch surveillance videos, they send a video switching command to the terminal device's app, such as sending "Switch to camera 3" via voice or clicking the monitoring window corresponding to camera 3 in the app. The terminal device then generates a monitoring switching command based on the received video switching command and sends it to the slave controller of the first camera device. Since the monitoring switching command is generated based on the video switching command, it includes the identification information of the new camera device, such as "camera 3," which is the camera the user wants to view at that moment. Furthermore, the slave controller of the first camera device forwards the received monitoring switching command to the master controller of the first camera device. Thus, after parsing the monitoring switching command, the master controller of the first camera device can obtain the identification information of the new camera device.

[0071] In some embodiments of this application, a touch area or button for "quick preview switching" and "full switching" can be configured on the user interface or terminal. When the user selects "quick preview switching", the main controller of the first camera device acquires the image sent by the main controller of the second camera device according to the embodiments of this application, and displays the video stream corresponding to the second camera device to the user through the video stream interaction scheme forwarded to the user by the slave controller of the first camera device. When the user selects "full switching", the slave controller of the second camera device is woken up according to the basic process of the prior art.

[0072] When the main controller of the first camera device determines that the identification information of the new camera device is not the same as that of the first camera device, it will determine whether the new camera device is in the same network as the first camera device. If they are in the same network, the main controller of the new camera device will send an image acquisition request to the main controller of the new camera device. Based on the image acquisition request, the main controller of the new camera device will acquire the second image data captured by the image acquisition device of the new camera device and send the acquired second image data to the main controller of the first camera device. The main controller of the first camera device will then send the received second image data to the slave controller of the first camera device, so that the slave controller of the first camera device can process the second image data, generate the monitoring video corresponding to the new camera device, and push the generated monitoring video to the terminal device.

[0073] If the main controller of the first camera device determines that the identification information of the new camera device is the identification information of the first camera device, it will acquire the third image data acquired by the image acquisition device of the first camera device. The specific processing procedure can be referred to the description in the foregoing embodiment, and will not be repeated here.

[0074] Continue to refer to Figure 2 As shown, when the MCU of camera device 23 receives the monitoring switching command sent by the SOC of camera device 23, it obtains the identification information in the monitoring switching command. Assuming that the identification information is the identification information of camera device 24, the MCU of camera device 23 will determine that the target device is camera device 24, and obtain the second image data collected by the image acquisition device of camera device 24 through the MCU of camera device 24. Camera device 24 sends the obtained second image data to the SOC of camera device 23 for image processing.

[0075] In this embodiment, when switching surveillance videos, if the new camera device is not the first camera device, the main controller of the first camera device can obtain the second image data captured by the new camera device through the main controller of the new camera device, and send the second image data to the slave controller of the first camera device for image processing. Thus, when switching surveillance videos, it is not necessary to wake up the slave controller of the new camera device; instead, the slave controller of the first camera device processes the second image data captured by the new camera device, thereby reducing the power consumption of the new camera device and further reducing the power consumption of the surveillance system. Furthermore, when switching surveillance videos, the original link can be maintained without disconnecting, reusing the previously established communication connection between the slave controller of the first camera device and the terminal device. It is not necessary to re-establish the communication connection between the slave controller of the new camera device and the terminal device, thus improving the speed of surveillance video switching.

[0076] It is worth noting that, in the embodiments of the present invention, different operations can be performed depending on the different functional configurations of the master controller and slave controller of the first camera device.

[0077] Specifically, when the main controller of the first camera device only supports low-resolution or low-frame-rate video stream shooting, it will also only acquire low-resolution or low-frame-rate video streams and forward them to the user during fast preview switching. When the main controller of the first camera device supports high / low resolution or high / low frame-rate video stream shooting but does not support automatic exposure, it can control the new camera device to switch between high / low frame rates and high / low resolutions via near-field communication. Alternatively, it can adjust the exposure parameters of the new camera device, such as adjusting the aperture and gain, based on the exposure parameters configured for the first camera device by its slave controller. This allows the acquired video stream from the new camera device to achieve automatic exposure even when its own main controller lacks automatic exposure functionality, thus ensuring image quality. When the main controller of the first camera device supports high / low resolution or high / low frame-rate video stream shooting and supports automatic exposure, it can temporarily disable the automatic exposure function of the new camera device based on the degree of difference between the current exposure parameters of the first camera device and the new camera device to save power. The degree of difference can be determined by setting a difference threshold, for example, within 10%. After the automatic exposure function of the new camera device is turned off, both the first and new camera devices use the exposure parameters of the first camera device for image acquisition. These exposure parameters can be carried in the feedback signal indicating successful communication packet reception. It should be understood that when the difference in the current exposure parameters of the first and new camera devices exceeds 10%, their respective exposure parameters can be used to ensure image quality.

[0078] For example, based on the above embodiments, when the main controller of the second camera device acquires the first image data collected by the second camera device, it can be done in the following way: the main controller of the first camera device sends an image acquisition request to the main controller of the second camera device through the first near-field communication module in the first camera device. The image acquisition request is used to request image data. The main controller of the first camera device receives the first image data sent by the main controller of the second camera device through the second near-field communication module in the second camera device.

[0079] Specifically, each camera device in the monitoring system is equipped with a near-field communication module. This near-field communication module can be a module that supports short-range wireless communication, such as a Bluetooth or Wireless Fidelity (WiFi) module, or a digital image transmission module based on Near Link technology. The digital image transmission module based on Near Link technology optimizes the problems of low Bluetooth communication transmission efficiency and limited WiFi range, enabling video transmission of data within the network range.

[0080] When the main controller of the first camera device acquires the first image data collected by the second camera device, it can send an image acquisition request to the main controller of the second camera device through the first near-field communication module set in the first camera device. After receiving the image acquisition request, the second camera device can return the acquired first image data to the main controller of the first camera device based on the second near-field communication module set in the second camera device.

[0081] It should be noted that when the main controller of the first camera device acquires the second image data collected by the new camera device, it can also send an image acquisition request to the main controller of the new camera device through the first near-field communication module set in the first camera device. After receiving the image acquisition request, the new camera device can return the acquired second image data to the main controller of the first camera device based on the second near-field communication module set in the new camera device.

[0082] In this embodiment, since the first image data can be obtained through the near-field communication module, the phenomenon of each camera device in the monitoring system establishing an additional network connection can be avoided, thereby improving the speed and efficiency of first image data acquisition.

[0083] For example, the main controller of the first camera device searches for camera devices that include a near-field communication module within a preset distance through the first near-field communication module, and the main controller of the first camera device networks the camera devices that include the near-field communication module and the first camera device.

[0084] Specifically, after each camera in the monitoring system registers with the terminal device's app, the MCU and image acquisition device (sensor) of each camera will be initialized to adjust the self-gain parameters and achieve continuous output of a valid video stream. The clarity of this video stream depends on the performance of the image acquisition device.

[0085] After registration and initialization, the main controller of the first camera device searches for camera devices with near-field communication modules within a preset distance using the first near-field communication module. The preset distance can be understood as the range supported by the first near-field communication module. Once a camera is found, the main controller of the first camera device networks it with the found camera device. For example, if the first near-field communication module is a Near Link module, the main controller of the first camera device will search for nearby camera devices with the same mode using SparkLink Basic (SLB) mode, thereby establishing a network between the found camera device and the first camera device.

[0086] It should be noted that after the network is set up, each MCU of the camera device has a unique address within the network. This ensures that each MCU can be accessed and will not be accessed repeatedly. Furthermore, the address of each MCU will be recorded, and this address will map to the corresponding camera device. In other words, there is a one-to-one correspondence between the MCU address and the camera device, allowing access to the MCU corresponding to the camera device based on this mapping.

[0087] In addition, the above-mentioned networking process can also be completed by other registered camera devices.

[0088] In this embodiment, the main controller of the first camera device can search for camera devices that include a near-field communication module within a preset distance through the first near-field communication module, thereby networking the searched camera devices to provide a communication basis for subsequent acquisition of image data and ensure the normal acquisition of image data.

[0089] For example, based on the above embodiments, when the main controller of the first camera device determines that the second camera device and the first camera device are not on the same network, it sends feedback information to the terminal device through the slave controller of the first camera device. The feedback information is used to instruct the terminal device to wake up the slave controller of the second camera device through the main controller of the second camera device.

[0090] Specifically, if the main controller of the first camera device cannot find the second camera device within the network, it will be unable to acquire the first image data collected by the second camera device. The main controller of the first camera device will send feedback information to its slave controller, which will then return this feedback information to the terminal device. Upon receiving the feedback information, the terminal device will know that the main controller of the first camera device cannot acquire the first image data collected by the second camera device. At this point, the terminal device will send a wake-up command to the main controller of the second camera device. The main controller of the second camera device will then wake up the slave controller based on this command. After acquiring the first image data collected by the image acquisition device, the main controller of the second camera device will send the first image data to the slave controller. The slave controller will then process the first image data, generate a monitoring video, and push the generated monitoring video to the terminal device.

[0091] Figure 3 This is a second schematic diagram of data interaction in the monitoring system provided in this embodiment of the invention, as shown below. Figure 3 As shown, if the MCU of camera device 23 cannot find camera device 22 within the network, the MCU of camera device 23 will send feedback information to the SOC of camera device 23, and the SOC of camera device 23 will return the feedback information to terminal device 21. Terminal device 21 will send a wake-up command to the MCU of camera device 22. The MCU of camera device 22 will wake up the SOC of camera device 22 based on the wake-up command. After obtaining the first image data collected by the image acquisition device, the MCU of camera device 22 will send the first image data to the SOC of camera device 22. The SOC of camera device 22 will process the first image data, generate a monitoring video, and push the generated monitoring video to the terminal device.

[0092] In this embodiment, if the first camera device and the second camera device are not in the same network, feedback information can be sent from the slave controller of the first camera device to the terminal device, thereby enabling the terminal device to wake up the slave controller of the second camera device through the master controller of the second camera device, so that the image data can be processed by the slave controller of the second camera device. This ensures the normal acquisition of surveillance video and improves the reliability of the surveillance system.

[0093] The surveillance video acquisition device provided by the present invention is described below. The surveillance video acquisition device described below and the surveillance video acquisition method described above can be referred to in correspondence.

[0094] Figure 4 This is a schematic diagram of the structure of the surveillance video acquisition device provided in an embodiment of the present invention, with reference to... Figure 4As shown, the surveillance video acquisition device 400 includes:

[0095] The acquisition module 410 is used to acquire the identification information of the camera device in the monitoring instruction sent by the slave controller of the first camera device when it receives the monitoring instruction sent by the slave controller of the first camera device; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when it receives the video acquisition instruction input by the user;

[0096] The acquisition module 410 is further configured to acquire the first image data collected by the second camera device through the main controller of the second camera device when it is determined that the identification information of the camera device is the identification information of the second camera device and the second camera device and the first camera device are in the same network;

[0097] The sending module 420 is used to send the first image data to the slave controller of the first camera device, wherein the image data is used to instruct the slave controller of the first camera device to send monitoring video to the terminal device.

[0098] In one example embodiment, the device further includes a wake-up module and a processing module, wherein:

[0099] The wake-up module is used to wake up the slave controller of the first camera device in response to the wake-up command sent by the terminal device.

[0100] The processing module is used to establish a communication connection between the slave controller of the first camera device and the terminal device after the slave controller of the first camera device is woken up.

[0101] In one example embodiment, the acquisition module 410 is further configured to acquire new camera device identification information from the monitoring switching instruction sent by the slave controller of the first camera device upon receiving the monitoring switching instruction; the monitoring switching instruction is sent by the terminal device to the slave controller of the first camera device upon receiving the video switching instruction input by the user;

[0102] The acquisition module 410 is further configured to acquire the second image data collected by the new camera device through the main controller of the new camera device;

[0103] The sending module 420 is further configured to send the second image data to the slave controller of the first camera device.

[0104] In one example embodiment, the acquisition module 410 is specifically used for:

[0105] The first near-field communication module in the first camera device sends an image acquisition request to the main controller of the second camera device, the image acquisition request being used to request image data;

[0106] The main controller of the second camera device receives the first image data sent by the second near-field communication module in the second camera device.

[0107] In one example embodiment, the device further includes a search module and a networking module, wherein:

[0108] The search module is used to search for camera devices that include the near-field communication module within a preset distance through the first near-field communication module;

[0109] A networking module is used to network the camera device, which includes a near-field communication module, and the first camera device.

[0110] In one example embodiment, the sending module 420 is further configured to:

[0111] If it is determined that the second camera device and the first camera device are not on the same network, feedback information is sent to the terminal device through the slave controller of the first camera device. The feedback information is used to instruct the terminal device to wake up the slave controller of the second camera device through the master controller of the second camera device.

[0112] In one example embodiment, the acquisition module 410 is further configured to acquire third image data collected by the first camera device when it is determined that the identification information of the camera device is the identification information of the first camera device;

[0113] The sending module 420 is used to send the third image data to the slave controller.

[0114] The apparatus of this embodiment can be used to execute the method of any embodiment in the side embodiment of the surveillance video acquisition method. Its specific implementation process and technical effects are similar to those in the side embodiment of the surveillance video acquisition method. For details, please refer to the detailed description in the side embodiment of the surveillance video acquisition method, which will not be repeated here.

[0115] Figure 5 An example is a schematic diagram of the physical structure of a camera device, such as... Figure 5As shown, the camera device may include: a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a monitoring video acquisition method, which includes: upon receiving a monitoring instruction sent by a slave controller of the first camera device, the main controller of the first camera device obtains the identification information of the camera device from the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device upon receiving a video acquisition instruction input by a user; upon determining that the identification information of the first camera device is the identification information of a second camera device, and that the second camera device and the first camera device are in the same network, the main controller of the first camera device obtains first image data collected by the second camera device through the main controller of the second camera device; the main controller of the first camera device sends the first image data to the slave controller of the first camera device, the image data being used to instruct the slave controller of the first camera device to send monitoring video to the terminal device.

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

[0117] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the monitoring video acquisition method provided by the above methods. The method includes: when the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, it obtains the identification information of the camera device from the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when it receives a video acquisition instruction input by a user; when the main controller of the first camera device determines that the identification information of the camera device is the identification information of the second camera device and the second camera device and the first camera device are in the same network, it obtains the first image data collected by the second camera device through the main controller of the second camera device; the main controller of the first camera device sends the first image data to the slave controller of the first camera device, and the image data is used to instruct the slave controller of the first camera device to send the monitoring video to the terminal device.

[0118] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the surveillance video acquisition method provided by the above methods. The method includes: upon receiving a monitoring instruction sent by a slave controller of the first camera device, the main controller of the first camera device obtains identification information of the camera device from the monitoring instruction; the monitoring instruction is sent by a terminal device to the slave controller of the first camera device upon receiving a video acquisition instruction input by a user; upon determining that the identification information of the camera device is the identification information of a second camera device, and that the second camera device and the first camera device are on the same network, the main controller of the first camera device obtains first image data collected by the second camera device through the main controller of the second camera device; the main controller of the first camera device sends the first image data to the slave controller of the first camera device, the image data being used to instruct the slave controller of the first camera device to send surveillance video to the terminal device.

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

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

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

Claims

1. A method for acquiring surveillance video, characterized in that, Applied to a first camera device, the first camera device including a master controller and a slave controller, the method includes: When the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, it obtains the identification information of the camera device from the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when it receives a video acquisition instruction input by the user; When the main controller of the first camera device determines that the identification information of the camera device is the identification information of the second camera device, and the second camera device and the first camera device are in the same network, the main controller of the second camera device obtains the first image data collected by the second camera device through the main controller of the second camera device, and the slave controller of the second camera device is in sleep mode; The main controller of the first camera device sends the first image data to the slave controller of the first camera device. The slave controller of the first camera device processes the first image data and sends the resulting monitoring video to the terminal device.

2. The method for acquiring surveillance video according to claim 1, characterized in that, When the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, before obtaining the identification information of the camera device in the monitoring instruction, the method further includes: Upon receiving a wake-up command sent by the terminal device, the main controller of the first camera device wakes up the slave controller of the first camera device in response to the wake-up command. After the slave controller of the first camera device is woken up, the slave controller of the first camera device establishes a communication connection with the terminal device.

3. The method for acquiring surveillance video according to claim 1, characterized in that, The method further includes: When the main controller of the first camera device receives a monitoring switch command sent by the slave controller of the first camera device, it obtains the identification information of the new camera device from the monitoring switch command; the monitoring switch command is sent by the terminal device to the slave controller of the first camera device when it receives the video switch command input by the user; The main controller of the first camera device acquires the second image data captured by the new camera device through the main controller of the new camera device; The main controller of the first camera device sends the second image data to the slave controller of the first camera device.

4. The method for acquiring surveillance video according to claim 1, characterized in that, The step of acquiring the first image data captured by the second camera device through the main controller of the second camera device includes: The main controller of the first camera device sends an image acquisition request to the main controller of the second camera device through the first near-field communication module in the first camera device. The image acquisition request is used to request image data. The main controller of the first camera device receives the first image data sent by the main controller of the second camera device through the second near-field communication module in the second camera device.

5. The method for acquiring surveillance video according to any one of claims 1-4, characterized in that, The method further includes: The main controller of the first camera device searches for camera devices that include a near-field communication module within a preset distance through the first near-field communication module; The main controller of the first camera device will network the camera device, which includes a near-field communication module, with the first camera device.

6. The method for acquiring surveillance video according to any one of claims 1-4, characterized in that, The method further includes: When the main controller of the first camera device determines that the second camera device and the first camera device are not on the same network, it sends feedback information to the terminal device through the slave controller of the first camera device. The feedback information is used to instruct the terminal device to wake up the slave controller of the second camera device through the main controller of the second camera device.

7. The method for acquiring surveillance video according to any one of claims 1-4, characterized in that, The method further includes: When the main controller of the first camera device determines that the identification information of the camera device is the identification information of the first camera device, it acquires the third image data collected by the first camera device. The main controller of the first camera device sends the third image data to the slave controller.

8. A surveillance video acquisition device, characterized in that, include: The acquisition module is used to acquire the identification information of the camera device from the monitoring instruction sent by the slave controller of the first camera device upon receiving the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device upon receiving a video acquisition instruction input by the user. The acquisition module is further configured to, when determining that the identification information of the camera device is the identification information of the second camera device, and the second camera device and the first camera device are in the same network, acquire the first image data collected by the second camera device through the main controller of the second camera device, while the slave controller of the second camera device is in a sleep state; The sending module is used to send the first image data to the slave controller of the first camera device, process the first image data through the slave controller of the first camera device, and send the obtained monitoring video to the terminal device.

9. A camera device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the surveillance video acquisition method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the surveillance video acquisition method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Deep learning based distributed machine vision camera system

    US20220358754A1