Let $R$ be a graded ring. There are two ways to take the localization of $R$.
Let $\mathfrak{p}$ be a homogeneous prime ideal, $T$ be the set of all homogenous elements of $R\setminus \mathfrak{p}$. Then $R_{(\mathfrak{p})}$, the subring of $T^{-1}R$ consisting of all $\dfrac{f}{g}$ where $f$ and $g$ are homogeneous of the same degree, is called homogeneous localization of $R$.
Let $R$ be a graded ring, $S\subset R$ is a multiplicative closed subset of $R$. For any $f\in R, g\in S$ define the degree of $\dfrac{f}{g}$ to be $\deg f-\deg g$. Then it is not hard to check that this is well defined. The localization $S^{-1}R$ is a graded ring.
My question are the following:
What is the difference between these two localizations?
What are the applications of them in higher commutative algebra ?