The invention discloses the synthesis of a new-type chitosan-based hybrid macromolecule and a method for producing or using the macromolecule. This macromolecule comprises an amphiphatic chitosan and a silicon-based coupling agent that is anchored by a chemical bonding. The method for producing the hybrid macromolecule can be easily operated under ambient environment. The produced macromolecule can be self-assembled in an aqueous environment to form a nanocarrier, and has the ability to efficiently encapsulate drugs for a subsequent sustained release purpose. This self-assembled hybrid nanocarrier demonstrated features of excellent biocompatibility, drug loading ability and cellular uptake efficiency.