The invention discloses a
service provider route number acquiring method and a
server. The
service provider route number acquiring method includes that the
server receives query requests from a
client side, searches whether a
route number (RN) of a
service provider who the terminal is attributed to currently exists in the number portability
database or not corresponding to the query requests, then judging whether the RN of the service provider who the terminal is attributed to currently is the RN after number portability of the terminal or not if the RN corresponding to the query request exists, and feeding back the RN of the service provider after number portability of the terminal to the
client side if the RN of the service provider who the terminal is attributed to currently is not the RN of the service provided after number portability of the terminal. By the aid of the above technical scheme, routine maintenance of the integral ENUM / DNS (
telephone number mapping /
domain name server)
system after being commercialized can be guaranteed effectively, investment for adding the number portability function into the original
multimedia message service environment can be reduced effectively, and the server is convenient in maintenance.