WO2021136301A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2021136301A1
WO2021136301A1 PCT/CN2020/141054 CN2020141054W WO2021136301A1 WO 2021136301 A1 WO2021136301 A1 WO 2021136301A1 CN 2020141054 W CN2020141054 W CN 2020141054W WO 2021136301 A1 WO2021136301 A1 WO 2021136301A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
terminal
discovery
parameter
prose
Prior art date
Application number
PCT/CN2020/141054
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 华为技术有限公司
Priority to CN202080006184.6A priority Critical patent/CN113412679B/en
Publication of WO2021136301A1 publication Critical patent/WO2021136301A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Definitions

  • This application relates to the field of communication, and in particular to a communication method and device.
  • Direct communication between terminals usually includes a discovery phase and a communication phase. Take proximity services (proximity-based services, ProSe) as an example.
  • ProSe proximity-based services
  • the announcing user equipment (AUE) uses the publishing parameters to issue ProSe communication requests
  • the monitoring terminal uses the monitoring parameters to monitor whether it exists.
  • ProSe communication request If the monitoring parameters match the publishing parameters (collectively referred to as discovery parameters), it is considered that the publishing terminal and the monitoring terminal are close, and ProSe communication can be established.
  • the publishing terminal can initiate a ProSe communication connection establishment process to the monitoring terminal, or monitor The terminal can initiate a ProSe communication connection establishment process to the publishing terminal.
  • the aforementioned publishing parameters are usually configured by the home public land mobile network (HPLMN) of the publishing terminal
  • the listening parameters are usually configured by the HPLMN of the listening terminal.
  • HPLMN of the publishing terminal is different from the HPLMN of the monitoring terminal, or although the publishing terminal and the monitoring terminal belong to the same PLMN, but the configuration network element of the publishing parameter is different from the configuration network element of the monitoring parameter, there may be a mismatch between the publishing parameter and the monitoring parameter. This phenomenon leads to the failure of the discovery phase and the inability of proximity services, that is, the reliability of existing proximity services is poor.
  • the embodiments of the present application provide a communication method and device, which can solve the problem of mismatch between publishing parameters and monitoring parameters caused by different network configuration subjects, which in turn leads to the inability of proximity services, thereby improving the reliability of proximity services.
  • a communication method includes: a first network element receives an application identifier from a terminal, and sends the application identifier to a second network element. Then, the first network element receives the discovery parameter from the second network element, and sends the discovery parameter to the terminal. Among them, the discovery parameter corresponds to the application identifier.
  • the first network element can request the second network element to configure discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal.
  • the second network element may publish the application identifier provided by the terminal as The publishing terminal configures the publishing parameters, and configures the listening parameters for the listening terminal according to the same application identifier provided by the listening terminal, that is, the publishing parameters and the listening parameters correspond to the same application identification, which can solve the problem that the publishing parameters and the listening parameters are configured by different network elements.
  • the resulting mismatch can increase the success rate of the discovery phase, thereby improving the reliability of proximity services.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method provided by the first aspect may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication One or more. Wherein, the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method provided in the first aspect may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the publishing terminal may correspond to the monitoring terminal, and the publishing parameter may correspond to the monitoring parameter.
  • the publishing terminal can publish the ProSe communication request for ProSe that carries publishing parameters, and the monitoring terminal can use the listening parameters to monitor the ProSe communication request of the ProSe.
  • the monitoring terminal can determine whether the monitoring parameters match the publishing parameters carried in the ProSe communication request of the proximity service. If so, the monitoring terminal can send a ProSe response to the publishing terminal.
  • the ProSe response of the proximity service may carry configuration information for establishing the ProSe of the proximity service between the publishing terminal and the listening terminal, such as configuration information of wireless resources. Then, the publishing terminal and the listening terminal can implement ProSe communication based on the configuration information.
  • the communication method provided by the first aspect may further include: a third network element (for example, a ProSe network element) sends an application identifier to a second network element (for example, a UDR network element or a UDM network element), and the terminal is in the application Identify the corresponding relationship between the authorized user ID in the corresponding application and the release parameter.
  • a third network element for example, a ProSe network element
  • a second network element for example, a UDR network element or a UDM network element
  • the communication method provided in the first aspect may further include: the first network element receives the effective time of the discovery parameter from the second network element, and sends the effective time of the discovery parameter to the terminal.
  • the first network element receives the effective time of the discovery parameter from the second network element, and sends the effective time of the discovery parameter to the terminal.
  • the ProSe of a terminal can prevent the ProSe of a terminal from occupying discovery resources for a long time (usually pre-defined by the protocol or pre-configured by the network), causing other terminals to be unable to publish or monitor the ProSe of the proximity service, thereby improving the communication efficiency of the ProSe of the proximity service .
  • a communication method includes: the second network element receives the correspondence between the application identifier and the discovery parameter from the third network element. Then, the second network element receives the application identifier from the first network element, and sends the discovery parameter to the first network element.
  • the communication method provided in the second aspect may further include: the second network element receives from the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and/or authorized The identification of the ProSe terminal that uses the ProSe corresponding to the application identification.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method provided by the second aspect may further include: the second network element receives one or more of the discovery mode from the first network element, issuing the identification of the terminal, and the first request indication; the first request indication is used for Request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method provided by the second aspect may further include: the second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used for Request monitoring parameters.
  • the communication method provided by the second aspect may further include: the second network element receives the effective time of the discovery parameter from the third network element, and sends the effective time of the discovery parameter to the first network element.
  • the communication method provided by the second aspect may also be replaced by the following steps: the second network element (for example, UDR network element or UDM network element) may also receive the application identifier from the third network element (for example, ProSe network element) , The corresponding relationship between the user ID of the terminal in the application corresponding to the application ID and the release parameter. This can refer to the further description of Fig. 10 or Fig. 11 later.
  • the second network element for example, UDR network element or UDM network element
  • the third network element for example, ProSe network element
  • a communication method includes: a third network element obtains an application identifier. Then, the third network element sends the application identification and discovery parameters to the second network element. Among them, the discovery parameter corresponds to the application identifier.
  • the discovery parameters may include publishing parameters and listening parameters.
  • the release parameter is used to release the terminal to release the ProSe ProSe request
  • the listening parameter is used to monitor the terminal to monitor the ProSe communication request of the ProSe.
  • the communication method provided by the third aspect may further include: the third network element obtains the identity of the terminal that is authorized to use the ProSe ProSe corresponding to the application identity, and sends the identity of the terminal to the second network element.
  • the communication method provided by the third aspect may further include: a third network element (for example, a ProSe network element) sends an application identifier to a second network element (for example, a UDR network element or a UDM network element), and the terminal is in the application Identify the corresponding relationship between the authorized user ID in the corresponding application and the release parameter.
  • a third network element for example, a ProSe network element
  • a second network element for example, a UDR network element or a UDM network element
  • the communication method provided by the third aspect may further include: the third network element obtains a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and sends the discovery mode to the second network element.
  • the communication method provided by the third aspect may further include: the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the second network element.
  • a communication method includes: a first network element receives an application identifier from a terminal, and sends the application identifier to a second network element. Then, the first network element learns that there is no discovery parameter corresponding to the application identifier in the second network element, and sends the application identifier to the third network element. After that, the first network element receives the discovery parameter from the third network element. Among them, the discovery parameter corresponds to the application identifier.
  • the first network element can request the second network element to configure discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal, if there is no discovery corresponding to the application identifier in the second network element Parameter, the first network element can send the application identifier to the third network element, and request the third network element to configure discovery parameters corresponding to the application identifier.
  • the third network element can configure the publishing terminal according to the application identifier provided by the publishing terminal. Publish parameters, and configure listening parameters for the listening terminal according to the same application identifier provided by the listening terminal, that is, publishing parameters and listening parameters are corresponding to the same application identification, which can solve the problem of publishing parameters and listening parameters caused by different network element configurations.
  • the mismatch problem can increase the success rate of the discovery phase, thereby improving the reliability of proximity services.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method provided by the fourth aspect may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request instruction.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method provided by the fourth aspect may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or one of the second request instructions.
  • the second request indication is used to request monitoring parameters.
  • the communication method provided by the fourth aspect may further include: the first network element receives the effective time of the discovery parameter from the third network element, and sends the effective time of the discovery parameter to the terminal.
  • the first network element receives the effective time of the discovery parameter from the third network element, and sends the effective time of the discovery parameter to the terminal.
  • the ProSe of a terminal can prevent the ProSe of a terminal from occupying discovery resources for a long time (usually pre-defined by the protocol or pre-configured by the network), causing other terminals to be unable to publish or monitor the ProSe of the proximity service, thereby improving the communication efficiency of the ProSe of the proximity service .
  • a communication method includes: the third network element receives the application identifier from the first network element. Then, the third network element determines the discovery parameter corresponding to the application identifier, and sends the discovery parameter to the first network element.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method provided by the fifth aspect may further include: the third network element receives from the first network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication One or more. Wherein, the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method provided in the fifth aspect may further include: the third network element receives from the first network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. One or more. Wherein, the second request indication is used to request monitoring parameters.
  • the communication method provided by the fifth aspect may further include: the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the first network element.
  • a communication device in a sixth aspect, includes: a receiving module and a sending module.
  • the receiving module is used to receive the application identifier from the terminal.
  • the sending module is used to send the application identifier to the second network element.
  • the receiving module is also used to receive the discovery parameter from the second network element; the discovery parameter corresponds to the application identifier.
  • the sending module is also used to send discovery parameters to the terminal.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the sending module is further configured to send one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the issuing terminal, or the first request instruction to the second network element.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the sending module is further configured to send to the second network element one or more of the available discovery mode of the ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the receiving module is also used to receive the effective time of the discovery parameter from the second network element; and the sending module is also used to send the effective time of the discovery parameter to the terminal.
  • the communication device provided in the sixth aspect may further include a processing module and a storage module, and the storage module stores programs or instructions.
  • the processing module executes the program or instruction
  • the communication device provided in the sixth aspect can execute the communication method provided in the first aspect.
  • the communication device provided by the sixth aspect may be a first network element, such as a PCF network element or an AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. This application does not limit this.
  • a communication device in a seventh aspect, includes: a receiving module and a sending module.
  • the receiving module is configured to receive the correspondence between the application identifier and the discovery parameter from the third network element.
  • the receiving module is also used to receive the application identifier from the first network element.
  • the sending module is used to send the discovery parameters to the first network element.
  • the receiving module is also used to receive from the third network element the discovery mode that can be used by the ProSe corresponding to the application identifier, and/or the terminal authorized to use the ProSe corresponding to the application identifier Of the logo.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the receiving module is further configured to receive one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the receiving module is further configured to receive one or more of the discovery mode, the identification of the monitoring terminal, and the second request indication from the first network element. Wherein, the second request indication is used to request monitoring parameters.
  • the receiving module is further configured to receive the effective time of the discovery parameter from the third network element; and the sending module is further configured to send the effective time of the discovery parameter to the first network element.
  • the communication device provided in the seventh aspect may further include a processing module and a storage module, and the storage module stores programs or instructions.
  • the processing module executes the program or instruction
  • the communication device provided in the seventh aspect can execute the communication method provided in the second aspect.
  • the communication device provided in the seventh aspect may be a second network element, such as a UDR network element for storing discovery parameters, or a chip or chip system set in the second network element. Not limited.
  • a communication device in an eighth aspect, includes: a processing module and a transceiver module.
  • the processing module is used to obtain the application identifier.
  • the transceiver module is used to send application identification and discovery parameters to the second network element.
  • the discovery parameter corresponds to the application identifier.
  • the discovery parameters may include publishing parameters and listening parameters.
  • the release parameter is used to release the terminal to release the ProSe ProSe request
  • the listening parameter is used to monitor the terminal to monitor the ProSe communication request of the ProSe.
  • the processing module is also used to obtain the identity of the terminal that is authorized to use the ProSe ProSe corresponding to the application identity; and the transceiver module is also used to send the identity of the terminal to the second network element.
  • the processing module is further configured to obtain a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier; and the transceiver module is further configured to send the discovery mode to the second network element.
  • processing module is also used to determine the effective time of the discovery parameter; and the transceiver module is also used to send the effective time of the discovery parameter to the second network element.
  • the communication device provided in the eighth aspect may further include a storage module, and the storage module stores a program or an instruction.
  • the processing module executes the program or instruction
  • the communication device provided in the eighth aspect can execute the communication method provided in the third aspect.
  • the communication device provided in the eighth aspect may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF network element with ProSe network element function
  • the NF network element, etc. may also be a chip or a chip system set in the third network element, which is not limited in this application.
  • a communication device in a ninth aspect, includes: a processing module and a transceiver module.
  • the transceiver module is used to receive the application identifier from the terminal and send the application identifier to the second network element.
  • the processing module is used to learn that there is no discovery parameter corresponding to the application identifier in the second network element.
  • the transceiver module is also used to send the application identifier to the third network element and receive discovery parameters from the third network element.
  • the discovery parameter corresponds to the application identifier.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the transceiver module is further configured to send one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the issuing terminal, or the first request instruction to the third network element.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the transceiver module is further configured to send to the third network element one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the transceiver module is further configured to receive the effective time of the discovery parameter from the third network element, and send the effective time of the discovery parameter to the terminal.
  • the communication device provided by the ninth aspect may further include a storage module, and the storage module stores a program or an instruction.
  • the processing module executes the program or instruction
  • the communication device provided by the ninth aspect can execute the communication method provided by the fourth aspect.
  • the communication device provided in the ninth aspect may be a first network element, such as a PCF network element or an AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. This application does not limit this.
  • a communication device in a tenth aspect, includes: a processing module and a transceiver module. Among them, the transceiver module is used to receive the application identifier from the first network element. The processing module is used to determine the discovery parameter corresponding to the application identifier. The transceiver module is also used to send discovery parameters to the first network element.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the transceiver module is also used to receive from the first network element one or more of the available discovery mode of the ProSe corresponding to the application identification, the identification of the issuing terminal, or the first request indication.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the transceiver module is further configured to receive from the first network element one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. Wherein, the second request indication is used to request monitoring parameters.
  • the processing module is further used to determine the effective time of the discovery parameter; and the transceiver module is further used to send the effective time of the discovery parameter to the first network element.
  • the communication device provided in the tenth aspect may further include a storage module that stores a program or instruction.
  • the processing module executes the program or instruction
  • the communication device provided in the tenth aspect can execute the communication method provided in the fifth aspect.
  • the communication device provided in the tenth aspect may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF network element with the function of a ProSe network element.
  • Element, NF network element, etc. may also be a chip or chip system set in a third network element, which is not limited in this application.
  • a communication device in an eleventh aspect, includes: a processor coupled with a memory, the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the communication device executes any one of the first aspect to the fifth aspect Possible implementations of the communication method described.
  • the communication device provided in the eleventh aspect may further include a transceiver.
  • the transceiver can be a transceiver circuit or an input/output port.
  • the transceiver can be used for the communication device to communicate with other communication devices.
  • the communication device provided by the eleventh aspect may be a core network element, or a chip or chip system set inside the core network element.
  • a chip system in a twelfth aspect, includes a processor and an input/output port.
  • the processor is configured to implement the processing functions involved in the first to fifth aspects. To realize the transceiver functions involved in the first aspect to the fifth aspect.
  • the chip system further includes a memory, and the memory is used to store program instructions and data for implementing the functions involved in the first aspect to the fifth aspect.
  • the chip system can be composed of chips, or include chips and other discrete devices.
  • the thirteenth aspect provides a communication system.
  • the system includes multiple terminal devices, such as a publishing terminal and a monitoring terminal, and multiple core network elements, such as the aforementioned first network element, second network element, and third network element.
  • a computer-readable storage medium including: computer instructions are stored in the computer-readable storage medium; when the computer instructions are executed on a computer, the computer is caused to execute the first to fifth aspects. Any one of the possible implementations of the communication method.
  • a computer program product including a computer program or instruction.
  • the computer program or instruction runs on a computer, the computer executes any one of the possible implementation manners of the first aspect to the fifth aspect The communication method described.
  • FIG. 1 is a schematic diagram 1 of the architecture of a communication system provided by an embodiment of this application;
  • FIG. 2 is a second schematic diagram of the architecture of the communication system provided by an embodiment of the application.
  • FIG. 3 is a first structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 4 is a first schematic flowchart of a communication method provided by an embodiment of this application.
  • FIG. 5 is a second schematic diagram of the flow of the communication method provided by an embodiment of this application.
  • FIG. 6 is a third schematic flowchart of a communication method provided by an embodiment of this application.
  • FIG. 7 is a fourth flowchart of a communication method provided by an embodiment of this application.
  • FIG. 8 is a fifth schematic flowchart of a communication method provided by an embodiment of this application.
  • FIG. 9 is a sixth flowchart of a communication method provided by an embodiment of this application.
  • FIG. 10 is a seventh schematic flowchart of a communication method provided by an embodiment of this application.
  • FIG. 11 is an eighth flowchart of a communication method provided by an embodiment of this application.
  • FIG. 12 is a second structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 13 is a third structural diagram of a communication device provided by an embodiment of this application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, such as car networking communication systems, V2X communication systems, inter-device (device-todevie, D2D) communication systems, long term evolution (LTE) systems, and global interconnections.
  • the worldwide interoperability for microwave access (WiMAX) communication system the fifth generation (5G) mobile communication system, such as the new radio (NR) system, and the future communication system, such as the sixth generation ( 6th generation, 6G) mobile communication system, etc.
  • FIG. 1 is a schematic diagram 1 of the architecture of a communication system to which the communication method provided in an embodiment of the application is applicable. It should be noted that the solutions in the embodiments of the present application can also be applied to other mobile communication systems, and the corresponding names can also be replaced with the names of corresponding functions in other mobile communication systems.
  • the communication system includes multiple core network elements, such as a first network element, a second network element, and a third network element.
  • the first network element is used to receive the application identifier from the terminal and send the application identifier to the second network element. And, the first network element is also used to receive the discovery parameters from the second network element and send the discovery parameters to the terminal. Among them, the discovery parameter corresponds to the application identifier.
  • the second network element is used to receive the correspondence between the application identifier and the discovery parameter from the third network element. And, the second network element is also used to receive the application identifier from the first network element, and send the discovery parameter to the first network element.
  • the third network element is used to obtain the application identifier.
  • the third network element is also used to send application identification and discovery parameters to the second network element.
  • the discovery parameter corresponds to the application identifier, that is, there is a corresponding relationship between the discovery parameter and the application identifier.
  • the first network element may also directly request the third network element Discovery parameters corresponding to the application identifier provided by the terminal.
  • the first network element is used to receive the application identifier from the terminal and send the application identifier to the second network element.
  • the first network element is also used to learn that there is no discovery parameter corresponding to the application identifier in the second network element, and send the application identifier to the third network element.
  • the first network element is also used to receive discovery parameters from the third network element.
  • the third network element is used to receive the application identifier from the first network element.
  • the third network element is also used to determine the discovery parameter corresponding to the application identifier, and send the discovery parameter to the first network element.
  • the above-mentioned first network element can also be called a discovery parameter configuration network element, such as a PCF network element, AMF network element
  • the second network element can also be called a discovery parameter storage network element, such as a unified data storage function.
  • a discovery parameter generation network element such as an independent ProSe network element, or a proximity service function Network elements, such as PCF network elements, application function (AF) network elements, (network function, NF) network elements, etc.
  • Fig. 2 is an example of a communication system combining the communication system shown in Fig. 1 with a 5G core network.
  • the communication system may include multiple user equipment (UE), an access network, a core network, a data network (DN), and so on.
  • the core network may include access and mobility management function (AMF) network elements, PCF network elements, UDM network elements, UDR network elements, session management function (session management function, SMF) network elements, (user plane function, UPF) network elements, network exposure function (NEF), application function (application function, AF) network elements, etc.
  • AMF access and mobility management function
  • the UE may be referred to as a terminal, which may support proximity service, V2X communication, or other services.
  • the user equipment supports receiving or sending V2X messages.
  • the terminal can also be called a V2X terminal.
  • V2X messages may include, but are not limited to, vehicle-to-vehicle (V2V) messages, vehicle-to-pedestrian (V2P) messages, vehicle-to-network (V2N) messages, and vehicle-to-road infrastructure (vehicle to infrastructure, V2I) information, anti-collision messages between cars, entertainment application messages, navigation messages for interaction between cars, etc.
  • the terminal shown in FIG. 2 may include, but is not limited to, a vehicle-mounted terminal, a mobile phone, a tablet computer or a computer with a wireless transceiver function, a smart gas station, a smart signal lamp, and so on.
  • the access network may include one or more access network devices (or referred to as access network elements).
  • the access network equipment is responsible for radio resource management, uplink and downlink data classification and quality of service (quality of service, QoS) applications, as well as complete signaling processing with control plane network elements, and complete data forwarding functions with UPF network elements.
  • the access network equipment may be a base station, a broadband network gateway (BNG), an aggregation switch, a non-3GPP access equipment, and so on.
  • BNG broadband network gateway
  • the base station may include various forms of base stations, such as: macro base stations, micro base stations (also referred to as small stations), relay stations, access points, etc., which are not specifically limited in the embodiment of the present application.
  • the equipment that the terminal accesses to the core network is collectively referred to as the access network equipment in the text, and will not be described again.
  • the access network equipment can be the evolved universal terrestrial radio access network (E-UTRAN) equipment in the 4G network, and the next generation radio access network in the 5G network. , NG-RAN) equipment, etc.
  • E-UTRAN evolved universal terrestrial radio access network
  • NG-RAN next generation radio access network
  • the main functions of the AMF network element include the termination point of the control plane of the wireless access network, the termination point of non-access signaling, mobility management, lawful monitoring, access authorization/authentication, and so on.
  • UPF network element used for routing and forwarding of packet data packets, QoS control of user plane data, accounting information statistics, etc.
  • SMF network elements are used for session management, terminal Internet protocol (IP) address allocation and management, selection of end points that can manage user plane functions, policy control and charging function interfaces, and downlink data notifications.
  • IP Internet protocol
  • PCF network elements used to manage network behaviors, provide user policies, access and mobility (AM) management policies, and session management (SM) policies to terminals, AMF network elements, or SMF network elements, respectively Related parameters.
  • the PCF network element provides information such as authentication and policy parameters related to the V2X communication to the terminal and the access network device.
  • UDM network elements are used to manage contract information and provide contract information to related network elements.
  • UDR network elements are used to provide storage and retrieval services for PCF network elements, open structured data storage and retrieval, and user information storage requested by application functions.
  • the NEF network element connects the core network network element and an external application server (application server), and provides services such as authentication and data forwarding when the external application server initiates a service request to the core network.
  • an external application server application server
  • the AF network element may be an application server corresponding to the application, such as a localized application server.
  • the ProSe APP server can be regarded as a kind of AF network element.
  • DN is a network used to transmit data, such as the Internet.
  • the communication interface between the terminal and the access network device is a Uu interface
  • the communication interface between the terminal and the terminal is a PC5 interface
  • the application-level transmission interface between the terminal and the data transmission network is the V1 interface
  • the application transmission interface between the terminals is the V5 interface.
  • a network composed of operator network elements other than RAN can be called a core network.
  • a 4G network it includes a mobility management entity (mobile management entity, MME) and a service gateway (serving gateway, S- GW), public data network (public data network gateway, P-GW), home subscriber server (home subscriber server, HSS) and other network elements.
  • MME mobility management entity
  • S- GW service gateway
  • public data network public data network gateway
  • P-GW home subscriber server
  • HSS home subscriber server
  • Figure 2 is only an example of a 5G network, and does not specifically limit the network elements of the core network.
  • FIG. 1 or FIG. 2 is only a simplified schematic diagram of an example for ease of understanding, and the communication system may also include other network devices, and/or other terminal devices, which are not shown in FIG. 1 or FIG. 2.
  • the aforementioned access network equipment and core network network elements may also be collectively referred to as network equipment.
  • the access network device may include a device that is located on the network side of the above-mentioned communication system and has a wireless transceiver function, or a chip or chip system that can be set in the device.
  • the access network equipment includes but is not limited to: access points (APs) in wireless fidelity (wireless fidelity, WiFi) systems, such as home gateways, routers, servers, switches, bridges, etc., evolved nodes B (evolved Node B, eNB), radio network controller (RNC), node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS) ), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (BBU), wireless relay node, wireless backhaul node, transmission point (transmission and reception point, TRP or transmission point) , TP), etc., can also be 5G, such as the gNB in the new radio (NR) system, or the transmission point (TRP or TP), one or a group of base stations in the 5G system (including multiple antennas) Panel) Antenna panel, or, it can also be a network node that constitutes a a network no
  • Core network network elements include but are not limited to: AMF network elements, SMF network elements, PCF network elements, UPF network elements, NEF network elements, UDM network elements, UDR network elements, AF network elements, NF network elements, etc.
  • the above-mentioned terminal equipment is a terminal that is connected to the above-mentioned communication system and has a wireless transceiver function, or a chip or chip system that can be installed in the terminal.
  • the terminal device may also be called a user device, an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device.
  • the terminal device in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, and an augmented reality (AR) terminal Equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation safety ( Wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, vehicle-mounted terminals, RSUs with terminal functions, etc.
  • the terminal device of the present application may also be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip, or vehicle-mounted unit that is built into a vehicle as one or more components or units. The vehicle passes through the built-in vehicle-mounted module, vehicle-mounted module, The on-board component, on-board chip or on-board unit can implement the communication method provided in this application.
  • the communication method provided in the embodiments of this application can be used for terminals that support ProSe services, and are between the core network composed of the first network element, the second network element, and the third network element shown in FIG. Communication in the discovery phase of proximity services.
  • the terminal supporting the ProSe service mentioned in this application may include a publishing terminal and one or more monitoring terminals.
  • the publishing terminal is a terminal that requests other terminals to provide proximity services within the same time period
  • the monitoring terminal is a terminal that can monitor the ProSe communication request issued by the publishing terminal during the same time period and provide the proximity service for the publishing terminal.
  • the communication system architecture applied in the embodiment of the present application does not limit the system architecture shown in FIG. 1 or FIG. 2. That is to say, the system architecture shown in FIG. 1 or FIG. 2 is only an exemplary architecture diagram, that is, the number of network elements included in the communication system, the type of the network element, and the name of the network element are not limited.
  • the communication system shown in FIG. 1 or FIG. 2 may also include other functional entities.
  • the network elements in the communication system shown in FIG. 1 or FIG. 2 and the names of each network element are just an example. In specific implementation, the names of each network element may be other names, and the embodiment of this application does not make specific details about this. limited.
  • Terminals with PC5 interface communication capabilities can directly communicate with each other through the PC5 interface, regardless of whether the terminal is connected to the access network equipment.
  • a terminal that directly communicates through the PC5 interface can simultaneously use the Uu interface to connect to the access network device and use the PC5 interface to directly connect to other terminals.
  • the terminal 1 and the terminal 4 in FIG. 2 use the PC5 interface to communicate directly, they can also use the Uu interface to communicate with the access network equipment.
  • terminal 1 and terminal 2 in FIG. 2 use the PC5 interface to communicate directly
  • terminal 1 can also use the Uu interface to communicate with the access network device, and terminal 2 does not communicate with the access network device.
  • the terminal 2 and the terminal 3 in FIG. 2 only communicate directly using the PC5 interface, and neither of them communicates with the access network equipment.
  • FIG. 3 is a first structural diagram of a communication device that can be used to implement the communication method provided by the embodiment of the present application.
  • the communication device can be any of the network elements shown in Figure 1 or Figure 2, such as the first network element, the second network element, and the third network element, or can be applied to any network element shown in Figure 1 or Figure 2.
  • the communication device 300 may include a processor 301.
  • the communication device 300 may further include a transceiver 302 and/or a memory 303.
  • the processor 301 is coupled with the transceiver 302 and the memory 303, for example, can be connected through a communication bus.
  • the components of the communication device 300 will be specifically introduced below in conjunction with FIG. 3.
  • the processor 301 is the control center of the communication device 300, and may be a processor or a collective name for multiple processing elements.
  • the processor 301 is one or more central processing units (CPU), or may be an application specific integrated circuit (ASIC), or may be configured to implement one or more of the embodiments of the present application.
  • An integrated circuit for example: one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA).
  • the processor 301 can execute various functions of the communication device 300 by running or executing a software program stored in the memory 303 and calling data stored in the memory 303.
  • the communication device 300 may perform the function of the first network element or the second network element or the third network element shown in any one of FIGS. 4-9 below.
  • the processor 301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3.
  • the communication device 300 may also include multiple processors, such as the processor 301 and the processor 304 shown in FIG. 3. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • the processor here may refer to one or more communication devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the transceiver 302 is used for communication with other communication devices.
  • the communication device 300 may be a first network element or a second network element or a third network element, and the transceiver 302 may be used to communicate with other network elements or to communicate with terminal equipment.
  • the transceiver 302 may include a receiver and a transmitter (not separately shown in FIG. 3). Among them, the receiver is used to realize the receiving function, and the transmitter is used to realize the sending function.
  • the transceiver 302 may be integrated with the processor 301, or may exist independently, and is coupled with the processor 301 through the input/output port (not shown in FIG. 3) of the communication device 300, which is not specifically limited in the embodiment of the present application. .
  • the memory 303 can be a read-only memory (ROM) or other types of static storage communication devices that can store static information and instructions, a random access memory (RAM), or other types that can store information and instructions.
  • the type of dynamic storage communication equipment can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, Optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage communication devices, or can be used to carry or store desired program codes in the form of instructions or data structures and Any other medium that can be accessed by the computer, but not limited to this.
  • the memory 303 may be integrated with the processor 301, or may exist independently, and is coupled with the processor 301 through the input/output port (not shown in FIG. 3) of the communication device 300, which is not specifically limited in the embodiment of the present application.
  • the memory 303 is used to store a software program for executing the solution of the present application, and the software program may be controlled and executed by the processor 301.
  • the software program may be controlled and executed by the processor 301.
  • the structure of the communication device 300 shown in FIG. 3 does not constitute a limitation on the communication device.
  • the actual communication device may include more or less components than those shown in the figure, or combine certain components, or Different component arrangements.
  • FIG. 4 is a first schematic flowchart of a communication method provided by an embodiment of this application. This communication method can be applied to the ProSe communication between different network elements shown in Figure 1 or Figure 2, so as to configure discovery parameters for ProSe communication between different terminals in the discovery phase, such as configuring publishing parameters for publishing terminals and monitoring terminals Configure monitoring parameters.
  • the communication method includes the following S401-S406:
  • the third network element obtains an application identifier.
  • the third network element may also be called a discovery parameter generation network element, such as an independent ProSe network element, or other network elements with proximity service functions, such as PCF network elements and AF network elements in a 5G system Element, NF network element, etc., are mainly used to generate the correspondence between application identifiers and discovery parameters.
  • a discovery parameter generation network element such as an independent ProSe network element, or other network elements with proximity service functions, such as PCF network elements and AF network elements in a 5G system Element, NF network element, etc.
  • proximity service functions such as PCF network elements and AF network elements in a 5G system Element, NF network element, etc.
  • the application identifier may be the proximity service provided by the AF network element deployed by the operator, such as the type identification (application identifier, APP ID) of voice communication and video communication, etc., or it may be a third party, such as a content provider (content provider). provider, CP) provided by the application, such as the logo of WeChat, Dianping, etc.
  • the embodiments of the present application do not specifically limit the provider of the application or service corresponding to the application identifier, and the type of application or service corresponding to the application identifier.
  • the way for the third network element to obtain the application identifier may be provided by the AF network element, or pre-set in the third network element by the operator.
  • the third network element can determine the discovery parameter corresponding to the application identifier.
  • the discovery parameters may include publishing parameters and listening parameters.
  • Publish parameters such as ProSe discovery key parameters (such as ProSe APP code, ProSe query code, ProSe response code, relay service code, etc.), which are used to publish a request for the terminal to publish a ProSe ProSe PreSe.
  • Monitoring parameters such as ProSe discovery matching parameters (discovery filter, discovery query filter, discovery response filter, etc.), are used to monitor the terminal to monitor the ProSe communication request of the proximity service.
  • the publishing terminal corresponds to the monitoring terminal, and the publishing parameter corresponds to the monitoring parameter.
  • the publishing terminal can publish the ProSe communication request carrying the publishing parameters, and the monitoring terminal can use the monitoring parameters to monitor the ProSe communication request.
  • the monitoring terminal may determine whether the monitoring parameters match the publishing parameters carried in the ProSe communication request, for example, determining whether the aforementioned ProSe discovery matching parameters match the ProSe discovery key parameters. If so, the monitoring terminal can send a ProSe response to the publishing terminal.
  • the ProSe response can carry configuration information used to establish ProSe communication between the publishing terminal and the monitoring terminal, such as wireless resource configuration information, the use of modulation & coding schemes (MCS), and quality of service (QoS) Parameters, the Internet Protocol (IP) address of the monitoring terminal, the Media Access Control (MAC) layer address, etc. Then, the monitoring terminal can provide proximity services for the publishing terminal based on the configuration information.
  • configuration information used to establish ProSe communication between the publishing terminal and the monitoring terminal, such as wireless resource configuration information, the use of modulation & coding schemes (MCS), and quality of service (QoS) Parameters, the Internet Protocol (IP) address of the monitoring terminal, the Media Access Control (MAC) layer address, etc.
  • IP Internet Protocol
  • MAC Media Access Control
  • the communication method shown in FIG. 4 may further include: the third network element obtains the identifier of the terminal that is authorized to use the ProSe ProSe corresponding to the application identifier, and/or the ProSe corresponding to the application identifier can be used Discover the pattern.
  • the terminal identifier and the discovery mode can also correspond to the discovery parameters. In this way, the accuracy of the configured discovery parameters can be further improved, thereby improving the success rate of the discovery phase, and the reliability and efficiency of ProSe communication.
  • a terminal that is authorized to use the ProSe corresponding to the application identifier refers to a terminal that supports the proximity service corresponding to the application identifier and has activated the proximity service with the operator or a third party.
  • the identification of the terminal that has been authorized to use the ProSe ProSe corresponding to the application identification refers to the identification of the terminal that can be recognized by the operator network element or third-party network element (ProSe APP ID, application layer ID, UE ID, etc.) .
  • the identification may include the identification of the terminal at the third-party application level, such as a WeChat account, a public comment account, an online game account, and so on.
  • the identification of the terminal may also include an identification that can be recognized by the operator's core network element, such as a unified public user identifier (generic public subscription identifier, GPSI), a user permanent identifier (subscription permanent identifier, SUPI), mobile phone number, and terminal International mobile subscriber identification number (IMSI), etc.
  • a unified public user identifier generator public subscription identifier, GPSI
  • a user permanent identifier subscription permanent identifier
  • SUPI subscription permanent identifier
  • mobile phone number a terminal International mobile subscriber identification number (IMSI), etc.
  • IMSI International mobile subscriber identification number
  • the terminal if the terminal's identity uses a third-party application-level identity, the terminal must also add an identity that can be recognized by the operator's core network element in the request message, such as WeChat ID and international A combination of mobile subscriber identification number (international mobile subscriber identification number, IMSI) so that the core network element can identify the terminal.
  • an identity that can be recognized by the operator's core network element in the request message, such as WeChat ID and international A combination of mobile subscriber identification number (international mobile subscriber identification number, IMSI) so that the core network element can identify the terminal.
  • IMSI international mobile subscriber identification number
  • the number of terminals authorized to use the ProSe ProSe corresponding to the application identifier may be multiple, and the types may be multiple.
  • the embodiment of this application does not specifically limit the specific implementation of the terminal that has been authorized to use the ProSe ProSe corresponding to the application identifier and its identifier.
  • the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier may include an open mode (open discovery) or a restricted mode (restricted discovery).
  • the discovery mode can be determined by the proximity service provider, such as an AF network element or a third-party application server.
  • the public mode means that any terminal can use the proximity service
  • the restricted mode means that only designated terminals can use the proximity service.
  • the designated terminal refers to a terminal that has been authorized to use the proximity service. Therefore, when the discovery mode is the restricted mode, the third network element also needs to obtain identification information, such as an identification list, of terminal devices that are authorized to use the proximity service corresponding to the application identification.
  • the communication method shown in FIG. 4 may further include: the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the second network element.
  • the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the second network element.
  • the operator can control the time that the terminal can use the proximity service by setting the effective time of the discovery parameter, which is convenient for management such as billing.
  • the third network element sends the corresponding relationship between the application identifier and the discovery parameter to the second network element.
  • the second network element receives the correspondence between the application identifier and the discovery parameter from the third network element.
  • the second network element may also be referred to as a discovery parameter storage network element, such as a UDR network element or a UDM network element in a 5G system, and is used to uniformly store the correspondence between the application identifier and the discovery parameter.
  • a discovery parameter storage network element such as a UDR network element or a UDM network element in a 5G system
  • the communication method shown in FIG. 4 may further include: the third network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and/or authorized The identification of the ProSe terminal that uses the ProSe corresponding to the application identification.
  • the second network element receives from the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identification, and/or the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
  • the foregoing correspondence relationship when the discovery mode is the restricted mode, the foregoing correspondence relationship also needs to include the identity of the terminal that has been authorized to use the ProSe corresponding to the application identity. It should be understood that when the discovery mode is the public mode, the foregoing correspondence relationship may not include the discovery mode and the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
  • the third network element can directly send the above corresponding relationship to the second network element, or through other operator network elements, such as the network exposure function (NEF) network in the 5G system. Element, sending the above-mentioned corresponding relationship to the second network element.
  • NEF network exposure function
  • the second network element may collect the correspondence between multiple application identifiers and multiple sets of discovery parameters from one or more third network elements, and store them in the second network element's corresponding relationship. In storage space. In this way, the second network element can configure discovery parameters for the terminal according to the application identifier provided by the terminal, that is, perform the following S403-S406.
  • the terminal sends an application identifier to the first network element.
  • the first network element receives the application identifier from the terminal.
  • the first network element may also be referred to as a discovery parameter configuration network element, such as a PCF network element, AMF network element, etc. in a 5G system, which is mainly used for the application identification provided by the terminal and the correspondence between the application identification and the discovery parameter Relationship, configure the discovery parameters for the terminal.
  • a discovery parameter configuration network element such as a PCF network element, AMF network element, etc. in a 5G system, which is mainly used for the application identification provided by the terminal and the correspondence between the application identification and the discovery parameter Relationship, configure the discovery parameters for the terminal.
  • the embodiment of the present application does not specifically limit the type and quantity of the network element of the first network element, and the deployment mode with other network elements.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method shown in FIG. 4 may further include: the issuing terminal sends one of the discovery mode corresponding to the application identifier, the identification of the issuing terminal, or the first request instruction to the first network element. Or multiple.
  • the first network element receives one or more of the discovery mode, the identification of the publishing terminal, and the first request indication from the publishing terminal.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method shown in FIG. 4 may further include: the monitoring terminal sends to the first network element one of a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication Or multiple.
  • the first network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the monitoring terminal.
  • the second request indication is used to request monitoring parameters.
  • the above application identifier, the identifier of the publishing terminal, the discovery mode, and the first request indication may be sent by the publishing terminal to the first network element multiple times, for example, in multiple discovery request messages (discovery request). Sending can also be sent to the first network element at the same time, for example, it can be sent in the same discovery request message.
  • the above-mentioned application identifier, monitoring terminal identifier, discovery mode, and second request indication can be sent by the monitoring terminal to the first network element multiple times. For example, they can be sent separately in multiple discovery request messages, or they can be sent at the same time. For the first network element, if it can be sent in the same discovery request message.
  • the embodiment of this application provides specific implementations for the issuing terminal to send the application identifier, the identity of the publishing terminal, the discovery mode, and the first request indication to the first network element, and the monitoring terminal sends the application identifier and the identifier of the monitoring terminal to the first network element ,
  • the discovery mode, and the implementation of the second request indication are not specifically limited.
  • the terminal needs to send the discovery mode and the identification of the terminal to the first network element, so that the first network element and the following second network element can determine whether the terminal has permission to use the application Identifies the corresponding proximity service.
  • the above-mentioned first request indication and the second request indication may be explicitly indicated, such as the above two operation indications, or implicitly indicated, for example, they may be distinguished by the message name.
  • the discovery request message initiated by the publishing terminal can be named announcing request message (announcing request) or a discovery key request message (discovery code request)
  • the discovery request message initiated by the monitoring terminal can be named monitoring request message (monitoring request) Or discovery filter request message (discovery filter request).
  • the implementation manners of the first request instruction and the second request instruction in the embodiment of the present application are not specifically limited.
  • the first network element sends the application identifier to the second network element.
  • the second network element receives the application identifier from the first network element.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method shown in FIG. 4 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication.
  • the second network element receives one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method shown in FIG. 4 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication.
  • the second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used for requesting monitoring parameters.
  • the second request indication is used to request monitoring parameters.
  • the first network element sends to the second network element the first network element to send the application identifier, the terminal identifier, the discovery mode, the first request indication or the second request indication for the implementation manner, please refer to the above S403 terminal to send The implementation manner in which the first network element sends the application identifier, the terminal identifier, the discovery mode, the first request indication or the second request indication will not be repeated here.
  • S405 The second network element sends the discovery parameter to the first network element.
  • the first network element receives the discovery parameter from the second network element.
  • the discovery parameter corresponds to the application identifier, that is, the discovery parameter is determined by the second network element according to the above-mentioned corresponding relationship.
  • the communication method of FIG. 4 may further include: the second network element sends the effective time of the discovery parameter to the first network element.
  • the first network element receives the effective time of the discovery parameter from the second network element.
  • S405 may be specifically implemented as: the second network element sends a discovery response message (discovery response) to the first network element.
  • the first network element receives the discovery response message from the second network element.
  • the discovery response message carries the discovery parameter corresponding to the application identifier.
  • the discovery parameters may include publishing parameters or listening parameters.
  • the discovery response message may also carry the effective time of the discovery parameter.
  • the second network element when the discovery mode is the restricted mode, if the terminal does not have permission to use the proximity service corresponding to the application identifier, the second network element will send a service denial indication to the first network element. Wherein, the denial of service indication may be carried in the above discovery response message. In this case, the second network element may not send the publishing parameters to the first network element.
  • the first network element sends the discovery parameter to the terminal.
  • the terminal receives the discovery parameter from the first network element.
  • S406 may be specifically implemented as: the first network element sends a discovery response message to the terminal.
  • the terminal receives a discovery response message from the first network element.
  • the discovery response message carries the discovery parameter corresponding to the application identifier.
  • the discovery parameters may include publishing parameters or listening parameters.
  • the discovery response message may also carry the effective time of the discovery parameter.
  • the first network element may forward the service denial of service indication received from the second network element to the terminal.
  • the denial of service indication may be carried in the above discovery response message.
  • the terminal After performing S406, the terminal can complete the discovery phase of ProSe communication according to the discovery parameters. After that, between the terminals, such as the publishing terminal and the listening terminal, a ProSe communication connection can be established through signaling interaction, thereby realizing ProSe communication.
  • Fig. 5 is an example one of the communication method shown in Fig. 4. 4 and 5, the first network element in FIG. 4 may include the first PCF network element and the second PCF network element in FIG. 5, and the second network element in FIG. 4 may be the UDR network element in FIG. 5. Or UDM network element, the third network element in FIG. 4 may be the ProSe network element in FIG. 5, and the terminal in FIG. 4 may include the publishing terminal and the listening terminal in FIG.
  • UDM network element and UDR network element may be independent core network network elements or the same core network network element.
  • the embodiment of this application does not limit the specific implementation of UDM network elements and UDR network elements. .
  • the AF network element sends an application identifier to the ProSe network element.
  • the ProSe network element receives the application identifier from the AF network element.
  • the AF network element may include a core network network element deployed by an operator, and the application identification provided by it may include an APP ID.
  • the AF network element may also be a third party, such as an application server deployed by a content provider, and the application identification provided by it may include a third-party application identification.
  • the embodiment of the present application does not limit specific implementation manners such as the provider of the AF network element, the number of AF network elements, or the type of proximity service provided by the AF network element.
  • the ProSe network element may also receive from the AF network element the identifier of the terminal authorized to use the proximity service corresponding to the application identifier, such as the identifier list of the terminal authorized to use the proximity service corresponding to the application identifier.
  • the corresponding discovery mode will also be set to restricted mode, and the AF network element needs to provide the application identifier for the ProSe network element, and authorized Use the identifier of the proximity service terminal corresponding to the application identifier. If the discovery mode is the restricted mode, the AF also needs to provide the ProSe network element with user information that has been authorized to use the application for ProSe communication, such as the user account and the identification of the terminal bound to the user account. It should be understood that if the proximity service corresponding to the application identifier does not have a limited use right, the AF network element may not send the discovery mode to the ProSe network element. In this case, it can also be understood that the discovery mode of the proximity service corresponding to the application identifier is the public mode by default.
  • the ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
  • the AF network element has the function of the ProSe network element, for example, the AF network element includes a module or component with the function of the ProSe network element, the AF network element can also obtain the application identification and discovery parameters of the proximity service provided by it locally. , The identification and discovery mode of the terminal that has been authorized to use the proximity service corresponding to the application identification, and the corresponding relationship is established based on the acquired information, that is, S501-S502 can be regarded as internal operations performed by the same network element.
  • the above-mentioned corresponding relationship can be newly established, such as when a new proximity service is online, or it can be modified, if an existing proximity service is adjusted, it can also be deleted, such as an existing proximity service. When the service goes offline.
  • S402 may be specifically implemented as S503:
  • S503 The ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element.
  • the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
  • the foregoing correspondence relationship when the discovery mode is the restricted mode, the foregoing correspondence relationship also needs to include the identity of the terminal that has been authorized to use the ProSe corresponding to the application identity. It is easy to understand that when the discovery mode is the public mode, the foregoing correspondence relationship may not include the discovery mode and the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
  • S503 may be specifically implemented as: the AF network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element.
  • the AF network element is a third-party application server, when the AF network element sends the corresponding relationship to the core network UDR network element, it needs to be verified by the NEF network element, and then the NEF network element will pass the verified correspondence The relationship is forwarded to the UDR network element to ensure security.
  • the UDR network element there is usually one UDR network element.
  • the one UDR network element can receive and save multiple correspondences from multiple AF network elements of different types.
  • the multiple correspondences can be stored in the form of a correspondence table.
  • the multiple entries in the correspondence table have a one-to-one correspondence with the multiple correspondences.
  • the UDR network element may also store the above-mentioned correspondence in other forms besides the correspondence table, for example, it may also store the above-mentioned correspondence in the form of a configuration file.
  • the embodiment of the present application does not specifically limit the storage manner of the correspondence relationship.
  • the above S403-S406 can be specifically implemented as S504-S509:
  • the publishing terminal sends a first discovery request message to the first PCF network element via the first AMF network element.
  • the first PCF network element receives the first discovery request message from the publishing terminal via the first AMF network element.
  • the first discovery request message carries an application identifier, such as APP ID.
  • the first discovery request message may also carry one or more of the identification of the publishing terminal (user identification at the application level and/or user identification identifiable by the core network element), discovery mode, and first request indication .
  • the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
  • the first request indication may be explicitly carried in the first discovery request message, such as occupying a 1-bit indication field in the first discovery request message.
  • the first discovery request message may be a discovery key request message, that is, the message name may be used to implicitly carry the first request indication.
  • the first discovery request message may be a part of a non-access stratum (non-access stratum, NAS) message.
  • NAS non-access stratum
  • the publishing terminal sends the container to the first AMF network element, and then the first AMF network element forwards the container to the first PCF network element.
  • the first discovery request message also needs to carry the identification of the discovery mode and the publishing terminal, so that the first PCF network element and UDR network element can determine whether the publishing terminal has the authority to use the corresponding application identifier. Proximity service.
  • the first PCF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
  • the first PCF network element sends an authentication request message to the UDM network element.
  • the authentication request message may carry the identity of the issuing terminal, the identity of the PLMN where the issuing terminal is located, and so on.
  • the UDM network element sends an authentication response message to the first PCF network element.
  • the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
  • the UDM network element may send authorization information to the first PCF network element. Otherwise, the UDM network element may send an authentication failure indication to the first PCF network element.
  • the first PCF network element may not initiate the aforementioned authentication request to the UDM network element.
  • S505 is an optional step.
  • the publishing terminal is successfully authenticated, or the first PCF network element has learned that the publishing terminal has the authority to use PC5 communication under the current PLMN, the following S506-S509 can be continued. If the ProSe network element is integrated in the first PCF network element, S508 can be directly executed.
  • the first PCF network element sends a first discovery request message to the UDR network element.
  • the UDR network element receives the first discovery request message from the first PCF network element.
  • the discovery mode is the restricted mode
  • the first PCF network element when the first PCF network element requests to publish the discovery parameters of the terminal, it also needs to carry the identification of the publishing terminal.
  • the UDR network element sends a first discovery response message to the first PCF network element.
  • the first PCF network element receives the first discovery response message from the UDR network element.
  • the first discovery response message may carry publishing parameters.
  • the publishing parameter corresponds to the application identifier carried in the first discovery request message.
  • the release parameter may be a ProSe discovery key parameter.
  • the first discovery response message may also carry the validity period of the published parameter.
  • the UDR when the discovery mode is the restricted mode, the UDR also needs to publish the terminal identification carried in the first request message and the terminal identification of the terminal authorized to use the proximity service corresponding to the application identification received by the UDR from the AF network element. The identification is matched to verify whether the publishing terminal has the authority to use the proximity service corresponding to the application identification. After passing the verification, the UDR will allocate the publishing parameters for the publishing terminal. Otherwise, the UDR network element feeds back a rejection indication to the first PCF network element to inform the first PCF network element that the identity verification of the publishing terminal has failed, that is, the first discovery response message may carry the rejection indication and may not carry the publishing parameters.
  • the first discovery response message may be a discovery key response message.
  • the first PCF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request.
  • the request message carries the application identifier.
  • the UDR network element can send the ProSe network element creation, update, or deletion application to the first PCF network element in S507 The corresponding relationship between the identification and the discovery parameter. Therefore, the first PCF network element does not need to send the request message to the UDR network element every time it receives the first request message, so as to save signaling overhead.
  • the first PCF network element sends a first discovery response message to the publishing terminal via the first AMF network element.
  • the publishing terminal receives the first discovery response message from the first PCF network element via the first AMF network element.
  • the first discovery response message carries publishing parameters, such as ProSe discovery key parameters.
  • the first discovery response message may also carry the validity period of the published parameter.
  • the release parameter is used to release the ProSe communication request issued by the terminal.
  • the first discovery response message may be a discovery key response message.
  • the content carried in the first discovery response message can refer to S507, which will not be repeated here.
  • the publishing terminal publishes the ProSe communication request according to the publishing parameters.
  • the publishing terminal may apply for air interface resources from the network element of the access network, and broadcast the ProSe communication request message on the air interface resources.
  • the ProSe communication request message carries the foregoing publishing parameters.
  • the publishing terminal when the discovery mode is the restricted mode, and when the publishing terminal does not have the authority to use the proximity service corresponding to the application identifier provided by the publishing terminal, the publishing terminal cannot publish the ProSe communication request.
  • the above S403-S406 can be specifically implemented as S510-S515:
  • the monitoring terminal sends a second discovery request message to the second PCF network element via the second AMF network element.
  • the second PCF network element receives the second discovery request message from the listening terminal via the second AMF network element.
  • the second discovery request message carries an application identifier, such as APP ID.
  • the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication.
  • the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
  • the second request indication may be explicitly carried in the second discovery request message.
  • the second discovery request message may be a matching parameter discovery request message, that is, the message name may be used to implicitly carry the second request indication.
  • the second discovery request message also needs to carry the identification of the discovery mode and the monitoring terminal, so that the second PCF network element and the UDR network element can determine whether the monitoring terminal has the authority to use the application identifier. Proximity service.
  • the second PCF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
  • the second PCF network element sends an authentication request message to the UDM network element.
  • the authentication request message may carry the identity of the monitoring terminal, the identity of the PLMN where the monitoring terminal is located, and so on.
  • the UDM network element sends an authentication response message to the second PCF network element.
  • the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
  • the UDM network element may send authorization information to the second PCF network element. Otherwise, the UDM network element may send an authentication failure indication to the second PCF network element.
  • the second PCF network element may not initiate the aforementioned authentication request to the UDM network element.
  • S511 is an optional step.
  • the following S512-S515 can be continued. If the ProSe network element is integrated in the second PCF network element, S514 can be directly executed.
  • the second PCF network element sends a second discovery request message to the UDR network element.
  • the UDR network element receives the second discovery request message from the second PCF network element.
  • the second PCF network element needs to carry the identification of the listening terminal when requesting the discovery parameters of the listening terminal.
  • the UDR network element sends a second discovery response message to the second PCF network element.
  • the second PCF network element receives the second discovery response message from the UDR network element.
  • the second discovery response message may carry monitoring parameters.
  • the monitoring parameter corresponds to the application identifier carried in the second discovery request message.
  • the monitoring parameter may be a ProSe discovery matching parameter.
  • the UDR when the discovery mode is the restricted mode, the UDR also needs to first base on the identification of the listening terminal carried in the second request message and the identification of the terminal authorized to use the proximity service corresponding to the application identification received by the UDR from the AF network element. The identification is matched to verify whether the monitoring terminal has the authority to use the proximity service corresponding to the application identification. After the verification is passed, the UDR will allocate monitoring parameters for the monitoring terminal. Otherwise, the UDR network element feeds back a rejection indication to the second PCF network element to inform the second PCF network element that the identity verification of the monitoring terminal has failed, that is, the second discovery response message may carry the rejection indication and may not carry monitoring parameters.
  • the second discovery response message may be a discovery key response message.
  • the second PCF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request, and the request message carries the application identifier.
  • the UDR network element After the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S512, the UDR network element can send the ProSe network element creation, update or deletion application to the second PCF network element in S513 The corresponding relationship between the identification and the discovery parameter. Therefore, the second PCF network element does not need to send the request message to the UDR network element every time it receives the second request message, so as to save signaling overhead.
  • the second PCF network element sends a second discovery response message to the monitoring terminal via the second AMF network element.
  • the monitoring terminal receives the second discovery response message from the second PCF network element via the second AMF network element.
  • the second discovery response message carries monitoring parameters.
  • the second discovery response message may also carry the validity period of the monitoring parameter.
  • the monitoring parameter is used for the monitoring terminal to monitor other terminals, such as the ProSe communication request issued by the above-mentioned publishing terminal.
  • the second discovery response message may be a discovery matching parameter response message.
  • the content carried in the second discovery response message can refer to S513, which will not be repeated here.
  • S515 The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
  • the monitoring terminal can apply for air interface resources from the access network element to which it accesses, and on the air interface resources, use monitoring parameters to monitor ProSe communication request messages issued by other terminals, such as monitoring the ProSe communication issued by the above-mentioned publishing terminal. request. For example, if it is monitored that the monitoring parameters match the publishing parameters, it is deemed that there is a ProSe service request; otherwise, it is deemed that there is no ProSe service request.
  • the discovery mode is the restricted mode
  • the monitoring terminal does not have the permission to use the proximity service corresponding to the application identifier provided by the monitoring terminal, the monitoring terminal cannot listen to ProSe communication requests issued by other terminals.
  • the above-mentioned operation steps S510-S515 for the monitoring terminal can be performed after or before the operation steps S504-S509 for the publishing terminal are performed, or they can be performed cross-over within the same period of time, which is not specifically limited in the embodiment of this application. .
  • Fig. 6 is the second example of the communication method shown in Fig. 4. 4 and 6, the first network element in FIG. 4 may include the first AMF network element and the second AMF network element in FIG. 6, and the second network element in FIG. 4 may be the UDR network element in FIG. 6. , The third network element in FIG. 4 may be the ProSe network element in FIG. 6, and the terminal in FIG. 4 may include the publishing terminal and the listening terminal in FIG. 6.
  • S401-S402 can be implemented as the following S601-S603:
  • the AF network element sends an application identifier to the ProSe network element.
  • the ProSe network element receives the application identifier from the AF network element.
  • the ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
  • the ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element.
  • the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
  • the communication method shown in FIG. 6 will be described in detail below for the publishing terminal and the listening terminal respectively.
  • the above S403-S406 can be specifically implemented as S604-S609:
  • the publishing terminal sends a first discovery request message to the first AMF network element.
  • the first AMF network element receives the first discovery request message from the publishing terminal.
  • the first discovery request message carries an application identifier, such as APP ID.
  • the first discovery request message may also carry one or more of the identity of the publishing terminal, the discovery mode, and the first request indication.
  • the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
  • the first request indication may be explicitly carried in the first discovery request message, such as occupying a 1-bit indication field in the first discovery request message.
  • the first discovery request message may be a discovery key request message, that is, the message name may be used to implicitly carry the first request indication.
  • the first AMF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
  • the first AMF network element sends an authentication request message to the UDM network element.
  • the authentication request message may carry the identity of the issuing terminal, the identity of the PLMN where the issuing terminal is located, and so on.
  • the UDM network element sends an authentication response message to the first AMF network element.
  • the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
  • the UDM network element may send authorization information to the first AMF network element. Otherwise, the UDM network element may send an authentication failure indication to the first AMF network element.
  • the first PCF network element may not initiate the aforementioned authentication request to the UDM network element.
  • S605 is an optional step.
  • the first AMF network element sends a first discovery request message to the UDR network element.
  • the UDR network element receives the first discovery request message from the first AMF network element.
  • the UDR network element sends a first discovery response message to the first AMF network element.
  • the first AMF network element receives the first discovery response message from the UDR network element.
  • the first AMF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request, and the request message carries the application identifier.
  • the UDR network element After the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S606, the UDR network element can send the ProSe network element creation, update, or deletion application to the first AMF network element in S607 The corresponding relationship between the identification and the discovery parameter. Therefore, the first AMF network element does not need to send the request message to the UDR network element every time it receives the first request message, so as to save signaling overhead.
  • the first AMF network element sends a first discovery response message to the publishing terminal.
  • the issuing terminal receives the first discovery response message from the first AMF network element.
  • the first discovery response message carries publishing parameters, such as ProSe discovery key parameters.
  • the first discovery response message may also carry the validity period of the published parameter.
  • the release parameter is used to release the ProSe communication request issued by the terminal.
  • the first discovery response message may be a discovery key response message.
  • S609 The publishing terminal publishes the ProSe communication request according to the publishing parameters.
  • the publishing terminal may apply for air interface resources from the network element of the access network, and broadcast the ProSe communication request message on the air interface resources.
  • the ProSe communication request message carries the foregoing publishing parameters.
  • the above S403-S406 can be specifically implemented as S610-S615:
  • the monitoring terminal sends a second discovery request message to the second AMF network element.
  • the second AMF network element receives the second discovery request message from the monitoring terminal.
  • the second discovery request message carries an application identifier, such as APP ID.
  • the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication.
  • the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
  • the second request indication may be explicitly carried in the second discovery request message.
  • the second discovery request message may be a matching parameter discovery request message, that is, the message name may be used to implicitly carry the second request indication.
  • the second AMF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
  • the second AMF network element sends an authentication request message to the UDM network element.
  • the authentication request message may carry the identity of the monitoring terminal, the identity of the PLMN where the monitoring terminal is located, and so on.
  • the UDM network element sends an authentication response message to the second AMF network element.
  • the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
  • the UDM network element may send authorization information to the second AMF network element. Otherwise, the UDM network element may send an authentication failure indication to the second AMF network element.
  • the second AMF network element may not initiate the aforementioned authentication request to the UDM network element.
  • S611 is an optional step.
  • the second AMF network element sends a second discovery request message to the UDR network element.
  • the UDR network element receives the second discovery request message from the second AMF network element.
  • the UDR network element sends a second discovery response message to the second AMF network element.
  • the second AMF network element receives the second discovery response message from the UDR network element.
  • the second AMF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request, and the request message carries the application identifier.
  • the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S612
  • the UDR network element can send the ProSe network element creation, update or deletion application to the second AMF network element in S613
  • the corresponding relationship between the identification and the discovery parameter Therefore, the second AMF network element does not need to send the request message to the UDR network element every time it receives the second request message, so as to save signaling overhead.
  • the second AMF network element sends a second discovery response message to the monitoring terminal.
  • the monitoring terminal receives the second discovery response message from the second AMF network element.
  • the second discovery response message carries monitoring parameters.
  • the second discovery response message may also carry the validity period of the monitoring parameter.
  • the monitoring parameter is used for the monitoring terminal to monitor other terminals, such as the ProSe communication request issued by the above-mentioned publishing terminal.
  • the second discovery response message may be a discovery matching parameter response message.
  • S615 The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
  • the monitoring terminal can apply for air interface resources from the access network element to which it accesses, and on the air interface resources, use monitoring parameters to monitor ProSe communication request messages issued by other terminals, such as monitoring the ProSe communication issued by the above-mentioned publishing terminal. request. For example, if it is monitored that the monitoring parameters match the publishing parameters, it is deemed that there is a ProSe service request; otherwise, it is deemed that there is no ProSe service request.
  • operation steps S610-S615 for the monitoring terminal can be executed after or before the operation steps S604-S609 for the publishing terminal are executed, or they can be executed interleaved within the same period of time. This is not the case in the embodiment of this application. Make specific restrictions.
  • the first network element can request the second network element to configure discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal.
  • the second network element can The application identifier provided by the publishing terminal configures the publishing parameters for the publishing terminal, and configures the monitoring parameters for the monitoring terminal according to the same application identifier provided by the monitoring terminal, that is, the publishing parameters and monitoring parameters correspond to the same application identifier, which can solve the publishing parameters and monitoring
  • the problem of parameter mismatch caused by different network element configurations can increase the success rate of the discovery phase, thereby improving the reliability of proximity services.
  • the second network element such as the UDR network element
  • the terminal such as the application identifier corresponding to The proximity service
  • FIG. 7 is a fourth flowchart of a communication method provided by an embodiment of this application.
  • This communication method can be applied to the communication in the ProSe discovery phase between different network elements shown in Figure 1 or Figure 2, so as to configure discovery parameters for ProSe communication between different terminals, such as configuring publishing parameters for publishing terminals and monitoring terminals Configure monitoring parameters.
  • the communication method includes the following S701-S708:
  • the third network element obtains an application identifier.
  • the third network element sends the corresponding relationship between the application identifier and the discovery parameter to the second network element.
  • the second network element receives the correspondence between the application identifier and the discovery parameter from the third network element.
  • the communication method shown in FIG. 7 may further include: the third network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and/or authorized The identification of the ProSe terminal that uses the ProSe corresponding to the application identification.
  • the second network element receives from the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identification, and/or the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
  • the communication method shown in FIG. 7 may further include: the third network element determines the effective time of the discovery parameter.
  • S703 The terminal sends an application identifier to the first network element.
  • the first network element receives the application identifier from the terminal.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method shown in FIG. 7 may further include: the issuing terminal sends to the first network element one of the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identity of the issuing terminal, or the first request indication Or multiple.
  • the first network element receives one or more of the discovery mode, the identification of the publishing terminal, and the first request indication from the publishing terminal.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method shown in FIG. 7 may further include: the monitoring terminal sends to the first network element one of the discovery mode that the ProSe corresponding to the application identifier can use, the identifier of the monitoring terminal, or the second request indication. Or multiple.
  • the first network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the monitoring terminal.
  • the second request indication is used to request monitoring parameters.
  • the first network element sends the application identifier to the second network element.
  • the second network element receives the application identifier from the first network element.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method shown in FIG. 7 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication.
  • the second network element receives one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method shown in FIG. 7 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication.
  • the second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used for requesting monitoring parameters.
  • the second request indication is used to request monitoring parameters.
  • S705 The first network element learns that there is no discovery parameter corresponding to the application identifier in the second network element.
  • the first network element may learn from the second network element that there is no discovery parameter corresponding to the application identifier in the second network element. For example, if the proximity service corresponding to the application identifier is newly online, offline, or adjusted, and the corresponding discovery parameter has not been updated, there may not be a second network element corresponding to the application identifier Found parameters. At this time, the first network element may also send the application identifier to the third network element, requesting the third network element to configure the corresponding discovery parameters, that is, the following S706-S708 may be performed:
  • the first network element sends the application identifier to the third network element.
  • the third network element receives the application identifier from the first network element.
  • the discovery parameter corresponds to the application identifier.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the communication method shown in FIG. 7 may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request instruction One or more.
  • the third network element receives one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the communication method shown in FIG. 7 may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication.
  • the third network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used to request monitoring parameters.
  • the second request indication is used to request monitoring parameters.
  • the third network element sends the discovery parameter to the first network element.
  • the first network element receives the discovery parameter from the third network element.
  • the discovery parameter corresponds to the application identifier, that is, the discovery parameter is generated by the third network element according to the application identifier.
  • the communication method of FIG. 7 may further include: the third network element generates the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the first network element.
  • the first network element receives and saves the effective time of the discovery parameter from the third network element.
  • S707 may be specifically implemented as: the third network element sends a discovery response message (discovery response) to the first network element.
  • the first network element receives the discovery response message from the third network element.
  • the discovery response message carries the discovery parameter corresponding to the application identifier.
  • the discovery parameters may include publishing parameters or listening parameters.
  • the discovery response message may also carry the effective time of the discovery parameter.
  • the communication method of FIG. 7 may further include: the third network element sends the application identifier, the discovery parameter corresponding to the application identifier, and the effective time to the second network element.
  • the second network element receives the application identifier, the discovery parameter corresponding to the application identifier, and the effective time from the third network element to update the correspondence between the application identifier and the discovery parameter stored locally in the second network element, such as modifying
  • the corresponding relationship table or configuration file ensures that the corresponding relationship stored by the second network element is synchronized with the proximity service in the current system, so as to increase the success rate of the terminal requesting to find the parameters, thereby further improving the efficiency of the proximity service.
  • the first network element sends the discovery parameter to the terminal.
  • the terminal receives the discovery parameter from the first network element.
  • S708 can refer to S406, which will not be repeated here.
  • Fig. 8 is an example one of the communication method shown in Fig. 7.
  • the first network element in Figure 7 may include the first PCF network element and the second PCF network element in Figure 8
  • the second network element in Figure 7 may be the UDR network element in Figure 8.
  • the third network element in FIG. 7 may be the ProSe network element in FIG. 8, and the terminal in FIG. 7 may include the publishing terminal and the listening terminal in FIG. 8.
  • S701 can be implemented as the following S801-S802:
  • the AF network element sends an application identifier to the ProSe network element.
  • the ProSe network element receives the application identifier from the AF network element.
  • the ProSe network element may also receive from the AF network element the identifier of the terminal authorized to use the proximity service corresponding to the application identifier, such as the identifier list of the terminal authorized to use the proximity service corresponding to the application identifier.
  • the ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
  • S702 can be specifically implemented as S803:
  • the ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element.
  • the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
  • the above S703-S708 can be specifically implemented as S804-S811:
  • the publishing terminal sends a first discovery request message to the first PCF network element via the first AMF network element.
  • the first PCF network element receives the first discovery request message from the publishing terminal via the first AMF network element.
  • the first discovery request message carries an application identifier, such as APP ID.
  • the first discovery request message may also carry one or more of the identity of the publishing terminal, the discovery mode, and the first request indication.
  • the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
  • the first PCF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
  • the first PCF network element sends a first discovery request message to the UDR network element.
  • the UDR network element receives the first discovery request message from the first PCF network element.
  • S804-S806 For the specific implementation of S804-S806, please refer to S504-S506, which will not be repeated here.
  • the UDR network element sends first indication information to the first PCF network element.
  • the first PCF network element receives the first indication information from the UDR network element.
  • the first indication information is used to indicate that there is no publishing parameter corresponding to the application identifier provided by the publishing terminal in the second network element.
  • the first PCF network element sends a first discovery request message to the ProSe network element.
  • the ProSe network element receives the first discovery request message from the first PCF network element.
  • the ProSe network element sends a first discovery response message to the first PCF network element.
  • the first PCF network element receives the first discovery response message from the ProSe network element.
  • the first discovery response message carries publishing parameters, such as ProSe discovery key parameters.
  • the first discovery response message may also carry the validity period of the published parameter.
  • the release parameter is used to release the ProSe communication request issued by the terminal.
  • the first discovery response message may be a discovery key response message.
  • the first PCF network element sends a first discovery response message to the publishing terminal via the first AMF network element.
  • the publishing terminal receives the first discovery response message from the first PCF network element via the first AMF network element.
  • the publishing terminal publishes the ProSe communication request according to the publishing parameters.
  • S810-S811 For the specific implementation of S810-S811, please refer to S508-S509, which will not be repeated here.
  • the above S703-S708 can be specifically implemented as S812-S819:
  • the monitoring terminal sends a second discovery request message to the second PCF network element via the second AMF network element.
  • the second PCF network element receives the second discovery request message from the listening terminal via the second AMF network element.
  • the second discovery request message carries the application identifier.
  • the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the second PCF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
  • the second PCF network element sends a second discovery request message to the UDR network element.
  • the UDR network element receives the second discovery request message from the second PCF network element.
  • the UDR network element sends second indication information to the second PCF network element.
  • the second PCF network element receives the second indication information from the UDR network element.
  • the second indication information is used to indicate that there is no monitoring parameter corresponding to the application identifier provided by the monitoring terminal in the second network element.
  • the second PCF network element sends a second discovery request message to the ProSe network element.
  • the ProSe network element receives the second discovery request message from the second PCF network element.
  • the ProSe network element sends a second discovery response message to the second PCF network element.
  • the second PCF network element receives the second discovery response message from the ProSe network element.
  • the second discovery response message carries monitoring parameters.
  • the second discovery response message may also carry the validity period of the monitoring parameter.
  • the monitoring parameter is used to monitor the terminal to issue a ProSe communication request.
  • the second discovery response message may be a discovery key response message.
  • the second PCF network element sends a second discovery response message to the monitoring terminal.
  • the monitoring terminal receives the second discovery response message from the second PCF network element.
  • the monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
  • operation steps S812-S819 for the monitoring terminal can be executed after or before the operation steps S804-S811 for the publishing terminal are executed, or they can be executed interleaved within the same period of time. Make specific restrictions.
  • Fig. 9 is the second example of the communication method shown in Fig. 7.
  • the first network element in Figure 7 may include the first AMF network element and the second AMF network element in Figure 9, and the second network element in Figure 7 may be the UDR network element in Figure 9
  • the third network element in FIG. 7 may be the ProSe network element in FIG. 9, and the terminal in FIG. 7 may include the publishing terminal and the monitoring terminal in FIG. 9.
  • S701 can be implemented as the following S901-S902:
  • the AF network element sends an application identifier to the ProSe network element.
  • the ProSe network element receives the application identifier from the AF network element.
  • the ProSe network element may also receive from the AF network element the identifier of the terminal authorized to use the proximity service corresponding to the application identifier, such as the identifier list of the terminal authorized to use the proximity service corresponding to the application identifier.
  • the ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
  • the ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element.
  • the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
  • the above S703-S708 can be specifically implemented as S904-S911:
  • the publishing terminal sends a first discovery request message to the first AMF network element.
  • the first AMF network element receives the first discovery request message from the publishing terminal.
  • the first discovery request message carries an application identifier.
  • the first discovery request message may also carry one or more of the identity of the publishing terminal, the discovery mode, and the first request indication.
  • the first request indication is used to request to publish parameters.
  • the first AMF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
  • the first AMF network element sends a first discovery request message to the UDR network element.
  • the UDR network element receives the first discovery request message from the first AMF network element.
  • the UDR network element sends first indication information to the first AMF network element.
  • the first AMF network element receives the first indication information from the UDR network element.
  • the first indication information is used to indicate that there is no publishing parameter corresponding to the application identifier provided by the publishing terminal in the second network element.
  • the first AMF network element sends a first discovery request message to the ProSe network element.
  • the ProSe network element receives the first discovery request message from the first AMF network element.
  • the ProSe network element sends a first discovery response message to the first AMF network element.
  • the first AMF network element receives the first discovery response message from the ProSe network element.
  • the first discovery response message carries publishing parameters.
  • the first discovery response message may also carry the validity period of the published parameter.
  • the release parameter is used to release the ProSe communication request issued by the terminal.
  • the first discovery response message may be a discovery key response message.
  • the first AMF network element sends a first discovery response message to the publishing terminal.
  • the issuing terminal receives the first discovery response message from the first AMF network element.
  • the publishing terminal publishes a ProSe communication request according to the publishing parameters.
  • S910-S911 For the specific implementation of S910-S911, refer to S608-S609, which will not be repeated here.
  • the above S703-S708 can be specifically implemented as S912-S919:
  • the monitoring terminal sends a second discovery request message to the second AMF network element.
  • the second AMF network element receives the second discovery request message from the monitoring terminal.
  • the second discovery request message carries the application identifier.
  • the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the second AMF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
  • the second AMF network element sends a second discovery request message to the UDR network element.
  • the UDR network element receives the second discovery request message from the second AMF network element.
  • the UDR network element sends second indication information to the second AMF network element.
  • the second AMF network element receives the second indication information from the UDR network element.
  • the second indication information is used to indicate that there is no monitoring parameter corresponding to the application identifier provided by the monitoring terminal in the second network element.
  • the second AMF network element sends a second discovery request message to the ProSe network element.
  • the ProSe network element receives the second discovery request message from the second AMF network element.
  • the ProSe network element sends a second discovery response message to the second AMF network element.
  • the second AMF network element receives the second discovery response message from the ProSe network element.
  • the second discovery response message carries monitoring parameters.
  • the second discovery response message may also carry the validity period of the monitoring parameter.
  • the monitoring parameter is used to monitor the terminal to issue a ProSe communication request.
  • the second discovery response message may be a discovery key response message.
  • the second AMF network element sends a second discovery response message to the monitoring terminal.
  • the monitoring terminal receives the second discovery response message from the second AMF network element.
  • the monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
  • operation steps S912-S919 for the monitoring terminal can be executed after or before the operation steps S904-S911 for the publishing terminal are executed, or they can be executed interleaved within the same period of time. This is not the case in the embodiment of this application. Make specific restrictions.
  • the first network element can request the second network element to configure the discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal.
  • the first network element may send the application identifier to the third network element and request the third network element to configure the discovery parameter corresponding to the application identifier.
  • the third network element may provide the discovery parameter corresponding to the application identifier.
  • the application identifier of the application identifier configures the publishing parameters for the publishing terminal, and configures the monitoring parameters for the monitoring terminal according to the same application identifier provided by the monitoring terminal. That is, the publishing parameters and the monitoring parameters correspond to the same application identifier, which can solve the difference between the publishing parameters and the monitoring parameters.
  • the mismatch problem caused by the configuration of the network element can increase the success rate of the discovery phase, thereby improving the reliability of the proximity service.
  • the publishing terminal and the listening terminal may be located in different PLMNs, or they may be located in the same PLMN.
  • the first AMF network element and the second AMF network element may be the same network element or different network elements.
  • the first PCF network element and the second PCF network element may be the same network element or different network elements. The embodiments of the present application do not specifically limit this.
  • a publishing terminal is used as an example for description.
  • the same application identifier may also correspond to multiple publishing terminals, that is, there may be a situation where multiple publishing terminals simultaneously publish ProSe communication requests of the same application.
  • the above-mentioned corresponding relationship may also include the corresponding relationship between the authorized user identifier and the discovery parameter in the application corresponding to the application identifier. It should be understood that when there are multiple issuing terminals, there are also multiple authorized user identities, and the multiple authorized user identities have a one-to-one correspondence with the multiple issuing terminals. The following is a specific description with examples.
  • Fig. 10 is the third example of the communication method shown in Fig. 4.
  • the first network element in FIG. 4 may include the first AMF network element and the second AMF network element in FIG. 10, and the second network element in FIG. 4 may be the one in FIG. UDR network element or UDM network element
  • the third network element in FIG. 4 may be the first ProSe network element in FIG. 10
  • the terminal in FIG. 4 may include the publishing terminal and the listening terminal in FIG.
  • the third network element in FIG. 4 may also include the second ProSe network element in FIG. 10.
  • the communication method shown in FIG. 10 will be described in detail below in conjunction with the communication method shown in FIG. 6.
  • the communication method may include the following steps:
  • the AF network element sends an application identifier and an authorized user identifier in the application corresponding to the application identifier to the UDR network element or UDM network element.
  • the UDR network element or the UDM network element receives the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
  • the authorized user ID can be the account number, user name, etc. that the user logs into the application corresponding to the application ID through the publishing terminal, or the identity of the publishing terminal itself, to distinguish different users in the same application or different publishing terminals .
  • S1001 is used to provide a correspondence between an application identifier and an authorized user identifier in the application identifier for the UDR network element or UDM network element. It should be understood that this correspondence can also be obtained in other ways, that is, S1001 is an optional step, for example, it can be pre-configured or collected by executing the following S1008, which is not specifically limited in the embodiment of the present application.
  • the AF network element may also send an application identifier and an authorized user identifier in the application corresponding to the application identifier to one or more of the first ProSe network element or the second ProSe network element (if present).
  • the first ProSe network element or the second ProSe network element can receive the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
  • the AF network element sends the application identifier and the authorized user identifier in the application corresponding to the application identifier to the UDR network element or UDM network element (if it is a third-party AF network element, it needs to be forwarded through the NEF network element).
  • the first ProSe network element may obtain application identification information from the UDR network element or UDM network element through subscription and acquisition, and whether to obtain the authorized user identification in the application corresponding to the application identification is an optional item. The reason is that if the first ProSe network element can also verify whether the user identity is authorized in step S1008, in this case, there is no need to store this information in the first ProSe network element. Similarly, if there is a second ProSe network element, perform the same operation.
  • the communication method shown in FIG. 10 will be described in detail below for the publishing terminal and the listening terminal respectively.
  • the communication method shown in Figure 10 further includes S1002-S1008:
  • the publishing terminal sends a first discovery request message to the first AMF network element.
  • the first AMF network element receives the first discovery request message from the publishing terminal.
  • the first discovery request message carries an application identifier, such as an APP ID, and a user identifier of the publishing terminal in the application corresponding to the application identifier (application-level user identifier and/or user identifier identifiable by the core network element).
  • the first discovery request message may also carry one or more of the discovery mode and the first request indication.
  • the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
  • the first request indication may be explicitly carried in the first discovery request message, such as occupying a 1-bit indication field in the first discovery request message.
  • the first discovery request message may be a discovery key request message, that is, the message name may be used to implicitly carry the first request indication.
  • the first discovery request message may be used as a part of a non-access stratum (NAS) message, for example, as a part of a container (container) in the NAS message sent by the publishing terminal to the first AMF network yuan.
  • NAS non-access stratum
  • the first AMF network element sends a first discovery request message to the first ProSe network element.
  • the first ProSe network element receives the first discovery request message from the first AMF network element.
  • the first ProSe network element interacts with the UDR network element or UDM network element to complete the restricted mode verification of the publishing terminal.
  • the first ProSe network element may send a restricted mode verification request message to the UDR network element or the UDM network element.
  • the restricted mode verification request message may carry the application identification and the user identification of the publishing terminal in the application corresponding to the application identification.
  • the UDR network element or the UDM network element may send a restricted mode verification response message to the first ProSe network element.
  • the restricted mode verification response message may carry restricted mode verification result indication information, which is used to indicate whether the publishing terminal has the authority to use the application corresponding to the application identifier to perform ProSe communication.
  • the restricted mode verification is successful, otherwise it is deemed that the restricted mode verification has failed.
  • the first ProSe network element may not initiate restricted mode verification to the UDR network element or UDM network element. request.
  • S1004 is an optional step.
  • the first ProSe network element sends a first discovery response message to the first AMF network element.
  • the first AMF network element receives the first discovery response message from the first ProSe network element.
  • the first AMF network element sends a first discovery response message to the publishing terminal.
  • the issuing terminal receives the first discovery response message from the first AMF network element.
  • the first discovery response message may carry publishing parameters.
  • the release parameter corresponds to the application identifier carried in the first discovery request message, and the release parameter may be a ProSe discovery key parameter.
  • the first discovery response message may also carry the validity period of the published parameter.
  • the publishing terminal publishes the ProSe communication request according to the publishing parameters.
  • the first ProSe network element sends the application identifier to the UDR network element or the UDM network element, and publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier and the publishing parameter.
  • the UDR network element or the UDM network element receives and stores the application identifier from the first ProSe network element, and publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier and the publishing parameter.
  • the corresponding relationship may also include the effective time of the release parameter.
  • S1002-S1008 can be executed repeatedly for multiple publishing terminals to collect application identifiers, and the corresponding relationships between the user identifiers and publishing parameters of the applications corresponding to the application identifiers of the multiple publishing terminals, and Save it in UDR network element or UDM network element for backup.
  • S1008 may be executed before executing S1005-S1007, may also be executed after executing S1005-S1007, or may be executed during execution of S1005-S1007, which is not specifically limited in the embodiment of the present application.
  • the communication method shown in FIG. 10 may further include S1009-S1017:
  • the monitoring terminal sends a second discovery request message to the second AMF network element.
  • the second AMF network element receives the second discovery request message from the monitoring terminal.
  • the second discovery request message carries the application identifier, the user identifier of the publishing terminal in the application corresponding to the application identifier, and the discovery mode.
  • the second discovery request message may also carry one or more of the user identification of the monitoring terminal in the application corresponding to the application identification or the second request indication.
  • the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
  • the first AMF network element can request monitoring parameters from the UDR network element or UDM network element through the second ProSe network element, that is, the following S1010-S1013 can be performed:
  • the second AMF network element sends a second discovery request message to the second ProSe network element.
  • the second ProSe network element receives the second discovery request message from the second AMF network element.
  • the second ProSe network element sends a third discovery request message to the UDR network element or the UDM network element.
  • the UDR network element or the UDM network element receives the third discovery request message from the second ProSe network element.
  • the third discovery request message carries the application identifier, the user identifier of the publishing terminal in the application corresponding to the application identifier, and the discovery mode.
  • the third discovery request message may also carry one or more of the user identification of the monitoring terminal in the application corresponding to the application identification or the second request indication.
  • the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
  • the user ID of the monitoring terminal in the application corresponding to the application ID is used for the interaction between the second ProSe network element and the UDR network element or UDM network element to complete the restricted mode verification of the monitoring terminal, that is, to determine whether the monitoring terminal has authority Use the application corresponding to the application identifier to perform ProSe communication.
  • the related content of performing restricted mode verification on the publishing terminal in S1004 please refer to the related content of performing restricted mode verification on the publishing terminal in S1004, which will not be repeated here.
  • S1012 The UDR network element or the UDM network element sends a third discovery response message to the second ProSe network element.
  • the second ProSe network element receives the third discovery response message from the UDR network element or the UDM network element.
  • the third discovery response message carries monitoring parameters.
  • the third discovery response message may also carry the validity period of the monitoring parameter.
  • the monitoring parameter is used for the monitoring terminal to monitor other terminals, such as the ProSe communication request issued by the above-mentioned publishing terminal.
  • the third discovery response message may be a discovery matching parameter response message.
  • the second ProSe network element sends a second discovery response message to the second AMF network element.
  • the second AMF network element receives the second discovery response message from the second ProSe network element.
  • the second discovery response message may be a discovery matching parameter response message.
  • the first AMF network element can directly request monitoring parameters from the UDR network element or UDM network element, that is, the communication method shown in FIG. 10 may also include S1014-S1015:
  • the second AMF network element sends a second discovery request message to the UDR network element or the UDM network element.
  • the UDR network element or the UDM network element receives the second discovery request message from the second AMF network element.
  • the UDR network element or the UDM network element sends a second discovery response message to the second AMF network element.
  • the second AMF network element receives the second discovery response message from the UDR network element or the UDM network element.
  • the following S1016 may be executed.
  • the second AMF network element sends a second discovery response message to the monitoring terminal.
  • the monitoring terminal receives the second discovery response message from the second AMF network element.
  • the monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
  • S1016-S1017 For the specific implementation of S1016-S1017, please refer to S614-S615, which will not be repeated here.
  • the discovery parameter generation network element, the first ProSe network element shown in FIG. 10, and the discovery parameter storage network element, the UDR network element or UDM network element shown in FIG. 10 may belong to different Operator.
  • the home operator of the discovery parameter generation network element may not be willing to store the generated discovery parameters in the discovery parameter storage network element, and instead adopts the alternative scheme shown in Figure 11 below. That is, the following correspondence relationship is stored in the discovery parameter storage network element: the application identifier, the correspondence relationship between the authorized user identifier in the application corresponding to the application identifier, and the identifier of the first ProSe network element.
  • FIG. 11 is the third example of the communication method shown in FIG. 7.
  • the first network element in FIG. 7 may include the first AMF network element and the second AMF network element in FIG. 11, and the second network element in FIG. 7 may be the UDR network element in FIG. 11 Or UDM network element
  • the third network element in FIG. 7 may be the first ProSe network element in FIG. 11, and the terminal in FIG. 7 may include the publishing terminal and the listening terminal in FIG.
  • the third network element in FIG. 7 may also include the second ProSe network element in FIG. 11, and the second ProSe network element and the first ProSe network element belong to a different operator.
  • the communication method shown in FIG. 11 will be described in detail below with reference to FIG. 10.
  • the communication method may include the following steps:
  • the AF network element sends an application identifier and an authorized user identifier in the application corresponding to the application identifier to the UDR network element or UDM network element.
  • the UDR network element or the UDM network element receives the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
  • the AF network element may also send an application identifier and an authorized user identifier in the application corresponding to the application identifier to one or more of the first ProSe network element or the second ProSe network element (if present).
  • the first ProSe network element or the second ProSe network element can receive the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
  • the communication method shown in FIG. 11 may include the following S1102-S1108:
  • the publishing terminal sends a first discovery request message to the first AMF network element.
  • the first AMF network element receives the first discovery request message from the publishing terminal.
  • the first AMF network element sends a first discovery request message to the first ProSe network element.
  • the first ProSe network element receives the first discovery request message from the first AMF network element.
  • S1104 The first ProSe network element interacts with the UDR network element or the UDM network element to complete the restricted mode verification of the publishing terminal.
  • the first ProSe network element sends a first discovery response message to the first AMF network element.
  • the first AMF network element receives the first discovery response message from the first ProSe network element.
  • the first AMF network element sends a first discovery response message to the publishing terminal.
  • the issuing terminal receives the first discovery response message from the first AMF network element.
  • the publishing terminal publishes the ProSe communication request according to the publishing parameters.
  • the first ProSe network element sends the application identifier to the UDR network element or the UDM network element, and publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier and the identifier of the first ProSe network element.
  • the UDR network element or UDM network element receives and stores the application identifier from the first ProSe network element, publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier, and the identifier of the first ProSe network element.
  • the first ProSe network element may not store the discovery parameters corresponding to the application identifier in the UDR network element Or in the UDM network element, the identification of the first ProSe network element is stored in the UDR network element or UDM network element.
  • the second AMF network element or the second ProSe network element may request the discovery parameter from the first ProSe network element after obtaining the identification of the first ProSe network element from the UDR network element or the UDM network element.
  • S1102-S1108 can be repeated for multiple publishing terminals to collect application identifiers.
  • the user identifiers of the multiple publishing terminals in the application corresponding to the application identifier and the identifier of the first ProSe network element Correspondence relationship between, and save in UDR network element or UDM network element for backup.
  • S1108 may be executed before execution of S1105-S1107, may also be executed after execution of S1105-S1107, or may be executed during execution of S1105-S1107, which is not specifically limited in the embodiment of the present application.
  • the communication method shown in FIG. 11 may further include S1109-S1121:
  • the monitoring terminal sends a second discovery request message to the second AMF network element.
  • the second AMF network element receives the second discovery request message from the monitoring terminal.
  • the first AMF network element can request the UDR network element or UDM network element for the identification of the first ProSe network element through the second ProSe network element, and receive the first ProSe network element.
  • the discovery parameter requested by the second ProSe network element from the first ProSe network element, that is, the communication method shown in FIG. 11 may also include S1110-S1115:
  • the second AMF network element sends a second discovery request message to the second ProSe network element.
  • the second ProSe network element receives the second discovery request message from the second AMF network element.
  • the second ProSe network element sends a fourth discovery request message to the UDR network element or the UDM network element.
  • the UDR network element or the UDM network element receives the fourth discovery request message from the second ProSe network element.
  • S1112 The UDR network element or the UDM network element sends a fourth discovery response message to the second ProSe network element.
  • the second ProSe network element receives the fourth discovery response message from the UDR network element or the UDM network element.
  • the first ProSe network element since the first ProSe network element does not store the discovery parameters in the UDR network element or UDM network element, but stores the identification of the first ProSe network element in the UDR network element or UDM network element, the fourth discovery response message The discovery parameter is not carried, but the identity of the first ProSe network element is carried.
  • the second ProSe network element sends a second discovery request message to the first ProSe network element.
  • the first ProSe network element receives the second discovery request message from the second ProSe network element.
  • the first ProSe network element sends a second discovery response message to the second ProSe network element.
  • the second ProSe network element receives the second discovery response message from the first ProSe network element.
  • the second ProSe network element sends a second discovery response message to the second AMF network element.
  • the second AMF network element receives the second discovery response message from the second ProSe network element.
  • the second AMF network element can directly request the UDR network element or UDM network element for the identification of the first ProSe network element, and receive the identification from the first ProSe network element.
  • the discovery parameter requested by the network element that is, the communication method shown in FIG. 11 may also include S1116-S1119:
  • the second AMF network element sends a fourth discovery request message to the UDR network element or the UDM network element.
  • the UDR network element or the UDM network element receives the fourth discovery request message from the second AMF network element.
  • S1117 The UDR network element or the UDM network element sends a fourth discovery response message to the second AMF network element.
  • the second AMF network element receives the fourth discovery response message from the UDR network element or the UDM network element.
  • the second AMF network element sends a second discovery request message to the first ProSe network element.
  • the first ProSe network element receives the second discovery request message from the second AMF network element.
  • the first ProSe network element sends a second discovery response message to the second AMF network element.
  • the second AMF network element receives the second discovery response message from the first ProSe network element.
  • the communication method shown in FIG. 11 may further include S1120-S1121.
  • the second AMF network element sends a second discovery response message to the monitoring terminal.
  • the monitoring terminal receives the second discovery response message from the second AMF network element.
  • the monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
  • S1120-S1121 For the specific implementation of S1120-S1121, please refer to S1016-S1017, which will not be repeated here.
  • FIG. 12 is a second structural diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 12, the communication device 1200 includes: a receiving module 1201 and a sending module 1202. For ease of description, FIG. 12 only shows the main components of the communication device.
  • the communication device 1200 shown in FIG. 12 can be applied to the communication system shown in FIG. 1 or FIG. 2 to implement the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10 The function of the first network element in the middle.
  • the receiving module 1201 is used to receive the application identifier from the terminal.
  • the sending module 1202 is configured to send the application identifier to the second network element.
  • the receiving module 1201 is further configured to receive the discovery parameter from the second network element; the discovery parameter corresponds to the application identifier.
  • the sending module 1202 is also used to send discovery parameters to the terminal.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the sending module 1202 is further configured to send to the second network element one or more of the available discovery mode of the ProSe corresponding to the application identifier, the identifier of the issuing terminal, or the first request indication.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the sending module 1202 is further configured to send to the second network element one or more of the available discovery mode of the ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the receiving module 1201 is further configured to receive the effective time of the discovery parameter from the second network element; and the sending module 1202 is further configured to send the effective time of the discovery parameter to the terminal.
  • the communication device 1200 shown in FIG. 12 may further include a processing module and a storage module (none of which is shown in FIG. 12), and the storage module stores programs or instructions.
  • the processing module executes the program or instruction
  • the communication device 1200 shown in FIG. 12 can execute the function of the first network element in the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10.
  • the communication device 1200 shown in FIG. 12 may be a first network element, such as a PCF network element or AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. , This application does not limit this.
  • the technical effect of the communication device 1200 shown in FIG. 12 may refer to the technical effect of the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10, which will not be repeated here.
  • the communication device 1200 shown in FIG. 12 can also be applied to the communication system shown in FIG. 1 or FIG. The function of the second network element in the communication method.
  • the receiving module 1201 is configured to receive the correspondence between the application identifier and the discovery parameter from the third network element.
  • the receiving module 1201 is further configured to receive an application identifier from the first network element.
  • the sending module 1202 is configured to send discovery parameters to the first network element.
  • the receiving module 1201 is also configured to receive from a third network element the discovery mode that can be used by the ProSe corresponding to the application identifier, and/or the use of the ProSe corresponding to the application identifier is authorized.
  • the identity of the terminal is also configured to receive from a third network element the discovery mode that can be used by the ProSe corresponding to the application identifier, and/or the use of the ProSe corresponding to the application identifier is authorized. The identity of the terminal.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the receiving module 1201 is further configured to receive one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the receiving module 1201 is further configured to receive one or more of the discovery mode, the identification of the monitoring terminal, and the second request indication from the first network element. Wherein, the second request indication is used to request monitoring parameters.
  • the receiving module 1201 is further configured to receive the effective time of the discovery parameter from the third network element; and the sending module 1202 is further configured to send the effective time of the discovery parameter to the first network element.
  • the communication device 1200 shown in FIG. 12 may further include a processing module and a storage module (none of which is shown in FIG. 12), and the storage module stores programs or instructions.
  • the processing module executes the program or instruction
  • the communication device 1200 shown in FIG. 12 can execute the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10.
  • the communication device 1200 shown in FIG. 12 may be a second network element, such as a UDR network element that uniformly stores the correspondence between application identifiers and discovery parameters, or a chip or a chip set in the second network element. System, this application does not limit this.
  • the technical effect of the communication device 1200 shown in FIG. 12 may refer to the technical effect of the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10, which will not be repeated here.
  • FIG. 13 is a third structural diagram of a communication device provided by an embodiment of this application. As shown in FIG. 13, the communication device 1300 includes: a processing module 1301 and a transceiver module 1302. For ease of description, FIG. 13 only shows the main components of the communication device.
  • the communication device 1300 shown in FIG. 13 can be applied to the communication system shown in FIG. 1 or FIG. 2 to execute the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10 The function of the third network element.
  • the processing module 1301 is used to obtain an application identifier.
  • the transceiver module 1302 is configured to send application identification and discovery parameters to the second network element.
  • the discovery parameter corresponds to the application identifier.
  • the discovery parameters may include publishing parameters and listening parameters.
  • the release parameter is used to release the terminal to release the ProSe ProSe request
  • the listening parameter is used to monitor the terminal to monitor the ProSe communication request of the ProSe.
  • the processing module 1301 is further configured to obtain the identification of the terminal that has been authorized to use the ProSe ProSe corresponding to the application identification; and the transceiver module 1302 is also configured to send the identification of the terminal to the second network element.
  • the processing module 1301 is further configured to obtain the discovery mode that can be used by the ProSe corresponding to the application identifier; and the transceiver module 1302 is further configured to send the discovery mode to the second network element.
  • processing module 1301 is also used to determine the effective time of the discovery parameter; and the transceiver module 1302 is also used to send the effective time of the discovery parameter to the second network element.
  • the communication device 1300 shown in FIG. 13 may further include a storage module (not shown in FIG. 13), and the storage module stores programs or instructions.
  • the processing module 1301 executes the program or instruction
  • the communication device 1300 shown in FIG. 13 can execute the function of the third network element in the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10.
  • the communication device 1300 shown in FIG. 13 may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF with the function of a ProSe network element.
  • the network element, the NF network element, etc. may also be a chip or a chip system set in the third network element, which is not limited in this application.
  • the communication device 1300 shown in FIG. 13 can also be applied to the communication system shown in FIG. 1 or FIG. The function of the first network element in the communication method.
  • the transceiver module 1302 is configured to receive the application identifier from the terminal and send the application identifier to the second network element.
  • the processing module 1301 is configured to learn that there is no discovery parameter corresponding to the application identifier in the second network element.
  • the transceiver module 1302 also has an application identifier sent to the third network element, and the discovery parameter is received from the third network element.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the transceiver module 1302 is further configured to send to the third network element one or more of the available discovery mode of the ProSe corresponding to the application identification, the identification of the issuing terminal, or the first request indication.
  • the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the transceiver module 1302 is further configured to send to the third network element one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication.
  • the second request indication is used to request monitoring parameters.
  • the transceiver module 1302 is further configured to receive the effective time of the discovery parameter from the third network element, and send the effective time of the discovery parameter to the terminal.
  • the communication device 1300 shown in FIG. 13 may further include a storage module (not shown in FIG. 13), and the storage module stores programs or instructions.
  • the processing module 1301 executes the program or instruction
  • the communication device 1300 shown in FIG. 13 can execute the function of the first network element in the communication method shown in any one of FIGS. 7-9 or 11.
  • the communication device 1300 shown in FIG. 13 may be a first network element, such as a PCF network element or AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. , This application does not limit this.
  • the communication device 1300 shown in FIG. 13 can also be applied to the communication system shown in FIG. 1 or FIG. The function of the third network element in the communication method.
  • the transceiver module 1302 is configured to receive the application identifier from the first network element.
  • the processing module 1301 is used to determine the discovery parameter corresponding to the application identifier.
  • the transceiver module 1302 is also used to send discovery parameters to the first network element.
  • the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter.
  • the release parameter is used to release the ProSe communication request of the ProSe from the terminal.
  • the transceiver module 1302 is further configured to receive from the first network element one or more of the discovery mode that can be used by the ProSe corresponding to the application identification, the identification of the issuing terminal, or the first request indication. Wherein, the first request indication is used to request to publish parameters.
  • the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter.
  • the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service.
  • the transceiver module 1302 is further configured to receive one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication from the first network element. Wherein, the second request indication is used to request monitoring parameters.
  • the processing module 1301 is also used to determine the effective time of the discovery parameter; and the transceiver module 1302 is also used to send the effective time of the discovery parameter to the first network element.
  • the communication device 1300 shown in FIG. 13 may further include a storage module (not shown in FIG. 13), and the storage module stores programs or instructions.
  • the processing module 1301 executes the program or instruction
  • the communication device 1300 shown in FIG. 13 can execute the function of the third network element in the communication method shown in any one of FIGS. 7-9 or 11.
  • the communication device 1300 shown in FIG. 13 may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF with the function of a ProSe network element.
  • the network element, the NF network element, etc. may also be a chip or a chip system set in the third network element, which is not limited in this application.
  • the embodiment of the present application provides a chip system.
  • the chip system includes a processor and an input/output port.
  • the processor is used to implement the processing functions involved in the foregoing method embodiment, and the input/output port is used to implement the transceiver function involved in the foregoing method embodiment.
  • the chip system further includes a memory, and the memory is used to store program instructions and data that implement the functions involved in the foregoing method embodiments.
  • the chip system can be composed of chips, or include chips and other discrete devices.
  • the embodiment of the present application provides a communication system.
  • the system includes the aforementioned multiple terminal devices, and multiple core network elements, such as a first network element, a second network element, and a third network element.
  • the embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores computer instructions; when the computer instructions are run on a computer, the computer is caused to execute the communication method described in the foregoing method embodiment .
  • the embodiment of the present application provides a computer program product containing instructions, including a computer program or instruction, when the computer program or instruction runs on a computer, the computer executes the communication method described in the foregoing method embodiment.
  • the processor in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), and dedicated integration Circuit (application specific integrated circuit, ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • Access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory Take memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
  • the foregoing embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination.
  • the above-mentioned embodiments may be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions or computer programs.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more sets of available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium.
  • the semiconductor medium may be a solid state drive.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • the following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one item (a) of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a communication method and apparatus, wherein same can solve the problem of being unable to carry out proximity-based services due to a mismatch between an announcing parameter and a monitoring parameter caused by the fact that network configuration subjects are different, thereby improving the reliability of the proximity-based services, and same can be applied to an Internet of Vehicles system, a V2X system, an autonomous driving system and an intelligent driving system. The method comprises: a first network element receiving an application identifier from a terminal, and sending the application identifier to a second network element; and the first network element then receiving a discovery parameter from the second network element, and sending the discovery parameter to the terminal, wherein the discovery parameter corresponds to the application identifier. After that, the terminal can complete a discovery phase of ProSe communication and establish a ProSe communication connection according to the discovery parameter.

Description

通信方法及装置Communication method and device
本申请要求于2019年12月30日提交国家知识产权局、申请号为201911400828.5、申请名称为“通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office, the application number is 201911400828.5, and the application name is "communication method and device" on December 30, 2019, the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种通信方法及装置。This application relates to the field of communication, and in particular to a communication method and device.
背景技术Background technique
终端之间的直接通信通常包括发现阶段和通信阶段。以邻近服务(proximity-based services,ProSe)为例,在发现阶段,发布终端(announcing user equipment,AUE)使用发布参数发布ProSe通信请求,监听终端(monitoring user equipment,MUE)使用监听参数监听是否存在ProSe通信请求。若监听参数与发布参数(可以统称为发现参数)匹配,则视为发布终端与监听终端的距离较近,可以建立ProSe通信,如此,发布终端可以向监听终端发起ProSe通信连接建立流程,或者监听终端可以向发布终端发起ProSe通信连接建立流程。Direct communication between terminals usually includes a discovery phase and a communication phase. Take proximity services (proximity-based services, ProSe) as an example. In the discovery phase, the announcing user equipment (AUE) uses the publishing parameters to issue ProSe communication requests, and the monitoring terminal (monitoring user equipment, MUE) uses the monitoring parameters to monitor whether it exists. ProSe communication request. If the monitoring parameters match the publishing parameters (collectively referred to as discovery parameters), it is considered that the publishing terminal and the monitoring terminal are close, and ProSe communication can be established. In this way, the publishing terminal can initiate a ProSe communication connection establishment process to the monitoring terminal, or monitor The terminal can initiate a ProSe communication connection establishment process to the publishing terminal.
然而,上述发布参数通常由发布终端的归属公共陆地移动网络(home public land mobile network,HPLMN)配置,而监听参数通常由监听终端的HPLMN配置。当发布终端的HPLMN与监听终端的HPLMN不同时,或者虽然发布终端和监听终端归属同一PLMN,但是发布参数的配置网元与监听参数的配置网元不同时,可能存在发布参数和监听参数不匹配的现象,导致发现阶段失败和邻近服务无法进行,即现有邻近服务的可靠性差。However, the aforementioned publishing parameters are usually configured by the home public land mobile network (HPLMN) of the publishing terminal, and the listening parameters are usually configured by the HPLMN of the listening terminal. When the HPLMN of the publishing terminal is different from the HPLMN of the monitoring terminal, or although the publishing terminal and the monitoring terminal belong to the same PLMN, but the configuration network element of the publishing parameter is different from the configuration network element of the monitoring parameter, there may be a mismatch between the publishing parameter and the monitoring parameter This phenomenon leads to the failure of the discovery phase and the inability of proximity services, that is, the reliability of existing proximity services is poor.
发明内容Summary of the invention
本申请实施例提供一种通信方法及装置,能够解决由于网络配置主体不同所导致的发布参数与监听参数不匹配,进而导致邻近服务无法进行的问题,从而提高邻近服务的可靠性。The embodiments of the present application provide a communication method and device, which can solve the problem of mismatch between publishing parameters and monitoring parameters caused by different network configuration subjects, which in turn leads to the inability of proximity services, thereby improving the reliability of proximity services.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above objectives, this application adopts the following technical solutions:
第一方面,提供一种通信方法。该通信方法包括:第一网元从终端接收应用标识,并向第二网元发送应用标识。然后,第一网元从第二网元接收发现参数,并向终端发送发现参数。其中,发现参数与应用标识对应。In the first aspect, a communication method is provided. The communication method includes: a first network element receives an application identifier from a terminal, and sends the application identifier to a second network element. Then, the first network element receives the discovery parameter from the second network element, and sends the discovery parameter to the terminal. Among them, the discovery parameter corresponds to the application identifier.
基于第一方面提供的通信方法,第一网元可以根据终端提供的应用标识,请求第二网元配置与该应用标识对应的发现参数,如第二网元可以根据发布终端提供的应用标识为发布终端配置发布参数,并根据监听终端提供的同一应用标识为监听终端配置监听参数,即发布参数和监听参数均是与同一应用标识对应的,可以解决发布参数和监听参数由不同的网元配置所导致的不匹配问题,可以提高发现阶段的成功率,从而提高邻近服务的可靠性。Based on the communication method provided in the first aspect, the first network element can request the second network element to configure discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal. For example, the second network element may publish the application identifier provided by the terminal as The publishing terminal configures the publishing parameters, and configures the listening parameters for the listening terminal according to the same application identifier provided by the listening terminal, that is, the publishing parameters and the listening parameters correspond to the same application identification, which can solve the problem that the publishing parameters and the listening parameters are configured by different network elements. The resulting mismatch can increase the success rate of the discovery phase, thereby improving the reliability of proximity services.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。 其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,第一方面提供的通信方法还可以包括:第一网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method provided by the first aspect may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication One or more. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,第一方面提供的通信方法还可以包括:第一网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method provided in the first aspect may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. One or more. Wherein, the second request indication is used to request monitoring parameters.
本申请实施例中,发布终端可以与监听终端对应,发布参数可以与监听参数对应。相应地,发布终端可以发布携带有发布参数的邻近服务ProSe通信请求,监听终端可以使用监听参数监听该邻近服务ProSe通信请求。例如,监听终端可以确定监听参数是否与邻近服务ProSe通信请求携带的发布参数匹配。若是,则监听终端可以向发布终端发送邻近服务ProSe响应。其中,邻近服务ProSe响应可以携带在发布终端与监听终端之间建立邻近服务ProSe的配置信息,如无线资源的配置信息。然后,发布终端和监听终端即可基于该配置信息实现邻近服务ProSe的通信。In the embodiment of the present application, the publishing terminal may correspond to the monitoring terminal, and the publishing parameter may correspond to the monitoring parameter. Correspondingly, the publishing terminal can publish the ProSe communication request for ProSe that carries publishing parameters, and the monitoring terminal can use the listening parameters to monitor the ProSe communication request of the ProSe. For example, the monitoring terminal can determine whether the monitoring parameters match the publishing parameters carried in the ProSe communication request of the proximity service. If so, the monitoring terminal can send a ProSe response to the publishing terminal. Wherein, the ProSe response of the proximity service may carry configuration information for establishing the ProSe of the proximity service between the publishing terminal and the listening terminal, such as configuration information of wireless resources. Then, the publishing terminal and the listening terminal can implement ProSe communication based on the configuration information.
可选地,第一方面提供的通信方法还可以包括:第三网元(例如,ProSe网元)向第二网元(例如,UDR网元或UDM网元)发送应用标识、终端在该应用标识对应的应用中的已授权用户标识与发布参数的对应关系。这可以参考后面图10或图11的进一步描述。Optionally, the communication method provided by the first aspect may further include: a third network element (for example, a ProSe network element) sends an application identifier to a second network element (for example, a UDR network element or a UDM network element), and the terminal is in the application Identify the corresponding relationship between the authorized user ID in the corresponding application and the release parameter. This can refer to the further description of Fig. 10 or Fig. 11 later.
可选地,第一方面提供的通信方法还可以包括:第一网元从第二网元接收发现参数的有效时间,并向终端发送发现参数的有效时间。如此,则可以避免一个终端的邻近服务ProSe长时间占用发现资源(通常为协议预定义或网络预配置的),导致其他终端无法发布或监听邻近服务ProSe的情况,从而提高邻近服务ProSe的通信效率。Optionally, the communication method provided in the first aspect may further include: the first network element receives the effective time of the discovery parameter from the second network element, and sends the effective time of the discovery parameter to the terminal. In this way, it can prevent the ProSe of a terminal from occupying discovery resources for a long time (usually pre-defined by the protocol or pre-configured by the network), causing other terminals to be unable to publish or monitor the ProSe of the proximity service, thereby improving the communication efficiency of the ProSe of the proximity service .
第二方面,提供一种通信方法。该通信方法包括:第二网元从第三网元接收应用标识与发现参数的对应关系。然后,第二网元从第一网元接收应用标识,并向第一网元发送发现参数。In the second aspect, a communication method is provided. The communication method includes: the second network element receives the correspondence between the application identifier and the discovery parameter from the third network element. Then, the second network element receives the application identifier from the first network element, and sends the discovery parameter to the first network element.
在一种可能的设计方法中,第二方面提供的通信方法还可以包括:第二网元从第三网元接收与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。In a possible design method, the communication method provided in the second aspect may further include: the second network element receives from the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and/or authorized The identification of the ProSe terminal that uses the ProSe corresponding to the application identification.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,第二方面提供的通信方法还可以包括:第二网元从第一网元接收发现模式、发布终端的标识、第一请求指示中的一项或多项;第一请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method provided by the second aspect may further include: the second network element receives one or more of the discovery mode from the first network element, issuing the identification of the terminal, and the first request indication; the first request indication is used for Request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,第二方面提供的通信方法还可以包括:第二网元从第一网元接收发现模式、监听终端的标识、第二请求指示中的一项或多项;第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method provided by the second aspect may further include: the second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used for Request monitoring parameters.
可选地,第二方面提供的通信方法还可以包括:第二网元从第三网元接收发现参 数的有效时间,并向第一网元发送发现参数的有效时间。Optionally, the communication method provided by the second aspect may further include: the second network element receives the effective time of the discovery parameter from the third network element, and sends the effective time of the discovery parameter to the first network element.
第二方面提供的通信方法的技术效果可以参考第一方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication method provided in the second aspect, reference may be made to the technical effect of the communication method provided in the first aspect, which will not be repeated here.
可选地,第二方面提供的通信方法还可以由以下步骤替换:第二网元(例如,UDR网元或UDM网元)还可以从第三网元(例如,ProSe网元)接收应用标识、终端在该应用标识对应的应用中的用户标识与发布参数的对应关系。这可以参考后面图10或图11的进一步描述。Optionally, the communication method provided by the second aspect may also be replaced by the following steps: the second network element (for example, UDR network element or UDM network element) may also receive the application identifier from the third network element (for example, ProSe network element) , The corresponding relationship between the user ID of the terminal in the application corresponding to the application ID and the release parameter. This can refer to the further description of Fig. 10 or Fig. 11 later.
第三方面,提供一种通信方法。该通信方法包括:第三网元获取应用标识。然后,第三网元向第二网元发送应用标识和发现参数。其中,发现参数与应用标识对应。In the third aspect, a communication method is provided. The communication method includes: a third network element obtains an application identifier. Then, the third network element sends the application identification and discovery parameters to the second network element. Among them, the discovery parameter corresponds to the application identifier.
示例性地,发现参数可以包括发布参数和监听参数。其中,发布参数用于发布终端发布邻近服务PreSe请求,监听参数用于监听终端监听邻近服务ProSe通信请求。Exemplarily, the discovery parameters may include publishing parameters and listening parameters. Among them, the release parameter is used to release the terminal to release the ProSe ProSe request, and the listening parameter is used to monitor the terminal to monitor the ProSe communication request of the ProSe.
可选地,第三方面提供的通信方法还可以包括:第三网元获取已授权使用应用标识对应的邻近服务ProSe的终端的标识,并向第二网元发送终端的标识。Optionally, the communication method provided by the third aspect may further include: the third network element obtains the identity of the terminal that is authorized to use the ProSe ProSe corresponding to the application identity, and sends the identity of the terminal to the second network element.
可选地,第三方面提供的通信方法还可以包括:第三网元(例如,ProSe网元)向第二网元(例如,UDR网元或UDM网元)发送应用标识、终端在该应用标识对应的应用中的已授权用户标识与发布参数的对应关系。这可以参考后面图10或图11的进一步描述。Optionally, the communication method provided by the third aspect may further include: a third network element (for example, a ProSe network element) sends an application identifier to a second network element (for example, a UDR network element or a UDM network element), and the terminal is in the application Identify the corresponding relationship between the authorized user ID in the corresponding application and the release parameter. This can refer to the further description of Fig. 10 or Fig. 11 later.
可选地,第三方面提供的通信方法还可以包括:第三网元获取与应用标识对应的邻近服务ProSe可使用的发现模式,并向第二网元发送发现模式。Optionally, the communication method provided by the third aspect may further include: the third network element obtains a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and sends the discovery mode to the second network element.
进一步地,第三方面提供的通信方法还可以包括:第三网元确定发现参数的有效时间,并向第二网元发送发现参数的有效时间。Further, the communication method provided by the third aspect may further include: the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the second network element.
第三方面提供的通信方法的技术效果可以参考第一方面提供的通信方法的技术效果,此处不再赘述。For the technical effects of the communication method provided in the third aspect, reference may be made to the technical effects of the communication method provided in the first aspect, which will not be repeated here.
第四方面,提供一种通信方法。该通信方法包括:第一网元从终端接收应用标识,并向第二网元发送应用标识。然后,第一网元获知第二网元中没有与应用标识对应的发现参数,并向第三网元发送应用标识。之后,第一网元从第三网元接收发现参数。其中,发现参数与应用标识对应。In a fourth aspect, a communication method is provided. The communication method includes: a first network element receives an application identifier from a terminal, and sends the application identifier to a second network element. Then, the first network element learns that there is no discovery parameter corresponding to the application identifier in the second network element, and sends the application identifier to the third network element. After that, the first network element receives the discovery parameter from the third network element. Among them, the discovery parameter corresponds to the application identifier.
基于第四方面提供的通信方法,第一网元可以根据终端提供的应用标识,请求第二网元配置与该应用标识对应的发现参数,倘若第二网元中没有与该应用标识对应的发现参数,则第一网元可以向第三网元发送该应用标识,请求第三网元配置与该应用标识对应的发现参数,如第三网元可以根据发布终端提供的应用标识为发布终端配置发布参数,并根据监听终端提供的同一应用标识为监听终端配置监听参数,即发布参数和监听参数均是与同一应用标识对应的,可以解决发布参数和监听参数由不同的网元配置所导致的不匹配问题,可以提高发现阶段的成功率,从而提高邻近服务的可靠性。Based on the communication method provided by the fourth aspect, the first network element can request the second network element to configure discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal, if there is no discovery corresponding to the application identifier in the second network element Parameter, the first network element can send the application identifier to the third network element, and request the third network element to configure discovery parameters corresponding to the application identifier. For example, the third network element can configure the publishing terminal according to the application identifier provided by the publishing terminal. Publish parameters, and configure listening parameters for the listening terminal according to the same application identifier provided by the listening terminal, that is, publishing parameters and listening parameters are corresponding to the same application identification, which can solve the problem of publishing parameters and listening parameters caused by different network element configurations. The mismatch problem can increase the success rate of the discovery phase, thereby improving the reliability of proximity services.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,第四方面提供的通信方法还可以包括:第一网元向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一 请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method provided by the fourth aspect may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request instruction. One or more. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,第四方面提供的通信方法还可以包括:第一网元向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method provided by the fourth aspect may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or one of the second request instructions. One or more. Wherein, the second request indication is used to request monitoring parameters.
可选地,第四方面提供的通信方法还可以包括:第一网元从第三网元接收发现参数的有效时间,并向终端发送发现参数的有效时间。如此,则可以避免一个终端的邻近服务ProSe长时间占用发现资源(通常为协议预定义或网络预配置的),导致其他终端无法发布或监听邻近服务ProSe的情况,从而提高邻近服务ProSe的通信效率。Optionally, the communication method provided by the fourth aspect may further include: the first network element receives the effective time of the discovery parameter from the third network element, and sends the effective time of the discovery parameter to the terminal. In this way, it can prevent the ProSe of a terminal from occupying discovery resources for a long time (usually pre-defined by the protocol or pre-configured by the network), causing other terminals to be unable to publish or monitor the ProSe of the proximity service, thereby improving the communication efficiency of the ProSe of the proximity service .
第五方面,提供一种通信方法。该通信方法包括:第三网元从第一网元接收应用标识。然后,第三网元确定与应用标识对应的发现参数,并向第一网元发送发现参数。In a fifth aspect, a communication method is provided. The communication method includes: the third network element receives the application identifier from the first network element. Then, the third network element determines the discovery parameter corresponding to the application identifier, and sends the discovery parameter to the first network element.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,第五方面提供的通信方法还可以包括:第三网元从第一网元接收与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method provided by the fifth aspect may further include: the third network element receives from the first network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication One or more. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,第五方面提供的通信方法还可以包括:第三网元从第一网元接收与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method provided in the fifth aspect may further include: the third network element receives from the first network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. One or more. Wherein, the second request indication is used to request monitoring parameters.
可选地,第五方面提供的通信方法还可以包括:第三网元确定发现参数的有效时间,并向第一网元发送发现参数的有效时间。Optionally, the communication method provided by the fifth aspect may further include: the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the first network element.
第五方面提供的通信方法的技术效果可以参考第四方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication method provided in the fifth aspect, reference may be made to the technical effect of the communication method provided in the fourth aspect, which will not be repeated here.
第六方面,提供一种通信装置。该通信装置包括:接收模块和发送模块。其中,接收模块,用于从终端接收应用标识。发送模块,用于向第二网元发送应用标识。接收模块,还用于从第二网元接收发现参数;发现参数与应用标识对应。发送模块,还用于向终端发送发现参数。In a sixth aspect, a communication device is provided. The communication device includes: a receiving module and a sending module. Among them, the receiving module is used to receive the application identifier from the terminal. The sending module is used to send the application identifier to the second network element. The receiving module is also used to receive the discovery parameter from the second network element; the discovery parameter corresponds to the application identifier. The sending module is also used to send discovery parameters to the terminal.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,发送模块,还用于向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the sending module is further configured to send one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the issuing terminal, or the first request instruction to the second network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,发送模块,还用于向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the sending module is further configured to send to the second network element one or more of the available discovery mode of the ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication. Wherein, the second request indication is used to request monitoring parameters.
可选地,接收模块,还用于从第二网元接收发现参数的有效时间;以及,发送模 块,还用于向终端发送发现参数的有效时间。Optionally, the receiving module is also used to receive the effective time of the discovery parameter from the second network element; and the sending module is also used to send the effective time of the discovery parameter to the terminal.
可选地,第六方面提供的通信装置还可以包括处理模块和存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第六方面提供的通信装置可以执行第一方面提供的通信方法。Optionally, the communication device provided in the sixth aspect may further include a processing module and a storage module, and the storage module stores programs or instructions. When the processing module executes the program or instruction, the communication device provided in the sixth aspect can execute the communication method provided in the first aspect.
需要说明的是,第六方面提供的通信装置可以是第一网元,如为终端配置发现参数的PCF网元或AMF网元,也可以是设置于第一网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device provided by the sixth aspect may be a first network element, such as a PCF network element or an AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. This application does not limit this.
第六方面提供的通信装置的技术效果可以参考第一方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device provided in the sixth aspect, reference may be made to the technical effect of the communication method provided in the first aspect, which will not be repeated here.
第七方面,提供一种通信装置。该通信装置包括:接收模块和发送模块。其中,接收模块,用于从第三网元接收应用标识与发现参数的对应关系。接收模块,还用于从第一网元接收应用标识。发送模块,用于向第一网元发送发现参数。In a seventh aspect, a communication device is provided. The communication device includes: a receiving module and a sending module. Wherein, the receiving module is configured to receive the correspondence between the application identifier and the discovery parameter from the third network element. The receiving module is also used to receive the application identifier from the first network element. The sending module is used to send the discovery parameters to the first network element.
在一种可能的设计中,接收模块,还用于从第三网元接收与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。In a possible design, the receiving module is also used to receive from the third network element the discovery mode that can be used by the ProSe corresponding to the application identifier, and/or the terminal authorized to use the ProSe corresponding to the application identifier Of the logo.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,接收模块,还用于从第一网元接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the receiving module is further configured to receive one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,接收模块,还用于从第一网元接收发现模式、监听终端的标识、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the receiving module is further configured to receive one or more of the discovery mode, the identification of the monitoring terminal, and the second request indication from the first network element. Wherein, the second request indication is used to request monitoring parameters.
可选地,接收模块,还用于从第三网元接收发现参数的有效时间;以及,发送模块,还用于向第一网元发送发现参数的有效时间。Optionally, the receiving module is further configured to receive the effective time of the discovery parameter from the third network element; and the sending module is further configured to send the effective time of the discovery parameter to the first network element.
可选地,第七方面提供的通信装置还可以包括处理模块和存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第七方面提供的通信装置可以执行第二方面提供的通信方法。Optionally, the communication device provided in the seventh aspect may further include a processing module and a storage module, and the storage module stores programs or instructions. When the processing module executes the program or instruction, the communication device provided in the seventh aspect can execute the communication method provided in the second aspect.
需要说明的是,第七方面提供的通信装置可以是第二网元,如用于存储发现参数的UDR网元,也可以是设置于第二网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device provided in the seventh aspect may be a second network element, such as a UDR network element for storing discovery parameters, or a chip or chip system set in the second network element. Not limited.
第七方面提供的通信装置的技术效果可以参考第一方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device provided in the seventh aspect, reference may be made to the technical effect of the communication method provided in the first aspect, which will not be repeated here.
第八方面,提供一种通信装置。该通信装置包括:处理模块和收发模块。其中,处理模块,用于获取应用标识。收发模块,用于向第二网元发送应用标识和发现参数。其中,发现参数与应用标识对应。In an eighth aspect, a communication device is provided. The communication device includes: a processing module and a transceiver module. Among them, the processing module is used to obtain the application identifier. The transceiver module is used to send application identification and discovery parameters to the second network element. Among them, the discovery parameter corresponds to the application identifier.
示例性地,发现参数可以包括发布参数和监听参数。其中,发布参数用于发布终端发布邻近服务PreSe请求,监听参数用于监听终端监听邻近服务ProSe通信请求。Exemplarily, the discovery parameters may include publishing parameters and listening parameters. Among them, the release parameter is used to release the terminal to release the ProSe ProSe request, and the listening parameter is used to monitor the terminal to monitor the ProSe communication request of the ProSe.
可选地,处理模块,还用于获取已授权使用应用标识对应的邻近服务ProSe的终端的标识;以及,收发模块,还用于向第二网元发送终端的标识。Optionally, the processing module is also used to obtain the identity of the terminal that is authorized to use the ProSe ProSe corresponding to the application identity; and the transceiver module is also used to send the identity of the terminal to the second network element.
可选地,处理模块,还用于获取与应用标识对应的邻近服务ProSe可使用的发现模式;以及,收发模块,还用于向第二网元发送发现模式。Optionally, the processing module is further configured to obtain a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier; and the transceiver module is further configured to send the discovery mode to the second network element.
进一步地,处理模块,还用于确定发现参数的有效时间;以及,收发模块,还用于向第二网元发送发现参数的有效时间。Further, the processing module is also used to determine the effective time of the discovery parameter; and the transceiver module is also used to send the effective time of the discovery parameter to the second network element.
可选地,第八方面提供的通信装置还可以包括存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第八方面提供的通信装置可以执行第三方面提供的通信方法。Optionally, the communication device provided in the eighth aspect may further include a storage module, and the storage module stores a program or an instruction. When the processing module executes the program or instruction, the communication device provided in the eighth aspect can execute the communication method provided in the third aspect.
需要说明的是,第八方面提供的通信装置可以是第三网元,如用于生成发现参数的邻近服务功能(ProSe function)网元,或具有ProSe网元功能的PCF网元、AF网元、NF网元等,也可以是设置于第三网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device provided in the eighth aspect may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF network element with ProSe network element function The NF network element, etc., may also be a chip or a chip system set in the third network element, which is not limited in this application.
第八方面提供的通信装置的技术效果可以参考第一方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device provided in the eighth aspect, reference may be made to the technical effect of the communication method provided in the first aspect, which will not be repeated here.
第九方面,提供一种通信装置。该通信装置包括:处理模块和收发模块。其中,收发模块,用于从终端接收应用标识,并向第二网元发送应用标识。处理模块,用于获知第二网元中没有与应用标识对应的发现参数。收发模块,还用于向第三网元发送应用标识,并从第三网元接收发现参数。其中,发现参数与应用标识对应。In a ninth aspect, a communication device is provided. The communication device includes: a processing module and a transceiver module. Among them, the transceiver module is used to receive the application identifier from the terminal and send the application identifier to the second network element. The processing module is used to learn that there is no discovery parameter corresponding to the application identifier in the second network element. The transceiver module is also used to send the application identifier to the third network element and receive discovery parameters from the third network element. Among them, the discovery parameter corresponds to the application identifier.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,收发模块,还用于向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the transceiver module is further configured to send one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the issuing terminal, or the first request instruction to the third network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,收发模块,还用于向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the transceiver module is further configured to send to the third network element one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication. Wherein, the second request indication is used to request monitoring parameters.
可选地,收发模块,还用于从第三网元接收发现参数的有效时间,并向终端发送发现参数的有效时间。Optionally, the transceiver module is further configured to receive the effective time of the discovery parameter from the third network element, and send the effective time of the discovery parameter to the terminal.
可选地,第九方面提供的通信装置还可以包括存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第九方面提供的通信装置可以执行第四方面提供的通信方法。Optionally, the communication device provided by the ninth aspect may further include a storage module, and the storage module stores a program or an instruction. When the processing module executes the program or instruction, the communication device provided by the ninth aspect can execute the communication method provided by the fourth aspect.
需要说明的是,第九方面提供的通信装置可以是第一网元,如为终端配置发现参数的PCF网元或AMF网元,也可以是设置于第一网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device provided in the ninth aspect may be a first network element, such as a PCF network element or an AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. This application does not limit this.
第九方面提供的通信装置的技术效果可以参考第四方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device provided in the ninth aspect, reference may be made to the technical effect of the communication method provided in the fourth aspect, which will not be repeated here.
第十方面,提供一种通信装置。该通信装置包括:处理模块和收发模块。其中,收发模块,用于从第一网元接收应用标识。处理模块,用于确定与应用标识对应的发现参数。收发模块,还用于向第一网元发送发现参数。In a tenth aspect, a communication device is provided. The communication device includes: a processing module and a transceiver module. Among them, the transceiver module is used to receive the application identifier from the first network element. The processing module is used to determine the discovery parameter corresponding to the application identifier. The transceiver module is also used to send discovery parameters to the first network element.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,收发模块,还用 于从第一网元接收与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the transceiver module is also used to receive from the first network element one or more of the available discovery mode of the ProSe corresponding to the application identification, the identification of the issuing terminal, or the first request indication. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,收发模块,还用于从第一网元接收与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the transceiver module is further configured to receive from the first network element one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. Wherein, the second request indication is used to request monitoring parameters.
可选地,处理模块,还用于确定发现参数的有效时间;以及,收发模块,还用于向第一网元发送发现参数的有效时间。Optionally, the processing module is further used to determine the effective time of the discovery parameter; and the transceiver module is further used to send the effective time of the discovery parameter to the first network element.
可选地,第十方面提供的通信装置还可以包括存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第十方面提供的通信装置可以执行第五方面提供的通信方法。Optionally, the communication device provided in the tenth aspect may further include a storage module that stores a program or instruction. When the processing module executes the program or instruction, the communication device provided in the tenth aspect can execute the communication method provided in the fifth aspect.
需要说明的是,第十方面提供的通信装置可以是第三网元,如用于生成发现参数的邻近服务功能(ProSe function)网元,或具有ProSe网元的功能的PCF网元、AF网元、NF网元等,也可以是设置于第三网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device provided in the tenth aspect may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF network element with the function of a ProSe network element. Element, NF network element, etc., may also be a chip or chip system set in a third network element, which is not limited in this application.
第十方面提供的通信装置的技术效果可以参考第四方面提供的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device provided in the tenth aspect, reference may be made to the technical effect of the communication method provided in the fourth aspect, which will not be repeated here.
第十一方面,提供一种通信装置。该通信装置包括:处理器,该处理器与存储器耦合,存储器用于存储计算机程序;处理器用于执行存储器中存储的计算机程序,以使得该通信装置执行第一方面至第五方面中任意一种可能的实现方式所述的通信方法。In an eleventh aspect, a communication device is provided. The communication device includes: a processor coupled with a memory, the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the communication device executes any one of the first aspect to the fifth aspect Possible implementations of the communication method described.
在一种可能的设计中,第十一方面提供的通信装置还可以包括收发器。该收发器可以为收发电路或输入/输出端口。所述收发器可以用于该通信装置与其他通信装置通信。In a possible design, the communication device provided in the eleventh aspect may further include a transceiver. The transceiver can be a transceiver circuit or an input/output port. The transceiver can be used for the communication device to communicate with other communication devices.
在本申请中,第十一方面提供的通信装置可以为核心网网元,或者设置于核心网网元内部的芯片或芯片系统。In this application, the communication device provided by the eleventh aspect may be a core network element, or a chip or chip system set inside the core network element.
第十一方面提供的通信装置的技术效果可以参考第一方面至第五方面中任意一种可能的实现方式所述的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device provided in the eleventh aspect, reference may be made to the technical effect of the communication method described in any one of the possible implementation manners of the first aspect to the fifth aspect, and details are not described herein again.
第十二方面,提供了一种芯片系统,该芯片系统包括处理器和输入/输出端口,所述处理器用于实现第一方面至第五方面所涉及的处理功能,所述输入/输出端口用于实现第一方面至第五方面所涉及的收发功能。In a twelfth aspect, a chip system is provided. The chip system includes a processor and an input/output port. The processor is configured to implement the processing functions involved in the first to fifth aspects. To realize the transceiver functions involved in the first aspect to the fifth aspect.
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现第一方面至第五方面所涉及功能的程序指令和数据。In a possible design, the chip system further includes a memory, and the memory is used to store program instructions and data for implementing the functions involved in the first aspect to the fifth aspect.
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The chip system can be composed of chips, or include chips and other discrete devices.
第十三方面,提供一种通信系统。该系统包括多个终端设备,如发布终端和监听终端,以及多个核心网网元,如上述第一网元、第二网元、第三网元等。The thirteenth aspect provides a communication system. The system includes multiple terminal devices, such as a publishing terminal and a monitoring terminal, and multiple core network elements, such as the aforementioned first network element, second network element, and third network element.
第十四方面,提供一种计算机可读存储介质,包括:该计算机可读存储介质中存储有计算机指令;当该计算机指令在计算机上运行时,使得该计算机执行第一方面至第五方面中任意一种可能的实现方式所述的通信方法。In a fourteenth aspect, a computer-readable storage medium is provided, including: computer instructions are stored in the computer-readable storage medium; when the computer instructions are executed on a computer, the computer is caused to execute the first to fifth aspects. Any one of the possible implementations of the communication method.
第十五方面,提供了一种计算机程序产品,包括计算机程序或指令,当该计算机 程序或指令在计算机上运行时,使得该计算机执行第一方面至第五方面中任意一种可能的实现方式所述的通信方法。In a fifteenth aspect, a computer program product is provided, including a computer program or instruction. When the computer program or instruction runs on a computer, the computer executes any one of the possible implementation manners of the first aspect to the fifth aspect The communication method described.
附图说明Description of the drawings
图1为本申请实施例提供的通信系统的架构示意图一;FIG. 1 is a schematic diagram 1 of the architecture of a communication system provided by an embodiment of this application;
图2为本申请实施例提供的通信系统的架构示意图二;FIG. 2 is a second schematic diagram of the architecture of the communication system provided by an embodiment of the application;
图3为本申请实施例提供的通信装置的结构示意图一;FIG. 3 is a first structural diagram of a communication device provided by an embodiment of this application;
图4为本申请实施例提供的通信方法的流程示意图一;FIG. 4 is a first schematic flowchart of a communication method provided by an embodiment of this application;
图5为本申请实施例提供的通信方法的流程示意图二;FIG. 5 is a second schematic diagram of the flow of the communication method provided by an embodiment of this application;
图6为本申请实施例提供的通信方法的流程示意图三;FIG. 6 is a third schematic flowchart of a communication method provided by an embodiment of this application;
图7为本申请实施例提供的通信方法的流程示意图四;FIG. 7 is a fourth flowchart of a communication method provided by an embodiment of this application;
图8为本申请实施例提供的通信方法的流程示意图五;FIG. 8 is a fifth schematic flowchart of a communication method provided by an embodiment of this application;
图9为本申请实施例提供的通信方法的流程示意图六;FIG. 9 is a sixth flowchart of a communication method provided by an embodiment of this application;
图10为本申请实施例提供的通信方法的流程示意图七;FIG. 10 is a seventh schematic flowchart of a communication method provided by an embodiment of this application;
图11为本申请实施例提供的通信方法的流程示意图八;FIG. 11 is an eighth flowchart of a communication method provided by an embodiment of this application;
图12为本申请实施例提供的通信装置的结构示意图二;FIG. 12 is a second structural diagram of a communication device provided by an embodiment of this application;
图13为本申请实施例提供的通信装置的结构示意图三。FIG. 13 is a third structural diagram of a communication device provided by an embodiment of this application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如车联网通信系统、V2X通信系统、设备间(device-todevie,D2D)通信系统、长期演进(long term evolution,LTE)系统、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5th generation,5G)移动通信系统,如新空口(new radio,NR)系统,及未来的通信系统,如第六代(6th generation,6G)移动通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as car networking communication systems, V2X communication systems, inter-device (device-todevie, D2D) communication systems, long term evolution (LTE) systems, and global interconnections. The worldwide interoperability for microwave access (WiMAX) communication system, the fifth generation (5G) mobile communication system, such as the new radio (NR) system, and the future communication system, such as the sixth generation ( 6th generation, 6G) mobile communication system, etc.
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。This application will present various aspects, embodiments, or features around a system that may include multiple devices, components, modules, and the like. It should be understood and understood that each system may include additional devices, components, modules, etc., and/or may not include all the devices, components, modules, etc. discussed in conjunction with the accompanying drawings. In addition, a combination of these schemes can also be used.
另外,在本申请实施例中,“示例地”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as an "example" in this application should not be construed as being more preferable or advantageous than other embodiments or design solutions. Rather, the term example is used to present the concept in a concrete way.
本申请实施例中,“的(of)”,“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。In the examples of this application, "of", "corresponding (relevant)" and "corresponding" can sometimes be used together. It should be noted that when the difference is not emphasized, what it wants to express The meaning is the same.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those of ordinary skill in the art will know that with the network With the evolution of architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
为便于理解本申请实施例,首先以图1所示出的通信系统为例详细说明适用于本 申请实施例的通信系统。图1为本申请实施例提供的通信方法所适用的通信系统的架构示意图一。应当指出的是,本申请实施例中的方案还可以应用于其他移动通信系统中,相应的名称也可以用其他移动通信系统中的对应功能的名称进行替代。To facilitate the understanding of the embodiments of the present application, first, the communication system shown in FIG. 1 is taken as an example to describe in detail the communication system applicable to the embodiments of the present application. FIG. 1 is a schematic diagram 1 of the architecture of a communication system to which the communication method provided in an embodiment of the application is applicable. It should be noted that the solutions in the embodiments of the present application can also be applied to other mobile communication systems, and the corresponding names can also be replaced with the names of corresponding functions in other mobile communication systems.
如图1所示,该通信系统包括多个核心网网元,如第一网元、第二网元、第三网元。As shown in Figure 1, the communication system includes multiple core network elements, such as a first network element, a second network element, and a third network element.
其中,第一网元,用于从终端接收应用标识,并向第二网元发送应用标识。以及,第一网元,还用于从第二网元接收发现参数,并向终端发送发现参数。其中,发现参数与应用标识对应。The first network element is used to receive the application identifier from the terminal and send the application identifier to the second network element. And, the first network element is also used to receive the discovery parameters from the second network element and send the discovery parameters to the terminal. Among them, the discovery parameter corresponds to the application identifier.
相应地,第二网元,用于从第三网元接收应用标识与发现参数的对应关系。以及,第二网元,还用于从第一网元接收应用标识,并向第一网元发送发现参数。Correspondingly, the second network element is used to receive the correspondence between the application identifier and the discovery parameter from the third network element. And, the second network element is also used to receive the application identifier from the first network element, and send the discovery parameter to the first network element.
以及,相应地,第三网元用于获取应用标识。第三网元,还用于向第二网元发送应用标识和发现参数。其中,发现参数与应用标识对应,即发现参数与应用标识之间存在对应关系。And, correspondingly, the third network element is used to obtain the application identifier. The third network element is also used to send application identification and discovery parameters to the second network element. Among them, the discovery parameter corresponds to the application identifier, that is, there is a corresponding relationship between the discovery parameter and the application identifier.
进一步地,倘若第二网元中不存在与应用标识对应的发现参数,如该应用标识对应的应用或服务为新上线的应用或服务,则第一网元也可以直接向第三网元请求与终端提供的应用标识对应的发现参数。Further, if the discovery parameter corresponding to the application identifier does not exist in the second network element, and if the application or service corresponding to the application identifier is a newly launched application or service, the first network element may also directly request the third network element Discovery parameters corresponding to the application identifier provided by the terminal.
其中,第一网元,用于从终端接收应用标识,并向第二网元发送应用标识。第一网元,还用于获知第二网元中没有与应用标识对应的发现参数,并向第三网元发送应用标识。第一网元,还用于可从第三网元接收发现参数。The first network element is used to receive the application identifier from the terminal and send the application identifier to the second network element. The first network element is also used to learn that there is no discovery parameter corresponding to the application identifier in the second network element, and send the application identifier to the third network element. The first network element is also used to receive discovery parameters from the third network element.
相应地,第三网元,用于从第一网元接收应用标识。第三网元,还用于确定与应用标识对应的发现参数,并向第一网元发送发现参数。Correspondingly, the third network element is used to receive the application identifier from the first network element. The third network element is also used to determine the discovery parameter corresponding to the application identifier, and send the discovery parameter to the first network element.
需要说明的是,上述第一网元也可以称之为发现参数配置网元,如PCF网元、AMF网元,第二网元也可以称之为发现参数存储网元,如统一数据存储功能(unified data repository,UDR)网元或统一数据管理(unified data management,UDM)网元,第三网元也可以称之为发现参数生成网元,如独立的ProSe网元,或者具有邻近服务功能的网元,如PCF网元、应用功能(application function,AF)网元、(network function,NF)网元等。It should be noted that the above-mentioned first network element can also be called a discovery parameter configuration network element, such as a PCF network element, AMF network element, and the second network element can also be called a discovery parameter storage network element, such as a unified data storage function. (unified data repository, UDR) network element or unified data management (unified data management, UDM) network element, the third network element can also be called a discovery parameter generation network element, such as an independent ProSe network element, or a proximity service function Network elements, such as PCF network elements, application function (AF) network elements, (network function, NF) network elements, etc.
图2为将图1所示的通信系统与5G核心网相结合的通信系统的一个示例。如图2所示,该通信系统可以包括多个用户设备(user equipment,UE),以及接入网、核心网、数据网络(data network,DN)等。其中,核心网可以包括接入和移动性管理功能(access and mobility management function,AMF)网元、PCF网元、UDM网元、UDR网元、会话管理功能(session management function,SMF)网元、(user plane function,UPF)网元、网络开放功能(network exposure function,NEF)、应用功能(application function,AF)网元等。下面结合图2,对本申请所涉及的网元进行介绍。Fig. 2 is an example of a communication system combining the communication system shown in Fig. 1 with a 5G core network. As shown in FIG. 2, the communication system may include multiple user equipment (UE), an access network, a core network, a data network (DN), and so on. Among them, the core network may include access and mobility management function (AMF) network elements, PCF network elements, UDM network elements, UDR network elements, session management function (session management function, SMF) network elements, (user plane function, UPF) network elements, network exposure function (NEF), application function (application function, AF) network elements, etc. The following describes the network elements involved in this application with reference to FIG. 2.
其中,UE可以称之为终端(terminal),该终端可以支持邻近服务、V2X通信或者其他业务。如:用户设备支持接收或发送V2X消息,此时,该终端又可以称之为V2X终端。其中,V2X消息可以包括但不限于车辆对车辆(vehicle to vehicle,V2V)消息、车对人(vehicle to pedestrian,V2P)消息、车对网络(vehicle to network,V2N)消息、车与路面基础设施(vehicle to infrastructure,V2I)信息、车与车之间的防碰撞 消息、娱乐应用消息、车与车之间交互的导航消息等。显然,图2所示终端可以包括但不限于车载终端、手机(mobile phone)、平板电脑或带无线收发功能的电脑、智能加油站、智能信号灯等等。Among them, the UE may be referred to as a terminal, which may support proximity service, V2X communication, or other services. For example, the user equipment supports receiving or sending V2X messages. At this time, the terminal can also be called a V2X terminal. Among them, V2X messages may include, but are not limited to, vehicle-to-vehicle (V2V) messages, vehicle-to-pedestrian (V2P) messages, vehicle-to-network (V2N) messages, and vehicle-to-road infrastructure (vehicle to infrastructure, V2I) information, anti-collision messages between cars, entertainment application messages, navigation messages for interaction between cars, etc. Obviously, the terminal shown in FIG. 2 may include, but is not limited to, a vehicle-mounted terminal, a mobile phone, a tablet computer or a computer with a wireless transceiver function, a smart gas station, a smart signal lamp, and so on.
接入网可以包括一个或多个接入网设备(或称为接入网网元)。接入网设备负责无线资源管理,上下行数据分类和服务质量(quality of service,QoS)应用,以及与控制面(control plane)网元完成信令处理,与UPF网元完成数据转发等功能。例如,接入网设备可以是基站,宽带网络业务网关(broadband network gateway,BNG),汇聚交换机,非3GPP接入设备等。基站可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等,本申请实施例对此不作具体限定。对于终端接入核心网的设备,在文中统一称之为接入网设备,不再进行说明。例如,接入网设备可以是4G网络中的演进型通用陆地无线接入网(evolved universal terrestrial radio access network,E-UTRAN)设备、5G网络中的下一代无线接入网(next generation radio access network,NG-RAN)设备等。The access network may include one or more access network devices (or referred to as access network elements). The access network equipment is responsible for radio resource management, uplink and downlink data classification and quality of service (quality of service, QoS) applications, as well as complete signaling processing with control plane network elements, and complete data forwarding functions with UPF network elements. For example, the access network equipment may be a base station, a broadband network gateway (BNG), an aggregation switch, a non-3GPP access equipment, and so on. The base station may include various forms of base stations, such as: macro base stations, micro base stations (also referred to as small stations), relay stations, access points, etc., which are not specifically limited in the embodiment of the present application. The equipment that the terminal accesses to the core network is collectively referred to as the access network equipment in the text, and will not be described again. For example, the access network equipment can be the evolved universal terrestrial radio access network (E-UTRAN) equipment in the 4G network, and the next generation radio access network in the 5G network. , NG-RAN) equipment, etc.
AMF网元,其主要功能包括无线接入网络控制平面的终结点,非接入信令的终结点,移动性管理,合法监听,接入授权/鉴权等等。The main functions of the AMF network element include the termination point of the control plane of the wireless access network, the termination point of non-access signaling, mobility management, lawful monitoring, access authorization/authentication, and so on.
UPF网元,用于分组数据包的路由和转发,用户面数据的QoS控制、计费信息统计等。UPF network element, used for routing and forwarding of packet data packets, QoS control of user plane data, accounting information statistics, etc.
SMF网元,用于会话管理,终端的互联网协议(internet protocol,IP)地址分配和管理,选择可管理用户平面功能,策略控制和收费功能接口的终结点,下行数据通知等。SMF network elements are used for session management, terminal Internet protocol (IP) address allocation and management, selection of end points that can manage user plane functions, policy control and charging function interfaces, and downlink data notifications.
PCF网元,用于管理网络行为,向终端、AMF网元、或SMF网元分别提供用户策略,接入和移动性(access and mobility,AM)管理策略以及会话管理(session management,SM)策略的相关参数。在V2X通信场景中,PCF网元向终端、接入网设备提供V2X通信相关的鉴权和策略参数等信息。PCF network elements, used to manage network behaviors, provide user policies, access and mobility (AM) management policies, and session management (SM) policies to terminals, AMF network elements, or SMF network elements, respectively Related parameters. In the V2X communication scenario, the PCF network element provides information such as authentication and policy parameters related to the V2X communication to the terminal and the access network device.
UDM网元,用于管理签约信息,并向相关网元提供签约信息等。UDM network elements are used to manage contract information and provide contract information to related network elements.
UDR网元,用于为PCF网元提供存储和检索服务,开放的结构化数据的存储和检索和应用功能请求的用户信息存储等。UDR network elements are used to provide storage and retrieval services for PCF network elements, open structured data storage and retrieval, and user information storage requested by application functions.
NEF网元,连接核心网网元与外部应用服务器(application server),当外部应用服务器向核心网发起业务请求时提供认证与数据转发等服务。The NEF network element connects the core network network element and an external application server (application server), and provides services such as authentication and data forwarding when the external application server initiates a service request to the core network.
AF网元,可具体为应用所对应的应用服务器,如本地化的应用服务器。本申请实施例中,邻近服务应用服务器(ProSe APP server)即可视为一种AF网元。The AF network element may be an application server corresponding to the application, such as a localized application server. In the embodiments of this application, the ProSe APP server can be regarded as a kind of AF network element.
DN为用于传输数据的网络,例如因特网(internet)等。DN is a network used to transmit data, such as the Internet.
终端与接入网设备的通信接口为Uu接口,终端与终端之间的通信接口为PC5接口。终端与传输数据网络之间的应用层面的传输接口为V1接口,终端间的应用传输接口为V5接口。The communication interface between the terminal and the access network device is a Uu interface, and the communication interface between the terminal and the terminal is a PC5 interface. The application-level transmission interface between the terminal and the data transmission network is the V1 interface, and the application transmission interface between the terminals is the V5 interface.
需要说明的是,除RAN之外的运营商网元构成的网络可以称为核心网,在4G网络中,其包括移动性管理实体(mobile managenment entity,MME)、业务网关(serving gateway,S-GW)、公用数据网(public data network gateway,P-GW),归属签约用户服务器(home subscriber server,HSS)等网元,在5G网络中,其包括AMF网元, SMF网元,UPF网元,UDM网元,PCF网元等。图2中只是以5G网络进行示例,并不是对核心网网元的具体限定。It should be noted that a network composed of operator network elements other than RAN can be called a core network. In a 4G network, it includes a mobility management entity (mobile management entity, MME) and a service gateway (serving gateway, S- GW), public data network (public data network gateway, P-GW), home subscriber server (home subscriber server, HSS) and other network elements. In a 5G network, it includes AMF network elements, SMF network elements, and UPF network elements , UDM network element, PCF network element, etc. Figure 2 is only an example of a 5G network, and does not specifically limit the network elements of the core network.
应理解,图1或图2仅为便于理解而示例的简化示意图,该通信系统还可以包括其他网络设备,和/或,其他终端设备,图1或图2中未予以画出。It should be understood that FIG. 1 or FIG. 2 is only a simplified schematic diagram of an example for ease of understanding, and the communication system may also include other network devices, and/or other terminal devices, which are not shown in FIG. 1 or FIG. 2.
上述接入网设备和核心网网元也可以合称为网络设备。该接入网设备可以包括位于上述通信系统的网络侧,且具有无线收发功能的设备或可设置于该设备的芯片或芯片系统。其中,接入网设备包括但不限于:无线保真(wireless fidelity,WiFi)系统中的接入点(access point,AP),如家庭网关、路由器、服务器、交换机、网桥等,演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),无线中继节点、无线回传节点、传输点(transmission and reception point,TRP或者transmission point,TP)等,还可以为5G,如,新空口(new radio,NR)系统中的gNB,或,传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU)、具有基站功能的路边单元(road side unit,RSU)等。核心网网元包括但不限于:AMF网元、SMF网元、PCF网元、UPF网元、NEF网元、UDM网元、UDR网元、AF网元、NF网元等。The aforementioned access network equipment and core network network elements may also be collectively referred to as network equipment. The access network device may include a device that is located on the network side of the above-mentioned communication system and has a wireless transceiver function, or a chip or chip system that can be set in the device. Among them, the access network equipment includes but is not limited to: access points (APs) in wireless fidelity (wireless fidelity, WiFi) systems, such as home gateways, routers, servers, switches, bridges, etc., evolved nodes B (evolved Node B, eNB), radio network controller (RNC), node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS) ), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (BBU), wireless relay node, wireless backhaul node, transmission point (transmission and reception point, TRP or transmission point) , TP), etc., can also be 5G, such as the gNB in the new radio (NR) system, or the transmission point (TRP or TP), one or a group of base stations in the 5G system (including multiple antennas) Panel) Antenna panel, or, it can also be a network node that constitutes a gNB or transmission point, such as a baseband unit (BBU), or a distributed unit (DU), or a roadside unit with base station functions. RSU) and so on. Core network network elements include but are not limited to: AMF network elements, SMF network elements, PCF network elements, UPF network elements, NEF network elements, UDM network elements, UDR network elements, AF network elements, NF network elements, etc.
上述终端设备为接入上述通信系统,且具有无线收发功能的终端或可设置于该终端的芯片或芯片系统。该终端设备也可以称为用户装置、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请的实施例中的终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、车载终端、具有终端功能的RSU等。本申请的终端设备还可以是作为一个或多个部件或者单元而内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元,车辆通过内置的所述车载模块、车载模组、车载部件、车载芯片或者车载单元可以实施本申请提供的通信方法。The above-mentioned terminal equipment is a terminal that is connected to the above-mentioned communication system and has a wireless transceiver function, or a chip or chip system that can be installed in the terminal. The terminal device may also be called a user device, an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device. The terminal device in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, and an augmented reality (AR) terminal Equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation safety ( Wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, vehicle-mounted terminals, RSUs with terminal functions, etc. The terminal device of the present application may also be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip, or vehicle-mounted unit that is built into a vehicle as one or more components or units. The vehicle passes through the built-in vehicle-mounted module, vehicle-mounted module, The on-board component, on-board chip or on-board unit can implement the communication method provided in this application.
需要说明的是,本申请实施例提供的通信方法,可以用于支持ProSe服务的终端,与图1所示的第一网元、第二网元、第三网元组成的核心网之间在邻近服务的发现阶段的通信。It should be noted that the communication method provided in the embodiments of this application can be used for terminals that support ProSe services, and are between the core network composed of the first network element, the second network element, and the third network element shown in FIG. Communication in the discovery phase of proximity services.
需要说明的是,本申请提及的支持ProSe服务的终端可以包括一个发布终端,以及一个或多个监听终端。其中,发布终端为在同一时间段内,请求其他终端提供邻近服务的终端,监听终端为在同一时间段内可以监听发布终端发布的ProSe通信请求,并为发布终端提供邻近服务的终端。It should be noted that the terminal supporting the ProSe service mentioned in this application may include a publishing terminal and one or more monitoring terminals. Among them, the publishing terminal is a terminal that requests other terminals to provide proximity services within the same time period, and the monitoring terminal is a terminal that can monitor the ProSe communication request issued by the publishing terminal during the same time period and provide the proximity service for the publishing terminal.
此外,本申请实施例所应用的通信系统架构不限定图1或图2所示的系统架构。也就是说,图1或图2所示系统架构仅为示例性架构图,即该通信系统包括的网元的数量、网元的类型、网元名称均不做限定。例如,除图1或图2所示的网元外,图1或图2所示通信系统还可以包括其他功能实体。再例如,上述图1或图2所示的通信系统中的网元、各个网元的名称等只是一个示例,具体实现中各个网元的名称可以为其他名称,本申请实施例对此不作具体限定。具备PC5接口通信能力的终端可以互相之间直接通过PC5接口进行通信,无论该终端是否与接入网设备相连接。具体的,通过PC5接口直接通信的终端可以同时使用Uu接口与接入网设备连接以及使用PC5接口与其他终端直接连接。例如,图2中的终端1和终端4在使用PC5接口直接通信的同时,也可以使用Uu接口与接入网设备通信。再例如,图2中的终端1和终端2在使用PC5接口直接通信的同时,终端1也可以使用Uu接口与接入网设备通信,且终端2没有与接入网设备通信。又例如,图2中的终端2和终端3只是在使用PC5接口直接通信,且均没有与接入网设备通信。In addition, the communication system architecture applied in the embodiment of the present application does not limit the system architecture shown in FIG. 1 or FIG. 2. That is to say, the system architecture shown in FIG. 1 or FIG. 2 is only an exemplary architecture diagram, that is, the number of network elements included in the communication system, the type of the network element, and the name of the network element are not limited. For example, in addition to the network elements shown in FIG. 1 or FIG. 2, the communication system shown in FIG. 1 or FIG. 2 may also include other functional entities. For another example, the network elements in the communication system shown in FIG. 1 or FIG. 2 and the names of each network element are just an example. In specific implementation, the names of each network element may be other names, and the embodiment of this application does not make specific details about this. limited. Terminals with PC5 interface communication capabilities can directly communicate with each other through the PC5 interface, regardless of whether the terminal is connected to the access network equipment. Specifically, a terminal that directly communicates through the PC5 interface can simultaneously use the Uu interface to connect to the access network device and use the PC5 interface to directly connect to other terminals. For example, while the terminal 1 and the terminal 4 in FIG. 2 use the PC5 interface to communicate directly, they can also use the Uu interface to communicate with the access network equipment. For another example, while terminal 1 and terminal 2 in FIG. 2 use the PC5 interface to communicate directly, terminal 1 can also use the Uu interface to communicate with the access network device, and terminal 2 does not communicate with the access network device. For another example, the terminal 2 and the terminal 3 in FIG. 2 only communicate directly using the PC5 interface, and neither of them communicates with the access network equipment.
图3为可用于执行本申请实施例提供的通信方法的通信装置的结构示意图一。该通信装置可以是图1或图2中所示的任一网元,如第一网元、第二网元、第三网元,也可以是应用于图1或图2中所示的任一网元中的芯片,或者其他具有该任一网元功能的部件。如图3所示,通信装置300可以包括处理器301。可选地,通信装置300还可以包括收发器302和/或存储器303。其中,处理器301与收发器302和存储器303耦合,如可以通过通信总线连接。FIG. 3 is a first structural diagram of a communication device that can be used to implement the communication method provided by the embodiment of the present application. The communication device can be any of the network elements shown in Figure 1 or Figure 2, such as the first network element, the second network element, and the third network element, or can be applied to any network element shown in Figure 1 or Figure 2. A chip in a network element, or other components that have the function of any network element. As shown in FIG. 3, the communication device 300 may include a processor 301. Optionally, the communication device 300 may further include a transceiver 302 and/or a memory 303. Wherein, the processor 301 is coupled with the transceiver 302 and the memory 303, for example, can be connected through a communication bus.
下面结合图3对通信装置300的各个构成部件进行具体的介绍。The components of the communication device 300 will be specifically introduced below in conjunction with FIG. 3.
处理器301是通信装置300的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器301是一个或多个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。The processor 301 is the control center of the communication device 300, and may be a processor or a collective name for multiple processing elements. For example, the processor 301 is one or more central processing units (CPU), or may be an application specific integrated circuit (ASIC), or may be configured to implement one or more of the embodiments of the present application. An integrated circuit, for example: one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA).
其中,处理器301可以通过运行或执行存储在存储器303内的软件程序,以及调用存储在存储器303内的数据,执行通信装置300的各种功能。例如,通信装置300可以执行下述图4-图9中任一项所示的第一网元或第二网元或第三网元的功能。The processor 301 can execute various functions of the communication device 300 by running or executing a software program stored in the memory 303 and calling data stored in the memory 303. For example, the communication device 300 may perform the function of the first network element or the second network element or the third network element shown in any one of FIGS. 4-9 below.
在具体的实现中,作为一种实施例,处理器301可以包括一个或多个CPU,例如图3中所示的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 3.
在具体实现中,作为一种实施例,通信装置300也可以包括多个处理器,例如图3中所示的处理器301和处理器304。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个通信设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the communication device 300 may also include multiple processors, such as the processor 301 and the processor 304 shown in FIG. 3. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more communication devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
收发器302,用于与其他通信装置之间的通信。例如,通信装置300可以为第一网元或第二网元或第三网元,收发器302可以用于与其他网元通信,或者与终端设备通信。此外,收发器302可以包括接收器和发送器(图3中未单独示出)。其中,接收器用于实现接收功能,发送器用于实现发送功能。收发器302可以和处理器301集 成在一起,也可以独立存在,并通过通信装置300的输入/输出端口(图3中未示出)与处理器301耦合,本申请实施例对此不作具体限定。The transceiver 302 is used for communication with other communication devices. For example, the communication device 300 may be a first network element or a second network element or a third network element, and the transceiver 302 may be used to communicate with other network elements or to communicate with terminal equipment. In addition, the transceiver 302 may include a receiver and a transmitter (not separately shown in FIG. 3). Among them, the receiver is used to realize the receiving function, and the transmitter is used to realize the sending function. The transceiver 302 may be integrated with the processor 301, or may exist independently, and is coupled with the processor 301 through the input/output port (not shown in FIG. 3) of the communication device 300, which is not specifically limited in the embodiment of the present application. .
存储器303可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储通信设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储通信设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储通信设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器303可以和处理器301集成在一起,也可以独立存在,并通过通信装置300的输入/输出端口(图3中未示出)与处理器301耦合,本申请实施例对此不作具体限定。The memory 303 can be a read-only memory (ROM) or other types of static storage communication devices that can store static information and instructions, a random access memory (RAM), or other types that can store information and instructions. The type of dynamic storage communication equipment can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, Optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage communication devices, or can be used to carry or store desired program codes in the form of instructions or data structures and Any other medium that can be accessed by the computer, but not limited to this. The memory 303 may be integrated with the processor 301, or may exist independently, and is coupled with the processor 301 through the input/output port (not shown in FIG. 3) of the communication device 300, which is not specifically limited in the embodiment of the present application.
其中,所述存储器303用于存储执行本申请方案的软件程序,该软件程序可以由处理器301来控制执行。上述具体实现方式可以参考下述方法实施例,此处不再赘述。Wherein, the memory 303 is used to store a software program for executing the solution of the present application, and the software program may be controlled and executed by the processor 301. For the foregoing specific implementation manners, reference may be made to the following method embodiments, which will not be repeated here.
需要说明的是,图3中示出的通信装置300的结构并不构成对该通信装置的限定,实际的通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the structure of the communication device 300 shown in FIG. 3 does not constitute a limitation on the communication device. The actual communication device may include more or less components than those shown in the figure, or combine certain components, or Different component arrangements.
下面将结合图4-图11对本申请实施例提供的通信方法进行具体阐述。The communication method provided by the embodiment of the present application will be described in detail below in conjunction with FIG. 4 to FIG. 11.
图4为本申请实施例提供的通信方法的流程示意图一。该通信方法可以适用于图1或图2所示的不同网元之间的ProSe通信,以便为不同终端之间在发现阶段的ProSe通信配置发现参数,如为发布终端配置发布参数、为监听终端配置监听参数。FIG. 4 is a first schematic flowchart of a communication method provided by an embodiment of this application. This communication method can be applied to the ProSe communication between different network elements shown in Figure 1 or Figure 2, so as to configure discovery parameters for ProSe communication between different terminals in the discovery phase, such as configuring publishing parameters for publishing terminals and monitoring terminals Configure monitoring parameters.
下面以终端,以及图1所示的第一网元、第二网元和第三网元为例,详细说明图4所示的通信方法。如图4所示,该通信方法包括如下S401-S406:The following takes the terminal and the first network element, the second network element, and the third network element shown in FIG. 1 as examples to describe the communication method shown in FIG. 4 in detail. As shown in Figure 4, the communication method includes the following S401-S406:
S401,第三网元获取应用标识。S401: The third network element obtains an application identifier.
示例性地,第三网元也可以称为发现参数生成网元,如可以是独立的ProSe网元,也可以是具备邻近服务功能的其他网元,如5G系统中的PCF网元、AF网元、NF网元等,主要用于生成应用标识与发现参数的对应关系。本申请实施例对于第三网元的网元类型、数量、以及与其他网元之间的设置方式等,不做具体限定。Exemplarily, the third network element may also be called a discovery parameter generation network element, such as an independent ProSe network element, or other network elements with proximity service functions, such as PCF network elements and AF network elements in a 5G system Element, NF network element, etc., are mainly used to generate the correspondence between application identifiers and discovery parameters. The embodiments of the present application do not specifically limit the type and quantity of the network element of the third network element, and the manner of setting it with other network elements.
示例性地,应用标识可以是运营商部署的AF网元提供的邻近服务,如语音通信、视频通信的类型标识(application identifier,APP ID)等,也可以是第三方,如内容提供商(content provider,CP)提供的应用,如微信、大众点评等的标识。本申请实施例对于该应用标识对应的应用或服务的提供方,以及该应用标识对应的应用或服务的类型,不做具体限定。第三网元获取应用标识的方式可以是由AF网元提供,或者由运营商预先设置在第三网元中。Exemplarily, the application identifier may be the proximity service provided by the AF network element deployed by the operator, such as the type identification (application identifier, APP ID) of voice communication and video communication, etc., or it may be a third party, such as a content provider (content provider). provider, CP) provided by the application, such as the logo of WeChat, Dianping, etc. The embodiments of the present application do not specifically limit the provider of the application or service corresponding to the application identifier, and the type of application or service corresponding to the application identifier. The way for the third network element to obtain the application identifier may be provided by the AF network element, or pre-set in the third network element by the operator.
在获取应用标识之后,第三网元即可确定与该应用标识对应的发现参数。其中,发现参数可以包括发布参数和监听参数。发布参数,如ProSe发现密钥参数(如ProSe APP code,ProSe query code,ProSe response code,relay service code等),用于发布终端发布邻近服务PreSe请求。监听参数,如ProSe发现匹配参数(discovery filter,discovery query filter,discovery response filter等),用于监听终端监听邻近服务ProSe 通信请求。After obtaining the application identifier, the third network element can determine the discovery parameter corresponding to the application identifier. Among them, the discovery parameters may include publishing parameters and listening parameters. Publish parameters, such as ProSe discovery key parameters (such as ProSe APP code, ProSe query code, ProSe response code, relay service code, etc.), which are used to publish a request for the terminal to publish a ProSe ProSe PreSe. Monitoring parameters, such as ProSe discovery matching parameters (discovery filter, discovery query filter, discovery response filter, etc.), are used to monitor the terminal to monitor the ProSe communication request of the proximity service.
本申请实施例中,发布终端与监听终端对应,发布参数与监听参数对应。相应地,发布终端可以发布携带有发布参数的ProSe通信请求,监听终端可以使用监听参数监听该ProSe通信请求。例如,监听终端可以确定监听参数是否与ProSe通信请求携带的发布参数匹配,如判断上述ProSe发现匹配参数与ProSe发现密钥参数是否匹配。若是,则监听终端可以向发布终端发送ProSe响应。其中,ProSe响应可以携带用于在发布终端与监听终端之间建立ProSe通信的配置信息,如无线资源的配置信息、采用调制编码方案(modulation&coding scheme,MCS)、服务质量(quality of service,QoS)参数、监听终端的互联网协议(internet protocol,IP)地址、媒体接入控制(media access control,MAC)层地址等。然后,监听终端即可基于该配置信息,为发布终端提供邻近服务。In the embodiment of the present application, the publishing terminal corresponds to the monitoring terminal, and the publishing parameter corresponds to the monitoring parameter. Correspondingly, the publishing terminal can publish the ProSe communication request carrying the publishing parameters, and the monitoring terminal can use the monitoring parameters to monitor the ProSe communication request. For example, the monitoring terminal may determine whether the monitoring parameters match the publishing parameters carried in the ProSe communication request, for example, determining whether the aforementioned ProSe discovery matching parameters match the ProSe discovery key parameters. If so, the monitoring terminal can send a ProSe response to the publishing terminal. Among them, the ProSe response can carry configuration information used to establish ProSe communication between the publishing terminal and the monitoring terminal, such as wireless resource configuration information, the use of modulation & coding schemes (MCS), and quality of service (QoS) Parameters, the Internet Protocol (IP) address of the monitoring terminal, the Media Access Control (MAC) layer address, etc. Then, the monitoring terminal can provide proximity services for the publishing terminal based on the configuration information.
可选地,图4所示的通信方法还可以包括:第三网元获取已授权使用应用标识对应的邻近服务ProSe的终端的标识,和/或,与应用标识对应的邻近服务ProSe可使用的发现模式。其中,与应用标识类似,该终端标识和发现模式也可以与发现参数对应,如此,可以进一步提高配置的发现参数的准确性,从而提高发现阶段的成功率,以及ProSe通信的可靠性和效率。Optionally, the communication method shown in FIG. 4 may further include: the third network element obtains the identifier of the terminal that is authorized to use the ProSe ProSe corresponding to the application identifier, and/or the ProSe corresponding to the application identifier can be used Discover the pattern. Wherein, similar to the application identifier, the terminal identifier and the discovery mode can also correspond to the discovery parameters. In this way, the accuracy of the configured discovery parameters can be further improved, thereby improving the success rate of the discovery phase, and the reliability and efficiency of ProSe communication.
示例性地,已授权使用应用标识对应的邻近服务ProSe的终端是指,支持该应用标识对应的邻近服务,且已在运营商或第三方开通该邻近服务的终端。相应地,已授权使用应用标识对应的邻近服务ProSe的终端的标识是指,可以被运营商网元或第三方网元所识别的终端的标识(ProSe APP ID,application layer ID,UE ID等)。例如,该标识可以包括该终端在第三方应用层面的标识,如微信号、大众点评账号、在线游戏账号等。又例如,该终端的标识也可以包括运营商核心网网元可识别的标识,如统一公共用户标识(generic public subscription identifier,GPSI)、用户永久标识(subscription permanent identifier,SUPI)、手机号、终端的国际移动用户识别码(international mobile subscriber identification number,IMSI)等。Exemplarily, a terminal that is authorized to use the ProSe corresponding to the application identifier refers to a terminal that supports the proximity service corresponding to the application identifier and has activated the proximity service with the operator or a third party. Correspondingly, the identification of the terminal that has been authorized to use the ProSe ProSe corresponding to the application identification refers to the identification of the terminal that can be recognized by the operator network element or third-party network element (ProSe APP ID, application layer ID, UE ID, etc.) . For example, the identification may include the identification of the terminal at the third-party application level, such as a WeChat account, a public comment account, an online game account, and so on. For another example, the identification of the terminal may also include an identification that can be recognized by the operator's core network element, such as a unified public user identifier (generic public subscription identifier, GPSI), a user permanent identifier (subscription permanent identifier, SUPI), mobile phone number, and terminal International mobile subscriber identification number (IMSI), etc.
在一种可能的设计方法中,如果终端的标识使用第三方应用层面的标识,则终端在请求消息中还要加上终端可以被运营商核心网网元可识别的标识,例如微信号和国际移动用户识别码(international mobile subscriber identification number,IMSI)的组合,以便核心网网元识别该终端。In a possible design method, if the terminal's identity uses a third-party application-level identity, the terminal must also add an identity that can be recognized by the operator's core network element in the request message, such as WeChat ID and international A combination of mobile subscriber identification number (international mobile subscriber identification number, IMSI) so that the core network element can identify the terminal.
本申请实施例中,已授权使用应用标识对应的邻近服务ProSe的终端的数量可以为多个,类型可以为多种。相应地,已授权使用应用标识对应的邻近服务ProSe的终端的标识也可以为多个,如可以为一个包含多个各种标识的终端标识的列表。本申请实施例对于已授权使用应用标识对应的邻近服务ProSe的终端及其标识的具体实现,不做具体限定。In the embodiment of the present application, the number of terminals authorized to use the ProSe ProSe corresponding to the application identifier may be multiple, and the types may be multiple. Correspondingly, there may also be multiple identities of the terminals authorized to use the ProSe ProSe corresponding to the application identities, for example, it may be a list of terminal identities containing multiple identities. The embodiment of this application does not specifically limit the specific implementation of the terminal that has been authorized to use the ProSe ProSe corresponding to the application identifier and its identifier.
示例性地,与应用标识对应的邻近服务ProSe可使用的发现模式可以包括公开模式(open discovery)或受限模式(restricted discovery)。其中,发现模式可以由邻近服务的提供方,如AF网元或第三方应用服务器确定。对于某一邻近服务,公开模式是指任何终端皆可使用该邻近服务,受限模式是指只有指定终端才可以使用该邻近服务。其中,指定终端是指已授权使用该邻近服务的终端。因此,当发现模式为受限模 式时,第三网元还需要获取已授权使用应用标识对应的邻近服务的终端设备的识别信息,如标识列表。Exemplarily, the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier may include an open mode (open discovery) or a restricted mode (restricted discovery). Among them, the discovery mode can be determined by the proximity service provider, such as an AF network element or a third-party application server. For a certain proximity service, the public mode means that any terminal can use the proximity service, and the restricted mode means that only designated terminals can use the proximity service. Among them, the designated terminal refers to a terminal that has been authorized to use the proximity service. Therefore, when the discovery mode is the restricted mode, the third network element also needs to obtain identification information, such as an identification list, of terminal devices that are authorized to use the proximity service corresponding to the application identification.
进一步地,图4所示的通信方法还可以包括:第三网元确定发现参数的有效时间,并向第二网元发送发现参数的有效时间。如此,则可以避免一个终端的邻近服务ProSe长时间占用发现资源(通常为协议预定义或网络预配置的),导致其他终端无法发布或监听邻近服务ProSe的情况,从而提高邻近服务ProSe的通信效率。此外,运营商可以通过设定发现参数的有效时间,控制终端可以使用邻近服务的时间,便于计费等管理。Further, the communication method shown in FIG. 4 may further include: the third network element determines the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the second network element. In this way, it can prevent the ProSe of a terminal from occupying discovery resources for a long time (usually pre-defined by the protocol or pre-configured by the network), causing other terminals to be unable to publish or monitor the ProSe of the proximity service, thereby improving the communication efficiency of the ProSe of the proximity service . In addition, the operator can control the time that the terminal can use the proximity service by setting the effective time of the discovery parameter, which is convenient for management such as billing.
S402,第三网元向第二网元发送应用标识和发现参数的对应关系。相应地,第二网元从第三网元接收应用标识与发现参数的对应关系。S402: The third network element sends the corresponding relationship between the application identifier and the discovery parameter to the second network element. Correspondingly, the second network element receives the correspondence between the application identifier and the discovery parameter from the third network element.
示例性地,第二网元也可以称为发现参数存储网元,如5G系统中的UDR网元或UDM网元,用于统一存储应用标识与发现参数的对应关系。其中,对应关系可以为多个,如由同一个第三网元或多个不同类型的第三网元生成的多个不同类型的应用标识与各自的发现参数的对应关系。Exemplarily, the second network element may also be referred to as a discovery parameter storage network element, such as a UDR network element or a UDM network element in a 5G system, and is used to uniformly store the correspondence between the application identifier and the discovery parameter. There may be multiple correspondences, such as correspondences between multiple different types of application identifiers generated by the same third network element or multiple different types of third network elements and respective discovery parameters.
在一种可能的设计方法中,图4所示的通信方法还可以包括:第三网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。相应地,第二网元从第三网元接收与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。In a possible design method, the communication method shown in FIG. 4 may further include: the third network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and/or authorized The identification of the ProSe terminal that uses the ProSe corresponding to the application identification. Correspondingly, the second network element receives from the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identification, and/or the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
示例性地,当发现模式为受限模式时,上述对应关系还需要包括已授权使用应用标识对应的邻近服务ProSe的终端的标识。应理解,当发现模式为公开模式时,上述对应关系也可以不包括发现模式和已授权使用应用标识对应的邻近服务ProSe的终端的标识。Exemplarily, when the discovery mode is the restricted mode, the foregoing correspondence relationship also needs to include the identity of the terminal that has been authorized to use the ProSe corresponding to the application identity. It should be understood that when the discovery mode is the public mode, the foregoing correspondence relationship may not include the discovery mode and the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
在一种可能的设计方法中,第三网元可以直接向第二网元发送上述对应关系,也可以通过其他运营商网元,如5G系统中的网络开放功能(network exposure function,NEF)网元,向第二网元发送上述对应关系。本申请实施例对此不做具体限定。In a possible design method, the third network element can directly send the above corresponding relationship to the second network element, or through other operator network elements, such as the network exposure function (NEF) network in the 5G system. Element, sending the above-mentioned corresponding relationship to the second network element. The embodiments of the present application do not specifically limit this.
本申请实施例中,在执行S401和S402之后,第二网元可以从一个或多个第三网元收集多个应用标识与多组发现参数的对应关系,并统一存储在第二网元的存储空间中。如此,第二网元可以根据终端提供的应用标识,为终端配置发现参数,即执行下述S403-S406。In this embodiment of the application, after performing S401 and S402, the second network element may collect the correspondence between multiple application identifiers and multiple sets of discovery parameters from one or more third network elements, and store them in the second network element's corresponding relationship. In storage space. In this way, the second network element can configure discovery parameters for the terminal according to the application identifier provided by the terminal, that is, perform the following S403-S406.
需要说明的是,上述多个应用标识与多组发现参数的对应关系,也可以预配置在第二网元中。在此情况下,也可以不执行S401-S402,即S401-S402为可选步骤。It should be noted that the correspondence between the above-mentioned multiple application identifiers and multiple sets of discovery parameters may also be pre-configured in the second network element. In this case, S401-S402 may not be executed, that is, S401-S402 are optional steps.
S403,终端向第一网元发送应用标识。相应地,第一网元从终端接收应用标识。S403: The terminal sends an application identifier to the first network element. Correspondingly, the first network element receives the application identifier from the terminal.
示例性地,第一网元也可以称为发现参数配置网元,如5G系统中的PCF网元、AMF网元等,主要用于根据终端提供的应用标识,以及应用标识与发现参数的对应关系,为该终端配置发现参数。本申请实施例对于第一网元的网元类型、数量、以及与其他网元的部署方式等,不做具体限定。Exemplarily, the first network element may also be referred to as a discovery parameter configuration network element, such as a PCF network element, AMF network element, etc. in a 5G system, which is mainly used for the application identification provided by the terminal and the correspondence between the application identification and the discovery parameter Relationship, configure the discovery parameters for the terminal. The embodiment of the present application does not specifically limit the type and quantity of the network element of the first network element, and the deployment mode with other network elements.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,图4所示的通 信方法还可以包括:发布终端向第一网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。相应地,第一网元从发布终端接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。例如,第一请求指示可以为如下操作指示:command=annouce、command=ProSe response。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method shown in FIG. 4 may further include: the issuing terminal sends one of the discovery mode corresponding to the application identifier, the identification of the issuing terminal, or the first request instruction to the first network element. Or multiple. Correspondingly, the first network element receives one or more of the discovery mode, the identification of the publishing terminal, and the first request indication from the publishing terminal. Wherein, the first request indication is used to request to publish parameters. For example, the first request indication may be the following operation indication: command=annouce, command=ProSe response.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,图4所示的通信方法还可以包括:监听终端向第一网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。相应地,第一网元从监听终端接收发现模式、监听终端的标识、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。例如,第一请求指示可以为如下操作指示:command=monitor、command=ProSe query。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method shown in FIG. 4 may further include: the monitoring terminal sends to the first network element one of a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication Or multiple. Correspondingly, the first network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the monitoring terminal. Wherein, the second request indication is used to request monitoring parameters. For example, the first request indication may be the following operation indication: command=monitor, command=ProSe query.
需要说明的是,上述应用标识、发布终端的标识、发现模式、第一请求指示,可以由发布终端分多次发送给第一网元,如可以在多个发现请求消息(discovery request)中分别发送,也可以同时发给第一网元,如可以在同一个发现请求消息中发送。同理,上述应用标识、监听终端的标识、发现模式、第二请求指示,可以由监听终端分多次发送给第一网元,如可以在多个发现请求消息中分别发送,也可以同时发给第一网元,如可以在同一个发现请求消息中发送。本申请实施例对于发布终端向第一网元发送应用标识、发布终端的标识、发现模式、第一请求指示的具体实现方式,以及,监听终端向第一网元发送应用标识、监听终端的标识、发现模式、第二请求指示的实现方式,不做具体限定。It should be noted that the above application identifier, the identifier of the publishing terminal, the discovery mode, and the first request indication may be sent by the publishing terminal to the first network element multiple times, for example, in multiple discovery request messages (discovery request). Sending can also be sent to the first network element at the same time, for example, it can be sent in the same discovery request message. In the same way, the above-mentioned application identifier, monitoring terminal identifier, discovery mode, and second request indication can be sent by the monitoring terminal to the first network element multiple times. For example, they can be sent separately in multiple discovery request messages, or they can be sent at the same time. For the first network element, if it can be sent in the same discovery request message. The embodiment of this application provides specific implementations for the issuing terminal to send the application identifier, the identity of the publishing terminal, the discovery mode, and the first request indication to the first network element, and the monitoring terminal sends the application identifier and the identifier of the monitoring terminal to the first network element , The discovery mode, and the implementation of the second request indication are not specifically limited.
需要说明的是,当发现模式为受限模式时,终端需要向第一网元发送发现模式和该终端的标识,以便第一网元和下述第二网元确定该终端是否有权限使用应用标识对应的邻近服务。It should be noted that when the discovery mode is restricted mode, the terminal needs to send the discovery mode and the identification of the terminal to the first network element, so that the first network element and the following second network element can determine whether the terminal has permission to use the application Identifies the corresponding proximity service.
此外,上述第一请求指示和第二请求指示可以显式指示,如上述两种操作指示,也可以隐式指示,如可以通过消息名称予以区分。具体地,可以将发布终端发起的发现请求消息命名为发布请求消息(announcing request)或发现密钥请求消息(discovery code request),将监听终端发起的发现请求消息命名为监听请求消息(monitoring request)或发现匹配参数请求消息(discovery filter request)。本申请实施例第一请求指示和第二请求指示的实现方式,不做具体限定。In addition, the above-mentioned first request indication and the second request indication may be explicitly indicated, such as the above two operation indications, or implicitly indicated, for example, they may be distinguished by the message name. Specifically, the discovery request message initiated by the publishing terminal can be named announcing request message (announcing request) or a discovery key request message (discovery code request), and the discovery request message initiated by the monitoring terminal can be named monitoring request message (monitoring request) Or discovery filter request message (discovery filter request). The implementation manners of the first request instruction and the second request instruction in the embodiment of the present application are not specifically limited.
S404,第一网元向第二网元发送应用标识。相应地,第二网元从第一网元接收应用标识。S404: The first network element sends the application identifier to the second network element. Correspondingly, the second network element receives the application identifier from the first network element.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,图4所示的通信方法还可以包括:第一网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。相应地,第二网元从第一网元接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method shown in FIG. 4 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication. One or more. Correspondingly, the second network element receives one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参 数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,图4所示的通信方法还可以包括:第一网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。相应地,第二网元从第一网元接收发现模式、监听终端的标识、第二请求指示中的一项或多项;第二请求指示用于请求监听参数。其中,第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method shown in FIG. 4 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. One or more. Correspondingly, the second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used for requesting monitoring parameters. Wherein, the second request indication is used to request monitoring parameters.
需要说明的是,第一网元向第二网元发送第一网元发送应用标识、终端的标识、发现模式、第一请求指示或第二请求指示的实现方式,可以参考上述S403中终端向第一网元发送应用标识、终端的标识、发现模式、第一请求指示或第二请求指示的实现方式,此处不再赘述。It should be noted that the first network element sends to the second network element the first network element to send the application identifier, the terminal identifier, the discovery mode, the first request indication or the second request indication for the implementation manner, please refer to the above S403 terminal to send The implementation manner in which the first network element sends the application identifier, the terminal identifier, the discovery mode, the first request indication or the second request indication will not be repeated here.
S405,第二网元向第一网元发送发现参数。相应地,第一网元从第二网元接收发现参数。S405: The second network element sends the discovery parameter to the first network element. Correspondingly, the first network element receives the discovery parameter from the second network element.
其中,发现参数与应用标识对应,即发现参数是由第二网元根据上述对应关系确定的。Wherein, the discovery parameter corresponds to the application identifier, that is, the discovery parameter is determined by the second network element according to the above-mentioned corresponding relationship.
可选地,图4的通信方法还可以包括:第二网元向第一网元发送发现参数的有效时间。可选地,第一网元从第二网元接收发现参数的有效时间。Optionally, the communication method of FIG. 4 may further include: the second network element sends the effective time of the discovery parameter to the first network element. Optionally, the first network element receives the effective time of the discovery parameter from the second network element.
示例性地,S405可以具体实现为:第二网元向第一网元发送发现响应消息(discovery response)。相应地,第一网元从第二网元接收发现响应消息。其中,发现响应消息携带与应用标识对应的发现参数。其中,发现参数可以包括发布参数或监听参数。可选地,发现响应消息还可以携带发现参数的有效时间。Exemplarily, S405 may be specifically implemented as: the second network element sends a discovery response message (discovery response) to the first network element. Correspondingly, the first network element receives the discovery response message from the second network element. Wherein, the discovery response message carries the discovery parameter corresponding to the application identifier. Among them, the discovery parameters may include publishing parameters or listening parameters. Optionally, the discovery response message may also carry the effective time of the discovery parameter.
需要说明的是,当发现模式为受限模式时,若终端没有权限使用应用标识对应的邻近服务,则第二网元会向第一网元发送拒绝服务指示。其中,拒绝服务指示可以承载在上述发现响应消息中。在此情况下,第二网元可以不向第一网元发送发布参数。It should be noted that when the discovery mode is the restricted mode, if the terminal does not have permission to use the proximity service corresponding to the application identifier, the second network element will send a service denial indication to the first network element. Wherein, the denial of service indication may be carried in the above discovery response message. In this case, the second network element may not send the publishing parameters to the first network element.
S406,第一网元向终端发送发现参数。相应地,终端从第一网元接收发现参数。S406: The first network element sends the discovery parameter to the terminal. Correspondingly, the terminal receives the discovery parameter from the first network element.
示例性地,S406可以具体实现为:第一网元向终端发送发现响应消息。相应地,终端从第一网元接收发现响应消息。其中,发现响应消息携带与应用标识对应的发现参数。其中,发现参数可以包括发布参数或监听参数。可选地,发现响应消息还可以携带发现参数的有效时间。Exemplarily, S406 may be specifically implemented as: the first network element sends a discovery response message to the terminal. Correspondingly, the terminal receives a discovery response message from the first network element. Wherein, the discovery response message carries the discovery parameter corresponding to the application identifier. Among them, the discovery parameters may include publishing parameters or listening parameters. Optionally, the discovery response message may also carry the effective time of the discovery parameter.
需要说明的是,当发现模式为受限模式时,若终端没有权限使用应用标识对应的邻近服务,则第一网元可以向终端转发从第二网元接收到的拒绝服务指示。其中,拒绝服务指示可以承载在上述发现响应消息中。It should be noted that when the discovery mode is the restricted mode, if the terminal does not have permission to use the proximity service corresponding to the application identifier, the first network element may forward the service denial of service indication received from the second network element to the terminal. Wherein, the denial of service indication may be carried in the above discovery response message.
在执行S406之后,终端即可根据发现参数,完成ProSe通信的发现阶段,之后终端之间,如发布终端与监听终端之间,可以通过信令交互建立ProSe通信连接,从而实现ProSe通信。After performing S406, the terminal can complete the discovery phase of ProSe communication according to the discovery parameters. After that, between the terminals, such as the publishing terminal and the listening terminal, a ProSe communication connection can be established through signaling interaction, thereby realizing ProSe communication.
下面结合具体示例,进一步说明图4所示的通信方法。In the following, the communication method shown in FIG. 4 will be further explained in conjunction with specific examples.
图5为图4所示的通信方法的示例一。参考图4和图5,图4中的第一网元可以包括图5中的第一PCF网元和第二PCF网元,图4中的第二网元可以为图5中的UDR网元或UDM网元,图4中的第三网元可以为图5中的ProSe网元,图4中的终端可以包括图5中的发布终端和监听终端。Fig. 5 is an example one of the communication method shown in Fig. 4. 4 and 5, the first network element in FIG. 4 may include the first PCF network element and the second PCF network element in FIG. 5, and the second network element in FIG. 4 may be the UDR network element in FIG. 5. Or UDM network element, the third network element in FIG. 4 may be the ProSe network element in FIG. 5, and the terminal in FIG. 4 may include the publishing terminal and the listening terminal in FIG.
需要说明的是,上述UDM网元和UDR网元可以是独立的核心网网元,也可以同 一个核心网网元,本申请实施例对于UDM网元和UDR网元的具体实现方式不做限定。It should be noted that the above-mentioned UDM network element and UDR network element may be independent core network network elements or the same core network network element. The embodiment of this application does not limit the specific implementation of UDM network elements and UDR network elements. .
结合图4,如图5所示,上述S401可以实现为如下S501-S502:With reference to Figure 4, as shown in Figure 5, the above S401 can be implemented as the following S501-S502:
S501,AF网元向ProSe网元发送应用标识。相应地,ProSe网元从AF网元接收应用标识。S501: The AF network element sends an application identifier to the ProSe network element. Correspondingly, the ProSe network element receives the application identifier from the AF network element.
示例性地,AF网元可以包括运营商部署的核心网网元,其提供的应用标识可以包括APP ID。AF网元也可以是第三方,如内容提供商部署的应用服务器,其提供的应用标识可以包括第三方应用标识。本申请实施例对于AF网元的提供方、AF网元的数量、或AF网元提供的邻近服务的类型等具体实现方式不做限定。Exemplarily, the AF network element may include a core network network element deployed by an operator, and the application identification provided by it may include an APP ID. The AF network element may also be a third party, such as an application server deployed by a content provider, and the application identification provided by it may include a third-party application identification. The embodiment of the present application does not limit specific implementation manners such as the provider of the AF network element, the number of AF network elements, or the type of proximity service provided by the AF network element.
可选地,ProSe网元还可以从AF网元接收已授权使用该应用标识对应的邻近服务的终端的标识,如已授权使用该应用标识对应的邻近服务的终端的标识列表。Optionally, the ProSe network element may also receive from the AF network element the identifier of the terminal authorized to use the proximity service corresponding to the application identifier, such as the identifier list of the terminal authorized to use the proximity service corresponding to the application identifier.
需要说明的是,若该应用标识对应的邻近服务限定了可以使用该应用的用户,则对应的发现模式也会设置为受限模式,AF网元需要为ProSe网元提供应用标识,以及已授权使用该应用标识对应的邻近服务的终端的标识。如果发现模式为受限模式,AF还需要向ProSe网元提供已授权使用该应用进行ProSe通信的用户信息,如用户账号、与该用户账号绑定的终端的标识等。应理解,若该应用标识对应的邻近服务没有限定使用权限,则AF网元也可以不向ProSe网元发送发现模式。在此情况下,也可以理解为该应用标识对应的邻近服务的发现模式默认为公开模式。It should be noted that if the proximity service corresponding to the application identifier limits the users who can use the application, the corresponding discovery mode will also be set to restricted mode, and the AF network element needs to provide the application identifier for the ProSe network element, and authorized Use the identifier of the proximity service terminal corresponding to the application identifier. If the discovery mode is the restricted mode, the AF also needs to provide the ProSe network element with user information that has been authorized to use the application for ProSe communication, such as the user account and the identification of the terminal bound to the user account. It should be understood that if the proximity service corresponding to the application identifier does not have a limited use right, the AF network element may not send the discovery mode to the ProSe network element. In this case, it can also be understood that the discovery mode of the proximity service corresponding to the application identifier is the public mode by default.
S502,ProSe网元建立/修改/删除应用标识与发现参数的对应关系。S502: The ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
关于该对应关系的具体实现方式,具体可以参考S401中的相关内容,此处不再赘述。Regarding the specific implementation of the corresponding relationship, please refer to the related content in S401 for details, which will not be repeated here.
需要说明的是,若AF网元具有ProSe网元的功能,如AF网元包括具有ProSe网元功能的模块或部件,AF网元也可以从本地获取其提供的邻近服务的应用标识、发现参数、已授权使用该应用标识对应的邻近服务的终端的标识和发现模式,并基于获取的上述信息建立该对应关系,即S501-S502可以视为同一个网元执行的内部操作。It should be noted that if the AF network element has the function of the ProSe network element, for example, the AF network element includes a module or component with the function of the ProSe network element, the AF network element can also obtain the application identification and discovery parameters of the proximity service provided by it locally. , The identification and discovery mode of the terminal that has been authorized to use the proximity service corresponding to the application identification, and the corresponding relationship is established based on the acquired information, that is, S501-S502 can be regarded as internal operations performed by the same network element.
本申请实施例中,上述对应关系可以是新建立的,如新邻近服务上线时,也可以是待修改的,如已有邻近服务做出调整时,还可以是待删除的,如已有邻近服务下线时。In the embodiment of this application, the above-mentioned corresponding relationship can be newly established, such as when a new proximity service is online, or it can be modified, if an existing proximity service is adjusted, it can also be deleted, such as an existing proximity service. When the service goes offline.
结合图4,如图5所示,上述S402可以具体实现为S503:With reference to FIG. 4, as shown in FIG. 5, the foregoing S402 may be specifically implemented as S503:
S503,ProSe网元向UDR网元发送应用标识和发现参数的对应关系。相应地,UDR从ProSe网元接收并存储应用标识与发现参数的对应关系。S503: The ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element. Correspondingly, the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
示例性地,当发现模式为受限模式时,上述对应关系还需要包括已授权使用应用标识对应的邻近服务ProSe的终端的标识。容易理解,当发现模式为公开模式时,上述对应关系也可以不包括发现模式和已授权使用应用标识对应的邻近服务ProSe的终端的标识。Exemplarily, when the discovery mode is the restricted mode, the foregoing correspondence relationship also needs to include the identity of the terminal that has been authorized to use the ProSe corresponding to the application identity. It is easy to understand that when the discovery mode is the public mode, the foregoing correspondence relationship may not include the discovery mode and the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
需要说明的是,若AF网元具有ProSe网元的功能,则S503可以具体实现为:AF网元向UDR网元发送应用标识和发现参数的对应关系。此时,如果该AF网元是第三方应用服务器,则该AF网元向核心网UDR网元发送该对应关系时,需要经过NEF网元的验证,之后再由NEF网元将通过验证的对应关系转发给UDR网元,以保证安全性。It should be noted that if the AF network element has the function of the ProSe network element, S503 may be specifically implemented as: the AF network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element. At this time, if the AF network element is a third-party application server, when the AF network element sends the corresponding relationship to the core network UDR network element, it needs to be verified by the NEF network element, and then the NEF network element will pass the verified correspondence The relationship is forwarded to the UDR network element to ensure security.
本申请实施例中,UDR网元通常为一个,该一个UDR网元可以从多个不同类型的AF网元接收多个对应关系并保存,该多个对应关系可以采用对应关系表的方式存储,该对应关系表中多个表项与该多个对应关系一一对应。应理解,UDR网元也可以采用除对应关系表之外的其他形式存储上述对应关系,如还可以采用配置文件的方式存储上述对应关系。本申请实施例对于对应关系的存储方式,不做具体限定。In the embodiment of the present application, there is usually one UDR network element. The one UDR network element can receive and save multiple correspondences from multiple AF network elements of different types. The multiple correspondences can be stored in the form of a correspondence table. The multiple entries in the correspondence table have a one-to-one correspondence with the multiple correspondences. It should be understood that the UDR network element may also store the above-mentioned correspondence in other forms besides the correspondence table, for example, it may also store the above-mentioned correspondence in the form of a configuration file. The embodiment of the present application does not specifically limit the storage manner of the correspondence relationship.
下面分别针对发布终端和监听终端,详细说明本申请实施例提供的通信方法。The communication methods provided in the embodiments of the present application will be described in detail below for the publishing terminal and the monitoring terminal respectively.
结合图4,如图5所示,针对发布终端发起的发现请求,如第一发现请求消息,上述S403-S406可以具体实现为S504-S509:With reference to Figure 4, as shown in Figure 5, for the discovery request initiated by the publishing terminal, such as the first discovery request message, the above S403-S406 can be specifically implemented as S504-S509:
S504,发布终端经由第一AMF网元向第一PCF网元发送第一发现请求消息。相应地,第一PCF网元经由第一AMF网元从发布终端接收第一发现请求消息。S504: The publishing terminal sends a first discovery request message to the first PCF network element via the first AMF network element. Correspondingly, the first PCF network element receives the first discovery request message from the publishing terminal via the first AMF network element.
其中,第一发现请求消息携带应用标识,如APP ID。可选地,第一发现请求消息还可以携带发布终端的标识(应用层面的用户标识和/或核心网网元可识别的用户标识)、发现模式、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数,如ProSe发现密钥参数。Among them, the first discovery request message carries an application identifier, such as APP ID. Optionally, the first discovery request message may also carry one or more of the identification of the publishing terminal (user identification at the application level and/or user identification identifiable by the core network element), discovery mode, and first request indication . Wherein, the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
可选地,第一请求指示可以显式地携带在第一发现请求消息中,如占用第一发现请求消息中的1比特(bit)的指示字段。或者,可选地,第一发现请求消息可以为发现密钥请求消息,即可以使用消息名称隐式地携带第一请求指示。或者,可选的,第一发现请求消息可以作为非接入层(non-access stratum,NAS)消息的一部分。例如,作为NAS消息中容器(container)的一部分由发布终端发送给第一AMF网元,之后,第一AMF网元将该容器转发给第一PCF网元。Optionally, the first request indication may be explicitly carried in the first discovery request message, such as occupying a 1-bit indication field in the first discovery request message. Or, optionally, the first discovery request message may be a discovery key request message, that is, the message name may be used to implicitly carry the first request indication. Or, optionally, the first discovery request message may be a part of a non-access stratum (non-access stratum, NAS) message. For example, as a part of the container in the NAS message, the publishing terminal sends the container to the first AMF network element, and then the first AMF network element forwards the container to the first PCF network element.
需要说明的是,当发现模式为受限模式时,第一发现请求消息还需要携带发现模式和发布终端的标识,以便第一PCF网元和UDR网元确定发布终端是否有权限使用应用标识对应的邻近服务。It should be noted that when the discovery mode is restricted mode, the first discovery request message also needs to carry the identification of the discovery mode and the publishing terminal, so that the first PCF network element and UDR network element can determine whether the publishing terminal has the authority to use the corresponding application identifier. Proximity service.
S505,第一PCF网元与UDM网元交互,完成发布终端的鉴权。S505: The first PCF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
示例性地,第一PCF网元向UDM网元发送鉴权请求消息。其中,鉴权请求消息可以携带发布终端的标识、发布终端所在的PLMN标识等。相应地,UDM网元向第一PCF网元发送鉴权响应消息。其中,若鉴权成功,则鉴权响应消息可以携带授权信息,若鉴权失败,则鉴权响应消息可以携带鉴权失败指示。Exemplarily, the first PCF network element sends an authentication request message to the UDM network element. Among them, the authentication request message may carry the identity of the issuing terminal, the identity of the PLMN where the issuing terminal is located, and so on. Correspondingly, the UDM network element sends an authentication response message to the first PCF network element. Among them, if the authentication is successful, the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
示例性地,若发布终端有权限在该PLMN标识对应的PLMN中使用PC5通信,则UDM网元可以向第一PCF网元发送授权信息。否则,UDM网元可以向第一PCF网元发送鉴权失败指示。Exemplarily, if the issuing terminal has the authority to use PC5 communication in the PLMN corresponding to the PLMN identity, the UDM network element may send authorization information to the first PCF network element. Otherwise, the UDM network element may send an authentication failure indication to the first PCF network element.
需要说明的是,如果第一PCF网元已经获知发布终端有权限在当前PLMN下使用PC5通信,则第一PCF网元也可以不向UDM网元发起上述鉴权请求。也就是说,S505为可选步骤。It should be noted that if the first PCF network element has learned that the publishing terminal has the authority to use PC5 communication under the current PLMN, the first PCF network element may not initiate the aforementioned authentication request to the UDM network element. In other words, S505 is an optional step.
若发布终端鉴权成功,或第一PCF网元已经获知发布终端有权限在当前PLMN下使用PC5通信,则可以继续执行下述S506-S509。若ProSe网元集成在第一PCF网元中,则可以直接执行S508。If the publishing terminal is successfully authenticated, or the first PCF network element has learned that the publishing terminal has the authority to use PC5 communication under the current PLMN, the following S506-S509 can be continued. If the ProSe network element is integrated in the first PCF network element, S508 can be directly executed.
S506,第一PCF网元向UDR网元发送第一发现请求消息。相应地,UDR网元从第一PCF网元接收第一发现请求消息。S506: The first PCF network element sends a first discovery request message to the UDR network element. Correspondingly, the UDR network element receives the first discovery request message from the first PCF network element.
可选地,当发现模式为受限模式时,第一PCF网元请求发布终端的发现参数时还需要携带发布终端的标识。Optionally, when the discovery mode is the restricted mode, when the first PCF network element requests to publish the discovery parameters of the terminal, it also needs to carry the identification of the publishing terminal.
其中,第一发现请求消息的具体实现方式可以参考S504,此处不再赘述。For the specific implementation of the first discovery request message, refer to S504, which will not be repeated here.
S507,UDR网元向第一PCF网元发送第一发现响应消息。相应地,第一PCF网元从UDR网元接收第一发现响应消息。S507: The UDR network element sends a first discovery response message to the first PCF network element. Correspondingly, the first PCF network element receives the first discovery response message from the UDR network element.
其中,第一发现响应消息可以携带发布参数。该发布参数与第一发现请求消息携带的应用标识对应。其中,发布参数可以为ProSe发现密钥参数。可选地,第一发现响应消息还可以携带发布参数的有效期。Among them, the first discovery response message may carry publishing parameters. The publishing parameter corresponds to the application identifier carried in the first discovery request message. Among them, the release parameter may be a ProSe discovery key parameter. Optionally, the first discovery response message may also carry the validity period of the published parameter.
需要说明的是,当发现模式为受限模式时,UDR还需要先根据第一请求消息携带的发布终端的标识与UDR从AF网元接收的已授权使用该应用标识对应的邻近服务的终端的标识进行匹配,以验证发布终端是否有权限使用该应用标识对应的邻近服务。通过验证后,UDR才会为发布终端分配发布参数。否则,UDR网元向第一PCF网元反馈拒绝指示,以告知第一PCF网元发布终端的身份验证失败,即此时第一发现响应消息可以携带拒绝指示,且可以不携带发布参数。It should be noted that when the discovery mode is the restricted mode, the UDR also needs to publish the terminal identification carried in the first request message and the terminal identification of the terminal authorized to use the proximity service corresponding to the application identification received by the UDR from the AF network element. The identification is matched to verify whether the publishing terminal has the authority to use the proximity service corresponding to the application identification. After passing the verification, the UDR will allocate the publishing parameters for the publishing terminal. Otherwise, the UDR network element feeds back a rejection indication to the first PCF network element to inform the first PCF network element that the identity verification of the publishing terminal has failed, that is, the first discovery response message may carry the rejection indication and may not carry the publishing parameters.
可选地,第一发现响应消息可以为发现密钥响应消息。Optionally, the first discovery response message may be a discovery key response message.
在一种可能的设计方法中,在S506中,第一PCF网元可以向UDR网元订阅发现参数创建、更新或删除请求。该请求消息中携带应用标识。当UDR网元在S506接收到ProSe网元与应用标识对应的发现参数创建、更新或删除请求后,UDR网元可以在S507中向第一PCF网元发送ProSe网元创建、更新或删除的应用标识与发现参数的对应关系。由此,第一PCF网元不需要每次接收到第一请求消息时,都去向UDR网元发送请求消息,以节省信令开销。In a possible design method, in S506, the first PCF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request. The request message carries the application identifier. After the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S506, the UDR network element can send the ProSe network element creation, update, or deletion application to the first PCF network element in S507 The corresponding relationship between the identification and the discovery parameter. Therefore, the first PCF network element does not need to send the request message to the UDR network element every time it receives the first request message, so as to save signaling overhead.
S508,第一PCF网元经由第一AMF网元向发布终端发送第一发现响应消息。相应地,发布终端经由第一AMF网元从第一PCF网元接收第一发现响应消息。S508: The first PCF network element sends a first discovery response message to the publishing terminal via the first AMF network element. Correspondingly, the publishing terminal receives the first discovery response message from the first PCF network element via the first AMF network element.
其中,第一发现响应消息携带发布参数,如ProSe发现密钥参数。可选地,第一发现响应消息还可以携带发布参数的有效期。其中,发布参数用于发布终端发布ProSe通信请求。Among them, the first discovery response message carries publishing parameters, such as ProSe discovery key parameters. Optionally, the first discovery response message may also carry the validity period of the published parameter. Among them, the release parameter is used to release the ProSe communication request issued by the terminal.
可选地,第一发现响应消息可以为发现密钥响应消息。Optionally, the first discovery response message may be a discovery key response message.
需要说明的是,当发现模式为受限模式时,第一发现响应消息携带的内容可以参考S507,此处不再赘述。It should be noted that, when the discovery mode is the restricted mode, the content carried in the first discovery response message can refer to S507, which will not be repeated here.
S509,发布终端根据发布参数,发布ProSe通信请求。S509: The publishing terminal publishes the ProSe communication request according to the publishing parameters.
示例性地,发布终端可以向接入网网元申请空口资源,并在该空口资源上广播ProSe通信请求消息。其中,ProSe通信请求消息携带上述发布参数。Exemplarily, the publishing terminal may apply for air interface resources from the network element of the access network, and broadcast the ProSe communication request message on the air interface resources. Wherein, the ProSe communication request message carries the foregoing publishing parameters.
需要说明的是,当发现模式为受限模式时,且当发布终端没有使用其提供的应用标识对应的邻近服务的权限时,发布终端不能发布ProSe通信请求。It should be noted that when the discovery mode is the restricted mode, and when the publishing terminal does not have the authority to use the proximity service corresponding to the application identifier provided by the publishing terminal, the publishing terminal cannot publish the ProSe communication request.
如图5所示,针对监听终端发起的发现请求,如第二发现请求消息,上述S403-S406可以具体实现为S510-S515:As shown in Figure 5, for the discovery request initiated by the monitoring terminal, such as the second discovery request message, the above S403-S406 can be specifically implemented as S510-S515:
S510,监听终端经由第二AMF网元向第二PCF网元发送第二发现请求消息。相应地,第二PCF网元经由第二AMF网元从监听终端接收第二发现请求消息。S510: The monitoring terminal sends a second discovery request message to the second PCF network element via the second AMF network element. Correspondingly, the second PCF network element receives the second discovery request message from the listening terminal via the second AMF network element.
其中,第二发现请求消息携带应用标识,如APP ID。可选地,第二发现请求消息 还可以携带监听终端的标识、发现模式、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数,如ProSe发现匹配参数。Among them, the second discovery request message carries an application identifier, such as APP ID. Optionally, the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication. Wherein, the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
可选地,第二请求指示可以显式地携带在第二发现请求消息中。或者,可选地,第二发现请求消息可以为发现匹配参数请求消息,即可以使用消息名称隐式地携带第二请求指示。Optionally, the second request indication may be explicitly carried in the second discovery request message. Or, optionally, the second discovery request message may be a matching parameter discovery request message, that is, the message name may be used to implicitly carry the second request indication.
需要说明的是,当发现模式为受限模式时,第二发现请求消息还需要携带发现模式和监听终端的标识,以便第二PCF网元和UDR网元确定监听终端是否有权限使用应用标识对应的邻近服务。It should be noted that when the discovery mode is the restricted mode, the second discovery request message also needs to carry the identification of the discovery mode and the monitoring terminal, so that the second PCF network element and the UDR network element can determine whether the monitoring terminal has the authority to use the application identifier. Proximity service.
S511,第二PCF网元与UDM网元交互,完成监听终端的鉴权。S511: The second PCF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
示例性地,第二PCF网元向UDM网元发送鉴权请求消息。其中,鉴权请求消息可以携带监听终端的标识、监听终端所在的PLMN标识等。相应地,UDM网元向第二PCF网元发送鉴权响应消息。其中,若鉴权成功,则鉴权响应消息可以携带授权信息,若鉴权失败,则鉴权响应消息可以携带鉴权失败指示。Exemplarily, the second PCF network element sends an authentication request message to the UDM network element. Among them, the authentication request message may carry the identity of the monitoring terminal, the identity of the PLMN where the monitoring terminal is located, and so on. Correspondingly, the UDM network element sends an authentication response message to the second PCF network element. Among them, if the authentication is successful, the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
示例性地,若监听终端有权限在该PLMN标识对应的PLMN中使用PC5通信,则UDM网元可以向第二PCF网元发送授权信息。否则,UDM网元可以向第二PCF网元发送鉴权失败指示。Exemplarily, if the monitoring terminal has the authority to use PC5 communication in the PLMN corresponding to the PLMN identifier, the UDM network element may send authorization information to the second PCF network element. Otherwise, the UDM network element may send an authentication failure indication to the second PCF network element.
需要说明的是,如果第二PCF网元已经获知监听终端有权限在当前PLMN下使用PC5通信,则第二PCF网元也可以不向UDM网元发起上述鉴权请求。也就是说,S511为可选步骤。It should be noted that if the second PCF network element has learned that the monitoring terminal has the authority to use PC5 communication under the current PLMN, the second PCF network element may not initiate the aforementioned authentication request to the UDM network element. In other words, S511 is an optional step.
若监听终端鉴权成功,或第二PCF网元已经获知监听终端有权限在当前PLMN下使用PC5通信,则可以继续执行下述S512-S515。若ProSe网元集成在第二PCF网元,则可以直接执行S514。If the monitoring terminal is successfully authenticated, or the second PCF network element has learned that the monitoring terminal has the authority to use PC5 communication under the current PLMN, the following S512-S515 can be continued. If the ProSe network element is integrated in the second PCF network element, S514 can be directly executed.
S512,第二PCF网元向UDR网元发送第二发现请求消息。相应地,UDR网元从第二PCF网元接收第二发现请求消息。S512: The second PCF network element sends a second discovery request message to the UDR network element. Correspondingly, the UDR network element receives the second discovery request message from the second PCF network element.
可选地,当发现模式为受限模式时,第二PCF网元请求监听终端的发现参数时还需要携带监听终端的标识。Optionally, when the discovery mode is the restricted mode, the second PCF network element needs to carry the identification of the listening terminal when requesting the discovery parameters of the listening terminal.
其中,第二发现请求消息的具体实现方式可以参考S510,此处不再赘述。For the specific implementation of the second discovery request message, refer to S510, which will not be repeated here.
S513,UDR网元向第二PCF网元发送第二发现响应消息。相应地,第二PCF网元从UDR网元接收第二发现响应消息。S513: The UDR network element sends a second discovery response message to the second PCF network element. Correspondingly, the second PCF network element receives the second discovery response message from the UDR network element.
其中,第二发现响应消息可以携带监听参数。该监听参数与第二发现请求消息携带的应用标识对应。其中,监听参数可以为ProSe发现匹配参数。Wherein, the second discovery response message may carry monitoring parameters. The monitoring parameter corresponds to the application identifier carried in the second discovery request message. Among them, the monitoring parameter may be a ProSe discovery matching parameter.
需要说明的是,当发现模式为受限模式时,UDR还需要先根据第二请求消息携带的监听终端的标识与UDR从AF网元接收的已授权使用该应用标识对应的邻近服务的终端的标识进行匹配,以验证监听终端是否有权限使用该应用标识对应的邻近服务。通过验证后,UDR才会为监听终端分配监听参数。否则,UDR网元向第二PCF网元反馈拒绝指示,以告知第二PCF网元监听终端的身份验证失败,即此时第二发现响应消息可以携带拒绝指示,且可以不携带监听参数。It should be noted that when the discovery mode is the restricted mode, the UDR also needs to first base on the identification of the listening terminal carried in the second request message and the identification of the terminal authorized to use the proximity service corresponding to the application identification received by the UDR from the AF network element. The identification is matched to verify whether the monitoring terminal has the authority to use the proximity service corresponding to the application identification. After the verification is passed, the UDR will allocate monitoring parameters for the monitoring terminal. Otherwise, the UDR network element feeds back a rejection indication to the second PCF network element to inform the second PCF network element that the identity verification of the monitoring terminal has failed, that is, the second discovery response message may carry the rejection indication and may not carry monitoring parameters.
可选地,第二发现响应消息可以为发现密钥响应消息。Optionally, the second discovery response message may be a discovery key response message.
在一种可能的设计方法中,在S512中,第二PCF网元可以向UDR网元订阅发现 参数创建、更新或删除请求,该请求消息中携带应用标识。当UDR网元在S512接收到ProSe网元与应用标识对应的发现参数创建、更新或删除请求后,UDR网元可以在S513中向第二PCF网元发送ProSe网元创建、更新或删除的应用标识与发现参数的对应关系。由此,第二PCF网元不需要每次接收到第二请求消息时,都去向UDR网元发送请求消息,以节省信令开销。In a possible design method, in S512, the second PCF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request, and the request message carries the application identifier. After the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S512, the UDR network element can send the ProSe network element creation, update or deletion application to the second PCF network element in S513 The corresponding relationship between the identification and the discovery parameter. Therefore, the second PCF network element does not need to send the request message to the UDR network element every time it receives the second request message, so as to save signaling overhead.
S514,第二PCF网元经由第二AMF网元向监听终端发送第二发现响应消息。相应地,监听终端经由第二AMF网元从第二PCF网元接收第二发现响应消息。S514: The second PCF network element sends a second discovery response message to the monitoring terminal via the second AMF network element. Correspondingly, the monitoring terminal receives the second discovery response message from the second PCF network element via the second AMF network element.
其中,第二发现响应消息携带监听参数。可选地,第二发现响应消息还可以携带监听参数的有效期。其中,监听参数用于监听终端监听其他终端,如上述发布终端发布的ProSe通信请求。Wherein, the second discovery response message carries monitoring parameters. Optionally, the second discovery response message may also carry the validity period of the monitoring parameter. Among them, the monitoring parameter is used for the monitoring terminal to monitor other terminals, such as the ProSe communication request issued by the above-mentioned publishing terminal.
可选地,第二发现响应消息可以为发现匹配参数响应消息。Optionally, the second discovery response message may be a discovery matching parameter response message.
需要说明的是,当发现模式为受限模式时,第二发现响应消息携带的内容可以参考S513,此处不再赘述。It should be noted that, when the discovery mode is the restricted mode, the content carried in the second discovery response message can refer to S513, which will not be repeated here.
S515,监听终端根据监听参数,监听ProSe通信请求。S515: The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
示例性地,监听终端可以向其接入的接入网网元申请空口资源,并在该空口资源上,使用监听参数监听其他终端发布的ProSe通信请求消息,如监听上述发布终端发布的ProSe通信请求。例如,若监听到监听参数与发布参数匹配,则视为存在ProSe服务请求,否则,视为不存在ProSe服务请求。Exemplarily, the monitoring terminal can apply for air interface resources from the access network element to which it accesses, and on the air interface resources, use monitoring parameters to monitor ProSe communication request messages issued by other terminals, such as monitoring the ProSe communication issued by the above-mentioned publishing terminal. request. For example, if it is monitored that the monitoring parameters match the publishing parameters, it is deemed that there is a ProSe service request; otherwise, it is deemed that there is no ProSe service request.
需要说明的是,当发现模式为受限模式时,且当监听终端没有使用其提供的应用标识对应的邻近服务的权限时,监听终端不能监听其他终端发布的ProSe通信请求。It should be noted that when the discovery mode is the restricted mode, and when the monitoring terminal does not have the permission to use the proximity service corresponding to the application identifier provided by the monitoring terminal, the monitoring terminal cannot listen to ProSe communication requests issued by other terminals.
此外,上述针对监听终端的操作步骤S510-S515,可以在执行针对发布终端的操作步骤S504-S509之后或之前执行,也可以在同一段时间内交叉执行,本申请实施例对此不做具体限定。In addition, the above-mentioned operation steps S510-S515 for the monitoring terminal can be performed after or before the operation steps S504-S509 for the publishing terminal are performed, or they can be performed cross-over within the same period of time, which is not specifically limited in the embodiment of this application. .
图6为图4所示的通信方法的示例二。参考图4和图6,图4中的第一网元可以包括图6中的第一AMF网元和第二AMF网元,图4中的第二网元可以为图6中的UDR网元,图4中的第三网元可以为图6中的ProSe网元,图4中的终端可以包括图6中的发布终端和监听终端。Fig. 6 is the second example of the communication method shown in Fig. 4. 4 and 6, the first network element in FIG. 4 may include the first AMF network element and the second AMF network element in FIG. 6, and the second network element in FIG. 4 may be the UDR network element in FIG. 6. , The third network element in FIG. 4 may be the ProSe network element in FIG. 6, and the terminal in FIG. 4 may include the publishing terminal and the listening terminal in FIG. 6.
结合图4,如图6所示,上述S401-S402可以实现为如下S601-S603:With reference to Figure 4, as shown in Figure 6, the above S401-S402 can be implemented as the following S601-S603:
S601,AF网元向ProSe网元发送应用标识。相应地,ProSe网元从AF网元接收应用标识。S601: The AF network element sends an application identifier to the ProSe network element. Correspondingly, the ProSe network element receives the application identifier from the AF network element.
S602,ProSe网元建立/修改/删除应用标识与发现参数的对应关系。S602: The ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
S603,ProSe网元向UDR网元发送应用标识和发现参数的对应关系。相应地,UDR从ProSe网元接收并存储应用标识与发现参数的对应关系。S603: The ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element. Correspondingly, the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
上述S601-S603的具体实现可以分别参考S501-S503,此处不再赘述。For the specific implementation of the above S601-S603, please refer to S501-S503 respectively, which will not be repeated here.
下面分别针对发布终端和监听终端,详细说明图6所示的通信方法。The communication method shown in FIG. 6 will be described in detail below for the publishing terminal and the listening terminal respectively.
结合图4,如图6所示,针对发布终端发起的发现请求,如第一发现请求消息,上述S403-S406可以具体实现为S604-S609:With reference to Figure 4, as shown in Figure 6, for the discovery request initiated by the publishing terminal, such as the first discovery request message, the above S403-S406 can be specifically implemented as S604-S609:
S604,发布终端向第一AMF网元发送第一发现请求消息。相应地,第一AMF网元从发布终端接收第一发现请求消息。S604: The publishing terminal sends a first discovery request message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery request message from the publishing terminal.
其中,第一发现请求消息携带应用标识,如APP ID。可选地,第一发现请求消息还可以携带发布终端的标识、发现模式、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数,如ProSe发现密钥参数。Among them, the first discovery request message carries an application identifier, such as APP ID. Optionally, the first discovery request message may also carry one or more of the identity of the publishing terminal, the discovery mode, and the first request indication. Wherein, the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
可选地,第一请求指示可以显式地携带在第一发现请求消息中,如占用第一发现请求消息中的1比特(bit)的指示字段。或者,可选地,第一发现请求消息可以为发现密钥请求消息,即可以使用消息名称隐式地携带第一请求指示。Optionally, the first request indication may be explicitly carried in the first discovery request message, such as occupying a 1-bit indication field in the first discovery request message. Or, optionally, the first discovery request message may be a discovery key request message, that is, the message name may be used to implicitly carry the first request indication.
S605,第一AMF网元与UDM网元交互,完成发布终端的鉴权。S605: The first AMF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
示例性地,第一AMF网元向UDM网元发送鉴权请求消息。其中,鉴权请求消息可以携带发布终端的标识、发布终端所在的PLMN标识等。相应地,UDM网元向第一AMF网元发送鉴权响应消息。其中,若鉴权成功,则鉴权响应消息可以携带授权信息,若鉴权失败,则鉴权响应消息可以携带鉴权失败指示。Exemplarily, the first AMF network element sends an authentication request message to the UDM network element. Among them, the authentication request message may carry the identity of the issuing terminal, the identity of the PLMN where the issuing terminal is located, and so on. Correspondingly, the UDM network element sends an authentication response message to the first AMF network element. Among them, if the authentication is successful, the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
示例性地,若发布终端有权限在该PLMN标识对应的PLMN中使用PC5通信,则UDM网元可以向第一AMF网元发送授权信息。否则,UDM网元可以向第一AMF网元发送鉴权失败指示。Exemplarily, if the publishing terminal has the authority to use PC5 communication in the PLMN corresponding to the PLMN identity, the UDM network element may send authorization information to the first AMF network element. Otherwise, the UDM network element may send an authentication failure indication to the first AMF network element.
需要说明的是,如果第一AMF网元已经获知发布终端有权限在当前PLMN下使用PC5通信,则第一PCF网元也可以不向UDM网元发起上述鉴权请求。也就是说,S605为可选步骤。It should be noted that if the first AMF network element has learned that the publishing terminal has the authority to use PC5 communication under the current PLMN, the first PCF network element may not initiate the aforementioned authentication request to the UDM network element. In other words, S605 is an optional step.
若发布终端鉴权成功,或第一AMF网元已经获知发布终端有权限在当前PLMN下使用PC5通信,则可以继续执行下述S606-S609:If the publishing terminal is successfully authenticated, or the first AMF network element has learned that the publishing terminal has the authority to use PC5 communication under the current PLMN, the following S606-S609 can be continued:
S606,第一AMF网元向UDR网元发送第一发现请求消息。相应地,UDR网元从第一AMF网元接收第一发现请求消息。S606: The first AMF network element sends a first discovery request message to the UDR network element. Correspondingly, the UDR network element receives the first discovery request message from the first AMF network element.
其中,第一发现请求消息的具体实现方式可以参考S604,此处不再赘述。For the specific implementation of the first discovery request message, refer to S604, which will not be repeated here.
S607,UDR网元向第一AMF网元发送第一发现响应消息。相应地,第一AMF网元从UDR网元接收第一发现响应消息。S607: The UDR network element sends a first discovery response message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery response message from the UDR network element.
在一种可能的设计方法中,在S606中,第一AMF网元可以向UDR网元订阅发现参数创建、更新或删除请求,该请求消息中携带应用标识。当UDR网元在S606接收到ProSe网元与应用标识对应的发现参数创建、更新或删除请求后,UDR网元可以在S607中向第一AMF网元发送ProSe网元创建、更新或删除的应用标识与发现参数的对应关系。由此,第一AMF网元不需要每次接收到第一请求消息时,都去向UDR网元发送请求消息,以节省信令开销。In a possible design method, in S606, the first AMF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request, and the request message carries the application identifier. After the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S606, the UDR network element can send the ProSe network element creation, update, or deletion application to the first AMF network element in S607 The corresponding relationship between the identification and the discovery parameter. Therefore, the first AMF network element does not need to send the request message to the UDR network element every time it receives the first request message, so as to save signaling overhead.
S608,第一AMF网元向发布终端发送第一发现响应消息。相应地,发布终端从第一AMF网元接收第一发现响应消息。S608: The first AMF network element sends a first discovery response message to the publishing terminal. Correspondingly, the issuing terminal receives the first discovery response message from the first AMF network element.
其中,第一发现响应消息携带发布参数,如ProSe发现密钥参数。可选地,第一发现响应消息还可以携带发布参数的有效期。其中,发布参数用于发布终端发布ProSe通信请求。Among them, the first discovery response message carries publishing parameters, such as ProSe discovery key parameters. Optionally, the first discovery response message may also carry the validity period of the published parameter. Among them, the release parameter is used to release the ProSe communication request issued by the terminal.
可选地,第一发现响应消息可以为发现密钥响应消息。Optionally, the first discovery response message may be a discovery key response message.
S609,发布终端根据发布参数,发布ProSe通信请求。S609: The publishing terminal publishes the ProSe communication request according to the publishing parameters.
示例性地,发布终端可以向接入网网元申请空口资源,并在该空口资源上广播ProSe通信请求消息。其中,ProSe通信请求消息携带上述发布参数。Exemplarily, the publishing terminal may apply for air interface resources from the network element of the access network, and broadcast the ProSe communication request message on the air interface resources. Wherein, the ProSe communication request message carries the foregoing publishing parameters.
结合图4,如图6所示,针对监听终端发起的发现请求,如第二发现请求消息,上述S403-S406可以具体实现为S610-S615:With reference to Figure 4, as shown in Figure 6, for the discovery request initiated by the monitoring terminal, such as the second discovery request message, the above S403-S406 can be specifically implemented as S610-S615:
S610,监听终端向第二AMF网元发送第二发现请求消息。相应地,第二AMF网元从监听终端接收第二发现请求消息。S610: The monitoring terminal sends a second discovery request message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery request message from the monitoring terminal.
其中,第二发现请求消息携带应用标识,如APP ID。可选地,第二发现请求消息还可以携带监听终端的标识、发现模式、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数,如ProSe发现匹配参数。Among them, the second discovery request message carries an application identifier, such as APP ID. Optionally, the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication. Wherein, the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
可选地,第二请求指示可以显式地携带在第二发现请求消息中。或者,可选地,第二发现请求消息可以为发现匹配参数请求消息,即可以使用消息名称隐式地携带第二请求指示。Optionally, the second request indication may be explicitly carried in the second discovery request message. Or, optionally, the second discovery request message may be a matching parameter discovery request message, that is, the message name may be used to implicitly carry the second request indication.
S611,第二AMF网元与UDM网元交互,完成监听终端的鉴权。S611: The second AMF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
示例性地,第二AMF网元向UDM网元发送鉴权请求消息。其中,鉴权请求消息可以携带监听终端的标识、监听终端所在的PLMN标识等。相应地,UDM网元向第二AMF网元发送鉴权响应消息。其中,若鉴权成功,则鉴权响应消息可以携带授权信息,若鉴权失败,则鉴权响应消息可以携带鉴权失败指示。Exemplarily, the second AMF network element sends an authentication request message to the UDM network element. Among them, the authentication request message may carry the identity of the monitoring terminal, the identity of the PLMN where the monitoring terminal is located, and so on. Correspondingly, the UDM network element sends an authentication response message to the second AMF network element. Among them, if the authentication is successful, the authentication response message may carry authorization information, and if the authentication fails, the authentication response message may carry an authentication failure indication.
示例性地,若监听终端有权限在该PLMN标识对应的PLMN中使用PC5通信,则UDM网元可以向第二AMF网元发送授权信息。否则,UDM网元可以向第二AMF网元发送鉴权失败指示。Exemplarily, if the monitoring terminal has the authority to use PC5 communication in the PLMN corresponding to the PLMN identifier, the UDM network element may send authorization information to the second AMF network element. Otherwise, the UDM network element may send an authentication failure indication to the second AMF network element.
需要说明的是,如果第二AMF网元已经获知监听终端有权限在当前PLMN下使用PC5通信,则第二AMF网元也可以不向UDM网元发起上述鉴权请求。也就是说,S611为可选步骤。It should be noted that if the second AMF network element has learned that the monitoring terminal has the authority to use PC5 communication under the current PLMN, the second AMF network element may not initiate the aforementioned authentication request to the UDM network element. In other words, S611 is an optional step.
若监听终端鉴权成功,或第二AMF网元已经获知监听终端有权限在当前PLMN下使用PC5通信,则可以继续执行下述S612-S615:If the monitoring terminal is successfully authenticated, or the second AMF network element has learned that the monitoring terminal has the authority to use PC5 communication under the current PLMN, the following S612-S615 can be continued:
S612,第二AMF网元向UDR网元发送第二发现请求消息。相应地,UDR网元从第二AMF网元接收第二发现请求消息。S612: The second AMF network element sends a second discovery request message to the UDR network element. Correspondingly, the UDR network element receives the second discovery request message from the second AMF network element.
其中,第二发现请求消息的具体实现方式可以参考S610,此处不再赘述。For the specific implementation of the second discovery request message, refer to S610, which will not be repeated here.
S613,UDR网元向第二AMF网元发送第二发现响应消息。相应地,第二AMF网元从UDR网元接收第二发现响应消息。S613: The UDR network element sends a second discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery response message from the UDR network element.
在一种可能的设计方法中,在S612中,第二AMF网元可以向UDR网元订阅发现参数创建、更新或删除请求,该请求消息中携带应用标识。当UDR网元在S612接收到ProSe网元与应用标识对应的发现参数创建、更新或删除请求后,UDR网元可以在S613中向第二AMF网元发送ProSe网元创建、更新或删除的应用标识与发现参数的对应关系。由此,第二AMF网元不需要每次接收到第二请求消息时,都去向UDR网元发送请求消息,以节省信令开销。In a possible design method, in S612, the second AMF network element may subscribe to the UDR network element a discovery parameter creation, update, or deletion request, and the request message carries the application identifier. After the UDR network element receives the discovery parameter creation, update, or deletion request corresponding to the ProSe network element and the application identifier in S612, the UDR network element can send the ProSe network element creation, update or deletion application to the second AMF network element in S613 The corresponding relationship between the identification and the discovery parameter. Therefore, the second AMF network element does not need to send the request message to the UDR network element every time it receives the second request message, so as to save signaling overhead.
S614,第二AMF网元向监听终端发送第二发现响应消息。相应地,监听终端从第二AMF网元接收第二发现响应消息。S614: The second AMF network element sends a second discovery response message to the monitoring terminal. Correspondingly, the monitoring terminal receives the second discovery response message from the second AMF network element.
其中,第二发现响应消息携带监听参数。可选地,第二发现响应消息还可以携带监听参数的有效期。其中,监听参数用于监听终端监听其他终端,如上述发布终端发布的ProSe通信请求。Wherein, the second discovery response message carries monitoring parameters. Optionally, the second discovery response message may also carry the validity period of the monitoring parameter. Among them, the monitoring parameter is used for the monitoring terminal to monitor other terminals, such as the ProSe communication request issued by the above-mentioned publishing terminal.
可选地,第二发现响应消息可以为发现匹配参数响应消息。Optionally, the second discovery response message may be a discovery matching parameter response message.
S615,监听终端根据监听参数,监听ProSe通信请求。S615: The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
示例性地,监听终端可以向其接入的接入网网元申请空口资源,并在该空口资源上,使用监听参数监听其他终端发布的ProSe通信请求消息,如监听上述发布终端发布的ProSe通信请求。例如,若监听到监听参数与发布参数匹配,则视为存在ProSe服务请求,否则,视为不存在ProSe服务请求。Exemplarily, the monitoring terminal can apply for air interface resources from the access network element to which it accesses, and on the air interface resources, use monitoring parameters to monitor ProSe communication request messages issued by other terminals, such as monitoring the ProSe communication issued by the above-mentioned publishing terminal. request. For example, if it is monitored that the monitoring parameters match the publishing parameters, it is deemed that there is a ProSe service request; otherwise, it is deemed that there is no ProSe service request.
需要说明的是,上述针对监听终端的操作步骤S610-S615,可以在执行针对发布终端的操作步骤S604-S609之后或之前执行,也可以在同一段时间内交叉执行,本申请实施例对此不做具体限定。It should be noted that the above-mentioned operation steps S610-S615 for the monitoring terminal can be executed after or before the operation steps S604-S609 for the publishing terminal are executed, or they can be executed interleaved within the same period of time. This is not the case in the embodiment of this application. Make specific restrictions.
此外,对照图6和图5可以得知,图6所示的通信方法与图5所示的通信方法的区别在于:在图5所示的通信方法中由第一PCF网元执行的步骤,在图6所示的通信方法中改由第一AMF网元执行,且在图5所示的通信方法中有第二PCF网元执行的步骤,在图6所示的通信方法中改由第二AMF网元执行。In addition, comparing Fig. 6 and Fig. 5, it can be known that the difference between the communication method shown in Fig. 6 and the communication method shown in Fig. 5 lies in the steps performed by the first PCF network element in the communication method shown in Fig. 5, In the communication method shown in FIG. 6, the first AMF network element executes instead, and in the communication method shown in FIG. 5, there are steps executed by the second PCF network element. In the communication method shown in FIG. 6, the first AMF network element executes. 2. AMF network element execution.
基于图4-图6中任一项所示的通信方法,第一网元可以根据终端提供的应用标识,请求第二网元配置与该应用标识对应的发现参数,如第二网元可以根据发布终端提供的应用标识为发布终端配置发布参数,并根据监听终端提供的同一应用标识为监听终端配置监听参数,即发布参数和监听参数均是与同一应用标识对应的,可以解决发布参数和监听参数由不同的网元配置所导致的不匹配问题,可以提高发现阶段的成功率,从而提高邻近服务的可靠性。Based on the communication method shown in any one of Figures 4 to 6, the first network element can request the second network element to configure discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal. For example, the second network element can The application identifier provided by the publishing terminal configures the publishing parameters for the publishing terminal, and configures the monitoring parameters for the monitoring terminal according to the same application identifier provided by the monitoring terminal, that is, the publishing parameters and monitoring parameters correspond to the same application identifier, which can solve the publishing parameters and monitoring The problem of parameter mismatch caused by different network element configurations can increase the success rate of the discovery phase, thereby improving the reliability of proximity services.
进一步地,参考图4-图6中任一项所示的通信方法,若第二网元,如UDR网元中不存在与终端提供的应用标识对应的发现参数时,如该应用标识对应的邻近服务为新上线的邻近服务,或已做调整,因而原有发现参数不再适用的邻近服务,或应用标识与发现参数的对应关系由于误操作等原因已被删除的邻近服务,也可以执行如下图7-图9中任一项所示的通信方法。下面详细说明。Further, referring to the communication method shown in any one of Figures 4 to 6, if the second network element, such as the UDR network element, does not have a discovery parameter corresponding to the application identifier provided by the terminal, such as the application identifier corresponding to The proximity service is a newly launched proximity service, or has been adjusted, so the original discovery parameter is no longer applicable to the proximity service, or the corresponding relationship between the application identifier and the discovery parameter has been deleted due to misoperation, etc., can also be executed The communication method shown in any one of Figures 7-9 below. The details are described below.
图7为本申请实施例提供的通信方法的流程示意图四。该通信方法可以适用于图1或图2所示的不同网元之间的ProSe发现阶段的通信,以便为不同终端之间的ProSe通信配置发现参数,如为发布终端配置发布参数、为监听终端配置监听参数。FIG. 7 is a fourth flowchart of a communication method provided by an embodiment of this application. This communication method can be applied to the communication in the ProSe discovery phase between different network elements shown in Figure 1 or Figure 2, so as to configure discovery parameters for ProSe communication between different terminals, such as configuring publishing parameters for publishing terminals and monitoring terminals Configure monitoring parameters.
下面以终端,以及图1所示的第一网元、第二网元和第三网元为例,详细说明图7所示的通信方法。如图7所示,该通信方法包括如下S701-S708:The following takes the terminal, and the first network element, the second network element, and the third network element shown in FIG. 1 as examples, to describe the communication method shown in FIG. 7 in detail. As shown in Figure 7, the communication method includes the following S701-S708:
S701,第三网元获取应用标识。S701: The third network element obtains an application identifier.
S702,第三网元向第二网元发送应用标识和发现参数的对应关系。相应地,第二网元从第三网元接收应用标识与发现参数的对应关系。S702: The third network element sends the corresponding relationship between the application identifier and the discovery parameter to the second network element. Correspondingly, the second network element receives the correspondence between the application identifier and the discovery parameter from the third network element.
在一种可能的设计方法中,图7所示的通信方法还可以包括:第三网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。相应地,第二网元从第三网元接收与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。In a possible design method, the communication method shown in FIG. 7 may further include: the third network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, and/or authorized The identification of the ProSe terminal that uses the ProSe corresponding to the application identification. Correspondingly, the second network element receives from the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identification, and/or the identification of the terminal that is authorized to use the proximity service ProSe corresponding to the application identification.
进一步地,图7所示的通信方法还可以包括:第三网元确定发现参数的有效时间。Further, the communication method shown in FIG. 7 may further include: the third network element determines the effective time of the discovery parameter.
S703,终端向第一网元发送应用标识。相应地,第一网元从终端接收应用标识。S703: The terminal sends an application identifier to the first network element. Correspondingly, the first network element receives the application identifier from the terminal.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,图7所示的通信方法还可以包括:发布终端向第一网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。相应地,第一网元从发布终端接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。例如,第一请求指示可以为如下操作指示:command=annouce。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method shown in FIG. 7 may further include: the issuing terminal sends to the first network element one of the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identity of the issuing terminal, or the first request indication Or multiple. Correspondingly, the first network element receives one or more of the discovery mode, the identification of the publishing terminal, and the first request indication from the publishing terminal. Wherein, the first request indication is used to request to publish parameters. For example, the first request instruction may be the following operation instruction: command=annouce.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,图7所示的通信方法还可以包括:监听终端向第一网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。相应地,第一网元从监听终端接收发现模式、监听终端的标识、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。例如,第一请求指示可以为如下操作指示:command=monitor。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method shown in FIG. 7 may further include: the monitoring terminal sends to the first network element one of the discovery mode that the ProSe corresponding to the application identifier can use, the identifier of the monitoring terminal, or the second request indication. Or multiple. Correspondingly, the first network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the monitoring terminal. Wherein, the second request indication is used to request monitoring parameters. For example, the first request instruction may be the following operation instruction: command=monitor.
S704,第一网元向第二网元发送应用标识。相应地,第二网元从第一网元接收应用标识。S704: The first network element sends the application identifier to the second network element. Correspondingly, the second network element receives the application identifier from the first network element.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,图7所示的通信方法还可以包括:第一网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。相应地,第二网元从第一网元接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method shown in FIG. 7 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request indication. One or more. Correspondingly, the second network element receives one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,图7所示的通信方法还可以包括:第一网元向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。相应地,第二网元从第一网元接收发现模式、监听终端的标识、第二请求指示中的一项或多项;第二请求指示用于请求监听参数。其中,第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method shown in FIG. 7 may further include: the first network element sends to the second network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. One or more. Correspondingly, the second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used for requesting monitoring parameters. Wherein, the second request indication is used to request monitoring parameters.
上述S701-S704的具体实现方式,可以参考上述S401-S404中的相关内容,此处不再赘述。For the specific implementation of the foregoing S701-S704, reference may be made to the relevant content in the foregoing S401-S404, which will not be repeated here.
S705,第一网元获知第二网元中没有与应用标识对应的发现参数。S705: The first network element learns that there is no discovery parameter corresponding to the application identifier in the second network element.
示例性地,第一网元可以从第二网元处获知第二网元中没有与应用标识对应的发现参数。例如,该应用标识对应的邻近服务是新上线的,或是已下线的,或是已调整过,且未更新对应的发现参数的,则第二网元中可能不存在与应用标识对应的发现参数。此时,第一网元也可以向第三网元发送应用标识,请求第三网元配置对应的发现参数,即可以执行如下S706-S708:Exemplarily, the first network element may learn from the second network element that there is no discovery parameter corresponding to the application identifier in the second network element. For example, if the proximity service corresponding to the application identifier is newly online, offline, or adjusted, and the corresponding discovery parameter has not been updated, there may not be a second network element corresponding to the application identifier Found parameters. At this time, the first network element may also send the application identifier to the third network element, requesting the third network element to configure the corresponding discovery parameters, that is, the following S706-S708 may be performed:
S706,第一网元向第三网元发送应用标识。相应地,第三网元从第一网元接收应用标识。S706: The first network element sends the application identifier to the third network element. Correspondingly, the third network element receives the application identifier from the first network element.
其中,发现参数与应用标识对应。Among them, the discovery parameter corresponds to the application identifier.
在一种可能的设计方法中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,图7所示的通信方法还可以包括:第一网元向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。相应地,第三网元从第一网元接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design method, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the communication method shown in FIG. 7 may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, publishes the terminal identifier, or the first request instruction One or more. Correspondingly, the third network element receives one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计方法中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,图7所示的通信方法还可以包括:第一网元向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。相应地,第三网元从第一网元接收发现模式、监听终端的标识、第二请求指示中的一项或多项;第二请求指示用于请求监听参数。其中,第二请求指示用于请求监听参数。In another possible design method, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the communication method shown in FIG. 7 may further include: the first network element sends to the third network element the discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication. One or more. Correspondingly, the third network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and the second request indication from the first network element; the second request indication is used to request monitoring parameters. Wherein, the second request indication is used to request monitoring parameters.
S707,第三网元向第一网元发送发现参数。相应地,第一网元从第三网元接收发现参数。S707: The third network element sends the discovery parameter to the first network element. Correspondingly, the first network element receives the discovery parameter from the third network element.
其中,发现参数与应用标识对应,即发现参数是由第三网元根据该应用标识生成的。Wherein, the discovery parameter corresponds to the application identifier, that is, the discovery parameter is generated by the third network element according to the application identifier.
可选地,图7的通信方法还可以包括:第三网元生成该发现参数的有效时间,并向第一网元发送发现参数的有效时间。相应地,第一网元从第三网元接收并保存发现参数的有效时间。Optionally, the communication method of FIG. 7 may further include: the third network element generates the effective time of the discovery parameter, and sends the effective time of the discovery parameter to the first network element. Correspondingly, the first network element receives and saves the effective time of the discovery parameter from the third network element.
示例性地,S707可以具体实现为:第三网元向第一网元发送发现响应消息(discovery response)。相应地,第一网元从第三网元接收发现响应消息。其中,发现响应消息携带与应用标识对应的发现参数。其中,发现参数可以包括发布参数或监听参数。可选地,发现响应消息还可以携带发现参数的有效时间。Exemplarily, S707 may be specifically implemented as: the third network element sends a discovery response message (discovery response) to the first network element. Correspondingly, the first network element receives the discovery response message from the third network element. Wherein, the discovery response message carries the discovery parameter corresponding to the application identifier. Among them, the discovery parameters may include publishing parameters or listening parameters. Optionally, the discovery response message may also carry the effective time of the discovery parameter.
进一步地,图7的通信方法还可以包括:第三网元向第二网元发送该应用标识、与该应用标识对应的发现参数及其有效时间。相应地,第二网元从第三网元接收该应用标识、与该应用标识对应的发现参数及其有效时间,以更新第二网元本地存储的应用标识与发现参数的对应关系,如修改对应关系表或配置文件,从而确保第二网元存储的对应关系与当前系统中的邻近服务同步,以提高终端请求发现参数的成功率,从而进一步提高邻近服务的效率。Further, the communication method of FIG. 7 may further include: the third network element sends the application identifier, the discovery parameter corresponding to the application identifier, and the effective time to the second network element. Correspondingly, the second network element receives the application identifier, the discovery parameter corresponding to the application identifier, and the effective time from the third network element to update the correspondence between the application identifier and the discovery parameter stored locally in the second network element, such as modifying The corresponding relationship table or configuration file ensures that the corresponding relationship stored by the second network element is synchronized with the proximity service in the current system, so as to increase the success rate of the terminal requesting to find the parameters, thereby further improving the efficiency of the proximity service.
S708,第一网元向终端发送发现参数。相应地,终端从第一网元接收发现参数。S708: The first network element sends the discovery parameter to the terminal. Correspondingly, the terminal receives the discovery parameter from the first network element.
其中,S708的具体实现可以参考S406,此处不再赘述。Among them, the specific implementation of S708 can refer to S406, which will not be repeated here.
下面结合具体示例,进一步说明图7所示的通信方法。In the following, the communication method shown in FIG. 7 will be further explained in conjunction with specific examples.
图8为图7所示的通信方法的示例一。参考图7和图8,图7中的第一网元可以包括图8中的第一PCF网元和第二PCF网元,图7中的第二网元可以为图8中的UDR网元,图7中的第三网元可以为图8中的ProSe网元,图7中的终端可以包括图8中的发布终端和监听终端。Fig. 8 is an example one of the communication method shown in Fig. 7. Referring to Figures 7 and 8, the first network element in Figure 7 may include the first PCF network element and the second PCF network element in Figure 8, and the second network element in Figure 7 may be the UDR network element in Figure 8. , The third network element in FIG. 7 may be the ProSe network element in FIG. 8, and the terminal in FIG. 7 may include the publishing terminal and the listening terminal in FIG. 8.
结合图7,如图8所示,上述S701可以实现为如下S801-S802:With reference to Figure 7, as shown in Figure 8, the above S701 can be implemented as the following S801-S802:
S801,AF网元向ProSe网元发送应用标识。相应地,ProSe网元从AF网元接收应用标识。S801: The AF network element sends an application identifier to the ProSe network element. Correspondingly, the ProSe network element receives the application identifier from the AF network element.
可选地,ProSe网元还可以从AF网元接收已授权使用该应用标识对应的邻近服务的终端的标识,如已授权使用该应用标识对应的邻近服务的终端的标识列表。Optionally, the ProSe network element may also receive from the AF network element the identifier of the terminal authorized to use the proximity service corresponding to the application identifier, such as the identifier list of the terminal authorized to use the proximity service corresponding to the application identifier.
S802,ProSe网元建立/修改/删除应用标识与发现参数的对应关系。S802: The ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
结合图7,如图8所示,上述S702可以具体实现为S803:With reference to Figure 7, as shown in Figure 8, the above S702 can be specifically implemented as S803:
S803,ProSe网元向UDR网元发送应用标识和发现参数的对应关系。相应地,UDR从ProSe网元接收并存储应用标识与发现参数的对应关系。S803: The ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element. Correspondingly, the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
上述S801-S803的具体实现方式,可以参考上述S501-S503中的相关内容,此处不再赘述。For the specific implementation of the foregoing S801-S803, reference may be made to the relevant content in the foregoing S501-S503, which will not be repeated here.
下面分别针对发布终端和监听终端,详细说明本申请实施例提供的通信方法。The communication methods provided in the embodiments of the present application will be described in detail below for the publishing terminal and the monitoring terminal respectively.
结合图7,如图8所示,针对发布终端发起的发现请求,如第一发现请求消息,上述S703-S708可以具体实现为S804-S811:With reference to Figure 7, as shown in Figure 8, for the discovery request initiated by the publishing terminal, such as the first discovery request message, the above S703-S708 can be specifically implemented as S804-S811:
S804,发布终端经由第一AMF网元向第一PCF网元发送第一发现请求消息。相应地,第一PCF网元经由第一AMF网元从发布终端接收第一发现请求消息。S804: The publishing terminal sends a first discovery request message to the first PCF network element via the first AMF network element. Correspondingly, the first PCF network element receives the first discovery request message from the publishing terminal via the first AMF network element.
其中,第一发现请求消息携带应用标识,如APP ID。可选地,第一发现请求消息还可以携带发布终端的标识、发现模式、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数,如ProSe发现密钥参数。Among them, the first discovery request message carries an application identifier, such as APP ID. Optionally, the first discovery request message may also carry one or more of the identity of the publishing terminal, the discovery mode, and the first request indication. Wherein, the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
S805,第一PCF网元与UDM网元交互,完成发布终端的鉴权。S805: The first PCF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
若发布终端鉴权成功,或发现模式为公开模式,或第一PCF网元已经获知发布终端在当前PLMN下使用该应用标识对应的ProSe服务的权限,则可以继续执行下述S806-S809:If the publishing terminal is successfully authenticated, or the discovery mode is public mode, or the first PCF network element has learned that the publishing terminal has the right to use the ProSe service corresponding to the application identifier under the current PLMN, the following S806-S809 can be continued:
S806,第一PCF网元向UDR网元发送第一发现请求消息。相应地,UDR网元从第一PCF网元接收第一发现请求消息。S806: The first PCF network element sends a first discovery request message to the UDR network element. Correspondingly, the UDR network element receives the first discovery request message from the first PCF network element.
上述S804-S806的具体实现方式可以参考S504-S506,此处不再赘述。For the specific implementation of S804-S806, please refer to S504-S506, which will not be repeated here.
S807,UDR网元向第一PCF网元发送第一指示信息。相应地,第一PCF网元从UDR网元接收第一指示信息。S807: The UDR network element sends first indication information to the first PCF network element. Correspondingly, the first PCF network element receives the first indication information from the UDR network element.
其中,第一指示信息用于指示第二网元中不存在与发布终端提供的应用标识对应的发布参数。The first indication information is used to indicate that there is no publishing parameter corresponding to the application identifier provided by the publishing terminal in the second network element.
S808,第一PCF网元向ProSe网元发送第一发现请求消息。相应地,ProSe网元从第一PCF网元接收第一发现请求消息。S808: The first PCF network element sends a first discovery request message to the ProSe network element. Correspondingly, the ProSe network element receives the first discovery request message from the first PCF network element.
其中,第一发现请求消息的内容可以参考S804,此处不再赘述。For the content of the first discovery request message, refer to S804, which will not be repeated here.
S809,ProSe网元向第一PCF网元发送第一发现响应消息。相应地,第一PCF网元从ProSe网元接收第一发现响应消息。S809: The ProSe network element sends a first discovery response message to the first PCF network element. Correspondingly, the first PCF network element receives the first discovery response message from the ProSe network element.
其中,第一发现响应消息携带发布参数,如ProSe发现密钥参数。可选地,第一发现响应消息还可以携带发布参数的有效期。其中,发布参数用于发布终端发布ProSe通信请求。Among them, the first discovery response message carries publishing parameters, such as ProSe discovery key parameters. Optionally, the first discovery response message may also carry the validity period of the published parameter. Among them, the release parameter is used to release the ProSe communication request issued by the terminal.
可选地,第一发现响应消息可以为发现密钥响应消息。Optionally, the first discovery response message may be a discovery key response message.
S810,第一PCF网元经由第一AMF网元向发布终端发送第一发现响应消息。相应地,发布终端经由第一AMF网元从第一PCF网元接收第一发现响应消息。S810: The first PCF network element sends a first discovery response message to the publishing terminal via the first AMF network element. Correspondingly, the publishing terminal receives the first discovery response message from the first PCF network element via the first AMF network element.
其中,第一发现响应消息的内容可以参考S809,此处不再赘述。For the content of the first discovery response message, refer to S809, which will not be repeated here.
S811,发布终端根据发布参数,发布ProSe通信请求。S811: The publishing terminal publishes the ProSe communication request according to the publishing parameters.
上述S810-S811的具体实现方式,可以参考S508-S509,此处不再赘述。For the specific implementation of S810-S811, please refer to S508-S509, which will not be repeated here.
结合图7,如图8所示,针对监听终端发起的发现请求,如第二发现请求消息,上述S703-S708可以具体实现为S812-S819:With reference to Figure 7, as shown in Figure 8, for the discovery request initiated by the listening terminal, such as the second discovery request message, the above S703-S708 can be specifically implemented as S812-S819:
S812,监听终端经由第二AMF网元向第二PCF网元发送第二发现请求消息。相应地,第二PCF网元经由第二AMF网元从监听终端接收第二发现请求消息。S812: The monitoring terminal sends a second discovery request message to the second PCF network element via the second AMF network element. Correspondingly, the second PCF network element receives the second discovery request message from the listening terminal via the second AMF network element.
其中,第二发现请求消息携带应用标识。可选地,第二发现请求消息还可以携带监听终端的标识、发现模式、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。Wherein, the second discovery request message carries the application identifier. Optionally, the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication. Wherein, the second request indication is used to request monitoring parameters.
S813,第二PCF网元与UDM网元交互,完成监听终端的鉴权。S813: The second PCF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
若监听终端鉴权成功,或发现模式为公开模式,或第二PCF网元已经获知监听终端在当前PLMN下使用该应用标识对应的ProSe服务的权限,则可以继续执行下述S814-S819:If the monitoring terminal is successfully authenticated, or the discovery mode is the public mode, or the second PCF network element has learned that the monitoring terminal has the right to use the ProSe service corresponding to the application identifier under the current PLMN, the following S814-S819 can be continued:
S814,第二PCF网元向UDR网元发送第二发现请求消息。相应地,UDR网元从第二PCF网元接收第二发现请求消息。S814: The second PCF network element sends a second discovery request message to the UDR network element. Correspondingly, the UDR network element receives the second discovery request message from the second PCF network element.
上述S812-S814的具体实现方式可以参考S510-S512,此处不再赘述。For the specific implementation of S812-S814, please refer to S510-S512, which will not be repeated here.
S815,UDR网元向第二PCF网元发送第二指示信息。相应地,第二PCF网元从UDR网元接收第二指示信息。S815: The UDR network element sends second indication information to the second PCF network element. Correspondingly, the second PCF network element receives the second indication information from the UDR network element.
其中,第二指示信息用于指示第二网元中不存在与监听终端提供的应用标识对应的监听参数。The second indication information is used to indicate that there is no monitoring parameter corresponding to the application identifier provided by the monitoring terminal in the second network element.
S816,第二PCF网元向ProSe网元发送第二发现请求消息。相应地,ProSe网元从第二PCF网元接收第二发现请求消息。S816: The second PCF network element sends a second discovery request message to the ProSe network element. Correspondingly, the ProSe network element receives the second discovery request message from the second PCF network element.
其中,第二发现请求消息的内容可以参考S812,此处不再赘述。For the content of the second discovery request message, refer to S812, which will not be repeated here.
S817,ProSe网元向第二PCF网元发送第二发现响应消息。相应地,第二PCF网元从ProSe网元接收第二发现响应消息。S817: The ProSe network element sends a second discovery response message to the second PCF network element. Correspondingly, the second PCF network element receives the second discovery response message from the ProSe network element.
其中,第二发现响应消息携带监听参数。可选地,第二发现响应消息还可以携带监听参数的有效期。其中,监听参数用于监听终端发布ProSe通信请求。Wherein, the second discovery response message carries monitoring parameters. Optionally, the second discovery response message may also carry the validity period of the monitoring parameter. Among them, the monitoring parameter is used to monitor the terminal to issue a ProSe communication request.
可选地,第二发现响应消息可以为发现密钥响应消息。Optionally, the second discovery response message may be a discovery key response message.
S818,第二PCF网元向监听终端发送第二发现响应消息。相应地,监听终端从第二PCF网元接收第二发现响应消息。S818: The second PCF network element sends a second discovery response message to the monitoring terminal. Correspondingly, the monitoring terminal receives the second discovery response message from the second PCF network element.
S819,监听终端根据监听参数,监听ProSe通信请求。S819: The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
上述S818-S819的具体实现方式,可以参考S514-S515,此处不再赘述。For the specific implementation of S818-S819, please refer to S514-S515, which will not be repeated here.
需要说明的是,上述针对监听终端的操作步骤S812-S819,可以在执行针对发布终端的操作步骤S804-S811之后或之前执行,也可以在同一段时间内交叉执行,本申请实施例对此不做具体限定。It should be noted that the above-mentioned operation steps S812-S819 for the monitoring terminal can be executed after or before the operation steps S804-S811 for the publishing terminal are executed, or they can be executed interleaved within the same period of time. Make specific restrictions.
图9为图7所示的通信方法的示例二。参考图7和图9,图7中的第一网元可以包括图9中的第一AMF网元和第二AMF网元,图7中的第二网元可以为图9中的UDR网元,图7中的第三网元可以为图9中的ProSe网元,图7中的终端可以包括图9中的发布终端和监听终端。Fig. 9 is the second example of the communication method shown in Fig. 7. Referring to Figures 7 and 9, the first network element in Figure 7 may include the first AMF network element and the second AMF network element in Figure 9, and the second network element in Figure 7 may be the UDR network element in Figure 9 , The third network element in FIG. 7 may be the ProSe network element in FIG. 9, and the terminal in FIG. 7 may include the publishing terminal and the monitoring terminal in FIG. 9.
结合图7,如图9所示,上述S701可以实现为如下S901-S902:With reference to Figure 7, as shown in Figure 9, the above S701 can be implemented as the following S901-S902:
S901,AF网元向ProSe网元发送应用标识。相应地,ProSe网元从AF网元接收应用标识。S901: The AF network element sends an application identifier to the ProSe network element. Correspondingly, the ProSe network element receives the application identifier from the AF network element.
可选地,ProSe网元还可以从AF网元接收已授权使用该应用标识对应的邻近服务的终端的标识,如已授权使用该应用标识对应的邻近服务的终端的标识列表。Optionally, the ProSe network element may also receive from the AF network element the identifier of the terminal authorized to use the proximity service corresponding to the application identifier, such as the identifier list of the terminal authorized to use the proximity service corresponding to the application identifier.
S902,ProSe网元建立/修改/删除应用标识与发现参数的对应关系。S902: The ProSe network element establishes/modifies/deletes the correspondence between the application identifier and the discovery parameter.
结合图7,如图9所示,上述S702可以具体实现为S903:With reference to Figure 7, as shown in Figure 9, the above S702 can be specifically implemented as S903:
S903,ProSe网元向UDR网元发送应用标识和发现参数的对应关系。相应地,UDR从ProSe网元接收并存储应用标识与发现参数的对应关系。S903: The ProSe network element sends the corresponding relationship between the application identifier and the discovery parameter to the UDR network element. Correspondingly, the UDR receives and stores the correspondence between the application identifier and the discovery parameter from the ProSe network element.
上述S901-S903的具体实现方式,可以参考上述S601-S603中的相关内容,此处不再赘述。For the specific implementation of the foregoing S901-S903, reference may be made to the relevant content in the foregoing S601-S603, which will not be repeated here.
下面分别针对发布终端和监听终端,详细说明本申请实施例提供的通信方法。The communication methods provided in the embodiments of the present application will be described in detail below for the publishing terminal and the monitoring terminal respectively.
结合图7,如图9所示,针对发布终端发起的发现请求,如第一发现请求消息,上述S703-S708可以具体实现为S904-S911:With reference to Figure 7, as shown in Figure 9, for the discovery request initiated by the publishing terminal, such as the first discovery request message, the above S703-S708 can be specifically implemented as S904-S911:
S904,发布终端向第一AMF网元发送第一发现请求消息。相应地,第一AMF网元从发布终端接收第一发现请求消息。S904: The publishing terminal sends a first discovery request message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery request message from the publishing terminal.
其中,第一发现请求消息携带应用标识。可选地,第一发现请求消息还可以携带发布终端的标识、发现模式、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。Wherein, the first discovery request message carries an application identifier. Optionally, the first discovery request message may also carry one or more of the identity of the publishing terminal, the discovery mode, and the first request indication. Wherein, the first request indication is used to request to publish parameters.
S905,第一AMF网元与UDM网元交互,完成发布终端的鉴权。S905: The first AMF network element interacts with the UDM network element to complete the authentication of the publishing terminal.
若发布终端鉴权成功,或发现模式为公开模式,或第一AMF网元已经获知发布终端在当前PLMN下使用该应用标识对应的ProSe服务的权限,则可以继续执行下述S906-S909:If the publishing terminal is successfully authenticated, or the discovery mode is public mode, or the first AMF network element has learned that the publishing terminal has the right to use the ProSe service corresponding to the application identifier under the current PLMN, the following S906-S909 can be continued:
S906,第一AMF网元向UDR网元发送第一发现请求消息。相应地,UDR网元从第一AMF网元接收第一发现请求消息。S906: The first AMF network element sends a first discovery request message to the UDR network element. Correspondingly, the UDR network element receives the first discovery request message from the first AMF network element.
上述S904-S906的具体实现方式可以参考S604-S606,此处不再赘述。For the specific implementation of S904-S906, refer to S604-S606, which will not be repeated here.
S907,UDR网元向第一AMF网元发送第一指示信息。相应地,第一AMF网元从UDR网元接收第一指示信息。S907: The UDR network element sends first indication information to the first AMF network element. Correspondingly, the first AMF network element receives the first indication information from the UDR network element.
其中,第一指示信息用于指示第二网元中不存在与发布终端提供的应用标识对应的发布参数。The first indication information is used to indicate that there is no publishing parameter corresponding to the application identifier provided by the publishing terminal in the second network element.
S908,第一AMF网元向ProSe网元发送第一发现请求消息。相应地,ProSe网元从第一AMF网元接收第一发现请求消息。S908: The first AMF network element sends a first discovery request message to the ProSe network element. Correspondingly, the ProSe network element receives the first discovery request message from the first AMF network element.
其中,第一发现请求消息的内容可以参考S904,此处不再赘述。For the content of the first discovery request message, refer to S904, which will not be repeated here.
S909,ProSe网元向第一AMF网元发送第一发现响应消息。相应地,第一AMF网元从ProSe网元接收第一发现响应消息。S909: The ProSe network element sends a first discovery response message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery response message from the ProSe network element.
其中,第一发现响应消息携带发布参数。可选地,第一发现响应消息还可以携带发布参数的有效期。其中,发布参数用于发布终端发布ProSe通信请求。Among them, the first discovery response message carries publishing parameters. Optionally, the first discovery response message may also carry the validity period of the published parameter. Among them, the release parameter is used to release the ProSe communication request issued by the terminal.
可选地,第一发现响应消息可以为发现密钥响应消息。Optionally, the first discovery response message may be a discovery key response message.
S910,第一AMF网元向发布终端发送第一发现响应消息。相应地,发布终端从 第一AMF网元接收第一发现响应消息。S910: The first AMF network element sends a first discovery response message to the publishing terminal. Correspondingly, the issuing terminal receives the first discovery response message from the first AMF network element.
S911,发布终端根据发布参数,发布ProSe通信请求。S911: The publishing terminal publishes a ProSe communication request according to the publishing parameters.
上述S910-S911的具体实现方式,可以参考S608-S609,此处不再赘述。For the specific implementation of S910-S911, refer to S608-S609, which will not be repeated here.
结合图7,如图9所示,针对监听终端发起的发现请求,如第二发现请求消息,上述S703-S708可以具体实现为S912-S919:With reference to Figure 7, as shown in Figure 9, for the discovery request initiated by the listening terminal, such as the second discovery request message, the above S703-S708 can be specifically implemented as S912-S919:
S912,监听终端向第二AMF网元发送第二发现请求消息。相应地,第二AMF网元从监听终端接收第二发现请求消息。S912. The monitoring terminal sends a second discovery request message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery request message from the monitoring terminal.
其中,第二发现请求消息携带应用标识。可选地,第二发现请求消息还可以携带监听终端的标识、发现模式、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。Wherein, the second discovery request message carries the application identifier. Optionally, the second discovery request message may also carry one or more of the identification of the monitoring terminal, the discovery mode, and the second request indication. Wherein, the second request indication is used to request monitoring parameters.
S913,第二AMF网元与UDM网元交互,完成监听终端的鉴权。S913: The second AMF network element interacts with the UDM network element to complete the authentication of the monitoring terminal.
若监听终端鉴权成功,或发现模式为公开模式,或第二AMF网元已经获知监听终端在当前PLMN下使用该应用标识对应的ProSe服务的权限,则可以继续执行下述S914-S919:If the monitoring terminal is successfully authenticated, or the discovery mode is public mode, or the second AMF network element has learned that the monitoring terminal has the right to use the ProSe service corresponding to the application identifier under the current PLMN, the following S914-S919 can be continued:
S914,第二AMF网元向UDR网元发送第二发现请求消息。相应地,UDR网元从第二AMF网元接收第二发现请求消息。S914: The second AMF network element sends a second discovery request message to the UDR network element. Correspondingly, the UDR network element receives the second discovery request message from the second AMF network element.
上述S912-S914的具体实现方式可以参考S610-S612,此处不再赘述。For the specific implementation of S912-S914, refer to S610-S612, which will not be repeated here.
S915,UDR网元向第二AMF网元发送第二指示信息。相应地,第二AMF网元从UDR网元接收第二指示信息。S915: The UDR network element sends second indication information to the second AMF network element. Correspondingly, the second AMF network element receives the second indication information from the UDR network element.
其中,第二指示信息用于指示第二网元中不存在与监听终端提供的应用标识对应的监听参数。The second indication information is used to indicate that there is no monitoring parameter corresponding to the application identifier provided by the monitoring terminal in the second network element.
S916,第二AMF网元向ProSe网元发送第二发现请求消息。相应地,ProSe网元从第二AMF网元接收第二发现请求消息。S916: The second AMF network element sends a second discovery request message to the ProSe network element. Correspondingly, the ProSe network element receives the second discovery request message from the second AMF network element.
其中,第二发现请求消息的内容可以参考S912,此处不再赘述。For the content of the second discovery request message, refer to S912, which will not be repeated here.
S917,ProSe网元向第二AMF网元发送第二发现响应消息。相应地,第二AMF网元从ProSe网元接收第二发现响应消息。S917: The ProSe network element sends a second discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery response message from the ProSe network element.
其中,第二发现响应消息携带监听参数。可选地,第二发现响应消息还可以携带监听参数的有效期。其中,监听参数用于监听终端发布ProSe通信请求。Wherein, the second discovery response message carries monitoring parameters. Optionally, the second discovery response message may also carry the validity period of the monitoring parameter. Among them, the monitoring parameter is used to monitor the terminal to issue a ProSe communication request.
可选地,第二发现响应消息可以为发现密钥响应消息。Optionally, the second discovery response message may be a discovery key response message.
S918,第二AMF网元向监听终端发送第二发现响应消息。相应地,监听终端从第二AMF网元接收第二发现响应消息。S918: The second AMF network element sends a second discovery response message to the monitoring terminal. Correspondingly, the monitoring terminal receives the second discovery response message from the second AMF network element.
S919,监听终端根据监听参数,监听ProSe通信请求。S919: The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
上述S918-S919的具体实现方式,可以参考S614-S615,此处不再赘述。For the specific implementation of S918-S919, please refer to S614-S615, which will not be repeated here.
要说明的是,上述针对监听终端的操作步骤S912-S919,可以在执行针对发布终端的操作步骤S904-S911之后或之前执行,也可以在同一段时间内交叉执行,本申请实施例对此不做具体限定。It should be noted that the above-mentioned operation steps S912-S919 for the monitoring terminal can be executed after or before the operation steps S904-S911 for the publishing terminal are executed, or they can be executed interleaved within the same period of time. This is not the case in the embodiment of this application. Make specific restrictions.
此外,对照图9和图8可以得知,图9所示的通信方法与图8所示的通信方法的区别在于:在图8所示的通信方法中由第一PCF网元执行的步骤,在图9所示的通信方法中改由第一AMF网元执行,且在图8所示的通信方法中有第二PCF网元执行的 步骤,在图9所示的通信方法中改由第二AMF网元执行。In addition, comparing Fig. 9 and Fig. 8 it can be known that the difference between the communication method shown in Fig. 9 and the communication method shown in Fig. 8 lies in the steps performed by the first PCF network element in the communication method shown in Fig. 8, In the communication method shown in FIG. 9, the first AMF network element executes instead, and in the communication method shown in FIG. 8, there are steps executed by the second PCF network element. In the communication method shown in FIG. 2. AMF network element execution.
基于图7-图9中任一项所示的通信方法,第一网元可以根据终端提供的应用标识,请求第二网元配置与该应用标识对应的发现参数,倘若第二网元中没有与该应用标识对应的发现参数,则第一网元可以向第三网元发送该应用标识,请求第三网元配置与该应用标识对应的发现参数,如第三网元可以根据发布终端提供的应用标识为发布终端配置发布参数,并根据监听终端提供的同一应用标识为监听终端配置监听参数,即发布参数和监听参数均是与同一应用标识对应的,可以解决发布参数和监听参数由不同的网元配置所导致的不匹配问题,可以提高发现阶段的成功率,从而提高邻近服务的可靠性。Based on the communication method shown in any one of Figures 7-9, the first network element can request the second network element to configure the discovery parameters corresponding to the application identifier according to the application identifier provided by the terminal. The first network element may send the application identifier to the third network element and request the third network element to configure the discovery parameter corresponding to the application identifier. For example, the third network element may provide the discovery parameter corresponding to the application identifier. The application identifier of the application identifier configures the publishing parameters for the publishing terminal, and configures the monitoring parameters for the monitoring terminal according to the same application identifier provided by the monitoring terminal. That is, the publishing parameters and the monitoring parameters correspond to the same application identifier, which can solve the difference between the publishing parameters and the monitoring parameters. The mismatch problem caused by the configuration of the network element can increase the success rate of the discovery phase, thereby improving the reliability of the proximity service.
需要说明的是,在图5-图6,以及图8-图9中任一项所示的通信方法中,发布终端和监听终端可以位于不同PLMN,也可以位于同一个PLMN。进一步地,当发布终端和监听终端位于同一个PLMN时,第一AMF网元和第二AMF网元可以是同一个网元,也可以是不同的网元,同理,在图5或图8所示的通信方法中,当发布终端和监听终端位于同一个PLMN时,第一PCF网元和第二PCF网元可以是同一个网元,也可以是不同的网元。本申请实施例对此不作具体限定。It should be noted that in the communication method shown in any one of FIGS. 5-6 and 8-9, the publishing terminal and the listening terminal may be located in different PLMNs, or they may be located in the same PLMN. Further, when the publishing terminal and the monitoring terminal are located in the same PLMN, the first AMF network element and the second AMF network element may be the same network element or different network elements. Similarly, in Figure 5 or Figure 8 In the communication method shown, when the publishing terminal and the monitoring terminal are located in the same PLMN, the first PCF network element and the second PCF network element may be the same network element or different network elements. The embodiments of the present application do not specifically limit this.
再进一步地,参考图4-图9中任一项所示的通信方法所涉及的对应关系,均是以一个发布终端为例说明的。在实际应用中,同一应用标识也可以对应多个发布终端,即可能存在多个发布终端同时发布同一应用的ProSe通信请求的情况。此时,对于某一个监听终端,可以同时监听该多个发布终端发布的ProSe通信请求,并从监听到的发布终端中选择一个建立ProSe通信。相应地,除上述应用标识与发现参数的对应关系外,上述对应关系还可以包括该应用标识对应的应用中的已授权用户标识与发现参数的对应关系。应理解,当发布终端为多个时,已授权用户标识也为多个,且该多个已授权用户标识与多个发布终端一一对应。下面结合示例具体说明。Furthermore, referring to the correspondences involved in the communication methods shown in any one of FIGS. 4-9, a publishing terminal is used as an example for description. In practical applications, the same application identifier may also correspond to multiple publishing terminals, that is, there may be a situation where multiple publishing terminals simultaneously publish ProSe communication requests of the same application. At this time, for a certain monitoring terminal, it is possible to simultaneously monitor the ProSe communication requests issued by the multiple publishing terminals, and select one of the monitored publishing terminals to establish ProSe communication. Correspondingly, in addition to the above-mentioned corresponding relationship between the application identifier and the discovery parameter, the above-mentioned corresponding relationship may also include the corresponding relationship between the authorized user identifier and the discovery parameter in the application corresponding to the application identifier. It should be understood that when there are multiple issuing terminals, there are also multiple authorized user identities, and the multiple authorized user identities have a one-to-one correspondence with the multiple issuing terminals. The following is a specific description with examples.
图10为图4所示的通信方法的示例三。参考图4,如图10所示,图4中的第一网元可以包括图10中的第一AMF网元和第二AMF网元,图4中的第二网元可以为图10中的UDR网元或UDM网元,图4中的第三网元可以为图10中的第一ProSe网元,图4中的终端可以包括图10中的发布终端和监听终端。可选地,图4中的第三网元还可以包括图10中的第二ProSe网元。下面结合图6所示的通信方法,详细说明图10所示的通信方法。Fig. 10 is the third example of the communication method shown in Fig. 4. Referring to FIG. 4, as shown in FIG. 10, the first network element in FIG. 4 may include the first AMF network element and the second AMF network element in FIG. 10, and the second network element in FIG. 4 may be the one in FIG. UDR network element or UDM network element, the third network element in FIG. 4 may be the first ProSe network element in FIG. 10, and the terminal in FIG. 4 may include the publishing terminal and the listening terminal in FIG. Optionally, the third network element in FIG. 4 may also include the second ProSe network element in FIG. 10. The communication method shown in FIG. 10 will be described in detail below in conjunction with the communication method shown in FIG. 6.
如图10所示,该通信方法可以包括如下步骤:As shown in FIG. 10, the communication method may include the following steps:
S1001,AF网元向UDR网元或UDM网元发送应用标识,以及该应用标识对应的应用中的已授权用户标识。相应地,UDR网元或UDM网元从AF网元接收应用标识,以及该应用标识对应的应用中的已授权用户标识。S1001: The AF network element sends an application identifier and an authorized user identifier in the application corresponding to the application identifier to the UDR network element or UDM network element. Correspondingly, the UDR network element or the UDM network element receives the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
示例性地,该应用标识对应的应用中的已授权用户标识可以为一个,也可以为多个,该一个或多个已授权用户标识可以组成一个用户标识列表。其中,已授权用户标识可以是用户通过发布终端在该应用标识对应的应用中登录的账号、用户名等,也可以是发布终端本身的标识,以区分同一应用中的不同用户或不同的发布终端。Exemplarily, there may be one or more authorized user identifiers in the application corresponding to the application identifier, and the one or more authorized user identifiers may form a user identifier list. Among them, the authorized user ID can be the account number, user name, etc. that the user logs into the application corresponding to the application ID through the publishing terminal, or the identity of the publishing terminal itself, to distinguish different users in the same application or different publishing terminals .
需要说明的是,S1001用于为UDR网元或UDM网元提供应用标识与该应用标识中的已授权用户标识之间的对应关系。应理解,这一对应关系也可以通过其他方式获 得,即S1001为可选步骤,如可以预配置或通过执行下述S1008的方式收集,本申请实施例对此不做具体限定。It should be noted that S1001 is used to provide a correspondence between an application identifier and an authorized user identifier in the application identifier for the UDR network element or UDM network element. It should be understood that this correspondence can also be obtained in other ways, that is, S1001 is an optional step, for example, it can be pre-configured or collected by executing the following S1008, which is not specifically limited in the embodiment of the present application.
可选地,AF网元还可以向第一ProSe网元或第二ProSe网元(如果存在)中的一项或多项发送应用标识,以及该应用标识对应的应用中的已授权用户标识。相应地,第一ProSe网元或第二ProSe网元(如果存在)可以从AF网元接收应用标识,以及该应用标识对应的应用中的已授权用户标识。Optionally, the AF network element may also send an application identifier and an authorized user identifier in the application corresponding to the application identifier to one or more of the first ProSe network element or the second ProSe network element (if present). Correspondingly, the first ProSe network element or the second ProSe network element (if present) can receive the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
其中,AF网元将应用标识和该应用标识对应的应用中的已授权用户标识发送给UDR网元或UDM网元(如果是第三方AF网元则需要通过NEF网元转发)。第一ProSe网元可以通过订阅与获取的方式从UDR网元或UDM网元中获取应用标识信息,而是否获取该应用标识对应的应用中的已授权用户标识作为可选项。其原因在于:若第一ProSe网元也可以在S1008步骤中验证用户标识是否授权,这样的话,也就不需要在第一ProSe网元中保存这些信息。同样的如果存在第二ProSe网元,也执行相同的操作。Among them, the AF network element sends the application identifier and the authorized user identifier in the application corresponding to the application identifier to the UDR network element or UDM network element (if it is a third-party AF network element, it needs to be forwarded through the NEF network element). The first ProSe network element may obtain application identification information from the UDR network element or UDM network element through subscription and acquisition, and whether to obtain the authorized user identification in the application corresponding to the application identification is an optional item. The reason is that if the first ProSe network element can also verify whether the user identity is authorized in step S1008, in this case, there is no need to store this information in the first ProSe network element. Similarly, if there is a second ProSe network element, perform the same operation.
下面分别针对发布终端和监听终端,详细说明图10所示的通信方法。The communication method shown in FIG. 10 will be described in detail below for the publishing terminal and the listening terminal respectively.
如图10所示,针对发布终端发起的发现请求,如第一发现请求消息,图10所示的通信方法还包括S1002-S1008:As shown in Figure 10, for the discovery request initiated by the publishing terminal, such as the first discovery request message, the communication method shown in Figure 10 further includes S1002-S1008:
S1002,发布终端向第一AMF网元发送第一发现请求消息。相应地,第一AMF网元从发布终端接收第一发现请求消息。S1002. The publishing terminal sends a first discovery request message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery request message from the publishing terminal.
其中,第一发现请求消息携带应用标识,如APP ID,以及发布终端在该应用标识对应的应用中的用户标识(应用层面的用户标识和/或核心网网元可识别的用户标识)。可选地,第一发现请求消息还可以携带发现模式、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数,如ProSe发现密钥参数。Wherein, the first discovery request message carries an application identifier, such as an APP ID, and a user identifier of the publishing terminal in the application corresponding to the application identifier (application-level user identifier and/or user identifier identifiable by the core network element). Optionally, the first discovery request message may also carry one or more of the discovery mode and the first request indication. Wherein, the first request indication is used to request to publish parameters, such as ProSe discovery key parameters.
可选地,第一请求指示可以显式地携带在第一发现请求消息中,如占用第一发现请求消息中的1比特(bit)的指示字段。或者,可选地,第一发现请求消息可以为发现密钥请求消息,即可以使用消息名称隐式地携带第一请求指示。或者,可选的,第一发现请求消息可以作为非接入层(non-access stratum,NAS)消息的一部分,例如,作为NAS消息中容器(container)的一部分由发布终端发送给第一AMF网元。Optionally, the first request indication may be explicitly carried in the first discovery request message, such as occupying a 1-bit indication field in the first discovery request message. Or, optionally, the first discovery request message may be a discovery key request message, that is, the message name may be used to implicitly carry the first request indication. Or, optionally, the first discovery request message may be used as a part of a non-access stratum (NAS) message, for example, as a part of a container (container) in the NAS message sent by the publishing terminal to the first AMF network yuan.
其他关于发现模式和第一请求指示的具体实现,可以参考上述S604中的相关内容,此处不再赘述。For other specific implementations of the discovery mode and the first request indication, please refer to the relevant content in the above S604, which will not be repeated here.
S1003,第一AMF网元向第一ProSe网元发送第一发现请求消息。相应地,第一ProSe网元从第一AMF网元接收第一发现请求消息。S1003. The first AMF network element sends a first discovery request message to the first ProSe network element. Correspondingly, the first ProSe network element receives the first discovery request message from the first AMF network element.
其中,第一发现请求消息的具体实现方式可以参考S1002,此处不再赘述。For the specific implementation of the first discovery request message, refer to S1002, which will not be repeated here.
S1004,第一ProSe网元与UDR网元或UDM网元交互,完成发布终端的受限模式验证。S1004: The first ProSe network element interacts with the UDR network element or UDM network element to complete the restricted mode verification of the publishing terminal.
示例性地,第一ProSe网元可以向UDR网元或UDM网元发送受限模式验证请求消息。其中,受限模式验证请求消息可以携带应用标识和发布终端在该应用标识对应的应用中的用户标识。相应地,UDR网元或UDM网元可以向第一ProSe网元发送受限模式验证响应消息。其中,受限模式验证响应消息可以携带受限模式验证结果指示信息,该指示信息用于指示发布终端是否有权限使用该应用标识对应的应用进行ProSe 通信。Exemplarily, the first ProSe network element may send a restricted mode verification request message to the UDR network element or the UDM network element. Wherein, the restricted mode verification request message may carry the application identification and the user identification of the publishing terminal in the application corresponding to the application identification. Correspondingly, the UDR network element or the UDM network element may send a restricted mode verification response message to the first ProSe network element. The restricted mode verification response message may carry restricted mode verification result indication information, which is used to indicate whether the publishing terminal has the authority to use the application corresponding to the application identifier to perform ProSe communication.
例如,若上述应用标识对应的应用中的已授权用户标识列表中存在发布终端的用户标识,则可以视为受限模式验证成功,否则视为受限模式验证失败。For example, if the user identification of the publishing terminal exists in the authorized user identification list in the application corresponding to the above application identification, it can be deemed that the restricted mode verification is successful, otherwise it is deemed that the restricted mode verification has failed.
需要说明的是,如果第一ProSe网元已经获知发布终端有权限使用该应用标识对应的应用进行ProSe通信,则第一ProSe网元也可以不向UDR网元或UDM网元发起受限模式验证请求。也就是说,S1004为可选步骤。It should be noted that if the first ProSe network element has learned that the publishing terminal has the authority to use the application corresponding to the application identifier for ProSe communication, the first ProSe network element may not initiate restricted mode verification to the UDR network element or UDM network element. request. In other words, S1004 is an optional step.
若发布终端受限模式验证成功,或第一ProSe网元已经获知发布终端有权限使用该应用标识对应的应用进行ProSe通信,则可以继续执行下述S1005-S1008:If the publishing terminal restricted mode verification is successful, or the first ProSe network element has learned that the publishing terminal has the authority to use the application corresponding to the application identifier to perform ProSe communication, the following S1005-S1008 can be continued:
S1005,第一ProSe网元向第一AMF网元发送第一发现响应消息。相应地,第一AMF网元从第一ProSe网元接收第一发现响应消息。S1005: The first ProSe network element sends a first discovery response message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery response message from the first ProSe network element.
S1006,第一AMF网元向发布终端发送第一发现响应消息。相应地,发布终端从第一AMF网元接收第一发现响应消息。S1006: The first AMF network element sends a first discovery response message to the publishing terminal. Correspondingly, the issuing terminal receives the first discovery response message from the first AMF network element.
其中,第一发现响应消息可以携带发布参数。其中,该发布参数与第一发现请求消息携带的应用标识对应,发布参数可以为ProSe发现密钥参数。Among them, the first discovery response message may carry publishing parameters. Wherein, the release parameter corresponds to the application identifier carried in the first discovery request message, and the release parameter may be a ProSe discovery key parameter.
可选地,第一发现响应消息还可以携带发布参数的有效期。Optionally, the first discovery response message may also carry the validity period of the published parameter.
S1007,发布终端根据发布参数,发布ProSe通信请求。S1007: The publishing terminal publishes the ProSe communication request according to the publishing parameters.
S1008,第一ProSe网元向UDR网元或UDM网元发送应用标识、发布终端在该应用标识对应的应用中的用户标识与发布参数的对应关系。相应地,UDR网元或UDM网元从第一ProSe网元接收并存储应用标识、发布终端在该应用标识对应的应用中的用户标识与发布参数的对应关系。S1008: The first ProSe network element sends the application identifier to the UDR network element or the UDM network element, and publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier and the publishing parameter. Correspondingly, the UDR network element or the UDM network element receives and stores the application identifier from the first ProSe network element, and publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier and the publishing parameter.
可选的,该对应关系还可以包括发布参数的有效时间。Optionally, the corresponding relationship may also include the effective time of the release parameter.
需要说明的是,上述S1002-S1008可以分别针对多个发布终端重复执行,以收集应用标识、多个发布终端各自在该应用标识对应的应用中的用户标识与发布参数之间的对应关系,且保存在UDR网元或UDM网元中以备用。It should be noted that the above S1002-S1008 can be executed repeatedly for multiple publishing terminals to collect application identifiers, and the corresponding relationships between the user identifiers and publishing parameters of the applications corresponding to the application identifiers of the multiple publishing terminals, and Save it in UDR network element or UDM network element for backup.
此外,S1008可以在执行S1005-S1007之前执行,也可以在执行S1005-S1007之后执行,还可以在执行S1005-S1007的过程中执行,本申请实施例对此不做具体限定。In addition, S1008 may be executed before executing S1005-S1007, may also be executed after executing S1005-S1007, or may be executed during execution of S1005-S1007, which is not specifically limited in the embodiment of the present application.
如图10所示,针对监听终端发起的发现请求,如第二发现请求消息,图10所示的通信方法还可以包括S1009-S1017:As shown in FIG. 10, for the discovery request initiated by the monitoring terminal, such as the second discovery request message, the communication method shown in FIG. 10 may further include S1009-S1017:
S1009,监听终端向第二AMF网元发送第二发现请求消息。相应地,第二AMF网元从监听终端接收第二发现请求消息。S1009. The monitoring terminal sends a second discovery request message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery request message from the monitoring terminal.
其中,第二发现请求消息携带应用标识、发布终端在该应用标识对应的应用中的用户标识、发现模式。Wherein, the second discovery request message carries the application identifier, the user identifier of the publishing terminal in the application corresponding to the application identifier, and the discovery mode.
可选地,第二发现请求消息还可以携带监听终端在该应用标识对应的应用中的用户标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数,如ProSe发现匹配参数。Optionally, the second discovery request message may also carry one or more of the user identification of the monitoring terminal in the application corresponding to the application identification or the second request indication. Wherein, the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
在一种可能的设计方法中,当存在第二ProSe网元时,第一AMF网元可以通过第二ProSe网元向UDR网元或UDM网元请求监听参数,即可以执行如下S1010-S1013:In a possible design method, when there is a second ProSe network element, the first AMF network element can request monitoring parameters from the UDR network element or UDM network element through the second ProSe network element, that is, the following S1010-S1013 can be performed:
S1010,第二AMF网元向第二ProSe网元发送第二发现请求消息。相应地,第二ProSe网元从第二AMF网元接收第二发现请求消息。S1010: The second AMF network element sends a second discovery request message to the second ProSe network element. Correspondingly, the second ProSe network element receives the second discovery request message from the second AMF network element.
其中,第二发现请求消息的具体实现方式可以参考S1009,此处不再赘述。For the specific implementation of the second discovery request message, refer to S1009, which will not be repeated here.
S1011,第二ProSe网元向UDR网元或UDM网元发送第三发现请求消息。相应地,UDR网元或UDM网元从第二ProSe网元接收第三发现请求消息。S1011: The second ProSe network element sends a third discovery request message to the UDR network element or the UDM network element. Correspondingly, the UDR network element or the UDM network element receives the third discovery request message from the second ProSe network element.
其中,第三发现请求消息携带应用标识、发布终端在该应用标识对应的应用中的用户标识、发现模式。Wherein, the third discovery request message carries the application identifier, the user identifier of the publishing terminal in the application corresponding to the application identifier, and the discovery mode.
可选地,第三发现请求消息还可以携带监听终端在该应用标识对应的应用中的用户标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数,如ProSe发现匹配参数。Optionally, the third discovery request message may also carry one or more of the user identification of the monitoring terminal in the application corresponding to the application identification or the second request indication. Wherein, the second request indication is used to request monitoring parameters, such as ProSe finding matching parameters.
上述监听终端在该应用标识对应的应用中的用户标识,用于第二ProSe网元与UDR网元或UDM网元进行交互,以完成监听终端的受限模式验证,即确定监听终端是否有权限使用该应用标识对应的应用进行ProSe通信,具体实现可以参考上述S1004中对发布终端进行受限模式验证的相关内容,此处不再赘述。The user ID of the monitoring terminal in the application corresponding to the application ID is used for the interaction between the second ProSe network element and the UDR network element or UDM network element to complete the restricted mode verification of the monitoring terminal, that is, to determine whether the monitoring terminal has authority Use the application corresponding to the application identifier to perform ProSe communication. For specific implementation, please refer to the related content of performing restricted mode verification on the publishing terminal in S1004, which will not be repeated here.
S1012,UDR网元或UDM网元向第二ProSe网元发送第三发现响应消息。相应地,第二ProSe网元从UDR网元或UDM网元接收第三发现响应消息。S1012: The UDR network element or the UDM network element sends a third discovery response message to the second ProSe network element. Correspondingly, the second ProSe network element receives the third discovery response message from the UDR network element or the UDM network element.
其中,第三发现响应消息携带监听参数。可选地,第三发现响应消息还可以携带监听参数的有效期。其中,监听参数用于监听终端监听其他终端,如上述发布终端发布的ProSe通信请求。Wherein, the third discovery response message carries monitoring parameters. Optionally, the third discovery response message may also carry the validity period of the monitoring parameter. Among them, the monitoring parameter is used for the monitoring terminal to monitor other terminals, such as the ProSe communication request issued by the above-mentioned publishing terminal.
可选地,第三发现响应消息可以为发现匹配参数响应消息。Optionally, the third discovery response message may be a discovery matching parameter response message.
S1013,第二ProSe网元向第二AMF网元发送第二发现响应消息。相应地,第二AMF网元从第二ProSe网元接收第二发现响应消息。S1013: The second ProSe network element sends a second discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery response message from the second ProSe network element.
其中,第二发现响应消息的内容可以参考上述第三发现响应消息,此处不再赘述。可选地,第二发现响应消息可以为发现匹配参数响应消息。For the content of the second discovery response message, reference may be made to the foregoing third discovery response message, which will not be repeated here. Optionally, the second discovery response message may be a discovery matching parameter response message.
在另一种可能的设计方法中,当不存在第二ProSe网元时,第一AMF网元可以直接向UDR网元或UDM网元请求监听参数,即图10所示的通信方法还可以包括S1014-S1015:In another possible design method, when there is no second ProSe network element, the first AMF network element can directly request monitoring parameters from the UDR network element or UDM network element, that is, the communication method shown in FIG. 10 may also include S1014-S1015:
S1014,第二AMF网元向UDR网元或UDM网元发送第二发现请求消息。相应地,UDR网元或UDM网元从第二AMF网元接收第二发现请求消息。S1014: The second AMF network element sends a second discovery request message to the UDR network element or the UDM network element. Correspondingly, the UDR network element or the UDM network element receives the second discovery request message from the second AMF network element.
其中,第二发现请求消息的具体内容可以参考S1009,此处不再赘述。For the specific content of the second discovery request message, refer to S1009, which will not be repeated here.
S1015,UDR网元或UDM网元向第二AMF网元发送第二发现响应消息。相应地,第二AMF网元从UDR网元或UDM网元接收第二发现响应消息。S1015. The UDR network element or the UDM network element sends a second discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery response message from the UDR network element or the UDM network element.
其中,第二发现响应消息的具体实现方式可以参考S1013,此处不再赘述。For the specific implementation of the second discovery response message, refer to S1013, which will not be repeated here.
在第二AMF网元从第二ProSe网元或UDR网元或UDM网元接收第二发现响应消息之后,即可执行下述S1016。After the second AMF network element receives the second discovery response message from the second ProSe network element or UDR network element or UDM network element, the following S1016 may be executed.
S1016,第二AMF网元向监听终端发送第二发现响应消息。相应地,监听终端从第二AMF网元接收第二发现响应消息。S1016: The second AMF network element sends a second discovery response message to the monitoring terminal. Correspondingly, the monitoring terminal receives the second discovery response message from the second AMF network element.
其中,第二发现响应消息的具体实现方式可以参考S1013,此处不再赘述。For the specific implementation of the second discovery response message, refer to S1013, which will not be repeated here.
S1017,监听终端根据监听参数,监听ProSe通信请求。S1017: The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
其中,S1016-S1017的具体实现方式,可以参考S614-S615,此处不再赘述。For the specific implementation of S1016-S1017, please refer to S614-S615, which will not be repeated here.
再进一步地,发现参数生成网元,如图10中所示出的第一ProSe网元,与发现参 数存储网元,如图10中所示出的UDR网元或UDM网元可能属于不同的运营商。在此情况下,出于商业信息保密考虑,发现参数生成网元的归属运营商可能不愿意将生成的发现参数存储在发现参数存储网元中,而是采用下述图11所示的替代方案,即发现参数存储网元中存储如下对应关系:应用标识、该应用标识对应的应用中的已授权用户标识和第一ProSe网元的标识之间的对应关系。Furthermore, the discovery parameter generation network element, the first ProSe network element shown in FIG. 10, and the discovery parameter storage network element, the UDR network element or UDM network element shown in FIG. 10 may belong to different Operator. In this case, for the sake of confidentiality of commercial information, the home operator of the discovery parameter generation network element may not be willing to store the generated discovery parameters in the discovery parameter storage network element, and instead adopts the alternative scheme shown in Figure 11 below. That is, the following correspondence relationship is stored in the discovery parameter storage network element: the application identifier, the correspondence relationship between the authorized user identifier in the application corresponding to the application identifier, and the identifier of the first ProSe network element.
图11为图7所示的通信方法的示例三。参考图7和图11,图7中的第一网元可以包括图11中的第一AMF网元和第二AMF网元,图7中的第二网元可以为图11中的UDR网元或UDM网元,图7中的第三网元可以为图11中的第一ProSe网元,图7中的终端可以包括图11中的发布终端和监听终端。可选地,图7中的第三网元还可以包括图11中的第二ProSe网元,且第二ProSe网元与第一ProSe网元归属不同的运营商。下面结合图10,详细说明图11所示的通信方法。FIG. 11 is the third example of the communication method shown in FIG. 7. Referring to FIGS. 7 and 11, the first network element in FIG. 7 may include the first AMF network element and the second AMF network element in FIG. 11, and the second network element in FIG. 7 may be the UDR network element in FIG. 11 Or UDM network element, the third network element in FIG. 7 may be the first ProSe network element in FIG. 11, and the terminal in FIG. 7 may include the publishing terminal and the listening terminal in FIG. Optionally, the third network element in FIG. 7 may also include the second ProSe network element in FIG. 11, and the second ProSe network element and the first ProSe network element belong to a different operator. The communication method shown in FIG. 11 will be described in detail below with reference to FIG. 10.
如图11所示,该通信方法可以包括如下步骤:As shown in FIG. 11, the communication method may include the following steps:
S1101,AF网元向UDR网元或UDM网元发送应用标识,以及该应用标识对应的应用中的已授权用户标识。相应地,UDR网元或UDM网元从AF网元接收应用标识,以及该应用标识对应的应用中的已授权用户标识。S1101: The AF network element sends an application identifier and an authorized user identifier in the application corresponding to the application identifier to the UDR network element or UDM network element. Correspondingly, the UDR network element or the UDM network element receives the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
可选地,AF网元还可以向第一ProSe网元或第二ProSe网元(如果存在)中的一项或多项发送应用标识,以及该应用标识对应的应用中的已授权用户标识。相应地,第一ProSe网元或第二ProSe网元(如果存在)可以从AF网元接收应用标识,以及该应用标识对应的应用中的已授权用户标识。Optionally, the AF network element may also send an application identifier and an authorized user identifier in the application corresponding to the application identifier to one or more of the first ProSe network element or the second ProSe network element (if present). Correspondingly, the first ProSe network element or the second ProSe network element (if present) can receive the application identifier from the AF network element, and the authorized user identifier in the application corresponding to the application identifier.
关于S1101的具体实现方式,可以分别参考上述S1001,此处不再赘述。For the specific implementation of S1101, please refer to the above S1001 respectively, which will not be repeated here.
下面分别针对发布终端和监听终端进行说明。The following describes the publishing terminal and the monitoring terminal respectively.
如图11所示,针对发布终端发起的发现请求,如第一发现请求消息,图11所示的通信方法可以包括下述S1102-S1108:As shown in FIG. 11, for the discovery request initiated by the publishing terminal, such as the first discovery request message, the communication method shown in FIG. 11 may include the following S1102-S1108:
S1102,发布终端向第一AMF网元发送第一发现请求消息。相应地,第一AMF网元从发布终端接收第一发现请求消息。S1102. The publishing terminal sends a first discovery request message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery request message from the publishing terminal.
S1103,第一AMF网元向第一ProSe网元发送第一发现请求消息。相应地,第一ProSe网元从第一AMF网元接收第一发现请求消息。S1103: The first AMF network element sends a first discovery request message to the first ProSe network element. Correspondingly, the first ProSe network element receives the first discovery request message from the first AMF network element.
S1104,第一ProSe网元与UDR网元或UDM网元交互,完成发布终端的受限模式验证。S1104: The first ProSe network element interacts with the UDR network element or the UDM network element to complete the restricted mode verification of the publishing terminal.
S1105,第一ProSe网元向第一AMF网元发送第一发现响应消息。相应地,第一AMF网元从第一ProSe网元接收第一发现响应消息。S1105: The first ProSe network element sends a first discovery response message to the first AMF network element. Correspondingly, the first AMF network element receives the first discovery response message from the first ProSe network element.
S1106,第一AMF网元向发布终端发送第一发现响应消息。相应地,发布终端从第一AMF网元接收第一发现响应消息。S1106: The first AMF network element sends a first discovery response message to the publishing terminal. Correspondingly, the issuing terminal receives the first discovery response message from the first AMF network element.
S1107,发布终端根据发布参数,发布ProSe通信请求。S1107: The publishing terminal publishes the ProSe communication request according to the publishing parameters.
上述S1102-S1107的具体实现方式,可以分别参考上述S1002-S1007,此处不再赘述。For the specific implementation of the above S1102-S1107, please refer to the above S1002-S1007 respectively, which will not be repeated here.
S1108,第一ProSe网元向UDR网元或UDM网元发送应用标识、发布终端在该应用标识对应的应用中的用户标识、第一ProSe网元的标识之间的对应关系。相应地,UDR网元或UDM网元从第一ProSe网元接收并存储应用标识、发布终端在该应用标 识对应的应用中的用户标识、第一ProSe网元的标识之间的对应关系。S1108: The first ProSe network element sends the application identifier to the UDR network element or the UDM network element, and publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier and the identifier of the first ProSe network element. Correspondingly, the UDR network element or UDM network element receives and stores the application identifier from the first ProSe network element, publishes the correspondence between the user identifier of the terminal in the application corresponding to the application identifier, and the identifier of the first ProSe network element.
也就是说,由于第一ProSe网元与UDR网元或UDM网元不属于同一运营商,出于商业保密考虑,第一ProSe网元可以不将与应用标识对应的发现参数存储在UDR网元或UDM网元中,而是将第一ProSe网元的标识存储在在UDR网元或UDM网元中。如此,第二AMF网元或第二ProSe网元可以在从UDR网元或UDM网元获取到第一ProSe网元的标识后,向第一ProSe网元请求发现参数。That is to say, because the first ProSe network element and the UDR network element or UDM network element do not belong to the same operator, for commercial confidentiality considerations, the first ProSe network element may not store the discovery parameters corresponding to the application identifier in the UDR network element Or in the UDM network element, the identification of the first ProSe network element is stored in the UDR network element or UDM network element. In this way, the second AMF network element or the second ProSe network element may request the discovery parameter from the first ProSe network element after obtaining the identification of the first ProSe network element from the UDR network element or the UDM network element.
需要说明的是,上述S1102-S1108可以分别针对多个发布终端重复执行,以收集应用标识、多个发布终端各自在该应用标识对应的应用中的用户标识与第一ProSe网元的标识之间的对应关系,且保存在UDR网元或UDM网元中以备用。It should be noted that the above S1102-S1108 can be repeated for multiple publishing terminals to collect application identifiers. The user identifiers of the multiple publishing terminals in the application corresponding to the application identifier and the identifier of the first ProSe network element Correspondence relationship between, and save in UDR network element or UDM network element for backup.
此外,S1108可以在执行S1105-S1107之前执行,也可以在执行S1105-S1107之后执行,还可以在执行S1105-S1107的过程中执行,本申请实施例对此不做具体限定。In addition, S1108 may be executed before execution of S1105-S1107, may also be executed after execution of S1105-S1107, or may be executed during execution of S1105-S1107, which is not specifically limited in the embodiment of the present application.
如图11所示,针对监听终端发起的发现请求,如第二发现请求消息,图11所示的通信方法还可以包括S1109-S1121:As shown in FIG. 11, for the discovery request initiated by the monitoring terminal, such as the second discovery request message, the communication method shown in FIG. 11 may further include S1109-S1121:
S1109,监听终端向第二AMF网元发送第二发现请求消息。相应地,第二AMF网元从监听终端接收第二发现请求消息。S1109: The monitoring terminal sends a second discovery request message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery request message from the monitoring terminal.
上述S1109的具体实现方式,可以分别参考上述S1009,此处不再赘述。For the specific implementation of the above S1109, please refer to the above S1009 respectively, which will not be repeated here.
在一种可能的设计方法中,当存在第二ProSe网元时,第一AMF网元可以通过第二ProSe网元向UDR网元或UDM网元请求第一ProSe网元的标识,并接收第二ProSe网元从第一ProSe网元请求的发现参数,即可图11所示的通信方法还可以包括S1110-S1115:In a possible design method, when there is a second ProSe network element, the first AMF network element can request the UDR network element or UDM network element for the identification of the first ProSe network element through the second ProSe network element, and receive the first ProSe network element. The discovery parameter requested by the second ProSe network element from the first ProSe network element, that is, the communication method shown in FIG. 11 may also include S1110-S1115:
S1110,第二AMF网元向第二ProSe网元发送第二发现请求消息。相应地,第二ProSe网元从第二AMF网元接收第二发现请求消息。S1110: The second AMF network element sends a second discovery request message to the second ProSe network element. Correspondingly, the second ProSe network element receives the second discovery request message from the second AMF network element.
其中,第二发现请求消息的具体实现方式可以参考S1109,此处不再赘述。For the specific implementation of the second discovery request message, refer to S1109, which will not be repeated here.
S1111,第二ProSe网元向UDR网元或UDM网元发送第四发现请求消息。相应地,UDR网元或UDM网元从第二ProSe网元接收第四发现请求消息。S1111: The second ProSe network element sends a fourth discovery request message to the UDR network element or the UDM network element. Correspondingly, the UDR network element or the UDM network element receives the fourth discovery request message from the second ProSe network element.
其中,第四发现请求消息的具体实现方式可以参考S1011中的第三发现请求消息,此处不再赘述。For the specific implementation of the fourth discovery request message, reference may be made to the third discovery request message in S1011, which will not be repeated here.
S1112,UDR网元或UDM网元向第二ProSe网元发送第四发现响应消息。相应地,第二ProSe网元从UDR网元或UDM网元接收第四发现响应消息。S1112: The UDR network element or the UDM network element sends a fourth discovery response message to the second ProSe network element. Correspondingly, the second ProSe network element receives the fourth discovery response message from the UDR network element or the UDM network element.
参考S1108,鉴于第一ProSe网元没有将发现参数存储在UDR网元或UDM网元中,而是将第一ProSe网元的标识存储在UDR网元或UDM网元中,第四发现响应消息不会携带发现参数,而是携带第一ProSe网元的标识。Refer to S1108, since the first ProSe network element does not store the discovery parameters in the UDR network element or UDM network element, but stores the identification of the first ProSe network element in the UDR network element or UDM network element, the fourth discovery response message The discovery parameter is not carried, but the identity of the first ProSe network element is carried.
S1113,第二ProSe网元向第一ProSe网元发送第二发现请求消息。相应地,第一ProSe网元从第二ProSe网元接收第二发现请求消息。S1113: The second ProSe network element sends a second discovery request message to the first ProSe network element. Correspondingly, the first ProSe network element receives the second discovery request message from the second ProSe network element.
其中,第二发现请求消息的具体实现方式可以参考S1109,此处不再赘述。For the specific implementation of the second discovery request message, refer to S1109, which will not be repeated here.
S1114,第一ProSe网元向第二ProSe网元发送第二发现响应消息。相应地,第二ProSe网元从第一ProSe网元接收第二发现响应消息。S1114: The first ProSe network element sends a second discovery response message to the second ProSe network element. Correspondingly, the second ProSe network element receives the second discovery response message from the first ProSe network element.
S1115,第二ProSe网元向第二AMF网元发送第二发现响应消息。相应地,第二AMF网元从第二ProSe网元接收第二发现响应消息。S1115: The second ProSe network element sends a second discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery response message from the second ProSe network element.
其中,第二发现请求消息的内容可以参考S1013,此处不再赘述。For the content of the second discovery request message, refer to S1013, which will not be repeated here.
在另一种可能的设计方法中,当不存在第二ProSe网元时,第二AMF网元可以直接向UDR网元或UDM网元请求第一ProSe网元的标识,并接收从第一ProSe网元请求的发现参数,即图11所示的通信方法还可以包括S1116-S1119:In another possible design method, when the second ProSe network element does not exist, the second AMF network element can directly request the UDR network element or UDM network element for the identification of the first ProSe network element, and receive the identification from the first ProSe network element. The discovery parameter requested by the network element, that is, the communication method shown in FIG. 11 may also include S1116-S1119:
S1116,第二AMF网元向UDR网元或UDM网元发送第四发现请求消息。相应地,UDR网元或UDM网元从第二AMF网元接收第四发现请求消息。S1116: The second AMF network element sends a fourth discovery request message to the UDR network element or the UDM network element. Correspondingly, the UDR network element or the UDM network element receives the fourth discovery request message from the second AMF network element.
其中,第四发现请求消息的具体实现方式可以参考S1111,此处不再赘述。For the specific implementation of the fourth discovery request message, refer to S1111, which will not be repeated here.
S1117,UDR网元或UDM网元向第二AMF网元发送第四发现响应消息。相应地,第二AMF网元从UDR网元或UDM网元接收第四发现响应消息。S1117: The UDR network element or the UDM network element sends a fourth discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the fourth discovery response message from the UDR network element or the UDM network element.
其中,第四发现响应消息的具体实现方式可以参考S1112,此处不再赘述。For the specific implementation of the fourth discovery response message, refer to S1112, which will not be repeated here.
S1118,第二AMF网元向第一ProSe网元发送第二发现请求消息。相应地,第一ProSe网元从第二AMF网元接收第二发现请求消息。S1118: The second AMF network element sends a second discovery request message to the first ProSe network element. Correspondingly, the first ProSe network element receives the second discovery request message from the second AMF network element.
其中,第二发现请求消息的具体实现方式可以参考S1109,此处不再赘述。For the specific implementation of the second discovery request message, refer to S1109, which will not be repeated here.
S1119,第一ProSe网元向第二AMF网元发送第二发现响应消息。相应地,第二AMF网元从第一ProSe网元接收第二发现响应消息。S1119: The first ProSe network element sends a second discovery response message to the second AMF network element. Correspondingly, the second AMF network element receives the second discovery response message from the first ProSe network element.
其中,第二发现响应消息的具体实现方式可以参考S1114,此处不再赘述。For the specific implementation of the second discovery response message, refer to S1114, which will not be repeated here.
在第二AMF网元从第二ProSe网元或UDR网元或UDM网元接收第二发现响应消息之后,图11所示的通信方法还可以包括S1120-S1121。After the second AMF network element receives the second discovery response message from the second ProSe network element or UDR network element or UDM network element, the communication method shown in FIG. 11 may further include S1120-S1121.
S1120,第二AMF网元向监听终端发送第二发现响应消息。相应地,监听终端从第二AMF网元接收第二发现响应消息。S1120: The second AMF network element sends a second discovery response message to the monitoring terminal. Correspondingly, the monitoring terminal receives the second discovery response message from the second AMF network element.
S1121,监听终端根据监听参数,监听ProSe通信请求。S1121: The monitoring terminal monitors the ProSe communication request according to the monitoring parameters.
其中,S1120-S1121的具体实现方式,可以参考S1016-S1017,此处不再赘述。For the specific implementation of S1120-S1121, please refer to S1016-S1017, which will not be repeated here.
以上结合图3-图11详细说明了本申请实施例提供的通信方法。以下结合图12-图13详细说明本申请实施例提供的另两种通信装置。The communication method provided by the embodiment of the present application is described in detail above with reference to FIGS. 3 to 11. The other two communication devices provided by the embodiments of the present application will be described in detail below with reference to FIGS. 12-13.
图12是本申请实施例提供的通信装置的结构示意图二。如图12所示,通信装置1200包括:接收模块1201和发送模块1202。为了便于说明,图12仅示出了该通信装置的主要部件。FIG. 12 is a second structural diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 12, the communication device 1200 includes: a receiving module 1201 and a sending module 1202. For ease of description, FIG. 12 only shows the main components of the communication device.
在一种设计方案中,图12所示的通信装置1200可适用于图1或图2所示出的通信系统中,执行图4-图6、或图10中任一项所示的通信方法中第一网元的功能。In a design solution, the communication device 1200 shown in FIG. 12 can be applied to the communication system shown in FIG. 1 or FIG. 2 to implement the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10 The function of the first network element in the middle.
其中,接收模块1201,用于从终端接收应用标识。发送模块1202,用于向第二网元发送应用标识。接收模块1201,还用于从第二网元接收发现参数;发现参数与应用标识对应。发送模块1202,还用于向终端发送发现参数。Among them, the receiving module 1201 is used to receive the application identifier from the terminal. The sending module 1202 is configured to send the application identifier to the second network element. The receiving module 1201 is further configured to receive the discovery parameter from the second network element; the discovery parameter corresponds to the application identifier. The sending module 1202 is also used to send discovery parameters to the terminal.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,发送模块1202,还用于向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the sending module 1202 is further configured to send to the second network element one or more of the available discovery mode of the ProSe corresponding to the application identifier, the identifier of the issuing terminal, or the first request indication. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,发送模块1202,还用于向第二网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终 端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the sending module 1202 is further configured to send to the second network element one or more of the available discovery mode of the ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication. Wherein, the second request indication is used to request monitoring parameters.
可选地,接收模块1201,还用于从第二网元接收发现参数的有效时间;以及,发送模块1202,还用于向终端发送发现参数的有效时间。Optionally, the receiving module 1201 is further configured to receive the effective time of the discovery parameter from the second network element; and the sending module 1202 is further configured to send the effective time of the discovery parameter to the terminal.
可选地,图12所示的通信装置1200还可以包括处理模块和存储模块(图12中均未示出),该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得图12所示的通信装置1200可以执行图4-图6、或图10中任一项所示的通信方法中第一网元的功能。Optionally, the communication device 1200 shown in FIG. 12 may further include a processing module and a storage module (none of which is shown in FIG. 12), and the storage module stores programs or instructions. When the processing module executes the program or instruction, the communication device 1200 shown in FIG. 12 can execute the function of the first network element in the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10.
需要说明的是,图12所示的通信装置1200可以是第一网元,如为终端配置发现参数的PCF网元或AMF网元,也可以是设置于第一网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device 1200 shown in FIG. 12 may be a first network element, such as a PCF network element or AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. , This application does not limit this.
此外,图12所示的通信装置1200的技术效果可以参考图4-图6、或图10中任一项所示的通信方法的技术效果,此处不再赘述。In addition, the technical effect of the communication device 1200 shown in FIG. 12 may refer to the technical effect of the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10, which will not be repeated here.
在另一种设计方案中,图12所示的通信装置1200也可适用于图1或图2所示出的通信系统中,执行图4-图6、或图10中任一项所示的通信方法中第二网元的功能。In another design solution, the communication device 1200 shown in FIG. 12 can also be applied to the communication system shown in FIG. 1 or FIG. The function of the second network element in the communication method.
其中,接收模块1201,用于从第三网元接收应用标识与发现参数的对应关系。接收模块1201,还用于从第一网元接收应用标识。发送模块1202,用于向第一网元发送发现参数。Wherein, the receiving module 1201 is configured to receive the correspondence between the application identifier and the discovery parameter from the third network element. The receiving module 1201 is further configured to receive an application identifier from the first network element. The sending module 1202 is configured to send discovery parameters to the first network element.
在一种可能的设计中,接收模块1201,还用于从第三网元接收与应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用应用标识对应的邻近服务ProSe的终端的标识。In a possible design, the receiving module 1201 is also configured to receive from a third network element the discovery mode that can be used by the ProSe corresponding to the application identifier, and/or the use of the ProSe corresponding to the application identifier is authorized. The identity of the terminal.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,接收模块1201,还用于从第一网元接收发现模式、发布终端的标识、第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the receiving module 1201 is further configured to receive one or more of the discovery mode, the identification of the issuing terminal, and the first request indication from the first network element. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,接收模块1201,还用于从第一网元接收发现模式、监听终端的标识、第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the receiving module 1201 is further configured to receive one or more of the discovery mode, the identification of the monitoring terminal, and the second request indication from the first network element. Wherein, the second request indication is used to request monitoring parameters.
可选地,接收模块1201,还用于从第三网元接收发现参数的有效时间;以及,发送模块1202,还用于向第一网元发送发现参数的有效时间。Optionally, the receiving module 1201 is further configured to receive the effective time of the discovery parameter from the third network element; and the sending module 1202 is further configured to send the effective time of the discovery parameter to the first network element.
可选地,图12所示的通信装置1200还可以包括处理模块和存储模块(图12中均未示出),该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得图12所示的通信装置1200可以执行图4-图6、或图10中任一项所示的通信方法。Optionally, the communication device 1200 shown in FIG. 12 may further include a processing module and a storage module (none of which is shown in FIG. 12), and the storage module stores programs or instructions. When the processing module executes the program or instruction, the communication device 1200 shown in FIG. 12 can execute the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10.
需要说明的是,图12所示的通信装置1200可以是第二网元,如统一存储应用标识与发现参数的对应关系的UDR网元,也可以是设置于第二网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device 1200 shown in FIG. 12 may be a second network element, such as a UDR network element that uniformly stores the correspondence between application identifiers and discovery parameters, or a chip or a chip set in the second network element. System, this application does not limit this.
此外,图12所示的通信装置1200的技术效果可以参考图4-图6、或图10中任一项所示的通信方法的技术效果,此处不再赘述。In addition, the technical effect of the communication device 1200 shown in FIG. 12 may refer to the technical effect of the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10, which will not be repeated here.
图13为本申请实施例提供的通信装置的结构示意图三。如图13所示,通信装置 1300包括:处理模块1301和收发模块1302。为了便于说明,图13仅示出了该通信装置的主要部件。FIG. 13 is a third structural diagram of a communication device provided by an embodiment of this application. As shown in FIG. 13, the communication device 1300 includes: a processing module 1301 and a transceiver module 1302. For ease of description, FIG. 13 only shows the main components of the communication device.
在一种设计方案中,图13所示的通信装置1300可适用于图1或图2所示出的通信系统中,执行图4-图6、或图10中任一项所示的通信方法中第三网元的功能。In a design solution, the communication device 1300 shown in FIG. 13 can be applied to the communication system shown in FIG. 1 or FIG. 2 to execute the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10 The function of the third network element.
其中,处理模块1301,用于获取应用标识。收发模块1302,用于向第二网元发送应用标识和发现参数。其中,发现参数与应用标识对应。Among them, the processing module 1301 is used to obtain an application identifier. The transceiver module 1302 is configured to send application identification and discovery parameters to the second network element. Among them, the discovery parameter corresponds to the application identifier.
示例性地,发现参数可以包括发布参数和监听参数。其中,发布参数用于发布终端发布邻近服务PreSe请求,监听参数用于监听终端监听邻近服务ProSe通信请求。Exemplarily, the discovery parameters may include publishing parameters and listening parameters. Among them, the release parameter is used to release the terminal to release the ProSe ProSe request, and the listening parameter is used to monitor the terminal to monitor the ProSe communication request of the ProSe.
可选地,处理模块1301,还用于获取已授权使用应用标识对应的邻近服务ProSe的终端的标识;以及,收发模块1302,还用于向第二网元发送终端的标识。Optionally, the processing module 1301 is further configured to obtain the identification of the terminal that has been authorized to use the ProSe ProSe corresponding to the application identification; and the transceiver module 1302 is also configured to send the identification of the terminal to the second network element.
可选地,处理模块1301,还用于获取与应用标识对应的邻近服务ProSe可使用的发现模式;以及,收发模块1302,还用于向第二网元发送发现模式。Optionally, the processing module 1301 is further configured to obtain the discovery mode that can be used by the ProSe corresponding to the application identifier; and the transceiver module 1302 is further configured to send the discovery mode to the second network element.
进一步地,处理模块1301,还用于确定发现参数的有效时间;以及,收发模块1302,还用于向第二网元发送发现参数的有效时间。Further, the processing module 1301 is also used to determine the effective time of the discovery parameter; and the transceiver module 1302 is also used to send the effective time of the discovery parameter to the second network element.
可选地,图13所示的通信装置1300还可以包括存储模块(图13中未示出),该存储模块存储有程序或指令。当处理模块1301执行该程序或指令时,使得图13所示的通信装置1300可以执行图4-图6、或图10中任一项所示的通信方法中第三网元的功能。Optionally, the communication device 1300 shown in FIG. 13 may further include a storage module (not shown in FIG. 13), and the storage module stores programs or instructions. When the processing module 1301 executes the program or instruction, the communication device 1300 shown in FIG. 13 can execute the function of the third network element in the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10.
需要说明的是,图13所示的通信装置1300可以是第三网元,如用于生成发现参数的邻近服务功能(ProSe function)网元,或具有ProSe网元的功能的PCF网元、AF网元、NF网元等,也可以是设置于第三网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device 1300 shown in FIG. 13 may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF with the function of a ProSe network element. The network element, the NF network element, etc. may also be a chip or a chip system set in the third network element, which is not limited in this application.
图13所示的通信装置1300的技术效果可以参考图4-图6、或图10中任一项所示的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device 1300 shown in FIG. 13, reference may be made to the technical effect of the communication method shown in any one of FIG. 4 to FIG. 6 or FIG. 10, which will not be repeated here.
在另一种设计方案中,图13所示的通信装置1300也可适用于图1或图2所示出的通信系统中,执行图7-图9、或图11中任一项所示的通信方法中第一网元的功能。In another design solution, the communication device 1300 shown in FIG. 13 can also be applied to the communication system shown in FIG. 1 or FIG. The function of the first network element in the communication method.
其中,收发模块1302,用于从终端接收应用标识,并向第二网元发送应用标识。处理模块1301,用于获知第二网元中没有与应用标识对应的发现参数。收发模块1302,还有一向第三网元发送应用标识,并从第三网元接收发现参数。Among them, the transceiver module 1302 is configured to receive the application identifier from the terminal and send the application identifier to the second network element. The processing module 1301 is configured to learn that there is no discovery parameter corresponding to the application identifier in the second network element. The transceiver module 1302 also has an application identifier sent to the third network element, and the discovery parameter is received from the third network element.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,收发模块1302,还用于向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the transceiver module 1302 is further configured to send to the third network element one or more of the available discovery mode of the ProSe corresponding to the application identification, the identification of the issuing terminal, or the first request indication. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,收发模块1302,还用于向第三网元发送与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the transceiver module 1302 is further configured to send to the third network element one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the listening terminal, or the second request indication. Wherein, the second request indication is used to request monitoring parameters.
可选地,收发模块1302,还用于从第三网元接收发现参数的有效时间,并向终端发送发现参数的有效时间。Optionally, the transceiver module 1302 is further configured to receive the effective time of the discovery parameter from the third network element, and send the effective time of the discovery parameter to the terminal.
可选地,图13所示的通信装置1300还可以包括存储模块(图13中未示出),该存储模块存储有程序或指令。当处理模块1301执行该程序或指令时,使得图13所示的通信装置1300可以执行图7-图9、或图11中任一项所示的通信方法中第一网元的功能。Optionally, the communication device 1300 shown in FIG. 13 may further include a storage module (not shown in FIG. 13), and the storage module stores programs or instructions. When the processing module 1301 executes the program or instruction, the communication device 1300 shown in FIG. 13 can execute the function of the first network element in the communication method shown in any one of FIGS. 7-9 or 11.
需要说明的是,图13所示的通信装置1300可以是第一网元,如为终端配置发现参数的PCF网元或AMF网元,也可以是设置于第一网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device 1300 shown in FIG. 13 may be a first network element, such as a PCF network element or AMF network element that configures discovery parameters for the terminal, or a chip or chip system set in the first network element. , This application does not limit this.
图13所示的通信装置1300的技术效果可以参考图7-图9、或图11中任一项所示的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device 1300 shown in FIG. 13, reference may be made to the technical effect of the communication method shown in any one of FIG. 7 to FIG. 9 or FIG. 11, which will not be repeated here.
在又一种设计方案中,图13所示的通信装置1300也可适用于图1或图2所示出的通信系统中,执行图7-图9、或图11中任一项所示的通信方法中第三网元的功能。In yet another design solution, the communication device 1300 shown in FIG. 13 can also be applied to the communication system shown in FIG. 1 or FIG. The function of the third network element in the communication method.
其中,收发模块1302,用于从第一网元接收应用标识。处理模块1301,用于确定与应用标识对应的发现参数。收发模块1302,还用于向第一网元发送发现参数。Among them, the transceiver module 1302 is configured to receive the application identifier from the first network element. The processing module 1301 is used to determine the discovery parameter corresponding to the application identifier. The transceiver module 1302 is also used to send discovery parameters to the first network element.
在一种可能的设计中,终端可以包括发布终端,发现参数可以包括发布参数。其中,发布参数用于发布终端发布邻近服务ProSe通信请求。相应地,收发模块1302,还用于从第一网元接收与应用标识对应的邻近服务ProSe可使用的发现模式、发布终端的标识、或第一请求指示中的一项或多项。其中,第一请求指示用于请求发布参数。In a possible design, the terminal may include a publishing terminal, and the discovery parameter may include a publishing parameter. Among them, the release parameter is used to release the ProSe communication request of the ProSe from the terminal. Correspondingly, the transceiver module 1302 is further configured to receive from the first network element one or more of the discovery mode that can be used by the ProSe corresponding to the application identification, the identification of the issuing terminal, or the first request indication. Wherein, the first request indication is used to request to publish parameters.
在另一种可能的设计中,终端可以包括监听终端,发现参数可以包括监听参数。其中,监听参数用于监听终端监听邻近服务ProSe通信请求。相应地,收发模块1302,还用于从第一网元接收与应用标识对应的邻近服务ProSe可使用的发现模式、监听终端的标识、或第二请求指示中的一项或多项。其中,第二请求指示用于请求监听参数。In another possible design, the terminal may include a monitoring terminal, and the discovery parameter may include a monitoring parameter. Among them, the monitoring parameter is used for monitoring the terminal to monitor the ProSe communication request of the proximity service. Correspondingly, the transceiver module 1302 is further configured to receive one or more of the available discovery mode of the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication from the first network element. Wherein, the second request indication is used to request monitoring parameters.
可选地,处理模块1301,还用于确定发现参数的有效时间;以及,收发模块1302,还用于向第一网元发送发现参数的有效时间。Optionally, the processing module 1301 is also used to determine the effective time of the discovery parameter; and the transceiver module 1302 is also used to send the effective time of the discovery parameter to the first network element.
可选地,图13所示的通信装置1300还可以包括存储模块(图13中未示出),该存储模块存储有程序或指令。当处理模块1301执行该程序或指令时,使得图13所示的通信装置1300可以执行图7-图9、或图11中任一项所示的通信方法中第三网元的功能。Optionally, the communication device 1300 shown in FIG. 13 may further include a storage module (not shown in FIG. 13), and the storage module stores programs or instructions. When the processing module 1301 executes the program or instruction, the communication device 1300 shown in FIG. 13 can execute the function of the third network element in the communication method shown in any one of FIGS. 7-9 or 11.
需要说明的是,图13所示的通信装置1300可以是第三网元,如用于生成发现参数的邻近服务功能(ProSe function)网元,或具有ProSe网元的功能的PCF网元、AF网元、NF网元等,也可以是设置于第三网元中的芯片或芯片系统,本申请对此不做限定。It should be noted that the communication device 1300 shown in FIG. 13 may be a third network element, such as a ProSe function network element for generating discovery parameters, or a PCF network element or AF with the function of a ProSe network element. The network element, the NF network element, etc. may also be a chip or a chip system set in the third network element, which is not limited in this application.
图13所示的通信装置1300的技术效果可以参考图7-图9、或图11中任一项所示的通信方法的技术效果,此处不再赘述。For the technical effect of the communication device 1300 shown in FIG. 13, reference may be made to the technical effect of the communication method shown in any one of FIG. 7 to FIG. 9 or FIG. 11, which will not be repeated here.
本申请实施例提供一种芯片系统。该芯片系统包括处理器和输入/输出端口,所述处理器用于实现上述方法实施例所涉及的处理功能,所述输入/输出端口用于实现上述方法实施例所涉及的收发功能。The embodiment of the present application provides a chip system. The chip system includes a processor and an input/output port. The processor is used to implement the processing functions involved in the foregoing method embodiment, and the input/output port is used to implement the transceiver function involved in the foregoing method embodiment.
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现上述方法实施例所涉及功能的程序指令和数据。In a possible design, the chip system further includes a memory, and the memory is used to store program instructions and data that implement the functions involved in the foregoing method embodiments.
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The chip system can be composed of chips, or include chips and other discrete devices.
本申请实施例提供一种通信系统。该系统包括上述多个终端设备,以及多个核心网网元,如第一网元、第二网元、第三网元。The embodiment of the present application provides a communication system. The system includes the aforementioned multiple terminal devices, and multiple core network elements, such as a first network element, a second network element, and a third network element.
本申请实施例提供一种计算机可读存储介质,包括:该计算机可读存储介质中存储有计算机指令;当该计算机指令在计算机上运行时,使得该计算机执行上述方法实施例所述的通信方法。The embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores computer instructions; when the computer instructions are run on a computer, the computer is caused to execute the communication method described in the foregoing method embodiment .
本申请实施例提供了一种包含指令的计算机程序产品,包括计算机程序或指令,当该计算机程序或指令在计算机上运行时,使得该计算机执行上述方法实施例所述的通信方法。The embodiment of the present application provides a computer program product containing instructions, including a computer program or instruction, when the computer program or instruction runs on a computer, the computer executes the communication method described in the foregoing method embodiment.
应理解,在本申请实施例中的处理器可以是中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor in the embodiment of the present application may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), and dedicated integration Circuit (application specific integrated circuit, ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of random access memory (RAM) are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (DRAM). Access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory Take memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
上述实施例,可以全部或部分地通过软件、硬件(如电路)、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The foregoing embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination. When implemented using software, the above-mentioned embodiments may be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more sets of available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium may be a solid state drive.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以 存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系,但也可能表示的是一种“和/或”的关系,具体可参考前后文进行理解。It should be understood that the term "and/or" in this text is only an association relationship describing the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, and both A and B exist. , There are three cases of B alone, where A and B can be singular or plural. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and/or" relationship, which can be understood with reference to the context.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" refers to one or more, and "multiple" refers to two or more. "The following at least one item (a)" or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a). For example, at least one item (a) of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple .
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任 何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (48)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第一网元从终端接收应用标识;The first network element receives the application identifier from the terminal;
    所述第一网元向第二网元发送所述应用标识;Sending the application identifier to the second network element by the first network element;
    所述第一网元从所述第二网元接收发现参数;所述发现参数与所述应用标识对应;The first network element receives a discovery parameter from the second network element; the discovery parameter corresponds to the application identifier;
    所述第一网元向所述终端发送所述发现参数。The first network element sends the discovery parameter to the terminal.
  2. 根据权利要求1所述的通信方法,其特征在于,所述终端包括发布终端,所述发现参数包括发布参数,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication method according to claim 1, wherein the terminal comprises a publishing terminal, the discovery parameter comprises a publishing parameter, and the publishing parameter is used for the publishing terminal to publish a ProSe communication request of ProSe;
    所述通信方法还包括:The communication method further includes:
    所述第一网元向所述第二网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述发布终端的标识、或第一请求指示中的一项或多项;所述第一请求指示用于请求所述发布参数。Sending, by the first network element, to the second network element one or more of a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the publishing terminal, or the first request instruction; The first request indication is used to request the release parameter.
  3. 根据权利要求1所述的通信方法,其特征在于,所述终端包括监听终端,所述发现参数包括监听参数,所述监听参数用于所述监听终端监听邻近服务ProSe通信请求;The communication method according to claim 1, wherein the terminal comprises a listening terminal, the discovery parameter comprises a listening parameter, and the listening parameter is used by the listening terminal to monitor a ProSe communication request of a ProSe;
    所述通信方法还包括:The communication method further includes:
    所述第一网元向所述第二网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述监听终端的标识、或第二请求指示中的一项或多项;所述第二请求指示用于请求所述监听参数。Sending, by the first network element, to the second network element one or more of a discovery mode that can be used by ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or a second request indication; The second request indication is used to request the monitoring parameter.
  4. 根据权利要求1-3中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 1-3, wherein the communication method further comprises:
    所述第一网元从所述第二网元接收所述发现参数的有效时间;The effective time when the first network element receives the discovery parameter from the second network element;
    所述第一网元向所述终端发送所述发现参数的有效时间。The first network element sends the effective time of the discovery parameter to the terminal.
  5. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第二网元从第三网元接收应用标识与发现参数的对应关系;The second network element receives the correspondence between the application identifier and the discovery parameter from the third network element;
    所述第二网元从第一网元接收所述应用标识;The second network element receives the application identifier from the first network element;
    所述第二网元向所述第一网元发送所述发现参数。The second network element sends the discovery parameter to the first network element.
  6. 根据权利要求5所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to claim 5, wherein the communication method further comprises:
    所述第二网元从所述第三网元接收与所述应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用所述应用标识对应的邻近服务ProSe的终端的标识。The second network element receives from the third network element the discovery mode that can be used by the ProSe corresponding to the application identifier, and/or the identifier of the terminal that has been authorized to use the ProSe corresponding to the application identifier .
  7. 根据权利要求6所述的通信方法,其特征在于,所述终端包括发布终端,所述发现参数包括发布参数,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication method according to claim 6, wherein the terminal comprises a publishing terminal, and the discovery parameter comprises a publishing parameter, and the publishing parameter is used by the publishing terminal to publish a ProSe communication request for ProSe;
    所述通信方法还包括:The communication method further includes:
    所述第二网元从所述第一网元接收所述发现模式、所述发布终端的标识、第一请求指示中的一项或多项;所述第一请求指示用于请求所述发布参数。The second network element receives one or more of the discovery mode, the identification of the publishing terminal, and a first request indication from the first network element; the first request indication is used to request the publication parameter.
  8. 根据权利要求6所述的通信方法,其特征在于,所述终端包括监听终端,所述发现参数包括监听参数,所述监听参数用于所述监听终端监听邻近服务ProSe通信请 求;The communication method according to claim 6, wherein the terminal comprises a listening terminal, the discovery parameter comprises a listening parameter, and the listening parameter is used for the listening terminal to monitor a ProSe communication request of a ProSe;
    所述通信方法还包括:The communication method further includes:
    所述第二网元从所述第一网元接收所述发现模式、所述监听终端的标识、第二请求指示中的一项或多项;所述第二请求指示用于请求所述监听参数。The second network element receives one or more of the discovery mode, the identifier of the monitoring terminal, and a second request indication from the first network element; the second request indication is used to request the monitoring parameter.
  9. 根据权利要求5-8中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 5-8, wherein the communication method further comprises:
    所述第二网元从所述第三网元接收所述发现参数的有效时间;The effective time when the second network element receives the discovery parameter from the third network element;
    所述第二网元向所述第一网元发送所述发现参数的有效时间。The second network element sends the effective time of the discovery parameter to the first network element.
  10. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第三网元获取应用标识;The third network element obtains the application identifier;
    所述第三网元向第二网元发送所述应用标识和发现参数;所述发现参数与所述应用标识对应。The third network element sends the application identifier and discovery parameter to the second network element; the discovery parameter corresponds to the application identifier.
  11. 根据权利要求10所述的通信方法,其特征在于,所述发现参数包括发布参数和监听参数;所述发布参数用于发布终端发布邻近服务PreSe请求,所述监听参数用于监听终端监听邻近服务ProSe通信请求。The communication method according to claim 10, wherein the discovery parameters include publishing parameters and monitoring parameters; the publishing parameters are used to publish a terminal to publish a ProSe request, and the monitoring parameters are used to listen to the terminal to listen to the proximity service. ProSe communication request.
  12. 根据权利要求10或11所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to claim 10 or 11, wherein the communication method further comprises:
    所述第三网元获取已授权使用所述应用标识对应的邻近服务ProSe的终端的标识;Acquiring, by the third network element, an identifier of a terminal that has been authorized to use the ProSe ProSe corresponding to the application identifier;
    所述第三网元向所述第二网元发送所述终端的标识。The third network element sends the identification of the terminal to the second network element.
  13. 根据权利要求10-12中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 10-12, wherein the communication method further comprises:
    所述第三网元获取与所述应用标识对应的邻近服务ProSe可使用的发现模式;Acquiring, by the third network element, a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier;
    所述第三网元向所述第二网元发送所述发现模式。The third network element sends the discovery mode to the second network element.
  14. 根据权利要求10-13中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 10-13, wherein the communication method further comprises:
    所述第三网元确定所述发现参数的有效时间;Determining, by the third network element, the effective time of the discovery parameter;
    所述第三网元向所述第二网元发送所述发现参数的有效时间。The third network element sends the effective time of the discovery parameter to the second network element.
  15. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第一网元从终端接收应用标识;The first network element receives the application identifier from the terminal;
    所述第一网元向第二网元发送所述应用标识;Sending the application identifier to the second network element by the first network element;
    所述第一网元获知所述第二网元中没有与所述应用标识对应的发现参数,向第三网元发送应用标识;The first network element learns that there is no discovery parameter corresponding to the application identifier in the second network element, and sends the application identifier to the third network element;
    所述第一网元从所述第三网元接收所述发现参数,其中,所述发现参数与所述应用标识对应。The first network element receives the discovery parameter from the third network element, where the discovery parameter corresponds to the application identifier.
  16. 根据权利要求15所述的通信方法,其特征在于,所述终端包括发布终端,所述发现参数包括发布参数,其中,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication method according to claim 15, wherein the terminal comprises a publishing terminal, and the discovery parameter comprises a publishing parameter, wherein the publishing parameter is used for the publishing terminal to publish a ProSe communication request for ProSe;
    所述方法还包括:The method also includes:
    所述第一网元向所述第三网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述发布终端的标识、或第一请求指示中的一项或多项,其中,所述第 一请求指示用于请求所述发布参数。Sending, by the first network element, to the third network element one or more of a discovery mode that can be used by ProSe corresponding to the application identifier, the identifier of the publishing terminal, or the first request indication, Wherein, the first request indication is used to request the release parameters.
  17. 根据权利要求15所述的通信方法,其特征在于,所述终端包括监听终端,所述发现参数包括监听参数,其中,所述监听参数用于监听终端监听邻近服务ProSe通信请求;The communication method according to claim 15, wherein the terminal comprises a listening terminal, and the discovery parameter comprises a listening parameter, wherein the listening parameter is used for the listening terminal to monitor a ProSe communication request of ProSe;
    所述方法还包括:The method also includes:
    所述第一网元向所述第三网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述监听终端的标识、或第二请求指示中的一项或多项,其中,所述第二请求指示用于请求所述监听参数。Sending, by the first network element, to the third network element one or more of a discovery mode that can be used by ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or a second request indication, Wherein, the second request indication is used to request the monitoring parameter.
  18. 根据权利要求15-17中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 15-17, wherein the method further comprises:
    所述第一网元从所述第三网元接收所述发现参数的有效时间;The effective time when the first network element receives the discovery parameter from the third network element;
    所述第一网元向所述终端发送所述发现参数的有效时间。The first network element sends the effective time of the discovery parameter to the terminal.
  19. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    第三网元从第一网元接收应用标识;The third network element receives the application identifier from the first network element;
    所述第三网元确定与所述应用标识对应的发现参数;Determining, by the third network element, a discovery parameter corresponding to the application identifier;
    所述第三网元向所述第一网元发送所述发现参数。The third network element sends the discovery parameter to the first network element.
  20. 根据权利要求19所述的通信方法,其特征在于,终端包括发布终端,所述发现参数包括发布参数,其中,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication method according to claim 19, wherein the terminal comprises a publishing terminal, and the discovery parameter comprises a publishing parameter, wherein the publishing parameter is used for the publishing terminal to publish a ProSe communication request of ProSe;
    所述方法还包括:The method also includes:
    所述第三网元从所述第一网元接收与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述发布终端的标识、或第一请求指示中的一项或多项,其中,所述第一请求指示用于请求所述发布参数。Receiving, by the third network element, from the first network element one or more of a discovery mode that can be used by ProSe corresponding to the application identifier, the identifier of the publishing terminal, or the first request instruction, Wherein, the first request indication is used to request the release parameters.
  21. 根据权利要求19所述的通信方法,其特征在于,终端包括监听终端,所述发现参数包括监听参数,其中,所述监听参数用于所述监听终端监听邻近服务ProSe通信请求;The communication method according to claim 19, wherein the terminal comprises a listening terminal, and the discovery parameter comprises a listening parameter, wherein the listening parameter is used for the listening terminal to monitor a ProSe communication request of ProSe;
    所述方法还包括:The method also includes:
    所述第三网元从所述第一网元接收与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述监听终端的标识、或第二请求指示中的一项或多项,其中,所述第二请求指示用于请求所述监听参数。The third network element receives from the first network element one or more of a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or a second request indication, Wherein, the second request indication is used to request the monitoring parameter.
  22. 根据权利要求19-21中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 19-21, wherein the method further comprises:
    所述第三网元确定所述发现参数的有效时间;Determining, by the third network element, the effective time of the discovery parameter;
    所述第三网元向所述第一网元发送所述发现参数的有效时间。The third network element sends the effective time of the discovery parameter to the first network element.
  23. 一种通信装置,其特征在于,包括:接收模块和发送模块;其中,A communication device, characterized by comprising: a receiving module and a sending module; wherein,
    所述接收模块,用于从终端接收应用标识;The receiving module is used to receive the application identifier from the terminal;
    所述发送模块,用于向第二网元发送所述应用标识;The sending module is configured to send the application identifier to a second network element;
    所述接收模块,还用于从所述第二网元接收发现参数;所述发现参数与所述应用标识对应;The receiving module is further configured to receive a discovery parameter from the second network element; the discovery parameter corresponds to the application identifier;
    所述发送模块,还用于向所述终端发送所述发现参数。The sending module is also used to send the discovery parameter to the terminal.
  24. 根据权利要求23所述的通信装置,其特征在于,所述终端包括发布终端,所述发现参数包括发布参数,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication device according to claim 23, wherein the terminal comprises a publishing terminal, the discovery parameter comprises a publishing parameter, and the publishing parameter is used by the publishing terminal to publish a ProSe communication request for ProSe;
    所述发送模块,还用于向所述第二网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述发布终端的标识、或第一请求指示中的一项或多项;所述第一请求指示用于请求所述发布参数。The sending module is further configured to send to the second network element one or more of the discovery mode that the ProSe corresponding to the application identifier can use, the identifier of the publishing terminal, or the first request instruction. Item; The first request indication is used to request the release parameters.
  25. 根据权利要求23所述的通信装置,其特征在于,所述终端包括监听终端,所述发现参数包括监听参数,所述监听参数用于所述监听终端监听邻近服务ProSe通信请求;The communication device according to claim 23, wherein the terminal comprises a listening terminal, the discovery parameter comprises a listening parameter, and the listening parameter is used by the listening terminal to monitor a ProSe communication request of a ProSe;
    所述发送模块,还用于向所述第二网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述监听终端的标识、或第二请求指示中的一项或多项;所述第二请求指示用于请求所述监听参数。The sending module is further configured to send to the second network element one or more of the discovery mode that can be used by the ProSe ProSe corresponding to the application identifier, the identifier of the monitoring terminal, or the second request indication Item; The second request indication is used to request the monitoring parameters.
  26. 根据权利要求23-25中任一项所述的通信装置,其特征在于,The communication device according to any one of claims 23-25, wherein:
    所述接收模块,还用于从所述第二网元接收所述发现参数的有效时间;The receiving module is further configured to receive the effective time of the discovery parameter from the second network element;
    所述发送模块,还用于向所述终端发送所述发现参数的有效时间。The sending module is further configured to send the effective time of the discovery parameter to the terminal.
  27. 一种通信装置,其特征在于,包括:接收模块和发送模块;其中,A communication device, characterized by comprising: a receiving module and a sending module; wherein,
    所述接收模块,用于从第三网元接收应用标识与发现参数的对应关系;The receiving module is configured to receive the correspondence between the application identifier and the discovery parameter from the third network element;
    所述接收模块,还用于从第一网元接收所述应用标识;The receiving module is further configured to receive the application identifier from the first network element;
    所述发送模块,用于向所述第一网元发送所述发现参数。The sending module is configured to send the discovery parameter to the first network element.
  28. 根据权利要求27所述的通信装置,其特征在于,The communication device according to claim 27, wherein:
    所述接收模块,还用于从所述第三网元接收与所述应用标识对应的邻近服务ProSe可使用的发现模式,和/或,已授权使用所述应用标识对应的邻近服务ProSe的终端的标识。The receiving module is further configured to receive, from the third network element, the discovery mode that the ProSe corresponding to the application identifier can use, and/or the terminal authorized to use the ProSe corresponding to the application identifier Of the logo.
  29. 根据权利要求28所述的通信装置,其特征在于,所述终端包括发布终端,所述发现参数包括发布参数,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication device according to claim 28, wherein the terminal comprises a publishing terminal, and the discovery parameter comprises a publishing parameter, and the publishing parameter is used by the publishing terminal to publish a ProSe communication request for ProSe;
    所述接收模块,还用于从所述第一网元接收所述发现模式、所述发布终端的标识、第一请求指示中的一项或多项;所述第一请求指示用于请求所述发布参数。The receiving module is further configured to receive one or more of the discovery mode, the identification of the issuing terminal, and a first request indication from the first network element; the first request indication is used to request the Describe the release parameters.
  30. 根据权利要求28所述的通信装置,其特征在于,所述终端包括监听终端,所述发现参数包括监听参数,所述监听参数用于所述监听终端监听邻近服务ProSe通信请求;The communication device according to claim 28, wherein the terminal comprises a listening terminal, the discovery parameter comprises a listening parameter, and the listening parameter is used by the listening terminal to monitor a ProSe communication request of ProSe;
    所述接收模块,还用于从所述第一网元接收所述发现模式、所述监听终端的标识、第二请求指示中的一项或多项;所述第二请求指示用于请求所述监听参数。The receiving module is further configured to receive one or more of the discovery mode, the identifier of the monitoring terminal, and a second request indication from the first network element; the second request indication is used to request the Describe the monitoring parameters.
  31. 根据权利要求27-30中任一项所述的通信装置,其特征在于,The communication device according to any one of claims 27-30, wherein:
    所述接收模块,还用于从所述第三网元接收所述发现参数的有效时间;The receiving module is further configured to receive the effective time of the discovery parameter from the third network element;
    所述发送模块,还用于向所述第一网元发送所述发现参数的有效时间。The sending module is further configured to send the effective time of the discovery parameter to the first network element.
  32. 一种通信装置,其特征在于,包括:处理模块和收发模块;其中,A communication device, characterized by comprising: a processing module and a transceiver module; wherein,
    所述处理模块,用于获取应用标识;The processing module is used to obtain an application identifier;
    所述收发模块,用于向第二网元发送所述应用标识和发现参数;所述发现参数与所述应用标识对应。The transceiver module is configured to send the application identifier and discovery parameter to a second network element; the discovery parameter corresponds to the application identifier.
  33. 根据权利要求32所述的通信装置,其特征在于,所述发现参数包括发布参数和监听参数;所述发布参数用于发布终端发布邻近服务PreSe请求,所述监听参数用于监听终端监听邻近服务ProSe通信请求。The communication device according to claim 32, wherein the discovery parameters include publishing parameters and monitoring parameters; the publishing parameters are used to publish a terminal to publish a ProSe request, and the monitoring parameters are used to listen to the terminal to listen to the proximity service ProSe communication request.
  34. 根据权利要求32或33所述的通信装置,其特征在于,The communication device according to claim 32 or 33, wherein:
    所述处理模块,还用于获取已授权使用所述应用标识对应的邻近服务ProSe的终端的标识;The processing module is further configured to obtain an identifier of a terminal that has been authorized to use the ProSe ProSe corresponding to the application identifier;
    所述收发模块,还用于向所述第二网元发送所述终端的标识。The transceiver module is further configured to send the terminal identifier to the second network element.
  35. 根据权利要求32-34中任一项所述的通信装置,其特征在于,The communication device according to any one of claims 32-34, wherein:
    所述处理模块,还用于获取与所述应用标识对应的邻近服务ProSe可使用的发现模式;The processing module is further configured to obtain a discovery mode that can be used by the proximity service ProSe corresponding to the application identifier;
    所述收发模块,还用于向所述第二网元发送所述发现模式。The transceiver module is further configured to send the discovery mode to the second network element.
  36. 根据权利要求32-35中任一项所述的通信装置,其特征在于,The communication device according to any one of claims 32-35, wherein:
    所述处理模块,还用于确定所述发现参数的有效时间;The processing module is also used to determine the effective time of the discovery parameter;
    所述收发模块,还用于向所述第二网元发送所述发现参数的有效时间。The transceiver module is further configured to send the effective time of the discovery parameter to the second network element.
  37. 一种通信装置,其特征在于,包括:处理模块和收发模块;其中,A communication device, characterized by comprising: a processing module and a transceiver module; wherein,
    所述收发模块,用于从终端接收应用标识,并向第二网元发送所述应用标识;The transceiver module is configured to receive an application identifier from a terminal and send the application identifier to a second network element;
    所述处理模块,用于获知所述第二网元中没有与所述应用标识对应的发现参数;The processing module is configured to learn that there is no discovery parameter corresponding to the application identifier in the second network element;
    所述收发模块,还用于向第三网元发送所述应用标识,并从所述第三网元接收所述发现参数,其中,所述发现参数与所述应用标识对应。The transceiver module is further configured to send the application identifier to a third network element and receive the discovery parameter from the third network element, where the discovery parameter corresponds to the application identifier.
  38. 根据权利要求37所述的通信装置,其特征在于,所述终端包括发布终端,所述发现参数包括发布参数,其中,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication device according to claim 37, wherein the terminal comprises a publishing terminal, and the discovery parameter comprises a publishing parameter, wherein the publishing parameter is used for the publishing terminal to publish a ProSe communication request for ProSe;
    所述收发模块,还用于向所述第三网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述发布终端的标识、或第一请求指示中的一项或多项,其中,所述第一请求指示用于请求所述发布参数。The transceiver module is further configured to send to the third network element one or more of the discovery mode that can be used by the ProSe corresponding to the application identifier, the identifier of the publishing terminal, or the first request indication Item, wherein the first request indication is used to request the release parameters.
  39. 根据权利要求37所述的通信装置,其特征在于,所述终端包括监听终端,所述发现参数包括监听参数,其中,所述监听参数用于所述监听终端监听邻近服务ProSe通信请求;The communication device according to claim 37, wherein the terminal comprises a listening terminal, and the discovery parameter comprises a listening parameter, wherein the listening parameter is used for the listening terminal to monitor a ProSe communication request of ProSe;
    所述收发模块,还用于向所述第三网元发送与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述监听终端的标识、或第二请求指示中的一项或多项,其中,所述第二请求指示用于请求所述监听参数。The transceiver module is further configured to send to the third network element one or more of the discovery mode that the ProSe corresponding to the application identifier can use, the identifier of the monitoring terminal, or the second request indication. Item, wherein the second request indication is used to request the monitoring parameter.
  40. 根据权利要求37-39中任一项所述的通信装置,其特征在于,The communication device according to any one of claims 37-39, wherein:
    所述收发模块,还用于从所述第三网元接收所述发现参数的有效时间,并向所述终端发送所述发现参数的有效时间。The transceiver module is further configured to receive the effective time of the discovery parameter from the third network element, and send the effective time of the discovery parameter to the terminal.
  41. 一种通信装置,其特征在于,包括:处理模块和收发模块;其中,A communication device, characterized by comprising: a processing module and a transceiver module; wherein,
    所述收发模块,用于从第一网元接收应用标识;The transceiver module is configured to receive an application identifier from a first network element;
    所述处理模块,用于确定与所述应用标识对应的发现参数;The processing module is configured to determine the discovery parameter corresponding to the application identifier;
    所述收发模块,还用于向所述第一网元发送所述发现参数。The transceiver module is further configured to send the discovery parameter to the first network element.
  42. 根据权利要求41所述的通信装置,其特征在于,终端包括发布终端,所述发现参数包括发布参数,其中,所述发布参数用于所述发布终端发布邻近服务ProSe通信请求;The communication device according to claim 41, wherein the terminal comprises a publishing terminal, and the discovery parameter comprises a publishing parameter, wherein the publishing parameter is used for the publishing terminal to publish a ProSe communication request for ProSe;
    所述收发模块,还用于从所述第一网元接收与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述发布终端的标识、或第一请求指示中的一项或多项;其中,所述第一请求指示用于请求所述发布参数。The transceiver module is further configured to receive, from the first network element, one or more of the discovery mode that the ProSe corresponding to the application identifier can use, the identifier of the publishing terminal, or the first request indication Item; wherein the first request indication is used to request the release parameters.
  43. 根据权利要求41所述的通信装置,其特征在于,终端包括监听终端,所述发现参数包括监听参数,其中,所述监听参数用于所述监听终端监听邻近服务ProSe通信请求;The communication device according to claim 41, wherein the terminal comprises a listening terminal, and the discovery parameter comprises a listening parameter, wherein the listening parameter is used for the listening terminal to monitor a ProSe communication request of ProSe;
    所述收发模块,还用于从所述第一网元接收与所述应用标识对应的邻近服务ProSe可使用的发现模式、所述监听终端的标识、或第二请求指示中的一项或多项;其中,所述第二请求指示用于请求所述监听参数。The transceiver module is further configured to receive from the first network element one or more of the discovery mode that the ProSe corresponding to the application identifier can use, the identifier of the monitoring terminal, or the second request indication Item; wherein the second request indication is used to request the monitoring parameters.
  44. 根据权利要求41-43中任一项所述的通信装置,其特征在于,The communication device according to any one of claims 41-43, wherein:
    所述处理模块,还用于确定所述发现参数的有效时间;The processing module is also used to determine the effective time of the discovery parameter;
    所述收发模块,还用于向所述第一网元发送所述发现参数的有效时间。The transceiver module is further configured to send the effective time of the discovery parameter to the first network element.
  45. 一种通信装置,其特征在于,所述通信装置包括:处理器,所述处理器与存储器耦合;A communication device, characterized in that, the communication device includes: a processor coupled with a memory;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述存储器中存储的所述计算机程序,以使得所述通信装置执行如权利要求1-22中任一项所述的通信方法。The processor is configured to execute the computer program stored in the memory, so that the communication device executes the communication method according to any one of claims 1-22.
  46. 一种芯片系统,其特征在于,所述芯片系统包括处理器和输入/输出端口,所述处理器用于实现如权利要求1-22中任一项所涉及的处理功能,所述输入/输出端口用于实现如权利要求1-22中任一项所涉及的收发功能。A chip system, characterized in that, the chip system includes a processor and an input/output port, the processor is configured to implement the processing function related to any one of claims 1-22, and the input/output port It is used to realize the transceiver function according to any one of claims 1-22.
  47. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括程序或指令,当所述程序或指令在计算机上运行时,使得所述计算机执行如权利要求1-22中任一项所述的通信方法。A computer-readable storage medium, wherein the computer-readable storage medium includes a program or instruction, and when the program or instruction runs on a computer, the computer executes any one of claims 1-22. The communication method described in the item.
  48. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得所述计算机执行如权利要求1-22中任一项所述的通信方法。A computer program product, characterized in that the computer program product comprises: computer program code, when the computer program code runs on a computer, causes the computer to execute any one of claims 1-22 Communication method.
PCT/CN2020/141054 2019-12-30 2020-12-29 Communication method and apparatus WO2021136301A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202080006184.6A CN113412679B (en) 2019-12-30 2020-12-29 Communication method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911400828.5A CN113132985A (en) 2019-12-30 2019-12-30 Communication method and device
CN201911400828.5 2019-12-30

Publications (1)

Publication Number Publication Date
WO2021136301A1 true WO2021136301A1 (en) 2021-07-08

Family

ID=76687323

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141054 WO2021136301A1 (en) 2019-12-30 2020-12-29 Communication method and apparatus

Country Status (2)

Country Link
CN (2) CN113132985A (en)
WO (1) WO2021136301A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018165548A1 (en) * 2017-03-10 2018-09-13 Stojanovski Alexandre Saso Technology coordination for device-to-device discovery
US20190246253A1 (en) * 2016-02-19 2019-08-08 Samsung Electronics Co., Ltd. Location detection apparatus and method in communication system supporting device-to-device scheme
CN110166977A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Communication means and device
EP3557898A1 (en) * 2017-01-06 2019-10-23 Huawei Technologies Co., Ltd. Authorisation verification method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184222B (en) * 2014-01-13 2020-10-27 财团法人工业技术研究院 Network entity and method for discovering among devices suitable for network entity
CN107637105A (en) * 2015-04-06 2018-01-26 交互数字专利控股公司 The methods, devices and systems directly found for adjacent service (ProSe)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190246253A1 (en) * 2016-02-19 2019-08-08 Samsung Electronics Co., Ltd. Location detection apparatus and method in communication system supporting device-to-device scheme
EP3557898A1 (en) * 2017-01-06 2019-10-23 Huawei Technologies Co., Ltd. Authorisation verification method and apparatus
WO2018165548A1 (en) * 2017-03-10 2018-09-13 Stojanovski Alexandre Saso Technology coordination for device-to-device discovery
CN110166977A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Communication means and device

Also Published As

Publication number Publication date
CN113412679A (en) 2021-09-17
CN113412679B (en) 2023-01-06
CN113132985A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN111436160B (en) Local area network communication method, device and system
JP7252305B2 (en) Data transmission method, device and system
WO2019196846A1 (en) Communication method and device
WO2022088029A1 (en) Key acquisition method and communication apparatus
WO2019072188A1 (en) Message interaction method and device and interoperation function
CN110830983B (en) Management method and device for local area network communication
WO2021208861A1 (en) Authorization method, policy control function device, and access and mobility management function device
CN111586770B (en) Session management method and device
WO2021254353A1 (en) Method, device, and system for releasing relay connection
WO2019174582A1 (en) Message transmission method and device
WO2021135650A1 (en) Communication method and apparatus
EP4171102A1 (en) Communication method, device and system
CN111031538A (en) Authentication method and device
EP3163919B1 (en) D2d service authorizing method and device and home near field communication server
WO2022213951A1 (en) Communication method and apparatus
EP4181542A1 (en) Proximity service communication method, management network element, terminal device, and communication system
WO2021184271A1 (en) Message forwarding method and apparatus
CN114980223A (en) Communication method and device
WO2021136301A1 (en) Communication method and apparatus
WO2023050799A1 (en) Registration method, terminal device, core network device, and storage medium
WO2024041216A1 (en) Communication method and apparatus, and device
WO2024060894A1 (en) Communication method and apparatus
WO2023134437A1 (en) Communication method and apparatus
WO2024032245A1 (en) Communication method and communication apparatus
WO2023143459A1 (en) Authorization method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1