The application discloses an ultrasonic
ranging method, an ultrasonic
ranging system, a storage medium and a program product, and relates to the technical field of intelligent sensing. The method comprises the following steps: a sending end generates a plurality of candidate sequence codes in a
time domain based on orthogonal symbols, the candidate sequence codes are generated by at least one of the following methods:
time domain arrangement, adjustment of symbol intervals, combination, random arrangement and adjustment of symbol intervals, a target sequence code is selected from the candidate sequence codes, and the target sequence code is shared with a receiving end; a target ultrasonic
signal containing the target sequence code is broadcast to the receiving end; after receiving the target ultrasonic
signal returned by the receiving end, the distance between the sending end and the receiving end is determined; the receiving end receives at least one ultrasonic
signal; when a target ultrasonic signal matched with the target sequence code is identified, a
transmission channel of the target ultrasonic signal is subjected to
collision detection; if there is no collision in the
current channel or the collision in the channel is solved, the receiving end and the sending end are subjected to
ranging based on the target ultrasonic signal.