On the general Dedekind sums and its reciprocity formula