A.A.
The first thing I'm thinking is teething might be kicking in and making it hard for her to sleep. I would check that out. As far as letting her know it is not time to be awake, don't turn on lights or engage with her other than to feed and change her then time to go back to sleep. This of course takes patience unless you want to try letting her cry it out. I didn't like letting my little ones cry it out, so I would just keep patting them and singing their favorite lullaby until they fell asleep again. This will pass over time :)