Keyword query through the PHP function, and a detailed introduction to the function. And provide collection and historical query function.