Camera monitoring polling switching method, system and device and medium
By judging the targets of interest in the camera area in real time and dynamically adjusting the camera polling frequency and order, the problems of insufficient flexibility, waste of resources and monitoring blind spots in the existing technology are solved, and the response capability and data processing efficiency of the monitoring system are improved.
Patent Information
- Application Number
- CN202411438132.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-10-15
AI Technical Summary
The existing camera polling method has problems such as insufficient flexibility, waste of resources, blind spots in monitoring and inefficiency, and cannot effectively monitor the behavior or safety status of personnel in each camera screen, especially when the number of cameras is large, the system response time is extended, resulting in monitoring data Inadequate processing capability.
By real-time judgment, whether there is a target of interest in the current monitoring camera area, if it exists, it will continue to monitor. If it does not exist, switch to the next camera in the polling order after the preset time, and store the current camera ID in the column of the polling queue. Tail, dynamically adjust the polling frequency and order to prioritize important or changing pictures.
It realizes flexibility and resource optimization, reduces system resource waste, eliminates monitoring blind spots, improves the response capability and data processing efficiency of the monitoring system, and ensures timely processing at critical moments.
Smart Images

Figure CN119324963A_ABST
Abstract
Description
Background Art
[0002] In the security field, especially in residential areas, factories and other scenarios, it is usually difficult to deploy cluster algorithm services to monitor the behavior of people or security status in real time in each camera screen. In this case, deploying a single algorithm service and traversing all cameras through camera polling is a common solution.
[0003] The existing camera polling method of switching camera groups only according to a certain period has some disadvantages, which may include:
[0004] Inflexibility of fixed cycles: The traditional periodic switching method lacks flexibility and cannot be dynamically adjusted according to actual conditions. For example, during a certain period of time, some cameras may have abnormal conditions or important events, but the polling system cannot flexibly focus on these cameras.
[0005] Waste of resources: In the traditional polling method, even if some camera images have not changed or no important events have occurred, they will be accessed and processed in each polling. This method wastes system resources and computing power.
[0006] Monitoring blind area: Due to the fixed-cycle polling method, some cameras may be in the monitoring blind area at critical moments. For example, if a camera is not in the polling cycle when an important event occurs, the system will miss the monitoring and response to the event.
[0007] Inefficiency: Since all cameras need to be accessed for each polling, the system efficiency may be low, especially when the number of cameras is large. This will increase the response time of the system and may lead to insufficient monitoring data processing capacity.
[0008] In summary, the existing camera polling method of switching camera groups only according to a certain period has some obvious disadvantages, including lack of flexibility, waste of resources, monitoring blind spots, and low efficiency. Therefore, a more intelligent and flexible polling method is needed to improve the performance and efficiency of the monitoring system. Summary of the invention
[0009] The technical problem to be solved by the present invention is to address the deficiencies of the prior art and specifically provide a camera monitoring polling switching method, system, device and medium, which are as follows:
[0010] 1) In the first aspect, the present invention provides a camera monitoring polling switching method, and the specific technical solution is as follows:
[0011] S1, determine in real time 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 monitoring camera monitors for the first preset time period, it switches to the next monitoring camera in a polling order, and uses the next monitoring camera as the current monitoring camera in S1 to execute S1.
[0014] The beneficial effects of a 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 object of interest, the current surveillance camera continues to track and shoot the object of interest, and after shooting for a second preset time, switches to the next surveillance camera according to the polling order, and uses the next surveillance camera as the current surveillance camera in S1 to execute S1.
[0019] Furthermore, the method further includes: when the next monitoring camera executes S1, storing the identifier corresponding to the current monitoring camera into the tail of the polling queue of the polling order.
[0020] Furthermore, it also includes: displaying the polling queue of the polling order.
[0021] 2) In the second aspect, the present invention also provides a camera monitoring polling switching system, and the specific technical solution is as follows:
[0022] The judgment module is used to: judge in real time whether there is an interesting target in the monitoring area corresponding to the current monitoring camera;
[0023] The switching module is used to: if there is an object of interest, continuously monitor the object of interest through the current monitoring camera;
[0024] If there is no target of interest, after the current monitoring camera monitors for the first preset time period, it switches to the next monitoring camera in a polling order, and uses the next monitoring camera as the current monitoring camera in the judgment module to execute 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 object of interest, the current surveillance camera continues to track and shoot the object of interest, 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, it also includes: a storage module for storing the identifier corresponding to the current monitoring camera at the end of the polling queue of the polling order when the next monitoring 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 at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor so that a computer implements 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 from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0034] Figure 1 This is one of the flow charts of a camera monitoring polling switching method according to an embodiment of the present invention;
[0035] Figure 2 The second flowchart of a camera monitoring polling switching method according to an embodiment of the present invention;
[0036] Figure 3 The present invention is a structural framework diagram of an electronic device. 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 further described in 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, determine in real time 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 monitoring camera monitors for the first preset time period, it switches to the next monitoring camera in a polling order, and uses the next monitoring camera as the current monitoring camera in S1 to execute S1.
[0042] The beneficial effects of a 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] Before S1 of this scheme, the following may also be included:
[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 a basic polling model. The basic polling mode can be understood as a 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. According to the polling cycle and the sorting results, polling monitoring is performed. 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 determined by 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 to continue tracking 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 as follows:
[0052] Access the specified number of channels according to the algorithm service capability (the number of channels here refers to 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., the specified number of channels) are carrying out the process at the same time. The yolov8 detection algorithm is used to detect the target on the camera screen (referring to the camera that has been connected to the polling task, as distinguished from the camera that is not running in the polling task). According to 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 queue to be polled, and a new camera is obtained for the next round of intelligent polling judgment.
[0054] When there is no target of interest, continuous monitoring is performed until the set monitoring time of no target of interest is reached, and the camera is placed in the queue for polling, and a new camera is obtained for the next round of intelligent polling judgment. (The setting time of whether there is a target of interest can be different, that is, different attention time can be achieved for whether there is a target of interest. Some users pay more attention to scenes without targets of interest, and some users pay more attention to scenes with targets of interest. They can be set according to the actual usage of users).
[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, 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 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 the surveillance area corresponding to the next surveillance camera are displayed side by side with the surveillance area corresponding to the current surveillance camera in the polling order, starting from the next surveillance camera corresponding to the current surveillance camera, at fixed intervals, i.e., the two surveillance areas are monitored simultaneously for the presence of targets of interest, wherein the fixed duration is less than the monitoring duration corresponding to normal polling (i.e., in the intelligent polling mode, the interval 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 displaying surveillance side by side, there is a target of interest in any surveillance area, when there is no target of interest in the monitoring duration of another surveillance area, then after the corresponding monitoring duration of the other surveillance area is completed, the surveillance is no longer displayed side by side, and the surveillance area with the target of interest is continuously monitored until the monitoring duration of the target of interest reaches the monitoring duration 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 object of interest, the current surveillance camera continues to track and shoot the object of interest, and after shooting for a second preset time, switches to the next surveillance camera according to the polling order, and uses the next surveillance camera as the current surveillance camera in S1 to execute S1.
[0060] Furthermore, the method further includes: when the next monitoring camera executes S1, storing the identifier corresponding to the current monitoring camera into the tail 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 can dynamically adjust the frequency and order of camera polling based on actual conditions. For example, the system is able to identify targets of interest and immediately focus attention on the relevant cameras. This flexibility allows the system to monitor specific areas more frequently when needed, thereby improving responsiveness.
[0065] Resource Optimization
[0066] Smart polling can prioritize important or changing images based on changes in camera image content, while reducing access to static images or images with no important events. This on-demand processing method can significantly reduce the waste of system resources and computing power, and improve the overall operating efficiency of the system.
[0067] Eliminate monitoring blind spots
[0068] Through intelligent analysis and event detection, the system can identify key moments (i.e. situations in which users are interested in the camera images) and prioritize the processing of the relevant camera images, reducing monitoring blind spots caused by fixed-cycle polling. For example, intelligent polling can ensure that when important events occur, the camera images are processed and responded to in a timely manner, so that key monitoring information is not missed.
[0069] Improve system efficiency
[0070] The intelligent polling system can effectively improve the processing efficiency of monitoring data and reduce response time by giving priority to high-risk or high-importance camera images (the application scenarios of this system are mainly factory night shifts, inspections, etc. At night, most camera scenes are unmanned, and the main concern is the presence of people. Therefore, the system can quickly conduct a camera inspection to quickly confirm whether there are people entering or leaving the monitoring range. When the system finds that a person appears, it will issue an alarm and continue to monitor the camera where the person appears until the person leaves). This is especially important for monitoring systems with a large number of cameras. Intelligent polling can effectively allocate computing resources to ensure that the system can still maintain good performance under high load conditions.
[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 protection scope 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, and the specific technical solution is as follows:
[0073] The judgment module is used to: judge in real time whether there is an interesting target in the monitoring area corresponding to the current monitoring camera;
[0074] The switching module is used to: if there is an object of interest, continuously monitor the object of interest through the current monitoring camera;
[0075] If there is no target of interest, after the current monitoring camera monitors for the first preset time period, it switches to the next monitoring camera in a polling order, and uses the next monitoring camera as the current monitoring camera in the judgment module to execute 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 object of interest, the current surveillance camera continues to track and shoot the object of interest, 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, it also includes: a storage module for storing the identifier corresponding to the current monitoring camera at the end of the polling queue of the polling order when the next monitoring 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 by the above embodiment are the same as the beneficial effects of the camera monitoring polling switching method described above, which will not be described in detail here. In addition, when the system provided by the above embodiment realizes its functions, it only takes the division of the above functional modules as an example. 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. In addition, the system and method embodiments provided by the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be described in detail here.
[0081] like Figure 3As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320, the processor 320 is coupled to a memory 310, and the memory 310 stores at least one computer program 330, and the at least one computer program 330 is loaded and executed by the processor 320, so that the electronic device 300 implements any of the above methods, specifically:
[0082] The electronic device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors 320 (Central Processing Units, CPU) and one or more memories 310, wherein the one or more memories 310 store at least one computer program 330, and the at least one computer program 330 is loaded and executed by the one or more processors 320, so that the electronic device 300 implements a 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 an input and output interface for input and output, and the electronic device 300 may also include other components for implementing device functions, which will not be repeated 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 so that a computer implements any one of the above methods.
[0084] Optionally, 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, and the like.
[0085] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs any of the above methods.
[0086] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects and represent the definition of a specific order or sequence. The order of use of similar objects can be interchanged where appropriate, so 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 know that the present invention can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code.
[0088] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, 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 may be any tangible medium containing or storing a program that may 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 is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A camera monitoring polling switching method, characterized in that: include: S1, determine in real time 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 monitoring camera monitors for the first preset time period, it switches to the next monitoring camera in a polling order, and uses the next monitoring camera as the current monitoring camera in S1 to execute S1.
2. A camera monitoring polling switching method according to claim 1, characterized in that: 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: If there is an object of interest, the current surveillance camera continues to track and shoot the object of interest, and after shooting for a second preset time, switches to the next surveillance camera according to the polling order, and uses the next surveillance camera as the current surveillance camera in S1 to execute S1.
3. A 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.
4. A camera monitoring polling switching method according to claim 3, characterized in that: Also includes: The polling queue of the polling order is displayed.
5. A camera monitoring polling switching system, characterized in that: include: The judgment module is used to: judge in real time whether there is an interesting target in the monitoring area corresponding to the current monitoring camera; The switching module is used to: if there is an object of interest, continuously monitor the object of interest through the current monitoring camera; If there is no target of interest, after the current monitoring camera monitors for the first preset time period, it switches to the next monitoring camera in a polling order, and uses the next monitoring camera as the current monitoring camera in the judgment module to execute the judgment module.
6. A camera monitoring polling switching system according to claim 5, characterized in that: 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: If there is an object of interest, the current surveillance camera continues to track and shoot the object of interest, 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.
7. The camera monitoring polling switching system according to claim 5, characterized in that: Also includes: The storage module is used to store the identifier corresponding to the current monitoring camera into the end of the polling queue of the polling sequence when the next monitoring camera executes the judgment module.
8. A camera monitoring polling switching system according to claim 7, characterized in that: Also includes: The display module is used to display the polling queue of the polling order.
9. An electronic device, characterized in that: The electronic device comprises a processor, the processor is coupled to a memory, 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 the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: 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 so that a computer implements the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and system for tracking monitored target in process of video monitoring
CN103607569A
Monitoring polling method and device, electronic equipment and storage medium
CN110996044A
Video polling method and device and server
CN111836002A
Automatic tracking device and method
CN112182300A
System and method for detecting switching of video monitoring scenes
CN113225461A