The method and access service router of positional information are obtained in mark net
Technical field
The present invention relates to obtaining the method for positional information in data communication technology field, more particularly to a kind of mark net, connecing
Enter service router, location register and location register agency.
Background technology
Internet extensive use, and huge success is achieved, but exist in the network architecture and agreement
Defect, is mainly reflected in:
Mobility support to terminal is not enough, and prior art has route detour problem;
Do not support that user identity and network site separate;
There is safety problem, it is impossible to ensure customer location privacy etc..
Mark net is a kind of new internet technique, introduces the thought that identity position is separate, and supports mobile access eventually
Each user is owned by unique permanent identification in end mobility and continuity, especially mark net, and user accesses every time
When network be required for verifying identity that therefore network ensure that the authenticity and reliability of this identity.It is based on
This unique reliable identity, can set up Identity Management system, carry out the business based on user identity management, improve net
Network safety.
The general principle for identifying net is the identity fixed for user equipment allocation, and identity mark is used between user equipment
Know and communicated instead of Internet protocol of the prior art (Internet Protocol, abbreviation IP) address, and by positioned at mutual
The station location marker of the access service distributing user at networking edge, is route, and complete User Identity using station location marker
Mapping and conversion and station location marker between,
Fig. 1 shows the framework of mark net, is described as follows for each entity in Fig. 1:
User equipment 101 (User Equipment, abbreviation UE), the user equipment for supporting Internet protocol to access, including
Mobile grouping field access terminal, support wireless local function terminal, fixed access terminal etc., still further comprise application server
Equipment is provided etc. business.UE identifies (Access Identity, abbreviation AID) and replaces IP address, same net using user's access identity
Network other users equipment, business are provided and communicated.
Access service router 102 (Access Service Router, abbreviation ASR), is the access network where UE 101
Interface equipment between network and internet, is responsible for certification, customer location mark (the Routing Identity, abbreviation of UE 101
RID) management, AID and RID mapping and change, and user data the function such as encapsulation/deblocking, forwarding.
Generic router 103 (Common Router, abbreviation CR), completes the calculating of Routing Protocol, and forward according to RID
Packet.
Location register 104 (Location Register, abbreviation LR), preserves the mapping relations between AID and RID, carries
For query function, it is possible to provide packet forwarding capability.
Fig. 2 is a business procedure in mark net, it is assumed that UE-A is client, and UE-B is service end, including following step
Suddenly:
Step 201, UE-A are successfully registered to the ASR-A of access area, including attachment, certification, authentication, and AID
Assigning process, detailed process depends on access network.Wherein AID can also be realized based on terminal static configuration mode;
Step 202, ASR-A be UE-A distribute RID, and to LR send address of cache circular message, wherein carry RID and
The mapping relations of AID, 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 are also locally preserving the identity position mapping relations (AID-A, RID-A) of this end subscriber UE-A;
Step 204~206, UE-B are linked into ASR-B, and ASR-B circulates a notice of the mapping relations of the RID and AID of UE-B, LR to LR
The corresponding identity position mapping relations (AID-B, RID-B) of UE-B are preserved, ASR-B is also locally preserving the body of this end subscriber UE-B
Part position mapping relations (AID-B, RID-B);
UE-A and UE-B can not be same access technology.
If step 207, UE-A need and UE-B is communicated, with the identity AID-A of oneself as source address, right
The identity at end is purpose address, builds IP packets, is sent to ASR-A;
{ source address=AID-A, destination address=AID-B, data load }
The purpose AID-B inquiry opposite end identity position mapping relations cache tables of step 208, ASR-A in packet, look into
Whether inquiry is the presence of the corresponding mapping relations of AID-B, if inquiry is without hit, performs step 209, otherwise performs step 214;
If the user that UE-A or ASR-A are accessed communicated in the recent period with UE-B, may there be (AID- in ASR-A
B, RID-B) mapping relations caching.
Step 209, ASR-A send position enquiring and ask to LR, the corresponding positional informations of inquiry opposite end identity AID-B;
The AID-RID mapping tables that step 210, LR inquiries are preserved, obtain the corresponding RID-B of AID-B;
Step 211, LR return to inquiry response to ASR-A, carry Query Result RID-B;
Step 212, ASR-A encapsulated data packets are simultaneously sent to ASR-B by generic router;
Packaged type is that the station location marker RID-B of UE-B is used as destination using UE-A station location markers RID-A as source address
Location, and the raw data packets such as AID-A and AID-B and data load as the new data load for building packet will be contained;
{ source address=RID-A, destination address=RID-B, data load { AID-A, AID-B, initial data load } }
Step 213, ASR-A cache the identity position mapping relations (AID-B, RID-B) of opposite end, are so subsequently sent to
UE-B data, ASR-B avoids the need for being inquired about to LR, it is possible to directly encapsulate and be sent to ASR-B;
After ASR-B is connected to packet, step 215 is performed.
If there being the mapping relations of peer user AID-B and RID-B in step 214, ASR, step 208 inquiry opposite end
Hit when identity position mapping relations are cached, ASR-A encapsulated data packets are simultaneously sent to ASR-B by generic router;
Step 215, ASR-B deblocking packet, be reduced into UE-A transmission initial packet, obtain AID-B and
The mapping relations of AID-A and RID-A, then deliver a packet to UE-B according to AID-B;
{ AID-A, AID-B, data load }
Step 216, ASR-B cache the identity position mapping relations (AID-A, RID-A) of opposite end UE-A, so follow-up to send
To the packet of UE-A, ASR-B avoids the need for being inquired about to LR, can directly encapsulate and be sent to ASR-A.
The processing procedure that UE-B is sent to the packet of UE-A is identical.
Be can be seen that from the analysis of top and use AID to identify user identity in net is identified, RID mark users are current
Position, realizes the separation of identity and position.There was only AID information in user equipment side, there is no RID information, i.e. user equipment side
Only identity information, without positional information;The existing subscriber identity information of network side, also has the information of position, and safeguard both
Between mapping relations, complete translation function.
In Internet service, some service neededs provide personalized service according to the position of user, such as user carries
The informations such as news, weather for user location;Some service neededs select suitable service node according to customer location
Or routed path, service or path optimization nearby are realized, reduce unnecessary path and take or roundabout, there is provided customer service body
Test, some business also need to obtain the change in location of mobile subscriber in addition.
Such as in internet content distribution service, network edge set multiple caching servers (CacheServer,
Abbreviation CS), resource (such as streaming media resource, file download resource) of the network according to required for certain control strategy by user from
Source server is distributed to caching server;When user asks resource to resource control node, resource control node is according to user
IP address derive user in the position of network, one or more caching servers are then selected according to position, and notify to use
Family, user obtains resource from above-mentioned caching server, it is achieved thereby that flow optimization, takes the resource of backbone network less as far as possible,
Simultaneously because the network site of distance users is closer, Consumer's Experience is also improved.
But in net is identified, the business relevant with user on-position, such as content distributing service there is problem, and Fig. 3 is
Content distributing network disposes schematic diagram in net is identified.
Mark network connection multiple edge access domain, content distributing network is deployed with caching clothes in different edge access domains
Business device.UE is accessed from input field 1, resource is asked to resource control node, due to comprising only the identity information of user in request
AID, now resource control node cannot obtain the accurate on-position of user, therefore cannot nearby distribute suitable slow for user
Deposit server, such as caching server in input field 1, or the caching server in input field 2 nearby.If other buffer service
Device is some Stochastic accessing nodes, and such as user equipment serves as, and resource control node is also required to instruct the net of these caching servers
Network position.
As can be seen from the above analysis, the thought of identity position separation is introduced due to mark net, is come using AID and RID
Identify user identity and position, but in edge access network only have identity information, without positional information, it is impossible to meet with
Business demand of the network insertion position about business, it is therefore desirable to identify the net that the business that net has the ability to be carried for it provides user
Network positional information.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method, access service road for identifying acquisition positional information in net
Acted on behalf of by device, location register and location register, solve there was only identity information in edge access network, without position letter
Breath, it is impossible to meet the problem about the business demand of business with network insertion position.
The invention provides a kind of method for identifying acquisition positional information in net, the method includes:
Location register (LR) directly or indirectly receives the position acquisition request that UE sends, and is asked according to the position acquisition
Access identity mark (AID) of the UE of middle carrying obtains the positional information of entrained UE;
The LR sends the positional information to the UE for sending position acquisition request.
Preferably, the position acquisition request includes that position enquiring is asked;
The position acquisition request that the LR indirectly receives UE sends, according to the UE's carried in position acquisition request
AID obtains the positional information of entrained UE, including:
The LR receive access service router (ASR) it is determined that forwarded after the UE has search access right from described
The position acquisition request of UE, the AID according to the UE carried in position acquisition request is searched from identity position mapping relations
The positional information of entrained UE;
The LR sends the positional information to the UE for sending position acquisition request to be included:
The LR sends the positional information by the ASR to the UE for sending the position acquisition request.
Preferably, the position acquisition request includes that position enquiring is asked;
The position acquisition request that the LR indirectly receives UE sends, according to the UE's carried in position acquisition request
AID obtains the positional information of entrained UE, including:
The LR receives LR agencies it is determined that the position acquisition from the UE forwarded after the UE has search access right
Request, the AID according to the UE carried in position acquisition request searches entrained UE's from identity position mapping relations
Positional information;
The LR sends the positional information to the UE for sending position acquisition request to be included:
The LR is acted on behalf of by the LR and is sent the positional information to the UE for sending the position acquisition request.
Preferably, the position acquisition request includes that position enquiring is asked;
The LR directly receives the position acquisition request of UE transmissions, according to the UE's carried in position acquisition request
AID obtains the positional information of entrained UE, including:
The LR directly receives the position acquisition request of UE transmissions, and it is determined that sending the UE tools of position acquisition request
After having search access right, the AID according to the UE carried in position acquisition request is searched from identity position mapping relations and taken
The positional information of the UE of band;
The LR sends the positional information to the UE for sending position acquisition request to be included:
The LR directly sends the positional information to the UE for sending the position acquisition request.
Preferably, the position acquisition request includes that request is subscribed in position;
The position acquisition request that the LR indirectly receives UE sends, according to the UE's carried in position acquisition request
AID obtains the positional information of entrained UE, including:
The LR receives the position acquisition request from the UE for sending the position acquisition request of the ASR forwardings, builds
The subscribing relationship of the UE carried in the vertical request to the position acquisition, current location information or change are obtained according to the subscribing relationship
Positional information after change;
The LR sends the positional information to the UE for sending position acquisition request to be included:
The LR is after the ASR sends current location information or change to the UE for sending the position acquisition request
Positional information.
Preferably, the position acquisition request includes that request is subscribed in position;
The position acquisition request that the LR indirectly receives UE sends, according to the UE's carried in position acquisition request
AID obtains the positional information of entrained UE, including:
The LR receives the position acquisition request from the UE for sending the position acquisition request of the LR agencies forwarding,
Set up to the position acquisition ask in carry UE subscribing relationship, according to the subscribing relationship obtain current location information or
Positional information after change;
The LR sends the positional information to the UE for sending position acquisition request to be included:
The LR is acted on behalf of by the LR and is sent current location information or change to the UE for sending the position acquisition request
Positional information afterwards.
Preferably, the position acquisition request includes that request is subscribed in position;
The LR directly receives the position acquisition request of UE transmissions, according to the UE's carried in position acquisition request
AID obtains the positional information of entrained UE, including:
The LR directly receives the position acquisition request of UE transmissions, and it is determined that sending the UE tools of position acquisition request
After having subscription authority, the subscribing relationship of the UE carried in asking the position acquisition is set up, obtained according to the subscribing relationship
Positional information after current location information or change;
The LR sends the positional information to the UE for sending position acquisition request to be included:
Believe position after the LR directly sends current location information or from change to the UE for sending the position acquisition request
Breath.
Preferably, before the LR sets up subscribing relationship, methods described also includes:
The LR or described ASR determine that the UE for sending position acquisition request has and subscribe to authority.
Preferably, before the LR sets up subscribing relationship, methods described also includes:
The LR or described LR agencies determine that the UE for sending position acquisition request has and subscribe to authority.
Preferably, the UE for being carried in the position acquisition request includes sending the UE of the position acquisition request.
Present invention also offers a kind of method for identifying acquisition positional information in net, methods described includes:
Access service router (ASR) receives the position acquisition request that UE sends, and is taken according in position acquisition request
Access identity mark (AID) of the UE of band obtains the positional information of entrained UE;
The ASR is to the positional information for sending the UE transmission acquisitions that position acquisition is asked.
Preferably, the position acquisition request includes that position enquiring is asked;
Access identity mark (AID) of the UE that the ASR is carried in being asked according to the position acquisition obtains entrained
The positional information of UE includes:
After the ASR determines that the UE for sending the position acquisition request has search access right, please according to the position acquisition
Ask the AID of the UE of carrying that the positional information of entrained UE is searched from the local identity position mapping relations for preserving;Or,
In the identity position mapping relations of the UE carried in not preserving the position acquisition request locally, to location register (LR)
Forward the position enquiring to ask, and receive the positional information that the LR is returned according to position enquiring request;Wherein, it is described
The UE carried in position acquisition request includes sending the UE of the position acquisition request.
Preferably, the position acquisition request includes that request is subscribed in position;
Access identity mark (AID) of the UE that the ASR is carried in being asked according to the position acquisition obtains entrained
The positional information of UE includes:
After the ASR determines that the UE for sending the position acquisition request has subscription authority, set up to the position acquisition
The subscribing relationship of the UE carried in request, the positional information after obtaining current location information or change according to the subscribing relationship,
Wherein, the UE for being carried in the position acquisition request is the UE for sending the position acquisition request.
Preferably, the position acquisition request includes that request is subscribed in position;
Access identity mark (AID) of the UE that the ASR is carried in being asked according to the position acquisition obtains entrained
The positional information of UE includes:
The ASR is it is determined that the local identity position mapping relations for not preserving the UE carried in the position acquisition request
When, forward the position to subscribe to request to the LR, and receive the position letter that the LR is returned according to position enquiring request
Breath.
Preferably, the ASR determines that the UE for sending the position acquisition request has search access right or subscribes to authority
Including:
The ASR is true according to position requests permissions data that is being locally configured or being obtained from user contracting data server
Determine the search access right of UE or subscribe to authority.
Present invention also offers a kind of location register (LR), the LR includes:
Module is obtained, for directly or indirectly receiving the position acquisition request that user equipment (UE) sends, according to institute's rheme
Access identity mark (AID) for putting the UE for obtaining carrying in request obtains the positional information of entrained UE;
Sending module, for sending the positional information to the UE for sending position acquisition request.
Preferably, the position acquisition request includes that position enquiring is asked;
The acquisition module, is for receiving access service router (ASR) after it is determined that the UE has search access right
Position acquisition from the UE request of forwarding, the AID according to the UE carried in position acquisition request is from identity position
The positional information of entrained UE is searched in mapping relations;
The sending module, is for sending the position to the UE for sending the position acquisition request by the ASR
Information;
Or
The acquisition module, be for receive LR agency it is determined that after the UE has search access right forward from described
The position acquisition request of UE, the AID according to the UE carried in position acquisition request is searched from identity position mapping relations
The positional information of entrained UE;
The sending module, is for being acted on behalf of to the UE transmissions institute rheme for sending the position acquisition request by the LR
Confidence ceases;
Or
The acquisition module, is the position acquisition request for directly receiving UE transmissions, and it is determined that sending position acquisition
After the UE of request has search access right, the AID according to the UE carried in position acquisition request maps from identity position
The positional information of entrained UE is searched in relation;
The sending module, is for directly sending the positional information to the UE for sending the position acquisition request.
Preferably, the position acquisition request includes that request is subscribed in position;
The acquisition module, is the request of the position acquisition from the UE for receiving the ASR forwardings, is set up to institute
The subscribing relationship of the UE carried in position acquisition request is stated, after obtaining current location information or change according to the subscribing relationship
Positional information;
The sending module, is for sending current location to the UE for sending the position acquisition request by the ASR
Positional information after information or change;
Or
The acquisition module, is the request of the position acquisition from the UE for receiving the LR agencies forwarding, is set up
The subscribing relationship of the UE carried in asking the position acquisition, current location information or change are obtained according to the subscribing relationship
Positional information afterwards;
The sending module, is for being acted on behalf of to the UE transmission present bits for sending the position acquisition request by the LR
Positional information after confidence breath or change;
Or
The acquisition module, is the position acquisition request for directly receiving UE transmissions, and it is determined that sending position acquisition
After the UE of request has subscription authority, the subscribing relationship of the UE carried in asking the position acquisition is set up, according to institute
State the positional information after subscribing relationship obtains current location information or change;
The sending module, is for directly sending current location information or change to the UE for sending the position acquisition request
Positional information after change.
Preferably, the module that obtains determines to send that the UE of position acquisition request, with inquiring about or subscribing to authority, is
For:Determine to send according to position requests authority subscription data that is being locally configured or being obtained from user contracting data server
The UE of the position acquisition request has inquiry or subscribes to authority.
Present invention also offers a kind of access service router (ASR), the ASR includes:
Module is obtained, the position acquisition request for receiving user equipment (UE) transmission is asked according to the position acquisition
Access identity mark (AID) of the UE of middle carrying obtains the positional information of entrained UE;
Sending module, for the positional information for sending the UE transmission acquisitions that position acquisition is asked.
Preferably, the position acquisition request includes that position enquiring is asked;
The acquisition module, is after the UE for sending the position acquisition request for determination has search access right, according to institute
The AID for stating the UE carried in position acquisition request searches the position of entrained UE from the local identity position mapping relations for preserving
Confidence ceases, wherein, the UE carried in the position acquisition request includes sending the UE of the position acquisition request;Or
The position acquisition request includes that request is subscribed in position;
The acquisition module, is after the UE for sending the position acquisition request for determination has subscription authority, to set up right
The subscribing relationship of the UE carried in the position acquisition request, after obtaining current location information or change according to the subscribing relationship
Positional information, wherein, the UE carried in position acquisition request is the UE for sending the position acquisition request.
Preferably, the acquisition module, is additionally operable to it is determined that the UE for sending the position acquisition request has inquiry or orders
Authority is read, and during the identity position mapping relations of the local UE for not preserving carrying in the position acquisition request, is posted to position
Storage (LR) sends the position acquisition request, and the position for receiving the acquisition that the LR is returned according to position acquisition request
Confidence ceases.
Preferably, the module that obtains determines to send that the UE of the position acquisition request, with inquiring about or subscribing to authority, is
For:Determine to send according to position requests authority subscription data that is being locally configured or being obtained from user contracting data server
The UE of the position acquisition request has inquiry or subscribes to authority.
Present invention also offers a kind of location register (LR) agency, LR agencies include:
Module is obtained, the position acquisition request for receiving user equipment (UE) transmission asks the position acquisition to send out
Give LR, and the positional information for receiving the acquisition that the LR is returned according to position acquisition request;
Sending module, for the positional information for sending the UE transmission acquisitions that position acquisition is asked.
Preferably, the acquisition module, is for it is determined that the UE for sending the position acquisition request has inquiry or orders
After readding authority, position acquisition request is sent to LR.
Preferably, the module that obtains determines to send that the UE of the position acquisition request, with inquiring about or subscribing to authority, is
For:Determine to send according to position requests authority subscription data that is being locally configured or being obtained from user contracting data server
The UE of the position acquisition request has inquiry or subscribes to authority.
The embodiment of the present invention so that UE can obtain positional information, so as to meet business relevant with network insertion position
Business demand.
Brief description of the drawings
Fig. 1 is the configuration diagram of existing mark net;
Fig. 2 is an existing signaling process figure for business of completion in net is identified;
Fig. 3 is deployment schematic diagram of the existing content distributing network in net is identified;
Fig. 4 is the network architecture diagram that the embodiment of the present invention obtains positional information by ASR;
Fig. 5 is the flow chart that the embodiment of the present invention obtains positional information by ASR;
Fig. 6 is the network architecture diagram that the embodiment of the present invention obtains positional information without ASR;
Fig. 7 is flow charts of the embodiment of the present invention UE to the direct inquiring position information of LR;
Fig. 8 is that embodiment of the present invention UE acts on behalf of flow chart to LR inquiring position information by LR;
Fig. 9 is the flow chart that the embodiment of the present invention obtains positional information and change using subscribing mechanism;
Figure 10 is the flow chart that the present invention realizes content distributing service embodiment.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
In order to be able to meet the demand that user on-position related service obtains user network position, mark net needs to have the ability
The network insertion position of user is provided to user equipment, user equipment here refers mainly to provide the user the business service of business
Device, but also include terminal device, do not repartitioned in example below, it is referred to as user equipment.
The invention provides a kind of method for identifying acquisition positional information in net, methods described includes:
Step 11, location register (LR) directly or indirectly receive the position acquisition request that UE sends, according to the position
Access identity mark (AID) for obtaining the UE carried in request obtains the positional information of entrained UE;
Step 12, the LR send the positional information to the UE for sending position acquisition request.
Above-mentioned steps 11-12 has following several implementations:
First way:The position acquisition request includes that position enquiring is asked;The position that the LR indirectly receives UE sends
Acquisition request is put, the AID according to the UE carried in position acquisition request obtains the positional information of entrained UE, including:
The LR receives access service router (ASR) it is determined that the position from the UE forwarded after the UE has search access right
Request is obtained, the AID according to the UE carried in position acquisition request searches entrained from identity position mapping relations
The positional information of UE;The LR sends the positional information to the UE for sending position acquisition request to be included:The LR is by described
ASR sends the positional information to the UE for sending the position acquisition request.
As shown in figure 4, be the network architecture diagram that the embodiment of the present invention obtains positional information by ASR, in the present embodiment
Network include user equipment (UE) 401, access service router (ASR) 402, location register (LR) 403, and UE401 with
The interface I2 between interface I1, ASR 402 and LR 403 between ASR 402.
I1 interfaces are using access fidonetFido (such as non-Interface Controller agreement of access network), or internet management agreement is (as mutually
Network management agreement), or application layer protocol (such as http protocol) realization.
Wherein, UE, for according to service needed, the identity that use will inquire about user to initiate position to the ASR for being accessed
Inquiry request is put, and corresponding service logic is performed according to the result of inquiry.UE inquires about the positional information of oneself or other users.
ASR, for the request according to UE, inquiry request is specified in the local AID and RID mapping relations for preserving or caching
The corresponding RID of user identity AID, if do not inquired, ASR is asked to LR forwarding inquiries, is then looked into local or LR
Ask result and return to UE.
In order to ensure customer location privacy, ASR needs to check UE position enquiring authorities, if it has, proceeding subsequently to look into
Inquiry is processed, and otherwise refuses user's inquiry.
Search access right data configuration on ASR, can be locally configured, it is also possible to from user data subscribed services device
Obtained on (such as home subscriber server).
LR searches the mapping relations of the AID and RID for preserving according to position enquiring request, and returns to Query Result.
In addition, present invention also offers a kind of method for identifying acquisition positional information in net, methods described includes:
Step 21, access service router (ASR) receive the position acquisition request that UE sends, please according to the position acquisition
Seek the positional information of the entrained UE of access identity mark (AID) acquisition of the UE of middle carrying;
Step 22, the ASR are to the positional information for sending the UE transmission acquisitions that position acquisition is asked.
As shown in figure 5, being the flow chart that the embodiment of the present invention obtains positional information by ASR, described in the embodiment
ASR direct access positional information (corresponding to step 21-22) and indirect gain positional information (corresponding to above-mentioned first way)
Situation, the acquisition process includes:
Step 501, UE perform the service logic related to network insertion position and are used, it is necessary to be inquired about according to user identity AID
Family position RID;
The user wherein to be inquired about is probably UE itself, or other UE.
Step 502, UE send position enquiring and ask to the ASR for being accessed, and the AID of user is inquired about in carrying;
Step 503, ASR check whether UE has search access right according to position enquiring permissions data, if it has, then continuing follow-up
Step, otherwise returns to refusal respond, and can explicitly notify Reason For Denial;
Step 504, ASR inquire about local AID-RID mapping relations, including local preservation local terminal AID-RID mapping relations,
And/or the opposite end AID-RID mapping relations of local cache.If query hit, step 508 is jumped directly to, return to inquiry
The RID for arriving;If do not hit, step 505 is performed;
Step 505, ASR send position enquiring and ask to LR, and the AID of user is inquired about in carrying;
The AID inquiry AID-RID mapping tables of step 506, LR in inquiry request, obtain corresponding RID;
Step 507, LR return to inquiry response to ASR, carry RID;
Step 508, ASR return to inquiry response to UE, carry RID.
The second way:The position acquisition request includes that position enquiring is asked;The position that the LR indirectly receives UE sends
Acquisition request is put, the AID according to the UE carried in position acquisition request obtains the positional information of entrained UE, including:
The LR receives LR agencies it is determined that the request of the position acquisition from the UE forwarded after the UE has search access right, according to
The AID of the UE carried in the position acquisition request searches the positional information of entrained UE from identity position mapping relations;
The LR sends the positional information to the UE for sending position acquisition request to be included:The LR is acted on behalf of to transmission institute by the LR
The UE for stating position acquisition request sends the positional information.
The third mode:The position acquisition request includes that position enquiring is asked;The LR directly receives the position of UE transmissions
Acquisition request is put, the AID according to the UE carried in position acquisition request obtains the positional information of entrained UE, including:
The LR directly receives the position acquisition request of UE transmissions, and it is determined that there is the UE for sending position acquisition request inquiry to weigh
After limit, the AID according to the UE carried in position acquisition request searches entrained UE's from identity position mapping relations
Positional information;The LR sends the positional information to the UE for sending position acquisition request to be included:The LR is directly to transmission institute
The UE for stating position acquisition request sends the positional information.
As shown in fig. 6, be the network architecture diagram that the embodiment of the present invention obtains positional information without ASR, in the present embodiment
Network includes UE 601, LR 602 and location register agency (LR Proxy) between 603, and UE 601 and LR602
Interface I2, LR between interface I1, UE 601 and LR agencies 603 act on behalf of the interface I3 between 603 and LR602.
UE, for according to service needed, the identity that use will inquire about user directly to be inquired about to the launch positions of LR 602
Request, or the station location marker of oneself or other users is inquired about to the launch position inquiry requests of LR 602 by LR Proxy 603,
And corresponding service logic is performed according to the result of inquiry.
LR, returns for being asked to search the mapping relations of the AID and RID for preserving according to position enquiring, and returning to Query Result
Return;
If the situation of the direct inquiry requests of UE is, it is necessary to further according to the authority of search access right data inspection UE, sentence
Whether disconnected user has search access right.
LR is acted on behalf of, for performing the selection of user's search access right and query messages forwarding capability;When inquiry request is received, inspection
The authority of UE is looked into, if UE has search access right, is asked to LR forwarding inquiries, and the Query Result that LR is returned is sent to UE,
Otherwise refuse the inquiry request of UE.
As shown in fig. 7, be flow charts of the embodiment of the present invention UE to the direct inquiring position information of LR, the embodiment is for the
Three kinds of modes are described, and the query process includes:
Step 701, UE perform the service logic related to network insertion position and are used, it is necessary to be inquired about according to user identity AID
Family position RID;
The user for wherein needing inquiry is probably UE itself, or other UE.
Step 702, UE are directly sent to LR and want inquiry request, and the AID of user is inquired about in carrying;
Step 703, LR check whether UE has the authority of inquiring position according to position enquiring permissions data, if it has, then after
Continuous subsequent step, otherwise returns to refusal respond, and can explicitly notify Reason For Denial;
The AID inquiry AID-RID mapping tables of step 704, LR in inquiry request, obtain corresponding RID;
Step 705, ASR return to inquiry response to UE, carry RID.
As shown in figure 8, being that embodiment of the present invention UE acts on behalf of flow chart to LR inquiring position information, the embodiment by LR
It is described for the second way, the query process includes:
Step 801, UE perform the service logic related to network insertion position and are used, it is necessary to be inquired about according to user identity AID
Family position RID;
The user for wherein needing inquiry is probably UE itself, or other UE.
Step 802, UE directly act on behalf of transmission and want inquiry request to LR, and the AID of user is inquired about in carrying;
Step 803, LR agencies check whether UE has search access right according to position enquiring permissions data, if it has, then continuing
Subsequent step, otherwise returns to refusal respond, and can explicitly notify Reason For Denial;
Step 804, LR are acted on behalf of and are sent position enquiring request to LR, carry the AID of inquiry user used;
The AID inquiry AID-RID mapping tables of step 805, LR in inquiry request, obtain corresponding RID;
Step 806, LR return to inquiry response to LR agencies, carry RID;
Step 807, LR are acted on behalf of and are returned to inquiry response to UE, carry RID.
When service needed perceives the change of customer location, the scheme shown in Fig. 4 and Fig. 6 can be based on further using subscription
Mode obtain the change of customer location.
Specifically, the position acquisition request includes that request is subscribed in position;Obtain the position that the LR indirectly receives UE sends
Request is taken, the AID according to the UE carried in position acquisition request obtains the positional information of entrained UE, including:It is described
LR receives the request of the position acquisition from the UE of the ASR forwardings, sets up the UE carried in asking the position acquisition
Subscribing relationship, according to the subscribing relationship obtain current location information or change after positional information;The LR is to transmission position
The UE transmission positional informations for putting acquisition request include:The LR is asked by the ASR to the transmission position acquisition
UE sends the positional information after current location information or change.
Or, the position acquisition request includes that request is subscribed in position;The position acquisition that the LR indirectly receives UE sends
Request, the AID according to the UE carried in position acquisition request obtains the positional information of entrained UE, including:The LR
The request of the position acquisition from the UE of the LR agencies forwarding is received, the UE carried in asking the position acquisition is set up
Subscribing relationship, according to the subscribing relationship obtain current location information or change after positional information;The LR is to transmission position
The UE transmission positional informations for putting acquisition request include:The LR is acted on behalf of by the LR and asked to the transmission position acquisition
UE send current location information or change after positional information.
Or, the position acquisition request includes that request is subscribed in position;The LR directly receives the position acquisition of UE transmissions
Request, the AID according to the UE carried in position acquisition request obtains the positional information of entrained UE, including:The LR
The position acquisition request that UE sends is directly received, and after it is determined that the UE for sending position acquisition request has subscription authority,
Set up to the position acquisition ask in carry UE subscribing relationship, according to the subscribing relationship obtain current location information or
Positional information after change;The LR sends the positional information to the UE for sending position acquisition request to be included:The LR is direct
Positional information after sending current location information or from change to the UE for sending the position acquisition request.
As shown in figure 9, being the flow chart that the embodiment of the present invention obtains positional information and change using subscribing mechanism, the acquisition
Process includes:
Step 901, UE perform the service logic related to network insertion position and are used, it is necessary to be obtained according to user identity AID
The change of family position RID and position RID;
The user for wherein needing inquiry is probably UE itself, or other UE.
If step 902, using the direct-connected modes of UE in scheme shown in Fig. 6 and LR, UE sends to LR and subscribes to request, carries institute
The AID to be subscribed to, then performs step 906;Or
If step 903, using UE in the scheme shown in Fig. 4 by ASR inquiry modes, UE sends to ASR and subscribes to request,
Carry the AID to be subscribed to;
If the indirect connections acted on behalf of by LR using UE in the scheme shown in Fig. 6, UE sends to LR agencies and subscribes to
Request, carries the AID to be subscribed to.
Here ASR and LR agencies can be referred to as subscription agent.
Step 904, ASR or LR agency check the authority that UE positional informations are subscribed to, and if subscribing to authority, then continue follow-up
Step, otherwise returns to refusal respond, and can show notice Reason For Denial;
The function can also be performed in LR, and now the subscription scope check function on ASR or LR agencies is optional.
Positional information subscription request is transmitted to LR by step 905, ASR or LR agency;
Step 906, LR check the authority that user UE positional informations are subscribed to, if had permission, continue subsequent step, otherwise
Refusal respond is returned, and notice Reason For Denial can be shown;
If ASR or LR act on behalf of execution position information subscribing scope check function, the subscription scope check of LR is not needed
Function.
The positional information subscribing relationship that step 907, LR set up UE and be queried between user;
If step 908, using the direct-connected modes of UE in scheme shown in Fig. 6 and LR, LR is directly returned to subscribe to and successfully rung to UE
Should;
If step 909~910, by the way of UE and LR are indirectly connected with scheme shown in Fig. 4 or Fig. 6, LR passes through ASR
Or LR is acted on behalf of to be returned to UE and is subscribed to success response;
Step 911, when setting up subscribing relationship, or the positional information and customer location for having notified ordered user first
Information changes, then LR inquiries user current location information RID, and launch position information notifies flow;
If step 912, using the direct-connected modes of UE in scheme shown in Fig. 6 and LR, LR sends location information notification to UE, takes
Band positional information RID;
If step 913~914, by the way of UE and LR are indirectly connected with scheme shown in Fig. 4 or Fig. 6, LR passes through ASR
Or LR is acted on behalf of and is sent location information notification to UE, carries positional information RID.
Above-mentioned subscribing relationship can actively be cancelled by UE, or actively be cancelled by LR, it is also possible to determine during foundation
The term of validity is subscribed to, when the term of validity unsubscribes relation after.
If using the scheme shown in Fig. 4, and UE subscribes to the position of itself, can further optimize.Due to having this in ASR
The identity position subscribing relationship of UE, therefore subscribing relationship can be set up in ASR, without setting up subscribing relationship in LR, in head
It is secondary to set up subscribing relationship, or subsequent user position, when changing, ASR is directly notified to UE launch positions information, carries the UE
Current positional information RID.
The method that positional information is obtained in above-mentioned mark net, inquiry or subscribing manner from network equipment ASR are used by UE
Or the method for positional information is obtained in LR, and introduce in inquiry or subscribe to scope check function, so as to ensure that UE can be obtained
The network insertion position of user, meet with location-dependent services demand, while in turn ensure that the location privacy of user.
As shown in Figure 10, it is the flow chart for realizing content distributing service embodiment of the invention, it is assumed that the caching shown in figure
Closer to the network site of UE, the implementation process includes server:
Step 1001, UE are needed to obtain content, and service request is sent to the source server of content distributing network;
Step 1002, source server find that user is mark network users, then actively call the position of the embodiment of the present invention to obtain
Flow is taken, the positional information RID of user is obtained;
Step 1003, source server are interacted with resource management server, and customer location is determined according to RID, and selection is suitable
Caching server;
Step 1004, source server are returned and redirect response, carry the information of the buffer server of selection;
Step 1005, UE send service request to caching server again.
Be can be seen that by using location acquiring method provided in an embodiment of the present invention, content delivery network from above-mentioned flow
Network can select suitable node for user, realize the demand such as access, flow optimization nearby.
The embodiment of the present invention additionally provides a kind of location register (LR), and the LR includes obtaining module and sending module, should
Module is obtained, for directly or indirectly receiving the position acquisition request that user equipment (UE) sends, please according to the position acquisition
Seek the positional information of the entrained UE of access identity mark (AID) acquisition of the UE of middle carrying;The sending module, for transmission
The UE of position acquisition request sends the positional information.
Wherein, the position acquisition request includes that request is subscribed in position enquiring request and position.
When position acquisition request is asked for position enquiring, the acquisition module is for receiving access service road
By device (ASR) it is determined that the position acquisition from the UE forwarded after the UE has search access right is asked, according to institute's rheme
The AID for putting the UE for obtaining carrying in request searches the positional information of entrained UE from identity position mapping relations;The hair
Module is sent, is for sending the positional information to the UE for sending the position acquisition request by the ASR;Or described obtain
Module is obtained, is for receiving LR agencies it is determined that the position acquisition from the UE forwarded after the UE has search access right please
Ask, the AID according to the UE carried in position acquisition request searches the position of entrained UE from identity position mapping relations
Confidence ceases;The sending module, is for being acted on behalf of to the UE transmissions institute rheme for sending the position acquisition request by the LR
Confidence ceases;Or the acquisition module, it is the position acquisition request for directly receiving UE transmissions, and it is determined that transmission position is obtained
After taking the UE of request and having search access right, the AID according to the UE carried in position acquisition request reflects from identity position
The positional information of the UE for searching entrained is penetrated in relation;The sending module, is for directly being asked to the transmission position acquisition
The UE for asking sends the positional information.
When position acquisition request subscribes to request for position, the acquisition module is for receiving the ASR forwardings
From the UE position acquisition request, set up to the position acquisition ask in carry UE subscribing relationship, according to institute
State the positional information after subscribing relationship obtains current location information or change;The sending module, be for by the ASR to
The UE for sending the position acquisition request sends the positional information after current location information or change;Or the acquisition module,
It is the request of the position acquisition from the UE for receiving the LR agencies forwarding, sets up in asking the position acquisition and take
The subscribing relationship of the UE of band, the positional information after obtaining current location information or change according to the subscribing relationship;The transmission
Module, is for after the LR is acted on behalf of and sent current location information or change to the UE for sending the position acquisition request
Positional information;Or the acquisition module, it is the position acquisition request for directly receiving UE transmissions, and it is determined that sending position
After the UE for asking is obtained with authority is subscribed to, the subscribing relationship of the UE of carrying in asking the position acquisition, root are set up
Positional information after obtaining current location information or change according to the subscribing relationship;The sending module, is for directly to hair
The UE of the position acquisition request is sent to send the positional information after current location information or change.
Further, the UE for obtaining module determination transmission position acquisition request has and inquires about or subscription authority,
Be for:Hair is determined according to position requests authority subscription data that is being locally configured or being obtained from user contracting data server
Send the UE of the position acquisition request to have and inquire about or subscribe to authority.
Above-mentioned LR, is interacted by being acted on behalf of with other equipment such as UE, ASR or LR, the position letter of the user equipment that will can be obtained
Breath is sent to corresponding UE, and its implementation process can be found in Fig. 5, Fig. 7, Fig. 8 and Fig. 9, and here is omitted.
The embodiment of the present invention additionally provides a kind of access service router (ASR), and the ASR includes obtaining module and transmission
Module, the acquisition module, the position acquisition request for receiving user equipment (UE) transmission, according in position acquisition request
Access identity mark (AID) of the UE of carrying obtains the positional information of entrained UE;The sending module, for transmission position
The UE for obtaining request sends the positional information for obtaining.
Wherein, the position acquisition request can be asked for position enquiring;The acquisition module, is for determining to send institute
After stating the UE of position acquisition request and having search access right, AID according to the UE carried in position acquisition request is from local guarantor
The positional information of entrained UE is searched in the identity position mapping relations deposited, wherein, carried in the position acquisition request
UE includes sending the UE of the position acquisition request.
In addition, the position acquisition request can subscribe to request for position;The acquisition module, is for determining to send institute
State position acquisition request UE have subscribe to authority after, set up to the position acquisition ask in carry UE subscribing relationship,
Positional information after obtaining current location information or change according to the subscribing relationship, wherein, taken in the position acquisition request
The UE of band is the UE for sending the position acquisition request.
Further, the acquisition module, be additionally operable to it is determined that the UE for sending position acquisition request have inquiry or
Authority is subscribed to, and during the identity position mapping relations of the local UE for not preserving carrying in the position acquisition request, to position
Register (LR) sends the position acquisition request, and receives the acquisition that the LR is returned according to position acquisition request
Positional information.Preferably, the module that obtains determines to send that the UE of the position acquisition request, with inquiring about or subscribing to authority, is
For:Determine to send according to position requests authority subscription data that is being locally configured or being obtained from user contracting data server
The UE of the position acquisition request has inquiry or subscribes to authority.
Above-mentioned ASR, interacts by with other equipment such as UE, LR etc., user that is that oneself is obtained or being obtained from LR
The positional information of equipment is sent to corresponding user equipment, and its implementation process can be found in Fig. 5 and Fig. 9, and here is omitted.
The embodiment of the present invention additionally provides a kind of location register (LR) agency, and LR agencies include obtaining module and transmission
Module, the acquisition module, the position acquisition request for receiving user equipment (UE) transmission asks the position acquisition to send
To LR, and the positional information for receiving the acquisition that the LR is returned according to position acquisition request;The sending module, for
The UE for sending position acquisition request sends the positional information for obtaining.
Wherein, the acquisition module, is for it is determined that the UE for sending the position acquisition request has inquiry or subscribes to
After authority, position acquisition request is sent to LR.
Further, the UE for obtaining the module determination transmission position acquisition request has and inquires about or subscription authority,
Be for:Hair is determined according to position requests authority subscription data that is being locally configured or being obtained from user contracting data server
Send the UE of the position acquisition request to have and inquire about or subscribe to authority.
Above-mentioned LR agency, interacts, the position of the user equipment that will be obtained from LR by with other equipment such as UE, LR etc.
Information is sent to corresponding user equipment, and its implementation process can be found in Fig. 7 and Fig. 9, and here is omitted.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and said procedure can be stored in computer-readable recording medium, such as read-only storage, disk or CD
Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Ground, each module/unit in above-described embodiment can be realized in the form of hardware, it would however also be possible to employ the shape of software function module
Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, reference only to preferred embodiment to this hair
It is bright to be described in detail.It will be understood by those within the art that, technical scheme can be modified
Or equivalent, without deviating from the spirit and scope of technical solution of the present invention, all should cover in claim model of the invention
In the middle of enclosing.