## 3 Proposed Virtualized Network Function Orchestration System
### Cluster Management Method for the Arrangement of VNFs
\begin{table}
\begin{tabular}{c c c} \hline \hline \multirow{2}{*}{**Master**} & Containers & Total Number of Containers in Cluster \\  & Nodes & Total Number of Nodes in Cluster \\ \hline \multirow{4}{*}{**Host (Member)**} & Name & Host Name \\  & IP & IP Address of Host \\  & Containers & Number of Containers in Host \\  & CPUs & Number of CPU cores \\  & Memory & Memory Capacity \\ \hline \hline \multirow{2}{*}{\
\begin{tabular}{c} BLE \\ Packet \\ Monitor \\ \end{tabular} } & Mesh Net & Docker & Cluster \\  & Controller & Swarm & Service \\  & Master & Controller \\ \hline \hline \multirow{4}{*}{
\begin{tabular}{c} \end{tabular} } & Docker Engine \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Docker swarm API information. Figure 10: Internal structure of a member node. Figure 9: Internal structure of the master node. for the node with the lowest CPU usage. Through this procedure, the master node searches for the optimal node and locates the error node container. Then, by delivering the status information to the container, it implements service without any suspension. When the error is located as in process 4, the master node terminates the container at the node at which the error occurred and concludes the service recovery procedure. By using this composition method, it is possible to flexibly locate containers according to the network devices' statuses; and by providing a recovery procedure that moves the virtual network function of the device at which the error occurred, it can prove the availability of service. Additionally, based on the entire network's information acquisition, since it is possible to locate the network's function according to device status, when locating, it is possible to distribute the load of the entire network considering network device information. This method is a way to provide network function but it can also be used as a method to provide user services. When it provides video streaming service as the user service, as in the previous operation, when a network device experiences an error, service can be recovered by moving service to another device. The idea involves not only restarting streaming services; by also sending information with the same amount of storage as the service information, it can provide service continuously. Cluster Management Method for the Arrangement of VNFs Image-Matching-Based QR Code Recognition Method  
This paper proposes a virtualized network function orchestration system's user service use case, proposing a QR code recognition method using a multiple-image-matching method. This method, based on the cloud, is a way to check a database that saves images according to different angles of scanning QR codes and the similarity of the imaged QR codes. Since QR codes have an image for each scanning angle, QR codes can be recognized even from angles at which they normally cannot be recognized. The specific operation method is as follows. As in Figure 12, when a QR code scanned by the user is received, the image's noise needs to be removed from the binarization. By extracting QR codes in certain sphere, the method checks for similarity by comparing with QR code images in a database. Then, the image that has the largest similarity must be found and a check is done as to whether the value exceeds a similarity threshold value (\(\phi\)). If the similarity exceeds the threshold value, decoding using the original image corresponding to the image found in the database is conducted and the result is then transmitted to the user. On the contrary, if a queried image has a similarity lower than the threshold value, then the system transmits a recognition failure message. Figure 11: VNF recovery procedure in the proposed orchestration system. The proposed recognition method has value for making QR codes recognizable in a range of scanning angles the existing method cannot recognize.