If it is only industrial and commercial registration, it cannot be regarded as infringement, but if the other party has registered the name as a trademark, if it is used in the same industry, it must be recognized by the other party, which is clearly stipulated in China's intellectual property law.
But if you have the same name when you register with the same industrial and commercial bureau, the industrial and commercial bureau will not let you register.
When registering, there is usually a preparation procedure, and more names need to be prepared to prevent duplication with the registered names of the same industrial and commercial bureau.