主权项 |
1. A method for determining mail path information, comprising determining a latitude-longitude coordinate range of each collector-distributor point in advance based on a collection and distribution range of the collector-distributor point,
acquiring a latitude-longitude coordinate of a sending point of a piece of mail, and determining, based on the latitude-longitude coordinate range to which the latitude-longitude coordinate of the sending point belongs, a collector-distributor point to which the sending point of the mail is subordinate; and acquiring a latitude-longitude coordinate of a destination point of the piece of mail, and determining, based on a latitude-longitude coordinate range to which the latitude-longitude coordinate of the destination point belongs, a collector-distributor point to which the destination point of the mail is subordinate; acquiring collector-distributor point information of the collector-distributor point to which the sending point is subordinate and collector-distributor point information of the collector-distributor point to which the destination point is subordinate, wherein the collector-distributor point information of the collector-distributor point to which the sending point is subordinate records the level of the collector-distributor point to which the sending point is subordinate and collector-distributor points in each level which are superordinate to the collector-distributor point to which the sending point is subordinate, and the collector-distributor point information of the collector-distributor point to which the destination point is subordinate records the level of the collector-distributor point to which the destination point is subordinate and collector-distributor points in each level which are superordinate to the collector-distributor point to which the destination point is subordinate; and determining, based on the collector-distributor point information of the collector-distributor point to which the sending point is subordinate and the collector-distributor point information of the collector-distributor point to which the destination point is subordinate, each halfway collector-distributor point that the piece of mail needs to reach and path information of the piece of mail. |