Virtual machines in the world of Video Management Systems
The solutions offered today in the field of server virtualisation seem to be a natural fit for the evolution of security systems from analogue to IP

The video surveillance industry has been transitioning from analogue to IP-based systems over the last several years, and it is clear that this trend will continue. In light of this, it is apparent that taking advantage of the advancements in the IT world for use in security system design is the next logical step. In this article, Guy Arazi, Director of Product Management, Vicon Industris, looks at the new technology of virtualisation, or “virtual machines” (VMs), in consideration for use with Video Management Systems (VMS).

Running VMS software, specifically the Network Video Recorder (referred to as NVR, video server, archiver, logger, etc. depending on the manufacturer) on these virtual machines is an alternative that saves space, energy and potentially money. Using this new innovation, however, brings new challenges that must be taken into account during the design of the security system.

To better understand these challenges, an explanation of virtual machines is helpful. The virtualisation solution provides a way to use one powerful physical computer (or more likely server) and run multiple operating systems (Windows®, Linux®, etc) on it. Each OS mimics the behaviour and capabilities of a physical standalone computer, with its own computer identity, computer name, IP address, etc. Even though there is only one underlying physical server, from the computer network side, there are multiple computers with individual operating systems, applications and capabilities, each working as a separate computer running different tasks. The total power of the physical server is carved up and shared among all these virtual machines.

The virtualisation solution provides
a way to use one powerful physical
computer (or more likely server) and
run multiple operating systems
(Windows®, Linux®, etc) on it

As an analogy, think of a parking spot in the city (expensive real estate) where only one car can park. Now a parking lift is installed that allows stacking cars, creating virtual parking spaces using the same physical one. The physical spot is similar to the physical server, the parking system is the virtualisation solution and the added spaces on top are the virtual machines. The total weight that the bottom parking spot can hold is similar to the total power of the physical server, and once the maximum is reached, nothing more can be loaded on or it will collapse.

Considerations

Video surveillance systems (NVRs in particular) receive, process and transmit massive amounts of data in the form of video files. These files are not only fairly large in comparison to web pages or standard database transactions, but keep streaming to the NVR almost non-stop, unlike many other information exchanges that come in bursts. This requires that the machine running the NVR software has a high level of resources to allow it to always be available to receive and send video and store it on the drive, as well as read it back for playback at the minimal latency.

Because of this requirement for highly available, high level of resources, the process of carving a physical server into many virtual ones needs to ensure that the physical resource does not get too thinly sliced. The result would be underpowered virtual machines with slow response, delay in video caused by network overload, gaps in recordings when the data comes in too fast for the drive to handle, or memory issues.

Once all these variables have been taken into account for smooth operation on each machine, a calculation can be made to determine if the total number of VMs on the physical server justifies the price of that single server vs. using a physical machine per NVR with much lower specifications and cost.

The fact is that the virtualisation solution is an amazing tool and solid concept that is offered in many flavours; the flexibility it brings, allowing for the creation of any virtual hardware sharing the available resources of the physical one, provides, essentially, an unlimited set of configurations.

For software manufacturers who are aware of how demanding the NVRs are, it is a very delicate situation to manage. Instead of publishing a clear specification that says “This hardware can perform these tasks,”most manufacturers make a professional decision to avoid publishing a specification that states “support for VMs,” as it is too general.

Recommendations

Virtualisation solution with video systems
Virtualisation solution is an amazing
tool and solid concept that is offered
in many flavours

For those who want to use a virtualisation solution with their video systems, follow these Best Practice rules in their system design:

  • Make sure that each virtual machine meets the minimum requirements specified by the manufacturer for the application (CPU, RAM, O.S., etc.).
  • Allocate a dedicated physical network card per virtual machine. Do not create virtual NICs based off one physical NIC; this might slow down video traffic handling.
  • Allocate a dedicated set of hard drives for recording. Do not create virtual hard drives based off the same physical ones; this can slow down the read and write response.
  • Remember that at the bottom of the virtual tower there is a physical base, and other VMs that are on the physical server might suffer from sharing resources with a process intensive NVR. It is highly recommended to build the NVR virtual machines with no other services sharing the physical resources (for example, do not put NVR virtual machines on the same server that has a virtual machine running the company mail server).
  • Once designed, evaluate if the actual cost savings in individual computer hardware is truly worthwhile, considering the number of VMs per physical server.

Summary

The solutions offered today in the field of server virtualisation seem to be a natural fit for the evolution of security systems from analogue to highly available networked solutions with IP-based cameras and recorders. However, careful consideration of the advantages and disadvantages of these solutions must be taken into account when applying them to the security industry. In particular, the processing load required by the NVRs, which is not always similar to standard IT, transaction-based servers, must be weighed heavily in the decision.

Due to the variety of options in creating virtual machines, most VMS software manufacturers find it difficult to provide a general specification for their system. By using the previously outlined recommendations, it will be easier to design virtual machines will perform as expected as well as allow for estimating the required hardware for the physical servers, and the number of VMs that can safely be created on them.

Ultimately, it is still essential to look at the final design and decide if the savings involved in virtualising the NVRs are truly significant.

Download PDF version

Author profile

Guy Arazi Director of Product Management, Vicon Industries

In case you missed it

What is the changing role of training in the security industry?
What is the changing role of training in the security industry?

Even the most advanced and sophisticated security systems are limited in their effectiveness by a factor that is common to all systems – the human factor. How effectively integrators install systems and how productively users interface with their systems both depend largely on how well individual people are trained. We asked this week’s Expert Panel Roundtable: What is the changing role of training in the security and video surveillance market?

What is AI Face Search? Benefits over facial recognition systems
What is AI Face Search? Benefits over facial recognition systems

When a child goes missing in a large, crowded mall, we have a panicking mom asking for help from the staff, at least a dozen cameras in the area, and assuming the child has gone missing for only 15 minutes, about 3 hours’ worth of video to look through to find the child. Typical security staff response would be to monitor the video wall while reviewing the footage and making a verbal announcement throughout the mall so the staff can keep an eye out for her. There is no telling how long it will take, while every second feels like hours under pressure. As more time passes, the possible areas where the child can be will widen, it becomes more time-consuming to search manually, and the likelihood of finding the child decreases. What if we can avoid all of that and directly search for that particular girl in less than 1 second? Artificial neural networks are improving every day and now enable us to search for a person across all selected camera streamsWith Artificial Intelligence, we can. Artificial neural networks are improving every day and now enable us to search for a person across all selected camera streams in a fraction of a second, using only one photo of that person. The photo does not even have to be a full frontal, passport-type mugshot; it can be a selfie image of the person at a party, as long as the face is there, the AI can find her and match her face with the hundreds or thousands of faces in the locations of interest. The search result is obtained in nearly real time as she passes by a certain camera. Distinguishing humans from animals and statues The AI system continuously analyses video streams from the surveillance cameras in its network, distinguishes human faces from non-human objects such as statues and animals, and much like a human brain, stores information about those faces in its memory, a mental image of the facial features so to speak. When we, the system user, upload an image of the person of interest to the AI system, the AI detects the face(s) in that image along with their particular features, search its memory for similar faces, and shows us where and when the person has appeared. We are in control of selecting the time period (up to days) and place (cameras) to search, and we can adjust the similarity level, i.e., how much a face matches the uploaded photo, to expand or fine-tune the search result according to our need. Furthermore, because the camera names and time stamps are available, the system can be linked with maps to track and predict the path of the person of interest. AI Face Search is not Face Recognition for two reasons: it protects people’s privacy, and it is lightweight Protecting people’s privacy with AI Face Search  All features of face recognition can be enabled by the system user, such as to notify staff members when a person of interest is approaching the store AI Face Search is not Face Recognition for two reasons: it protects people’s privacy, and it is lightweight. First, with AI Face Search, no names, ID, personal information, or lists of any type are required to be saved in the system. The uploaded image can be erased from the system after use, there is no face database, and all faces in the camera live view can be blurred out post-processing to guarantee GDPR compliance. Second, the lack of a required face database, a live view with frames drawn around the detected faces and constant face matching in the background also significantly reduces the amount of computing resource to process the video stream, hence the lightweight. Face Search versus Face Recognition AI Face Search Face Recognition Quick search for a particular person in video footage Identify everyone in video footage Match detected face(s) in video stream to target face(s) in an uploaded image Match detected face(s) in video stream to a database Do not store faces and names in a database Must have a database with ID info Automatically protect privacy for GDPR compliance in public places May require additional paperwork to comply with privacy regulations Lightweight solution Complex solution for large-scale deployment Main use: locate persons of interest in a large area Main use: identify a person who passes through a checkpoint Of course, all features of face recognition can be enabled by the system user if necessary, such as to notify staff members when a person of interest is approaching the store, but the flexibility to not have such features and to use the search tool as a simple Google-like device particularly for people and images is the advantage of AI Face Search.Because Face Search is not based on face recognition, no faces and name identifications are stored Advantages of AI Face Search Artificial Intelligence has advanced so far in the past few years that its facial understanding capability is equivalent to that of a human. The AI will recognise the person of interest whether he has glasses, wears a hat, is drinking water, or is at an angle away from the camera. In summary, the advantages of Face Search: High efficiency: a target person can be located within a few seconds, which enables fast response time. High performance: high accuracy in a large database and stable performance, much like Google search for text-based queries. Easy setup and usage: AI appliance with the built-in face search engine can be customised to integrate to any existing NVR/VMS/camera system or as a standalone unit depending on the customer’s needs. The simple-to-use interface requires minimal training and no special programming skills. High-cost saving: the time saving and ease of use translate to orders of magnitude less manual effort than traditionally required, which means money saving. Scalability: AI can scale much faster and at a wider scope than human effort. AI performance simply relies on computing resource, and each Face Search appliance typically comes with the optimal hardware for any system size depending on the customer need, which can go up to thousands of cameras. Privacy: AI Face Search is not face recognition. For face recognition, there are privacy laws that limits the usage. Because Face Search is not based on face recognition, no faces and name identifications are stored, so Face Search can be used in many public environments to identify faces against past and real-time video recordings. AI Face Search match detected face(s) in video stream to target face(s) in an uploaded image Common use cases of AI Face Search In addition to the scenario of missing child in a shopping mall, other common use cases for the AI Face Search technology include: Retail management: Search, detect and locate VIP guests in hotels, shopping centres, resorts, etc. to promptly attend to their needs, track their behaviour pattern, and predict locations that they tend to visit. Crime suspect: Quickly search for and prove/disprove the presence of suspects (thief, robber, terrorist, etc.) in an incident at certain locations and time. School campus protection: With the recent increase in number of mass shootings in school campuses, there is a need to identify, locate and stop a weapon carrier on campus as soon as possible before he can start shooting. Face Search will enable the authorities to locate the suspect and trace his movements within seconds using multiple camera feeds from different areas on campus. Only one clear image of the suspect’s face is sufficient. In the race of technology development in response to business needs and security concerns, AI Face Search is a simple, lightweight solution for airports, shopping centres, schools, resorts, etc. to increase our efficiency, minimise manual effort in searching for people when incidents occur on site, and actively prevent potential incidents from occurring. By Paul Sun, CEO of IronYun, and Mai Truong, Marketing Manager of IronYun

What technology will impact security most in the rest of 2018?
What technology will impact security most in the rest of 2018?

Where does the time go? Before you know it, here we are at mid-year reflecting on an eventful first half of 2018 in the physical security market. It’s also a good time for our Expert Panel Roundtable to pause and look ahead at what we might expect in the second half of the year. We asked this week’s Expert Panel Roundtable: What technology development will have the greatest impact in the second half of 2018?