inu ▁people ▁was ▁limited ▁to ▁the ▁M ats um ae ▁Domain ▁in ▁H ok ka id ō , ▁and ▁trade ▁with ▁the ▁Ry ū ky ū ▁Kingdom ▁took ▁place ▁in ▁S ats uma ▁Domain ▁( present - day ▁K ag osh ima ▁Pref ect ure ). ▁A part ▁from ▁these ▁direct ▁commercial ▁contacts ▁in ▁peri pher al ▁provinces , ▁trad ing ▁countries ▁sent ▁regular ▁miss ions ▁to ▁the ▁sh ō gun ▁in ▁E do ▁and ▁Os aka ▁Castle . ▁ ▁Trade ▁under ▁s ak oku ▁▁ ▁Japan ▁trad ed ▁at ▁this ▁time ▁with ▁five ▁entities , ▁through ▁four ▁" gate ways ". ▁The ▁largest ▁was ▁the ▁private ▁Chinese ▁trade ▁at ▁Nag as aki ▁( who ▁also ▁trad ed ▁with ▁the ▁Ry ū ky ū ▁Kingdom ), ▁where ▁the ▁Dutch ▁East ▁India ▁Company ▁was ▁also ▁permitted ▁to ▁operate . ▁The ▁M ats um ae ▁cl an ▁domain ▁in ▁H ok ka id ō ▁( then ▁called ▁E zo ) ▁trad ed ▁with ▁the ▁A inu ▁people . ▁Through ▁the ▁S ō ▁cl an ▁da im y ō ▁of ▁Ts ush ima , ▁there ▁were ▁relations ▁with ▁Jose on - d ynast y ▁Korea . ▁Ry ū ky ū , ▁a ▁semi - in dependent ▁kingdom ▁for ▁nearly ▁all ▁of ▁the ▁E do ▁period , ▁was ▁controlled ▁by ▁the ▁Sh im azu ▁cl an ▁da im y ō ▁of ▁S ats uma ▁Domain . ▁T ash iro ▁Kaz ui ▁has ▁shown ▁that ▁trade ▁between ▁Japan ▁and ▁these ▁entities ▁was ▁divided ▁into ▁two ▁kinds : ▁Group