Functional diversity and its research method