CPC G06F 8/65 (2013.01) [H04N 23/617 (2023.01)] | 18 Claims |
1. An algorithm update method comprising:
receiving, by a camera, a deletion instruction sent by a monitoring system, the deletion instruction comprising a first algorithm container identifier, comprising an identifier of a first algorithm container instance in the camera, and a first algorithm runs in the first algorithm container instance;
deleting, by the camera, the first algorithm container instance corresponding to the first algorithm container identifier;
receiving, by the camera, a deployment instruction sent by the monitoring system comprising a second algorithm description file;
parsing, by the camera, the second algorithm description file to obtain an identifier of a second algorithm image file, wherein a second algorithm is encapsulated in the second algorithm image file;
obtaining, by the camera, the second algorithm image file based on the identifier of the second algorithm image file; and
generating, by the camera, a second algorithm container instance based on the second algorithm image file, wherein the second algorithm runs in the second algorithm container instance.
|