## 3 MSVPC Design and Implementation
### MSVPC Network Design
To create such a secure connection, the device will change its password \(P_{WD}\) and its ID using XOR mode, it then shares the security provisioning information with the actuator during the time of communication so that the actuator will retrieve the original password \(R_{P}\) and ID attached to it then authorize the transaction if it is valid, besides it enables the final authorization to add the user to the network's link list as per the equation below. \[R_{P}=ID\ XOR\ P_{WD} \tag{2}\]  
When requesting a video description along with its location (\(X\), \(Y\)) by a node, the details of the node ID, its authorized \(P_{WD}\), its subscription information, and the location of the node are all attached for identification. When this information is verified, the device is checked for access control according to the \(P_{WD}\) and its valid subscription particulars, and the virtual infrastructure system is activated. This virtual infrastructure system manages the different situations in the network and manages its processing and storage properly. Access control for each node is attached to the virtual infrastructure activated after validating several steps, such as the following monitoring steps: the first step is whether it is properly connected to the network or not, and the second step is whether it has received a connection ID, and is the a suitable \(P_{WD}\) for it, all of these need to be verified. If the \(A_{N}\) receives the virtual infrastructure activation information, it will update the sensor counts and calculate their distance \(D_{ist}\) It then sends information about short-rangesensors request to storage \(M_{SD}\). The intermediator will select and send the appropriate video traffic ID upon receipt of that information, and updates the information about those sensors. If the video is not available, then the actuator requests the internet server for the video and sends it to the user. Similarly, the internet server also sends the information about the sensor to the user. According to the report of the sensor, the user device starts streaming the video or stopping the video. The 5G network enables a nested data group system between the movable nodes; it forces to manage those types of groups properly. Sometimes the network has to handle large amounts of data. The load balancer running on the network balances the data and converts it to the virtual network. There, the videos will be distributed to individual users or individual groups for a limited time. Thus, the distributed videos are arranged in a separate layer with a scalable code number. In the first layer, data can be sent individually based on network status and streamed with smaller data bits. In the top layer, high-quality videos are streamlined and integrated. All of these methods work according to the function of the network. Once these videos reach the video optimizer, it will update the nodes in the cache about the sent node information so that it can know the demands on the network along with the specific file ID \(F_{ID}\). If the destination node ID is not connected, the information will be sent to resource allocator \(R_{A}\) to obtain the destination ID, otherwise it will be sent to the monitor node to obtain the current status of the network. Later, it will transferred to the storage, and the total packet bytes count of the video will be attached as shown in Figure 2. The monitoring node stores the sensor's information and uses it to regulate the channels through which data packets travel, thus storing more data on the storage device \(M_{SD}\). The cached \(C_{S}\) video size \(V_{S}\) which is less than the storage capacity and the streaming duration noted as \(t\), have been used to compute the cached video. Also, we can compute the total server storage size as \(C_{VS}\). \[C_{VS} =\sum V_{S}\leq\frac{C_{S}}{t} \tag{3}\] \[\sum C_{VS}\leq M_{SD} \tag{4}\]  
Part of the information is stored on the local network, and some high-quality videos are stored on the main server. It depends on the needs and functionality of the network.