The porters have a manifest with everyone's cabin number on it. They will give you luggage tags and you will write your information, including cabin number, on them and attach them to your luggage. You will actually know your cabin number at that time. Unless you've memorized the deck plans you probably won't know what category it is and neither will the porters. You will have to wait until you check-in to find out if it's really an upgrade.