The invention discloses a method for avoiding
preemption of virtual cameras and a
control system, and the method comprises the steps: enabling a camera to virtualize a plurality of virtual cameras, and enabling each
virtual camera to correspond to an ID; the App requests to access the camera, and preempts the ID according to a
preemption mechanism; and after the ID is preempted, establishing a communication connection relationship between the App and the camera. The
system comprises a judgment module used for judging the priority of the App according to a
preemption mechanism; the confirmation module is used for determining the applications existing in the high-priority application
list as the high-priority applications; the
cut-off module is used for generating a
cut-off connection instruction, sending the
cut-off connection instruction to the camera and
cutting off the communication connection relationship between the App and the camera; and the connection module is used for generating a connection permission instruction and sending the connection permission instruction to the camera, so that the App and the camera establish a communication connection relationship. According to the method and the device, a plurality of virtual cameras are arranged, and different virtual cameras correspond to different priorities, so that
crash of a certain APP is avoided, and smooth, stable and normal operation of the application is ensured.