If its like period cramping then its probably contractions
Sounds like round ligament pain to me, your lucky you've only gotten it so late in pregnancy. It can be quote painful, but shouldn't last more then a minute (you may experience some soreness after)