Skip to main content
. 2022 Jun 19;22(12):4627. doi: 10.3390/s22124627
Algorithm 2. Categorization of Cloud Services
Input: Customer Cloud Services Preferences with their Queries
Output: Cloud Services Ranking
Cloud Services Provider Main Categories [] = x1, x2, x3, … xi …, xn
Sub-Categories = cij xi
Cloud Services Ranking System [xi] = Nil
Main Categories (mc) PaaS, IaaS, SaaS
Sub Category [sc] Business Application Platform, Raw Computing Platform, Web Hosting, Databases, Open Cloud Platform, Web Application Platform, Application Hosting, Storage, Networking and Infrastructure Service Management.
Cloud Services Mapping [xi] = yi
Learning Category [lc] New Category [nc]
  1. Begin

  2. Extract queries (Customer Cloud Preferences)

  3. For each CSP List [xi] do          //CSP = Cloud Services Provider

  4. For each CSP Category [i] go

  5. If EQ = CSP Description [i]          //EQ = Extract Query

  6. Bind Service Sub Category [ij] = EQ

  7. Bind Cloud Services Ranking [xi] ∈ Service Main Category [mc]

  8. Bind Service Sub-Category [sc] ∈ Service Main Category [mc]

  9. Else

  10. CSM          //Cloud Services Mapping

  11. Function Cloud Services Mapping [xi]

  12. For each in Cloud Category [xi]

  13. Mapping Cloud Services [yi]

  14. End For

  15. If Service Sub-Category [ij] = match Then

  16. CSRA [xi] For each Service Sub-Category [ij]          //Cloud Services Ranking

  17. Else

  18. Learning Category [lc] ∋ [sc]

  19. Function Learning Category [lc]

  20. End If

  21. End For

  22. If threshold > Max Sim [lc] Then

  23. Bind CSRA [xi] ∈ Service Main Category [i]

  24. Bind Main Category [xi] ∈ Service Sub-Category [ij]

  25. Else

  26. If Threshold > Max Sim (nc) Then

  27. Bind Register New Category [nc] ∈ Service Sub-Category [ij]

  28. Bind Service Sub-Category [ij] ∈ Service Main Category [xi]

  29. Else

  30. Learning New Cloud Category (nc)

  31. Hold Learned Cloud Category (lc)

  32. End If