refactor to create service data directly
Merge pull request #2 from xdy2001/master

refactor to create service data directly