First of all, you can't try new things in a performance. This concept has to be done in your practice sessions where you're free to stop, think it out, do it, go back and do it again. When you truly learn it, it will become automatic, and easy.
No matter what note you're playing with what finger, your fingers will be in a frame, a half step apart. Even though you're only playing one note, you should be aware of what notes are under the unused fingers.
On every upshift, you must be able to say where your first finger will end up in relation to the present 'frame'.
In the example, on the G string, if you're playing Ab with 1, unused 2 is at A, and unused 4 is at Bb. Assuming the passage calls for the next note to be C played with the 4th finger, 1 will end up at Bb, which is where 4 is now. So the shift is explained as "1 goes to 4."
Next example starts in the same position as the first example. On the G string, assume you're playing a Bb with 4, and the passage next calls for a D played by 2, then Eb played by 4. You make one shift, in which 4 ends at Eb, 2 ends at D, 1 ends at Db. Db is 1 1/2 steps above the note where 4 is now (Bb), so the shift is explained as 1 goes 1 1/2 over 4.
I'll stop here, and you can post or e-mail if you follow it before I go to downshifts. I'll just say again, that this gets learned slowy, is confusing at the start, then suddenly the fog lifts and you're alert to every note. An unyielding teacher helps.