Text this: Study on the constructions of optimal almost quaternary sequences with period 2q