CN105052183B - Closely discovery method and apparatus - Google Patents

Closely discovery method and apparatus Download PDF

Info

Publication number
CN105052183B
CN105052183B CN201380003794.0A CN201380003794A CN105052183B CN 105052183 B CN105052183 B CN 105052183B CN 201380003794 A CN201380003794 A CN 201380003794A CN 105052183 B CN105052183 B CN 105052183B
Authority
CN
China
Prior art keywords
short distance
message
distance service
service server
identification code
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201380003794.0A
Other languages
Chinese (zh)
Other versions
CN105052183A (en
Inventor
马景旺
欧阳国威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105052183A publication Critical patent/CN105052183A/en
Application granted granted Critical
Publication of CN105052183B publication Critical patent/CN105052183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of short distance discovery method and apparatus, wherein, method includes: that short distance business ProSe server receives the first prompting message that the 2nd UE is sent after the notice message for listening to the first UE transmission to ProSe server, first prompting message includes ProSe ID, the discovery identification code of the first UE and the information of the 2nd UE of the first UE, the information of 2nd UE includes the ProSe ID of the 2nd UE, further includes the 2nd UE using user identifier or the discovery identification code of the 2nd UE;ProSe server sends the second prompting message to the first UE, the information of discovery identification code and the 2nd UE including the first UE in the second prompting message;ProSe server receives the response message that the first UE is sent;ProSe server sends confirmation message to the 2nd UE and knows that the 2nd UE has responded notice message for notifying the first UE to have been received by the second prompting message to the 2nd UE.

Description

Closely discovery method and apparatus
Technical field
The present invention relates to the communication technologys more particularly to a kind of short distance to find method and apparatus.
Background technique
In a wireless communication system, with the extensive use that social category is applied, short distance function is more and more important, closely Function includes closely discovery and short-range communication function.For example, user want to understand in time good friend occur around or Person leaves.Closely the function of discovery will be that people's lives and work become more convenient.For example, when user reaches office After, by short distance discovery feature, it can recognize which colleague is also up to office at once.Short-range communication function It can be used and directly establish communication by close range communication techniques between family.
The short distance discovery procedure of the prior art are as follows: the first user equipment (User Equipment, abbreviation UE) is directly wide Notice message Announcing message is broadcast, includes the mark of the first UE, such as short distance business in the notice message (Proximity Service, referred to as: ProSe) is the mark of the first UE distribution: ProSe UE ID and discovery identification code Announcing code.It was found that identification code is used to protect the safety of user and application by the temporary identifier of network distribution In identify the UE can provide application or service, or identify in the UE some application user (Application user);2nd UE monitors the discovery message of surrounding using reception device, if it find that the announcing of the good friend of oneself Code, the judgment module of the 2nd UE are notified that existing using its good friend of ProSe Application for corresponding short distance business Near it, in addition the 2nd UE is also required to notify the first UE, for example, the 2nd UE can send discovery response message to the first UE response。
But the short distance of the prior art finds method, the first UE, which may not received, all have been had sent response and has disappeared Discovery response message transmitted by the UE of breath.Such as when the 2nd UE and the 3rd UE sends discovery response message to the first UE simultaneously When, the first UE may only receive a discovery response message, that is, and the reliability and success rate of this method are lower,
Summary of the invention
The embodiment of the present invention provides a kind of short distance discovery method and apparatus, with improve the closely reliability of discovery and at Power.
In a first aspect, the embodiment of the present invention provides a kind of short distance discovery method, comprising:
Short distance service server receives the 2nd UE after the notice message for listening to the first UE transmission to the short distance The first prompting message that service server is sent includes the short distance business mark of the first UE in first prompting message Know, the information of the discovery identification code of the first UE and the 2nd UE, the information of the 2nd UE includes the 2nd UE Short distance service identification and it is following at least one: the 2nd UE using user identifier and the 2nd UE discovery identify Code;
The short distance service server sends the second prompting message to the first UE, wraps in second prompting message Include the discovery identification code of the first UE and the information of the 2nd UE;
The short distance service server receives the response message that the first UE is sent, and the response message is for showing First UE has been received by second prompting message, knows that the 2nd UE has responded the notice message;
The short distance service server sends confirmation message to the 2nd UE, and the confirmation message is used for described the Two UE notify the first UE to have been received by second prompting message, know that the 2nd UE has responded the notice message.
In the first possible implementation of the first aspect, the 2nd UE is received in the short distance service server to exist It listens to before the first prompting message sent after the notice message of the first UE transmission to the short distance service server, also wraps It includes:
The short distance service server receives the registration request that the first UE is sent;
The short distance service server sends registration confirmation message to the first UE, wraps in the registration confirmation message Discovery identification code containing short distance service identification and permission that the short distance service server is the first UE distribution.
According to the first possible implementation of first aspect, in the second possible implementation, described close Before sending the second prompting message to the first UE apart from service server, further includes:
The short distance service server identifies the first UE according to the short distance service identification of the first UE, and examines Look into whether the first UE allows to send the discovery identification code of the first UE;
The short distance service server sends the second prompting message to the first UE, comprising:
If the short distance service server determines that the first UE allows to send the discovery identification code of the first UE, The second prompting message is sent to the first UE.
According to second of possible implementation of first aspect, in the third possible implementation, described close The first UE is identified according to the short distance service identification of the first UE apart from service server, and checks that the first UE is After the no discovery identification code for allowing to send the first UE, further includes:
If it is not, then the short distance service server is used for the 2nd UE transmission response message, the response message Show that the notice message that the first UE is sent does not pass through authorization.
According to second of first aspect or the third possible implementation, in the fourth possible implementation, The short distance service server identifies the first UE according to the short distance service identification of the first UE, and checks described the Whether one UE allows to send the discovery identification code of the first UE, comprising:
The discovery for the first UE for including in first prompting message described in the short distance service server judging identifies Code whether be the permission that the short distance service server is the first UE distribution discovery identification code;
If so, the short distance service server determines that the first UE allows to send the discovery identification of the first UE Code;
If it is not, then the short distance service server determines that the first UE does not allow to send the discovery knowledge of the first UE Other code.
According to the first any one into the 4th kind of possible implementation of first aspect, first aspect, It further include the mark for the application that the 2nd UE includes in five kinds of possible implementations, in first prompting message, in institute State short distance service server to the first UE send the second prompting message before, further includes:
The corresponding application server of the mark of short distance service server to the application sends authentication request Message carries short distance service identification or the carrying of the first UE and the 2nd UE in the authentication request message The application user identifier of first UE and the 2nd UE;
The short distance service server receives the identity validation that the corresponding application server of mark of the application returns Message, the identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
Second aspect, the embodiment of the present invention provide a kind of short distance discovery method, comprising:
First UE broadcast transmission notice message, mark and the first UE in the notice message including the first UE Discovery identification code;
First UE receives the second prompting message that short distance service server is sent, and wraps in second prompting message Include the discovery identification code of the first UE and the information of the 2nd UE, wherein the information of the 2nd UE is that the 2nd UE is being supervised It hears after the notice message that the first UE is sent by the first prompting message for being sent to the short distance service server Carry, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: described second The discovery identification code using user identifier and the 2nd UE of UE;
First UE sends response message to the short distance service server, and the response message is described for showing First UE has been received by second prompting message, knows that the 2nd UE has responded the notice message.
In the first possible implementation of the second aspect, in the first UE to the short distance service server Before transmission response message, further includes:
First UE confirms the first UE's in the first prompting message that the short distance service server is sent It was found that whether identification code is discovery identification code that the first UE is sent;
If so, according to the 2nd UE in first prompting message using user identifier or the 2nd UE It was found that identification code determines whether that the 2nd UE has found the first UE;
First UE sends response message to the short distance service server, comprising:
When the first UE judgement allows the 2nd UE to find a UE, to the short distance service server Send response message.
According in the possible implementation of the first of second aspect or second aspect, in second of possible implementation In, before the first UE broadcast transmission notice message, further includes:
First UE sends registration request to the short distance service server;
First UE receives the registration confirmation message that the short distance service server is sent, the registration confirmation message In comprising the short distance service server be the first UE distribution short distance service identification and discovery identification code.
The third aspect, the embodiment of the present invention provide a kind of short distance discovery method, comprising:
2nd UE receives the notice message of the first UE broadcast transmission, includes the mark of the first UE in the notice message With the discovery identification code of the first UE;
2nd UE is determined according to the discovery identification code of the first UE to be needed to find mutually with the first UE;
2nd UE sends the first prompting message to short distance service server, in first prompting message includes Short distance service identification, the discovery identification code of the first UE and the information of the 2nd UE including the first UE, it is described The information of 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE apply user The discovery identification code of mark and the 2nd UE;
2nd UE receives the confirmation message that the short distance service server is sent, and the confirmation message is described close It is sent out apart from service server to the first UE the second prompting message of transmission and after receiving the response message that the first UE is returned It send, the confirmation message is used to notify the first UE to have been received by second prompting message to the 2nd UE, knows institute It states the 2nd UE and has responded the notice message.
In the first possible implementation of the third aspect, the logical of the first UE broadcast transmission is received in the 2nd UE Before announcement message, further includes:
2nd UE sends registration request to the short distance service server;
2nd UE receives the registration confirmation message that the short distance service server is sent, the registration confirmation message In comprising the short distance service server be the 2nd UE distribution short distance service identification and discovery identification code.
According to the first possible implementation of the third aspect, in the second possible implementation, described Two UE are received after the registration confirmation message that the short distance service server is sent, further includes:
2nd UE receives the discovery identification code for the first UE that the short distance service server is sent.
Fourth aspect, the embodiment of the present invention provide a kind of short distance discovery method, comprising:
Application server receives the authentication request message that short distance service server is sent, the authentication request The short distance service identification of the first UE and the 2nd UE is carried in message or carries the application of the first UE and the 2nd UE User identifier, the first UE and the 2nd UE are the user of the corresponding application of the application server;
The application server is answered using user identifier with the 2nd the corresponding of UE according to the first UE is corresponding After confirming that the relationship of the first UE and the 2nd UE allows to find mutually with user identifier, taken to the short distance business Business device returns to identity confirmation message, and the identity confirmation message is for showing that the first UE and the 2nd UE allows to send out mutually It is existing.
5th aspect, the embodiment of the present invention provide a kind of short distance service server, comprising:
Receiving module, for receiving the 2nd UE after the notice message for listening to the first UE transmission to the short distance business The first prompting message that server is sent, short distance service identification, institute in first prompting message including the first UE The discovery identification code of the first UE and the information of the 2nd UE are stated, the information of the 2nd UE includes the short distance of the 2nd UE Service identification and it is following at least one: the discovery identification code using user identifier and the 2nd UE of the 2nd UE;
Sending module includes described in second prompting message for sending the second prompting message to the first UE The information of the discovery identification code of first UE and the 2nd UE;
The receiving module is also used to receive the response message that the first UE is sent, and the response message is for showing First UE has been received by second prompting message, knows that the 2nd UE has responded the notice message;
The sending module, is also used to send confirmation message to the 2nd UE, and the confirmation message is used for described the Two UE notify the first UE to have been received by second prompting message, know that the 2nd UE has responded the notice message.
In the first possible implementation of the 5th aspect,
The receiving module is also used to receive the registration request that the first UE is sent;
The sending module is also used to send registration confirmation message to the first UE, wrap in the registration confirmation message Discovery identification code containing short distance service identification and permission that the short distance service server is the first UE distribution.
According to the first possible implementation of the 5th aspect, in the second possible implementation, further includes:
It checks module, is used for before the short distance service server sends the second prompting message to the first UE, The first UE is identified according to the short distance service identification of the first UE, and checks whether the first UE allows described in transmission The discovery identification code of first UE;
The sending module is specifically used for:
If the inspection module determines that the first UE allows to send the discovery identification code of the first UE, to described One UE sends the second prompting message.
According to second of possible implementation of the 5th aspect, in the third possible implementation, sending module If determining that the first UE does not allow to send the discovery identification code of the first UE, Xiang Suoshu specifically for the inspection module 2nd UE sends response message, and the notice message that the response message is used to show that the first UE to be sent does not pass through authorization.
According to second or the third possible implementation of the 5th aspect, in the fourth possible implementation, The inspection module is specifically used for:
Whether the discovery identification code for judging the first UE for including in first prompting message is the short distance industry Business server is the discovery identification code of the permission of the first UE distribution;
If so, determining that the first UE allows to send the discovery identification code of the first UE;
If not, it is determined that the first UE does not allow to send the discovery identification code of the first UE.
According to the 5th aspect, the first any one into the 4th kind of possible implementation of the 5th aspect, the In five kinds of possible implementations, the sending module is also used to further include the 2nd UE in first prompting message The mark for the application for including, before the short distance service server sends the second prompting message to the first UE, to institute The corresponding application server of mark for stating application sends authentication request message, carries institute in the authentication request message It states the short distance service identification of the first UE and the 2nd UE or carries the application user of the first UE and the 2nd UE Mark;
The receiving module, the identity validation for being also used to receive the corresponding application server return of mark of the application disappear Breath, the identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
6th aspect, the embodiment of the present invention provide a kind of user equipment (UE), and the UE is the first UE, the first UE packet It includes:
Sending module, is used for broadcast transmission notice message, includes mark and the institute of the first UE in the notice message State the discovery identification code of the first UE;
Receiving module, for receiving the second prompting message of short distance service server transmission, second prompting message In including the first UE discovery identification code and the 2nd UE information, wherein the information of the 2nd UE be the 2nd UE Disappeared after listening to the notice message that the first UE is sent by the first prompt sent to the short distance service server Carried in breath, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: it is described The discovery identification code using user identifier and the 2nd UE of 2nd UE;
The sending module is also used to send response message to the short distance service server, and the response message is used In showing that the first UE has been received by second prompting message, know that the 2nd UE has responded the notice message.
In the first possible implementation of the 6th aspect, further includes:
Judgment module is used for before the sending module sends response message to the short distance service server, really Whether the discovery identification code of the first UE recognized in the first prompting message that the short distance service server is sent is described The discovery identification code that first UE is sent;
If so, according to the 2nd UE in first prompting message using user identifier or the 2nd UE It was found that identification code determines whether that the 2nd UE has found the first UE;
The sending module is specifically used for:
When judgment module judgement allows the 2nd UE to find a UE, to the short distance business service Device sends response message.
According to the 6th aspect or the 6th aspect the first possible implementation in, in second of possible implementation In, the sending module is also used to send registration request to the short distance service server;
The receiving module is also used to receive the registration confirmation message that the short distance service server is sent, the note Know in volume confirmation message comprising the short distance service identification that the short distance service server is the first UE distribution and discovery Other code.
7th aspect, the embodiment of the present invention provide a kind of user equipment (UE), and the UE is the 2nd UE, the 2nd UE packet It includes:
Receiving module includes described first in the notice message for receiving the notice message of the first UE broadcast transmission The mark of UE and the discovery identification code of the first UE;
Judgment module needs to find mutually with the first UE for being determined according to the discovery identification code of the first UE;
Sending module wraps in first prompting message for sending the first prompting message to short distance service server Containing in include the first UE short distance service identification, the discovery identification code of the first UE and the information of the 2nd UE, The information of 2nd UE include the 2nd UE short distance service identification and it is following at least one: the application of the 2nd UE The discovery identification code of user identifier and the 2nd UE;
The receiving module is also used to receive confirmation message of the short distance service server to transmission, the confirmation Message is that the short distance service server sends the second prompting message to the first UE and receives what the first UE was returned It is sent after response message, the confirmation message is used to that the first UE to be notified to have been received by second prompt to the 2nd UE Message knows that the 2nd UE has responded the notice message.
In the first possible implementation of the 7th aspect, the sending module is also used to the short distance industry Business server sends registration request;
The receiving module is also used to receive the registration confirmation message that the short distance service server is sent, the note Know in volume confirmation message comprising the short distance service identification that the short distance service server is the 2nd UE distribution and discovery Other code.
According to the first possible implementation of the 7th aspect, in the second possible implementation, the reception Module is also used to after receiving the registration confirmation message that the short distance service server is sent, receives the short distance industry The discovery identification code for the first UE that business server is sent.
Eighth aspect, the embodiment of the present invention provide a kind of application server, comprising:
Receiving module, for receiving the authentication request message of short distance service server transmission, the authentication The short distance service identification of the first UE and the 2nd UE is carried in request message or carries the first UE's and the 2nd UE Using user identifier, the first UE and the 2nd UE are the user of the corresponding application of the application server;
Sending module, for corresponding using user identifier and the corresponding application of the 2nd UE according to the first UE After user identifier confirms that the relationship of the first UE and the 2nd UE allows discovery mutually, to the short distance business service Device returns to identity confirmation message, and the identity confirmation message is for showing that the first UE and the 2nd UE allows hair mutually It is existing.
Short distance provided in an embodiment of the present invention finds method and apparatus, passes through the first UE broadcast transmission notice message, prison It is backward to hear that the 2nd UE of notice message needs to find mutually with the first UE according to the discovery identification code judgement in notice message Short distance service server sends the first prompting message, and carries the information of discovery identification code and the 2nd UE that the first UE is sent, So that short distance service server sends the second prompting message to the first UE, the first UE is notified to have found the first UE about the 2nd UE Information, the first UE receives and sends response message to short distance service server after the second prompting message, and the letter has been known in expression Breath, short distance service server send confirmation message to the 2nd UE again;As can be seen that the first UE and the 2nd UE is serviced in short distance The process that closely discovery is realized under the auxiliary of device, due to the intervention of proximity server, especially by short distance business service Device sends the second prompting message to the first UE, and the first UE is notified to have found the information of the first UE about the 2nd UE, can be improved the One UE receives the success rate of the information, to improve the success rate of closely discovery;Also, due to the 2nd UE and the first UE it Between do not directly transmit message, therefore, can prevent attacker from attacking by way of pretending to be some UE, so as to improve Safety;Simultaneously as the intervention of proximity server, the method for the present embodiment is visible and controllable for operator , more meet the interests of operator.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the network structure that the present invention closely has found system;
Fig. 2 is the interaction diagrams that the present invention closely has found embodiment of the method one;
Fig. 3 is the interaction diagrams that the present invention closely has found embodiment of the method two;
Fig. 4 is the structural schematic diagram of short distance service server embodiment one of the present invention;
Fig. 5 is the structural schematic diagram of short distance service server embodiment two of the present invention;
Fig. 6 is the structural schematic diagram of UE embodiment one of the present invention;
Fig. 7 is the structural schematic diagram of UE embodiment two of the present invention;
Fig. 8 is the structural schematic diagram of UE embodiment three of the present invention;
Fig. 9 is the structural schematic diagram of application server embodiment one of the present invention;
Figure 10 is the structural schematic diagram of short distance service server embodiment three of the present invention;
Figure 11 is the structural schematic diagram of UE example IV of the present invention;
Figure 12 is the structural schematic diagram of UE embodiment five of the present invention;
Figure 13 is the structural schematic diagram of application server embodiment two of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The function of short distance business (ProSe) is by wireless access on the global land of evolution in 3GPP Rel-12 (Evolution-Universal Terrestrial Radio Access, referred to as: E-UTRAN) and UE are supported.For branch The UE for holding ProSe can be found that the UE of other supports ProSe in close position, and can be built by close range communication techniques Vertical near field communication is directly communicated between equipment and is transmitted without core net in communication process.For The UE of the support ProSe on network is resided in, network side will be controlled and be configured to its ProSe characteristic, and UE is according to ProSe spy Property control parameter execute ProSe operation.Whether the parameter of ProSe characteristic may include: it can be found that other ProSe UE, if It can be found by other ProSe UE;Whether ProSe communication can be carried out;Whether it can be found that by other public land mobile networks The UE of the support ProSe of the E-UTRAN service of network (Public Land Mobile Network, referred to as: PLMN);ProSe hair The maximum short range grade that now can be used.
In a network, be provided in each PLMN server (ProSe Function) Lai Jinhang of short distance business for The control of the ProSe characteristic of UE can be by visited place short distance service server (V-ProSe for being in the UE of visited network Function) and ownership place short distance service server (H-ProSe Function) carries out the control of ProSe characteristic together.Closely The ProSe configuration information that UE can be stored apart from service server, the parameter including ProSe characteristic mentioned above, to reach Control the purpose of ProSe characteristic.
As stated in the background art, it in existing short distance discovery method, supports directly to interact between the UE of ProSe, UE to be found cannot reliably receive the discovery response message of other UE.It is existing close due to directly being interacted between UE There is also safety problem, concrete reasons for distance discovery method are as follows: includes the discovery identification code of user, attack in discovery response message Which person can know by detection notice message announcing message and discovery response message response message It is a little to find that the corresponding user of identification code is the good friend of UE to be found (being set as the first UE).Potential threaten is that attacker can be false It emits the first UE and sends the notice message announcing message of the first UE, so that the good friend for getting the first UE (sets Response message is responded for the discovery of the 2nd UE or the 3rd UE), at this moment the 2nd UE and the 3rd UE cannot recognize that the UE It is the first UE of personation, so that the file of oneself is further sent to attacker;Also, attacker can be with counterfeit 2nd UE Discovery response response message is sent to the first UE, at this moment the first UE can not identify that the UE is therefore attacker deposits In security risk.In addition, since the radio resource that prior art short distance discovery method uses belongs to operator, but in this method It is directly interacted between UE, without any network equipment, i.e. this method is invisible and uncontrolled for operator, The interests of operator are not met.
For ease of description, UE to be found, i.e. transmission notice message announcing message are indicated with the first UE UE, the UE for sending discovery response response message is indicated with the 2nd UE, wherein the first UE and the 2nd UE In include short distance service application (ProSe application), also, comprising extremely in the first UE and the 2nd UE Few a identical application, such as QQ, wechat etc., and the corresponding user of the first UE user corresponding with the 2nd UE For the user of at least a same application.
It should be noted that the first UE and the 2nd UE may be it is multiple, only with one in the embodiment of the present invention and attached drawing It is a to indicate.And when implementing, actual UE can be provided simultaneously with the function of the first UE and the 2nd UE, i.e. a UE is being sent out Out while notice message, the notice message of other UE transmission can also be monitored, and is responded.
Fig. 1 is the network structure that the present invention closely has found system.As shown in Figure 1, short distance hair provided by the invention Existing method, is arranged short distance service server (ProSe Function) in a network, close by short-range communication server- aided Apart from discovery procedure, wherein short distance service server is connect with mobile management entity and gateway, UE net by wireless communication The access net and short distance service server of network carry out information exchange.Fig. 2 is the present invention closely discovery embodiment of the method one Interaction diagrams, as shown in Fig. 2, the present embodiment is related to the first UE, the 2nd UE and short distance service server (ProSe Function the interactive operation between), wherein the first UE is the use in addition to the 2nd UE in the application in the 2nd UE Family.The method of the present embodiment may include:
Step 201, the first UE broadcast transmission notice message, mark and institute in the notice message including the first UE State the discovery identification code of the first UE.
Specifically, the notice message (Announcing message) is closely to find notice message, reception pair As for all UE near the first UE, as long as that is, neighbouring UE opens the monitor function of short distance service application, Ji Kejian Hear the notice message.The mark for the first UE for including in the notice message can be the short distance service identification of the first UE (ProSe UE ID), which can be is divided when carrying out short distance service log-on by ProSe function for UE Match, for identification the first UE;The discovery identification code (Announcing code) for the first UE for including in notice message can also With in ProSe service log-on by ProSe function be the first UE in short distance service application (ProSe Application it) distributes.Wherein, discovery identification code can be for identifying some user or groups of users or some application User, groups of users or application in first UE are also possible to user, groups of users or application that UE wishes discovery.
First UE can declare that the first UE is certain by the peripherad UE of discovery identification code in the notice message It is a that some user for oneself wishing to find is broadcasted using user or peripherad UE.
Step 202, the 2nd UE are determined according to the discovery identification code of the first UE to be needed to find mutually with the first UE.
Specifically, after the 2nd UE listens to the notice message of the first UE transmission, first can be determined according to discovery identification code UE is the good friend of user (application user) of the application in the 2nd UE or some user in the 2nd UE is first UE wishes the user of discovery, such as the first UE and the 2nd UE include wechat, and in notice message of the 2nd UE according to the first UE Discovery identification code determine the corresponding user of the first UE be the corresponding wechat user of the 2nd UE good friend, then the 2nd UE can be true It is fixed to need to find mutually with the first UE.When specific implementation, the 2nd UE can show that good friend corresponding to the first UE exists on interface Near, and determined after user's confirmation and need to find mutually with the first UE.
Specifically, it can store one or more good friend of some short distance service-user in the 2nd UE in the 2nd UE Application layer identification become reconciled the corresponding discovery identification code of friendly user, the 2nd UE according to the discovery identification code received so as to knowing Not Chu the corresponding user of announcing code that sends of the first UE whether be user in the 2nd UE good friend.
Step 203, the 2nd UE send the first prompting message, first prompting message to short distance service server In include in include the first UE short distance service identification, the discovery identification code of the first UE and the letter of the 2nd UE Breath, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE Using the discovery identification code of user identifier and the 2nd UE.
Correspondingly, receiving the first prompting message that the 2nd UE is sent, first prompting message apart from service server It can be closely discovery prompt (ProSe Discovery Alert) message.2nd UE is requested by first prompting message Short distance service server in network checks whether the discovery announcement operations (sending notice message) of the first UE are the behaviour authorized Make, meanwhile, request proximity server that short distance discovery response is sent to the first UE if by authorization.
Wherein, the 2nd UE's for including in the message uses using user identifier and the discovery identification code of the 2nd UE In which the good friend user for making the first UE know that the 2nd UE is corresponded to and which is applied.
In this step, UE and short distance service server, which establish communication, can establish communication by the connection in user face, Or communication can be established by mobile management entity (Mobile Management Entity, referred to as: MME).Wherein, user The connection in face specifically: after UE access to mobile communications network, mobile network is that the UE establishes data connection, in mobile network Network is that the UE distributes the address Internet Protocol (internet protocol, referred to as: IP), and the UE is to pass through the gateway accessing To external data network.Therefore, UE can pass through dynamic domain name system (Domain Name System, referred to as: DNS) inquiry The IP address of proximity server is obtained, the connection with proximity server is then established using IP agreement.
When being connected by user face, UE is linked into short distance service server by its established user face;It is logical When crossing mobile management entity foundation communication connection, the message for being sent to short distance business is encapsulated in Non-Access Stratum (Non by UE Access Stratum, referred to as: NAS) mobile management entity is sent in message, low coverage is then sent to by mobile management entity From service server.
Step 204, the short distance service server send the second prompting message, second prompt to the first UE The information of discovery identification code and the 2nd UE in message including the first UE.
Correspondingly, the first UE receives the second prompting message that the proximity server is sent, wherein described second The information for the 2nd UE for including in prompting message has responded the notice message of the first UE for informing the first UE: the two UE, and the The information of two UE may include the 2nd UE short distance service identification and it is following at least one: the 2nd UE application user mark Know and the discovery identification code of the 2nd UE, the application user identifier of the 2nd UE and discovery identification code are used to show the 2nd UE pairs The user which is answered apply.
Further, before the step 204, the short distance service server can be first according to the low coverage of the first UE The first UE is identified from service identification, and checks whether the first UE allows to send the discovery identification code of the first UE, When determining that the first UE allows to send the discovery identification code of the first UE, step 204 is executed;When determining the first UE When not having the permission for the discovery identification code for sending the first UE, then response message can be sent to the 2nd UE, it is described The notice message that response message is used to show that the first UE to be sent does not pass through authorization.
Specifically, when the first UE carries out short distance service log-on, short distance service server is the first UE distribution first UE allow using discovery identification code, while short distance service server saves the discovery identification code that can be used of the first UE.Closely Whether the first UE of discovery identification code inspection that can be used apart from service server according to the first UE of preservation, which has, sends the hair The permission of existing identification code.Specifically, include in the first prompting message described in the short distance service server judging described The discovery identification code of one UE whether be the permission that the short distance service server is the first UE distribution discovery identification code; If so, the short distance service server determines that the first UE allows to send the discovery identification code of the first UE;If it is not, Then the short distance service server determines that the first UE does not allow to send the discovery identification code of the first UE.
Step 205, the first UE send response message to the short distance service server, and the response message is used for Show that the first UE has been received by second prompting message, has known that the 2nd UE has responded the notice message.
Correspondingly, the short distance service server receives the response message that the first UE is sent.Specifically, the first UE Good friend corresponding to the 2nd UE can be learnt nearby according to the second prompting message obtained in step 204, and at this moment the first UE can To send response message to short distance service server, confirm that it has known that the 2nd UE has responded the notice message.
Further, before step 205, the first UE can first confirm what the short distance service server was sent Whether the discovery identification code of the first UE in the first prompting message is discovery identification code that the first UE is sent;If it is not, Then the first UE can not do any response, and the wrong information of the discovery identification code can also be returned to service server, makes low coverage Stop this from service server closely to find;If so, answering according to the 2nd UE in first prompting message Determine whether that the 2nd UE has found the first UE with the discovery identification code of user identifier or the 2nd UE;When described When first UE judgement allows the 2nd UE to find a UE, then execute step 205.
It executes step 205 and illustrates that the first UE determines good friend corresponding to the 2nd UE nearby.
Specifically, the first UE can save its log recording for sending notice message, discovery identification code including transmission and The time of transmission can check the institute in the first prompting message of the short distance service server transmission by the log recording Whether the discovery identification code for stating the first UE is discovery identification code that the first UE is sent.
Step 206, the short distance service server send confirmation message to the 2nd UE, and the confirmation message is used for It notifies the first UE to have been received by second prompting message to the 2nd UE, knows that the 2nd UE has responded the notice Message.
Correspondingly, the 2nd UE receives the confirmation message that the short distance service server is sent, at this moment, the 2nd UE can To determine good friend corresponding to the first UE nearby, so that the first UE and the 2nd UE complete the process found mutually.
The present embodiment, by the first UE broadcast transmission notice message, the 2nd UE for listening to notice message disappears according to notice In breath discovery identification code judgement need with the first UE find mutually it is rear to short distance service server send first prompt disappear Breath, and the information of discovery identification code and the 2nd UE that the first UE is sent is carried, so that short distance service server is sent out to the first UE The second prompting message is sent, the first UE is notified to have found the information of the first UE about the 2nd UE, the first UE receives the second prompting message Response message is sent to short distance service server afterwards, the information has been known in expression, and short distance service server is again to the 2nd UE Send confirmation message;As can be seen that the first UE and the 2nd UE realizes the mistake of closely discovery under the auxiliary of proximity server Journey especially sends the second prompting message from short distance service server to the first UE due to the intervention of proximity server, leads to Know that the first UE has found the information of the first UE about the 2nd UE, can be improved the success rate that the first UE receives the information, thus Improve the success rate of closely discovery;Also, due to not directly transmitting message between the 2nd UE and the first UE, Neng Goufang Only attacker is attacked by way of pretending to be some UE, so as to improve safety;Simultaneously as proximity server Intervention, the method for the present embodiment be for operator it is visible and controllable, more meet the interests of operator.
It further, further include the first UE registration short distance business before executing method described in above-described embodiment Process, specific steps are as follows:
The short distance service server receives the registration request that the first UE is sent;
The short distance service server sends registration confirmation message to the first UE, wraps in the registration confirmation message Discovery identification code containing short distance service identification and permission that the short distance service server is the first UE distribution.
It similarly, also include the registration process of the 2nd UE, step is similar with the registration process of the first UE.It needs to illustrate It is that after the first UE or the 2nd UE completes registration, will also save the hair of other UE of short distance service server transmission Existing identification code, such as that request can be sent to short distance service server is good in some application to obtain by the first UE or the 2nd UE Friend discovery identification code, in this way, the 2nd UE listen to the first UE transmission notice message after, can by discovery identification code come Identify whether the UE corresponds to the good friend of oneself, to judge whether to respond.
Further, in above-described embodiment, if the first UE and the 2nd UE reside in different PLMN, but the first UE and Between two UE in the range of short distance, such as the first UE and the 2nd UE is in the same place, but the different fortune of use Seek quotient network service, at this moment, the short distance service server that the method for above-described embodiment also needs to be related in two PLMN it Between interaction.That be set as the first UE offer ProSe service is ProSe Function A, provides ProSe service for the 2nd UE It is ProSe function B.In above-mentioned step 203, the 2nd UE sends the first prompt to ProSe function B and disappears Breath, ProSe function B are identified according to the short distance service identification for the first UE for including in the first prompting message and are served The short distance service server of first UE is ProSe Function A, this is because short distance service identification includes that the UE is stayed Mark (the ProSe Function of PLMN the mark PLMN ID and the short distance service server for serving the UE of the PLMN stayed ID), then ProSe function B can be constructed according to the short distance service identification and ProSe Function A of the first UE Between corresponding short distance service server fully qualified domain name (Fully Qualified Domain Name, referred to as: FQDN), then by the mode of domain name service (Domain Name Service, referred to as: DNS) inquiry ProSe is obtained Received first prompting message of step 203 is transmitted to by the IP address of Function A so as to establish communication connection ProSe Function A, then ProSe Function A can continue to execute step 204.
Fig. 3 is the interaction diagrams that the present invention closely has found embodiment of the method two, as shown in figure 3, the present embodiment is related to Interactive operation between first UE, the 2nd UE and short distance service server and application server (App Server), wherein First UE and the 2nd UE is the user in application corresponding to application server, is answered corresponding to application server in embodiment With for example: QQ, wechat etc..The present embodiment increases short distance business on the basis of above-mentioned Fig. 2 corresponding embodiment of the method Information exchange between server and application server, to judge whether the first UE and the 2nd UE can find mutually, to mention The high safety for closely finding method.The method of the present embodiment may include:
Step 301, the first UE broadcast transmission notice message include the mark and the first UE of the first UE in the notice message Discovery identification code.
Step 302, the 2nd UE are determined according to the discovery identification code of the first UE to be needed to find mutually with the first UE.
Step 303, the 2nd UE send the first prompting message to short distance service server, wrap in first prompting message It further include using mark including short distance service identification, the discovery identification code of the first UE and the information of the 2nd UE of the first UE containing in Know, wherein the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE apply user The discovery identification code of mark and the 2nd UE, the first UE and the 2nd UE are the user of application corresponding to the application identities.
Step 304, short distance service server send authentication to the corresponding application server of the application identities and ask Message is sought, the short distance service identification of the first UE and the 2nd UE is carried in the authentication request message or carries the first UE With the application user identifier of the 2nd UE.
When specific implementation, the corresponding application server of the application identities can store the corresponding short distance business of its user Mapping relations between mark and application user identifier, the relationship being also stored between each user, for example whether being good friend.
Specifically, the user in UE can enable corresponding in application, UE initiates to apply to corresponding application server Registration process, the mark of UE is supplied to application server, so that application server can recorde its user and the user institute The UE mark corresponding relationship used, application server can also identify pair according to the UE that short distance service server provides The user answered.In addition, user also can be set which good friend can be found that oneself, application server is according to the setting information of user Check whether two users can find mutually and inspection result is notified the short distance service server.
Step 305, the corresponding application server of the application identities return to identity validation to short distance service server and disappear Breath, the identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
Specifically, the application server confirms whether the first UE and the 2nd UE allows mutual discovery can root According to the two whether be good friend principle, can also be according to other principles, it is not limited in the embodiment of the present invention.
It, can be to described if the application server confirms that the first UE and the 2nd UE does not allow to find mutually Short distance service server returns to the message for not allowing to find mutually, and at this moment, short distance service server can be directly to second UE sends the message that discovery stops.
Step 306, short distance service server send the second prompting message to the first UE, wrap in second prompting message Include the discovery identification code of the first UE and the information of the 2nd UE.
Step 307, the first UE send response message to short distance service server, and the response message is described for showing First UE has been received by second prompting message, has known that the 2nd UE has responded the notice message.
Step 308, short distance service server send confirmation message to the 2nd UE, and the confirmation message is used for described the Two UE notify the first UE to have been received by second prompting message, know that the 2nd UE has responded the notice message.
At this moment, the 2nd UE can determine good friend corresponding to the first UE nearby, so that the first UE and the 2nd UE are completed The process found mutually.
The present embodiment, by after short distance service server receives the first prompting message, increasing short distance business clothes Device be engaged in application server transmission authentication request message, application server confirms whether the first UE and the 2nd UE can be mutual It was found that proximity server just sends the second prompting message to the first UE only when confirmation allows discovery mutually, so as to Further increase the safety for closely finding method.
Fig. 4 is the structural schematic diagram of short distance service server embodiment one of the present invention, as shown in figure 4, the present embodiment Short distance service server 400 may include: receiving module 401 and sending module 402, wherein
Receiving module 401, for receiving the 2nd UE after the notice message for listening to the first UE transmission to the short distance The first prompting message that service server is sent includes the short distance business mark of the first UE in first prompting message Know, the information of the discovery identification code of the first UE and the 2nd UE, the information of the 2nd UE includes the 2nd UE Short distance service identification and it is following at least one: the 2nd UE using user identifier and the 2nd UE discovery identify Code;
Sending module 402 includes institute in second prompting message for sending the second prompting message to the first UE State the discovery identification code of the first UE and the information of the 2nd UE;
The receiving module 401, is also used to receive the response message that the first UE is sent, and the response message is used for table Bright first UE has been received by second prompting message, knows that the 2nd UE has responded the notice message;
The sending module 402 is also used to send confirmation message to the 2nd UE, and the confirmation message is used for described 2nd UE notifies the first UE to have been received by second prompting message, knows that the 2nd UE has responded the notice message.
Further, the receiving module 401 can be also used for receiving the registration request that the first UE is sent;
The sending module 402 can be also used for sending registration confirmation message to the first UE, and the accreditation verification disappears Discovery identification comprising short distance service identification and permission that the short distance service server is the first UE distribution in breath Code.
The short distance service server of the present embodiment can be used for executing corresponding short distance in embodiment of the method shown in Fig. 2 The technical solution that service server executes, realization principle is similar, and details are not described herein again.
The short distance service server of the present embodiment receives the first prompting message that the 2nd UE is sent, and mentions according to first Show the discovery identification code of the first UE carried in message and the information of the 2nd UE, sends the second prompting message, notice to the first UE First UE has found the information of the first UE about the 2nd UE, and the first UE is received after the second prompting message to short distance service server Response message is sent, the information has been known in expression, and short distance service server sends confirmation message to the 2nd UE again;It can see Out, the first UE and the 2nd UE realizes the process of closely discovery under the auxiliary of proximity server, due to proximity server Intervention, especially from short distance service server to the first UE send the second prompting message, notify the first UE about the 2nd UE It has been found that the first UE information, can be improved the first UE and receive the success rate of the information, thus improve closely discovery at Power;Also, due to not directly transmitting message between the 2nd UE and the first UE, attacker can be prevented by pretending to be certain The mode of a UE is attacked, so as to improve safety;Simultaneously as the intervention of proximity server, the present embodiment Method is visible for operator with controllably, more meets the interests of operator.
Fig. 5 is the structural schematic diagram of short distance service server embodiment two of the present invention, as shown in figure 5, the present embodiment Short distance service server 500 can also include: to check module 403, the inspection module on the basis of the embodiment shown in fig. 4 403, it can be used for before the short distance service server sends the second prompting message to the first UE, according to described the The short distance service identification of one UE identifies the first UE, and checks whether the first UE allows to send the hair of the first UE Existing identification code;
Correspondingly, the sending module 402 is specifically used for:
If described check that module 403 determines that the first UE allows to send the discovery identification code of the first UE, to institute It states the first UE and sends the second prompting message.
Further, if sending module 402 is specifically used for the inspection module 403 and determines that the first UE does not allow to send The discovery identification code of first UE then sends response message to the 2nd UE, and the response message is for showing described the The notice message that one UE is sent is not by authorization.
Further, the inspection module 403 is specifically used for:
Whether the discovery identification code for judging the first UE for including in first prompting message is the short distance industry Business server is the discovery identification code of the permission of the first UE distribution;
If so, determining that the first UE allows to send the discovery identification code of the first UE;
If not, it is determined that the first UE does not allow to send the discovery identification code of the first UE.
Further, the sending module 402 can be also used for further including described second in first prompting message The mark for the application that UE includes, before the short distance service server sends the second prompting message to the first UE, to The corresponding application server of the mark of the application sends authentication request message, carries in the authentication request message The short distance service identification of first UE and the 2nd UE or the application for carrying the first UE and the 2nd UE are used Family mark;
The receiving module 401, the identity for being also used to receive the corresponding application server return of mark of the application are true Recognize message, the identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
The short distance service server of the present embodiment can be used for executing corresponding close in embodiment of the method shown in Fig. 2 or Fig. 3 The technical solution executed apart from service server, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 6 is the structural schematic diagram of UE embodiment one of the present invention, and the UE of the present embodiment corresponds to the first UE, as shown in fig. 6, The UE600 of the present embodiment may include: sending module 601 and receiving module 602, wherein
Sending module 601 is used for broadcast transmission notice message, mark in the notice message including the first UE and The discovery identification code of first UE;
Receiving module 602, for receiving the second prompting message of short distance service server transmission, second prompt disappears The information of discovery identification code and the 2nd UE in breath including the first UE, wherein the information of the 2nd UE is described second First prompt of the UE after listening to the notice message that the first UE is sent by being sent to the short distance service server Carried in message, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: institute State the discovery identification code using user identifier and the 2nd UE of the 2nd UE;
The sending module 601 is also used to send response message, the response message to the short distance service server For showing that the first UE has been received by second prompting message, know that the 2nd UE has responded the notice message.
The UE of the present embodiment can be used for executing the technical solution that corresponding first UE is executed in embodiment of the method shown in Fig. 2, Its realization principle is similar, and details are not described herein again.
The UE of the present embodiment by broadcast transmission notice message, and receives the second of the transmission of short distance service server and mentions Show message, the information of discovery identification code and the 2nd UE in second prompting message including the first UE, wherein described second The information of UE is for the 2nd UE by taking to the short distance business after listening to the notice message that the first UE is sent Carried in the first prompting message that business device is sent, thus the UE of the present embodiment can know about the 2nd UE have found this first Then the information of UE sends response message to short distance service server, the information has been known in expression, so that short distance business takes Device be engaged in again to the 2nd UE transmission confirmation message;As can be seen that the first UE and the 2nd UE are realized under the auxiliary of proximity server Closely the process of discovery is especially sent from short distance service server to the first UE due to the intervention of proximity server Second prompting message notifies the first UE to have found the information of the first UE about the 2nd UE, can be improved the first UE and receives the letter The success rate of breath, to improve the success rate of closely discovery;Also, disappear due to not directly transmitted between the 2nd UE and the first UE Breath, therefore, can prevent attacker from attacking by way of pretending to be some UE, so as to improve safety;Meanwhile by In the intervention of proximity server, the method for the present embodiment is visible for operator with controllably, more meets operator Interests.
Fig. 7 is the structural schematic diagram of UE embodiment two of the present invention, as shown in fig. 7, the UE700 of the present embodiment is shown in Fig. 6 Can also include: judgment module 603 on the basis of embodiment, which can be used for:
Before the sending module 601 sends response message to the short distance service server, the low coverage is confirmed Whether the discovery identification code of the first UE in the first prompting message sent from service server is that the first UE is sent Discovery identification code;
If so, according to the 2nd UE in first prompting message using user identifier or the 2nd UE It was found that identification code determines whether that the 2nd UE has found the first UE;
The sending module 601 is specifically used for:
When the judgment module 603 judgement allows the 2nd UE to find a UE, to the short distance business Server sends response message.
Further, the sending module 601 is also used to send registration request to the short distance service server;
The receiving module 602 is also used to receive the registration confirmation message that the short distance service server is sent, described Include the short distance service identification that the short distance service server is the first UE distribution and discovery in registration confirmation message Identification code.
The UE of the present embodiment can be used for executing the technology that corresponding first UE is executed in embodiment of the method shown in Fig. 2 or Fig. 3 Scheme, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 8 is the structural schematic diagram of UE embodiment three of the present invention, and the UE of the present embodiment corresponds to the 2nd UE, as shown in figure 8, The UE800 of the present embodiment may include: receiving module 801, judgment module 802 and sending module 803, wherein
Receiving module 801 includes described for receiving the notice message of the first UE broadcast transmission, in the notice message The mark of one UE and the discovery identification code of the first UE;
Judgment module 802 needs to send out mutually with the first UE for being determined according to the discovery identification code of the first UE It is existing;
Sending module 803, for sending the first prompting message to short distance service server, in first prompting message It include short distance service identification, the discovery identification code of the first UE and the letter of the 2nd UE of the first UE in including Breath, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE Using the discovery identification code of user identifier and the 2nd UE;
The receiving module 801 is also used to receive confirmation message of the short distance service server to transmission, described true Recognizing message is that the short distance service server sends the second prompting message to the first UE and receives the first UE return Response message after send, the confirmation message is used to notify the first UE to have been received by described second and mention to the 2nd UE Show message, knows that the 2nd UE has responded the notice message.
Further, the sending module 803 is also used to send registration request to the short distance service server;
The receiving module 801 is also used to receive the registration confirmation message that the short distance service server is sent, described Include the short distance service identification that the short distance service server is the 2nd UE distribution and discovery in registration confirmation message Identification code.
Further, the receiving module 801 is also used to true in the registration for receiving the short distance service server transmission Recognize after message, the discovery identification code for the first UE that the short distance service server is sent is received, thus the judgement Module 802 can determine the need for mutual with the first UE according to the discovery identification code of the first UE carried in the notice message It was found that.
The UE of the present embodiment can be used for executing the technology that corresponding 2nd UE is executed in embodiment of the method shown in Fig. 2 or Fig. 3 Scheme, realization principle is similar, and details are not described herein again.
The UE of the present embodiment, by listen to the first UE transmission notice message after by the short distance business take It is engaged in the first prompting message that device sends, the letter of discovery identification code and the 2nd UE in first prompting message including the first UE Breath makes short distance service server send the second prompting message to the first UE, to notify the first UE to have found this about the 2nd UE The information of first UE, and short distance service server receive the first UE transmission known the 2nd UE have found this first After the response message of the information of UE, the confirmation message that the 2nd UE is sent by receiving short distance service server is completed and first The process that UE has found mutually;It is closely found as can be seen that the first UE and the 2nd UE is realized under the auxiliary of proximity server Process, due to the intervention of proximity server, especially from short distance service server to the first UE send second prompt disappear Breath, notifies the first UE to have found the information of the first UE about the 2nd UE, can be improved the success rate that the first UE receives the information, To improve the success rate of closely discovery;Also, due to not directly transmitting message between the 2nd UE and the first UE, energy Prevent attacker from attacking by way of pretending to be some UE, enough so as to improve safety;Simultaneously as closely taking The intervention of business device, the method for the present embodiment are visible for operator with controllably, more meet the interests of operator.
Fig. 9 is the structural schematic diagram of application server embodiment one of the present invention, corresponding to the application server of the present embodiment Application be, for example: QQ, wechat etc..As shown in figure 9, the application server 900 of the present embodiment may include: receiving module 901 With sending module 902, wherein
Receiving module 901, for receiving the authentication request message of short distance service server transmission, the identity is tested It demonstrate,proves the short distance service identification for carrying the first UE and the 2nd UE in request message or carries the first UE and the 2nd UE Application user identifier, the first UE and the 2nd UE are the user of the corresponding application of the application server;
Sending module 902, for according to the first UE it is corresponding using user identifier and the 2nd UE it is corresponding After confirming that the relationship of the first UE and the 2nd UE allows to find mutually using user identifier, to the short distance business Server returns to identity confirmation message, and the identity confirmation message is for showing that it is mutual that the first UE and the 2nd UE allows It was found that.
The application server of the present embodiment, can be used for executing in embodiment of the method shown in Fig. 3 and corresponds to application server and hold Capable technical solution, realization principle is similar, and details are not described herein again.
The application server of the present embodiment, by after short distance service server receives the first prompting message, Xiang Yingyong Server sends authentication request message, and whether application server confirmation the first UE and the 2nd UE can find mutually, only Identity confirmation message is sent to the short distance service server when confirmation allows discovery mutually, shows the first UE and institute Stating the 2nd UE allows discovery mutually, and proximity server just sends the second prompting message to the first UE, so as to further mention The safety of high closely discovery.
Figure 10 is the structural schematic diagram of short distance service server embodiment three of the present invention, as shown in Figure 10, this implementation The short distance service server of example may include: receiver 1001, transmitter 1002 and processor 1003, also shows and deposits in figure Reservoir 1004 and bus 1005, the receiver 1001, processor 1002, transmitter 1003, memory 1004 pass through bus 1005 It connects and completes mutual communication.
The bus 1005 can be industry standard architecture (Industry Standard Architecture, ISA) bus, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..It is total that the bus 1005 can be divided into address Line, data/address bus, control bus etc..Only to be indicated with a thick line in Figure 10 convenient for indicating, it is not intended that only one total Line or a type of bus.
For memory 1004 for storing executable program code, which includes computer operation instruction.Storage Device 1004 may include high speed RAM memory, it is also possible to and it further include nonvolatile memory (non-volatile memory), A for example, at least magnetic disk storage.
Processor 1003 can be a central processing unit (Central Processing Unit, CPU), either Specific integrated circuit (Application Specific Integrated Circuit, ASIC), or be arranged to implement One or more integrated circuits of the embodiment of the present invention.
Wherein, receiver 1001, for receiving the 2nd UE Xiang Suoshu after the notice message for listening to the first UE transmission The first prompting message that short distance service server is sent includes the short distance industry of the first UE in first prompting message Business mark, the information of the discovery identification code of the first UE and the 2nd UE, the information of the 2nd UE includes described second The short distance service identification of UE and it is following at least one: the 2nd UE using user identifier and the 2nd UE discovery know Other code;
Transmitter 1002 includes institute in second prompting message for sending the second prompting message to the first UE State the discovery identification code of the first UE and the information of the 2nd UE;
The receiver 1001, is also used to receive the response message that the first UE is sent, and the response message is used for table Bright first UE has been received by second prompting message, knows that the 2nd UE has responded the notice message;
The transmitter 1002 is also used to send confirmation message to the 2nd UE, and the confirmation message is used for described 2nd UE notifies the first UE to have been received by second prompting message, knows that the 2nd UE has responded the notice message.
Further, the receiver 1001 can be also used for receiving the registration request that the first UE is sent;
The transmitter 1002 can be also used for sending registration confirmation message to the first UE, and the accreditation verification disappears Discovery identification comprising short distance service identification and permission that the short distance service server is the first UE distribution in breath Code.
Further, processor 1003 can be used for sending the to the first UE in the short distance service server Before two prompting messages, the first UE is identified according to the short distance service identification of the first UE, and check the first UE Whether allow to send the discovery identification code of the first UE;
Correspondingly, the transmitter 1002 is specifically used for:
If the processor 1003 determines that the first UE allows to send the discovery identification code of the first UE, Xiang Suoshu First UE sends the second prompting message.
Further, if transmitter 1002 is specifically used for the processor 1003 and determines that the first UE does not allow to send institute The discovery identification code of the first UE is stated, then sends response message to the 2nd UE, the response message is for showing described first The notice message that UE is sent is not by authorization.
Further, the processor 1003 is specifically used for:
Whether the discovery identification code for judging the first UE for including in first prompting message is the short distance industry Business server is the discovery identification code of the permission of the first UE distribution;
If so, determining that the first UE allows to send the discovery identification code of the first UE;
If not, it is determined that the first UE does not allow to send the discovery identification code of the first UE.
Further, the transmitter 1002 can be also used for further including described second in first prompting message The mark for the application that UE includes, before the short distance service server sends the second prompting message to the first UE, to The corresponding application server of the mark of the application sends authentication request message, carries in the authentication request message The short distance service identification of first UE and the 2nd UE or the application for carrying the first UE and the 2nd UE are used Family mark;
The receiver 1001 is also used to receive the identity validation that the corresponding application server of mark of the application returns Message, the identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
The short distance service server of the present embodiment can be used for executing corresponding close in embodiment of the method shown in Fig. 2 or Fig. 3 The technical solution executed apart from service server, realization principle is similar, and details are not described herein again.
The short distance service server of the present embodiment receives the first prompting message that the 2nd UE is sent, and mentions according to first Show the discovery identification code of the first UE carried in message and the information of the 2nd UE, sends the second prompting message, notice to the first UE First UE has found the information of the first UE about the 2nd UE, and the first UE is received after the second prompting message to short distance service server Response message is sent, the information has been known in expression, and short distance service server sends confirmation message to the 2nd UE again;It can see Out, the first UE and the 2nd UE realizes the process of closely discovery under the auxiliary of proximity server, due to proximity server Intervention, especially from short distance service server to the first UE send the second prompting message, notify the first UE about the 2nd UE It has been found that the first UE information, can be improved the first UE and receive the success rate of the information, thus improve closely discovery at Power;Also, due to not directly transmitting message between the 2nd UE and the first UE, attacker can be prevented by pretending to be certain The mode of a UE is attacked, so as to improve safety;Simultaneously as the intervention of proximity server, the present embodiment Method is visible for operator with controllably, more meets the interests of operator.
Figure 11 is the structural schematic diagram of UE example IV of the present invention, and the UE of the present embodiment corresponds to the first UE, such as Figure 11 institute Show, the UE of the present embodiment may include: transmitter 1101, receiver 1102 and processor 1103, also show memory in figure 1104 and bus 1105, the transmitter 1101, receiver 1102, processor 1003, memory 1104 are connected by bus 1105 And complete mutual communication.
The bus 1105 can be industry standard architecture (Industry Standard Architecture, ISA) Bus, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..It is total that the bus 1105 can be divided into address Line, data/address bus, control bus etc..Only to be indicated with a thick line in Figure 11 convenient for indicating, it is not intended that only one total Line or a type of bus.
For memory 1104 for storing executable program code, which includes computer operation instruction.Memory 1104 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile memory), example Such as at least one magnetic disk storage.
Processor 1103 can be a central processing unit (Central Processing Unit, CPU), or special Determine integrated circuit (Application Specific Integrated Circuit, ASIC), or is arranged to implement this One or more integrated circuits of inventive embodiments.
Wherein, transmitter 1101, are used for broadcast transmission notice message, include the mark of the first UE in the notice message Know the discovery identification code with the first UE;
Receiver 1102, for receiving the second prompting message of short distance service server transmission, second prompt disappears The information of discovery identification code and the 2nd UE in breath including the first UE, wherein the information of the 2nd UE is described second First prompt of the UE after listening to the notice message that the first UE is sent by being sent to the short distance service server Carried in message, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: institute State the discovery identification code using user identifier and the 2nd UE of the 2nd UE;
The transmitter 1101 is also used to send response message, the response message to the short distance service server For showing that the first UE has been received by second prompting message, know that the 2nd UE has responded the notice message.
Further, which can be used for:
Before the transmitter 1101 sends response message to the short distance service server, the short distance is confirmed Whether the discovery identification code for the first UE in the first prompting message that service server is sent is that the first UE is sent It was found that identification code;
If so, according to the 2nd UE in first prompting message using user identifier or the 2nd UE It was found that identification code determines whether that the 2nd UE has found the first UE;
The transmitter 1101 is specifically used for:
When the processor 1103 judgement allows the 2nd UE to find a UE, taken to the short distance business Business device sends response message.
Further, the transmitter 1101 is also used to send registration request to the short distance service server;
The receiver 1102 is also used to receive the registration confirmation message that the short distance service server is sent, described Include the short distance service identification that the short distance service server is the first UE distribution and discovery in registration confirmation message Identification code.
The UE of the present embodiment can be used for executing the technology that corresponding first UE is executed in embodiment of the method shown in Fig. 2 or Fig. 3 Scheme, realization principle is similar, and details are not described herein again.
The UE of the present embodiment by broadcast transmission notice message, and receives the second of the transmission of short distance service server and mentions Show message, the information of discovery identification code and the 2nd UE in second prompting message including the first UE, wherein described second The information of UE is for the 2nd UE by taking to the short distance business after listening to the notice message that the first UE is sent Carried in the first prompting message that business device is sent, thus the UE of the present embodiment can know about the 2nd UE have found this first Then the information of UE sends response message to short distance service server, the information has been known in expression, so that short distance business takes Device be engaged in again to the 2nd UE transmission confirmation message;As can be seen that the first UE and the 2nd UE are realized under the auxiliary of proximity server Closely the process of discovery is especially sent from short distance service server to the first UE due to the intervention of proximity server Second prompting message notifies the first UE to have found the information of the first UE about the 2nd UE, can be improved the first UE and receives the letter The success rate of breath, to improve the success rate of closely discovery;Also, disappear due to not directly transmitted between the 2nd UE and the first UE Breath, therefore, can prevent attacker from attacking by way of pretending to be some UE, so as to improve safety;Meanwhile by In the intervention of proximity server, the method for the present embodiment is visible for operator with controllably, more meets operator Interests.
Figure 12 is the structural schematic diagram of UE embodiment five of the present invention, and the UE of the present embodiment corresponds to the 2nd UE, such as Figure 12 institute Show, the UE of the present embodiment may include: receiver 1201, processor 1202 and transmitter 1203, also show memory in figure 1204 and bus 1205, the receiver 1201, processor 1202, transmitter 1203, memory 1204 are connected by bus 1205 And complete mutual communication.
The bus 1205 can be industry standard architecture (Industry Standard Architecture, ISA) Bus, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..It is total that the bus 1205 can be divided into address Line, data/address bus, control bus etc..Only to be indicated with a thick line in Figure 12 convenient for indicating, it is not intended that only one total Line or a type of bus.
For memory 1204 for storing executable program code, which includes computer operation instruction.Memory 1204 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile memory), example Such as at least one magnetic disk storage.
Processor 1202 can be a central processing unit (Central Processing Unit, CPU), or special Determine integrated circuit (Application Specific Integrated Circuit, ASIC), or is arranged to implement this One or more integrated circuits of inventive embodiments.
Wherein, receiver 1201 include institute in the notice message for receiving the notice message of the first UE broadcast transmission State the mark of the first UE and the discovery identification code of the first UE;
Processor 1202 needs to send out mutually with the first UE for being determined according to the discovery identification code of the first UE It is existing;
Transmitter 1203, for sending the first prompting message to short distance service server, in first prompting message It include short distance service identification, the discovery identification code of the first UE and the letter of the 2nd UE of the first UE in including Breath, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE Using the discovery identification code of user identifier and the 2nd UE;
The receiver 1201 is also used to receive confirmation message of the short distance service server to transmission, described true Recognizing message is that the short distance service server sends the second prompting message to the first UE and receives the first UE return Response message after send, the confirmation message is used to notify the first UE to have been received by described second and mention to the 2nd UE Show message, knows that the 2nd UE has responded the notice message.
Further, the transmitter 1203 is also used to send registration request to the short distance service server;
The receiver 1201 is also used to receive the registration confirmation message that the short distance service server is sent, described Include the short distance service identification that the short distance service server is the 2nd UE distribution and discovery in registration confirmation message Identification code.
Further, the receiver 1201 is also used to true in the registration for receiving the short distance service server transmission Recognize after message, the discovery identification code for the first UE that the short distance service server is sent is received, thus the processing Device 1202 can determine the need for mutual with the first UE according to the discovery identification code of the first UE carried in the notice message It was found that.
The UE of the present embodiment can be used for executing the technology that corresponding 2nd UE is executed in embodiment of the method shown in Fig. 2 or Fig. 3 Scheme, realization principle is similar, and details are not described herein again.
The UE of the present embodiment, by listen to the first UE transmission notice message after by the short distance business take It is engaged in the first prompting message that device sends, the letter of discovery identification code and the 2nd UE in first prompting message including the first UE Breath makes short distance service server send the second prompting message to the first UE, to notify the first UE to have found this about the 2nd UE The information of first UE, and short distance service server receive the first UE transmission known the 2nd UE have found this first After the response message of the information of UE, the confirmation message that the 2nd UE is sent by receiving short distance service server is completed and first The process that UE has found mutually;It is closely found as can be seen that the first UE and the 2nd UE is realized under the auxiliary of proximity server Process, due to the intervention of proximity server, especially from short distance service server to the first UE send second prompt disappear Breath, notifies the first UE to have found the information of the first UE about the 2nd UE, can be improved the success rate that the first UE receives the information, To improve the success rate of closely discovery;Also, due to not directly transmitting message between the 2nd UE and the first UE, energy Prevent attacker from attacking by way of pretending to be some UE, enough so as to improve safety;Simultaneously as closely taking The intervention of business device, the method for the present embodiment are visible for operator with controllably, more meet the interests of operator.
Figure 13 is the structural schematic diagram of application server embodiment two of the present invention, corresponding to the application server of the present embodiment Application be, for example: QQ, wechat etc..As shown in figure 13, the application server of the present embodiment may include: receiver 1301 and hair Send device 1302, processor 1303, memory 1304 and bus 1305 also shown in figure, the receiver 1301, transmitter 1302, Processor 1303, memory 1304 connect by bus 1305 and complete mutual communication.
The bus 1305 can be industry standard architecture (Industry Standard Architecture, ISA) Bus, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..It is total that the bus 1305 can be divided into address Line, data/address bus, control bus etc..Only to be indicated with a thick line in Figure 13 convenient for indicating, it is not intended that only one total Line or a type of bus.
For memory 1304 for storing executable program code, which includes computer operation instruction.Memory 1304 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile memory), example Such as at least one magnetic disk storage.
Processor 1303 can be a central processing unit (Central Processing Unit, CPU), or special Determine integrated circuit (Application Specific Integrated Circuit, ASIC), or is arranged to implement this One or more integrated circuits of inventive embodiments.
Wherein, receiver 1301, for receiving the authentication request message of short distance service server transmission, the body The short distance service identification of the first UE and the 2nd UE is carried in part checking request message or carries the first UE and described the The application user identifier of two UE, the first UE and the 2nd UE are the user of the corresponding application of the application server;
Transmitter 1302, for being answered using user identifier with the 2nd the corresponding of UE according to the first UE is corresponding After confirming that the relationship of the first UE and the 2nd UE allows to find mutually with user identifier, taken to the short distance business Business device returns to identity confirmation message, and the identity confirmation message is for showing that the first UE and the 2nd UE allows to send out mutually It is existing.
The application server of the present embodiment, can be used for executing in embodiment of the method shown in Fig. 3 and corresponds to application server and hold Capable technical solution, realization principle is similar, and details are not described herein again.
The application server of the present embodiment, by after short distance service server receives the first prompting message, Xiang Yingyong Server sends authentication request message, and whether application server confirmation the first UE and the 2nd UE can find mutually, only Identity confirmation message is sent to the short distance service server when confirmation allows discovery mutually, shows the first UE and institute Stating the 2nd UE allows discovery mutually, and proximity server just sends the second prompting message to the first UE, so as to further mention The safety of high closely discovery.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (24)

1. a kind of short distance finds method characterized by comprising
Short distance service server receives the 2nd UE after the notice message for listening to the first UE transmission to the short distance business The first prompting message that server is sent, short distance service identification, institute in first prompting message including the first UE The discovery identification code of the first UE and the information of the 2nd UE are stated, the information of the 2nd UE includes the short distance of the 2nd UE Service identification and it is following at least one: the discovery identification code using user identifier and the 2nd UE of the 2nd UE;
The short distance service server sends the second prompting message to the first UE, includes institute in second prompting message State the discovery identification code of the first UE and the information of the 2nd UE;
The short distance service server receives the response message that the first UE is sent, and the response message is described for showing First UE has been received by second prompting message, knows that the 2nd UE has responded the notice message;
The short distance service server sends confirmation message to the 2nd UE, and the confirmation message is used for the 2nd UE It notifies the first UE to have been received by second prompting message, knows that the 2nd UE has responded the notice message.
2. being supervised the method according to claim 1, wherein receiving the 2nd UE in the short distance service server Before hearing the first prompting message sent after the notice message that the first UE is sent to the short distance service server, also wrap It includes:
The short distance service server receives the registration request that the first UE is sent;
The short distance service server sends registration confirmation message to the first UE, includes institute in the registration confirmation message State the discovery identification code of the short distance service identification that short distance service server is the first UE distribution and permission.
3. according to the method described in claim 2, it is characterized in that, being sent out in the short distance service server to the first UE Before sending the second prompting message, further includes:
The short distance service server identifies the first UE according to the short distance service identification of the first UE, and checks institute State whether the first UE allows to send the discovery identification code of the first UE;
The short distance service server sends the second prompting message to the first UE, comprising:
If the short distance service server determines that the first UE allows to send the discovery identification code of the first UE, to institute It states the first UE and sends the second prompting message.
4. according to the method described in claim 3, it is characterized in that, in the short distance service server according to the first UE Short distance service identification identify the first UE, and check whether the first UE allows to send the discovery of the first UE and know After other code, further includes:
If it is not, then the short distance service server is to the 2nd UE transmission response message, the response message is for showing The notice message that first UE is sent is not by authorization.
5. the method according to claim 3 or 4, which is characterized in that the short distance service server is according to described The short distance service identification of one UE identifies the first UE, and checks whether the first UE allows to send the hair of the first UE Existing identification code, comprising:
The discovery identification code for the first UE for including in first prompting message described in the short distance service server judging is The no discovery identification code for the permission that the short distance service server is the first UE distribution;
If so, the short distance service server determines that the first UE allows to send the discovery identification code of the first UE;
If it is not, then the short distance service server determines that the first UE does not allow to send the discovery identification of the first UE Code.
6. method according to any one of claims 1 to 4, which is characterized in that further include in first prompting message The mark for the application that 2nd UE includes sends the second prompting message to the first UE in the short distance service server Before, further includes:
The corresponding application server of the mark of short distance service server to the application sends authentication request message, It is carried in the authentication request message described in short distance service identification or the carrying of the first UE and the 2nd UE The application user identifier of first UE and the 2nd UE;
The short distance service server receives the identity confirmation message that the corresponding application server of mark of the application returns, The identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
7. a kind of short distance finds method characterized by comprising
First UE broadcast transmission notice message, the hair of mark and the first UE in the notice message including the first UE Existing identification code;
First UE receives the second prompting message that short distance service server is sent, and includes institute in second prompting message State the discovery identification code of the first UE and the information of the 2nd UE, wherein the information of the 2nd UE is that the 2nd UE is being listened to By being carried in the first prompting message for being sent to the short distance service server after the notice message that first UE is sent , the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE Using the discovery identification code of user identifier and the 2nd UE;
First UE sends response message to the short distance service server, and the response message is for showing described first UE has been received by second prompting message, knows that the 2nd UE has responded the notice message.
8. the method according to the description of claim 7 is characterized in that being sent out in the first UE to the short distance service server Before sending response message, further includes:
First UE confirms the discovery of the first UE in the first prompting message that the short distance service server is sent Whether identification code is discovery identification code that the first UE is sent;
If so, according to the discovery using user identifier or the 2nd UE of the 2nd UE in first prompting message Identification code determines whether that the 2nd UE has found the first UE;
First UE sends response message to the short distance service server, comprising:
When the first UE judgement allows the 2nd UE to find a UE, sent to the short distance service server Response message.
9. method according to claim 7 or 8, which is characterized in that before the first UE broadcast transmission notice message, Further include:
First UE sends registration request to the short distance service server;
First UE receives the registration confirmation message that the short distance service server is sent, and wraps in the registration confirmation message Containing the short distance service identification and discovery identification code that the short distance service server is the first UE distribution.
10. a kind of short distance finds method characterized by comprising
2nd UE receives the notice message of the first UE broadcast transmission, includes mark and the institute of the first UE in the notice message State the discovery identification code of the first UE;
2nd UE is determined according to the discovery identification code of the first UE to be needed to find mutually with the first UE;
2nd UE sends the first prompting message to short distance service server, include in first prompting message in include Short distance service identification, the discovery identification code of the first UE and the information of the 2nd UE of first UE, described second The information of UE include the 2nd UE short distance service identification and it is following at least one: the application user identifier of the 2nd UE With the discovery identification code of the 2nd UE;
2nd UE receives the confirmation message that the short distance service server is sent, and the confirmation message is the short distance Service server sends the second prompting message to the first UE and receives and sends after the response message that the first UE is returned, The confirmation message knows described second for notifying the first UE to have been received by second prompting message to the 2nd UE UE has responded the notice message.
11. according to the method described in claim 10, it is characterized in that, receiving the logical of the first UE broadcast transmission in the 2nd UE Before announcement message, further includes:
2nd UE sends registration request to the short distance service server;
2nd UE receives the registration confirmation message that the short distance service server is sent, and wraps in the registration confirmation message Containing the short distance service identification and discovery identification code that the short distance service server is the 2nd UE distribution.
12. according to the method for claim 11, which is characterized in that receive the short distance business service in the 2nd UE After the registration confirmation message that device is sent, further includes:
2nd UE receives the discovery identification code for the first UE that the short distance service server is sent.
13. a kind of short distance service server characterized by comprising
Receiving module, for receiving the 2nd UE after the notice message for listening to the first UE transmission to the short distance business service The first prompting message that device is sent, short distance service identification in first prompting message including the first UE, described the The information of the information of the discovery identification code of one UE and the 2nd UE, the 2nd UE includes the short distance business of the 2nd UE Mark and it is following at least one: the discovery identification code using user identifier and the 2nd UE of the 2nd UE;
Sending module includes described first in second prompting message for sending the second prompting message to the first UE The information of the discovery identification code of UE and the 2nd UE;
The receiving module, is also used to receive the response message that the first UE is sent, and the response message is described for showing First UE has been received by second prompting message, knows that the 2nd UE has responded the notice message;
The sending module is also used to send confirmation message to the 2nd UE, and the confirmation message is used for the 2nd UE It notifies the first UE to have been received by second prompting message, knows that the 2nd UE has responded the notice message.
14. short distance service server according to claim 13, it is characterised in that:
The receiving module is also used to receive the registration request that the first UE is sent;
The sending module is also used to send registration confirmation message to the first UE, includes institute in the registration confirmation message State the discovery identification code of the short distance service identification that short distance service server is the first UE distribution and permission.
15. short distance service server according to claim 14, which is characterized in that further include:
It checks module, is used for before the short distance service server sends the second prompting message to the first UE, according to The short distance service identification of first UE identifies the first UE, and checks whether the first UE allows to send described first The discovery identification code of UE;
The sending module is specifically used for:
If the inspection module determines that the first UE allows to send the discovery identification code of the first UE, to the first UE Send the second prompting message.
16. short distance service server according to claim 15, it is characterised in that:
If sending module, which is specifically used for the inspection module, determines that the first UE does not allow to send the discovery knowledge of the first UE Other code, then send response message to the 2nd UE, and the response message is used to show the notice message that the first UE is sent Not by authorization.
17. short distance service server described in 5 or 16 according to claim 1, which is characterized in that the inspection module is specific For:
Whether the discovery identification code for judging the first UE for including in first prompting message is the short distance business clothes Business device is the discovery identification code of the permission of the first UE distribution;
If so, determining that the first UE allows to send the discovery identification code of the first UE;
If not, it is determined that the first UE does not allow to send the discovery identification code of the first UE.
18. short distance service server described in any one of 3~16 according to claim 1, it is characterised in that:
The sending module, be also used in first prompting message further include the application that the 2nd UE includes mark, Before the short distance service server sends the second prompting message to the first UE, the mark to the application is corresponding Application server sends authentication request message, carries the first UE and described second in the authentication request message The short distance service identification of UE or the application user identifier for carrying the first UE and the 2nd UE;
The receiving module is also used to receive the identity confirmation message that the corresponding application server of mark of the application returns, The identity confirmation message is for showing that the first UE and the 2nd UE allows discovery mutually.
19. a kind of user equipment (UE), which is characterized in that the UE is the first UE, and the first UE includes:
Sending module is used for broadcast transmission notice message, mark in the notice message including the first UE and described the The discovery identification code of one UE;
Receiving module wraps in second prompting message for receiving the second prompting message of short distance service server transmission Include the discovery identification code of the first UE and the information of the 2nd UE, wherein the information of the 2nd UE is that the 2nd UE is being supervised It hears after the notice message that the first UE is sent by the first prompting message for being sent to the short distance service server Carry, the information of the 2nd UE include the 2nd UE short distance service identification and it is following at least one: described second The discovery identification code using user identifier and the 2nd UE of UE;
The sending module is also used to send response message to the short distance service server, and the response message is used for table Bright first UE has been received by second prompting message, knows that the 2nd UE has responded the notice message.
20. UE according to claim 19, which is characterized in that further include:
Judgment module, for confirming institute before the sending module sends response message to the short distance service server Whether the discovery identification code for stating the first UE in the first prompting message of short distance service server transmission is described first The discovery identification code that UE is sent;
If so, according to the discovery using user identifier or the 2nd UE of the 2nd UE in first prompting message Identification code determines whether that the 2nd UE has found the first UE;
The sending module is specifically used for:
When judgment module judgement allows the 2nd UE to find a UE, sent out to the short distance service server Send response message.
21. UE described in 9 or 20 according to claim 1, it is characterised in that:
The sending module is also used to send registration request to the short distance service server;
The receiving module, is also used to receive the registration confirmation message that the short distance service server is sent, and the registration is true Recognize in message comprising the short distance service identification that the short distance service server is the first UE distribution and discovery identification code.
22. a kind of user equipment (UE), which is characterized in that the UE is the 2nd UE, and the 2nd UE includes:
Receiving module includes the first UE's in the notice message for receiving the notice message of the first UE broadcast transmission The discovery identification code of mark and the first UE;
Judgment module needs to find mutually with the first UE for being determined according to the discovery identification code of the first UE;
Sending module includes in first prompting message for sending the first prompting message to short distance service server Short distance service identification, the discovery identification code of the first UE and the information of the 2nd UE including the first UE, it is described The information of 2nd UE include the 2nd UE short distance service identification and it is following at least one: the 2nd UE apply user The discovery identification code of mark and the 2nd UE;
The receiving module is also used to receive confirmation message of the short distance service server to transmission, the confirmation message The second prompting message is sent to the first UE for the short distance service server and receives the response that the first UE is returned It is sent after message, the confirmation message is used to that the first UE to be notified to have been received by second prompt and disappear to the 2nd UE Breath, knows that the 2nd UE has responded the notice message.
23. UE according to claim 22, it is characterised in that:
The sending module is also used to send registration request to the short distance service server;
The receiving module, is also used to receive the registration confirmation message that the short distance service server is sent, and the registration is true Recognize in message comprising the short distance service identification that the short distance service server is the 2nd UE distribution and discovery identification code.
24. UE according to claim 23, it is characterised in that:
The receiving module is also used to after receiving the registration confirmation message that the short distance service server is sent, and is received The discovery identification code for the first UE that the short distance service server is sent.
CN201380003794.0A 2013-12-13 2013-12-13 Closely discovery method and apparatus Active CN105052183B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/089415 WO2015085591A1 (en) 2013-12-13 2013-12-13 Proximity discovery method and device

Publications (2)

Publication Number Publication Date
CN105052183A CN105052183A (en) 2015-11-11
CN105052183B true CN105052183B (en) 2019-04-26

Family

ID=53370539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380003794.0A Active CN105052183B (en) 2013-12-13 2013-12-13 Closely discovery method and apparatus

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282688B (en) * 2015-10-30 2018-12-25 东莞酷派软件技术有限公司 A kind of method and roadside unit of information transmission
CN111683342B (en) * 2020-06-10 2022-01-18 联想(北京)有限公司 Information processing method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379580A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Device discovery method, device and system
CN103379469A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Close quarter information registration method, query method and user equipment
CN103428630A (en) * 2012-05-21 2013-12-04 华为终端有限公司 Method and device for searching for terminals
CN103428250A (en) * 2012-05-23 2013-12-04 联想(北京)有限公司 Equipment matching Method, server and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379580A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Device discovery method, device and system
CN103379469A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Close quarter information registration method, query method and user equipment
CN103428630A (en) * 2012-05-21 2013-12-04 华为终端有限公司 Method and device for searching for terminals
CN103428250A (en) * 2012-05-23 2013-12-04 联想(北京)有限公司 Equipment matching Method, server and terminal device

Also Published As

Publication number Publication date
WO2015085591A1 (en) 2015-06-18
CN105052183A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
Kim et al. Touching the untouchables: Dynamic security analysis of the LTE control plane
Kunal et al. An overview of cloud‐fog computing: Architectures, applications with security challenges
US20180295556A1 (en) Method for supporting lawful interception of remote prose ue in network
CN104902443B (en) A kind of method and apparatus of communication
RU2639696C2 (en) Method, device and system for maintaining activity of access session on 802,1x standard
US20220060901A1 (en) Source base station, ue, method in wireless communication system
CN108307385A (en) One kind preventing Signaling attack method and device
US11233817B2 (en) Methods and apparatus for end device discovering another end device
CN108990062B (en) Intelligent security Wi-Fi management method and system
US9538357B2 (en) Method and apparatus for processing D2D device identity
CN107438074A (en) The means of defence and device of a kind of ddos attack
CN108667601A (en) A kind of method, apparatus and equipment of transmission data
CN105828413A (en) Safety method of D2D mode B discovery, terminal and system
CN102739684A (en) Portal authentication method based on virtual IP address, and server thereof
CN104735027A (en) Safety authentication method and authentication certification server
CN108353283A (en) Prevent the attack from pseudo-base station
CN106576238A (en) Method and apparatus for establishment of private communication between devices
CN104253798A (en) Network security monitoring method and system
CN105052183B (en) Closely discovery method and apparatus
CN108111516A (en) Based on WLAN safety communicating method, device and electronic equipment
CN107659999A (en) WIFI connection methods and equipment
EP3306886A1 (en) Lpwa communication system join-in
CN114697945B (en) Method and device for generating discovery response message and method for processing discovery message
CN108282786B (en) Method and equipment for detecting DNS spoofing attack in wireless local area network
CN104683326A (en) Method for preventing hostile exhausting of DHCP (dynamic host configuration protocol) server address pool

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant