WO2014079313A1 - Method and device for determining proximity relation between user equipments, and communication system - Google Patents

Method and device for determining proximity relation between user equipments, and communication system Download PDF

Info

Publication number
WO2014079313A1
WO2014079313A1 PCT/CN2013/086372 CN2013086372W WO2014079313A1 WO 2014079313 A1 WO2014079313 A1 WO 2014079313A1 CN 2013086372 W CN2013086372 W CN 2013086372W WO 2014079313 A1 WO2014079313 A1 WO 2014079313A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
location information
proximity
terminals
relationship
Prior art date
Application number
PCT/CN2013/086372
Other languages
French (fr)
Chinese (zh)
Inventor
张娟
周燕飞
Original Assignee
电信科学技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电信科学技术研究院 filed Critical 电信科学技术研究院
Publication of WO2014079313A1 publication Critical patent/WO2014079313A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method, device, and communication system for determining a proximity relationship between user equipments. Background technique
  • the process of communication between two user equipments (UEs) defined in the 3rd Generation Partnership Project (3GPP) is shown in FIG. 1.
  • the process in which UE1 sends data to UE2 includes:
  • the UE1 sends data to the eNB1 (evolved NodeB, ie, the base station) serving it; after receiving the data, the eNB1 passes the data to the Serving Gateway (SGW)/Packet Gateway (PGW). After receiving the data, the SGW/PGW routes the data to the SGW/PGW serving the UE1 according to the routing identifier of the UE1; since the UE1 and the SGW/PGW of the UE2 are the same, the SGW/PGW serving the UE2 is shown in the figure.
  • SGW Serving Gateway
  • PGW Packet Gateway
  • the communication process also includes a process in which the PGW of UE1 routes data to the PGW of UE2.
  • the UE1 and the UE2 are connected to the same eNB, so that only the data to be transmitted is forwarded through the eNB, and the data is not required to be forwarded to the core network for forwarding.
  • the above two transmission modes greatly reduce the delay of data transmission, and can save network resources, especially the network resources of the core network.
  • 3GPP SA1 is discussing the implementation problem of proximity communication.
  • the proximity discovery process between UEs the following two major problems need to be solved: one is the proximity discovery process between UEs, and the other is how to determine the proximity between UEs.
  • Implement direct communication the proximity discovery process between UEs is not only an important premise for implementing proximity communication, but also supports many application scenarios.
  • a merchant may send a discount and promotional advertisement to a UE near the merchant by detecting a proximity relationship; for example, the user may search for a restaurant and a supermarket near the location by using a function discovered by the proximity relationship; for example, a bus
  • the station can use the functions discovered by the proximity relationship to forecast bus arrival information, and so on.
  • Machine-Type Communication MTC
  • PLMN Public Land Mobile Network
  • MTC-IWF Function, MTC-IWF entity, which is used to connect each network element in the 3GPP network and the MTC server (server), and shields the MTC server from the topology of the 3GPP network.
  • An interface T5b is provided between the MTC-IWF and the Mobility Management Entity (MME), and an interface S6m is provided between the MTC-IWF and the Home Subscriber Server (HSS).
  • MME Mobility Management Entity
  • HSS Home Subscriber Server
  • the UE uses an internal identity in the 3GPP network, such as an International Mobile Subscriber Identifier (IMSI), etc.; and the interaction between the UE and the MTC server uses an external ID (external ID), for each UE.
  • the mapping between the external ID and the internal ID is stored in the HSS.
  • the MTC server initiates a trigger to the UE (trigger)
  • the trigger message carries the external identifier of the UE.
  • the MTC-IWF goes to the HSS to query the internal identifier corresponding to the UE.
  • the HSS will return the internal identity of the UE to the MTC-IWF and the MME ID information registered by the UE stored in the HSS.
  • the MTC-IWF triggers the corresponding message to the MME through the T5b interface.
  • 3GPP only defines the requirements for proximity discovery, and there is no solution for proximity discovery between user devices that are adjacent to each other.
  • An embodiment of the present invention provides a method, a device, and a communication system for determining a proximity relationship between user equipments, which are used to solve a solution in the prior art that does not currently perform proximity discovery between user equipments that are adjacent to each other. The problem.
  • An embodiment of the present invention provides a method for determining a proximity relationship between user equipments, including: an application layer device acquiring and storing subscription information of each terminal;
  • the application layer device After receiving the proximity discovery request of the first terminal, the application layer device determines, according to the subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals, where the proximity relationship is found. Carrying an external identifier of the first terminal in the request;
  • the application layer device obtains the location information of the first terminal and the second terminal, determines whether the second terminal and the first terminal meet the proximity principle, and sends the determination result to the first terminal.
  • An embodiment of the present invention provides an application layer device, including:
  • a subscription information obtaining module configured to acquire and store subscription information of each terminal
  • a receiving module configured to receive a proximity discovery request of the first terminal, and determine, according to the subscription information corresponding to the first terminal, that the first terminal has a function capable of discovering other terminals, where the neighbor relationship discovery request is Carrying an external identifier of the first terminal;
  • a location information obtaining module configured to acquire location information of the first terminal and the second terminal
  • a determining module configured to determine whether the second terminal and the first terminal meet a proximity principle
  • a sending module configured to: The judgment result of the module is sent to the first terminal.
  • the application layer device is configured to acquire and store the subscription information of each terminal. After receiving the proximity discovery request of the first terminal, determining, according to the subscription information corresponding to the first terminal, that the first terminal has the capability of discovering other terminals. The function of obtaining the location information of the first terminal and the second terminal, determining whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal;
  • the neighboring relationship discovery request carries the external identifier of the first terminal;
  • the first terminal is configured to send a neighbor relationship discovery request to the application layer device, and receive a determination result fed back by the application layer device.
  • a network interface configured to acquire subscription information of the terminal; and receive a proximity relationship discovery request of the first terminal;
  • a storage configured to store subscription information of the terminal acquired by the network interface
  • a processor configured to: after the network interface receives the proximity relationship discovery request of the first terminal, if it is determined that the first terminal has the function of discovering other terminals according to the subscription information corresponding to the first terminal, Determining, by the location information of the first terminal and the second terminal, whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal by using the network interface;
  • the neighbor relationship discovery request carries the external identifier of the first terminal.
  • the embodiment of the present invention provides a scheme for determining a neighbor relationship between user equipments, and implements a discovery process of a neighbor relationship between user equipments, and the scheme is The network architecture changes in the existing protocols are small and easy to implement.
  • FIG. 1 is a schematic diagram of a data transmission path for communication between two user equipments in the prior art
  • FIG. 2A is a schematic diagram of a data transmission path for direct communication between two user equipments defined in the existing protocol
  • 2B is a schematic diagram of a data transmission path for communication between two user equipments defined by an existing protocol through an eNB;
  • 3 is a schematic diagram of a 3GPP network architecture in the background art
  • FIG. 4 is a schematic flowchart of a method for determining a proximity relationship between user equipments according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a method for obtaining subscription information according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a network architecture according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of interaction between entities in the process of acquiring subscription information based on the network architecture shown in FIG. 5 according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of interaction between entities in the process of acquiring location information based on the network architecture shown in FIG. 5 according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an application layer device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • the first terminal After the proximity relationship discovery request of the terminal, the first terminal has the function of being able to discover other terminals according to the proximity relationship subscription information corresponding to the first terminal, and determining that the second terminal and the first terminal are Whether the proximity principle is satisfied, and the judgment result is sent to the first terminal, thereby solving the problem that there is currently no solution for proximity discovery between user devices that are adjacent to each other.
  • a method for determining a proximity relationship between user equipments includes the following steps:
  • Step 41 The application layer device acquires and stores the subscription information of each terminal.
  • Step 42 After receiving the proximity discovery request of the first terminal, the application layer device determines, according to the subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals, where the proximity relationship discovery request carries the first An external identifier of a terminal;
  • Step 43 The application layer device obtains location information of the first terminal and the second terminal, and determines whether the second terminal and the first terminal meet the proximity principle.
  • the second terminal in the embodiment of the present invention refers to a terminal different from the first terminal.
  • Step 44 The application layer device sends the determination result to the first terminal to complete the proximity discovery process.
  • the application layer device in the embodiment of the present invention may be an application server or the like (server).
  • the subscription information includes the proximity relationship subscription information of the terminal, and the proximity relationship subscription information of the terminal is: the terminal allows to discover other terminals and is not allowed to be used by other terminals. Discovering that the terminal allows discovery by other terminals and does not allow discovery of other terminals, the terminal allows discovery of other terminals and allows discovery by other terminals, or the terminal does not allow discovery by other terminals and does not allow discovery of other terminals; The information is for all the services related to the proximity relationship of the terminal, that is, any service related to the proximity relationship activated by the terminal should comply with the contracted proximity relationship subscription information.
  • a terminal does not have the function of discovering other terminals, including: the terminal does not have the proximity relationship discovery function; or the terminal has the proximity relationship discovery function, but the proximity relationship subscription information is that the terminal is allowed to be discovered by other terminals.
  • the terminal is not allowed to discover other terminals; or the terminal has the proximity relationship discovery function, but the proximity relationship subscription information is that the terminal is not allowed to be discovered by other terminals and the other terminals are not allowed to be discovered;
  • a terminal has the function of discovering other terminals, including: the proximity relationship signing information of the terminal is that the terminal allows to discover other terminals and is allowed to be discovered by other terminals; or the neighbor relationship of the terminal is in implementation, if the first terminal does not have the discovery After the function of the other terminal, the application layer device does not perform the proximity discovery process after receiving the proximity discovery request sent by the first terminal, or notifies the first terminal that the first terminal does not have the function of discovering other terminals by using the application layer message.
  • the proximity principle in step 43 means that the distance between the first terminal and the second terminal satisfies the setting condition.
  • the distance between the first terminal and the second terminal meets the setting conditions, and the following three manners are included:
  • the distance between the first terminal and the second terminal is not greater than the set threshold; wherein the set threshold is an empirical value, which may be set according to requirements; for example, the first terminal and the second terminal The distance between them is not more than 500 meters, etc.;
  • the first terminal and the second terminal reside in the same cell; that is, the ID of the current terminal of the first terminal and the second terminal are the same;
  • the first terminal and the second terminal reside in the same base station; that is, the ID of the first terminal and the second terminal currently camped on the base station are the same.
  • a limitation scenario for the proximity discovery process is also defined in the 3GPP, that is, the discovery process of the proximity relationship requires the subscription relationship information with the UE, the network configuration, and whether the registration relationship between the two user equipments at the application layer is a friend relationship. Etc. (ie social relationships) factors are relevant.
  • A, B, and C use the same social network application, and VIII, B, and C both use UEs with neighboring service functions.
  • the context information maintained by the social network application layer displays the following relationship information: A and C are friends. C and B are friends, A and B are not friends.
  • the proximity discovery functions that need to be implemented are as follows:
  • the UE of C can find that A is in a neighboring location
  • - A's social networking application can know if C is in its immediate location;
  • - C's social networking application can know if A is in its immediate location;
  • the UE of B cannot find that the UE of A is in its neighboring location
  • the proximity discovery process requires that only UEs with friend relationships can discover each other. If the application layer indicates that the UEs are not friends, they cannot discover each other, that is, the two neighboring terminals need to satisfy certain social relationships. Discover each other.
  • step 43 the application layer device, before acquiring the location information of the first terminal and the second terminal, further includes: determining whether the second terminal and the first terminal are satisfied Set social relationships.
  • the set social relationship is that the identity relationship between the terminals registered in the same social network meets the set condition, where the application layer device can query the registration in the same social network in the context of its own storage. For example, UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group;
  • the set social relationship may be that the second terminal to be determined is in a friend relationship with the first terminal, or the second terminal to be determined belongs to the same set group as the first terminal, and the like, in the embodiment of the present invention, According to actual needs, the conditions for the identity relationships of the terminals registered in the same social network to be met during the discovery process are set.
  • the application layer device obtains subscription information of each terminal (including at least the first terminal and the second terminal) according to the following steps and stores:
  • Step 51 In a process of initiating an attaching process, the MME currently camped on the terminal initiates a subscription information acquisition request to the HSS, where the subscription information acquisition request carries the internal identifier of the terminal; signaling between the MME and the HSS Identify the corresponding terminal with an internal identifier, such as IMSI;
  • Step 52 The HSS obtains the subscription information corresponding to the internal identifier from the subscription information of each terminal that is stored in the subscription information obtained by the received subscription information, and obtains the subscription information corresponding to the internal identifier.
  • the mapping information of the obtained contract information and the internal identifier of the terminal and the external identifier (such as the mapping relationship between the IMSI and the application layer identifier) are sent to the MME;
  • the HSS holds the subscription information of each terminal.
  • the subscription information also includes the proximity relationship subscription information of the terminal, because the terminal and the application layer device use the external identifier to interact.
  • the interaction between the internal identifier of each terminal and the external identifier is also stored in the HSS.
  • the internal identifier of the terminal is IMSI
  • the external identifier of the terminal is an application.
  • Layer identification (such as the QQ number of the terminal, MSN account, etc.).
  • Step 53 The MME sends the subscription information of the terminal returned by the HSS and the mapping relationship between the internal identifier of the terminal and the external identifier to the intermediate interaction device;
  • Step 54 The intermediate interaction device saves the received mapping relationship between the internal identifier of the terminal and the external identifier, and sends the subscription information of the terminal and the external identifier of the terminal to the application layer device for storage.
  • the MME further sends its own identification information to the intermediate interaction device for storage;
  • step 54 after receiving the identifier information of the MME sent by the MME, the intermediate interaction layer device saves the identifier information of the MME currently camped on by the terminal.
  • the MME that the terminal currently resides sends an update request to the intermediate interaction device, where the update request carries the identity information of the MME and the internal identifier of the terminal;
  • the intermediate interaction device updates the identity information of the MME currently stored by the terminal, which is stored in the intermediate interaction device, to ensure that the identity information of the MME stored in the intermediate interaction device is valid information.
  • the signaling interaction between the MME and the HSS uses the internal identifier to identify the terminal; the signaling interaction between the MME and the intermediate interaction device uses the internal identifier to identify the terminal; between the intermediate interaction device and the application layer device
  • the signaling interaction uses an external identifier to identify the terminal, such as the application layer ID of the terminal.
  • the intermediate interaction device may be deployed separately or in combination with
  • MTC-IWF is also available and can be combined with HSS.
  • the intermediate interaction device can interact with the MME and the application layer device respectively through the interface Xx and the interface Xz; and can also communicate with the MME through the interface T5b and the interface Tsp of the MTC-IWF respectively.
  • the application layer device interacts, wherein the interface T5b and the interface Tsp are defined to have the functions of the interface Xx and the interface Xz;
  • the intermediate interaction device interacts with the MME and the application layer device through the interface Xx and the interface Xz, respectively.
  • FIG. 6 is a network architecture diagram of an embodiment of the present invention.
  • an intermediate interaction device and an MME are configured to interact with each other through an interface Xx, where the interface Xx is used to implement location information of the terminal between the intermediate interaction device and the MME.
  • the process of obtaining the subscription information specifically: the MME obtains the subscription information of the terminal, and the mapping relationship between the internal identifier of the terminal and the external identifier is sent to the intermediate interaction device through the interface Xx; and the intermediate interaction device sends the location information to the MME through the interface Xx.
  • the MME sends the obtained location information of the terminal to the intermediate interaction device through the interface Xx; and defines the interaction between the intermediate interaction device and the application layer device through the interface Xz, where the interface Xy is used in the intermediate interaction device and the application layer device
  • the process of obtaining the location information of the terminal and the process of acquiring the subscription information is as follows:
  • the intermediate interaction device sends the obtained subscription information of the terminal to the application layer device through the interface Xz; and the application layer device initiates the location to the intermediate interaction device through the interface Xz.
  • Information acquisition request, intermediate interaction device The acquired position information transmitting terminal device to the application layer via the interface Xz.
  • interface Xy and the interface Xz can be defined by using any existing protocol stack, as long as the above functions can be implemented.
  • the process of obtaining the subscription information of each terminal in the embodiment of the present invention includes: interaction between the HS S and the MME, the MME, the intermediate interaction device, and the intermediate interaction device and the application layer device, As shown in FIG. 7, refer to steps 51 to 54 for details.
  • the intermediate interaction device in the embodiment of the present invention may be deployed separately, or may be set in the MTC-IWF, or may be set in the HSS.
  • the intermediate interaction device can interact with the HSS and the application layer device respectively through the interface Xy and the interface Xz; and can also communicate with the HSS through the interface S6m and the interface Tsp of the MTC-IWF respectively.
  • the application layer device interacts, wherein the interface S6m and the interface Tsp are defined to have the functions of the interface Xy and the interface Xz;
  • the intermediate interaction device interacts with the HSS and the application layer device through the interface Xy and the interface Xz respectively, wherein the interaction between the intermediate interaction device and the HSS uses internal signaling.
  • the proximity discovery request initiated by the first terminal includes the following two types:
  • the first proximity discovery request is: the first terminal requests to determine whether the first terminal and the second terminal specified by itself meet the proximity principle (or meet the proximity principle and the set social relationship); wherein the proximity discovery request further carries Have an external identifier of the second terminal;
  • the first terminal needs to be able to obtain the external identifier of the second terminal that is specified by the first terminal.
  • the first terminal may obtain the external identifier of the second terminal by using the application layer device, and may also obtain the second method by using other methods.
  • the external identifier of the terminal may be obtained by using the application layer device, and may also obtain the second method by using other methods.
  • the second proximity discovery request is: the first terminal requests to determine all second terminals that satisfy the proximity principle (or proximity principle and set social relationship).
  • step 43 describes the execution process of step 43 after the first terminal initiates the proximity discovery request for the restriction scenario of the proximity discovery process defined by the foregoing 3GPP.
  • the method further includes:
  • the application layer device determines, according to the external identifier of the second terminal carried in the request, the second terminal has a function that can be discovered by the other terminal, and the second terminal and the first terminal satisfy the set social relationship.
  • the second terminal after determining that the second terminal has a function that can be discovered by the other terminal, and the second terminal and the first terminal satisfy the set social relationship, acquiring the location information of the first terminal and the second terminal; After determining the location information returned by the intermediate interaction device, determining, according to the location information of the first terminal and the second terminal, whether the second terminal and the first terminal meet the proximity principle; If yes, determining that the second terminal is adjacent to the first terminal;
  • step 44 the application layer device sends the determination result to the first terminal, including: if the determination result in step 43 is that the second terminal is adjacent to the first terminal, the application layer device returns a proximity response message to the first terminal; as well as
  • step 43 If the result of the determination in step 43 is that the second terminal is not adjacent to the first terminal, the application layer device returns a non-proximity response message to the first terminal.
  • the method further includes: the application layer device sending the determination result to the second terminal. Specifically, if the result of the determination in step 43 is that the second terminal is adjacent to the first terminal, the application layer device returns a proximity response message with the first terminal to the second terminal, where the returned message carries the external identifier of the first terminal;
  • the application layer device If the result of the determination in step 43 is that the second terminal is not adjacent to the first terminal, the application layer device returns a non-proximity response message with the first terminal to the second terminal, where the returned message carries the external identifier of the first terminal.
  • the application layer device determines, according to the following steps, that the second terminal has a function that can be found by other terminals:
  • the application layer device obtains the subscription information of the second terminal from the subscription information of the terminal that is stored in the terminal, according to the external identifier of the second terminal that is carried in the request.
  • the application layer device determines, according to the subscription information of the second terminal, whether the second terminal has a function that can be discovered by the other terminal;
  • the subscription information included in the subscription information is allowed to be discovered by other terminals and the other terminals are not allowed to be discovered, or the terminal allows other terminals to be discovered and allowed to be discovered by other terminals, it is determined that the second terminal has permission to be discovered by other terminals. The function.
  • the subscription information does not include the proximity relationship subscription information (that is, the terminal does not have the proximity relationship discovery function), or the proximity relationship subscription information of the terminal is that the terminal allows to discover other terminals and is not allowed to be discovered by other terminals, or The proximity relationship signing information of the terminal is that the terminal is not allowed to be discovered by other terminals and the other terminals are not allowed to be found, then it is determined that the second terminal does not have permission to be The features discovered by his terminal.
  • the application layer device determines whether the second terminal has a function that can be discovered by other terminals, and determines whether the second terminal and the first terminal meet the set social relationship, that is, the application layer device may first Determining whether the second terminal has a function that can be discovered by another terminal, and determining whether the second terminal and the first terminal meet the set social relationship; or determining whether the second terminal and the first terminal meet the set social relationship And whether the second terminal has a function that can be discovered by other terminals.
  • the application layer device may first determine whether the second terminal has a function that can be discovered by other terminals, and if not, determine that the second terminal is not adjacent to the first terminal; if yes, continue to determine whether the second terminal and the first terminal are satisfied. Setting the social relationship, if not, determining that the second terminal is not adjacent to the first terminal; if yes, determining that the second terminal has a function that can be discovered by other terminals and whether the second terminal and the first terminal meet the setting Social relationship;
  • the application layer device may also determine whether the second terminal and the first terminal meet the set social relationship. If not, if not, determine that the second terminal is not adjacent to the first terminal; if yes, continue to determine the second Whether the terminal has a function that can be discovered by other terminals, if not, determining that the second terminal is not adjacent to the first terminal; if yes, determining that the second terminal has a function that can be discovered by other terminals, and the second terminal and the first terminal Whether the terminal satisfies the set social relationship.
  • step 43 before the application layer device obtains the location information of the first terminal and the second terminal, the method further includes:
  • the application layer device determines all second terminals having functions that can be discovered by other terminals and that satisfy the set social relationship with the first terminal.
  • the application layer device acquires the location information of the first terminal and all the determined second terminals; and after receiving the location information returned by the intermediate interaction device, determining, according to the location information of the first terminal and all the determined second terminals, A second terminal that satisfies the proximity principle with the first terminal.
  • step 44 the application layer device sends the determination result to the first terminal, including: if the result of the determination in step 43 is that there is a function that can be found by other terminals, and the first terminal meets the set social relationship and proximity The second terminal of the principle, the application layer device returns to the first terminal Returning the success response message, and feeding back the external identifier and/or location information of all the second terminals determined in step 43 to the first terminal;
  • step 43 If the result of the determination in step 43 is that the second terminal does not meet the above conditions, the application layer device returns a failure response message to the first terminal.
  • the application layer device sends the determination result to the second terminal. Specifically, if the result of the determination in step 43 is that the second terminal and the first terminal meet the foregoing conditions, the application layer device The second terminal returns a proximity response message with the first terminal, where the returned message carries the external identifier of the first terminal.
  • the application layer device sends the determination result in step 43 to the first terminal and/or the second terminal by using an application layer message.
  • the application layer device determines, according to the subscription information of each terminal that is stored by itself, all the second terminals that have functions that can be discovered by other terminals;
  • the subscription information included in the subscription information is that the terminal allows discovery by other terminals and does not allow discovery of other terminals, or the terminal allows discovery of other terminals and allows discovery by other terminals, determining that the second terminal has permission to be discovered by other terminals The function.
  • the application layer device can query all second terminals that satisfy the set social relationship (such as a friend relationship) with the first terminal from the context of the self storage.
  • the application layer device obtains location information of each terminal (including at least the first terminal and the second terminal) according to the following steps:
  • the application layer device sends a location information acquisition request to the intermediate interaction device, where the location information acquisition request carries the external identifier of the terminal;
  • the intermediate interaction device determines the internal identifier of the terminal according to the mapping relationship between the internal identifier and the external identifier, and initiates a location query request to the MME that the terminal currently resides.
  • the location query request carries the internal identifier of the terminal.
  • the MME obtains the location information of the terminal according to the received internal identifier, and sends the obtained location information to the intermediate interaction device, where the location information includes: the ID of the cell where the terminal currently camps, and the terminal. ID of the base station currently camped, and geographical location information of the terminal One or a combination; and
  • the intermediate interaction device sends the received location information of the terminal to the application layer device.
  • the network architecture diagram shown in FIG. 6 is used as an example.
  • the process of acquiring location information of each terminal includes: interaction between the intermediate interaction device and the application layer device, and the intermediate interaction device and the MME, as shown in FIG. Show.
  • the above method processing flow can be implemented by a software program, which can be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
  • an embodiment of the present invention further provides an application layer device.
  • the application layer device includes:
  • the subscription information obtaining module 90 is configured to acquire and store the subscription information of each terminal;
  • the receiving module 91 is configured to receive the proximity discovery request of the first terminal, and determine, according to the subscription information corresponding to the first terminal that is stored by the subscription information acquiring module 90, that the first terminal has the function of discovering other terminals, where the neighbor relationship
  • the discovery request carries the external identifier of the first terminal
  • the location information obtaining module 92 is configured to obtain the location information of the first terminal and the second terminal
  • the determining module 93 is configured to determine whether the second terminal and the first terminal meet the proximity principle.
  • the proximity principle refers to that the distance between the first terminal and the second terminal meets a set condition
  • the sending module 94 is configured to send the determination result of the determining module 93 to the first terminal.
  • the second terminal refers to a terminal different from the first terminal.
  • the proximity principle means that the distance between the first terminal and the second terminal satisfies the setting condition.
  • the distance between the first terminal and the second terminal satisfies the setting condition that the distance between the first terminal and the second terminal is not greater than a set threshold, or the first terminal and the second terminal reside in the same The cell, or the first terminal and the second terminal reside in the same base station.
  • the determining module 93 is further configured to: before the location information obtaining module 92 acquires the location information of the first terminal and the second terminal, determine whether the second terminal and the first terminal meet the set social relationship.
  • the set social relationship refers to each terminal registered in the same social network.
  • the identity relationship satisfies the setting condition, wherein the application layer device can query the identity relationship between the terminals registered in the same social network in the context of the self-storage, for example, UE1 and UE2 are friends, and UE1 and UE3 are not friends.
  • UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group;
  • the set social relationship may be that the second terminal to be determined is in a friend relationship with the first terminal, or the second terminal to be determined belongs to the same set group as the first terminal, and the like, in the embodiment of the present invention, According to actual needs, the conditions for the identity relationships of the terminals registered in the same social network to be met during the discovery process are set.
  • the application layer device further includes:
  • the subscription information obtaining module 95 is configured to receive and register the subscription information of each terminal sent by the intermediate interaction device, where the subscription information sent by the intermediate interaction device carries the external identifier of the terminal.
  • the determining module 93 is specifically configured to:
  • the location information obtaining module 92 acquires the location information of the first terminal and the second terminal, determining, according to the external identifier of the second terminal that is carried in the request, the second terminal has a function that can be discovered by the other terminal, and the The second terminal and the first terminal satisfy a set social relationship.
  • the determining module 93 is specifically configured to: obtain the location information acquiring module 92. Before the location information of the first terminal and the second terminal, determining all second terminals having functions that can be discovered by other terminals and satisfying the set social relationship with the first terminal; and receiving the intermediate interaction device in the location information acquiring module 92 After the returned location information, the second terminal that satisfies the proximity principle with the first terminal is determined according to the first terminal and the determined location information of all the second terminals.
  • the sending module 94 is further configured to:
  • the determined external identification and/or location information of all second terminals having functions capable of being discovered by other terminals and satisfying the set social relationship and proximity principle with the first terminal is fed back to the first terminal.
  • the sending module 94 is further configured to: send the determination result of the determining module 93 to the second terminal.
  • an embodiment of the present invention further provides a communication system.
  • the communication system includes:
  • the application layer device 100 is configured to acquire and store the subscription information of each terminal. After receiving the proximity relationship discovery request of the first terminal 110, determining, according to the proximity relationship subscription information corresponding to the first terminal 110, that the first terminal 110 has the capability to discover The function of the other terminal; obtaining the location information of the first terminal 110 and the second terminal, determining whether the second terminal and the first terminal 110 satisfy the proximity principle, and transmitting the determination result to the first terminal 110; wherein, the proximity relationship discovery request is Carrying the external identifier of the first terminal 110, the proximity principle is that the distance between the first terminal and the second terminal meets the setting condition; the first terminal 110 is configured to send a proximity relationship discovery request to the application layer device, and receive the application. The judgment result of the layer device feedback.
  • the second terminal refers to a terminal different from the first terminal.
  • the proximity principle means that the distance between the first terminal and the second terminal satisfies the setting condition.
  • the distance between the first terminal and the second terminal satisfies the setting condition that the distance between the first terminal and the second terminal is not greater than a set threshold, or the first terminal and the second terminal reside in the same The cell, or the first terminal and the second terminal reside in the same base station.
  • the application layer device 100 is further configured to: before obtaining the location information of the first terminal 110 and the second terminal, determine whether the second terminal and the first terminal 110 satisfy the set social relationship.
  • the set social relationship is that the identity relationship between the terminals registered in the same social network meets the set condition, where the application layer device can query the registration in the same social network in the context of its own storage. For example, UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group;
  • the set social relationship may be that the second terminal to be determined is in a friend relationship with the first terminal, or the second terminal to be determined belongs to the same set group as the first terminal, and the like.
  • the conditions that the identity relationships of the terminals registered in the same social network need to be met during the discovery process may be set according to actual needs.
  • the communication system further includes: an MME 120, an intermediate interaction device 130, and an HSS 140; wherein the subscription information acquisition process of each terminal includes:
  • the MME 120 is configured to send a subscription information acquisition request to the HSS 140, and send the feedback of the HSS 140 to the intermediate interaction device 130, where the subscription information acquisition request carries the internal identifier of the terminal;
  • the HSS 140 is configured to obtain, according to the received internal information of the subscription information, the subscription information corresponding to the internal identifier, and the obtained subscription information and the internal identifier of the terminal stored by the self-registered subscription information.
  • the mapping relationship with the external identifier is sent to the MME 120;
  • the intermediate interaction device 130 is configured to save the received mapping relationship between the internal identifier of the terminal and the external identifier, and send the received subscription information of the terminal to the application layer server 100.
  • the MME 120 is further configured to: when the feedback of the HSS 140 is sent to the intermediate interaction device 130, send the identity information of the HSS to the intermediate interaction layer device 130;
  • the intermediate interaction layer device 130 is further configured to: save the identifier information of the MME 120 that the terminal currently camps on. Further, after the MME 120 currently camped on by a terminal is changed, the MME 120 currently camped by the terminal is further configured to: send an update request to the intermediate interaction device 130, where the update request carries its own identification information and an internal identifier of the terminal. ;
  • the intermediate interaction device 130 is further configured to: update, according to the received update request, the identity information of the MME currently stored by the terminal that is currently stored by the terminal.
  • the application layer device 100 is further configured to: initiate a location information acquisition request to the intermediate interaction device 130, where the location information acquisition request carries an external identifier of the terminal;
  • the intermediate interaction device 130 is further configured to: determine, according to the mapping relationship between the internal identifier and the external identifier, the internal identifier corresponding to the external identifier carried in the received location information acquisition request, and initiate a location query to the MME 120 where the terminal currently resides.
  • the request, the location information query request carries the internal identifier of the terminal; and the feedback of the MME 120 currently hosting the terminal is sent to the application layer device 100;
  • the MME 120 currently camped on by the terminal is further configured to: obtain the location information of the terminal according to the internal identifier carried in the received location query request, and send the obtained location information to the intermediate interaction device 130 and carry the internal location of the terminal.
  • the location information includes: one or a combination of an ID of a cell where the terminal currently camps, an ID of a base station where the terminal currently camps, and geographic location information of the terminal.
  • the intermediate interaction device 130 is combined with the machine type communication interaction function MTC-IWF entity; or the intermediate interaction device is combined with the 130 HSS.
  • the proximity relationship discovery request of the terminal determining, according to the proximity relationship subscription information corresponding to the first terminal, determining that the first terminal has the function of discovering other terminals; and determining whether the second terminal and the first terminal satisfy the proximity principle, and sending the determination result
  • the first terminal is provided.
  • the embodiment of the present invention provides a solution for determining a proximity relationship between user equipments.
  • the solution has small changes to the network architecture in the existing protocol, and is easy to implement.
  • an embodiment of the present invention further provides a network device.
  • the network device may include: a network interface 111, a processor 112, and a memory 113, where: a network interface 111, configured to acquire subscription information of the terminal; and, receiving a proximity discovery request of the first terminal;
  • the storage unit 112 is configured to store subscription information of the terminal acquired by the network interface.
  • the processor 113 is configured to: after the network interface receives the proximity relationship discovery request of the first terminal, if it is determined that the first terminal has the function of being able to discover other terminals according to the subscription information corresponding to the first terminal, Acquiring the location information of the first terminal and the second terminal, determining whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal by using the network interface;
  • the neighbor relationship discovery request carries an external identifier of the first terminal.
  • the processor 112 may further determine, before the network interface 111 acquires the location information of the first terminal and the second terminal, whether the second terminal and the first terminal meet the set social relationship, where The social relationship that satisfies the setting refers to each terminal registered in the same social network. The identity relationship between them satisfies the set conditions.
  • the proximity relationship discovery request is: the first terminal requests to determine whether the first terminal and the second terminal specified by the first terminal meet the proximity principle and the set social relationship, and the proximity relationship discovery request further carries An external identifier of the second terminal.
  • the processor 112 may further determine, according to the external identifier of the second terminal carried in the request by the proximity relationship, that the second terminal has other capabilities, before acquiring the location information of the first terminal and the second terminal. The function discovered by the terminal and the second terminal and the first terminal satisfy the set social relationship.
  • the processor 112 may also obtain the Determining, by the first terminal and the location information of the second terminal, all second terminals having functions capable of being discovered by other terminals and satisfying the set social relationship with the first terminal; the processor 112 determining the second Whether the terminal and the first terminal meet the proximity principle further includes: after receiving the location information returned by the intermediate interaction device, determining, according to the first terminal and the determined location information of all the second terminals, the first The terminal satisfies the second terminal of the proximity principle.
  • the network interface 111 may determine the external identifier and/or location of all the second terminals having the function that can be discovered by other terminals and satisfy the set social relationship and the proximity principle with the first terminal. Information is fed back to the first terminal.
  • the network interface 111 may also send the determination result to the second terminal.
  • the satisfying the proximity principle means that the distance between the first terminal and the second terminal satisfies the setting condition, and the distance between the first terminal and the second terminal satisfies the setting condition, including: The distance between the first terminal and the second terminal is not greater than a set threshold, or the first terminal and the second terminal reside in the same cell, or the first terminal and the second terminal The terminal resides on the same base station.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention is applicable to one or more computer-usable storage media (including but not limited to disks) having computer usable program code embodied therein. A form of computer program product embodied on a memory, CD-ROM, optical storage, or the like.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A method and device for determining a proximity relation between user equipments, and a communication system, which are used for solving the problem that there is no solution at present for discovering a proximity relation between user equipments which are adjacent to each other. The method in the embodiments of the present invention comprises: an application layer device acquiring and storing subscription information about each terminal; after receiving a proximity relation discovery request from a first terminal, according to the subscription information corresponding to the first terminal, determining that the first terminal has a function of discovering other terminals; and acquiring the location information about the first terminal and a second terminal, judging whether the second terminal and the first terminal meet a proximity principle, and sending the result of the judgment to the first terminal. The embodiments of the present invention provide a solution for determining a proximity relation between user equipments, which achieves the discovery process of the proximity relation between the user equipments. In addition, the solution makes little modification to a network architecture in the existing protocol, and is easily realizable.

Description

一种确定用户设备之间邻近关系的方法、 设备及通信系统 本申请要求在 2012 年 11 月 26 日提交中国专利局、 申请号为 201210488666.7、 发明名称为 "一种确定用户设备之间邻近关系的方法、设备 及通信系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请 中。 技术领域  The present invention claims to be submitted to the Chinese Patent Office on November 26, 2012, the application number is 201210488666.7, and the invention name is "a kind of determining the proximity relationship between user equipments. The priority of the Chinese patent application of the method, the device and the communication system is hereby incorporated by reference in its entirety. Technical field
本发明涉及无线通信技术领域, 特别涉及一种确定用户设备之间邻近关 系的方法、 设备及通信系统。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a method, device, and communication system for determining a proximity relationship between user equipments. Background technique
目前第三代合作伙伴计划 ( 3rd Generation Partnership Project, 3GPP ) 中 定义的两个用户设备(User Equipment, UE )之间的通信过程,参见图 1所示, UE1向 UE2发送数据的过程包括:  The process of communication between two user equipments (UEs) defined in the 3rd Generation Partnership Project (3GPP) is shown in FIG. 1. The process in which UE1 sends data to UE2 includes:
UE1将数据发送到为其服务的 eNBl ( evolved NodeB, 演进节点 B, 即基 站); eNBl在接收到数据后, 将该数据传递到服务网关 (Serving Gateway, SGW ) /分组网关(Packet Gateway, PGW ); SGW/PGW在收到该数据后, 根 据 UE1 的路由标识, 将该数据路由到为 UE1服务的 SGW/PGW; 由于图中 UE1与 UE2的 SGW/PGW相同, 为 UE2服务的 SGW/PGW将该数据传递到 为 UE2服务的 eNB2; 最后 eNB2将该数据传递给 UE2, 以完成 UE1向 UE2 发送数据的过程;若为 UE1和 UE2服务的 SGW/PGW不相同,则 UE1与 UE2 之间的通信过程还包括 UE1的 PGW将数据路由到 UE2的 PGW的过程。  The UE1 sends data to the eNB1 (evolved NodeB, ie, the base station) serving it; after receiving the data, the eNB1 passes the data to the Serving Gateway (SGW)/Packet Gateway (PGW). After receiving the data, the SGW/PGW routes the data to the SGW/PGW serving the UE1 according to the routing identifier of the UE1; since the UE1 and the SGW/PGW of the UE2 are the same, the SGW/PGW serving the UE2 is shown in the figure. Passing the data to eNB2 serving UE2; finally eNB2 passes the data to UE2 to complete the process of UE1 transmitting data to UE2; if the SGW/PGW serving UE1 and UE2 are different, then between UE1 and UE2 The communication process also includes a process in which the PGW of UE1 routes data to the PGW of UE2.
从上述过程可以看出, 即使相互通信的两个用户设备之间的位置非常近, 传递数据时也需要通过为各自服务的 eNB及核心网才能到达对端, 使得通信 延时非常大, 而且还会占用更多的网络资源。 因此, 3GPP正在研究关于邻近 设备之间的通信技术, 即: 在需要通信的两个 UE之间的距离很近时, 实现该 两个 UE之间直接传输数据, 其数据传输路径参见图 2A所示, UE1和 UE2 之间可以直接传输数据, 而不需要经过任何移动网络设备; 或者仅借助 eNB 的传递实现该两个 UE之间的快速通信, 其数据传输路径参见图 2B所示, 将 UE1和 UE2连接到同一 eNB , 实现仅通过该 eNB转发需要发送的数据, 而不 需要将数据路由到核心网进行转发。 上述两种传输方式大大减少了数据传输 的延时, 并且可以节省网络资源, 尤其是节省核心网的网络资源。 It can be seen from the above process that even if the location between two user equipments that communicate with each other is very close, the data passing through the eNB and the core network serving the respective peers can reach the opposite end, so that the communication delay is very large, and Will take up more network resources. Therefore, 3GPP is studying communication technology between neighboring devices, that is, when the distance between two UEs that need to communicate is very close, The data is directly transmitted between the two UEs. The data transmission path is shown in Figure 2A. The data can be directly transmitted between UE1 and UE2 without going through any mobile network equipment; or the two UEs can be realized only by the transmission of the eNB. For the fast communication between the two, the data transmission path is as shown in FIG. 2B. The UE1 and the UE2 are connected to the same eNB, so that only the data to be transmitted is forwarded through the eNB, and the data is not required to be forwarded to the core network for forwarding. The above two transmission modes greatly reduce the delay of data transmission, and can save network resources, especially the network resources of the core network.
目前, 3GPP SA1正在讨论邻近通信的实现问题, 为了实现 UE之间的邻 近通信, 需要解决以下两大问题: 一是 UE之间的邻近关系发现过程, 二是确 定了邻近关系的 UE之间如何实现直接通信。 其中, UE之间的邻近关系发现 过程不仅仅是实现邻近通信的重要前提, 同时还能支持很多的应用场景。 例 如, 商家可以通过检测邻近关系, 向该商家附近的 UE发送打折及促销广告; 又如, 用户可以通过邻近关系发现的功能, 搜索其所在位置附近的餐馆和超 市等信息; 再如, 公交车站可以通过邻近关系发现的功能, 预报公交到站信 息, 等等。  At present, 3GPP SA1 is discussing the implementation problem of proximity communication. In order to implement proximity communication between UEs, the following two major problems need to be solved: one is the proximity discovery process between UEs, and the other is how to determine the proximity between UEs. Implement direct communication. Among them, the proximity discovery process between UEs is not only an important premise for implementing proximity communication, but also supports many application scenarios. For example, a merchant may send a discount and promotional advertisement to a UE near the merchant by detecting a proximity relationship; for example, the user may search for a restaurant and a supermarket near the location by using a function discovered by the proximity relationship; for example, a bus The station can use the functions discovered by the proximity relationship to forecast bus arrival information, and so on.
为了支持机器类型通信 ( Machine-Type Communication , MTC ) 触发 ( trigger ) 的特性, 3GPP网络架构中引入了新的架构, 参见图 3所示, 在公 共陆上移动网 (Public Land Mobile Network, PLMN ) 网络中新增了一个实体 机器类型通信交互功能 ( Machine-Type Communication Interworking In order to support the characteristics of Machine-Type Communication (MTC) trigger, a new architecture is introduced in the 3GPP network architecture, as shown in Figure 3, on the Public Land Mobile Network (PLMN). A new machine type communication interaction function has been added to the network ( Machine-Type Communication Interworking
Function, MTC-IWF )实体, 用于连接在 3GPP 网络中的各网元以及 MTC服 务器( server ),并向 MTC server屏蔽 3GPP网络的拓朴结构。其中, MTC-IWF 与移动性管理实体 ( Mobility Management Entity, MME )之间设有接口 T5b, MTC-IWF与归属用户服务器(Home Subscriber Server, HSS )之间设有接口 S6m。 Function, MTC-IWF) entity, which is used to connect each network element in the 3GPP network and the MTC server (server), and shields the MTC server from the topology of the 3GPP network. An interface T5b is provided between the MTC-IWF and the Mobility Management Entity (MME), and an interface S6m is provided between the MTC-IWF and the Home Subscriber Server (HSS).
UE在 3GPP网络中使用内部标识( internal identity ), 例如国际移动用户 标识符( International Mobile Subscriber Identifier, IMSI )等; 而 UE与 MTC server之间的交互使用外部标识 ( external ID ), 每个 UE的外部标识与内部标 识之间的映射关系保存在 HSS。 当 MTC server向 UE发起触发(trigger ) 消 息时, trigger消息中携带的是 UE的外部标识; MTC-IWF收到后去 HSS查询 该 UE对应的内部标识。 HSS将向 MTC-IWF返回 UE对于的内部标识以及在 HSS中保存的 UE注册的 MME ID信息。 MTC-IWF收到信息后通过 T5b接口 向 MME触发对应的消息。 The UE uses an internal identity in the 3GPP network, such as an International Mobile Subscriber Identifier (IMSI), etc.; and the interaction between the UE and the MTC server uses an external ID (external ID), for each UE. The mapping between the external ID and the internal ID is stored in the HSS. When the MTC server initiates a trigger to the UE (trigger) When the information is received, the trigger message carries the external identifier of the UE. After receiving the message, the MTC-IWF goes to the HSS to query the internal identifier corresponding to the UE. The HSS will return the internal identity of the UE to the MTC-IWF and the MME ID information registered by the UE stored in the HSS. After receiving the information, the MTC-IWF triggers the corresponding message to the MME through the T5b interface.
综上所述, 目前 3GPP只定义了对于邻近关系发现的需求, 还没有针对相 互邻近的用户设备之间进行邻近关系发现的解决方案。 发明内容  In summary, at present, 3GPP only defines the requirements for proximity discovery, and there is no solution for proximity discovery between user devices that are adjacent to each other. Summary of the invention
本发明实施例提供了一种确定用户设备之间邻近关系的方法、 设备及通 信系统, 用于解决现有技术中存在的目前还没有针对相互邻近的用户设备之 间进行邻近关系发现的解决方案的问题。  An embodiment of the present invention provides a method, a device, and a communication system for determining a proximity relationship between user equipments, which are used to solve a solution in the prior art that does not currently perform proximity discovery between user equipments that are adjacent to each other. The problem.
本发明实施例提供了一种确定用户设备之间邻近关系的方法, 包括: 应用层设备获取并存储各终端的签约信息;  An embodiment of the present invention provides a method for determining a proximity relationship between user equipments, including: an application layer device acquiring and storing subscription information of each terminal;
所述应用层设备在接收到第一终端的邻近关系发现请求后, 根据所述第 一终端对应的签约信息, 确定所述第一终端具有能够发现其他终端的功能, 其中, 所述邻近关系发现请求中携带所述第一终端的外部标识;  After receiving the proximity discovery request of the first terminal, the application layer device determines, according to the subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals, where the proximity relationship is found. Carrying an external identifier of the first terminal in the request;
所述应用层设备获取所述第一终端及第二终端的位置信息, 判断所述第 二终端与所述第一终端是否满足邻近原则, 并将判断结果发送给所述第一终 端。  The application layer device obtains the location information of the first terminal and the second terminal, determines whether the second terminal and the first terminal meet the proximity principle, and sends the determination result to the first terminal.
本发明实施例提供了一种应用层设备, 包括:  An embodiment of the present invention provides an application layer device, including:
签约信息获取模块, 用于获取并存储有各终端的签约信息;  a subscription information obtaining module, configured to acquire and store subscription information of each terminal;
接收模块, 用于接收第一终端的邻近关系发现请求, 并根据所述第一终 端对应的签约信息, 确定所述第一终端具有能够发现其他终端的功能, 其中, 所述邻近关系发现请求中携带所述第一终端的外部标识;  a receiving module, configured to receive a proximity discovery request of the first terminal, and determine, according to the subscription information corresponding to the first terminal, that the first terminal has a function capable of discovering other terminals, where the neighbor relationship discovery request is Carrying an external identifier of the first terminal;
位置信息获取模块, 用于获取所述第一终端及第二终端的位置信息; 判定模块, 用于判断第二终端与所述第一终端是否满足邻近原则; 发送模块, 用于将所述判定模块的判断结果发送给所述第一终端。 本发明实施例提供了一种通信系统, 包括: a location information obtaining module, configured to acquire location information of the first terminal and the second terminal; a determining module, configured to determine whether the second terminal and the first terminal meet a proximity principle; and a sending module, configured to: The judgment result of the module is sent to the first terminal. The embodiment of the invention provides a communication system, including:
应用层设备, 用于获取并存储各终端的签约信息; 在接收到第一终端的 邻近关系发现请求后, 根据所述第一终端对应的签约信息, 确定所述第一终 端具有能够发现其他终端的功能; 获取所述第一终端及第二终端的位置信息 , 判断所述第二终端与所述第一终端是否满足邻近原则, 并将判断结果发送给 所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的外部标 识;  The application layer device is configured to acquire and store the subscription information of each terminal. After receiving the proximity discovery request of the first terminal, determining, according to the subscription information corresponding to the first terminal, that the first terminal has the capability of discovering other terminals. The function of obtaining the location information of the first terminal and the second terminal, determining whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal; The neighboring relationship discovery request carries the external identifier of the first terminal;
第一终端, 用于向所述应用层设备发送邻近关系发现请求, 并接收所述 应用层设备反馈的判断结果。  The first terminal is configured to send a neighbor relationship discovery request to the application layer device, and receive a determination result fed back by the application layer device.
本发明实施例提供的网络设备, 包括:  The network device provided by the embodiment of the present invention includes:
网络接口, 用于获取终端的签约信息; 以及, 接收到第一终端的邻近关 系发现请求;  a network interface, configured to acquire subscription information of the terminal; and receive a proximity relationship discovery request of the first terminal;
存储器, 用于存储所述网络接口获取到的终端的签约信息;  a storage, configured to store subscription information of the terminal acquired by the network interface;
处理器, 用于在所述网络接口接收到第一终端的邻近关系发现请求后, 若根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他 终端的功能, 则获取所述第一终端及第二终端的位置信息, 判断所述第二终 端与所述第一终端是否满足邻近原则, 并通过所述网络接口将判断结果发送 给所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的外部 标识。 端的邻近关系发现请求后, 根据第一终端对应的邻近关系签约信息, 确定第 一终端具有能够发现其他终端的功能; 获取第一终端及第二终端的位置信息 , 判断第二终端与第一终端是否满足邻近原则, 并将判断结果发送给第一终端; 本发明实施例提供了一种确定用户设备之间邻近关系的方案, 实现了用户设 备之间邻近关系的发现过程, 并且, 该方案对现有协议中网络架构的改动较 小, 且易于实现。 附图说明 a processor, configured to: after the network interface receives the proximity relationship discovery request of the first terminal, if it is determined that the first terminal has the function of discovering other terminals according to the subscription information corresponding to the first terminal, Determining, by the location information of the first terminal and the second terminal, whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal by using the network interface; The neighbor relationship discovery request carries the external identifier of the first terminal. After the proximity relationship discovery request of the terminal, determining, according to the proximity relationship subscription information corresponding to the first terminal, determining that the first terminal has the function of discovering other terminals; acquiring location information of the first terminal and the second terminal, determining the second terminal and the first terminal Whether the proximity principle is met, and the judgment result is sent to the first terminal. The embodiment of the present invention provides a scheme for determining a neighbor relationship between user equipments, and implements a discovery process of a neighbor relationship between user equipments, and the scheme is The network architecture changes in the existing protocols are small and easy to implement. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简要介绍, 显而易见地, 下面描述中的附图仅仅是本发 明的一些实施例, 对于本领域的普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following drawings will be briefly described in the description of the embodiments, and it is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying creative labor.
图 1为现有技术中两个用户设备之间进行通信的数据传输路径示意图; 图 2A为现有协议中定义的两个用户设备之间直接通信的数据传输路径 示意图;  1 is a schematic diagram of a data transmission path for communication between two user equipments in the prior art; FIG. 2A is a schematic diagram of a data transmission path for direct communication between two user equipments defined in the existing protocol;
图 2B为现有协议中定义的两个用户设备之间通过 eNB进行通信的数据 传输路径示意图;  2B is a schematic diagram of a data transmission path for communication between two user equipments defined by an existing protocol through an eNB;
图 3为背景技术中 3GPP网络架构示意图;  3 is a schematic diagram of a 3GPP network architecture in the background art;
图 4为本发明实施例确定用户设备之间邻近关系的方法流程示意图; 图 5为本发明实施例获取签约信息的方法流程示意图;  4 is a schematic flowchart of a method for determining a proximity relationship between user equipments according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of a method for obtaining subscription information according to an embodiment of the present invention;
图 6为本发明实施例网络架构示意图;  6 is a schematic diagram of a network architecture according to an embodiment of the present invention;
图 7为本发明实施例基于图 5所示的网络架构获取签约信息过程中各实 体之间的交互示意图;  FIG. 7 is a schematic diagram of interaction between entities in the process of acquiring subscription information based on the network architecture shown in FIG. 5 according to an embodiment of the present invention; FIG.
图 8为本发明实施例基于图 5所示的网络架构获取位置信息过程中各实 体之间的交互示意图;  FIG. 8 is a schematic diagram of interaction between entities in the process of acquiring location information based on the network architecture shown in FIG. 5 according to an embodiment of the present invention; FIG.
图 9为本发明实施例应用层设备结构示意图;  9 is a schematic structural diagram of an application layer device according to an embodiment of the present invention;
图 10为本发明实施例通信系统结构示意图;  10 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
图 11为本发明实施例提供的网络设备的结构示意图。 具体实施方式 一终端的邻近关系发现请求后, 根据所述第一终端对应的邻近关系签约信息, 确定第一终端具有能够发现其他终端的功能; 并判断第二终端与第一终端是 否满足邻近原则, 并将判断结果发送给第一终端, 从而解决了目前没有针对 相互邻近的用户设备之间进行邻近关系发现的解决方案的问题。 FIG. 11 is a schematic structural diagram of a network device according to an embodiment of the present invention. After the proximity relationship discovery request of the terminal, the first terminal has the function of being able to discover other terminals according to the proximity relationship subscription information corresponding to the first terminal, and determining that the second terminal and the first terminal are Whether the proximity principle is satisfied, and the judgment result is sent to the first terminal, thereby solving the problem that there is currently no solution for proximity discovery between user devices that are adjacent to each other.
下面结合说明书附图对本发明实施例作进一步详细描述。  The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
参见图 4所示, 本发明实施例提供的一种确定用户设备之间邻近关系的 方法, 包括以下步骤:  Referring to FIG. 4, a method for determining a proximity relationship between user equipments according to an embodiment of the present invention includes the following steps:
步骤 41、 应用层设备获取并存储各终端的签约信息;  Step 41: The application layer device acquires and stores the subscription information of each terminal.
步骤 42、 应用层设备在接收到第一终端的邻近关系发现请求后, 根据第 一终端对应的签约信息, 确定第一终端具有能够发现其他终端的功能; 其中, 该邻近关系发现请求中携带第一终端的外部标识;  Step 42: After receiving the proximity discovery request of the first terminal, the application layer device determines, according to the subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals, where the proximity relationship discovery request carries the first An external identifier of a terminal;
步骤 43、 应用层设备获取第一终端及第二终端的位置信息, 并判断该第 二终端与该第一终端是否满足邻近原则;  Step 43: The application layer device obtains location information of the first terminal and the second terminal, and determines whether the second terminal and the first terminal meet the proximity principle.
其中, 本发明实施例中的第二终端是指不同于第一终端的终端。  The second terminal in the embodiment of the present invention refers to a terminal different from the first terminal.
步骤 44、 应用层设备将判断结果发送给第一终端, 以完成邻近关系发现 过程。  Step 44: The application layer device sends the determination result to the first terminal to complete the proximity discovery process.
其中, 本发明实施例的应用层设备可以为应用服务器等 (server )。  The application layer device in the embodiment of the present invention may be an application server or the like (server).
需要说明的是, 对于具有邻近关系发现功能的终端来说, 其签约信息中 还包括该终端的邻近关系签约信息, 终端的邻近关系签约信息为: 该终端允 许发现其他终端且不允许被其他终端发现、 该终端允许被其他终端发现且不 允许发现其他终端、 该终端允许发现其他终端且允许被其他终端发现、 或该 终端不允许被其他终端发现且不允许发现其他终端; 终端的邻近关系签约信 息是针对该终端所有与邻近关系相关的业务而言的, 即该终端激活的任何与 邻近关系相关的业务都应该遵守其签约的邻近关系签约信息。  It should be noted that, for a terminal having a proximity discovery function, the subscription information includes the proximity relationship subscription information of the terminal, and the proximity relationship subscription information of the terminal is: the terminal allows to discover other terminals and is not allowed to be used by other terminals. Discovering that the terminal allows discovery by other terminals and does not allow discovery of other terminals, the terminal allows discovery of other terminals and allows discovery by other terminals, or the terminal does not allow discovery by other terminals and does not allow discovery of other terminals; The information is for all the services related to the proximity relationship of the terminal, that is, any service related to the proximity relationship activated by the terminal should comply with the contracted proximity relationship subscription information.
本发明实施中, 某一终端不具有发现其他终端的功能, 包括: 该终端不 具有邻近关系发现功能; 或者该终端具有邻近关系发现功能, 但其邻近关系 签约信息为该终端允许被其他终端发现且不允许发现其他终端; 或者该终端 具有邻近关系发现功能, 但其邻近关系签约信息为该终端不允许被其他终端 发现且不允许发现其他终端; 某一终端具有发现其他终端的功能, 包括: 该终端的邻近关系签约信息 为该终端允许发现其他终端且允许被其他终端发现; 或者该终端的邻近关系 在实施中, 若第一终端不具有发现其他终端的功能, 则应用层设备在接 收到该第一终端发送的邻近关系发现请求后, 不执行邻近关系发现过程, 或 通过应用层消息通知该第一终端不具有发现其他终端的功能。 In the implementation of the present invention, a terminal does not have the function of discovering other terminals, including: the terminal does not have the proximity relationship discovery function; or the terminal has the proximity relationship discovery function, but the proximity relationship subscription information is that the terminal is allowed to be discovered by other terminals. And the terminal is not allowed to discover other terminals; or the terminal has the proximity relationship discovery function, but the proximity relationship subscription information is that the terminal is not allowed to be discovered by other terminals and the other terminals are not allowed to be discovered; A terminal has the function of discovering other terminals, including: the proximity relationship signing information of the terminal is that the terminal allows to discover other terminals and is allowed to be discovered by other terminals; or the neighbor relationship of the terminal is in implementation, if the first terminal does not have the discovery After the function of the other terminal, the application layer device does not perform the proximity discovery process after receiving the proximity discovery request sent by the first terminal, or notifies the first terminal that the first terminal does not have the function of discovering other terminals by using the application layer message.
本发明实施例中, 步骤 43中的邻近原则是指第一终端与第二终端之间的 距离满足设定条件。  In the embodiment of the present invention, the proximity principle in step 43 means that the distance between the first terminal and the second terminal satisfies the setting condition.
进一步, 本发明实施例中, 第一终端与第二终端之间的距离满足设定条 件包括以下三种方式:  Further, in the embodiment of the present invention, the distance between the first terminal and the second terminal meets the setting conditions, and the following three manners are included:
第一种方式、 第一终端与第二终端之间的距离不大于设定的阔值; 其中, 设定的阔值为经验值, 可根据需要设定; 例如, 第一终端与第二 终端之间的距离不大于 500米等;  In the first mode, the distance between the first terminal and the second terminal is not greater than the set threshold; wherein the set threshold is an empirical value, which may be set according to requirements; for example, the first terminal and the second terminal The distance between them is not more than 500 meters, etc.;
第二种方式、 第一终端与第二终端驻留在同一小区; 即: 第一终端与第 二终端当前驻留小区的 ID相同;  In the second mode, the first terminal and the second terminal reside in the same cell; that is, the ID of the current terminal of the first terminal and the second terminal are the same;
第三种方式、 第一终端与第二终端驻留在同一基站; 即: 第一终端与第 二终端当前驻留基站的 ID相同。  In a third mode, the first terminal and the second terminal reside in the same base station; that is, the ID of the first terminal and the second terminal currently camped on the base station are the same.
由于 3GPP中还定义了一种对邻近关系发现过程的限制场景,即规定邻近 关系的发现过程需要与该 UE的邻近关系签约信息、网络配置以及两个用户设 备在应用层注册关系是否为朋友关系等 (即社交关系) 因素相关。  A limitation scenario for the proximity discovery process is also defined in the 3GPP, that is, the discovery process of the proximity relationship requires the subscription relationship information with the UE, the network configuration, and whether the registration relationship between the two user equipments at the application layer is a friend relationship. Etc. (ie social relationships) factors are relevant.
举例说明: 假设 A、 B及 C使用同一社交网络应用, 且八、 B及 C都使 用具有邻近业务功能的 UE, 该社交网络应用层维护的上下文中显示如下关系 信息: A和 C是朋友, C和 B是朋友, A和 B不是朋友, 在这种场景下, 需 要实现的邻近发现功能如下:  For example: Suppose A, B, and C use the same social network application, and VIII, B, and C both use UEs with neighboring service functions. The context information maintained by the social network application layer displays the following relationship information: A and C are friends. C and B are friends, A and B are not friends. In this scenario, the proximity discovery functions that need to be implemented are as follows:
- A的 UE可以发现 C在邻近位置;  - A's UE can find C in a neighboring location;
- C的 UE可以发现 A在邻近位置;  - The UE of C can find that A is in a neighboring location;
- A的社交网络应用能知道 C是否在其邻近位置; - C的社交网络应用能知道 A是否在其邻近位置; - A's social networking application can know if C is in its immediate location; - C's social networking application can know if A is in its immediate location;
- B的 UE不能发现 A的 UE在其邻近位置;  - The UE of B cannot find that the UE of A is in its neighboring location;
- A的社交网络应用不能检测到 B是否在其邻近位置;  - A's social networking application cannot detect if B is in its immediate location;
- B的社交网络应用不能检测到 A是否在其邻近位置;  - B's social networking application cannot detect if A is in its immediate location;
因此, 邻近关系发现过程要求只有具有朋友关系的 UE之间才能相互发 现, 如果应用层显示该 UE之间不是朋友关系, 则不能相互发现, 即邻近的两 个终端需要满足一定的社交关系, 才能相互发现。  Therefore, the proximity discovery process requires that only UEs with friend relationships can discover each other. If the application layer indicates that the UEs are not friends, they cannot discover each other, that is, the two neighboring terminals need to satisfy certain social relationships. Discover each other.
针对上述 3GPP 定义的对邻近关系发现过程的限制场景, 进一步, 步骤 43 中, 应用层设备在获取第一终端及第二终端的位置信息之前, 还包括: 判 断第二终端与第一终端是否满足设定的社交关系。  For the limitation scenario of the proximity discovery process defined by the foregoing 3GPP, further, in step 43, the application layer device, before acquiring the location information of the first terminal and the second terminal, further includes: determining whether the second terminal and the first terminal are satisfied Set social relationships.
本发明实施例中, 设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件, 其中, 应用层设备可以在自身存储的上下文中 查询在同一社交网络注册的各终端之间的身份关系,如 UE1与 UE2为朋友关 系, UE1与 UE3不是朋友关系等; 又如, UE1与 UE2属于同一群组, UE2 与 UE3不属于同一群组; 等等;  In the embodiment of the present invention, the set social relationship is that the identity relationship between the terminals registered in the same social network meets the set condition, where the application layer device can query the registration in the same social network in the context of its own storage. For example, UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group;
设定的社交关系可以为待确定的第二终端与第一终端为朋友关系, 或者 待确定的第二终端与第一终端属于同一设定的群组, 等等; 本发明实施例中, 可根据实际需要设定在同一社交网络注册的各终端的身份关系在进行发现过 程中需要满足的条件。  The set social relationship may be that the second terminal to be determined is in a friend relationship with the first terminal, or the second terminal to be determined belongs to the same set group as the first terminal, and the like, in the embodiment of the present invention, According to actual needs, the conditions for the identity relationships of the terminals registered in the same social network to be met during the discovery process are set.
进一步, 参见图 5所示, 步骤 41中, 应用层设备根据以下步骤获取各终 端 (至少包括第一终端及第二终端) 的签约信息并存储:  Further, referring to FIG. 5, in step 41, the application layer device obtains subscription information of each terminal (including at least the first terminal and the second terminal) according to the following steps and stores:
步骤 51、 在某个终端发起附着过程中, 该终端当前驻留的 MME向 HSS 发起签约信息获取请求,该签约信息获取请求中携带该终端的内部标识; MME 与 HSS之间的信令传递釆用内部标识来标识对应的终端, 如 IMSI等;  Step 51: In a process of initiating an attaching process, the MME currently camped on the terminal initiates a subscription information acquisition request to the HSS, where the subscription information acquisition request carries the internal identifier of the terminal; signaling between the MME and the HSS Identify the corresponding terminal with an internal identifier, such as IMSI;
其中, 终端的附着过程请参见 3GPP TS 23.401协议, 此处不再赘述。 步骤 52、 HSS根据接收到的签约信息获取请求中携带的内部标识, 从自 身存储的各终端的签约信息中, 获取该内部标识对应的签约信息, 并将获取 到的签约信息及该终端的内部标识与外部标识(如 IMSI与应用层标识之间的 映射关系) 的映射关系发送给 MME; For the attachment process of the terminal, refer to the 3GPP TS 23.401 protocol, and details are not described herein. Step 52: The HSS obtains the subscription information corresponding to the internal identifier from the subscription information of each terminal that is stored in the subscription information obtained by the received subscription information, and obtains the subscription information corresponding to the internal identifier. The mapping information of the obtained contract information and the internal identifier of the terminal and the external identifier (such as the mapping relationship between the IMSI and the application layer identifier) are sent to the MME;
其中, HSS 中保存有各终端的签约信息, 对于具有邻近关系发现功能的 终端来说, 其签约信息中还包括该终端的邻近关系签约信息, 由于终端与应 用层设备之间使用外部标识进行交互,而与 3GPP网络侧设备之间使用内部标 识进行交互, 因此, HSS 中还保存有各终端的内部标识与外部标识的映射关 系; 一般的, 终端的内部标识为 IMSI, 终端的外部标识为应用层标识 (如终 端的 QQ号、 MSN账号等)。  The HSS holds the subscription information of each terminal. For the terminal with the proximity discovery function, the subscription information also includes the proximity relationship subscription information of the terminal, because the terminal and the application layer device use the external identifier to interact. The interaction between the internal identifier of each terminal and the external identifier is also stored in the HSS. Generally, the internal identifier of the terminal is IMSI, and the external identifier of the terminal is an application. Layer identification (such as the QQ number of the terminal, MSN account, etc.).
步骤 53、 MME将 HSS返回的该终端的签约信息以及该终端的内部标识 与外部标识的映射关系发送给中间交互设备; 以及  Step 53: The MME sends the subscription information of the terminal returned by the HSS and the mapping relationship between the internal identifier of the terminal and the external identifier to the intermediate interaction device;
步骤 54、 中间交互设备保存接收到的该终端的内部标识与外部标识的映 射关系, 并将该终端的签约信息及该终端的外部标识发送给应用层设备以存 储。  Step 54: The intermediate interaction device saves the received mapping relationship between the internal identifier of the terminal and the external identifier, and sends the subscription information of the terminal and the external identifier of the terminal to the application layer device for storage.
优选的, 步骤 53中, MME还将自身的标识信息发送给中间交互设备以 存储;  Preferably, in step 53, the MME further sends its own identification information to the intermediate interaction device for storage;
相应的, 步骤 54中, 中间交互层设备在接收到 MME发送的该 MME的 标识信息后, 保存该终端当前驻留的 MME的标识信息。  Correspondingly, in step 54, after receiving the identifier information of the MME sent by the MME, the intermediate interaction layer device saves the identifier information of the MME currently camped on by the terminal.
优选的, 在某个终端当前驻留的 MME发生改变后, 该终端当前驻留的 MME向中间交互设备发送更新请求, 该更新请求中携带 MME自身的标识信 息及该终端的内部标识;  Preferably, after the MME that the terminal currently resides is changed, the MME that the terminal currently camps sends an update request to the intermediate interaction device, where the update request carries the identity information of the MME and the internal identifier of the terminal;
相应的, 中间交互设备根据接收到的更新请求, 更新自身存储的该终端 当前驻留的 MME的标识信息,以保证中间交互设备中保存的 MME的标识信 息为有效信息。  Correspondingly, the intermediate interaction device updates the identity information of the MME currently stored by the terminal, which is stored in the intermediate interaction device, to ensure that the identity information of the MME stored in the intermediate interaction device is valid information.
需要说明的是, MME与 HSS之间的信令交互釆用内部标识来标识终端; MME与中间交互设备之间的信令交互釆用内部标识来标识终端; 中间交互设 备与应用层设备之间的信令交互釆用外部标识来标识终端, 如该终端的应用 层 ID。 优选的, 本发明实施例中, 中间交互设备可以单独部署, 也可以与It should be noted that the signaling interaction between the MME and the HSS uses the internal identifier to identify the terminal; the signaling interaction between the MME and the intermediate interaction device uses the internal identifier to identify the terminal; between the intermediate interaction device and the application layer device The signaling interaction uses an external identifier to identify the terminal, such as the application layer ID of the terminal. Preferably, in the embodiment of the present invention, the intermediate interaction device may be deployed separately or in combination with
MTC-IWF合设, 还可以与 HSS合设。 MTC-IWF is also available and can be combined with HSS.
具体的,若中间交互设备与 MTC-IWF合设, 中间交互设备可以通过接口 Xx及接口 Xz分别与 MME及应用层设备进行交互; 也可以通过 MTC-IWF 的接口 T5b及接口 Tsp分别与 MME及应用层设备进行交互, 其中, 定义接 口 T5b及接口 Tsp具有上述接口 Xx及接口 Xz的功能;  Specifically, if the intermediate interaction device is combined with the MTC-IWF, the intermediate interaction device can interact with the MME and the application layer device respectively through the interface Xx and the interface Xz; and can also communicate with the MME through the interface T5b and the interface Tsp of the MTC-IWF respectively. The application layer device interacts, wherein the interface T5b and the interface Tsp are defined to have the functions of the interface Xx and the interface Xz;
若中间交互设备与 HSS合设,中间交互设备通过接口 Xx及接口 Xz分别 与 MME及应用层设备进行交互。  If the intermediate interaction device is combined with the HSS, the intermediate interaction device interacts with the MME and the application layer device through the interface Xx and the interface Xz, respectively.
图 6 为本发明实施例的网络架构图, 该网络架构中, 定义中间交互设备 与 MME之间通过接口 Xx进行交互,该接口 Xx用以在中间交互设备与 MME 之间实现终端的位置信息及签约信息的获取过程, 具体的: MME将获取到终 端的签约信息及该终端的内部标识与外部标识的映射关系通过接口 Xx发送 给中间交互设备; 以及中间交互设备通过接口 Xx向 MME发送位置信息获取 请求, MME将获取到的终端的位置信息通过接口 Xx发送给中间交互设备; 定义中间交互设备与应用层设备之间通过接口 Xz进行交互, 该接口 Xy 用以在中间交互设备与应用层设备之间实现终端的位置信息及签约信息的获 取过程, 具体的: 中间交互设备将获取到的终端的签约信息通过接口 Xz发送 给应用层设备; 以及应用层设备通过接口 Xz向中间交互设备发起位置信息获 取请求, 中间交互设备将获取到的终端的位置信息通过接口 Xz发送给应用层 设备。  FIG. 6 is a network architecture diagram of an embodiment of the present invention. In the network architecture, an intermediate interaction device and an MME are configured to interact with each other through an interface Xx, where the interface Xx is used to implement location information of the terminal between the intermediate interaction device and the MME. The process of obtaining the subscription information, specifically: the MME obtains the subscription information of the terminal, and the mapping relationship between the internal identifier of the terminal and the external identifier is sent to the intermediate interaction device through the interface Xx; and the intermediate interaction device sends the location information to the MME through the interface Xx. Acquiring the request, the MME sends the obtained location information of the terminal to the intermediate interaction device through the interface Xx; and defines the interaction between the intermediate interaction device and the application layer device through the interface Xz, where the interface Xy is used in the intermediate interaction device and the application layer device The process of obtaining the location information of the terminal and the process of acquiring the subscription information is as follows: The intermediate interaction device sends the obtained subscription information of the terminal to the application layer device through the interface Xz; and the application layer device initiates the location to the intermediate interaction device through the interface Xz. Information acquisition request, intermediate interaction device The acquired position information transmitting terminal device to the application layer via the interface Xz.
需要说明的是, 接口 Xy及接口 Xz可釆用现有的任意协议栈进行定义, 只要能实现上述功能即可。  It should be noted that the interface Xy and the interface Xz can be defined by using any existing protocol stack, as long as the above functions can be implemented.
以图 6所示的网络架构为例, 本发明实施例中获取各终端的签约信息的 过程包括: HS S与 MME、 MME与中间交互设备及中间交互设备与应用层设 备之间的交互, 参见图 7所示, 具体参见步骤 51〜步骤 54。  Taking the network architecture shown in FIG. 6 as an example, the process of obtaining the subscription information of each terminal in the embodiment of the present invention includes: interaction between the HS S and the MME, the MME, the intermediate interaction device, and the intermediate interaction device and the application layer device, As shown in FIG. 7, refer to steps 51 to 54 for details.
优选的, 本发明实施例的中间交互设备可以单独部署, 也可以设置于 MTC-IWF中, 还可以设置于 HSS中。 具体的,若中间交互设备设置于 MTC-IWF中, 中间交互设备可以通过接 口 Xy及接口 Xz分别与 HSS及应用层设备进行交互; 也可以通过 MTC-IWF 的接口 S6m及接口 Tsp分别与 HSS及应用层设备进行交互, 其中, 定义接口 S6m及接口 Tsp具有上述接口 Xy及接口 Xz的功能; Preferably, the intermediate interaction device in the embodiment of the present invention may be deployed separately, or may be set in the MTC-IWF, or may be set in the HSS. Specifically, if the intermediate interaction device is set in the MTC-IWF, the intermediate interaction device can interact with the HSS and the application layer device respectively through the interface Xy and the interface Xz; and can also communicate with the HSS through the interface S6m and the interface Tsp of the MTC-IWF respectively. The application layer device interacts, wherein the interface S6m and the interface Tsp are defined to have the functions of the interface Xy and the interface Xz;
若中间交互设备设置于 HSS中,中间交互设备通过接口 Xy及接口 Xz分 别与 HSS及应用层设备进行交互, 其中, 中间交互设备与 HSS之间的交互釆 用内部信令。  If the intermediate interaction device is set in the HSS, the intermediate interaction device interacts with the HSS and the application layer device through the interface Xy and the interface Xz respectively, wherein the interaction between the intermediate interaction device and the HSS uses internal signaling.
进一步, 第一终端发起的邻近关系发现请求包括以下两种:  Further, the proximity discovery request initiated by the first terminal includes the following two types:
第一种邻近关系发现请求为: 第一终端请求确定该第一终端与自身指定 的第二终端是否满足邻近原则 (或满足邻近原则及设定的社交关系); 其中, 邻近关系发现请求还携带有第二终端的外部标识;  The first proximity discovery request is: the first terminal requests to determine whether the first terminal and the second terminal specified by itself meet the proximity principle (or meet the proximity principle and the set social relationship); wherein the proximity discovery request further carries Have an external identifier of the second terminal;
该应用场景下, 第一终端需要能够获取到自身指定的第二终端的外部标 识, 如第一终端可以通过应用层设备获取第二终端的外部标识, 当然也可以 釆用其他方式获取到第二终端的外部标识。  In this application scenario, the first terminal needs to be able to obtain the external identifier of the second terminal that is specified by the first terminal. For example, the first terminal may obtain the external identifier of the second terminal by using the application layer device, and may also obtain the second method by using other methods. The external identifier of the terminal.
第二种邻近关系发现请求为:第一终端请求确定与自身满足邻近原则 (或 邻近原则及设定的社交关系) 的所有第二终端。  The second proximity discovery request is: the first terminal requests to determine all second terminals that satisfy the proximity principle (or proximity principle and set social relationship).
下面针对上述 3GPP定义的对邻近关系发现过程的限制场景,在第一终端 发起邻近关系发现请求后, 步骤 43的执行过程进行说明。  The following describes the execution process of step 43 after the first terminal initiates the proximity discovery request for the restriction scenario of the proximity discovery process defined by the foregoing 3GPP.
针对第一种邻近关系发现请求, 步骤 43中在应用层设备获取第一终端及 第二终端的位置信息之前, 还包括:  For the first type of proximity discovery request, before the application layer device obtains the location information of the first terminal and the second terminal, the method further includes:
应用层设备根据邻近关系发现请求中携带的第二终端的外部标识, 确定 该第二终端具有能够被其他终端发现的功能且该第二终端与第一终端满足设 定的社交关系。  The application layer device determines, according to the external identifier of the second terminal carried in the request, the second terminal has a function that can be discovered by the other terminal, and the second terminal and the first terminal satisfy the set social relationship.
相应的, 应用层设备在确定第二终端具有能够被其他终端发现的功能且 第二终端与第一终端满足设定的社交关系后, 获取第一终端及第二终端的位 置信息; 并在接收到中间交互设备返回的位置信息后, 根据第一终端及第二 终端的位置信息, 确定第二终端与第一终端是否满足邻近原则; 若满足, 确定第二终端与第一终端邻近; Correspondingly, after determining that the second terminal has a function that can be discovered by the other terminal, and the second terminal and the first terminal satisfy the set social relationship, acquiring the location information of the first terminal and the second terminal; After determining the location information returned by the intermediate interaction device, determining, according to the location information of the first terminal and the second terminal, whether the second terminal and the first terminal meet the proximity principle; If yes, determining that the second terminal is adjacent to the first terminal;
若不满足, 确定第二终端与第一终端不邻近。  If not, it is determined that the second terminal is not adjacent to the first terminal.
相应的, 步骤 44中, 应用层设备将判断结果发送给第一终端, 包括: 若步骤 43中判断结果为第二终端与第一终端邻近, 则应用层设备向第一 终端返回邻近响应消息; 以及  Correspondingly, in step 44, the application layer device sends the determination result to the first terminal, including: if the determination result in step 43 is that the second terminal is adjacent to the first terminal, the application layer device returns a proximity response message to the first terminal; as well as
若步骤 43中判断结果为第二终端与第一终端不邻近, 则应用层设备向第 一终端返回不邻近响应消息。  If the result of the determination in step 43 is that the second terminal is not adjacent to the first terminal, the application layer device returns a non-proximity response message to the first terminal.
优选的, 步骤 44中, 还包括: 应用层设备将判断结果发送给第二终端。 具体的, 若步骤 43中判断结果为第二终端与第一终端邻近, 则应用层设 备向第二终端返回与第一终端邻近响应消息, 其中, 返回的消息中携带第一 终端的外部标识;  Preferably, in step 44, the method further includes: the application layer device sending the determination result to the second terminal. Specifically, if the result of the determination in step 43 is that the second terminal is adjacent to the first terminal, the application layer device returns a proximity response message with the first terminal to the second terminal, where the returned message carries the external identifier of the first terminal;
若步骤 43中判断结果为第二终端与第一终端不邻近, 则应用层设备向第 二终端返回与第一终端不邻近响应消息, 其中, 返回的消息中携带第一终端 的外部标识。  If the result of the determination in step 43 is that the second terminal is not adjacent to the first terminal, the application layer device returns a non-proximity response message with the first terminal to the second terminal, where the returned message carries the external identifier of the first terminal.
进一步, 应用层设备根据以下步骤确定第二终端具有能够被其他终端发 现的功能:  Further, the application layer device determines, according to the following steps, that the second terminal has a function that can be found by other terminals:
应用层设备根据邻近关系发现请求中携带的第二终端的外部标识, 从自 身存储的终端的签约信息中, 获取第二终端的签约信息;  The application layer device obtains the subscription information of the second terminal from the subscription information of the terminal that is stored in the terminal, according to the external identifier of the second terminal that is carried in the request.
应用层设备根据第二终端的签约信息, 判断第二终端是否具有能够被其 他终端发现的功能; 以及  The application layer device determines, according to the subscription information of the second terminal, whether the second terminal has a function that can be discovered by the other terminal;
在该签约信息包含的邻近关系签约信息为该终端允许被其他终端发现且 不允许发现其他终端, 或该终端允许发现其他终端且允许被其他终端发现时, 确定第二终端具有允许被其他终端发现的功能。  When the subscription information included in the subscription information is allowed to be discovered by other terminals and the other terminals are not allowed to be discovered, or the terminal allows other terminals to be discovered and allowed to be discovered by other terminals, it is determined that the second terminal has permission to be discovered by other terminals. The function.
进一步, 若该签约信息中不包含邻近关系签约信息 (即该终端不具有邻 近关系发现功能), 或者该终端的邻近关系签约信息为该终端允许发现其他终 端且不允许被其他终端发现, 或者该终端的邻近关系签约信息为该终端不允 许被其他终端发现且不允许发现其他终端, 则确定第二终端不具有允许被其 他终端发现的功能。 Further, if the subscription information does not include the proximity relationship subscription information (that is, the terminal does not have the proximity relationship discovery function), or the proximity relationship subscription information of the terminal is that the terminal allows to discover other terminals and is not allowed to be discovered by other terminals, or The proximity relationship signing information of the terminal is that the terminal is not allowed to be discovered by other terminals and the other terminals are not allowed to be found, then it is determined that the second terminal does not have permission to be The features discovered by his terminal.
本实施例中, 应用层设备判断第二终端是否具有能够被其他终端发现的 功能, 以及判断第二终端与第一终端是否满足设定的社交关系的顺序不作限 定, 即: 应用层设备可以先判断第二终端是否具有能够被其他终端发现的功 能, 再判断第二终端与第一终端是否满足设定的社交关系; 也可以先判断判 断第二终端与第一终端是否满足设定的社交关系, 再第二终端是否具有能够 被其他终端发现的功能。 具体的:  In this embodiment, the application layer device determines whether the second terminal has a function that can be discovered by other terminals, and determines whether the second terminal and the first terminal meet the set social relationship, that is, the application layer device may first Determining whether the second terminal has a function that can be discovered by another terminal, and determining whether the second terminal and the first terminal meet the set social relationship; or determining whether the second terminal and the first terminal meet the set social relationship And whether the second terminal has a function that can be discovered by other terminals. specific:
应用层设备可以先确定第二终端是否具有能够被其他终端发现的功能, 若不具有, 则确定第二终端与第一终端不邻近; 若具有, 则继续确定第二终 端与第一终端是否满足设定的社交关系, 若不满足, 则确定第二终端与第一 终端不邻近; 若满足, 则确定第二终端具有能够被其他终端发现的功能且第 二终端与第一终端是否满足设定的社交关系;  The application layer device may first determine whether the second terminal has a function that can be discovered by other terminals, and if not, determine that the second terminal is not adjacent to the first terminal; if yes, continue to determine whether the second terminal and the first terminal are satisfied. Setting the social relationship, if not, determining that the second terminal is not adjacent to the first terminal; if yes, determining that the second terminal has a function that can be discovered by other terminals and whether the second terminal and the first terminal meet the setting Social relationship;
应用层设备也可以先确定第二终端与第一终端是否满足设定的社交关 系, 若不满足, 若不满足, 则确定第二终端与第一终端不邻近; 若满足, 则 继续确定第二终端是否具有能够被其他终端发现的功能, 若不具有, 则确定 第二终端与第一终端不邻近; 若具有, 则确定第二终端具有能够被其他终端 发现的功能且第二终端与第一终端是否满足设定的社交关系。  The application layer device may also determine whether the second terminal and the first terminal meet the set social relationship. If not, if not, determine that the second terminal is not adjacent to the first terminal; if yes, continue to determine the second Whether the terminal has a function that can be discovered by other terminals, if not, determining that the second terminal is not adjacent to the first terminal; if yes, determining that the second terminal has a function that can be discovered by other terminals, and the second terminal and the first terminal Whether the terminal satisfies the set social relationship.
针对第二种邻近关系发现请求, 步骤 43中在应用层设备获取第一终端及 第二终端的位置信息之前, 还包括:  For the second proximity discovery request, in step 43, before the application layer device obtains the location information of the first terminal and the second terminal, the method further includes:
应用层设备确定具有能够被其他终端发现的功能且与第一终端满足设定 的社交关系的所有第二终端。  The application layer device determines all second terminals having functions that can be discovered by other terminals and that satisfy the set social relationship with the first terminal.
相应的, 应用层设备获取第一终端及确定的所有第二终端的位置信息; 并在接收到中间交互设备返回的位置信息后, 根据第一终端及确定的所有第 二终端的位置信息, 确定与第一终端满足邻近原则的第二终端。  Correspondingly, the application layer device acquires the location information of the first terminal and all the determined second terminals; and after receiving the location information returned by the intermediate interaction device, determining, according to the location information of the first terminal and all the determined second terminals, A second terminal that satisfies the proximity principle with the first terminal.
相应的, 步骤 44中, 应用层设备将判断结果发送给第一终端, 包括: 若步骤 43中判断结果为存在具有能够被其他终端发现的功能且与第一终 端满足设定的社交关系及邻近原则的第二终端, 则应用层设备向第一终端返 回成功响应消息,并将步骤 43中确定的所有第二终端的外部标识和 /或位置信 息反馈给第一终端; 以及 Correspondingly, in step 44, the application layer device sends the determination result to the first terminal, including: if the result of the determination in step 43 is that there is a function that can be found by other terminals, and the first terminal meets the set social relationship and proximity The second terminal of the principle, the application layer device returns to the first terminal Returning the success response message, and feeding back the external identifier and/or location information of all the second terminals determined in step 43 to the first terminal;
若步骤 43中判断结果为没有满足上述条件的第二终端, 则应用层设备向 第一终端返回失败响应消息。  If the result of the determination in step 43 is that the second terminal does not meet the above conditions, the application layer device returns a failure response message to the first terminal.
优选的, 步骤 44中, 还包括: 应用层设备将判断结果发送给第二终端; 具体的,若步骤 43中判断结果为某个第二终端与第一终端满足上述条件, 则应用层设备向该第二终端返回与第一终端邻近响应消息, 其中, 返回的消 息中携带第一终端的外部标识。  Preferably, in step 44, the application layer device sends the determination result to the second terminal. Specifically, if the result of the determination in step 43 is that the second terminal and the first terminal meet the foregoing conditions, the application layer device The second terminal returns a proximity response message with the first terminal, where the returned message carries the external identifier of the first terminal.
优选的, 应用层设备通过应用层消息将步骤 43中的判断结果发送给第一 终端和 /或第二终端。  Preferably, the application layer device sends the determination result in step 43 to the first terminal and/or the second terminal by using an application layer message.
进一步, 应用层设备根据自身存储的各终端的签约信息, 确定具有能够 被其他终端发现的功能的所有第二终端; 具体的:  Further, the application layer device determines, according to the subscription information of each terminal that is stored by itself, all the second terminals that have functions that can be discovered by other terminals;
若该签约信息包含的邻近关系签约信息为该终端允许被其他终端发现且 不允许发现其他终端, 或该终端允许发现其他终端且允许被其他终端发现, 则确定第二终端具有允许被其他终端发现的功能。  If the subscription information included in the subscription information is that the terminal allows discovery by other terminals and does not allow discovery of other terminals, or the terminal allows discovery of other terminals and allows discovery by other terminals, determining that the second terminal has permission to be discovered by other terminals The function.
进一步, 应用层设备可以从自身存储的上下文中查询与第一终端满足设 定的社交关系 (如朋友关系) 的所有第二终端。  Further, the application layer device can query all second terminals that satisfy the set social relationship (such as a friend relationship) with the first terminal from the context of the self storage.
进一步, 本发明实施例中, 应用层设备根据以下步骤获取各终端 (至少 包括第一终端及第二终端) 的位置信息:  Further, in the embodiment of the present invention, the application layer device obtains location information of each terminal (including at least the first terminal and the second terminal) according to the following steps:
应用层设备向中间交互设备发送位置信息获取请求, 该位置信息获取请 求中携带该终端的外部标识;  The application layer device sends a location information acquisition request to the intermediate interaction device, where the location information acquisition request carries the external identifier of the terminal;
中间交互设备根据自身保存的内部标识与外部标识的映射关系, 确定该 终端的内部标识 ,并向该终端当前驻留的 MME发起位置查询请求 ,该位置查 询请求中携带该终端的内部标识;  The intermediate interaction device determines the internal identifier of the terminal according to the mapping relationship between the internal identifier and the external identifier, and initiates a location query request to the MME that the terminal currently resides. The location query request carries the internal identifier of the terminal.
MME根据收到的位置查询请求中携带的内部标识,获取该终端的位置信 息, 并将获取到的位置信息发送给中间交互设备, 其中, 位置信息包括: 终 端当前驻留的小区的 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中 的一种或组合; 以及 The MME obtains the location information of the terminal according to the received internal identifier, and sends the obtained location information to the intermediate interaction device, where the location information includes: the ID of the cell where the terminal currently camps, and the terminal. ID of the base station currently camped, and geographical location information of the terminal One or a combination; and
中间交互设备将接收到的该终端的位置信息发送给应用层设备。  The intermediate interaction device sends the received location information of the terminal to the application layer device.
仍以图 6所示的网络架构图为例, 本发明实施例中, 获取各终端的位置 信息过程包括:中间交互设备与应用层设备及中间交互设备与 MME之间的交 互, 参见图 8所示。  For example, the network architecture diagram shown in FIG. 6 is used as an example. In the embodiment of the present invention, the process of acquiring location information of each terminal includes: interaction between the intermediate interaction device and the application layer device, and the intermediate interaction device and the MME, as shown in FIG. Show.
上述方法处理流程可以用软件程序实现, 该软件程序可以存储在存储介 质中, 当存储的软件程序被调用时, 执行上述方法步骤。  The above method processing flow can be implemented by a software program, which can be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
基于上述实施例, 本发明实施例还提供了一种应用层设备, 参见图 9所 示, 该应用层设备包括:  Based on the foregoing embodiment, an embodiment of the present invention further provides an application layer device. As shown in FIG. 9, the application layer device includes:
签约信息获取模块 90 , 用于获取并存储有各终端的签约信息;  The subscription information obtaining module 90 is configured to acquire and store the subscription information of each terminal;
接收模块 91 , 用于接收第一终端的邻近关系发现请求, 并根据签约信息 获取模块 90存储的第一终端对应的签约信息, 确定第一终端具有能够发现其 他终端的功能, 其中, 该邻近关系发现请求中携带第一终端的外部标识; 位置信息获取模块 92 , 用于获取第一终端及第二终端的位置信息; 判定模块 93 , 用于判断第二终端与第一终端是否满足邻近原则, 其中, 该邻近原则是指第一终端与第二终端之间的距离满足设定条件;  The receiving module 91 is configured to receive the proximity discovery request of the first terminal, and determine, according to the subscription information corresponding to the first terminal that is stored by the subscription information acquiring module 90, that the first terminal has the function of discovering other terminals, where the neighbor relationship The discovery request carries the external identifier of the first terminal; the location information obtaining module 92 is configured to obtain the location information of the first terminal and the second terminal, and the determining module 93 is configured to determine whether the second terminal and the first terminal meet the proximity principle. The proximity principle refers to that the distance between the first terminal and the second terminal meets a set condition;
发送模块 94 , 用于将判定模块 93的判断结果发送给第一终端。  The sending module 94 is configured to send the determination result of the determining module 93 to the first terminal.
本发明实施例中, 第二终端是指不同于第一终端的终端。  In the embodiment of the present invention, the second terminal refers to a terminal different from the first terminal.
本发明实施例中, 邻近原则是指第一终端与第二终端之间的距离满足设 定条件。  In the embodiment of the present invention, the proximity principle means that the distance between the first terminal and the second terminal satisfies the setting condition.
进一步, 第一终端与第二终端之间的距离满足设定条件包括: 第一终端 与第二终端之间的距离不大于设定的阔值, 或第一终端与第二终端驻留在同 一小区, 或第一终端与第二终端驻留在同一基站。  Further, the distance between the first terminal and the second terminal satisfies the setting condition that the distance between the first terminal and the second terminal is not greater than a set threshold, or the first terminal and the second terminal reside in the same The cell, or the first terminal and the second terminal reside in the same base station.
进一步, 判定模块 93还用于: 在位置信息获取模块 92获取第一终端及 第二终端的位置信息之前, 还判断第二终端与第一终端是否满足设定的社交 关系。  Further, the determining module 93 is further configured to: before the location information obtaining module 92 acquires the location information of the first terminal and the second terminal, determine whether the second terminal and the first terminal meet the set social relationship.
本发明实施例中, 设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件, 其中, 应用层设备可以在自身存储的上下文中 查询在同一社交网络注册的各终端之间的身份关系,如 UE1与 UE2为朋友关 系, UE1与 UE3不是朋友关系等; 又如, UE1与 UE2属于同一群组, UE2 与 UE3不属于同一群组; 等等; In the embodiment of the present invention, the set social relationship refers to each terminal registered in the same social network. The identity relationship satisfies the setting condition, wherein the application layer device can query the identity relationship between the terminals registered in the same social network in the context of the self-storage, for example, UE1 and UE2 are friends, and UE1 and UE3 are not friends. For example, UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group;
设定的社交关系可以为待确定的第二终端与第一终端为朋友关系, 或者 待确定的第二终端与第一终端属于同一设定的群组, 等等; 本发明实施例中, 可根据实际需要设定在同一社交网络注册的各终端的身份关系在进行发现过 程中需要满足的条件。  The set social relationship may be that the second terminal to be determined is in a friend relationship with the first terminal, or the second terminal to be determined belongs to the same set group as the first terminal, and the like, in the embodiment of the present invention, According to actual needs, the conditions for the identity relationships of the terminals registered in the same social network to be met during the discovery process are set.
进一步, 应用层设备还包括:  Further, the application layer device further includes:
签约信息获取模块 95, 用于接收中间交互设备发送的各终端的签约信息 并存储, 其中, 中间交互设备发送的签约信息中携带该终端的外部标识。  The subscription information obtaining module 95 is configured to receive and register the subscription information of each terminal sent by the intermediate interaction device, where the subscription information sent by the intermediate interaction device carries the external identifier of the terminal.
作为一种应用场景, 若邻近关系发现请求为: 第一终端请求确定该第一 终端与自身指定的第二终端是否满足邻近原则及设定的社交关系, 且邻近关 系发现请求还携带有第二终端的外部标识; 则判定模块 93具体用于:  As an application scenario, if the proximity discovery request is: the first terminal requests to determine whether the first terminal and the second terminal specified by the first terminal meet the proximity principle and the set social relationship, and the proximity discovery request further carries the second The external identifier of the terminal; then the determining module 93 is specifically configured to:
在位置信息获取模块 92获取第一终端及第二终端的位置信息之前, 根据 邻近关系发现请求中携带的第二终端的外部标识, 确定该第二终端具有能够 被其他终端发现的功能且该第二终端与所述第一终端满足设定的社交关系。  Before the location information obtaining module 92 acquires the location information of the first terminal and the second terminal, determining, according to the external identifier of the second terminal that is carried in the request, the second terminal has a function that can be discovered by the other terminal, and the The second terminal and the first terminal satisfy a set social relationship.
作为另一种应用场景, 若邻近关系发现请求为: 第一终端请求确定与其 满足邻近原则及设定的社交关系的所有第二终端; 则判定模块 93具体用于: 在位置信息获取模块 92获取第一终端及第二终端的位置信息之前, 确定 具有能够被其他终端发现的功能且与第一终端满足设定的社交关系的所有第 二终端; 并在位置信息获取模块 92接收到中间交互设备返回的位置信息后, 根据第一终端及确定的所有第二终端的位置信息, 确定与所述第一终端满足 邻近原则的第二终端。  As another application scenario, if the proximity discovery request is: the first terminal requests to determine all the second terminals that satisfy the proximity principle and the set social relationship; the determining module 93 is specifically configured to: obtain the location information acquiring module 92. Before the location information of the first terminal and the second terminal, determining all second terminals having functions that can be discovered by other terminals and satisfying the set social relationship with the first terminal; and receiving the intermediate interaction device in the location information acquiring module 92 After the returned location information, the second terminal that satisfies the proximity principle with the first terminal is determined according to the first terminal and the determined location information of all the second terminals.
相应的, 发送模块 94还用于:  Correspondingly, the sending module 94 is further configured to:
将确定的具有能够被其他终端发现的功能且与第一终端满足设定的社交 关系及邻近原则的所有第二终端的外部标识和 /或位置信息反馈给第一终端。 进一步, 发送模块 94还用于: 将判定模块 93的判断结果发送给第二终 端。 The determined external identification and/or location information of all second terminals having functions capable of being discovered by other terminals and satisfying the set social relationship and proximity principle with the first terminal is fed back to the first terminal. Further, the sending module 94 is further configured to: send the determination result of the determining module 93 to the second terminal.
基于上述实施例,本发明实施例还提供了一种通信系统, 参见图 10所示, 该通信系统包括:  Based on the foregoing embodiment, an embodiment of the present invention further provides a communication system. Referring to FIG. 10, the communication system includes:
应用层设备 100, 用于获取并存储各终端的签约信息; 在接收到第一终端 110的邻近关系发现请求后, 根据第一终端 110对应的邻近关系签约信息, 确 定第一终端 110具有能够发现其他终端的功能; 获取第一终端 110及第二终 端的位置信息, 判断第二终端与第一终端 110是否满足邻近原则, 并将判断 结果发送给第一终端 110; 其中, 邻近关系发现请求中携带第一终端 110的外 部标识, 该邻近原则是指第一终端与第二终端之间的距离满足设定条件; 第一终端 110, 用于向应用层设备发送邻近关系发现请求, 并接收应用层 设备反馈的判断结果。  The application layer device 100 is configured to acquire and store the subscription information of each terminal. After receiving the proximity relationship discovery request of the first terminal 110, determining, according to the proximity relationship subscription information corresponding to the first terminal 110, that the first terminal 110 has the capability to discover The function of the other terminal; obtaining the location information of the first terminal 110 and the second terminal, determining whether the second terminal and the first terminal 110 satisfy the proximity principle, and transmitting the determination result to the first terminal 110; wherein, the proximity relationship discovery request is Carrying the external identifier of the first terminal 110, the proximity principle is that the distance between the first terminal and the second terminal meets the setting condition; the first terminal 110 is configured to send a proximity relationship discovery request to the application layer device, and receive the application. The judgment result of the layer device feedback.
本发明实施例中, 第二终端是指不同于第一终端的终端。  In the embodiment of the present invention, the second terminal refers to a terminal different from the first terminal.
本发明实施例中, 邻近原则是指第一终端与第二终端之间的距离满足设 定条件。  In the embodiment of the present invention, the proximity principle means that the distance between the first terminal and the second terminal satisfies the setting condition.
进一步, 第一终端与第二终端之间的距离满足设定条件包括: 第一终端 与第二终端之间的距离不大于设定的阔值, 或第一终端与第二终端驻留在同 一小区, 或第一终端与第二终端驻留在同一基站。  Further, the distance between the first terminal and the second terminal satisfies the setting condition that the distance between the first terminal and the second terminal is not greater than a set threshold, or the first terminal and the second terminal reside in the same The cell, or the first terminal and the second terminal reside in the same base station.
进一步, 应用层设备 100还用于: 在获取第一终端 110及第二终端的位 置信息之前, 还判断第二终端与第一终端 110是否满足设定的社交关系。  Further, the application layer device 100 is further configured to: before obtaining the location information of the first terminal 110 and the second terminal, determine whether the second terminal and the first terminal 110 satisfy the set social relationship.
本发明实施例中, 设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件, 其中, 应用层设备可以在自身存储的上下文中 查询在同一社交网络注册的各终端之间的身份关系,如 UE1与 UE2为朋友关 系, UE1与 UE3不是朋友关系等; 又如, UE1与 UE2属于同一群组, UE2 与 UE3不属于同一群组; 等等;  In the embodiment of the present invention, the set social relationship is that the identity relationship between the terminals registered in the same social network meets the set condition, where the application layer device can query the registration in the same social network in the context of its own storage. For example, UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group;
设定的社交关系可以为待确定的第二终端与第一终端为朋友关系, 或者 待确定的第二终端与第一终端属于同一设定的群组, 等等; 本发明实施例中, 可根据实际需要设定在同一社交网络注册的各终端的身份关系在进行发现过 程中需要满足的条件。 The set social relationship may be that the second terminal to be determined is in a friend relationship with the first terminal, or the second terminal to be determined belongs to the same set group as the first terminal, and the like. The conditions that the identity relationships of the terminals registered in the same social network need to be met during the discovery process may be set according to actual needs.
进一步, 通信系统还包括: MME120、 中间交互设备 130及 HSS140; 其 中, 各终端的签约信息获取过程包括:  Further, the communication system further includes: an MME 120, an intermediate interaction device 130, and an HSS 140; wherein the subscription information acquisition process of each terminal includes:
MME120, 用于向 HSS140发送签约信息获取请求, 并将 HSS140的反馈 发送给中间交互设备 130, 该签约信息获取请求中携带该终端的内部标识; The MME 120 is configured to send a subscription information acquisition request to the HSS 140, and send the feedback of the HSS 140 to the intermediate interaction device 130, where the subscription information acquisition request carries the internal identifier of the terminal;
HSS140, 用于根据接收到的签约信息获取请求中携带的内部标识, 从自 身存储的签约信息中, 获取内部标识对应的签约信息, 并将获取到的签约信 息以及自身存储的该终端的内部标识与外部标识的映射关系发送给 MME120; The HSS 140 is configured to obtain, according to the received internal information of the subscription information, the subscription information corresponding to the internal identifier, and the obtained subscription information and the internal identifier of the terminal stored by the self-registered subscription information. The mapping relationship with the external identifier is sent to the MME 120;
中间交互设备 130,用于保存接收到的该终端的内部标识与外部标识的映 射关系, 并将接收到的该终端的签约信息发送给应用层服务器 100。  The intermediate interaction device 130 is configured to save the received mapping relationship between the internal identifier of the terminal and the external identifier, and send the received subscription information of the terminal to the application layer server 100.
进一步, MME120还用于: 在将 HSS140的反馈发送给中间交互设备 130 时, 将自身的标识信息发送给中间交互层设备 130;  Further, the MME 120 is further configured to: when the feedback of the HSS 140 is sent to the intermediate interaction device 130, send the identity information of the HSS to the intermediate interaction layer device 130;
中间交互层设备 130还用于:保存终端当前驻留的 MME120的标识信息。 进一步, 在某个终端当前驻留的 MME120发生改变后, 该终端当前驻留 的 MME120还用于: 向中间交互设备 130发送更新请求, 该更新请求中携带 自身的标识信息及该终端的内部标识;  The intermediate interaction layer device 130 is further configured to: save the identifier information of the MME 120 that the terminal currently camps on. Further, after the MME 120 currently camped on by a terminal is changed, the MME 120 currently camped by the terminal is further configured to: send an update request to the intermediate interaction device 130, where the update request carries its own identification information and an internal identifier of the terminal. ;
中间交互设备 130还用于: 根据接收到的更新请求, 更新自身存储的该 终端当前驻留的 MME的标识信息。  The intermediate interaction device 130 is further configured to: update, according to the received update request, the identity information of the MME currently stored by the terminal that is currently stored by the terminal.
进一步, 应用层设备 100还用于: 向中间交互设备 130发起位置信息获 取请求, 该位置信息获取请求中携带终端的外部标识;  Further, the application layer device 100 is further configured to: initiate a location information acquisition request to the intermediate interaction device 130, where the location information acquisition request carries an external identifier of the terminal;
中间交互设备 130还用于: 根据自身保存的内部标识与外部标识的映射 关系, 确定接收到的位置信息获取请求中携带的外部标识对应的内部标识, 并向终端当前驻留的 MME120发起位置查询请求, 该位置信息查询请求携带 该终端的内部标识; 以及将该终端当前驻留的 MME 120的反馈发送给应用层 设备 100; 该终端当前驻留的 MME120还用于: 根据接收到的位置查询请求中携带 的内部标识, 获取该终端的位置信息, 并将获取到的位置信息发送给中间交 互设备 130 并携带该终端的内部标识, 其中, 位置信息包括: 终端当前驻留 的小区的 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组 合。 The intermediate interaction device 130 is further configured to: determine, according to the mapping relationship between the internal identifier and the external identifier, the internal identifier corresponding to the external identifier carried in the received location information acquisition request, and initiate a location query to the MME 120 where the terminal currently resides. The request, the location information query request carries the internal identifier of the terminal; and the feedback of the MME 120 currently hosting the terminal is sent to the application layer device 100; The MME 120 currently camped on by the terminal is further configured to: obtain the location information of the terminal according to the internal identifier carried in the received location query request, and send the obtained location information to the intermediate interaction device 130 and carry the internal location of the terminal. And the location information includes: one or a combination of an ID of a cell where the terminal currently camps, an ID of a base station where the terminal currently camps, and geographic location information of the terminal.
优选的,中间交互设备 130与机器类型通信交互功能 MTC-IWF实体合设; 或中间交互设备与 130 HSS合设。 端的邻近关系发现请求后, 根据第一终端对应的邻近关系签约信息, 确定第 一终端具有能够发现其他终端的功能; 并判断第二终端与第一终端是否满足 的邻近原则, 并将判断结果发送给第一终端; 本发明实施例提供了一种确定 用户设备之间邻近关系的方案, 该方案对现有协议中网络架构的改动较小, 且易于实现。  Preferably, the intermediate interaction device 130 is combined with the machine type communication interaction function MTC-IWF entity; or the intermediate interaction device is combined with the 130 HSS. After the proximity relationship discovery request of the terminal, determining, according to the proximity relationship subscription information corresponding to the first terminal, determining that the first terminal has the function of discovering other terminals; and determining whether the second terminal and the first terminal satisfy the proximity principle, and sending the determination result The first terminal is provided. The embodiment of the present invention provides a solution for determining a proximity relationship between user equipments. The solution has small changes to the network architecture in the existing protocol, and is easy to implement.
基于相同的技术构思, 本发明实施例还提供了一种网络设备。 如图 11所 示, 该网络设备可包括: 网络接口 111、 处理器 112和存储器 113 , 其中: 网络接口 111 , 用于获取终端的签约信息; 以及, 接收到第一终端的邻近 关系发现请求;  Based on the same technical concept, an embodiment of the present invention further provides a network device. As shown in FIG. 11 , the network device may include: a network interface 111, a processor 112, and a memory 113, where: a network interface 111, configured to acquire subscription information of the terminal; and, receiving a proximity discovery request of the first terminal;
存储器 112, 用于存储所述网络接口获取到的终端的签约信息;  The storage unit 112 is configured to store subscription information of the terminal acquired by the network interface.
处理器 113 , 用于在所述网络接口接收到第一终端的邻近关系发现请求 后, 若根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现 其他终端的功能, 则获取所述第一终端及第二终端的位置信息, 判断所述第 二终端与所述第一终端是否满足邻近原则, 并通过所述网络接口将判断结果 发送给所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的 外部标识。  The processor 113 is configured to: after the network interface receives the proximity relationship discovery request of the first terminal, if it is determined that the first terminal has the function of being able to discover other terminals according to the subscription information corresponding to the first terminal, Acquiring the location information of the first terminal and the second terminal, determining whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal by using the network interface; The neighbor relationship discovery request carries an external identifier of the first terminal.
进一步的,处理器 112还可在网络接口 111获取所述第一终端及所述第二 终端的位置信息之前, 判断所述第二终端与所述第一终端是否满足设定的社 交关系, 其中, 所述满足设定的社交关系是指在同一社交网络注册的各终端 之间的身份关系满足设定条件。 Further, the processor 112 may further determine, before the network interface 111 acquires the location information of the first terminal and the second terminal, whether the second terminal and the first terminal meet the set social relationship, where The social relationship that satisfies the setting refers to each terminal registered in the same social network. The identity relationship between them satisfies the set conditions.
所述邻近关系发现请求为: 所述第一终端请求确定该第一终端与自身指 定的第二终端是否满足所述邻近原则及所述设定的社交关系, 所述邻近关系 发现请求还携带有所述第二终端的外部标识。 相应的, 处理器 112还可在获 取所述第一终端及第二终端的位置信息之前, 根据所述邻近关系发现请求中 携带的第二终端的外部标识, 确定该第二终端具有能够被其他终端发现的功 能且该第二终端与所述第一终端满足所述设定的社交关系。  The proximity relationship discovery request is: the first terminal requests to determine whether the first terminal and the second terminal specified by the first terminal meet the proximity principle and the set social relationship, and the proximity relationship discovery request further carries An external identifier of the second terminal. Correspondingly, the processor 112 may further determine, according to the external identifier of the second terminal carried in the request by the proximity relationship, that the second terminal has other capabilities, before acquiring the location information of the first terminal and the second terminal. The function discovered by the terminal and the second terminal and the first terminal satisfy the set social relationship.
进一步的, 若所述邻近关系发现请求为: 所述第一终端请求确定与自身 满足所述邻近原则及所述设定的社交关系的所有第二终端; 则处理器 112还 可在获取所述第一终端及所述第二终端的位置信息之前, 确定具有能够被其 他终端发现的功能且与第一终端满足所述设定的社交关系的所有第二终端; 处理器 112 判断所述第二终端与所述第一终端是否满足邻近原则, 进一步包 括: 在接收到中间交互设备返回的位置信息后, 根据所述第一终端及确定的 所有第二终端的位置信息 , 确定与所述第一终端满足邻近原则的第二终端。  Further, if the proximity discovery request is: the first terminal requests to determine all second terminals that satisfy the proximity principle and the set social relationship, the processor 112 may also obtain the Determining, by the first terminal and the location information of the second terminal, all second terminals having functions capable of being discovered by other terminals and satisfying the set social relationship with the first terminal; the processor 112 determining the second Whether the terminal and the first terminal meet the proximity principle further includes: after receiving the location information returned by the intermediate interaction device, determining, according to the first terminal and the determined location information of all the second terminals, the first The terminal satisfies the second terminal of the proximity principle.
具体的, 网络接口 111 可将确定的具有能够被其他终端发现的功能且与 所述第一终端满足所述设定的社交关系及所述邻近原则的所有第二终端的外 部标识和 /或位置信息反馈给所述第一终端。  Specifically, the network interface 111 may determine the external identifier and/or location of all the second terminals having the function that can be discovered by other terminals and satisfy the set social relationship and the proximity principle with the first terminal. Information is fed back to the first terminal.
进一步的, 网络接口 111还可将所述判断结果发送给所述第二终端。 所述满足邻近原则是指所述第一终端与所述第二终端之间的距离满足设 定条件, 所述第一终端与所述第二终端之间的距离满足设定条件包括: 所述 第一终端与所述第二终端之间的距离不大于设定的阔值, 或所述第一终端与 所述第二终端驻留在同一小区, 或所述第一终端与所述第二终端驻留在同一 基站。  Further, the network interface 111 may also send the determination result to the second terminal. The satisfying the proximity principle means that the distance between the first terminal and the second terminal satisfies the setting condition, and the distance between the first terminal and the second terminal satisfies the setting condition, including: The distance between the first terminal and the second terminal is not greater than a set threshold, or the first terminal and the second terminal reside in the same cell, or the first terminal and the second terminal The terminal resides on the same base station.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。 Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention is applicable to one or more computer-usable storage media (including but not limited to disks) having computer usable program code embodied therein. A form of computer program product embodied on a memory, CD-ROM, optical storage, or the like.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  Although the preferred embodiment of the invention has been described, it will be apparent to those skilled in the < Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and modifications The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权 利 要 求 Rights request
1、 一种确定用户设备之间邻近关系的方法, 其特征在于, 该方法包 括: 1. A method for determining proximity relationships between user equipment, characterized in that the method includes:
应用层设备获取并存储终端的签约信息; The application layer device obtains and stores the terminal’s contract information;
所述应用层设备在接收到第一终端的邻近关系发现请求后, 若根据所述 第一终端对应的签约信息, 确定所述第一终端具有能够发现其他终端的功能, 则所述应用层设备获取所述第一终端及第二终端的位置信息, 判断所述第二 终端与所述第一终端是否满足邻近原则 , 并将判断结果发送给所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的外部标识。 After receiving the proximity discovery request of the first terminal, the application layer device determines that the first terminal has the function of discovering other terminals based on the subscription information corresponding to the first terminal, then the application layer device Obtain the location information of the first terminal and the second terminal, determine whether the second terminal and the first terminal satisfy the proximity principle, and send the determination result to the first terminal; wherein, the proximity relationship discovery The request carries the external identifier of the first terminal.
2、 如权利要求 1所述的方法, 其特征在于, 在所述应用层设备获取所述 第一终端及所述第二终端的位置信息之前, 所述方法还包括: 2. The method of claim 1, wherein before the application layer device obtains the location information of the first terminal and the second terminal, the method further includes:
所述应用层设备判断所述第二终端与所述第一终端是否满足设定的社交 关系, 其中, 所述满足设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件。 The application layer device determines whether the second terminal and the first terminal satisfy the set social relationship, where the set social relationship refers to the identity relationship between terminals registered in the same social network. Meet the set conditions.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述应用层设备获取终 端的签约信息: 3. The method according to claim 1 or 2, characterized in that the application layer device obtains the terminal's contract information:
所述应用层设备接收中间交互设备发送的各终端的签约信息并保存。 The application layer device receives the subscription information of each terminal sent by the intermediate interaction device and saves it.
4、 如权利要求 3所述的方法, 其特征在于, 在所述应用层设备接收中间 交互设备发送的终端的签约信息之前, 所述方法还包括: 4. The method of claim 3, wherein before the application layer device receives the terminal's subscription information sent by the intermediate interaction device, the method further includes:
终端当前驻留的移动性管理实体 MME向归属用户服务器 HSS发送签约 信息获取请求, 所述签约信息获取请求中携带该终端的内部标识; The mobility management entity MME where the terminal currently resides sends a subscription information acquisition request to the home user server HSS, and the subscription information acquisition request carries the internal identifier of the terminal;
所述 HSS根据接收到的签约信息获取请求中携带的内部标识, 从自身存 储的签约信息中, 获取所述内部标识对应的签约信息, 并将获取到的签约信 息以及自身存储的该终端的内部标识与外部标识的映射关系发送给所述 MME; The HSS obtains the contract information corresponding to the internal identifier from the contract information stored by itself according to the internal identifier carried in the received contract information acquisition request, and combines the obtained contract information with the internal information of the terminal stored by itself. The mapping relationship between the identifier and the external identifier is sent to the MME;
所述 MME将接收到的终端签约信息以及该终端的内部标识与外部标识 的映射关系发送给所述中间交互设备; The MME will receive the terminal subscription information and the internal identification and external identification of the terminal. The mapping relationship is sent to the intermediate interaction device;
所述中间交互层设备保存接收到的该终端的内部标识与外部标识的映射 关系, 并将接收到的该终端的签约信息发送给所述应用层服务器。 The intermediate interaction layer device stores the received mapping relationship between the internal identifier and the external identifier of the terminal, and sends the received subscription information of the terminal to the application layer server.
5、如权利要求 4所述的方法, 其特征在于, 所述 MME在将所述 HSS返 回的该终端的签约信息以及该终端的内部标识与外部标识的映射关系发送给 所述中间交互设备时, 还包括: 5. The method according to claim 4, characterized in that, when the MME sends the subscription information of the terminal returned by the HSS and the mapping relationship between the internal identifier and the external identifier of the terminal to the intermediate interaction device , Also includes:
所述 MME将自身的标识信息发送给所述中间交互层设备; The MME sends its own identification information to the intermediate interaction layer device;
所述中间交互层设备在保存所述终端的内部标识与外部标识的映射关系 时, 还包括: When the intermediate interaction layer device saves the mapping relationship between the internal identifier and the external identifier of the terminal, it also includes:
所述中间交互层设备保存所述终端当前驻留的 MME的标识信息。 The intermediate interaction layer device stores the identification information of the MME where the terminal currently resides.
6、 如权利要求 5所述的方法, 其特征在于, 所述方法还包括: 6. The method according to claim 5, characterized in that, the method further includes:
所述中间设备接收更新请求, 根据接收到的更新请求, 更新自身存储的 该终端当前驻留的 MME的标识信息; 其中,所述更新请求是终端当前驻留的 MME发生改变后, 所述终端当前驻留的 MME向所述中间交互设备发送的, 所述更新请求中携带自身的标识信息以及该终端的内部标识。 The intermediate device receives the update request, and updates the stored identification information of the MME where the terminal currently resides according to the received update request; wherein the update request is that after the MME where the terminal currently resides changes, the terminal The update request sent by the currently resident MME to the intermediate interactive device carries its own identification information and the internal identification of the terminal.
7、 如权利要求 3所述的方法, 其特征在于, 所述中间交互设备与机器类 型通信交互功能 MTC-IWF实体合设; 或所述中间交互设备与所述 HSS合设。 7. The method of claim 3, wherein the intermediate interaction device is co-located with the machine type communication interaction function MTC-IWF entity; or the intermediate interaction device is co-located with the HSS.
8、 如权利要求 1或 2所述的方法, 其特征在于, 所述应用层设备获取终 端的位置信息, 包括: 8. The method of claim 1 or 2, wherein the application layer device obtains the location information of the terminal, including:
所述应用层设备向所述中间交互设备发起位置信息获取请求, 所述位置 信息获取请求中携带所述终端的外部标识; The application layer device initiates a location information acquisition request to the intermediate interaction device, and the location information acquisition request carries the external identifier of the terminal;
所述中间交互设备根据自身保存的内部标识与外部标识的映射关系, 确 定接收到的位置信息获取请求中携带的外部标识对应的内部标识, 并向所述 终端当前驻留的 MME发起位置查询请求 ,所述位置信息查询请求携带该终端 的内部标识; The intermediate interactive device determines the internal identifier corresponding to the external identifier carried in the received location information acquisition request based on the mapping relationship between the internal identifier and the external identifier saved by itself, and initiates a location query request to the MME where the terminal currently resides. , the location information query request carries the internal identifier of the terminal;
所述 MME根据接收到的位置查询请求中携带的内部标识 ,获取该终端的 位置信息, 并将获取到的位置信息发送给所述中间交互设备并携带所述终端 的内部标识; The MME obtains the location information of the terminal based on the internal identifier carried in the received location query request, and sends the obtained location information to the intermediate interaction device and carries the terminal internal identification;
所述中间交互设备将接收到的位置信息反馈给所述应用层设备; 其中, 所述位置信息包括: 终端当前驻留的小区的 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组合。 The intermediate interaction device feeds back the received location information to the application layer device; wherein, the location information includes: the ID of the cell where the terminal currently resides, the ID of the base station where the terminal currently resides, and the geographical location information of the terminal. one or a combination of them.
9、 如权利要求 1或 2所述的方法, 其特征在于, 所述邻近关系发现请求 为: 所述第一终端请求确定该第一终端与自身指定的第二终端是否满足所述 邻近原则及所述设定的社交关系, 所述邻近关系发现请求还携带有所述第二 终端的外部标识; 9. The method of claim 1 or 2, wherein the proximity relationship discovery request is: the first terminal requests to determine whether the first terminal and the second terminal designated by itself satisfy the proximity principle and The set social relationship, the proximity relationship discovery request also carries the external identifier of the second terminal;
在所述应用层设备获取所述第一终端及第二终端的位置信息之前, 还包 括: Before the application layer device obtains the location information of the first terminal and the second terminal, it also includes:
所述应用层设备根据所述邻近关系发现请求中携带的第二终端的外部标 识, 确定该第二终端具有能够被其他终端发现的功能且该第二终端与所述第 一终端满足所述设定的社交关系。 The application layer device determines, based on the external identifier of the second terminal carried in the proximity discovery request, that the second terminal has a function that can be discovered by other terminals and that the second terminal and the first terminal satisfy the requirements of the device. certain social relationships.
10、 如权利要求 2所述的方法, 其特征在于, 若所述邻近关系发现请求 为: 所述第一终端请求确定与自身满足所述邻近原则及所述设定的社交关系 的所有第二终端; 10. The method of claim 2, wherein if the proximity relationship discovery request is: the first terminal requests to determine all second terminals that satisfy the proximity principle and the set social relationship with itself. terminal;
在所述应用层设备获取所述第一终端及所述第二终端的位置信息之前, 还包括: Before the application layer device obtains the location information of the first terminal and the second terminal, it also includes:
所述应用层设备确定具有能够被其他终端发现的功能且与第一终端满足 所述设定的社交关系的所有第二终端; The application layer device determines all second terminals that have functions that can be discovered by other terminals and satisfy the set social relationship with the first terminal;
判断所述第二终端与所述第一终端是否满足邻近原则, 进一步包括: 所述应用层设备在接收到中间交互设备返回的位置信息后, 根据所述第 一终端及确定的所有第二终端的位置信息, 确定与所述第一终端满足邻近原 则的第二终端。 Determining whether the second terminal and the first terminal satisfy the proximity principle further includes: after receiving the location information returned by the intermediate interaction device, the application layer device determines whether the first terminal and all second terminals are determined. The location information determines a second terminal that satisfies the proximity principle with the first terminal.
11、 如权利要求 10所述的方法, 其特征在于, 所述应用层设备将判断结 果发送给所述第一终端, 进一步包括: 11. The method of claim 10, wherein the application layer device sends the judgment result to the first terminal, further comprising:
所述应用层设备将确定的具有能够被其他终端发现的功能且与所述第一 终端满足所述设定的社交关系及所述邻近原则的所有第二终端的外部标识和 / 或位置信息反馈给所述第一终端。 The application layer device will determine that it has a function that can be discovered by other terminals and is related to the first The external identifiers and/or location information of all second terminals whose terminals satisfy the set social relationship and the proximity principle are fed back to the first terminal.
12、 如权利要求 1或 2所述的方法, 其特征在于, 还包括: 所述应用层 设备将所述判断结果发送给所述第二终端。 12. The method according to claim 1 or 2, further comprising: the application layer device sending the judgment result to the second terminal.
13、 如权利要求 12所述的方法, 其特征在于, 所述应用层设备通过应用 层消息将所述判断结果发送给所述第一终端和 /或所述第二终端。 13. The method of claim 12, wherein the application layer device sends the determination result to the first terminal and/or the second terminal through an application layer message.
14、 如权利要求 1或 2所述的方法, 其特征在于, 所述满足邻近原则是 指所述第一终端与所述第二终端之间的距离满足设定条件。 14. The method according to claim 1 or 2, wherein satisfying the proximity principle means that the distance between the first terminal and the second terminal satisfies a set condition.
15、 如权利要求 14所述的方法, 其特征在于, 所述第一终端与所述第二 终端之间的距离满足设定条件包括: 所述第一终端与所述第二终端之间的距 离不大于设定的阔值, 或所述第一终端与所述第二终端驻留在同一小区, 或 所述第一终端与所述第二终端驻留在同一基站。 15. The method of claim 14, wherein the distance between the first terminal and the second terminal satisfying the setting condition includes: the distance between the first terminal and the second terminal. The distance is not greater than the set threshold, or the first terminal and the second terminal camp on the same cell, or the first terminal and the second terminal camp on the same base station.
16、 一种应用层设备, 其特征在于, 所述应用层设备包括: 16. An application layer device, characterized in that the application layer device includes:
签约信息获取模块, 用于获取并存储有各终端的签约信息; The contract information acquisition module is used to obtain and store the contract information of each terminal;
接收模块, 用于接收第一终端的邻近关系发现请求, 并根据所述签约信 息获取模块中存储的第一终端对应的签约信息, 确定所述第一终端具有能够 发现其他终端的功能, 其中, 所述邻近关系发现请求中携带所述第一终端的 外部标识; The receiving module is configured to receive the proximity relationship discovery request of the first terminal, and determine that the first terminal has the function of being able to discover other terminals according to the subscription information corresponding to the first terminal stored in the subscription information acquisition module, wherein, The proximity discovery request carries the external identifier of the first terminal;
位置信息获取模块, 用于获取所述第一终端及第二终端的位置信息; 判定模块, 用于判断第二终端与所述第一终端是否满足邻近原则; 发送模块, 用于将所述判定模块的判断结果发送给所述第一终端。 A location information acquisition module, used to obtain the location information of the first terminal and the second terminal; a determination module, used to determine whether the second terminal and the first terminal satisfy the proximity principle; a sending module, used to send the determination The module's judgment result is sent to the first terminal.
17、 如权利要求 16所述的设备, 其特征在于, 所述判定模块还用于: 在所述位置信息获取模块获取所述第一终端及所述第二终端的位置信息 之前, 判断所述第二终端与所述第一终端是否满足设定的社交关系, 其中, 所述设定的社交关系是指在同一社交网络注册的各终端之间的身份关系满足 设定条件。 17. The device according to claim 16, wherein the determination module is further configured to: before the location information acquisition module acquires the location information of the first terminal and the second terminal, determine the location information of the first terminal and the second terminal. Whether the second terminal and the first terminal satisfy the set social relationship, where the set social relationship means that the identity relationship between terminals registered in the same social network satisfies the set condition.
18、 如权利要求 16或 17所述的设备, 其特征在于, 所述签约信息获取 模块具体用于: 18. The device according to claim 16 or 17, characterized in that: the contract information acquisition Modules are specifically used for:
接收中间交互设备发送的各终端的签约信息并存储, 其中, 所述中间交 互设备发送的签约信息中携带该终端的外部标识。 Receive and store the subscription information of each terminal sent by the intermediate interaction device, where the subscription information sent by the intermediate interaction device carries the external identifier of the terminal.
19、 如权利要求 17所述的设备, 其特征在于, 所述判定模块还用于: 若所述邻近关系发现请求为: 所述第一终端请求确定该第一终端与自身 指定的第二终端是否满足所述邻近原则及所述设定的社交关系, 且所述邻近 关系发现请求还携带有所述第二终端的外部标识; 19. The device of claim 17, wherein the determination module is further configured to: if the proximity relationship discovery request is: the first terminal requests to determine the first terminal and the second terminal designated by itself. Whether the proximity principle and the set social relationship are satisfied, and the proximity relationship discovery request also carries the external identifier of the second terminal;
在所述位置信息获取模块获取所述第一终端及所述第二终端的位置信息 之前, 根据所述邻近关系发现请求中携带的第二终端的外部标识, 确定该第 二终端具有能够被其他终端发现的功能且该第二终端与所述第一终端满足所 述设定的社交关系。 Before the location information acquisition module obtains the location information of the first terminal and the second terminal, it is determined based on the external identifier of the second terminal carried in the proximity relationship discovery request that the second terminal has the ability to be used by other terminals. The function of terminal discovery and the second terminal and the first terminal satisfy the set social relationship.
20、 如权利要求 17所述的设备, 其特征在于, 所述判定模块还用于: 若所述邻近关系发现请求为: 所述第一终端请求确定与自身满足所述邻 近原则及所述设定的社交关系的所有第二终端; 20. The device of claim 17, wherein the determination module is further configured to: if the proximity relationship discovery request is: the first terminal requests to determine that it satisfies the proximity principle and the device All second terminals of certain social relationships;
在所述位置信息获取模块获取所述第一终端及所述第二终端的位置信息 之前, 确定具有能够被其他终端发现的功能且与第一终端满足所述设定的社 交关系的所有第二终端; 并在所述位置信息获取模块接收到中间交互设备返 回的位置信息后, 根据所述第一终端及确定的所有第二终端的位置信息, 确 定与所述第一终端满足邻近原则的第二终端。 Before the location information acquisition module obtains the location information of the first terminal and the second terminal, it is determined that all second terminals have the function of being discoverable by other terminals and satisfy the set social relationship with the first terminal. Terminal; and after the location information acquisition module receives the location information returned by the intermediate interactive device, determine the third terminal that satisfies the proximity principle with the first terminal based on the location information of the first terminal and all determined second terminals. Second terminal.
21、如权利要求 20所述的设备, 其特征在于,所述发送模块进一步用于: 将确定的具有能够被其他终端发现的功能且与所述第一终端满足所述设 定的社交关系及所述邻近原则的所有第二终端的外部标识和 /或位置信息反馈 给所述第一终端。 21. The device of claim 20, wherein the sending module is further configured to: send the determined social relationship with the first terminal that has a function that can be discovered by other terminals and satisfies the set social relationship with the first terminal; The external identifiers and/or location information of all second terminals in the proximity principle are fed back to the first terminal.
22、 如权利要求 16或 17所述的设备, 其特征在于, 所述发送模块还用 于: 将所述判断结果发送给所述第二终端。 22. The device according to claim 16 or 17, wherein the sending module is further configured to: send the judgment result to the second terminal.
23、 一种通信系统, 其特征在于, 该通信系统包括: 23. A communication system, characterized in that the communication system includes:
应用层设备, 用于获取并存储各终端的签约信息; 在接收到第一终端的 邻近关系发现请求后, 根据所述第一终端对应的签约信息, 确定所述第一终 端具有能够发现其他终端的功能; 获取所述第一终端及第二终端的位置信息 , 判断所述第二终端与所述第一终端是否满足邻近原则, 并将判断结果发送给 所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的外部标 识; The application layer device is used to obtain and store the contract information of each terminal; after receiving the first terminal's After the proximity relationship discovery request is made, it is determined that the first terminal has the function of discovering other terminals according to the contract information corresponding to the first terminal; the location information of the first terminal and the second terminal is obtained, and the location information of the second terminal is determined. Whether the terminal and the first terminal satisfy the proximity principle, and sending the judgment result to the first terminal; wherein, the proximity relationship discovery request carries the external identifier of the first terminal;
第一终端, 用于向所述应用层设备发送邻近关系发现请求, 并接收所述 应用层设备反馈的判断结果。 The first terminal is configured to send a proximity discovery request to the application layer device, and receive the judgment result fed back by the application layer device.
24、 如权利要求 23所述的通信系统, 其特征在于, 所述应用层设备还用 于: 24. The communication system according to claim 23, characterized in that the application layer device is also used for:
在获取所述第一终端及所述第二终端的位置信息之前, 还判断所述第二 终端与所述第一终端是否满足设定的社交关系, 其中, 所述设定的社交关系 是指在同一社交网络注册的各终端之间的身份关系满足设定条件。 Before obtaining the location information of the first terminal and the second terminal, it is also determined whether the second terminal and the first terminal satisfy a set social relationship, wherein the set social relationship refers to The identity relationship between terminals registered in the same social network satisfies the set conditions.
25、 如权利要求 23或 24所述的通信系统, 其特征在于, 所述通信系统 还包括: MME、 中间交互设备及 HSS; 其中, 25. The communication system according to claim 23 or 24, characterized in that the communication system further includes: MME, intermediate interactive equipment and HSS; wherein,
所述 MME, 用于向所述 HSS发送签约信息获取请求, 并将所述 HSS的 反馈发送给所述中间交互设备, 所述签约信息获取请求中携带该终端的内部 标识; The MME is configured to send a subscription information acquisition request to the HSS, and send feedback from the HSS to the intermediate interactive device, where the subscription information acquisition request carries the internal identification of the terminal;
所述 HSS , 用于根据接收到的所述签约信息获取请求中携带的内部标识, 从自身存储的签约信息中, 获取所述内部标识对应的签约信息, 并将获取到 的签约信息以及自身存储的该终端的内部标识与外部标识的映射关系发送给 所述 MME; The HSS is configured to obtain the internal identifier carried in the request for obtaining the contract information according to the received contract information, obtain the contract information corresponding to the internal identifier from the contract information stored by itself, and store the obtained contract information and itself. The mapping relationship between the internal identifier and the external identifier of the terminal is sent to the MME;
所述中间交互设备, 用于保存接收到的该终端的内部标识与外部标识的 映射关系, 并将接收到的该终端的签约信息发送给所述应用层服务器。 The intermediate interaction device is configured to save the received mapping relationship between the internal identifier and the external identifier of the terminal, and send the received subscription information of the terminal to the application layer server.
26、 如权利要求 25所述的通信系统, 其特征在于, 所述 MME还用于: 所述中间交互层设备; 26. The communication system according to claim 25, characterized in that the MME is also used for: the intermediate interaction layer device;
所述中间交互层设备还用于: 保存所述终端当前驻留的 MME 的标识信 息。 The intermediate interaction layer device is also used to: save the identification information of the MME where the terminal currently resides. interest.
27、 如权利要求 26所述的通信系统, 其特征在于, 在某个终端当前驻留 的 MME发生改变后, 该终端当前驻留的 MME还用于: 向所述中间交互设备 发送更新请求, 所述更新请求中携带自身的标识信息及该终端的内部标识; 所述中间交互设备还用于: 根据接收到的更新请求, 更新自身存储的该 终端当前驻留的 MME的标识信息。 27. The communication system according to claim 26, wherein after the MME where a terminal currently resides changes, the MME where the terminal currently resides is also used to: send an update request to the intermediate interactive device, The update request carries its own identification information and the internal identification of the terminal; the intermediate interaction device is also configured to: update its own stored identification information of the MME where the terminal currently resides according to the received update request.
28、 如权利要求 23或 24所述的通信系统, 其特征在于, 所述应用层设 备还用于: 向所述中间交互设备发起位置信息获取请求, 所述位置信息获取 请求中携带所述终端的外部标识; 28. The communication system according to claim 23 or 24, wherein the application layer device is further configured to: initiate a location information acquisition request to the intermediate interaction device, and the location information acquisition request carries the terminal external identification;
所述中间交互设备还用于: 根据自身保存的内部标识与外部标识的映射 关系, 确定接收到的位置信息获取请求中携带的外部标识对应的内部标识, 并向所述终端当前驻留的 MME发起位置查询请求,所述位置信息查询请求携 带该终端的内部标识;以及将该终端当前驻留的 MME的反馈发送给所述应用 层设备; The intermediate interaction device is also configured to: determine the internal identifier corresponding to the external identifier carried in the received location information acquisition request according to the mapping relationship between the internal identifier and the external identifier saved by itself, and send the request to the MME where the terminal currently resides. Initiate a location query request, the location information query request carries the internal identifier of the terminal; and send feedback from the MME where the terminal currently resides to the application layer device;
该终端当前驻留的 MME还用于:根据接收到的位置查询请求中携带的内 部标识, 获取该终端的位置信息, 并将获取到的位置信息发送给所述中间交 互设备并携带所述终端的内部标识, 其中, 所述位置信息包括: 终端当前驻 留的小区的 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或 组合。 The MME where the terminal currently resides is also used to: obtain the location information of the terminal according to the internal identifier carried in the received location query request, and send the obtained location information to the intermediate interaction device and carry the terminal The internal identification of , wherein the location information includes: one or a combination of: the ID of the cell where the terminal is currently camped, the ID of the base station where the terminal is currently camped, and the geographical location information of the terminal.
29、 如权利要求 25所述的通信系统, 其特征在于, 所述中间交互设备与 机器类型通信交互功能 MTC-IWF实体合设; 或所述中间交互设备与所述 HSS 合设。 29. The communication system according to claim 25, characterized in that the intermediate interaction device and the machine type communication interaction function MTC-IWF entity are co-located; or the intermediate interaction device and the HSS are co-located.
30、 一种网络设备, 其特征在于, 包括: 30. A network device, characterized by including:
网络接口, 用于获取终端的签约信息; 以及, 接收到第一终端的邻近关 系发现请求; The network interface is used to obtain the subscription information of the terminal; and, receives the proximity discovery request of the first terminal;
存储器, 用于存储所述网络接口获取到的终端的签约信息; A memory, used to store the subscription information of the terminal obtained by the network interface;
处理器, 用于在所述网络接口接收到第一终端的邻近关系发现请求后, 若根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他 终端的功能, 则获取所述第一终端及第二终端的位置信息, 判断所述第二终 端与所述第一终端是否满足邻近原则, 并通过所述网络接口将判断结果发送 给所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的外部 标识。 A processor configured to: after the network interface receives a proximity discovery request from the first terminal, If it is determined that the first terminal has the function of discovering other terminals according to the contract information corresponding to the first terminal, then the location information of the first terminal and the second terminal is obtained, and the relationship between the second terminal and the second terminal is determined. Whether the first terminal satisfies the proximity principle and sends the judgment result to the first terminal through the network interface; wherein the proximity relationship discovery request carries the external identifier of the first terminal.
31、 如权利要求 30所述的网络设备, 其特征在于, 所述处理器还用于, 在所述网络接口获取所述第一终端及所述第二终端的位置信息之前, 判断所 述第二终端与所述第一终端是否满足设定的社交关系, 其中, 所述满足设定 的社交关系是指在同一社交网络注册的各终端之间的身份关系满足设定条 件。 31. The network device according to claim 30, wherein the processor is further configured to determine whether the first terminal and the second terminal are located before the network interface obtains the location information of the first terminal and the second terminal. Whether the second terminal and the first terminal satisfy the set social relationship, wherein the satisfying the set social relationship means that the identity relationship between terminals registered in the same social network satisfies the set condition.
32、 如权利要求 30或 31所述的网络设备, 其特征在于, 所述邻近关系 发现请求为: 所述第一终端请求确定该第一终端与自身指定的第二终端是否 满足所述邻近原则及所述设定的社交关系, 所述邻近关系发现请求还携带有 所述第二终端的外部标识; 32. The network device according to claim 30 or 31, wherein the proximity relationship discovery request is: the first terminal requests to determine whether the first terminal and the second terminal designated by itself satisfy the proximity principle. and the set social relationship, the proximity relationship discovery request also carries the external identifier of the second terminal;
所述处理器还用于, 在获取所述第一终端及第二终端的位置信息之前, 根据所述邻近关系发现请求中携带的第二终端的外部标识, 确定该第二终端 具有能够被其他终端发现的功能且该第二终端与所述第一终端满足所述设定 的社交关系。 The processor is further configured to, before obtaining the location information of the first terminal and the second terminal, determine that the second terminal has a capability that can be used by other terminals based on the external identifier of the second terminal carried in the proximity discovery request. The function of terminal discovery and the second terminal and the first terminal satisfy the set social relationship.
33、 如权利要求 31所述的网络设备, 其特征在于, 若所述邻近关系发现 请求为: 所述第一终端请求确定与自身满足所述邻近原则及所述设定的社交 关系的所有第二终端; 则所述处理器还用于, 在获取所述第一终端及所述第 二终端的位置信息之前, 确定具有能够被其他终端发现的功能且与第一终端 满足所述设定的社交关系的所有第二终端; 33. The network device according to claim 31, wherein if the proximity relationship discovery request is: the first terminal requests to determine all third terminals that satisfy the proximity principle and the set social relationship with itself. two terminals; the processor is further configured to, before obtaining the location information of the first terminal and the second terminal, determine whether the terminal has a function that can be discovered by other terminals and meets the settings of the first terminal. all secondary terminals of social relations;
所述处理器判断所述第二终端与所述第一终端是否满足邻近原则, 进一 步包括: 在接收到中间交互设备返回的位置信息后, 根据所述第一终端及确 定的所有第二终端的位置信息, 确定与所述第一终端满足邻近原则的第二终 The processor determines whether the second terminal and the first terminal satisfy the proximity principle, further including: after receiving the location information returned by the intermediate interactive device, based on the location information of the first terminal and all determined second terminals. location information to determine the second terminal that satisfies the proximity principle with the first terminal.
34、 如权利要求 33所述的网络设备, 其特征在于, 所述网络接口具体用 于, 将确定的具有能够被其他终端发现的功能且与所述第一终端满足所述设 定的社交关系及所述邻近原则的所有第二终端的外部标识和 /或位置信息反馈 给所述第一终端。 34. The network device according to claim 33, wherein the network interface is specifically configured to determine whether the network device has a function that can be discovered by other terminals and satisfies the set social relationship with the first terminal. The external identification and/or location information of all second terminals and the proximity principle are fed back to the first terminal.
35、 如权利要求 30或 31所述的网络设备, 其特征在于, 所述网络接口 还用于, 将所述判断结果发送给所述第二终端。 35. The network device according to claim 30 or 31, characterized in that the network interface is also used to send the judgment result to the second terminal.
36、 如权利要求 30或 31所述的网络设备, 其特征在于, 所述满足邻近 原则是指所述第一终端与所述第二终端之间的距离满足设定条件, 所述第一 终端与所述第二终端之间的距离满足设定条件包括: 所述第一终端与所述第 二终端之间的距离不大于设定的阔值, 或所述第一终端与所述第二终端驻留 在同一小区, 或所述第一终端与所述第二终端驻留在同一基站。 36. The network device according to claim 30 or 31, wherein: satisfying the proximity principle means that the distance between the first terminal and the second terminal satisfies a set condition, and the first terminal The distance between the first terminal and the second terminal satisfying the set conditions includes: the distance between the first terminal and the second terminal is not greater than a set threshold, or the distance between the first terminal and the second terminal The terminals camp on the same cell, or the first terminal and the second terminal camp on the same base station.
PCT/CN2013/086372 2012-11-26 2013-10-31 Method and device for determining proximity relation between user equipments, and communication system WO2014079313A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210488666.7A CN103841542A (en) 2012-11-26 2012-11-26 Method for determining proximity relation between user equipment, equipment and communication system
CN201210488666.7 2012-11-26

Publications (1)

Publication Number Publication Date
WO2014079313A1 true WO2014079313A1 (en) 2014-05-30

Family

ID=50775519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086372 WO2014079313A1 (en) 2012-11-26 2013-10-31 Method and device for determining proximity relation between user equipments, and communication system

Country Status (2)

Country Link
CN (1) CN103841542A (en)
WO (1) WO2014079313A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023310A (en) * 2014-06-11 2014-09-03 北京智谷睿拓技术服务有限公司 Method and device of determining proximity relation
CN105516956A (en) * 2014-09-25 2016-04-20 电信科学技术研究院 Equipment discovery method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338508B (en) * 2014-06-27 2019-03-29 阿尔卡特朗讯 Method and apparatus for finding with communicating between the user equipment of adjacent service

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070037574A1 (en) * 2005-08-09 2007-02-15 Jonathan Libov Method and apparatus of a location-based network service for mutual social notification
CN102111922A (en) * 2009-12-25 2011-06-29 中兴通讯股份有限公司 Management method and system for M2M service signing data, and user signing data memory
CN102257839A (en) * 2008-12-17 2011-11-23 艾利森电话股份有限公司 Method and system for providing wireless communication between user equipments
CN102695121A (en) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 Method and system for pushing friend information for user in social network
CN102695292A (en) * 2009-08-21 2012-09-26 捷讯研究有限公司 System and method for mobile network inter-device communications
CN102714780A (en) * 2010-01-05 2012-10-03 高通股份有限公司 Tagging of multimedia content with geographical location by the user of a wireless communications device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325004B (en) * 2011-07-15 2014-04-16 电信科学技术研究院 Signalling sending method and device
CN102547572A (en) * 2012-03-01 2012-07-04 华为技术有限公司 Method and device for determining position of users and communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070037574A1 (en) * 2005-08-09 2007-02-15 Jonathan Libov Method and apparatus of a location-based network service for mutual social notification
CN102257839A (en) * 2008-12-17 2011-11-23 艾利森电话股份有限公司 Method and system for providing wireless communication between user equipments
CN102695292A (en) * 2009-08-21 2012-09-26 捷讯研究有限公司 System and method for mobile network inter-device communications
CN102111922A (en) * 2009-12-25 2011-06-29 中兴通讯股份有限公司 Management method and system for M2M service signing data, and user signing data memory
CN102714780A (en) * 2010-01-05 2012-10-03 高通股份有限公司 Tagging of multimedia content with geographical location by the user of a wireless communications device
CN102695121A (en) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 Method and system for pushing friend information for user in social network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023310A (en) * 2014-06-11 2014-09-03 北京智谷睿拓技术服务有限公司 Method and device of determining proximity relation
CN105516956A (en) * 2014-09-25 2016-04-20 电信科学技术研究院 Equipment discovery method and device

Also Published As

Publication number Publication date
CN103841542A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
US11871295B2 (en) Registration management method for terminal accessing 5G network on non-3GPP access
CN109997334B (en) Session management with relaying and charging for indirect connectivity of internet of things applications in 3GPP networks
EP3566509B1 (en) Registration management method for terminal accessing 5g network on non-3gpp access
JP6039103B2 (en) An efficient means of relaying and broadcasting information between wireless terminals
KR101405685B1 (en) Group-based machine to machine communication
US9681257B2 (en) Data downlink transmission method and device
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
WO2016145735A1 (en) D2d-based data sharing method, apparatus, and device
TWI516160B (en) An implementation method and device for an adjacent communication service
WO2018086451A1 (en) Network access method and device utilized by terminal, and downlink data delivery method and device
WO2012095021A1 (en) Method, system, and device for establishing local ip access connection
WO2014110938A1 (en) Discovery signal sending method, communication terminal and system in device to device communication
TW201225599A (en) A method and device for initiating one-to-many communication process by a network in a communication system
Doumiati et al. A framework for lte-a proximity-based device-to-device service registration and discovery
US10172044B2 (en) Method and device for data communication over a peer-to-peer connection in a mobile communication network
WO2014079313A1 (en) Method and device for determining proximity relation between user equipments, and communication system
WO2018086452A1 (en) Terminal authentication, terminal state switching, and downlink data delivery methods and devices
WO2014079312A1 (en) Method and device for determining proximity relationship between user equipments, and communication system
WO2018170740A1 (en) Paging method and apparatus
US20230269573A1 (en) Systems and methods for ue context management in sidelink relay scenarios
WO2016034018A1 (en) Method, device and home subscriber server for device to device service recovery
WO2015096100A1 (en) Paging method, apparatus and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13857543

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13857543

Country of ref document: EP

Kind code of ref document: A1