You should do your Homework or read Wiki. Here are some points to look at
1. Commodore Perry entrance into Japan
2. The Meji Restoration and the suppression of the Samurai Class. Look at the Takeda influence and the rise of the Kenneban. You should ask was this caused by Perry 40 years earlier
Good Luck