Probably, it was introduced from China and originally composed in Rinyu style (Vietnamese music); later, it was performed in the key of Ichikotsu (which closely corresponds to D major in Western music).
中国から渡来した曲目で、元林邑調であったが、後には壱越調で舞うようになったらしい。