WO2017071568A1 - Proximity-based service discovery method, system and device - Google Patents

Proximity-based service discovery method, system and device Download PDF

Info

Publication number
WO2017071568A1
WO2017071568A1 PCT/CN2016/103288 CN2016103288W WO2017071568A1 WO 2017071568 A1 WO2017071568 A1 WO 2017071568A1 CN 2016103288 W CN2016103288 W CN 2016103288W WO 2017071568 A1 WO2017071568 A1 WO 2017071568A1
Authority
WO
WIPO (PCT)
Prior art keywords
home
listening
broadcast
request message
stop
Prior art date
Application number
PCT/CN2016/103288
Other languages
French (fr)
Chinese (zh)
Inventor
卢飞
朱进国
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017071568A1 publication Critical patent/WO2017071568A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications, and in particular to a method, system and apparatus for discovering short-range communications.
  • Direct communication between devices in the vicinity using Device to Device can bring many benefits to the terminal, such as higher speed, lower latency and lower power consumption, and greatly improved.
  • the wireless resource efficiency of the operator, the D2D Relay mode is beneficial to the operator to improve the wireless coverage; for the application, the neighboring information in the D2D communication process can be used to develop a more attractive new service.
  • the Public Safety system can also use D2D technology to enable communication between terminals without wireless coverage.
  • FIG. 1 is a schematic diagram of a D2D architecture related to 3GPP according to the related art. As shown in FIG. 1, the functions of the key network elements are as follows:
  • Terminal User equipment (User Equipment, UE for short) is used to support the direct discovery of the other party through the air interface between the terminal and the terminal, and does not need to communicate directly through the network.
  • UE User Equipment
  • the core network gateway also called the Packet Data Network Gateway (PGW)
  • PGW Packet Data Network Gateway
  • the main functions include assigning an IP address to the terminal and sending the terminal up.
  • the data packet is forwarded to the corresponding PDN network through IP, and the data packet sent by the PDN network is mapped to different bearers according to different flows, and then sent to the terminal.
  • the Home Subscriber Server (HSS) is located on the home network.
  • the main function is to provide subscription information and authentication information for users and applications.
  • Proximity-based service ProSe Function, abbreviated as PF.
  • the server is located outside the PGW.
  • the main functions include D2D service authorization, and temporary code is allocated for terminal broadcast for applications requested by the terminal. Assist in D2D discovery and billing functions.
  • PLMN public land mobile network
  • FIG. 2 is a schematic diagram of a ProSe service discovery authorization process according to a D2D terminal in the related art. As shown in FIG. 2, the process includes the following steps:
  • step S201 the broadcast UE (Announcing UE, abbreviated as UE A) first obtains the restricted ProSe from the ProSe application server (Application Server, AS for short) using the ProSe Discovery UE Identity (PDUID) obtained in the authentication process. Restricted ProSe Application User Identity (RPAUID); the ProSe AS stores the binding relationship between the PDUID and the RPAUID.
  • UE A announcement UE
  • PDUID ProSe Discovery UE Identity
  • RPAUID Restricted ProSe Application User Identity
  • the ProSe AS stores the binding relationship between the PDUID and the RPAUID.
  • Step S202 If the UE A is authorized to use the broadcast service in the currently camped PLMN, the UE A establishes a secure connection with the home PF; the UE A sends a broadcast discovery request message to the home PF, where the message carries the RAPUID, the IMSI, the application identifier, and the message Discovery Entry ID, discovery type, broadcast type, where the discovery type is set to "restricted discovery", and if the application requested by the UE requires “required broadcast", the broadcast type is set to "required broadcast”;
  • Step S203 The home PF checks whether the UE is authorized to use the application according to the application identifier. If the home PF does not have the context of the corresponding UE, the home PF needs to obtain the authentication information from the HSS discovery authentication request message.
  • Step S204 the HSS returns an authentication discovery response message to the home PF, where the message carries the authentication information and the PLMN identity that the user resides in; the authentication information includes a PDU ID and a PLMN list that can use the ProSe service;
  • Step S205 The home PF acquires an application server address according to the application identifier, and sends an authentication request to the application server, where the message carries a RPAUID, a request type, where the request type is set to “restricted discovery/broadcast”;
  • Step S206 the application server returns an authentication response message to the home PF, the message carries a PDUID, a response type, where the response type is set to "restricted discovery/broadcast acknowledgement"; the home PF checks whether the PDUID corresponds to the UE A;
  • Step S207 The home PF returns a broadcast discovery response message to the UE A, where the message carries a ProSe Restricted Code and a valid duration, and the entry identifier is found; wherein the ProSe restriction code is corresponding to the RPAUID; if the home PF authorization allows the UE to use "There is a demand broadcast", the home PF does not return a ProSe Restricted Code to the UE, but returns a broadcast permission indication to the UE;
  • Step S208 The monitoring UE (Monitoring UE, referred to as UE M) first obtains the ProSe application user identifier (ProSe Discovery UE Identity, PDUID for short), and obtains the ProSe application user identifier from the ProSe application server (Application Server). (Restricted ProSe Application User Identity, referred to as RPAUID); the ProSe AS stores the binding relationship between the PDUID and the RPAUID; and the UE M needs to obtain the list of the discovery friend identifier (target RPAUID) of the application layer;
  • Step S209 If the UE M is authorized to use the monitoring service, the UE M establishes a secure connection with the home PF-M; the UE M sends a monitoring discovery request message to the home PF-M, where the message carries the RAPUID, the IMSI, the application identifier, and the discovery entry identifier (Discovery) Entry ID), discovery type, application layer container, where the discovery type is set to "restricted discovery", and the application layer container carries the target RPAUID;
  • Step S210 The home PF M checks whether the UE is authorized to use the application according to the application identifier. If the home PF M does not have the context of the corresponding UE, the home PF M needs to obtain the authentication information from the HSS discovery authentication request message.
  • Step S211 the HSS returns an authentication discovery response message to the home PF M, where the message carries the authentication information and the PLMN identity where the user resides; the authentication information includes a PDU ID and a PLMN list that can use the ProSe service;
  • Step S212 The home PF M acquires an application server address according to the application identifier, and sends an authentication request to the application server, where the message carries an RPAUID, a request type, and an application layer container, where the request type is set to “restricted discovery/listening”;
  • Step S213 the application server returns an authentication response message to the home PF M, where the message carries the PDU ID, the response type, the target RPAUID and the target PDUID pair, wherein the response type is set to "restricted discovery/listening confirmation"; the home PF checks whether the PDUID corresponds to UE M;
  • Step S214 the home PF M finds the corresponding corresponding to the PLMN identifier in the target PDUID acquired in step S213.
  • PF A and send a listening request to the corresponding PF A, the message carrying the RPAUID of the UE M, the IMSI of the UE M, the target RPAUID (that is, the RPAUID of the UE A), the target PDU ID (that is, the PDU ID of the UE A), and the application identifier ;
  • Step S215 The home PF A obtains a valid ProSe Restricted Code, PF A according to the destination RPAUID, and verifies whether the RPAUID and the target RPAUID (ie, UE A and UE M) are allowed to limit discovery; the home PF A returns the monitoring to the home PF M.
  • the message In response to the message, the message carries the ProSe Restricted Code and the effective duration; the home PF A needs to store the PDU ID of the listening UE M in the context of the broadcast UE A;
  • Step S216 after the home PF M obtains the ProSe Restricted Code and the valid duration, the PDU ID of the UE A, the RPAUID of the UE A, the ProSe Restricted Code and the effective duration, and the application identifier are stored in the context of the UE M.
  • the attribution PFM is valid according to the ProSe Restricted Code.
  • the time interval is used to allocate a discovery filter, and the filter includes a time to live (Time to Live, TTL for short), and returns a monitoring discovery response message to the UE M.
  • the message carries a discovery filter, an item identifier, and a target RPAUID.
  • Step S217 if no valid ProSe Restricted Code is allocated in step S207, but a broadcast permission indication is returned; after receiving step S214, the home PF A considers that there is already an application for monitoring the UE request, and the home PF A to UE A
  • the visited PF C corresponding to the resident PLMN C sends a broadcast authorization request message, and the authorization request message carries the RPAUID, the application identifier, the ProSe Restricted Code, the effective duration, the IMSI of the UE A, and the entry identifier.
  • Step S219 The home PF A sends a broadcast announcement request message to the UE A, and the message carries the ProSe Restricted Code, and the entry identifier is found.
  • Step S220 UE A returns a broadcast announcement response message to the home PF A;
  • terminal A can broadcast using ProSe Restricted Code, and terminal M can also listen to ProSe Restricted Code.
  • step S207 causes the wireless of the broadcast terminal A to some extent.
  • the resource is wasted, and the battery life of the broadcast terminal A is also reduced.
  • the present invention provides a method, system and apparatus for discovering short-range communication to at least solve the problem of waste of radio resources of a broadcast terminal in the related art.
  • a method for discovering short-range communication including: the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction of the UE A. Coding; in case all UE M stops listening to ProSe restriction coding, the home PF of UE A informs UE A to stop broadcasting ProSe restriction coding.
  • the method further includes: when the UE M requests to monitor the ProSe restriction coding of the UE A, the home PF of the UE A notifies the UE A to continue to broadcast the ProSe. Limit the encoding.
  • the method further includes: receiving, by the home PF of the UE A, the UE The listening request message sent by the PF of the M, wherein the listening request message carries the valid duration of the listening request message; wherein, when the valid duration is 0, the UE M is instructed to stop listening to the ProSe restriction encoding.
  • the monitoring request message sent by the home PF of the UE M carries the valid duration: the timer of the UE M is 0; the timer of the home PF of the UE M times out, and The home PF of the UE M does not receive the interception request message retransmitted by the UE M.
  • the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the UE A short-range communication ProSe restriction coding, including: the home PF of the UE A is based on the context of the UE A.
  • the identifiers of all the UEs M and the effective duration determine whether all UEs M stop listening to the ProSe restriction coding of UE A; the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of each UE M is When 0, all UEs M stop listening to UE A's ProSe restriction code.
  • the method further includes: the home PF of the UE A Receiving the interception request message sent by the home PF of the UE M, where the interception request message carries the location information of the UE M; the home PF of the UE A receives the authorization update request message sent by the application server, where the authorization update request message carries the UE A Location information; UE A's home PF detects whether all UEs M stop listening to UE A's short-range communication ProSe restriction coding: UE A's home PF judges all according to UE A's location information and all UE M location information Whether UE M has moved out of the maximum broadcast range of UE A; when all UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to UE A's ProSe restriction
  • the home PF of the UE A notifies the UE A to stop broadcasting the ProSe restriction coding, and the home PF of the UE A sends a broadcast stop request message to the UE A, where the broadcast stop request message carries the indication that the UE A does not
  • the UE M is listening to the indication information of the ProSe restriction coding.
  • the method before the home PF of the UE A sends a broadcast stop request message to the UE A, the method further includes: the home PF of the UE A sends a broadcast to the visited PF corresponding to the public land mobile network PLMN where the UE A resides. And an authorization request message, where the broadcast authorization request message carries indication information indicating that the UE A will stop broadcasting the ProSe restriction coding; the home PF of the UE A receives the broadcast authorization confirmation message returned by the visited PF.
  • the method further includes: the home PF of the UE A receives the broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate UE A has stopped broadcasting ProSe restriction coding.
  • a method for discovering short-range communication including: receiving a broadcast terminal UE A And receiving, by the UE, a notification message sent by the proximity communication server PF, where the notification message is a message sent by the home PF if all the listening terminals UE M stop listening to the ProSe restriction encoding; the UE A according to the notification The indication of the message stops broadcasting ProSe restriction encoding.
  • the broadcast terminal UE A receives the notification message sent by the home proximity communication server PF of the UE A: all UE M timers are set to 0; all UE M's The timer of the home PF expires, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M; all the UEs M move out of the maximum broadcast range of the UE A.
  • a discovery system for short-range communication includes: a broadcast terminal UE A, a home short-range communication server PF of UE A, a listening terminal UE M, and a home PF of UE A, which is set to Detecting whether all UE M stops listening to UE A's ProSe restriction encoding; UE A, is set to stop broadcasting ProSe restriction if UE A's home PF detects that all UE M stops listening to ProSe restriction coding coding.
  • the system further includes: a home PF of the UE M, where the home PF of the UE M is configured to send a listen request message to the home PF of the UE A, where the intercept request message carries the interception request message.
  • the effective duration wherein, when the valid duration is 0, the UE M is instructed to stop listening to the ProSe restriction encoding.
  • the home PF of the UE A is further configured to determine, according to the identifiers of all the UEs M in the context of the UE A, and the effective duration, whether all the UEs M stop listening to the ProSe restriction coding of the UE A; When the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of the UE M is 0, all UEs M stop listening to the ProSe restriction coding of UE A.
  • the system further includes: a home PF of the UE M, and a home PF of the UE M, configured to send a listening request message to the home PF of the UE A, where the interception request message carries the location information of the UE M;
  • the home PF of the UE A is further configured to receive an authorization update request message sent by the application server, where the authorization update request message carries the location information of the UE A; and determine all the information according to the location information of the UE A and the location information of all the UEs Whether UE M has moved out of the maximum broadcast range of UE A; when all UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to UE A's ProSe restriction coding.
  • a discovery apparatus for short-range communication is provided.
  • the apparatus is applied to a home proximity communication server PF of a broadcast terminal UE A.
  • the apparatus includes: a detection module configured to detect whether all of the interception terminals UE M are Both stop listening to UE A short-range communication ProSe restriction coding; the first notification module is configured to notify UE A to stop broadcasting ProSe restriction coding if all UEs M stop listening for ProSe restriction coding.
  • the apparatus further includes: a second notification module, configured to notify the UE A to continue to broadcast the ProSe restriction coding when the UE M requests to monitor the ProSe restriction coding of the UE A.
  • the device further includes: a first receiving module, configured to receive a monitoring request message sent by the home PF of the UE M, where the monitoring request message carries a valid duration of the monitoring request message; wherein, the effective duration When 0, it indicates that UE M stops listening to ProSe restriction coding.
  • the interception request message sent by the home PF of the UE M Carrying a valid duration:
  • the timer of the UE M is 0; the timer of the home PF of the UE M times out, and the home PF of the UE M does not receive the interception request message retransmitted by the UE M.
  • the detecting module is further configured to determine, according to the identifiers of all the UEs M in the context of the UE A, and the effective duration, whether all the UEs M stop listening to the ProSe restriction coding of the UE A; wherein, each UE M When the valid duration in the interception request message sent by the home PF of the UE M indicated by the identifier is 0, all UEs M stop listening to the ProSe restriction coding of UE A.
  • the device further includes: a second receiving module, configured to receive a listening request message sent by the home PF of the UE M, where the intercept request message carries the location information of the UE M; and receives the authorization sent by the application server And an update request message, where the authorization update request message carries the location information of the UE A.
  • the detecting module is further configured to determine, according to the location information of the UE A and the location information of all the UEs M, whether all UE M has moved out of the maximum broadcast of the UE A. Range; wherein, when all UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to UE A's ProSe restriction coding.
  • the first notification module is further configured to send a broadcast stop request message to the UE A, where the broadcast stop request message carries indication information for indicating that the UE A does not have the UE M listening for ProSe restriction coding.
  • the device further includes: a sending module, configured to send a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides, where the broadcast authorization request message carries the indication The UE A will stop broadcasting the indication information of the ProSe restriction coding; the third receiving module is configured to receive the broadcast authorization confirmation message returned by the visited PF.
  • a sending module configured to send a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides, where the broadcast authorization request message carries the indication The UE A will stop broadcasting the indication information of the ProSe restriction coding
  • the third receiving module is configured to receive the broadcast authorization confirmation message returned by the visited PF.
  • the apparatus further includes: a fourth receiving module, configured to receive a broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
  • a discovery device for short-range communication is provided.
  • the device is located in a broadcast terminal UE A.
  • the device includes: a receiving module, configured to receive a notification message sent by the home proximity communication server PF of the UE A,
  • the notification message is a message that is sent by the home PF when all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding;
  • the stopping module is configured to stop broadcasting the ProSe restriction coding according to the indication of the notification message.
  • the receiving module receives the notification message sent by the home PF of the home proximity communication server of the UE A: all UE M timers are set to 0; all UE M affiliations The timer of the PF expires, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M; all the UEs M remove the maximum broadcast range of the UE A.
  • Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
  • the home PF of UE A notifies UE A to stop broadcasting ProSe restriction coding, which solves the problem of waste of radio resources of the broadcast terminal and improves the utilization of radio resources.
  • the rate increases the battery life of the broadcast terminal.
  • FIG. 1 is a schematic diagram of a D2D architecture related to 3GPP according to the related art
  • FIG. 2 is a schematic diagram of a ProSe service discovery authorization process according to a D2D terminal in the related art
  • FIG. 3 is a flowchart 1 of a method for discovering short-range communication according to an embodiment of the present invention
  • FIG. 4 is a second flowchart of a method for discovering short-range communication according to an embodiment of the present invention.
  • FIG. 5 is a third flowchart of a method for discovering short-range communication according to an embodiment of the present invention.
  • FIG. 6 is a flowchart 4 of a method for discovering short-range communication according to an embodiment of the present invention.
  • FIG. 7 is a flowchart 5 of a method for discovering short-range communication according to an embodiment of the present invention.
  • FIG. 8 is a flowchart 6 of a method for discovering short-range communication according to an embodiment of the present invention.
  • FIG. 9 is a first schematic diagram of a discovery system for short-range communication according to an embodiment of the present invention.
  • FIG. 10 is a second schematic diagram of a discovery system for short-range communication according to an embodiment of the present invention.
  • FIG. 11 is a structural block diagram 1 of a discovery device for short-range communication according to an embodiment of the present invention.
  • FIG. 12 is a structural block diagram 2 of a discovery device for short-range communication according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram 3 of a discovery device for short-range communication according to an embodiment of the present invention.
  • FIG. 14 is a structural block diagram 4 of a discovery device for short-range communication according to an embodiment of the present invention.
  • FIG. 15 is a block diagram 5 of a structure of a discovery device for short-range communication according to an embodiment of the present invention.
  • 16 is a structural block diagram 6 of a discovery device for short-range communication according to an embodiment of the present invention.
  • 17 is a flow chart 1 of a method for discovering short-range communication according to a preferred embodiment of the present invention.
  • FIG. 18 is a second schematic diagram of a method for discovering short-range communication according to a preferred embodiment of the present invention.
  • 19 is a third schematic flowchart of a method for discovering short-range communication according to a preferred embodiment of the present invention.
  • 20 is a flow chart 4 of a method for discovering short-range communication in accordance with a preferred embodiment of the present invention.
  • FIG. 3 is a flowchart 1 of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction coding of the UE A;
  • Step S304 in a case where all UEs M stop listening to ProSe restriction coding, the home PF of UE A notifies UE A to stop broadcasting ProSe restriction coding.
  • the home PF of the UE A notifies the UE A to stop broadcasting the ProSe restriction coding, so that when the interception terminal UE M no longer listens to the ProSe restriction coding, The broadcast terminal UE A does not broadcast all the time, thereby solving the problem of waste of radio resources of the broadcast terminal, improving the utilization rate of the radio resources, and prolonging the battery usage time of the broadcast terminal.
  • FIG. 4 is a second flowchart of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 4, after the step S304, the method further includes:
  • Step S402 when the UE M requests to monitor the ProSe restriction coding of the UE A, the home PF of the UE A notifies the UE A to continue to broadcast the ProSe restriction coding. That is, after UE A temporarily stops broadcasting ProSe restriction coding, if there is a listening terminal UE M continuing to request ProSe restriction coding of the broadcast terminal UE A, the home PF of UE A notifies UE A to continue broadcasting ProSe restriction coding.
  • FIG. 5 is a flowchart of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 5, before the step S302, the method further includes:
  • step S502 the home PF of the UE A receives the interception request message sent by the home PF of the UE M, where the intercept request message carries the valid duration of the interception request message; wherein, when the valid duration is 0, the UE M is instructed to stop listening to the ProSe. Limit the encoding.
  • the effective duration can be set by a timer, or can be set by other methods, such as directly assigning an effective duration.
  • the listening request message sent by the home PF of the UE M carries the valid duration: the timer of the UE M is 0; the timer of the home PF of the UE M times out, and the home PF of the UE M does not Received a listen request message retransmitted by the UE M.
  • the step S302 can be implemented in the following manner: the home PF of the UE A determines whether all UEs M stop listening to UE A according to the identifiers of all UEs M in the context of UE A and the effective duration. ProSe restriction coding; when the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of each UE M is 0, all UEs M stop listening to the ProSe restriction coding of UE A.
  • FIG. 6 is a flowchart of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 6, before the step S302, the method further includes:
  • Step S602 the home PF of the UE A receives the interception request message sent by the home PF of the UE M, where the interception request message carries the location information of the UE M, and the home PF of the UE A receives the authorization update request message sent by the application server, where The authorization update request message carries the location information of UE A.
  • the step S302 can be implemented in the following manner: the home PF of the UE A determines whether all the UEs M have moved out of the maximum broadcast range of the UE A according to the location information of the UE A and the location information of all the UEs. When all the UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to the ProSe restriction coding of UE A.
  • FIG. 7 is a flowchart 5 of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 7, step S304 may include:
  • step S702 the home PF of the UE A sends a broadcast stop request message to the UE A, where the broadcast stop request message carries indication information indicating that the UE A does not have the UE M listening to the ProSe restriction code.
  • the method before the step S702, the method further includes: in step S704, the home PF of the UE A sends a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides,
  • the broadcast authorization request message carries the indication information for instructing the UE A to stop broadcasting the ProSe restriction coding.
  • the home PF of the UE A receives the broadcast authorization confirmation message returned by the visited PF.
  • the method may further include: in step S708, the home PF of the UE A receives the broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
  • step S702 is performed, the step S704 is performed again, but the method is not limited thereto.
  • the above step S702 may be performed simultaneously with the step S704.
  • FIG. 8 is a flowchart 6 of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 8, the process includes the following steps:
  • Step S802 the broadcast terminal UE A receives the notification message sent by the home PF of the home proximity communication server of the UE A, where the notification message is that the home PF stops monitoring the ProSe restriction code when all the listening terminals UE M stop listening. Message sent;
  • Step S804 UE A stops broadcasting ProSe restriction coding according to the indication of the notification message.
  • the UE A stops broadcasting the ProSe restriction coding, and solves the problem of waste of radio resources of the broadcast terminal, and the broadcast terminal UE A in the related art always broadcasts. Compared, the utilization rate of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
  • the broadcast terminal UE A receives the notification message sent by the home proximity communication server PF of UE A: all UE M timers are set to 0; all UEs The timer of the home PF of the M expires, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M; All UEs M move out of the maximum broadcast range of UE A.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • FIG. 9 is a schematic diagram 1 of a discovery system for short-range communication according to an embodiment of the present invention. As shown in FIG. 9, the system includes: a broadcast terminal UE. A92, UE A's home proximity communication server PF94, listening terminal UE M96;
  • the home PF 94 of the UE A is set to detect whether all the UEs M96 stop listening to the short-range communication ProSe restriction coding of the UE A92;
  • the UE A92 is configured to stop broadcasting the ProSe restriction coding if the home PF 94 of the UE A detects that all the UEs M96 stop listening to the ProSe restriction coding.
  • the UE A92 stops broadcasting the ProSe restriction coding, and solves the problem of waste of radio resources of the broadcast terminal, and the broadcast terminal UE A in the related art always broadcasts. Compared, the utilization rate of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
  • FIG. 10 is a schematic diagram 2 of a discovery system for short-range communication according to an embodiment of the present invention.
  • the system may further include: a home PF 1002 of the UE M; wherein, the UE M
  • the home PF 1002 is configured to send a listening request message to the home PF 94 of the UE A.
  • the listening request message carries a valid duration of the listening request message.
  • the valid time duration is 0, indicating that the UE M stops listening to the ProSe restriction code.
  • the home PF 94 of the UE A is further configured to determine, according to the identifiers of all the UEs M96 in the context of the UE A92 and the effective duration, whether all the UEs M96 stop listening to the ProSe restriction coding of the UE A92; When the valid duration in the interception request message sent by the home PF 1002 of the UE M indicated by the identifier of the UE M96 is 0, all the UEs M96 stop listening to the ProSe restriction coding of the UE A92.
  • the home PF 1002 of the UE M is further configured to send a listening request message to the home PF 94 of the UE A.
  • the intercept request message carries the location information of the UE M96; the home PF 94 of the UE A is further And being configured to receive the authorization update request message sent by the application server, where the authorization update request message carries the location information of the UE A92; and determining whether all the UEs M96 have been removed from the UE A92 according to the location information of the UE A92 and the location information of all the UEs M96.
  • the maximum broadcast range when all UEs M96 move out of the maximum broadcast range of UE A92, all UEs M96 stop listening to the ProSe restriction code of UE A92.
  • a discovery device for short-range communication is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or The implementation of a combination of software and hardware is also possible and conceived.
  • FIG. 11 is a structural block diagram of a discovery device for short-range communication according to an embodiment of the present invention.
  • the device is applied to a home proximity communication server PF of a broadcast terminal UE A.
  • the device includes:
  • the detecting module 1102 is configured to detect whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction encoding of the UE A;
  • the first notification module 1104 is connected to the detection module 1102, and is configured to notify the UE A to stop broadcasting the ProSe restriction coding if all UEs M stop listening to the ProSe restriction coding.
  • the UE A is notified to stop broadcasting ProSe restriction coding, and thus UE A is in all UE M
  • the broadcast ProSe restriction encoding is stopped. Furthermore, the problem of waste of radio resources of the broadcast terminal is solved. Compared with the broadcast of the broadcast terminal UE A in the related art, the utilization of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
  • FIG. 12 is a structural block diagram 2 of a discovery device for short-range communication according to an embodiment of the present invention.
  • the device includes, in addition to all the modules shown in FIG.
  • the second notification module 1202 is connected to the first notification module 1104, and is configured to notify the UE A to continue to broadcast ProSe restriction coding when the UE M requests to monitor the ProSe restriction coding of the UE A. After UE A temporarily stops broadcasting ProSe restriction coding, if there is a listening terminal UE M continuing to request ProSe restriction coding of the broadcast terminal UE A, it is notified that UE A continues to broadcast ProSe restriction coding.
  • FIG. 13 is a structural block diagram 3 of a discovery device for short-range communication according to an embodiment of the present invention.
  • the device further includes:
  • the first receiving module 1302 is connected to the detecting module 1102, and is configured to receive the monitoring request message sent by the home PF of the UE M, where the monitoring request message carries the effective duration of the monitoring request message; wherein, when the effective duration is 0 Instruct UE M to stop listening for ProSe restriction coding.
  • the effective duration can be set by a timer, or can be set by other methods, such as directly assigning an effective duration.
  • the listening request message sent by the home PF of the UE M carries the valid duration: the timer of the UE M is 0; the timer of the home PF of the UE M times out, and the home PF of the UE M does not Received a listen request message retransmitted by the UE M.
  • the home PF of the UE A needs to be sent.
  • the active duration carried in the interception request message is 0 to notify the home PF of the UE B, and the UE A needs to stop broadcasting.
  • the detecting module 1102 is further configured to determine, according to the identifiers of all the UEs M in the context of the UE A, and the effective duration, whether all the UEs M stop listening to the ProSe restriction coding of the UE A; When the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of the UE M is 0, all UE M stops listening to UE A's ProSe restriction coding.
  • FIG. 14 is a structural block diagram of a discovery device for short-range communication according to an embodiment of the present invention.
  • the device further includes:
  • the second receiving module 1402 is connected to the detecting module 1102, and is configured to receive a listening request message sent by the home PF of the UE M, where the intercept request message carries location information of the UE M, and receives an authorization update request message sent by the application server.
  • the authorization update request message carries the location information of the UE A.
  • the foregoing detection module 1102 is further configured to determine, according to the location information of the UE A and the location information of all the UEs, whether all UEs M have moved out of the maximum broadcast range of the UE A; wherein all the UEs M move out of the maximum broadcast range of the UE A. At this time, all UEs M stop listening to UE A's ProSe restriction coding.
  • the first notification module 1104 is further configured to send a broadcast stop request message to the UE A, where the broadcast stop request message carries a message indicating that the UE A is not listening to the ProSe restriction code. Instructions.
  • FIG. 15 is a structural block diagram 5 of a device for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 15, the device further includes:
  • the sending module 1502 is connected to the foregoing first notification module 1104, and is configured to send a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides, where the broadcast authorization request message carries the UE for indicating A will stop broadcasting the indication information of the ProSe restriction code;
  • the third receiving module 1504 is connected to the sending module 1502, and is configured to receive a broadcast authorization confirmation message returned by the visited PF.
  • the fourth receiving module 1506 is connected to the first notification module 1104, and is configured to receive a broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
  • FIG. 16 is a structural block diagram 6 of a discovery device for short-range communication according to an embodiment of the present invention.
  • the device is located in the broadcast terminal UE A, as shown in FIG. 16 .
  • the device includes:
  • the receiving module 1602 is configured to receive a notification message sent by the home proximity communication server PF of the UE A, where the notification message is sent by the home PF if all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding. Message
  • the stopping module 1604 is connected to the receiving module 1602, and is configured to stop broadcasting the ProSe restriction encoding according to the indication of the notification message.
  • the receiving module 1602 and the stopping module 1604 when all UEs M stop listening to ProSe restriction coding, the broadcast ProSe restriction coding is stopped, and the problem of waste of radio resources of the broadcasting terminal is solved, and the broadcasting in the related art Compared with the broadcast of the terminal UE A, the utilization of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
  • the receiving module receives the notification message sent by the home proximity communication server PF of the UE A: all UE M timers are set to 0; all UE M's home PFs The timer expires, and all UE M's home PFs do not receive all UE M retransmitted listening request messages; all UEs M move out of UE A's maximum broadcast range.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the embodiments of the present invention provide a preferred short-range communication discovery method to solve at least the problem of waste of radio resources of a broadcast terminal in the related art.
  • the method includes: the home short-range communication server PF of the broadcast UE detects that all the listening UEs stop listening to the ProSe Restricted Code of the broadcast UE, and the home short-range communication server PF needs to notify the broadcast UE to stop broadcasting (corresponding to FIG. 3 Step S304) in the illustrated embodiment. After the monitoring UE continues to request the ProSe Restricted Code of the broadcast UE, the home proximity communication server needs to notify the listening broadcast UE that the broadcast can continue (equivalent to step S402 in the embodiment shown in FIG. 4).
  • the home proximity communication server of the monitoring UE needs to notify the broadcast UE of the home proximity communication server, so that the broadcast UE belongs to the short-range communication.
  • the server can then notify the broadcast UE to stop broadcasting.
  • the home proximity communication server of the broadcast UE when the location of the listening UE and the broadcast UE exceeds the maximum range that the broadcast UE can broadcast, the home proximity communication server of the broadcast UE notifies the broadcast UE to stop broadcasting.
  • the listening UE when the effective timer of the home proximity communication server of the monitoring UE times out, the listening UE still does not resend the monitoring discovery request, and the home proximity server that listens to the UE needs to notify the broadcast UE of the home proximity server.
  • the home short-range communication server of the broadcast UE notifies the broadcast UE to stop broadcasting.
  • the home short-range communication server using the broadcast UE detects that all the listening UEs stop listening to the ProSe Restricted Code of the broadcast UE, and the home short-range communication server needs to notify the broadcast UE to stop broadcasting.
  • the invention solves the waste of radio resources of the broadcast terminal in the related art, improves the efficiency of the radio resource, and can advantageously broadcast the power saving of the UE.
  • FIG. 17 is a schematic flowchart 1 of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. Including the following steps:
  • Step S1701 the home proximity communication server of the broadcast UE detects that all the listening UEs stop listening to the ProSe Restricted Code of the broadcast UE;
  • Step S1702 The home proximity communication server of the broadcast UE needs to notify the broadcast UE to stop broadcasting;
  • Step S1703 The listening UE continues to request the ProSe Restricted Code of the broadcast UE, and the home short-range communication server needs to notify the listening broadcast UE that the broadcast can continue.
  • FIG. 18 is a second schematic diagram of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. The method includes the following steps:
  • step S1801 the UE M sends a monitoring discovery request message to the home PF-M, where the message carries the RAPUID, the IMSI, the application identifier, the Discovery Entry ID, the discovery type, the application layer container, the request validity time, and the discovery type setting.
  • the application layer container carries the target RPAUID, and the request valid time is set to "0"; the purpose of request validity time is set to "0" is that the UE is ready to stop listening;
  • Step S1802 The home PF M acquires an application server address according to the application identifier, and sends an authentication request to the application server, where the message carries the RPAUID, the request type, and the application layer container, where the request type is set to “limit discovery/stop monitoring”;
  • Step S1803 The application server returns an authentication response message to the home PF M, where the message carries a PDU ID, a response type, a target RPAUID and a target PDUID pair, where the response type is set to “limit discovery/stop monitoring acknowledgement”;
  • the home PF M finds the PF A corresponding to the PLMN identifier in the target PDU ID obtained in the context stored in the UE M, and sends a listening request to the corresponding PF A, where the message carries the RPAUID of the UE M, and the IMSI of the UE M. , the target RPAUID (that is, the RPAUID of the UE A), the target PDUID (that is, the PDU ID of the UE A), the application identifier, and the effective duration of the request, wherein the effective duration of the request is set to “0”;
  • Step S1805 The home PF A returns a monitoring response message to the home PF M.
  • Step S1806 The home PF M deletes the context corresponding to the identifier of the discovery entry, and returns a monitoring discovery response message to the UE M, where the message carries the identifier of the discovery item; the UE releases the resource used for the monitoring;
  • Step S1807 The home PF A determines, according to all the monitoring UE identifiers in the context of the UE A, that all the listening UEs have requested to stop listening (corresponding to step S302 of the embodiment shown in FIG. 3), and the home PF A resides in the UE A.
  • the visited PF C corresponding to the PLMN C sends a broadcast authorization request message, where the authorization request message carries the discovery item identifier and the request to stop the broadcast indication; wherein the request to stop the broadcast indication is used to indicate that the broadcast UE A will pause the broadcast (corresponding to FIG. 7 Step S704) in the embodiment;
  • Step S1809 The home PF A sends a broadcast stop request message to the UE A, where the message carries the discovery entry identifier, and stops the broadcast indication, where the stop broadcast indication is used to indicate that the broadcast UE A is temporarily not listening to the UE while monitoring the application, and the broadcast ProSe Restricted Code may be suspended. (Equivalent to step S304 of the embodiment shown in Fig. 3). After the listening UE requests the application again, the home PF A will notify the UE to continue to broadcast the ProSe Restricted Code using steps S217-S220 (corresponding to step S402 of the embodiment shown in FIG. 4).
  • step S1810 UE A returns a broadcast stop response message to the home PF A (corresponding to step S708 of the embodiment shown in FIG. 7).
  • FIG. 19 is a schematic flowchart 3 of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. The method includes the following steps:
  • step S1901 the UE M reports the location information to the application server, where the message carries the location information of the UE M, RPAUID;
  • Step S1902 The application server sends an authorization update request message to the home PF M, where the message carries the RPAUID, the PDUID, and the location information of the UE M.
  • Step S1903 The home PF M returns an authorization update response message to the application server.
  • the home PF M finds the PF A corresponding to the PLMN identifier in the target PDU ID obtained in the context stored in the UE M, and sends a listening request to the corresponding PF A, where the message carries the RPAUID of the UE M, and the IMSI of the UE M. , the target RPAUID (that is, the RPAUID of the UE A), the target PDU ID (that is, the PDU ID of the UE A), the application identifier, and the location information of the UE M;
  • Step S1905 The home PF A returns a monitoring response message to the home PF M.
  • Step S1906 the UE A reports the location information to the application server, where the message carries the location information of the UE A, RPAUID;
  • Step S1907 The application server sends an authorization update request message to the home PF A, where the message carries the RPAUID, the PDUID, and the location information of the UE A.
  • Step S1908 the home PF A returns an authorization update response message to the application server.
  • Step S1909 The home PF A determines, according to the location information of the UE A and the UE M, that the UE M has moved out of the maximum broadcast range of the UE A (corresponding to step S302 in the embodiment shown in FIG. 3); the home PF A resides in the UE A.
  • the visited PF C corresponding to the PLMN C sends a broadcast authorization request message, where the authorization request message carries the discovery item identifier and the request to stop the broadcast indication; wherein the request to stop the broadcast indication is used to indicate that the broadcast UE A will pause the broadcast (corresponding to FIG. 7 Step S704) in the embodiment.
  • Step S1910 the visited PF C returns a broadcast authorization confirmation message to the home PF A (corresponding to step S706 in the embodiment shown in FIG. 7);
  • Step S1911 The home PF A sends a broadcast stop request message to the UE A, where the message carries the discovery item identifier, and stops the broadcast indication, where the stop broadcast indication is used to indicate that the broadcast UE A is temporarily not listening to the UE while monitoring the application, and the broadcast ProSe Restricted Code may be suspended. (Equivalent to step S304 of the embodiment shown in Fig. 3). After the listening UE requests the application again, the home PF A will notify the UE to continue to broadcast the ProSe Restricted Code using steps S217-S220 (corresponding to step S402 of the embodiment shown in FIG. 4).
  • step S1912 UE A returns a broadcast stop response message to the home PF A (corresponding to step S708 of the embodiment shown in FIG. 7).
  • FIG. 20 is a schematic flowchart diagram 4 of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. The method includes the following steps:
  • Step S2001 After the TTL that is allocated in step S216 is timed out, the home PF M does not receive the monitoring discovery request message retransmitted by the UE M, and the home PF M according to the target PDUID obtained in the context stored by the UE M is in the PLMN.
  • the identifier finds the corresponding PF A, and sends a listening request to the corresponding PF A, where the message carries the discovery item identifier, and the validity time of the request, wherein the effective duration of the request is set to “0”;
  • Step S2002 the home PF A returns a monitoring response message to the home PF M.
  • step S2003 the home PF A determines that all the listening UEs have requested to stop listening according to all the listening UE identifiers in the context of the UE A (corresponding to step S302 of the embodiment shown in FIG. 3), and the home PF A resides in the UE A.
  • the visited PF C corresponding to the PLMN C sends a broadcast authorization request message, where the authorization request message carries the discovery item identifier and the request to stop the broadcast indication; wherein the request to stop the broadcast indication is used to indicate that the broadcast UE A will pause the broadcast (corresponding to FIG. 7 Step S704) in the embodiment;
  • Step S2004 the visited PF C returns a broadcast authorization confirmation message to the home PF A (corresponding to step S706 in the embodiment shown in FIG. 7);
  • step S2005 the home PF A sends a broadcast stop request message to the UE A, where the message carries the discovery entry identifier, and stops the broadcast indication, wherein the stop broadcast indication is used to indicate that the broadcast UE A is temporarily not listening to the UE while monitoring the application, and the broadcast ProSe Restricted Code may be suspended.
  • the home PF A will notify the UE to continue to broadcast the ProSe Restricted Code using steps S217-S220 (corresponding to step S402 of the embodiment shown in FIG. 4).
  • step S2006 UE A returns a broadcast stop response message to the home PF A (corresponding to step S708 of the embodiment shown in FIG. 7).
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the home short-distance communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction coding of the UE A;
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or make multiple modules or steps into a single The integrated circuit module is implemented. Thus, the invention is not limited to any specific combination of hardware and software.
  • the discovery method, system, and device for short-distance communication provided by the embodiments of the present invention have the following beneficial effects: solving the problem of waste of radio resources of the broadcast terminal, improving the utilization rate of the radio resources, and prolonging the broadcast terminal.
  • the battery is used for a long time.

Abstract

Provided in the present invention are a proximity-based service discovery method, system and device, the method comprising: a home proximity-based service function (PF) of a broadcast terminal (UE A) detects whether all of monitoring terminals (UE Ms) stop monitoring for proximity-based service (ProSe) restrictive coding of the UE A; if all of the UE Ms stop monitoring for the ProSe restrictive coding, the home PF of the UE A instructs the UE A to stop broadcasting the ProSe restrictive coding. The present invention solves the problem of radio resource waste at a broadcast terminal end, improves the utilization rate of radio resources and extends the battery life of the broadcast terminal.

Description

近距离通信的发现方法、系统及装置Method, system and device for discovering short-distance communication 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种近距离通信的发现方法、系统及装置。The present invention relates to the field of communications, and in particular to a method, system and apparatus for discovering short-range communications.
背景技术Background technique
邻近区域的终端利用设备到设备(Device to Device,简称为D2D)直接通信能够给终端带来很多好处,比如更高的速率,更低的延迟以及更小的功耗,同时也极大地提高了运营商的无线资源效率,D2D的Relay模式有利于运营商提高无线覆盖;对于应用来说利用D2D通讯过程中的邻近信息可以开发出更加吸引人的新业务。公共安全(Public Safety)系统也可以利用D2D技术实现没有无线覆盖的情况下终端之间的通讯。Direct communication between devices in the vicinity using Device to Device (D2D for short) can bring many benefits to the terminal, such as higher speed, lower latency and lower power consumption, and greatly improved. The wireless resource efficiency of the operator, the D2D Relay mode is beneficial to the operator to improve the wireless coverage; for the application, the neighboring information in the D2D communication process can be used to develop a more attractive new service. The Public Safety system can also use D2D technology to enable communication between terminals without wireless coverage.
图1是根据相关技术中和3GPP相关的D2D架构示意图,如图1所示,重点网元的功能说明如下:FIG. 1 is a schematic diagram of a D2D architecture related to 3GPP according to the related art. As shown in FIG. 1, the functions of the key network elements are as follows:
终端:也叫用户设备(User Equipment,简称为UE),支持终端和终端之间通过空口直接发现对方,并无需通过网络直接进行通信。Terminal: User equipment (User Equipment, UE for short) is used to support the direct discovery of the other party through the air interface between the terminal and the terminal, and does not need to communicate directly through the network.
核心网网关:也叫分组数据网网关(Packet Data Network Gateway,简称为PGW),设置为为终端提供接入PDN网络的接入点,主要功能包括为为终端分配IP地址,将终端发上来的数据包,通过IP转发到对应的PDN网络,将PDN网络发下来的数据包,根据不同的流(flow)映射到不同的承载(bearer),然后发送到终端。The core network gateway, also called the Packet Data Network Gateway (PGW), is configured to provide the access point for the terminal to access the PDN network. The main functions include assigning an IP address to the terminal and sending the terminal up. The data packet is forwarded to the corresponding PDN network through IP, and the data packet sent by the PDN network is mapped to different bearers according to different flows, and then sent to the terminal.
归属用户服务器(Home Subscriber Server,简称为HSS),位于归属网,主要功能是提供用户和应用的签约信息和认证信息。The Home Subscriber Server (HSS) is located on the home network. The main function is to provide subscription information and authentication information for users and applications.
近距离通信(Proximity-based service,简称为ProSe)服务器(ProSe Function,简称为PF),该服务器位于PGW外面,主要功能包括了D2D业务授权、为终端请求的应用分配临时code用于终端广播、协助进行D2D发现以及计费等功能。目前一个公共陆地移动网络(Public Land Mobile Network,简称为PLMN)只部署一个近距离通信服务器。Proximity-based service (ProSe Function, abbreviated as PF). The server is located outside the PGW. The main functions include D2D service authorization, and temporary code is allocated for terminal broadcast for applications requested by the terminal. Assist in D2D discovery and billing functions. Currently, a public land mobile network (PLMN) only deploys a short-range communication server.
图2是根据相关技术中的一种D2D终端进行ProSe业务发现授权过程示意图,如图2所示,该流程包括如下步骤:FIG. 2 is a schematic diagram of a ProSe service discovery authorization process according to a D2D terminal in the related art. As shown in FIG. 2, the process includes the following steps:
步骤S201,广播UE(Announcing UE,简称为UE A)首先使用在认证过程中获取的ProSe发现UE标识(ProSe Discovery UE Identity,简称为PDUID)向ProSe应用服务器(Application Server,简称AS)获取限制ProSe应用用户标识(Restricted ProSe Application User Identity,简称为RPAUID);ProSe AS存储PDUID与RPAUID的绑定关系;In step S201, the broadcast UE (Announcing UE, abbreviated as UE A) first obtains the restricted ProSe from the ProSe application server (Application Server, AS for short) using the ProSe Discovery UE Identity (PDUID) obtained in the authentication process. Restricted ProSe Application User Identity (RPAUID); the ProSe AS stores the binding relationship between the PDUID and the RPAUID.
步骤S202,如果UE A在当前驻留的PLMN授权使用广播业务,UE A与归属PF建立安全连接;UE A向归属PF发送广播发现请求消息,消息中携带RAPUID,IMSI,应用标识,发 现条目标识(Discovery Entry ID),发现类型,广播类型,其中发现类型设置为“限制发现”,如果UE请求的应用需要“有需求广播”,则广播类型设置为“有需求广播”;Step S202: If the UE A is authorized to use the broadcast service in the currently camped PLMN, the UE A establishes a secure connection with the home PF; the UE A sends a broadcast discovery request message to the home PF, where the message carries the RAPUID, the IMSI, the application identifier, and the message Discovery Entry ID, discovery type, broadcast type, where the discovery type is set to "restricted discovery", and if the application requested by the UE requires "required broadcast", the broadcast type is set to "required broadcast";
步骤S203,归属PF根据应用标识来检查UE是否授权使用该应用;如果归属PF没有所对应UE的上下文,则归属PF需要向HSS发现鉴权请求消息获取鉴权信息;Step S203: The home PF checks whether the UE is authorized to use the application according to the application identifier. If the home PF does not have the context of the corresponding UE, the home PF needs to obtain the authentication information from the HSS discovery authentication request message.
步骤S204,HSS向归属PF返回鉴权发现响应消息,该消息中携带鉴权信息及用户所驻留的PLMN标识;鉴权信息包括PDUID及可以使用ProSe业务的PLMN列表;Step S204, the HSS returns an authentication discovery response message to the home PF, where the message carries the authentication information and the PLMN identity that the user resides in; the authentication information includes a PDU ID and a PLMN list that can use the ProSe service;
步骤S205,归属PF根据应用标识获取应用服务器地址,并向应用服务器发送鉴权请求,该消息携带RPAUID,请求类型,其中请求类型设置为“限制发现/广播”;Step S205: The home PF acquires an application server address according to the application identifier, and sends an authentication request to the application server, where the message carries a RPAUID, a request type, where the request type is set to “restricted discovery/broadcast”;
步骤S206,应用服务器向归属PF返回鉴权响应消息,该消息携带PDUID,响应类型,其中响应类型设置为“限制发现/广播确认”;归属PF检查PDUID是否所对应UE A;Step S206, the application server returns an authentication response message to the home PF, the message carries a PDUID, a response type, where the response type is set to "restricted discovery/broadcast acknowledgement"; the home PF checks whether the PDUID corresponds to the UE A;
步骤S207,归属PF向UE A返回广播发现响应消息,消息中携带ProSe限制编码(ProSe Restricted Code)及有效时长,发现条目标识;其中ProSe限制编码是与RPAUID对应的;如果归属PF授权允许UE使用“有需求广播”,归属PF则不向UE返回ProSe Restricted Code,而向UE返回广播允许指示;Step S207: The home PF returns a broadcast discovery response message to the UE A, where the message carries a ProSe Restricted Code and a valid duration, and the entry identifier is found; wherein the ProSe restriction code is corresponding to the RPAUID; if the home PF authorization allows the UE to use "There is a demand broadcast", the home PF does not return a ProSe Restricted Code to the UE, but returns a broadcast permission indication to the UE;
步骤S208,监听UE(Monitoring UE,简称为UE M)首先使用在认证过程中获取的ProSe发现UE标识(ProSe Discovery UE Identity,简称为PDUID)向ProSe应用服务器(Application Server)获取限制ProSe应用用户标识(Restricted ProSe Application User Identity,简称为RPAUID);ProSe AS存储PDUID与RPAUID的绑定关系;同时UE M需要获取应用层的发现好友标识(目标RPAUID)列表;Step S208: The monitoring UE (Monitoring UE, referred to as UE M) first obtains the ProSe application user identifier (ProSe Discovery UE Identity, PDUID for short), and obtains the ProSe application user identifier from the ProSe application server (Application Server). (Restricted ProSe Application User Identity, referred to as RPAUID); the ProSe AS stores the binding relationship between the PDUID and the RPAUID; and the UE M needs to obtain the list of the discovery friend identifier (target RPAUID) of the application layer;
步骤S209,如果UE M授权使用监听业务,UE M与归属PF-M建立安全连接;UE M向归属PF-M发送监听发现请求消息,消息中携带RAPUID,IMSI,应用标识,发现条目标识(Discovery Entry ID),发现类型,应用层容器,其中发现类型设置为“限制发现”,应用层容器中携带目标RPAUID;Step S209: If the UE M is authorized to use the monitoring service, the UE M establishes a secure connection with the home PF-M; the UE M sends a monitoring discovery request message to the home PF-M, where the message carries the RAPUID, the IMSI, the application identifier, and the discovery entry identifier (Discovery) Entry ID), discovery type, application layer container, where the discovery type is set to "restricted discovery", and the application layer container carries the target RPAUID;
步骤S210,归属PF M根据应用标识来检查UE是否授权使用该应用;如果归属PF M没有所对应UE的上下文,则归属PF M需要向HSS发现鉴权请求消息获取鉴权信息;Step S210: The home PF M checks whether the UE is authorized to use the application according to the application identifier. If the home PF M does not have the context of the corresponding UE, the home PF M needs to obtain the authentication information from the HSS discovery authentication request message.
步骤S211,HSS向归属PF M返回鉴权发现响应消息,该消息中携带鉴权信息及用户所驻留的PLMN标识;鉴权信息包括PDUID及可以使用ProSe业务的PLMN列表;Step S211, the HSS returns an authentication discovery response message to the home PF M, where the message carries the authentication information and the PLMN identity where the user resides; the authentication information includes a PDU ID and a PLMN list that can use the ProSe service;
步骤S212,归属PF M根据应用标识获取应用服务器地址,并向应用服务器发送鉴权请求,该消息携带RPAUID,请求类型,应用层容器,其中请求类型设置为“限制发现/监听”;Step S212: The home PF M acquires an application server address according to the application identifier, and sends an authentication request to the application server, where the message carries an RPAUID, a request type, and an application layer container, where the request type is set to “restricted discovery/listening”;
步骤S213,应用服务器向归属PF M返回鉴权响应消息,该消息携带PDUID,响应类型,目标RPAUID与目标PDUID对,其中响应类型设置为“限制发现/监听确认”;归属PF检查PDUID是否所对应UE M;Step S213, the application server returns an authentication response message to the home PF M, where the message carries the PDU ID, the response type, the target RPAUID and the target PDUID pair, wherein the response type is set to "restricted discovery/listening confirmation"; the home PF checks whether the PDUID corresponds to UE M;
步骤S214,归属PF M根据步骤S213中获取的目标PDUID中PLMN标识找到其所对应 的PF A,并向对应PF A发送监听请求,消息中携带UE M的RPAUID,UE M的IMSI,目标RPAUID(也即UE A的RPAUID),目标PDUID(也即UE A的PDUID),应用标识;Step S214, the home PF M finds the corresponding corresponding to the PLMN identifier in the target PDUID acquired in step S213. PF A, and send a listening request to the corresponding PF A, the message carrying the RPAUID of the UE M, the IMSI of the UE M, the target RPAUID (that is, the RPAUID of the UE A), the target PDU ID (that is, the PDU ID of the UE A), and the application identifier ;
步骤S215,归属PF A根据目的RPAUID,PDUID获取有效的ProSe Restricted Code,PF A并验证RPAUID与目标RPAUID(即UE A与UE M)之间是否允许限制发现;归属PF A向归属PF M返回监听响应消息,消息中携带ProSe Restricted Code及有效时长;归属PF A需在广播UE A上下文中存储监听UE M的PDUID;Step S215: The home PF A obtains a valid ProSe Restricted Code, PF A according to the destination RPAUID, and verifies whether the RPAUID and the target RPAUID (ie, UE A and UE M) are allowed to limit discovery; the home PF A returns the monitoring to the home PF M. In response to the message, the message carries the ProSe Restricted Code and the effective duration; the home PF A needs to store the PDU ID of the listening UE M in the context of the broadcast UE A;
步骤S216,归属PF M获取ProSe Restricted Code及有效时长后,在UE M的上下文中存储UE A的PDUID,UE A的RPAUID,ProSe Restricted Code及有效时长,应用标识;归属PFM根据ProSe Restricted Code及有效时长进行分配发现过滤器,发现过滤器中包含有效时间(Time to Live,简称为TTL),向UE M返回监听发现响应消息,消息中携带发现过滤器,发现条目标识,目标RPAUID;Step S216, after the home PF M obtains the ProSe Restricted Code and the valid duration, the PDU ID of the UE A, the RPAUID of the UE A, the ProSe Restricted Code and the effective duration, and the application identifier are stored in the context of the UE M. The attribution PFM is valid according to the ProSe Restricted Code. The time interval is used to allocate a discovery filter, and the filter includes a time to live (Time to Live, TTL for short), and returns a monitoring discovery response message to the UE M. The message carries a discovery filter, an item identifier, and a target RPAUID.
步骤S217,如果在步骤S207中没有分配有效的ProSe Restricted Code,而是返回了广播允许指示;在收到步骤S214后,归属PF A认为已经有监听UE请求对应的应用,归属PF A向UE A所驻留的PLMN C所对应的拜访PF C发送广播授权请求消息,授权请求消息中携带RPAUID,应用标识,ProSe Restricted Code,有效时长,UE A的IMSI,发现条目标识;Step S217, if no valid ProSe Restricted Code is allocated in step S207, but a broadcast permission indication is returned; after receiving step S214, the home PF A considers that there is already an application for monitoring the UE request, and the home PF A to UE A The visited PF C corresponding to the resident PLMN C sends a broadcast authorization request message, and the authorization request message carries the RPAUID, the application identifier, the ProSe Restricted Code, the effective duration, the IMSI of the UE A, and the entry identifier.
步骤S218,拜访PF C向归属PF A返回广播授权确认消息;Step S218, the visited PF C returns a broadcast authorization confirmation message to the home PF A;
步骤S219,归属PF A向UE A发送广播通告请求消息,消息中携带ProSe Restricted Code,发现条目标识;Step S219: The home PF A sends a broadcast announcement request message to the UE A, and the message carries the ProSe Restricted Code, and the entry identifier is found.
步骤S220,UE A向归属PF A返回广播通告响应消息;Step S220, UE A returns a broadcast announcement response message to the home PF A;
之后,终端A就可以使用ProSe Restricted Code进行广播了,终端M也可以监听ProSe Restricted Code。After that, terminal A can broadcast using ProSe Restricted Code, and terminal M can also listen to ProSe Restricted Code.
从上面步骤可以看出,当监听终端M不再监听ProSe Restricted Code时,广播终端A在步骤S207中的有效定时器超时前,仍然需要一直进行广播,这一定程度上造成的广播终端A的无线资源浪费,并且也降低了广播终端A的电池使用时长。It can be seen from the above steps that when the listening terminal M no longer listens to the ProSe Restricted Code, the broadcast terminal A still needs to broadcast all the time before the effective timer expires in step S207, which causes the wireless of the broadcast terminal A to some extent. The resource is wasted, and the battery life of the broadcast terminal A is also reduced.
针对相关技术中广播终端无线资源浪费的问题,目前尚未提出有效的解决方案。In view of the problem of waste of radio resources of broadcast terminals in related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明提供了一种近距离通信的发现方法、系统及装置,以至少解决相关技术中广播终端无线资源浪费的问题。The present invention provides a method, system and apparatus for discovering short-range communication to at least solve the problem of waste of radio resources of a broadcast terminal in the related art.
根据本发明的一个方面,提供了一种近距离通信的发现方法,包括:广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码;在所有的UE M都停止监听ProSe限制编码的情况下,UE A的归属PF通知UE A停止广播ProSe限制编码。 According to an aspect of the present invention, a method for discovering short-range communication is provided, including: the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction of the UE A. Coding; in case all UE M stops listening to ProSe restriction coding, the home PF of UE A informs UE A to stop broadcasting ProSe restriction coding.
在本发明实施例中,UE A的归属PF通知UE A停止广播ProSe限制编码之后,方法还包括:在UE M请求监听UE A的ProSe限制编码时,UE A的归属PF通知UE A继续广播ProSe限制编码。In the embodiment of the present invention, after the home PF of the UE A notifies the UE A to stop the broadcast ProSe restriction coding, the method further includes: when the UE M requests to monitor the ProSe restriction coding of the UE A, the home PF of the UE A notifies the UE A to continue to broadcast the ProSe. Limit the encoding.
在本发明实施例中,在UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码之前,方法还包括:UE A的归属PF接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带有监听请求消息的有效时长;其中,在有效时长为0时指示UE M停止监听ProSe限制编码。In the embodiment of the present invention, before the home proximity communication server PF of the UE A detects whether all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding of the UE A, the method further includes: receiving, by the home PF of the UE A, the UE The listening request message sent by the PF of the M, wherein the listening request message carries the valid duration of the listening request message; wherein, when the valid duration is 0, the UE M is instructed to stop listening to the ProSe restriction encoding.
在本发明实施例中,在以下至少之一情况下,在UE M的归属PF发送的监听请求消息中携带有效时长:UE M的定时器为0;UE M的归属PF的定时器超时,且UE M的归属PF没有收到UE M重新发送的监听请求消息。In the embodiment of the present invention, in the case of at least one of the following, the monitoring request message sent by the home PF of the UE M carries the valid duration: the timer of the UE M is 0; the timer of the home PF of the UE M times out, and The home PF of the UE M does not receive the interception request message retransmitted by the UE M.
在本发明实施例中,广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码包括:UE A的归属PF根据UE A的上下文中所有UE M的标识以及有效时长,判断所有的UE M是否都停止监听UE A的ProSe限制编码;每个UE M的标识所指示的UE M的归属PF发送的监听请求消息中的有效时长都为0时,所有的UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the UE A short-range communication ProSe restriction coding, including: the home PF of the UE A is based on the context of the UE A. The identifiers of all the UEs M and the effective duration, determine whether all UEs M stop listening to the ProSe restriction coding of UE A; the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of each UE M is When 0, all UEs M stop listening to UE A's ProSe restriction code.
在本发明实施例中,在广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码之前,方法还包括:UE A的归属PF接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带UE M的位置信息;UE A的归属PF接收应用服务器发送的授权更新请求消息,其中,授权更新请求消息携带UE A的位置信息;UE A的归属PF检测所有的UE M是否都停止监听UE A的近距离通信ProSe限制编码包括:UE A的归属PF根据UE A的位置信息和所有的UE M的位置信息判断所有的UE M是否已移出UE A的最大广播范围;其中,所有的UE M移出UE A的最大广播范围时,所有的UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, before the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding of the UE A, the method further includes: the home PF of the UE A Receiving the interception request message sent by the home PF of the UE M, where the interception request message carries the location information of the UE M; the home PF of the UE A receives the authorization update request message sent by the application server, where the authorization update request message carries the UE A Location information; UE A's home PF detects whether all UEs M stop listening to UE A's short-range communication ProSe restriction coding: UE A's home PF judges all according to UE A's location information and all UE M location information Whether UE M has moved out of the maximum broadcast range of UE A; when all UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to UE A's ProSe restriction coding.
在本发明实施例中,UE A的归属PF通知UE A停止广播ProSe限制编码包括:UE A的归属PF向UE A发送广播停止请求消息,其中,广播停止请求消息中携带有用于指示UE A没有UE M在监听ProSe限制编码的指示信息。In the embodiment of the present invention, the home PF of the UE A notifies the UE A to stop broadcasting the ProSe restriction coding, and the home PF of the UE A sends a broadcast stop request message to the UE A, where the broadcast stop request message carries the indication that the UE A does not The UE M is listening to the indication information of the ProSe restriction coding.
在本发明实施例中,UE A的归属PF向UE A发送广播停止请求消息之前,方法还包括:UE A的归属PF向UE A所驻留的公共陆地移动网络PLMN所对应的拜访PF发送广播授权请求消息,其中,广播授权请求消息中携带有用于指示UE A将停止广播ProSe限制编码的指示信息;UE A的归属PF接收拜访PF返回的广播授权确认消息。In the embodiment of the present invention, before the home PF of the UE A sends a broadcast stop request message to the UE A, the method further includes: the home PF of the UE A sends a broadcast to the visited PF corresponding to the public land mobile network PLMN where the UE A resides. And an authorization request message, where the broadcast authorization request message carries indication information indicating that the UE A will stop broadcasting the ProSe restriction coding; the home PF of the UE A receives the broadcast authorization confirmation message returned by the visited PF.
在本发明实施例中,UE A的归属PF向UE A发送广播停止请求消息之后,方法还包括:UE A的归属PF接收UE A返回的广播停止响应消息,其中,广播停止响应消息用于指示UE A已停止广播ProSe限制编码。In the embodiment of the present invention, after the home PF of the UE A sends the broadcast stop request message to the UE A, the method further includes: the home PF of the UE A receives the broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate UE A has stopped broadcasting ProSe restriction coding.
根据本发明的另一个方面,提供了一种近距离通信的发现方法,包括:广播终端UE A接 收UE A的归属近距离通信服务器PF发送的通知消息,其中,该通知消息为归属PF在所有的监听终端UE M都停止监听近距离通信ProSe限制编码的情况下发送的消息;UE A依据通知消息的指示停止广播ProSe限制编码。According to another aspect of the present invention, a method for discovering short-range communication is provided, including: receiving a broadcast terminal UE A And receiving, by the UE, a notification message sent by the proximity communication server PF, where the notification message is a message sent by the home PF if all the listening terminals UE M stop listening to the ProSe restriction encoding; the UE A according to the notification The indication of the message stops broadcasting ProSe restriction encoding.
在本发明实施例中,在以下至少之一情况下,广播终端UE A接收UE A的归属近距离通信服务器PF发送的通知消息:所有的UE M的定时器设置为0;所有的UE M的归属PF的定时器超时,且所有的UE M的归属PF没有收到所有的UE M重新发送的监听请求消息;所有的UE M移出了UE A的最大广播范围。In the embodiment of the present invention, in at least one of the following cases, the broadcast terminal UE A receives the notification message sent by the home proximity communication server PF of the UE A: all UE M timers are set to 0; all UE M's The timer of the home PF expires, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M; all the UEs M move out of the maximum broadcast range of the UE A.
根据本发明的另一个方面,提供了一种近距离通信的发现系统,系统包括:广播终端UE A,UE A的归属近距离通信服务器PF,监听终端UE M;UE A的归属PF,设置为检测所有的UE M是否都停止监听UE A的近距离通信ProSe限制编码;UE A,设置为在UE A的归属PF检测到所有的UE M都停止监听ProSe限制编码的情况下,停止广播ProSe限制编码。According to another aspect of the present invention, a discovery system for short-range communication is provided. The system includes: a broadcast terminal UE A, a home short-range communication server PF of UE A, a listening terminal UE M, and a home PF of UE A, which is set to Detecting whether all UE M stops listening to UE A's ProSe restriction encoding; UE A, is set to stop broadcasting ProSe restriction if UE A's home PF detects that all UE M stops listening to ProSe restriction coding coding.
在本发明实施例中,系统还包括:UE M的归属PF;其中,UE M的归属PF,设置为向UE A的归属PF发送监听请求消息;其中,监听请求消息中携带有监听请求消息的有效时长;其中,在有效时长为0时指示UE M停止监听ProSe限制编码。In the embodiment of the present invention, the system further includes: a home PF of the UE M, where the home PF of the UE M is configured to send a listen request message to the home PF of the UE A, where the intercept request message carries the interception request message. The effective duration; wherein, when the valid duration is 0, the UE M is instructed to stop listening to the ProSe restriction encoding.
在本发明实施例中,UE A的归属PF,还设置为根据UE A的上下文中所有UE M的标识以及有效时长,判断所有的UE M是否都停止监听UE A的ProSe限制编码;其中,每个UE M的标识所指示的UE M的归属PF发送的监听请求消息中的有效时长都为0时,所有的UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, the home PF of the UE A is further configured to determine, according to the identifiers of all the UEs M in the context of the UE A, and the effective duration, whether all the UEs M stop listening to the ProSe restriction coding of the UE A; When the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of the UE M is 0, all UEs M stop listening to the ProSe restriction coding of UE A.
在本发明实施例中,系统还包括:UE M的归属PF;UE M的归属PF,设置为向UE A的归属PF发送监听请求消息;其中,监听请求消息中携带有UE M的位置信息;UE A的归属PF,还设置为接收应用服务器发送的授权更新请求消息,其中,授权更新请求消息携带UE A的位置信息;以及根据UE A的位置信息和所有的UE M的位置信息判断所有的UE M是否已移出UE A的最大广播范围;其中,所有的UE M移出UE A的最大广播范围时,所有的UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, the system further includes: a home PF of the UE M, and a home PF of the UE M, configured to send a listening request message to the home PF of the UE A, where the interception request message carries the location information of the UE M; The home PF of the UE A is further configured to receive an authorization update request message sent by the application server, where the authorization update request message carries the location information of the UE A; and determine all the information according to the location information of the UE A and the location information of all the UEs Whether UE M has moved out of the maximum broadcast range of UE A; when all UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to UE A's ProSe restriction coding.
根据本发明的另一个方面,提供了一种近距离通信的发现装置,装置应用于广播终端UE A的归属近距离通信服务器PF,装置包括:检测模块,设置为检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码;第一通知模块,设置为在所有的UE M都停止监听ProSe限制编码的情况下,通知UE A停止广播ProSe限制编码。According to another aspect of the present invention, a discovery apparatus for short-range communication is provided. The apparatus is applied to a home proximity communication server PF of a broadcast terminal UE A. The apparatus includes: a detection module configured to detect whether all of the interception terminals UE M are Both stop listening to UE A short-range communication ProSe restriction coding; the first notification module is configured to notify UE A to stop broadcasting ProSe restriction coding if all UEs M stop listening for ProSe restriction coding.
在本发明实施例中,装置还包括:第二通知模块,设置为在UE M请求监听UE A的ProSe限制编码时,UE A的归属PF通知UE A继续广播ProSe限制编码。In the embodiment of the present invention, the apparatus further includes: a second notification module, configured to notify the UE A to continue to broadcast the ProSe restriction coding when the UE M requests to monitor the ProSe restriction coding of the UE A.
在本发明实施例中,装置还包括:第一接收模块,设置为接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带有监听请求消息的有效时长;其中,在有效时长为0时指示UE M停止监听ProSe限制编码。In the embodiment of the present invention, the device further includes: a first receiving module, configured to receive a monitoring request message sent by the home PF of the UE M, where the monitoring request message carries a valid duration of the monitoring request message; wherein, the effective duration When 0, it indicates that UE M stops listening to ProSe restriction coding.
在本发明实施例中,在以下至少之一情况下,在UE M的归属PF发送的监听请求消息中 携带有效时长:UE M的定时器为0;UE M的归属PF的定时器超时,且UE M的归属PF没有收到UE M重新发送的监听请求消息。In the embodiment of the present invention, in at least one of the following cases, in the interception request message sent by the home PF of the UE M Carrying a valid duration: The timer of the UE M is 0; the timer of the home PF of the UE M times out, and the home PF of the UE M does not receive the interception request message retransmitted by the UE M.
在本发明实施例中,检测模块,还设置为根据UE A的上下文中所有UE M的标识以及有效时长,判断所有的UE M是否都停止监听UE A的ProSe限制编码;其中,每个UE M的标识所指示的UE M的归属PF发送的监听请求消息中的有效时长都为0时,所有的UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, the detecting module is further configured to determine, according to the identifiers of all the UEs M in the context of the UE A, and the effective duration, whether all the UEs M stop listening to the ProSe restriction coding of the UE A; wherein, each UE M When the valid duration in the interception request message sent by the home PF of the UE M indicated by the identifier is 0, all UEs M stop listening to the ProSe restriction coding of UE A.
在本发明实施例中,装置还包括:第二接收模块,设置为接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带UE M的位置信息;以及接收应用服务器发送的授权更新请求消息,其中,授权更新请求消息携带UE A的位置信息;检测模块,还设置为根据UE A的位置信息和所有的UE M的位置信息判断所有的UE M是否已移出UE A的最大广播范围;其中,所有的UE M移出UE A的最大广播范围时,所有的UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, the device further includes: a second receiving module, configured to receive a listening request message sent by the home PF of the UE M, where the intercept request message carries the location information of the UE M; and receives the authorization sent by the application server And an update request message, where the authorization update request message carries the location information of the UE A. The detecting module is further configured to determine, according to the location information of the UE A and the location information of all the UEs M, whether all UE M has moved out of the maximum broadcast of the UE A. Range; wherein, when all UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to UE A's ProSe restriction coding.
在本发明实施例中,第一通知模块,还设置为向UE A发送广播停止请求消息,其中,广播停止请求消息中携带有用于指示UE A没有UE M在监听ProSe限制编码的指示信息。In the embodiment of the present invention, the first notification module is further configured to send a broadcast stop request message to the UE A, where the broadcast stop request message carries indication information for indicating that the UE A does not have the UE M listening for ProSe restriction coding.
在本发明实施例中,装置还包括:发送模块,设置为向UE A所驻留的公共陆地移动网络PLMN所对应的拜访PF发送广播授权请求消息,其中,广播授权请求消息中携带有用于指示UE A将停止广播ProSe限制编码的指示信息;第三接收模块,设置为接收拜访PF返回的广播授权确认消息。In the embodiment of the present invention, the device further includes: a sending module, configured to send a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides, where the broadcast authorization request message carries the indication The UE A will stop broadcasting the indication information of the ProSe restriction coding; the third receiving module is configured to receive the broadcast authorization confirmation message returned by the visited PF.
在本发明实施例中,装置还包括:第四接收模块,设置为接收UE A返回的广播停止响应消息,其中,广播停止响应消息用于指示UE A已停止广播ProSe限制编码。In an embodiment of the present invention, the apparatus further includes: a fourth receiving module, configured to receive a broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
根据本发明的另一个方面,提供了一种近距离通信的发现装置,装置位于广播终端UE A中,装置包括:接收模块,设置为接收UE A的归属近距离通信服务器PF发送的通知消息,其中,该通知消息为归属PF在所有的监听终端UE M都停止监听近距离通信ProSe限制编码的情况下发送的消息;停止模块,设置为依据通知消息的指示停止广播ProSe限制编码。According to another aspect of the present invention, a discovery device for short-range communication is provided. The device is located in a broadcast terminal UE A. The device includes: a receiving module, configured to receive a notification message sent by the home proximity communication server PF of the UE A, The notification message is a message that is sent by the home PF when all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding; the stopping module is configured to stop broadcasting the ProSe restriction coding according to the indication of the notification message.
在本发明实施例中,在以下至少之一情况下,接收模块接收UE A的归属近距离通信服务器归属PF发送的通知消息:所有的UE M的定时器设置为0;所有的UE M的归属PF的定时器超时,且所有的UE M的归属PF没有收到所有的UE M重新发送的监听请求消息;所有的UE M移出了UE A的最大广播范围。In the embodiment of the present invention, in at least one of the following cases, the receiving module receives the notification message sent by the home PF of the home proximity communication server of the UE A: all UE M timers are set to 0; all UE M affiliations The timer of the PF expires, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M; all the UEs M remove the maximum broadcast range of the UE A.
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述实施例中的方法。Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
通过本发明,采用在所有的UE M都停止监听ProSe限制编码的情况下,UE A的归属PF通知UE A停止广播ProSe限制编码,解决了广播终端无线资源浪费的问题,提升了无线资源的利用率,延长了广播终端的电池使用时长。 With the present invention, in the case that all UEs M stop listening to ProSe restriction coding, the home PF of UE A notifies UE A to stop broadcasting ProSe restriction coding, which solves the problem of waste of radio resources of the broadcast terminal and improves the utilization of radio resources. The rate increases the battery life of the broadcast terminal.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据相关技术中和3GPP相关的D2D架构示意图;1 is a schematic diagram of a D2D architecture related to 3GPP according to the related art;
图2是根据相关技术中的一种D2D终端进行ProSe业务发现授权过程示意图;2 is a schematic diagram of a ProSe service discovery authorization process according to a D2D terminal in the related art;
图3是根据本发明实施例的近距离通信的发现方法的流程图一;3 is a flowchart 1 of a method for discovering short-range communication according to an embodiment of the present invention;
图4是根据本发明实施例的近距离通信的发现方法的流程图二;4 is a second flowchart of a method for discovering short-range communication according to an embodiment of the present invention;
图5是根据本发明实施例的近距离通信的发现方法的流程图三;FIG. 5 is a third flowchart of a method for discovering short-range communication according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的近距离通信的发现方法的流程图四;6 is a flowchart 4 of a method for discovering short-range communication according to an embodiment of the present invention;
图7是根据本发明实施例的近距离通信的发现方法的流程图五;7 is a flowchart 5 of a method for discovering short-range communication according to an embodiment of the present invention;
图8是根据本发明实施例的近距离通信的发现方法的流程图六;8 is a flowchart 6 of a method for discovering short-range communication according to an embodiment of the present invention;
图9是根据本发明实施例的近距离通信的发现系统的示意图一;9 is a first schematic diagram of a discovery system for short-range communication according to an embodiment of the present invention;
图10是根据本发明实施例的近距离通信的发现系统的示意图二;10 is a second schematic diagram of a discovery system for short-range communication according to an embodiment of the present invention;
图11是根据本发明实施例的近距离通信的发现装置的结构框图一;11 is a structural block diagram 1 of a discovery device for short-range communication according to an embodiment of the present invention;
图12是根据本发明实施例的近距离通信的发现装置的结构框图二;12 is a structural block diagram 2 of a discovery device for short-range communication according to an embodiment of the present invention;
图13是根据本发明实施例的近距离通信的发现装置的结构框图三;13 is a structural block diagram 3 of a discovery device for short-range communication according to an embodiment of the present invention;
图14是根据本发明实施例的近距离通信的发现装置的结构框图四;14 is a structural block diagram 4 of a discovery device for short-range communication according to an embodiment of the present invention;
图15是根据本发明实施例的近距离通信的发现装置的结构框图五;15 is a block diagram 5 of a structure of a discovery device for short-range communication according to an embodiment of the present invention;
图16是根据本发明实施例的近距离通信的发现装置的结构框图六;16 is a structural block diagram 6 of a discovery device for short-range communication according to an embodiment of the present invention;
图17是根据本发明优选实施例的近距离通信的发现方法的流程示意图一;17 is a flow chart 1 of a method for discovering short-range communication according to a preferred embodiment of the present invention;
图18是根据本发明优选实施例的近距离通信的发现方法的流程示意图二;18 is a second schematic diagram of a method for discovering short-range communication according to a preferred embodiment of the present invention;
图19是根据本发明优选实施例的近距离通信的发现方法的流程示意图三;19 is a third schematic flowchart of a method for discovering short-range communication according to a preferred embodiment of the present invention;
图20是根据本发明优选实施例的近距离通信的发现方法的流程示意图四。20 is a flow chart 4 of a method for discovering short-range communication in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种近距离通信的发现方法,图3是根据本发明实施例的近距离通信的发现方法的流程图一,如图3所示,该流程包括如下步骤:In this embodiment, a method for discovering short-range communication is provided. FIG. 3 is a flowchart 1 of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
步骤S302,广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码;Step S302, the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction coding of the UE A;
步骤S304,在所有的UE M都停止监听ProSe限制编码的情况下,UE A的归属PF通知UE A停止广播ProSe限制编码。Step S304, in a case where all UEs M stop listening to ProSe restriction coding, the home PF of UE A notifies UE A to stop broadcasting ProSe restriction coding.
通过上述步骤,在所有的UE M都停止监听ProSe限制编码的情况下,UE A的归属PF通知UE A停止广播ProSe限制编码,进而使得在监听终端UE M都不再监听听ProSe限制编码时,广播终端UE A不再一直进行广播,进而解决了广播终端无线资源浪费的问题,提升了无线资源的利用率,延长了广播终端的电池使用时长。Through the above steps, in the case that all the UEs M stop listening to the ProSe restriction coding, the home PF of the UE A notifies the UE A to stop broadcasting the ProSe restriction coding, so that when the interception terminal UE M no longer listens to the ProSe restriction coding, The broadcast terminal UE A does not broadcast all the time, thereby solving the problem of waste of radio resources of the broadcast terminal, improving the utilization rate of the radio resources, and prolonging the battery usage time of the broadcast terminal.
在本发明的一个实施例中,图4是根据本发明实施例的近距离通信的发现方法的流程图二,如图4所示,上述步骤S304之后,上述方法还包括:In an embodiment of the present invention, FIG. 4 is a second flowchart of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 4, after the step S304, the method further includes:
步骤S402,在UE M请求监听UE A的ProSe限制编码时,UE A的归属PF通知UE A继续广播ProSe限制编码。即在UE A暂时停止广播ProSe限制编码之后,如果有监听终端UE M继续请求广播终端UE A的ProSe限制编码时,UE A的归属PF通知UE A继续广播ProSe限制编码。Step S402, when the UE M requests to monitor the ProSe restriction coding of the UE A, the home PF of the UE A notifies the UE A to continue to broadcast the ProSe restriction coding. That is, after UE A temporarily stops broadcasting ProSe restriction coding, if there is a listening terminal UE M continuing to request ProSe restriction coding of the broadcast terminal UE A, the home PF of UE A notifies UE A to continue broadcasting ProSe restriction coding.
在本发明的一个实施例中,图5是根据本发明实施例的近距离通信的发现方法的流程图三,如图5所示,上述步骤S302之前,上述方法还包括:In an embodiment of the present invention, FIG. 5 is a flowchart of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 5, before the step S302, the method further includes:
步骤S502,UE A的归属PF接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带有监听请求消息的有效时长;其中,在有效时长为0时,指示UE M停止监听ProSe限制编码。In step S502, the home PF of the UE A receives the interception request message sent by the home PF of the UE M, where the intercept request message carries the valid duration of the interception request message; wherein, when the valid duration is 0, the UE M is instructed to stop listening to the ProSe. Limit the encoding.
需要说明的是,该有效时长可以通过定时器进行设置,也可以通过其他方式进行设置,比如直接给有效时长进行赋值等。在以下至少之一情况下,在UE M的归属PF发送的监听请求消息中携带有有效时长:UE M的定时器为0;UE M的归属PF的定时器超时,且UE M的归属PF没有收到UE M重新发送的监听请求消息。即在UE M的定时器为0或者UE M的归属PF的定时器超时,且UE M的归属PF没有收到UE M重新发送的监听请求消息的情况下,UE A的归属PF需要通过发送的监听请求消息中携带的有效时长为0来通知UE B的归属PF,UE A需要停止广播。进而在本发明的一个实施例中,步骤S302可以通过以下方式实现:UE A的归属PF根据UE A的上下文中所有UE M的标识以及有效时长,判断所有的UE M是否都停止监听UE A的ProSe限制编码;在每个UE M的标识所指示的UE M的归属PF发送的监听请求消息中的有效时长都为0时,所有的UE M都停止监听UE A的ProSe限制编码。 It should be noted that the effective duration can be set by a timer, or can be set by other methods, such as directly assigning an effective duration. In at least one of the following cases, the listening request message sent by the home PF of the UE M carries the valid duration: the timer of the UE M is 0; the timer of the home PF of the UE M times out, and the home PF of the UE M does not Received a listen request message retransmitted by the UE M. That is, if the timer of the UE M is 0 or the timer of the home PF of the UE M times out, and the home PF of the UE M does not receive the interception request message retransmitted by the UE M, the home PF of the UE A needs to be sent. The active duration carried in the interception request message is 0 to notify the home PF of the UE B, and the UE A needs to stop broadcasting. In an embodiment of the present invention, the step S302 can be implemented in the following manner: the home PF of the UE A determines whether all UEs M stop listening to UE A according to the identifiers of all UEs M in the context of UE A and the effective duration. ProSe restriction coding; when the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of each UE M is 0, all UEs M stop listening to the ProSe restriction coding of UE A.
在本发明的一个实施例中,图6是根据本发明实施例的近距离通信的发现方法的流程图四,如图6所示,上述步骤S302之前,上述方法还包括:In an embodiment of the present invention, FIG. 6 is a flowchart of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 6, before the step S302, the method further includes:
步骤S602,UE A的归属PF接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带UE M的位置信息;UE A的归属PF接收应用服务器发送的授权更新请求消息,其中,授权更新请求消息携带UE A的位置信息。Step S602, the home PF of the UE A receives the interception request message sent by the home PF of the UE M, where the interception request message carries the location information of the UE M, and the home PF of the UE A receives the authorization update request message sent by the application server, where The authorization update request message carries the location information of UE A.
在本发明的一个实施例中,步骤S302可以通过以下方式实现:UE A的归属PF根据UE A的位置信息和所有的UE M的位置信息判断所有的UE M是否已移出UE A的最大广播范围;其中,所有的UE M移出UE A的最大广播范围时,所有的UE M都停止监听UE A的ProSe限制编码。In an embodiment of the present invention, the step S302 can be implemented in the following manner: the home PF of the UE A determines whether all the UEs M have moved out of the maximum broadcast range of the UE A according to the location information of the UE A and the location information of all the UEs. When all the UEs M move out of the maximum broadcast range of UE A, all UEs M stop listening to the ProSe restriction coding of UE A.
在本发明的一个实施例中,图7是根据本发明实施例的近距离通信的发现方法的流程图五,如图7所示,步骤S304可以包括:In an embodiment of the present invention, FIG. 7 is a flowchart 5 of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 7, step S304 may include:
步骤S702,UE A的归属PF向UE A发送广播停止请求消息,其中,广播停止请求消息中携带有用于指示UE A没有UE M在监听ProSe限制编码的指示信息。In step S702, the home PF of the UE A sends a broadcast stop request message to the UE A, where the broadcast stop request message carries indication information indicating that the UE A does not have the UE M listening to the ProSe restriction code.
在本发明的一个实施例中,在步骤S702之前,上述方法还包括:步骤S704,UE A的归属PF向UE A所驻留的公共陆地移动网络PLMN所对应的拜访PF发送广播授权请求消息,其中,广播授权请求消息中携带有用于指示UE A将停止广播ProSe限制编码的指示信息;步骤S706,UE A的归属PF接收拜访PF返回的广播授权确认消息。在步骤S702之后,上述方法还可以包括:步骤S708,UE A的归属PF接收UE A返回的广播停止响应消息,其中,广播停止响应消息用于指示UE A已停止广播ProSe限制编码。In an embodiment of the present invention, before the step S702, the method further includes: in step S704, the home PF of the UE A sends a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides, The broadcast authorization request message carries the indication information for instructing the UE A to stop broadcasting the ProSe restriction coding. In step S706, the home PF of the UE A receives the broadcast authorization confirmation message returned by the visited PF. After the step S702, the method may further include: in step S708, the home PF of the UE A receives the broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
需要说明的是,在执行上述步骤S702之后,再执行步骤S704,但是并不限于此,比如:上述步骤S702也可以与步骤S704同时执行。It should be noted that, after the step S702 is performed, the step S704 is performed again, but the method is not limited thereto. For example, the above step S702 may be performed simultaneously with the step S704.
在本实施例中,还提供了一种近距离通信的发现方法,图8是根据本发明实施例的近距离通信的发现方法的流程图六,如图8所示,该流程包括如下步骤:In this embodiment, a method for discovering short-range communication is also provided. FIG. 8 is a flowchart 6 of a method for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 8, the process includes the following steps:
步骤S802,广播终端UE A接收UE A的归属近距离通信服务器归属PF发送的通知消息,其中,该通知消息为归属PF在所有的监听终端UE M都停止监听近距离通信ProSe限制编码的情况下发送的消息;Step S802, the broadcast terminal UE A receives the notification message sent by the home PF of the home proximity communication server of the UE A, where the notification message is that the home PF stops monitoring the ProSe restriction code when all the listening terminals UE M stop listening. Message sent;
步骤S804,UE A依据通知消息的指示停止广播ProSe限制编码。Step S804, UE A stops broadcasting ProSe restriction coding according to the indication of the notification message.
通过上述步骤,在所有的UE M都停止监听ProSe限制编码的情况下,UE A停止广播ProSe限制编码,解决了广播终端无线资源浪费的问题,与相关技术中的广播终端UE A一直进行广播相比,提高了UE A无线资源的利用率,延长了广播终端的电池使用时长。Through the above steps, in the case that all the UEs M stop listening to the ProSe restriction coding, the UE A stops broadcasting the ProSe restriction coding, and solves the problem of waste of radio resources of the broadcast terminal, and the broadcast terminal UE A in the related art always broadcasts. Compared, the utilization rate of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
在本发明的一个实施例中,在以下至少之一情况下,广播终端UE A接收UE A的归属近距离通信服务器PF发送的通知消息:所有的UE M的定时器设置为0;所有的UE M的归属PF的定时器超时,且所有的UE M的归属PF没有收到所有的UE M重新发送的监听请求消息; 所有的UE M移出了UE A的最大广播范围。In an embodiment of the present invention, in at least one of the following cases, the broadcast terminal UE A receives the notification message sent by the home proximity communication server PF of UE A: all UE M timers are set to 0; all UEs The timer of the home PF of the M expires, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M; All UEs M move out of the maximum broadcast range of UE A.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中,还提供了一种近距离通信的发送系统,图9是根据本发明实施例的近距离通信的发现系统的示意图一,如图9所示,该系统包括:广播终端UE A92,UE A的归属近距离通信服务器PF94,监听终端UE M96;In this embodiment, a transmission system for short-range communication is also provided. FIG. 9 is a schematic diagram 1 of a discovery system for short-range communication according to an embodiment of the present invention. As shown in FIG. 9, the system includes: a broadcast terminal UE. A92, UE A's home proximity communication server PF94, listening terminal UE M96;
UE A的归属PF94,设置为检测所有的UE M96是否都停止监听UE A92的近距离通信ProSe限制编码;The home PF 94 of the UE A is set to detect whether all the UEs M96 stop listening to the short-range communication ProSe restriction coding of the UE A92;
UE A92,设置为在UE A的归属PF94检测到所有的UE M96都停止监听ProSe限制编码的情况下,停止广播ProSe限制编码。The UE A92 is configured to stop broadcasting the ProSe restriction coding if the home PF 94 of the UE A detects that all the UEs M96 stop listening to the ProSe restriction coding.
通过该系统,在所有的UE M96都停止监听ProSe限制编码的情况下,UE A92停止广播ProSe限制编码,解决了广播终端无线资源浪费的问题,与相关技术中的广播终端UE A一直进行广播相比,提高了UE A无线资源的利用率,延长了广播终端的电池使用时长。With the system, in the case that all the UEs M96 stop listening to the ProSe restriction coding, the UE A92 stops broadcasting the ProSe restriction coding, and solves the problem of waste of radio resources of the broadcast terminal, and the broadcast terminal UE A in the related art always broadcasts. Compared, the utilization rate of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
在本发明的一个实施例中,图10是根据本发明实施例的近距离通信的发现系统的示意图二,如图10所示,上述系统还可以包括:UE M的归属PF1002;其中,UE M的归属PF1002,设置为向UE A的归属PF94发送监听请求消息;其中,监听请求消息中携带有监听请求消息的有效时长;其中,在有效时长为0时指示UE M停止监听ProSe限制编码。在本发明实施例中,UE A的归属PF94,还设置为根据UE A92的上下文中所有UE M96的标识以及有效时长,判断所有的UE M96是否都停止监听UE A92的ProSe限制编码;其中,每个UE M96的标识所指示的UE M的归属PF1002发送的监听请求消息中的有效时长都为0时,所有的UE M96都停止监听UE A92的ProSe限制编码。In an embodiment of the present invention, FIG. 10 is a schematic diagram 2 of a discovery system for short-range communication according to an embodiment of the present invention. As shown in FIG. 10, the system may further include: a home PF 1002 of the UE M; wherein, the UE M The home PF 1002 is configured to send a listening request message to the home PF 94 of the UE A. The listening request message carries a valid duration of the listening request message. The valid time duration is 0, indicating that the UE M stops listening to the ProSe restriction code. In the embodiment of the present invention, the home PF 94 of the UE A is further configured to determine, according to the identifiers of all the UEs M96 in the context of the UE A92 and the effective duration, whether all the UEs M96 stop listening to the ProSe restriction coding of the UE A92; When the valid duration in the interception request message sent by the home PF 1002 of the UE M indicated by the identifier of the UE M96 is 0, all the UEs M96 stop listening to the ProSe restriction coding of the UE A92.
在本发明的一个实施例中,上述UE M的归属PF1002还设置为向UE A的归属PF94发送监听请求消息;其中,监听请求消息中携带有UE M96的位置信息;UE A的归属PF94,还设置为接收应用服务器发送的授权更新请求消息,其中,授权更新请求消息携带UE A92的位置信息;以及根据UE A92的位置信息和所有的UE M96的位置信息判断所有的UE M96是否已移出UE A92的最大广播范围;其中,所有的UE M96移出UE A92的最大广播范围时,所有的UE M96都停止监听UE A92的ProSe限制编码。In an embodiment of the present invention, the home PF 1002 of the UE M is further configured to send a listening request message to the home PF 94 of the UE A. The intercept request message carries the location information of the UE M96; the home PF 94 of the UE A is further And being configured to receive the authorization update request message sent by the application server, where the authorization update request message carries the location information of the UE A92; and determining whether all the UEs M96 have been removed from the UE A92 according to the location information of the UE A92 and the location information of all the UEs M96. The maximum broadcast range; when all UEs M96 move out of the maximum broadcast range of UE A92, all UEs M96 stop listening to the ProSe restriction code of UE A92.
在本实施例中还提供了一种近距离通信的发现装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或 者软件和硬件的组合的实现也是可能并被构想的。In the present embodiment, a discovery device for short-range communication is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or The implementation of a combination of software and hardware is also possible and conceived.
图11是根据本发明实施例的近距离通信的发现装置的结构框图一,该装置应用于广播终端UE A的归属近距离通信服务器PF,如图11所示,该装置包括:11 is a structural block diagram of a discovery device for short-range communication according to an embodiment of the present invention. The device is applied to a home proximity communication server PF of a broadcast terminal UE A. As shown in FIG. 11, the device includes:
检测模块1102,设置为检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码;The detecting module 1102 is configured to detect whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction encoding of the UE A;
第一通知模块1104,与检测模块1102连接,设置为在所有的UE M都停止监听ProSe限制编码的情况下,通知UE A停止广播ProSe限制编码。The first notification module 1104 is connected to the detection module 1102, and is configured to notify the UE A to stop broadcasting the ProSe restriction coding if all UEs M stop listening to the ProSe restriction coding.
通过上述装置,通过检测模块1102和第一通知模块1104,使得在所有的UE M都停止监听ProSe限制编码的情况下,通知UE A停止广播ProSe限制编码,进而UE A在在所有的UE M都停止监听ProSe限制编码的情况下,停止广播ProSe限制编码。进而解决了广播终端无线资源浪费的问题,与相关技术中的广播终端UE A一直进行广播相比,提高了UE A无线资源的利用率,延长了广播终端的电池使用时长。Through the above apparatus, through the detecting module 1102 and the first notification module 1104, in a case where all UEs M stop listening to ProSe restriction coding, the UE A is notified to stop broadcasting ProSe restriction coding, and thus UE A is in all UE M When the ProSe restriction encoding is stopped, the broadcast ProSe restriction encoding is stopped. Furthermore, the problem of waste of radio resources of the broadcast terminal is solved. Compared with the broadcast of the broadcast terminal UE A in the related art, the utilization of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
在本发明的一个实施例中,图12是根据本发明实施例的近距离通信的发现装置的结构框图二,该装置除包括图11所示的所有模块外,还包括:In an embodiment of the present invention, FIG. 12 is a structural block diagram 2 of a discovery device for short-range communication according to an embodiment of the present invention. The device includes, in addition to all the modules shown in FIG.
第二通知模块1202,与上述第一通知模块1104连接,设置为在UE M请求监听UE A的ProSe限制编码时,通知UE A继续广播ProSe限制编码。在UE A暂时停止广播ProSe限制编码之后,如果有监听终端UE M继续请求广播终端UE A的ProSe限制编码时,通知UE A继续广播ProSe限制编码。The second notification module 1202 is connected to the first notification module 1104, and is configured to notify the UE A to continue to broadcast ProSe restriction coding when the UE M requests to monitor the ProSe restriction coding of the UE A. After UE A temporarily stops broadcasting ProSe restriction coding, if there is a listening terminal UE M continuing to request ProSe restriction coding of the broadcast terminal UE A, it is notified that UE A continues to broadcast ProSe restriction coding.
在本发明的一个实施例中,图13是根据本发明实施例的近距离通信的发现装置的结构框图三,上述装置还包括:In an embodiment of the present invention, FIG. 13 is a structural block diagram 3 of a discovery device for short-range communication according to an embodiment of the present invention. The device further includes:
第一接收模块1302,与上述检测模块1102连接,设置为接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带有监听请求消息的有效时长;其中,在有效时长为0时指示UE M停止监听ProSe限制编码。The first receiving module 1302 is connected to the detecting module 1102, and is configured to receive the monitoring request message sent by the home PF of the UE M, where the monitoring request message carries the effective duration of the monitoring request message; wherein, when the effective duration is 0 Instruct UE M to stop listening for ProSe restriction coding.
需要说明的是,该有效时长可以通过定时器进行设置,也可以通过其他方式进行设置,比如直接给有效时长进行赋值等。在以下至少之一情况下,在UE M的归属PF发送的监听请求消息中携带有有效时长:UE M的定时器为0;UE M的归属PF的定时器超时,且UE M的归属PF没有收到UE M重新发送的监听请求消息。即在UE M的定时器为0或者UE M的归属PF的定时器超时,且UE M的归属PF没有收到UE M重新发送的监听请求消息的情况下,UE A的归属PF需要通过发送的监听请求消息中携带的有效时长为0来通知UE B的归属PF,UE A需要停止广播。It should be noted that the effective duration can be set by a timer, or can be set by other methods, such as directly assigning an effective duration. In at least one of the following cases, the listening request message sent by the home PF of the UE M carries the valid duration: the timer of the UE M is 0; the timer of the home PF of the UE M times out, and the home PF of the UE M does not Received a listen request message retransmitted by the UE M. That is, if the timer of the UE M is 0 or the timer of the home PF of the UE M times out, and the home PF of the UE M does not receive the interception request message retransmitted by the UE M, the home PF of the UE A needs to be sent. The active duration carried in the interception request message is 0 to notify the home PF of the UE B, and the UE A needs to stop broadcasting.
在本发明实施例中,上述检测模块1102,还设置为根据UE A的上下文中所有UE M的标识以及有效时长,判断所有的UE M是否都停止监听UE A的ProSe限制编码;其中,每个UE M的标识所指示的UE M的归属PF发送的监听请求消息中的有效时长都为0时,所有的 UE M都停止监听UE A的ProSe限制编码。In the embodiment of the present invention, the detecting module 1102 is further configured to determine, according to the identifiers of all the UEs M in the context of the UE A, and the effective duration, whether all the UEs M stop listening to the ProSe restriction coding of the UE A; When the effective duration in the interception request message sent by the home PF of the UE M indicated by the identifier of the UE M is 0, all UE M stops listening to UE A's ProSe restriction coding.
在本发明的一个实施例中,图14是根据本发明实施例的近距离通信的发现装置的结构框图四,上述装置还包括:In an embodiment of the present invention, FIG. 14 is a structural block diagram of a discovery device for short-range communication according to an embodiment of the present invention. The device further includes:
第二接收模块1402,与上述检测模块1102连接,设置为接收UE M的归属PF发送的监听请求消息,其中,监听请求消息中携带UE M的位置信息;以及接收应用服务器发送的授权更新请求消息,其中,授权更新请求消息携带UE A的位置信息;The second receiving module 1402 is connected to the detecting module 1102, and is configured to receive a listening request message sent by the home PF of the UE M, where the intercept request message carries location information of the UE M, and receives an authorization update request message sent by the application server. The authorization update request message carries the location information of the UE A.
上述检测模块1102,还设置为根据UE A的位置信息和所有的UE M的位置信息判断所有的UE M是否已移出UE A的最大广播范围;其中,所有的UE M移出UE A的最大广播范围时,所有的UE M都停止监听UE A的ProSe限制编码。The foregoing detection module 1102 is further configured to determine, according to the location information of the UE A and the location information of all the UEs, whether all UEs M have moved out of the maximum broadcast range of the UE A; wherein all the UEs M move out of the maximum broadcast range of the UE A. At this time, all UEs M stop listening to UE A's ProSe restriction coding.
在本发明的一个实施例中,上述第一通知模块1104,还设置为向UE A发送广播停止请求消息,其中,广播停止请求消息中携带有用于指示UE A没有UE M在监听ProSe限制编码的指示信息。In an embodiment of the present invention, the first notification module 1104 is further configured to send a broadcast stop request message to the UE A, where the broadcast stop request message carries a message indicating that the UE A is not listening to the ProSe restriction code. Instructions.
在本发明实施例中,图15是根据本发明实施例的近距离通信的发现装置的结构框图五,如图15所示,上述装置还包括:In the embodiment of the present invention, FIG. 15 is a structural block diagram 5 of a device for discovering short-range communication according to an embodiment of the present invention. As shown in FIG. 15, the device further includes:
发送模块1502,与上述第一通知模块1104连接,设置为向UE A所驻留的公共陆地移动网络PLMN所对应的拜访PF发送广播授权请求消息,其中,广播授权请求消息中携带有用于指示UE A将停止广播ProSe限制编码的指示信息;The sending module 1502 is connected to the foregoing first notification module 1104, and is configured to send a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A resides, where the broadcast authorization request message carries the UE for indicating A will stop broadcasting the indication information of the ProSe restriction code;
第三接收模块1504,与上述发送模块1502连接,设置为接收拜访PF返回的广播授权确认消息。The third receiving module 1504 is connected to the sending module 1502, and is configured to receive a broadcast authorization confirmation message returned by the visited PF.
第四接收模块1506,与上述第一通知模块1104连接,设置为接收UE A返回的广播停止响应消息,其中,广播停止响应消息用于指示UE A已停止广播ProSe限制编码。The fourth receiving module 1506 is connected to the first notification module 1104, and is configured to receive a broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
在本发明实施例中,还提供了一种近距离通信的发现装置,图16是根据本发明实施例的近距离通信的发现装置的结构框图六,装置位于广播终端UE A中,如图16所示,该装置包括:In the embodiment of the present invention, a discovery device for short-range communication is also provided. FIG. 16 is a structural block diagram 6 of a discovery device for short-range communication according to an embodiment of the present invention. The device is located in the broadcast terminal UE A, as shown in FIG. 16 . As shown, the device includes:
接收模块1602,设置为接收UE A的归属近距离通信服务器PF发送的通知消息,其中,该通知消息为归属PF在所有的监听终端UE M都停止监听近距离通信ProSe限制编码的情况下发送的消息;The receiving module 1602 is configured to receive a notification message sent by the home proximity communication server PF of the UE A, where the notification message is sent by the home PF if all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding. Message
停止模块1604,与上述接收模块1602连接,设置为依据通知消息的指示停止广播ProSe限制编码。The stopping module 1604 is connected to the receiving module 1602, and is configured to stop broadcasting the ProSe restriction encoding according to the indication of the notification message.
通过上述装置,通过接收模块1602和停止模块1604,在所有的UE M都停止监听ProSe限制编码的情况下,停止广播ProSe限制编码,解决了广播终端无线资源浪费的问题,与相关技术中的广播终端UE A一直进行广播相比,提高了UE A无线资源的利用率,延长了广播终端的电池使用时长。 Through the above apparatus, through the receiving module 1602 and the stopping module 1604, when all UEs M stop listening to ProSe restriction coding, the broadcast ProSe restriction coding is stopped, and the problem of waste of radio resources of the broadcasting terminal is solved, and the broadcasting in the related art Compared with the broadcast of the terminal UE A, the utilization of the radio resources of the UE A is improved, and the battery usage time of the broadcast terminal is prolonged.
在本发明实施例中,在以下至少之一情况下,接收模块接收UE A的归属近距离通信服务器PF发送的通知消息:所有的UE M的定时器设置为0;所有的UE M的归属PF的定时器超时,且所有的UE M的归属PF没有收到所有的UE M重新发送的监听请求消息;所有的UE M移出了UE A的最大广播范围。In the embodiment of the present invention, in at least one of the following cases, the receiving module receives the notification message sent by the home proximity communication server PF of the UE A: all UE M timers are set to 0; all UE M's home PFs The timer expires, and all UE M's home PFs do not receive all UE M retransmitted listening request messages; all UEs M move out of UE A's maximum broadcast range.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
为了更好的理解本发明,以下结合优选的实施例对本发明实施例做进一步解释。For a better understanding of the present invention, the embodiments of the present invention are further explained below in conjunction with the preferred embodiments.
本发明实施例提供了一种优选的近距离通信发现方法,以至少解决相关技术中广播终端无线资源浪费的问题。该方法包括:广播UE的归属近距离通信服务器PF检测到所有的监听UE都停止监听广播UE的ProSe Restricted Code,所述归属近距离通信服务器PF需要通知所述广播UE停止广播(相当于图3所示实施例中的步骤S304)。待有监听UE继续请求广播UE的ProSe Restricted Code,归属近距离通信服务器需要通知监听广播UE可以继续广播(相当于图4所示实施例中的步骤S402)。The embodiments of the present invention provide a preferred short-range communication discovery method to solve at least the problem of waste of radio resources of a broadcast terminal in the related art. The method includes: the home short-range communication server PF of the broadcast UE detects that all the listening UEs stop listening to the ProSe Restricted Code of the broadcast UE, and the home short-range communication server PF needs to notify the broadcast UE to stop broadcasting (corresponding to FIG. 3 Step S304) in the illustrated embodiment. After the monitoring UE continues to request the ProSe Restricted Code of the broadcast UE, the home proximity communication server needs to notify the listening broadcast UE that the broadcast can continue (equivalent to step S402 in the embodiment shown in FIG. 4).
在本发明优选实施例中,当监听UE发起定时器为“0”的监听发现请求时,监听UE的归属近距离通信服务器需要通知广播UE的归属近距离通信服务器,这样广播UE归属近距离通信服务器就可以通知所述广播UE停止广播。In a preferred embodiment of the present invention, when the monitoring UE initiates a interception discovery request with a timer of “0”, the home proximity communication server of the monitoring UE needs to notify the broadcast UE of the home proximity communication server, so that the broadcast UE belongs to the short-range communication. The server can then notify the broadcast UE to stop broadcasting.
在本发明优选实施例中,当监听UE与广播UE的位置超出了广播UE所能广播的最大范围,广播UE的归属近距离通信服务器通知所述广播UE停止广播。In a preferred embodiment of the present invention, when the location of the listening UE and the broadcast UE exceeds the maximum range that the broadcast UE can broadcast, the home proximity communication server of the broadcast UE notifies the broadcast UE to stop broadcasting.
在本发明优选实施例中,当监听UE的归属近距离通信服务器的有效定时器超时时,监听UE仍然没有重新发送监听发现请求,监听UE的归属近距离服务器需要通知广播UE的归属近距离服务器,广播UE的归属近距离通信服务器通知所述广播UE停止广播。In a preferred embodiment of the present invention, when the effective timer of the home proximity communication server of the monitoring UE times out, the listening UE still does not resend the monitoring discovery request, and the home proximity server that listens to the UE needs to notify the broadcast UE of the home proximity server. The home short-range communication server of the broadcast UE notifies the broadcast UE to stop broadcasting.
通过本发明的上述优选实施例,采用广播UE的归属近距离通信服务器检测到所有的监听UE都停止监听广播UE的ProSe Restricted Code,所述归属近距离通信服务器需要通知所述广播UE停止广播,解决了相关技术中广播终端无线资源浪费的,提升了无线资源的效率,并且可以有利广播UE节电。With the above-described preferred embodiment of the present invention, the home short-range communication server using the broadcast UE detects that all the listening UEs stop listening to the ProSe Restricted Code of the broadcast UE, and the home short-range communication server needs to notify the broadcast UE to stop broadcasting. The invention solves the waste of radio resources of the broadcast terminal in the related art, improves the efficiency of the radio resource, and can advantageously broadcast the power saving of the UE.
在本发明实施例中,还提供了一种优选的近距离通信发现的方法,图17是根据本发明优选实施例的近距离通信的发现方法的流程示意图一,如图17所示,该方法包括如下步骤:In the embodiment of the present invention, a preferred method for short-range communication discovery is also provided, and FIG. 17 is a schematic flowchart 1 of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. Including the following steps:
步骤S1701,广播UE的归属近距离通信服务器检测到所有的监听UE都停止监听广播UE的ProSe Restricted Code;Step S1701, the home proximity communication server of the broadcast UE detects that all the listening UEs stop listening to the ProSe Restricted Code of the broadcast UE;
步骤S1702,广播UE的归属近距离通信服务器需要通知广播UE停止广播;Step S1702: The home proximity communication server of the broadcast UE needs to notify the broadcast UE to stop broadcasting;
步骤S1703,待有监听UE继续请求广播UE的ProSe Restricted Code,归属近距离通信服务器需要通知监听广播UE可以继续广播。 Step S1703: The listening UE continues to request the ProSe Restricted Code of the broadcast UE, and the home short-range communication server needs to notify the listening broadcast UE that the broadcast can continue.
在本发明实施例中,还提供了另一种优选的近距离通信发现的方法,图18是根据本发明优选实施例的近距离通信的发现方法的流程示意图二,如图18所示,该方法包括如下步骤:In the embodiment of the present invention, another preferred method for short-range communication discovery is also provided. FIG. 18 is a second schematic diagram of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. The method includes the following steps:
步骤S1801,UE M向归属PF-M发送监听发现请求消息,消息中携带RAPUID,IMSI,应用标识,发现条目标识(Discovery Entry ID),发现类型,应用层容器,请求有效时间,其中发现类型设置为“限制发现”,应用层容器中携带目标RPAUID,请求有效时间设置为“0”;请求有效时间设置为“0”的目的是UE准备停止监听;In step S1801, the UE M sends a monitoring discovery request message to the home PF-M, where the message carries the RAPUID, the IMSI, the application identifier, the Discovery Entry ID, the discovery type, the application layer container, the request validity time, and the discovery type setting. To limit the discovery, the application layer container carries the target RPAUID, and the request valid time is set to "0"; the purpose of request validity time is set to "0" is that the UE is ready to stop listening;
步骤S1802,归属PF M根据应用标识获取应用服务器地址,并向应用服务器发送鉴权请求,该消息携带RPAUID,请求类型,应用层容器,其中请求类型设置为“限制发现/停止监听”;Step S1802: The home PF M acquires an application server address according to the application identifier, and sends an authentication request to the application server, where the message carries the RPAUID, the request type, and the application layer container, where the request type is set to “limit discovery/stop monitoring”;
步骤S1803,应用服务器向归属PF M返回鉴权响应消息,该消息携带PDUID,响应类型,目标RPAUID与目标PDUID对,其中响应类型设置为“限制发现/停止监听确认”;Step S1803: The application server returns an authentication response message to the home PF M, where the message carries a PDU ID, a response type, a target RPAUID and a target PDUID pair, where the response type is set to “limit discovery/stop monitoring acknowledgement”;
步骤S1804,归属PF M根据步骤UE M存储的上下文中获取的目标PDUID中PLMN标识找到其所对应的PF A,并向对应PF A发送监听请求,消息中携带UE M的RPAUID,UE M的IMSI,目标RPAUID(也即UE A的RPAUID),目标PDUID(也即UE A的PDUID),应用标识,请求的有效时长,其中请求的有效时长设置为“0”;In step S1804, the home PF M finds the PF A corresponding to the PLMN identifier in the target PDU ID obtained in the context stored in the UE M, and sends a listening request to the corresponding PF A, where the message carries the RPAUID of the UE M, and the IMSI of the UE M. , the target RPAUID (that is, the RPAUID of the UE A), the target PDUID (that is, the PDU ID of the UE A), the application identifier, and the effective duration of the request, wherein the effective duration of the request is set to “0”;
步骤S1805,归属PF A向归属PF M返回监听响应消息;Step S1805: The home PF A returns a monitoring response message to the home PF M.
步骤S1806,归属PF M删除发现条目标识所对应的上下文,并向UE M返回监听发现响应消息,消息中携带发现条目标识;UE释放监听所使用的资源;Step S1806: The home PF M deletes the context corresponding to the identifier of the discovery entry, and returns a monitoring discovery response message to the UE M, where the message carries the identifier of the discovery item; the UE releases the resource used for the monitoring;
步骤S1807,归属PF A根据UE A的上下文中所有的监听UE标识判断出所有监听UE都已经请求停止监听(相当于图3所示实施例的步骤S302),归属PF A向UE A所驻留的PLMN C所对应的拜访PF C发送广播授权请求消息,授权请求消息中携带发现条目标识及请求停止广播指示;其中请求停止广播指示用于表示广播UE A将暂停广播(相当于图7所示实施例中的步骤S704);Step S1807: The home PF A determines, according to all the monitoring UE identifiers in the context of the UE A, that all the listening UEs have requested to stop listening (corresponding to step S302 of the embodiment shown in FIG. 3), and the home PF A resides in the UE A. The visited PF C corresponding to the PLMN C sends a broadcast authorization request message, where the authorization request message carries the discovery item identifier and the request to stop the broadcast indication; wherein the request to stop the broadcast indication is used to indicate that the broadcast UE A will pause the broadcast (corresponding to FIG. 7 Step S704) in the embodiment;
步骤S1808,拜访PF C向归属PF A返回广播授权确认消息(相当于图7所示实施例中的步骤S706);Step S1808, the visited PF C returns a broadcast authorization confirmation message to the home PF A (corresponding to step S706 in the embodiment shown in FIG. 7);
步骤S1809,归属PF A向UE A发送广播停止请求消息,消息中携带发现条目标识,停止广播指示,其中停止广播指示用于指示广播UE A暂无监听UE在监听应用,可以暂停广播ProSe Restricted Code(相当于图3所示实施例的步骤S304)。待有监听UE再次请求该应用后,归属PF A将使用步骤S217-S220通知UE继续广播ProSe Restricted Code(相当于图4所示实施例的步骤S402)。Step S1809: The home PF A sends a broadcast stop request message to the UE A, where the message carries the discovery entry identifier, and stops the broadcast indication, where the stop broadcast indication is used to indicate that the broadcast UE A is temporarily not listening to the UE while monitoring the application, and the broadcast ProSe Restricted Code may be suspended. (Equivalent to step S304 of the embodiment shown in Fig. 3). After the listening UE requests the application again, the home PF A will notify the UE to continue to broadcast the ProSe Restricted Code using steps S217-S220 (corresponding to step S402 of the embodiment shown in FIG. 4).
步骤S1810,UE A向归属PF A返回广播停止响应消息(相当于图7所示实施例的步骤S708)。In step S1810, UE A returns a broadcast stop response message to the home PF A (corresponding to step S708 of the embodiment shown in FIG. 7).
在本发明实施例中,还提供了另一种优选的近距离通信发现的方法,图19是根据本发明优选实施例的近距离通信的发现方法的流程示意图三,如图19所示,该方法包括如下步骤: In the embodiment of the present invention, another preferred method for short-range communication discovery is provided. FIG. 19 is a schematic flowchart 3 of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. The method includes the following steps:
步骤S1901,UE M向应用服务器上报位置信息,该消息中携带UE M的位置信息,RPAUID;In step S1901, the UE M reports the location information to the application server, where the message carries the location information of the UE M, RPAUID;
步骤S1902,应用服务器向归属PF M发送授权更新请求消息,该消息携带RPAUID,PDUID,UE M的位置信息;Step S1902: The application server sends an authorization update request message to the home PF M, where the message carries the RPAUID, the PDUID, and the location information of the UE M.
步骤S1903,归属PF M向应用服务器返回授权更新响应消息;Step S1903: The home PF M returns an authorization update response message to the application server.
步骤S1904,归属PF M根据步骤UE M存储的上下文中获取的目标PDUID中PLMN标识找到其所对应的PF A,并向对应PF A发送监听请求,消息中携带UE M的RPAUID,UE M的IMSI,目标RPAUID(也即UE A的RPAUID),目标PDUID(也即UE A的PDUID),应用标识,UE M的位置信息;In step S1904, the home PF M finds the PF A corresponding to the PLMN identifier in the target PDU ID obtained in the context stored in the UE M, and sends a listening request to the corresponding PF A, where the message carries the RPAUID of the UE M, and the IMSI of the UE M. , the target RPAUID (that is, the RPAUID of the UE A), the target PDU ID (that is, the PDU ID of the UE A), the application identifier, and the location information of the UE M;
步骤S1905,归属PF A向归属PF M返回监听响应消息;Step S1905: The home PF A returns a monitoring response message to the home PF M.
步骤S1906,UE A向应用服务器上报位置信息,该消息中携带UE A的位置信息,RPAUID;Step S1906, the UE A reports the location information to the application server, where the message carries the location information of the UE A, RPAUID;
步骤S1907,应用服务器向归属PF A发送授权更新请求消息,该消息携带RPAUID,PDUID,UE A的位置信息;Step S1907: The application server sends an authorization update request message to the home PF A, where the message carries the RPAUID, the PDUID, and the location information of the UE A.
步骤S1908,归属PF A向应用服务器返回授权更新响应消息;Step S1908, the home PF A returns an authorization update response message to the application server.
步骤S1909,归属PF A根据UE A和UE M的位置信息判断出UE M已经移出UE A的最大广播范围(相当于图3所示实施例的步骤S302);归属PF A向UE A所驻留的PLMN C所对应的拜访PF C发送广播授权请求消息,授权请求消息中携带发现条目标识及请求停止广播指示;其中请求停止广播指示用于表示广播UE A将暂停广播(相当于图7所示实施例中的步骤S704)。Step S1909: The home PF A determines, according to the location information of the UE A and the UE M, that the UE M has moved out of the maximum broadcast range of the UE A (corresponding to step S302 in the embodiment shown in FIG. 3); the home PF A resides in the UE A. The visited PF C corresponding to the PLMN C sends a broadcast authorization request message, where the authorization request message carries the discovery item identifier and the request to stop the broadcast indication; wherein the request to stop the broadcast indication is used to indicate that the broadcast UE A will pause the broadcast (corresponding to FIG. 7 Step S704) in the embodiment.
步骤S1910,拜访PF C向归属PF A返回广播授权确认消息(相当于图7所示实施例中的步骤S706);Step S1910, the visited PF C returns a broadcast authorization confirmation message to the home PF A (corresponding to step S706 in the embodiment shown in FIG. 7);
步骤S1911,归属PF A向UE A发送广播停止请求消息,消息中携带发现条目标识,停止广播指示,其中停止广播指示用于指示广播UE A暂无监听UE在监听应用,可以暂停广播ProSe Restricted Code(相当于图3所示实施例的步骤S304)。待有监听UE再次请求该应用后,归属PF A将使用步骤S217-S220通知UE继续广播ProSe Restricted Code(相当于图4所示实施例的步骤S402)。Step S1911: The home PF A sends a broadcast stop request message to the UE A, where the message carries the discovery item identifier, and stops the broadcast indication, where the stop broadcast indication is used to indicate that the broadcast UE A is temporarily not listening to the UE while monitoring the application, and the broadcast ProSe Restricted Code may be suspended. (Equivalent to step S304 of the embodiment shown in Fig. 3). After the listening UE requests the application again, the home PF A will notify the UE to continue to broadcast the ProSe Restricted Code using steps S217-S220 (corresponding to step S402 of the embodiment shown in FIG. 4).
步骤S1912,UE A向归属PF A返回广播停止响应消息(相当于图7所示实施例的步骤S708)。In step S1912, UE A returns a broadcast stop response message to the home PF A (corresponding to step S708 of the embodiment shown in FIG. 7).
在本发明实施例中,还提供了另一种优选的近距离通信发现的方法,图20是根据本发明优选实施例的近距离通信的发现方法的流程示意图四,如图20所示,该方法包括如下步骤:In the embodiment of the present invention, another preferred method for short-range communication discovery is also provided. FIG. 20 is a schematic flowchart diagram 4 of a method for discovering short-range communication according to a preferred embodiment of the present invention. As shown in FIG. The method includes the following steps:
步骤S2001,在步骤S216中分配的TTL超时后,归属PF M没有收到UE M重新发送的监听发现请求消息,归属PF M根据步骤UE M存储的上下文中获取的目标PDUID中PLMN 标识找到其所对应的PF A,并向对应PF A发送监听请求,消息中携带发现条目标识,请求的有效时长,其中请求的有效时长设置为“0”;Step S2001: After the TTL that is allocated in step S216 is timed out, the home PF M does not receive the monitoring discovery request message retransmitted by the UE M, and the home PF M according to the target PDUID obtained in the context stored by the UE M is in the PLMN. The identifier finds the corresponding PF A, and sends a listening request to the corresponding PF A, where the message carries the discovery item identifier, and the validity time of the request, wherein the effective duration of the request is set to “0”;
步骤S2002,归属PF A向归属PF M返回监听响应消息;Step S2002, the home PF A returns a monitoring response message to the home PF M.
步骤S2003,归属PF A根据UE A的上下文中所有的监听UE标识判断出所有监听UE都已经请求停止监听(相当于图3所示实施例的步骤S302),归属PF A向UE A所驻留的PLMN C所对应的拜访PF C发送广播授权请求消息,授权请求消息中携带发现条目标识及请求停止广播指示;其中请求停止广播指示用于表示广播UE A将暂停广播(相当于图7所示实施例中的步骤S704);In step S2003, the home PF A determines that all the listening UEs have requested to stop listening according to all the listening UE identifiers in the context of the UE A (corresponding to step S302 of the embodiment shown in FIG. 3), and the home PF A resides in the UE A. The visited PF C corresponding to the PLMN C sends a broadcast authorization request message, where the authorization request message carries the discovery item identifier and the request to stop the broadcast indication; wherein the request to stop the broadcast indication is used to indicate that the broadcast UE A will pause the broadcast (corresponding to FIG. 7 Step S704) in the embodiment;
步骤S2004,拜访PF C向归属PF A返回广播授权确认消息(相当于图7所示实施例中的步骤S706);Step S2004, the visited PF C returns a broadcast authorization confirmation message to the home PF A (corresponding to step S706 in the embodiment shown in FIG. 7);
步骤S2005,归属PF A向UE A发送广播停止请求消息,消息中携带发现条目标识,停止广播指示,其中停止广播指示用于指示广播UE A暂无监听UE在监听应用,可以暂停广播ProSe Restricted Code(相当于图3所示实施例的步骤S304)。待有监听UE再次请求该应用后,归属PF A将使用步骤S217-S220通知UE继续广播ProSe Restricted Code(相当于图4所示实施例的步骤S402)。In step S2005, the home PF A sends a broadcast stop request message to the UE A, where the message carries the discovery entry identifier, and stops the broadcast indication, wherein the stop broadcast indication is used to indicate that the broadcast UE A is temporarily not listening to the UE while monitoring the application, and the broadcast ProSe Restricted Code may be suspended. (Equivalent to step S304 of the embodiment shown in Fig. 3). After the listening UE requests the application again, the home PF A will notify the UE to continue to broadcast the ProSe Restricted Code using steps S217-S220 (corresponding to step S402 of the embodiment shown in FIG. 4).
步骤S2006,UE A向归属PF A返回广播停止响应消息(相当于图7所示实施例的步骤S708)。In step S2006, UE A returns a broadcast stop response message to the home PF A (corresponding to step S708 of the embodiment shown in FIG. 7).
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听UE A的近距离通信ProSe限制编码;S1, the home short-distance communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction coding of the UE A;
S2,在所有的UE M都停止监听ProSe限制编码的情况下,UE A的归属PF通知UE A停止广播ProSe限制编码。S2, in a case where all UEs M stop listening to ProSe restriction coding, the home PF of UE A notifies UE A to stop broadcasting ProSe restriction coding.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个 集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or make multiple modules or steps into a single The integrated circuit module is implemented. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种近距离通信的发现方法、系统及装置具有以下有益效果:解决了广播终端无线资源浪费的问题,提升了无线资源的利用率,延长了广播终端的电池使用时长。 As described above, the discovery method, system, and device for short-distance communication provided by the embodiments of the present invention have the following beneficial effects: solving the problem of waste of radio resources of the broadcast terminal, improving the utilization rate of the radio resources, and prolonging the broadcast terminal. The battery is used for a long time.

Claims (26)

  1. 一种近距离通信的发现方法,包括:A method for discovering short-range communication, including:
    广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听所述UE A的近距离通信ProSe限制编码;The home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction coding of the UE A;
    在所述所有的UE M都停止监听所述ProSe限制编码的情况下,所述UE A的归属PF通知所述UE A停止广播所述ProSe限制编码。In a case where all the UEs M stop listening to the ProSe restriction coding, the home PF of the UE A notifies the UE A to stop broadcasting the ProSe restriction coding.
  2. 根据权利要求1所述的方法,其中,所述UE A的归属PF通知所述UE A停止广播所述ProSe限制编码之后,所述方法还包括:在所述UE M请求监听所述UE A的ProSe限制编码时,所述UE A的归属PF通知所述UE A继续广播所述ProSe限制编码。The method according to claim 1, wherein after the home PF of the UE A notifies the UE A to stop broadcasting the ProSe restriction coding, the method further comprises: requesting, at the UE M, to listen to the UE A. When the ProSe restricts encoding, the home PF of the UE A notifies the UE A to continue broadcasting the ProSe restriction encoding.
  3. 根据权利要求1所述的方法,其中,在UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听所述UE A的近距离通信ProSe限制编码之前,所述方法还包括:所述UE A的归属PF接收所述UE M的归属PF发送的监听请求消息,其中,所述监听请求消息中携带有所述监听请求消息的有效时长;其中,在所述有效时长为0时指示所述UE M停止监听所述ProSe限制编码。The method according to claim 1, wherein before the home proximity communication server PF of the UE A detects whether all the listening terminals UE M stop listening to the Near Field Communication ProSe restriction coding of the UE A, the method further includes The home PF of the UE A receives the interception request message sent by the home PF of the UE M, where the interception request message carries the valid duration of the interception request message; wherein, the valid duration is 0. The UE is instructed to stop listening to the ProSe restriction code.
  4. 根据权利要求3所述的方法,其中,在以下至少之一情况下,在所述UE M的归属PF发送的所述监听请求消息中携带所述有效时长:The method according to claim 3, wherein the valid duration is carried in the interception request message sent by the home PF of the UE M in at least one of the following cases:
    所述UE M的定时器为0;The timer of the UE M is 0;
    所述UE M的归属PF的定时器超时,且所述UE M的归属PF没有收到所述UE M重新发送的监听请求消息。The timer of the home PF of the UE M expires, and the home PF of the UE M does not receive the interception request message retransmitted by the UE M.
  5. 根据权利要求3或4所述的方法,其中,广播终端UE A的归属近距离通信服务器归属PF检测所有的监听终端UE M是否都停止监听所述UE A的近距离通信ProSe限制编码包括:The method according to claim 3 or 4, wherein the home short-range communication server home PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the UE A short-range communication ProSe restriction coding, including:
    所述UE A的归属PF根据所述UE A的上下文中所有UE M的标识以及所述有效时长,判断所述所有的UE M是否都停止监听所述UE A的所述ProSe限制编码;每个所述UE M的标识所指示的UE M的归属PF发送的所述监听请求消息中的有效时长都为0时,所述所有的UE M都停止监听所述UE A的ProSe限制编码。The home PF of the UE A determines whether all the UEs M stop listening to the ProSe restriction code of the UE A according to the identifiers of all the UEs M in the context of the UE A and the valid duration; When all the UEs in the listening request message sent by the home PF of the UE M indicated by the identifier of the UE M are 0, all the UEs M stop listening to the ProSe restriction coding of the UE A.
  6. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    在广播终端UE A的归属近距离通信服务器PF检测所有的监听终端UE M是否都停止监听所述UE A的近距离通信ProSe限制编码之前,所述方法还包括:所述UE A的归属PF接收所述UE M的归属PF发送的监听请求消息,其中,所述监听请求消息中携带所述UE M的位置信息;所述UE A的归属PF接收应用服务器发送的授权更新请求消息,其中,所述授权更新请求消息携带所述UE A的位置信息;Before the home short-range communication server PF of the broadcast terminal UE A detects whether all the listening terminals UE M stop listening to the proximity communication ProSe restriction coding of the UE A, the method further includes: the home PF receiving of the UE A a listening request message sent by the home PF of the UE M, where the listening request message carries the location information of the UE M; the home PF of the UE A receives an authorization update request message sent by the application server, where The authorization update request message carries the location information of the UE A;
    所述UE A的归属PF检测所有的所述UE M是否都停止监听所述UE A的近距离通 信ProSe限制编码包括:所述UE A的归属PF根据所述UE A的位置信息和所有的所述UE M的位置信息判断所述所有的所述UE M是否已移出所述UE A的最大广播范围;其中,所有的所述UE M移出所述UE A的最大广播范围时,所述所有的UE M都停止监听所述UE A的ProSe限制编码。The home PF of the UE A detects whether all of the UEs M stop listening to the short-distance communication of the UE A. The ProSe restriction coding includes: the home PF of the UE A determines, according to the location information of the UE A and all the location information of the UE M, whether the all the UE M has moved out of the maximum broadcast of the UE A. a range; wherein, when all the UEs M move out of the maximum broadcast range of the UE A, all the UEs M stop listening to the ProSe restriction coding of the UE A.
  7. 根据权利要求1所述的方法,其中,所述UE A的归属PF通知所述UE A停止广播所述ProSe限制编码包括:The method according to claim 1, wherein the home PF of the UE A notifying the UE A to stop broadcasting the ProSe restriction coding comprises:
    所述UE A的归属PF向所述UE A发送广播停止请求消息,其中,所述广播停止请求消息中携带有用于指示所述UE A没有所述UE M在监听所述ProSe限制编码的指示信息。The home PF of the UE A sends a broadcast stop request message to the UE A, where the broadcast stop request message carries indication information indicating that the UE A is not listening to the ProSe restriction code. .
  8. 根据权利要求7所述的方法,其中,所述UE A的归属PF向所述UE A发送广播停止请求消息之前,所述方法还包括:The method according to claim 7, wherein before the home PF of the UE A sends a broadcast stop request message to the UE A, the method further includes:
    所述UE A的归属PF向所述UE A所驻留的公共陆地移动网络PLMN所对应的拜访PF发送广播授权请求消息,其中,所述广播授权请求消息中携带有用于指示所述UE A将停止广播所述ProSe限制编码的指示信息;The home PF of the UE A sends a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A is located, where the broadcast authorization request message carries the indication that the UE A will Stop broadcasting the indication information of the ProSe restriction code;
    所述UE A的归属PF接收所述拜访PF返回的广播授权确认消息。The home PF of the UE A receives the broadcast authorization confirmation message returned by the visited PF.
  9. 根据权利要求7所述的方法,其中,所述UE A的归属PF向所述UE A发送广播停止请求消息之后,所述方法还包括:The method according to claim 7, wherein after the home PF of the UE A sends a broadcast stop request message to the UE A, the method further includes:
    所述UE A的归属PF接收所述UE A返回的广播停止响应消息,其中,所述广播停止响应消息用于指示所述UE A已停止广播所述ProSe限制编码。The home PF of the UE A receives the broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
  10. 一种近距离通信的发现方法,包括:A method for discovering short-range communication, including:
    广播终端UE A接收所述UE A的归属近距离通信服务器PF发送的通知消息,其中,该通知消息为所述归属PF在所有的监听终端UE M都停止监听近距离通信ProSe限制编码的情况下发送的消息;The broadcast terminal UE A receives the notification message sent by the home proximity communication server PF of the UE A, wherein the notification message is that the home PF stops all the listening terminals Pro M in the short-distance communication ProSe restriction coding. Message sent;
    所述UE A依据所述通知消息的指示停止广播所述ProSe限制编码。The UE A stops broadcasting the ProSe restriction code according to the indication of the notification message.
  11. 根据权利要求10所述的方法,其中,在以下至少之一情况下,广播终端UE A接收所述UE A的归属近距离通信服务器PF发送的通知消息:The method according to claim 10, wherein the broadcast terminal UE A receives the notification message sent by the home proximity communication server PF of the UE A in at least one of the following cases:
    所有的所述UE M的定时器设置为0;All the timers of the UE M are set to 0;
    所有的所述UE M的归属PF的定时器超时,且所有的所述UE M的归属PF没有收到所有的所述UE M重新发送的监听请求消息;All the timers of the home PF of the UE M are timed out, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M;
    所有的所述UE M移出了所述UE A的最大广播范围。All of the UEs M have moved out of the maximum broadcast range of the UE A.
  12. 一种近距离通信的发现系统,所述系统包括:广播终端UE A,所述UE A的归属近距离 通信服务器PF,监听终端UE M;A discovery system for short-range communication, the system comprising: a broadcast terminal UE A, a close proximity of the UE A Communication server PF, listening terminal UE M;
    所述UE A的归属PF,设置为检测所有的所述UE M是否都停止监听所述UE A的近距离通信ProSe限制编码;The home PF of the UE A is set to detect whether all of the UEs M stop listening to the short-range communication ProSe restriction coding of the UE A;
    所述UE A,设置为在所述UE A的归属PF检测到所述所有的UE M都停止监听所述ProSe限制编码的情况下,停止广播所述ProSe限制编码。The UE A is configured to stop broadcasting the ProSe restriction coding if the home PF of the UE A detects that all the UEs M stop listening to the ProSe restriction code.
  13. 根据权利要求12所述的系统,其中,所述系统还包括:所述UE M的归属PF;其中,所述UE M的归属PF,设置为向所述UE A的归属PF发送监听请求消息;其中,所述监听请求消息中携带有所述监听请求消息的有效时长;其中,在所述有效时长为0时指示所述UE M停止监听所述ProSe限制编码。The system of claim 12, wherein the system further comprises: a home PF of the UE M; wherein the home PF of the UE M is configured to send a listen request message to the home PF of the UE A; The listening request message carries the valid duration of the interception request message. When the valid duration is 0, the UE M is instructed to stop listening to the ProSe restriction encoding.
  14. 根据权利要求13所述的系统,其中,所述UE A的归属PF,还设置为根据所述UE A的上下文中所有UE M的标识以及所述有效时长,判断所述所有的UE M是否都停止监听所述UE A的所述ProSe限制编码;其中,每个所述UE M的标识所指示的UE M的归属PF发送的所述监听请求消息中的有效时长都为0时,所述所有的UE M都停止监听所述UE A的ProSe限制编码。The system according to claim 13, wherein the home PF of the UE A is further configured to determine, according to the identifiers of all UEs M in the context of the UE A, and the valid duration, whether all the UEs M are Stopping the monitoring of the ProSe restriction coding of the UE A; wherein, when the validity time in the interception request message sent by the home PF of the UE M indicated by the identifier of each UE M is 0, all The UE M stops listening to the ProSe restriction coding of the UE A.
  15. 根据权利要求12所述的系统,其中,所述系统还包括:所述UE M的归属PF;The system of claim 12, wherein the system further comprises: a home PF of the UE M;
    所述UE M的归属PF,设置为向所述UE A的归属PF发送监听请求消息;其中,所述监听请求消息中携带有所述UE M的位置信息;The home PF of the UE M is configured to send a listening request message to the home PF of the UE A, where the listening request message carries the location information of the UE M.
    所述UE A的归属PF,还设置为接收应用服务器发送的授权更新请求消息,其中,所述授权更新请求消息携带所述UE A的位置信息;以及根据所述UE A的位置信息和所有的所述UE M的位置信息判断所述所有的所述UE M是否已移出所述UE A的最大广播范围;其中,所有的所述UE M移出所述UE A的最大广播范围时,所述所有的UE M都停止监听所述UE A的ProSe限制编码。The home PF of the UE A is further configured to receive an authorization update request message sent by the application server, where the authorization update request message carries the location information of the UE A; and according to the location information of the UE A and all The location information of the UE M determines whether all of the UEs M have moved out of the maximum broadcast range of the UE A; where all the UEs M move out of the maximum broadcast range of the UE A, all The UE M stops listening to the ProSe restriction coding of the UE A.
  16. 一种近距离通信的发现装置,所述装置应用于广播终端UE A的归属近距离通信服务器PF,所述装置包括:A discovery device for short-range communication, the device being applied to a home proximity communication server PF of a broadcast terminal UE A, the device comprising:
    检测模块,设置为检测所有的监听终端UE M是否都停止监听所述UE A的近距离通信ProSe限制编码;a detecting module, configured to detect whether all the listening terminals UE M stop listening to the short-range communication ProSe restriction encoding of the UE A;
    第一通知模块,设置为在所述所有的UE M都停止监听所述ProSe限制编码的情况下,通知所述UE A停止广播所述ProSe限制编码。The first notification module is configured to notify the UE A to stop broadcasting the ProSe restriction coding if all the UEs M stop listening to the ProSe restriction coding.
  17. 根据权利要求16所述的装置,其中,所述装置还包括:The apparatus of claim 16 wherein said apparatus further comprises:
    第二通知模块,设置为在所述UE M请求监听所述UE A的ProSe限制编码时,所述UE A的归属PF通知所述UE A继续广播所述ProSe限制编码。a second notification module, configured to notify the UE A to continue to broadcast the ProSe restriction coding when the UE M requests to listen to the ProSe restriction coding of the UE A.
  18. 根据权利要求16所述的装置,其中,所述装置还包括: The apparatus of claim 16 wherein said apparatus further comprises:
    第一接收模块,设置为接收所述UE M的归属PF发送的监听请求消息,其中,所述监听请求消息中携带有所述监听请求消息的有效时长;其中,在所述有效时长为0时指示所述UE M停止监听所述ProSe限制编码。The first receiving module is configured to receive the monitoring request message sent by the home PF of the UE M, where the listening request message carries the valid duration of the listening request message; wherein, when the valid duration is 0 Instructing the UE M to stop listening to the ProSe restriction code.
  19. 根据权利要求18所述的装置,其中,在以下至少之一情况下,在所述UE M的归属PF发送的所述监听请求消息中携带所述有效时长:The device according to claim 18, wherein the valid duration is carried in the interception request message sent by the home PF of the UE M in at least one of the following cases:
    所述UE M的定时器为0;The timer of the UE M is 0;
    所述UE M的归属PF的定时器超时,且所述UE M的归属PF没有收到所述UE M重新发送的监听请求消息。The timer of the home PF of the UE M expires, and the home PF of the UE M does not receive the interception request message retransmitted by the UE M.
  20. 根据权利要求18或19所述的装置,其中,所述检测模块,还设置为根据所述UE A的上下文中所有UE M的标识以及所述有效时长,判断所述所有的UE M是否都停止监听所述UE A的所述ProSe限制编码;其中,每个所述UE M的标识所指示的UE M的归属PF发送的所述监听请求消息中的有效时长都为0时,所述所有的UE M都停止监听所述UE A的ProSe限制编码。The apparatus according to claim 18 or 19, wherein the detecting module is further configured to determine whether all the UEs M are stopped according to the identifiers of all UEs M in the context of the UE A and the valid duration Listening to the ProSe restriction coding of the UE A; wherein, when the validity time in the interception request message sent by the home PF of the UE M indicated by the identifier of each UE M is 0, all the UE M stops listening to the ProSe restriction coding of UE A.
  21. 根据权利要求16所述的装置,其中,所述装置还包括:第二接收模块,设置为接收所述UE M的归属PF发送的监听请求消息,其中,所述监听请求消息中携带所述UE M的位置信息;以及接收应用服务器发送的授权更新请求消息,其中,所述授权更新请求消息携带所述UE A的位置信息;The device according to claim 16, wherein the device further comprises: a second receiving module, configured to receive a listening request message sent by the home PF of the UE M, where the listening request message carries the UE The location information of the M; and the authorization update request message sent by the application server, where the authorization update request message carries the location information of the UE A;
    所述检测模块,还设置为根据所述UE A的位置信息和所有的所述UE M的位置信息判断所述所有的所述UE M是否已移出所述UE A的最大广播范围;其中,所有的所述UE M移出所述UE A的最大广播范围时,所述所有的UE M都停止监听所述UE A的ProSe限制编码。The detecting module is further configured to determine, according to location information of the UE A and location information of all the UEs, whether all of the UEs M have moved out of a maximum broadcast range of the UE A; When the UE M moves out of the maximum broadcast range of the UE A, all the UEs M stop listening to the ProSe restriction coding of the UE A.
  22. 根据权利要求16所述的装置,其中,所述第一通知模块,还设置为向所述UE A发送广播停止请求消息,其中,所述广播停止请求消息中携带有用于指示所述UE A没有所述UE M在监听所述ProSe限制编码的指示信息。The apparatus according to claim 16, wherein the first notification module is further configured to send a broadcast stop request message to the UE A, where the broadcast stop request message is carried to indicate that the UE A does not The UE M is listening to the indication information of the ProSe restriction coding.
  23. 根据权利要求22所述的装置,其中,所述装置还包括:The device of claim 22, wherein the device further comprises:
    发送模块,设置为向所述UE A所驻留的公共陆地移动网络PLMN所对应的拜访PF发送广播授权请求消息,其中,所述广播授权请求消息中携带有用于指示所述UE A将停止广播所述ProSe限制编码的指示信息;a sending module, configured to send a broadcast authorization request message to the visited PF corresponding to the public land mobile network PLMN where the UE A is located, where the broadcast authorization request message carries a message indicating that the UE A will stop broadcasting. The ProSe restricts the indication information of the encoding;
    第三接收模块,设置为接收所述拜访PF返回的广播授权确认消息。The third receiving module is configured to receive a broadcast authorization confirmation message returned by the visited PF.
  24. 根据权利要求22所述的装置,其中,所述装置还包括:The device of claim 22, wherein the device further comprises:
    第四接收模块,设置为接收所述UE A返回的广播停止响应消息,其中,所述广播停止响应消息用于指示所述UE A已停止广播所述ProSe限制编码。 And a fourth receiving module, configured to receive a broadcast stop response message returned by the UE A, where the broadcast stop response message is used to indicate that the UE A has stopped broadcasting the ProSe restriction code.
  25. 一种近距离通信的发现装置,所述装置位于广播终端UE A中,所述装置包括:A discovery device for short-range communication, the device being located in a broadcast terminal UE A, the device comprising:
    接收模块,设置为接收所述UE A的归属近距离通信服务器PF发送的通知消息,其中,该通知消息为所述归属PF在所有的监听终端UE M都停止监听近距离通信ProSe限制编码的情况下发送的消息;a receiving module, configured to receive a notification message sent by the home proximity communication server PF of the UE A, where the notification message is that the home PF stops listening to the proximity communication ProSe restriction coding in all the listening terminals UE M Message sent under;
    停止模块,设置为依据所述通知消息的指示停止广播所述ProSe限制编码。And stopping the module, configured to stop broadcasting the ProSe restriction code according to the indication of the notification message.
  26. 根据权利要求25所述的装置,其中,在以下至少之一情况下,所述接收模块接收所述UE A的归属近距离通信服务器PF发送的通知消息:The apparatus according to claim 25, wherein said receiving module receives a notification message transmitted by said home proximity communication server PF of UE A in at least one of the following cases:
    所有的所述UE M的定时器设置为0;All the timers of the UE M are set to 0;
    所有的所述UE M的归属PF的定时器超时,且所有的所述UE M的归属PF没有收到所有的所述UE M重新发送的监听请求消息;All the timers of the home PF of the UE M are timed out, and all the home PFs of the UE M do not receive all the listening request messages retransmitted by the UE M;
    所有的所述UE M移出了所述UE A的最大广播范围。 All of the UEs M have moved out of the maximum broadcast range of the UE A.
PCT/CN2016/103288 2015-10-26 2016-10-25 Proximity-based service discovery method, system and device WO2017071568A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510702986.1 2015-10-26
CN201510702986.1A CN106612489A (en) 2015-10-26 2015-10-26 A finding method, system and device for proximity-based service

Publications (1)

Publication Number Publication Date
WO2017071568A1 true WO2017071568A1 (en) 2017-05-04

Family

ID=58613874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103288 WO2017071568A1 (en) 2015-10-26 2016-10-25 Proximity-based service discovery method, system and device

Country Status (2)

Country Link
CN (1) CN106612489A (en)
WO (1) WO2017071568A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556708B (en) * 2020-04-03 2022-08-12 大唐移动通信设备有限公司 Method and device for using proximity discovery identifier and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150004984A1 (en) * 2012-01-16 2015-01-01 Lg Electronics Inc. Method and apparatus for providing proximity service in wireless communication system
WO2015020383A1 (en) * 2013-08-04 2015-02-12 Lg Electronics Inc. Method and apparatus for starting or stopping device-to-device operation in wireless communication system
WO2015141733A1 (en) * 2014-03-18 2015-09-24 シャープ株式会社 Communication control method, terminal device, server device, and communication system
CN104956763A (en) * 2013-01-28 2015-09-30 三星电子株式会社 Method and apparatus for device to device communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150004984A1 (en) * 2012-01-16 2015-01-01 Lg Electronics Inc. Method and apparatus for providing proximity service in wireless communication system
CN104956763A (en) * 2013-01-28 2015-09-30 三星电子株式会社 Method and apparatus for device to device communication
WO2015020383A1 (en) * 2013-08-04 2015-02-12 Lg Electronics Inc. Method and apparatus for starting or stopping device-to-device operation in wireless communication system
WO2015020381A1 (en) * 2013-08-04 2015-02-12 Lg Electronics Inc. Method and apparatus for stopping device-to-device operation in wireless communication system
WO2015141733A1 (en) * 2014-03-18 2015-09-24 シャープ株式会社 Communication control method, terminal device, server device, and communication system

Also Published As

Publication number Publication date
CN106612489A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US11627515B2 (en) Method for supporting lawful interception of remote ProSe UE in network
EP2785125B1 (en) Method and system for determining accessibility of terminal group
US9088967B2 (en) Wireless communication system and connection method between user equipment and a mobility management entity
CN105981459B (en) Method and apparatus for making the primary resource backoff delay for D2D operation in a wireless communication system
EP3364676B1 (en) Method for supporting pdn gw selection
CN110249667B (en) Registration management method for terminal access 5G network on non-3 GPP access
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
US20150189631A1 (en) Resource configuration method, resource deletion method and device
EP2983442B1 (en) Method and device for implementing proximity communication service
CN104837108B (en) Method for device-to-device broadcast communication and user equipment
US20160119963A1 (en) Method of device discovery for device-to-device communication in a telecommunication network, user equipment device and computer program product
US11233817B2 (en) Methods and apparatus for end device discovering another end device
WO2015165149A1 (en) Configuration method, prose key management functional entity, terminal, system, and storage medium
CN103686718A (en) D2D (Device-to-Device) device identification label processing method and D2D device identification label processing device
EP3128773B1 (en) Processing method and apparatus for d2d discovery
WO2014166439A1 (en) Trunking multicast decision method, trunking terminal, trunking server and storage medium
EP3051882A1 (en) Method, apparatus and system for d2d device discovery
Doumiati et al. A framework for LTE-A proximity-based device-to-device service registration and discovery
WO2014169786A1 (en) Method, system, and device for discovery between user equipments
WO2013189385A2 (en) Method for implementing trunk service based on long term evolution and trunk user terminal
TWI459836B (en) Handling emergency bearer service
EP3182762B1 (en) Near field communication discovery method, apparatus and system
WO2014032469A1 (en) Method, apparatus, and system for releasing communications connection
WO2017071568A1 (en) Proximity-based service discovery method, system and device
WO2016050034A1 (en) Group addressing processing method, device, mtc intercommunicating gateway and api gw

Legal Events

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

Ref document number: 16859003

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16859003

Country of ref document: EP

Kind code of ref document: A1