WO2014079312A1 - 一种确定用户设备之间邻近关系的方法、设备及通信系统 - Google Patents

一种确定用户设备之间邻近关系的方法、设备及通信系统 Download PDF

Info

Publication number
WO2014079312A1
WO2014079312A1 PCT/CN2013/086364 CN2013086364W WO2014079312A1 WO 2014079312 A1 WO2014079312 A1 WO 2014079312A1 CN 2013086364 W CN2013086364 W CN 2013086364W WO 2014079312 A1 WO2014079312 A1 WO 2014079312A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
proximity
relationship
application layer
terminals
Prior art date
Application number
PCT/CN2013/086364
Other languages
English (en)
French (fr)
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 WO2014079312A1 publication Critical patent/WO2014079312A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • 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.
  • Scenery technology 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.
  • 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 sends data to eNB1 (eNB: evolved NodeB, ie, base station) serving it; after receiving the data, eNB1 passes the data to the Serving Gateway (Serving Gateway, PDN GW, referred to as PGW);
  • eNB1 evolved NodeB, ie, base station
  • PGW Serving Gateway
  • the SGW/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 in the figure, the SGW/PGW serving the UE2 will Data is passed 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 not the same, the communication process between UE1 and UE2 Also included is the process by which the PGW of UE1 routes data to the PGW of UE2.
  • 3GPP is studying about proximity Communication technology between devices, that is, when the distance between two UEs that need to communicate is very close, data is directly transmitted between the two UEs, and the data transmission path thereof is shown in FIG. 2A, between UE1 and UE2.
  • the data can be transmitted directly without any mobile network device; or the fast communication between the two UEs can be realized only by means of the transmission of the eNB.
  • the data transmission path is as shown in FIG.
  • 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, 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 Mobilit Management Entity (MME), and an interface S6m is provided between the MTC-IWF and the Home Subscriber Server (HSS).
  • MME Mobilit Management Entity
  • HSS Home Subscriber Server
  • the UE uses an internal ID 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. Between the external ID and the internal ID The mapping relationship is saved in the HSS.
  • the trigger message When the trigger message is sent to the UE by the MTC server, 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 identifier corresponding to the UE and the MME ID information registered by the UE stored in the HSS to the MTC-IWF. After receiving the information, 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.
  • the embodiment of the present invention provides a method for determining a proximity relationship between user equipments, including: the application layer device acquires and stores the subscription information of each terminal, the mapping relationship between the internal identifier and the external identifier, and the location information;
  • 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 determines whether the second terminal and the first terminal satisfy the proximity principle, and sends the determination result to the first terminal.
  • An embodiment of the present invention provides an application layer device, including:
  • An obtaining module configured to acquire and store the subscription information of each terminal, the mapping relationship between the internal identifier and the external identifier, and the location information;
  • a receiving module configured to: 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 a function capable of discovering other terminals, where The neighboring relationship discovery request carries the external identifier of the first terminal, and the determining module is configured to determine whether the second terminal and the first terminal meet the proximity principle; And a sending module, configured to send the determination result of the determining module 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, the mapping relationship between the internal identifier and the external identifier, and the location information. After receiving the proximity relationship discovery request of the first terminal, according to the subscription information corresponding to the first terminal Determining that the first terminal has the function of being able to discover other terminals; and determining whether the second terminal and the first terminal satisfy the proximity principle, and feeding back the determination result to the first terminal; wherein the neighbor relationship is found Carrying an external identifier of the first terminal in the request;
  • 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 a subscription information of the terminal, a mapping relationship between the internal identifier and the external identifier, and location information; and, a proximity relationship discovery request of the receiving terminal;
  • a storage configured to store subscription information of the terminal acquired by the network interface, a mapping relationship between an internal identifier and an external identifier, and location information;
  • a processor configured to determine, after the network interface receives the proximity relationship discovery request of the first terminal, if the first terminal has the function of being able to discover other terminals according to the subscription information corresponding to the first terminal, determining Whether the second terminal and the first terminal meet the proximity principle, and the judgment result is sent to the first terminal by using the network interface, where the neighbor relationship discovery request carries the external identifier of the first terminal. a mapping relationship between the part identifier and the location information; after receiving the proximity relationship discovery request of the first terminal, determining, according to the proximity relationship subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals; The second terminal and the first terminal meet the proximity principle, and the judgment result is sent to the first terminal.
  • the embodiment of the invention provides a scheme for determining the proximity relationship between the user equipments, and implements the discovery process of the proximity relationship between the user equipments. Moreover, the scheme has less changes to the network architecture in the existing protocol and is 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 diagram of a network architecture according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an interaction process between entities in the network architecture shown in FIG. 5;
  • FIG. 7 is a schematic structural diagram of an application layer device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • the mapping relationship between the external identifier and the location information after receiving the proximity relationship discovery request of the first terminal, determining, according to the proximity relationship subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals; And determining whether the second terminal and the first terminal meet the proximity principle, and sending the determination result to the first terminal, thereby solving the problem that there is no solution for the proximity relationship discovery between the 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, the mapping relationship between the internal identifier and the external identifier, and the location information.
  • the subscription information of each terminal corresponds to the internal identifier of the 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;
  • the neighbor relationship discovery request carries the external identifier of the first terminal.
  • Step 43 The application layer device 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).
  • step 42 the application layer device determines, according to the following steps, the subscription information corresponding to the first terminal:
  • the application layer device determines, according to the mapping relationship between the internal identifier and the external identifier, the internal identifier corresponding to the external identifier of the first terminal that is carried in the received neighbor relationship discovery request, and the application layer device according to the internal identifier of the first terminal
  • the contract information corresponding to the internal identifier is determined from the subscription information of the terminal stored by the terminal.
  • the subscription information of the terminal further includes the proximity relationship subscription information of the terminal.
  • the proximity relationship subscription information of the terminal is: the terminal allows other terminals to be discovered and is not allowed to be discovered by other terminals, 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 is not allowed to be discovered by other terminals and does not allow discovery of other terminals.
  • the proximity relationship signing information of the terminal is for all the services related to the neighbor relationship of the terminal, that is, any service related to the neighbor relationship activated by the terminal should comply with the contracted proximity relationship signing information.
  • a certain terminal does not have the ability to discover other terminals.
  • Function of the terminal The terminal does not have the proximity discovery function; or the terminal has the proximity discovery function, but the proximity relationship subscription information allows the terminal to be discovered by other terminals and does not allow discovery of other terminals; or the terminal has a proximity discovery function.
  • the proximity information subscription information is that the terminal is not allowed to be discovered by other terminals and other terminals are not allowed to be discovered.
  • a terminal may be considered to have the function of discovering other terminals: the proximity relationship subscription information of the terminal is that the terminal allows to discover other terminals and is allowed to be discovered by other terminals; or the proximity relationship subscription information of the terminal is the terminal. Allow other terminals to be discovered and not allowed to be discovered by other terminals.
  • 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 application through the application layer message.
  • the first terminal does not have the function of being able to discover other terminals.
  • 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 satisfies the setting condition:
  • the first case the distance between the first terminal and the second terminal is not greater than the set threshold.
  • the set width is the experience value, which can be set as needed.
  • the distance between the first terminal and the second terminal is not more than 500 meters or the like.
  • the second case the first terminal and the second terminal reside in the same cell; that is, the first terminal and the second terminal currently have the same ID of the cell.
  • the third case 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.
  • User A's social networking application can know if user C is in its immediate location
  • User C's social networking application can know if User A is in its immediate 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, when determining whether the second terminal and the first terminal meet the proximity principle, further includes: determining the second Whether the terminal and the first terminal satisfy the set social relationship.
  • the set social relationship is satisfied 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 same social network registration in the context of the storage itself.
  • the identity relationship between the terminals is as follows: UE1 and UE2 are in a friend relationship, and UE1 and UE3 are not in a friend relationship; 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 the location information of the terminal by using the method reported by each terminal. Specifically, the application layer device obtains each terminal according to the following steps. Location information:
  • the application layer device After the terminal and the access network establish a PDN connection related to the application layer service, the application layer device establishes an application layer connection with each terminal; and the application layer device receives the current location information reported by each terminal and storage.
  • 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 terminal may obtain an ID of a cell that is currently camped on by the air interface.
  • the terminal can obtain its own GPS location information, such as latitude and longitude information, through its own GPS (Global Positioning System) module.
  • GPS Global Positioning System
  • the intermediate interaction device is defined to interact with the HSS through the interface Xy, and the interface Xy is used to implement the subscription information query process, that is, the intermediate interaction device sends a query to the HSS.
  • the request and the HSS feed back the subscription information of each terminal and the mapping relationship between the internal identifiers of the terminals and the external identifiers to the intermediate interaction device.
  • the interaction between the intermediate interaction device and the application layer device is performed through the interface Xz, and the interface Xy is used to implement the application layer.
  • the device initiates a subscription information acquisition request to the intermediate interaction device, and the intermediate interaction device sends the subscription information of each terminal and the mapping relationship between the internal identifier of each terminal and the external identifier to the application layer device.
  • 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.
  • the process of the interaction between the terminal and the application layer device is as shown in FIG. 6.
  • the UE1 and the UE2 establish a PDN connection with the application layer device, and report the current current to the application layer device through the application layer interaction.
  • the application layer device receives the location information reported by the UE1 and the UE2 and stores the location information, and updates the location information stored by the UE1 and the UE2 when the location changes.
  • each terminal After attaching to the network, each terminal initiates a packet data network (PDN) connection establishment to the access network, and accesses the SGi interface and access through a Packet Data Network Gateway (PGW).
  • PDN packet data network
  • PGW Packet Data Network Gateway
  • the network establishes a PDN connection.
  • PDN packet data network
  • PGW Packet Data Network Gateway
  • each terminal After the PDN connection is established, each terminal establishes an application layer connection with the application layer device. Each terminal reports its current location information to the application layer device. Preferably, each terminal sets the application layer in real time. After the current location information of the terminal is changed, the terminal reports its current location information to the application layer device, so that the application layer device can update the location information of each terminal in time.
  • the application layer device obtains the subscription information of the terminal from the HSS through the intermediate interaction device according to the external identifier of each terminal (such as the application layer identifier). Specifically, the application layer device follows the following steps. Obtain signing information for each terminal:
  • the application layer device initiates a subscription information acquisition request to the intermediate interaction device, and the subscription information acquisition request carries the external identifier of the terminal;
  • the intermediate interaction device After receiving the subscription information acquisition request, the intermediate interaction device sends a query request to the HSS to obtain the subscription information of the terminal, where the query request carries the external identifier of the terminal;
  • the HSS After receiving the query request, the HSS determines the internal identifier corresponding to the external identifier carried by the query request according to the mapping relationship between the internal identifier and the external identifier, and the contract information corresponding to the determined internal identifier and the internal identifier of the terminal and the external identifier.
  • the mapping relationship of the identifier is sent to the intermediate interaction device, where the subscription information of the terminal having the proximity relationship discovery function includes at least the proximity relationship subscription information of the terminal;
  • the intermediate interaction device 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 application layer device for storage.
  • the network architecture shown in FIG. 5 is used.
  • the interaction process between the intermediate interaction device and the application layer device, and the intermediate interaction device and the HSS is shown in FIG. 6.
  • the HSS holds the subscription information of each terminal.
  • the subscription information also includes the proximity relationship subscription information of the terminal, because the external connection between the terminal and the application layer device is used.
  • the identifiers are exchanged and interact with the internal identifiers of the devices on the 3GPP network side. Therefore, the mapping between the internal identifiers of the terminals and the external identifiers is also stored in the HSS.
  • the internal identifier of the terminal is IMSI
  • the external identifier of the terminal is an application layer ID (such as a QQ number of the terminal, an MSN account, etc.).
  • the intermediate interaction device in the embodiment of the present invention may be deployed separately, or may be combined with the MTC-IWF, and may also be combined with 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 MTC-IWF interface S6m and the interface Tsp 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 There is an external identifier for 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 the proximity relationship determination process performed by the application layer device is described.
  • step 43 the method further includes:
  • 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 other terminals;
  • the application layer device determines that the second terminal has a function that can be discovered by the other terminal, and determines that the second terminal is adjacent to the first terminal when the first terminal meets the set social relationship and the proximity principle;
  • the application layer device determines the second function when determining that the second terminal does not have a function that can be discovered by other terminals, or does not satisfy the set social relationship with the first terminal, or does not satisfy the proximity principle with the first terminal.
  • the terminal is not 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;
  • 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 sends the judgment result to the second 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 whether the second terminal has a function that can be discovered by other terminals according to the following steps:
  • the application layer device determines, according to the mapping relationship between the internal identifier and the external identifier, the internal identifier corresponding to the external identifier of the second terminal that is carried in the received proximity discovery request, and obtains the second terminal from the subscription information stored by itself. Signing information; and
  • 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 other terminals, specifically:
  • 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 subscription information does not include the proximity relationship subscription information (that is, the terminal does not have the proximity 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 terminal Proximity relationship signing information is that the terminal is not allowed to be other
  • the terminal finds and does not allow discovery of other terminals, and determines that the second terminal does not have a function that allows discovery by other terminals.
  • the application layer device when determining whether the first terminal and the second terminal meet the set social relationship and the proximity principle, does not limit the judgment order;
  • the application layer device may first determine whether the first terminal and the second terminal meet the set social relationship; if the set social relationship is not satisfied, determine that the second terminal is not adjacent to the first terminal; if the set social relationship is met, And determining whether the first terminal and the second terminal meet the proximity principle; if the proximity principle is met, determining that the second terminal is not adjacent to the first terminal; if the proximity principle is not met, determining that the second terminal is not adjacent to the first terminal;
  • the application layer device may also first determine whether the first terminal and the second terminal satisfy the proximity principle. If the proximity principle is not met, determine that the second terminal is not adjacent to the first terminal; if the proximity principle is met, continue to determine the first terminal and the first terminal. Whether the second terminal meets the set social relationship; if the set social relationship is satisfied, determining that the second terminal is adjacent to the first terminal; if the set social relationship is not satisfied, determining that the second terminal is not adjacent to the first terminal.
  • the application layer device performs the proximity discovery process, that is, whether the first terminal and the second terminal satisfy the proximity principle and the set social relationship.
  • step 43 the method further includes:
  • the application layer device determines all second terminals that satisfy the proximity principle with the first terminal; and 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 determines all the second terminals that satisfy the proximity principle of the first terminal, it is not limited to determine whether the second terminal has a function that can be discovered by other terminals, and determines the second. Whether the terminal and the first terminal satisfy the set social relationship;
  • the application layer device may first determine, according to the subscription information of the second terminal, whether it has a function that can be discovered by other terminals, and if not, determine that the second terminal and the first terminal are not If yes, determining whether the second terminal is in the set social relationship, if yes, determining that the second terminal is adjacent to the first terminal; if not, determining that the second terminal is not adjacent to the first terminal ;
  • the application layer device may further determine whether the first terminal meets the set social relationship, and if not, determine that the second terminal is not adjacent to the first terminal; if yes, Determining whether the second terminal has a function that can be discovered by another terminal, if yes, determining that the second terminal is adjacent to the first terminal; if not, determining that the second terminal is not adjacent to the first terminal.
  • 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 discovered by other terminals and meets the proximity principle and the setting with the first terminal.
  • the second terminal of the relationship the application layer device returns a success response message to the first terminal, and feeds back the determined external identifiers and/or location information of all the second terminals 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 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, as shown in FIG. 7
  • the application layer device includes:
  • the obtaining module 70 is configured to acquire and store the subscription information of each terminal, the mapping relationship between the internal identifier and the external identifier, and the location information.
  • the receiving module 71 is configured to: after receiving the proximity relationship discovery request of the first terminal, the application layer device determines, according to the subscription information corresponding to the first terminal stored in the obtaining module 70, that the first terminal has the function of discovering other terminals, The neighbor relationship discovery request carries the external identifier of the first terminal.
  • the determining module 72 is configured to determine whether the second terminal and the first terminal meet the proximity principle, and the sending module 73 is configured to send the determination result of the determining module 72 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 72 is further configured to: determine whether the second terminal and the first terminal meet the set social relationship when determining whether the second terminal and the first terminal satisfy the proximity principle.
  • 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 obtaining module 70 is specifically configured to: Establishing a packet data network PDN connection with each terminal; and receiving and storing the current location information reported by each terminal, where the location information includes: an identifier ID of a cell currently camped by the terminal, and a base station where the terminal currently camps One or a combination of the ID, the geographic location information of the terminal.
  • the obtaining module 70 is specifically configured to:
  • the contract information acquisition request is sent to the intermediate interaction device, and the subscription information of the terminal returned by the intermediate interaction device and the mapping relationship between the internal identifier of the terminal and the external identifier are received and stored, wherein the subscription information acquisition request carries the external identifier of the terminal.
  • 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 external identifier of the second terminal. Then, the determining module 72 is specifically used to:
  • the determining module 72 is specifically configured to:
  • the sending module 73 is further configured to:
  • the determined external identification and/or location information of all second terminals having functions that can be discovered by other terminals and that satisfy the set social relationship with the first terminal is fed back to the first terminal.
  • the receiving module 71 is specifically configured to:
  • the obtaining module 70 Determining, according to the mapping relationship between the internal identifier and the external identifier stored by the obtaining module 70, the internal identifier corresponding to the external identifier of the first terminal carried in the received proximity discovery request; according to the internal identifier of the first terminal, from the obtaining module 70 Determining the internal standard in the contract information of the stored terminal Identify the corresponding signing information;
  • the determining module 72 is further configured to: determine, according to the mapping relationship between the internal identifier and the external identifier stored in the obtaining module 70, the internal identifier corresponding to the external identifier of the second terminal carried in the proximity relationship discovery request received by the receiving module 71
  • the internal identifier of the second terminal is used to determine the subscription information corresponding to the internal identifier from the subscription information of the terminal stored by the obtaining module 70, and determine whether the second terminal has a function that can be discovered by other terminals.
  • the sending module 73 is further configured to: send the determination result to the second terminal.
  • an embodiment of the present invention further provides a communication system.
  • the communication system includes:
  • the application layer device 81 is configured to acquire and store the subscription information of each terminal, the mapping relationship between the internal identifier and the external identifier, and the location information. After receiving the proximity discovery request of the first terminal 82, according to the proximity of the first terminal 82, The relationship signing information determines that the first terminal 82 has the function of discovering other terminals; and determines whether the second terminal and the first terminal 82 satisfy the set social relationship and the proximity principle, and feeds back the determination result to the first terminal 82; The neighbor relationship discovery request carries the external identifier of the first terminal 82.
  • the first terminal 82 is configured to send a proximity discovery request to the application layer device, and receive a determination result fed back by the application layer device.
  • 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 81 is further configured to: determine whether the second terminal and the first terminal meet the set social relationship when determining whether the second terminal and the first terminal meet the principle of proximity.
  • the set social relationship is that the identity relationship between the terminals registered in the same social network satisfies the setting condition, where the application layer device may be in the context of its own storage. Querying the identity relationship between the terminals registered in the same social network, for example, UE1 and UE2 are in a friend relationship, UE1 and UE3 are not in a friend relationship, for example, UE1 and UE2 belong to the same group, and UE2 and UE3 do not belong to the same group. ; and many more;
  • 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 communication system further includes: an intermediate interaction device 83 and an HSS 84; wherein
  • the intermediate interaction device 83 is configured to send a query request to the HSS 84 after receiving the subscription information acquisition request sent by the application layer device 81, where the query request carries the external identifier of the terminal, and the subscription information fed back by the HSS 84 and the internal identifier of the terminal The mapping relationship with the external identifier is sent to the application layer device 81;
  • the HSS 84 is configured to determine, according to the mapping relationship between the internal identifier and the external identifier, the internal identifier corresponding to the external identifier of the terminal carried by the query request, and the contract information corresponding to the determined internal identifier and the internal identifier of the terminal.
  • the mapping relationship with the external identifier is sent to the intermediate interaction device 83.
  • the application layer device After receiving the proximity discovery request of the first terminal, the application layer device determines, according to the proximity relationship subscription information corresponding to the first terminal, that the first terminal has the function of discovering other terminals; and determines that the second terminal is Whether the first terminal satisfies the principle of proximity, and sends the result of the judgment to the first terminal.
  • the embodiment of the present invention provides a solution for determining the proximity relationship between the user equipments, and the solution has less changes to the network architecture in the existing protocol. And easy to implement.
  • an embodiment of the present invention further provides a network device.
  • the network device can be as shown in Figure 9.
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • the network device may include: a network interface 91, a processor 92, and a memory 93, where:
  • the network interface 91 is configured to acquire the subscription information of the terminal, the mapping relationship between the internal identifier and the external identifier, and the location information; and the proximity relationship discovery request of the receiving terminal;
  • the storage unit 92 is configured to store the subscription information of the terminal, the mapping relationship between the internal identifier and the external identifier, and the location information acquired by the network interface 91;
  • the processor 93 is configured to determine, after the network interface 91 receives the proximity relationship discovery request of the first terminal, if the first terminal has the function of being able to discover other terminals according to the subscription information corresponding to the first terminal, Whether the second terminal and the first terminal meet the proximity principle, and the judgment result is sent to the first terminal by using the network interface, where the neighbor relationship discovery request carries the external identifier of the first terminal.
  • the processor 92 may further determine whether the second terminal and the first terminal meet the set social relationship when determining whether the second terminal and the first terminal meet the proximity principle;
  • the social relationship that satisfies the setting means that the identity relationship between the terminals registered in the same social network satisfies the set condition.
  • the network interface 91 may establish an application layer connection with each terminal after the terminal establishes a PDN connection for the packet data network related to the application layer service, and receives the current location information reported by each terminal.
  • the location information includes: one or a combination of an identifier ID of a cell currently camped on by the terminal, an ID of a base station where the terminal currently camps, and geographic location information of the terminal.
  • the satisfying the proximity principle means that the distance between the first terminal and the second terminal satisfies a set 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 cell, or the first terminal and the second terminal reside in the same base station.
  • 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 whether the set social relationship is satisfied, and the proximity relationship discovery request further carries The external identifier of the second terminal.
  • the processor 92 may determine, according to the subscription information of the second terminal, whether the second terminal has a function that can be discovered by another terminal; if the application layer device determines that the second terminal has other capabilities Determining the function discovered by the terminal, and satisfying the social relationship and the proximity principle with the first terminal, determining the location The second terminal is adjacent to the first terminal; if the application layer device determines that the second terminal does not have a function that can be discovered by another terminal, or does not satisfy the social relationship with the first terminal, or And the first terminal does not satisfy the proximity principle, and determines that the second terminal is not adjacent to the first terminal.
  • the proximity discovery request is: the first terminal requests to determine all second terminals that satisfy the proximity principle and the social relationship by itself.
  • the processor 92 may determine all second terminals that satisfy the proximity principle with the first terminal; and determine that all functions having capabilities that can be discovered by other terminals and that satisfy the social relationship with the first terminal are determined The second terminal.
  • the network interface 91 may feed back the determined external identifier and/or location information of all the second terminals that have functions that can be discovered by other terminals and that satisfy the social relationship with the first terminal to the first terminal. .
  • the network interface 91 may send the determination result to the second terminal.
  • the network interface 91 may send the determination result to the first terminal and/or the second terminal by using an application layer message.
  • 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 invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • 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.

Abstract

一种确定用户设备之间邻近关系的方法、设备及通信系统,用于解决目前还没有针对相互邻近的用户设备之间进行邻近关系发现的解决方案的问题。本发明实施例的方法包括:应用层设备获取并存储各终端的签约信息、内部标识与外部标识的映射关系以及位置信息;在接收到第一终端的邻近关系发现请求后,根据第一终端对应的签约信息,确定第一终端具有能够发现其他终端的功能;判断第二终端与该第一终端是否满足邻近原则,并将判断结果发送给第一终端。本发明实施例提供了一种确定用户设备之间邻近关系的方案,实现了用户设备之间邻近关系的发现过程,并且,该方案对现有协议中网络架构的改动较小,且易于实现。

Description

一种确定用户设备之间邻近关系的方法、 设备及通信系统 本申请要求在 2012 年 11 月 26 日提交中国专利局、 申请号为 201210488981.X, 发明名称为 "一种确定用户设备之间邻近关系的方法、 设 备及通信系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申 请中。 技术领域
本发明涉及无线通信技术领域, 特别涉及一种确定用户设备之间邻近关 系的方法、 设备及通信系统。 皆景技术
目前第三代合作伙伴计划 ( 3rd Generation Partnership Project, 3GPP ) 中 定义的两个用户设备(User Equipment, UE )之间的通信过程,参见图 1所示, UE1向 UE2发送数据的过程包括:
UE1将数据发送到为其服务的 eNBl ( eNB: evolved NodeB,演进节点 B, 即基站); eNBl在接收到数据后,将该数据传递到服务网关( Serving Gateway,
Figure imgf000003_0001
PDN GW, 简称 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的过程。
从上述过程可以看出, 即使相互通信的两个用户设备之间的位置非常近, 传递数据时也需要通过为各自服务的 eNB及核心网才能到达对端, 使得通信 延时非常大, 而且还会占用更多的网络资源。 因此, 3GPP正在研究关于邻近 设备之间的通信技术, 即: 在需要通信的两个 UE之间的距离很近时, 实现该 两个 UE之间直接传输数据, 其数据传输路径参见图 2A所示, UE1和 UE2 之间可以直接传输数据, 而不需要经过任何移动网络设备; 或者仅借助 eNB 的传递实现该两个 UE之间的快速通信, 其数据传输路径参见图 2B所示, 将 UE1和 UE2连接到同一 eNB , 实现仅通过该 eNB转发需要发送的数据, 而不 需要将数据路由到核心网进行转发。 上述两种传输方式大大减少了数据传输 的延时, 并且可以节省网络资源, 尤其是节省核心网的网络资源。
目前, 3GPP SA1正在讨论邻近通信的实现问题, 为了实现 UE之间的邻 近通信, 需要解决以下两大问题: 一是 UE之间的邻近关系发现过程, 二是确 定了邻近关系的 UE之间如何实现直接通信。 其中, UE之间的邻近关系发现 过程不仅仅是实现邻近通信的重要前提, 同时还能支持很多的应用场景。 例 如, 商家可以通过检测邻近关系, 向该商家附近的 UE发送打折及促销广告; 又如, 用户可以通过邻近关系发现的功能, 搜索其所在位置附近的餐馆和超 市等信息; 再如, 公交车站可以通过邻近关系发现的功能, 预报公交到站信 息, 等等。
为了支持机器类型通信 ( Machine-Type Communication , MTC ) 触发 ( trigger ) 的特性, 3GPP网络架构中引入了新的架构, 参见图 3所示, 在公 共陆上移动网 (Public Land Mobile Network, PLMN ) 网络中新增了一个实体 机器类型通信交互功能 ( Machine-Type Communication Interworking
Function, MTC-IWF )实体, 用于连接在 3GPP 网络中的各网元以及 MTC服 务器( server ),并向 MTC server屏蔽 3GPP网络的拓朴结构。其中, MTC-IWF 与移动性管理实体 ( Mobilit Management Entity, MME )之间设有接口 T5b, MTC-IWF与归属用户服务器(Home Subscriber Server, HSS )之间设有接口 S6m。
UE在 3GPP网络中使用内部标识( internal ID ), 例如国际移动用户标识 符 ( 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触 发对应的消息。
综上所述, 目前 3GPP只定义了对于邻近关系发现的需求, 还没有针对相 互邻近的用户设备之间进行邻近关系发现的解决方案。 发明内容
本发明实施例提供了一种确定用户设备之间邻近关系的方法、 设备及通 信系统, 用于解决现有技术中存在的目前还没有针对相互邻近的用户设备之 间进行邻近关系发现的解决方案的问题。
本发明实施例提供了一种确定用户设备之间邻近关系的方法, 包括: 应用层设备获取并存储各终端的签约信息、 内部标识与外部标识的映射 关系以及位置信息;
所述应用层设备在接收到第一终端的邻近关系发现请求后, 根据所述第 一终端对应的签约信息, 确定所述第一终端具有能够发现其他终端的功能, 其中, 所述邻近关系发现请求中携带所述第一终端的外部标识;
所述应用层设备判断第二终端与所述第一终端是否满足邻近原则, 并将 判断结果发送给所述第一终端。
本发明实施例提供了一种应用层设备, 包括:
获取模块, 用于获取并存储各终端的签约信息、 内部标识与外部标识的 映射关系以及位置信息;
接收模块, 用于应用层设备在接收到第一终端的邻近关系发现请求后, 根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他终 端的功能, 其中, 所述邻近关系发现请求中携带所述第一终端的外部标识; 判定模块, 用于判断第二终端与所述第一终端是否满足邻近原则; 发送模块, 用于将所述判定模块的判断结果发送给所述第一终端。
本发明实施例提供了一种通信系统, 包括:
应用层设备, 用于获取并存储各终端的签约信息、 内部标识与外部标识 的映射关系以及位置信息; 在接收到第一终端的邻近关系发现请求后, 根据 所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他终端的 功能; 以及判断第二终端与所述第一终端是否满足邻近原则, 并将判断结果 反馈给所述第一终端; 其中, 所述邻近关系发现请求中携带所述第一终端的 外部标识;
第一终端, 用于向所述应用层设备发送邻近关系发现请求, 并接收所述 应用层设备反馈的判断结果。
本发明实施例提供的一种网络设备, 包括:
网络接口, 用于获取终端的签约信息、 内部标识与外部标识的映射关系 以及位置信息; 以及, 接收终端的邻近关系发现请求;
存储器, 用于存储所述网络接口获取到的所述终端的签约信息、 内部标 识与外部标识的映射关系以及位置信息;
处理器, 用于在所述网络接口接收到第一终端的邻近关系发现请求后, 若根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他 终端的功能, 则判断第二终端与所述第一终端是否满足邻近原则, 并将判断 结果通过所述网络接口发送给所述第一终端, 其中, 所述邻近关系发现请求 中携带所述第一终端的外部标识。 部标识的映射关系以及位置信息; 在接收到第一终端的邻近关系发现请求后, 根据所述第一终端对应的邻近关系签约信息, 确定第一终端具有能够发现其 他终端的功能; 并判断第二终端与第一终端是否满足邻近原则, 并将判断结 果发送给第一终端; 本发明实施例提供了一种确定用户设备之间邻近关系的 方案, 实现了用户设备之间邻近关系的发现过程, 并且, 该方案对现有协议 中网络架构的改动较小, 且易于实现。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简要介绍, 显而易见地, 下面描述中的附图仅仅是本发 明的一些实施例, 对于本领域的普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有技术中两个用户设备之间进行通信的数据传输路径示意图; 图 2A为现有协议中定义的两个用户设备之间直接通信的数据传输路径 示意图;
图 2B为现有协议中定义的两个用户设备之间通过 eNB进行通信的数据 传输路径示意图;
图 3为背景技术中 3GPP网络架构示意图;
图 4为本发明实施例确定用户设备之间邻近关系的方法流程示意图; 图 5为本发明实施例网络架构示意图;
图 6为图 5所示的网络架构中各实体之间的交互过程示意图;
图 7为本发明实施例应用层设备结构示意图;
图 8为本发明实施例通信系统结构示意图;
图 9为本发明实施例提供的网络设备的结构示意图。 具体实施方式 外部标识的映射关系以及位置信息; 在接收到第一终端的邻近关系发现请求 后, 根据所述第一终端对应的邻近关系签约信息, 确定第一终端具有能够发 现其他终端的功能; 并判断第二终端与第一终端是否满足邻近原则, 并将判 断结果发送给第一终端, 从而解决了目前没有针对相互邻近的用户设备之间 进行邻近关系发现的解决方案的问题。
下面结合说明书附图对本发明实施例作进一步详细描述。 参见图 4所示, 本发明实施例提供的一种确定用户设备之间邻近关系的 方法, 包括以下步骤:
步骤 41、 应用层设备获取并存储各终端的签约信息、 内部标识与外部标 识的映射关系以及位置信息;
其中, 每个终端的签约信息与该终端的内部标识——对应
步骤 42、 应用层设备在接收到第一终端的邻近关系发现请求后, 根据第 一终端对应的签约信息, 确定第一终端具有能够发现其他终端的功能;
其中, 该邻近关系发现请求中携带第一终端的外部标识;
步骤 43、 应用层设备判断第二终端与该第一终端是否满足邻近原则; 其中, 本发明实施例中的第二终端是指不同于第一终端的终端。
步骤 44、 应用层设备将判断结果发送给第一终端, 以完成邻近关系发现 过程。
其中, 本发明实施例的应用层设备可以为应用服务器等 (server )。
在实施中, 步骤 42中, 应用层设备根据以下步骤确定第一终端对应的签 约信息:
应用层设备根据自身存储的内部标识与外部标识的映射关系, 确定接收 到的邻近关系发现请求中携带的第一终端的外部标识对应的内部标识; 及 应用层设备根据该第一终端的内部标识, 从自身存储的终端的签约信息 中, 确定该内部标识对应的签约信息。
需要说明的是, 对于具有邻近关系发现功能的终端来说, 其签约信息中 还包括该终端的邻近关系签约信息。 终端的邻近关系签约信息为: 该终端允 许发现其他终端且不允许被其他终端发现、 该终端允许被其他终端发现且不 允许发现其他终端、 该终端允许发现其他终端且允许被其他终端发现、 或该 终端不允许被其他终端发现且不允许发现其他终端。 终端的邻近关系签约信 息是针对该终端所有与邻近关系相关的业务而言的, 即该终端激活的任何与 邻近关系相关的业务都应该遵守其签约的邻近关系签约信息。
本发明实施中, 在以下情况下, 可认为某一终端不具有能够发现其他终 端的功能: 该终端不具有邻近关系发现功能; 或者该终端具有邻近关系发现 功能, 但其邻近关系签约信息为该终端允许被其他终端发现且不允许发现其 他终端; 或者该终端具有邻近关系发现功能, 但其邻近关系签约信息为该终 端不允许被其他终端发现且不允许发现其他终端。
在以下情况下, 可以认为某一终端具有能够发现其他终端的功能: 该终 端的邻近关系签约信息为该终端允许发现其他终端且允许被其他终端发现; 或者该终端的邻近关系签约信息为该终端允许发现其他终端且不允许被其他 终端发现。
在实施中, 若第一终端不具有能够发现其他终端的功能, 则应用层设备 在接收到该第一终端发送的邻近关系发现请求后, 不执行邻近关系发现过程, 或通过应用层消息通知所述第一终端不具有能够发现其他终端的功能。
本发明实施例中, 步骤 43中的邻近原则是指第一终端与第二终端之间的 距离满足设定条件。
进一步, 在以下三种情况下, 可以认为第一终端与第二终端之间的距离 满足设定条件:
第一种情况: 第一终端与第二终端之间的距离不大于设定的阔值。 其中, 设定的阔值为经验值, 可根据需要设定。 例如, 第一终端与第二终端之间的 距离不大于 500米等。
第二种情况: 第一终端与第二终端驻留在同一小区; 即: 第一终端与第 二终端当前驻留小区的 ID相同。
第三种情况: 第一终端与第二终端驻留在同一基站; 即: 第一终端与第 二终端当前驻留基站的 ID相同。
由于 3GPP中还定义了一种对邻近关系发现过程的限制场景,即规定邻近 关系的发现过程需要与该 UE的邻近关系签约信息、网络配置以及两个用户设 备在应用层注册关系是否为朋友关系等 (即社交关系) 因素相关。
举例说明: 假设用户八、 用户 B及用户 C使用同一社交网络应用, 且用 户 A、用户 B及用户 C都使用具有邻近业务功能的 UE,该社交网络应用层维 护的上下文中显示如下关系信息: 用户 A和用户 C是朋友, 用户 C和用户 B 是朋友, 用户 A和用户 B不是朋友, 在这种场景下, 需要实现的邻近发现功 能如下:
- 用户 A的 UE可以发现用户 C在邻近位置;
- 用户 C的 UE可以发现用户 A在邻近位置;
- 用户 A的社交网络应用能知道用户 C是否在其邻近位置;
- 用户 C的社交网络应用能知道用户 A是否在其邻近位置;
-用户 B的 UE不能发现用户 A的 UE在其邻近位置;
- 用户 A的社交网络应用不能检测到用户 B是否在其邻近位置;
- 用户 B的社交网络应用不能检测到用户 A是否在其邻近位置。
因此, 邻近关系发现过程要求只有具有朋友关系的 UE之间才能相互发 现, 如果应用层显示该 UE之间不是朋友关系, 则不能相互发现, 即邻近的两 个终端需要满足一定的社交关系, 才能相互发现。
针对上述 3GPP 定义的对邻近关系发现过程的限制场景, 进一步, 步骤 43 中, 应用层设备在判断所述第二终端与所述第一终端是否满足所述邻近原 则时, 还包括: 判断第二终端与第一终端是否满足设定的社交关系。
本发明实施例中, 满足设定的社交关系是指在同一社交网络注册的各终 端之间的身份关系满足设定条件, 其中, 应用层设备可以在自身存储的上下 文中查询在同一社交网络注册的各终端之间的身份关系,如 UE1与 UE2为朋 友关系, UE1与 UE3不是朋友关系等; 又如, UE1与 UE2属于同一群组, UE2与 UE3不属于同一群组; 等等。
设定的社交关系可以为待确定的第二终端与第一终端为朋友关系, 或者 待确定的第二终端与第一终端属于同一设定的群组, 等等; 本发明实施例中, 可根据实际需要设定在同一社交网络注册的各终端的身份关系在进行发现过 程中需要满足的条件。
进一步, 本发明实施例中, 步骤 41中, 应用层设备通过各终端上报的方 式获取该终端的位置信息, 具体的, 应用层设备根据以下步骤获取每个终端 的位置信息:
在终端与接入网建立用于传输应用层业务相关的 PDN连接之后, 应用层 设备与每个终端之间建立应用层连接; 以及, 应用层设备接收每个终端上报 的自身当前的位置信息并存储。 位置信息包括: 终端当前驻留的小区的 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组合。
在实施中, 终端可以通过空口获取自身当前驻留的小区的 ID。
终端可以通过自身包含的 GPS( Global Positioning System,全球定位系统 ) 模块, 获取自身的 GPS位置信息, 如经纬度信息。
以图 5所示的网络架构图为例,该网络架构中,定义中间交互设备与 HSS 之间通过接口 Xy进行交互, 该接口 Xy用以实现签约信息查询过程, 即中间 交互设备向 HSS发送查询请求以及 HSS向中间交互设备反馈各终端的签约信 息及各终端的内部标识与外部标识的映射关系; 定义中间交互设备与应用层 设备之间通过接口 Xz进行交互, 该接口 Xy用以实现应用层设备向中间交互 设备发起签约信息获取请求以及中间交互设备向应用层设备发送各终端的签 约信息及各终端的内部标识与外部标识的映射关系。 需要说明的是, 接口 Xy 及接口 Xz可釆用现有的任意协议栈进行定义, 只要能实现上述功能即可。
该网络架构中, 终端与应用层设备之间的交互过程参见图 6所示; 具体 的, UE1与 UE2与应用层设备之间建立 PDN连接, 并通过应用层交互向应 用层设备上报各自的当前位置信息; 相应的, 应用层设备在接收 UE1及 UE2 上报的位置信息并存储, 并在 UE1及 UE2的位置发生变化时, 及时更新自身 存储的位置信息。
需要说明的是,各终端在附着到网络后,向接入网发起分组数据网(Packet Data Network, PDN )连接建立, 并通过分组数据网关 ( Packet Data Network Gateway, PGW )的 SGi接口与接入网建立 PDN连接, 具体过程请参见 3GPP TS23.401协议:
在建立 PDN连接之后, 各终端分别与应用层设备建立应用层连接; 各终 端向应用层设备上报自身当前的位置信息。 优选的, 各终端实时向应用层设 备上报自身当前的位置信息; 或各终端在自身当前的位置信息发生变化后, 向应用层设备上报自身当前的位置信息, 以使应用层设备及时更新各终端的 位置信息。
进一步, 本发明实施例中, 步骤 41中, 应用层设备根据各终端的外部标 识(如应用层标识)通过中间交互设备从 HSS处获取该终端的签约信息, 具 体的, 应用层设备根据以下步骤获取每个终端的签约信息:
应用层设备向中间交互设备发起签约信息获取请求, 签约信息获取请求 中携带终端的外部标识;
中间交互设备在接收到该签约信息获取请求后, 向 HSS发送查询请求, 以获取终端的签约信息, 查询请求中携带终端的外部标识;
HSS 在接收到该查询请求后, 根据内部标识与外部标识的映射关系, 确 定该查询请求携带的外部标识对应的内部标识, 并将确定的内部标识对应的 签约信息以及该终端的内部标识与外部标识的映射关系发送给中间交互设 备, 其中, 具有邻近关系发现功能的终端的签约信息中至少包括该终端的邻 近关系签约信息; 以及
中间交互设备将 HSS返回的该终端的签约信息以及该终端的内部标识与 外部标识的映射关系发送给应用层设备以存储。
仍以图 5 所示的网络架构为例, 该网络架构中, 中间交互设备与应用层 设备, 以及中间交互设备与 HSS之间的交互过程参见图 6所示。
需要说明的是, HSS 中保存有各终端的签约信息, 对于具有邻近关系发 现功能的终端来说, 其签约信息中还包括该终端的邻近关系签约信息, 由于 终端与应用层设备之间使用外部标识进行交互,而与 3GPP网络侧设备之间使 用内部标识进行交互, 因此, HSS 中还保存有各终端的内部标识与外部标识 的映射关系。 一般的, 终端的内部标识为 IMSI, 终端的外部标识为应用层 ID (如终端的 QQ号、 MSN账号等)。
优选的, 本发明实施例的中间交互设备可以单独部署, 也可以与 MTC-IWF合设, 还可以与 HSS合设。 具体的,若中间交互设备与 MTC-IWF合设, 中间交互设备可以通过接口 Xy及接口 Xz分别与 HSS及应用层设备进行交互; 也可以通过 MTC-IWF的 接口 S6m及接口 Tsp分别与 HSS及应用层设备进行交互,其中,定义接口 S6m 及接口 Tsp具有上述接口 Xy及接口 Xz的功能。
若中间交互设备与 HSS合设,中间交互设备通过接口 Xy及接口 Xz分别 与 HSS及应用层设备进行交互, 其中, 中间交互设备与 HSS之间的交互釆用 内部信令。
进一步, 第一终端发起的邻近关系发现请求包括以下两种:
第一种邻近关系发现请求为: 第一终端请求确定该第一终端与自身指定 的第二终端是否满足邻近原则 (或满足邻近原则及设定的社交关系); 其中, 邻近关系发现请求还携带有第二终端的外部标识。
该应用场景下, 第一终端需要能够获取到自身指定的第二终端的外部标 识, 如第一终端可以通过应用层设备获取第二终端的外部标识, 当然也可以 釆用其他方式获取到第二终端的外部标识。
第二种邻近关系发现请求为:第一终端请求确定与自身满足邻近原则 (或 邻近原则及设定的社交关系) 的所有第二终端。
下面针对上述 3GPP定义的对邻近关系发现过程的限制场景,在第一终端 发起邻近关系发现请求后, 步骤 43中, 应用层设备进行的邻近关系判断过程 进行说明。
针对第一种邻近关系发现请求, 步骤 43中, 进一步包括:
应用层设备根据第二终端的签约信息, 确定第二终端是否具有能够被其 他终端发现的功能;
应用层设备在确定第二终端具有能够被其他终端发现的功能, 且与第一 终端满足设定的社交关系及邻近原则时, 确定第二终端与第一终端邻近; 以 及
应用层设备在确定第二终端不具有能够被其他终端发现的功能, 或与第 一终端不满足设定的社交关系, 或与第一终端不满足邻近原则时, 确定第二 终端与第一终端不邻近。
相应的, 步骤 44中, 应用层设备将判断结果发送给第一终端, 包括: 若步骤 43中判断结果为第二终端与第一终端邻近, 则应用层设备向第一 终端返回邻近响应消息;
若步骤 43中判断结果为第二终端与第一终端不邻近, 则应用层设备向第 一终端返回不邻近响应消息。
优选的, 步骤 44中, 还包括:
应用层设备将判断结果发送给第二终端。
进一步, 若步骤 43中判断结果为第二终端与第一终端邻近, 则应用层设 备向第二终端返回与第一终端邻近响应消息, 其中, 返回的消息中携带第一 终端的外部标识;
若步骤 43中判断结果为第二终端与第一终端不邻近, 则应用层设备向第 二终端返回与第一终端不邻近响应消息, 其中, 返回的消息中携带第一终端 的外部标识。
进一步, 应用层设备根据以下步骤确定第二终端是否具有能够被其他终 端发现的功能:
应用层设备根据自身存储的内部标识与外部标识的映射关系, 确定接收 到的邻近关系发现请求中携带的第二终端的外部标识对应的内部标识, 从自 身存储的签约信息中, 获取第二终端的签约信息; 以及
应用层设备根据第二终端的签约信息, 判断第二终端是否具有能够被其 他终端发现的功能, 具体的:
若该签约信息包含的邻近关系签约信息为该终端允许被其他终端发现且 不允许发现其他终端, 或该终端允许发现其他终端且允许被其他终端发现, 则确定第二终端具有允许被其他终端发现的功能。
若该签约信息中不包含邻近关系签约信息 (即该终端不具有邻近关系发 现功能), 或者该终端的邻近关系签约信息为该终端允许发现其他终端且不允 许被其他终端发现, 或者该终端的邻近关系签约信息为该终端不允许被其他 终端发现且不允许发现其他终端, 则确定第二终端不具有允许被其他终端发 现的功能。
本发明实施例中, 应用层设备在判断第一终端与第二终端是否满足设定 的社交关系及邻近原则时, 不对判断顺序进行限定; 即:
应用层设备可以先判断第一终端与第二终端是否满足设定的社交关系; 若不满足设定的社交关系, 则确定第二终端与第一终端不邻近; 若满足设定 的社交关系, 则继续判断第一终端与第二终端是否满足邻近原则; 若满足邻 近原则, 则确定第二终端与第一终端不邻近; 若不满足邻近原则, 则确定第 二终端与第一终端不邻近;
应用层设备也可以先判断第一终端与第二终端是否满足邻近原则, 若不 满足邻近原则, 则确定第二终端与第一终端不邻近; 若满足邻近原则, 则继 续判断第一终端与第二终端是否满足设定的社交关系; 若满足设定的社交关 系, 则确定第二终端与第一终端邻近; 若不满足设定的社交关系, 则确定第 二终端与第一终端不邻近。
本实施例中, 只有在确定第一终端具有允许发现其他终端的功能 (即第 一终端的邻近关系签约信息为: 允许发现其他终端且不允许被其他终端发现, 或允许发现其他终端且允许被其他终端发现 ), 且第二终端具允许被其他终端 发现的功能 (即第二终端的邻近关系签约信息为: 允许被其他终端发现且不 允许发现其他终端, 或允许发现其他终端且允许被其他终端发现) 时, 应用 层设备才会执行邻近关系发现过程, 即判断第一终端与第二终端是否满足邻 近原则及设定的社交关系。
针对第二种邻近关系发现请求, 步骤 43中, 进一步包括:
应用层设备确定与第一终端满足邻近原则的所有第二终端; 以及 应用层设备确定具有能够被其他终端发现的功能且与第一终端满足设定 的社交关系的所有第二终端。
本实施例中, 应用层设备确定与第一终端满足邻近原则的所有第二终端 之后, 不限定判断第二终端是否具有能够被其他终端发现的功能及判断第二 终端与第一终端是否满足设定的社交关系的顺序;
针对每个确定的第二终端, 应用层设备可以先根据该第二终端的签约信 息, 判断其是否具有能够被其他终端发现的功能, 若不具有, 则确定该第二 终端与第一终端不邻近; 若具有, 判断其与第一终端是否满足设定的社交关 系, 若满足, 则确定该第二终端与第一终端邻近; 若不满足, 则确定该第二 终端与第一终端不邻近;
针对每个确定的第二终端, 应用层设备还可以先判断其与第一终端是否 满足设定的社交关系, 若不满足, 则确定该第二终端与第一终端不邻近; 若 满足, 则判断该第二终端是否具有能够被其他终端发现的功能, 若具有, 则 确定该第二终端与第一终端邻近; 若不具有, 则确定该第二终端与第一终端 不邻近。
相应的, 步骤 44中, 应用层设备将判断结果发送给第一终端, 包括: 若步骤 43中判断结果为存在具有能够被其他终端发现的功能且与第一终 端满足邻近原则及设定的社交关系的第二终端, 则应用层设备向第一终端返 回成功响应消息, 并将确定的所有第二终端的外部标识和 /或位置信息反馈给 第一终端;
若步骤 43中判断结果为没有满足上述条件的第二终端, 则应用层设备向 第一终端返回失败响应消息。
优选的, 步骤 44中, 还包括: 应用层设备将判断结果发送给第二终端; 具体的,若步骤 43中判断结果为某个第二终端与第一终端满足上述条件, 则应用层设备向该第二终端返回与第一终端邻近响应消息, 其中, 返回的消 息中携带第一终端的外部标识。
优选的, 应用层设备通过应用层消息将步骤 43中的判断结果发送给第一 终端和 /或第二终端。
上述方法处理流程可以用软件程序实现, 该软件程序可以存储在存储介 质中, 当存储的软件程序被调用时, 执行上述方法步骤。
基于上述实施例, 本发明实施例还提供了一种应用层设备, 参见图 7 所 示, 该应用层设备包括:
获取模块 70, 用于获取并存储各终端的签约信息、 内部标识与外部标识 的映射关系以及位置信息;
接收模块 71 ,用于应用层设备在接收到第一终端的邻近关系发现请求后, 根据获取模块 70中存储的第一终端对应的签约信息, 确定该第一终端具有能 够发现其他终端的功能, 其中, 邻近关系发现请求中携带该第一终端的外部 标识;
判定模块 72, 用于判断第二终端与第一终端是否满足邻近原则; 发送模块 73 , 用于将判定模块 72的判断结果发送给第一终端。
本发明实施例中, 第二终端是指不同于第一终端的终端。
本发明实施例中, 邻近原则是指第一终端与第二终端之间的距离满足设 定条件。
进一步, 第一终端与第二终端之间的距离满足设定条件包括: 第一终端 与第二终端之间的距离不大于设定的阔值, 或第一终端与第二终端驻留在同 一小区, 或第一终端与第二终端驻留在同一基站。
进一步, 判定模块 72还用于: 在判断第二终端与第一终端是否满足邻近 原则时, 还判断第二终端与第一终端是否满足设定的社交关系。
本发明实施例中, 设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件, 其中, 应用层设备可以在自身存储的上下文中 查询在同一社交网络注册的各终端之间的身份关系,如 UE1与 UE2为朋友关 系, UE1与 UE3不是朋友关系等; 又如, UE1与 UE2属于同一群组, UE2 与 UE3不属于同一群组; 等等;
设定的社交关系可以为待确定的第二终端与第一终端为朋友关系, 或者 待确定的第二终端与第一终端属于同一设定的群组, 等等; 本发明实施例中, 可根据实际需要设定在同一社交网络注册的各终端的身份关系在进行发现过 程中需要满足的条件。
进一步, 获取模块 70具体用于: 与每个终端之间建立分组数据网 PDN连接; 以及接收每个终端上报的自 身当前的位置信息并存储, 其中, 位置信息包括: 终端当前驻留的小区的标 识 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组合。
进一步, 获取模块 70具体用于:
向中间交互设备发起签约信息获取请求, 以及接收中间交互设备返回的 终端的签约信息以及该终端的内部标识与外部标识的映射关系并存储, 其中, 签约信息获取请求中携带终端的外部标识。
进一步, 若邻近关系发现请求为: 第一终端请求确定该第一终端与自身 指定的第二终端是否满足邻近原则及设定的社交关系, 且邻近关系发现请求 还携带有第二终端的外部标识; 则判定模块 72具体用于:
根据第二终端的邻近关系签约信息, 确定第二终端是否具有能够被其他 终端发现的功能; 在确定第二终端具有能够被其他终端发现的功能, 且与第 一终端满足设定的社交关系及邻近原则时, 确定第二终端与第一终端邻近; 及在确定第二终端不具有能够被其他终端发现的功能, 或与第一终端不满足 设定的社交关系, 或与第一终端不满足邻近原则时, 确定第二终端与第一终 端不邻近。
进一步, 若邻近关系发现请求为: 第一终端请求确定与自身满足邻近原 则及设定的社交关系的所有第二终端; 则判定模块 72具体用于:
确定与第一终端满足邻近原则的所有第二终端; 以及确定具有能够被其 他终端发现的功能且与第一终端满足设定的社交关系的所有第二终端。
相应的, 发送模块 73还用于:
将确定的具有能够被其他终端发现的功能且与第一终端满足设定的社交 关系的所有第二终端的外部标识和 /或位置信息反馈给第一终端。
进一步, 接收模块 71具体用于:
根据获取模块 70存储的内部标识与外部标识的映射关系, 确定接收到的 邻近关系发现请求中携带的第一终端的外部标识对应的内部标识; 根据第一 终端的内部标识, 从获取模块 70中存储的终端的签约信息中, 确定该内部标 识对应的签约信息;
相应的, 判定模块 72还用于: 根据获取模块 70中存储的内部标识与外 部标识的映射关系, 确定接收模块 71接收到的邻近关系发现请求中携带的第 二终端的外部标识对应的内部标识; 居第二终端的内部标识, 从获取模块 70存储的终端的签约信息中, 确定该内部标识对应的签约信息, 并判断第二 终端是否具有能够被其他终端发现的功能。
进一步, 发送模块 73还用于: 将判断结果发送给第二终端。
基于上述实施例, 本发明实施例还提供了一种通信系统, 参见图 8所示, 该通信系统包括:
应用层设备 81 , 用于获取并存储各终端的签约信息、 内部标识与外部标 识的映射关系以及位置信息; 在接收到第一终端 82的邻近关系发现请求后, 根据第一终端 82对应的邻近关系签约信息, 确定第一终端 82具有能够发现 其他终端的功能; 以及判断第二终端与第一终端 82是否满足设定的社交关系 及邻近原则, 并将判断结果反馈给第一终端 82; 其中, 邻近关系发现请求中 携带第一终端 82的外部标识;
第一终端 82 , 用于向应用层设备发送邻近关系发现请求, 并接收应用层 设备反馈的判断结果。
本发明实施例中, 第二终端是指不同于第一终端的终端。
本发明实施例中, 邻近原则是指第一终端与第二终端之间的距离满足设 定条件。
进一步, 第一终端与第二终端之间的距离满足设定条件包括: 第一终端 与第二终端之间的距离不大于设定的阔值, 或第一终端与第二终端驻留在同 一小区, 或第一终端与第二终端驻留在同一基站。
进一步, 应用层设备 81还用于: 在判断第二终端与第一终端是否满足邻 近原则时, 还判断第二终端与第一终端是否满足设定的社交关系。
本发明实施例中, 设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件, 其中, 应用层设备可以在自身存储的上下文中 查询在同一社交网络注册的各终端之间的身份关系,如 UE1与 UE2为朋友关 系, UE1与 UE3不是朋友关系等; 又如, UE1与 UE2属于同一群组, UE2 与 UE3不属于同一群组; 等等;
设定的社交关系可以为待确定的第二终端与第一终端为朋友关系, 或者 待确定的第二终端与第一终端属于同一设定的群组, 等等; 本发明实施例中, 可根据实际需要设定在同一社交网络注册的各终端的身份关系在进行发现过 程中需要满足的条件。
进一步, 通信系统还包括: 中间交互设备 83及 HSS84; 其中,
中间交互设备 83 ,用于在接收到应用层设备 81发送的签约信息获取请求 后,向 HSS84发送查询请求,该查询请求中携带终端的外部标识;并将 HSS84 反馈的签约信息以及终端的内部标识与外部标识的映射关系发送给应用层设 备 81 ;
HSS84用于在接收到查询请求后, 根据内部标识与外部标识的映射关系 , 确定查询请求携带的终端的外部标识对应的内部标识, 并将确定的内部标识 对应的签约信息以及该终端的内部标识与外部标识的映射关系发送给中间交 互设备 83。
本发明实施例应用层设备接收到第一终端的邻近关系发现请求后, 根据 所述第一终端对应的邻近关系签约信息, 确定第一终端具有能够发现其他终 端的功能; 并判断第二终端与第一终端是否满足邻近原则, 并将判断结果发 送给第一终端; 本发明实施例提供了一种确定用户设备之间邻近关系的方案, 该方案对现有协议中网络架构的改动较小, 且易于实现。
基于相同的技术构思, 本发明实施例还提供了一种网络设备。 该网络设 备可如图 9所示。
参见图 9, 为本发明实施例提供的网络设备的结构示意图, 该网络设备可 包括: 网络接口 91、 处理器 92和存储器 93 , 其中:
网络接口 91 , 用于获取终端的签约信息、 内部标识与外部标识的映射关 系以及位置信息; 以及, 接收终端的邻近关系发现请求; 存储器 92, 用于存储网络接口 91获取到的所述终端的签约信息、 内部标 识与外部标识的映射关系以及位置信息;
处理器 93 , 用于在网络接口 91接收到第一终端的邻近关系发现请求后, 若根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他 终端的功能, 则判断第二终端与所述第一终端是否满足邻近原则, 并将判断 结果通过所述网络接口发送给所述第一终端, 其中, 所述邻近关系发现请求 中携带所述第一终端的外部标识。
进一步的, 处理器 92还可在判断所述第二终端与所述第一终端是否满足 所述邻近原则时, 还判断所述第二终端与所述第一终端是否满足设定的社交 关系; 其中, 所述满足设定的社交关系是指在同一社交网络注册的各终端之 间的身份关系满足设定条件。
具体的, 网络接口 91可在终端与网络建立用于传输应用层业务相关的分 组数据网 PDN连接之后, 与各终端之间建立应用层连接; 以及, 接收各终端 上报的自身当前的位置信息并存储; 其中, 所述位置信息包括: 终端当前驻 留的小区的标识 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一 种或组合。
其中, 所述满足邻近原则是指所述第一终端与所述第二终端之间的距离 满足设定条件。 进一步的, 所述第一终端与所述第二终端之间的距离满足设 定条件包括: 所述第一终端与所述第二终端之间的距离不大于设定的阔值, 或所述第一终端与所述第二终端驻留在同一小区, 或所述第一终端与所述第 二终端驻留在同一基站。
所述邻近关系发现请求为: 所述第一终端请求确定该第一终端与自身指 定的第二终端是否满足所述邻近原则以及是否满足设定的社交关系, 所述邻 近关系发现请求还携带有该第二终端的外部标识。 相应的, 处理器 92可根据 所述第二终端的签约信息, 确定所述第二终端是否具有能够被其他终端发现 的功能; 若所述应用层设备在确定所述第二终端具有能够被其他终端发现的 功能, 且与所述第一终端满足所述社交关系以及及所述邻近原则, 则确定所 述第二终端与所述第一终端邻近; 若所述应用层设备在确定所述第二终端不 具有能够被其他终端发现的功能, 或与所述第一终端不满足所述社交关系, 或与所述第一终端不满足所述邻近原则, 则确定所述第二终端与所述第一终 端不邻近。
所述邻近关系发现请求为: 所述第一终端请求确定与自身满足所述邻近 原则以及所述社交关系的所有第二终端。 相应的, 处理器 92可确定与所述第 一终端满足所述邻近原则的所有第二终端; 以及, 确定具有能够被其他终端 发现的功能且与所述第一终端满足所述社交关系的所有第二终端。
具体的, 网络接口 91可将确定的具有能够被其他终端发现的功能且与所 述第一终端满足所述社交关系的所有第二终端的外部标识和 /或位置信息反馈 给所述第一终端。
具体的, 网络接口 91可将所述判断结果发送给所述第二终端。 优选的, 网络接口 91 可通过应用层消息将所述判断结果发送给所述第一终端和 /或所 述第二终端。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种确定用户设备之间邻近关系的方法, 其特征在于, 该方法包 括:
应用层设备获取并存储终端的签约信息、 内部标识与外部标识的映射关 系以及位置信息;
所述应用层设备在接收到第一终端的邻近关系发现请求后, 若根据所述 第一终端对应的签约信息, 确定所述第一终端具有能够发现其他终端的功能, 则所述应用层设备判断第二终端与所述第一终端是否满足邻近原则, 并将判 断结果发送给所述第一终端, 其中, 所述邻近关系发现请求中携带所述第一 终端的外部标识。
2、 如权利要求 1所述的方法, 其特征在于, 所述应用层设备在判断所述 第二终端与所述第一终端是否满足所述邻近原则时, 还判断所述第二终端与 所述第一终端是否满足设定的社交关系; 其中, 所述满足设定的社交关系是 指在同一社交网络注册的各终端之间的身份关系满足设定条件。
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述应用层设备根据以 下步骤获取各终端的位置信息:
在终端与网络建立用于传输应用层业务相关的分组数据网 PDN连接之 后, 所述应用层设备与各终端之间建立应用层连接; 以及
所述应用层设备接收各终端上报的自身当前的位置信息并存储; 其中, 所述位置信息包括: 终端当前驻留的小区的标识 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组合。
4、 如权利要求 1或 2所述的方法, 其特征在于, 所述应用层设备获取终 端的签约信息, 包括:
所述应用层设备向中间交互设备发起签约信息获取请求, 所述签约信息 获取请求中携带终端的外部标识;
所述中间交互设备在接收到所述签约信息获取请求后, 向归属用户服务 器 HSS发送查询请求, 以获取终端的签约信息, 所述查询请求中携带终端的 外部标识;
所述 HSS在接收到所述查询请求后, 根据内部标识与外部标识的映射关 系, 确定所述查询请求携带的终端的外部标识对应的内部标识, 并将确定的 内部标识对应的签约信息以及该终端的内部标识与外部标识的映射关系发送 给所述中间交互设备, 其中, 具有邻近关系发现功能的终端的签约信息中至 少包括该终端的邻近关系签约信息;
所述中间交互设备将所述 HSS返回的该终端的签约信息以及该终端的内 部标识与外部标识的映射关系发送给所述应用层设备。
5、 如权利要求 4所述的方法, 其特征在于, 所述中间交互设备与机器类 型通信交互功能 MTC-IWF实体合设; 或所述中间交互设备与所述 HSS合设。
6、 如权利要求 1或 2所述的方法, 其特征在于, 所述满足邻近原则是指 所述第一终端与所述第二终端之间的距离满足设定条件。
7、 如权利要求 6所述的方法, 其特征在于, 所述第一终端与所述第二终 端之间的距离满足设定条件包括: 所述第一终端与所述第二终端之间的距离 不大于设定的阔值, 或所述第一终端与所述第二终端驻留在同一小区, 或所 述第一终端与所述第二终端驻留在同一基站。
8、 如权利要求 2所述的方法, 其特征在于, 所述邻近关系发现请求为: 所述第一终端请求确定该第一终端与自身指定的第二终端是否满足所述邻近 原则以及是否满足设定的社交关系, 所述邻近关系发现请求还携带有该第二 终端的外部标识;
所述应用层设备判断所述第二终端与所述第一终端是否满足设定的社交 关系以及所述邻近原则, 包括:
所述应用层设备根据所述第二终端的签约信息, 确定所述第二终端是否 具有能够被其他终端发现的功能;
若所述应用层设备在确定所述第二终端具有能够被其他终端发现的功 能, 且与所述第一终端满足所述社交关系以及及所述邻近原则, 则确定所述 第二终端与所述第一终端邻近;
若所述应用层设备在确定所述第二终端不具有能够被其他终端发现的功 能, 或与所述第一终端不满足所述社交关系, 或与所述第一终端不满足所述 邻近原则, 则确定所述第二终端与所述第一终端不邻近。
9、 如权利要求 2所述的方法, 其特征在于, 所述邻近关系发现请求为: 所述第一终端请求确定与自身满足所述邻近原则以及所述社交关系的所有第 二终端;
所述应用层设备判断所述第二终端与所述第一终端是否满足设定的社交 关系及所述邻近原则, 包括:
所述应用层设备确定与所述第一终端满足所述邻近原则的所有第二终 端; 以及
所述应用层设备确定具有能够被其他终端发现的功能且与所述第一终端 满足所述社交关系的所有第二终端。
10、 如权利要求 9 所述的方法, 其特征在于, 所述应用层设备将判断结 果发送给所述第一终端, 包括:
所述应用层设备将确定的具有能够被其他终端发现的功能且与所述第一 终端满足所述社交关系的所有第二终端的外部标识和 /或位置信息反馈给所述 第一终端。
11、 如权利要求 1或 2所述的方法, 其特征在于, 还包括: 所述应用层 设备将所述判断结果发送给所述第二终端。
12、 如权利要求 11所述的方法, 其特征在于, 所述应用层设备通过应用 层消息将所述判断结果发送给所述第一终端和 /或所述第二终端。
13、 一种应用层设备, 其特征在于, 所述应用层设备包括:
获取模块, 用于获取并存储各终端的签约信息、 内部标识与外部标识的 映射关系以及位置信息;
接收模块, 用于应用层设备在接收到第一终端的邻近关系发现请求后, 根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他终 端的功能, 其中, 所述邻近关系发现请求中携带所述第一终端的外部标识; 判定模块, 用于判断第二终端与所述第一终端是否满足邻近原则; 发送模块, 用于将所述判定模块的判断结果发送给所述第一终端。
14、 如权利要求 13所述的设备, 其特征在于, 所述判定模块还用于: 在判断所述第二终端与所述第一终端是否满足所述邻近原则时, 还判断 所述第二终端与所述第一终端是否满足设定的社交关系;
其中, 所述设定的社交关系是指在同一社交网络注册的各终端之间的身 份关系满足设定条件。
15、 如权利要求 13或 14所述的设备, 其特征在于, 所述获取模块具体 用于:
与每个终端之间建立分组数据网 PDN连接; 并接收每个终端上报的自身 当前的位置信息并存储, 所述位置信息包括: 终端当前驻留的小区的标识 ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组合。
16、 如权利要求 13或 14所述的设备, 其特征在于, 所述获取模块具体 用于:
向中间交互设备发起签约信息获取请求, 以及接收所述中间交互设备返 回的终端的签约信息以及该终端的内部标识与外部标识的映射关系并存储, 其中, 所述签约信息获取请求中携带终端的外部标识。
17、 如权利要求 14所述的设备, 其特征在于, 所述判定模块具体用于: 若所述邻近关系发现请求为: 所述第一终端请求确定该第一终端与自身 指定的第二终端是否满足所述邻近原则及所述社交关系, 且所述邻近关系发 现请求还携带有所述第二终端的外部标识;
根据所述获取模块存储的第二终端的签约信息, 确定所述第二终端是否 具有能够被其他终端发现的功能; 在确定所述第二终端具有能够被其他终端 发现的功能, 且与所述第一终端满足所述社交关系及所述邻近原则时, 确定 所述第二终端与所述第一终端邻近; 及在确定所述第二终端不具有能够被其 他终端发现的功能, 或与所述第一终端不满足所述社交关系, 或与所述第一 终端不满足所述邻近原则时, 确定所述第二终端与所述第一终端不邻近。
18、 如权利要求 14所述的设备, 其特征在于, 所述判定模块具体用于: 若所述邻近关系发现请求为: 所述第一终端请求确定与自身满足所述邻 近原则及所述社交关系的所有第二终端;
确定与所述第一终端满足所述邻近原则的所有第二终端; 以及确定具有 能够被其他终端发现的功能且与所述第一终端满足所述社交关系的所有第二 终端。
19、 如权利要求 17所述的设备, 其特征在于, 所述发送模块还用于: 将确定的具有能够被其他终端发现的功能且与所述第一终端满足所述社 交关系的所有第二终端的外部标识和 /或位置信息反馈给所述第一终端。
20、 如权利要求 13或 14所述的设备, 其特征在于, 所述发送模块还用 于: 将所述判断结果发送给所述第二终端。
21、 一种通信系统, 其特征在于, 该通信系统包括:
应用层设备, 用于获取并存储各终端的签约信息、 内部标识与外部标识 的映射关系以及位置信息; 在接收到第一终端的邻近关系发现请求后, 根据 所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他终端的 功能; 以及判断第二终端与所述第一终端是否满足邻近原则, 并将判断结果 反馈给所述第一终端;
第一终端, 用于向所述应用层设备发送邻近关系发现请求, 并接收所述 应用层设备反馈的判断结果。
22、 如权利要求 21所述的通信系统, 其特征在于, 所述应用层设备还用 于:
在判断所述第二终端与所述第一终端是否满足所述邻近原则时, 还判断 所述第二终端与所述第一终端是否满足设定的社交关系;
其中, 所述设定的社交关系是指在同一社交网络注册的各终端之间的身 份关系满足设定条件。
23、 如权利要求 21或 22所述的通信系统, 其特征在于, 所述通信系统 还包括: 中间交互设备及 HSS; 其中,
所述中间交互设备, 用于在接收到所述应用层设备发送的签约信息获取 请求后, 向所述 HSS发送查询请求, 所述查询请求中携带终端的外部标识; 并将所述 HSS的反馈的发送给所述应用层设备;
所述 HSS, 用于在接收到所述查询请求后, 根据内部标识与外部标识的 映射关系, 确定所述查询请求携带的终端的外部标识对应的内部标识, 并将 确定的内部标识对应的签约信息以及该终端的内部标识与外部标识的映射关 系发送给所述中间交互设备。
24、 如权利要求 21所述的通信系统, 其特征在于, 所述中间交互设备与 机器类型通信交互功能 MTC-IWF实体合设; 或所述中间交互设备与所述 HSS 合设。
25、 一种网络设备, 其特征在于, 包括:
网络接口, 用于获取终端的签约信息、 内部标识与外部标识的映射关系 以及位置信息; 以及, 接收终端的邻近关系发现请求;
存储器, 用于存储所述网络接口获取到的所述终端的签约信息、 内部标 识与外部标识的映射关系以及位置信息;
处理器, 用于在所述网络接口接收到第一终端的邻近关系发现请求后, 若根据所述第一终端对应的签约信息, 确定所述第一终端具有能够发现其他 终端的功能, 则判断第二终端与所述第一终端是否满足邻近原则, 并将判断 结果通过所述网络接口发送给所述第一终端, 其中, 所述邻近关系发现请求 中携带所述第一终端的外部标识。
26、 如权利要求 25所述的网络设备, 其特征在于, 所述处理器还用于, 在判断所述第二终端与所述第一终端是否满足所述邻近原则时, 还判断所述 第二终端与所述第一终端是否满足设定的社交关系; 其中, 所述满足设定的 社交关系是指在同一社交网络注册的各终端之间的身份关系满足设定条件。
27、 如权利要求 25或 26所述的网络设备, 其特征在于, 所述网络接口 具体用于, 在终端与网络建立用于传输应用层业务相关的分组数据网 PDN连 接之后, 与各终端之间建立应用层连接; 以及, 接收各终端上报的自身当前 的位置信息并存储; 其中, 所述位置信息包括: 终端当前驻留的小区的标识
ID、 终端当前驻留的基站的 ID、 终端的地理位置信息中的一种或组合。
28、 如权利要求 25或 26所述的网络设备, 其特征在于, 所述满足邻近 原则是指所述第一终端与所述第二终端之间的距离满足设定条件。
29、 如权利要求 28所述的网络设备, 其特征在于, 所述第一终端与所述 第二终端之间的距离满足设定条件包括: 所述第一终端与所述第二终端之间 的距离不大于设定的阔值, 或所述第一终端与所述第二终端驻留在同一小区, 或所述第一终端与所述第二终端驻留在同一基站。
30、 如权利要求 26所述的网络设备, 其特征在于, 所述邻近关系发现请 求为: 所述第一终端请求确定该第一终端与自身指定的第二终端是否满足所 述邻近原则以及是否满足设定的社交关系, 所述邻近关系发现请求还携带有 该第二终端的外部标识;
所述处理器具体用于, 根据所述第二终端的签约信息, 确定所述第二终 端是否具有能够被其他终端发现的功能; 若所述应用层设备在确定所述第二 终端具有能够被其他终端发现的功能, 且与所述第一终端满足所述社交关系 以及及所述邻近原则, 则确定所述第二终端与所述第一终端邻近; 若所述应 用层设备在确定所述第二终端不具有能够被其他终端发现的功能, 或与所述 第一终端不满足所述社交关系, 或与所述第一终端不满足所述邻近原则, 则 确定所述第二终端与所述第一终端不邻近。
31、 如权利要求 26所述的网络设备, 其特征在于, 所述邻近关系发现请 求为: 所述第一终端请求确定与自身满足所述邻近原则以及所述社交关系的 所有第二终端;
所述处理器具体用于, 确定与所述第一终端满足所述邻近原则的所有第 二终端; 以及, 确定具有能够被其他终端发现的功能且与所述第一终端满足 所述社交关系的所有第二终端。
32、 如权利要求 31所述的网络设备, 其特征在于, 所述网络接口具体用 于, 将确定的具有能够被其他终端发现的功能且与所述第一终端满足所述社 交关系的所有第二终端的外部标识和 /或位置信息反馈给所述第一终端。
33、 如权利要求 25或 26所述的网络设备, 其特征在于, 所述网络接口 还用于, 将所述判断结果发送给所述第二终端。
34、 如权利要求 33所述的网络设备, 其特征在于, 所述网络接口具体用 于,通过应用层消息将所述判断结果发送给所述第一终端和 /或所述第二终端。
PCT/CN2013/086364 2012-11-26 2013-10-31 一种确定用户设备之间邻近关系的方法、设备及通信系统 WO2014079312A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210488981.X 2012-11-26
CN201210488981.XA CN103841543B (zh) 2012-11-26 2012-11-26 一种确定用户设备之间邻近关系的方法、设备及通信系统

Publications (1)

Publication Number Publication Date
WO2014079312A1 true WO2014079312A1 (zh) 2014-05-30

Family

ID=50775518

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086364 WO2014079312A1 (zh) 2012-11-26 2013-10-31 一种确定用户设备之间邻近关系的方法、设备及通信系统

Country Status (2)

Country Link
CN (1) CN103841543B (zh)
WO (1) WO2014079312A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586675A (zh) * 2019-02-15 2020-08-25 华为技术有限公司 一种终端装置识别方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038899B (zh) * 2014-06-11 2019-02-22 北京智谷睿拓技术服务有限公司 邻近关系确定方法及装置
CN105516956B (zh) * 2014-09-25 2019-01-25 电信科学技术研究院 一种进行设备发现的方法和设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141151A (zh) * 2006-09-08 2008-03-12 三星电子株式会社 用于使用短距离无线通信的移动终端的成员通知方法
CN101809947A (zh) * 2007-07-30 2010-08-18 高通股份有限公司 对设备进行配对的方法
CN102546775A (zh) * 2011-12-27 2012-07-04 中兴通讯股份有限公司 一种cdn中的节点及其自组网方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2603720C (en) * 2004-11-05 2016-05-17 Kabushiki Kaisha Toshiba Network discovery mechanisms
US20070037574A1 (en) * 2005-08-09 2007-02-15 Jonathan Libov Method and apparatus of a location-based network service for mutual social notification
US8279851B2 (en) * 2008-08-15 2012-10-02 Nokia Corporation Apparatus, system, and method for obtaining local connectivity settings
US8406691B2 (en) * 2008-12-17 2013-03-26 Telefonaktiebolaget L M Ericsson (Publ) Method and system for providing wireless communication between user equipments
CA2771457C (en) * 2009-08-21 2016-04-19 Research In Motion Limited System and method for mobile network inter-device communications
CN102695121A (zh) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 向社交网络中的用户推送好友信息的方法和系统
CN102547572A (zh) * 2012-03-01 2012-07-04 华为技术有限公司 确定用户的位置的方法和装置及通信系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141151A (zh) * 2006-09-08 2008-03-12 三星电子株式会社 用于使用短距离无线通信的移动终端的成员通知方法
CN101809947A (zh) * 2007-07-30 2010-08-18 高通股份有限公司 对设备进行配对的方法
CN102546775A (zh) * 2011-12-27 2012-07-04 中兴通讯股份有限公司 一种cdn中的节点及其自组网方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586675A (zh) * 2019-02-15 2020-08-25 华为技术有限公司 一种终端装置识别方法及装置
US11930487B2 (en) 2019-02-15 2024-03-12 Huawei Technologies Co., Ltd. Terminal apparatus identification method and apparatus

Also Published As

Publication number Publication date
CN103841543A (zh) 2014-06-04
CN103841543B (zh) 2017-06-23

Similar Documents

Publication Publication Date Title
CN109997334B (zh) 具有用于3gpp网络中物联网应用的间接连接的中继和收费的会话管理
US11589208B2 (en) Method for transmitting data in CIoT system and device therefor
TWI602468B (zh) Terminal through the relay node to determine the use of methods and devices
KR101549029B1 (ko) 근접 서비스 제공을 위한 단말-개시 제어 방법 및 장치
KR102165255B1 (ko) non-3gpp를 통해 5G네트워크에 접속하는 단말에 대한 registration 관리 방안
WO2015090057A1 (zh) 路由信息发送、接收的方法、装置及路由信息处理系统
WO2016145735A1 (zh) 基于终端直连通信的数据共享方法、装置和终端
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
TWI516160B (zh) An implementation method and device for an adjacent communication service
WO2012111255A1 (ja) ページング方法、ページングシステム、通信デバイス及び通信相手ノード
US9681257B2 (en) Data downlink transmission method and device
WO2012095021A1 (zh) 本地ip接入连接建立方法、系统和设备
JPWO2013001731A1 (ja) 通信システム、ユーザ端末並びに通信装置
CN103856927A (zh) 一种确定用户设备之间邻近关系的方法、设备及通信系统
WO2014139114A1 (zh) 一种设备发现方法、用户设备、服务器及系统
US20200322789A1 (en) Method and device for establishing a peer-to-peer connection in a mobile communication network
WO2016177106A1 (zh) 专用核心网的选择方法和装置
WO2015018232A1 (zh) 设备到设备连接管理方法、装置及基站
WO2017181353A1 (zh) 专用核心网迁移处理方法、设备和系统
Doumiati et al. A framework for LTE-A proximity-based device-to-device service registration and discovery
WO2014005551A1 (zh) 用于接近感知的ue配置方法、网络侧设备及系统
US10172044B2 (en) Method and device for data communication over a peer-to-peer connection in a mobile communication network
WO2014079312A1 (zh) 一种确定用户设备之间邻近关系的方法、设备及通信系统
WO2014079313A1 (zh) 一种确定用户设备之间邻近关系的方法、设备及通信系统
WO2014178561A1 (ko) 근접 서비스 제공을 위한 근접 서비스 탐색 방법 및 장치

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: 13856673

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: 13856673

Country of ref document: EP

Kind code of ref document: A1