Camera monitoring polling switching method, system, device and medium
By real-time identification of targets of interest in the surveillance camera area and dynamic adjustment of camera polling frequency and sequence, the problems of insufficient flexibility, waste of resources and blind spots in existing technologies are solved, and an efficient and flexible surveillance system is realized.
Patent Information
- Application Number
- CN202411438132.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2044-10-15
AI Technical Summary
The existing camera polling method has problems such as insufficient flexibility, waste of resources, monitoring blind spots and low efficiency, and cannot effectively respond to abnormal or important events in actual situations.
By determining in real time whether there are targets of interest in the surveillance camera area, the polling frequency and order are dynamically adjusted to prioritize monitoring of targets of interest, and tracking and shooting and camera switching are performed when necessary.
It improves the pertinence and efficiency of monitoring, reduces resource waste, eliminates monitoring blind spots, ensures timely response at critical moments, and enhances the system's dynamic adjustment capabilities.
Smart Images

Figure CN119324963B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of monitoring switching technology, and in particular to a camera monitoring polling switching method, system, device and medium. Background Art
[0002] In the security field, especially in residential areas and factories, it's often difficult to deploy clustered algorithm services to monitor human behavior or security status within each camera's frame in real time. In such cases, deploying a single algorithm service and polling all cameras is a common solution.
[0003] The existing camera polling method of switching camera groups only at a certain period has some disadvantages. These disadvantages may include:
[0004] Fixed-cycle inflexibility: Traditional periodic switching methods lack flexibility and cannot be dynamically adjusted according to actual conditions. For example, during a certain period of time, some cameras may experience abnormal conditions or important events, but the polling system cannot flexibly focus on these cameras.
[0005] Resource waste: In traditional polling methods, even if some camera images have not changed or no important events have occurred, they will still be accessed and processed in each polling cycle. This approach wastes system resources and computing power.
[0006] Monitoring blind spots: Due to the fixed-cycle polling method, some cameras may be in monitoring blind spots at critical moments. For example, if a camera is not within the polling cycle when an important event occurs, the system will miss monitoring and responding to the event.
[0007] Inefficiency: Since each polling operation requires accessing all cameras, the system efficiency may be low, especially when the number of cameras is large. This will increase the system's response time and may lead to insufficient monitoring data processing capabilities.
[0008] In summary, the existing camera polling method, which simply switches camera groups at a fixed interval, has several significant drawbacks, including lack of flexibility, resource waste, blind spots, and low efficiency. Therefore, a more intelligent and flexible polling method is needed to improve the performance and efficiency of surveillance systems. Summary of the Invention
[0009] The technical problem to be solved by the present invention is to address the deficiencies of the existing technology and specifically provide a camera monitoring polling switching method, system, device and medium, as follows:
[0010] 1) In the first aspect, the present invention provides a camera monitoring polling switching method, the specific technical solution is as follows:
[0011] S1, real-time determination of whether there is a target of interest in the monitoring area corresponding to the current monitoring camera;
[0012] S2, if there is an object of interest, continuously monitoring the object of interest through the current monitoring camera;
[0013] If there is no target of interest, after the current surveillance camera monitors for the first preset time period, the next surveillance camera is switched to in a polling order, and the next surveillance camera is used as the current surveillance camera in S1 to execute S1.
[0014] The beneficial effects of the camera monitoring polling switching method provided by the present invention are as follows:
[0015] By determining in real time whether there is a target of interest in the monitoring area corresponding to the current monitoring camera, the targeted nature of monitoring is further improved. That is, instead of blindly polling the camera, it plays an important role in monitoring when there is an anomaly or when designated target monitoring is required.
[0016] Based on the above solution, the present invention can also be improved as follows.
[0017] Furthermore, if there is an object of interest, the process of continuously monitoring the object of interest through the current monitoring camera is specifically as follows:
[0018] If there is an interested target, the current surveillance camera continuously tracks and shoots the interested target, and after shooting for a second preset time, switches to the next surveillance camera according to the polling order, and executes S1 with the next surveillance camera as the current surveillance camera in S1.
[0019] Furthermore, the method further includes: when the next surveillance camera executes S1, storing the identifier corresponding to the current surveillance camera into the end of the polling queue of the polling order.
[0020] Furthermore, it also includes: displaying the polling queue of the polling order.
[0021] 2) In a second aspect, the present invention further provides a camera monitoring polling switching system, the specific technical solution of which is as follows:
[0022] The judgment module is used to: determine in real time whether there is a target of interest in the monitoring area corresponding to the current monitoring camera;
[0023] The switching module is used to: if there is an interested target, continuously monitor the interested target through the current monitoring camera;
[0024] If there is no target of interest, after the current surveillance camera monitors for the first preset time period, the next surveillance camera is switched to in a polling order, and the judgment module is executed using the next surveillance camera as the current surveillance camera in the judgment module.
[0025] Based on the above solution, the present invention can also be improved as follows.
[0026] Furthermore, if there is an object of interest, the process of continuously monitoring the object of interest through the current monitoring camera is specifically as follows:
[0027] If there is an interested target, the current surveillance camera continuously tracks and shoots the interested target, and after shooting for a second preset time, switches to the next surveillance camera in the polling order, and uses the next surveillance camera as the current surveillance camera in the judgment module to execute the judgment module.
[0028] Furthermore, the method further comprises: a storage module configured to store the identifier corresponding to the current surveillance camera into the tail of the polling queue of the polling order when the next surveillance camera executes the judgment module.
[0029] Furthermore, it also includes: a display module for displaying the polling queue of the polling order.
[0030] 3) In a third aspect, the present invention further provides an electronic device, comprising a processor, wherein the processor is coupled to a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements any of the above methods.
[0031] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to enable a computer to implement any of the above methods.
[0032] It should be noted that the beneficial effects achieved by the technical solutions of the second to fourth aspects of the present invention and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Other features, objects and advantages of the present invention will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0034] Figure 1 This is a flow chart of a camera monitoring polling switching method according to an embodiment of the present invention;
[0035] Figure 2 This is a second flow chart of a camera monitoring polling switching method according to an embodiment of the present invention;
[0036] Figure 3 This is a structural framework diagram of an electronic device according to the present invention. DETAILED DESCRIPTION
[0037] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0038] like Figure 1 As shown, a camera monitoring polling switching method according to an embodiment of the present invention includes the following steps:
[0039] S1, real-time determination of whether there is a target of interest in the monitoring area corresponding to the current monitoring camera;
[0040] S2, if there is an object of interest, continuously monitoring the object of interest through the current monitoring camera;
[0041] If there is no target of interest, after the current surveillance camera monitors for the first preset time period, the next surveillance camera is switched to in a polling order, and the next surveillance camera is used as the current surveillance camera in S1 to execute S1.
[0042] The beneficial effects of the camera monitoring polling switching method provided by the present invention are as follows:
[0043] By determining in real time whether there is a target of interest in the monitoring area corresponding to the current monitoring camera, the targeted nature of monitoring is further improved. That is, instead of blindly polling the camera, it plays an important role in monitoring when there is an anomaly or when designated target monitoring is required.
[0044] This solution may also include the following before S1:
[0045] The polling mode corresponding to the current moment is determined, and when the polling mode is intelligent polling, S1 is executed.
[0046] The polling mode also includes the basic polling model. The basic polling mode can be understood as the traditional polling mode, that is, determining the number of surveillance cameras corresponding to the polling mode and the unique identifier corresponding to each surveillance camera, sorting all unique identifiers, and specifying the polling cycle. Polling monitoring is performed according to the polling cycle and the sorting results. It should be further explained that the monitoring area corresponding to each surveillance camera can be different, or it can be monitoring from multiple angles in the same scene. The monitoring area can be adjusted according to actual needs, which will not be elaborated here.
[0047] It should be further explained that the polling mode corresponding to the current moment is determined as follows:
[0048] The first one is to determine it through manual adjustment.
[0049] The second method is to determine whether an interested target has appeared in a preset period before the current moment, or whether the time when the interested target appears exceeds the preset time. If so, it is determined that the intelligent polling mode is needed at this time.
[0050] The third method is to determine whether the previous moment was in smart polling mode. If so, further determine whether there is a tag that continues to be tracked in the smart polling mode corresponding to the previous moment. If so, the smart polling mode is directly adopted at the current moment. If not, further judgment is made through the second method.
[0051] The method for determining whether there is an area of interest is:
[0052] Access the specified number of channels according to the algorithm service capability (the number of channels here indicates the maximum number of cameras that the algorithm service can access at the same time. Figure 2 In the workflow, the intelligent polling mode represents a workflow of one channel, but in fact multiple channels (i.e., a specified number of channels) are carrying out the process at the same time. The yolov8 detection algorithm is used to detect targets on the camera screen (referring to the cameras that have been connected to the polling task and are different from the cameras that are not running in the polling task). Based on the detection results, it is determined whether there is a target of interest in the monitoring event.
[0053] When there is an interesting target, continuous monitoring is performed until the set monitoring time of the interesting target is reached, the camera is placed in the polling queue, and a new camera is obtained for the next round of intelligent polling judgment.
[0054] If there are no targets of interest, the camera will continue monitoring until the set duration of no-target monitoring is reached. At this point, the camera will be placed in the polling queue and a new camera will be acquired for the next round of intelligent polling. (The durations can be set differently depending on whether there are targets of interest, allowing for different attention periods depending on whether there are targets of interest. Some users may be more interested in scenes with no targets of interest, while others may be more interested in scenes with targets of interest. This can be set based on actual user experience.)
[0055] When there are at least three surveillance cameras, when there is no target of interest in the surveillance area corresponding to the current surveillance camera and a fixed time has passed, the surveillance area corresponding to any surveillance camera other than the current surveillance camera is randomly selected to determine whether there is a target of interest. If there is no target of interest in the surveillance area corresponding to any surveillance camera, return to the current surveillance camera and continue to execute S1; if there is a target of interest in the surveillance area corresponding to any surveillance camera, continue to judge the surveillance area corresponding to the current surveillance camera, and at the same time, continue to judge the surveillance area corresponding to the surveillance camera where the target of interest exists, until the current surveillance camera monitors for the first preset time, then adjust the unique identifier corresponding to the surveillance camera where the target of interest exists to the head of the polling queue, and continue to monitor the target of interest.
[0056] Alternatively, when there are at least three surveillance cameras, the surveillance area corresponding to the current surveillance camera and, starting with the next surveillance camera corresponding to the current surveillance camera in the polling order, the surveillance area corresponding to the next surveillance camera is displayed side by side with the surveillance area corresponding to the current surveillance camera at fixed intervals, i.e., both surveillance areas are monitored simultaneously for the presence of a target of interest, wherein the fixed interval is less than the monitoring interval corresponding to normal polling (i.e., in the intelligent polling mode, the interval from switching to the current surveillance camera to the absence of a target of interest in the surveillance area corresponding to the current surveillance camera and switching to the next surveillance camera for monitoring). If, during the process of displaying surveillance images side by side, a target of interest exists in any surveillance area, and no target of interest exists in the monitoring period of another surveillance area, the side-by-side display will cease after the corresponding monitoring period of the other surveillance area has completed, and the surveillance area with the target of interest will continue to be monitored until the monitoring period of the target of interest reaches the monitoring period of interest.
[0057] It should be noted that the monitoring duration of interest is longer than the monitoring duration corresponding to normal polling.
[0058] Furthermore, if there is an object of interest, the process of continuously monitoring the object of interest through the current monitoring camera is specifically as follows:
[0059] If there is an interested target, the current surveillance camera continuously tracks and shoots the interested target, and after shooting for a second preset time, switches to the next surveillance camera according to the polling order, and executes S1 with the next surveillance camera as the current surveillance camera in S1.
[0060] Furthermore, the method further includes: when the next surveillance camera executes S1, storing the identifier corresponding to the current surveillance camera into the end of the polling queue of the polling order.
[0061] Furthermore, it also includes: displaying the polling queue of the polling order.
[0062] The effects that the present invention can achieve are:
[0063] Dynamic adjustment and flexibility
[0064] The intelligent polling system dynamically adjusts the frequency and order of camera polling based on actual conditions. For example, the system can identify objects of interest and immediately direct attention to the relevant cameras. This flexibility allows the system to monitor specific areas more frequently when needed, improving responsiveness.
[0065] Resource optimization
[0066] Smart polling prioritizes important or changing images based on changes in camera image content, while reducing access to static or insignificant images. This on-demand processing significantly reduces waste of system resources and computing power, improving overall system efficiency.
[0067] Eliminate monitoring blind spots
[0068] Through intelligent analysis and event detection, the system can identify key moments (i.e., situations in camera footage that the user is interested in) and prioritize the processing of relevant camera footage, reducing monitoring blind spots caused by fixed-cycle polling. For example, intelligent polling ensures that camera footage is processed and responded to promptly when important events occur, preventing key monitoring information from being missed.
[0069] Improve system efficiency
[0070] The intelligent polling system prioritizes high-risk or high-importance camera images. (This system is primarily used in factory nighttime shifts and inspections. At night, most cameras are unmanned, so the primary concern is the presence of personnel. Therefore, the system can quickly conduct a camera inspection to quickly confirm whether anyone enters or exits the monitoring range. If a person is detected, the system issues an alarm and continuously monitors the camera where the person appeared until they leave.) This effectively improves monitoring data processing efficiency and reduces response time. This is particularly important for monitoring systems with a large number of cameras. Intelligent polling effectively allocates computing resources, ensuring that the system maintains good performance even under high loads.
[0071] In the above embodiments, although the steps are numbered S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the scope of protection of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.
[0072] The present invention also provides a camera monitoring polling switching system, the specific technical solution is as follows:
[0073] The judgment module is used to: determine in real time whether there is a target of interest in the monitoring area corresponding to the current monitoring camera;
[0074] The switching module is used to: if there is an interested target, continuously monitor the interested target through the current monitoring camera;
[0075] If there is no target of interest, after the current surveillance camera monitors for the first preset time period, the next surveillance camera is switched to in a polling order, and the judgment module is executed using the next surveillance camera as the current surveillance camera in the judgment module.
[0076] Furthermore, if there is an object of interest, the process of continuously monitoring the object of interest through the current monitoring camera is specifically as follows:
[0077] If there is an interested target, the current surveillance camera continuously tracks and shoots the interested target, and after shooting for a second preset time, switches to the next surveillance camera in the polling order, and uses the next surveillance camera as the current surveillance camera in the judgment module to execute the judgment module.
[0078] Furthermore, the method further comprises: a storage module configured to store the identifier corresponding to the current surveillance camera into the tail of the polling queue of the polling order when the next surveillance camera executes the judgment module.
[0079] Furthermore, it also includes: a display module for displaying the polling queue of the polling order.
[0080] It should be noted that the beneficial effects of the camera monitoring polling switching system provided in the above embodiment are the same as those of the camera monitoring polling switching method described above, and will not be repeated here. Furthermore, the system provided in the above embodiment is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. Furthermore, the system and method embodiments provided in the above embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0081] like Figure 3As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320, which is coupled to a memory 310. The memory 310 stores at least one computer program 330. The at least one computer program 330 is loaded and executed by the processor 320 to enable the electronic device 300 to implement any of the above methods. Specifically:
[0082] The electronic device 300 may vary significantly due to different configurations or performance, and may include one or more processors 320 (Central Processing Units, CPUs) and one or more memories 310. The one or more memories 310 may store at least one computer program 330, which is loaded and executed by the one or more processors 320 to enable the electronic device 300 to implement the camera monitoring polling switching method provided in the above embodiment. Of course, the electronic device 300 may also have components such as a wired or wireless network interface, a keyboard, and input / output interfaces for input and output. The electronic device 300 may also include other components for implementing device functions, which will not be detailed here.
[0083] A computer-readable storage medium according to an embodiment of the present invention stores at least one computer program, and the at least one computer program is loaded and executed by a processor to enable a computer to implement any of the above methods.
[0084] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0085] In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform any of the above methods.
[0086] It should be noted that the terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects and to define a specific order or precedence. Where appropriate, the order used for similar objects may be interchanged, such that the embodiments of the present application described herein can be implemented in an order other than the order shown or described.
[0087] Those skilled in the art will appreciate that the present invention may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, the present invention may be implemented in the form of a computer program product embodied in one or more computer-readable media containing computer-readable program code.
[0088] Any combination of one or more computer-readable media can be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
[0089] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A camera monitoring polling switching method, characterized in that: include: S1, real-time determination of whether there is a target of interest in the monitoring area corresponding to the current monitoring camera; S2, if there is an object of interest, continuously monitoring the object of interest through the current monitoring camera; If there is no target of interest, after the current surveillance camera monitors for the first preset time period, the next surveillance camera is switched to in a round-robin order, and the next surveillance camera is used as the current surveillance camera in S1 to execute S1; The specific process of S2 is: When there is an interesting target, continuous monitoring is performed until the set monitoring time is reached, the camera is placed in the polling queue, and a new camera is obtained for the next round of intelligent polling judgment; When there is no target of interest, continuous monitoring is performed until the set monitoring time without target of interest is reached, and the camera is placed in the polling queue, and a new camera is obtained for the next round of intelligent polling judgment; When there are at least three surveillance cameras, if there is no target of interest in the surveillance area corresponding to the current surveillance camera for a fixed period of time, randomly select the surveillance area corresponding to any surveillance camera other than the current surveillance camera to determine whether there is a target of interest. If there is no target of interest in the surveillance area corresponding to any surveillance camera, return to the current surveillance camera and continue to execute S1; If there is an interested target in the monitoring area corresponding to any surveillance camera, then the monitoring area corresponding to the current surveillance camera is continuously judged, and at the same time, the monitoring area corresponding to the surveillance camera where the interested target is located is continuously judged until the current surveillance camera has monitored for a first preset time period, then the unique identifier corresponding to the surveillance camera where the interested target is located is adjusted to the head of the polling queue, and the interested target is continuously monitored; Alternatively, when there are at least three surveillance cameras, the surveillance area corresponding to the current surveillance camera and, starting from the next surveillance camera corresponding to the current surveillance camera, the surveillance area corresponding to the next surveillance camera and the surveillance area corresponding to the current surveillance camera are displayed side by side at fixed intervals, i.e., both surveillance areas are monitored for the presence of targets of interest, wherein the fixed interval is less than the monitoring interval corresponding to normal polling, i.e., in the intelligent polling mode, starting from switching to the current surveillance camera, when there is no target of interest in the surveillance area corresponding to the current surveillance camera and switching to the next surveillance camera for monitoring; If, during the process of side-by-side monitoring, there is an interesting target in any monitoring area, and there is no interesting target during the monitoring time of another monitoring area, the side-by-side monitoring will no longer be performed after the corresponding monitoring time in the other monitoring area is completed, and the monitoring area with the interesting target will continue to be monitored until the monitoring time of the interesting target reaches the interesting monitoring time.
2. The camera monitoring polling switching method according to claim 1, characterized in that: Also includes: When the next monitoring camera executes S1, the identifier corresponding to the current monitoring camera is stored in the tail of the polling queue of the polling order.
3. The camera monitoring polling switching method according to claim 2, characterized in that: Also includes: The polling queue of the polling order is displayed.
4. A camera monitoring polling switching system, using the camera monitoring polling switching method according to claim 1, characterized in that: The system comprises: The judgment module is used to: determine in real time whether there is a target of interest in the monitoring area corresponding to the current monitoring camera; The switching module is used to: if there is an interested target, continuously monitor the interested target through the current monitoring camera; If there is no target of interest, after the current surveillance camera monitors for the first preset time period, the next surveillance camera is switched to in a polling order, and the judgment module is executed using the next surveillance camera as the current surveillance camera in the judgment module.
5. The camera monitoring polling switching system according to claim 4, characterized in that: Also includes: The storage module is used for storing the identifier corresponding to the current surveillance camera into the tail of the polling queue of the polling sequence when the next surveillance camera executes the judgment module.
6. The camera monitoring polling switching system according to claim 5, characterized in that: Also includes: The display module is used to display the polling queue of the polling order.
7. An electronic device, characterized in that: The electronic device includes a processor coupled to a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor so that the electronic device implements the method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable a computer to implement the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Multi-screen automatic polling method based on preset points of camera gun
CN118714262A