WO2015085591A1 - 近距离发现方法和装置 - Google Patents

近距离发现方法和装置 Download PDF

Info

Publication number
WO2015085591A1
WO2015085591A1 PCT/CN2013/089415 CN2013089415W WO2015085591A1 WO 2015085591 A1 WO2015085591 A1 WO 2015085591A1 CN 2013089415 W CN2013089415 W CN 2013089415W WO 2015085591 A1 WO2015085591 A1 WO 2015085591A1
Authority
WO
WIPO (PCT)
Prior art keywords
short
message
service server
discovery
range service
Prior art date
Application number
PCT/CN2013/089415
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 华为技术有限公司
Priority to CN201380003794.0A priority Critical patent/CN105052183B/zh
Priority to PCT/CN2013/089415 priority patent/WO2015085591A1/zh
Publication of WO2015085591A1 publication Critical patent/WO2015085591A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0492Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload by using a location-limited connection, e.g. near-field communication or limited proximity of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present invention relates to communication technologies, and in particular, to a proximity detection method and apparatus. Background technique
  • close-range functions include close-range discovery and near-field communication.
  • close-range discovery and near-field communication For example, the user wants to be able to know when a friend is around or leaving.
  • the function discovered at close range will make people's life and work more convenient. For example, when a user arrives at the office, through the close-up discovery function, they can immediately know which colleagues have reached the office.
  • the short-range communication function enables users to establish communication directly through short-range communication technology.
  • the short-distance discovery process of the prior art is: a first user equipment (User Equipment, UE for short) directly broadcasts an announcement message Announcing message, where the advertisement message includes an identifier of the first UE, for example, a Proximity Service (referred to as a Proximity Service, referred to as: ProSe)
  • the identifier assigned to the first UE ProSe UE ID and discovery identifier Announcing code.
  • the discovery identifier is a temporary identifier assigned by the network to protect the security of the user and the application, and is used to identify an application or service that the UE can provide, or an application (Application user) that identifies an application in the UE;
  • the receiving device monitors the surrounding discovery message, and if the announcing code of the friend is found, the determining module of the second UE notifies the corresponding ProSe Application that its friend is in the vicinity, and the second UE also needs to notify
  • the first UE for example, the second UE may send a discovery response message response to the first UE.
  • the first UE may not receive the discovery response message sent by all UEs that have sent the response message.
  • the first UE may only receive one discovery response message, that is, the reliability and success rate of the method are low, and the content of the invention is
  • Embodiments of the present invention provide a short-distance discovery method and apparatus to improve short-range discovery. Reliance and success rate.
  • an embodiment of the present invention provides a short-distance discovery method, including:
  • the short-distance service server receives a first prompt message that is sent by the second UE to the short-distance service server after receiving the advertisement message sent by the first UE, where the first prompt message includes the short-distance service of the first UE Identifying, the discovery identifier of the first UE, and the information of the second UE, where the information of the second UE includes a short-range service identifier of the second UE and at least one of the following: an application of the second UE a user identifier and a discovery identifier of the second UE;
  • the short-range service server sends a second prompt message to the first UE, where the second prompt message includes a discovery identifier of the first UE and information of the second UE.
  • the short-distance service server receives the response message sent by the first UE, where the response message is used to indicate that the first UE has received the second prompt message, and learns that the second UE responds to the notification Message
  • the short-distance service server sends an acknowledgement message to the second UE, where the acknowledgement message is used to notify the second UE that the first UE has received the second prompt message, and learns the second UE. Responding to the announcement message.
  • the short-distance service server receives a first prompt message sent by the second UE to the proximity service server after listening to the advertisement message sent by the first UE. , Also includes:
  • the short-distance service server sends a registration confirmation message to the first UE, where the registration confirmation message includes a short-range service identifier and an allowed discovery identification code allocated by the short-range service server for the first UE.
  • the method further includes: the close-range Identifying, by the service server, the first UE according to the short-range service identifier of the first UE, and checking whether the first UE is allowed to send the discovery identifier of the first UE;
  • the proximity service server And sending, by the proximity service server, the second prompt message to the first UE, if: the proximity service server determines that the first UE is allowed to send the discovery identifier of the first UE, A UE sends a second prompt message.
  • the short-distance service server After the short-distance service server identifies the first UE according to the short-range service identifier of the first UE, and checks whether the first UE is allowed to send the discovery identifier of the first UE, the method further includes:
  • the proximity service server sends a response message to the second UE, where the response message is used to indicate that the advertisement message sent by the first UE is not authorized.
  • the proximity service server identifies the first UE according to the proximity service identifier of the first UE And checking whether the first UE is allowed to send the discovery identifier of the first UE, including:
  • the short-distance service server determines whether the discovery identifier of the first UE included in the first prompt message is an allowed discovery identifier assigned by the short-range service server to the first UE;
  • the proximity service server determines that the first UE allows to send the discovery identifier of the first UE
  • the proximity service server determines that the first UE is not allowed to send the first
  • the discovery identifier of the UE is the discovery identifier of the UE.
  • the first prompt message further includes the second UE And the identifier of the included application, before the second-party service server sends the second prompt message to the first UE, the method further includes:
  • the proximity service server sends an identity verification request message to the application server corresponding to the identifier of the application, where the identity verification request message carries the short-range service identifier of the first UE and the second UE, or carries the An application user identifier of the first UE and the second UE;
  • the proximity service server receives an identity confirmation message returned by the application server corresponding to the identifier of the application, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • an embodiment of the present invention provides a short-distance discovery method, including:
  • the first UE broadcasts an advertisement message, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE;
  • the message includes the discovery identifier of the first UE and the information of the second UE, where the information of the second UE is sent by the second UE after listening to the notification message sent by the first UE.
  • the information about the second UE that is included in the first prompt message sent by the short-distance service server includes the short-distance service identifier of the second UE and at least one of the following: an application user identifier and location of the second UE Depicting an identification code of the second UE;
  • the method before the sending, by the first UE, the response message to the proximity service server, the method further includes:
  • the method before the first UE broadcasts the notification message, the method further includes:
  • the first UE And receiving, by the first UE, a registration confirmation message sent by the short-distance service server, where the registration confirmation message includes a short-distance service identifier and a discovery identification code allocated by the short-distance service server for the first UE.
  • an embodiment of the present invention provides a short-distance discovery method, including:
  • the second UE receives the advertisement message that is sent by the first UE, where the advertisement message includes the identifier of the first UE and the discovery identifier of the first UE.
  • the second UE sends a first prompt message to the short-distance service server, where the first prompt message includes a short-range service identifier of the first UE, and a discovery identifier of the first UE. And the information about the second UE, where the information about the second UE includes the short-range service identifier of the second UE and at least one of: an application user identifier of the second UE and a discovery identifier of the second UE code;
  • an acknowledgment message sent by the short-distance service server where the acknowledgment message is that the short-distance service server sends a second prompt message to the first UE and receives a response message returned by the first UE.
  • the acknowledgment message is used to notify the second UE that the first UE has received the second prompt message, and learns that the second UE responds to the advertisement message.
  • the method before the receiving, by the second UE, the advertisement message sent by the first UE, the method further includes:
  • the second UE And receiving, by the second UE, a registration confirmation message sent by the proximity service server, where the registration confirmation message includes a short-distance service identifier and a discovery identification code allocated by the short-distance service server for the second UE.
  • the method further includes:
  • the second UE receives the discovery identifier of the first UE sent by the short-range service server.
  • an embodiment of the present invention provides a short-distance discovery method, including:
  • the application server receives an identity verification request message sent by the proximity service server, where the identity verification request message carries a short-range service identifier of the first UE and the second UE, or an application user that carries the first UE and the second UE Identifying that the first UE and the second UE are users of an application corresponding to the application server;
  • the application server confirms that the relationship between the first UE and the second UE allows mutual discovery according to the application user identifier corresponding to the first UE and the corresponding application user identifier of the second UE, to the near
  • the service server returns an identity confirmation message, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • an embodiment of the present invention provides a proximity service server, including:
  • a receiving module configured to receive a first prompt message sent by the second UE to the short-distance service server after receiving the advertisement message sent by the first UE, where the first prompt message includes the first The short-range service identifier of the UE, the discovery identifier of the first UE, and the information of the second UE, where the information of the second UE includes the short-range service identifier of the second UE and at least one of the following: An application user identifier of the second UE and a discovery identifier of the second UE;
  • a sending module configured to send a second prompt message to the first UE, where the second prompt message includes a discovery identifier of the first UE and information of the second UE;
  • the receiving module is further configured to receive a response message sent by the first UE, where the response message is used to indicate that the first UE has received the second prompt message, and learn that the second UE responds to the Announcement message;
  • the sending module is further configured to send an acknowledgment message to the second UE, where the acknowledgment message is used to notify the second UE that the first UE has received the second prompt message, and learns the two
  • the UE responds to the announcement message.
  • the receiving module is further configured to receive a registration request sent by the first UE;
  • the sending module is further configured to send a registration confirmation message to the first UE, where the registration confirmation message includes a proximity service identifier and an allowed discovery identification code allocated by the short-range service server for the first UE. .
  • the method further includes:
  • a checking module configured to identify the first UE according to a short-range service identifier of the first UE, and check the first UE, before the short-distance service server sends a second prompt message to the first UE Whether to allow sending the discovery identifier of the first UE;
  • the sending module is specifically configured to:
  • the checking module determines that the first UE allows to send the discovery identifier of the first UE, sending a second prompt message to the first UE.
  • the sending module is specifically configured to: if the checking module determines that the first UE is not allowed to send the discovery identifier of the first UE And sending a response message to the second UE, where the response message is used to indicate that the advertisement message sent by the first UE is not authorized.
  • the checking module is specifically configured to: Determining whether the discovery identifier of the first UE included in the first prompt message is an allowed discovery identifier assigned by the short-range service server to the first UE;
  • the sending module is further configured to use the first prompt
  • the message further includes an identifier of the application that is included in the second UE, and sending an identity verification request message to the application server corresponding to the identifier of the application before the proximity service server sends the second prompt message to the first UE.
  • the identity verification request message carries a short-range service identifier of the first UE and the second UE, or an application user identifier that carries the first UE and the second UE;
  • the receiving module is further configured to receive an identity confirmation message returned by the application server corresponding to the identifier of the application, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the embodiment of the present invention provides a user equipment UE, where the UE is a first UE, and the first UE includes:
  • a sending module configured to broadcast a notification message, where the notification message includes an identifier of the first UE and a discovery identifier of the first UE;
  • a receiving module configured to receive a second prompt message sent by the proximity service server, where the second prompt message includes a discovery identifier of the first UE and information of a second UE, where the information of the second UE And the information about the second UE is included in the first prompt message that is sent by the second UE to the short-distance service server after the second UE is configured to receive the advertisement message sent by the first UE.
  • the sending module is further configured to send a response message to the short-range service server, where the response message is used to indicate that the first UE has received the second prompt message, and learn that the second UE responds to the Describe the announcement message.
  • the method further includes:
  • a determining module configured to confirm, before the sending module sends a response message to the proximity service server, the first UE in the first prompt message sent by the proximity service server Determining whether the identification code is a discovery identification code sent by the first UE;
  • the sending module is specifically configured to:
  • the determining module determines that the second UE is allowed to discover the first UE, sending a response message to the proximity service server.
  • the sending module is further configured to send a registration request to the short-distance service server;
  • the module is further configured to receive a registration confirmation message sent by the short-range service server, where the registration confirmation message includes a short-range service identifier and a discovery identification code allocated by the short-distance service server for the first UE.
  • the embodiment of the present invention provides a user equipment UE, where the UE is a second UE, and the second UE includes:
  • a receiving module configured to receive an advertisement message that is sent by the first UE, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE;
  • a determining module configured to determine, according to the discovery identifier of the first UE, a mutual discovery with the first UE;
  • a sending module configured to send a first prompt message to the short-distance service server, where the first prompt message includes a short-range service identifier including the first UE, a discovery identifier of the first UE, and the Information of the second UE, where the information of the second UE includes the short-range service identifier of the second UE and at least one of the following: an application user identifier of the second UE and a discovery identifier of the second UE;
  • the receiving module is further configured to receive an acknowledgement message sent by the short-range service server, where the acknowledgement message is that the short-range service server sends a second prompt message to the first UE and receives the first UE. After the returned response message is sent, the acknowledgement message is used to notify the second UE that the first UE has received the second prompt message, and learns that the second UE responds to the advertisement message.
  • the sending module is further configured to send a registration request to the short-distance service server;
  • the receiving module is further configured to receive a registration confirmation message sent by the proximity service server, where
  • the registration confirmation message includes a proximity service identifier and a discovery identification code allocated by the proximity service server for the second UE.
  • the receiving module is further configured to: after receiving the registration confirmation message sent by the proximity service server, receive the near The discovery identifier of the first UE sent by the service server.
  • the eighth aspect of the present invention provides an application server, including:
  • a receiving module configured to receive an identity verification request message sent by the proximity service server, where the identity verification request message carries a short-range service identifier of the first UE and the second UE, or carries the first UE and the second UE An application user identifier, where the first UE and the second UE are users of an application corresponding to the application server;
  • the proximity service server returns an identity confirmation message, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the short-distance discovery method and device provided by the embodiment of the present invention broadcasts an advertisement message by using the first UE, and the second UE that listens to the advertisement message determines that the second UE needs to be close to each other after the mutual discovery is performed according to the discovery identification code in the advertisement message.
  • the service server sends a first prompt message, and carries the discovery identifier sent by the first UE and the information of the second UE, so that the proximity service server sends a second prompt message to the first UE, and notifies the first UE that the second UE has
  • the first UE sends a response message to the short-distance service server, indicating that the information is known, and the short-distance service server sends an acknowledgement message to the second UE.
  • the second UE sends the second prompt message to the first UE, and the first UE is notified by the proximity server.
  • the information that the second UE has discovered the first UE can improve the success rate of the first UE receiving the information, thereby improving the success rate of the short-distance discovery. Moreover, since the second UE does not directly send a message to the first UE, the attacker can be prevented from attacking by impersonating a certain UE, thereby improving security. Meanwhile, due to the intervention of the proximity server, the implementation The method of the example is visible and controllable to the operator and more in line with the interests of the operator. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
  • 1 is a network structure diagram of a proximity detection system of the present invention
  • Embodiment 3 is an interaction flowchart of Embodiment 2 of the short-distance discovery method of the present invention.
  • Embodiment 4 is a schematic structural diagram of Embodiment 1 of a proximity service server according to the present invention.
  • Embodiment 2 of a proximity service server according to the present invention is a schematic structural diagram of Embodiment 2 of a proximity service server according to the present invention.
  • Embodiment 1 of a UE according to the present invention is a schematic structural diagram of Embodiment 1 of a UE according to the present invention.
  • Embodiment 7 is a schematic structural diagram of Embodiment 2 of a UE according to the present invention.
  • Embodiment 8 is a schematic structural diagram of Embodiment 3 of a UE according to the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 1 of an application server according to the present invention.
  • Embodiment 3 of a proximity service server according to the present invention is a schematic structural diagram of Embodiment 3 of a proximity service server according to the present invention.
  • FIG. 11 is a schematic structural diagram of Embodiment 4 of a UE according to the present invention.
  • Embodiment 5 of a UE according to the present invention is a schematic structural diagram of Embodiment 5 of a UE according to the present invention.
  • FIG. 13 is a schematic structural diagram of Embodiment 2 of an application server according to the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • Proximity Service in 3GPP Rel-12 has been supported by the evolved Global Terrestrial Radio Access (E-UTRAN) and UE.
  • E-UTRAN evolved Global Terrestrial Radio Access
  • UE User Equipment
  • ProSe-enabled UEs other ProSe-enabled UEs in the vicinity can be discovered, and a short-range communication connection can be established through the short-range communication technology.
  • devices communicate directly without passing through the core network.
  • the network side controls and configures its ProSe characteristics, and the UE performs ProSe operations according to ProSe characteristics control parameters.
  • the parameters of the ProSe feature may include: whether other ProSe UEs can be found, whether they can be discovered by other ProSe UEs; whether ProSe communication can be performed; whether it can be discovered by other Public Land Mobile Networks (PLMNs) ProSe-enabled UEs for E-UTRAN services; ProSe discovers the maximum close range level that can be used.
  • PLMNs Public Land Mobile Networks
  • a ProSe Function is set in each PLMN to control the ProSe characteristics of the UE, and for the UE in the visited network, the near-distance service server (V-ProSe Function) is visited.
  • the ProSe feature is controlled together with the home proximity service server (H-ProSe Function).
  • the proximity service server stores the ProSe configuration information of the UE, including the parameters of the ProSe feature mentioned above, thereby achieving the purpose of controlling the ProSe feature.
  • the existing short-distance discovery method still has security problems.
  • the specific reason is as follows:
  • the discovery response message includes the user's discovery identifier.
  • the attacker can detect the notification message announcing message and find the response message response.
  • the message learns which users corresponding to the discovery identifier are friends of the UE to be discovered (set as the first UE).
  • the potential threat is that the attacker can impersonate the first UE and send an advertisement message announcing message of the first UE, so as to obtain a discovery response response message of the friend of the first UE (set as the second UE or the third UE), which is The second UE and the third UE cannot identify that the UE is a fake first UE, so as to further send its own file to the attacker; and the attacker can also spoof the second UE to send a discovery response response message to the first UE.
  • the first UE cannot identify the UE as an attacker, and therefore, there is a security risk.
  • the radio resources used by the prior art short-distance discovery method belong to the operator, the UE directly interacts with each other without any network equipment, that is, the method is invisible and uncontrolled for the operator. , does not meet the interests of the operator.
  • the first UE is used to indicate the UE to be discovered, that is, the UE that sends the advertisement message announcing message, and the second UE does not send the discovery response response message.
  • a UE where the first UE and the second UE both include a ProSe application, and the first UE and the second UE include at least one of the same applications.
  • QQ, WeChat, etc. and the user corresponding to the first UE and the user corresponding to the second UE are the users of the at least one same application.
  • first UE and the second UE may be multiple, which are represented by only one in the embodiment of the present invention and the accompanying drawings.
  • the actual UE may have the functions of the first UE and the second UE at the same time, that is, one UE may also listen to the advertisement message sent by other UEs and respond in response to the notification message.
  • FIG. 1 is a network structure diagram of a proximity detection system of the present invention.
  • the short-distance discovery method provided by the present invention sets a ProSe Function in a network, and a short-distance communication server assists a short-distance discovery process, wherein the proximity service server and the mobility management entity and The gateway is connected, and the UE exchanges information with the proximity service server through the access network of the wireless communication network.
  • 2 is an interaction flowchart of Embodiment 1 of the short-distance discovery method of the present invention. As shown in FIG. 2, this embodiment relates to an interaction operation between a first UE, a second UE, and a ProSe Function, where The first UE is a user other than the second UE among the applications in the second UE.
  • the method of this embodiment may include:
  • Step 201 The first UE broadcasts an advertisement message, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE.
  • the Announce message is a short-distance discovery notification message
  • the receiving object is all UEs in the vicinity of the first UE, that is, as long as the nearby UE starts the monitoring function of the short-distance service application, the alarm can be monitored.
  • the announcement message may be a ProSe UE ID of the first UE, where the ProSe UE ID may be allocated by the ProSe function when the UE performs the short-range service registration.
  • the discovery identifier (Announcing code) of the first UE included in the advertisement message may also be allocated by the ProSe function for the ProSe application in the first UE when the ProSe service is registered.
  • the discovery identifier is used to identify a certain user or a user group or an application, which may be a user, a user group, or an application in the first UE, or may be a user, a user group, or an application that the UE wishes to discover. .
  • the first UE may advertise the first UE to an application user to the surrounding UE by using the discovery identifier in the advertisement message, or broadcast the desired UE to the surrounding UE. User.
  • Step 202 The second UE determines, according to the discovery identifier of the first UE, that mutual discovery with the first UE is required.
  • the first UE may be determined as the friend of the application (application user) in the second UE or a user in the second UE according to the discovery identifier.
  • the user that the first UE wants to discover for example, the first UE and the second UE each include a WeChat, and the second UE determines, according to the discovery identifier in the advertisement message of the first UE, that the user corresponding to the first UE is the second UE.
  • the friend of the WeChat user the second UE may determine that it needs to discover with the first UE.
  • the second UE may display the friend corresponding to the first UE in the vicinity of the interface, and determine that the first UE needs to discover each other after the user confirms.
  • the second UE may store the application layer identifier of one or more friends of the short-distance service user of the second UE and the discovery identifier corresponding to the friend user, and the second UE may be identified according to the received discovery.
  • the code identifies whether the user corresponding to the announcing code sent by the first UE is a friend of the user in the second UE.
  • Step 203 The second UE sends a first prompt message to the short-distance service server, where the first prompt message includes a short-range service identifier of the first UE, a discovery identifier of the first UE, and The information of the second UE, where the information of the second UE includes the short-range service identifier of the second UE and at least one of the following: an application user identifier of the second UE and a discovery identifier of the second UE .
  • the distance service server receives the first prompt message sent by the second UE, and the first prompt message may be a ProSe Discovery Alert message.
  • the second UE requests the proximity service server in the network to check whether the discovery advertisement operation (send advertisement message) of the first UE is an authorized operation by using the first prompt message, and at the same time, if authorized, requests the proximity server to detect the response at a close distance. Send to the first UE.
  • the application identifier of the second UE and the discovery identifier of the second UE included in the message are used to enable the first UE to know which friend user of the application the second UE corresponds to.
  • the UE establishes communication with the proximity service server to establish communication through the connection of the user plane, or can establish communication through a Mobile Management Entity (MME).
  • MME Mobile Management Entity
  • the user plane connection is specifically: the UE accesses the mobile communication
  • the mobile network establishes a data connection for the UE, and the network in the mobile network allocates an Internet Protocol (IP) address to the UE, and the UE accesses the external data network through the gateway. Therefore, the UE can obtain the IP address of the proximity server through the Domain Name System (DNS) query, and then establish a connection with the proximity server by using the IP protocol.
  • IP Internet Protocol
  • the UE When connecting through the user plane, the UE accesses the proximity service server through its established user plane connection; when establishing the communication connection through the mobility management entity, the UE encapsulates the message sent to the proximity service in the non-access layer (Non Access Stratum, referred to as NAS), is sent to the mobility management entity and then sent by the mobility management entity to the proximity service server.
  • NAS Non Access Stratum
  • Step 204 The short-range service server sends a second prompt message to the first UE, where the second prompt message includes a discovery identifier of the first UE and information of the second UE.
  • the first UE receives the second prompt message sent by the proximity server, where the information of the second UE included in the second prompt message is used to notify the first UE: the second UE responds to the first
  • the information of the second UE may include the short-range service identifier of the second UE and at least one of the following: an application user identifier of the second UE and a discovery identifier of the second UE, the second UE The application user identifier and the discovery identifier are used to indicate which application the second UE corresponds to.
  • the short-distance service server may first identify the first UE according to the short-range service identifier of the first UE, and check whether the first UE is allowed to send the first UE.
  • the identification code is determined, when it is determined that the first UE is allowed to send the discovery identifier of the first UE, step 204 is performed; when it is determined that the first UE does not have the right to send the discovery identifier of the first UE, And sending, by the second UE, a response message, where the response message is used to indicate that the advertisement message sent by the first UE is not authorized.
  • the short-distance service server allocates the discovery identifier that the first UE allows to use, and the proximity service server saves the discovery identifier that can be used by the first UE.
  • the proximity service server checks, according to the saved discovery identifier that the first UE can use, whether the first UE has the right to send the discovery identifier.
  • the proximity service server determines whether the discovery identifier of the first UE included in the first prompt message is an allowed discovery identifier allocated by the short-range service server for the first UE; If yes, the proximity service server determines that the first UE allows to send the first UE a discovery identification code; if not, the proximity service server determines that the first UE is not allowed to send the discovery identifier of the first UE.
  • Step 205 The first UE sends a response message to the short-distance service server, where the response message is used to indicate that the first UE has received the second prompt message, and the second UE is notified that the second UE has responded.
  • the announcement message is used to indicate that the first UE has received the second prompt message, and the second UE is notified that the second UE has responded.
  • the proximity service server receives the response message sent by the first UE.
  • the first UE can learn that the friend corresponding to the second UE is nearby according to the second prompt message obtained in step 204, and the first UE can send a response message to the proximity service server, confirming that the learned message is known.
  • the second UE responds to the announce message.
  • the first UE may first confirm whether the discovery identifier of the first UE in the first prompt message sent by the short-range service server is the discovery identifier sent by the first UE. If not, the first UE may not respond to any response, or may return information that the discovery identifier is incorrect to the service server, so that the proximity service server suspends the short-distance discovery; if yes, according to the first Determining, by the application identifier of the second UE or the discovery identifier of the second UE, in the prompt message, whether the second UE is allowed to discover the first UE; when the first UE determines to allow the second When the UE finds the first UE, step 205 is performed.
  • Step 205 is performed to indicate that the first UE determines that the friend corresponding to the second UE is nearby.
  • the first UE may save a log record of the notification message sent by the first UE, including the sent discovery identifier and the time of sending, by which the first message in the first prompt message sent by the proximity service server may be checked. Whether the discovery identifier of a UE is the discovery identifier sent by the first UE.
  • Step 206 The short-distance service server sends an acknowledgement message to the second UE, where the acknowledgement message is used to notify the second UE that the first UE has received the second prompt message, and learns that the The second UE responds to the announce message.
  • the second UE receives the acknowledgment message sent by the short-distance service server, and the second UE may determine that the buddy corresponding to the first UE is nearby, so that the first UE and the second UE complete mutual discovery. the process of.
  • the first UE broadcasts the advertisement message by the first UE, and the second UE that listens to the advertisement message determines, according to the discovery identifier in the advertisement message, that the first UE needs to be discovered with the first UE, and then sends the first prompt message to the proximity service server, and Carrying the discovery identifier sent by the first UE and the second UE
  • the information is sent to the first UE to send the second prompt message to the first UE, to notify the first UE that the second UE has found the information of the first UE, and the first UE receives the second prompt message and then sends the second prompt message to the proximity service server.
  • the short-distance service server sends an acknowledgement message to the second UE.
  • the first UE and the second UE implement the process of close-range discovery with the assistance of the proximity server, due to the near The intervention of the server, in particular, the short-distance service server sends a second prompt message to the first UE, and notifies the first UE that the information about the first UE has been found by the first UE, which can improve the success rate of receiving the information by the first UE.
  • the success rate of the short-distance discovery is improved; and, since the second UE does not directly send a message to the first UE, the attacker can be prevented from attacking by impersonating a certain UE, thereby improving security; Due to the intervention of the proximity server, the method of this embodiment is visible and controllable to the operator, and is more in line with the interests of the operator.
  • the process of registering a short-distance service by the first UE is further included, and the specific steps are:
  • the short-distance service server sends a registration confirmation message to the first UE, where the registration confirmation message includes a short-range service identifier and an allowed discovery identification code allocated by the short-range service server for the first UE.
  • the registration process of the second UE is also included, the steps of which are similar to the registration process of the first UE.
  • the discovery identifier of other UEs sent by the short-distance service server is also saved, for example, the first UE or the second UE may send to the proximity service server. Requesting to obtain a discovery identifier of a friend in an application, so that after the second UE listens to the advertisement message sent by the first UE, the second UE can identify whether the UE corresponds to its own friend by discovering the identifier, thereby determining whether to proceed. response.
  • the method of the above embodiment also needs to involve interaction between the proximity service servers in the two PLMNs. It is ProSe Function A that provides the ProSe service for the first UE, and ProSe function B that provides the ProSe service for the second UE.
  • the second UE sends a first prompt message to the ProSe function B, and the ProSe function B is based on the short-range service identifier of the first UE included in the first prompt message. Identifying that the proximity service server serving the first UE is ProSe Function A, because the proximity service identifier includes the PLMN identity PLMN ID of the PLMN where the UE is camped and the identity of the proximity service server serving the UE.
  • ProSe function B may construct a Fully Qualified Domain Name (FQDN) between the close proximity service server corresponding to the ProSe Function A according to the proximity service identifier of the first UE, and then pass the The domain name service (DNS) query obtains the IP address of ProSe Function A, so that a communication connection can be established with it, and the first prompt message received in step 203 is forwarded to ProSe Function A, and then ProSe Function A can continue. Go to step 204.
  • FQDN Fully Qualified Domain Name
  • Embodiment 2 of the short-distance discovery method of the present invention is an interaction flowchart of Embodiment 2 of the short-distance discovery method of the present invention.
  • this embodiment relates to interaction between a first UE, a second UE, a short-distance service server, and an application server (App Server).
  • the first UE and the second UE are the users in the application corresponding to the application server.
  • the application corresponding to the application server in the embodiment is: QQ, WeChat, and the like.
  • the information interaction between the short-distance service server and the application server is added to determine whether the first UE and the second UE can discover each other, so as to improve the short-distance discovery.
  • Method of safety The method of this embodiment may include:
  • Step 301 The first UE broadcasts an advertisement message, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE.
  • Step 302 The second UE determines, according to the discovery identifier of the first UE, that it needs to discover with the first UE.
  • Step 303 The second UE sends a first prompt message to the short-distance service server, where the first prompt message includes a short-range service identifier of the first UE, a discovery identifier of the first UE, and information of the second UE.
  • the information of the second UE includes the short-range service identifier of the second UE and at least one of the following: the application user identifier of the second UE and the discovery identifier of the second UE, where the first UE and the second UE are both Identify the user of the corresponding application for the application.
  • Step 304 The proximity service server sends an identity verification request message to the application server corresponding to the application identifier, where the identity verification request message carries the short-range service identifier of the first UE and the second UE, or carries the first UE and the second The application user ID of the UE.
  • the application server corresponding to the application identifier may store a mapping relationship between the proximity service identifier and the application user identifier corresponding to the user, and also store the relationship between the users. Department, for example, whether it is a friend.
  • the UE when the user in the UE enables the corresponding application, the UE initiates an application registration process to the corresponding application server, and provides the identifier of the UE to the application server, so that the application server can record the user and the UE used by the user.
  • the corresponding relationship is identified, and the application server may also identify the corresponding user according to the UE identifier provided by the proximity service server.
  • the user can also set which friends can find themselves, and the application server checks whether the two users can discover each other according to the setting information of the user and notifies the proximity service server of the check result.
  • Step 305 The application server corresponding to the application identifier returns an identity confirmation message to the proximity service server, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the application server determines whether the first UE and the second UE are allowed to discover each other according to the principle that the two are friends, and may also be limited according to other principles.
  • the short-distance service server may return a message that does not allow mutual discovery.
  • the proximity service server may directly The two UEs send a message that the discovery is aborted.
  • Step 306 The proximity service server sends a second prompt message to the first UE, where the second prompt message includes the discovery identifier of the first UE and the information of the second UE.
  • Step 307 The first UE sends a response message to the short-distance service server, where the response message is used to indicate that the first UE has received the second prompt message, and the second UE is notified that the second UE responds to the notification message. .
  • Step 308 The proximity service server sends an acknowledgement message to the second UE, where the acknowledgement message is used to notify the second UE that the first UE has received the second prompt message, and learns that the second UE responds The announcement message.
  • the second UE may determine that the buddy corresponding to the first UE is nearby, so that the first UE and the second UE complete the process of mutual discovery.
  • the proximity service server after receiving the first prompt message, the proximity service server adds an identity verification request message to the application server, and the application server confirms whether the first UE and the second UE can discover each other.
  • the short-range server sends the second prompt message to the first UE, so that the security of the close-range discovery method can be further improved.
  • the short-distance service server 400 of this embodiment may include: a receiving module 401 and a sending module 402, where
  • the receiving module 401 is configured to receive, by the second UE, a first prompt message that is sent by the second UE to the short-distance service server after receiving the advertisement message sent by the first UE, where the first prompt message includes the first UE a distance identification information, a discovery identifier of the first UE, and information of the second UE, where the information of the second UE includes a short-range service identifier of the second UE and at least one of: the second UE Application user identifier and a discovery identifier of the second UE;
  • the sending module 402 is configured to send a second prompt message to the first UE, where the second prompt message includes a discovery identifier of the first UE and information of the second UE.
  • the receiving module 401 is further configured to receive a response message sent by the first UE, where the response message is used to indicate that the first UE has received the second prompt message, and learn that the second UE responds The announcement message;
  • the sending module 402 is further configured to send an acknowledgment message to the second UE, where the acknowledgment message is used to notify the second UE that the first UE has received the second prompt message, and learns that the The second UE responds to the announce message.
  • the receiving module 401 is further configured to receive a registration request sent by the first UE;
  • the sending module 402 is further configured to send a registration confirmation message to the first UE, where the registration confirmation message includes a short-distance service identifier and an allowed discovery that are allocated by the short-range service server to the first UE. Identifier.
  • the short-distance service server of this embodiment may be used to perform the technical solution executed by the corresponding short-distance service server in the method embodiment shown in FIG. 2, and the implementation principle thereof is similar, and details are not described herein again.
  • the short-distance service server of the embodiment receives the first prompt message sent by the second UE, and sends the second message to the first UE according to the discovery identifier of the first UE and the information of the second UE that are carried in the first prompt message.
  • the prompt message notifying the first UE that the second UE has discovered the information about the first UE, and after receiving the second prompt message, the first UE sends a response message to the proximity service server, indicating that the information is known, and the proximity service server redirects
  • the second UE sends an acknowledgement message; it can be seen that the first UE and the second UE implement the process of short-distance discovery with the assistance of the proximity server, especially by the proximity server, especially to the first UE.
  • Send the second prompt Notifying the first UE that the information about the first UE has been found by the second UE can improve the success rate of receiving the information by the first UE, thereby improving the success rate of the near-distance discovery; and, because the second UE and the first UE The message is not sent directly. Therefore, the attacker can be prevented from attacking by impersonating a certain UE, thereby improving security. Meanwhile, the method of this embodiment is visible to the operator due to the intervention of the proximity server. And controllable, more in line with the interests of operators.
  • the proximity service server 500 of the present embodiment may further include: an inspection module 403, based on the embodiment shown in FIG.
  • the checking module 403 may be configured to: after the short-distance service server sends the second prompt message to the first UE, identify the first UE according to the short-range service identifier of the first UE, and check the Whether the first UE is allowed to send the discovery identifier of the first UE; correspondingly, the sending module 402 is specifically configured to:
  • the checking module 403 determines that the first UE allows to send the discovery identifier of the first UE, sending a second prompt message to the first UE.
  • the sending module 402 is specifically configured to: if the checking module 403 determines that the first UE is not allowed to send the discovery identifier of the first UE, send a response message to the second UE, where the response message is used by the The indication message sent by the first UE is not authorized.
  • checking module 403 is specifically configured to:
  • the sending module 402 is further configured to further include, in the first prompt message, an identifier of an application included in the second UE, where the short-distance service server sends a second to the first UE Sending an identity verification request message to the application server corresponding to the identifier of the application, and carrying the short-distance service identifier of the first UE and the second UE or carrying the first Application user identifier of the UE and the second UE;
  • the receiving module 401 is further configured to receive an identity confirmation message returned by the application server corresponding to the identifier of the application, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the short-distance service server of this embodiment may be used to perform the technical solution executed by the corresponding short-distance service server in the method embodiment shown in FIG. 2 or FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of the UE according to the present invention.
  • the UE in this embodiment corresponds to the first UE.
  • the UE 600 in this embodiment may include: a sending module 601 and a receiving module 602, where
  • a sending module 601 configured to broadcast, to send an advertisement message, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE;
  • the receiving module 602 is configured to receive a second prompt message that is sent by the short-distance service server, where the second prompt message includes the discovery identifier of the first UE and the information of the second UE, where the second UE
  • the information is carried in the first prompt message that is sent by the second UE to the short-distance service server after the second UE is logged to the first UE, and the information of the second UE includes the second a short-range service identifier of the UE and at least one of the following: an application user identifier of the second UE and a discovery identifier of the second UE;
  • the sending module 601 is further configured to send a response message to the short-range service server, where the response message is used to indicate that the first UE has received the second prompt message, and learn that the second UE responds The announcement message.
  • the UE in this embodiment may be used to perform the technical solution corresponding to the first UE in the method embodiment shown in FIG. 2, and the implementation principle is similar, and details are not described herein again.
  • the UE in this embodiment sends an advertisement message by broadcasting, and receives a second prompt message sent by the short-distance service server, where the second prompt message includes the discovery identifier of the first UE and the information of the second UE, where The information of the second UE is carried in the first prompt message sent by the second UE to the short-distance service server after the second UE receives the advertisement message sent by the first UE, and therefore the UE in this embodiment
  • the information about the first UE that has been found by the second UE is obtained, and then the response message is sent to the short-distance service server, indicating that the information is known, so that the short-distance service server sends the acknowledgement message to the second UE again;
  • the second UE sends the second prompt message to the first UE, and the first UE is notified by the proximity server.
  • the information that the second UE has discovered the first UE can improve the success rate of receiving the information by the first UE, thereby improving the success rate of the short-distance discovery;
  • the message is not directly sent. Therefore, the attacker can be prevented from attacking by impersonating a certain UE, thereby improving security. Meanwhile, the method of this embodiment is visible to the operator due to the intervention of the proximity server. Controlled, more in line with the interests of operators.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of the UE according to the present invention.
  • the UE 700 of this embodiment may further include: a determining module 603, which may be used by the determining module 603, based on the embodiment shown in FIG. In:
  • the sending module 601 Before the sending module 601 sends the response message to the short-distance service server, confirm whether the discovery identifier of the first UE in the first prompt message sent by the short-distance service server is sent by the first UE Discovery identifier;
  • determining whether to allow the second UE to discover the first UE according to the application user identifier of the second UE or the discovery identifier of the second UE in the first prompt message; 601 is specifically used to:
  • the determining module 603 determines that the second UE is allowed to discover the first UE, it sends a response message to the proximity service server.
  • the sending module 601 is further configured to send a registration request to the short-range service server;
  • the receiving module 602 is further configured to receive a registration confirmation message sent by the short-distance service server, where the registration confirmation message includes a short-distance service identifier and a discovery identifier allocated by the short-distance service server for the first UE. code.
  • the UE in this embodiment may be used to perform the corresponding first in the method embodiment shown in FIG. 2 or FIG.
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of the UE according to the present invention.
  • the UE in this embodiment corresponds to the second UE.
  • the UE 800 in this embodiment may include: a receiving module 801, a determining module 802, and a sending module 803. , among them,
  • the receiving module 801 is configured to receive an advertisement message that is sent by the first UE, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE.
  • the determining module 802 is configured to determine, according to the discovery identifier of the first UE, that a mutual discovery with the first UE is required;
  • the sending module 803 is configured to send a first prompt message to the proximity service server, where the first prompt message includes a proximity service identifier of the first UE, and a discovery of the first UE And the information of the second UE, where the information of the second UE includes the short-range service identifier of the second UE and at least one of the following: an application user identifier of the second UE and the second UE Discover the identification code;
  • the receiving module 801 is further configured to receive an acknowledgement message sent by the short-range service server, where the acknowledgement message is that the proximity service server sends a second prompt message to the first UE, and receives the first After the response message sent by the UE is sent, the acknowledgement message is used to notify the second UE that the first UE has received the second prompt message, and the second UE is notified that the second UE responds to the advertisement message.
  • the sending module 803 is further configured to send a registration request to the proximity service server;
  • the receiving module 801 is further configured to receive a registration confirmation message sent by the short-range service server, where the registration confirmation message includes a short-distance service identifier and a discovery identifier allocated by the short-distance service server for the second UE. code.
  • the receiving module 801 is further configured to: after receiving the registration confirmation message sent by the short-range service server, receive the discovery identifier of the first UE sent by the short-distance service server, so that the determining
  • the module 802 is configured to determine, according to the discovery identifier of the first UE carried in the advertisement message, whether it needs to discover with the first UE.
  • the UE in this embodiment may be used to perform the technical solution corresponding to the second UE in the method embodiment shown in FIG. 2 or FIG. 3, and the implementation principle is similar, and details are not described herein again.
  • the first prompt message includes the discovery identifier of the first UE and the first prompt message sent by the UE to the short-distance service server after listening to the advertisement message sent by the first UE.
  • the information of the second UE is sent by the short-distance service server to the first UE to notify the first UE that the information about the first UE has been found by the second UE, and that the first-time service server is receiving the first
  • the second UE completes the process of discovering with the first UE by receiving the acknowledgement message sent by the short-distance service server; A process in which the UE and the second UE implement the close-range discovery with the assistance of the proximity server.
  • the second UE sends the second prompt message to the first UE, and the first UE is notified by the proximity server.
  • the second UE has discovered the information of the first UE, which can improve the success rate of receiving the information by the first UE, thereby improving the success rate of the short-distance discovery; and, because the second UE and the first UE Do not send directly
  • the message therefore, can prevent an attacker from attacking by impersonating a certain UE, thereby improving security; meanwhile, the method of the embodiment is visible and controllable to the operator due to the intervention of the proximity server, More in line with the interests of operators.
  • FIG. 9 is a schematic structural diagram of Embodiment 1 of an application server according to the present invention.
  • Applications corresponding to the application server in this embodiment are: QQ, WeChat, and the like.
  • the application server 900 of this embodiment may include: a receiving module 901 and a sending module 902, where
  • the receiving module 901 is configured to receive an identity verification request message sent by the proximity service server, where the identity verification request message carries a short-range service identifier of the first UE and the second UE, or carries the first UE and the second An application user identifier of the UE, where the first UE and the second UE are users of an application corresponding to the application server;
  • the sending module 902 is configured to confirm, according to the application user identifier corresponding to the first UE and the corresponding application user identifier of the second UE, that the relationship between the first UE and the second UE is allowed to discover each other,
  • the proximity service server returns an identity confirmation message, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the application server of this embodiment may be used to implement the technical solution executed by the corresponding application server in the method embodiment shown in FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
  • the application server of the embodiment sends an identity verification request message to the application server after receiving the first prompt message by the short-distance service server, and the application server confirms whether the first UE and the second UE can discover each other, and only confirms permission to each other.
  • the proximity service server of this embodiment may include: a receiver 1001, a transmitter 1002, and a processor 1003, which are also shown in the figure.
  • the memory 1004 and the bus 1005 are connected, and the receiver 1001, the processor 1002, the transmitter 1003, and the memory 1004 are connected by the bus 1005 and complete communication with each other.
  • the bus 1005 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (ESA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • ESA Extended Industry Standard Architecture
  • the bus 1005 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only in Figure 10 It is indicated by a thick line, but does not mean that there is only one bus or one type of bus.
  • the memory 1004 is for storing executable program code including computer operating instructions.
  • the memory 1004 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 1003 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the receiver 1001 is configured to receive, by the second UE, a first prompt message that is sent by the second UE to the short-distance service server after receiving the advertisement message sent by the first UE, where the first prompt message includes the first UE.
  • the receiver 1001 is further configured to receive a response message sent by the first UE, where the response message is used to indicate that the first UE has received the second prompt message, and learn that the second UE responds The announcement message;
  • the transmitter 1002 is further configured to send an acknowledgement message to the second UE, where the acknowledgement message is used to notify the second UE that the first UE has received the second prompt message, and learns that the The second UE responds to the announce message.
  • the receiver 1001 may be further configured to receive a registration request sent by the first UE.
  • the transmitter 1002 may be further configured to send a registration confirmation message to the first UE, where the registration confirmation message includes a proximity service identifier and an allowed discovery that the proximity service server allocates to the first UE. Identifier.
  • the processor 1003 may be configured to: after the short-distance service server sends the second prompt message to the first UE, identify the first UE according to the proximity service identifier of the first UE, and check Whether the first UE is allowed to send the discovery identifier of the first UE; correspondingly, the transmitter 1002 is specifically configured to:
  • the processor 1003 determines that the first UE allows to send the discovery identification of the first UE And sending a second prompt message to the first UE.
  • the transmitter 1002 is specifically configured to: if the processor 1003 determines that the first UE is not allowed to send the discovery identifier of the first UE, send a response message to the second UE, where the UE sends a response message The notification message sent is not authorized.
  • the transmitter 1002 may be further configured to further include, in the first prompt message, an identifier of an application included in the second UE, where the short-distance service server sends a second to the first UE Sending an identity verification request message to the application server corresponding to the identifier of the application, and carrying the short-distance service identifier of the first UE and the second UE or carrying the first Application user identifier of the UE and the second UE;
  • the receiver 1001 is further configured to receive an identity confirmation message returned by an application server corresponding to the identifier of the application, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the short-distance service server of this embodiment may be used to implement the technical solution executed by the corresponding short-distance service server in the embodiment of the method shown in FIG. 2 or FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
  • the short-distance service server of the embodiment receives the first prompt message sent by the second UE, and sends the second message to the first UE according to the discovery identifier of the first UE and the information of the second UE that are carried in the first prompt message.
  • the prompt message notifying the first UE that the second UE has discovered the information about the first UE, and after receiving the second prompt message, the first UE sends a response message to the proximity service server, indicating that the information is known, and the proximity service server redirects
  • the second UE sends an acknowledgement message; it can be seen that the first UE and the second UE implement the process of short-distance discovery with the assistance of the proximity server, especially by the proximity server, especially to the first UE.
  • Sending a second prompt message, notifying the first UE that the information about the first UE has been found by the second UE, can improve the success rate of the first UE receiving the information, thereby improving the success rate of the short-distance discovery; and, because the second UE
  • the message is not directly sent to and from the first UE, thereby preventing the attacker from impersonating a certain
  • Each UUEE's method is used to attack and attack, so that it can improve the security of the security.
  • it is separated from the server due to the near-close distance.
  • the method of implementing the example of this example is visibly visible and cocoa controlled for the business operators, and more in line with the operation of the joint operation. The profit and loss of the business. .
  • FIG. 1111 is a schematic diagram showing the structure of a node structure according to a fourth embodiment of the UUEE implementation embodiment of the present invention.
  • the UUEE pair of the present embodiment corresponds to the first one of 55 UUEE,
  • the UUEE of the present embodiment may include: a transmitter transmitter 11110011, a receiver receiver 11110022, and a processing processor 11110033.
  • the memory storage device 11110044 and the total bus line 11110055 are also shown in the figure, and the transmitter transmitter 11110011, the receiver receiver 11110022, and the processing processor are also shown. 11000033, the storage and storage device 11110044 is connected through the total bus line 11110055 and completes the communication communication between the phases. .
  • the total bus line 11110055 can be an industrial bus industry standard standard system structure ((IInndduussttrryy SSttaannddaarrdd AArrcchhiitteeccttuurree, IISSAA)) total bus line, external external device equipment interconnection ((PPeeriripphheerarall CCoommppoonneenntt,, PPCCII))
  • IISSAA industrial bus industry standard standard system structure
  • PPCCII external external device equipment interconnection
  • the total bus line 11110055 may be divided into a ground address address total bus line, a data data total bus line, a control control total bus line, and the like.
  • the figure 1111 is only represented by a thick and thick line table, but it does not indicate that there is only one root bus line. Or a total bus line of one type type. .
  • the storage storage unit 11110044 executes the program code of the program program for storing the storage cocoa, and the program code code package includes the computer operation operation instruction command.
  • the storage storage 1111044 may be capable of including a high-speed RYAMM storage storage device, or may also include a non-volatile storage storage device 1155 ((nnoonn) -- vvoollaattiillee mmeemmoorryy)) , for example, such as to at least one magnetic disk inventory storage storage. .
  • the processing processor 11110033 may be a central central processing processor ((CCeennttrarall PProrocceessssiinngg UUnniitt, CCPPUU)), or is a special specific set integrated into an electrical circuit ( (AApppplliiccaattiioonn SSppeecciiffiicc IInntteeggrraatteedd CCiirrccuuiitt,, AASSIICC)), or alternatively, one or more sets integrated into the embodiment of the present invention Electrical circuit. .
  • the transmitter transmitter 11110011 is used for transmitting a notification message for the broadcast announcement, and the message in the message announcement includes the description of the 2200. And identifying the identification code of the first UUEE and the discovery identifier of the first UUEE;
  • a second second prompting message for sending and receiving the sending and receiving service for receiving and receiving the close-range distance
  • the second packet of the message indicating that the message includes the discovery identification code of the first UUEE and the information information of the second UUEE, wherein
  • the information information of the second and second UUEEs is a notification that the second and second UUEEs are sent by the first and second UUEEs.
  • the first message is carried in the first message prompting the message to be sent to the said near-close distance business service server.
  • the information packet 2255 of the second second UUEE includes the near-close distance separation service identifier of the second and second UUEEs, and the following One by one:: the second and second UUEEs of the said application should be identified by the user's household identification and the said first The discovery now made UUEE two identification codes do not identification code ;;
  • the sender transmitter 11110011 is further configured to send a response message to the service server for the near-close distance, and the message is sent.
  • the response response message is used in the table to indicate that the first UUEE has received the second second prompt message, and the learned information is obtained.
  • the second second UUEE response responds to the message announcement message. .
  • the sending and dispatching device 11110011 sends a response to the message to the near-close-range departing service server, the confirmation message is confirmed.
  • the discovery identifier of the first UE in the first prompt message sent by the short-distance service server is a discovery identifier sent by the first UE;
  • the transmitter 1101 is specifically configured to:
  • the processor 1103 determines to allow the second UE to discover the first UE, it sends a response message to the proximity service server.
  • the transmitter 1101 is further configured to send a registration request to the proximity service server;
  • the receiver 1102 is further configured to receive a registration confirmation message sent by the proximity service server, where the registration confirmation message includes a short-distance service identifier and a discovery identifier allocated by the proximity service server for the first UE. code.
  • the UE in this embodiment may be used to perform the technical solution of the first UE in the method embodiment shown in FIG. 2 or FIG. 3, and the implementation principle is similar, and details are not described herein again.
  • the UE in this embodiment sends an advertisement message by broadcasting, and receives a second prompt message sent by the short-distance service server, where the second prompt message includes the discovery identifier of the first UE and the information of the second UE, where The information of the second UE is carried in the first prompt message sent by the second UE to the short-distance service server after the second UE receives the advertisement message sent by the first UE, and therefore the UE in this embodiment
  • the information about the first UE that has been found by the second UE is obtained, and then the response message is sent to the short-distance service server, indicating that the information is known, so that the short-distance service server sends the acknowledgement message to the second UE again;
  • the second UE sends the second prompt message to the first UE, and the first UE is notified by the proximity server.
  • the information that the second UE has discovered the first UE can improve the success rate of receiving the information by the first UE, thereby improving the success of the short-distance discovery.
  • the attacker since the second UE does not directly send a message to the first UE, the attacker can be prevented from attacking by impersonating a certain UE, thereby improving security.
  • the method of this embodiment is visible and controllable to the operator, and is more in line with the interests of the operator.
  • FIG. 12 is a schematic structural diagram of Embodiment 5 of a UE according to the present invention.
  • the UE in this embodiment corresponds to a second UE.
  • the UE in this embodiment may include: a receiver 1201, a processor 1202, and
  • the transmitter 1203 also shows a memory 1204 and a bus 1205.
  • the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 are connected by the bus 1205 and complete communication with each other.
  • the bus 1205 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (ESA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • ESA Extended Industry Standard Architecture
  • the bus 1205 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus.
  • Memory 1204 is for storing executable program code, including computer operating instructions.
  • the memory 1204 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 1202 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the receiver 1201 is configured to receive an advertisement message that is sent by the first UE, where the advertisement message includes an identifier of the first UE and a discovery identifier of the first UE.
  • the processor 1202 is configured to determine, according to the discovery identifier of the first UE, that a mutual discovery with the first UE is required;
  • the sender 1203 is configured to send a first prompt message to the short-distance service server, where the first prompt message includes a short-range service identifier including the first UE, a discovery identifier of the first UE, and the Information about the second UE, where the information of the second UE includes the short-range service identifier of the second UE and at least one of: an application user identifier of the second UE and a discovery identifier of the second UE;
  • the receiver 1201 is further configured to receive an acknowledgement message sent by the proximity service server, where the acknowledgement message is that the proximity service server sends a second prompt message to the first UE and receives the first message. And sending, by the UE, a response message, the acknowledgment message is used to notify the second UE that the first UE has received the second prompt message, and learn that the second UE responds to the advertisement message.
  • the transmitter 1203 is further configured to send a registration request to the proximity service server;
  • the receiver 1201 is further configured to receive a registration confirmation message sent by the short-range service server, where the registration confirmation message includes the short-distance service server that is allocated to the second UE. Proximity service identification and discovery identification code.
  • the receiver 1201 is further configured to: after receiving the registration confirmation message sent by the proximity service server, receive a discovery identifier of the first UE sent by the proximity service server, so that the processing
  • the device 1202 is configured to determine, according to the discovery identifier of the first UE that is carried in the advertisement message, whether it needs to discover with the first UE.
  • the UE in this embodiment may be used to perform the technical solution corresponding to the second UE in the method embodiment shown in FIG. 2 or FIG. 3, and the implementation principle is similar, and details are not described herein again.
  • the first prompt message includes the discovery identifier of the first UE and the first prompt message sent by the UE to the short-distance service server after listening to the advertisement message sent by the first UE.
  • the information of the second UE is sent by the short-distance service server to the first UE to notify the first UE that the information about the first UE has been found by the second UE, and that the first-time service server is receiving the first
  • the second UE completes the process of discovering with the first UE by receiving the acknowledgement message sent by the short-distance service server; A process in which the UE and the second UE implement the close-range discovery with the assistance of the proximity server.
  • the second UE sends the second prompt message to the first UE, and the first UE is notified by the proximity server.
  • the second UE has discovered the information of the first UE, which can improve the success rate of receiving the information by the first UE, thereby improving the success rate of the short-distance discovery;
  • the message is not directly sent between the second UE and the first UE. Therefore, the attacker can be prevented from attacking by impersonating a certain UE, thereby improving security.
  • the embodiment is The method is visible and controllable to the operator and is more in the interest of the operator.
  • FIG. 13 is a schematic structural diagram of Embodiment 2 of an application server according to the present invention.
  • the application corresponding to the application server in this embodiment is: QQ, WeChat, and the like.
  • the application server of this embodiment may include: a receiver 1301 and a transmitter 1302, and further shows a processor 1303, a memory 1304, and a bus 1305.
  • the memory 1304 is connected through the bus 1305 and completes communication with each other.
  • the bus 1305 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (ESA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • ESA Extended Industry Standard Architecture
  • the bus 1305 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 13, but it does not mean that there is only one bus or one type of bus.
  • the memory 1304 is for storing executable program code, the program code including computer operating instructions.
  • Memory 1304 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the processor 1303 can be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the receiver 1301 is configured to receive an identity verification request message sent by the proximity service server, where the identity verification request message carries a short-range service identifier of the first UE and the second UE, or carries the first UE and the An application user identifier of the second UE, where the first UE and the second UE are users of an application corresponding to the application server;
  • the sender 1302 is configured to confirm, according to the application user identifier corresponding to the first UE and the corresponding application user identifier of the second UE, that the relationship between the first UE and the second UE is allowed to be mutually discovered,
  • the proximity service server returns an identity confirmation message, where the identity confirmation message is used to indicate that the first UE and the second UE allow mutual discovery.
  • the application server of this embodiment may be used to implement the technical solution executed by the corresponding application server in the method embodiment shown in FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
  • the application server of the embodiment sends an identity verification request message to the application server after receiving the first prompt message by the short-distance service server, and the application server confirms whether the first UE and the second UE can discover each other, and only confirms permission to each other.

Abstract

 本发明提供一种近距离发现方法和装置,其中,方法包括:近距离业务ProSe服务器接收第二UE在监听到第一UE发送的通告消息后向ProSe服务器发送的第一提示消息,第一提示消息包括第一UE的ProSe ID、第一UE的发现识别码和第二UE的信息,第二UE的信息包括第二UE的ProSe ID,还包括第二UE的应用用户标识或第二UE的发现识别码;ProSe服务器向第一UE发送第二提示消息,第二提示消息中包括第一UE的发现识别码和第二UE的信息;ProSe服务器接收第一UE发送的响应消息; ProSe服务器向第二UE发送确认消息,用于向第二UE通知第一UE已收到第二提示消息,获知第二UE响应了通告消息。

Description

近距离发现方法和装置
技术领域
本发明涉及通信技术, 尤其涉及一种近距离发现方法和装置。 背景技术
在无线通信系统中, 随着社交类应用的广泛应用, 近距离功能越来越重 要, 近距离功能包括近距离发现和近距离通信功能。 例如, 用户希望能够及 时了解好友在周围出现或者离开。 近距离发现的功能将是人们的生活和工作 变的更加方便。 例如, 当用户到达办公室以后, 通过近距离发现功能, 能够 马上了解到哪些同事也已经达到办公室。 近距离通信功能可以使用户之间通 过近距离通信技术直接建立通信。
现有技术的近距离发现过程为: 第一用户设备 (User Equipment, 简称 UE) 直接广播通告消息 Announcing message, 该通告消息中包括该第一 UE 的标识, 例如近距离业务(Proximity Service, 简称: ProSe) 为该第一 UE分 配的标识: ProSe UE ID和发现识别码 Announcing code。 发现识别码是为了 保护用户和应用的安全而由网络分配的临时标识, 用于标识该 UE可以提供 的应用或服务, 或者标识该 UE中的某个应用的用户 (Application user); 第二 UE利用接收装置监听周围的发现消息, 如果发现自己的好友的 announcing code , 该第二 UE 的判断模块会通知对应的近距离业务的应用 ProSe Application其好友在其附近, 另外该第二 UE也需要通知第一 UE, 例如, 第 二 UE可以向第一 UE发送发现响应消息 response。
但是, 现有技术的近距离发现方法, 第一 UE可能接收不到所有已经发送 了响应消息的 UE所发送的发现响应消息。例如当第二 UE和第三 UE同时向 第一 UE发送发现响应消息时, 第一 UE可能只收到一个发现响应消息, 即, 这种方法的可靠性和成功率较低, 发明内容
本发明实施例提供一种近距离发现方法和装置, 以提高近距离发现的可 靠性和成功率。
第一方面, 本发明实施例提供一种近距离发现方法, 包括:
近距离业务服务器接收第二 UE在监听到第一 UE发送的通告消息后向所 述近距离业务服务器发送的第一提示消息, 所述第一提示消息中包括所述第 一 UE的近距离业务标识、所述第一 UE的发现识别码和所述第二 UE的信息, 所述第二 UE的信息包括所述第二 UE的近距离业务标识和以下至少一个:所 述第二 UE的应用用户标识和所述第二 UE的发现识别码;
所述近距离业务服务器向所述第一 UE发送第二提示消息, 所述第二提 示消息中包括所述第一 UE的发现识别码和所述第二 UE的信息;
所述近距离业务服务器接收所述第一 UE发送的响应消息, 所述响应消 息用于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了 所述通告消息;
所述近距离业务服务器向所述第二 UE发送确认消息, 所述确认消息用 于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了所述通告消息。
在第一方面的第一种可能的实现方式中, 在所述近距离业务服务器接收 第二 UE在监听到第一 UE发送的通告消息后向所述近距离业务服务器发送的 第一提示消息之前, 还包括:
所述近距离业务服务器接收所述第一 UE发送的注册请求;
所述近距离业务服务器向所述第一 UE发送注册确认消息, 所述注册确 认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务标识 和允许的发现识别码。
根据第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 在所述近距离业务服务器向所述第一 UE发送第二提示消息之前, 还包括: 所述近距离业务服务器根据所述第一 UE的近距离业务标识识别所述第 一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码;
所述近距离业务服务器向所述第一 UE发送第二提示消息, 包括: 若所述近距离业务服务器确定所述第一 UE允许发送所述第一 UE的发现 识别码, 则向所述第一 UE发送第二提示消息。
根据第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 在所述近距离业务服务器根据所述第一 UE的近距离业务标识识别所述第一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码之后, 还 包括:
若否, 则所述近距离业务服务器向所述第二 UE发送响应消息, 所述响 应消息用于表明所述第一 UE发送的通告消息没有经过授权。
根据第一方面的第二种或第三种可能的实现方式, 在第四种可能的实现 方式中, 所述近距离业务服务器根据所述第一 UE的近距离业务标识识别所 述第一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码, 包括:
所述近距离业务服务器判断所述第一提示消息中包含的所述第一 UE的 发现识别码是否为所述近距离业务服务器为所述第一 UE分配的允许的发现 识别码;
若是,则所述近距离业务服务器确定所述第一 UE允许发送所述第一 UE 的发现识别码;
若否, 则所述近距离业务服务器确定所述第一 UE不允许发送所述第一
UE的发现识别码。
根据第一方面、 第一方面的第一种至第四种可能的实现方式中的任意一 种, 在第五种可能的实现方式中, 所述第一提示消息中还包括所述第二 UE 包含的应用的标识, 在所述近距离业务服务器向所述第一 UE发送第二提示 消息之前, 还包括:
所述近距离业务服务器向所述应用的标识对应的应用服务器发送身份验 证请求消息,所述身份验证请求消息中携带所述第一 UE和所述第二 UE的近 距离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标识;
所述近距离业务服务器接收所述应用的标识对应的应用服务器返回的身 份确认消息,所述身份确认消息用于表明所述第一 UE和所述第二 UE允许互 相发现。
第二方面, 本发明实施例提供一种近距离发现方法, 包括:
第一 UE广播发送通告消息, 所述通告消息中包括所述第一 UE的标识 和所述第一 UE的发现识别码;
所述第一 UE接收近距离业务服务器发送的第二提示消息, 所述第二提 示消息中包括所述第一 UE的发现识别码和第二 UE的信息,其中,所述第二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通过向所 述近距离业务服务器发送的第一提示消息中携带的, 所述第二 UE的信息包 括所述第二 UE的近距离业务标识和以下至少一个:所述第二 UE的应用用户 标识和所述第二 UE的发现识别码;
所述第一 UE 向所述近距离业务服务器发送响应消息, 所述响应消息用 于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了所述 通告消息。
在第二方面的第一种可能的实现方式中, 在所述第一 UE 向所述近距离 业务服务器发送响应消息之前, 还包括:
所述第一 UE确认所述近距离业务服务器发送的第一提示消息中的所述 第一 UE的发现识别码是否为所述第一 UE发送的发现识别码;
若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或所 述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE;
所述第一 UE向所述近距离业务服务器发送响应消息, 包括:
当所述第一 UE判断允许所述第二 UE发现所述第一 UE时, 向所述近距 离业务服务器发送响应消息。
根据第二方面或第二方面的第一种可能的实现方式中, 在第二种可能的 实现方式中, 在所述第一 UE广播发送通告消息之前, 还包括:
所述第一 UE向所述近距离业务服务器发送注册请求;
所述第一 UE接收所述近距离业务服务器发送的注册确认消息, 所述注 册确认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务 标识和发现识别码。
第三方面, 本发明实施例提供一种近距离发现方法, 包括:
第二 UE接收第一 UE广播发送的通告消息, 所述通告消息中包括所述 第一 UE的标识和所述第一 UE的发现识别码;
所述第二 UE根据所述第一 UE的发现识别码确定需要与所述第一 UE 互相发现;
所述第二 UE 向近距离业务服务器发送第一提示消息, 所述第一提示消 息中包含中包括所述第一 UE的近距离业务标识、所述第一 UE的发现识别码 和所述第二 UE的信息,所述第二 UE的信息包括所述第二 UE的近距离业务 标识和以下至少一个:所述第二 UE的应用用户标识和所述第二 UE的发现识 别码;
所述第二 UE接收所述近距离业务服务器发送的确认消息, 所述确认消 息为所述近距离业务服务器向所述第一 UE发送第二提示消息并接收所述第 一 UE返回的响应消息后发送的,所述确认消息用于向所述第二 UE通知所述 第一 UE已收到所述第二提示消息, 获知所述第二 UE响应了所述通告消息。
在第三方面的第一种可能的实现方式中, 在所述第二 UE接收第一 UE 广播发送的通告消息之前, 还包括:
所述第二 UE向所述近距离业务服务器发送注册请求;
所述第二 UE接收所述近距离业务服务器发送的注册确认消息, 所述注 册确认消息中包含所述近距离业务服务器为所述第二 UE分配的近距离业务 标识和发现识别码。
根据第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 在所述第二 UE接收所述近距离业务服务器发送的注册确认消息之后, 还包 括:
所述第二 UE接收所述近距离业务服务器发送的所述第一 UE的发现识别 码。
第四方面, 本发明实施例提供一种近距离发现方法, 包括:
应用服务器接收近距离业务服务器发送的身份验证请求消息, 所述身份 验证请求消息中携带第一 UE和第二 UE的近距离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标识, 所述第一 UE和所述第二 UE为所述应 用服务器对应的应用的用户;
所述应用服务器根据所述第一 UE对应的应用用户标识和所述第二 UE 的对应的应用用户标识确认所述第一 UE和所述第二 UE的关系允许互相发现 之后, 向所述近距离业务服务器返回身份确认消息, 所述身份确认消息用于 表明所述第一 UE和所述第二 UE允许互相发现。
第五方面, 本发明实施例提供一种近距离业务服务器, 包括:
接收模块,用于接收第二 UE在监听到第一 UE发送的通告消息后向所述 近距离业务服务器发送的第一提示消息, 所述第一提示消息中包括所述第一 UE的近距离业务标识、 所述第一 UE的发现识别码和所述第二 UE的信息, 所述第二 UE的信息包括所述第二 UE的近距离业务标识和以下至少一个:所 述第二 UE的应用用户标识和所述第二 UE的发现识别码;
发送模块, 用于向所述第一 UE发送第二提示消息, 所述第二提示消息 中包括所述第一 UE的发现识别码和所述第二 UE的信息;
所述接收模块, 还用于接收所述第一 UE发送的响应消息, 所述响应消 息用于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了 所述通告消息;
所述发送模块, 还用于向所述第二 UE发送确认消息, 所述确认消息用 于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第二
UE响应了所述通告消息。
在第五方面的第一种可能的实现方式中,
所述接收模块, 还用于接收所述第一 UE发送的注册请求;
所述发送模块, 还用于向所述第一 UE发送注册确认消息, 所述注册确 认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务标识 和允许的发现识别码。
根据第五方面的第一种可能的实现方式, 在第二种可能的实现方式中, 还包括:
检查模块, 用于在所述近距离业务服务器向所述第一 UE发送第二提示 消息之前, 根据所述第一 UE的近距离业务标识识别所述第一 UE, 并检查所 述第一 UE是否允许发送所述第一 UE的发现识别码;
所述发送模块具体用于:
若所述检查模块确定所述第一 UE允许发送所述第一 UE的发现识别码, 则向所述第一 UE发送第二提示消息。
根据第五方面的第二种可能的实现方式, 在第三种可能的实现方式中, 发送模块具体用于若所述检查模块确定所述第一 UE不允许发送所述第一 UE 的发现识别码, 则向所述第二 UE发送响应消息, 所述响应消息用于表明所 述第一 UE发送的通告消息没有经过授权。
根据第五方面的第二种或第三种可能的实现方式, 在第四种可能的实现 方式中, 所述检查模块具体用于: 判断所述第一提示消息中包含的所述第一 UE的发现识别码是否为所述 近距离业务服务器为所述第一 UE分配的允许的发现识别码;
若是, 则确定所述第一 UE允许发送所述第一 UE的发现识别码; 若否, 则确定所述第一 UE不允许发送所述第一 UE的发现识别码。 根据第五方面、 第五方面的第一种至第四种可能的实现方式中的任意一 种, 在第五种可能的实现方式中, 所述发送模块, 还用于在所述第一提示消 息中还包括所述第二 UE包含的应用的标识, 在所述近距离业务服务器向所 述第一 UE发送第二提示消息之前, 向所述应用的标识对应的应用服务器发 送身份验证请求消息, 所述身份验证请求消息中携带所述第一 UE和所述第 二 UE的近距离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标 识;
所述接收模块, 还用于接收所述应用的标识对应的应用服务器返回的身 份确认消息,所述身份确认消息用于表明所述第一 UE和所述第二 UE允许互 相发现。
第六方面, 本发明实施例提供一种用户设备 UE, 所述 UE为第一 UE, 所述第一 UE包括:
发送模块, 用于广播发送通告消息, 所述通告消息中包括所述第一 UE 的标识和所述第一 UE的发现识别码;
接收模块, 用于接收近距离业务服务器发送的第二提示消息, 所述第二 提示消息中包括所述第一 UE的发现识别码和第二 UE的信息,其中,所述第 二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通过向 所述近距离业务服务器发送的第一提示消息中携带的, 所述第二 UE 的信息 包括所述第二 UE的近距离业务标识和以下至少一个:所述第二 UE的应用用 户标识和所述第二 UE的发现识别码;
所述发送模块, 还用于向所述近距离业务服务器发送响应消息, 所述响 应消息用于表明所述第一 UE 已收到所述第二提示消息, 获知所述第二 UE 响应了所述通告消息。
在第六方面的第一种可能的实现方式中, 还包括:
判断模块, 用于在所述发送模块向所述近距离业务服务器发送响应消息 之前, 确认所述近距离业务服务器发送的第一提示消息中的所述第一 UE 的 发现识别码是否为所述第一 UE发送的发现识别码;
若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或所 述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE;
所述发送模块具体用于:
当所述判断模块判断允许所述第二 UE发现所述第一 UE时,向所述近距 离业务服务器发送响应消息。
根据第六方面或第六方面的第一种可能的实现方式中, 在第二种可能的 实现方式中, 所述发送模块, 还用于向所述近距离业务服务器发送注册请求; 所述接收模块,还用于接收所述近距离业务服务器发送的注册确认消息, 所述注册确认消息中包含所述近距离业务服务器为所述第一 UE分配的近距 离业务标识和发现识别码。
第七方面, 本发明实施例提供一种用户设备 UE, 所述 UE为第二 UE, 所述第二 UE包括:
接收模块, 用于接收第一 UE广播发送的通告消息, 所述通告消息中包 括所述第一 UE的标识和所述第一 UE的发现识别码;
判断模块, 用于根据所述第一 UE 的发现识别码确定需要与所述第一 UE互相发现;
发送模块, 用于向近距离业务服务器发送第一提示消息, 所述第一提示 消息中包含中包括所述第一 UE的近距离业务标识、所述第一 UE的发现识别 码和所述第二 UE的信息,所述第二 UE的信息包括所述第二 UE的近距离业 务标识和以下至少一个:所述第二 UE的应用用户标识和所述第二 UE的发现 识别码;
所述接收模块, 还用于接收所述近距离业务服务器向发送的确认消息, 所述确认消息为所述近距离业务服务器向所述第一 UE发送第二提示消息并 接收所述第一 UE返回的响应消息后发送的, 所述确认消息用于向所述第二 UE通知所述第一 UE已收到所述第二提示消息, 获知所述第二 UE响应了所 述通告消息。
在第七方面的第一种可能的实现方式中, 所述发送模块, 还用于向所述 近距离业务服务器发送注册请求;
所述接收模块,还用于接收所述近距离业务服务器发送的注册确认消息, 所述注册确认消息中包含所述近距离业务服务器为所述第二 UE分配的近距 离业务标识和发现识别码。
根据第七方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述接收模块, 还用于在接收所述近距离业务服务器发送的注册确认消息之 后, 接收所述近距离业务服务器发送的所述第一 UE的发现识别码。
第八方面, 本发明实施例提供一种应用服务器, 包括:
接收模块, 用于接收近距离业务服务器发送的身份验证请求消息, 所述 身份验证请求消息中携带第一 UE和第二 UE的近距离业务标识或者携带所述 第一 UE和所述第二 UE的应用用户标识, 所述第一 UE和所述第二 UE为所 述应用服务器对应的应用的用户;
发送模块, 用于根据所述第一 UE对应的应用用户标识和所述第二 UE 的对应的应用用户标识确认所述第一 UE和所述第二 UE的关系允许互相发现 之后, 向所述近距离业务服务器返回身份确认消息, 所述身份确认消息用于 表明所述第一 UE和所述第二 UE允许互相发现。
本发明实施例提供的近距离发现方法和装置, 通过第一 UE广播发送通 告消息, 监听到通告消息的第二 UE根据通告消息中的发现识别码判断需要 与第一 UE互相发现之后向近距离业务服务器发送第一提示消息, 并携带第 一 UE发送的发现识别码和第二 UE的信息, 以使近距离业务服务器向第一 UE发送第二提示消息, 通知第一 UE关于第二 UE已发现第一 UE的信息, 第一 UE收到第二提示消息后向近距离业务服务器发送响应消息, 表示已获 知该信息, 近距离业务服务器再向第二 UE发送确认消息; 可以看出, 第一 UE和第二 UE在近距离服务器的辅助下实现近距离发现的过程,由于近距 离服务器的介入, 尤其是由近距离业务服务器向第一 UE发送第二提示消 息, 通知第一 UE关于第二 UE已发现第一 UE的信息, 能够提高第一 UE 接收到该信息的成功率, 从而提高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间不直接发送消息, 因此, 能够防止攻击者通过冒充某 个 UE的方式进行攻击, 从而能够提高安全性; 同时, 由于近距离服务器 的介入, 本实施例的方法对于运营商来说是可见和可控的, 更符合运营商 的利益。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。 图 1为本发明近距离发现系统的网络结构图;
图 2为本发明近距离发现方法实施例一的交互流程图;
图 3为本发明近距离发现方法实施例二的交互流程图;
图 4为本发明近距离业务服务器实施例一的结构示意图;
图 5为本发明近距离业务服务器实施例二的结构示意图;
图 6为本发明 UE实施例一的结构示意图;
图 7为本发明 UE实施例二的结构示意图;
图 8为本发明 UE实施例三的结构示意图;
图 9为本发明应用服务器实施例一的结构示意图;
图 10为本发明近距离业务服务器实施例三的结构示意图;
图 11为本发明 UE实施例四的结构示意图;
图 12为本发明 UE实施例五的结构示意图;
图 13为本发明应用服务器实施例二的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然,所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
在 3GPP Rel-12中近距离业务(ProSe)的功能已被演进的全球陆上无 线接入 ( Evolution-Universal Terrestrial Radio Access, 简禾尔: E-UTRAN) 和 UE所支持。 对于支持 ProSe的 UE可以发现处于邻近位置的其他支持 ProSe的 UE, 并且能通过近距离通信技术建立近距离通信连接, 在通信过 程中, 设备之间直接进行通信而不经过核心网进行传输。 对于驻留在网络 上的支持 ProSe的 UE, 网络侧将对其 ProSe特性进行控制和配置, UE 按照 ProSe特性控制参数执行 ProSe操作。 ProSe特性的参数可以包括: 是否可以发现别的 ProSe UE, 是否可以被别的 ProSe UE发现; 是否可以 进行 ProSe 通信; 是否可以发现由其他公共陆地移动网络 (Public Land Mobile Network, 简称: PLMN ) 的 E-UTRAN服务的支持 ProSe的 UE; ProSe发现可以使用的最大近距离范围等级。
在网络中,每个 PLMN中设置有近距离业务的服务器(ProSe Function ) 来进行对于 UE的 ProSe特性的控制,对于处于拜访网络的 UE, 会由拜访 地近距离业务服务器 (V-ProSe Function ) 和归属地近距离业务服务器 ( H-ProSe Function )一起进行 ProSe特性的控制。近距离业务服务器会存 储 UE的 ProSe配置信息, 包括上述提到的 ProSe特性的参数, 从而达到 控制 ProSe特性的目的。
如背景技术所述, 现有的近距离发现方法中, 支持 ProSe的 UE之间直 接进行交互, 待发现的 UE不能可靠地接收其他 UE的发现响应消息。 由 于 UE 之间直接进行交互, 现有的近距离发现方法还存在安全问题, 具体 原因为: 发现响应消息中包括用户的发现识别码, 攻击者可以通过检测 通告消息 announcing message禾口发现响应消息 response message获知哪些 发现识别码对应的用户是待发现 UE (设为第一 UE) 的好友。 潜在的威胁 是, 攻击者可以假冒第一 UE 并发送第一 UE 的通告消息 announcing message, 从而获取到该第一 UE的好友 (设为第二 UE或第三 UE) 的发 现响应 response message, 这时第二 UE和第三 UE不能识别出该 UE是假 冒的第一 UE, 从而进一步将自己的文件发送给攻击者; 并且, 攻击者还 可以仿冒第二 UE向第一 UE发送发现响应 response message, 这时第一 UE也不能识别该 UE为攻击者, 因此, 存在安全隐患。 另外, 由于现有 技术近距离发现方法使用的无线资源属于运营商, 但该方法中 UE之间直 接进行交互, 不经过任何网络设备, 即该方法对于运营商来说是不可见和 不受控, 不符合运营商的利益。
为了便于描述, 用第一 UE 表示待发现的 UE , 即发送通告消息 announcing message的 UE,用第二 UE表不发送发现响应 response message 的 UE,其中,所述第一 UE与所述第二 UE中均包含近距离业务应用(ProSe application) , 并且, 所述第一 UE与所述第二 UE中包含至少一款相同的应 用, 例如 QQ、 微信等, 并且所述第一 UE对应的用户与所述第二 UE对应的 用户为所述至少一款相同应用的用户。
需要说明的是,第一 UE和第二 UE可能均为多个,本发明实施例以及附 图中仅用一个来表示。 并且具体实现时, 实际的 UE可以同时具备第一 UE 和第二 UE的功能, 即一个 UE在发出通告消息的同时, 也可以监听其他 UE 发送的通告消息, 并进行响应。
图 1为本发明近距离发现系统的网络结构图。 如图 1所示, 本发明提 供的近距离发现方法, 在网络中设置近距离业务服务器 (ProSe Function), 由近距离通信服务器辅助近距离发现过程, 其中, 近距离业务服务器与移 动管理实体以及网关连接, UE 通过无线通信网络的接入网与近距离业务 服务器进行信息交互。 图 2为本发明近距离发现方法实施例一的交互流程 图,如图 2所示,本实施例涉及第一 UE、第二 UE与近距离业务服务器(ProSe Function)之间的交互操作, 其中, 第一 UE为第二 UE中的应用中的除所述 第二 UE之外的用户。 本实施例的方法可以包括:
步骤 201、 第一 UE广播发送通告消息, 所述通告消息中包括所述第一 UE的标识和所述第一 UE的发现识别码。
具体地, 所述通告消息 (Announcing message) 为近距离发现通告消 息, 其接收对象为该第一 UE附近的所有 UE, 即只要附近的 UE开启了近距 离业务应用的监听功能, 即可监听到该通告消息。该通告消息中包括的第一 UE的标识可以为该第一 UE的近距离业务标识(ProSe UE ID ) , 该 ProSe UE ID可以是为 UE在进行近距离业务注册时由 ProSe function分配的,用 于识别该第一 UE;通告消息中包括的第一 UE的发现识别码(Announcing code)也可以在 ProSe业务注册时由 ProSe function为第一 UE中的近距离 业务应用 (ProSe application) 分配。 其中, 发现识别码用于标识某个用户 或用户群组或某个应用, 其可以是第一 UE中的用户、 用户群组或应用, 也 可以是 UE希望发现的用户、 用户群组或应用。
所述第一 UE可以通过所述通告消息中的发现识别码向周围的 UE宣 告第一 UE为某个应用用户, 或者向周围的 UE广播自己希望发现的某个 用户。
步骤 202、 第二 UE根据所述第一 UE的发现识别码确定需要与所述第 一 UE互相发现。
具体地, 第二 UE监听到第一 UE发送的通告消息后, 可以根据发现 识别码确定第一 UE为第二 UE中的应用的用户 (application user) 的好友 或者第二 UE中的某个用户是第一 UE希望发现的用户, 例如第一 UE与 第二 UE均包括微信, 且第二 UE根据第一 UE的通告消息中的发现识别 码确定第一 UE对应的用户为该第二 UE对应的微信用户的好友, 则第二 UE可以确定需要与第一 UE互相发现。具体实现时, 第二 UE可以在界面 上显示第一 UE所对应的好友在附近, 并在用户确认后确定需要与所述第 一 UE互相发现。
具体地, 第二 UE中可以存储第二 UE中的某个近距离业务用户的一 个或者多个好友的应用层标识和好友用户对应的发现识别码, 第二 UE从 而可以根据接收到的发现识别码识别出第一 UE发送的 announcing code对 应的用户是否为第二 UE中的用户的好友。
步骤 203、 所述第二 UE向近距离业务服务器发送第一提示消息, 所述 第一提示消息中包含中包括所述第一 UE 的近距离业务标识、 所述第一 UE 的发现识别码和所述第二 UE的信息, 所述第二 UE的信息包括所述第二 UE 的近距离业务标识和以下至少一个: 所述第二 UE的应用用户标识和所述第 二 UE的发现识别码。
相应的, 距离业务服务器接收所述第二 UE发送的第一提示消息, 该第 一提示消息可以为近距离发现提示(ProSe Discovery Alert)消息。第二 UE 通过该第一提示消息请求网络中的近距离业务服务器检查第一 UE的发现 通告操作 (发送通告消息) 是否为授权的操作, 同时, 若经过授权则请求 近距离服务器将近距离发现响应发送给第一 UE。
其中, 该消息中包括的所述第二 UE的应用用户标识和所述第二 UE的 发现识别码用于使第一 UE获知该第二 UE对应与哪个应用的哪个好友用户。
在本步骤中, UE 和近距离业务服务器建立通信可以通过用户面的连 接建立通信, 或者可以通过移动管理实体(Mobile Management Entity, 简 称: MME) 建立通信。 其中, 用户面的连接具体为: UE接入到移动通信 网络后, 移动网络为该 UE建立数据连接, 移动网络中的网络为该 UE分 配因特网协定 (internet protocol, 简称: IP) 地址, 该 UE以通过该网关 接入到外部的数据网络。 因此, UE可以通过动态域名系统(Domain Name System, 简称: DNS ) 查询获得近距离服务器的 IP地址, 然后采用 IP协 议建立和近距离服务器的连接。
通过用户面连接时, UE 通过其已建立的用户面连接接入到近距离业 务服务器; 通过移动管理实体建立通信连接时, UE 把发送给近距离业务 的消息封装在非接入层 (Non Access Stratum, 简称: NAS ) 消息中发送给 移动管理实体, 然后由移动管理实体发送给近距离业务服务器。
步骤 204、所述近距离业务服务器向所述第一 UE发送第二提示消息, 所 述第二提示消息中包括所述第一 UE的发现识别码和所述第二 UE的信息。
相应的, 所述第一 UE接收所述近距离服务器发送的第二提示消息, 其 中, 所述第二提示消息中包括的第二 UE的信息用于告知第一 UE: 第二 UE 响应了第一 UE的通告消息,而第二 UE的信息可以包括第二 UE的近距离业 务标识和以下至少一个:所述第二 UE的应用用户标识和所述第二 UE的发现 识别码,第二 UE的应用用户标识和发现识别码用于表明该第二 UE对应哪个 应用的用户。
进一步地, 在步骤 204之前, 所述近距离业务服务器可以先根据所述第 一 UE的近距离业务标识识别所述第一 UE, 并检查所述第一 UE是否允许发 送所述第一 UE的发现识别码,当确定所述第一 UE允许发送所述第一 UE的 发现识别码时, 执行步骤 204; 当确定所述第一 UE不具备发送所述第一 UE 的发现识别码的权限时, 则可以向所述第二 UE发送响应消息, 所述响应消 息用于表明所述第一 UE发送的通告消息没有经过授权。
具体地, 在第一 UE进行近距离业务注册时, 近距离业务服务器为第一 UE分配第一 UE 允许使用的发现识别码, 同时近距离业务服务器保存第一 UE可以使用的发现识别码。近距离业务服务器根据保存的第一 UE可以使用 的发现识别码检查第一 UE是否具有发送该发现识别码的权限。 具体地, 所 述近距离业务服务器判断所述第一提示消息中包含的所述第一 UE的发现识 别码是否为所述近距离业务服务器为所述第一 UE 分配的允许的发现识别 码; 若是, 则所述近距离业务服务器确定所述第一 UE允许发送所述第一 UE 的发现识别码; 若否, 则所述近距离业务服务器确定所述第一 UE不允许发 送所述第一 UE的发现识别码。
步骤 205、所述第一 UE向所述近距离业务服务器发送响应消息, 所述响 应消息用于表明所述第一 UE已收到所述第二提示消息, 已获知所述第二 UE 响应了所述通告消息。
相应的, 所述近距离业务服务器接收所述第一 UE发送的响应消息。 具 体地,第一 UE根据步骤 204中获得的第二提示消息能够得知第二 UE所对应 的好友在附近, 这时第一 UE可以向近距离业务服务器发送响应消息, 确认 其已获知所述第二 UE响应了所述通告消息。
进一步地, 在步骤 205之前, 所述第一 UE可以先确认所述近距离业务 服务器发送的第一提示消息中的所述第一 UE的发现识别码是否为所述第一 UE发送的发现识别码; 若否, 则第一 UE可以不做任何响应, 也可以向业务 服务器返回该发现识别码有误的信息, 使近距离业务服务器中止本次近距离 发现; 若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或 所述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE; 当 所述第一 UE判断允许所述第二 UE发现所述第一 UE时, 再执行步骤 205。
执行步骤 205即说明第一 UE确定第二 UE所对应的好友在附近。
具体地, 第一 UE可以保存其发送通告消息的日志记录, 包括发送的发 现识别码和发送的时间, 通过该日志记录可以检查所述近距离业务服务器发 送的第一提示消息中的所述第一 UE的发现识别码是否为所述第一 UE发送的 发现识别码。
步骤 206、所述近距离业务服务器向所述第二 UE发送确认消息,所述确 认消息用于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知 所述第二 UE响应了所述通告消息。
相应的, 所述第二 UE接收所述近距离业务服务器发送的确认消息, 这 时, 第二 UE可以确定第一 UE所对应的好友在附近, 从而第一 UE和第二 UE完成了互相发现的过程。
本实施例, 通过第一 UE广播发送通告消息, 监听到通告消息的第二 UE 根据通告消息中的发现识别码判断需要与第一 UE互相发现之后向近距离业 务服务器发送第一提示消息, 并携带第一 UE发送的发现识别码和第二 UE 的信息, 以使近距离业务服务器向第一 UE发送第二提示消息, 通知第一 UE 关于第二 UE已发现第一 UE的信息,第一 UE收到第二提示消息后向近距离 业务服务器发送响应消息, 表示已获知该信息, 近距离业务服务器再向第二 UE发送确认消息; 可以看出, 第一 UE和第二 UE在近距离服务器的辅助 下实现近距离发现的过程, 由于近距离服务器的介入, 尤其是由近距离业 务服务器向第一 UE发送第二提示消息, 通知第一 UE关于第二 UE已发现 第一 UE的信息, 能够提高第一 UE接收到该信息的成功率,从而提高近距 离发现的成功率; 并且, 由于第二 UE与第一 UE之间不直接发送消息, 因此, 能够防止攻击者通过冒充某个 UE的方式进行攻击, 从而能够提高 安全性; 同时, 由于近距离服务器的介入, 本实施例的方法对于运营商来 说是可见和可控的, 更符合运营商的利益。
进一步地, 在执行上述实施例所述的方法之前, 还包括第一 UE注册 近距离业务的过程, 具体步骤为:
所述近距离业务服务器接收所述第一 UE发送的注册请求;
所述近距离业务服务器向所述第一 UE发送注册确认消息, 所述注册确 认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务标识 和允许的发现识别码。
同样地,也包括第二 UE的注册过程,其步骤与第一 UE的注册过程类似。 需要说明的是,在所述第一 UE或第二 UE完成注册之后,还会保存近距离业 务服务器发送的其他 UE的发现识别码,例如第一 UE或第二 UE可以向近距 离业务服务器发送请求以获得某个应用中的好友的发现识别码, 这样, 第二 UE在监听到第一 UE发送的通告消息后, 可以通过发现识别码来识别该 UE 是否对应自己的好友, 从而判断是否进行响应。
进一步地,上述实施例中,如果第一 UE和第二 UE驻留在不同的 PLMN, 但第一 UE和第二 UE之间处于近距离的范围内, 例如第一 UE和第二 UE为 处于同一个地点, 但使用不同的运营商的网络服务, 这时, 上述实施例的方 法还需要涉及两个 PLMN内的近距离业务服务器之间的交互。 设为第一 UE 提供 ProSe服务的是 ProSe Function A,为第二 UE提供 ProSe服务的是 ProSe function B。在上述的步骤 203中, 第二 UE向 ProSe function B发送第一提示 消息, ProSe function B根据第一提示消息中包含的第一 UE的近距离业务标 识识别出服务于第一 UE的近距离业务服务器为 ProSe Function A, 这是由于 近距离业务标识包括该 UE所驻留的 PLMN的 PLMN标识 PLMN ID和服务 于该 UE的近距离业务服务器的标识(ProSe Function ID),然后 ProSe function B可以根据第一 UE的近距离业务标识与 ProSe Function A构建对应的近距离 业务服务器之间的完全合格域名 (Fully Qualified Domain Name , 简称: FQDN) , 再通过域名服务 (Domain Name Service, 简称: DNS) 查询的方 式获得 ProSe Function A的 IP地址,从而可以与其建立通信连接,将步骤 203 接收的第一提示消息转发给 ProSe Function A, 然后 ProSe Function A可以继 续执行步骤 204。
图 3为本发明近距离发现方法实施例二的交互流程图, 如图 3所示, 本实施例涉及第一 UE、 第二 UE与近距离业务服务器以及应用服务器 (App Server) 之间的交互操作, 其中, 第一 UE和第二 UE均为应用服务器所对应 的应用中的用户,实施例中应用服务器所对应的应用例如为: QQ、微信等。 本实施例在上述图 2对应的方法实施例的基础上, 增加了近距离业务服务器 与应用服务器之间的信息交互,从而判断第一 UE与第二 UE是否可以互相发 现, 以提高近距离发现方法的安全性。 本实施例的方法可以包括:
步骤 301、 第一 UE广播发送通告消息, 所述通告消息中包括第一 UE的 标识和第一 UE的发现识别码。
步骤 302、 第二 UE根据第一 UE的发现识别码确定需要与第一 UE互相 发现。
步骤 303、 第二 UE向近距离业务服务器发送第一提示消息, 所述第一 提示消息中包含中包括第一 UE的近距离业务标识、第一 UE的发现识别码和 第二 UE的信息, 还包括应用标识, 其中, 第二 UE的信息包括第二 UE的近 距离业务标识和以下至少一个:第二 UE的应用用户标识和第二 UE的发现识 别码, 第一 UE和第二 UE均为所述应用标识所对应的应用的用户。
步骤 304、 近距离业务服务器向所述应用标识对应的应用服务器发送身 份验证请求消息,所述身份验证请求消息中携带第一 UE和第二 UE的近距离 业务标识或者携带第一 UE和第二 UE的应用用户标识。
具体实现时, 所述应用标识对应的应用服务器可以存储其用户对应的近 距离业务标识与应用用户标识之间的映射关系, 还存储有各个用户之间的关 系, 例如是否为好友。
具体地, UE中的用户可以在启用对应的应用时, UE向对应的应用服务 器发起应用的注册过程, 将 UE 的标识提供给应用服务器, 从而应用服务器 可以记录其用户和该用户所使用的 UE标识对应关系, 应用服务器也可以根 据近距离业务服务器提供的 UE标识识别出对应的用户。 另外, 用户也可以 设置哪些好友可以发现自己, 应用服务器根据用户的设置信息检查两个用户 是否可以互相发现并将检查结果通知所述近距离业务服务器。
步骤 305、 所述应用标识对应的应用服务器向近距离业务服务器返回身 份确认消息, 所述身份确认消息用于表明第一 UE和第二 UE允许互相发现。
具体地,所述应用服务器确认所述第一 UE和所述第二 UE是否允许互相 发现可以根据两者是否为好友的原则, 也可以根据其他原则, 本发明实施例 对此不做限定。
若所述应用服务器确认所述第一 UE和所述第二 UE不允许互相发现,则 可以向所述近距离业务服务器返回不允许互相发现的消息, 这时, 近距离业 务服务器可以直接向第二 UE发送发现中止的消息。
步骤 306、近距离业务服务器向第一 UE发送第二提示消息,所述第二提 示消息中包括所述第一 UE的发现识别码和所述第二 UE的信息。
步骤 307、第一 UE向近距离业务服务器发送响应消息,所述响应消息用 于表明所述第一 UE已收到所述第二提示消息,已获知所述第二 UE响应了所 述通告消息。
步骤 308、近距离业务服务器向第二 UE发送确认消息, 所述确认消息用 于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了所述通告消息。
这时, 第二 UE可以确定第一 UE所对应的好友在附近, 从而第一 UE和 第二 UE完成了互相发现的过程。
本实施例, 通过在近距离业务服务器收到第一提示消息后, 增加了近距 离业务服务器向应用服务器发送身份验证请求消息,应用服务器确认第一 UE 与第二 UE是否可以互相发现, 只有在确认允许互相发现时, 近距离服务器 才向第一 UE发送第二提示消息, 从而能够进一步提高近距离发现方法的安 全性。 图 4为本发明近距离业务服务器实施例一的结构示意图, 如图 4所示, 本实施例的近距离业务服务器 400可以包括: 接收模块 401和发送模块 402, 其中,
接收模块 401,用于接收第二 UE在监听到第一 UE发送的通告消息后向 所述近距离业务服务器发送的第一提示消息, 所述第一提示消息中包括所述 第一 UE的近距离业务标识、所述第一 UE的发现识别码和所述第二 UE的信 息,所述第二 UE的信息包括所述第二 UE的近距离业务标识和以下至少一个: 所述第二 UE的应用用户标识和所述第二 UE的发现识别码;
发送模块 402, 用于向所述第一 UE发送第二提示消息, 所述第二提示消 息中包括所述第一 UE的发现识别码和所述第二 UE的信息;
所述接收模块 401,还用于接收所述第一 UE发送的响应消息, 所述响应 消息用于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应 了所述通告消息;
所述发送模块 402,还用于向所述第二 UE发送确认消息, 所述确认消息 用于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第 二 UE响应了所述通告消息。
进一步地,所述接收模块 401,还可以用于接收所述第一 UE发送的注册 请求;
所述发送模块 402,还可以用于向所述第一 UE发送注册确认消息,所述 注册确认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业 务标识和允许的发现识别码。
本实施例的近距离业务服务器, 可以用于执行图 2所示方法实施例中 对应近距离业务服务器执行的技术方案,其实现原理类似,此处不再赘述。
本实施例的近距离业务服务器, 接收第二 UE发送的第一提示消息, 并 根据第一提示消息中携带的第一 UE的发现识别码和第二 UE的信息,向第一 UE发送第二提示消息, 通知第一 UE关于第二 UE已发现第一 UE的信息, 第一 UE收到第二提示消息后向近距离业务服务器发送响应消息, 表示已获 知该信息, 近距离业务服务器再向第二 UE发送确认消息; 可以看出, 第一 UE和第二 UE在近距离服务器的辅助下实现近距离发现的过程,由于近距 离服务器的介入, 尤其是由近距离业务服务器向第一 UE发送第二提示消 息, 通知第一 UE关于第二 UE已发现第一 UE的信息, 能够提高第一 UE 接收到该信息的成功率, 从而提高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间不直接发送消息, 因此, 能够防止攻击者通过冒充某 个 UE的方式进行攻击, 从而能够提高安全性; 同时, 由于近距离服务器 的介入, 本实施例的方法对于运营商来说是可见和可控的, 更符合运营商 的利益。
图 5为本发明近距离业务服务器实施例二的结构示意图, 如图 5所示, 本实施例的近距离业务服务器 500在图 4所示实施例的基础上,还可以包括: 检查模块 403, 该检查模块 403, 可以用于在所述近距离业务服务器向所述第 一 UE发送第二提示消息之前,根据所述第一 UE的近距离业务标识识别所述 第一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码; 相应地, 所述发送模块 402具体用于:
若所述检查模块 403确定所述第一 UE允许发送所述第一 UE的发现识别 码, 则向所述第一 UE发送第二提示消息。
进一步地,发送模块 402具体用于若所述检查模块 403确定所述第一 UE 不允许发送所述第一 UE的发现识别码,则向所述第二 UE发送响应消息,所 述响应消息用于表明所述第一 UE发送的通告消息没有经过授权。
进一步地, 所述检查模块 403具体用于:
判断所述第一提示消息中包含的所述第一 UE的发现识别码是否为所述 近距离业务服务器为所述第一 UE分配的允许的发现识别码;
若是, 则确定所述第一 UE允许发送所述第一 UE的发现识别码; 若否, 则确定所述第一 UE不允许发送所述第一 UE的发现识别码。 进一步地, 所述发送模块 402, 还可以用于在所述第一提示消息中还包 括所述第二 UE包含的应用的标识,在所述近距离业务服务器向所述第一 UE 发送第二提示消息之前, 向所述应用的标识对应的应用服务器发送身份验证 请求消息,所述身份验证请求消息中携带所述第一 UE和所述第二 UE的近距 离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标识;
所述接收模块 401, 还用于接收所述应用的标识对应的应用服务器返回 的身份确认消息, 所述身份确认消息用于表明所述第一 UE 和所述第二 UE 允许互相发现。 本实施例的近距离业务服务器, 可以用于执行图 2或图 3所示方法实 施例中对应近距离业务服务器执行的技术方案, 其实现原理和技术效果类 似, 此处不再赘述。
图 6为本发明 UE实施例一的结构示意图, 本实施例的 UE对应于第 一 UE, 如图 6所示, 本实施例的 UE 600可以包括: 发送模块 601和接收模 块 602, 其中,
发送模块 601, 用于广播发送通告消息, 所述通告消息中包括所述第一 UE的标识和所述第一 UE的发现识别码;
接收模块 602, 用于接收近距离业务服务器发送的第二提示消息, 所述 第二提示消息中包括所述第一 UE的发现识别码和第二 UE的信息,其中,所 述第二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通 过向所述近距离业务服务器发送的第一提示消息中携带的, 所述第二 UE 的 信息包括所述第二 UE的近距离业务标识和以下至少一个:所述第二 UE的应 用用户标识和所述第二 UE的发现识别码;
所述发送模块 601, 还用于向所述近距离业务服务器发送响应消息, 所 述响应消息用于表明所述第一 UE 已收到所述第二提示消息, 获知所述第二 UE响应了所述通告消息。
本实施例的 UE, 可以用于执行图 2所示方法实施例中对应第一 UE执 行的技术方案, 其实现原理类似, 此处不再赘述。
本实施例的 UE, 通过广播发送通告消息, 并接收近距离业务服务器发送 的第二提示消息, 该第二提示消息中包括所述第一 UE 的发现识别码和第二 UE的信息, 其中, 所述第二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通过向所述近距离业务服务器发送的第一提示消息中 携带的,因此本实施例的 UE能够获知关于第二 UE已发现该第一 UE的信息, 然后向近距离业务服务器发送响应消息, 表示已获知该信息, 使得近距离业 务服务器再向第二 UE发送确认消息; 可以看出, 第一 UE和第二 UE在近 距离服务器的辅助下实现近距离发现的过程, 由于近距离服务器的介入, 尤其是由近距离业务服务器向第一 UE发送第二提示消息, 通知第一 UE关 于第二 UE已发现第一 UE的信息, 能够提高第一 UE接收到该信息的成功 率, 从而提高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间 不直接发送消息, 因此, 能够防止攻击者通过冒充某个 UE的方式进行攻 击, 从而能够提高安全性; 同时, 由于近距离服务器的介入, 本实施例的 方法对于运营商来说是可见和可控的, 更符合运营商的利益。
图 7为本发明 UE实施例二的结构示意图, 如图 7所示, 本实施例的 UE 700在图 6所示实施例的基础上, 还可以包括: 判断模块 603, 该判断模 块 603可以用于:
在所述发送模块 601 向所述近距离业务服务器发送响应消息之前, 确认 所述近距离业务服务器发送的第一提示消息中的所述第一 UE的发现识别码 是否为所述第一 UE发送的发现识别码;
若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或所 述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE; 所述发送模块 601具体用于:
当所述判断模块 603判断允许所述第二 UE发现所述第一 UE时,向所述 近距离业务服务器发送响应消息。
进一步地, 所述发送模块 601, 还用于向所述近距离业务服务器发送注 册请求;
所述接收模块 602, 还用于接收所述近距离业务服务器发送的注册确认 消息, 所述注册确认消息中包含所述近距离业务服务器为所述第一 UE分配 的近距离业务标识和发现识别码。
本实施例的 UE,可以用于执行图 2或图 3所示方法实施例中对应第一
UE执行的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 8为本发明 UE实施例三的结构示意图, 本实施例的 UE对应于第 二 UE, 如图 8所示, 本实施例的 UE 800可以包括: 接收模块 801、 判断模 块 802和发送模块 803, 其中,
接收模块 801,用于接收第一 UE广播发送的通告消息,所述通告消息中 包括所述第一 UE的标识和所述第一 UE的发现识别码;
判断模块 802, 用于根据所述第一 UE的发现识别码确定需要与所述第 一 UE互相发现;
发送模块 803, 用于向近距离业务服务器发送第一提示消息, 所述第一 提示消息中包含中包括所述第一 UE的近距离业务标识、所述第一 UE的发现 识别码和所述第二 UE的信息,所述第二 UE的信息包括所述第二 UE的近距 离业务标识和以下至少一个: 所述第二 UE 的应用用户标识和所述第二 UE 的发现识别码;
所述接收模块 801, 还用于接收所述近距离业务服务器向发送的确认消 息, 所述确认消息为所述近距离业务服务器向所述第一 UE发送第二提示消 息并接收所述第一 UE返回的响应消息后发送的, 所述确认消息用于向所述 第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应 了所述通告消息。
进一步地, 所述发送模块 803, 还用于向所述近距离业务服务器发送注 册请求;
所述接收模块 801, 还用于接收所述近距离业务服务器发送的注册确认 消息, 所述注册确认消息中包含所述近距离业务服务器为所述第二 UE分配 的近距离业务标识和发现识别码。
进一步地, 所述接收模块 801, 还用于在接收所述近距离业务服务器发 送的注册确认消息之后, 接收所述近距离业务服务器发送的所述第一 UE 的 发现识别码,从而所述判断模块 802能够根据所述通告消息中携带的第一 UE 的发现识别码确定是否需要与第一 UE互相发现。
本实施例的 UE,可以用于执行图 2或图 3所示方法实施例中对应第二 UE执行的技术方案, 其实现原理类似, 此处不再赘述。
本实施例的 UE,通过在监听到第一 UE发送的通告消息后通过向所述近 距离业务服务器发送的第一提示消息, 该第一提示消息中包括所述第一 UE 的发现识别码和第二 UE的信息,使近距离业务服务器向第一 UE发送第二提 示消息, 以通知第一 UE关于第二 UE已发现该第一 UE的信息, 并且在近距 离业务服务器在收到第一 UE发送的已获知第二 UE已发现该第一 UE的信息 的响应消息后, 第二 UE通过接收近距离业务服务器发送的确认消息, 完成 与第一 UE互相发现的过程; 可以看出, 第一 UE和第二 UE在近距离服务 器的辅助下实现近距离发现的过程, 由于近距离服务器的介入, 尤其是由 近距离业务服务器向第一 UE发送第二提示消息,通知第一 UE关于第二 UE 已发现第一 UE的信息, 能够提高第一 UE接收到该信息的成功率, 从而提 高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间不直接发送 消息, 因此, 能够防止攻击者通过冒充某个 UE的方式进行攻击, 从而能 够提高安全性; 同时, 由于近距离服务器的介入, 本实施例的方法对于运 营商来说是可见和可控的, 更符合运营商的利益。
图 9为本发明应用服务器实施例一的结构示意图, 本实施例的应用服 务器所对应的应用例如为: QQ、 微信等。 如图 9所示, 本实施例的应用服 务器 900可以包括: 接收模块 901和发送模块 902, 其中,
接收模块 901, 用于接收近距离业务服务器发送的身份验证请求消息, 所述身份验证请求消息中携带第一 UE和第二 UE的近距离业务标识或者携带 所述第一 UE和所述第二 UE的应用用户标识, 所述第一 UE和所述第二 UE 为所述应用服务器对应的应用的用户;
发送模块 902, 用于根据所述第一 UE对应的应用用户标识和所述第二 UE的对应的应用用户标识确认所述第一 UE和所述第二 UE的关系允许互相 发现之后, 向所述近距离业务服务器返回身份确认消息, 所述身份确认消息 用于表明所述第一 UE和所述第二 UE允许互相发现。
本实施例的应用服务器, 可以用于执行图 3所示方法实施例中对应应 用服务器执行的技术方案, 其实现原理类似, 此处不再赘述。
本实施例的应用服务器,通过在近距离业务服务器收到第一提示消息后, 向应用服务器发送身份验证请求消息, 应用服务器确认第一 UE 与第二 UE 是否可以互相发现, 只有在确认允许互相发现时向所述近距离业务服务器发 送身份确认消息,表明所述第一 UE和所述第二 UE允许互相发现,近距离服 务器才向第一 UE发送第二提示消息, 从而能够进一步提高近距离发现的安 全性。
图 10为本发明近距离业务服务器实施例三的结构示意图,如图 10所示, 本实施例的近距离业务服务器可以包括: 接收器 1001、 发送器 1002和处理 器 1003,图中还示出了存储器 1004和总线 1005,该接收器 1001、处理器 1002、 发送器 1003、 存储器 1004通过总线 1005连接并完成相互间的通信。
该总线 1005可以是工业标准体系结构 (Industry Standard Architecture, ISA) 总线、 外部设备互连 (Peripheral Component, PCI) 总线或扩展工业标 准体系结构(Extended lndustry Standard Architecture, EISA)总线等。 该总线 1005可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 10中仅 用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。
存储器 1004 用于存储可执行程序代码, 该程序代码包括计算机操作指 令。 存储器 1004可能包含高速 RAM存储器, 也可能还包括非易失性存储器 (non- volatile memory) , 例如至少一个磁盘存储器。
处理器 1003可以是一个中央处理器 (Central Processing Unit, CPU) , 或者是特定集成电路 (Application Specific Integrated Circuit, ASIC) , 或者 是被配置成实施本发明实施例的一个或多个集成电路。
其中, 接收器 1001, 用于接收第二 UE在监听到第一 UE发送的通告消 息后向所述近距离业务服务器发送的第一提示消息, 所述第一提示消息中包 括所述第一 UE的近距离业务标识、 所述第一 UE的发现识别码和所述第二 UE的信息, 所述第二 UE的信息包括所述第二 UE的近距离业务标识和以下 至少一个: 所述第二 UE的应用用户标识和所述第二 UE的发现识别码; 发送器 1002, 用于向所述第一 UE发送第二提示消息, 所述第二提示消 息中包括所述第一 UE的发现识别码和所述第二 UE的信息;
所述接收器 1001, 还用于接收所述第一 UE发送的响应消息, 所述响应 消息用于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应 了所述通告消息;
所述发送器 1002, 还用于向所述第二 UE发送确认消息, 所述确认消息 用于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第 二 UE响应了所述通告消息。
进一步地, 所述接收器 1001, 还可以用于接收所述第一 UE发送的注册 请求;
所述发送器 1002, 还可以用于向所述第一 UE发送注册确认消息, 所述 注册确认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业 务标识和允许的发现识别码。
进一步地, 处理器 1003, 可以用于在所述近距离业务服务器向所述第 一 UE发送第二提示消息之前,根据所述第一 UE的近距离业务标识识别所述 第一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码; 相应地, 所述发送器 1002具体用于:
若所述处理器 1003确定所述第一 UE允许发送所述第一 UE的发现识别 码, 则向所述第一 UE发送第二提示消息。
进一步地, 发送器 1002具体用于若所述处理器 1003确定所述第一 UE 不允许发送所述第一 UE的发现识别码,则向所述第二 UE发送响应消息,所 述响 一 UE发送的通告消息没有经过授权。
Figure imgf000028_0001
判断所述第一提示消息中包含的所述第一 UE的发现识别码是否为所述 近距离业务服务器为所述第一 UE分配的允许的发现识别码;
若是, 则确定所述第一 UE允许发送所述第一 UE的发现识别码; 若否, 则确定所述第一 UE不允许发送所述第一 UE的发现识别码。 进一步地, 所述发送器 1002, 还可以用于在所述第一提示消息中还包括 所述第二 UE包含的应用的标识, 在所述近距离业务服务器向所述第一 UE 发送第二提示消息之前, 向所述应用的标识对应的应用服务器发送身份验证 请求消息,所述身份验证请求消息中携带所述第一 UE和所述第二 UE的近距 离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标识;
所述接收器 1001, 还用于接收所述应用的标识对应的应用服务器返回的 身份确认消息,所述身份确认消息用于表明所述第一 UE和所述第二 UE允许 互相发现。
本实施例的近距离业务服务器, 可以用于执行图 2或图 3所示方法实 施例中对应近距离业务服务器执行的技术方案, 其实现原理类似, 此处不 再赘述。
本实施例的近距离业务服务器, 接收第二 UE发送的第一提示消息, 并 根据第一提示消息中携带的第一 UE的发现识别码和第二 UE的信息,向第一 UE发送第二提示消息, 通知第一 UE关于第二 UE已发现第一 UE的信息, 第一 UE收到第二提示消息后向近距离业务服务器发送响应消息, 表示已获 知该信息, 近距离业务服务器再向第二 UE发送确认消息; 可以看出, 第一 UE和第二 UE在近距离服务器的辅助下实现近距离发现的过程,由于近距 离服务器的介入, 尤其是由近距离业务服务器向第一 UE发送第二提示消 息, 通知第一 UE关于第二 UE已发现第一 UE的信息, 能够提高第一 UE 接收到该信息的成功率, 从而提高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间不直接发送消息, 因此, 能够防止攻击者通过冒充某 个个 UUEE的的方方式式进进行行攻攻击击,, 从从而而能能够够提提高高安安全全性性;; 同同时时,, 由由于于近近距距离离服服务务器器 的的介介入入,, 本本实实施施例例的的方方法法对对于于运运营营商商来来说说是是可可见见和和可可控控的的,, 更更符符合合运运营营商商 的的利利益益。。
图图 1111为为本本发发明明 UUEE实实施施例例四四的的结结构构示示意意图图,, 本本实实施施例例的的 UUEE对对应应于于第第一一 55 UUEE,, 如如图图 1111所所示示,, 本本实实施施例例的的 UUEE可可以以包包括括:: 发发送送器器 11110011、、 接接收收器器 11110022和和 处处理理器器 11110033,, 图图中中还还示示出出了了存存储储器器 11110044和和总总线线 11110055,, 该该发发送送器器 11110011、、 接接收收 器器 11110022、、处处理理器器 11000033、、存存储储器器 11110044通通过过总总线线 11110055连连接接并并完完成成相相互互间间的的通通信信。。
该该总总线线 11110055可可以以是是工工业业标标准准体体系系结结构构 ((IInndduussttrryy SSttaannddaarrdd AArrcchhiitteeccttuurree,, IISSAA)) 总总线线、、 外外部部设设备备互互连连 ((PPeeriripphheerarall CCoommppoonneenntt,, PPCCII)) 总总线线或或扩扩展展工工业业标标 1100 准准体体系系结结构构 ((EExxtteennddeedd IInndduussttrryy SSttaannddaarrdd AArrcchhiitteeccttuurree,, EEIISSAA))总总线线等等。。 该该总总线线 11110055可可以以分分为为地地址址总总线线、、 数数据据总总线线、、 控控制制总总线线等等。。 为为便便于于表表示示,, 图图 1111 中中仅仅 用用一一条条粗粗线线表表示示,, 但但并并不不表表示示仅仅有有一一根根总总线线或或一一种种类类型型的的总总线线。。
存存储储器器 11110044 用用于于存存储储可可执执行行程程序序代代码码,, 该该程程序序代代码码包包括括计计算算机机操操作作指指 令令。。 存存储储器器 11110044可可能能包包含含高高速速 RRAAMM存存储储器器,, 也也可可能能还还包包括括非非易易失失性性存存储储器器 1155 ((nnoonn-- vvoollaattiillee mmeemmoorryy)) ,, 例例如如至至少少一一个个磁磁盘盘存存储储器器。。
处处理理器器 11110033可可以以是是一一个个中中央央处处理理器器 ((CCeennttrarall PProrocceessssiinngg UUnniitt,, CCPPUU)) ,, 或或者者是是特特定定集集成成电电路路 ((AApppplliiccaattiioonn SSppeecciiffiicc IInntteeggrraatteedd CCiirrccuuiitt,, AASSIICC)) ,, 或或者者 是是被被配配置置成成实实施施本本发发明明实实施施例例的的一一个个或或多多个个集集成成电电路路。。
其其中中,, 发发送送器器 11110011,, 用用于于广广播播发发送送通通告告消消息息,, 所所述述通通告告消消息息中中包包括括所所述述 2200 第第一一 UUEE的的标标识识和和所所述述第第一一 UUEE的的发发现现识识别别码码;;
接接收收器器 11110022,, 用用于于接接收收近近距距离离业业务务服服务务器器发发送送的的第第二二提提示示消消息息,, 所所述述第第 二二提提示示消消息息中中包包括括所所述述第第一一 UUEE的的发发现现识识别别码码和和第第二二 UUEE的的信信息息,,其其中中,,所所述述 第第二二 UUEE的的信信息息为为所所述述第第二二 UUEE在在监监听听到到所所述述第第一一 UUEE发发送送的的通通告告消消息息后后通通过过 向向所所述述近近距距离离业业务务服服务务器器发发送送的的第第一一提提示示消消息息中中携携带带的的,, 所所述述第第二二 UUEE的的信信 2255 息息包包括括所所述述第第二二 UUEE的的近近距距离离业业务务标标识识和和以以下下至至少少一一个个::所所述述第第二二 UUEE的的应应用用 用用户户标标识识和和所所述述第第二二 UUEE的的发发现现识识别别码码;;
所所述述发发送送器器 11110011,, 还还用用于于向向所所述述近近距距离离业业务务服服务务器器发发送送响响应应消消息息,, 所所述述 响响应应消消息息用用于于表表明明所所述述第第一一 UUEE已已收收到到所所述述第第二二提提示示消消息息,, 获获知知所所述述第第二二 UUEE 响响应应了了所所述述通通告告消消息息。。
Figure imgf000029_0001
在在所所述述发发送送器器 11110011向向所所述述近近距距离离业业务务服服务务器器发发送送响响应应消消息息之之前前,,确确认认所所 述近距离业务服务器发送的第一提示消息中的所述第一 UE的发现识别码是 否为所述第一 UE发送的发现识别码;
若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或所 述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE;
所述发送器 1101具体用于:
当所述处理器 1103判断允许所述第二 UE发现所述第一 UE时, 向所述 近距离业务服务器发送响应消息。
进一步地, 所述发送器 1101, 还用于向所述近距离业务服务器发送注册 请求;
所述接收器 1102, 还用于接收所述近距离业务服务器发送的注册确认消 息, 所述注册确认消息中包含所述近距离业务服务器为所述第一 UE分配的 近距离业务标识和发现识别码。
本实施例的 UE,可以用于执行图 2或图 3所示方法实施例中对应第一 UE执行的技术方案, 其实现原理类似, 此处不再赘述。
本实施例的 UE,通过广播发送通告消息, 并接收近距离业务服务器发送 的第二提示消息, 该第二提示消息中包括所述第一 UE 的发现识别码和第二 UE的信息, 其中, 所述第二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通过向所述近距离业务服务器发送的第一提示消息中 携带的,因此本实施例的 UE能够获知关于第二 UE已发现该第一 UE的信息, 然后向近距离业务服务器发送响应消息, 表示已获知该信息, 使得近距离业 务服务器再向第二 UE发送确认消息; 可以看出, 第一 UE和第二 UE在近 距离服务器的辅助下实现近距离发现的过程, 由于近距离服务器的介入, 尤其是由近距离业务服务器向第一 UE发送第二提示消息, 通知第一 UE关 于第二 UE已发现第一 UE的信息, 能够提高第一 UE接收到该信息的成功 率, 从而提高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间 不直接发送消息, 因此, 能够防止攻击者通过冒充某个 UE的方式进行攻 击, 从而能够提高安全性; 同时, 由于近距离服务器的介入, 本实施例的 方法对于运营商来说是可见和可控的, 更符合运营商的利益。
图 12为本发明 UE实施例五的结构示意图, 本实施例的 UE对应于第二 UE, 如图 12所示, 本实施例的 UE可以包括: 接收器 1201、 处理器 1202和 发送器 1203, 图中还示出了存储器 1204和总线 1205, 该接收器 1201、 处理 器 1202、发送器 1203、存储器 1204通过总线 1205连接并完成相互间的通信。
该总线 1205可以是工业标准体系结构 (Industry Standard Architecture, ISA) 总线、 外部设备互连 (Peripheral Component, PCI) 总线或扩展工业标 准体系结构(Extended lndustry Standard Architecture, EISA)总线等。 该总线 1205可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 12中仅 用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。
存储器 1204 用于存储可执行程序代码, 该程序代码包括计算机操作指 令。 存储器 1204可能包含高速 RAM存储器, 也可能还包括非易失性存储器 (non- volatile memory) , 例如至少一个磁盘存储器。
处理器 1202可以是一个中央处理器 (Central Processing Unit, CPU) , 或者是特定集成电路 (Application Specific Integrated Circuit, ASIC) , 或者 是被配置成实施本发明实施例的一个或多个集成电路。
其中, 接收器 1201, 用于接收第一 UE广播发送的通告消息, 所述通告 消息中包括所述第一 UE的标识和所述第一 UE的发现识别码;
处理器 1202, 用于根据所述第一 UE的发现识别码确定需要与所述第 一 UE互相发现;
发送器 1203, 用于向近距离业务服务器发送第一提示消息, 所述第一提 示消息中包含中包括所述第一 UE的近距离业务标识、所述第一 UE的发现识 别码和所述第二 UE的信息,所述第二 UE的信息包括所述第二 UE的近距离 业务标识和以下至少一个:所述第二 UE的应用用户标识和所述第二 UE的发 现识别码;
所述接收器 1201,还用于接收所述近距离业务服务器向发送的确认消息, 所述确认消息为所述近距离业务服务器向所述第一 UE发送第二提示消息并 接收所述第一 UE返回的响应消息后发送的, 所述确认消息用于向所述第二 UE通知所述第一 UE已收到所述第二提示消息, 获知所述第二 UE响应了所 述通告消息。
进一步地, 所述发送器 1203, 还用于向所述近距离业务服务器发送注册 请求;
所述接收器 1201, 还用于接收所述近距离业务服务器发送的注册确认消 息, 所述注册确认消息中包含所述近距离业务服务器为所述第二 UE分配的 近距离业务标识和发现识别码。
进一步地, 所述接收器 1201, 还用于在接收所述近距离业务服务器发送 的注册确认消息之后, 接收所述近距离业务服务器发送的所述第一 UE的发 现识别码, 从而所述处理器 1202能够根据所述通告消息中携带的第一 UE的 发现识别码确定是否需要与第一 UE互相发现。
本实施例的 UE,可以用于执行图 2或图 3所示方法实施例中对应第二 UE执行的技术方案, 其实现原理类似, 此处不再赘述。
本实施例的 UE,通过在监听到第一 UE发送的通告消息后通过向所述近 距离业务服务器发送的第一提示消息, 该第一提示消息中包括所述第一 UE 的发现识别码和第二 UE的信息,使近距离业务服务器向第一 UE发送第二提 示消息, 以通知第一 UE关于第二 UE已发现该第一 UE的信息, 并且在近距 离业务服务器在收到第一 UE发送的已获知第二 UE已发现该第一 UE的信息 的响应消息后, 第二 UE通过接收近距离业务服务器发送的确认消息, 完成 与第一 UE互相发现的过程; 可以看出, 第一 UE和第二 UE在近距离服务 器的辅助下实现近距离发现的过程, 由于近距离服务器的介入, 尤其是由 近距离业务服务器向第一 UE发送第二提示消息,通知第一 UE关于第二 UE 已发现第一 UE的信息, 能够提高第一 UE接收到该信息的成功率, 从而提 高近距离发现的成功率; 并且, 由于第二 UE与第一 UE之间不直接发送 消息, 因此, 能够防止攻击者通过冒充某个 UE的方式进行攻击, 从而能 够提高安全性; 同时, 由于近距离服务器的介入, 本实施例的方法对于运 营商来说是可见和可控的, 更符合运营商的利益。
图 13为本发明应用服务器实施例二的结构示意图,本实施例的应用服务 器所对应的应用例如为: QQ、 微信等。 如图 13所示, 本实施例的应用服务 器可以包括: 接收器 1301和发送器 1302, 图中还示出了处理器 1303、 存储 器 1304和总线 1305, 该接收器 1301、 发送器 1302、 处理器 1303、 存储器 1304通过总线 1305连接并完成相互间的通信。
该总线 1305可以是工业标准体系结构 (Industry Standard Architecture, ISA) 总线、 外部设备互连 (Peripheral Component, PCI) 总线或扩展工业标 准体系结构(Extended lndustry Standard Architecture, EISA)总线等。 该总线 1305可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 13 中仅 用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。 存储器 1304 用于存储可执行程序代码, 该程序代码包括计算机操作指 令。 存储器 1304可能包含高速 RAM存储器, 也可能还包括非易失性存储器 (non- volatile memory) , 例如至少一个磁盘存储器。
处理器 1303可以是一个中央处理器 (Central Processing Unit, CPU) , 或者是特定集成电路 (Application Specific Integrated Circuit, ASIC) , 或者 是被配置成实施本发明实施例的一个或多个集成电路。
其中, 接收器 1301, 用于接收近距离业务服务器发送的身份验证请求消 息,所述身份验证请求消息中携带第一 UE和第二 UE的近距离业务标识或者 携带所述第一 UE和所述第二 UE的应用用户标识,所述第一 UE和所述第二 UE为所述应用服务器对应的应用的用户;
发送器 1302,用于根据所述第一 UE对应的应用用户标识和所述第二 UE 的对应的应用用户标识确认所述第一 UE和所述第二 UE的关系允许互相发现 之后, 向所述近距离业务服务器返回身份确认消息, 所述身份确认消息用于 表明所述第一 UE和所述第二 UE允许互相发现。
本实施例的应用服务器, 可以用于执行图 3所示方法实施例中对应应 用服务器执行的技术方案, 其实现原理类似, 此处不再赘述。
本实施例的应用服务器,通过在近距离业务服务器收到第一提示消息后, 向应用服务器发送身份验证请求消息, 应用服务器确认第一 UE 与第二 UE 是否可以互相发现, 只有在确认允许互相发现时向所述近距离业务服务器发 送身份确认消息,表明所述第一 UE和所述第二 UE允许互相发现,近距离服 务器才向第一 UE发送第二提示消息, 从而能够进一步提高近距离发现的安 全性。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种近距离发现方法, 其特征在于, 包括:
近距离业务服务器接收第二 UE在监听到第一 UE发送的通告消息后向所 述近距离业务服务器发送的第一提示消息, 所述第一提示消息中包括所述第 一 UE的近距离业务标识、所述第一 UE的发现识别码和所述第二 UE的信息, 所述第二 UE的信息包括所述第二 UE的近距离业务标识和以下至少一个:所 述第二 UE的应用用户标识和所述第二 UE的发现识别码;
所述近距离业务服务器向所述第一 UE发送第二提示消息, 所述第二提 示消息中包括所述第一 UE的发现识别码和所述第二 UE的信息;
所述近距离业务服务器接收所述第一 UE发送的响应消息, 所述响应消 息用于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了 所述通告消息;
所述近距离业务服务器向所述第二 UE发送确认消息, 所述确认消息用 于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了所述通告消息。
2、 根据权利要求 1所述的方法, 其特征在于, 在所述近距离业务服务器 接收第二 UE在监听到第一 UE发送的通告消息后向所述近距离业务服务器发 送的第一提示消息之前, 还包括:
所述近距离业务服务器接收所述第一 UE发送的注册请求;
所述近距离业务服务器向所述第一 UE发送注册确认消息, 所述注册确 认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务标识 和允许的发现识别码。
3、 根据权利要求 2所述的方法, 其特征在于, 在所述近距离业务服务器 向所述第一 UE发送第二提示消息之前, 还包括:
所述近距离业务服务器根据所述第一 UE的近距离业务标识识别所述第 一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码;
所述近距离业务服务器向所述第一 UE发送第二提示消息, 包括: 若所述近距离业务服务器确定所述第一 UE允许发送所述第一 UE的发现 识别码, 则向所述第一 UE发送第二提示消息。
4、 根据权利要求 3所述的方法, 其特征在于, 在所述近距离业务服务器 根据所述第一 UE的近距离业务标识识别所述第一 UE, 并检查所述第一 UE 是否允许发送所述第一 UE的发现识别码之后, 还包括:
若否, 则所述近距离业务服务器向所述第二 UE发送响应消息, 所述响 应消息用于表明所述第一 UE发送的通告消息没有经过授权。
5、 根据权利要求 3或 4中所述的方法, 其特征在于, 所述近距离业务服 务器根据所述第一 UE的近距离业务标识识别所述第一 UE, 并检查所述第一 UE是否允许发送所述第一 UE的发现识别码, 包括:
所述近距离业务服务器判断所述第一提示消息中包含的所述第一 UE 的 发现识别码是否为所述近距离业务服务器为所述第一 UE分配的允许的发现 识别码;
若是,则所述近距离业务服务器确定所述第一 UE允许发送所述第一 UE 的发现识别码;
若否, 则所述近距离业务服务器确定所述第一 UE不允许发送所述第一 UE的发现识别码。
6、 根据权利要求 1~5中任一项所述的方法, 其特征在于, 所述第一提示 消息中还包括所述第二 UE包含的应用的标识, 在所述近距离业务服务器向 所述第一 UE发送第二提示消息之前, 还包括:
所述近距离业务服务器向所述应用的标识对应的应用服务器发送身份验 证请求消息,所述身份验证请求消息中携带所述第一 UE和所述第二 UE的近 距离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标识;
所述近距离业务服务器接收所述应用的标识对应的应用服务器返回的身 份确认消息,所述身份确认消息用于表明所述第一 UE和所述第二 UE允许互 相发现。
7、 一种近距离发现方法, 其特征在于, 包括:
第一 UE广播发送通告消息, 所述通告消息中包括所述第一 UE的标识 和所述第一 UE的发现识别码;
所述第一 UE接收近距离业务服务器发送的第二提示消息, 所述第二提 示消息中包括所述第一 UE的发现识别码和第二 UE的信息,其中,所述第二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通过向所 述近距离业务服务器发送的第一提示消息中携带的, 所述第二 UE的信息包 括所述第二 UE的近距离业务标识和以下至少一个:所述第二 UE的应用用户 标识和所述第二 UE的发现识别码;
所述第一 UE 向所述近距离业务服务器发送响应消息, 所述响应消息用 于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了所述 通告消息。
8、 根据权利要求 7所述的方法, 其特征在于, 在所述第一 UE向所述近 距离业务服务器发送响应消息之前, 还包括:
所述第一 UE确认所述近距离业务服务器发送的第一提示消息中的所述 第一 UE的发现识别码是否为所述第一 UE发送的发现识别码;
若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或所 述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE;
所述第一 UE向所述近距离业务服务器发送响应消息, 包括:
当所述第一 UE判断允许所述第二 UE发现所述第一 UE时, 向所述近距 离业务服务器发送响应消息。
9、 根据权利要求 7或 8所述的方法, 其特征在于, 在所述第一 UE广播 发送通告消息之前, 还包括:
所述第一 UE向所述近距离业务服务器发送注册请求;
所述第一 UE接收所述近距离业务服务器发送的注册确认消息, 所述注 册确认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务 标识和发现识别码。
10、 一种近距离发现方法, 其特征在于, 包括:
第二 UE接收第一 UE广播发送的通告消息, 所述通告消息中包括所述 第一 UE的标识和所述第一 UE的发现识别码;
所述第二 UE根据所述第一 UE的发现识别码确定需要与所述第一 UE 互相发现;
所述第二 UE 向近距离业务服务器发送第一提示消息, 所述第一提示消 息中包含中包括所述第一 UE的近距离业务标识、所述第一 UE的发现识别码 和所述第二 UE的信息,所述第二 UE的信息包括所述第二 UE的近距离业务 标识和以下至少一个:所述第二 UE的应用用户标识和所述第二 UE的发现识 别码; 所述第二 UE接收所述近距离业务服务器发送的确认消息, 所述确认消 息为所述近距离业务服务器向所述第一 UE发送第二提示消息并接收所述第 一 UE返回的响应消息后发送的,所述确认消息用于向所述第二 UE通知所述 第一 UE已收到所述第二提示消息, 获知所述第二 UE响应了所述通告消息。
11、 根据权利要求 10所述的方法, 其特征在于, 在所述第二 UE接收第 一 UE广播发送的通告消息之前, 还包括:
所述第二 UE向所述近距离业务服务器发送注册请求;
所述第二 UE接收所述近距离业务服务器发送的注册确认消息, 所述注 册确认消息中包含所述近距离业务服务器为所述第二 UE分配的近距离业务 标识和发现识别码。
12、 根据权利要求 11所述的方法, 其特征在于, 在所述第二 UE接收所 述近距离业务服务器发送的注册确认消息之后, 还包括:
所述第二 UE接收所述近距离业务服务器发送的所述第一 UE的发现识别 码。
13、 一种近距离发现方法, 其特征在于, 包括:
应用服务器接收近距离业务服务器发送的身份验证请求消息, 所述身份 验证请求消息中携带第一 UE和第二 UE的近距离业务标识或者携带所述第一 UE和所述第二 UE的应用用户标识, 所述第一 UE和所述第二 UE为所述应 用服务器对应的应用的用户;
所述应用服务器根据所述第一 UE对应的应用用户标识和所述第二 UE 的对应的应用用户标识确认所述第一 UE和所述第二 UE的关系允许互相发现 之后, 向所述近距离业务服务器返回身份确认消息, 所述身份确认消息用于 表明所述第一 UE和所述第二 UE允许互相发现。
14、 一种近距离业务服务器, 其特征在于, 包括:
接收模块,用于接收第二 UE在监听到第一 UE发送的通告消息后向所述 近距离业务服务器发送的第一提示消息, 所述第一提示消息中包括所述第一 UE的近距离业务标识、 所述第一 UE的发现识别码和所述第二 UE的信息, 所述第二 UE的信息包括所述第二 UE的近距离业务标识和以下至少一个:所 述第二 UE的应用用户标识和所述第二 UE的发现识别码;
发送模块, 用于向所述第一 UE发送第二提示消息, 所述第二提示消息 中包括所述第一 UE的发现识别码和所述第二 UE的信息;
所述接收模块, 还用于接收所述第一 UE发送的响应消息, 所述响应消 息用于表明所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了 所述通告消息;
所述发送模块, 还用于向所述第二 UE发送确认消息, 所述确认消息用 于向所述第二 UE通知所述第一 UE已收到所述第二提示消息,获知所述第二 UE响应了所述通告消息。
15、 根据权利要求 14所述的近距离业务服务器, 其特征在于:
所述接收模块, 还用于接收所述第一 UE发送的注册请求;
所述发送模块, 还用于向所述第一 UE发送注册确认消息, 所述注册确 认消息中包含所述近距离业务服务器为所述第一 UE分配的近距离业务标识 和允许的发现识别码。
16、 根据权利要求 15所述的近距离业务服务器, 其特征在于, 还包括: 检查模块, 用于在所述近距离业务服务器向所述第一 UE发送第二提示 消息之前, 根据所述第一 UE的近距离业务标识识别所述第一 UE, 并检查所 述第一 UE是否允许发送所述第一 UE的发现识别码;
所述发送模块具体用于:
若所述检查模块确定所述第一 UE允许发送所述第一 UE的发现识别码, 则向所述第一 UE发送第二提示消息。
17、 根据权利要求 16所述的近距离业务服务器, 其特征在于:
发送模块具体用于若所述检查模块确定所述第一 UE不允许发送所述第 一 UE的发现识别码,则向所述第二 UE发送响应消息,所述响应消息用于表 明所述第一 UE发送的通告消息没有经过授权。
18、 根据权利要求 16或 17中所述的近距离业务服务器, 其特征在于, 所述检查模块具体用于:
判断所述第一提示消息中包含的所述第一 UE的发现识别码是否为所述 近距离业务服务器为所述第一 UE分配的允许的发现识别码;
若是, 则确定所述第一 UE允许发送所述第一 UE的发现识别码; 若否, 则确定所述第一 UE不允许发送所述第一 UE的发现识别码。
19、 根据权利要求 14~18中任一项所述的近距离业务服务器, 其特征在 于:
所述发送模块, 还用于在所述第一提示消息中还包括所述第二 UE包含 的应用的标识, 在所述近距离业务服务器向所述第一 UE发送第二提示消息 之前, 向所述应用的标识对应的应用服务器发送身份验证请求消息, 所述身 份验证请求消息中携带所述第一 UE和所述第二 UE的近距离业务标识或者携 带所述第一 UE和所述第二 UE的应用用户标识;
所述接收模块, 还用于接收所述应用的标识对应的应用服务器返回的身 份确认消息,所述身份确认消息用于表明所述第一 UE和所述第二 UE允许互 相发现。
20、 一种用户设备 UE, 其特征在于, 所述 UE为第一 UE, 所述第一 UE 包括:
发送模块, 用于广播发送通告消息, 所述通告消息中包括所述第一 UE 的标识和所述第一 UE的发现识别码;
接收模块, 用于接收近距离业务服务器发送的第二提示消息, 所述第二 提示消息中包括所述第一 UE的发现识别码和第二 UE的信息,其中,所述第 二 UE的信息为所述第二 UE在监听到所述第一 UE发送的通告消息后通过向 所述近距离业务服务器发送的第一提示消息中携带的, 所述第二 UE 的信息 包括所述第二 UE的近距离业务标识和以下至少一个:所述第二 UE的应用用 户标识和所述第二 UE的发现识别码;
所述发送模块, 还用于向所述近距离业务服务器发送响应消息, 所述响 应消息用于表明所述第一 UE 已收到所述第二提示消息, 获知所述第二 UE 响应了所述通告消息。
21、 根据权利要求 20所述的 UE, 其特征在于, 还包括:
判断模块, 用于在所述发送模块向所述近距离业务服务器发送响应消息 之前, 确认所述近距离业务服务器发送的第一提示消息中的所述第一 UE 的 发现识别码是否为所述第一 UE发送的发现识别码;
若是, 则根据所述第一提示消息中的所述第二 UE的应用用户标识或所 述第二 UE的发现识别码判断是否允许所述第二 UE发现所述第一 UE;
所述发送模块具体用于:
当所述判断模块判断允许所述第二 UE发现所述第一 UE时,向所述近距 离业务服务器发送响应消息。
22、 根据权利要求 20或 21所述的 UE, 其特征在于:
所述发送模块, 还用于向所述近距离业务服务器发送注册请求; 所述接收模块,还用于接收所述近距离业务服务器发送的注册确认消息, 所述注册确认消息中包含所述近距离业务服务器为所述第一 UE分配的近距 离业务标识和发现识别码。
23、 一种用户设备 UE, 其特征在于, 所述 UE为第二 UE, 所述第二 UE 包括:
接收模块, 用于接收第一 UE广播发送的通告消息, 所述通告消息中包 括所述第一 UE的标识和所述第一 UE的发现识别码;
判断模块, 用于根据所述第一 UE 的发现识别码确定需要与所述第一 UE互相发现;
发送模块, 用于向近距离业务服务器发送第一提示消息, 所述第一提示 消息中包含中包括所述第一 UE的近距离业务标识、所述第一 UE的发现识别 码和所述第二 UE的信息,所述第二 UE的信息包括所述第二 UE的近距离业 务标识和以下至少一个:所述第二 UE的应用用户标识和所述第二 UE的发现 识别码;
所述接收模块, 还用于接收所述近距离业务服务器向发送的确认消息, 所述确认消息为所述近距离业务服务器向所述第一 UE发送第二提示消息并 接收所述第一 UE返回的响应消息后发送的, 所述确认消息用于向所述第二 UE通知所述第一 UE已收到所述第二提示消息, 获知所述第二 UE响应了所 述通告消息。
24、 根据权利要求 23所述的 UE, 其特征在于:
所述发送模块, 还用于向所述近距离业务服务器发送注册请求; 所述接收模块,还用于接收所述近距离业务服务器发送的注册确认消息, 所述注册确认消息中包含所述近距离业务服务器为所述第二 UE分配的近距 离业务标识和发现识别码。
25、 根据权利要求 24所述的 UE, 其特征在于:
所述接收模块, 还用于在接收所述近距离业务服务器发送的注册确认消 息之后, 接收所述近距离业务服务器发送的所述第一 UE的发现识别码。
26、 一种应用服务器, 其特征在于, 包括:
接收模块, 用于接收近距离业务服务器发送的身份验证请求消息, 所述 身份验证请求消息中携带第一 UE和第二 UE的近距离业务标识或者携带所述 第一 UE和所述第二 UE的应用用户标识, 所述第一 UE和所述第二 UE为所 述应用服务器对应的应用的用户;
发送模块, 用于根据所述第一 UE对应的应用用户标识和所述第二 UE 的对应的应用用户标识确认所述第一 UE和所述第二 UE的关系允许互相发现 之后, 向所述近距离业务服务器返回身份确认消息, 所述身份确认消息用于 表明所述第一 UE和所述第二 UE允许互相发现。
PCT/CN2013/089415 2013-12-13 2013-12-13 近距离发现方法和装置 WO2015085591A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380003794.0A CN105052183B (zh) 2013-12-13 2013-12-13 近距离发现方法和装置
PCT/CN2013/089415 WO2015085591A1 (zh) 2013-12-13 2013-12-13 近距离发现方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/089415 WO2015085591A1 (zh) 2013-12-13 2013-12-13 近距离发现方法和装置

Publications (1)

Publication Number Publication Date
WO2015085591A1 true WO2015085591A1 (zh) 2015-06-18

Family

ID=53370539

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/089415 WO2015085591A1 (zh) 2013-12-13 2013-12-13 近距离发现方法和装置

Country Status (2)

Country Link
CN (1) CN105052183B (zh)
WO (1) WO2015085591A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282688A (zh) * 2015-10-30 2016-01-27 东莞酷派软件技术有限公司 一种信息传输的方法及路侧单元

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683342B (zh) * 2020-06-10 2022-01-18 联想(北京)有限公司 一种信息处理方法、装置及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469A (zh) * 2012-04-13 2013-10-30 华为技术有限公司 近距离信息的注册方法、查询方法和用户设备
CN103379580A (zh) * 2012-04-13 2013-10-30 华为技术有限公司 设备发现的方法、设备和系统
CN103428250A (zh) * 2012-05-23 2013-12-04 联想(北京)有限公司 匹配设备的方法、服务器和终端设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428630A (zh) * 2012-05-21 2013-12-04 华为终端有限公司 一种终端的搜索方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469A (zh) * 2012-04-13 2013-10-30 华为技术有限公司 近距离信息的注册方法、查询方法和用户设备
CN103379580A (zh) * 2012-04-13 2013-10-30 华为技术有限公司 设备发现的方法、设备和系统
CN103428250A (zh) * 2012-05-23 2013-12-04 联想(北京)有限公司 匹配设备的方法、服务器和终端设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282688A (zh) * 2015-10-30 2016-01-27 东莞酷派软件技术有限公司 一种信息传输的方法及路侧单元
WO2017071137A1 (zh) * 2015-10-30 2017-05-04 宇龙计算机通信科技(深圳)有限公司 一种信息传输的方法及路侧单元
CN105282688B (zh) * 2015-10-30 2018-12-25 东莞酷派软件技术有限公司 一种信息传输的方法及路侧单元

Also Published As

Publication number Publication date
CN105052183A (zh) 2015-11-11
CN105052183B (zh) 2019-04-26

Similar Documents

Publication Publication Date Title
US11627515B2 (en) Method for supporting lawful interception of remote ProSe UE in network
US11354136B2 (en) Machine-to-machine bootstrapping
KR101877188B1 (ko) Mqtt 프로토콜을 이용한 서비스 층 상호연동
EP2997773B1 (en) Scheme for discovery in a communication network
WO2015131831A1 (zh) 一种通信的方法和设备
EP2983442B1 (en) Method and device for implementing proximity communication service
KR101929868B1 (ko) 연결 확립 방법, 장치, 및 시스템
US20210392574A1 (en) Procedure to update the parameters related to unified access control
US20200187003A1 (en) Methods and apparatus for end device discovering another end device
US11190438B2 (en) Twinning service for groups of internet of things (IOT) devices
US10425812B2 (en) Method and apparatus for establishment of private communication between devices
CN105828413A (zh) 一种d2d模式b发现的安全方法、终端和系统
EP2824967A1 (en) Device discovery method, device, and system
US9781753B2 (en) Proximity map request method, server and network entity using the same, proximity request validating method, and server and network entity using the same
US10455358B2 (en) Prose information transmission method, terminal, and communications device
WO2015085591A1 (zh) 近距离发现方法和装置
WO2016074137A1 (zh) 一种近距离业务实现的方法、相关装置和系统
JP2019531668A (ja) モバイル通信ネットワークにおける近接サービスアクセス
CN105530620B (zh) 一种直接发现的方法、装置及通信系统
WO2016146036A1 (zh) 信息共享方法、移动终端和信息共享系统
JP2017147582A (ja) 無線通信端末

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380003794.0

Country of ref document: CN

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

Ref document number: 13898978

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

Country of ref document: EP

Kind code of ref document: A1