What are the rules for the names of emperors in the Shang Dynasty?

After the death of each king in the Shang Dynasty, he would choose one of the ten heavenly stems such as A, B, Bing, and Ding to be named, which was called the "temple number", such as Dayi, Ding, Waibing, Zhongren, etc. Yi, Ding, Cing and Ren are the temple names. The name of the temple is also the festival day, that is, a ceremony to worship the king was held on this dry day. The generation of the temple name is determined by divination after death. If the temple name Qianri obtained by future generations is the same as that of their ancestors, a distinguishing word will be added before Qianri. For example, among the 31 kings from Tang to Zhou, the temple name "Jia" was obtained by divination. There were six Shang kings in the country, so they added distinguishing characters before the temple names, calling them Dajia, Xiaojia, Hedanjia [戋jia], Wojia [Qiangjia], Yangjia, and Zujia, so that they would not be confused. Mixed. Some of the distinguishing characters before the names may have the nature of "posthumous" names in later generations. The so-called "posthumous" title refers to giving a certain name to praise or criticize his political achievements based on his behavior when he was in power. "To do good deeds as literature, to eliminate evil as force, to open up land as support" is the posthumous title of Wen, Wu and Xiang. , such as Wu Ding and Wen Ding.