The invention relates to the technical field of multi-node
ranging, and particularly discloses a multi-node
ranging method and
system based on
code division multiple access, and the method comprises the steps: S1, calculating the
network complexity, obtaining the bandwidth when the
network complexity exceeds a certain range, and calculating the
channel capacity; s2, calculating
transmission time, calculating a
transmission time ratio, correcting the bandwidth based on the
transmission time ratio to obtain a corrected bandwidth, and obtaining corrected time; and S3, setting the bandwidth as a modified bandwidth, sending bytes with the same number to the test nodes, obtaining actual transmission time, screening qualified nodes, presetting a
byte number gradient, obtaining a ladder coefficient when the requirement is met, sorting the test nodes, retaining efficient nodes and adjusting the corresponding bandwidth as the modified bandwidth. According to the invention, the
byte data transmission frequency in the multi-node
ranging process can be reduced, the positioning
delay is reduced, and the response speed is improved.