How different is ice hockey from normal hockey that we play as far as the rules are concerned?

The main difference I note as far as the time periods are concerned is that Ice hockey is three slots of 20 minutes each whereas the field hockey is played with four slots of 15 minutes each. 

I am wondering how, these slots and time periods are fixed and based on what metrics. Anyone who can enlighten me?