So far, I agree that the dragon is identified as Satan. I also agree that Jesus refers to Satan being cast to the earth at a previous time.
The Revelation 12:7-17 Scripture though, is about Satan being cast down to the earth at the end... of this present world, not in the past.
It's the Revelation 12:3-4 Scripture that is pointing to his original rebellion and fall from heaven. Yet we know he still has access to the heavenly after his original fall, as his abode is still there in the heavenly dimension today, as shown by this...
Rev 12:7-9
7 And there was war in heaven: Michael and his angels fought against the dragon; and the dragon fought and his angels,
8 And prevailed not; neither was their place found any more in heaven.
9 And the great dragon was cast out, that old serpent, called the Devil, and Satan, which deceiveth the whole world: he was cast out into the earth, and his angels were cast out with him.
KJV
There's only 2 different dimensions of existence described in God's Word, this earthly one we live in, and the heavenly one where God and the angels dwell, including where the abode of the wicked called hell is, behind a veil we cannot see.
That phrase above in red is specific to Satan and his angels being cast out of the heavenly dimension altogether, literally. There's only one other dimension where they can go, and it's to our dimension of this earthly. This is what Lord Jesus was pointing to in John 12, etc., that the prince of this world cometh, and that he is 'cast out'. It's not about Satan being cast out of 'our' world, but out of the heavenly to this earth, literally, like that Rev.12:8 verse reveals. That is not Biblical imagery, it is a warning to the brethren in Christ, as revealed in the next verses there...
Rev 12:10-12
10 And I heard a loud voice saying in heaven, "Now is come salvation, and strength, and the kingdom of our God, and the power of his Christ: for the accuser of our brethren is cast down, which accused them before our God day and night.
11 And they overcame him by the blood of the Lamb, and by the word of their testimony; and they loved not their lives unto the death.
12 Therefore rejoice, ye heavens, and ye that dwell in them. Woe to the inhabiters of the earth and of the sea! for the devil is come down unto you, having great wrath, because he knoweth that he hath but a short time.
KJV
The power of Christ did not come back at the time of Satan's original rebellion, and the Rev.12:11 verse about the saints giving a Testimony and overcoming by the Blood of The Lamb definitely does not fit the time back at Satan's original rebellion and casting out. This has to be about Satan's casting out at the END of this world. It's still in our near future. Even that "short time" is pointing to the shortened time of the end involving the "great tribulation" Lord Jesus warned of in His Olivet discourse.