Containerized Algorithm Updates for Continuous IP Camera Operation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video surveillance systems require a full reinstall of monitoring software to update algorithms, disrupting the normal functioning of internet protocol cameras and causing operational interruptions.
Innovation Solution
A method and apparatus that utilize container instances to update algorithms independently, allowing the internet protocol cameras to maintain normal operation by deleting and deploying container instances containing different algorithms without interrupting the camera's functions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If monitoring software is reinstalled to update the algorithm, then the algorithm version is improved, but the normal functioning of the internet protocol camera is interrupted
Solution Approach 1:
The monitoring software is segmented into multiple independent container instances, each running a specific algorithm. This allows individual algorithm containers to be updated without affecting other containers, enabling algorithm updates while maintaining continuous camera operation through remaining functional containers
Solution Approach 2:
A container management module acts as an intermediary between the algorithm update process and the running camera system. This module enables seamless algorithm updates by managing container lifecycle events, ensuring that algorithm updates can be performed without directly interrupting camera functions
2Adaptability or versatility
If monitoring software is reinstalled to update the algorithm, then the algorithm functionality is updated, but time is lost due to reinstallation process
Solution Approach 1:
Multiple algorithm container instances are pre-configured and available. When an algorithm update is needed, the system can rapidly switch between pre-configured containers or deploy new algorithm containers without performing a full reinstallation process, significantly reducing update time
Solution Approach 2:
The system dynamically manages container instances based on algorithm update requirements. Containers can be dynamically created, activated, or deactivated without static reinstallation constraints, allowing flexible and rapid algorithm updates while maintaining system functionality
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application disclose an algorithm update method and an apparatus. The method includes: receiving, by an internet protocol camera, a deletion instruction that includes a to-be-deleted algorithm container identifier and that is sent by a monitoring system; deleting, by the internet protocol camera, a to-be-deleted algorithm container instance corresponding to the to-be-deleted algorithm container identifier; receiving, by the internet protocol camera, a deployment instruction that includes a to-be-deployed algorithm description file and that is sent by the monitoring system; parsing, by the internet protocol camera, the to-be-deployed algorithm description file to obtain at least one file identifier; obtaining, by the internet protocol camera, at least one to-be-deployed algorithm image file corresponding to the at least one file identifier; and generating, by the internet protocol camera, a to-be-deployed algorithm container instance based on the at least one to-be-deployed algorithm image file. In a process of updating an algorithm in the internet protocol camera, normal running of the internet protocol camera is not affected. The algorithm update method provided in the embodiments of this application can improve stability of the internet protocol camera in the process of updating the algorithm