Embodiment
The application layer equipment of the embodiment of the present invention obtains and stores mapping relations and the positional information of CAMEL-Subscription-Information, internal indicator and the outside mark of each terminal; Find that in the proximity relations that receives first terminal after request, the proximity relations CAMEL-Subscription-Information corresponding according to described first terminal, determines that first terminal has the function that can find other-end; And judge whether the second terminal and first terminal meet proximity principle, and judged result is sent to first terminal, thus solve at present not for the problem of carrying out the solution of proximity relations discovery between the subscriber equipment of mutual vicinity.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
Shown in Figure 4, the method for proximity relations between a kind of definite subscriber equipment that the embodiment of the present invention provides, comprises the following steps:
Step 41, application layer equipment obtain and store mapping relations and the positional information of CAMEL-Subscription-Information, internal indicator and the outside mark of each terminal;
Wherein, the CAMEL-Subscription-Information of each terminal and the internal indicator of this terminal are corresponding one by one
Step 42, application layer equipment find that in the proximity relations that receives first terminal after request, the CAMEL-Subscription-Information corresponding according to first terminal, determines that first terminal has the function that can find other-end;
Wherein, this proximity relations finds to carry in request the outside mark of first terminal;
Step 43, application layer equipment judge whether the second terminal and this first terminal meet proximity principle;
Wherein, the second terminal in the embodiment of the present invention refers to the terminal that is different from first terminal.
Judged result is sent to first terminal by step 44, application layer equipment, to complete proximity relations discovery procedure.
Wherein, the application layer equipment of the embodiment of the present invention can be (server) such as application servers.
In force, in step 42, application layer equipment determines according to following steps the CAMEL-Subscription-Information that first terminal is corresponding:
Application layer equipment is according to self internal indicator of storage and the mapping relations of outside mark, and definite proximity relations receiving finds that the outside of the first terminal carrying in request identifies corresponding internal indicator; And
Application layer equipment, according to the internal indicator of this first terminal, the CAMEL-Subscription-Information of the terminal of storing from self, is determined the CAMEL-Subscription-Information that this internal indicator is corresponding.
It should be noted that, for the terminal with proximity relations discovery feature, in its CAMEL-Subscription-Information, also comprise the proximity relations CAMEL-Subscription-Information of this terminal, the proximity relations CAMEL-Subscription-Information of terminal is: this terminal allows to find other-end and do not allow to be allowed to be found by other-end and do not allow to find that by other-end discovery, this terminal other-end, this terminal allow to find other-end and allow or not to be found by other-end and do not allow to find other-end by other-end discovery or this terminal; The proximity relations CAMEL-Subscription-Information of terminal is for all business relevant to proximity relations of this terminal, and any business relevant to proximity relations that this terminal activates all should be observed its signing proximity relations CAMEL-Subscription-Information.
In the invention process, a certain terminal does not have the function that can find other-end, comprising: this terminal does not have proximity relations discovery feature; Or this terminal has proximity relations discovery feature, but its proximity relations CAMEL-Subscription-Information allows to be found by other-end and do not allow to find other-end for this terminal; Or this terminal has proximity relations discovery feature, but its proximity relations CAMEL-Subscription-Information does not allow to be found by other-end and do not allow to find other-end for this terminal;
A certain terminal has the function that can find other-end, comprising: the proximity relations CAMEL-Subscription-Information of this terminal is found by other-end for this terminal allows to find other-end and permission; Or the proximity relations CAMEL-Subscription-Information of this terminal allows find other-end and do not allow to be found by other-end for this terminal.
In force, if first terminal does not have the function that can find other-end, application layer equipment is found after request in the proximity relations that receives this first terminal transmission, do not carry out proximity relations discovery procedure, or notify described first terminal not there is the function that can find other-end by application layer messages.
In the embodiment of the present invention, the proximity principle in step 43 refers to that distance between first terminal and the second terminal meets and imposes a condition.
Further, satisfied the imposing a condition of the distance between first terminal and the second terminal comprises following three kinds of modes:
Distance between first kind of way, first terminal and the second terminal is not more than the threshold value of setting;
Wherein, the threshold value of setting is empirical value, can set as required; For example, the distance between first terminal and the second terminal is not more than 500 meters etc.;
The second way, first terminal and the second terminal reside in same community; That is: first terminal is identical with the ID of the second current persistent district of terminal;
The third mode, first terminal and the second terminal reside in same base station; That is: first terminal is identical with the ID of the second current resident base station of terminal.
Owing to also having defined a kind of restriction scene to proximity relations discovery procedure in 3GPP, i.e. whether the discovery procedure of regulation proximity relations need to be registered relation in application layer with the proximity relations CAMEL-Subscription-Information of this UE, network configuration and two subscriber equipmenies is (the being social networks) factor analysis such as friends.
Illustrate: suppose that A, B and C use same social networks application, and A, B and C use the UE with contiguous business function, in the context that this social networks application layer is safeguarded, show below relation information: A and C is friend, C and B are friends, A and B are not friends, under this scene, need the contiguous discovery feature of realization as follows:
The UE of-A can find that C is at close position;
The UE of-C can find that A is at close position;
The social networks application of-A can know that whether C is at its close position;
The social networks application of-C can know that whether A is at its close position;
The UE of-B can not find that the UE of A is at its close position;
The social networks application of-A can not detect that whether B is at its close position;
The social networks application of-B can not detect that whether A is at its close position;
Therefore, proximity relations discovery procedure requires only to have between the UE of friends and could mutually find, if application layer shows between this UE it is not friends, can not mutually find, two contiguous terminals need to meet certain social networks, could mutually find.
For the restriction scene to proximity relations discovery procedure of above-mentioned 3GPP definition, further, in step 43, application layer equipment, in the time judging whether described the second terminal and described first terminal meet described proximity principle, also comprises:
Judge whether the second terminal and first terminal meet the social networks of setting.
In the embodiment of the present invention, the social networks of setting refers to that the personal status relationship between each terminal of same social networks registration meets and imposes a condition, wherein, the personal status relationship of inquiry between each terminal of same social networks registration in the context that application layer equipment can be stored at self, if UE1 and UE2 are friends, UE1 and UE3 are not friends etc.; And for example, UE1 and UE2 belong to same group, and UE2 and UE3 do not belong to same group; Etc.;
The social networks of setting can be friends for the second terminal and first terminal to be determined, or the second terminal to be determined and first terminal belong to the group of same setting, etc.; In the embodiment of the present invention, can be set according to actual needs the personal status relationship of each terminal of same social networks registration carrying out needing satisfied condition in discovery procedure.
Further, in the embodiment of the present invention, in step 41, application layer equipment obtains the positional information of this terminal by the mode of each terminal to report, concrete, and application layer equipment obtains the positional information of each terminal according to following steps:
Set up after PDN for transmitting application layer traffic aided is connected at terminal and Access Network, between application layer equipment and each terminal, set up application layer and be connected; And
Application layer equipment receives self current positional information the storage of each terminal to report, and positional information comprises: a kind of or combination in the ID of the current resident base station of ID, terminal of the current resident community of terminal, the geographical location information of terminal.
In force, terminal can be obtained by eating dishes without rice or wine the ID of self current resident community;
Terminal can, by self-contained GPS module, be obtained the GPS positional information of self, as latitude and longitude information.
Take the network architecture diagram shown in Fig. 5 as example, in this network architecture, in the middle of definition, between interactive device and HSS, undertaken alternately by interface Xy, this interface Xy is in order to realize CAMEL-Subscription-Information query script, and middle interactive device feeds back the CAMEL-Subscription-Information of each terminal and the internal indicator of each terminal and the outside mapping relations that identify to HSS transmission inquiry request and HSS to middle interactive device; In the middle of definition, between interactive device and application layer equipment, undertaken alternately by interface Xz, this interface Xy sends the mapping relations of the CAMEL-Subscription-Information of each terminal and the internal indicator of each terminal and outside mark to application layer equipment to the middle interactive device initiation CAMEL-Subscription-Information request of obtaining and middle interactive device in order to realize application layer equipment; It should be noted that, interface Xy and interface Xz can adopt existing any protocol stack to define, as long as can realize above-mentioned functions.
In this network architecture, the reciprocal process between terminal and application layer equipment is shown in Figure 6; Concrete, between UE1 and UE2 and application layer equipment, set up PDN and be connected, and report current location information separately to application layer equipment alternately by application layer; Accordingly, application layer equipment is in the positional information the storage that receive UE1 and UE2 and report, and while changing in the position of UE1 and UE2, the positional information of self storage of upgrading in time.
It should be noted that, each terminal is being attached to after network, to Access Network initiation packet data network (PacketData Network, PDN) connect and set up, and by packet data gateway (Packet Data NetworkGateway, PGW) SGi interface is set up PDN with Access Network and is connected, and detailed process refers to 3GPPTS23.401 agreement;
After setting up PDN connection, each terminal is set up application layer with application layer equipment respectively and is connected;
Each terminal reports self current positional information to application layer equipment;
Preferably, each terminal reports self current positional information to application layer equipment in real time; Or each terminal is after self current positional information changes, and reports self current positional information, the positional information of each terminal so that application layer equipment upgrades in time to application layer equipment.
Further, in the embodiment of the present invention, in step 41, application layer equipment obtains the CAMEL-Subscription-Information of this terminal from HSS by middle interactive device according to the outside mark of each terminal (as application layer mark), concrete, application layer equipment obtains the CAMEL-Subscription-Information of each terminal according to following steps:
Application layer equipment is initiated CAMEL-Subscription-Information to middle interactive device and is obtained request, and CAMEL-Subscription-Information obtains the outside mark of carried terminal in request;
Middle interactive device obtains after request receiving this CAMEL-Subscription-Information, sends inquiry request to HSS, to obtain the CAMEL-Subscription-Information of terminal, and the outside of carried terminal mark in inquiry request;
HSS is receiving after this inquiry request, mapping relations according to internal indicator with outside mark, determine that the outside that this inquiry request is carried identifies corresponding internal indicator, and interactive device in the middle of the internal indicator of CAMEL-Subscription-Information corresponding definite internal indicator and this terminal and the mapping relations of outside mark are sent to, wherein, there is the proximity relations CAMEL-Subscription-Information that at least comprises this terminal in the CAMEL-Subscription-Information of terminal of proximity relations discovery feature; And
The CAMEL-Subscription-Information of this terminal that middle interactive device returns to HSS and the internal indicator of this terminal send to application layer equipment with storage with the mapping relations of outside mark.
Still take the network architecture shown in Fig. 5 as example, in this network architecture, middle interactive device and application layer equipment, and reciprocal process between middle interactive device and HSS is shown in Figure 6.
It should be noted that, in HSS, preserve the CAMEL-Subscription-Information of each terminal, for the terminal with proximity relations discovery feature, in its CAMEL-Subscription-Information, also comprise the proximity relations CAMEL-Subscription-Information of this terminal, mutual owing to using outside mark to carry out between terminal and application layer equipment, and and between 3GPP network equipment, use internal indicator to carry out alternately, therefore, in HSS, also preserve the internal indicator of each terminal and the mapping relations of outside mark; General, the internal indicator of terminal is IMSI, and the outside of terminal is designated application layer ID(as terminal No. QQ, MSN account etc.).
Preferably, the middle interactive device of the embodiment of the present invention can be disposed separately, also can close and establish with MTC-IWF, can also close and establish with HSS.
Concrete, if closing, middle interactive device and MTC-IWF establish, middle interactive device can carry out alternately with HSS and application layer equipment respectively by interface Xy and interface Xz; Also can carry out alternately with HSS and application layer equipment respectively by the interface S6m of MTC-IWF and interface Tsp, wherein, defining interface S6m and interface Tsp have the function of above-mentioned interface Xy and interface Xz;
If middle interactive device and HSS close establish, middle interactive device carries out alternately with HSS and application layer equipment respectively by interface Xy and interface Xz, wherein, and the mutual employing interior signaling between middle interactive device and HSS.
Further, the proximity relations that first terminal is initiated finds that request comprises following two kinds:
The first proximity relations finds that request is: first terminal request determines whether this first terminal and the second terminal of self appointment meet the proximity principle social networks of proximity principle and setting (or meet); Wherein, proximity relations finds that request also carries the outside mark of the second terminal;
Under this application scenarios, first terminal needs to get the outside mark of second terminal of self specifying, as first terminal can obtain by application layer equipment the outside mark of the second terminal, can certainly adopt other modes to get the outside mark of the second terminal.
The second proximity relations finds that request is: first terminal request is determined and all the second terminals that self meet proximity principle (or social networks of proximity principle and setting).
For the restriction scene to proximity relations discovery procedure of above-mentioned 3GPP definition, initiate proximity relations at first terminal and find that after request,, in step 43, the proximity relations deterministic process that application layer equipment carries out describes below.
Find request for the first proximity relations, in step 43, further comprise:
Application layer equipment, according to the CAMEL-Subscription-Information of the second terminal, determines whether the second terminal has the function that can be found by other-end;
Application layer equipment has in definite the second terminal the function that can be found by other-end, and meets the social networks set and when proximity principle, determine that the second terminal and first terminal are close to first terminal; And
Application layer equipment does not have in definite the second terminal the function that can be found by other-end, or does not meet with first terminal the social networks of setting, or while not meeting proximity principle with first terminal, determines that the second terminal and first terminal are not close to.
Accordingly, in step 44, judged result is sent to first terminal by application layer equipment, comprising:
If judged result is that the second terminal and first terminal are contiguous in step 43, application layer equipment returns to contiguous response message to first terminal;
If judged result is that the second terminal and first terminal are not contiguous in step 43, application layer equipment cannot not return to contiguously response message to first terminal.
Preferably, in step 44, also comprise:
Judged result is sent to the second terminal by application layer equipment.
Further, if judged result is that the second terminal and first terminal are contiguous in step 43, application layer equipment returns and the contiguous response message of first terminal to the second terminal, wherein, carries the outside mark of first terminal in the message of returning;
If judged result is that the second terminal and first terminal are not contiguous in step 43, application layer equipment returns and the not contiguous response message of first terminal to the second terminal, wherein, carries the outside mark of first terminal in the message of returning.
Further, application layer equipment determines according to following steps whether the second terminal has the function that can be found by other-end:
Application layer equipment is according to self internal indicator of storage and the mapping relations of outside mark, the outside of determining second terminal of carrying in the proximity relations discovery request receiving identifies corresponding internal indicator, the CAMEL-Subscription-Information of storing from self, obtain the CAMEL-Subscription-Information of the second terminal; And
Application layer equipment, according to the CAMEL-Subscription-Information of the second terminal, judges whether the second terminal has the function that can be found by other-end, concrete:
If the proximity relations CAMEL-Subscription-Information that this CAMEL-Subscription-Information comprises allows to be found by other-end and do not allow to find other-end for this terminal, or this terminal allows to find other-end and allow to be found by other-end, determine that the second terminal has to allow the function found by other-end.
If do not comprise proximity relations CAMEL-Subscription-Information (this terminal does not have proximity relations discovery feature) in this CAMEL-Subscription-Information, or the proximity relations CAMEL-Subscription-Information of this terminal allows find other-end and do not allow to be found by other-end for this terminal, or the proximity relations CAMEL-Subscription-Information of this terminal does not allow to be found by other-end and do not allow to find other-end for this terminal, determine that the second terminal does not have the function that permission is found by other-end.
In the embodiment of the present invention, application layer equipment, in the time judging the whether satisfied social networks of setting of first terminal and the second terminal and proximity principle, does not limit judgement order; That is:
Application layer equipment can first judge whether first terminal and the second terminal meet the social networks of setting; If do not meet the social networks of setting, determine that the second terminal and first terminal are not contiguous; If meet the social networks of setting, continue to judge whether first terminal and the second terminal meet proximity principle; If meet proximity principle, determine that the second terminal and first terminal are not contiguous; If do not meet proximity principle, determine that the second terminal and first terminal are not contiguous;
Application layer equipment also can first judge whether first terminal and the second terminal meet proximity principle, if do not meet proximity principle, determines that the second terminal and first terminal are not contiguous; If meet proximity principle, continue to judge whether first terminal and the second terminal meet the social networks of setting; If meet the social networks of setting, determine that the second terminal and first terminal are contiguous; If do not meet the social networks of setting, determine that the second terminal and first terminal are not contiguous.
In the present embodiment, only determining that first terminal has permission and finds that (the proximity relations CAMEL-Subscription-Information that is first terminal is the function of other-end: allow find other-end and do not allow to be found by other-end, or allow to find other-end and allow to be found by other-end), and (the proximity relations CAMEL-Subscription-Information of the second terminal is the function that the second terminal tool allows to be found by other-end: allow to be found by other-end and do not allow to find other-end, or allow to find other-end and allow to be found by other-end) time, application layer equipment just can be carried out proximity relations discovery procedure, judge whether first terminal and the second terminal meet the social networks of proximity principle and setting.
Find request for the second proximity relations, in step 43, further comprise:
Application layer equipment is determined all the second terminals that meet proximity principle with first terminal; And
Application layer equipment determines to have the function that can be found by other-end and meet all second terminals of the social networks of setting with first terminal.
In the present embodiment, application layer equipment determines with after first terminal meets all second terminals of proximity principle, do not limit and judge whether the second terminal has the function that can be found by other-end and judge the second terminal and the whether order of the social networks of satisfied setting of first terminal;
For each the second definite terminal, application layer equipment can be first according to the CAMEL-Subscription-Information of this second terminal, judges whether it has the function that can be found by other-end, if do not have, determines that this second terminal and first terminal are not contiguous; If have, judge whether itself and first terminal meet the social networks of setting, if meet, determine that this second terminal and first terminal are contiguous; If do not meet, determine that this second terminal and first terminal are not contiguous;
For each the second definite terminal, application layer equipment can also first judge whether itself and first terminal meet the social networks of setting, if do not meet, determines that this second terminal and first terminal are not contiguous; If meet, judge whether this second terminal has the function that can be found by other-end, if having, determine that this second terminal and first terminal are contiguous; If do not have, determine that this second terminal and first terminal are not contiguous.
Accordingly, in step 44, judged result is sent to first terminal by application layer equipment, comprising:
If judged result is to exist to have the function that can be found by other-end and meet the second terminal of the social networks of proximity principle and setting with first terminal in step 43, application layer equipment returns to successfully response message to first terminal, and outside mark and/or the positional information of all the second terminals of determining are fed back to first terminal;
If judged result is the second terminal that does not meet above-mentioned condition in step 43, application layer equipment returns to failure response message to first terminal.
Preferably, in step 44, also comprise: judged result is sent to the second terminal by application layer equipment;
Concrete, if judged result meets above-mentioned condition for certain second terminal and first terminal in step 43, application layer equipment returns and first terminal is close to response message to this second terminal, and wherein, the outside of carrying first terminal in the message of returning identifies.
Preferably, application layer equipment sends to first terminal and/or the second terminal by application layer messages by the judged result in step 43.
Said method handling process can realize with software program, and this software program can be stored in storage medium, in the time that the software program of storage is called, carries out said method step.
Based on above-described embodiment, the embodiment of the present invention also provides a kind of application layer equipment, shown in Figure 7, and this application layer equipment comprises:
Acquisition module 70, for obtaining and store CAMEL-Subscription-Information, internal indicator and outside mapping relations and the positional information identifying of each terminal;
Receiver module 71, find after request in the proximity relations that receives first terminal for application layer equipment, according to the CAMEL-Subscription-Information corresponding to first terminal of storage in acquisition module 70, determine that this first terminal has the function that can find other-end, wherein, proximity relations finds to carry in request the outside mark of this first terminal;
Determination module 72, for judging whether the second terminal and first terminal meet proximity principle;
Sending module 73, for sending to first terminal by the judged result of determination module 72.
In the embodiment of the present invention, the second terminal refers to the terminal that is different from first terminal.
In the embodiment of the present invention, proximity principle refers to that distance between first terminal and the second terminal meets and imposes a condition.
Further, satisfied the imposing a condition of distance between first terminal and the second terminal comprises: the distance between first terminal and the second terminal is not more than the threshold value of setting, or first terminal and the second terminal reside in same community, or first terminal and the second terminal reside in same base station.
Further, determination module 72 also for: in the time judging whether the second terminal and first terminal meet proximity principle, also judge that whether the second terminal and first terminal meet the social networks of setting.
In the embodiment of the present invention, the social networks of setting refers to that the personal status relationship between each terminal of same social networks registration meets and imposes a condition, wherein, the personal status relationship of inquiry between each terminal of same social networks registration in the context that application layer equipment can be stored at self, if UE1 and UE2 are friends, UE1 and UE3 are not friends etc.; And for example, UE1 and UE2 belong to same group, and UE2 and UE3 do not belong to same group; Etc.;
The social networks of setting can be friends for the second terminal and first terminal to be determined, or the second terminal to be determined and first terminal belong to the group of same setting, etc.; In the embodiment of the present invention, can be set according to actual needs the personal status relationship of each terminal of same social networks registration carrying out needing satisfied condition in discovery procedure.
Further, acquisition module 70 specifically for:
And between each terminal, setting up grouped data network PDN is connected; And receive self current positional information the storage of each terminal to report, wherein, positional information comprises: a kind of or combination in the ID of the current resident base station of mark ID, terminal of the current resident community of terminal, the geographical location information of terminal.
Further, acquisition module 70 specifically for:
Initiate CAMEL-Subscription-Information to middle interactive device and obtain request, and the CAMEL-Subscription-Information of terminal that in the middle of receiving, interactive device returns and the internal indicator of this terminal and the outside mapping relations that identify storage, wherein, CAMEL-Subscription-Information obtains the outside mark of carried terminal in request.
Further, if proximity relations is found request be: first terminal request determines whether this first terminal and second terminal of self specifying meet the social networks of proximity principle and setting, and proximity relations finds that request also carries the outside mark of the second terminal; Determination module 72 specifically for:
According to the proximity relations CAMEL-Subscription-Information of the second terminal, determine whether the second terminal has the function that can be found by other-end; There is in definite the second terminal the function that can be found by other-end, and meet the social networks set and when proximity principle, determine that the second terminal and first terminal are close to first terminal; And do not there is in definite the second terminal the function that can be found by other-end, or do not meet with first terminal the social networks of setting, or while not meeting proximity principle with first terminal, determine that the second terminal and first terminal are not close to.
Further, if proximity relations is found request be: first terminal request is determined and all second terminals of social networks that self meet proximity principle and setting; Determination module 72 specifically for:
Determine all the second terminals that meet proximity principle with first terminal; And determine to there is the function that can be found by other-end and meet all second terminals of the social networks of setting with first terminal.
Accordingly, sending module 73 also for:
There is the function that can be found by other-end and feed back to first terminal with outside mark and/or positional information that first terminal meets all second terminals of the social networks of setting what determine.
Further, receiver module 71 specifically for:
The internal indicator of storing according to acquisition module 70 and the outside mapping relations that identify, determine that the outside of the first terminal carrying in the proximity relations discovery request receiving identifies corresponding internal indicator; According to the internal indicator of first terminal, from acquisition module 70, in the CAMEL-Subscription-Information of the terminal of storage, determine the CAMEL-Subscription-Information that this internal indicator is corresponding;
Accordingly, determination module 72 is also for the mapping relations according to the internal indicator of acquisition module 70 storage with outside mark, determines that proximity relations that receiver module 71 receives finds that the outside of second terminal of carrying in request identifies corresponding internal indicator; According to the internal indicator of the second terminal, the CAMEL-Subscription-Information of the terminal of storing from acquisition module 70, determine the CAMEL-Subscription-Information that this internal indicator is corresponding, and judge whether the second terminal has the function that can be found by other-end.
Further, sending module 73 also for: judged result is sent to the second terminal.
Based on above-described embodiment, the embodiment of the present invention also provides a kind of communication system, shown in Figure 8, and this communication system comprises:
Application layer equipment 81, for obtaining and store CAMEL-Subscription-Information, internal indicator and outside mapping relations and the positional information identifying of each terminal; Find, after request, according to the proximity relations CAMEL-Subscription-Information of first terminal 82 correspondences, to determine that first terminal 82 has the function that can find other-end in the proximity relations that receives first terminal 82; And judge that whether the second terminal and first terminal 82 meet social networks and the proximity principle set, and judged result is fed back to first terminal 82; Wherein, proximity relations finds to carry in request the outside mark of first terminal 82;
First terminal 82, finds request for sending proximity relations to application layer equipment, and receives the judged result of application layer equipment feedback.
In the embodiment of the present invention, the second terminal refers to the terminal that is different from first terminal.
In the embodiment of the present invention, proximity principle refers to that distance between first terminal and the second terminal meets and imposes a condition.
Further, satisfied the imposing a condition of distance between first terminal and the second terminal comprises: the distance between first terminal and the second terminal is not more than the threshold value of setting, or first terminal and the second terminal reside in same community, or first terminal and the second terminal reside in same base station.
Further, application layer equipment 81 also for: in the time judging whether the second terminal and first terminal meet proximity principle, also judge that whether the second terminal and first terminal meet the social networks of setting.
In the embodiment of the present invention, the social networks of setting refers to that the personal status relationship between each terminal of same social networks registration meets and imposes a condition, wherein, the personal status relationship of inquiry between each terminal of same social networks registration in the context that application layer equipment can be stored at self, if UE1 and UE2 are friends, UE1 and UE3 are not friends etc.; And for example, UE1 and UE2 belong to same group, and UE2 and UE3 do not belong to same group; Etc.;
The social networks of setting can be friends for the second terminal and first terminal to be determined, or the second terminal to be determined and first terminal belong to the group of same setting, etc.; In the embodiment of the present invention, can be set according to actual needs the personal status relationship of each terminal of same social networks registration carrying out needing satisfied condition in discovery procedure.
Further, communication system also comprises: middle interactive device 83 and HSS84; Wherein,
Middle interactive device 83, for obtaining after request receiving the CAMEL-Subscription-Information that application layer equipment 81 sends, sends inquiry request to HSS84, the outside of carried terminal mark in this inquiry request; And the internal indicator of the CAMEL-Subscription-Information of HSS84 feedback and terminal and the mapping relations of outside mark are sent to application layer equipment 81;
HSS84 is for receiving after inquiry request, mapping relations according to internal indicator with outside mark, the outside of determining the terminal that inquiry request carries identifies corresponding internal indicator, and interactive device 83 in the middle of the internal indicator of CAMEL-Subscription-Information corresponding definite internal indicator and this terminal and the mapping relations of outside mark are sent to.
Embodiment of the present invention application layer equipment receives the proximity relations of first terminal and finds that after request, the proximity relations CAMEL-Subscription-Information corresponding according to described first terminal, determines that first terminal has the function that can find other-end; And judge whether the second terminal and first terminal meet proximity principle, and judged result is sent to first terminal; The embodiment of the present invention provides the scheme of proximity relations between a kind of definite subscriber equipment, and this scheme is less to the change of the network architecture in existing protocol, and is easy to realize.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the modification of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.