Resource Allocation Management of D2D Communications in Cellular Networks