Topological bands and topological phase transitions in magnonic systems