Summary of the invention
The present invention provides a kind of method for positioning user, Apparatus and system, in order to solve the orientation problem of multi-terminal user, multi-terminal user is realized rationally, is effectively located.
The present invention provides a kind of method for positioning user, comprising:
Receive Location Request, carry arbitrary identification information of target multi-terminal user in the said Location Request;
Inquiry presents service server according to Location Request, obtains the presentation information of the corresponding target multi-terminal user of said identification information, comprises the terminal type at online terminal and the Access Network information that is inserted in the said presentation information;
Terminal type and Access Network information according to online terminal are confirmed the positional information of target multi-terminal user, and return the location of carrying said positional information and reply.
The present invention provides a kind of user's positioner, comprising:
Receiver module: be used to receive Location Request, carry arbitrary identification information of target multi-terminal user in the said Location Request;
Processing module: be used for presenting service server, obtain the presentation information of the corresponding target multi-terminal user of said identification information, comprise the terminal type at online terminal and the Access Network information that is inserted in the said presentation information according to Location Request inquiry;
Locating module: be used for the positional information of confirming the target multi-terminal user according to the terminal type and the Access Network information at online terminal;
Sending module: be used to return the location of carrying said positional information and reply.
The present invention provides a kind of user location system, comprising:
Present service server: be used to obtain and store the presentation information of multi-terminal user and store each multi-terminal user and the identification information that has between corresponding relation, comprise the terminal type at online terminal and the Access Network information that is inserted in the said presentation information;
Location Request functional entity: be used to send Location Request, carry arbitrary identification information of target multi-terminal user in the said Location Request, and reply the location that receives the positional information carry said target multi-terminal user;
Location-server: be used to receive said Location Request; Inquiry presents service server according to Location Request; Obtain the presentation information of the corresponding target multi-terminal user of said identification information; Terminal type and Access Network information according to online terminal are confirmed the positional information of target multi-terminal user, and return said location and reply.
Method for positioning user provided by the invention, Apparatus and system; When location-server receives the Location Request of the arbitrary identification information that carries the target multi-terminal user; Inquiry presents service server; Present the corresponding relation between the identification information of storing multi-terminal user in the service server and having; Multi-terminal user can be confirmed according to corresponding relation,, the positional information of target multi-terminal user can be confirmed according to the presentation information of multi-terminal user through the terminal type at the online terminal of expansion and the Access Network information that is inserted in presentation information.Present the presentation information that service server obtains the target multi-terminal user through inquiry; Thereby learn the terminal type at online terminal and the Access Network information that is inserted; Further confirm the positional information of multi-terminal user, realized reasonable, effective location of multi-terminal user.
Embodiment
In order to solve the orientation problem of multi-terminal user, the embodiment of the invention provides a kind of method for positioning user, in order to multi-terminal user is realized rationally, effectively located.The presentation information that appears in the business of being based on the method for positioning user that the embodiment of the invention provides realizes.Present the corresponding relation between the identification information of having stored each multi-terminal user in the service server and having had, wherein identification information comprises terminal iidentification and ID.Present the corresponding unique User Identity of each multi-terminal user in the business; The unique terminal iidentification of each terminal configuration that this multi-terminal user had; And this multi-terminal user also possibly have ID such as E-Mail address, QQ number simultaneously; All identification informations that had through User Identity and multi-terminal user related, can set up each multi-terminal user and the identification information that has between corresponding relation.Wherein, for portable terminal, terminal iidentification can for Mobile Subscriber International ISDN number (MSISDN), IMSI International Mobile Subscriber Identity (International Mobile Subscriber Identifier, IMSI); For Vehicle mounted station, terminal iidentification can be device identification (Device ID); For landline telephone (voip phone), notebook computer, desktop computer etc., terminal iidentification can be IP address etc., in the embodiment of the invention notebook computer and desktop computer can be referred to as PC (Personal Computer, PC).The identification information that multi-terminal user had can initiatively be reported by this multi-terminal user and present service server; For example multi-terminal user reports the Mobile Subscriber International ISDN Number of its QQ number, E-mail address, portable terminal, the IP address of desktop computer etc., by presenting this multi-terminal user of each identification information storage that service server reports according to multi-terminal user and the corresponding relation between the identification information that has.
Present service server and can receive the SIP PUBLISH issue request that the multi-terminal user different terminals sends, and SIP PUBLISH issue request is modeled as the presentation information of user (Person), professional (Service) and three levels of equipment (Device).Two kinds of roles are born at a plurality of terminals of multi-terminal user simultaneously: the publisher of presentation information (Presentity), and responsible relevant information with this terminal is distributed to and presents service server; The observer of presentation information (Watcher) is responsible for the presentation information at other terminal of subscription.Comprise one or multinomial appear (a PRESENCE TUPLE) in the presentation information of prior art, every presents the User Identity that item comprises that at least online terminal is corresponding, thereby can carry out related with multi-terminal user.In the embodiment of the invention; In order to realize location to multi-terminal user; Presentation information to multi-terminal user is expanded, and increases device-dependent presentation information and constitutes element: " Per service device type ", and to support to obtain the terminal type at online terminal based on presentation information.In " device " assembly that presents data model (A Data Modelfor Presence) definition, increase " Per service device type ", representative presents the corresponding type of carrying out the terminal of body specific transactions, the i.e. terminal type at online terminal." Per service devicetype " maps to presentation information as follows: < device>→ < device type>→ value.Simultaneously, on the presentation information basis of user, business and three levels of equipment, increase a level, i.e. Access Network (AccessNetwork) is to support obtaining the Access Network information that inserted at online terminal based on presentation information.The new assembly " access network " of definition in presenting data model can define the presentation information relevant with Access Network and constitute element in the new assembly " access network ".In presentation information, increase the terminal type at online terminal and the Access Network information that is inserted; At least comprise access network type in the Access Network information; Also can comprise network identity, the network bandwidth; If even the terminal built-in GPS satellite based navigational systems such as (Global Positioning System, global positioning systems), then also can comprise positional information in the Access Network information.The terminal type at online terminal and Access Network information can be collected through presenting network agent (Presence Network Agent) equipment; Present service server and from present network agent equipment, obtain the terminal type at online terminal and the Access Network information that is inserted; And be recorded in this corresponding appearing in the item in online terminal, thereby realized expansion to presentation information.
On the basis that presentation information is expanded, the embodiment of the invention provides a kind of method for positioning user based on presentation information, and is as shown in Figure 1, comprising:
S101, Location Request functional entity send Location Request to location-server, carry arbitrary identification information of target multi-terminal user in the Location Request;
The Location Request functional entity possibly be arbitrary terminal of application server or this target multi-terminal user or other users' terminal;
Inquiry presents service server according to Location Request for S102, location-server, sends the presentation information query requests of carrying this identification information to presenting service server;
S103, presentation information server wherein comprise the terminal type at online terminal and the Access Network information that is inserted to the presentation information that location-server sends the corresponding target multi-terminal user of this identification information in the presentation information;
The positional information that S104, location-server are confirmed the target multi-terminal user according to the terminal type and the Access Network information at online terminal;
S105, location-server return the location of carrying this positional information to the Location Request functional entity and reply;
The positional information of the multi-terminal user of determining can have multiple expression mode, and for example mode is represented in administrative division, specifically notes country, province (city), city (county), district (town), sub-district (village), building plate and the room number or the like at multi-terminal user place; Can also represent mode with the geographical position, specifically note the latitude and longitude information that multi-terminal user belongs to also can comprise information such as height above sea level, speed, direction.
The content that can combine presentation information adopts positioning strategy flexibly, realizes the location to multi-terminal user according to terminal type in the presentation information and Access Network information.
At least comprise access network type in the Access Network information; The location level at all types of terminals and the location level of all types of Access Networks that the terminal is inserted need be set in advance; The positional information of then confirming the target multi-terminal user according to the terminal type and the Access Network information at online terminal specifically comprises the steps:
According to the terminal type at online terminal, confirm the online terminal that location level is the highest;
According to the access network type that the highest online terminal of location level is inserted, confirm the Access Network that location level is the highest;
The positional information of online terminal in the highest Access Network of location level that location level is the highest confirmed as the positional information of target multi-terminal user.
The location technology that the highest Access Network of this location level that the highest positional information of online terminal in the highest Access Network of location level of location level provides in can be according to prior art is supported is confirmed.Wherein Access Network possibly comprise 3GPP access network, 3GPP2 access network, WLAN, microwave access global intercommunication network, xDSL network and fixed LAN, wherein:
The location technology that 3GPP access network and 3GPP2 access network are supported comprises the location technology of confirming positional information according to MCC, MNC and Cell ID, comprises that also session that basis and terminal are set up confirms the location technology of positional information;
The location technology that WLAN and microwave access global intercommunication network are supported comprises the location technology of confirming positional information according to the geographical position of AP, also comprises the location technology of confirming positional information according to the network measure value;
The location technology that xDSL network and fixed LAN are supported comprises the location technology of confirming positional information according to the registration installation addresses of user account.
More excellent; Also comprise network identity in the Access Network information; Online terminal the network identity in location level the highest Access Network the highest according to location level; Can confirm the positional information of online terminal in the highest Access Network of location level that location level is the highest, all types of Access Networks and network identity are respectively:
The network identity of 3GPP access network and 3GPP2 access network is MCC, MNC, CellID, can uniquely confirm can accomplish the location according to the geographical position of this sub-district in a sub-district according to MCC, MNC, Cell ID;
The network identity of WLAN and microwave access global intercommunication network is AP, can accomplish the location according to the geographical position of this AP;
The network identity of xDSL network and fixed LAN is a user account, can inquire about according to user account the registered address is installed, and can accomplish the location according to the registered address is installed.
Also can comprise positional information in the Access Network information, the positional information of online terminal in the highest Access Network of location level that then location level is the highest can directly obtain from Access Network information.
Wherein, The terminal ability information that also possibly comprise online terminal in the presentation information; Be used to indicate whether to support the location technology of appointment; For example whether support the AGPS location technology, if the location technology of appointment is supported in the indication of the terminal ability information at the highest online terminal of location level, the positional information of online terminal in the highest Access Network of location level that then location level is the highest confirmed according to the location technology of appointment.
If do not determine the highest positional information of online terminal in the highest Access Network of location level of location level, then method also can be carried out following steps:
According to the terminal type at online terminal and the access network type that is inserted; Confirm the positional information of online terminal in the Access Network of correspondence successively according to location level order from high to low; Until determining positional information, and with the positional information of the positional information of determining as the target multi-terminal user.
Carry out simple declaration for example.
Example 1: location-server receives the Location Request that the Location Request functional entity sends, and the identification information that carries is Beibei@monternet.com.Inquiry presents service server to location-server according to Location Request; Owing to present the corresponding relation between the identification information of having stored multi-terminal user in the service server and having had; Then according to identification information Beibei@monterbet, com can confirm corresponding multi-terminal user, and obtains the presentation information of multi-terminal user; Suppose that the presentation information that gets access to is: the terminal type at online terminal is a portable terminal, and access network type is WLAN and GERAN.Suppose that location level that all types of terminals are set is followed successively by portable terminal, PC, voip phone and Vehicle mounted station according to from high to low order; The location level at all types of terminals is based on that actual operating position confirms; Consider that the user can carry portable terminal generally speaking, so be set at the location level of portable terminal the highest; The location level of all types of Access Networks that portable terminal inserted is followed successively by WLAN/microwave access global intercommunication network, 3GPP/3GPP2 access network, xDSL network/fixed LAN according to order from high to low.Then location-server can confirm that according to the presentation information that gets access to the highest online terminal of location level is a portable terminal; The Access Network that the location level that online terminal is inserted is the highest is WLAN, then the positional information of portable terminal in WLAN is confirmed as the positional information of target multi-terminal user.The concrete positional information of portable terminal in WLAN can adopt the location technology that provides in the prior art to confirm, if comprise in the more excellent Access Network information that network identity is AP, then confirms according to the geographical position of AP; If perhaps also comprise positional information in the Access Network information, then directly confirm.If this portable terminal of the terminal ability information of portable terminal indication is supported the AGPS location technology; Then location-server is confirmed the positional information of portable terminal in WLAN according to the AGPS location technology; Specifically be that location-server passes through WLAN to portable terminal transmission SIP Push Location Request; Portable terminal receives SIP Push Location Request and carries out AGPS location, the positional information of returning after location-server mobile terminal receive AGPS locatees successfully.Location-server is carried at the location with the positional information of determining at last and returns to the Location Request functional entity in replying.If do not determine the positional information of portable terminal in WLAN; For example portable terminal is in indoor; Gps signal is not enough; AGPS locatees failure, then confirms the positional information of portable terminal in GERAN according to location level order from high to low, and with the positional information of the positional information of determining as the target multi-terminal user.
Example 2: location-server receives the Location Request that the Location Request functional entity sends, and the identification information that carries is Beibei@monternet.com.Inquiry presents business server information to location-server according to Location Request; Suppose that the presentation information that gets access to is: the current online terminal is portable terminal and PC; The Access Network that portable terminal inserted is WLAN and GERAN, and the AGPS location technology is supported in the terminal ability information indication; The Access Network that PC inserted is the ADSL network.Suppose that location level and example are consistent in 1, the location level of portable terminal is higher than PC.Then at first portable terminal is positioned; Method is with example 1; If, then confirm the positional information of PC in the ADSL network, and with the positional information of the positional information of determining as the target multi-terminal user according to location level order from high to low to the location failure of portable terminal.
Method for positioning user provided by the invention; When location-server receives the Location Request of the arbitrary identification information that carries the target multi-terminal user; Inquiry presents service server; Present the corresponding relation between the identification information of storing multi-terminal user in the service server and having; Multi-terminal user can be confirmed according to corresponding relation,, the positional information of target multi-terminal user can be confirmed according to the presentation information of multi-terminal user through the terminal type at the online terminal of expansion and the Access Network information that is inserted in presentation information.Present the presentation information that service server obtains the target multi-terminal user through inquiry; Thereby learn the terminal type at online terminal and the Access Network information that is inserted; Further confirm the positional information of multi-terminal user, realized reasonable, effective location of multi-terminal user;
And further can in presentation information, expand the terminal ability information at online terminal; The access network type that online terminal is inserted, network identity, positional information etc.; Through the location level of pre-configured each terminal type and the location level of all types of Access Networks; Determine online terminal that positions and the Access Network that is inserted, thereby realized the multi-terminal user with a plurality of terminals is positioned more.
Based on same technical conceive, the embodiment of the invention provides a kind of user location system, and is as shown in Figure 2, comprising:
Present service server 201: be used to obtain and store the presentation information of multi-terminal user and store each multi-terminal user and the identification information that has between corresponding relation, wherein comprise the terminal type at online terminal and the Access Network information that is inserted in the presentation information;
Location Request functional entity 202: be used to send Location Request, wherein carry arbitrary identification information of target multi-terminal user in the Location Request, and reply the location that receives the positional information carry the target multi-terminal user;
Location-server 203: be used to receive Location Request; Inquiry presents service server according to Location Request; Obtain the presentation information of the corresponding target multi-terminal user of identification information; The positional information of confirming the target multi-terminal user according to the terminal type and the Access Network information at online terminal, and restoring to normal position is replied.
This system also comprises:
Present network agent equipment 204: be used to collect the terminal type at online terminal and the Access Network information that is inserted; And
Present service server 201, also be used for obtaining the terminal type at online terminal and the Access Network information that is inserted, and be recorded in the presentation information of corresponding multi-terminal user from presenting network agent equipment 204.
The embodiment of the invention provides a kind of user's positioner simultaneously, is arranged in the location-server, and is as shown in Figure 3, comprising:
Receiver module 301: be used to receive Location Request, wherein carry arbitrary identification information of target multi-terminal user in the Location Request;
Processing module 302: be used for presenting service server, obtain the presentation information of the corresponding target multi-terminal user of this identification information, wherein comprise the terminal type at online terminal and the Access Network information that is inserted in the presentation information according to Location Request inquiry;
Locating module 303: be used for the positional information of confirming the target multi-terminal user according to the terminal type and the Access Network information at online terminal;
Sending module 304: be used to return the location of carrying positional information and reply.
Wherein Access Network information comprises access network type at least, and the location level at all types of terminals and the location level of all types of Access Networks that the terminal is inserted are set in advance, and then a kind of possibility structure of locating module 303 is as shown in Figure 4, comprising:
First confirms unit 401: be used for the terminal type according to online terminal, confirm the online terminal that location level is the highest;
Second confirms unit 402: be used for the access network type that inserts according to the highest online terminal of location level, confirm the Access Network that location level is the highest;
Positioning unit 403: be used for the target multi-terminal user is confirmed as at the online terminal that location level is the highest in the positional information of the highest Access Network of location level positional information.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.