Obtain method and the access service router of positional information in the marked net
Technical field
The present invention relates to data communication technology field, relate in particular to the method, access service router, location register and the location register agency that obtain positional information in a kind of marked net.
Background technology
The Internet is extensive use, and has obtained huge success, but has some defectives in the network architecture and agreement, mainly is reflected in:
Mobility support to terminal is not enough, and there is the route detour problem in prior art;
Do not support user identity to separate with the network site;
There is safety problem, can not guarantees customer location privacy etc.
Marked net is a kind of novel internet technique, introduce the thought that separate the identity position, support mobile access terminal mobility and continuity, especially each user has unique permanent identification in the marked net, network all needed identity is verified when the user accessed at every turn, so network can guarantee authenticity and the reliability of this identify label.Based on this unique reliable identify label, can set up the Identity Management system, carry out the business based on user identity management, improve network security.
The basic principle of marked net is to be the fixing identify label of user equipment allocation, use identify label to replace Internet protocol of the prior art (Internet Protocol between the subscriber equipment, abbreviation IP) address communicates, and by the station location marker of the access service distributing user that is positioned at the edge, the Internet, the use location sign is carried out route, and the mapping between completing user identify label and the station location marker and conversion
Fig. 1 shows the framework of marked net, for being described as follows of each entity among Fig. 1:
Subscriber equipment 101 (User Equipment, be called for short UE), support the subscriber equipment of Internet protocol access, comprise that mobile grouping field accesses terminal, supports wireless local function terminal, fixedly accesses terminal etc., comprise further that also the business such as application server provides equipment.UE user access identity sign (Access Identity is called for short AID) replaces the IP address, provides and communicates with other subscriber equipmenies of network, business.
Access service router one 02 (Access Service Router, be called for short ASR), the access network at UE 101 places and the interface equipment between the Internet, be responsible for authentication, customer location sign (the Routing Identity of UE 101, be called for short RID) management, AID and RID mapping and conversion, and the functions such as the encapsulation/deblocking of user data, forwarding.
Generic router 103 (Common Router is called for short CR) is finished the calculating of Routing Protocol, and according to RID forwarding data bag.
Location register 104 (Location Register is called for short LR) is preserved the mapping relations between AID and the RID, query function is provided, and the package forward function can be provided.
Fig. 2 is a business procedure in the marked net, supposes that UE-A is client, and UE-B is service end, may further comprise the steps:
Step 201, UE-A successfully are registered to the ASR-A in access zone, comprising adhere to, authentication, authentication, and AID assigning process, detailed process depends on Access Network.Wherein AID also can be based on terminal static configuration mode and realizes;
Step 202, ASR-A are that UE-A distributes RID, and send address mapping circular message to LR, the mapping relations of wherein carrying RID and AID, and LR preserves the identity position mapping relations (AID-A, RID-A) of UE-A;
RID is generally the routing address of ASR.
Step 203, ASR-A also preserve the identity position mapping relations (AID-A, RID-A) of this end subscriber UE-A in this locality;
Step 204~206, UE-B are linked into ASR-B, ASR-B is to the RID of LR circular UE-B and the mapping relations of AID, LR preserves identity position mapping relations (AID-B corresponding to UE-B, RID-B), ASR-B also preserves the identity position mapping relations (AID-B, RID-B) of this end subscriber UE-B in this locality;
UE-A and UE-B can not be the same access technologies.
If step 207 UE-A needs and UE-B communicates, then the identify label take own identify label AID-A as source address, opposite end is as destination address, and structure IP packet sends to ASR-A;
{ source address=AID-A, destination address=AID-B, data load }
Step 208, ASR-A are according to the inquiry of the purpose AID-B in packet identity position, opposite end mapping relations cache table, and whether inquiry exists mapping relations corresponding to AID-B, if execution in step 209, otherwise execution in step 214 are not hit in inquiry;
If the user that UE-A or ASR-A access then may have the buffer memory of (AID-B, RID-B) mapping relations communicating by letter with UE-B in the recent period among the ASR-A.
Step 209, ASR-A send the position enquiring request to LR, positional information corresponding to inquiry opposite end identity AID-B;
The AID-RID mapping relations table that step 210, LR inquiry are preserved obtains RID-B corresponding to AID-B;
Step 211, LR return inquiry response to ASR-A, carry Query Result RID-B;
Step 212, ASR-A encapsulated data packet also send to ASR-B by generic router;
Packaged type be with UE-A station location marker RID-A as source address, the station location marker RID-B of UE-B is as destination address, and will contain the raw data packets such as AID-A and AID-B and data load as the new data load that make up packets;
{ source address=RID-A, destination address=RID-B, data load { AID-A, AID-B, initial data load } }
The identity position mapping relations (AID-B, RID-B) of step 213, ASR-A buffer memory opposite end, the follow-up like this UE-B data that send to, ASR-B does not just need the inquiry to LR, just can directly encapsulate and send to ASR-B;
After ASR-B receives packet, execution in step 215.
If there are the mapping relations to end subscriber AID-B and RID-B among step 214 ASR, then to hit during the mapping relations buffer memory of step 208 inquiry identity position, opposite end, the ASR-A encapsulated data packet also sends to ASR-B by generic router;
Step 215, ASR-B deblocking packet are reduced into the initial packet that UE-A sends, and obtain the mapping relations of AID-B and AID-A and RID-A, then according to AID-B with Packet Generation to UE-B;
{ AID-A, AID-B, data load }
The identity position mapping relations (AID-A, RID-A) of step 216, ASR-B buffer memory opposite end UE-A, the follow-up like this packet that sends to UE-A, ASR-B just do not need the inquiry to LR, can directly encapsulate and send to ASR-A.
The processing procedure of packet that UE-B sends to UE-A is identical.
Can find out from the analysis of top, use AID identifying user identity in marked net, separating of identity and position realized in the position that the RID identifying user is current.Only have AID information in user equipment side, do not have RID information, namely user equipment side only has identity information, and does not have positional information; The existing subscriber identity information of network side also has the information of position, and safeguards mapping relations between the two, finishes translation function.
In Internet service, some service needed provides the Extraordinary service according to user's position, as the informations such as the on-site news of user, weather are provided for the user; Some service needed is selected suitable service node or routed path according to customer location, realize nearby service or path optimization, reduce that unnecessary path takies or circuitous, provide customer service to experience, some business also needs to obtain mobile subscriber's change in location in addition.
Such as in the internet content distribution service, at network edge a plurality of caching server (CacheServer are set, be called for short CS), network based certain control strategy is distributed to caching server with the needed resource of user (such as streaming media resource, file downloaded resources) from source server; When the user controls the node request resource to resource, resource control node is derived the user in the position of network according to user's IP address, then select one or more caching servers according to the position, and notify the user, the user is Gains resources from above-mentioned caching server, thereby has realized flow optimization, takies less the resource of backbone network as far as possible, because the network site of distance users is closer, also improved user's experience simultaneously.
But in marked net, the business relevant with the user on-position such as content distributing service, just has problems, and Fig. 3 is that content distributing network is disposed schematic diagram in marked net.
Marked network connects a plurality of edge access territory, and content distributing network is deployed with caching server in different edge access territories.UE is from input field 1 access, to resource control node request resource, owing to only containing user's identity information AID in the request, resource control this moment node can't obtain accurately on-position of user, therefore can't distribute suitable caching server nearby for the user, such as the caching server in the input field 1, or the caching server in the input field 2 nearby.If caching server is some random access nodes in addition, serve as such as subscriber equipment, resource control node also needs to instruct the network site of these caching servers.
As can be seen from the above analysis, because marked net has been introduced the thought that separate the identity position, come identity and the position of identifying user with AID and RID, but in the edge access network, only has identity information, and there is not positional information, can't satisfy professional business demand relevant to the network insertion position, therefore need the capable network location information that the user is provided for the business of its carrying of marked net.
Summary of the invention
The technical problem to be solved in the present invention provides method, access service router, location register and the location register agency who obtains positional information in a kind of marked net, solve in the edge access network and only have identity information, and do not have positional information, can't satisfy the problem of the business demand of business relevant to the network insertion position.
The invention provides the method for obtaining positional information in a kind of marked net, the method comprises:
Location register (LR) directly or indirectly receives the position acquisition request that UE sends, and obtains the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request;
Described LR sends described positional information to the UE that sends the position acquisition request.
Preferably, described position acquisition request comprises the position enquiring request;
Described LR receives the position acquisition request that UE sends indirectly, and the positional information according to the AID of the UE that carries in the described position acquisition request obtains entrained UE comprises:
Described LR receives access service router (ASR) in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of searching entrained UE according to the AID of the UE that carries in the described position acquisition request from the mapping relations of identity position;
Described LR sends described positional information to the UE that sends the position acquisition request and comprises:
Described LR sends described positional information by described ASR to the UE that sends described position acquisition request.
Preferably, described position acquisition request comprises the position enquiring request;
Described LR receives the position acquisition request that UE sends indirectly, and the positional information according to the AID of the UE that carries in the described position acquisition request obtains entrained UE comprises:
Described LR receives the LR agency in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of searching entrained UE according to the AID of the UE that carries in the described position acquisition request from the mapping relations of identity position;
Described LR sends described positional information to the UE that sends the position acquisition request and comprises:
Described LR sends described positional information by described LR agency to the UE that sends described position acquisition request.
Preferably, described position acquisition request comprises the position enquiring request;
Described LR directly receives the position acquisition request that UE sends, and the positional information according to the AID of the UE that carries in the described position acquisition request obtains entrained UE comprises:
Described LR directly receives the position acquisition request that UE sends, and after the described UE that determine to send the position acquisition request has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request;
Described LR sends described positional information to the UE that sends the position acquisition request and comprises:
Described LR directly sends described positional information to the UE that sends described position acquisition request.
Preferably, described position acquisition request comprises the position subscribe request;
Described LR receives the position acquisition request that UE sends indirectly, and the positional information according to the AID of the UE that carries in the described position acquisition request obtains entrained UE comprises:
Described LR receives the position acquisition request from the UE that sends described position acquisition request that described ASR transmits, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information;
Described LR sends described positional information to the UE that sends the position acquisition request and comprises:
Described LR by described ASR to the UE that sends described position acquisition request send current location information or change after positional information.
Preferably, described position acquisition request comprises the position subscribe request;
Described LR receives the position acquisition request that UE sends indirectly, and the positional information according to the AID of the UE that carries in the described position acquisition request obtains entrained UE comprises:
Described LR receives the position acquisition request from the UE that sends described position acquisition request that described LR agency transmits, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information;
Described LR sends described positional information to the UE that sends the position acquisition request and comprises:
Described LR acts on behalf of to the UE transmission current location information that sends described position acquisition request or the positional information after changing by described LR.
Preferably, described position acquisition request comprises the position subscribe request;
Described LR directly receives the position acquisition request that UE sends, and the positional information according to the AID of the UE that carries in the described position acquisition request obtains entrained UE comprises:
Described LR directly receives the position acquisition request that UE sends, and after the described UE that determines the request of transmission position acquisition has the authority of subscription, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information;
Described LR sends described positional information to the UE that sends the position acquisition request and comprises:
Described LR is directly to the UE transmission current location information of the described position acquisition request of transmission or the positional information after the variation.
Preferably, described LR sets up before the subscribing relationship, and described method also comprises:
Described LR or described ASR determine that the described UE that sends the position acquisition request has the subscription authority.
Preferably, described LR sets up before the subscribing relationship, and described method also comprises:
Described LR or described LR agency determine that the described UE that sends the position acquisition request has the subscription authority.
Preferably, the UE that carries in the described position acquisition request comprises the UE that sends described position acquisition request.
The present invention also provides the method for obtaining positional information in a kind of marked net, and described method comprises:
Access service router (ASR) receives the position acquisition request that UE sends, and obtains the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request;
Described ASR sends the described positional information that obtains to the UE that sends the position acquisition request.
Preferably, described position acquisition request comprises the position enquiring request;
Described ASR comprises according to the positional information of the entrained UE of access identity sign (AID) acquisition of the UE that carries in the described position acquisition request:
After the UE that described ASR determine to send described position acquisition request has search access right, the positional information of from the identity position mapping relations that preserve this locality, searching entrained UE according to the AID of the UE that carries in the described position acquisition request; Perhaps, when not preserving the identity position mapping relations of the UE that carries in the described position acquisition request in this locality, transmit described position enquiring request to location register (LR), and receive the positional information that described LR returns according to described position enquiring request; Wherein, the UE that carries in the described position acquisition request comprises the UE that sends described position acquisition request.
Preferably, described position acquisition request comprises the position subscribe request;
Described ASR comprises according to the positional information of the entrained UE of access identity sign (AID) acquisition of the UE that carries in the described position acquisition request:
After described ASR determines that the UE of the described position acquisition request of transmission has the authority of subscription, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to the positional information after described subscribing relationship acquisition current location information or the variation, wherein, the UE that carries in the described position acquisition request is for sending the UE of described position acquisition request.
Preferably, described position acquisition request comprises the position subscribe request;
Described ASR comprises according to the positional information of the entrained UE of access identity sign (AID) acquisition of the UE that carries in the described position acquisition request:
Described ASR transmits described position subscribe request to described LR, and receives the positional information that described LR returns according to described position enquiring request when determining local identity position mapping relations of not preserving the UE that carries in the described position acquisition request.
Preferably, described ASR determines that the UE of the described position acquisition request of described transmission has search access right or the subscription authority comprises:
Described ASR is according to search access right or subscription authority this locality configuration or determine UE from the position requests permissions data that the user contracting data server obtains.
The present invention also provides a kind of location register (LR), and this LR comprises:
Obtain module, be used for directly or indirectly receiving the position acquisition request that subscriber equipment (UE) sends, obtain the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request;
Sending module is used for sending described positional information to the UE that sends the position acquisition request.
Preferably, described position acquisition request comprises the position enquiring request;
Described acquisition module, for receiving access service router (ASR) in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request;
Described sending module is for sending described positional information by described ASR to the UE that sends described position acquisition request;
Perhaps
Described acquisition module, for receiving the LR agency in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request;
Described sending module is for sending described positional information by described LR agency to the UE that sends described position acquisition request;
Perhaps
Described acquisition module, for directly receiving the position acquisition request that UE sends, and after the described UE that determine to send the position acquisition request has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request;
Described sending module is for directly sending described positional information to the UE that sends described position acquisition request.
Preferably, described position acquisition request comprises the position subscribe request;
Described acquisition module is the position acquisition request from described UE of transmitting be used to receiving described ASR, sets up the subscribing relationship to the UE that carries in the described position acquisition request, according to the positional information after described subscribing relationship acquisition current location information or the variation;
Described sending module, be for by described ASR to the UE that sends described position acquisition request send current location information or change after positional information;
Perhaps
Described acquisition module is the position acquisition request from described UE of transmitting be used to receiving described LR agency, sets up the subscribing relationship to the UE that carries in the described position acquisition request, according to the positional information after described subscribing relationship acquisition current location information or the variation;
Described sending module is for acting on behalf of to the UE transmission current location information that sends described position acquisition request by described LR or the positional information after changing;
Perhaps
Described acquisition module, for directly receiving the position acquisition request that UE sends, and after the described UE that determines the request of transmission position acquisition has the authority of subscription, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information;
Described sending module is for direct UE transmission current location information to the described position acquisition request of transmission or the positional information after changing.
Preferably, the described UE that described acquisition module determine to send the position acquisition request has inquiry or subscribes to authority, be for: according to this locality configuration or determine that from the position requests authority subscription data that the user contracting data server obtains the UE that sends described position acquisition request has inquiry or subscribes to authority.
The present invention also provides a kind of access service router (ASR), and described ASR comprises:
Obtain module, be used for receiving the position acquisition request that subscriber equipment (UE) sends, obtain the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request;
Sending module is used for sending the described positional information that obtains to the UE that sends the position acquisition request.
Preferably, described position acquisition request comprises the position enquiring request;
Described acquisition module, after having search access right for the UE that determines the described position acquisition request of transmission, the positional information of from the identity position mapping relations that preserve this locality, searching entrained UE according to the AID of the UE that carries in the described position acquisition request, wherein, the UE that carries in the described position acquisition request comprises the UE that sends described position acquisition request; Perhaps
Described position acquisition request comprises the position subscribe request;
Described acquisition module, after having the authority of subscription for the UE that determines the described position acquisition request of transmission, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to the positional information after described subscribing relationship acquisition current location information or the variation, wherein, the UE that carries in the described position acquisition request is for sending the UE of described position acquisition request.
Preferably, described acquisition module, also be used for determining that the UE that sends described position acquisition request has inquiry or subscribes to authority, and during local identity position mapping relations of not preserving the UE that carries in the described position acquisition request, send described position acquisition request to location register (LR), and the positional information that receives the acquisition that described LR returns according to described position acquisition request.
Preferably, the UE that described acquisition module determine to send described position acquisition request has inquiry or subscribes to authority, be for: according to this locality configuration or determine that from the position requests authority subscription data that the user contracting data server obtains the UE that sends described position acquisition request has inquiry or subscribes to authority.
The present invention also provides a kind of location register (LR) agency, and this LR agency comprises:
Obtain module, be used for receiving the position acquisition request that subscriber equipment (UE) sends, described position acquisition request is sent to LR, and the positional information that receives the acquisition that described LR returns according to described position acquisition request;
Sending module is used for sending the described positional information that obtains to the UE that sends the position acquisition request.
Preferably, described acquisition module is for after having inquiry or subscribe to authority at the UE that determines the described position acquisition request of transmission, and described position acquisition request is sent to LR.
Preferably, the UE that described acquisition module determine to send described position acquisition request has inquiry or subscribes to authority, be for: according to this locality configuration or determine that from the position requests authority subscription data that the user contracting data server obtains the UE that sends described position acquisition request has inquiry or subscribes to authority.
The embodiment of the invention so that UE can obtain positional information, thereby satisfies professional business demand relevant to the network insertion position.
Description of drawings
Fig. 1 is the configuration diagram of existing marked net;
Fig. 2 is the existing once professional signaling process figure that finishes in marked net;
Fig. 3 is the deployment schematic diagram of existing content distributing network in marked net;
Fig. 4 is the embodiment of the invention is obtained positional information by ASR network architecture diagram;
Fig. 5 is the embodiment of the invention is obtained positional information by ASR flow chart;
Fig. 6 is the embodiment of the invention is obtained positional information without ASR network architecture diagram;
Fig. 7 is that embodiment of the invention UE is to the flow chart of the direct inquiring position information of LR;
Fig. 8 is that embodiment of the invention UE is by the flow chart of LR agency to LR inquiring position information;
Fig. 9 is that the embodiment of the invention adopts subscribing mechanism to obtain the flow chart of positional information and variation;
Figure 10 is the flow chart that the present invention realizes content distributing service embodiment.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing embodiments of the invention are elaborated.Need to prove, in the situation that do not conflict, the embodiment among the application and the feature among the embodiment be combination in any mutually.
Obtain the demand of user network position in order to satisfy user on-position related service, marked net need to have the ability to provide to subscriber equipment user's network insertion position, the subscriber equipment here mainly refers to provide professional service server for the user, but also comprise terminal equipment, no longer distinguish the general designation subscriber equipment among the following embodiment.
The invention provides the method for obtaining positional information in a kind of marked net, described method comprises:
Step 11, location register (LR) directly or indirectly receive the position acquisition request that UE sends, and obtain the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request;
Step 12, described LR send described positional information to the UE that sends the position acquisition request.
Above-mentioned steps 11-12 has following several implementation:
First kind of way: described position acquisition request comprises the position enquiring request; Described LR receives the position acquisition request that UE sends indirectly, obtain the positional information of entrained UE according to the AID of the UE that carries in the described position acquisition request, comprise: described LR receives access service router (ASR) in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of searching entrained UE according to the AID of the UE that carries in the described position acquisition request from the mapping relations of identity position; Described LR sends described positional information to the UE that sends the position acquisition request and comprises: described LR sends described positional information by described ASR to the UE that sends described position acquisition request.
As shown in Figure 4, it is the embodiment of the invention is obtained positional information by ASR network architecture diagram, network in the present embodiment comprises subscriber equipment (UE) 401, access service router (ASR) 402, location register (LR) 403, and the interface I2 between the interface I1 between UE401 and the ASR 402, ASR 402 and the LR 403.
The I1 interface uses Access Network agreement (such as the non-interface control protocol of Access Network), or internet management agreement (such as the internet management agreement), or application layer protocol (such as http protocol) is realized.
Wherein, UE is used for according to service needed, uses the identify label of wanting inquiring user to the ASR launch position query requests that accesses, and carries out corresponding service logic according to the result of inquiry.UE inquiry oneself or other users' positional information.
ASR, be used for the request according to UE, this locality preserve or the AID of buffer memory and RID mapping relations in RID corresponding to query requests designated user identity AID, if do not inquire, then ASR is to the request of LR forwarding inquiries, and then the Query Result with this locality or LR returns to UE.
In order to guarantee the customer location privacy, ASR need to check UE position enquiring authority, if having, proceed subsequent query and process, otherwise the refusing user's inquiry.
Search access right data configuration on the ASR can be local configuration, also can (such as home subscriber server) obtain from the user data subscribed services device.
LR according to position enquiring request search the mapping relations of AID and the RID of preservation, and return Query Result.
In addition, the present invention also provides the method for obtaining positional information in a kind of marked net, and described method comprises:
Step 21, access service router (ASR) receive the position acquisition request that UE sends, and obtain the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request;
Step 22, described ASR send the described positional information that obtains to the UE that sends the position acquisition request.
As shown in Figure 5, it is the embodiment of the invention is obtained positional information by ASR flow chart, described the situation that ASR directly obtains positional information (corresponding to step 21-22) and indirectly obtains positional information (corresponding to above-mentioned first kind of way) among this embodiment, this acquisition process comprises:
Step 501, UE carry out the service logic relevant with the network insertion position, need to be according to user identity AID inquiring user position RID;
The user that wherein will inquire about may be UE self, also can be other UE.
Step 502, UE send the position enquiring request to the ASR that accesses, and carry the AID of the inquiring user of wanting;
Step 503, ASR check according to the position enquiring permissions data whether UE has search access right, if having, then continues subsequent step, otherwise return the refusal response, but and explicitly notice Reason For Denial;
Step 504, ASR inquire about local AID-RID mapping relations, comprise local preservation local terminal AID-RID mapping relations, and/or the opposite end AID-RID mapping relations of local cache.If query hit then directly jumps to step 508, return the RID that inquires; If do not hit, then execution in step 505;
Step 505, ASR send the position enquiring request to LR, carry the AID of the inquiring user of wanting;
Step 506, LR obtain corresponding RID according to the inquiry of the AID in query requests AID-RID mapping relations table;
Step 507, LR return inquiry response to ASR, carry RID;
Step 508, ASR return inquiry response to UE, carry RID.
The second way: described position acquisition request comprises the position enquiring request; Described LR receives the position acquisition request that UE sends indirectly, obtain the positional information of entrained UE according to the AID of the UE that carries in the described position acquisition request, comprise: described LR receives the LR agency in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of searching entrained UE according to the AID of the UE that carries in the described position acquisition request from the mapping relations of identity position; Described LR sends described positional information to the UE that sends the position acquisition request and comprises: described LR sends described positional information by described LR agency to the UE that sends described position acquisition request.
The third mode: described position acquisition request comprises the position enquiring request; Described LR directly receives the position acquisition request that UE sends, obtain the positional information of entrained UE according to the AID of the UE that carries in the described position acquisition request, comprise: described LR directly receives the position acquisition request that UE sends, and after the described UE that determine to send the position acquisition request has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request; Described LR sends described positional information to the UE that sends the position acquisition request and comprises: described LR directly sends described positional information to the UE that sends described position acquisition request.
As shown in Figure 6, it is the embodiment of the invention is obtained positional information without ASR network architecture diagram, network in the present embodiment comprises UE 601, LR 602 and location register agency (LR Proxy) 603, and the interface I1 between UE 601 and the LR602, interface I2 between UE 601 and the LR agency 603, the interface I3 between LR agency 603 and the LR602.
UE, be used for according to service needed, using wants the identify label of inquiring user directly to LR 602 launch position query requests, or pass through LR Proxy 603 to LR 602 launch position query requests, inquire about own or other users' station location marker, and carry out corresponding service logic according to the result of inquiry.
LR is used for according to position enquiring request and searches the mapping relations of AID and the RID of preservation, and returns Query Result and return;
If the situation of the direct query requests of UE needs further according to the authority of search access right data checks UE, judge whether the user has search access right.
The LR agency is used for carrying out user's search access right and selects and the query messages forwarding capability; When receiving query requests, check the authority of UE, if UE has search access right, send to UE then to the request of LR forwarding inquiries, and with the Query Result that LR returns, otherwise the query requests of refusal UE.
As shown in Figure 7, be embodiment of the invention UE to the flow chart of the direct inquiring position information of LR, this embodiment is described for the third mode, this query script comprises:
Step 701, UE carry out the service logic relevant with the network insertion position, need to be according to user identity AID inquiring user position RID;
Wherein needing the user who inquires about may be UE self, also can be other UE.
Step 702, UE directly send to LR and want query requests, carry the AID of the inquiring user of wanting;
Step 703, LR check according to the position enquiring permissions data whether UE has the authority of inquiring position, if having, then continues subsequent step, otherwise return the refusal response, but and explicitly notice Reason For Denial;
Step 704, LR obtain corresponding RID according to the inquiry of the AID in query requests AID-RID mapping relations table;
Step 705, ASR return inquiry response to UE, carry RID.
As shown in Figure 8, be embodiment of the invention UE by the flow chart of LR agency to LR inquiring position information, this embodiment is described for the second way, and this query script comprises:
Step 801, UE carry out the service logic relevant with the network insertion position, need to be according to user identity AID inquiring user position RID;
Wherein needing the user who inquires about may be UE self, also can be other UE.
Step 802, UE directly send to the LR agency and want query requests, carry the AID of the inquiring user of wanting;
Step 803, LR agency checks according to the position enquiring permissions data whether UE has search access right, if having, then continues subsequent step, otherwise returns the refusal response, but and explicitly notice Reason For Denial;
Step 804, LR agency send the position enquiring request to LR, carry the AID of used inquiring user;
Step 805, LR obtain corresponding RID according to the inquiry of the AID in query requests AID-RID mapping relations table;
Step 806, LR return inquiry response to the LR agency, carry RID;
Step 807, LR agency return inquiry response to UE, carry RID.
When the variation of service needed perception customer location, can further adopt the mode of subscription to obtain the variation of customer location based on Fig. 4 and scheme shown in Figure 6.
Particularly, described position acquisition request comprises the position subscribe request; Described LR receives the position acquisition request that UE sends indirectly, obtain the positional information of entrained UE according to the AID of the UE that carries in the described position acquisition request, comprise: described LR receives the position acquisition request from described UE that described ASR transmits, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information; Described LR sends described positional information to the UE that sends the position acquisition request and comprises: described LR sends positional information after current location information or the variation by described ASR to the UE that sends described position acquisition request.
Perhaps, described position acquisition request comprises the position subscribe request; Described LR receives the position acquisition request that UE sends indirectly, obtain the positional information of entrained UE according to the AID of the UE that carries in the described position acquisition request, comprise: described LR receives the position acquisition request from described UE that described LR agency transmits, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information; Described LR sends described positional information to the UE that sends the position acquisition request and comprises: described LR acts on behalf of to the UE transmission current location information that sends described position acquisition request or the positional information after changing by described LR.
Perhaps, described position acquisition request comprises the position subscribe request; Described LR directly receives the position acquisition request that UE sends, obtain the positional information of entrained UE according to the AID of the UE that carries in the described position acquisition request, comprise: described LR directly receives the position acquisition request that UE sends, and after the described UE that determines the request of transmission position acquisition has the authority of subscription, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information; Described LR sends described positional information to the UE that sends the position acquisition request and comprises: described LR is directly to the UE transmission current location information of the described position acquisition request of transmission or the positional information after the variation.
As shown in Figure 9, be that the embodiment of the invention adopts subscribing mechanism to obtain the flow chart of positional information and variation, this acquisition process comprises:
Step 901, UE carry out the service logic relevant with the network insertion position, the variation that need to obtain according to user identity AID customer location RID and position RID;
Wherein needing the user who inquires about may be UE self, also can be other UE.
If step 902 adopts UE and the direct-connected mode of LR in the scheme shown in Figure 6, UE sends subscribe request to LR, carries the AID that will subscribe to, and then execution in step 906; Or
UE is by the ASR inquiry mode in the scheme shown in Figure 4 if step 903 adopts, and UE sends subscribe request to ASR, carries the AID that will subscribe to;
UE is by LR agency's indirect joint mode in the scheme shown in Figure 6 if adopt, and UE sends subscribe request to the LR agency, carries the AID that will subscribe to.
Here can be referred to as subscription agent to ASR and LR agency.
Step 904, ASR or LR agency check the authority that the UE positional information is subscribed to, if the subscription authority is arranged, then continue subsequent step, otherwise return the refusal response, but and the display notification Reason For Denial;
This function also can be carried out at LR, and the subscription scope check function on ASR or the LR agency is optional at this moment.
Step 905, ASR or LR agency are transmitted to LR with the positional information subscribe request;
Step 906, LR check the authority that user UE positional information is subscribed to, if authority is arranged, then continue subsequent step, otherwise return the refusal response, but and the display notification Reason For Denial;
If ASR or LR act on behalf of executing location information subscribing scope check function, then do not need the subscription scope check function of LR.
Step 907, LR set up UE and are queried positional information subscribing relationship between the user;
If step 908 adopts UE and the direct-connected mode of LR in the scheme shown in Figure 6, LR directly returns the subscription success response to UE;
If the mode of UE and LR indirect joint in step 909~910 employing Fig. 4 or the scheme shown in Figure 6, LR returns the subscription success response by ASR or LR agency to UE;
Step 911, set up subscribing relationship when first, or notified ordered user's positional information and customer position information to change, LR inquiring user current location information RID then, launch position information notice flow process;
If step 912 adopts UE and the direct-connected mode of LR in the scheme shown in Figure 6, LR sends location information notification to UE, carries positional information RID;
If the mode of UE and LR indirect joint in step 913~914 employing Fig. 4 or the scheme shown in Figure 6, LR sends location information notification by ASR or LR agency to UE, carries positional information RID.
Above-mentioned subscribing relationship can initiatively be cancelled by UE, is perhaps initiatively cancelled by LR, also can determine to subscribe to the term of validity in setting up process, when the term of validity to after the relation of cancelling subscriptions.
If adopt scheme shown in Figure 4, and the position of UE subscription self, can further optimize.Because the identity position subscribing relationship of this UE being arranged among the ASR, therefore can set up subscribing relationship at ASR, and need to not set up subscribing relationship at LR, set up subscribing relationship first, or the subsequent user position is when changing, ASR directly to UE launch position information notice, carries the current positional information RID of this UE.
Obtain the method for positional information in the above-mentioned marked net, use inquiry or subscribing manner from network equipment ASR or LR, to obtain the method for positional information by UE, and introduced in inquiry or subscription scope check function, thereby guarantee the network insertion position that UE can obtain the user, satisfied and the location-dependent services demand, guaranteed again user's location privacy simultaneously.
As shown in figure 10, be the flow chart that the present invention realizes content distributing service embodiment, suppose the caching server shown in the figure more near the network site of UE, this implementation procedure comprises:
Step 1001, UE need to obtain content, to the source server transmission service request of content distributing network;
Step 1002, source server find that the user is the marked net user, then initiatively call the position acquisition flow process of the embodiment of the invention, obtain user's positional information RID;
Step 1003, source server and resource management server are mutual, determine customer location according to RID, select suitable caching server;
Step 1004, source server return redirect response, carry the information of the buffer server of selection;
Step 1005, UE send service request to caching server again.
Can find out from above-mentioned flow process, the location acquiring method that the application of the invention embodiment provides, content distributing network can be the suitable node of user selection, realizes the demands such as access, flow optimization nearby.
The embodiment of the invention also provides a kind of location register (LR), this LR comprises acquisition module and sending module, this obtains module, be used for directly or indirectly receiving the position acquisition request that subscriber equipment (UE) sends, obtain the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request; This sending module is used for sending described positional information to the UE that sends the position acquisition request.
Wherein, described position acquisition request comprises position enquiring request and position subscribe request.
When described position acquisition request is the position enquiring request, described acquisition module, for receiving access service router (ASR) in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request; Described sending module is for sending described positional information by described ASR to the UE that sends described position acquisition request; Perhaps described acquisition module, for receiving the LR agency in the position acquisition request from described UE of determining to transmit after described UE has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request; Described sending module is for sending described positional information by described LR agency to the UE that sends described position acquisition request; Perhaps described acquisition module, for directly receiving the position acquisition request that UE sends, and after the described UE that determine to send the position acquisition request has search access right, the positional information of from the mapping relations of identity position, searching entrained UE according to the AID of the UE that carries in the described position acquisition request; Described sending module is for directly sending described positional information to the UE that sends described position acquisition request.
When described position acquisition request is the position subscribe request, described acquisition module, it is the position acquisition request from described UE of transmitting be used to receiving described ASR, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information; Described sending module, be for by described ASR to the UE that sends described position acquisition request send current location information or change after positional information; Perhaps described acquisition module, it is the position acquisition request from described UE of transmitting be used to receiving described LR agency, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information; Described sending module is for acting on behalf of to the UE transmission current location information that sends described position acquisition request by described LR or the positional information after changing; Perhaps described acquisition module, for directly receiving the position acquisition request that UE sends, and after the described UE that determines the request of transmission position acquisition has the authority of subscription, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to described subscribing relationship obtain current location information or change after positional information; Described sending module is for direct UE transmission current location information to the described position acquisition request of transmission or the positional information after changing.
Further, the described UE that described acquisition module determine to send the position acquisition request has inquiry or subscribes to authority, be for: according to this locality configuration or determine that from the position requests authority subscription data that the user contracting data server obtains the UE that sends described position acquisition request has inquiry or subscribes to authority.
Above-mentioned LR by mutual with other equipment such as UE, ASR or LR agency, can send to corresponding UE with the positional information of the subscriber equipment that obtains, and its implementation procedure can referring to Fig. 5, Fig. 7, Fig. 8 and Fig. 9, repeat no more herein.
The embodiment of the invention also provides a kind of access service router (ASR), described ASR comprises acquisition module and sending module, this obtains module, be used for receiving the position acquisition request that subscriber equipment (UE) sends, obtain the positional information of entrained UE according to the access identity sign (AID) of the UE that carries in the described position acquisition request; This sending module is used for sending the described positional information that obtains to the UE that sends the position acquisition request.
Wherein, described position acquisition request can be the position enquiring request; Described acquisition module, after having search access right for the UE that determines the described position acquisition request of transmission, the positional information of from the identity position mapping relations that preserve this locality, searching entrained UE according to the AID of the UE that carries in the described position acquisition request, wherein, the UE that carries in the described position acquisition request comprises the UE that sends described position acquisition request.
In addition, described position acquisition request can be the position subscribe request; Described acquisition module, after having the authority of subscription for the UE that determines the described position acquisition request of transmission, foundation is to the subscribing relationship of the UE that carries in the described position acquisition request, according to the positional information after described subscribing relationship acquisition current location information or the variation, wherein, the UE that carries in the described position acquisition request is for sending the UE of described position acquisition request.
Further, described acquisition module, also be used for determining that the UE that sends described position acquisition request has inquiry or subscribes to authority, and during local identity position mapping relations of not preserving the UE that carries in the described position acquisition request, send described position acquisition request to location register (LR), and the positional information that receives the acquisition that described LR returns according to described position acquisition request.Preferably, the UE that described acquisition module determine to send described position acquisition request has inquiry or subscribes to authority, be for: according to this locality configuration or determine that from the position requests authority subscription data that the user contracting data server obtains the UE that sends described position acquisition request has inquiry or subscribes to authority.
Above-mentioned ASR, mutual by with other equipment such as UE, LR etc., with own that obtain or send to corresponding subscriber equipment from the positional information of the subscriber equipment of LR acquisition, its implementation procedure can referring to Fig. 5 and Fig. 9, repeat no more herein.
The embodiment of the invention also provides a kind of location register (LR) agency, this LR agency comprises acquisition module and sending module, this obtains module, be used for receiving the position acquisition request that subscriber equipment (UE) sends, described position acquisition request is sent to LR, and the positional information that receives the acquisition that described LR returns according to described position acquisition request; This sending module is used for sending the described positional information that obtains to the UE that sends the position acquisition request.
Wherein, described acquisition module is for after having inquiry or subscribe to authority at the UE that determines the described position acquisition request of transmission, and described position acquisition request is sent to LR.
Further, the UE that described acquisition module determine to send described position acquisition request has inquiry or subscribes to authority, be for: according to this locality configuration or determine that from the position requests authority subscription data that the user contracting data server obtains the UE that sends described position acquisition request has inquiry or subscribes to authority.
Above-mentioned LR agency, mutual by with other equipment such as UE, LR etc., the positional information of the subscriber equipment that will obtain from LR sends to corresponding subscriber equipment, and its implementation procedure can referring to Fig. 7 and Fig. 9, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of step in the said method can come the instruction related hardware to finish by program, said procedure can be stored in the computer-readable recording medium, such as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.