WO2022140919A1 - 一种通信方法及装置 - Google Patents

一种通信方法及装置 Download PDF

Info

Publication number
WO2022140919A1
WO2022140919A1 PCT/CN2020/140162 CN2020140162W WO2022140919A1 WO 2022140919 A1 WO2022140919 A1 WO 2022140919A1 CN 2020140162 W CN2020140162 W CN 2020140162W WO 2022140919 A1 WO2022140919 A1 WO 2022140919A1
Authority
WO
WIPO (PCT)
Prior art keywords
discovery
network element
function network
terminal
discovery function
Prior art date
Application number
PCT/CN2020/140162
Other languages
English (en)
French (fr)
Inventor
许胜锋
杨艳梅
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/140162 priority Critical patent/WO2022140919A1/zh
Publication of WO2022140919A1 publication Critical patent/WO2022140919A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a communication method and device.
  • proximity service direct communication
  • one terminal device can provide a proximity service (proximity service, ProSe) to another terminal device for data exchange.
  • ProSe proximity service
  • the following describes the manner in which direct communication is established between the first terminal and the second terminal by taking the first terminal as a terminal requesting a proximity service and the second terminal as a terminal providing a proximity service as an example.
  • the first terminal and the second terminal are respectively connected with the 5G direct discovery name management function (5th generation direct discovery name management function, 5G DDNMF) network element to carry out For interaction, apply for discovery parameters for direct communication (such as ProSe restricted code, discovery filter, etc.).
  • discovery parameters for direct communication such as ProSe restricted code, discovery filter, etc.
  • the second terminal can obtain the discovery parameters of the first terminal from the 5G DDNMF network element, and then establish a device to device (device to device, D2D) communication.
  • the discovery function network elements in the same PLMN may include ProSe function network elements and 5G DDNMF network elements, that is, the same PLMN supports the fourth generation (4th generation, 4G) mobile communication technology system and fifth generation (5th generation, 5G) mobile communication technology system.
  • Both the ProSe functional network element and the 5G DDNMF network element can allocate discovery parameters to the terminal, so in this case, how the second terminal obtains the discovery parameters of the first terminal is a problem that needs to be solved.
  • the present application provides a communication method and device, which are used to accurately obtain discovery parameters of terminals, realize mutual discovery between terminals, and ensure direct communication between terminals.
  • a communication method is provided.
  • the method can be performed by a first communication device, and the first communication device can be a first discovery function network element, or a component included in the first discovery function network element, or a first discovery function network element.
  • the method is performed by the first discovery function network element.
  • the first discovery function network element receives a discovery request message from the first terminal, where the discovery request message includes the application layer identifier of the second terminal; the first discovery function network element, according to the application layer identifier, obtains a request from the proximity service application server acquiring the proximity service discovery identifier and the first information of the second terminal, because the first information includes the first indication information and/or the second indication information, and the first indication information is used to indicate the communication standard of the core network accessed by the second terminal,
  • the second indication information is used to indicate the type of the second discovery function network element, and the second discovery function network element is a discovery function network element serving the second terminal; therefore, the first discovery function network element can discover the identifier and The first information is to obtain the discovery parameters of the second terminal from the second discovery function network element.
  • the first discovery function network element obtains the discovery parameters of the terminal in a timely and accurate manner, shortens the communication delay, helps to realize mutual discovery between terminals, ensures direct communication between terminals, and avoids the simultaneous existence of ProSe in the PLMN.
  • the first discovery function network element cannot accurately obtain the discovery parameters of the discovered or monitored terminal.
  • the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element according to the proximity service discovery identifier and the first information, specifically including:
  • the first discovery function network element first determines the second discovery function network element according to the proximity service discovery identifier and the first information, and then the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element. In this way, the first discovery function network element can use the proximity service discovery identifier and the first information to accurately determine the second discovery function network element serving the second terminal, thereby acquiring discovery parameters from the second discovery function network element.
  • the first discovery function network element determines the second discovery function network element according to the proximity service discovery identifier and the first information, which specifically includes:
  • the first discovery function network element determines the PLMN to which the second terminal belongs according to the proximity service discovery identifier; then the first discovery function network element determines the second discovery function network element according to the first information and the PLMN.
  • the second discovery function network element serving the second terminal can be determined from the PLMN through the first information, which is helpful for timely and accurate Obtain the discovery parameters of the second terminal.
  • the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element, including:
  • the first discovery function network element sends a first message to the second discovery function network element, where the first message includes the PC5 RAT information of the first terminal and the proximity service discovery identifier of the second terminal, and the first message is used to obtain the first message.
  • the discovery parameters of the second terminal, the PC5 RAT information of the first terminal is used to represent the RAT adopted by the PC5 interface of the first terminal; the first discovery function network element receives the first discovery function network element from the second discovery function network element. Two terminal discovery parameters.
  • the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal having the same PC5 RAT as the first terminal through the above method, which can reduce the number of trust Make interaction and shorten communication delay.
  • the discovery request message also includes PC5 RAT information of the first terminal; the method further includes:
  • the first discovery function network element obtains the PC5 RAT information of the second terminal, and the PC5 RAT information of the second terminal is used to characterize the RAT adopted by the PC5 interface of the second terminal; when the PC5 RAT information of the second terminal and the PC5 RAT of the first terminal are used When the information is consistent, the first discovery function network element acquires the discovery parameters of the second terminal from the second discovery function network element.
  • the first discovery function network element accurately obtains the discovery parameters of the second terminal that has the same PC5 RAT as the first terminal, and can realize mutual discovery between the first terminal and the second terminal of the same PC5 RAT.
  • the first discovery function network element obtains the PC5 RAT information of the second terminal, specifically including:
  • the first discovery function network element obtains the PC5 RAT information of the second terminal from the proximity service application server; or, the first discovery function network element obtains the PC5 RAT information of the second terminal from the second discovery function network element.
  • the type of the second discovery function network element includes: fifth-generation 5G DDNMF, or ProSe function for proximity services.
  • a communication method is provided, and the method can still be executed by a first communication apparatus.
  • the method is executed by a first discovery function network element, and the method includes:
  • the first discovery function network element receives a discovery request message from the first terminal, where the discovery request message includes the application layer identifier of the second terminal; the first discovery function network element obtains the information from the proximity service application server according to the application layer identifier.
  • the proximity service discovery identifier of the second terminal, the proximity service discovery identifier of the second terminal includes first information, and the first information includes first indication information and/or second indication information, and the first indication information uses Indicates the communication standard of the core network accessed by the second terminal, the second indication information is used to indicate the type of the second discovery function network element, and the second discovery function network element is a discovery function serving the second terminal.
  • the first discovery function network element acquires the discovery parameter of the second terminal from the second discovery function network element according to the proximity service discovery identifier.
  • the first discovery function network element obtains the discovery parameters of the second terminal monitored by the first terminal in a timely and accurate manner, which can shorten the communication delay, help realize mutual discovery between terminals, and ensure direct communication between terminals. , to avoid the delay problem caused by trying to obtain the discovery parameters of the terminal when there are both ProSe functional network elements and 5G DDNMF network elements in the PLMN.
  • the difference between this method and the method provided in the first aspect is that this method does not need to enhance the original information, or does not need to send the first information, and the first discovery function network element discovers the terminal served by the PLMN.
  • the parameters are managed in a unified way, and the accurate acquisition of the discovered parameters can be realized.
  • the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element according to the proximity service discovery identifier, which specifically includes:
  • the first discovery function network element determines the second discovery function network element according to the proximity service discovery identifier; the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element. In this way, the first discovery function network element can use the proximity service discovery identifier and the first information to accurately determine the second discovery function network element serving the second terminal, thereby obtaining the monitored second terminal's information from the second discovery function network element. find parameters.
  • the first discovery function network element determines the second discovery function network element according to the proximity service discovery identifier, which specifically includes: the first discovery function network element determines the second discovery function network element according to the proximity service discovery identifier The public land mobile network PLMN to which the terminal belongs; the first discovery function network element determines the second discovery function network element according to the first information and the PLMN.
  • the second discovery function network element serving the second terminal can be determined from the PLMN through the first information.
  • the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element, which specifically includes:
  • the first discovery function network element sends a discovery first message to the second discovery function network element, where the first message includes the PC5 RAT information of the first terminal and the proximity service discovery identifier of the second terminal, and the first message is used to obtain the first message.
  • the first discovery function network element accurately obtains the discovery parameters of the terminal, which can realize that the first terminal and the second terminal of the same PC5 RAT can discover each other, and the terminals of different PC5 RATs no longer discover each other.
  • the discovery request message also includes PC5 RAT information of the first terminal
  • the method also includes:
  • the first discovery function network element obtains the PC5 RAT information of the second terminal, and the PC5 RAT information of the second terminal is used to represent the RAT adopted by the PC5 interface of the second terminal; when the PC5 RAT of the second terminal is used.
  • the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element.
  • the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal having the same PC5 RAT as the first terminal through the above method, which can reduce the number of trust Make interaction and shorten communication delay.
  • the first discovery function network element obtains the PC5 RAT information of the second terminal, which specifically includes:
  • the first discovery function network element obtains the PC5 RAT information of the second terminal from the proximity service application server; or, the first discovery function network element obtains the PC5 RAT information of the second terminal from the second discovery function network element.
  • the type of the second discovery function network element includes: the fifth generation 5G direct connection communication discovery name management function DDNMF, or the proximity service ProSe function.
  • a communication method can be executed by a third communication device, and the third communication device can be a proximity service application server, or a component included in the proximity service application server, or a chip system in the proximity service application server etc., exemplarily, the method is performed by a proximity service application server.
  • the proximity service application server receives a first message from the first discovery function network element, where the first message includes the application layer identifier of the second terminal, and the first message is used to obtain the information of the second terminal. subscription information; the proximity service application server sends a response message of the first message to the first discovery function network element;
  • the response message includes the proximity service discovery identifier of the second terminal and the first information, or the response message includes the proximity service discovery identifier of the second terminal, and the proximity service discovery identifier of the second terminal includes the first information;
  • the first information includes first indication information and/or second indication information, the first indication information is used to indicate the communication standard of the core network accessed by the second terminal, and the second indication information is used to indicate the second discovery function
  • the type of network element, the second discovery function network element is a discovery function network element serving the second terminal.
  • the proximity service application server helps the first discovery function to determine the type of the second discovery parameter or to determine the core of the access of the second terminal.
  • the communication standard of the network so as to accurately obtain the discovery parameters of the monitored second terminal.
  • the first message is an authorization request message.
  • the method further includes:
  • the proximity service application server obtains the first information and the proximity service discovery identifier of the second terminal from the second terminal;
  • the proximity service application server allocates an application layer identifier to the second terminal according to the proximity service discovery identifier of the second terminal;
  • the proximity service application server saves the correspondence between the first information, the application layer identifier and the proximity service discovery identifier of the second terminal.
  • the first discovery function network element can use the proximity service discovery identifier to query and obtain the first information from the proximity service application server, thereby accurately determining the second discovery function network element serving the second terminal, and from the second discovery function network element Meta gets discovery parameters.
  • the method further includes: the proximity service application server receives the PC5 RAT information of the second terminal; the proximity service application server saves the difference between the application layer identifier of the second terminal and the PC5 RAT information The correspondence between, and/or save the correspondence between the application layer identifier of the second terminal and the PC5 RAT information.
  • the first discovery function network element it is convenient for the first discovery function network element to query the PC5 RAT information of the second terminal, so that the first terminal and the second terminal of the same PC5 RAT can discover each other, and the terminals of different PC5 RATs no longer discover each other.
  • the response message also includes PC5 RAT information of the second terminal.
  • the method helps the first discovery function network element to accurately obtain the discovery parameters of the second terminal having the same PC5 RAT as the first terminal, and can realize mutual discovery between the first terminal and the second terminal of the same PC5 RAT.
  • a fourth aspect provides a communication method, which can still be executed by a second communication device, and the second communication device can be a second discovery function network element, or a component included in the second discovery function network element, or a second discovery function network element.
  • the chip system in the discovery function network element, etc. exemplarily, the method is performed by the second discovery function network element.
  • the method includes:
  • the second discovery function network element receives the parameter first message from the first discovery function network element, where the first message includes the proximity service discovery identifier of the second terminal and the PC5 RAT information of the first terminal; the first message uses To obtain the discovery parameter of the second terminal, the PC5 RAT information of the first terminal is used to characterize the RAT adopted by the PC5 interface of the first terminal; when the PC5 RAT information of the first terminal and the PC5 RAT of the second terminal When the information is consistent, the second discovery function network element sends the discovery parameter of the second terminal to the first discovery function network element according to the proximity service discovery identifier of the second terminal.
  • the second discovery function network element can timely and accurately determine whether the second terminal has the same PC5 RAT as the first terminal according to the above method, so as to timely send to the first discovery function network element whether the second terminal has the same PC5 RAT as the first terminal
  • the discovery parameter of the second terminal of the RAT can realize mutual discovery between the first terminal and the second terminal of the same PC5 RAT.
  • the second discovery function network element when the PC5 RAT information of the first terminal is inconsistent with the PC5 RAT information of the second terminal, the second discovery function network element sends a message to the first discovery function network element for notifying the first discovery function network element The notification message of the failure to obtain the discovery parameters of the second terminal.
  • the first discovery function network element determines that the second terminal and the first terminal have different PC5 RATs
  • the first discovery function network element no longer sends the discovery parameters of the second terminal to the first discovery function network element, so as to ensure that the different PC5 RATs have different PC5 RATs. Terminals no longer discover each other.
  • a fifth aspect provides a communication method, which can still be executed by a first communication device.
  • the method is executed by a first discovery function network element, including:
  • the first discovery function network element receives a first message, where the first message is used to obtain discovery parameters of the second terminal, the first discovery function network element sends a second message to the second discovery function network element, and the second message includes the second terminal
  • the proximity service discovery identifier of the second message is used to obtain the discovery parameters of the second terminal; wherein, the first discovery function network element and the second discovery function network element belong to the same PLMN, and the type of the first discovery function network element and the The types of the second discovery function network element are different, and the second discovery function network element is a discovery function network element serving the second terminal.
  • the first discovery function network element can be used as a unified interface for external communication to receive discovery request messages from other PLMNs. After receiving the discovery request messages from other PLMNs, the first discovery function network element obtains the second terminal discovery parameters from the second discovery function network element, and the first discovery function network element obtains the terminal discovery parameters in a timely and accurate manner, shortening the communication time. It is helpful to realize mutual discovery between terminals and ensure direct communication between terminals.
  • the method also includes:
  • the first discovery function network element receives a response message to the second message from the second discovery function network element, where the response message of the second message includes discovery parameters of the second terminal; the first discovery function network element sends a response message to the first message, The response message of the first message includes discovery parameters of the second terminal.
  • the first discovery function network element receives the first message, which specifically includes:
  • the first discovery function network element receives the first message from a third discovery function network element; wherein the third discovery function network element and the first discovery function network element belong to different PLMNs.
  • the first discovery function network element may serve as a unified interface for external communication, and receive discovery request messages from other PLMNs.
  • the first discovery function network element sends a second message to the second discovery function network element, which specifically includes:
  • the first discovery function network element sends the second message to the second discovery function network element
  • the first trigger condition includes at least one of the following:
  • the first discovery function network element does not locally store the discovery parameters of the second terminal, that is, the first discovery function network element does not locally exist the discovery parameters of the second terminal, so the first discovery function The network element requests the second discovery function network element to acquire discovery parameters.
  • the type of the first discovery function network element is 5G DDNMF
  • the first message includes the first PC5 RAT information
  • the first PC5 RAT information is used to characterize that the PC5 RAT is LTE. That is to say, the RAT used by the PC5 interface of the second terminal is LTE.
  • the type of the first discovery function network element is 5G DDNMF
  • the first terminal and the second terminal of different PC5 RATs cannot discover each other.
  • the type of the network element is the ProSe function, so the first discovery function network element requests the second discovery function network element to acquire discovery parameters.
  • the type of the first discovery function network element is a ProSe function
  • the first message includes the second PC5 RAT information
  • the second PC5 RAT information is used to represent that the PC5 RAT is NR. That is to say, the RAT used by the PC5 interface of the second terminal is NR.
  • the type of the network element of the first discovery function is the ProSe function
  • the first terminal and the second terminal of different PC5 RATs cannot discover each other.
  • the type of the network element is 5G DDNMF, so the first discovery function network element requests the second discovery function network element to obtain discovery parameters.
  • the type of the first discovery function network element is 5G DDNMF
  • the proximity service discovery identifier does not include first information
  • the first information includes first indication information and/or second indication information
  • the first indication information is used to indicate the communication standard of the core network accessed by the second terminal
  • the second indication information is used to indicate the type of the second discovery function network element
  • the second discovery function network element is a discovery function network element serving the second terminal;
  • the type of the first discovery function network element is 5G DDNMF, and the first message does not include the first information; or,
  • the type of the first discovery function network element is a ProSe function, and the first message includes the first information; or, the type of the first discovery function network element is a ProSe function, and the proximity service discovery identifier including the first information.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the second discovery function network element is of the ProSe function
  • the type of discovery function network element is 5G DDNMF.
  • a communication method is provided, and the method can be executed by the above-mentioned second communication apparatus.
  • the method is executed by a second discovery function network element, including:
  • the second discovery function network element receives a second message from the first discovery function network element; the second message is used to acquire discovery parameters of the second terminal;
  • the second discovery function network element sends a response message of the second message to the first discovery function network element according to the second message, where the response message of the second message includes the discovery parameter of the second terminal;
  • the first discovery function network element and the second discovery function network element belong to the same public land mobile network PLMN, and the type of the first discovery function network element and the type of the second discovery function network element are different , the second discovery function network element is a discovery function network element serving the second terminal.
  • the first discovery function network element can be used as a unified interface for external communication to receive discovery request messages from other PLMNs. After receiving the discovery request messages from other PLMNs, the first discovery function network element obtains the second terminal discovery parameters from the second discovery function network element, and the first discovery function network element obtains the terminal discovery parameters in a timely and accurate manner, shortening the communication time. It is helpful to realize mutual discovery between terminals and ensure direct communication between terminals.
  • the second discovery function network element sends a response message of the second message to the first discovery function network element, including:
  • the second discovery function network element sends a response message of the second message to the first discovery function network element
  • the second trigger condition includes at least one of the following:
  • the second discovery function network element locally stores the discovery parameters of the second terminal. That is to say, the first discovery function network element locally has the discovery parameters of the second terminal, so the second discovery function network element can locally obtain the discovery parameters of the second terminal.
  • the type of the second discovery function network element is 5G DDNMF
  • the second message includes the first PC5 RAT information
  • the first PC5 RAT information is used to represent that the PC5 RAT is NR. That is to say, the RAT used by the PC5 interface of the second terminal is NR. Since the type of the second discovery function network element is 5G DDNMF, the first terminal and the second terminal of the same PC5 RAT can discover each other. Based on the second discovery function network The element type is 5G DDNMF, so the first discovery function network element can locally obtain the discovery parameters of the second terminal.
  • the type of the second discovery function network element is the ProSe function
  • the second message includes the second PC5 RAT information
  • the second PC5 RAT information is used to characterize that the PC5 RAT is LTE. That is to say, the RAT used by the PC5 interface of the second terminal is LTE.
  • the type of the second discovery function network element is the ProSe function
  • the first terminal and the second terminal of the same PC5 RAT can discover each other.
  • the element type is a ProSe function, so the first discovery function network element can locally acquire the discovery parameters of the second terminal.
  • the type of the second discovery function network element is the ProSe function
  • the second message or PDUID does not include the first information
  • the proximity service discovery identifier does not include the first information
  • the first information includes the first indication information and/or second indication information
  • the first indication information is used to indicate the communication standard of the core network accessed by the second terminal
  • the second indication information is used to indicate the type of the second discovery function network element
  • the The second discovery function network element is a discovery function network element serving the second terminal.
  • the type of the second discovery function network element is 5G DDNMF, and the second message or PDUID includes the first information.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the second discovery function network element is of the type ProSe function.
  • the type of network element is 5G DDNMF.
  • a seventh aspect provides a communication method, which can still be executed by a first communication apparatus.
  • the method is executed by a first discovery function network element, and the method includes:
  • the first discovery function network element receives the second discovery parameter of the second terminal from the second discovery function network element;
  • the first discovery function network element stores the second discovery parameter.
  • the first discovery function is responsible for managing the discovery parameters of each discovery function network element in the same PLMN, so that the first discovery function network element can obtain the second terminal locally after receiving the discovery request message from other PLMNs discovery parameters. Therefore, in the scenario where the same operator supports both the 4G communication system and the 5G communication system, the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help the first terminal and The mutual discovery between the second terminals ensures direct communication between the terminals.
  • the method further includes: the first discovery function network element receives a first discovery request message from the first terminal; the first discovery function network element allocates the first discovery request message to the first terminal according to the first discovery request message a discovery parameter;
  • the first discovery function network element sends a response message of the first discovery request message to the first terminal, where the response message of the first discovery request message includes the first discovery parameter.
  • the first discovery function network element can implement unified management of discovery parameters of terminals served in the PLMN.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the type of the second discovery function network element is 5G DDNMF.
  • a communication method is provided, and the method can still be executed by a second communication apparatus.
  • the method is executed by a second discovery function network element, and the method includes:
  • the second discovery function network element receives the second discovery request message from the second terminal; then the second discovery function network element allocates the second discovery parameter to the second terminal according to the second discovery request message; the second discovery function The network element sends a response message of the second discovery request message to the second terminal, because the response message includes the second discovery parameter; therefore, the second discovery function network element sends the second discovery parameter to the first discovery function network element;
  • the first discovery function network element and the second discovery function network element belong to the same PLMN, and the type of the first discovery function network element is different from the type of the second discovery function network element.
  • the second discovery function network element after allocating discovery parameters to the second terminal, the second discovery function network element sends the allocated discovery parameters to the first discovery function network element, and the first discovery function is responsible for managing the discovery of each discovery function network element in the same PLMN parameters, so that the first discovery function network element can locally acquire the discovery parameters of the second terminal after receiving the discovery request messages from other PLMNs. Therefore, in the scenario where the same operator supports both the 4G communication system and the 5G communication system, the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help the first terminal and The mutual discovery between the second terminals ensures direct communication between the terminals.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the type of the second discovery function network element is 5G DDNMF.
  • a communication method is provided, and the method can still be executed by a first communication device.
  • the method is executed by a first discovery function network element, and the method: the first discovery function network element receives information from the second discovery function network element. The third message of the network element, where the third message is used to obtain the discovery parameter of the second terminal; the first discovery function network element allocates the second discovery parameter to the second terminal according to the third message; the first discovery function network element sends the The second discovery function network element sends a response message to the third message, where the response message includes the second discovery parameter;
  • the first discovery function network element and the second discovery function network element belong to the same PLMN, and the type of the first discovery function network element is different from the type of the second discovery function network element.
  • the first discovery function network element may serve as an external unified interface, and after receiving the first discovery request message, it forwards the discovery request message to the second discovery function network element, that is, the first discovery function network element It is responsible for managing the discovery parameters of the second discovery function network element in the same PLMN, so as to obtain the discovery parameters of the second terminal timely and accurately. Therefore, in the scenario where the same operator supports both the 4G communication system and the 5G communication system, the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help the first terminal and The mutual discovery between the second terminals ensures direct communication between the terminals.
  • the method includes: the first discovery function network element saves the first discovery parameter.
  • the method further includes: the first discovery function network element receives a first discovery request message from the first terminal; the first discovery function network element allocates the first discovery request message to the first terminal according to the first discovery request message A discovery parameter; the first discovery function network element sends a response message of the first discovery request message to the first terminal, where the response message of the first discovery request message includes the first discovery parameter.
  • the first discovery function network element not only saves the discovery parameters of the serving first terminal, but also saves the discovery parameters of the terminals served by other discovery function network elements in the PLMN.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the The type of the second discovery function network element is 5G DDNMF.
  • a tenth aspect provides a communication method, which can still be executed by a second communication device.
  • the method is executed by a second discovery function network element, and the method:
  • the second discovery function network element receives the second discovery request message from the second terminal
  • the second discovery function network element receives a response message to the third message from the first discovery function network element, the response message including the discovery parameters of the second terminal;
  • the second discovery function network element sends a response message of the second discovery request message to the second terminal, where the response message of the second discovery request message includes the second discovery parameter.
  • the first discovery function network element and the second discovery function network element belong to the same PLMN, and the type of the first discovery function network element is different from the type of the second discovery function network element.
  • the first discovery function network element is used as a unified external interface, and the second discovery function network element requests the first discovery function network element to allocate the discovery parameters of the second terminal, that is, the first discovery function is responsible for managing each PLMN in the same PLMN.
  • the discovery parameters of the network element with the discovery function are so that the first network element with the discovery function can locally obtain the discovery parameters of the second terminal after receiving the discovery request message from the other PLMN. Therefore, in the scenario where the same operator supports both the 4G communication system and the 5G communication system, the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help the first terminal and the The mutual discovery between the second terminals ensures direct communication between the terminals.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the type of the second discovery function network element is 5G DDNMF.
  • an embodiment of the present application provides a first communication device, where the first communication device may be a first discovery function network element (for example, the first discovery function network element in the first aspect, the first discovery function network element in the second aspect, The first discovery function network element, the first discovery function network element in the fifth aspect, the first discovery function network element in the seventh aspect, the first discovery function network element in the ninth aspect) or set in the first discovery function The chip inside the network element.
  • the first communication device has the function of implementing any one of the first aspect, the second aspect, the fifth aspect, the seventh aspect, and the ninth aspect.
  • the first communication device includes executing the first aspect, Any one of the second aspect, the fifth aspect, the seventh aspect, and the ninth aspect relates to the modules or units or means (means) corresponding to the steps, and the functions or units or means may be implemented by software, or implemented by hardware, The corresponding software implementation can also be executed by hardware.
  • the communication device includes a processing unit and a communication unit, wherein the communication unit can be used to send and receive signals to implement communication between the communication device and other devices, for example, the communication unit is used to receive data from Information of the terminal equipment; the processing unit can be used to perform some internal operations of the communication device.
  • the communication apparatus includes a processor, and may also include a transceiver, where the transceiver is used to send and receive signals, and the processor executes program instructions to accomplish the above-mentioned first aspect, second aspect, The method in any possible designs or implementations of the fifth aspect, the seventh aspect, and the ninth aspect.
  • the communication device may further include one or more memories, the memories are used for coupling with the processor, and the memories may store the implementation of the first aspect, the second aspect, the fifth aspect, the seventh aspect, and the ninth aspect.
  • the processor can execute computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the communication device can implement the first aspect, the second aspect, the fifth aspect, the seventh aspect, The method in any possible design or implementation of the ninth aspect.
  • the communication device includes a processor, which may be operative to couple with the memory.
  • the memory may store necessary computer programs or instructions to implement the functions involved in any of the above-mentioned first, second, fifth, seventh, and ninth aspects.
  • the processor can execute computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the communication device can implement the first aspect, the second aspect, the fifth aspect, the seventh aspect, The method in any possible design or implementation of the ninth aspect.
  • the communication device includes a processor and an interface circuit, wherein the processor is configured to communicate with other devices through the interface circuit, and execute the above-mentioned first aspect, second aspect, fifth aspect, The seventh aspect and the method in any possible design or implementation manner of the ninth aspect.
  • the processor can be implemented by hardware or software.
  • the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software,
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the above processors may be one or more, and the memory may be one or more.
  • the memory may be integrated with the processor, or the memory may be provided separately from the processor. In a specific implementation process, the memory and the processor may be integrated on the same chip, or may be provided on different chips respectively.
  • the embodiments of the present application do not limit the type of the memory and the manner of setting the memory and the processor.
  • an embodiment of the present application provides a second communication device, where the second communication device may be a second discovery function network element (for example, the first discovery function network element in the fourth aspect, the the first discovery function network element, the first discovery function network element in the eighth aspect, the first discovery function network element in the tenth aspect) or a chip provided inside the second discovery function network element.
  • the second communication device has the function of implementing any one of the fourth aspect, sixth aspect, eighth aspect, and tenth aspect.
  • the second communication device includes performing the fourth aspect, sixth aspect, Any one of the eighth aspect and the tenth aspect relates to modules or units or means (means) corresponding to the steps, and the functions or units or means can be implemented by software, or by hardware, or by executing corresponding software by hardware. accomplish.
  • the second communication device includes a processing unit and a communication unit, wherein the communication unit can be used to send and receive signals to implement communication between the second communication device and other devices, for example, a communication unit Used to receive messages from the first discovery function network element; the processing unit may be used to perform some internal operations of the second communication device.
  • the second communication device includes a processor, and may further include a transceiver, where the transceiver is used to send and receive signals, and the processor executes program instructions to accomplish the fourth aspect and the sixth aspect above.
  • the second communication device may further include one or more memories, the memories are used for coupling with the processor, and the memories may store the memory for implementing the fourth aspect, the sixth aspect, the eighth aspect, and the tenth aspect.
  • the processor can execute computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the second communication device can implement the fourth aspect, sixth aspect, eighth aspect, and tenth aspect.
  • the second communication device includes a processor, which may be operative to couple with the memory.
  • the memory may store necessary computer programs or instructions to implement the functions involved in any of the above-mentioned fourth, sixth, eighth, and tenth aspects.
  • the processor can execute computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the second communication device can implement the fourth aspect, sixth aspect, eighth aspect, and tenth aspect. A method in any possible design or implementation of an aspect.
  • the second communication device includes a processor and an interface circuit, wherein the processor is configured to communicate with other devices through the interface circuit, and execute the above fourth aspect, sixth aspect, and eighth aspect Aspects, the method in any possible design or implementation of the tenth aspect.
  • the processor can be implemented by hardware or software.
  • the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software,
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the above processors may be one or more, and the memory may be one or more.
  • the memory may be integrated with the processor, or the memory may be provided separately from the processor. In a specific implementation process, the memory and the processor may be integrated on the same chip, or may be separately provided on different chips.
  • the embodiment of the present application does not limit the type of the memory and the manner of setting the memory and the processor.
  • an embodiment of the present application provides a third communication device, where the third communication device may be a proximity service application server (such as the proximity service application server in the third aspect) or a proximity service application server disposed inside the proximity service application server. chip.
  • the third communication device has the function of implementing the third aspect.
  • the third communication device includes modules or units or means corresponding to the steps involved in executing the third aspect.
  • the functions, units or means It can be implemented by software, or by hardware, or by executing corresponding software by hardware.
  • the third communication device includes a processing unit and a communication unit, wherein the communication unit can be used to send and receive signals to realize communication between the third communication device and other devices, for example, a communication unit for receiving the message from the first discovery function network element; the processing unit may be used for performing some internal operations of the third communication device.
  • the third communication apparatus includes a processor, and may further include a transceiver, where the transceiver is configured to transmit and receive signals, and the processor executes program instructions to complete the method of the third aspect.
  • the third communication device may further include one or more memories, the memories are used for coupling with the processor, and the memories may store necessary computer programs or instructions for implementing the functions involved in any one of the above third aspects .
  • the processor can execute the computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the third communication device can implement the method in any possible design or implementation manner of the third aspect above. .
  • the third communication device includes a processor, which may be used to couple with the memory.
  • the memory may hold the necessary computer programs or instructions to implement the functions involved in any of the above-mentioned third aspects.
  • the processor may execute the computer program or instructions stored in the memory, and when the computer program or instructions are executed, cause the third communication apparatus to implement the method in any possible design or implementation manner of the third aspect.
  • the third communication device includes a processor and an interface circuit, wherein the processor is configured to communicate with other devices through the interface circuit, and execute any possible design or implementation manner of the third aspect above method in .
  • the processor can be implemented by hardware or software.
  • the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software,
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the above processors may be one or more, and the memory may be one or more.
  • the memory may be integrated with the processor, or the memory may be provided separately from the processor. In a specific implementation process, the memory and the processor may be integrated on the same chip, or may be separately provided on different chips.
  • the embodiment of the present application does not limit the type of the memory and the manner of setting the memory and the processor.
  • an embodiment of the present application provides a communication system, where the communication system includes the first communication device in the eleventh aspect, the second communication device in the twelfth aspect, and the third communication device in the thirteenth aspect. communication device.
  • the present application provides a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when the computer reads and executes the computer-readable instructions, the computer is made to execute the above-mentioned first aspect
  • the method in any possible design to the tenth aspect.
  • the present application provides a computer program product that, when the computer reads and executes the computer program product, causes the computer to execute the method in any possible design of the first aspect to the tenth aspect.
  • the present application provides a chip, the chip includes a processor, the processor is coupled to a memory, and is configured to read and execute a software program stored in the memory, so as to implement the above-mentioned first to sixth aspects A method in any possible design of the ten aspects.
  • 1A is a schematic diagram of a system architecture suitable for D2D communication
  • 1B is a schematic diagram of mutual discovery between UEs belonging to different systems
  • FIG. 2 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • 3A is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 3B is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • 4A is a schematic diagram of a communication scenario provided by an embodiment of the present application.
  • FIG. 4B is a schematic diagram of another communication scenario provided by an embodiment of the present application.
  • FIG. 4C is a schematic diagram of another communication scenario provided by an embodiment of the present application.
  • 5A is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • 5B is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • 6A is a schematic diagram of a component of a proximity service discovery identification
  • 6B is a schematic diagram of components of an enhanced proximity service discovery identifier
  • FIG. 7 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 8A is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 8B is a schematic diagram of another communication scenario provided by an embodiment of the present application.
  • 9A is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 9B is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of another communication scenario provided by an embodiment of the present application.
  • FIG. 11A is a schematic diagram of another communication scenario provided by an embodiment of the present application.
  • FIG. 11B is a schematic diagram of a communication scenario provided by an embodiment of the present application.
  • FIG. 12 is a possible exemplary block diagram of the apparatus involved in the embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • LTE long term evolution
  • FDD frequency division duplex
  • TDD time division duplex
  • 5G fifth generation
  • NR new radio
  • the fourth generation ( 4th generation, 4G) communication system can support the communication between devices and devices. Communication, this kind of communication can be called device to device (device to device, D2D) communication.
  • D2D device to device
  • the biggest difference from traditional cellular communication technology is that D2D communication allows direct communication between terminals.
  • FIG. 1A a schematic diagram of a system architecture applicable to D2D communication in the present application is shown.
  • the system architecture includes terminals, and four terminals are exemplarily drawn in FIG. 1A , which are terminal A, terminal B, terminal C, and terminal D respectively.
  • the system architecture also includes radio access network (RAN) network elements, access and mobility management function (AMF) network elements, session management function (session management function, SMF) network elements, User plane function (UPF) network element, unified data management (UDM) network element, unified data repository (UDR) network element, ProSe application server (ProSe application server), data Network (data network, DN), network exposure function (NEF) network element, 5G direct discovery name management function (5G direct discovery name management function, 5G DDNMF) network element, policy control function (policy control function) , PCF) network element, ProSe application server, etc.
  • RAN radio access network
  • AMF access and mobility management function
  • SMF Se management function
  • UPF User plane function
  • UDM unified data management
  • UDR unified data repository
  • ProSe application server ProSe application server
  • data Network data network
  • NEF network exposure function
  • 5G direct discovery name management function 5G direct discovery name management function, 5G DDNMF
  • policy control function policy control function
  • 5G DDNMF, AMF network element, SMF network element, UDM network element, NEF network element, PCF network element and other network elements belong to the core network network elements in the fifth generation mobile communication technology (5th generation, 5G) network architecture, here are only examples Part of the core network elements are shown schematically, and the system architecture may also include other core network elements.
  • 5G DDNMF is also known as 5G direct discovery name management function.
  • the 5G DDNMF network element is in the control plane, and in another implementation manner, the 5G DDNMF network element is in the user plane. This patent does not limit whether the 5G DDNMF network element is in the control plane or the user plane.
  • RAN The main function of the RAN network element is to control users to access the mobile communication network through wireless.
  • RAN is a part of a mobile communication system. It implements a wireless access technology. Conceptually, it resides between some device (such as a mobile phone, a computer, or any remote control machine) and provides a connection to its core network. It should be pointed out that the RAN network element in this application may be referred to as RAN for short, which is not limited.
  • the AMF network element is responsible for the access management and mobility management of the terminal. In practical applications, it may include the mobility management function in the MME in the network framework of the LTE, and add the access management function.
  • the SMF network element is responsible for session management, such as user session establishment.
  • the PCF network element is a control plane function provided by the operator, and is used to provide the policy of the session to the SMF network element.
  • the policies may include charging-related policies, QoS-related policies, authorization-related policies, and the like.
  • the UPF network element is the functional network element of the user plane, and is mainly responsible for connecting to external networks, which may include the related functions of the LTE serving gateway (serving gateway, SGW) and the packet data network gateway (packet data network gateway, PDN-GW).
  • serving gateway serving gateway
  • PDN-GW packet data network gateway
  • the DN is responsible for the network that provides services for the terminal. For example, some DNs provide the terminal with the Internet access function, and other DNs provide the terminal with the short message function and so on.
  • the UDM network element is used to store the subscription information of the user, and realizes the HSS similar to that in the 4G communication system.
  • the UDM network element can determine the user permanent identifier of the UE according to the anonymized identifier or the temporary identifier of the UE ( subscription permanent identifier, SUPI).
  • the UDR network element is mainly used to store user subscription information, policy data, structured data for opening, and application data.
  • the ProSe application server (ProSe application server) is used to allocate an application layer identifier to the terminal according to the proximity service discovery identifier of the terminal, and store the correspondence between the proximity service discovery identifier and the application layer identifier.
  • the proximity service application server may be an AF network element or an application server (application server, AS) network element, that is, an AF network element or an AS network element with a ProSe application server function.
  • the ProSe application server and the UE can communicate on the user plane through the path of UE-RAN-UPF-AF.
  • the ProSe application server can also communicate with other core network elements through NEF network elements.
  • the NEF network element communicates with the PCF network element.
  • the NEF network element is used to open the capabilities and events of other network elements to third-party partners or AF network elements. It provides a way for AF network elements to securely provide information to 3rd generation partnership project (3GPP) networks, NEF network elements can authenticate and authorize and assist in restricting AF network elements. In addition, the NEF network element can also convert the information exchanged by the AF network element with the information exchanged by the core network function network element.
  • 3GPP 3rd generation partnership project
  • the 5G DDNMF network element is used to allocate and manage the discovery parameters of the terminal.
  • the 5G DDNMF network element can communicate with the proximity service application server through the PC2 interface to authorize the discovery request (discovery request) from the terminal, and assign the proximity service discovery identifier (such as the proximity service discovery UE ID) to the terminal. , PDUID)) and discovery parameters, and establish a mapping between the proximity service discovery identifiers and discovery parameters.
  • the discovery parameter is a ProSe restricted code, a discovery filter, and the like.
  • the 5G DDNMF network element is a network entity that provides the adjacent business service function, so that in the adjacent service, between two terminals with a relatively close distance, without relying on entities such as base stations and gateways, but through the 5G DDNMF network element. discover, and communicate with each other.
  • a terminal is a device with a wireless transceiver function, and may also be called user equipment (user equipment, UE).
  • the terminal can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as planes, balloons, satellites, etc.).
  • the terminal may be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control) wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety, Wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • the terminal in this embodiment of the present application may be a terminal capable of communicating in a proximity service (proximity service, ProSe) scenario, the terminal has a proximity service application (ProSe application) function, and the terminals with the ProSe application function can communicate through a PC5 interface communication.
  • ProSe proximity service
  • ProSe application proximity service application
  • the first terminal and the second terminal involved in the embodiments of the present application may be the foregoing terminals.
  • the second terminal and the first terminal may perform direct communication, and the direct communication may be referred to as device to device (device to device, D2D) communication.
  • the second terminal may refer to an announcing UE (announcing UE)
  • the first terminal may refer to a monitoring UE (monitoring UE).
  • a UE that actively monitors is called a monitoring UE, and a discovered or monitored UE is called a broadcasting UE or a monitored UE.
  • the same UE can be either a monitoring UE or a broadcasting UE.
  • ProSe discovery scenarios involved in the embodiments of the present application include two scenarios, namely, an open ProSe discovery (open ProSe discovery) scenario and a restricted ProSe discovery (restricted ProSe discovery) scenario.
  • the open proximity service discovery scenario for example, for example, a user A uses terminal A to play a game. User A does not have a clear game partner, so he only needs to "randomly" find a game partner.
  • This scenario is an open proximity service scenario.
  • the restricted proximity service discovery scenario for example, if user A uses terminal A to play games and has a clear game partner, user A can "designate" a partner through terminal A, and only the partner he designates can access the game, other If not, this scenario is a restricted proximity service discovery scenario.
  • the related descriptions of the open proximity service discovery scenario and the restricted proximity service discovery scenario reference may be made to the related art, which will not be repeated here.
  • the discovery parameter is obtained from the discovery function network element to discover other terminals.
  • the first terminal and the second terminal first interact with the corresponding discovery function network elements, respectively, to obtain their respective discovery parameters (for example, ProSe restricted code), discovery filter (discovery filter), etc. ).
  • the discovery function network element serving the first terminal and the second terminal is the ProSe function network element.
  • the discovery function network element serving the first terminal and the second terminal is the ProSe function network element. It is a 5G DDNMF network element.
  • the ProSe function network element is a discovery function network element in the 4G communication system, which is used for allocating and managing D2D discovery parameters.
  • the ProSe functional network element can communicate with the proximity service application server through the PC2 interface to process the authorization from the terminal discovery request (discovery request), and assign the proximity service discovery identifier and discovery parameters to the terminal.
  • the discovery parameter is the proximity service acceptance ProSe restricted code, and establishes the mapping between the proximity service discovery identifier and the discovery parameter.
  • the ProSe functional network element is also a network entity that provides the proximity service service function for the proximity service, so that in the proximity service, between two terminals with a relatively close distance, without relying on entities such as base stations and gateways, the ProSe functional network elements communicate with each other through the ProSe functional network element. discover, and communicate with each other.
  • the ProSe function network element and the 5G DDNMF network element may be collectively referred to as the discovery function network element.
  • the discovery function network element serving the first terminal and the second terminal is a 5G DDNMF network element
  • the second terminal (such as announcing UE) sends a
  • the 5G DDNMF network element sends a discovery request, and obtains the discovery parameters (such as ProSe restricted code) of the second terminal from the 5G DDNMF network element in PLMN1.
  • the first terminal (such as monitoring UE) sends a discovery request to the 5G DDNMF network element in PLMN2, where the discovery request includes the application layer identifier of the second terminal.
  • the 5G DDNMF network element in PLMN2 obtains the proximity service discovery user equipment identification (ProSe discovery UE ID, PDUID) corresponding to the application layer identification of the second terminal from the proximity service application server, and can be uniquely determined as the second terminal according to the PLMN identification in the PDUID.
  • the discovery function network element of the terminal service is the 5G DDNMF network element in PLMN1, so the 5G DDNMF network element in PLMN2 can obtain the discovery parameters of the second terminal from the 5G DDNMF in PLMN1, and send the discovery parameters of the second terminal to the first terminal. a terminal.
  • the second terminal can broadcast the discovery parameters of the second terminal through the PC5 interface (an interface for communication between terminals), and the first terminal can receive the broadcast message through the PC5 interface and use the acquired discovery parameters of the second terminal , and determine whether it matches the discovery parameter broadcasted by the second terminal. If it matches, the first terminal discovers the second terminal, and the two perform D2D communication.
  • the PC5 interface an interface for communication between terminals
  • the first terminal can receive the broadcast message through the PC5 interface and use the acquired discovery parameters of the second terminal , and determine whether it matches the discovery parameter broadcasted by the second terminal. If it matches, the first terminal discovers the second terminal, and the two perform D2D communication.
  • the fourth generation (4th generation, 4G) mobile communication technology system and the fifth generation (5th generation, 5G) mobile communication technology system can belong to the same PLMN, that is, the same operator supports 4G at the same time Communication system and 5G communication system.
  • the discovery function network element in PLMN1 to which the second terminal (announcing UE in FIG. 1B ) belongs includes a ProSe function (ProSe function) network element and a 5G DDNMF network element.
  • the first terminal (the monitoring UE in Figure 1B ) corresponds to the discovery function network element (5G DDNMF in the PLMN2 in Figure 1B ). network element) cannot uniquely determine whether the type of the discovery function network element serving the second terminal is the ProSe function or 5G DDNMF only through the PLMN ID in the PDUID.
  • the first terminal may first try to obtain from the ProSe function network element in PLMN1. Discovery parameters, if the acquisition fails, then obtain the discovery parameters from the 5G DDNMF network element in PLMN1, the communication delay is large, and the user experience is poor. It can be seen that the current discovery mechanism of D2D communication needs to be further optimized.
  • the application layer identifier which is used to indicate the monitored or discovered terminal identifier (indicating what the UE is interested to monitor).
  • the application layer identifier is the restricted ProSe application user equipment identifier (restricted ProSe application user ID, RPAUID).
  • the discovery parameter is used for mutual discovery between terminals.
  • the first terminal may receive the discovery parameter broadcast by the second terminal, and then when the first terminal determines that the discovery parameter of the first terminal includes the discovery parameter broadcast by the second terminal, the second terminal discovers the first terminal, That is, the first terminal and the second terminal can establish direct communication.
  • the discovery parameter may be a ProSe restricted code, a discovery filter, or the like.
  • the destination terminal refers to the monitored terminal or the discovered terminal in the proximity service discovery scenario.
  • the discovery type of the terminal can be open discovery, which is suitable for open ProSe discovery scenarios, or restricted discovery, which is suitable for restricted proximity services. Discovery (restricted ProSe discovery) scene.
  • the discovery function network element is the network entity that provides the proximity service service function for the proximity service, so that in the proximity service, between two terminals with a relatively close distance, without relying on entities such as base stations and gateways, but through the ProSe function Network elements discover each other and communicate with each other.
  • the ProSe function network element and the 5G DDNMF network element may be collectively referred to as the discovery function network element.
  • PC5 radio access technology (RAT) information used to characterize the RAT used by the PC5 interface of the terminal, for example, PC5 RAT is NR, or PC5 RAT is LTE.
  • RAT radio access technology
  • the proximity service discovery identifier is PDUID as an example for description.
  • the embodiments of the present application provide a communication method, which can quickly and accurately acquire discovery parameters of terminals, shorten communication delay, realize mutual discovery between terminals, and ensure direct communication between terminals.
  • a communication method provided by an embodiment of the present application includes:
  • Step 201 the first terminal sends a discovery request (discovery request) message 2a to the first discovery function network element.
  • the discovery request message 2a may include application layer identifiers of N destination terminals, where N is an integer greater than or equal to 1, and the application layer identifiers of the N destination terminals may include application layer identifiers of the second terminal.
  • the discovery request is used to request to discover or monitor N target terminals.
  • the N target terminals refer to terminals that need to be discovered or monitored.
  • the application layer identifiers of the N target terminals are used as the application layer identifiers of the second terminals as an example for description.
  • the application layer identifier may be the RPAUID of the second terminal.
  • the first discovery function network element may refer to a discovery function network element serving the first terminal
  • the second discovery function network element may refer to a discovery function network element serving the second terminal.
  • the communication standard of the core network accessed by the second terminal is 5G, that is, the second terminal accesses the 5G core network (5G core network, 5GC)
  • the second discovery function network element serving the second terminal The type is 5G DDNMF.
  • the communication standard of the core network accessed by the second terminal is the 4G communication system, that is, the second terminal accesses the evolved packet core (EPC)
  • EPC evolved packet core
  • the second discovery function network element serving the second terminal has a The type is ProSe functional network element.
  • the first discovery function network element serving the first terminal and the second discovery function network element serving the second terminal may be two independent network-side devices, or may be two functional modules integrated in the same network-side device middle.
  • the first discovery function network element serving the first terminal and the second discovery function network element serving the second terminal are used as two independent network side devices. elaborate.
  • Step 202 the first discovery function network element sends a request message 2b of the first discovery function network element to the proximity service application server.
  • the request message 2b may include the application layer identifier of the second terminal, and the request message 2b may be used to request the proximity service application server to authorize the discovery of the second terminal.
  • the request message 2b may be an authorization request message
  • the first discovery function network element may send an authorization request message to the proximity service application server, where the authorization request message may include, in addition to the RPAUID of the second terminal, the first terminal. RPAUID.
  • Step 203 the proximity service application server sends a response message 2c of the request message 2b to the first discovery function network element.
  • response message 2c is divided into the following two cases:
  • the response message 2c includes the PDUID of the second terminal and the first information.
  • the response message 2c includes the PDUID of the second terminal, and the PDUID of the second terminal includes the first information.
  • the PDUID is enhanced by carrying the first information in the PDUID, and the PDUID may be called an enhanced PDUID.
  • the first information may include first indication information and/or second indication information.
  • the first indication information may be used to indicate the communication standard of the core network accessed by the second terminal.
  • the communication standard of the core network is a 5G core network (5G core network, 5GC), or an evolved packet core network (evolved packet core). , EPC).
  • the second indication information may be used to indicate the type of the second discovery function network element, for example, the type of the second discovery function network element is 5G DDNMF or ProSe function.
  • the first information is the first indication information
  • the first indication information when the first indication information is 0 (for example, 1 bit indicates: 0), it indicates that the communication standard of the core network accessed by the second terminal is 5GC.
  • the indication information when the indication information is 1 (for example, 1 bit indicates: 1), it indicates that the communication standard of the core network accessed by the second terminal is EPC.
  • the first information is the second indication information
  • the second indication information when the second indication information is 0 (for example, 1 bit indicates: 0), it indicates that the type of the discovery function network element serving the second terminal is 5G DDNMF
  • the indication information when the indication information is 1 (for example, 1 bit indicates: 1), it indicates that the type of the discovery function network element serving the second terminal is the ProSe function.
  • the first information includes first indication information and second indication information, when both the first indication information and the second indication information are 0 (for example, the first indication information and the second indication information are represented by two bits: 00) , it indicates that the communication standard of the core network accessed by the second terminal is 5GC, the type of the discovery function network element serving the second terminal is 5G DDNMF, and when the first indication information and the second indication information are both 1 (for example, the The first indication information and the second indication information are represented by two bits: 11), it indicates that the communication standard of the core network accessed by the second terminal is EPC, and the type of the discovery function network element serving the second terminal is ProSe function.
  • both the first indication information and the second indication information are 0 (for example, the first indication information and the second indication information are represented by two bits: 00) , it indicates that the communication standard of the core network accessed by the second terminal is 5GC, the type of the discovery function network element serving the second terminal is 5G DDNMF, and when the first indication information and the second indication information are
  • the proximity service application server stores the correspondence between the PDUID and the application layer identifier, as well as the correspondence between the application layer identifier and the first information, and the proximity service application server stores the corresponding relationship between the PDUID and the application layer identifier according to the first information.
  • the PDUID and the first information of the second terminal are obtained from the proximity service application server.
  • the authorization request message when the first discovery function network element sends an authorization request message to the proximity service application server, the authorization request message includes the RPAUID of the first terminal and the RPAUID of the second terminal, and the proximity service application server sends to the first discovery function network element.
  • the authorization response message includes, in addition to the PDUID of the first terminal, the PDUID of the second terminal and the first information.
  • step 203 the corresponding relationship between the enhanced PDUID and the application layer identifier is stored on the proximity service application server, and the proximity service application server, according to the application layer identifier of the second terminal, converts the data from the proximity service
  • the application server acquires a PDUID corresponding to the application layer identifier of the second terminal, where the PDUID is an enhanced PDUID.
  • the authorization request message when the first discovery function network element sends an authorization request message to the proximity service application server, the authorization request message includes the RPAUID of the first terminal and the RPAUID of the second terminal, and the proximity service application server sends an authorization request message to the first discovery function network element.
  • An authorization response message is sent, where the authorization response message may include, in addition to the PDUID of the first terminal, an enhanced PDUID of the second terminal.
  • Step 204 the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element according to the response message 2c.
  • step 204 includes: the first discovery function network element determines the second discovery function network element according to the PDUID of the second terminal and the first information; the first discovery function network element; The network element acquires the discovery parameter of the second terminal from the second discovery function network element.
  • step 204 includes: the first discovery function network element determines the second discovery function network element according to the PDUID of the second terminal; The second discovery function network element acquires the discovery parameters of the second terminal.
  • the above-mentioned first discovery function network element determining the second discovery function network element according to the PDUID of the second terminal may include: determining the PLMN to which the second terminal belongs in the first discovery function network element according to the PDUID of the second terminal; A discovery function network element determines a second discovery function network element according to the first information in the PDUID and the PLMN.
  • the PLMN ID in the PDUID of the second terminal is 46000, that is, the PLMN to which the second terminal belongs is the first operator network, and the first discovery function network element can determine according to the PLMN ID in the PDUID of the second terminal.
  • the PLMN to which the second terminal belongs is the first operator network, so the first discovery function network element uniquely determines the second discovery function network element from the 5G DDNMF and ProSe function network elements in the first operator network according to the first information.
  • the second discovery function network element may refer to a discovery function network element serving the second terminal.
  • the first discovery function network element uniquely determines the second network element from the 5G DDNMF and ProSe function network elements in the mobile operator network
  • the network element of the terminal's discovery function is the 5G DDNMF in the mobile operator's network.
  • the first discovery function network element may be configured in advance with the correspondence between different core network communication standards and the discovery function network element. For example, configure the correspondence between 5GC and 5G DDNMF, and configure the correspondence between EPC and ProSe functional network elements.
  • the first information is the second indication information
  • the second indication information indicates that the type of the second discovery function network element is 5G DDNMF
  • the first discovery function network element is obtained from the 5G DDNMF and ProSe functions in the mobile operator network.
  • the type of network element that uniquely determines the discovery function of the second terminal in the network element is the 5G DDNMF in the mobile operator network.
  • obtaining the discovery parameters of the second terminal from the second discovery function network element in step 204 can be implemented in the following manner:
  • the first discovery function network element sends a first message to the second discovery function network element, where the first message includes PC5 radio access technology (radio access technology, RAT) information of the first terminal and the PDUID of the second terminal, The first message is used to acquire discovery parameters of the second terminal.
  • PC5 radio access technology radio access technology, RAT
  • the PC5 RAT information of the first terminal is used to characterize the RAT adopted by the PC5 interface of the first terminal.
  • the second discovery function network element can compare the PC5 RAT information of the second terminal with the PC5 RAT information of the first terminal, when the PC5 RAT information of the first terminal is compared with the PC5 RAT information of the second terminal.
  • the second discovery function network element When the RAT information is consistent, the second discovery function network element sends the discovery parameter of the second terminal to the first discovery function network element according to the PDUID of the second terminal; or, when the PC5 RAT information of the first terminal and the PC5 RAT of the second terminal When the information is inconsistent, the second discovery function network element sends a notification message to the first discovery function network element for notifying the second terminal of the failure to obtain the discovery parameters, or the second discovery function network element does not respond, that is, does not execute the notification to the first discovery function network element. The action of the discovery function network element to send the notification message.
  • the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element.
  • the above method further includes: the first discovery function network element compares the PC5 RAT information of the second terminal with the PC5 RAT information of the first terminal.
  • the PC5 RAT information of the first terminal can be carried in the discovery request message 2a sent by the first terminal to the first discovery function network element; the PC5 RAT information of the second terminal can be obtained from the proximity service application server by the first discovery function network element The acquisition may also be acquired by the first discovery function network element from the second discovery function network element.
  • the PC5 RAT information of the second terminal is used to characterize the RAT adopted by the PC5 interface of the second terminal.
  • the first discovery function network element may not respond, that is, the acquisition from the second discovery function network element is not performed. The action of discovering parameters of the second terminal.
  • the above two methods help the first terminal and the second terminal of the same PC5 RAT to discover each other, and the terminals of different PC5 RATs no longer discover each other.
  • the first discovery function network element can accurately determine the second discovery function network element serving the second terminal according to the PDUID of the second terminal and the first information, or the PDUID of the second terminal, Therefore, in the scenario where the same operator supports both the 4G communication system and the 5G communication system, the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help the first terminal and The mutual discovery between the second terminals ensures direct communication between the terminals.
  • FIGS. 3A and 3B illustrate the process of acquiring the discovery parameter of the second terminal by the first terminal as an example.
  • Step 301a the first terminal sends a discovery request message 3a to the first discovery function network element.
  • the discovery request message 3a is the same as the discovery request message 2a in step 201, and the specific content of this step 301a may refer to the foregoing step 201.
  • Step 302a the first discovery function network element sends a request message 3b of the first discovery function network element to the proximity service application server.
  • the request message 3b is the same as the request message 2b in step 202, and the specific content of this step 302a can refer to the above-mentioned step 202.
  • Step 303a the proximity service application server sends a response message 3c of the request message 3b to the first discovery function network element.
  • the response message 3c of the request message 3b is the same as the response message 2c of the request message 2b of the step 203, and the specific content of the step 303a can refer to the above-mentioned step 203.
  • Step 304a the first discovery function network element determines a second discovery function network element serving the second terminal according to the response message 3c.
  • Step 305a the first discovery function network element sends a first message 3d to the second discovery function network element.
  • the first message 3d can be used to obtain the discovery parameters of the second terminal, and the first message 3d includes the PC5 RAT information of the first terminal.
  • the first message 3d further includes the PDUID of the second terminal.
  • the first message 3d is a discovery parameter acquisition request message
  • the discovery parameter acquisition request message includes the PC5 RAT information of the first terminal and the PDUID of the second terminal.
  • the PC5 RAT information of the first terminal is used to characterize the RAT adopted by the PC5 interface of the first terminal, for example, the PC5 RAT is NR or LTE.
  • the discovery request message in the above-mentioned step 301a also includes the PC5 RAT information of the first terminal, and the first discovery function network element can obtain the PC5 RAT information of the first terminal from the discovery request message in the step 301a.
  • the first discovery function network element obtains the PC5 RAT information of the first terminal from the proximity service application server in step 303a.
  • the first terminal may include the PC5 RAT information of the first terminal in the discovery permission request message sent to the proximity service application server.
  • Step 306a the second discovery function network element receives the first message 3d, and compares the PC5 RAT information of the first terminal with the PC5 RAT information of the second terminal.
  • the second discovery function network element first obtains the PC5 RAT information of the second terminal before executing the step 306a.
  • the manner in which the second discovery function network element obtains the PC5 RAT information of the second terminal may be: the second terminal may send a message to the second discovery function network element before performing the above steps, and the message includes the second terminal's information PC5 RAT information.
  • the PC5 RAT of the first terminal and the PC5 RAT of the second terminal are both NR or LTE, and the second discovery function network element determines that the two are consistent; assuming that the PC5 RAT of the first terminal is NR, the second terminal The PC5 RAT of the first terminal is LTE, and the second discovery function network element determines that the two are inconsistent; assuming that the PC5 RAT of the first terminal is LTE, and the PC5 RAT of the second terminal is NR, then the second discovery function network element determines that the two are inconsistent.
  • the second discovery function network element may execute step 307a or 308a based on the comparison result of step 306a.
  • Step 307a when the PC5 RAT information of the first terminal is consistent with the PC5 RAT information of the second terminal, the second discovery function network element searches for the discovery parameter of the second terminal according to the PDUID of the second terminal, and reports to the first discovery function network element.
  • a response message 3e is sent.
  • the response message 3e includes the discovery parameters of the second terminal.
  • Step 308a when the PC5 RAT information of the first terminal is inconsistent with the PC5 RAT information of the second terminal, the second discovery function network element sends a notification message 3f to the first discovery function network element, and the notification message 3f is used to notify the second terminal. Failed to get the discovery parameter of .
  • step 308a is replaced with: when the PC5 RAT information of the first terminal is inconsistent with the PC5 RAT information of the second terminal, the second discovery function network element does not respond, that is, does not perform any operation.
  • steps 307a and 308a are both optional steps.
  • the above method may include one of steps 307a and 308a, or may include steps 307a and 308a, which is not limited.
  • the above method may further include steps 309a and 310a, so as to complete the direct communication between the first terminal and the second terminal.
  • Step 309a the first discovery function network element sends the discovery parameter of the first terminal to the first terminal.
  • the discovery parameters of the first terminal may be composed of discovery parameters of N target terminals.
  • the N target terminals include the second terminal, and the discovery parameters of the first terminal include discovery parameters of the second terminal.
  • the target terminal includes M other terminals besides the second terminal, and M is a positive integer
  • the first discovery function network element obtains the discovery parameters of the second terminal and the discovery parameters of M other terminals
  • a discovery parameter of the first terminal is generated, where the discovery parameter of the first terminal may include the discovery parameter of the second terminal and the discovery parameters of M other terminals.
  • Step 310a when the discovery parameter of the first terminal matches the discovery parameter broadcast by the second terminal, the first terminal discovers the second terminal and establishes D2D communication with the second terminal.
  • the discovery parameters of the first terminal include the discovery parameters of the second terminal
  • the discovery parameters of the second terminal in the discovery parameters of the first terminal are the same as the discovery parameters broadcast by the second terminal, the first terminal determines A D2D connection can be established with the second terminal to implement direct communication between the first terminal and the second terminal.
  • Steps 301b to 304b are the same as steps 301a to 304a shown in FIG. 3A above.
  • Step 305b the first discovery function network element obtains the PC5 RAT information of the second terminal.
  • the second terminal first sends the PC5 RAT information of the second terminal to the adjacent service application server, so that the adjacent service application server preserves the correspondence between the application layer identification of the second terminal and the PC5 RAT information, and/or the second Correspondence between the terminal's PDUID and PC5 RAT information. Therefore, the first discovery function network element can obtain the PC5 RAT information of the second terminal from the proximity service application server according to the application layer identifier of the second terminal.
  • the response message 3c includes the PC5 RAT information of the second terminal, and the first discovery function network element obtains the PC5 RAT information of the second terminal from the response message 3c.
  • the first discovery function network element obtains the PC5 RAT information of the second terminal from the second discovery function network element, such as the first discovery function network element sends a request to the second discovery function network element to obtain the PC5 RAT information of the second terminal, It should be understood that the second terminal first sends the PC5 RAT information of the second terminal to the second discovery function network element, so that the second discovery function network element stores the PC5 RAT information of the second terminal.
  • Step 306b the first discovery function network element compares the PC5 RAT information of the second terminal with the PC5 RAT information of the first terminal.
  • the first discovery function network element first obtains the PC5 RAT information of the first terminal.
  • the manner in which the first discovery function network element obtains the PC5 RAT information of the first terminal may be as follows: the first terminal may send a message to the first discovery function network element before performing the above steps, and the message includes the first terminal's information PC5 RAT information.
  • the PC5 RAT of the first terminal and the PC5 RAT of the second terminal are both NR or LTE, and the first discovery function network element determines that the two are consistent; assuming that the PC5 RAT of the first terminal is NR, the second terminal The PC5 RAT of the first terminal is LTE, and the first discovery function network element determines that the two are inconsistent; assuming that the PC5 RAT of the first terminal is LTE, and the PC5 RAT of the second terminal is NR, then the first discovery function network element determines that the two are inconsistent.
  • the first discovery function network element may execute steps 307b to 308b, or execute step 309b based on the comparison result of step 306b.
  • Step 307b when the PC5 RAT information of the second terminal is consistent with the PC5 RAT information of the first terminal, the first discovery function network element sends a first message 3d to the second discovery function network element, and the first message 3d includes the information of the second terminal. PDUID.
  • the first message 3d is used to acquire the discovery parameter of the second terminal.
  • the first message 3d is a discovery parameter request message
  • the discovery parameter request message is used to request discovery parameters of the second terminal.
  • Step 308b the first discovery function network element receives a response message 3e to the first message 3d from the second discovery function network element.
  • the response message 3e of the first message 3d includes the discovery parameters of the second terminal.
  • Step 309b when the PC5 RAT information of the second terminal is inconsistent with the PC5 RAT information of the first terminal, the first discovery function network element does not respond, that is, does not send the first message to the second discovery function network element.
  • steps 308b and 309b are optional steps, for example, the above method may include one of steps 308b and 309b, or may include steps 308b and 309b, which are not limited.
  • the above method may include steps 310b and 311b to complete the direct communication between the first terminal and the second terminal.
  • step 310b is the same as step 309a, and the specific content can refer to step 309a, and step 311b is the same as step 310a, and the specific content can refer to step 310a, which will not be repeated here.
  • the second discovery function network element is the same as the first discovery function network element, that is, the same discovery function network element, and the first discovery function network element obtains the discovery parameters of the second terminal locally.
  • the first discovery function network element serving the listener UE is the 5G DDNMF in PLMN1
  • the second discovery function network element serving the broadcaster UE is also the 5G DDNMF in PLMN1. Therefore, 5G DDNMF receives the discovery request from the monitor UE. Because the discovery request includes the RPAUID of the broadcaster UE being monitored, the 5G DDNMF obtains the broadcaster UE's PDUID and the second broadcaster UE from the proximity service application server according to the RPAUID of the broadcaster UE. Indication information, the second indication information indicates that the type of the discovery function network element accessed by the broadcaster UE is 5G DDNMF. Since the PLMN ID in the PDUID is PLMN1, the 5G DDNMF obtains the broadcaster UE's discovery parameters from the local.
  • the second discovery function network element is different from the first discovery function network element, and the first discovery function network element obtains the discovery parameters of the second terminal from the second discovery function network element.
  • the first discovery function network element serving the listener UE is the 5G DDNMF network element in PLMN1.
  • the second discovery function network element serving the broadcaster UE is the ProSe function network element in PLMN1.
  • the 5G DDNMF when the 5G DDNMF receives the discovery request from the listener UE, because the discovery request includes the RPAUID of the broadcaster UE being monitored, Therefore, 5G DDNMF obtains the PDUID of the broadcaster UE and the second indication information from the proximity service application server according to the RPAUID of the broadcaster UE, and the second indication information indicates that the type of the discovery function network element accessed by the broadcaster UE is the ProSe function , because the PLMN ID in the PDUID is PLMN1, the 5G DDNMF obtains the discovery parameters of the broadcaster UE from the ProSe function network element in PLMN1.
  • the first discovery function network element serving the listener UE is the 5G DDNMF in PLMN2, which is The second discovery function network element served by the broadcaster UE is the ProSe function network element in PLMN1. Therefore, when the 5G DDNMF receives the discovery request from the listener UE, because the discovery request includes the RPAUID of the broadcaster UE being monitored, the 5G DDNMF obtains the PDUID of the broadcaster UE and the second indication information from the proximity service application server according to the RPAUID of the broadcaster UE.
  • the second indication information indicates that the type of the discovery function network element accessed by the broadcaster UE is the ProSe function.
  • the PLMN ID in the PDUID is PLMN1, so the 5G DDNMF obtains the discovery parameters of the broadcaster UE from the ProSe function network element in PLMN1.
  • the proximity service application server stores the correspondence between the PDUID and the application layer identifier, as well as the correspondence between the application layer identifier and the first information, so that the proximity service application server can be based on the first information.
  • the PDUID and the first information of the second terminal are obtained from the proximity service application server.
  • the proximity service application server may allocate an application layer identifier to the second terminal according to the PDUID of the second terminal and the first information received from the second terminal; and save the first information and the PDUID of the second terminal.
  • the specific process may refer to the embodiment shown in FIG. 5A below.
  • the proximity service application server may allocate an application layer identifier to the second terminal according to the PDUID of the second terminal received from the second terminal; and store the difference between the PDUID of the second terminal and the application layer identifier. and save the corresponding relationship between the application layer identifier and the first information according to the first information in the message received from the second discovery function network element, the specific process can refer to the implementation shown in the following Figure 5B example.
  • the proximity service application server may also receive the PC5 RAT information of the second terminal from the second terminal, and save the correspondence between the application layer identifier of the second terminal and the PC5 RAT information , and/or, save the correspondence between the PDUID of the second terminal and this PC5 RAT information, so that the first discovery function network element obtains the PC5 RAT information of the second terminal from the adjacent service application server, compares the PC5 RAT information of the second terminal The RAT information is consistent with the PC5 RAT information of the first terminal.
  • the above-mentioned corresponding relationship in the proximity service application server may be generated in the process of acquiring its own discovery parameter by the second terminal.
  • the following describes the process for the second terminal to acquire its own discovery parameters.
  • 5A is a schematic flowchart of a communication method provided by an embodiment of the present application, and the method includes the following steps:
  • Step 501a the second terminal sends a first message 5a to the second discovery function network element.
  • the first message 50a may be used for the second terminal to register with the second discovery function network element.
  • the first message is a discovery registration message.
  • Step 502a the second discovery function network element allocates a PDUID to the second terminal according to the first message 50a, and sends a response message 50b of the first message 50a to the second terminal, where the response message 50b includes the PDUID of the second terminal.
  • the response message 50b is a registration response message, and the registration response message includes the PDUID of the second terminal.
  • the second discovery function network element enhances the PDUID, that is, the allocated PDUID includes the first information.
  • the first information reference may be made to the relevant descriptions in the foregoing embodiments, and details are not repeated here.
  • the traditional PDUID is shown in Figure 6A
  • the components of the PDUID include a PLMN ID and a temporary field (temporary ID) identification, wherein the PLMN ID is the PLMN identification to which the discovery function network element belongs, and the temporary ID is the discovery function network element. Meta-allocated temporary identifier to distinguish different UEs.
  • the present application enhances the PDUID in the prior art shown in Fig. 6A, and adds a new field to the PDUID in the prior art, and the newly added field can occupy 1 bit or two bits, as shown in Fig. 6B.
  • the newly added field is the first information.
  • the bit on the bit of the newly added field indicates that the communication standard of the core network accessed by the second terminal is 5GC, and when the bit on the bit of the newly added field is 1, it indicates that the second The communication standard of the core network accessed by the terminal is EPC.
  • the bit on the bit of the newly added field indicates that the type of the discovery function network element serving the second terminal is 5G DDNMF, and when the bit on the bit of the newly added field is 1, it is expressed as The type of the network element of the discovery function of the second terminal service is the ProSe function.
  • bit on the bit of the newly added field when the bit on the bit of the newly added field is 00, it indicates that the communication standard of the core network accessed by the second terminal is 5GC, and the type of the network element with the discovery function serving the second terminal is 5G DDNMF;
  • bit in the bit of the added field When the bit in the bit of the added field is 11, it indicates that the communication standard of the core network accessed by the second terminal is EPC, and the type of the discovery function network element serving the second terminal is the ProSe function.
  • the second discovery function network element does not enhance the PDUID, that is, the PDUID allocated by the second discovery function network element does not include the first information.
  • Step 503a the second terminal sends a second message 50c to the proximity service application server.
  • the second message 50c is used to request authorization to discover the second terminal.
  • the second message 50c is a discovery permission message.
  • the discovery permission message includes the PDUID of the second terminal, and the PDUID includes the first information.
  • the second message includes the PDUID of the second terminal and the first information.
  • the PDUID may not include the first information, but the first information is carried in the second message, that is, both the PDUID and the first information are carried in the second message.
  • the second message includes PC5 RAT information of the second terminal.
  • Step 504a the proximity service application server allocates an application layer identifier to the second terminal according to the PDUID of the second terminal, and saves the correspondence between the first information, the application layer identifier and the PDUID of the second terminal.
  • the application layer identifier may refer to the application layer user identifier (restricted ProSe application user ID, RPAUID) of the restricted proximity service.
  • the proximity service application server After allocating an application layer identifier to the second terminal according to the PDUID of the second terminal, the proximity service application server saves the correspondence between the PDUID and the RPAUID, so as to facilitate the subsequent search for the PDUID corresponding to the RPAUID of the second terminal.
  • the corresponding relationship between the application layer identifier and the PDUID may include: the corresponding relationship between the application layer identifier and the first information.
  • the corresponding relationship between the application layer identifier and the PDUID of the second terminal may include: between the application layer identifier and the PDUID and the corresponding relationship between the application layer identifier and the first information, so as to facilitate the subsequent search for the first information corresponding to the application layer identifier of the second terminal.
  • the proximity service application server may also store the PDUID and the first information. A correspondence between information.
  • the proximity service application server may also save the correspondence between the PDUID of the second terminal and the PC5 RAT information, so as to facilitate subsequent searches PC5 RAT information of the second terminal.
  • Step 505a the proximity service application server sends a response message 50d of the second message 50c to the second terminal, where the response message 50d includes the application layer identifier of the second terminal.
  • the response message 50d of the second message 50c is a discovery permission response message
  • the discovery permission response message includes the application layer identifier of the second terminal.
  • the application layer identifier may be RPAUID.
  • Step 506a the second terminal sends a discovery request (discovery request) message to the second discovery function network element.
  • the discovery request message may include the application layer identifier of the second terminal, and the discovery request message is used to request to discover the discovery parameters of the second terminal.
  • Step 507a the second discovery function network element sends an authorization request (authorization request) message to the proximity service application server.
  • the authorization request message may include an application layer identifier of the second terminal, and the authorization request message is used to request authorization to discover the second terminal.
  • the authorization request message may further include the PDUID of the first terminal, and the authorization request message may further be used to request authorization for the first terminal to discover the second terminal.
  • Step 508a the proximity service application server obtains the PDUID corresponding to the application layer identifier of the second terminal.
  • the proximity service application server may obtain the PDUID corresponding to the application layer identifier according to the corresponding relationship saved in step 504a.
  • Step 509a the proximity service application server sends an authorization response (authorization response) message to the second discovery function network element, where the authorization response message includes the PDUID of the second terminal.
  • authorization response authorization response
  • Step 510a the second discovery function network element allocates discovery parameters of the second terminal according to the PDUID of the second terminal.
  • the second discovery function network element stores the correspondence between the PDUID of the second terminal and the discovery parameter.
  • the second discovery function network element sends the discovery parameter of the second terminal to the second terminal.
  • the discovery parameter of the second terminal may include a ProSe restricted code word.
  • the network element of the second discovery function may allocate a restricted proximity service codeword to each terminal, that is, each terminal corresponds to a restricted proximity service codeword.
  • the discovery parameter may further include the validity period of the adjacent service restricted codeword, or a parameter used to characterize the validity period of the adjacent service restricted codeword.
  • the parameters may include but are not limited to: current time (current time), maximum offset (MAX offset), validity timer (validity timer), and the like.
  • the second discovery function network element deletes the correspondence between the PDUID of the second terminal and the ProSe restricted codeword of the second terminal.
  • the current time is the time information representing the current time in coordinated universal time (coordinated universal time).
  • MAX offset can indicate the valid time length of the adjacent service restricted codeword, that is, the difference between the expiration time of the adjacent service restricted codeword and the current time.
  • the validity timer (validity timer) is a timer for the validity period of the adjacent service restricted codeword.
  • Each adjacent service restricted codeword corresponds to a validity timer (validity timer), and the validity timers corresponding to different adjacent service restricted codewords may be the same or different.
  • FIG. 5B is a schematic flowchart of a communication method provided by an embodiment of the present application, and the method includes the following steps:
  • Step 501b the second terminal sends a first message 51a to the second discovery function network element.
  • the first message 51a may be used for the second terminal to register with the second discovery function network element.
  • Step 502a the second discovery function network element allocates a PDUID to the second terminal according to the first message 51a, and sends a response message 51b of the first message 51a to the second terminal, where the response message 51b includes the PDUID of the second terminal.
  • Step 503b the second terminal sends a second message 51c to the proximity service application server.
  • the second message 51c is used to request authorization to discover the second terminal.
  • the second message 51c is a discovery permission message.
  • the second message 51c may include the PDUID allocated to the second terminal in step 502b (ie, the PDUID of the second terminal).
  • Step 504b the proximity service application server allocates an application layer identifier to the second terminal according to the PDUID of the second terminal, and saves the correspondence between the PDUID and the application layer identifier.
  • the application layer identifier may refer to the application layer user identifier (restricted ProSe application user ID, RPAUID) of the restricted proximity service.
  • Step 505b the proximity service application server sends a response message 51d of the second message 51c to the second terminal, where the response message 51d includes the application layer identifier of the second terminal.
  • the discovery permission response message includes the assigned application layer identifier (ie, the application layer identifier of the second terminal).
  • Step 506b the second terminal sends a discovery request (discovery request) to the second discovery function network element.
  • the discovery request includes the application layer identifier of the second terminal, and the discovery request message is used to request to discover the discovery parameters of the second terminal.
  • Step 507b the second discovery function network element sends an authorization request (authorization request) message to the proximity service application server.
  • the authorization request message includes the PDUID of the second terminal, and the PDUID includes the first information, that is, the first information is carried in the PDUID.
  • the authorization request message may further include the PDUID of the first terminal, and accordingly, the authorization request message is used to request authorization for the first terminal to discover the second terminal.
  • the authorization request message includes the PDUID of the second terminal and the first information. That is, both the PDUID and the first information are carried in the authorization request message.
  • the authorization request message may further include the PDUID of the first terminal, and accordingly, the authorization request message is used to request authorization for the first terminal to discover the second terminal.
  • Step 508b the proximity service application server saves the correspondence between the application layer identifier and the first information.
  • the corresponding relationship between the application layer identifier and the first information may specifically be the corresponding relationship between the PDUID and the application layer identifier.
  • the proximity service application server saves the correspondence between the PDUID of the second terminal and the application layer identifier
  • the proximity service application server saves the application layer identifier and the first information. The corresponding relationship between the PDUID and the first information can be further saved by the proximity service application server.
  • Step 509b the proximity service application server sends an authorization response (authorization response) message to the second discovery function network element.
  • the authorization response message includes the PDUID of the second terminal.
  • Step 510b the second discovery function network element allocates discovery parameters of the second terminal according to the PDUID of the second terminal.
  • the above method further includes: the second discovery function network element saves the correspondence between the PDUID of the second terminal and the discovery parameter.
  • the second discovery function network element may also send the discovery parameter of the second terminal to the second terminal.
  • the discovery parameter may include a ProSe restricted code.
  • the network element of the second discovery function may allocate a restricted proximity service codeword to each terminal, that is, each terminal corresponds to a restricted proximity service codeword.
  • the discovery parameter may also include the validity period of the adjacent service restricted codeword, or a parameter used to characterize the validity period of the adjacent service restricted codeword, for example, the parameter includes but is not limited to: current time, maximum deviation
  • the parameter includes but is not limited to: current time, maximum deviation
  • the embodiments shown in FIG. 7 and FIG. 8A may be applicable to scenarios in which the first discovery function network element and the first discovery function network element belong to the first PLMN, and the first discovery function network element can be presented to other PLMNs.
  • the first discovery function network element may receive discovery request messages from terminal devices in other PLMNs, and send a response to the discovery request message.
  • the second discovery function network element may receive the message from the first discovery function network element.
  • another communication method provided by an embodiment of the present application includes:
  • Step 701 the first discovery function network element receives the first message 7a.
  • the first message 7a is used to obtain the discovery parameter of the second terminal, and the first message 7a may include the PDUID of the second terminal.
  • the first message is a discovery request message.
  • the first discovery function network element may receive the first request message from the third discovery function network element, wherein the third discovery function network element and the first discovery function network element belong to different PLMN.
  • the first discovery function network element belongs to the first PLMN
  • the third discovery function network element belongs to the second PLMN.
  • Step 702 the first discovery function network element sends a second message 7a to the second discovery function network element.
  • the second message is used to obtain the discovery parameter of the second terminal.
  • the second message may include the PDUID of the second terminal.
  • the second message is a discovery request message forwarded by the first discovery function network element to the second discovery function network element.
  • first message 7a and the second message 7b may be the same or different.
  • Step 703 the second discovery function network element sends a response message 7c of the second message 7b to the first discovery function network element according to the second message 7b.
  • the response message 7c of the second message 7b includes the discovery parameters of the second terminal.
  • the first discovery function network element and the second discovery function network element belong to the same PLMN, such as belonging to the first PLMN, the type of the first discovery function network element and the type of the second discovery function network element are different.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the second discovery function network element The type is 5G DDNMF.
  • the first discovery function network element can be used as a unified interface for external communication to receive discovery request messages from other PLMNs. After receiving the discovery request message from the other PLMN, the first discovery function network element may acquire the discovery parameter of the second terminal from the second discovery function network element. Therefore, in the scenario where the same operator supports both the 4G communication system and the 5G communication system, the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help the first terminal and the The mutual discovery between the second terminals ensures direct communication between the terminals.
  • the foregoing method further includes step 704 .
  • Step 704 the first discovery function network element receives the response message 7c from the second message 7b.
  • the foregoing method further includes step 700 .
  • Step 700 the first discovery function network element receives the first message 7a from the third discovery function network element.
  • step 704 the method may further include step 705.
  • Step 705 the first discovery function network element sends a response message 7d of the first message 7a to the third discovery function network element, where the response message 7d of the first message 7a includes the discovery parameters of the second terminal.
  • the sending action in step 702 may be when the first discovery function network element cannot locally query the PDUID of the second terminal, or when the first trigger is satisfied. Executed under conditions.
  • step 702 includes: when the first trigger condition is satisfied, the first discovery function network element sends a second message 7b to the second discovery function network element.
  • the first trigger condition may include at least one of the following conditions:
  • the first discovery function network element does not locally store the discovery parameters of the second terminal, or the PDUID of the second terminal is not allocated by the first discovery function network element.
  • the first discovery function network element does not have the discovery parameters of the second terminal locally, so the first discovery function network element requests the second discovery function network element to acquire the discovery parameters.
  • the type of the first discovery function network element is 5G DDNMF
  • the first message 7a includes the first PC5 RAT information
  • the first PC5 RAT information is used to characterize that the PC5 RAT is LTE.
  • the third discovery function network element first obtains the first PC5 RAT information, thereby carrying the first PC5 RAT information in the first message 7a. That is to say, the RAT used by the PC5 interface of the second terminal is LTE. Because the type of the first discovery function network element is 5G DDNMF, the first terminal and the second terminal of different PC5 RATs cannot discover each other. Based on the second discovery function The type of the network element is the ProSe function, so the first discovery function network element requests the second discovery function network element to acquire discovery parameters.
  • the type of the first discovery function network element is the ProSe function
  • the first message 7a includes the second PC5 RAT information
  • the second PC5 RAT information is used to represent that the PC5 RAT is NR.
  • the third discovery function network element may first obtain the second PC5 RAT information, and carry the second PC5 RAT information in the first message 7a. That is to say, the RAT used by the PC5 interface of the second terminal is NR. Because the type of the network element of the first discovery function is the ProSe function, the first terminal and the second terminal of different PC5 RATs cannot discover each other. Based on the second discovery function The type of the network element is 5G DDNMF, so the first discovery function network element requests the second discovery function network element to obtain discovery parameters.
  • the type of the first discovery function network element is 5G DDNMF, and neither the first message 7a nor the PDUID includes the first information.
  • the specific content of the first information may refer to the foregoing embodiment.
  • the first message 7a or the PDUID of the second terminal does not include the first information, indicating that the type of the discovery function network element serving the second terminal is the ProSe function, then the first discovery function network element 5G DDNMF receives After the first message 7a, a second message 7b is sent to the ProSe function in the first PLMN.
  • the conditions (4) and (5) refer to the fact that the PDUID allocated by the 5G DDNMF for the terminal is an enhanced PDUID or the first message 7a includes the first information, and the PDUID allocated by the ProSe function for the terminal is the traditional PDUID or the first message. Occurs when a message 7a does not contain the first information.
  • the type of the first discovery function network element is the ProSe function, and the first message 7a or the PDUID includes the first information.
  • the PDUID allocated to the second terminal by the third discovery function network element of the second terminal includes the first information
  • the ProSe function of the first discovery function network element receives the first message 7a, it sends the first message 7a to the first PLMN.
  • the 5G DDNMF sends the second message 7b.
  • the first message 7a or the PDUID includes the first information, indicating that when the type of the discovery function network element serving the second terminal is 5G DDNMF, the first message 7a is received by the ProSe function of the first discovery function network element. Then, the second message 7b is sent to the 5G DDNMF in the first PLMN.
  • the first discovery function network element in the method shown in FIG. 2 to determine the second discovery function network element according to the first information.
  • step 703 includes:
  • the first discovery function network element sends a second message to the second discovery function network element.
  • the second trigger condition may include at least one of the following:
  • the second discovery function network element locally stores the discovery parameters of the second terminal.
  • the first discovery function network element locally has the discovery parameters of the second terminal, so the second discovery function network element can locally obtain the discovery parameters of the second terminal.
  • the type of the second discovery function network element is 5G DDNMF
  • the second message 7b includes the first PC5 RAT information
  • the first PC5 RAT information is used to represent that the PC5 RAT is NR.
  • the third discovery function network element first obtains the first PC5 RAT information, thereby carrying the first PC5 RAT information in the first message 7a. That is to say, the RAT used by the PC5 interface of the second terminal is NR. Since the type of the second discovery function network element is 5G DDNMF, the first terminal and the second terminal of the same PC5 RAT can discover each other. Based on the second discovery function network The element type is 5G DDNMF, so the first discovery function network element can locally obtain the discovery parameters of the second terminal.
  • the type of the second discovery function network element is the ProSe function
  • the second message 7b includes the second PC5 RAT information
  • the second PC5 RAT information is used to characterize that the PC5 RAT is LTE.
  • the third discovery function network element first obtains the second PC5 RAT information, thereby carrying the second PC5 RAT information in the first message 7a. That is to say, the RAT used by the PC5 interface of the second terminal is LTE. Because the type of the second discovery function network element is the ProSe function, the first terminal and the second terminal of the same PC5 RAT can discover each other. Based on the second discovery function network The element type is a ProSe function, so the first discovery function network element can locally acquire the discovery parameters of the second terminal.
  • the type of the network element of the second discovery function is the ProSe function, and the second message 7b or the PDUID does not include the first information.
  • the first message 7a or the PDUID does not include the first information, indicating that the type of the discovery function network element serving the second terminal is the ProSe function, then after the ProSe function network element receives the first message 7a, it can be Obtain the discovery parameters of the second terminal.
  • the type of the second discovery function network element is 5G DDNMF, and the second message 7b or the PDUID includes the first information.
  • the first message 7a or the PDUID includes the first information, indicating that when the type of the discovery function network element serving the second terminal is 5G DDNMF, then after receiving the first message 7a, the 5G DDNMF network element can retrieve the information from the local Obtain the discovery parameters of the second terminal.
  • Step 801 the third discovery function network element receives a discovery request (discovery request) message 8a from the first terminal.
  • the discovery request message 8a includes the application layer identifiers of the N target terminals.
  • N is an integer greater than or equal to 1
  • the application layer identifiers of the N destination terminals may include the application layer identifiers of the second terminal.
  • the discovery request is used to request to discover or monitor N target terminals.
  • the N target terminals refer to terminals that need to be discovered or monitored.
  • the application layer identifiers of the N target terminals are used as the application layer identifiers of the second terminals as an example for description.
  • the application layer identifier may be the RPAUID of the second terminal.
  • the third discovery function network element is a discovery function network element serving the first terminal.
  • the third discovery function network element belongs to the second PLMN, and the second PLMN is different from the first PLMN.
  • the first terminal may be the monitoring UE (monitoring UE) in FIG. 8B .
  • the third discovery function network element is the 5G DDNMF network element in PLMN2 in FIG. 8B .
  • the discovery request message may also include a discovery type (discovery type) of the second terminal, an international mobile subscriber identity (international mobile subscriber identity) of the second terminal, IMSI) and application ID (application ID).
  • discovery type can be restricted discovery.
  • Step 802 the third discovery function network element obtains the PDUID of the second terminal from the proximity service application server according to the application layer identifier of the second terminal in the discovery request message.
  • the corresponding relationship between the PDUID and the application layer identifier is stored on the proximity service application server, and the third discovery function network element can obtain from the proximity service application server according to the application layer identifier of the second terminal. PDUID.
  • the third discovery function network element may first send an authorization request message to the proximity service application server, where the authorization request message includes the RPAUID of the second terminal, and the third discovery function network element receives the authorization response message from the proximity service application server, The authorization response message includes the PDUID of the second terminal.
  • Step 803 the third discovery function network element determines that the second terminal belongs to the first PLMN according to the PDUID of the second terminal.
  • the third discovery function network element may determine the first PLMN according to the PLMN ID included in the PDUID of the second terminal.
  • Step 804 the third discovery function network element sends a first message 8b to the first discovery function network element in the first PLMN.
  • the first message 8b may include the PDUID of the second terminal.
  • the first message 8b may be used to acquire the discovery parameter of the second terminal.
  • the first message 8b may be a monitor request message.
  • the first discovery function network element is the unified interface of the first PLMN, and the third discovery function network element sends the first message 8b to the first discovery function network element in the first PLMN.
  • the method provided in this embodiment further includes a process in which the first discovery function network element acquires the discovery parameters of the second terminal, which may be implemented in two ways.
  • the first mode includes steps 805a to 810a; the second mode includes steps 805b to 811b.
  • Step 805a after receiving the first message 8b, the first discovery function network element determines whether the first trigger condition is satisfied.
  • steps 806a to 808a are performed; if the first trigger condition is not satisfied, steps 809a to 810a are performed.
  • the specific content of the first trigger condition may refer to the foregoing embodiment.
  • Step 806a the first discovery function network element sends a second message 8c to the second discovery function network element in the first PLMN.
  • the second message 8c is used to obtain the discovery parameter of the second terminal.
  • the second message 8c may include the PDUID of the second terminal.
  • the first message 8b and the second message 8c may be the same or different.
  • Step 807a after receiving the second message 8c from the first discovery function network element, the second discovery function network element searches for the discovery parameters of the second terminal according to the PDUID, and the second discovery function network element sends the second discovery function network element to the first discovery function network element.
  • the response message of the message 8c and the response message of the second message 8c include the discovery parameters of the second terminal.
  • Step 808a after receiving the discovery parameters of the second terminal from the second discovery function network element, the first discovery function network element sends a response message of the first message 8b to the third discovery function network element, the response message of the first message 8b Including discovery parameters of the second terminal.
  • Step 809a if the first trigger condition is not satisfied, the first discovery function network element obtains locally the discovery parameters of the second terminal according to the PDUID of the second terminal.
  • Step 810a the first discovery function network element sends a response message of the first message 8b to the third discovery function network element, where the response message of the first message 8b includes the discovery parameters of the second terminal.
  • Step 805b after receiving the first message 8b, the first discovery function network element sends a second message 8d to the second discovery function network element, where the second message 8d includes the PDUID of the second terminal.
  • Step 806b after the second discovery function network element receives the second message 8d from the first discovery function network element, it determines whether the trigger condition is met, and if the second trigger condition is met, execute step 807b and step 808b, otherwise, execute step 808b 809b to step 811b.
  • the specific content of the second trigger condition may refer to the foregoing embodiment.
  • Step 807b when the second trigger condition is satisfied, the second discovery function network element searches locally for the discovery parameters of the second terminal according to the PDUID of the second terminal, and sends a response message of the second message 8d to the first discovery function network element,
  • the response message of the second message 8d includes the discovery parameters of the second terminal.
  • Step 808b after receiving the discovery parameters of the second terminal from the second discovery function network element, the first discovery function network element sends a response message of the first message 8b to the third discovery function network element, the response message of the first message 8b Including discovery parameters of the second terminal.
  • Step 809b when the second trigger condition is not satisfied, the second discovery function network element sends a response message of the second message to the first discovery function network element, where the response message of the second message includes parameter acquisition failure information.
  • Step 810b after receiving the response message from the second discovery function network element, the first discovery function network element obtains locally the discovery parameters of the second terminal according to the PDUID of the second terminal.
  • Step 811b the first discovery function network element sends a response message of the first message to the third discovery function network element, where the response message of the first message includes the discovery parameters of the second terminal.
  • the following exemplarily describes the process of the above-mentioned first discovery function network element acquiring the discovery parameters of the second terminal from the second discovery function network element.
  • the third discovery function network element serving the listener UE is the 5G DDNMF network element in PLMN2, and the first discovery function network element serving the broadcaster UE is the 5G DDNMF network element in PLMN1. Therefore, in PLMN2
  • the 5G DDNMF network element of the PLMN2 receives the discovery request from the listener UE. Because the discovery request includes the RPAUID of the broadcaster UE being monitored, the 5G DDNMF in PLMN2 obtains the broadcast from the proximity service application server according to the RPAUID of the broadcaster UE.
  • the third discovery function network element sends the first message to the 5G DDNMF of PLMN1 .
  • the 5G DDNMF in PLMN1 obtains the discovery parameters of the broadcaster UE from the 5G DDNMF network element or the ProSe function network element in PLMN1 according to whether the first trigger condition is satisfied, and sends the obtained discovery parameters of the broadcaster UE to the third discovery function The network element, and then the third discovery function network element sends the acquired discovery parameters of the broadcaster UE to the listener UE.
  • the embodiment shown in FIG. 9A can be applied to the first discovery function network element as the unified interface of the PLMN to which the first discovery function network element belongs, that is, the first discovery function network element is used to receive discovery request messages from other PLMNs. And the discovery parameters allocated by the first discovery function network element and the discovery parameters allocated by the second discovery function network element are uniformly managed by the first discovery function network element.
  • FIG. 9A another communication method provided by an embodiment of the present application is as follows.
  • Step 901a the second terminal sends a second discovery request message 90a to the second discovery function network element.
  • the second discovery request message 9a may include the PDUID of the second terminal, and the second discovery request message is used to request to discover the second terminal.
  • Step 902a the second discovery function network element allocates second discovery parameters to the second terminal according to the second discovery request message 90a.
  • the second discovery parameter may be a discovery parameter of the second terminal.
  • Step 903a the second discovery function network element sends a response message to the second discovery request message 90a to the second terminal.
  • the response message includes the second discovery parameter.
  • Step 904a the second discovery function network element sends the second discovery parameter to the first discovery function network element.
  • the first discovery function network element and the second discovery function network element belong to the same PLMN, and the types of the first discovery function network element and the second discovery function network element are different.
  • the type of the first discovery function network element is 5G DDNMF
  • the type of the second discovery function network element is the ProSe function
  • the type of the first discovery function network element is the ProSe function
  • the second discovery function network element is of type ProSe function.
  • the type of network element is 5G DDNMF.
  • Step 905a the first discovery function network element receives the second discovery parameter of the second terminal from the second discovery function network element, and saves the second discovery parameter.
  • step 905a is an optional step.
  • the second discovery function network element allocates discovery parameters to the second terminal, and sends the allocated discovery parameters to the first discovery function network element, so that the discovery parameters allocated by the second discovery function network element are allocated by the first The discovery function network elements are managed in a unified manner to prevent the first discovery function network element from being unable to obtain the discovery parameters of the monitored terminal in a timely and accurate manner.
  • the first discovery function The network element can timely and accurately acquire the discovery parameters of the second terminal, shorten the communication delay, help realize mutual discovery between the first terminal and the second terminal, and ensure direct communication between the terminals.
  • the foregoing method further includes the following steps:
  • Step 906a the first terminal sends a first discovery request message 90b to the first discovery function network element.
  • the first discovery request message may include the PDUID of the first terminal, and the first discovery request message is used to request to discover the first terminal.
  • Step 907a the first discovery function network element allocates the first discovery parameter to the first terminal according to the first discovery request message 90b.
  • the first discovery function network element stores the first discovery parameter.
  • Step 908a the first discovery function network element sends a response message of the first discovery request message 90b to the first terminal.
  • the response message of the first discovery request message 90b includes the first discovery parameter.
  • the first discovery function network element and the second discovery function network element respectively allocate the terminal discovery parameters to the served terminals, and the discovery parameters allocated by the second discovery function network element and the first discovery function network element respectively.
  • the discovery parameters allocated by the functional network element are all managed uniformly by the first discovery functional network element.
  • the discovery parameters allocated by the first discovery function network element and the discovery parameters allocated by the second discovery function network element are uniformly managed by the first discovery function network element, so as to prevent the first discovery function network element from being unable to obtain the discovery of the monitored terminal in a timely and accurate manner
  • the first discovery function network element can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, and help realize the first
  • the mutual discovery between the terminal and the second terminal ensures direct communication between the terminals.
  • FIG. 9B another communication method provided by an embodiment of the present application is specifically described as follows.
  • Step 901b the second terminal sends a second discovery request message 91a to the second discovery function network element.
  • the second discovery request message 91a includes the PDUID of the second terminal.
  • the second discovery request message 91a is used to request to discover the second terminal.
  • Step 902b the second discovery function network element sends a third message 91b to the first discovery function network element according to the second discovery request message 91a.
  • the third message 91b may be used to acquire the discovery parameter of the second terminal.
  • Step 903b the first discovery function network element allocates the second discovery parameter to the second terminal according to the third message 91b.
  • the first discovery function network element stores the second discovery parameter.
  • Step 904b the first discovery function network element sends a response message of the third message 91b to the second discovery function network element.
  • the response message includes the second discovery parameter.
  • Step 905b the second discovery function network element receives the response message of the third message 91b.
  • the response message includes the discovery parameter of the second terminal.
  • Step 906b the second discovery function network element sends a response message of the second discovery request message 91a to the second terminal.
  • the response message of the second discovery request message 91a includes the second discovery parameter.
  • the second discovery function network element and the first discovery function network element belong to the same PLMN, and the type of the second discovery function network element is different from that of the first discovery function network element.
  • the type of the second discovery function network element is 5G DDNMF, and the type of the first discovery function network element is the ProSe function; or, the type of the second discovery function network element is the ProSe function, and the first discovery function network element is the type of the ProSe function.
  • the type of network element is 5G DDNMF.
  • the first discovery function network element serves as a unified interface of the PLMN to which the first discovery function network element belongs, that is, the first discovery function network element can receive discovery request messages sent by terminals served by other discovery function network elements, and serve as the The terminal allocates discovery parameters and saves the discovery parameters of the terminal locally, which can prevent the first discovery function network element from being unable to obtain the discovery parameters of the monitored terminal in a timely and accurate manner, so that the same operator can support both 4G communication systems and 5G communication.
  • the network element of the first discovery function can timely and accurately obtain the discovery parameters of the second terminal, shorten the communication delay, help realize the mutual discovery between the first terminal and the second terminal, and ensure the communication between the terminals. direct communication.
  • the foregoing method further includes the following steps:
  • Step 907b the first discovery function network element receives the first discovery request message 91c from the first terminal.
  • the first discovery request message 91c may include the PDUID of the first terminal, and the first discovery request message 91c is used to request to discover the first terminal.
  • Step 908b the first discovery function network element allocates the first discovery parameter to the first terminal according to the first discovery request message 91c.
  • the first discovery function network element stores the first discovery parameter.
  • the first discovery parameter is the discovery parameter of the first terminal.
  • Step 909b the first discovery function network element sends a response message of the first discovery request message 91c to the first terminal.
  • the response message of the first discovery request message 91c includes the first discovery parameter.
  • the first discovery function network element serves as a unified interface of the PLMN to which the first discovery function network element belongs, that is, the first discovery function network element is used to receive discovery request messages from other PLMNs.
  • the first discovery function network element is the terminal served by the first discovery function network element, and the discovery parameters uniformly allocated for the terminal served by the second discovery function network element, and the allocated discovery parameters are uniformly managed by the first discovery function network element .
  • FIG. 10 is another communication method provided by an embodiment of the present application.
  • the method provides a process for the second terminal to obtain its own discovery parameters, and more systematically describes the method shown in FIG. 9A and the method shown in FIG. 9B . , as described below.
  • Step 1001 the second terminal sends a first message 10a to the second discovery function network element.
  • the first message 10a may be used for the second terminal to register with the second discovery function network element.
  • the first message 10a is a discovery registration message.
  • the second discovery function network element refers to a discovery function network element serving the second terminal.
  • the second discovery function network element serving the second terminal.
  • the type is 5G DDNMF; when the communication standard of the core network accessed by the second terminal is the 4G communication system, and the second terminal accesses the evolved packet core (EPC), then the second discovery serves the second terminal
  • the type of functional NE is ProSe functional NE.
  • the second terminal may be the broadcasting UE (announcing UE) shown in FIG. 1B .
  • the second discovery function network element serving the second terminal may be the 5G DDNMF network element or the ProSe function network element in the PLMN1 shown in FIG. 1B .
  • Step 1002 the second discovery function network element allocates a PDUID to the second terminal, and sends a response message of the first message 10a to the second terminal.
  • the response message may include the PDUID of the second terminal.
  • the response message of the first message 10a is a registration response message, and the registration response message includes the PDUID.
  • Step 1003 the second terminal sends a second message 10b to the proximity service application server.
  • the second message 10b is used to authorize the discovery of the second terminal.
  • the second message 10b is a discovery permission message.
  • Step 1004 The proximity service application server allocates an application layer identifier to the second terminal according to the PDUID of the second terminal.
  • the proximity service application server saves the correspondence between the PDUID and the application layer identifier.
  • the application layer identifier may refer to the application layer user identifier (restricted ProSe application user ID, RPAUID) of the restricted proximity service.
  • the proximity service application server can allocate an RPAUID to the second terminal according to the PDUID of the second terminal, and save the corresponding relationship between the PDUID and the RPAUID, so as to use the RPAUID of the second terminal to find the PDUID of the second terminal later.
  • Step 1005 the proximity service application server sends a response message for discovering the second message 10b to the second terminal.
  • the response message includes the application layer identifier allocated in step 1004 (ie, the application layer identifier of the second terminal).
  • the response message of the second message 10b is a permission response message
  • the discovery permission response message includes the application layer identifier of the second terminal.
  • Step 1006 the second terminal sends a discovery request (discovery request) message 10c to the second discovery function network element.
  • the discovery request message may include the application layer identifier of the second terminal.
  • Step 1007 the second discovery function network element sends an authorization request (authorization request) message 10d to the proximity service application server.
  • the authorization request message 10d may include the application layer identifier of the second terminal.
  • Step 1008 the proximity service application server determines the PDUID corresponding to the application layer identifier.
  • Step 1009 the proximity service application server sends an authorization response (authorization response) message 10e to the second discovery function network element.
  • the authorization response message 10e includes the PDUID of the second terminal.
  • the method provided in this embodiment further includes a process in which the first discovery function network element acquires the discovery parameters of the second terminal, which may be implemented in two ways.
  • the first method includes steps 1010a-1012a; the second method includes steps 1010b-1013b.
  • Step 1010a the second discovery function network element allocates discovery parameters of the second terminal according to the PDUID of the second terminal.
  • the second discovery function network element stores the correspondence between the PDUID of the second terminal and the discovery parameter.
  • Step 1011a the second discovery function network element sends the discovery parameter of the second terminal to the second terminal.
  • Step 1012a the second discovery function network element sends the discovery parameter of the second terminal and the PDUID of the second terminal to the first discovery function network element.
  • the first discovery function network element may save the correspondence between the discovery parameters of the second terminal and the PDUID of the second terminal, so that in the discovery process, the first discovery function network element can query the first discovery function according to the PDUID of the second terminal. Two terminal discovery parameters.
  • Step 1010b the second discovery function network element sends a third message 10f to the first discovery function network element.
  • the third message may include the PDUID of the second terminal.
  • the third message 10f may be used to acquire discovery parameters of the second terminal.
  • Step 1011b after receiving the PDUID from the second terminal, the first discovery function network element allocates the discovery parameters of the second terminal.
  • the first discovery function network element stores the correspondence between the PDUID of the second terminal and the discovery parameter of the second terminal.
  • Step 1012b the first discovery function network element sends the discovery parameter of the second terminal and the PDUID of the second terminal to the second discovery function network element.
  • Step 1013b the first discovery function network element sends the discovery parameter of the second terminal to the second terminal.
  • the discovery parameters of the second terminal may be allocated by the second discovery function network element serving the second terminal, or the first discovery function network element may uniformly allocate the discovery of the terminal in the PLMN to which it belongs.
  • the discovery parameters of the second terminal can be allocated by the first discovery function network element, which can prevent the first discovery function network element from being unable to obtain the discovery parameters of the monitored terminal in time and accurately, so that the same operator can support the 4G communication system at the same time.
  • the first discovery function network element can obtain the discovery parameters of the second terminal in a timely and accurate manner, shortening the communication delay, helping to realize mutual discovery between the first terminal and the second terminal, and ensuring that the terminal direct communication between them.
  • the following Based on the allocation and management of the discovery parameters of the terminal by the first discovery function network element, the following provides a process for the first terminal to acquire the discovery parameters of the second terminal with reference to FIG. 11A .
  • FIG. 11A another communication method provided by an embodiment of the present application is as follows.
  • Step 1101 the third discovery function network element receives the sending discovery request message 11a from the first terminal.
  • the discovery request message 11a is used to acquire discovery parameters of the second terminal, and the discovery request message 11a may include application layer identifiers of N target terminals.
  • N is an integer greater than or equal to 1
  • the application layer identifiers of the N destination terminals may include the application layer identifiers of the second terminal.
  • the discovery request is used to request to discover or monitor N target terminals.
  • the N target terminals refer to terminals that need to be discovered or monitored.
  • the application layer identifiers of the N target terminals are used as the application layer identifiers of the second terminals as an example for description.
  • the application layer identifier may be the RPAUID of the second terminal.
  • the third discovery function network element is a discovery function network element serving the first terminal.
  • the third discovery function network element belongs to the second PLMN, and the second PLMN is different from the first PLMN.
  • the first terminal may be the monitoring UE (monitoring UE) in FIG. 8B .
  • the third discovery function network element is the 5G DDNMF network element in PLMN2 in FIG. 8B .
  • Step 1102 the third discovery function network element sends an authorization request message 11b to the proximity service application server.
  • the authorization request message 11b includes the application layer identifier of the second terminal.
  • Step 1103 The proximity service application server determines the PDUID of the second terminal according to the application layer identifier of the second terminal.
  • Step 1104 the proximity service application server sends an authorization response message 11c to the third discovery function network element.
  • the authorization response message 11c includes the PDUID of the second terminal.
  • Step 1105 the third discovery function network element acquires the discovery parameters of the second terminal from the first discovery function network element according to the PDUID of the second terminal.
  • the discovery parameters allocated by the first discovery function network element and the discovery parameters allocated by the second discovery function network element are determined by the first discovery function network element.
  • the network elements are managed in a unified manner, so the third discovery function network element determines to send a request message to the first discovery function network element according to the PLMN ID information in the PDUID of the second terminal.
  • the request message includes the PDUID of the second terminal.
  • the first discovery function network element The element searches for the discovery parameter corresponding to the PDUID of the second terminal according to the PDUID of the second terminal, and sends the found discovery parameter of the second terminal to the third discovery function network element.
  • the foregoing method further includes the following steps:
  • Step 1106 after receiving the discovery parameters of the second terminal, the third discovery function network element sends the discovery parameters of the first terminal to the first terminal.
  • the discovery parameters of the first terminal include discovery parameters of the second terminal.
  • Step 1107 when the first terminal determines that the discovery parameters of the first terminal obtained from the third discovery function network element match the discovery parameters broadcast by the second terminal, the first terminal discovers the second terminal, and the second terminal and the first terminal subsequently Establish D2D communication.
  • the following exemplarily describes the process of the above-mentioned first discovery function network element acquiring the discovery parameters of the second terminal from the second discovery function network element.
  • the third discovery function network element serving the listener UE is the 5G DDNMF in PLMN2
  • the first discovery function network element serving the broadcaster UE is the 5G DDNMF in PLMN1. Therefore, the 5G DDNMF in PLMN2 receives The discovery request from the listener UE, because the discovery request includes the RPAUID of the broadcaster UE being monitored, the 5G DDNMF in PLMN2 obtains the PDUID of the broadcaster UE from the proximity service application server according to the RPAUID of the broadcaster UE.
  • the third discovery function network element determines that the PLMN ID in the PDUID of the broadcaster UE is PLMN1, and the external unified interface of PLMN1 is the 5G DDNMF network element in PLMN1, so the third discovery function network element sends the first message to the 5G DDNMF of PLMN1 . Because the 5G DDNMF in PLMN1 stores the discovery parameters allocated by the first discovery function network element and the discovery parameters allocated by the second discovery function network element, the discovery parameters of the broadcaster UE can be obtained, and the obtained discovery parameters of the broadcaster UE can be obtained. It is sent to the third discovery function network element, so that the third discovery function network element sends the acquired discovery parameters of the broadcaster UE to the listener UE.
  • the first terminal can acquire the discovery parameters of the second terminal, so that mutual discovery can be performed, and the first terminal and the second terminal can communicate directly. Improve communication efficiency.
  • step numbers of the flowcharts described in the above embodiments are only an example of the execution flow, and do not constitute a restriction on the sequence of execution of the steps. In the embodiments of the present application, there is no sequence dependency between the steps. Strict execution order. In addition, not all the steps shown in each flowchart are steps that must be executed, and some steps may be added or deleted on the basis of each flowchart according to actual needs.
  • each device may include corresponding hardware structures and/or software modules for performing each function.
  • each device may include corresponding hardware structures and/or software modules for performing each function.
  • the embodiments of the present application can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • the device may be divided into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • FIG. 12 shows a possible exemplary block diagram of the apparatus involved in the embodiment of the present application.
  • the apparatus 1200 may include: a processing unit 1202 and a communication unit 1203 .
  • the processing unit 1202 is used to control and manage the actions of the device 1200 .
  • the communication unit 1203 is used to support the communication between the apparatus 1200 and other devices.
  • the communication unit 1203 is also referred to as a transceiving unit, and may include a receiving unit and/or a sending unit, which are respectively configured to perform receiving and sending operations.
  • the apparatus 1200 may further include a storage unit 1201 for storing program codes and/or data of the apparatus 1200 .
  • the apparatus 1200 may be the first discovery function network element in the foregoing embodiment, or may also be a chip provided in the first discovery function network element.
  • the processing unit 1202 may support the apparatus 1200 to perform the actions of the first discovery function network element in each method example above. Alternatively, the processing unit 1202 mainly performs the internal actions of the first discovery function network element in the method example, and the communication unit 1203 may support communication between the apparatus 1200 and other devices.
  • the apparatus 1200 may be the second discovery function network element in the foregoing embodiment, or may also be a chip provided in the second discovery function network element.
  • the processing unit 1202 may support the apparatus 1200 to perform the actions of the second discovery function network element in each method example above.
  • the processing unit 1202 mainly executes the internal actions of the second discovery function network element in the method example, and the communication unit 1203 may support communication between the apparatus 1200 and other devices.
  • the apparatus 1200 may be the proximity service application server in the foregoing embodiment, or may also be a chip set in the proximity service application server.
  • the processing unit 1202 can support the apparatus 1200 to perform the actions of the proximity service application server in each method example above.
  • the processing unit 1202 mainly performs the internal actions of the proximity service application server in the method example, and the communication unit 1203 may support the communication between the apparatus 1200 and other devices.
  • each unit in the above apparatus can be realized in the form of software calling through the processing element; also can all be realized in the form of hardware; some units can also be realized in the form of software calling through the processing element, and some units can be realized in the form of hardware.
  • each unit can be a separately established processing element, or can be integrated in a certain chip of the device to be implemented, and can also be stored in the memory in the form of a program, which can be called by a certain processing element of the device and execute the unit's processing. Function.
  • each operation of the above method or each of the above units may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software being invoked by the processing element.
  • a unit in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, eg, one or more application specific integrated circuits (ASICs), or, one or more Multiple microprocessors (digital singnal processors, DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
  • ASICs application specific integrated circuits
  • DSPs digital singnal processors
  • FPGAs field programmable gate arrays
  • a unit in the apparatus can be implemented in the form of a processing element scheduler
  • the processing element can be a processor, such as a general-purpose central processing unit (CPU), or other processors that can invoke programs.
  • these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • the above unit for receiving is an interface circuit of the device for receiving signals from other devices.
  • the receiving unit is an interface circuit used by the chip to receive signals from other chips or devices.
  • the above unit for sending is an interface circuit of the device for sending signals to other devices.
  • the sending unit is an interface circuit used by the chip to send signals to other chips or devices.
  • the communication device includes: an antenna 1310 , a radio frequency part 1320 , and a signal processing part 1330 .
  • the antenna 1310 is connected to the radio frequency part 1320 .
  • the radio frequency part 1320 receives the information sent by the network device through the antenna 1310, and sends the information sent by the network device to the signal processing part 1330 for processing.
  • the signal processing part 1330 processes the information of the communication device and sends it to the radio frequency part 1320
  • the radio frequency part 1320 processes the information of the communication device and sends it to the network equipment through the antenna 1310.
  • the signal processing part 1330 may include a modulation and demodulation subsystem, which is used to implement the processing of each communication protocol layer of the data; it may also include a central processing subsystem, which is used to implement the processing of the communication device operating system and the application layer; in addition, it can also Including other subsystems, such as multimedia subsystem, peripheral subsystem, etc., wherein the multimedia subsystem is used to realize the control of the communication device camera, screen display, etc., and the peripheral subsystem is used to realize the connection with other devices.
  • the modem subsystem can be a separate chip.
  • the modem subsystem may include one or more processing elements 1331, including, for example, a host CPU and other integrated circuits.
  • the modulation and demodulation subsystem may also include a storage element 1332 and an interface circuit 1333 .
  • the storage element 1332 is used for storing data and programs, but the program for executing the method performed by the communication device in the above method may not be stored in the storage element 1332, but in a memory outside the modulation and demodulation subsystem, When used, the modem subsystem is loaded for use.
  • Interface circuit 1333 is used to communicate with other subsystems.
  • the modulation and demodulation subsystem can be implemented by a chip including at least one processing element and an interface circuit, wherein the processing element is used to execute each step of any one of the methods performed by the above communication device, and the interface circuit is used to communicate with other devices.
  • the unit for the communication apparatus to implement each step in the above method may be implemented in the form of a processing element scheduler, for example, the apparatus for the communication apparatus includes a processing element and a storage element, and the processing element calls the program stored in the storage element to The method performed by the communication apparatus in the above method embodiment is performed.
  • the storage element may be a storage element on the same chip as the processing element, ie, an on-chip storage element.
  • the program for performing the method performed by the communication apparatus in the above method may be in a storage element on a different chip from the processing element, ie, an off-chip storage element.
  • the processing element calls or loads the program from the off-chip storage element to the on-chip storage element, so as to call and execute the method performed by the communication apparatus in the above method embodiments.
  • the unit of the communication apparatus for implementing each step in the above method may be configured as one or more processing elements, and these processing elements are provided on the modulation and demodulation subsystem, and the processing element here may be an integrated circuit, For example: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form chips.
  • the units of the communication device implementing each step in the above method may be integrated together and implemented in the form of an SOC, and the SOC chip is used to implement the above method.
  • At least one processing element and a storage element may be integrated in the chip, and the method executed by the above communication device may be implemented in the form of a stored program of the storage element being invoked by the processing element; or, at least one integrated circuit may be integrated in the chip for implementing the above communication or, in combination with the above implementation manners, the functions of some units are realized in the form of calling programs by processing elements, and the functions of some units are realized in the form of integrated circuits.
  • the above apparatus for a communication apparatus may include at least one processing element and an interface circuit, wherein the at least one processing element is configured to execute any method performed by the communication apparatus provided in the above method embodiments.
  • the processing element may execute part or all of the steps performed by the communication device in the first manner: that is, by calling the program stored in the storage element; or in the second manner: that is, combining the instructions with the integrated logic circuit of the hardware in the processor element Part or all of the steps performed by the communication apparatus may be performed in the manner of the first manner; of course, some or all of the steps performed by the communication apparatus may also be performed in combination with the first manner and the second manner.
  • the processing elements here are the same as those described above, and may be implemented by a processor, and the functions of the processing elements may be the same as those of the processing unit described in FIG. 10 .
  • the processing element may be a general-purpose processor, such as a CPU, or may be one or more integrated circuits configured to implement the above methods, such as: one or more ASICs, or, one or more microprocessors, DSPs , or, one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms.
  • the storage element may be implemented by a memory, and the function of the storage element may be the same as that of the storage unit described in FIG. 10 .
  • the storage element may be implemented by a memory, and the function of the storage element may be the same as that of the storage unit described in FIG. 10 .
  • the storage element can be one memory or a collective term for multiple memories.
  • the communication apparatus shown in FIG. 13 can implement various processes related to the communication apparatus in the foregoing method embodiments.
  • the operations and/or functions of each module in the communication device shown in FIG. 13 are respectively to implement the corresponding processes in the foregoing method embodiments.
  • system and “network” in the embodiments of the present application may be used interchangeably.
  • At least one means one or more, and “plurality” means two or more.
  • And/or which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one of A, B and C includes A, B, C, AB, AC, BC or ABC.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority or importance of multiple objects degree.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

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

Abstract

本申请涉及通信技术领域,公开了一种通信方法及装置,该方法包括:第一发现功能网元接收来自第一终端的发现请求消息,该发现请求消息包括第二终端的应用层标识,第一发现功能网元根据该应用层标识从邻近业务应用服务器获取第二终端的邻近业务发现标识和第一信息。其中,第一信息包括第一指示信息和/或第二指示信息,第一指示信息用于指示第二终端接入的核心网的通信制式,第二指示信息用于指示为第二终端服务的第二发现功能网元的类型。第一发现功能网元根据邻近业务发现标识和第一信息,从第二发现功能网元获取第二终端的发现参数。采用本申请的方法及装置,能够准确及时地获取被监听或被发现的终端的发现参数,有助于缩短通信时延。

Description

一种通信方法及装置 技术领域
本申请涉及通信技术领域,尤其涉及一种通信方法及装置。
背景技术
目前,在邻近业务场景中,终端设备之间可以进行直接通信,即一个终端设备可以向另一个终端设备提供邻近业务(proximity service,ProSe),进行数据交互。
下面以第一终端为请求邻近业务的终端,第二终端为提供邻近业务的终端为例,第一终端和第二终端之间建立直接通信的方式进行说明。在第五代(5th generation,5G)移动通信技术系统中,首先,第一终端和第二终端分别与5G直连通信发现名称管理功能(5th generation direct discovery name management function,5G DDNMF)网元进行交互,申请自身用于直接通信的发现参数(例如邻近业务受限码字(ProSe restricted code)、发现过滤器(discovery filter)等)。之后,第二终端可以从5G DDNMF网元获取第一终端的发现参数,然后建立设备到设备(device to device,D2D)通信。
但是,随着移动通信的高速发展,在同一个PLMN中的发现功能网元可能包括邻近业务功能(ProSe function)网元和5G DDNMF网元,即同一个PLMN同时支持第四代(4th generation,4G)移动通信技术系统和第五代(5th generation,5G)移动通信技术系统。ProSe功能网元和5G DDNMF网元均可以为终端分配发现参数,所以在这种情况下,第二终端如何获取第一终端的发现参数是一个需要解决的问题。
发明内容
本申请提供一种通信方法及装置,用于准确获取终端的发现参数,实现终端之间的相互发现,保证终端之间的直接通信。
第一方面,提供一种通信方法,该方法可由第一通信装置执行,该第一通信装置可以是第一发现功能网元,或为第一发现功能网元包括的部件,或者第一发现功能网元中的芯片系统等,示例性地,该方法由第一发现功能网元执行。在该方法中,第一发现功能网元接收来自第一终端的发现请求消息,该发现请求消息包括第二终端的应用层标识;第一发现功能网元根据应用层标识,从邻近业务应用服务器获取第二终端的邻近业务发现标识和第一信息,因第一信息包括第一指示信息和/或第二指示信息,第一指示信息用于指示第二终端接入的核心网的通信制式,第二指示信息用于指示第二发现功能网元的类型,该第二发现功能网元是为第二终端服务的发现功能网元;所以,第一发现功能网元能够根据邻近业务发现标识和第一信息,从第二发现功能网元获取所述第二终端的发现参数。
基于上述方法,第一发现功能网元及时准确地获取终端的发现参数,缩短通信时延,有助于实现终端之间的相互发现,保证终端之间的直接通信,避免在PLMN中同时存在ProSe功能网元和5G DDNMF网元场景下,第一发现功能网元无法准确地获取被发现或被监听的终端的发现参数。
在一种可能的设计中,第一发现功能网元根据邻近业务发现标识和第一信息,从第二发现功能网元获取第二终端的发现参数,具体包括:
第一发现功能网元根据邻近业务发现标识和第一信息,先确定第二发现功能网元,然后第一发现功能网元从第二发现功能网元获取第二终端的发现参数。这样,第一发现功能 网元就可以利用邻近业务发现标识和第一信息准确确定为第二终端服务的第二发现功能网元,从而从第二发现功能网元获取发现参数。
在一种可能的设计中,第一发现功能网元根据邻近业务发现标识和第一信息,确定第二发现功能网元,具体包括:
第一发现功能网元根据邻近业务发现标识,确定第二终端归属的PLMN;然后第一发现功能网元根据第一信息和所述PLMN,确定第二发现功能网元。该方法中,在同一PLMN存在ProSe功能网元和5G DDNMF网元时,通过第一信息就可以从该PLMN中确定出为第二终端服务的第二发现功能网元,有助于及时准确地获取第二终端的发现参数。
在一种可能的设计中,第一发现功能网元从第二发现功能网元获取第二终端的发现参数,包括:
第一发现功能网元向第二发现功能网元发送第一消息,第一消息包括第一终端的PC5 RAT信息和第二终端的邻近业务发现标识,所述第一消息用于获取所述第二终端的发现参数,所述第一终端的PC5 RAT信息用于表征所述第一终端的PC5接口采用的RAT;第一发现功能网元接收来自所述第二发现功能网元的所述第二终端的发现参数。
基于上述方法,因不同PC5 RAT的终端之间不能相互发现,第一发现功能网元通过上述方法可以及时准确地获取与第一终端具有相同的PC5 RAT的第二终端的发现参数,可以减少信令交互,缩短通信时延。
在一种可能的设计中,发现请求消息还包括所述第一终端的PC5 RAT信息;该方法还包括:
第一发现功能网元获取第二终端的PC5 RAT信息,第二终端的PC5 RAT信息用于表征第二终端的PC5接口采用的RAT;当第二终端的PC5 RAT信息与第一终端的PC5 RAT信息一致时,第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数。
基于上述方法,第一发现功能网元准确获取与第一终端具有相同的PC5 RAT的第二终端的发现参数,可以实现相同PC5 RAT的第一终端和第二终端之间的相互发现。
在一种可能的设计中,第一发现功能网元获取所述第二终端的PC5 RAT信息,具体包括:
第一发现功能网元从邻近业务应用服务器获取第二终端的PC5 RAT信息;或者,第一发现功能网元从第二发现功能网元获取第二终端的PC5 RAT信息。
在一种可能的设计中,第二发现功能网元的类型包括:第五代5G DDNMF,或邻近业务ProSe功能。
第二方面,提供一种通信方法,该方法仍可由第一通信装置执行,示例性地,该方法由第一发现功能网元执行,该方法包括:
第一发现功能网元接收来自第一终端的发现请求消息,所述发现请求消息包括第二终端的应用层标识;第一发现功能网元根据所述应用层标识,从邻近业务应用服务器获取所述第二终端的邻近业务发现标识,所述第二终端的邻近业务发现标识包括第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示第二发现功能网元的类型,该第二发现功能网元是为第二终端服务的发现功能网元;第一发现功能网元根据所述邻近业务发现标识,从所述第二发现功能网元获取所述第二终端的发现参数。
基于上述方法,第一发现功能网元及时准确获取被第一终端监听的第二终端的发现参数,可以缩短通信时延,有助于实现终端之间的相互发现,保证终端之间的直接通信,避免在PLMN中同时存在ProSe功能网元和5G DDNMF网元时,因尝试获取终端的发现参数带来的时延问题。该方法与第一方面提供的方法的区别在于,该方法并不需要对原有的信息进行增强,或者说不需要发送第一信息,通过第一发现功能网元对PLMN的服务的终端的发现参数进行统一管理,即可实现发现参数的准确获取。
在一种可能的设计中,第一发现功能网元根据邻近业务发现标识,从第二发现功能网元获取所述第二终端的发现参数,具体包括:
第一发现功能网元根据邻近业务发现标识,确定第二发现功能网元;第一发现功能网元从第二发现功能网元获取第二终端的发现参数。这样,第一发现功能网元就可以利用邻近业务发现标识和第一信息准确确定为第二终端服务的第二发现功能网元,从而从第二发现功能网元获取被监听的第二终端的发现参数。
在一种可能的设计中,第一发现功能网元根据所述邻近业务发现标识,确定所述第二发现功能网元,具体包括:第一发现功能网元根据邻近业务发现标识,确定第二终端归属的公共陆地移动网络PLMN;第一发现功能网元根据第一信息以及PLMN,确定第二发现功能网元。该方法中,通过增强原有的邻近业务发现标识来指示第二发现功能网元,即在原有的邻近业务发现标识中添加第一信息,可以有效地节省传输资源。在同一PLMN存在ProSe功能网元和5G DDNMF网元时,通过第一信息就可以从该PLMN中确定出为第二终端服务的第二发现功能网元。
在一种可能的设计中,第一发现功能网元从第二发现功能网元获取第二终端的发现参数,具体包括:
第一发现功能网元向第二发现功能网元发送发现第一消息,第一消息包括第一终端的PC5 RAT信息和第二终端的邻近业务发现标识,该第一消息用于获取所述第二终端的发现参数;然后第一发现功能网元接收来自所述第二发现功能网元的所述第二终端的发现参数。
基于上述方法,第一发现功能网元准确获取终端的发现参数,可以实现相同PC5 RAT的第一终端和第二终端可以相互发现,不同PC5 RAT的终端之间不再相互发现。
在一种可能的设计中,发现请求消息还包括所述第一终端的PC5 RAT信息;
所述方法还包括:
第一发现功能网元获取所述第二终端的PC5 RAT信息,所述第二终端的PC5 RAT信息用于表征所述第二终端的PC5接口采用的RAT;当所述第二终端的PC5 RAT信息与所述第一终端的PC5 RAT信息一致时,所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数。
基于上述方法,因不同PC5 RAT的终端之间不能相互发现,第一发现功能网元通过上述方法可以及时准确地获取与第一终端具有相同的PC5 RAT的第二终端的发现参数,可以减少信令交互,缩短通信时延。
在一种可能的设计中,第一发现功能网元获取第二终端的PC5 RAT信息,具体包括:
第一发现功能网元从邻近业务应用服务器获取第二终端的PC5 RAT信息;或者,第一发现功能网元从第二发现功能网元获取第二终端的PC5 RAT信息。
在一种可能的设计中,第二发现功能网元的类型包括:第五代5G直连通信发现名称管理功能DDNMF,或邻近业务ProSe功能。
第三方面,提供一种通信方法,该方法可由第三通信装置执行,该第三通信装置可以是邻近业务应用服务器,或为邻近业务应用服务器包括的部件,或者邻近业务应用服务器中的芯片系统等,示例性地,该方法由邻近业务应用服务器执行。在该方法中,邻近业务应用服务器接收来自第一发现功能网元的第一消息,所述第一消息包括第二终端的应用层标识,所述第一消息用于获取所述第二终端的签约信息;邻近业务应用服务器向第一发现功能网元发送第一消息的响应消息;
其中,响应消息包括第二终端的邻近业务发现标识和第一信息,或者,响应消息包括第二终端的邻近业务发现标识,第二终端的邻近业务发现标识包括所述第一信息;
其中,第一信息包括第一指示信息和/或第二指示信息,第一指示信息用于指示所述第二终端接入的核心网的通信制式,第二指示信息用于指示第二发现功能网元的类型,该第二发现功能网元是为第二终端服务的发现功能网元。
基于上述方法,邻近业务应用服务器通过向第一发现功能网元发送与第二终端相关的第一信息,有助于第一发现功能确定第二发现参数的类型或确定第二终端接入的核心网的通信制式,从而准确获取被监听的第二终端的发现参数。
在一种可能的设计中,该第一消息为授权请求消息。
在一种可能的设计中,所述方法还包括:
邻近业务应用服务器从所述第二终端获取第一信息,以及所述第二终端的邻近业务发现标识;
邻近业务应用服务器根据第二终端的邻近业务发现标识,为第二终端分配应用层标识;
邻近业务应用服务器保存第一信息、应用层标识和第二终端的邻近业务发现标识之间的对应关系。
这样,第一发现功能网元就可以利用邻近业务发现标识,从邻近业务应用服务器查询得到第一信息,从而准确确定为第二终端服务的第二发现功能网元,从而从第二发现功能网元获取发现参数。
在一种可能的设计中,所述方法还包括:邻近业务应用服务器接收所述第二终端的PC5 RAT信息;邻近业务应用服务器保存所述第二终端的应用层标识与所述PC5 RAT信息之间的对应关系,和/或保存第二终端的应用层标识与PC5 RAT信息之间的对应关系。这样,便于第一发现功能网元查询第二终端的PC5 RAT信息,可以实现相同PC5 RAT的第一终端和第二终端可以相互发现,不同PC5 RAT的终端之间不再相互发现。
在一种可能的设计中,响应消息还包括第二终端的PC5 RAT信息。该方法有助于第一发现功能网元准确获取与第一终端具有相同的PC5 RAT的第二终端的发现参数,可以实现相同PC5 RAT的第一终端和第二终端之间的相互发现。
第四方面,提供一种通信方法,该方法可仍可由第二通信装置执行,该第二通信装置可以是第二发现功能网元,或为第二发现功能网元包括的部件,或者第二发现功能网元中的芯片系统等,示例性地,该方法由第二发现功能网元执行。该方法包括:
第二发现功能网元接收来自第一发现功能网元的参数第一消息,该第一消息包括所述第二终端的邻近业务发现标识以及第一终端的PC5 RAT信息;所述第一消息用于获取所述第二终端的发现参数,所述第一终端的PC5 RAT信息用于表征所述第一终端的PC5接口采用的RAT;当第一终端的PC5 RAT信息与第二终端的PC5 RAT信息一致时,第二发现功能网元根据第二终端的邻近业务发现标识,向第一发现功能网元发送第二终端的发现参 数。
基于上述方法,第二发现功能网元可以按照上述方法及时准确地确定第二终端是否与第一终端具有相同的PC5 RAT,从而及时向第一发现功能网元发送与第一终端具有相同的PC5 RAT的第二终端的发现参数,可以实现相同PC5 RAT的第一终端和第二终端之间的相互发现。
在一种可能的设计中,第一终端的PC5 RAT信息与第二终端的PC5 RAT信息不一致时,所述第二发现功能网元向所述第一发现功能网元发送用于通知所述第二终端的发现参数获取失败的通知消息。
基于上述方法,第一发现功能网元在确定第二终端与第一终端具有不同的PC5 RAT的情况下,不再向第一发现功能网元发送第二终端的发现参数,确保不同PC5 RAT的终端之间不再相互发现。
第五方面,提供一种通信方法,该方法仍可由第一通信装置执行,示例性地,该方法由第一发现功能网元执行,包括:
第一发现功能网元接收第一消息,该第一消息用于获取第二终端的发现参数,第一发现功能网元向第二发现功能网元发送第二消息,第二消息包括第二终端的邻近业务发现标识,第二消息用于获取所述第二终端的发现参数;其中,第一发现功能网元和第二发现功能网元归属同一PLMN,第一发现功能网元的类型和所述第二发现功能网元的类型不同,第二发现功能网元是为第二终端服务的发现功能网元。
基于上述方法,第一发现功能网元可以作为对外通信的统一接口,接收来自其它PLMN的发现请求消息。第一发现功能网元在接收到来自其它PLMN的发现请求消息后,从第二发现功能网元获取第二终端发现参数,第一发现功能网元及时准确地获取终端的发现参数,缩短通信时延,有助于实现终端之间的相互发现,保证终端之间的直接通信。
在一种可能的设计中,该方法还包括:
第一发现功能网元接收来自第二发现功能网元的第二消息的响应消息,第二消息的响应消息包括第二终端的发现参数;第一发现功能网元发送第一消息的响应消息,第一消息的响应消息包括第二终端的发现参数。
在一种可能的设计中,第一发现功能网元接收第一消息,具体包括:
所述第一发现功能网元接收来自第三发现功能网元的所述第一消息;其中,所述第三发现功能网元和所述第一发现功能网元归属于不同的PLMN。
也就是说,第一发现功能网元可以作为对外通信的统一接口,接收来自其它PLMN的发现请求消息。
在一种可能的设计中,第一发现功能网元向第二发现功能网元发送第二消息,具体包括:
在第一触发条件被满足的情况下,所述第一发现功能网元向所述第二发现功能网元发送所述第二消息;
第一触发条件包括如下至少一个:
条件(1)、所述第一发现功能网元本地未保存所述第二终端的发现参数,也就是说,第一发现功能网元本地不存在第二终端的发现参数,所以第一发现功能网元向第二发现功能网元请求获取发现参数。
条件(2)、第一发现功能网元的类型为5G DDNMF,所述第一消息包括第一PC5 RAT信息,且所述第一PC5 RAT信息用于表征PC5 RAT为LTE。也就是说,第二终端的PC5接口采用的RAT为LTE,因第一发现功能网元的类型为5G DDNMF,不同PC5 RAT的第一终端和第二终端不可以相互发现,基于第二发现功能网元的类型为ProSe功能,所以第一发现功能网元向第二发现功能网元请求获取发现参数。
条件(3)、第一发现功能网元的类型为ProSe功能,所述第一消息包括第二PC5 RAT信息,且所述第二PC5 RAT信息用于表征PC5 RAT为NR。也就是说,第二终端的PC5接口采用的RAT为NR,因第一发现功能网元的类型为ProSe功能,不同PC5 RAT的第一终端和第二终端不可以相互发现,基于第二发现功能网元的类型为5G DDNMF,所以第一发现功能网元向第二发现功能网元请求获取发现参数。
条件(4)、所述第一发现功能网元的类型为5G DDNMF,且所述邻近业务发现标识中不包括第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示第二发现功能网元的类型,该第二发现功能网元是为第二终端服务的发现功能网元;或者,
第一发现功能网元的类型为5G DDNMF,且所述第一消息中不包括所述第一信息;或者,
条件(5)、第一发现功能网元的类型为ProSe功能,且所述第一消息中包括所述第一信息;或者,第一发现功能网元的类型为ProSe功能,且邻近业务发现标识中包括所述第一信息。
在一种可能的设计中,第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,第一发现功能网元的类型为ProSe功能,第二发现功能网元的类型为5G DDNMF。
第六方面,提供一种通信方法,该方法可以由上述第二通信装置执行,示例性地,该方法由第二发现功能网元执行,包括:
第二发现功能网元接收来自第一发现功能网元的第二消息;该第二消息用于获取第二终端的发现参数;
第二发现功能网元根据第二消息,向第一发现功能网元发送第二消息的响应消息,第二消息的响应消息包括第二终端的发现参数;
其中,所述第一发现功能网元和所述第二发现功能网元归属同一公共陆地移动网络PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型为不同,第二发现功能网元是为第二终端服务的发现功能网元。
基于上述方法,第一发现功能网元可以作为对外通信的统一接口,接收来自其它PLMN的发现请求消息。第一发现功能网元在接收到来自其它PLMN的发现请求消息后,从第二发现功能网元获取第二终端发现参数,第一发现功能网元及时准确地获取终端的发现参数,缩短通信时延,有助于实现终端之间的相互发现,保证终端之间的直接通信。
在一种可能的设计中,第二发现功能网元向第一发现功能网元发送第二消息的响应消息,包括:
在第二触发条件被满足的情况下,第二发现功能网元向第一发现功能网元发送第二消息的响应消息;
第二触发条件包括如下至少一个:
条件(1)、第二发现功能网元本地保存所述第二终端的发现参数。也就是说,第一发现功能网元本地存在第二终端的发现参数,所以第二发现功能网元在本地可以获取到第二终端的发现参数。
条件(2)、第二发现功能网元的类型为5G DDNMF,所述第二消息包括第一PC5 RAT信息,且所述第一PC5 RAT信息用于表征PC5 RAT为NR。也就是说,第二终端的PC5接口采用的RAT为NR,因第二发现功能网元的类型为5G DDNMF,相同PC5 RAT的第一终端和第二终端可以相互发现,基于第二发现功能网元的类型为5G DDNMF,所以第一发现功能网元可以从本地获取第二终端的发现参数。
条件(3)、第二发现功能网元的类型为ProSe功能,所述第二消息包括第二PC5 RAT信息,且所述第二PC5 RAT信息用于表征PC5 RAT为LTE。也就是说,第二终端的PC5接口采用的RAT为LTE,因第二发现功能网元的类型为ProSe功能,相同PC5 RAT的第一终端和第二终端可以相互发现,基于第二发现功能网元的类型为ProSe功能,所以第一发现功能网元可以从本地获取第二终端的发现参数。
条件(4)、第二发现功能网元的类型为ProSe功能,且第二消息或PDUID不包括第一信息,邻近业务发现标识中不包括第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示第二发现功能网元的类型,该第二发现功能网元是为第二终端服务的发现功能网元。
条件(5)、所述第二发现功能网元的类型为5G DDNMF,且所述第二消息或PDUID中包括所述第一信息。
在一种可能的设计中,第一发现功能网元的类型为5G DDNMF,第二发现功能网元的类型为ProSe功能;或者,第一发现功能网元的类型为ProSe功能,第二发现功能网元的类型为5G DDNMF。
第七方面,提供一种通信方法,该方法仍可由第一通信装置执行,示例性地,该方法由第一发现功能网元执行,该方法包括:
第一发现功能网元接收来自第二发现功能网元的第二终端的第二发现参数;
所述第一发现功能网元保存所述第二发现参数。
基于上述方法,第一发现功能负责管理同一PLMN内的各个发现功能网元的发现参数,以便于第一发现功能网元在接收到来自其它PLMN的发现请求消息后,从本地可以获取第二终端的发现参数。所以在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
在一种可能的设计中,该方法还包括:第一发现功能网元接收来自第一终端的第一发现请求消息;第一发现功能网元根据第一发现请求消息,为第一终端分配第一发现参数;
第一发现功能网元向所述第一终端发送第一发现请求消息的响应消息,所述第一发现请求消息的响应消息包括所述第一发现参数。
基于上述方法,第一发现功能网元可以实现对PLMN内服务的终端的发现参数的统一管理。
在一种可能的设计中,第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
第八方面,提供一种通信方法,该方法仍可由第二通信装置执行,示例性地,该方法由第二发现功能网元执行,该方法包括:
第二发现功能网元接收来自第二终端的第二发现请求消息;然后第二发现功能网元根据所述第二发现请求消息,为所述第二终端分配第二发现参数;第二发现功能网元向第二终端发送第二发现请求消息的响应消息,因响应消息包括所述第二发现参数;所以第二发现功能网元向第一发现功能网元发送所述第二发现参数;
其中,所述第一发现功能网元和所述第二发现功能网元归属同一PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型不同。
基于上述方法,第二发现功能网元为第二终端分配发现参数之后,将分配的发现参数发送至第一发现功能网元,第一发现功能负责管理同一PLMN内的各个发现功能网元的发现参数,以便于第一发现功能网元在接收到来自其它PLMN的发现请求消息后,从本地可以获取第二终端的发现参数。所以在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
在一种可能的设计中,第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
第九方面,提供一种通信方法,该方法仍可由第一通信装置执行,示例性地,该方法由第一发现功能网元执行,该方法:第一发现功能网元接收来自第二发现功能网元的第三消息,所述第三消息用于获取第二终端的发现参数;第一发现功能网元根据第三消息,为第二终端分配第二发现参数;第一发现功能网元向第二发现功能网元发送所述第三消息的响应消息,所述响应消息包括所述第二发现参数;
其中,第一发现功能网元和所述第二发现功能网元归属同一PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型不同。
基于上述第九方面提供的方法,第一发现功能网元可以作为对外的统一接口,当接收到第一发现请求消息后,向第二发现功能网元转发该发现请求消息,即第一发现功能负责管理同一PLMN内的第二发现功能网元的发现参数,以便于及时准确地获取第二终端的发现参数。所以在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
在一种可能的设计中,该方法包括:第一发现功能网元保存第一发现参数。
在一种可能的设计中,该方法还包括:第一发现功能网元接收来自第一终端的第一发现请求消息;第一发现功能网元根据第一发现请求消息,为第一终端分配第一发现参数;第一发现功能网元向第一终端发送第一发现请求消息的响应消息,第一发现请求消息的响应消息包括第一发现参数。该方法中,第一发现功能网元不仅保存服务的第一终端的发现 参数,也保存PLMN内的其它发现功能网元服务的终端的发现参数。
在一种可能的设计中,第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
第十方面,提供一种通信方法,该方法仍可由第二通信装置执行,示例性地,该方法由第二发现功能网元执行,该方法:
第二发现功能网元接收来自第二终端的第二发现请求消息;
所述第二发现功能网元根据所述第二发现请求消息,向第二发现功能网元发送第三消息,所述第三消息用于获取所述第二终端的发现参数;
所述第二发现功能网元接收来自所述第一发现功能网元的第三消息的响应消息,所述响应消息包括所述第二终端的发现参数;
第二发现功能网元向第二终端发送第二发现请求消息的响应消息,所述第二发现请求消息的响应消息包括所述第二发现参数。
其中,所述第一发现功能网元和所述第二发现功能网元归属同一PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型不同。
基于上述方法,第一发现功能网元作为对外的统一接口,第二发现功能网元向第一发现功能网元请求分配第二终端的发现参数,即第一发现功能负责管理同一PLMN内的各个发现功能网元的发现参数,以便于第一发现功能网元在接收到来自其它PLMN的发现请求消息后,从本地可以获取第二终端的发现参数。所以在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
在一种可能的设计中,第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
第十一方面,本申请实施例提供一种第一通信装置,所述第一通信装置可以为第一发现功能网元(比如第一方面中的第一发现功能网元、第二方面中的第一发现功能网元、第五方面中的第一发现功能网元、第七方面中的第一发现功能网元、第九方面中的第一发现功能网元)或者设置在第一发现功能网元内部的芯片。所述第一通信装置具备实现上述第一方面、第二方面、第五方面、第七方面、第九方面中任一方面的功能,比如,所述第一通信装置包括执行上述第一方面、第二方面、第五方面、第七方面、第九方面中任一方面涉及步骤所对应的模块或单元或手段(means),所述功能或单元或手段可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现。
在一种可能的设计中,所述通信装置包括处理单元、通信单元,其中,通信单元可以用于收发信号,以实现该通信装置和其它装置之间的通信,比如,通信单元用于接收来自终端设备的信息;处理单元可以用于执行该通信装置的一些内部操作。
在又一种可能的设计中,所述通信装置包括处理器,还可以包括收发器,所述收发器用于收发信号,所述处理器执行程序指令,以完成上述第一方面、第二方面、第五方面、 第七方面、第九方面中任意可能的设计或实现方式中的方法。其中,所述通信装置还可以包括一个或多个存储器,所述存储器用于与处理器耦合,所述存储器可以保存实现上述第一方面、第二方面、第五方面、第七方面、第九方面中任一方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述通信装置实现上述第一方面、第二方面、第五方面、第七方面、第九方面中任意可能的设计或实现方式中的方法。
在又一种可能的设计中,所述通信装置包括处理器,处理器可以用于与存储器耦合。所述存储器可以保存实现上述第一方面、第二方面、第五方面、第七方面、第九方面中任一方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述通信装置实现上述第一方面、第二方面、第五方面、第七方面、第九方面中任意可能的设计或实现方式中的方法。
在又一种可能的设计中,所述通信装置包括处理器和接口电路,其中,处理器用于通过所述接口电路与其它装置通信,并执行上述第一方面、第二方面、第五方面、第七方面、第九方面中任意可能的设计或实现方式中的方法。
可以理解地,上述第十一方面中,处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。此外,以上处理器可以为一个或多个,存储器可以为一个或多个。存储器可以与处理器集成在一起,或者存储器与处理器分离设置。在具体实现过程中,存储器可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。
第十二方面,本申请实施例提供一种第二通信装置,所述第二通信装置可以为第二发现功能网元(比如第四方面中的第一发现功能网元、第六方面中的第一发现功能网元、第八方面中的第一发现功能网元、第十方面中的第一发现功能网元)或者设置在第二发现功能网元内部的芯片。所述第二通信装置具备实现上述第四方面、第六方面、第八方面、第十方面中任一方面的功能,比如,所述第二通信装置包括执行上述第四方面、第六方面、第八方面、第十方面中任一方面涉及步骤所对应的模块或单元或手段(means),所述功能或单元或手段可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现。
在一种可能的设计中,所述第二通信装置包括处理单元、通信单元,其中,通信单元可以用于收发信号,以实现该第二通信装置和其它装置之间的通信,比如,通信单元用于接收来自第一发现功能网元的消息;处理单元可以用于执行该第二通信装置的一些内部操作。
在又一种可能的设计中,所述第二通信装置包括处理器,还可以包括收发器,所述收发器用于收发信号,所述处理器执行程序指令,以完成上述第四方面、第六方面、第八方面、第十方面中任意可能的设计或实现方式中的方法。其中,所述第二通信装置还可以包括一个或多个存储器,所述存储器用于与处理器耦合,所述存储器可以保存实现上述第四方面、第六方面、第八方面、第十方面中任一方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行 时,使得所述第二通信装置实现上述第四方面、第六方面、第八方面、第十方面中任意可能的设计或实现方式中的方法。
在又一种可能的设计中,所述第二通信装置包括处理器,处理器可以用于与存储器耦合。所述存储器可以保存实现上述第四方面、第六方面、第八方面、第十方面中任一方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述第二通信装置实现上述第四方面、第六方面、第八方面、第十方面中任意可能的设计或实现方式中的方法。
在又一种可能的设计中,所述第二通信装置包括处理器和接口电路,其中,处理器用于通过所述接口电路与其它装置通信,并执行上述第四方面、第六方面、第八方面、第十方面中任意可能的设计或实现方式中的方法。
可以理解地,上述第十二方面中,处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。此外,以上处理器可以为一个或多个,存储器可以为一个或多个。存储器可以与处理器集成在一起,或者存储器与处理器分离设置。在具体实现过程中,存储器可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。
第十三方面,本申请实施例提供一种第三通信装置,所述第三通信装置可以为邻近业务应用服务器(比如第三方面中的邻近业务应用服务器)或者设置在邻近业务应用服务器内部的芯片。所述第三通信装置具备实现上述第三方面的功能,比如,所述第三通信装置包括执行上述第三方面涉及步骤所对应的模块或单元或手段(means),所述功能或单元或手段可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现。
在一种可能的设计中,所述第三通信装置包括处理单元、通信单元,其中,通信单元可以用于收发信号,以实现该第三通信装置和其它装置之间的通信,比如,通信单元用于接收来自第一发现功能网元的消息;处理单元可以用于执行该第三通信装置的一些内部操作。
在又一种可能的设计中,所述第三通信装置包括处理器,还可以包括收发器,所述收发器用于收发信号,所述处理器执行程序指令,以完成上述第三方面的方法。其中,所述第三通信装置还可以包括一个或多个存储器,所述存储器用于与处理器耦合,所述存储器可以保存实现上述第三方面中任一方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述第三通信装置实现上述第三方面中任意可能的设计或实现方式中的方法。
在又一种可能的设计中,所述第三通信装置包括处理器,处理器可以用于与存储器耦合。所述存储器可以保存实现上述第三方面任一方面涉及的功能的必要计算机程序或指令。所述处理器可执行所述存储器存储的计算机程序或指令,当所述计算机程序或指令被执行时,使得所述第三通信装置实现上述第三方面任意可能的设计或实现方式中的方法。
在又一种可能的设计中,所述第三通信装置包括处理器和接口电路,其中,处理器用于通过所述接口电路与其它装置通信,并执行上述第三方面任意可能的设计或实现方式中的方法。
可以理解地,上述第十三方面中,处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。此外,以上处理器可以为一个或多个,存储器可以为一个或多个。存储器可以与处理器集成在一起,或者存储器与处理器分离设置。在具体实现过程中,存储器可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。
第十四方面,本申请实施例提供一种通信系统,该通信系统包括上述第十一方面中的第一通信装置、第十二方面中的第二通信装置、第十三方面中的第三通信装置。
第十五方面,本申请提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第一方面至第十方面的任一种可能的设计中的方法。
第十六方面,本申请提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第一方面至第十方面的任一种可能的设计中的方法。
第十七方面,本申请提供一种芯片,所述芯片包括处理器,所述处理器与存储器耦合,用于读取并执行所述存储器中存储的软件程序,以实现上述第一方面至第十方面的任一种可能的设计中的方法。
附图说明
图1A为一种适用D2D通信的系统架构示意图;
图1B为一种归属不同系统的UE之间的相互发现示意图;
图2为本申请实施例提供的一种通信方法流程示意图;
图3A为本申请实施例提供的另一种通信方法流程示意图;
图3B为本申请实施例提供的另一种通信方法流程示意图;
图4A为本申请实施例提供的一种通信场景示意图;
图4B为本申请实施例提供的另一种通信场景示意图;
图4C为本申请实施例提供的另一种通信场景示意图;
图5A为本申请实施例提供的一种通信方法流程示意图;
图5B为本申请实施例提供的一种通信方法流程示意图;
图6A为邻近业务发现标识的组成部分示意图;
图6B为增强后的邻近业务发现标识的组成部分示意图;
图7为本申请实施例提供的另一种通信方法流程示意图;
图8A为本申请实施例提供的另一种通信方法流程示意图;
图8B为本申请实施例提供的另一种通信场景示意图;
图9A为本申请实施例提供的一种通信方法流程示意图;
图9B为本申请实施例提供的另一种通信方法流程示意图;
图10为本申请实施例提供的另一种通信场景示意图;
图11A为本申请实施例提供的另一种通信场景示意图;
图11B为本申请实施例提供的一种通信场景示意图;
图12为本申请实施例中所涉及的装置的可能的示例性框图;
图13为本申请实施例提供的一种终端设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。
本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、第五代(5th generation,5G)系统或新无线(new radio,NR),或者应用于未来的通信系统或其它类似的通信系统等。
随着通信技术的发展,自第三代合作伙伴计划(3 rd generation partnership project,3GPP)版本(release)12开始,第四代(4 th generation,4G)通信系统可以支持设备和设备之间的通信,这种通信方式可以称为设备到设备(device to device,D2D)通信。与传统的蜂窝通信技术最大的不同在于,D2D通信允许终端之间直接进行通信。
参阅图1A所示,一种本申请适用D2D通信的系统架构示意图。该系统架构包括终端,图1A中示例性的绘制了四个终端,分别为终端A、终端B、终端C、终端D。系统架构还包括无线接入网(radio access network,RAN)网元、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、统一数据管理(unified data management,UDM)网元、统一数据仓储(unified data repository,UDR)网元、邻近业务应用服务器(ProSe application server)、数据网络(data network,DN)、能力开放功能(network exposure function,NEF)网元、5G直连通信发现名称管理功能(5G direct discovery name management function,5G DDNMF)网元、策略控制功能(policy control function,PCF)网元、邻近业务应用服务器(ProSe application server)等。
5G DDNMF、AMF网元、SMF网元、UDM网元、NEF网元、PCF网元等网元属于第五代移动通信技术(5th generation,5G)网络架构中的核心网网元,这里仅示例性的展示了部分核心网网元,该系统架构中还可以包括其他核心网网元。
其中,5G DDNMF又称5G直接发现名称管理功能。在图1A中5G DDNMF网元处于控制面,在另一种实现方式中,5G DDNMF网元处于用户面。本专利对5G DDNMF网元处于控制面还是用户面不做限定。
RAN网元的主要功能是控制用户通过无线接入到移动通信网络。RAN是移动通信系统的一部分。它实现了一种无线接入技术。从概念上讲,它驻留某个设备之间(如移动电话、一台计算机,或任何远程控制机),并提供与其核心网的连接。需要指出的是,本申请中的RAN网元可以简称为RAN,不予限制。
AMF网元负责终端的接入管理和移动性管理,在实际应用中,其可以包括LTE中网络框架中MME里的移动性管理功能,并加入了接入管理功能。
SMF网元负责会话管理,如用户的会话建立等。
PCF网元是由运营商提供的控制面功能,用于向SMF网元提供会话的策略。策略可以包括计费相关策略、QoS相关策略和授权相关策略等。
UPF网元是用户面的功能网元,主要负责连接外部网络,其可以包括LTE的服务网关(serving gateway,SGW)和分组数据网网关(packet data network gateway,PDN-GW)的 相关功能。
DN负责为终端提供服务的网络,如一些DN为终端提供上网功能,另一些DN为终端提供短信功能等等。
UDM网元,用于存储用户的签约信息,实现类似于4G通信系统中的HSS,在本申请实施例中,UDM网元可以根据UE的匿名化标识或临时标识确定UE的用户永久性标识(subscription permanent identifier,SUPI)。
UDR网元主要用来存储用户的签约信息、策略数据、用于开放的结构化数据、应用数据。
邻近业务应用服务器(ProSe application server),用于根据终端的邻近业务发现标识为终端分配应用层标识,以及存储邻近业务发现标识和应用层标识之间的对应关系。在实际应用中,邻近业务应用服务器可以为AF网元或应用服务器(application server,AS)网元,也即具备ProSe application server功能的AF网元或AS网元。这样,ProSe application server与UE可以通过UE-RAN-UPF-AF的路径,进行用户面通信。ProSe application server还可以通过NEF网元与其他核心网网元进行通信。比如通过NEF网元与PCF网元通信。
NEF网元,用于将其他网元的能力和事件开放给第三方合作伙伴或AF网元。它为AF网元提供了一种安全地向第三代合作伙伴计划(3rd generation partnership project,3GPP)网络提供信息的方法,NEF网元可以验证和授权并协助限制AF网元。此外,NEF网元还可以将AF网元交换的信息和核心网功能网元交换的信息进行转换。
5G DDNMF网元,用于分配和管理终端的发现参数。5G DDNMF网元可以与邻近业务应用服务器通过PC2接口通信,用于对来自终端的发现请求(discovery request)进行授权,为终端分配邻近业务发现标识(如邻近业务发现用户设备标识(ProSe discovery UE ID,PDUID))和发现参数,以及建立邻近业务发现标识和发现参数之间的映射。例如,发现参数为邻近业务受限码字(ProSe restricted code)、发现过滤器(discovery filter)等。5G DDNMF网元是为邻近业务提供邻近业务服务功能的网络实体,使得在邻近业务中,两个距离比较近的终端之间,可以不依赖基站、网关等实体,而是通过5G DDNMF网元相互发现,以及相互通信。
终端是一种具有无线收发功能的设备,也可以称为用户设备(user equipment,UE)。具体地,终端可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。在本申请实施例中的终端可以为能够在邻近业务(proximity service,ProSe)场景下进行通信的终端,该终端具备邻近业务应用(ProSe application)功能,具备ProSe application功能的终端间可以通过PC5接口通信。
需要指出的是,本申请实施例中涉及的第一终端和第二终端可以是上述终端。其中,第二终端和第一终端可以进行直接通信,直接通信可以称为设备到设备(device to device,D2D)通信。示例性地,第二终端可以指的是播报UE(announcing UE),第一终端可以指 的是监听UE(monitoring UE)。主动进行监听的UE被称为监听UE,被发现或者被监听的UE被称为播报UE或被监听UE。在邻近业务发现场景中,同一个UE既可以是监听UE,也可以是播报UE。
此外,本申请实施例中涉及的邻近业务发现场景包括两种,分别为开放邻近业务发现(open ProSe discovery)场景和受限邻近业务发现(restricted ProSe discovery)场景。
针对开放邻近业务发现场景,举个例子来说,比如一个用户A使用终端A打游戏,用户A没有明确的游戏伙伴,只要“随机”找到一个游戏伙伴就行,该场景为开放邻近业务场景。针对受限邻近业务发现场景,举例来说,若用户A使用终端A打游戏有明确的游戏伙伴,则用户A可以通过终端A“指定”一个伙伴,只有他指定的伙伴才能接入游戏,其他的则不行,该场景为受限邻近业务发现场景。具体地,开放邻近业务发现场景和受限邻近业务发现场景的相关描述可参考已有相关技术,在此不再赘述。
在受限邻近业务发现场景中,在终端进行D2D通信之前,先从发现功能网元获取发现参数以进行其他终端的发现。具体地,第一终端和第二终端先分别与对应的发现功能网元进行交互,获取各自的发现参数(例如,邻近业务受限码字(ProSe restricted code)、发现过滤器(discovery filter)等)。在4G通信系统中,为第一终端和第二终端服务的发现功能网元为ProSe功能(ProSe function)网元,在5G通信系统中,为第一终端和第二终端服务的发现功能网元为5G DDNMF网元。其中,ProSe功能网元是4G通信系统中的发现功能网元,用于分配和管理D2D发现参数。具体地,ProSe功能网元可以与邻近业务应用服务器通过PC2接口通信,用于处理来自终端发现请求(discovery request)的授权,为终端分配邻近业务发现标识和发现参数,如发现参数为邻近业务受限码字(ProSe restricted code),以及建立邻近业务发现标识和发现参数之间的映射。ProSe功能网元也是为邻近业务提供邻近业务服务功能的网络实体,使得在邻近业务中,两个距离比较近的终端之间,可以不依赖基站、网关等实体,而是通过ProSe功能网元相互发现,以及相互通信。在本申请实施例中,ProSe功能网元和5G DDNMF网元可以统称为发现功能网元。
下文示例性地以为第一终端和第二终端服务的发现功能网元为5G DDNMF网元为例,第二终端(如announcing UE)向公共陆地移动网(public land mobile network,PLMN)1中的5G DDNMF网元发送发现请求,并从PLMN1中的5G DDNMF网元获取第二终端的发现参数(如ProSe restricted code)。第一终端(如monitoring UE)向PLMN2中的5G DDNMF网元发送发现请求,该发现请求中包括第二终端的应用层标识。PLMN2中的5G DDNMF网元从邻近业务应用服务器获取第二终端的应用层标识对应的邻近业务发现用户设备标识(ProSe discovery UE ID,PDUID),并根据PDUID中的PLMN标识可以唯一确定为第二终端服务的发现功能网元为PLMN1中的5G DDNMF网元,因此PLMN2中的5G DDNMF网元可以从PLMN1中的5G DDNMF获取第二终端的发现参数,并将第二终端的发现参数发送给第一终端。第二终端可以通过PC5(一种终端和终端之间通信的接口)接口广播第二终端的发现参数,第一终端可以通过PC5接口接收该广播消息,并利用已获取的第二终端的发现参数,判断其是否与第二终端所广播的发现参数匹配,若匹配,则第一终端发现第二终端,两者进行D2D通信。
由于随着移动通信的高速发展,第四代(4th generation,4G)移动通信技术系统和第五代(5th generation,5G)移动通信技术系统可以归属同一个PLMN,即同一个运营商同时支持4G通信系统和5G通信系统。示例性地,如图1B所示,第二终端(如图1B中的 announcing UE)所归属的PLMN1中的发现功能网元包括ProSe功能(ProSe function)网元和5G DDNMF网元。
因ProSe功能网元和5G DDNMF网元均可以为第二终端分配发现参数,所以第一终端(如图1B中的monitoring UE)对应的发现功能网元(如图1B中的PLMN2中的5G DDNMF网元)无法仅通过PDUID中的PLMN ID唯一确定为第二终端服务的发现功能网元的类型是ProSe功能还是5G DDNMF,这时,第一终端可能先尝试从PLMN1中的ProSe功能网元获取发现参数,若获取失败,则再从PLMN1中的5G DDNMF网元获取发现参数,通信时延较大,用户感受较差。可见,目前的D2D通信的发现机制有待进一步优化。
下面对本申请涉及的名词进行解释,如下:
1、应用层标识,用于指示被监听或被发现的终端标识(indicating what the UE is interested to monitor)。例如,应用层标识为受限邻近业务应用用户设备标识(restricted ProSe application user ID,RPAUID)。
2、发现参数,用于终端之间的相互发现。本实施例中,第一终端可以接收第二终端所广播的发现参数,然后当第一终端确定第一终端的发现参数包括第二终端广播的发现参数时,则第二终端发现第一终端,即第一终端和第二终端可以建立直接通信。发现参数可以为邻近业务受限码字(ProSe restricted code)、发现过滤器(discovery filter)等。
3、目的终端,指的是在邻近业务发现场景中,被监听的终端,或被发现的终端。
4、终端的发现类型,可以是开放类型的发现(open discovery),适用于邻近业务发现(open ProSe discovery)场景,再比如可以是受限类型的发现(restricted discovery),适用于受限邻近业务发现(restricted ProSe discovery)场景。
5、发现功能网元,是为邻近业务提供邻近业务服务功能的网络实体,使得在邻近业务中,两个距离比较近的终端之间,可以不依赖基站、网关等实体,而是通过ProSe功能网元相互发现,以及相互通信。在本申请实施例中,ProSe功能网元和5G DDNMF网元可以统称为发现功能网元。
6、发现功能网元的类型,可以是ProSe功能或5G DDNMF。
7、PC5无线接入技术(radio access technology,RAT)信息,用于表征终端的PC5接口采用的RAT,比如PC5 RAT为NR,或PC5 RAT为LTE。
需要指出的是,本申请各个实施例中均以邻近业务发现标识为PDUID为例进行描述。
为此,本申请实施例提供一种通信方法,该方法能够快速且准确获取终端的发现参数,缩短通信延时,实现终端之间的相互发现,保证终端之间的直接通信。
下面结合多个实施例对本申请所提供的通信方法进行展开说明。
参见图2,为本申请实施例提供的一种通信方法,该方法包括:
步骤201,第一终端向第一发现功能网元发送发现请求(discovery request)消息2a。
其中,该发现请求消息2a可以包括N个目的终端的应用层标识,N为大于或等于1的整数,该N个目的终端的应用层标识可以包括第二终端的应用层标识。该发现请求用于请求发现或监听N个目标终端。其中,N个目标终端指的是需要被发现或被监听的终端,本申请实施例中以N个目的终端的应用层标识为第二终端的应用层标识为例进行说明,如N个目标终端的应用层标识可以为第二终端的RPAUID。
其中,第一发现功能网元可以指的是为第一终端服务的发现功能网元,第二发现功能网元可以指的是为第二终端服务的发现功能网元。示例性地,当第二终端接入的核心网的 通信制式为5G时,即第二终端接入5G核心网(5G core network,5GC),那么为第二终端服务的第二发现功能网元的类型为5G DDNMF。当第二终端接入的核心网的通信制式为4G通信系统时,即第二终端接入演进分组核心网(evolved packet core,EPC),那么为第二终端服务的第二发现功能网元的类型为ProSe功能网元。为第一终端服务的第一发现功能网元和为第二终端服务的第二发现功能网元可以是两个独立的网络侧设备,也可以是两个功能模块,集成在同一个网络侧设备中。为便于阐述,本申请各实施例提出的技术方案中,将为第一终端服务的第一发现功能网元和为第二终端服务的第二发现功能网元作为两个独立的网络侧设备进行详细阐述。
步骤202,第一发现功能网元向邻近业务应用服务器发送第一发现功能网元的请求消息2b。
其中,该请求消息2b可以包括第二终端的应用层标识,该请求消息2b可以用于请求邻近业务应用服务器授权发现第二终端。
示例性地,该请求消息2b可以为授权请求消息,第一发现功能网元可以向邻近业务应用服务器发送授权请求消息,该授权请求消息中除了包括第二终端的RPAUID,还可以包括第一终端的RPAUID。
步骤203,邻近业务应用服务器向第一发现功能网元发送请求消息2b的响应消息2c。
可选地,响应消息2c分为以下两种情况:
情况1,该响应消息2c包括第二终端的PDUID和第一信息。
情况2,该响应消息2c包括第二终端的PDUID,该第二终端的PDUID包括第一信息。
其中,情况2采用对PDUID进行增强的方式,将第一信息承载于PDUID中,该PDUID可以称之为增强后的PDUID。
其中,第一信息可以包括第一指示信息和/或第二指示信息。
其中,第一指示信息可以用于指示第二终端接入的核心网的通信制式,例如,核心网的通信制式是5G核心网(5G core network,5GC),或演进分组核心网(evolved packet core,EPC)。
其中,第二指示信息可以用于指示第二发现功能网元的类型,例如,第二发现功能网元的类型是5G DDNMF或ProSe功能。
举例来说,假设第一信息为第一指示信息,当第一指示信息为0(例如,1个比特表示:0)时,表明第二终端接入的核心网的通信制式为5GC,当第一指示信息为1(例如,1个比特表示:1)时,表明第二终端接入的核心网的通信制式为EPC。
再比如,假设第一信息为第二指示信息,第二指示信息为0(例如,1个比特表示:0)时,表明为第二终端服务的发现功能网元的类型为5G DDNMF,第二指示信息为1(例如,1个比特表示:1)时,表明为第二终端服务的发现功能网元的类型为ProSe功能。
再比如,第一信息包括第一指示信息和第二指示信息,当第一指示信息和第二指示信息均为0(例如,第一指示信息和第二指示信息使用两个比特表示:00)时,表明第二终端接入的核心网的通信制式为5GC,为第二终端服务的发现功能网元的类型为5G DDNMF,当第一指示信息和第二指示信息均为1(例如,第一指示信息和第二指示信息使用两个比特表示:11)时,表明第二终端接入的核心网的通信制式为EPC,为第二终端服务的发现功能网元的类型为ProSe功能。在步骤203的一种可能的实现方式中,邻近业务应用服务器上保存有PDUID和应用层标识之间的对应关系,以及应用层标识和第一信息之间的对 应关系,邻近业务应用服务器根据第二终端的应用层标识,从邻近业务应用服务器获取第二终端的PDUID和第一信息。
示例性,当第一发现功能网元向邻近业务应用服务器发送授权请求消息,该授权请求消息中包括第一终端的RPAUID和第二终端的RPAUID,邻近业务应用服务器向第一发现功能网元发送授权响应消息,该授权响应消息中除了包括第一终端的PDUID,还包括第二终端的PDUID和第一信息。
在步骤203的另一种可能的实现方式中,邻近业务应用服务器上保存有增强后的PDUID和应用层标识之间的对应关系,邻近业务应用服务器根据第二终端的应用层标识,从邻近业务应用服务器获取与该第二终端的应用层标识对应的PDUID,该PDUID为增强后的PDUID。
示例性地,当第一发现功能网元向邻近业务应用服务器发送授权请求消息,该授权请求消息中包括第一终端的RPAUID和第二终端的RPAUID,邻近业务应用服务器向第一发现功能网元发送授权响应消息,该授权响应消息除了包括第一终端的PDUID,还可以包括第二终端的增强后的PDUID。
步骤204,第一发现功能网元根据响应消息2c,从第二发现功能网元获取第二终端的发现参数。
在一种可能的实施方式中,结合步骤203中的情况1,步骤204包括:第一发现功能网元根据第二终端的PDUID和第一信息,确定第二发现功能网元;第一发现功能网元从第二发现功能网元获取第二终端的发现参数。
在另一种可能的实施方式中,结合步骤203中的情况2,步骤204包括:第一发现功能网元根据第二终端的PDUID,确定第二发现功能网元;第一发现功能网元从第二发现功能网元获取第二终端的发现参数。
具体地,上述第一发现功能网元根据第二终端的PDUID,确定第二发现功能网元可以包括:第一发现功能网元中根据第二终端的PDUID,确定第二终端归属的PLMN;第一发现功能网元根据PDUID中的第一信息和该PLMN,确定第二发现功能网元。
示例性地,假设第二终端的PDUID中的PLMN ID为46000,即第二终端归属的PLMN为第一运营商网络,第一发现功能网元根据第二终端的PDUID中的PLMN ID,可以确定第二终端归属的PLMN为第一运营商网络,因此第一发现功能网元根据第一信息,从第一运营商网络中的5G DDNMF和ProSe功能网元中唯一确定第二发现功能网元。其中,第二发现功能网元可以指的是为第二终端服务的发现功能网元。例如,若第一信息中的第一指示信息指示第二终端接入的系统是5G系统,则第一发现功能网元从移动运营商网络中的5G DDNMF和ProSe功能网元中唯一确定第二终端的发现功能网元为移动运营商网络中的5G DDNMF。
应理解,若第一信息是第一指示信息,则第一发现功能网元可以提前配置有不同的核心网的通信制式和发现功能网元之间的对应关系。例如,配置5GC和5G DDNMF之间的对应关系,以及配置EPC和ProSe功能网元之间的对应关系。再比如,若第一信息是第二指示信息,且第二指示信息指示第二发现功能网元的类型是5G DDNMF,则第一发现功能网元从移动运营商网络中的5G DDNMF和ProSe功能网元中唯一确定第二终端的发现功能网元的类型为移动运营商网络中的5G DDNMF。
具体地,步骤204中从第二发现功能网元获取第二终端的发现参数可以采用如下实现 方式:
方式一,第一发现功能网元向第二发现功能网元发送第一消息,该第一消息包括第一终端的PC5无线接入技术(radio access technology,RAT)信息和第二终端的PDUID,该第一消息用于获取第二终端的发现参数。
其中,该第一终端的PC5 RAT信息用于表征所述第一终端的PC5接口采用的RAT。
相应地,第二发现功能网元在接收第一消息后,可以对第二终端的PC5 RAT信息和第一终端的PC5 RAT信息进行比较,当第一终端的PC5 RAT信息与第二终端的PC5 RAT信息一致时,第二发现功能网元根据第二终端的PDUID,向第一发现功能网元发送第二终端的发现参数;或者,当第一终端的PC5 RAT信息与第二终端的PC5 RAT信息不一致时,第二发现功能网元向第一发现功能网元发送用于通知第二终端的发现参数获取失败的通知消息,或者,第二发现功能网元不作响应,即不执行向第一发现功能网元发送通知消息的动作。
方式二,当第二终端的PC5 RAT信息与第一终端的PC5 RAT信息一致时,第一发现功能网元从第二发现功能网元获取第二终端的发现参数。
可选地,上述方法还包括:第一发现功能网元对第二终端的PC5 RAT信息和第一终端的PC5 RAT信息进行比较。
其中,第一终端的PC5 RAT信息可以携带在第一终端向第一发现功能网元发送的发现请求消息2a中;第二终端的PC5 RAT信息可以由第一发现功能网元从邻近业务应用服务器获取,也可以由第一发现功能网元从第二发现功能网元获取。
其中,第二终端的PC5 RAT信息用于表征第二终端的PC5接口采用的RAT。
需要指出的是,在方式二中,当第二终端的PC5 RAT信息与第一终端的PC5 RAT信息一致时,第一发现功能网元可以不作响应,即不执行从第二发现功能网元获取第二终端的发现参数的动作。
上述两种方式,有助于相同PC5 RAT的第一终端和第二终端可以相互发现,不同PC5 RAT的终端之间不再相互发现。
基于图2所述的通信方法,因第一发现功能网元可以根据第二终端的PDUID和第一信息,或第二终端的PDUID准确地确定为第二终端服务的第二发现功能网元,所以在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
下文中结合图3A和图3B,对上述方法进行说明,图3A和3B以第一终端获取第二终端的发现参数的过程为例进行说明。
如图3A所示,为本申请实施例提供的一种通信方法,具体如下所述。
步骤301a,第一终端向第一发现功能网元发送发现请求消息3a。
其中,该发现请求消息3a同步骤201的发现请求消息2a,该步骤301a的具体内容可以参见上述步骤201。
步骤302a,第一发现功能网元向邻近业务应用服务器发送第一发现功能网元的请求消息3b。
其中,请求消息3b同步骤202的请求消息2b,该步骤302a的具体内容可以参见上述 步骤202。
步骤303a,邻近业务应用服务器向第一发现功能网元发送请求消息3b的响应消息3c。
其中,请求消息3b的响应消息3c同步骤203的请求消息2b的响应消息2c,该步骤303a的具体内容可以参见上述步骤203。
步骤304a,第一发现功能网元根据响应消息3c,确定为第二终端服务的第二发现功能网元。
具体地确定方式可以参见上述步骤204。
步骤305a,第一发现功能网元向第二发现功能网元发送第一消息3d。
其中,第一消息3d可以用于获取第二终端的发现参数,第一消息3d包括第一终端的PC5 RAT信息。可选地,第一消息3d还包括第二终端的PDUID。
示例性地,第一消息3d为发现参数获取请求消息,该发现参数获取请求消息包括第一终端的PC5 RAT信息和第二终端的PDUID。
其中,第一终端的PC5 RAT信息用于表征第一终端的PC5接口采用的RAT,例如,PC5 RAT为NR或者LTE。
本实施例中,关于第一终端的PC5 RAT信息的获取方式存在如下两种:
方式a,上述步骤301a中的发现请求消息还包括第一终端的PC5 RAT信息,第一发现功能网元可以从步骤301a中的发现请求消息中获取第一终端的PC5 RAT信息。
方式b,第一发现功能网元在步骤303a中从邻近业务应用服务器获取第一终端的PC5 RAT信息。
需要说明的是,方式b中第一终端可以在向邻近业务应用服务器发送的发现许可请求消息中包括第一终端的PC5 RAT信息。
步骤306a,第二发现功能网元接收第一消息3d,对第一终端的PC5 RAT信息与第二终端的PC5 RAT信息进行比较。
应理解,第二发现功能网元在执行该步骤306a之前,先获取第二终端的PC5 RAT信息。具体地,第二发现功能网元获取第二终端的PC5 RAT信息的方式可以是:第二终端可以在执行上述步骤之前,向第二发现功能网元发送消息,该消息中包括第二终端的PC5 RAT信息。
示例性地,假设第一终端的PC5 RAT与第二终端的PC5 RAT均为NR或均为LTE,第二发现功能网元确定二者一致;假设第一终端的PC5 RAT为NR,第二终端的PC5 RAT为LTE,第二发现功能网元确定二者不一致;假设第一终端的PC5 RAT为LTE,第二终端的PC5 RAT为NR,则第二发现功能网元确定二者不一致。
相应地,第二发现功能网元可以基于步骤306a的比较结果,执行步骤307a或308a。
步骤307a,当第一终端的PC5 RAT信息与第二终端的PC5 RAT信息一致时,第二发现功能网元根据第二终端的PDUID查找第二终端的发现参数,并向第一发现功能网元发送响应消息3e。
其中,该响应消息3e包括第二终端的发现参数。
步骤308a,当第一终端的PC5 RAT信息与第二终端的PC5 RAT信息不一致时,第二发现功能网元向第一发现功能网元发送通知消息3f,该通知消息3f用于通知第二终端的发现参数获取失败。
可选地,步骤308a替换为:当第一终端的PC5 RAT信息与第二终端的PC5 RAT信息 不一致时,所述第二发现功能网元不作响应,即不执行任何操作。
需要说明的是,步骤307a和308a均为可选步骤,例如,上述方法可以包括步骤307a和308a中的一个,也可以包括步骤307a和308a,不予限制。
可选地,在第一发现功能网元获取第二终端的发现参数之后,上述方法还可以包括步骤309a和步骤310a,以完成第一终端和第二终端的直连通信。
步骤309a,第一发现功能网元向第一终端发送第一终端的发现参数。
其中,第一终端的发现参数可以由N个目标终端的发现参数组成,本实施例中N个目标终端包括第二终端,那么第一终端的发现参数包括第二终端的发现参数。
应理解,当目标终端除了包括第二终端之外,还包括M个其它终端,M为正整数时,第一发现功能网元获取第二终端的发现参数和M个其它终端的发现参数后,生成第一终端的发现参数,该第一终端的发现参数可以包括第二终端的发现参数和M个其它终端的发现参数。
步骤310a,当第一终端的发现参数与第二终端所广播的发现参数匹配时,第一终端发现第二终端,与第二终端建立D2D通信。
也就是说,因第一终端的发现参数包括第二终端的发现参数,当第一终端的发现参数中的第二终端的发现参数与第二终端所广播的发现参数相同时,第一终端确定可以与第二终端建立D2D连接,实现第一终端与第二终端的直接通信。
如图3B所示,为本申请实施例提供的一种通信方法,具体如下所述。
步骤301b至步骤304b同上述图3A所示的步骤301a至步骤304a。
步骤305b,第一发现功能网元获取第二终端的PC5 RAT信息。
其中,第二终端的PC5 RAT信息的获取方式存在如下两种:
方式c,第二终端先向邻近业务应用服务器发送第二终端的PC5 RAT信息,从而邻近业务应用服务器保存有第二终端的应用层标识与PC5 RAT信息之间的对应关系,和/或第二终端的PDUID和PC5 RAT信息之间的对应关系。因此第一发现功能网元就可以根据第二终端的应用层标识,从邻近业务应用服务器中获取第二终端的PC5 RAT信息。如上述步骤303b中的响应消息3c包括第二终端的PC5 RAT信息,第一发现功能网元从响应消息3c中获取第二终端的PC5 RAT信息。
方式d,第一发现功能网元从第二发现功能网元获取第二终端的PC5 RAT信息,如第一发现功能网元向第二发现功能网元发送请求获取第二终端的PC5 RAT信息,应理解,第二终端先向第二发现功能网元发送第二终端的PC5 RAT信息,从而第二发现功能网元保存有第二终端的PC5 RAT信息。
步骤306b,第一发现功能网元对第二终端的PC5 RAT信息与第一终端的PC5 RAT信息进行比较。
应理解,第一发现功能网元在执行该步骤306b之前,先获取第一终端的PC5 RAT信息。具体地,第一发现功能网元获取第一终端的PC5 RAT信息的方式可以是:第一终端可以在执行上述步骤之前,向第一发现功能网元发送消息,该消息中包括第一终端的PC5 RAT信息。
示例性地,假设第一终端的PC5 RAT与第二终端的PC5 RAT均为NR或均为LTE,第一发现功能网元确定二者一致;假设第一终端的PC5 RAT为NR,第二终端的PC5 RAT 为LTE,第一发现功能网元确定二者不一致;假设第一终端的PC5 RAT为LTE,第二终端的PC5 RAT为NR,则第一发现功能网元确定二者不一致。
相应地,第一发现功能网元可以基于步骤306b的比较结果,执行步骤307b至308b,或执行步骤309b。
步骤307b,当第二终端的PC5 RAT信息与第一终端的PC5 RAT信息一致时,第一发现功能网元向第二发现功能网元发送第一消息3d,第一消息3d包括第二终端的PDUID。
其中,第一消息3d用于获取第二终端的发现参数。例如,第一消息3d为发现参数请求消息,该发现参数请求消息用于请求第二终端的发现参数。
步骤308b,第一发现功能网元接收来自第二发现功能网元的第一消息3d的响应消息3e。
其中,该第一消息3d的响应消息3e包括第二终端的发现参数。
步骤309b,当第二终端的PC5 RAT信息与第一终端的PC5 RAT信息不一致时,第一发现功能网元不作响应,即不向第二发现功能网元发送第一消息。
需要说明的是,步骤308b和309b均为可选步骤,例如,上述方法可以包括步骤308b和309b中的一个,也可以包括步骤308b和309b,不予限制。
可选地,在第一发现功能网元获取第二终端的发现参数之后,上述方法可以包括步骤310b和步骤311b,以完成第一终端和第二终端之间的直接通信。
其中,步骤310b与步骤309a相同,具体内容可以参见步骤309a,步骤311b与步骤310a相同,具体内容可以参见步骤310a,在此不再重复赘述。
为便于理解上述方法,下文结合图4A,图4B和图4C分具体场景,示例性地对上述通信方法进行说明。
场景一,第二发现功能网元和第一发现功能网元相同,即为同一发现功能网元,第一发现功能网元从本地获取第二终端的发现参数。
示例性地,如图4A所示,为监听方UE服务的第一发现功能网元为PLMN1中5G DDNMF,为播报方UE服务的第二发现功能网元也为PLMN1中5G DDNMF,因此,5G DDNMF接收来自监听方UE的发现请求,因发现请求中包括被监听的播报方UE的RPAUID,所以5G DDNMF根据该播报方UE的RPAUID,从邻近业务应用服务器获取该播报方UE的PDUID和第二指示信息,该第二指示信息指示播报方UE接入的发现功能网元的类型为5G DDNMF,因PDUID中的PLMN ID为PLMN1,所以5G DDNMF从本地获取播报方UE的发现参数。
场景二,第二发现功能网元和第一发现功能网元不同,第一发现功能网元从第二发现功能网元获取第二终端的发现参数。
示例性地,如图4B所示,第二发现功能网元和第一发现功能网元虽然归属于同一PLMN1,但为监听方UE服务的第一发现功能网元为PLMN1中的5G DDNMF网元,为播报方UE服务的第二发现功能网元为PLMN1中的ProSe功能网元,因此,当5G DDNMF接收来自监听方UE的发现请求,因发现请求中包括被监听的播报方UE的RPAUID,所以5G DDNMF根据该播报方UE的RPAUID,从邻近业务应用服务器获取该播报方UE的PDUID和第二指示信息,该第二指示信息指示播报方UE接入的发现功能网元的类型为ProSe功能,因PDUID中的PLMN ID为PLMN1,所以5G DDNMF从PLMN1中的ProSe 功能网元获取播报方UE的发现参数。
又一示例性地,如图4C中,第二发现功能网元和第一发现功能网元虽然归属不同的PLMN,但为监听方UE服务的第一发现功能网元为PLMN2中5G DDNMF,为播报方UE服务的第二发现功能网元为PLMN1中的ProSe功能网元,因此,当5G DDNMF接收来自监听方UE的发现请求,因发现请求中包括被监听的播报方UE的RPAUID,所以5G DDNMF根据该播报方UE的RPAUID,从邻近业务应用服务器获取该播报方UE的PDUID和第二指示信息,该第二指示信息指示播报方UE接入的发现功能网元的类型为ProSe功能,因PDUID中的PLMN ID为PLMN1,所以5G DDNMF从PLMN1中的ProSe功能网元获取播报方UE的发现参数。
本实施例中,从上述步骤可见,邻近业务应用服务器上保存有PDUID和应用层标识之间的对应关系,以及应用层标识和第一信息之间的对应关系,从而邻近业务应用服务器可以根据第二终端的应用层标识,从邻近业务应用服务器获取第二终端的PDUID和第一信息。
一种可能的实施例中,邻近业务应用服务器可以根据从第二终端接收的第二终端的PDUID和第一信息,为第二终端分配应用层标识;并保存第一信息、第二终端的PDUID和该应用层标识之间的对应关系,具体过程可以参见下述图5A所示的实施例。
在另一种可能的实施例中,邻近业务应用服务器可以根据从第二终端接收的第二终端的PDUID,为第二终端分配应用层标识;并保存第二终端的PDUID和该应用层标识之间的对应关系,以及根据从第二发现功能网元接收的消息中的第一信息,保存该应用层标识和第一信息之间的对应关系,具体过程可以参见下述图5B所示的实施例。
在又一种可能的实施例中,邻近业务应用服务器还可以接收来自第二终端的该第二终端的PC5 RAT信息,并保存第二终端的应用层标识与该PC5 RAT信息之间的对应关系,和/或,保存第二终端的PDUID和该PC5 RAT信息之间的对应关系,以便于第一发现功能网元从邻近业务应用服务器获取第二终端的PC5 RAT信息,比较第二终端的PC5 RAT信息与第一终端的PC5 RAT信息一致。
本实施例中,邻近业务应用服务器中的上述对应关系可以在第二终端获取自身的发现参数的过程中生成。下文对第二终端获取自身的发现参数的过程展开说明。
图5A为本申请实施例提供的一种通信方法流程示意图,该方法包括如下步骤:
步骤501a,第二终端向第二发现功能网元发送第一消息5a。
其中,该第一消息50a可以用于第二终端注册至第二发现功能网元。
示例性地,该第一消息为发现注册(discovery registration)消息。
步骤502a,第二发现功能网元根据第一消息50a,为第二终端分配PDUID,并向第二终端发送第一消息50a的响应消息50b,该响应消息50b包括第二终端的PDUID。
示例性地,该响应消息50b为注册响应消息,该注册响应消息包括第二终端的PDUID。
一种可能的实施方式,第二发现功能网元对PDUID进行增强,即分配的PDUID包括第一信息。其中,第一信息可以参考上述实施例中的相关描述,不再赘述。
示例性地,传统的PDUID如图6A所示,PDUID的组成部分包括PLMN ID和临时字段(temporary ID)标识,其中,PLMN ID为该发现功能网元所属的PLMN标识,temporary ID为发现功能网元分配的临时标识,用以区分不同UE。本申请对图6A所示的现有技术 中PDUID进行增强,在现有技术的PDUID中添加新增字段,该新增字段可以占用1个比特位或两个比特位,如图6B所示。
在图6B中,该新增字段为第一信息。示例性地,当新增字段的比特位上的比特为0时,表示第二终端接入的核心网的通信制式为5GC,当新增字段的比特位上的比特为1时,表示第二终端接入的核心网的通信制式为EPC。再比如,当新增字段的比特位上的比特为0时,表示为第二终端服务的发现功能网元的类型为5G DDNMF,当新增字段的比特位上的比特为1时,表示为第二终端服务的发现功能网元的类型为ProSe功能。再比如,当新增字段的比特位上的比特为00时,表示第二终端接入的核心网的通信制式为5GC,为第二终端服务的发现功能网元的类型为5G DDNMF;当新增字段的比特位上的比特为11时,表示第二终端接入的核心网的通信制式为EPC,为第二终端服务的发现功能网元的类型为ProSe功能。
另一种可能的实施例中,第二发现功能网元不对PDUID进行增强,即第二发现功能网元分配的该PDUID不包括第一信息。
步骤503a,第二终端向邻近业务应用服务器发送第二消息50c。
其中,该第二消息50c用于请求授权发现第二终端。
示例性地,该第二消息50c为发现许可(discovery permission)消息。一种可能的实施例中,该发现许可消息中包括第二终端的PDUID,该PDUID包括第一信息。
另一种可能的实施例中,该第二消息中包括第二终端的PDUID和第一信息。此时,该PDUID可以不包括第一信息,而是第一信息承载于第二消息中,也就是说PDUID和该第一信息均承载于第二消息中。
另一种可能的实施例中,该第二消息中包括第二终端的PC5 RAT信息。
步骤504a,邻近业务应用服务器根据第二终端的PDUID,为第二终端分配应用层标识,并保存第一信息、应用层标识和第二终端的PDUID之间的对应关系。
示例性地,应用层标识可以指受限邻近业务的应用层用户标识(restricted ProSe application user ID,RPAUID)。邻近业务应用服务器根据第二终端的PDUID,为第二终端分配应用层标识后,保存PDUID与RPAUID的对应关系,以便于后续查找第二终端的RPAUID对应的PDUID。
一种可能的实施例中,若PDUID包括第一信息,则步骤504a中的第一信息,应用层标识和PDUID之间的对应关系可以包括:应用层标识与第一信息之间的对应关系。
另一种可能的实施例中,若PDUID不包括第一信息,则步骤504a中的第一信息,应用层标识和第二终端的PDUID之间的对应关系可以包括:应用层标识和PDUID之间的对应关系,以及应用层标识和第一信息之间的对应关系,以便于后续查找第二终端的应用层标识对应的第一信息。
另一种可能的实施例中,因邻近业务应用服务器获得PDUID与应用层标识的对应关系,也获得了应用层标识和第一信息之间的对应关系,邻近业务应用服务器还可以保存PDUID和第一信息之间的对应关系。
另一种可能的实施例中,若第二消息中包括第二终端的PC5 RAT信息,则邻近业务应用服务器还可以保存第二终端的PDUID和PC5 RAT信息之间的对应关系,以便于后续查找第二终端的PC5 RAT信息。
步骤505a,邻近业务应用服务器向第二终端发送第二消息50c的响应消息50d,该响 应消息50d包括第二终端的应用层标识。
示例性地,第二消息50c的响应消息50d为发现许可响应消息,该发现许可响应消息中包括第二终端的应用层标识。示例地,应用层标识可以为RPAUID。
步骤506a,第二终端向第二发现功能网元发送发现请求(discovery request)消息。
其中,该发现请求消息可以包括第二终端的应用层标识,该发现请求消息用于请求发现第二终端的发现参数。
步骤507a,第二发现功能网元向邻近业务应用服务器发送授权请求(authorization request)消息。
其中,该授权请求消息可以包括第二终端的应用层标识,该授权请求消息用于请求授权发现第二终端。
其中,该授权请求消息中还可以包括第一终端的PDUID,该授权请求消息进一步可以用于请求授权第一终端发现第二终端。
步骤508a,邻近业务应用服务器获得与第二终端的应用层标识对应的PDUID。
具体地,邻近业务应用服务器可以根据步骤504a中保存的对应关系来获得与应用层标识对应的PDUID。
步骤509a,邻近业务应用服务器向第二发现功能网元发送授权响应(authorization response)消息,该授权响应消息包括第二终端的PDUID。
步骤510a,第二发现功能网元根据第二终端的PDUID,分配第二终端的发现参数。
可选地,第二发现功能网元保存第二终端的PDUID和发现参数之间的对应关系。
可选地,第二发现功能网元向第二终端发送第二终端的发现参数。
示例性地,该第二终端的发现参数可以包括邻近业务受限码字(ProSe restricted code)。具体地,第二发现功能网元可以为每个终端分配一个邻近业务受限码字,也就是说,每个终端对应一个邻近业务受限码字。
其中,发现参数还可以包括邻近业务受限码字的有效期,或者用于表征邻近业务受限码字的有效期的参数。例如,参数可以包括但不限于:当前时间(current time)、最大偏置量(MAX offset)、有效期计时器(validity timer)等。
可选地,当邻近业务受限码字的有效期到期后,第二发现功能网元删除第二终端的PDUID与第二终端的邻近业务受限码字之间的对应关系。
其中,当前时间(current time)是用协调世界时间(coordinated universal time)表示当前时间的时间信息。MAX offset可以指示邻近业务受限码字有效的时间长度,即邻近业务受限码字的失效时刻与current time的差值。
其中,有效期计时器(validity timer)为邻近业务受限码字的有效期的计时器。每个邻近业务受限码字对应一个有效期计时器(validity timer),不同邻近业务受限码字对应的validity timer可以相同,也可以不同。
图5B为本申请实施例提供的一种通信方法流程示意图,该方法包括如下步骤:
步骤501b,第二终端向第二发现功能网元发送第一消息51a。
其中,该第一消息51a可以用于第二终端注册至第二发现功能网元。
步骤502a,第二发现功能网元根据第一消息51a,为第二终端分配PDUID,并向第二终端发送第一消息51a的响应消息51b,该响应消息51b包括第二终端的PDUID。
步骤503b,第二终端向邻近业务应用服务器发送第二消息51c。
其中,该第二消息51c用于请求授权发现第二终端。示例性地,该第二消息51c为发现许可(discovery permission)消息。
其中,该第二消息51c可以包括步骤502b中为第二终端分配的PDUID(即第二终端的PDUID)。
步骤504b,邻近业务应用服务器根据第二终端的PDUID为第二终端分配应用层标识,并且保存该PDUID和该应用层标识之间的对应关系。
示例性地,应用层标识可以指受限邻近业务的应用层用户标识(restricted ProSe application user ID,RPAUID)。
步骤505b,邻近业务应用服务器向第二终端发送第二消息51c的响应消息51d,该响应消息51d包括第二终端的应用层标识。
其中,该发现许可响应消息中包括该分配的应用层标识(即第二终端的应用层标识)。
步骤506b,第二终端向第二发现功能网元发送发现请求(discovery request)。
其中,该发现请求包括第二终端的应用层标识,该发现请求消息用于请求发现第二终端的发现参数。
步骤507b,第二发现功能网元向邻近业务应用服务器发送授权请求(authorization request)消息。
在第一种可能的实施方式中,该授权请求消息中包括第二终端的PDUID,该PDUID包括第一信息,即第一信息承载于该PDUID中。该授权请求消息中还可以包括第一终端的PDUID,相应地,该授权请求消息用于请求授权第一终端发现第二终端。
在第二种可能的实施方式中,该授权请求消息中包括第二终端的PDUID和该第一信息。即PDUID和该第一信息均承载于授权请求消息中。该授权请求消息中还可以包括第一终端的PDUID,相应地,该授权请求消息用于请求授权第一终端发现第二终端。
步骤508b,邻近业务应用服务器保存该应用层标识和第一信息之间的对应关系。
结合步骤507b中的第一种可能的实施方式,该应用层标识和第一信息之间的对应关系具体可以为该PDUID和应用层标识之间的对应关系。
另外,因在上述步骤504b中,邻近业务应用服务器保存了第二终端的PDUID与应用层标识之间的对应关系,在步骤508b中,邻近业务应用服务器保存了应用层标识和第一信息之间的对应关系,邻近业务应用服务器可以进一步保存PDUID和第一信息之间的对应关系。
步骤509b,邻近业务应用服务器向第二发现功能网元发送授权响应(authorization response)消息。
其中,该授权响应消息包括第二终端的PDUID。
步骤510b,第二发现功能网元根据第二终端的PDUID,分配第二终端的发现参数。
可选地,上述方法还包括:第二发现功能网元保存第二终端的PDUID和发现参数之间的对应关系。
可选地,第二发现功能网元还可以向第二终端发送第二终端的发现参数。
示例性地,该发现参数可以包括邻近业务受限码字(ProSe restricted code)。具体地,第二发现功能网元可以为每个终端分配一个邻近业务受限码字,也就是说,每个终端对应一个邻近业务受限码字。
进一步地,发现参数还可以包括邻近业务受限码字的有效期,或者用于表征邻近业务受限码字的有效期的参数,例如,该参数包括但不限于:当前时间(current time)、最大偏置量(MAX offset)、有效期计时器(validity timer),具体可以参见图5A所示实施例中的相关描述。
图7和图8A所示的实施例可以适用于第一发现功能网元和第一发现功能网元归属于第一PLMN,且该第一发现功能网元可以对其它PLMN呈现的场景。在该场景中,第一发现功能网元可以接收来自其它PLMN中终端设备的发现请求消息,并发送该发现请求消息的响应。而第二发现功能网元可以接收来自第一发现功能网元的消息。
参见图7,为本申请实施例提供的另一种通信方法,该方法包括:
步骤701,第一发现功能网元接收第一消息7a。
其中,该第一消息7a用于获取第二终端的发现参数,该第一消息7a可以包括第二终端的PDUID。例如,第一消息为发现请求(discovery request)消息。
在一种可能的实施例中,第一发现功能网元可以接收来自第三发现功能网元的所述第一请求消息,其中,第三发现功能网元和第一发现功能网元归属于不同的PLMN。示例性地,第一发现功能网元归属第一PLMN,第三发现功能网元归属第二PLMN。
步骤702,第一发现功能网元向第二发现功能网元发送第二消息7a。
其中,第二消息用于获取第二终端的发现参数。第二消息可以包括第二终端的PDUID。例如,第二消息为第一发现功能网元向第二发现功能网元转发的发现请求消息。
需要指出的是,第一消息7a与第二消息7b可以相同,也可以不同。
步骤703,第二发现功能网元根据第二消息7b,向第一发现功能网元发送第二消息7b的响应消息7c。
其中,该第二消息7b的响应消息7c包括第二终端的发现参数。
其中,第一发现功能网元和第二发现功能网元归属同一PLMN,如归属第一PLMN,第一发现功能网元的类型和第二发现功能网元的类型为不同。示例性地,第一发现功能网元的类型为5G DDNMF,第二发现功能网元的类型为ProSe功能;或者,第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
基于上述方法,第一发现功能网元可以作为对外通信的统一接口,接收来自其它PLMN的发现请求消息。第一发现功能网元在接收到来自其它PLMN的发现请求消息后,可以从第二发现功能网元获取第二终端的发现参数。所以在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
可选地,在上述实施例的一种实现场景下,上述方法还包括步骤704。
步骤704,第一发现功能网元接收来自第二消息7b的响应消息7c。
可选地,在上述实施例的另一种实现场景下,上述方法还包括步骤700。
步骤700,第一发现功能网元接收来自第三发现功能网元的第一消息7a。
进一步地,在步骤704之后,该方法还可以包括步骤705。
步骤705,第一发现功能网元向所述第三发现功能网元发送第一消息7a的响应消息7d,该第一消息7a的响应消息7d包括第二终端的发现参数。
可选地,在上述实施例的另一种实现场景下,步骤702中的发送动作可以在第一发现功能网元在本地查询不到第二终端的PDUID的情况下,或者在满足第一触发条件的情况下执行的。
可选地,步骤702包括:在第一触发条件被满足的情况下,第一发现功能网元向第二发现功能网元发送第二消息7b。
其中,第一触发条件可以包括如下至少一个条件:
条件(1)、第一发现功能网元本地未保存第二终端的发现参数,或者第二终端的PDUID不是由第一发现功能网元分配的。
也就是说,第一发现功能网元本地不存在第二终端的发现参数,所以第一发现功能网元向第二发现功能网元请求获取发现参数。
条件(2)、第一发现功能网元的类型为5G DDNMF,第一消息7a包括第一PC5 RAT信息,且第一PC5 RAT信息用于表征PC5 RAT为LTE。
应理解,第三发现功能网元先获取第一PC5 RAT信息,从而在第一消息7a中携带第一PC5 RAT信息。也就是说,第二终端的PC5接口采用的RAT为LTE,因第一发现功能网元的类型为5G DDNMF,不同PC5 RAT的第一终端和第二终端不可以相互发现,基于第二发现功能网元的类型为ProSe功能,所以第一发现功能网元向第二发现功能网元请求获取发现参数。
条件(3)、第一发现功能网元的类型为ProSe功能,第一消息7a包括第二PC5 RAT信息,且第二PC5 RAT信息用于表征PC5 RAT为NR。
应理解,第三发现功能网元可以先获取第二PC5 RAT信息,并在第一消息7a中携带第二PC5 RAT信息。也就是说,第二终端的PC5接口采用的RAT为NR,因第一发现功能网元的类型为ProSe功能,不同PC5 RAT的第一终端和第二终端不可以相互发现,基于第二发现功能网元的类型为5G DDNMF,所以第一发现功能网元向第二发现功能网元请求获取发现参数。
条件(4)、第一发现功能网元的类型为5G DDNMF,且第一消息7a或PDUID中均不包括第一信息。
其中,第一信息的具体内容可以参见上述实施例。
举例来说,第一消息7a或第二终端的PDUID中不包括第一信息,说明为第二终端服务的发现功能网元的类型为ProSe功能,则在第一发现功能网元5G DDNMF收到第一消息7a后,向第一PLMN中的ProSe功能发送第二消息7b。
应理解,条件(4)和条件(5)是指在5G DDNMF为终端分配的PDUID为增强的PDUID或为第一消息7a包括第一信息,ProSe功能为终端分配的PDUID为传统的PDUID或第一消息7a不包括第一信息的情况下发生的。
条件(5)、第一发现功能网元的类型为ProSe功能,且第一消息7a或PDUID中包括第一信息。
也就是说,第二终端的第三发现功能网元为第二终端分配的PDUID包括第一信息时,则在第一发现功能网元ProSe功能收到第一消息7a后,向第一PLMN中的5G DDNMF发送第二消息7b。
举例来说,第一消息7a或PDUID中包括第一信息,说明为第二终端服务的发现功能网元的类型为5G DDNMF时,则在第一发现功能网元ProSe功能收到第一消息7a后,向 第一PLMN中的5G DDNMF发送第二消息7b,具体可以参见上述图2所示方法中的第一发现功能网元根据第一信息,确定第二发现功能网元。
可选地,在上述实施例的另一种实现场景下,步骤703包括:
在第二触发条件被满足的情况下,第一发现功能网元向第二发现功能网元发送第二消息。
可以理解,在满足第二触发条件的情况下,执行步骤703的发送动作。其中,其中,第二触发条件可以包括如下至少一个:
条件(1)、第二发现功能网元本地保存所述第二终端的发现参数。
也就是说,第一发现功能网元本地存在第二终端的发现参数,所以第二发现功能网元在本地可以获取到第二终端的发现参数。
条件(2)、第二发现功能网元的类型为5G DDNMF,所述第二消息7b包括第一PC5 RAT信息,且第一PC5 RAT信息用于表征PC5 RAT为NR。
应理解,第三发现功能网元先获取第一PC5 RAT信息,从而在第一消息7a中携带第一PC5 RAT信息。也就是说,第二终端的PC5接口采用的RAT为NR,因第二发现功能网元的类型为5G DDNMF,相同PC5 RAT的第一终端和第二终端可以相互发现,基于第二发现功能网元的类型为5G DDNMF,所以第一发现功能网元可以从本地获取第二终端的发现参数。
条件(3)、第二发现功能网元的类型为ProSe功能,第二消息7b包括第二PC5 RAT信息,且所述第二PC5 RAT信息用于表征PC5 RAT为LTE。
应理解,第三发现功能网元先获取第二PC5 RAT信息,从而在第一消息7a中携带第二PC5 RAT信息。也就是说,第二终端的PC5接口采用的RAT为LTE,因第二发现功能网元的类型为ProSe功能,相同PC5 RAT的第一终端和第二终端可以相互发现,基于第二发现功能网元的类型为ProSe功能,所以第一发现功能网元可以从本地获取第二终端的发现参数。
条件(4)、第二发现功能网元的类型为ProSe功能,且第二消息7b或PDUID中不包括第一信息。
其中,第一信息的具体内容同上述实施例,在此不再重复赘述。
举例来说,第一消息7a或PDUID中不包括第一信息,说明为第二终端服务的发现功能网元的类型为ProSe功能,则ProSe功能网元收到第一消息7a后,可以从本地获取第二终端的发现参数。
条件(5)、第二发现功能网元的类型为5G DDNMF,且第二消息7b或PDUID中包括第一信息。
举例来说,第一消息7a或PDUID中包括第一信息,说明为第二终端服务的发现功能网元的类型为5G DDNMF时,则5G DDNMF网元收到第一消息7a后,可以从本地获取第二终端的发现参数。
下文结合图8A更加系统地对上述图7所示的方法进行详细说明,具体步骤包括:
步骤801,第三发现功能网元接收来自第一终端的发现请求(discovery request)消息8a。
其中,该发现请求消息8a包括N个目标终端的应用层标识。N为大于或等于1的整数,该N个目的终端的应用层标识可以包括第二终端的应用层标识。该发现请求用于请求发现或监听N个目标终端。其中,N个目标终端指的是需要被发现或被监听的终端,本申请实施例中以N个目的终端的应用层标识为第二终端的应用层标识为例进行说明,如N个目标终端的应用层标识可以为第二终端的RPAUID。
其中,第三发现功能网元是为第一终端服务的发现功能网元。第三发现功能网元归属于第二PLMN,该第二PLMN与第一PLMN不同。
示例性地,第一终端可以为图8B中的监听方UE(monitoring UE)。第三发现功能网元为图8B中的PLMN2中的5G DDNMF网元。
在一种可能的实现中,该发现请求消息中除了包括第二终端的RPAUID,还可以包括第二终端的发现类型(discovery type)、第二终端的国际移动用户识别号(international mobile subscriber identity,IMSI)和应用标识(application ID)等。发现类型可以是受限类型的发现(restricted discovery)。
步骤802,第三发现功能网元根据该发现请求消息中的第二终端的应用层标识,从邻近业务应用服务器获取第二终端的PDUID。
示例性地,邻近业务应用服务器上保存有PDUID和应用层标识之间的对应关系,第三发现功能网元可以根据第二终端的应用层标识,从邻近业务应用服务器获取与该应用层标识对应的PDUID。具体地,第三发现功能网元可以先向邻近业务应用服务器发送授权请求消息,该授权请求消息中包括第二终端的RPAUID,第三发现功能网元接收来自邻近业务应用服务器的授权响应消息,该授权响应消息中包括第二终端的PDUID。
步骤803,第三发现功能网元根据第二终端的PDUID,确定第二终端归属第一PLMN。
具体地,第三发现功能网元可以根据第二终端的PDUID中包括PLMN ID,确定第一PLMN。
步骤804,第三发现功能网元向第一PLMN中的第一发现功能网元发送第一消息8b。
其中,该第一消息8b可以包括第二终端的PDUID。
其中,第一消息8b可以用于获取所述第二终端的发现参数。示例性地,第一消息8b可以是监听请求(monitor request)消息。
也就是说,第一发现功能网元是第一PLMN的统一接口,第三发现功能网元向第一PLMN中第一发现功能网元发送第一消息8b。
进一步地,本实施例提供的方法还包括第一发现功能网元获取第二终端的发现参数的过程,具体可以采用两种方式来实现。其中,方式I包括步骤805a至810a;方式二包括步骤805b至步骤811b。
方式I
步骤805a,第一发现功能网元接收第一消息8b后,确定第一触发条件是否被满足。
若第一触发条件被满足,则执行步骤806a至步骤808a;若第一触发条件不被满足,则执行步骤809a至810a。
其中,第一触发条件的具体内容可以参见上述实施例。
步骤806a,第一发现功能网元向第一PLMN中的第二发现功能网元发送第二消息8c。
其中,第二消息8c用于获取第二终端的发现参数。第二消息8c可以包括第二终端的PDUID。第一消息8b与第二消息8c可以相同,也可以不同。
步骤807a,第二发现功能网元接收来自第一发现功能网元的第二消息8c后,根据PDUID查找第二终端的发现参数,第二发现功能网元向第一发现功能网元发送第二消息8c的响应消息,第二消息8c的响应消息包括第二终端的发现参数。
具体地,第二终端的发现参数的具体内容可以参见上文实施例中的描述,在此不再重复赘述。
步骤808a,第一发现功能网元接收来自第二发现功能网元的第二终端的发现参数之后,向第三发现功能网元发送第一消息8b的响应消息,该第一消息8b的响应消息包括第二终端的发现参数。
步骤809a,若第一触发条件不满足,第一发现功能网元根据第二终端的PDUID,从本地获取第二终端的发现参数。
步骤810a,第一发现功能网元向第三发现功能网元发送第一消息8b的响应消息,该第一消息8b的响应消息包括第二终端的发现参数。
方式II
步骤805b,第一发现功能网元接收第一消息8b后,向第二发现功能网元发送第二消息8d,该第二消息8d包括第二终端的PDUID。
步骤806b,第二发现功能网元接收来自第一发现功能网元的第二消息8d后,确定是否满足触发条件,若满足第二触发条件,则执行步骤807b值步骤808b,否则,则执行步骤809b至步骤811b。其中,第二触发条件的具体内容可以参见上述实施例。
步骤807b,当第二触发条件满足时,第二发现功能网元根据第二终端的PDUID,从本地查找第二终端的发现参数,向第一发现功能网元发送第二消息8d的响应消息,该第二消息8d的响应消息包括第二终端的发现参数。
步骤808b,第一发现功能网元接收来自第二发现功能网元的第二终端的发现参数之后,向第三发现功能网元发送第一消息8b的响应消息,该第一消息8b的响应消息包括第二终端的发现参数。
步骤809b,当第二触发条件不满足时,第二发现功能网元向第一发现功能网元发送第二消息的响应消息,该第二消息的响应消息包括参数获取失败信息。
步骤810b,第一发现功能网元接收来自第二发现功能网元的响应消息后,根据第二终端的PDUID,从本地获取第二终端的发现参数。
步骤811b,第一发现功能网元向第三发现功能网元发送第一消息的响应消息,该第一消息的响应消息包括第二终端的发现参数。
下文示例性地对上述第一发现功能网元从第二发现功能网元获取第二终端的发现参数的过程进行说明。
如图8B所示,为监听方UE服务的第三发现功能网元为PLMN2中5G DDNMF网元,为播报方UE服务的第一发现功能网元为PLMN1中5G DDNMF网元,因此,PLMN2中的5G DDNMF网元接收来自监听方UE的发现请求,因发现请求中包括被监听的播报方UE的RPAUID,所以PLMN2中的5G DDNMF根据该播报方UE的RPAUID,从邻近业务应用服务器获取该播报方UE的PDUID,因PLMN2中的5G DDNMF确定播报方UE的RPAUID中的PLMN ID为PLMN1,且PLMN1的对外统一接口为5G DDNMF,所以第三发现功能网元向PLMN1的5G DDNMF发送第一消息。PLMN1中的5G DDNMF根据第一触发条件是否满足,从PLMN1中的5G DDNMF网元或ProSe功能网元获取播报方UE的 发现参数,并将获取的播报方UE的发现参数发送至第三发现功能网元,进而第三发现功能网元将获取的播报方UE的发现参数发送至监听方UE。
图9A所示的实施例可以适用于第一发现功能网元作为第一发现功能网元归属的PLMN的统一接口,即第一发现功能网元用于接收来自其它PLMN的发现请求消息。并且第一发现功能网元分配的发现参数和第二发现功能网元分配的发现参数由第一发现功能网元统一管理。
参见图9A,为本申请实施例提供的另一种通信方法,如下所述。
步骤901a,第二终端向第二发现功能网元发送第二发现请求消息90a。
其中,该第二发现请求消息9a可以包括第二终端的PDUID,该第二发现请求消息用于请求发现第二终端。
步骤902a,第二发现功能网元根据该第二发现请求消息90a,为第二终端分配第二发现参数。
其中,该第二发现参数可以为第二终端的发现参数。
步骤903a,第二发现功能网元向第二终端发送该第二发现请求消息90a的响应消息。
其中,该响应消息包括第二发现参数。
步骤904a,第二发现功能网元向第一发现功能网元发送该第二发现参数。
需要说明的是,第一发现功能网元和第二发现功能网元归属同一PLMN,第一发现功能网元的类型和第二发现功能网元的类型不同。示例性地,第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
步骤905a,第一发现功能网元接收来自第二发现功能网元的第二终端的第二发现参数,以及保存该第二发现参数。
需要指出的是,步骤905a为可选步骤。
在本实施例中,第二发现功能网元为第二终端分配发现参数,并将所分配的发现参数发送给第一发现功能网元,实现第二发现功能网元分配的发现参数由第一发现功能网元统一管理,避免第一发现功能网元无法及时准确地获取被监听的终端的发现参数,这样在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
可选地,在上述实施例的一种实施场景中,上述方法还包括如下步骤:
步骤906a,第一终端向第一发现功能网元发送第一发现请求消息90b。
其中,第一发现请求消息可以包括第一终端的PDUID,该第一发现请求消息用于请求发现第一终端。
步骤907a,第一发现功能网元根据该第一发现请求消息90b,为第一终端分配第一发现参数。
可选地,第一发现功能网元保存该第一发现参数。
步骤908a,第一发现功能网元向第一终端发送第一发现请求消息90b的响应消息。
其中,第一发现请求消息90b的响应消息包括第一发现参数。
在本实施例的上述实施场景中,第一发现功能网元和第二发现功能网元分别为所服务 的终端分配终端的发现参数,第二发现功能网元所分配的发现参数和第一发现功能网元所分配的发现参数均由第一发现功能网元统一管理。实现第一发现功能网元分配的发现参数和第二发现功能网元分配的发现参数由第一发现功能网元统一管理,避免第一发现功能网元无法及时准确地获取被监听的终端的发现参数,这样在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
参见图9B,为本申请实施例提供的另一种通信方法,具体如下所述。
步骤901b,第二终端向第二发现功能网元发送第二发现请求消息91a。
可选地,该第二发现请求消息91a包括第二终端的PDUID。该第二发现请求消息91a用于请求发现第二终端。
步骤902b,第二发现功能网元根据所述第二发现请求消息91a,向第一发现功能网元发送第三消息91b。
其中,该第三消息91b可以用于获取第二终端的发现参数。
步骤903b,第一发现功能网元根据第三消息91b,为第二终端分配第二发现参数。
在一种可能的实施方式中,第一发现功能网元保存该第二发现参数。
步骤904b,第一发现功能网元向第二发现功能网元发送第三消息91b的响应消息。
其中,该响应消息包括第二发现参数。
步骤905b,第二发现功能网元接收第三消息91b的响应消息。
其中,该响应消息包括第二终端的发现参数。
步骤906b,第二发现功能网元向第二终端发送第二发现请求消息91a的响应消息。
其中,第二发现请求消息91a的响应消息包括第二发现参数。
其中,第二发现功能网元和第一发现功能网元归属同一PLMN,第二发现功能网元的类型和第一发现功能网元的类型不同。示例性地,第二发现功能网元的类型为5G DDNMF,所述第一发现功能网元的类型为ProSe功能;或者,第二发现功能网元的类型为ProSe功能,所述第一发现功能网元的类型为5G DDNMF。
本实施例中,第一发现功能网元作为第一发现功能网元归属的PLMN的统一接口,即第一发现功能网元可以接收其它发现功能网元服务的终端发出的发现请求消息,并为终端分配发现参数,并且在本地保存该终端的发现参数,可以避免第一发现功能网元无法及时准确地获取被监听的终端的发现参数,这样在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
可选地,在上述实施例的一种实施场景中,上述方法还包括如下步骤:
步骤907b,第一发现功能网元接收来自第一终端的第一发现请求消息91c。
其中,第一发现请求消息91c可以包括第一终端的PDUID,该第一发现请求消息91c用于请求发现第一终端。
步骤908b,第一发现功能网元根据第一发现请求消息91c,为第一终端分配第一发现参数。
可选地,第一发现功能网元保存该第一发现参数。第一发现参数为第一终端的发现参 数。
步骤909b,第一发现功能网元向第一终端发送第一发现请求消息91c的响应消息。
其中,第一发现请求消息91c的响应消息包括第一发现参数。
在本实施例的上述实施场景中,第一发现功能网元作为第一发现功能网元归属的PLMN的统一接口,即第一发现功能网元用于接收来自其它PLMN的发现请求消息。并且第一发现功能网元为第一发现功能网元所服务的终端,以及为第二发现功能网元所服务的终端统一分配的发现参数,分配的发现参数由第一发现功能网元统一管理。
图10为本申请实施例提供的另一种通信方法,该方法提供了第二终端获取自身的发现参数的过程,更加系统地对上述图9A所示的方法和图9B所示的方法进行说明,具体如下所述。
步骤1001,第二终端向第二发现功能网元发送第一消息10a。
其中,该第一消息10a可以用于第二终端注册到第二发现功能网元。
示例性地,该第一消息10a为发现注册(discovery registration)消息。
其中,第二发现功能网元指的是为第二终端服务的发现功能网元。示例性地,当第二终端接入的核心网的通信制式为5G时,第二终端接入5G核心网(5G core network,5GC),那么为第二终端服务的第二发现功能网元的类型为5G DDNMF;当第二终端接入的核心网的通信制式为4G通信系统时,第二终端接入演进分组核心网(evolved packet core,EPC),那么为第二终端服务的第二发现功能网元的类型为ProSe功能网元。
示例性地,第二终端可以为图1B所示的播报方UE(announcing UE)。为第二终端服务的第二发现功能网元可以为图1B所示的PLMN1中的5G DDNMF网元或者ProSe功能网元。
步骤1002,第二发现功能网元为第二终端分配PDUID,并向第二终端发送第一消息10a的响应消息。
其中,该响应消息可以包括第二终端的PDUID。
示例性地,第一消息10a的响应消息为注册响应消息,该注册响应消息包括该PDUID。
步骤1003,第二终端向邻近业务应用服务器发送第二消息10b。
其中,该第二消息10b用于授权发现第二终端。
示例性地,该第二消息10b为发现许可消息。
步骤1004,邻近业务应用服务器根据第二终端的PDUID,为第二终端分配应用层标识。
可选地,邻近业务应用服务器保存该PDUID和该应用层标识之间的对应关系。
示例性地,应用层标识可以指受限邻近业务的应用层用户标识(restricted ProSe application user ID,RPAUID)。具体地,邻近业务应用服务器可以根据第二终端的PDUID,为第二终端分配RPAUID,保存该PDUID与该RPAUID的对应关系,以便于后续使用第二终端的RPAUID查找该第二终端的PDUID。
步骤1005,邻近业务应用服务器向第二终端发送发现第二消息10b的响应消息。
其中,该响应消息包括步骤1004中分配的应用层标识(即第二终端的应用层标识)。
示例性地,该第二消息10b的响应消息为许可响应消息,该发现许可响应消息中包括第二终端的应用层标识。
步骤1006,第二终端向第二发现功能网元发送发现请求(discovery request)消息10c。
其中,该发现请求消息可以包括第二终端的应用层标识。
步骤1007,第二发现功能网元向邻近业务应用服务器发送授权请求(authorization request)消息10d。
其中,该授权请求消息10d可以包括第二终端的应用层标识。
步骤1008,邻近业务应用服务器确定与该应用层标识对应的PDUID。
步骤1009,邻近业务应用服务器向第二发现功能网元发送授权响应(authorization response)消息10e。
其中,该授权响应消息10e包括第二终端的PDUID。
进一步地,本实施例提供的方法还包括第一发现功能网元获取第二终端的发现参数的过程,具体可以采用两种方式来实现。其中,方式一包括步骤1010a-1012a;方式二包括1010b-1013b。
步骤1010a,第二发现功能网元根据第二终端的PDUID,分配第二终端的发现参数。
可选地,第二发现功能网元保存第二终端的PDUID和该发现参数之间的对应关系。
其中,发现参数的具体内容可以参见上述实施例一,在此不再重复赘述。
步骤1011a,第二发现功能网元向第二终端发送第二终端的发现参数。
步骤1012a,第二发现功能网元向第一发现功能网元发送第二终端的发现参数和第二终端的PDUID。
进一步地,第一发现功能网元可以保存第二终端的发现参数和第二终端的PDUID之间的对应关系,以便于在发现流程中第一发现功能网元能够根据第二终端的PDUID查询第二终端的发现参数。
步骤1010b,第二发现功能网元向第一发现功能网元发送第三消息10f。
其中,第三消息可以包括第二终端的PDUID。该第三消息10f可以用于获取第二终端的发现参数。
步骤1011b,第一发现功能网元接收来自第二终端的PDUID之后,分配第二终端的发现参数。
可选地,第一发现功能网元保存第二终端的PDUID和第二终端的发现参数之间的对应关系。
步骤1012b,第一发现功能网元向第二发现功能网元发送第二终端的发现参数和第二终端的PDUID。
步骤1013b,第一发现功能网元向第二终端发送第二终端的发现参数。
在图10所述的方法中,第二终端的发现参数可以由为第二终端服务的第二发现功能网元分配,或者,第一发现功能网元统一分配所归属的PLMN内的终端的发现参数,第二终端的发现参数可以由第一发现功能网元分配,可以避免第一发现功能网元无法及时准确地获取被监听的终端的发现参数,这样在同一个运营商同时支持4G通信系统和5G通信系统的场景下,第一发现功能网元可以及时准确地获取第二终端的发现参数,缩短通信延时,有助于实现第一终端和第二终端之间的相互发现,保证终端之间的直接通信。
基于上述第一发现功能网元对终端的发现参数的分配和管理,下文结合图11A,提供第一终端获取第二终端的发现参数的过程。
参见图11A,为本申请实施例提供的另一种通信方法,如下所述。
步骤1101,第三发现功能网元接收来自第一终端的发送发现请求消息11a。
其中,该发现请求消息11a用于获取第二终端的发现参数,该发现请求消息11a可以包括N个目标终端的应用层标识。N为大于或等于1的整数,该N个目的终端的应用层标识可以包括第二终端的应用层标识。该发现请求用于请求发现或监听N个目标终端。其中,N个目标终端指的是需要被发现或被监听的终端,本申请实施例中以N个目的终端的应用层标识为第二终端的应用层标识为例进行说明,如N个目标终端的应用层标识可以为第二终端的RPAUID。
其中,第三发现功能网元是为第一终端服务的发现功能网元。第三发现功能网元归属于第二PLMN,该第二PLMN与第一PLMN不同。示例性地,第一终端可以为图8B中的监听方UE(monitoring UE)。第三发现功能网元为图8B中的PLMN2中的5G DDNMF网元。
步骤1102,第三发现功能网元向邻近业务应用服务器发送授权请求消息11b。
其中,该授权请求消息11b包括第二终端的应用层标识。
步骤1103,邻近业务应用服务器根据第二终端的应用层标识,确定第二终端的PDUID。
步骤1104,邻近业务应用服务器向第三发现功能网元发送授权响应消息11c。
其中,该授权响应消息11c包括第二终端的PDUID。
步骤1105,第三发现功能网元根据第二终端的PDUID,从第一发现功能网元获取第二终端的发现参数。
具体地,因为第一发现功能网元作为该PLMN的统一接口,如上述第一部分所述,第一发现功能网元分配的发现参数和第二发现功能网元分配的发现参数由第一发现功能网元统一管理,所以第三发现功能网元根据第二终端的PDUID中PLMN ID信息确定向第一发现功能网元请求发送请求消息,该请求消息包括第二终端的PDUID,第一发现功能网元根据该第二终端的PDUID,从中查找与第二终端的PDUID对应的发现参数,并将查找到的第二终端的发现参数发送至第三发现功能网元。
可选地,在上述实施例的一种实施场景中,上述方法还包括如下步骤:
步骤1106,第三发现功能网元收到第二终端的发现参数之后,向第一终端发送第一终端的发现参数。
该第一终端的发现参数包括第二终端的发现参数。
步骤1107,第一终端确定从第三发现功能网元获取的第一终端的发现参数与第二终端所广播的发现参数匹配时,第一终端发现第二终端,后续第二终端和第一终端建立D2D通信。
下文示例性地对上述第一发现功能网元从第二发现功能网元获取第二终端的发现参数的过程进行说明。
如图11B所示,为监听方UE服务的第三发现功能网元为PLMN2中5G DDNMF,为播报方UE服务的第一发现功能网元为PLMN1中5G DDNMF,因此,PLMN2中的5G DDNMF接收来自监听方UE的发现请求,因发现请求中包括被监听的播报方UE的RPAUID,所以PLMN2中的5G DDNMF根据该播报方UE的RPAUID,从邻近业务应用服务器获取该播报方UE的PDUID,因第三发现功能网元确定播报方UE的PDUID中的PLMN ID为PLMN1,且PLMN1的对外统一接口为PLMN1中的5G DDNMF网元,所以 第三发现功能网元向PLMN1的5G DDNMF发送第一消息。因PLMN1中的5G DDNMF保存有第一发现功能网元分配的发现参数和第二发现功能网元分配的发现参数,所以可以获取播报方UE的发现参数,并将获取的播报方UE的发现参数发送至第三发现功能网元,从而第三发现功能网元将获取的播报方UE的发现参数发送监听方UE。
在图11A所述的方法中,第一终端可以获取第二终端的发现参数,从而可以进行相互发现,第一终端和第二终端可以直接进行通信,因直接通信的数据传输效率较高,可以提高通信效率。
上述实施例所描述的各个流程图的步骤编号仅为执行流程的一种示例,并不构成对步骤执行的先后顺序的限制,本申请实施例中相互之间没有时序依赖关系的步骤之间没有严格的执行顺序。此外,各个流程图中所示意的步骤并非全部是必须执行的步骤,可以根据实际需要在各个流程图的基础上增添或者删除部分步骤。
上述主要从设备交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,为了实现上述功能,各个设备可以包括执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请的实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
在采用集成的单元的情况下,图12示出了本申请实施例中所涉及的装置的可能的示例性框图。如图12所示,装置1200可以包括:处理单元1202和通信单元1203。处理单元1202用于对装置1200的动作进行控制管理。通信单元1203用于支持装置1200与其他设备的通信。可选地,通信单元1203也称为收发单元,可以包括接收单元和/或发送单元,分别用于执行接收和发送操作。可选的,装置1200还可以包括存储单元1201,用于存储装置1200的程序代码和/或数据。
该装置1200可以为上述实施例中的第一发现功能网元,或者还可以为设置在第一发现功能网元中的芯片。处理单元1202可以支持装置1200执行上文中各方法示例中第一发现功能网元的动作。或者,处理单元1202主要执行方法示例中的第一发现功能网元的内部动作,通信单元1203可以支持装置1200与其它设备之间的通信。
处理单元1202和通信单元1203具体执行的方法内容可以参见上述实施例一至实施例三中第一发现功能网元所执行的方法内容,在此不再重复赘述。
该装置1200可以为上述实施例中的第二发现功能网元,或者还可以为设置在第二发现功能网元中的芯片。处理单元1202可以支持装置1200执行上文中各方法示例中第二发现功能网元的动作。或者,处理单元1202主要执行方法示例中的第二发现功能网元的内部动作,通信单元1203可以支持装置1200与其它设备之间的通信。
处理单元1202和通信单元1203具体执行的方法内容可以参见上述实施例一至实施例三中第二发现功能网元所执行的方法内容,在此不再重复赘述。
该装置1200可以为上述实施例中的邻近业务应用服务器,或者还可以为设置在邻近业务应用服务器中的芯片。处理单元1202可以支持装置1200执行上文中各方法示例中邻近业务应用服务器的动作。或者,处理单元1202主要执行方法示例中的邻近业务应用服务器的内部动作,通信单元1203可以支持装置1200与其它设备之间的通信。
处理单元1202和通信单元1203具体执行的方法内容可以参见上述实施例一至实施例三中邻近业务应用服务器所执行的方法内容,在此不再重复赘述。
应理解以上装置中单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。例如,各个单元可以为单独设立的处理元件,也可以集成在装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以成为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各操作或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。
在一个例子中,以上任一装置中的单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA),或这些集成电路形式中至少两种的组合。再如,当装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是处理器,比如通用中央处理器(central processing unit,CPU),或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
以上用于接收的单元是一种该装置的接口电路,用于从其它装置接收信号。例如,当该装置以芯片的方式实现时,该接收单元是该芯片用于从其它芯片或装置接收信号的接口电路。以上用于发送的单元是一种该装置的接口电路,用于向其它装置发送信号。例如,当该装置以芯片的方式实现时,该发送单元是该芯片用于向其它芯片或装置发送信号的接口电路。
图13为本申请实施例提供的一种通信装置的结构示意图,其可以为以上实施例中的第一发现功能网元、第二发现功能网元、邻近业务应用服务器等,用于实现以上实施例中各个设备的操作。如图13所示,该通信装置包括:天线1310、射频部分1320、信号处理部分1330。天线1310与射频部分1320连接。在下行方向上,射频部分1320通过天线1310接收网络设备发送的信息,将网络设备发送的信息发送给信号处理部分1330进行处理。在上行方向上,信号处理部分1330对通信装置的信息进行处理,并发送给射频部分1320,射频部分1320对通信装置的信息进行处理后经过天线1310发送给网络设备。
信号处理部分1330可以包括调制解调子系统,用于实现对数据各通信协议层的处理;还可以包括中央处理子系统,用于实现对通信装置操作系统以及应用层的处理;此外,还可以包括其它子系统,例如多媒体子系统,周边子系统等,其中多媒体子系统用于实现对通信装置相机,屏幕显示等的控制,周边子系统用于实现与其它设备的连接。调制解调子 系统可以为单独设置的芯片。
调制解调子系统可以包括一个或多个处理元件1331,例如,包括一个主控CPU和其它集成电路。此外,该调制解调子系统还可以包括存储元件1332和接口电路1333。存储元件1332用于存储数据和程序,但用于执行以上方法中通信装置所执行的方法的程序可能不存储于该存储元件1332中,而是存储于调制解调子系统之外的存储器中,使用时调制解调子系统加载使用。接口电路1333用于与其它子系统通信。
该调制解调子系统可以通过芯片实现,该芯片包括至少一个处理元件和接口电路,其中处理元件用于执行以上通信装置执行的任一种方法的各个步骤,接口电路用于与其它装置通信。在一种实现中,通信装置实现以上方法中各个步骤的单元可以通过处理元件调度程序的形式实现,例如用于通信装置的装置包括处理元件和存储元件,处理元件调用存储元件存储的程序,以执行以上方法实施例中通信装置执行的方法。存储元件可以为与处理元件处于同一芯片上的存储元件,即片内存储元件。
在另一种实现中,用于执行以上方法中通信装置所执行的方法的程序可以在与处理元件处于不同芯片上的存储元件,即片外存储元件。此时,处理元件从片外存储元件调用或加载程序于片内存储元件上,以调用并执行以上方法实施例中通信装置执行的方法。
在又一种实现中,通信装置实现以上方法中各个步骤的单元可以是被配置成一个或多个处理元件,这些处理元件设置于调制解调子系统上,这里的处理元件可以为集成电路,例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或者这些类集成电路的组合。这些集成电路可以集成在一起,构成芯片。
通信装置实现以上方法中各个步骤的单元可以集成在一起,以SOC的形式实现,该SOC芯片,用于实现以上方法。该芯片内可以集成至少一个处理元件和存储元件,由处理元件调用存储元件的存储的程序的形式实现以上通信装置执行的方法;或者,该芯片内可以集成至少一个集成电路,用于实现以上通信装置执行的方法;或者,可以结合以上实现方式,部分单元的功能通过处理元件调用程序的形式实现,部分单元的功能通过集成电路的形式实现。
可见,以上用于通信装置的装置可以包括至少一个处理元件和接口电路,其中至少一个处理元件用于执行以上方法实施例所提供的任一种通信装置执行的方法。处理元件可以以第一种方式:即调用存储元件存储的程序的方式执行通信装置执行的部分或全部步骤;也可以以第二种方式:即通过处理器元件中的硬件的集成逻辑电路结合指令的方式执行通信装置执行的部分或全部步骤;当然,也可以结合第一种方式和第二种方式执行通信装置执行的部分或全部步骤。
这里的处理元件同以上描述,可以通过处理器实现,处理元件的功能可以和图10中所描述的处理单元的功能相同。示例性地,处理元件可以是通用处理器,例如CPU,还可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个ASIC,或,一个或多个微处理器DSP,或,一个或者多个FPGA等,或这些集成电路形式中至少两种的组合。存储元件可以通过存储器实现,存储元件的功能可以和图10中所描述的存储单元的功能相同。存储元件可以通过存储器实现,存储元件的功能可以和图10中所描述的存储单元的功能相同。存储元件可以是一个存储器,也可以是多个存储器的统称。
图13所示的通信装置能够实现上述方法实施例中涉及通信装置的各个过程。图13所示的通信装置中的各个模块的操作和/或功能,分别为了实现上述方法实施例中的相应流程。 具体可参见上述方法实施例中的描述,为避免重复,此处适当省略详述描述。
本申请实施例中的术语“系统”和“网络”可被互换使用。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如“A,B和C中的至少一个”包括A,B,C,AB,AC,BC或ABC。以及,除非有特别说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (49)

  1. 一种通信方法,其特征在于,所述方法包括:
    第一发现功能网元接收来自第一终端的发现请求消息,所述发现请求消息包括第二终端的应用层标识;
    所述第一发现功能网元根据所述应用层标识,从邻近业务应用服务器获取所述第二终端的邻近业务发现标识和第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示第二发现功能网元的类型,所述第二发现功能网元是为所述第二终端服务的发现功能网元;
    所述第一发现功能网元根据所述邻近业务发现标识和所述第一信息,从所述第二发现功能网元获取所述第二终端的发现参数。
  2. 根据权利要求1所述的方法,其特征在于,所述第一发现功能网元根据所述邻近业务发现标识和所述第一信息,从所述第二发现功能网元获取所述第二终端的发现参数,包括:
    所述第一发现功能网元根据所述邻近业务发现标识和所述第一信息,确定所述第二发现功能网元;
    所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数。
  3. 根据权利要求2所述的方法,其特征在于,所述第一发现功能网元根据所述邻近业务发现标识和所述第一信息,确定所述第二发现功能网元,包括:
    所述第一发现功能网元根据所述邻近业务发现标识,确定所述第二终端归属的公共陆地移动网络PLMN;
    所述第一发现功能网元根据所述第一信息和所述PLMN,确定所述第二发现功能网元。
  4. 根据权利要求2或3所述的方法,其特征在于,所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数,包括:
    所述第一发现功能网元向所述第二发现功能网元发送第一消息,所述第一消息包括所述第一终端的PC5无线接入技术RAT信息和所述第二终端的邻近业务发现标识,所述第一消息用于获取所述第二终端的发现参数,所述第一终端的PC5 RAT信息用于表征所述第一终端的PC5接口采用的RAT;
    所述第一发现功能网元接收来自所述第二发现功能网元的所述第二终端的发现参数。
  5. 根据权利要求2或3所述的方法,其特征在于,所述发现请求消息还包括所述第一终端的PC5 RAT信息;
    所述方法还包括:
    所述第一发现功能网元获取所述第二终端的PC5 RAT信息,所述第二终端的PC5 RAT信息用于表征所述第二终端的PC5接口采用的RAT;
    所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数,包括:
    当所述第二终端的PC5 RAT信息与所述第一终端的PC5 RAT信息一致时,所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数。
  6. 根据权利要求5所述的方法,其特征在于,所述第一发现功能网元获取所述第二终端的PC5 RAT信息,包括:
    所述第一发现功能网元从所述邻近业务应用服务器获取所述第二终端的PC5 RAT信息;或者,
    所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的PC5 RAT信息。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述第二发现功能网元的类型包括:第五代5G直连通信发现名称管理功能DDNMF,或邻近业务ProSe功能。
  8. 一种通信方法,其特征在于,所述方法包括:
    第一发现功能网元接收来自第一终端的发现请求消息,所述发现请求消息包括第二终端的应用层标识;
    所述第一发现功能网元根据所述应用层标识,从邻近业务应用服务器获取所述第二终端的邻近业务发现标识,所述第二终端的邻近业务发现标识包括第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示第二发现功能网元的类型,所述第二发现功能网元是为所述第二终端服务的发现功能网元;
    所述第一发现功能网元根据所述邻近业务发现标识,从所述第二发现功能网元获取所述第二终端的发现参数。
  9. 根据权利要求8所述的方法,其特征在于,所述第一发现功能网元根据所述邻近业务发现标识,从所述第二发现功能网元获取所述第二终端的发现参数,包括:
    所述第一发现功能网元根据所述邻近业务发现标识,确定所述第二发现功能网元;
    所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数。
  10. 根据权利要求9所述的方法,其特征在于,所述第一发现功能网元根据所述邻近业务发现标识,确定所述第二发现功能网元,包括:
    所述第一发现功能网元根据所述邻近业务发现标识,确定所述第二终端归属的公共陆地移动网络PLMN;
    所述第一发现功能网元根据所述第一信息以及所述PLMN,确定所述第二发现功能网元。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数,包括:
    所述第一发现功能网元向所述第二发现功能网元发送发现第一消息,所述第一消息包括所述第一终端的PC5无线接入技术RAT信息和所述第二终端的邻近业务发现标识,所述第一消息用于获取所述第二终端的发现参数;
    所述第一发现功能网元接收来自所述第二发现功能网元的所述第二终端的发现参数。
  12. 根据权利要求9或10所述的方法,其特征在于,所述发现请求消息还包括所述第一终端的PC5 RAT信息;
    所述方法还包括:
    所述第一发现功能网元获取所述第二终端的PC5 RAT信息,所述第二终端的PC5 RAT信息用于表征所述第二终端的PC5接口采用的RAT;
    所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数,包括:
    当所述第二终端的PC5 RAT信息与所述第一终端的PC5 RAT信息一致时,所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的发现参数。
  13. 根据权利要求12所述的方法,其特征在于,所述第一发现功能网元获取所述第二终端的PC5 RAT信息,包括:
    所述第一发现功能网元从所述邻近业务应用服务器获取所述第二终端的PC5 RAT信息;或者,
    所述第一发现功能网元从所述第二发现功能网元获取所述第二终端的PC5 RAT信息。
  14. 根据权利要求8至13任一项所述的方法,其特征在于,所述第二发现功能网元的类型包括:第五代5G直连通信发现名称管理功能DDNMF,或邻近业务ProSe功能。
  15. 一种通信方法,其特征在于,所述方法包括:
    邻近业务应用服务器接收来自第一发现功能网元的请求消息,所述请求消息包括第二终端的应用层标识,所述请求消息用于请求授权发现所述第二终端;
    所述邻近业务应用服务器向所述第一发现功能网元发送所述请求消息的响应消息;
    其中,所述响应消息包括所述第二终端的邻近业务发现标识和第一信息,或者,所述响应消息包括所述第二终端的邻近业务发现标识,所述第二终端的邻近业务发现标识包括所述第一信息;
    其中,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示第二发现功能网元的类型,所述第二发现功能网元是为所述第二终端服务的发现功能网元。
  16. 根据权利要求15所述的方法,其特征在于,所述请求消息为授权请求消息。
  17. 根据权利要求15或16所述的方法,其特征在于,所述方法还包括:
    所述邻近业务应用服务器从所述第二终端获取所述第一信息;
    所述邻近业务应用服务器根据所述第二终端的邻近业务发现标识,为所述第二终端分配应用层标识;
    所述邻近业务应用服务器保存所述第一信息、所述应用层标识和所述第二终端的邻近业务发现标识之间的对应关系。
  18. 根据权利要求15至17任一项所述的方法,其特征在于,所述方法还包括:
    所述邻近业务应用服务器接收来自所述第二终端的PC5 RAT信息;
    所述邻近业务应用服务器保存所述第二终端的应用层标识与所述PC5 RAT信息之间的对应关系,和/或,保存所述第二终端的邻近业务发现标识和所述PC5 RAT信息之间的对应关系。
  19. 根据权利要求18所述的方法,其特征在于,所述响应消息还包括所述第二终端的PC5 RAT信息。
  20. 一种通信方法,其特征在于,包括:
    第二发现功能网元接收来自第一发现功能网元的第一消息,所述第一消息用于获取第二终端的发现参数,所述第一消息包括第一终端的PC5无线接入技术RAT信息,所述第一终端的PC5 RAT信息用于表征所述第一终端的PC5接口采用的RAT;
    当所述第一终端的PC5 RAT信息与所述第二终端的PC5 RAT信息一致时,所述第二发现功能网元向所述第一发现功能网元发送所述第二终端的发现参数。
  21. 根据权利要求20所述的方法,其特征在于,还包括:
    所述第一终端的PC5 RAT信息与第二终端的PC5 RAT信息不一致时,所述第二发现功能网元向所述第一发现功能网元发送用于通知所述第二终端的发现参数获取失败的通知消息。
  22. 一种通信方法,其特征在于,所述方法包括:
    第一发现功能网元接收第一消息,所述第一消息用于获取第二终端的发现参数;
    所述第一发现功能网元向第二发现功能网元发送第二消息,所述第二消息用于获取所述第二终端的发现参数;
    其中,所述第一发现功能网元和所述第二发现功能网元归属同一公共陆地移动网络PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型不同,所述第二发现功能网元是为所述第二终端服务的发现功能网元。
  23. 根据权利要求22所述的方法,其特征在于,所述方法还包括:
    所述第一发现功能网元接收来自所述第二发现功能网元的所述第二消息的响应消息,所述第二消息的响应消息包括所述第二终端的发现参数。
  24. 根据权利要求23所述的方法,其特征在于,所述第一发现功能网元接收第一消息,包括:
    所述第一发现功能网元接收来自第三发现功能网元的所述第一消息;其中,所述第三发现功能网元和所述第一发现功能网元归属于不同的PLMN;
    所述第一发现功能网元向所述第三发现功能网元发送第一消息的响应消息,所述第一消息的响应消息包括所述第二终端的发现参数。
  25. 根据权利要求22所述的方法,其特征在于,所述第一发现功能网元向第二发现功能网元发送第二消息,包括:
    在触发条件被满足的情况下,所述第一发现功能网元向所述第二发现功能网元发送所述第二消息;
    所述触发条件包括如下至少一个:
    所述第一发现功能网元本地未保存所述第二终端的发现参数;或者,
    所述第一发现功能网元的类型为5G DDNMF,所述第一消息包括第一PC5 RAT信息,且所述第一PC5 RAT信息用于表征PC5 RAT为LTE;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第一消息包括第二PC5 RAT信息,且所述第二PC5 RAT信息用于表征PC5 RAT为NR;或者,
    所述第一发现功能网元的类型为5G DDNMF,所述第一消息包括所述第二终端的邻近业务发现标识,且所述第二终端的邻近业务发现标识中不包括第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示所述第二发现功能网元的类型;或者,
    所述第一发现功能网元的类型为5G DDNMF,且所述第一消息中不包括所述第一信息;或者,
    所述第一发现功能网元的类型为ProSe功能,且所述第一消息中包括所述第一信息;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第一消息包括所述第二终端的邻近业务发现标识,且所述第二终端的邻近业务发现标识中包括所述第一信息。
  26. 根据权利要求22至25任一项所述的方法,其特征在于,所述第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
  27. 一种通信方法,其特征在于,包括:
    第二发现功能网元接收来自第一发现功能网元的第二消息;所述第二消息用于获取第二终端的发现参数;
    所述第二发现功能网元根据所述第二消息,向所述第一发现功能网元发送所述第二消息的响应消息,所述第二消息的响应消息包括所述第二终端的发现参数;
    其中,所述第一发现功能网元和所述第二发现功能网元归属同一公共陆地移动网络PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型为不同,所述第二发现功能网元是为所述第二终端服务的发现功能网元。
  28. 根据权利要求27所述的方法,其特征在于,所述第二发现功能网元向所述第一发现功能网元发送所述第二消息的响应消息,包括:
    在触发条件被满足的情况下,所述第二发现功能网元向所述第一发现功能网元发送所述第二消息的响应消息;
    所述触发条件包括如下至少一个:
    所述第二发现功能网元本地保存所述第二终端的发现参数;或者,
    所述第二发现功能网元的类型为5G DDNMF,所述第二消息包括第一PC5 RAT信息,且所述第一PC5 RAT信息用于表征PC5 RAT为NR;或者
    所述第二发现功能网元的类型为ProSe功能,所述第二消息包括第二PC5 RAT信息,且所述第二PC5 RAT信息用于表征PC5 RAT为LTE;或者
    所述第二发现功能网元的类型为ProSe功能,所述第一消息包括所述第二终端的邻近业务发现标识,且所述邻近业务发现标识中不包括第一信息,所述第一信息包括第一指示信息和/或第二指示信息,所述第一指示信息用于指示所述第二终端接入的核心网的通信制式,所述第二指示信息用于指示所述第二发现功能网元的类型;或者
    所述第二发现功能网元的类型为ProSe功能,且所述第二消息中不包括所述第一信息;
    所述第二发现功能网元的类型为5G DDNMF,所述第一消息包括所述第二终端的邻近业务发现标识,且所述第二终端的邻近业务发现标识中包括所述第一信息;或者,
    所述第二发现功能网元的类型为5G DDNMF,且所述第二消息中包括所述第一信息。
  29. 根据权利要求27至28任一项所述的方法,其特征在于,所述第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
  30. 一种通信方法,其特征在于,包括:
    第一发现功能网元接收来自第二发现功能网元的第二终端的第二发现参数;
    所述第一发现功能网元保存所述第二发现参数。
  31. 根据权利要求30所述的方法,其特征在于,所述方法还包括:
    所述第一发现功能网元接收来自第一终端的第一发现请求消息;
    所述第一发现功能网元根据所述第一发现请求消息,为所述第一终端分配第一发现参数;
    所述第一发现功能网元向所述第一终端发送第一发现请求消息的响应消息,所述第一发现请求消息的响应消息包括所述第一发现参数。
  32. 根据权利要求30或31所述的方法,其特征在于,所述第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
  33. 一种通信方法,其特征在于,包括:
    第二发现功能网元接收来自第二终端的第二发现请求消息;
    所述第二发现功能网元根据所述第二发现请求消息,为所述第二终端分配第二发现参数;
    所述第二发现功能网元向所述第二终端发送第二发现请求消息的响应消息,所述响应消息包括所述第二发现参数;
    所述第二发现功能网元向第一发现功能网元发送所述第二发现参数;
    其中,所述第一发现功能网元和所述第二发现功能网元归属同一公共陆地移动网络PLMN,所述第一发现功能网元的类型和所述第二发现功能网元的类型不同。
  34. 根据权利要求33所述的方法,其特征在于,所述第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
  35. 一种通信方法,其特征在于,所述方法包括:
    第一发现功能网元接收来自第二发现功能网元的第三消息,所述第三消息用于获取第二终端的发现参数;
    所述第一发现功能网元根据所述第三消息,为所述第二终端分配第二发现参数;
    所述第一发现功能网元向所述第二发现功能网元发送所述第三消息的响应消息,所述响应消息包括所述第二发现参数;
    其中,所述第二发现功能网元和所述第一发现功能网元归属同一公共陆地移动网络PLMN,所述第二发现功能网元的类型和所述第一发现功能网元的类型不同。
  36. 根据权利要求35所述的方法,其特征在于,所述方法包括:
    所述第一发现功能网元保存所述第二发现参数。
  37. 根据权利要求35或36所述的方法,其特征在于,所述方法还包括:
    所述第一发现功能网元接收来自第一终端的第一发现请求消息;
    所述第一发现功能网元根据所述第一发现请求消息,为所述第一终端分配第一发现参数;
    所述第一发现功能网元向所述第一终端发送第一发现请求消息的响应消息,所述第一发现请求消息的响应消息包括所述第一发现参数。
  38. 根据权利要求35至37所述的方法,其特征在于,所述第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
  39. 一种通信方法,其特征在于,所述方法包括:
    第二发现功能网元接收来自第二终端的第二发现请求消息;
    所述第二发现功能网元根据所述第二发现请求消息,向第一发现功能网元发送第三发现请求,所述第三消息用于获取所述第二终端的发现参数;
    所述第二发现功能网元接收来自所述第一发现功能网元的第三消息的响应消息,所述响应消息包括所述第二终端的发现参数;
    所述第二发现功能网元向所述第二终端发送第二发现请求消息的响应消息,所述第二发现请求消息的响应消息包括所述第二发现参数;
    其中,所述第二发现功能网元和所述第一发现功能网元归属同一公共陆地移动网络PLMN,所述第二发现功能网元的类型和所述第一发现功能网元的类型不同。
  40. 根据权利要求39所述的方法,其特征在于,所述第一发现功能网元的类型为5G DDNMF,所述第二发现功能网元的类型为ProSe功能;或者,
    所述第一发现功能网元的类型为ProSe功能,所述第二发现功能网元的类型为5G DDNMF。
  41. 一种通信装置,其特征在于,包括用于执行如权利要求1-7,或8-14,或22-26,或30-32,或35-38中任一项所述方法的模块。
  42. 一种通信装置,其特征在于,包括用于执行如权利要求15-19所述方法的模块。
  43. 一种通信装置,其特征在于,包括用于执行如权利要求20-21,或27-29,或33-34,或39-40中任一项所述方法的模块。
  44. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与存储器相连,所述至少一个处理器用于读取并执行所述存储器中存储的程序,以使得所述装置执行如权利要求1-7,或8-14,或22-26,或30-32,或35-38任一项所述的方法。
  45. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与存储器相连,所述至少一个处理器用于读取并执行所述存储器中存储的程序,以使得所述装置执行如权利要求15-19任一项所述的方法。
  46. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与存储器相连,所述至少一个处理器用于读取并执行所述存储器中存储的程序,以使得所述装置执行如权利要求20-21,或27-29,或33-34,或39-40任一项所述的方法。
  47. 一种芯片,其特征在于,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,以实现如权利要求1-40任一项所述的方法。
  48. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至40中任一项所述的方法。
  49. 一种计算机程序产品,其特征在于,所述计算机程序产品在被计算机调用时,使 得计算机执行如权利要求1-40任一所述的方法。
PCT/CN2020/140162 2020-12-28 2020-12-28 一种通信方法及装置 WO2022140919A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/140162 WO2022140919A1 (zh) 2020-12-28 2020-12-28 一种通信方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/140162 WO2022140919A1 (zh) 2020-12-28 2020-12-28 一种通信方法及装置

Publications (1)

Publication Number Publication Date
WO2022140919A1 true WO2022140919A1 (zh) 2022-07-07

Family

ID=82258996

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140162 WO2022140919A1 (zh) 2020-12-28 2020-12-28 一种通信方法及装置

Country Status (1)

Country Link
WO (1) WO2022140919A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016054578A1 (en) * 2014-10-03 2016-04-07 Interdigital Patent Holdings, Inc. Methods for restricted direct discovery
CN107637105A (zh) * 2015-04-06 2018-01-26 交互数字专利控股公司 针对邻近服务(ProSe)直接发现的方法、装置和系统
CN111247820A (zh) * 2017-03-10 2020-06-05 苹果公司 用于设备到设备发现的技术协调
CN111373782A (zh) * 2017-11-15 2020-07-03 诺基亚技术有限公司 针对直接发现的申请的授权

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016054578A1 (en) * 2014-10-03 2016-04-07 Interdigital Patent Holdings, Inc. Methods for restricted direct discovery
CN107637105A (zh) * 2015-04-06 2018-01-26 交互数字专利控股公司 针对邻近服务(ProSe)直接发现的方法、装置和系统
CN111247820A (zh) * 2017-03-10 2020-06-05 苹果公司 用于设备到设备发现的技术协调
CN111373782A (zh) * 2017-11-15 2020-07-03 诺基亚技术有限公司 针对直接发现的申请的授权

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on security aspects of enhancement for proximity based services in the 5G System (5GS) (Release 17)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 33.847, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG3, no. V0.3.0, 2 December 2020 (2020-12-02), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 73, XP051999406 *
HUAWEI, HISILICON: "KI#1 Sol#18 Update on Control Plane based 5G DDNMF Deployment", 3GPP DRAFT; S2-2008832, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. e-meeting; 20201116 - 20201120, 9 November 2020 (2020-11-09), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051953070 *

Similar Documents

Publication Publication Date Title
US10743279B2 (en) Network registration and network slice selection system and method
CN114270789B (zh) 一种获取信息的方法及装置
EP3681196B1 (en) Method and device for acquiring feature parameters
US20230029714A1 (en) Authorization method, policy control function device, and access and mobility management function device
US10999768B2 (en) Session context handling method, network element, and terminal device
US20230199550A1 (en) Relay Management Method and Communication Apparatus
WO2022067643A1 (zh) 一种小区选择方法、寻呼方法及装置
WO2022001318A1 (zh) 通信方法和装置
US20220150784A1 (en) Handover method and apparatus
US20220263879A1 (en) Multicast session establishment method and network device
US20230188993A1 (en) Communication method, apparatus, and system
WO2022140919A1 (zh) 一种通信方法及装置
WO2021088061A1 (zh) 通信方法及装置
WO2021081712A1 (zh) 一种dns查询方法及装置
CN115244991A (zh) 通信方法、装置及系统
WO2023197737A1 (zh) 报文发送方法、pin管理方法、通信装置及通信系统
WO2023272670A1 (zh) 一种网络连接的方法、装置及系统
US20240098146A1 (en) Bsf service registration and discovery enhancement
US20220360969A1 (en) Communication method and apparatus
WO2024040411A1 (zh) 一种实现多接入的方法及其装置
US20230224993A1 (en) Communication method and apparatus
WO2023220998A1 (zh) 无线通信的方法、用户设备及网络设备
WO2022237516A1 (zh) 一种无线通信方法及通信装置
WO2023169225A1 (zh) 一种pin管理方法、通信装置及通信系统
WO2023213112A1 (zh) 通信方法和装置

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

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

Country of ref document: EP

Kind code of ref document: A1