201018283 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種移動終端移動位置服務系統及方法,特 別係涉及一種基於移動位置服務之第三方用戶之位置服務 系統及其位置查詢方法。 【先前技術】 移動位置服務(Location Based Service,以下簡稱LBS) 係一種移動增值業務’藉由一組定位技術獲得移動台之位置 資訊(如經緯度座標資料),從而可為移動終端用戶提供與位 置相關資訊及移動終端定位服務。lbs主要技術原理係利用 蜂窩基站之空間定位,藉由兩個以上之基站同時測出移動目 標離基站之半徑距離,從而確定移動目標之確切方位。lbs 包括兩層含義:首先’確定移動終端或者用戶所處地理位 置;其次,提供與位置相關之各類資訊服務。 習知之移動終端LBS應用範圍很廣,LBS可基於話音、 ❹短訊、WAP(Wireless Application Protoco卜無線應用協定) 及多媒體短訊或者郵件向移動通訊終端提供各種服務,如資 汛查詢、地圖服務、即時導航、區域告警等。一般來說,上 =民務均為以基站為主體而針對移動終端之用戶本身提供 移2務,其中尚缺少對該移動終端用戶具有通訊聯繫之其他 於一 ί端用戶,即“第三方用戶,,提供之服務措施。然而, 使用〜隋况下,移動終端之用戶除了從通訊網絡獲得自己所 訊之服務以外,還需要及時獲得某些第三方用戶之相關資 如因照顧老人、小孩而急需確認其所於位置時;另,移 7 201018283 動終端之用戶於新近進入某一區域時,也往往需要得知該區 域之一些第三方用戶,如朋友等之相關資訊,以及時取得聯 '繫。 '【發明内容】 有鑒於此,有必要提供一種具提供第三方用戶相關資訊 功能之移動位置服務系統。 另,有必要提供上述移動位置服務系統使用之位置查詢 方法。 ® 一種移動終端移動位置服務系統,其包括一移動終端及 一服務端,該移動終端與該服務端藉由無線電訊號傳輸資 料;該移動終端包括一設定模組及一收發模組,該設定模組 用以設定及編輯查詢第三方用戶之位置資訊請求,該收發模 組用以將該查詢請求發送至服務端及接收服務端發送之查 詢結果;該服務端包括一服務模組、一查詢模組及一資料庫 模組,該服務模組用以接收該查詢請求,並將該查詢請求發 _送至查詢模組,該查詢模組根據該查詢請求從資料庫模組獲 取第三方用戶之位置資訊,並將查詢結果經服務模組傳送至 收發模組。 一種移動終端位置查詢方法,其包括以下步驟:提供一 種上述之移動終端移動位置服務系統;移動終端用戶設定並 發送獲取第三方用戶位置資訊請求;搜索該第三方用戶;獲 取該第三方用戶之位置資訊;將查詢結果發送至該移動終端 用戶。 相較習知技術,本發明該移動終端移動位置服務系統及 201018283 其位置查詢方法可獲取與移動終端用戶相關之第三方用戶 之位置資訊,有效地擴展了習知LBS系統之功能,給移動終 端用戶之使用上帶來更多便利。 【實施方式】 本發明較佳實施方式移動終端移動位置服務系統位置 及位置查詢方法,用於無線通訊網路中移動終端用戶對與其 具有通訊聯繫之第三方用戶之位置資訊查詢。請參閱圖1, 該移動位置服務系統100包括一移動終端10及一服務端 20。該移動終端10與該服務端20藉由無線電訊號傳遞資訊。 該移動通訊終端10為一具有無線通訊功能之便攜式電 子裝置,其包括一設定模組11及一收發模組12,設定模組 11用以設定或者編輯查詢第三方用戶位置資訊之查詢請求 資訊。該收發模組12可藉由SMS或者WAP等方式,將該 查詢請求資訊發送至服務端20,並從服務端20接收之第三 方用戶相關位置資訊。 該服務端20包括一服務模組21、一查詢模組22及一資 料庫模組23。該服務模組21用以接收該收發模組12發送之 查詢第三方用戶位置查詢之請求資訊,並將該查詢請求資訊 發送至查詢模組22。該查詢模組22用以根據從服務模組21 接收之查詢請求向資料庫模組23搜索相關之第三方用戶之 資訊,並將該搜索到之資訊發送至服務模組21。該查詢模組 22包括一基本資訊查詢模組221及一位置資訊查詢模組 222,分別用以查詢移動終端用戶之基本資訊如姓名、電話 號碼及位置資訊。該資料庫模組23用以存儲移動終端之相 201018283 關資訊,其包括一基本資訊資料庫231及一 LBS伺服器 232,該基本資訊資料庫231與本服務區基站連接,以存儲 本區域内所有移動終端用戶基本資訊並隨時調用。該LBS ^ 伺服器232用以存儲基於LBS業務所確定移動通訊網路移動 終端用戶之位置資訊,並隨移動終端用戶位置變化而動態更 新。 請一併參閱圖2,使用上述之移動終端移動位置服務系 統100進行第三方用戶位置查詢之方法,包括以下步驟: ^ 步驟S11 :該移動終端10之用戶藉由設定模組11設定 或者編輯一獲取符合設定條件之第三方用戶位置資訊查詢 請求,如搜索移動終端10内電話薄有存儲記錄之所有第三 方用戶,並將其設為查詢條件。然後藉由收發模組12以SMS 或者WAP之方式傳送至服務模組21。 步驟S12:該服務模組21獲得該第三方位置資訊查詢請 求後,傳送至查詢模組22。查詢模組22接收到該查詢請求 φ後,即由其位置資訊查詢模組222從LBS伺服器232獲取發 送請求之移動終端10本身之用戶位置資訊。同時,由基本 資訊查詢模組221從基本資訊資料庫231獲取符合上述設定 條件之第三方用戶之基本資訊。 步驟S13:該查詢模組22根據獲取之第三方用戶之基本 資訊,進一步從LBS伺服器232搜索於該移動終端10用戶 所於區域之第三方用戶。 步驟S14:該查詢模組22將根據搜索結果進行下一步操 作,若搜索到相關之第三方用戶,則進入步驟S15,若否, 201018283 則直接進入步驟S17。 步驟S15 :該查詢模組22從LBS伺服器232獲取搜索 到之第三方用戶之位置資訊。 * 步驟S16:該查詢模組22將搜索到之第三方用戶按照其 距離該移動終端用戶之遠近進行排序,並將排序後之查詢結 果發送至該服務模組21。 步驟S17:該服務模組21將查詢結果即第三方用戶之基 本資訊及位置資訊,藉由SMS或者WAP或者語音之方式發 ®送至該移動終端10。 可以理解,為了移動終端10用戶使用方便,於步驟S16 與步驟S17之間,還可增加一排序後之結果之篩選步驟:該 查詢模組預設一搜索之第三方用戶上限數目,如10,並判斷 搜索到之第三方用戶之數目是否大於一該上限數目。若是, 則發送該前10位第三方用戶之位置資訊;若否,則發送全 部之第三方用戶之位置資訊。 φ 可以理解,於步驟S11中可直接設定查詢條件為獲取某 特定區域内之第三方用戶之位置資訊,同時,省略步驟S12, 直接由查詢模組22從資料庫模組23搜索該特定區域之第三 方用戶,後續步驟S13至步驟S17相應為對該特定區域第三 方用戶之操作。 【圖式簡單說明】 圖1係本發明移動終端移動位置服務系統之較佳實施方 式之功能模組圖。 圖2係本發明移動終端位置查詢方法較佳實施方式之流 11 201018283 程圖。 【主要元件符號說明】 移動位置服務系統 100 移動終端 10 查詢設定模組 11 收發模組 12 服務端 20 服務模組 21 查詢模組 22 基本資訊查詢模組 221 位置資訊查詢模組 222 資料庫模組 23 基本資訊資料庫 231 LBS伺服器 232[Technical Field] The present invention relates to a mobile terminal mobile location service system and method, and in particular to a location service system for a third party user based on a mobile location service and a location query method thereof. [Prior Art] A Location Based Service (LBS) is a mobile value-added service that obtains location information (such as latitude and longitude coordinates) of a mobile station by a set of positioning technologies, thereby providing location and location for mobile terminal users. Related information and mobile terminal location services. The main technical principle of lbs is to use the spatial positioning of the cellular base station to determine the exact position of the moving target by simultaneously measuring the radial distance of the moving target from the base station by two or more base stations. The lbs consists of two meanings: first, to determine the geographic location of the mobile terminal or user; and second, to provide various types of information services related to the location. The mobile terminal LBS has a wide range of applications. LBS can provide various services to mobile communication terminals based on voice, video, WAP (Wireless Application Protoco) and multimedia messaging or mail, such as resource inquiry and map. Services, instant navigation, regional alerts, etc. Generally speaking, the upper-civil service is based on the base station, and the user of the mobile terminal itself is provided with the mobile service. Among them, there is no other user who has the communication connection with the mobile terminal user, that is, the third-party user. However, the use of the service measures. However, in addition to the services received by the mobile terminal from the communication network, users of the mobile terminal need to obtain relevant information of certain third-party users in time to take care of the elderly and children. When it is urgent to confirm the location of the location; in addition, users of the mobile terminal when they enter a certain area recently often need to know the relevant information of some third-party users in the area, such as friends, and get the link in time. In view of this, it is necessary to provide a mobile location service system with the information function of providing third-party users. In addition, it is necessary to provide a location query method used by the above mobile location service system. a location service system including a mobile terminal and a server, the mobile terminal and the server The mobile terminal includes a setting module and a transceiver module. The setting module is configured to set and edit a location information request for a third party user, and the transceiver module is configured to send the query request to the The server and the receiving server send the query result; the server includes a service module, a query module and a database module, and the service module is configured to receive the query request and send the query request To the query module, the query module obtains the location information of the third-party user from the database module according to the query request, and transmits the query result to the transceiver module via the service module. A mobile terminal location query method, which includes the following Step: providing a mobile terminal mobile location service system; the mobile terminal user sets and sends a third-party user location information request; searches for the third-party user; obtains the location information of the third-party user; and sends the query result to the mobile terminal Compared with the prior art, the mobile terminal mobile location service system of the present invention and 201018283 The query method can obtain the location information of the third-party user related to the mobile terminal user, effectively expands the function of the conventional LBS system, and brings more convenience to the use of the mobile terminal user. [Embodiment] The mobile terminal location information system location and location query method is used for querying the location information of the mobile terminal user in the wireless communication network with the third party user having communication relationship with the mobile communication network. Referring to FIG. 1, the mobile location service system 100 includes a mobile The terminal 10 and the server 20. The mobile terminal 10 and the server 20 transmit information by using a radio signal. The mobile communication terminal 10 is a portable electronic device having a wireless communication function, and includes a setting module 11 and a transceiver. The module 12 is configured to set or edit the query request information for querying the location information of the third party. The transceiver module 12 can send the query request information to the server 20 by means of SMS or WAP, and The third party user related location information received from the server 20. The server 20 includes a service module 21, a query module 22, and a repository module 23. The service module 21 is configured to receive the request information sent by the transceiver module 12 for querying a third-party user location query, and send the query request information to the query module 22. The query module 22 is configured to search the database module 23 for information about the related third party user according to the query request received from the service module 21, and send the searched information to the service module 21. The query module 22 includes a basic information query module 221 and a location information query module 222 for querying basic information of the mobile terminal user such as name, telephone number and location information. The database module 23 is configured to store the 201018283 information of the mobile terminal, and includes a basic information database 231 and an LBS server 232. The basic information database 231 is connected to the service area base station to store the area. Basic information about all mobile end users and call them at any time. The LBS^ server 232 is configured to store location information of the mobile terminal user of the mobile communication network determined based on the LBS service, and dynamically update as the location of the mobile terminal user changes. Referring to FIG. 2, the method for performing the third-party user location query by using the mobile terminal mobile location service system 100 includes the following steps: Step S11: The user of the mobile terminal 10 sets or edits one by using the setting module 11. The third-party user location information query request that meets the set conditions is obtained, for example, all third-party users who have stored records in the phone book in the mobile terminal 10 are searched and set as the query condition. Then, it is transmitted to the service module 21 by means of the transceiver module 12 in the form of SMS or WAP. Step S12: The service module 21 obtains the third-party location information query request and transmits the request to the query module 22. After receiving the query request φ, the query module 22 obtains the user location information of the mobile terminal 10 itself from the LBS server 232 by the location information query module 222. At the same time, the basic information query module 221 obtains basic information of the third party users who meet the above set conditions from the basic information database 231. Step S13: The query module 22 further searches for the third-party user in the area where the user of the mobile terminal 10 is located from the LBS server 232 according to the obtained basic information of the third-party user. Step S14: The query module 22 will perform the next operation according to the search result. If the related third party user is searched, the process proceeds to step S15. If not, 201018283 directly proceeds to step S17. Step S15: The query module 22 obtains the location information of the searched third party user from the LBS server 232. * Step S16: The query module 22 sorts the searched third party users according to their distance from the mobile terminal user, and sends the sorted query result to the service module 21. Step S17: The service module 21 sends the query result, that is, the basic information and the location information of the third party user, to the mobile terminal 10 by means of SMS or WAP or voice. It can be understood that, for the convenience of the user of the mobile terminal 10, a screening step of the sorted result may be added between the steps S16 and S17: the query module presets a third-party user upper limit number of the search, such as 10, And determining whether the number of third party users searched is greater than a limit number. If yes, the location information of the top 10 third-party users is sent; if not, the location information of all third-party users is sent. φ It can be understood that, in step S11, the query condition can be directly set to obtain the location information of the third-party user in a specific area, and at the same time, step S12 is omitted, and the query module 22 directly searches the specific area from the database module 23. For the third party user, the subsequent steps S13 to S17 correspond to the operations of the third party user for the specific area. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a functional block diagram of a preferred embodiment of a mobile terminal mobile location service system of the present invention. 2 is a flow chart of a preferred embodiment of a method for querying a location of a mobile terminal according to the present invention. [Main component symbol description] Mobile location service system 100 Mobile terminal 10 Query setting module 11 Transceiver module 12 Server 20 Service module 21 Query module 22 Basic information query module 221 Location information query module 222 Database module 23 Basic Information Library 231 LBS Server 232
G 12G 12