Patent ID: 7203504

Claim:
A method of building a locating service in a location-based system for a wireless network environment comprising: an environment input step for dividing an environment into a plurality of position points and setting a position point as an obstacle according to environment information; a detection point calculation step for obtaining a plurality of suggested detection points according to a detection algorithm; a measuring step for measuring the suggested detection points and at least one positioning signal strength from the suggested detection points to establish a relational list between the at least one positioning signal strength and the suggested detection points; an assumed non-detected position points step for assuming and adding to the relational list at least one positioning signal strength from a plurality of non-detected position points according to an assumption calculation; a portable device signal measuring step for measuring at least one positioning signal strength from a portable device at a current location; a position point calculation step for comparing the at least one positioning signal strength from the portable device with the positioning signal strengths in the relational list and obtaining corresponding position information according to a positioning algorithm; and a signal feed back step for sending the corresponding position information to the portable device to inform a user, wherein the detection algorithm comprises: a detection point ratio input step for inputting a detection point ratio into the location-based system; a detection point selection step for setting a plurality of selected detection points; a detection point suggestion step for obstacles for selecting a plurality of position points around a plurality of obstacles and setting the plurality of position points as a plurality of suggested detection points; a detection point suggestion step for a first area for selecting a plurality of non-obstacles and non-detection point position points and setting the position points as a plurality selected detection points when a first area around every position point has no obstacles, selected detection points or suggested detection points; a detection point suggestion step for a second area for selecting a plurality of non-obstacles and non-detection point position points and setting the position points as a plurality selected detection points when a second area around every position point has no obstacles, selected detection points or suggested detection points; and a random detection point suggestion step for selecting a plurality of non-obstacles and non-detection point position points and setting the position points as a plurality of selected detection points so that a ratio between a total number of the suggested detection points and the selected detection points and a number of the position points in the location-based system is larger than the input detection point ratio.