1, out of Jintian, Shao Hao (taking the feudal city as the surname)
In A Brief History of Tongzhi Imperial Clans, Yin, the son of Jin Tianshi, was sealed in (now northwest of Yiyang County, Henan Province, southeast of Xin 'an County, Shaanxi Province, and northeast of Xixian County), and was named Yin Fair. His descendants are hereditary Gong Zheng and live in Yin Cheng, that is, Feng Yi is the surname.
2. The surname of the foreigner (the official position is the surname)
The custom of Ying Shao in the Eastern Han Dynasty contains a general meaning: the descendants of Yi Yin, the prime minister in the early Shang Dynasty, took Yin, the official position of Yi Yin, as their surname. So this Yin surname comes from Yi surname.
Yin surname originated in Henan, Shanxi and Shaanxi. During the Western Han Dynasty, the Yin family had developed to Hebei, Shandong, Shaanxi and other places. During the Han Dynasty, they moved to Jiangsu, Zhejiang, Guizhou and Guangxi. During the Wei, Jin, Southern and Northern Dynasties, the Yin family in Tianshui County flourished for a while. During the Sui and Tang Dynasties, the surname Yin had spread all over the country, and Hejian County of Jizhou also became the surname Yin County.
During the Hongwu and Yongle Dynasties in the Ming Dynasty, the Yin people of Dahuaishu in Hongtong County, Shanxi Province once migrated to the areas in North China where the population dropped sharply due to the war. In the Qing Dynasty, people surnamed Yin crossed the sea and entered Taiwan Province Province.
3. It comes from the localization of ethnic minorities.
According to "A Brief History of Clans in Qing Dynasty", there are some sinicized Yin surnames in Mongolia, such as Borzijit, Yegulut and Yinzhai. Zhang Jiashi of Manchu Xibo nationality has been translated into Yin; Today, Bai, Miao, Zhuang and Korean all have Yin surnames.
Extended data:
Yinshi Tianshui County and Hexian County.
The Tang numbers of Yin surname include Hejingtang, Tianshui Hall, Wenhetang and so on.
In the Eastern Jin Dynasty, Yao Xing appointed Tianshui as Stuart, and Yin became a prominent family in Tianshui. Song people sealed and Jing Wei, so He Jing was named Tang.
Yin is also the surname of Hui, Manchu, Miao and Zhuang.
Yin is also the surname used by North Korea and North Korea's Koreans, and Vietnamese Yue (called Beijing in China). In Korea and North Korea, Yin is one of the top ten surnames, and the famous family is Poping Yin.
Baidu Encyclopedia-Yin surname