## 3 Simple Resource Algorithm
### Advertising Cloud Formulation
* The Service Management Layer (SManL) is responsible for administering the mobile service, managing service subscriptions, and overseeing service delivery for the layers below it. Service subscription includes managing Service-Level Agreements (SLAs) and billing. Service delivery entails determining how and when services should move

Figure 8: Service Migration Prototype (SMP). Figure 7: Effect of introducing SMF in the client–server environment. from one location to another. When this layer determines that a service should be migrated, it forwards this information to the Service Migration Layer (SML). * The Service Migration Layer (SML) manages migration requests from SManL and employs RASP to securely execute the migration process. RASP, as described in [17], utilizes standard migration mechanisms like Docker, KVM, LXD, and Unikernels for the actual migration. Upon completion, SML informs SManL. * Service Connection Layer (SCL): This layer monitors the connections between the mobile node and the server. It reports to the SManL when the mobile node is no longer available due to handover to another network. ### SSP Protocol--An Overview

Capabilities can be flexibly used to provide AAA in many environments. Furthermore, by combining capabilities, SMF, and RASP techniques, it is possible to design a Secure Service Protocol (SSP) that can protect any service. The SSP protcol has been developed to ensure that the proposed service protocol is secure and can be applied to any service. It is broken down into five stages to clarify the necessary operations in secure service migration. The interaction between an application, the Service Management Framework (SMF), and services supported by the SMF are shown in Table 4 and Figure 9. The SSP protocol is defined in the same way as the RASP protocol outlined above. \begin{table}
\begin{tabular}{c c} \hline \hline
**Notations** & **Explanation** \\ \hline CMS & Cloud Management System \\ \hline SMF & Service Management Framework \\ \hline APPL & Applications \\ \hline Chosen Server & The SMF chooses a server of that service \\ \hline PK(SMF)/PK(APPL)/PK(SERV) & Public key of SMF/APPL/Server \\ \hline SK(SMF)/SK(APPL)/SK(SERV)/ & Private key of SMF/APPL/Server \\ \hline SSS KEY & Session key \\ \hline \hline \end{tabular}
\end{table} 
Table 4: General Notations. Figure 9: Secure service protocol. * **Stage 1: Registration of the Service with the SMF:** In Stage 1, the Cloud Management System (CMS) registers the service with the SMF. This involves providing a list of servers and their public keys that will be running the service. After this, in step 2, the SMF registers the service and returns the Service ID (SERV ID) and the Service Capability (SERV CAP). Following this, the CMS initiates the servers to implement the Service on different machines and passes the Service ID and the Service Capability. 1. CMS \(\rightarrow\) SMF: (Register Service (Service Details), (PK(SMF)))) 2. SMF \(\rightarrow\) CMS: (Service Registered (Service Details, SERV ID, SERV CAP), (PK(CMS)))
* **Stage 2: The Application interacts with the SMF to get a server that implements the Service:** In Stage 2, the Application interacts with the SMF to obtain a server that provides the service. To utilize a service, an application must request the SMF to locate a suitable server. In step 3, the Application provides the Device Capability (DEV CAP), User Capability (USER CAP), Service Name, Service Version, and the Application's public key running on the machine. In step 4, the SMF selects a server for that Service and contacts it using its public key, passing the Client's DEV CAP, USER CAP, and IP address. In the subsequent step, the Chosen Server accepts the request. It generates a timed capability from the service capability, which expires the service to the service. In step 5, the service request is the service to the service. In step 6, the service request is the service to the service. In step 7, the service request is the service to the service. In step 8, the service request is the service to the service.