Research Article

QoE-Driven D2D Media Services Distribution Scheme in Cellular Networks

Algorithm 1

MSAUS scheme.
(01) Input:
(02) User U, media service M, Initial all SRC value
(03) Popularity function and Priority function
(04) Output:
(05) Optimal Media Service Adaptive Update Scheme
(06) Procedure MSAUS
(07) if (user i requests media service m)
(08)if (in the D2D transmission radius r user j)
(09);
(10)else
(11)User j provide the media service to user i;
(12)set and
(13)m replaces the minimum priority media in i
(14)if ()
(15)i share m to the other users when they meets
(16)
(17)endif
(18)endif
(19) endif