What was the name of the dynasty named after?

The naming method of the names of ancient dynasties in China changed. At the earliest, the source of the names of Xia, Shang and Zhou dynasties was not clear, but after the week, many small enfeoffment countries all had their own titles. This title may come from the names of local aborigines (such as Chen and Cai) when the People's Republic of China was founded, or it may be named by the founders themselves (such as Qi). In the early Han Dynasty (Liu Bang started in Hanzhong), Wei and Jin Dynasties, etc., the founders basically decided their country names according to the country names of the local countries during the Spring and Autumn Period and the Warring States Period. Later, from the Sui Dynasty to the Song Dynasty, it may be difficult to verify the geographical position of the vassal States in the Spring and Autumn Period and the Warring States Period, so one will be attached as needed to establish the country name (but the influence of place names still exists, such as the Song Dynasty). By the Yuan Dynasty, because the Mongols had no sense of identity with the history of China, they also disdained to look for the title in it, so they adopted the statement of "Da Zai Gan Yuan" in the Book of Changes to give themselves the title of Yuan. Later, there were different opinions on the title of Ming Dynasty. His earliest uprising was the Prince of Wu, and later it was changed to Ming Dynasty. It was said that it was because of Zoroastrianism (Maitreya was born, and Ming Dynasty was born), and it was also said that it was because of Manichaeism () The "Song" of the Song Dynasty shows the wooden field, and the wooden earth; The Yuan Dynasty was originally Jin State, belonging to Jinchang, Jin Kemu; The Ming dynasty's "Ming" is a fire, which belongs to the fire, and the fire is golden; "Qing" and "Man" in the Qing Dynasty all show water fields, and water can overcome fire. In this way, a complete five-element gram chain of "earth ← wood ← gold ← fire ← water ← earth" was formed. In foreign countries, however, the dynasty is not the same thing. Often, the royal family name is whatever it is (the name of the dynasty will never change, one is a political concept, and the other is a historical concept). For example, the name of England has always been England (later incorporated into Great Britain). When their king's surname was Tudor, it was called Tudor dynasty. Later, the Tudor dynasty was abandoned, and a man named Stuart was invited to be king, which was called Stuart dynasty.

please accept, thank you!