Monitoring video acquisition method and device, equipment and storage medium

By acquiring and processing the image data of the second camera device in the monitoring system using the main controller of the first camera device in the monitoring system, the high power consumption problem caused by the wake-up of the SOC of each camera device in the prior art is solved, and the power consumption of the monitoring system is reduced.

CN120075607AActive Publication Date: 2025-05-30ZHEJIANG UNIVIEW TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311613769.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2025-05-30
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

In the existing monitoring system, the SOC is awakened to image processing by each camera device, resulting in large power consumption and cannot be effectively reduced.

Method used

After receiving the monitoring command sent by the slave controller of the first imaging device, the identification information of the imaging device is obtained, and when it is determined to be the second imaging device and in the same network, the image data collected by the second imaging device is obtained through the master controller of the second imaging device, and sent to the slave controller of the first imaging device for processing, avoiding waking up the SOC of the second imaging device.

Benefits of technology

The SOC that only needs to wake up one camera device in the surveillance system is realized, and the image data of all camera devices is processed through the SOC, reducing the power consumption of the surveillance system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075607A_ABST
    Figure CN120075607A_ABST
Patent Text Reader

Abstract

The invention provides a monitoring video acquisition method and device, equipment and a storage medium, and relates to the technical field of monitoring, and the method comprises the steps: a main controller of first camera equipment obtains the identification information of the camera equipment in a monitoring instruction under the condition that the main controller of the first camera equipment receives the monitoring instruction sent by a slave controller of the first camera equipment; 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 first image data collected by the second camera device; and the master controller of the first camera device sends the first image data to the slave controller of the first camera device, wherein the image data is used for indicating the slave controller of the first camera device to send the monitoring video to the terminal device. The embodiment of the invention can reduce the power consumption of the monitoring system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of monitoring technologies, and in particular, to a method, device, equipment, and storage medium for obtaining monitoring videos. Background Art

[0002] In the field of monitoring, low-power design can improve the battery life of camera devices and extend the continuous working time of camera devices. Therefore, low-power design has been increasingly emphasized.

[0003] Currently, low-power camera devices at least include two central processing units (CPUs), namely a microcontroller unit (MCU) and a system on a chip (SOC). Among them, the MCU is in a long-powered-on state, while the SOC is only awakened by the MCU when image processing services are required. Since the SOC is usually in a sleep state and is only awakened for service processing when there is an image processing service, the purpose of saving power can be achieved.

[0004] However, in actual application scenarios, it is usually necessary to view the monitoring videos collected by multiple camera devices in a monitoring system through a terminal device. In this scenario, since each camera device will wake up its own SOC for image processing, the power consumption of the monitoring system is still relatively large. Summary of the Invention

[0005] The present invention provides a method, device, equipment, and storage medium for obtaining monitoring videos, aiming to solve the defect of relatively large power consumption of the monitoring system in the prior art and achieve the purpose of reducing the power consumption of the monitoring system.

[0006] The present invention provides a method for obtaining monitoring videos, which is applied to a first camera device. The first camera device includes a main controller and a slave controller. The method includes:

[0007] When the main controller of the first camera device receives a monitoring instruction sent by the slave controller of the first camera device, the main controller obtains the identification information of the camera device in the monitoring instruction. The monitoring instruction is sent by the terminal device to the slave controller of the first camera device when the terminal device 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 a second camera device and the second camera device and the first camera device are in the same network, the main controller 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 imaging device sends the first image data to the slave controller of the first imaging device, and the image data is used to instruct the slave controller of the first imaging device to send a surveillance video to the terminal device.

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

[0011] When the main controller of the first imaging device receives the wake-up instruction sent by the terminal device, in response to the wake-up instruction, the main controller wakes up the slave controller of the first imaging device;

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

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

[0014] When the main controller of the first imaging device receives the surveillance switching instruction sent by the slave controller of the first imaging device, the main controller obtains the identification information of the new imaging device in the surveillance switching instruction; the surveillance switching instruction is sent by the terminal device to the slave controller of the first imaging device when the terminal device receives the video switching instruction input by the user;

[0015] The main controller of the first imaging device obtains the second image data collected by the new imaging device through the main controller of the new imaging device;

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

[0017] According to a surveillance video acquisition method provided by the present invention, the obtaining the first image data collected by the second imaging device through the main controller of the second imaging device includes:

[0018] The main controller of the first imaging device sends an image acquisition request for requesting image data to the main controller of the second imaging device through the first near-field communication module in the first imaging device;

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

[0020] A method for obtaining monitoring video provided by the present invention further includes:

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

[0022] The main controller of the first imaging device networks the imaging devices including near-field communication modules and the first imaging device.

[0023] A method for obtaining monitoring video provided by the present invention further includes:

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

[0025] A method for obtaining monitoring video provided by the present invention further includes:

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

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

[0028] The present invention also provides a monitoring video acquisition device, including:

[0029] An acquisition module, configured to acquire identification information of an imaging device in the monitoring instruction when receiving the monitoring instruction sent by the slave controller of the first imaging device; the monitoring instruction is sent by the terminal device to the slave controller of the first imaging device when receiving a video acquisition instruction input by a user;

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

[0031] A sending module, configured to send the first image data to the slave controller of the first imaging device, and the image data is used to instruct the slave controller of the first imaging 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 on the memory and executable on the processor. When the processor executes the program, the method for obtaining a monitoring video as described in any one of the above is implemented.

[0033] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for obtaining a monitoring video as described in any one of the above is implemented.

[0034] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the method for obtaining a monitoring video as described in any one of the above is implemented.

[0035] For the method, device, equipment, and storage medium for obtaining a monitoring 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, the identification information of the camera device is obtained from the monitoring instruction. When the identification information of the camera device is the identification information of the second camera device and the first camera device and the second camera device are in the same network, the first image data collected by the second camera device is obtained through the main controller of the second camera device, and the first image data is sent to the slave controller of the first camera device, so that the slave controller of the first camera device processes the first image data to obtain a monitoring video. Since when a user views the monitoring video of the second camera device, the slave controller of the first camera device can be used to process the first image data collected by the second camera device, in this way, the slave controller of the first camera device can process both its own image data and the image data of the second camera device, thus eliminating the need to wake up the slave controller of the second camera device. Therefore, the power consumption of the monitoring system can be reduced. Description of the Drawings

[0036] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0037] Figure 1 It is a schematic flowchart of the method for obtaining a monitoring video provided by an embodiment of the present invention;

[0038] Figure 2 It is one of the schematic diagrams of data interaction of the monitoring system provided by an embodiment of the present invention;

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

[0040] Figure 4 Schematic structural diagram of the monitoring video acquisition device provided by the embodiment of the present invention;

[0041] Figure 5 Illustrates a schematic physical structure diagram of a camera device. Detailed implementation manners

[0042] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0043] Currently, in a monitoring system, many camera devices are powered by solar energy. However, due to the limitation of the conversion efficiency of solar energy, how to reduce the power consumption of camera devices in the monitoring system is an important issue. Currently, an MCU and an SOC are usually provided in a low-power camera device. Among them, the MCU is in a long-powered-on state, and the SOC is usually in a sleep state. When there is an image processing task, the MCU will wake up the SOC to perform image processing, thereby reducing the power consumption of the camera device. In many application scenarios, a monitoring system includes multiple camera devices, and monitoring personnel usually need to switch the monitoring videos collected by multiple camera devices in the monitoring system through a terminal device. For example, switch from the No. 1 camera device to the No. 2 camera device. In this scenario, each camera device needs to wake up its own SOC to perform image processing and send the processed image to the terminal device. For example, when the monitoring personnel are viewing the image collected by the No. 1 camera device, the MCU of the No. 1 camera device will wake up the SOC of the No. 1 camera device to process the collected image. When the monitoring personnel switch to the No. 2 camera device, the MCU of the No. 2 camera device will wake up the SOC of the No. 2 camera device to process the collected image. Since each camera device wakes up its own SOC to perform image processing, the power consumption of the monitoring system is still relatively large, and the purpose of truly reducing power consumption cannot be achieved.

[0044] To solve the above problems, the embodiment of the present invention provides a monitoring video acquisition method. In this method, when there are multiple camera devices in the monitoring system, only the SOC of one of the camera devices in the monitoring system needs to be woken up. Using this SOC, the image data collected by all camera devices in the monitoring system can be processed, that is, the monitoring videos of all camera devices can be obtained through this SOC, and there is no need to wake up the SOCs of other camera devices, thereby reducing the power consumption of the monitoring system.

[0045] The following combines Figures 1 to 3Describe the method for obtaining surveillance videos provided by the embodiments of the present invention. The method for obtaining surveillance videos provided by the embodiments of the present invention can be applicable to the scenario of how to reduce the power consumption of a surveillance system when viewing surveillance videos through multiple camera devices in the surveillance system. The execution subject of this method can be a camera device or a surveillance video acquisition device provided in the camera device. The surveillance video acquisition device can be implemented by software, hardware, or a combination of both. Among them, the camera device includes a main controller and a slave controller, and the camera device can be an IP Camera (IPC).

[0046] Figure 1 It is a schematic flowchart of the method for obtaining surveillance videos provided by the embodiments of the present invention. As Figure 1 shown, the method includes:

[0047] Step 101: When the main controller of the first camera device receives the surveillance instruction sent by the slave controller of the first camera device, obtain the identification information of the camera device in the surveillance instruction; the surveillance instruction is sent by the terminal device to the slave controller of the first camera device when the terminal device receives the 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 capabilities. The slave controller of the first camera device can be, for example, an 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) in the terminal device.

[0049] When the user views the surveillance video, they can input a video acquisition instruction into the APP in the terminal device. For example, send "View the surveillance video of camera device No. 1" via voice, or directly click on the surveillance window corresponding to camera device No. 1 in the APP. After the terminal device receives the video acquisition instruction input by the user through the APP, it will send a wake-up instruction to the main controller of the first camera device. After receiving this wake-up instruction, it indicates that there is an image data service to be processed. At this time, the main controller of the first camera device will wake up the slave controller of the first camera device. After the slave controller of the first camera device is woken up, it will establish a communication connection with the APP of the terminal device. Then, the terminal device will send a surveillance instruction to the slave controller of the first camera device through the APP, and the slave controller of the first camera device will send the received surveillance instruction to the main controller of the first camera device. Among them, the surveillance instruction is generated by the terminal device based on the received video acquisition instruction. Therefore, the surveillance instruction includes the identification information of the camera device, and this camera device is the device for which the user wants to view the surveillance video. It should be noted that the content of the surveillance instruction may be the same as or different from the content of the video acquisition instruction. For example, the surveillance instruction can also be "View the surveillance video of camera device No. 1".

[0050] After the main controller of the first camera device receives the surveillance instruction sent by the slave controller of the first camera device, by parsing this surveillance instruction, it can obtain the identification information of the camera device from the surveillance instruction. For example, obtain "camera device No. 1".

[0051] Figure 2 This is one of the data interaction schematic diagrams of the surveillance system provided by the embodiment of the present invention. Taking the example that the surveillance system includes three camera devices, namely camera device 22, camera device 23, and camera device 24, for illustration. Of course, the surveillance system may also include a greater number of camera devices. For example Figure 2 As shown, the APP is installed in the terminal device 21, and the user can view the surveillance videos collected by each camera device through this APP. Assume that the first camera device is camera device 23. After the user sends a video acquisition instruction to the APP in the terminal device 21, the APP in the terminal device 21 will send a wake-up instruction to the MCU of camera device 23. After receiving this wake-up instruction, the MCU of camera device 23 will wake up the SOC of camera device 23, and then the SOC of camera device 23 will establish a communication connection with the APP of the terminal device. Then, the terminal device will send a surveillance instruction to the SOC of camera device 23 through the APP, and the SOC of camera device 23 will send the received surveillance instruction to the MCU of camera device 23. The MCU of camera device 23 will parse the received surveillance instruction, so as to obtain the identification information of the camera device that the user wants to view.

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

[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 first 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 device different 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 camera device is the identification information of the second camera device, it indicates that the user wants to view the monitoring video collected by the second camera device 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 device. If it is determined that the first camera device and the second camera device are in the same network, it can be determined that the source device is the second device. At this time, 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 to the main controller of the first camera device.

[0055] Among them, the image acquisition sensor can be a low-power sensor with adaptive capabilities. For example, it can be a Complementary Metal-Oxide-Semiconductor (CMOS). It can perform preliminary processing on the collected source data and send the preliminarily processed first image data to the main controller of the first camera device through the main controller of the second camera device, so that the main controller of the first camera device can send the first image data to the slave controller of the first camera device for processing. Therefore, it can ensure the fast response of the main controller of the first camera device to switch data, and can ensure the real-time and effectiveness of the video stream.

[0056] Continue to refer to Figure 2 As shown, assume that 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 will send an image acquisition request to the MCU of camera device 22. Based on this 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 imaging device sends the first image data to the slave controller of the first imaging device, and the image data is used to instruct the slave controller of the first imaging 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 imaging device sends the first image data to the slave controller of the first imaging device through a physical link. The slave controller of the first imaging 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 collected by the second imaging device.

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

[0060] In the above method, when the user views the monitoring video of imaging device 22, the MCU of imaging device 22 does not wake up the SOC of imaging device 22, but sends the first image data to the SOC of imaging device 23 for processing. Similarly, when the user views the monitoring video of other imaging devices, there is no need to wake up the SOC of other imaging devices, and the image processing can be performed through the SOC of imaging device 23. Therefore, the power consumption of imaging device 22 and other imaging devices can be reduced, and thus the power consumption of the monitoring system can be reduced.

[0061] In the monitoring video acquisition method provided by the embodiment of the present invention, when the main controller of the first imaging device receives the monitoring instruction sent by the slave controller of the first imaging device, the identification information of the imaging device is obtained from the monitoring instruction. When the identification information of the imaging device is the identification information of the second imaging device and the first imaging device and the second imaging device are in the same network, the first image data collected by the second imaging device is obtained through the main controller of the second imaging device, and the first image data is sent to the slave controller of the first imaging device, so that the slave controller of the first imaging device performs image processing on the first image data to obtain a monitoring video. Since the user can view the monitoring video of the second imaging device by means of the slave controller of the first imaging device processing the first image data collected by the second imaging device, in this way, the slave controller of the first imaging device can process both its own image data and the image data of the second imaging device, so there is no need to wake up the slave controller of the second imaging device. Therefore, the power consumption of the monitoring system can be reduced.

[0062] Exemplarily, on the basis of the above embodiments, if the main controller of the first imaging device determines that the identification information of the imaging device is the identification information of the first imaging device, the main controller of the first imaging device acquires the third image data collected by the first imaging device, and the main controller of the first imaging 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 collected by the first imaging device, the main controller of the first imaging device will acquire the third image data collected by the image acquisition device of the first imaging device, and send the third image data to the slave controller of the first imaging device. The slave controller of the first imaging device performs image processing on the third image data to obtain the surveillance video corresponding to the first imaging device, and pushes the surveillance video to the terminal device so that the terminal device can be displayed through the APP.

[0064] Continue to refer to Figure 2 As shown, when the identification information of the imaging device included in the surveillance instruction is the identification information of imaging device 23, the MCU of imaging device 23 will acquire the third image data collected by the image acquisition device of imaging device 23, and send the third image data to the SOC of imaging device 23. The SOC of imaging device 23 performs image processing on the third image data and then sends it to the terminal device 21 for display through the APP, so as to facilitate the user to view.

[0065] In this embodiment, the main controller of the first imaging device can acquire the third image data and send the third image data to the slave controller of the first imaging device, so as to ensure that the image data in the first imaging device can also be processed normally, improving the reliability of the surveillance system.

[0066] Exemplarily, on the basis of the above embodiments, when the main controller of the first imaging device receives the surveillance instruction sent by the slave controller of the first imaging device, before acquiring the identification information of the imaging device in the surveillance instruction, when the main controller of the first imaging device receives the wake-up instruction sent by the terminal device, in response to the wake-up instruction, the main controller of the first imaging device wakes up the slave controller of the first imaging device, and after the slave controller of the first imaging device is woken up, the slave controller of the first imaging device establishes a communication connection with the terminal device.

[0067] Specifically, after the terminal device receives the video acquisition instruction input by the user through the APP, it will send a wake-up instruction to the main controller of the first imaging device. After receiving the wake-up instruction, the main controller of the first imaging device indicates that there is image data service to be processed. At this time, the main controller of the first imaging device will wake up the slave controller of the first imaging device. After the slave controller of the first imaging device is woken up, it will establish a communication connection with the APP of the terminal device for subsequent information interaction.

[0068] In the above manner, the slave controller of the first imaging device can be awakened to establish a communication connection with the terminal device, thereby providing a basis for subsequent information interaction. In addition, since only the slave controller of the first imaging device needs to be awakened, without awakening the slave controllers of other imaging devices, the overall power consumption of the monitoring system can be reduced.

[0069] Exemplarily, when the master controller of the first imaging device receives a monitoring switching instruction sent by the slave controller of the first imaging device, the identification information of the new imaging device is obtained in the monitoring switching instruction; the monitoring switching instruction is sent by the terminal device to the slave controller of the first imaging device when the terminal device receives a video switching instruction input by the user; the master controller of the first imaging device obtains the second image data collected by the new imaging device through the master controller of the new imaging device, and the master controller of the first imaging device sends the second image data to the slave controller of the first imaging device.

[0070] Specifically, when the user wants to switch the monitoring video, a video switching instruction will be sent to the APP of the terminal device, such as sending "switch to the 3rd imaging device" by voice, or clicking on the monitoring window corresponding to the 3rd imaging device in the APP. The terminal device will generate a monitoring switching instruction based on the received video switching instruction and send the generated monitoring switching instruction to the slave controller of the first imaging device. Since the monitoring switching instruction is generated based on the video switching instruction, the monitoring switching instruction includes the identification information of the new imaging device, such as "the 3rd imaging device", and the new imaging device is the imaging device that the user wants to view at this time. Further, the slave controller of the first imaging device will forward the received monitoring switching instruction to the master controller of the first imaging device. In this way, after parsing the monitoring switching instruction, the master controller of the first imaging device can obtain the identification information of the new imaging device.

[0071] In some embodiments of the present application, touch areas or buttons for "quick preview switching" and "full switching" can be configured on the user interface or the terminal. When the user selects "quick preview switching", the master controller of the first imaging device obtains the image sent by the master controller of the second imaging device according to the embodiments of the present application, and presents the video stream corresponding to the second imaging device to the user through the video stream interaction scheme forwarded by the slave controller of the first imaging device. When the user selects "full switching", the slave controller of the second imaging device is awakened according to the basic process of the prior art.

[0072] When the main controller of the first imaging device determines that the identification information of the new imaging device is not the identification information of the first imaging device, it will determine whether the new imaging device is in the same network as the first imaging device. If it is in the same network, it will send an image acquisition request to the main controller of the new imaging device. The main controller of the new imaging device will acquire the second image data collected by the image acquisition device of the imaging device based on the image acquisition request, and send the acquired second image data to the main controller of the first imaging device. The main controller of the first imaging device will send the received second image data to the slave controller of the first imaging device, so that the slave controller of the first imaging device processes the second image data to generate a monitoring video corresponding to the new imaging device, and pushes the generated monitoring video to the terminal device.

[0073] If the main controller of the first imaging device determines that the identification information of the new imaging device is the identification information of the first imaging device, it will acquire the third image data acquired by the image acquisition device of the first imaging device. The specific processing process can refer to the description in the foregoing embodiments and will not be elaborated here.

[0074] Continue to refer to Figure 2 As shown, when the MCU of imaging device 23 receives the monitoring switching instruction sent by the SOC of imaging device 23, it acquires the identification information in the monitoring switching instruction. Assuming that the identification information is the identification information of imaging device 24, the MCU of imaging device 23 will determine that the target device is imaging device 24, and acquire the second image data collected by the image acquisition device of imaging device 24 through the MCU of imaging device 24. Imaging device 24 will send the acquired second image data to the SOC of imaging device 23 for image processing.

[0075] In this embodiment, when switching the monitoring video, if the new imaging device is not the first imaging device, the main controller of the first imaging device can acquire the second image data collected by the new imaging device through the main controller of the new imaging device, and send the second image data to the slave controller of the first imaging device for image processing. In this way, when switching the monitoring video, it is not necessary to wake up the slave controller of the new imaging device, but the slave controller of the first imaging device is used to process the second image data collected by the new imaging device, thereby reducing the power consumption of the new imaging device and further reducing the power consumption of the monitoring system. In addition, when switching the monitoring video, the original connection does not need to be disconnected, and the communication connection between the slave controller of the first imaging device and the terminal device established before can be reused, and there is no need to establish a new communication connection between the slave controller of the new imaging device and the terminal device, which improves the speed of monitoring video switching.

[0076] It should be noted that, in the embodiments of the present invention, different operations can also be performed according to different functional configurations of the main controller and the slave controller of the first imaging device.

[0077] Specifically, when the main controller of the first imaging device only supports shooting low-resolution or low-frame-rate video streams, only low-resolution or low-frame-rate video streams are obtained and forwarded to the user during fast preview switching. When the main controller of the first imaging device supports shooting high / low-resolution or high / low-frame-rate video streams but does not support automatic exposure, a new imaging device can be controlled via near-field communication to perform high / low-frame-rate and high / low-resolution switching. Also, the exposure parameters of the new imaging device can be adjusted according to the exposure parameters configured by the slave controller of the first imaging device for the first imaging device, such as adjusting the aperture and gain, etc., so that the video stream of the new imaging device obtained can achieve automatic exposure in the case where its own main controller does not have the automatic exposure function, to ensure the picture quality. When the main controller of the first imaging device supports shooting high / low-resolution or high / low-frame-rate video streams and supports automatic exposure, the automatic exposure function of the new imaging device can be temporarily turned off according to the difference degree between the current exposure parameters of the first imaging device and the new imaging device, to save power consumption. Among them, the above difference degree can be judged by setting a difference threshold, and this difference threshold is, for example, within 10% difference. After the automatic exposure function of the new imaging device is turned off, the first imaging device and the new imaging device jointly use the exposure parameters of the first imaging device for image acquisition, and these exposure parameters can be carried in the feedback signal of successful communication packet reception. It should be understood that when the difference degree between the current exposure parameters of the first imaging device and the new imaging device is more than 10% different, their respective exposure parameters can be used, so as to ensure the image quality.

[0078] Exemplarily, on the basis of the above embodiments, when obtaining the first image data collected by the second imaging device through the main controller of the second imaging device, it can be carried out in the following manner: The main controller of the first imaging device sends an image acquisition request to the main controller of the second imaging device through the first near-field communication module in the first imaging device, and this image acquisition request is used to request image data. The main controller of the first imaging device receives the first image data sent by the main controller of the second imaging device through the second near-field communication module in the second imaging device.

[0079] Specifically, each camera device in the monitoring system is provided with a near-field communication module. Among them, the 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 video transmission module based on the Near Link technology. The digital video transmission module based on the Near Link technology optimizes the problems of low Bluetooth communication transmission efficiency and limited WiFi range, enabling video transmission of data within the networking range.

[0080] When the main controller of the first camera device obtains 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 collected 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 obtains the second image data collected by a 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 collected 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, improving the speed and efficiency of obtaining the first image data.

[0083] Exemplarily, the main controller of the first camera device searches for camera devices including near-field communication modules within a preset distance through the first near-field communication module, and the main controller of the first camera device networks the camera devices including near-field communication modules with the first camera device.

[0084] Specifically, after each camera device in the monitoring system is registered in the APP of the terminal device, the MCU and image acquisition device (sensor) of each camera device will be initialized to adjust the self-gain parameter to continuously output an effective video stream. The clarity of the video stream depends on the performance of the image acquisition device.

[0085] After the first imaging device completes registration and initialization, the main controller of the first imaging device searches for imaging devices including a near-field communication module within a preset distance through the first near-field communication module. Here, the preset distance can be understood as the range supported by the first near-field communication module. After finding one, the main controller of the first imaging device forms a network with the found imaging device and the first imaging device. For example, if the first near-field communication module is a Near Link module, the main controller of the first imaging device will search for nearby imaging devices of the same mode in the SparkLink Basic (SLB) mode, so as to form a network with the found imaging device and the first imaging device.

[0086] It should be noted that after networking, for the MCU of each imaging device, each MCU in the network has a unique address, which can ensure that each MCU can be accessed and will not be accessed repeatedly. In addition, the address of each MCU will be recorded. The address of this MCU maps to the corresponding imaging device, that is, there is a one-to-one correspondence between the address of the MCU and the imaging device. Thus, based on this mapping relationship, the MCU corresponding to the imaging device can be accessed.

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

[0088] In this embodiment, the main controller of the first imaging device can search for imaging devices including a near-field communication module within a preset distance through the first near-field communication module, so as to form a network with the found imaging devices, providing a communication basis for subsequent acquisition of image data and ensuring the normal acquisition of image data.

[0089] Exemplarily, on the basis of the above embodiments, when the main controller of the first imaging device determines that the second imaging device and the first imaging device are not in the same network, it sends feedback information to the terminal device through the slave controller of the first imaging device. This feedback information is used to instruct the terminal device to wake up the slave controller of the second imaging device through the main controller of the second imaging device.

[0090] Specifically, when the main controller of the first imaging device fails to find the second imaging device within the network, the main controller of the first imaging device will be unable to obtain the first image data collected by the second imaging device. The main controller of the first imaging device will send feedback information to the slave controller of the first imaging device, and the slave controller of the first imaging device will return the feedback information to the terminal device. After receiving the feedback information, the terminal device will learn that the main controller of the first imaging device cannot obtain the first image data collected by the second imaging device. At this time, the terminal device will send a wake-up instruction to the main controller of the second imaging device. The main controller of the second imaging device wakes up the slave controller of the second imaging device based on the wake-up instruction. After the main controller of the second imaging device obtains the first image data collected by the image acquisition device, it sends the first image data to the slave controller of the second imaging device. The slave controller of the second imaging device processes the first image data to generate a surveillance video and pushes the generated surveillance video to the terminal device.

[0091] Figure 3 FIG. 2 is a second schematic diagram of data interaction of the monitoring system provided by the embodiment of the present invention. As Figure 3 shown, when the MCU of imaging device 23 fails to find imaging device 22 within the network, the MCU of imaging device 23 will send feedback information to the SOC of imaging device 23, and the SOC of imaging device 23 will return the feedback information to terminal device 21. Terminal device 21 will send a wake-up instruction to the MCU of imaging device 22. The MCU of imaging device 22 wakes up the SOC of imaging device 22 based on the wake-up instruction. After the MCU of imaging device 22 obtains the first image data collected by the image acquisition device, it sends the first image data to the SOC of imaging device 22. The SOC of imaging device 22 processes the first image data to generate a surveillance video and pushes the generated surveillance video to the terminal device.

[0092] In this embodiment, when the first imaging device and the second imaging device are not in the same network, the slave controller of the first imaging device can send feedback information to the terminal device, so that the terminal device wakes up the slave controller of the second imaging device through the main controller of the second imaging device, so as to process the image data through the slave controller of the second imaging device, thereby ensuring the normal acquisition of the surveillance video and improving the reliability of the monitoring system.

[0093] Next, the monitoring video acquisition device provided by the present invention will be described. The monitoring video acquisition device described below can be mutually referred to the monitoring video acquisition method described above.

[0094] Figure 4 FIG. 3 is a schematic structural diagram of the monitoring video acquisition device provided by the embodiment of the present invention. Refer to Figure 4As shown in the figure, the monitoring video acquisition device 400 includes:

[0095] An acquisition module 410, configured to obtain identification information of a camera device in the monitoring instruction when receiving 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 receiving a video acquisition instruction input by a user.

[0096] The acquisition module 410 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, obtain first image data collected by the second camera device through the master controller of the second camera device.

[0097] A sending module 420, configured to send 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 a monitoring video to the terminal device.

[0098] In an exemplary embodiment, the device further includes a wake-up module and a processing module, where:

[0099] The wake-up module is configured to wake up the slave controller of the first camera device in response to the wake-up instruction when receiving the wake-up instruction sent by the terminal device.

[0100] The processing module is configured 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 an exemplary embodiment, the acquisition module 410 is further configured to obtain identification information of a new camera device in the monitoring switching instruction when receiving the monitoring switching instruction sent by the slave controller of the first camera device; the monitoring switching instruction is sent by the terminal device to the slave controller of the first camera device when receiving a video switching instruction input by the user.

[0102] The acquisition module 410 is further configured to obtain second image data collected by the new camera device through the master 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 an exemplary embodiment, the acquisition module 410 is specifically configured to:

[0105] Send an image acquisition request to the main controller of the second imaging device through the first near-field communication module in the first imaging device, where the image acquisition request is used to request image data;

[0106] Receive the first image data sent by the main controller of the second imaging device through the second near-field communication module in the second imaging device.

[0107] In an exemplary embodiment, the device further includes a search module and a networking module, where:

[0108] The search module is configured to search for imaging devices including near-field communication modules within a preset distance through the first near-field communication module;

[0109] The networking module is configured to network the imaging devices including near-field communication modules and the first imaging device.

[0110] In an exemplary embodiment, the sending module 420 is further configured to:

[0111] In the case of determining that the second imaging device and the first imaging device are not in the same network, send feedback information to the terminal device through the slave controller of the first imaging device, where the feedback information is used to instruct the terminal device to wake up the slave controller of the second imaging device through the main controller of the second imaging device.

[0112] In an exemplary embodiment, the obtaining module 410 is further configured to obtain third image data collected by the first imaging device in the case of determining that the identification information of the imaging device is the identification information of the first imaging device;

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

[0114] The device in this embodiment can be used to execute the method in any of the method embodiments of the monitoring video acquisition method. The specific implementation process and technical effects are similar to those in the method embodiments of the monitoring video acquisition method. For details, reference can be made to the detailed introduction in the method embodiments of the monitoring video acquisition method, which will not be elaborated here.

[0115] Figure 5 Illustrates a schematic diagram of the physical structure of an imaging device, such as Figure 5As shown in the figure, the camera device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communications interface 520, and the memory 530 complete communication with each other through the communication bus 540. The processor 510 may call the logical instructions in the memory 530 to execute a method for obtaining a monitoring video. 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, obtaining the identification information of the camera device in the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when the terminal device 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, obtaining 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 a monitoring video to the terminal device.

[0116] In addition, when the logical instructions in the above-mentioned memory 530 can be implemented in the form of software functional units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[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 each of the above methods. The method includes: when the main controller of the first imaging device receives a monitoring instruction sent by the slave controller of the first imaging device, obtaining the identification information of the imaging device in the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first imaging device when the terminal device receives a video acquisition instruction input by a user; when the main controller of the first imaging device determines that the identification information of the imaging device is the identification information of the second imaging device and the second imaging device and the first imaging device are in the same network, obtaining, through the main controller of the second imaging device, first image data collected by the second imaging device; the main controller of the first imaging device sends the first image data to the slave controller of the first imaging device, and the image data is used to instruct the slave controller of the first imaging device to send a monitoring video to the terminal device.

[0118] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the monitoring video acquisition method provided by each of the above methods. The method includes: when the main controller of the first imaging device receives a monitoring instruction sent by the slave controller of the first imaging device, obtaining the identification information of the imaging device in the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first imaging device when the terminal device receives a video acquisition instruction input by a user; when the main controller of the first imaging device determines that the identification information of the imaging device is the identification information of the second imaging device and the second imaging device and the first imaging device are in the same network, obtaining, through the main controller of the second imaging device, first image data collected by the second imaging device; the main controller of the first imaging device sends the first image data to the slave controller of the first imaging device, and the image data is used to instruct the slave controller of the first imaging device to send a monitoring 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 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 to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.

[0120] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, 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 for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment 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 are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements 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 obtaining monitoring video, characterized in that, applied to a first camera device, the first camera device includes a main controller and a slave controller, and 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, obtain the identification information of the camera device in the monitoring instruction; the monitoring instruction is sent by the terminal device to the slave controller of the first camera device when receiving 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, obtain 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.

2. The monitoring video acquisition method according to claim 1, characterized in that, Before the main controller of the first camera device receives the monitoring instruction sent by the slave controller of the first camera device and obtains the identification information of the camera device in the monitoring instruction, the method further includes: When the main controller of the first camera device receives a wake-up instruction sent by the terminal device, in response to the wake-up instruction, wake up the slave controller of the first camera device; 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 monitoring video acquisition method according to claim 1, characterized in that, The method further includes: When the main controller of the first camera device receives a monitoring switching instruction sent by the slave controller of the first camera device, obtain the identification information of the new camera device in the monitoring switching instruction; the monitoring switching instruction is sent by the terminal device to the slave controller of the first camera device when receiving 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; The main controller of the first camera device sends the second image data to the slave controller of the first camera device.

4. The monitoring video acquisition method according to claim 1, characterized in that, The obtaining the first image data collected 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, and 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 obtaining surveillance video according to any one of claims 1-4, characterized in that, the method further comprises: the main controller of the first imaging device searches for imaging devices including near-field communication modules within a preset distance through the first near-field communication module; the main controller of the first imaging device networks the imaging devices including near-field communication modules and the first imaging device.

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

7. The method for obtaining surveillance video according to any one of claims 1-4, characterized in that, the method further comprises: when the main controller of the first imaging device determines that the identification information of the imaging device is the identification information of the first imaging device, the main controller of the first imaging device acquires third image data collected by the first imaging device; the main controller of the first imaging device sends the third image data to the slave controller.

8. A surveillance video acquisition device, characterized in that, comprises: an acquisition module, configured to acquire identification information of an imaging device in the surveillance instruction when receiving the surveillance instruction sent by the slave controller of the first imaging device; the surveillance instruction is sent by the terminal device to the slave controller of the first imaging device when receiving a video acquisition instruction input by a user; the acquisition module is further configured to, when determining that the identification information of the imaging device is the identification information of the second imaging device and the second imaging device and the first imaging device are in the same network, acquire first image data collected by the second imaging device through the main controller of the second imaging device; a sending module, configured to send the first image data to the slave controller of the first imaging device, and the image data is used to instruct the slave controller of the first imaging device to send a surveillance video to the terminal device.

9. An imaging device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, when the processor executes the program, the method for obtaining surveillance video according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method for obtaining surveillance video according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Network camera and system and method for operating the network camera

    CN102143309A

  • Image capturing equipment and control method thereof

    CN108270960A

  • Image processing method, device and system

    CN115623143A

  • Video taking device and operation method thereof

    US20190191085A1

  • Deep learning based distributed machine vision camera system

    US20220358754A1