Communication method and communication device

By verifying the private address provided by the terminal device in the edge enable server, the security problem of the edge enable client obtaining the terminal device identifier is solved, preventing IP address spoofing attacks, and improving the accuracy and security of identifier acquisition.

CN118972078APending Publication Date: 2024-11-15HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310541737.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-14
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, the edge enable server (EES) has a low security in obtaining terminal device identifiers through the edge enable client (EEC) and is vulnerable to IP address spoofing attacks, resulting in failed or errors in the acquisition of identifiers.

Method used

After receiving the request message from the terminal device, the Edge Enable Server (EES) sends a request message to the network open function network element (NEF) and carries the private address, public address and port number of the terminal device to verify the accuracy of the private address and avoiding the Provides incorrect identifiers for improved security.

Benefits of technology

By verifying the private address provided by the terminal device, ensure the accuracy and security of identifier acquisition, prevent IP address spoofing attacks, and improve the reliability of identifier acquisition of terminal device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972078A_ABST
    Figure CN118972078A_ABST
Patent Text Reader

Abstract

Provided is a communication method, comprising: an EES receiving a first request message of a terminal device for obtaining an identifier of the terminal device, the first request message comprising a private IP address of the terminal device, the EES obtaining a public IP address and a port number of the terminal device and sending a second request message for requesting the identifier of the terminal device to an NEF, the second request message comprises the private IP address, and the public IP address and the port number of the terminal device, and receiving a response message from the NEF, the response message comprising an identifier of the terminal device, or the response message indicating acquisition failure. The public IP address and the port number of the terminal device are carried in the request message, so that a network side verifies the accuracy of the private IP address provided by the terminal device based on the public IP address and the port number, the terminal device is prevented from using the private IP address of other terminal devices to obtain identifiers of other terminal devices, and the security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a communication method and a communication device. Background Art

[0002] In order to enable edge applications on the 3rd Generation Partnership Project (3GPP) network, the architecture, processes and information flows for enabling edge applications are defined. Specifically, in order to obtain an identifier that uniquely identifies a terminal device, the edge enabler server (Edge Enabler Server, EES) in the architecture that enables edge applications opens the terminal device identifier application programming interface (Application program interface, API) to the edge application server (Edge Application Server, EAS) and the edge enabler client (Edge Enabler Client, EEC). The terminal device identifier API is used by EAS or EEC to obtain the identification of the terminal device from EES.

[0003] Exemplarily, EEC calling the terminal device identifier API can be used in the following scenario: EAS directly calls the terminal device identifier API to EES. When the acquisition of the terminal device identifier fails, EAS can choose to send signaling to the application client (AC) to enable AC to initiate a terminal device identifier query to EEC. Further, EEC uses the Internet Protocol (IP) address allocated by the core network to call the terminal device identifier API of EES to obtain the terminal device identifier, and sends the acquired terminal device identifier to EAS through AC.

[0004] However, how to improve the security of EAS obtaining terminal device identifiers through EEC has become an urgent problem to be solved. Summary of the invention

[0005] The present application provides a communication method and a communication device, in order to improve the security of EEC obtaining terminal device identifiers.

[0006] In a first aspect, the present application provides a communication method including: The method may be executed by an edge enabling server, or by a component (such as a chip or a circuit) of the edge enabling server, which is not limited in the present application.

[0007] The communication method includes: receiving a first request message from a terminal device, the first request message is used to obtain an identifier of the terminal device, and the first request message includes a first private address of the terminal device; obtaining a public address and a port number of the terminal device, and sending a second request message to a network open function network element, the second request message is used to obtain an identifier of the terminal device, and the second request message includes the first private address, the public address and the port number; receiving first indication information from the network open function network element or the identifier of the terminal device, the first indication information is used to indicate that the identifier of the terminal device has failed to be obtained.

[0008] Based on the above scheme, after the edge enabling server receives the request message of the terminal device for obtaining the terminal device, the request message for obtaining the terminal device sent to the network open function network element carries the first private address received from the terminal device, as well as the obtained public address and port number. This enables the network open function network element to determine whether the first private address provided by the terminal device is accurate based on the received public address and port number, so as to decide whether to provide the terminal device with an identifier of the terminal device, and avoid providing the terminal device with an identifier of the terminal device when the first private address provided by the terminal device is inaccurate, thereby improving the security of the terminal device obtaining the identifier of the terminal device.

[0009] In combination with the first aspect, in some implementations of the first aspect, the receiving a first request message from the terminal device includes: receiving an Internet Protocol IP data packet from a user plane function network element, wherein a payload portion of the IP data packet includes the first request message from the terminal device;

[0010] The obtaining of the public address and the port number comprises: determining the public address and the port number according to the source address and the source port number of the IP data packet, wherein the source address is used to characterize the public address, and the source port number is used to characterize the port number.

[0011] Exemplarily, the obtaining the public address and the port number further includes: obtaining the public address and the port number from an edge application server.

[0012] Based on the above solution, the edge enabling server can obtain the required public address and the port number in different ways, thereby improving the flexibility of the solution and meeting different application scenarios.

[0013] In combination with the first aspect, in some implementations of the first aspect, when receiving the first indication information of the terminal device from the network open function network element, the method further includes: receiving a cause value of the terminal device from the network open function network element, the cause value being used to indicate a cause of failure to obtain an identifier of the terminal device. The first indication information and the cause value may be carried in the second response message.

[0014] Based on the above scheme, when the second response message indicates that the terminal device identifier acquisition fails, the reason for the failure to acquire the terminal device identifier can be indicated by carrying a reason value in the first response message, so that the edge enabling server can correctly process the EEC request according to the reason value.

[0015] In combination with the first aspect, in certain implementations of the first aspect, when receiving the identifier of the terminal device from the network open function network element, the method also includes: sending a first response message to the terminal device, the first response message including the identifier of the terminal device.

[0016] In combination with the first aspect, in some implementations of the first aspect, sending the second request message to the network open function network element includes: sending the second request message to the network open function network element when the terminal device is not authenticated.

[0017] In a second aspect, the present application provides a communication method including: The method may be executed by a network open function network element, or by a component (such as a chip or circuit) of the network open function network element, and the present application does not limit this.

[0018] The communication method includes: receiving a second request message from an edge enabling server, the second request message is used to obtain an identifier of a terminal device, the second request message includes a first private address of the terminal device, a public address and a port number of the terminal device; when it is determined that the first private address is valid based on the public address and the port number, obtaining the identifier of the terminal device, and sending the identifier of the terminal device to the edge enabling server.

[0019] Based on the above solution, the edge enabling server sends a request message for obtaining the terminal device to the network open function network element, which carries the first private address received from the terminal device, as well as the public address and port number obtained by itself. This allows the network open function network element to determine whether the first private address provided by the terminal device is accurate based on the received public address and port number, so as to decide whether to provide the terminal device with an identifier of the terminal device, and avoid providing the terminal device with an identifier of the terminal device when the first private address provided by the terminal device is inaccurate, thereby improving the security of the terminal device in obtaining the terminal device identifier.

[0020] In combination with the second aspect, in certain implementations of the second aspect, when it is determined that the first private address is invalid based on the public address and the port number, first indication information is sent to the edge enabling server, where the first indication information is used to indicate that the identifier acquisition of the terminal device failed.

[0021] In combination with the second aspect, in some implementations of the second aspect, the method further includes: determining whether the first private address is valid according to the public address and the port number.

[0022] In combination with the second aspect, in certain implementations of the second aspect, determining whether the first private address is valid based on the public address and the port number includes: whether the first private address is the same as the second private address, wherein the second private address is determined based on the public address and the port number.

[0023] Exemplarily, the method also includes: sending a third request message to the user plane function network element, the third request message including the public address and the port number; receiving a third response message from the user plane function network element, the third response message including the second private address.

[0024] Exemplarily, the method also includes: the method also includes: obtaining at least one private address corresponding to the public network address, and a port number corresponding to the at least one private address; obtaining the second private address based on the at least one private address and the port number corresponding to the at least one private address obtained, and the port number in the second request message.

[0025] Exemplarily, the method further includes: sending a fourth request message to a user plane function network element, the fourth request message including the public address; receiving a fourth response message from the user plane function network element, the fourth response message including at least one private address corresponding to the public address, and a port number corresponding to the at least one private address. Optionally, before sending the fourth request message to the user plane function network element, querying at least one private address corresponding to the public network address and a port number corresponding to the at least one private address that are not stored locally.

[0026] Exemplarily, the method further includes: sending a subscription request message to a user plane function network element, the subscription request message including the public address; receiving one or more subscription response messages from the user plane function network element, the one or more subscription response messages including at least one private address corresponding to the public address, and a port number corresponding to the at least one private address. Optionally, before sending the fourth request message to the user plane function network element, querying at least one private address corresponding to the public network address and a port number corresponding to the at least one private address that are not stored locally.

[0027] If the at least one private address does not include the first private address, the first private address is determined to be invalid; or, if the at least one private address includes the first private address, and the port number corresponding to the first private address is the same as the port number, the first private address is determined to be valid.

[0028] Exemplarily, the method also includes: sending a fifth request message to the user plane function network element, the fifth request message including the first private address, the public address and the port number, the fifth request message being used to request the user plane function network element to determine whether the first private address is valid; receiving a fifth response message from the user plane function network element, the fifth response message being used to indicate whether the first private address is valid.

[0029] Based on the above scheme, the network open function network element can verify the first private address provided by the terminal device in different ways. For example, it can query the user plane function network element based on the received public address and port number to obtain the second private address corresponding to the public address and port number, and then verify the first private address based on the second private address obtained from the user plane function network element; for another example, it can obtain at least one private address corresponding to the public address and the port number corresponding to the at least one private address from the user plane function network element based on the received public address, and then verify the first private address based on the at least one private address obtained from the user plane function network element and the port number corresponding to the at least one private address; for another example, the received first private address, public address and port number can be provided to the user plane function network element, and the user plane function network element verifies the first private address and provides the verification result to the network open function network element. Providing different verification methods improves the flexibility of the scheme.

[0030] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: sending a discovery request message to a network function repository function network element, the discovery request message including the public address, and the discovery request message being used to obtain the address of a user plane function network element that implements an address conversion function; receiving a discovery response message from the network function repository function network element, the discovery response message including the address of the user plane function network element.

[0031] In combination with the second aspect, in some implementations of the second aspect, when sending the first indication information to the edge enabling server, the method further includes: sending a reason value to the edge enabling server, where the reason value is used to indicate a reason for failure to obtain an identifier of the terminal device.

[0032] In a third aspect, the present application provides a communication method including: The method may be executed by a user plane function network element, or by a component (such as a chip or circuit) of the user plane function network element, and the present application does not limit this.

[0033] The communication method includes: receiving a third request message from a network open function network element, the third request message is used to obtain a second private Internet Protocol address of a terminal device, the third request message includes a public address and a port number of the terminal device; determining the second private address of the terminal device according to the public address and the port number; and sending a third response message to the network open function network element, the third response message includes the second private address.

[0034] In a fourth aspect, the present application provides a communication method including: The method may be executed by a user plane function network element, or by a component (eg, a chip or a circuit) of the user plane function network element, and the present application does not limit this.

[0035] The communication method includes: receiving a fourth request message from a network open function network element, the fourth request message including a first public Internet interconnection protocol address of a terminal device; determining at least one private address corresponding to the public address and a port number corresponding to the at least one private address according to the public address; and sending a fourth response message to the network open function network element, the fourth response message including the at least one private address and a port number corresponding to the at least one private address.

[0036] Alternatively, receiving a subscription request message from the network open function network element, the subscription request message including a first public Internet interconnection protocol address of the terminal device; sending one or more subscription response messages to the network open function network element, the one or more subscription response messages including at least one private address corresponding to the public address, and a port number corresponding to the at least one private address.

[0037] In a fifth aspect, the present application provides a communication method including: The method may be executed by a user plane function network element, or by a component (such as a chip or circuit) of the user plane function network element, and the present application does not limit this.

[0038] The communication method includes: receiving a fifth request message from a network open function network element, the fifth request message including a first private Internet interconnection protocol address of a terminal device, a public address and a port number of the terminal device, the fifth request message being used to request the user plane function network element to determine whether the first private address is valid; determining whether the first private address is valid according to a correspondence relationship among a locally stored private address, a public address and a port number; and sending a fifth response message to the network open function network element, the fifth response message being used to indicate whether the first private address is valid.

[0039] In combination with the fifth aspect, in certain implementations of the fifth aspect, determining whether the first private address is valid based on the correspondence between the locally stored private address, public address and port number includes: determining the public address and port number corresponding to the first private address based on the correspondence and the first private address; if the public address and port number corresponding to the first private address are the same as the public address and port number, the fifth response message is used to indicate that the first private address is valid; otherwise, the fifth response message is used to indicate that the first private address is invalid.

[0040] In combination with the fifth aspect, in certain implementations of the fifth aspect, determining whether the first private address is valid based on the correspondence between the locally stored private address, public address, and port number includes: determining, based on the correspondence and the first private address, that the public address and port number corresponding to the first private address cannot be obtained, then the fifth response message is used to indicate that the first private address is invalid.

[0041] In combination with the fifth aspect, in certain implementations of the fifth aspect, determining whether the first private address is valid based on the correspondence between the locally stored private address, public address and port number includes: determining the private address corresponding to the public address and the port number based on the correspondence, the public address and the port number; if the private address corresponding to the public address and the port number is the same as the first private address and port number, the fifth response message is used to indicate that the first private address is valid; otherwise, the fifth response message is used to indicate that the first private address is invalid.

[0042] In a sixth aspect, a communication device is provided, which is used to implement the method shown in the first aspect. The device includes: a transceiver unit and a processing unit, wherein the transceiver unit is used to send and receive information, and the processing unit is used to perform internal processing actions.

[0043] In a seventh aspect, a communication device is provided, which is used to implement the method shown in the second aspect. The device includes: a transceiver unit and a processing unit, wherein the transceiver unit is used to send and receive information, and the processing unit is used to perform internal processing actions.

[0044] In an eighth aspect, a communication device is provided, which is used to implement the methods shown in the third to fifth aspects above. The device includes: a transceiver unit and a processing unit, wherein the transceiver unit is used to send and receive information, and the processing unit is used to perform internal processing actions.

[0045] In a ninth aspect, the present application provides a communication method including: The method may be executed by an edge application server, or by a component (such as a chip or circuit) of the edge application server, and the present application does not limit this.

[0046] The communication method includes: receiving second indication information from an edge enabling server, the second indication information being used to indicate whether an edge enabling client in a terminal device and / or the terminal device are authenticated; in a case where the edge enabling client and / or the terminal device are not authenticated, sending a sixth request message to the edge enabling server, the sixth request message being used to obtain an identifier of the terminal device, the sixth request message including a public address and a port number of the terminal device.

[0047] Based on the above scheme, before the edge application server obtains the identifier of the terminal device from the edge enabling server, it can determine whether the edge enabling client and / or the terminal device have been authenticated according to the second indication information received from the edge enabling server. If the edge enabling client and / or the terminal device have not been authenticated, the edge application server can carry the public address and port number of the terminal device in the request message for obtaining the identifier of the terminal device, so that the edge enabling server can obtain the identifier of the terminal device based on the public address and port number of the terminal device, thereby avoiding the failure to obtain the identifier of the terminal device based on the private address of the terminal device when the edge enabling client and / or the terminal device are not authenticated, or avoiding obtaining the identifier of the wrong terminal device.

[0048] In combination with the ninth aspect, in certain implementations of the ninth aspect, before receiving the second indication information from the edge enabling server, the method also includes: sending a seventh request message to the edge enabling server, the seventh request message being used to obtain an identifier of the terminal device, the seventh request message including the public address of the terminal device; the receiving the second indication information from the edge enabling server includes: receiving a seventh response message from the edge enabling server, the seventh response message being used to indicate that the identifier of the terminal device has failed to be obtained, and the seventh response message including the second indication information.

[0049] In combination with the ninth aspect, in certain implementations of the ninth aspect, the seventh request message includes third indication information, and the third indication information is used to indicate that the edge application server has the ability to obtain the identifier of the terminal device through the edge enabling client.

[0050] In a tenth aspect, the present application provides a communication method including: The method may be executed by an edge enabling server, or by a component (such as a chip or circuit) of the edge enabling server, and the present application does not limit this.

[0051] The communication method includes: sending second indication information to an edge application server, wherein the second indication information is used to indicate whether an edge-enabled client in a terminal device and / or the terminal device is authenticated; when the edge-enabled client and / or the terminal device is not authenticated, receiving a sixth request message from the edge application server, wherein the sixth request message is used to obtain an identifier of the terminal device, and the sixth request message includes a public address and a port number of the terminal device.

[0052] In combination with the tenth aspect, in certain implementations of the tenth aspect, before sending the second indication information to the edge application server, the method also includes: receiving a seventh request message from the edge application server, the seventh request message being used to obtain an identifier of the terminal device, the seventh request message including a public address of the terminal device; sending the second indication information to the edge application server includes: sending a seventh response message to the edge application server, the seventh response message being used to indicate that the identifier of the terminal device has failed to be obtained, and the seventh response message including the second indication information.

[0053] In combination with the tenth aspect, in certain implementations of the tenth aspect, the seventh request message includes third indication information, and the third indication information is used to indicate that the edge application server has the ability to obtain the identifier of the terminal device through the edge enabling client.

[0054] In combination with the tenth aspect, in certain implementations of the tenth aspect, before determining whether the edge enabling client in the terminal device and / or the terminal device is authenticated, the method also includes: determining that the edge application server has the ability to obtain the identifier of the terminal device through the edge enabling client.

[0055] In an eleventh aspect, a communication device is provided, which is used to implement the method shown in the ninth aspect. The device includes: a transceiver unit and a processing unit, wherein the transceiver unit is used to send and receive information, and the processing unit is used to perform internal processing actions.

[0056] In a twelfth aspect, a communication device is provided, which is used to implement the method shown in the tenth aspect. The device includes: a transceiver unit and a processing unit, wherein the transceiver unit is used to send and receive information, and the processing unit is used to perform internal processing actions.

[0057] In a thirteenth aspect, the present application provides a communication method including: The method may be executed by an edge enabling server, or by a component (such as a chip or a circuit) of the edge enabling server, and the present application does not limit this.

[0058] The communication method includes: receiving a first request message from a terminal device, the first request message being used to obtain an identifier of the terminal device, the first request message including a first private address of the terminal device; determining whether an edge-enabled client of the terminal device and / or the terminal device is authenticated; and if the edge-enabled client and / or the terminal device are not authenticated, obtaining a public address and a port number of the terminal device, and obtaining an identifier of the terminal device based on the public address and the port number.

[0059] Based on the above scheme, after receiving the first request message from the terminal device to obtain the identifier of the terminal device, the edge enabling server can determine whether the edge enabling client of the terminal device and / or the terminal device are authenticated. If it is not authenticated, the edge enabling server can obtain the public address and port number of the terminal device, and obtain the identifier of the terminal device based on the public address and port number, thereby avoiding obtaining the identifier of the terminal device based on the first private address of the terminal device when it is not authenticated, thereby improving security.

[0060] In combination with the thirteenth aspect, in some implementations of the thirteenth aspect, the method further includes: sending a first response message to the terminal device, the first response message including an identifier of the terminal device.

[0061] In a fourteenth aspect, a communication device is provided, which is used to implement the method shown in the above thirteenth aspect. The device includes: a transceiver unit and a processing unit, wherein the transceiver unit is used to send and receive information, and the processing unit is used to perform internal processing actions.

[0062] In the fifteenth aspect, a communication system is provided, including an edge enabling server, a network open function network element and a user plane function network element, wherein the edge enabling server is used to execute the method shown in the first aspect above, the network open function network element executes the method shown in the second aspect above, and the user plane function network element executes the method shown in the third aspect above.

[0063] In a sixteenth aspect, a communication system is provided, comprising an edge application server and an edge enabling server, wherein the edge application server is used to execute the method shown in the above ninth aspect, and the edge enabling server is used to execute the method shown in the above tenth aspect.

[0064] In the seventeenth aspect, a communication device is provided, which includes: a memory for storing programs; a processor for executing the programs stored in the memory, and when the programs stored in the memory are executed, the processor is used to execute the methods provided in the above aspects.

[0065] In an eighteenth aspect, the present application provides a processor for executing the methods provided in the above aspects. In the process of executing these methods, the process of sending the above information and obtaining / receiving the above information in the above methods can be understood as the process of the processor outputting the above information and the process of the processor receiving the input above information. When outputting the above information, the processor outputs the above information to the transceiver so that it can be transmitted by the transceiver. After being output by the processor, the above information may also need to be processed otherwise before reaching the transceiver. Similarly, when the processor receives the input information, the transceiver obtains / receives the above information and inputs it into the processor. Furthermore, after the transceiver receives the above information, the above information may need to be processed otherwise before being input into the processor.

[0066] Based on the above principle, for example, the receiving request message mentioned in the above method can be understood as the processor receiving input information.

[0067] For the operations such as transmission, sending and acquisition / reception involved in the processor, unless otherwise specified, or unless they conflict with their actual functions or internal logic in the relevant descriptions, they can be more generally understood as processor output, reception, input and other operations, rather than transmission, sending and receiving operations performed directly by the RF circuit and antenna.

[0068] In the implementation process, the processor may be a processor specifically used to execute these methods, or a processor that executes computer instructions in a memory to execute these methods, such as a general-purpose processor. The memory may be a non-transitory memory, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or may be separately arranged on different chips. The embodiment of the present application does not limit the type of memory and the arrangement of the memory and the processor.

[0069] In a nineteenth aspect, a computer-readable storage medium is provided, which stores a program code for execution by a device, wherein the program code includes a method for executing the methods provided in the above aspects.

[0070] In the twentieth aspect, a computer program product comprising instructions is provided. When the computer program product is run on a computer, the computer is used to execute the methods provided in the above aspects.

[0071] In the twenty-first aspect, a chip is provided, which includes a processor and a communication interface, and the processor reads instructions stored in a memory through the communication interface to execute the methods provided in the above aspects.

[0072] Optionally, as an implementation manner, the chip may further include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the methods provided by the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 It is a schematic diagram of the architecture of the communication system 100 applied in the embodiment of the present application.

[0074] Figure 2 It is a schematic diagram of the architecture of the communication system 200 applied in the embodiment of the present application.

[0075] Figure 3 It is a schematic flow chart of EEC calling UE identifier API.

[0076] Figure 4 The present invention is a schematic flowchart of an EES obtaining a UE identifier.

[0077] Figure 5 This is a schematic flow chart of IP address verification provided by EEC provided by this application.

[0078] Figure 6 It is a schematic flow chart of a communication method provided by the present application.

[0079] Figure 7 (a) is a schematic diagram of UPF performing NAT provided by this application.

[0080] Figure 7 (b) is a schematic flow chart of another communication method provided by the present application.

[0081] Figure 8 It is a schematic flow chart of another communication method provided by the present application.

[0082] Fig. 9 It is a schematic block diagram of a communication device 10 provided in an embodiment of the present application.

[0083] Fig.10 It is a schematic diagram of another communication device 20 provided in an embodiment of the present application.

[0084] Fig.11 It is a schematic diagram of a chip system 30 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0085] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0086] The technical solution of the embodiment of the present application can be applied to various communication systems, for example: thThe present invention relates to a fifth generation (5G) mobile communication system, a new radio access technology (NR) system, a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a universal mobile telecommunication system (UMTS), or a worldwide interoperability for microwave access (WiMAX) communication system. Among them, the mobile communication system may include non-standalone (NSA) and / or standalone (SA). Alternatively, the technical solution provided in the present application may be applied to future communication systems, such as the sixth generation mobile communication system. The present application does not limit this.

[0087] The technical solution provided in the present application can also be applied to machine type communication (MTC), long term evolution technology for machine-to-machine communication (LTE-M), device-to-device (D2D) network, machine-to-machine (M2M) network, Internet of Things (IoT) network or other networks. Among them, IoT network can include vehicle networking, for example. Among them, the communication mode in the vehicle networking system is collectively referred to as vehicle to other devices (vehicle to X, V2X, X can represent anything), for example, the V2X can include: vehicle to vehicle (V2V) communication, vehicle to infrastructure (V2I) communication, vehicle to pedestrian communication (V2P) or vehicle to network (V2N) communication, etc.

[0088] The technical solution of this application can be applied to various communication scenarios, such as service continuity scenarios, mobile edge computing (MEC) scenarios, etc., and this application is not limited. Among them, MEC can use the wireless access network to provide the services and cloud computing functions required by telecom users nearby, and create a telecom-grade service environment with high performance, low latency and high bandwidth, accelerate the rapid download of various content, services and applications in the network, and allow consumers to enjoy an uninterrupted high-quality network experience.

[0089] Figure 1 FIG. 1 is a schematic diagram of the architecture of a communication system 100 used in an embodiment of the present application. Figure 1 As shown, the communication system includes a terminal 110, a core network 120, an edge data network (EDN) 130 and an edge configuration server (ECS) 140. Among them, the terminal 110 can be deployed with one or more application clients (AC) 111 and one or more edge enablement clients (Edge Enabler Client, EEC) 112, and the EDN 130 can be deployed with one or more edge application servers (EAS) 131 and one or more edge enablement servers (EES) 132.

[0090] Among them, the EDGE-1 interface is the interface between EES132 and EEC112, the EDGE-2 interface is the interface between EES132 and the core network 120, the EDGE-3 interface is the interface between EAS131 and EES132, the EDGE-4 interface is the interface between EEC112 and ECS140, the EDGE-5 interface is the interface between AC111 and EEC112, the EDGE-6 interface is the interface between EES132 and ECS140, the EDGE-7 interface is the interface between EAS131 and the core network 120, the EDGE-8 interface is the interface between ECS140 and the core network 120, and the EDGE-9 interface is the interface between EES132. Figure 1 This is just a schematic diagram. The communication system may also include other network devices. Figure 1 Not drawn in.

[0091] The application user signs a service agreement with the application provider to provide services to the application user. The application user can log in to AC111 on the terminal 110 and communicate with EAS131 through AC111. EEC112 is a middleware layer, which is generally located in the operating system, or between AC111 and the operating system. AC111 can obtain edge enabling services from EEC112 in the form of an application programming interface (API).

[0092] Figure 1 The architecture shown can be used for terminal devices in the 3rd Generation Partnership Project (3GPP) network to discover edge applications deployed at the near end. The functional entities in the architecture are briefly described as follows:

[0093] 1. EDN: It is a local data network that includes EES and EAS.

[0094] One understanding is that EDN corresponds to only one data network, which is a special local data network that includes edge enabling functions. It can be identified by the data network access identifier (DNAI) and the data network name (DNN), and is a network logical concept.

[0095] Another way to understand it is that EDN is the equivalent concept of the central cloud, which can be understood as a local data center (geographical location concept), which can be identified by DNAI and can contain one or more local data networks.

[0096] 2. EAS: An application deployed in an EDN can be called an EAS. Specifically, EAS can refer to an instance of a server application (e.g., social media software, augmented reality (AR), virtual reality (VR)) deployed and running in an EDN.

[0097] One application can deploy one or more EAS in one or more EDNs. EAS deployed and running in different EDNs can be considered as different EAS of one application, which can share a domain name, use a single IP address, or use different IP addresses.

[0098] EAS can also be called edge application, edge application server, application instance, edge application instance, MEC application, MEC application server, EAS function, etc., which is not limited in this application. For the convenience of description, it is uniformly referred to as edge application server below.

[0099] 3. AC: It is the peer entity of the application server on the terminal side, used by the application user to obtain application services from the application server. AC can be a client program applied on the terminal side, which can connect to the application server on the cloud to obtain application services, or it can connect to the EAS deployed and running in one or more EDNs to obtain application services. AC can also be called an application client, which is not limited in this application.

[0100] 4. EES: Provides the necessary functions for ECS and EAS, such as providing configuration information to EEC, enabling UE to exchange application data with EAS, supporting the transmission of application context, etc. EES can interact directly or indirectly with the 3GPP network. EAS can initiate a registration process to EES and register EAS information to EES, or EAS information can be registered to EES through the management system, and EES manages the EAS registered on the EES.

[0101] It can also provide some enabling capabilities for EAS deployed in EDN. EES can support the registration of edge application servers, authentication and authorization of terminals, and provide IP address information of edge application servers to terminals. EES can also support obtaining the identification and IP address information of edge application servers, and support further sending the obtained identification and IP address information to ECS. EES is deployed in EDN.

[0102] Generally, an EAS is registered on an EES, or the information of an EAS is configured on an EES through a management system. The EES is called the EES associated with the EAS, or the EAS is called the EAS associated with the EES. The EES controls or manages the EAS registered or configured on the EES.

[0103] The EAS associated with EES may also be replaced with the EAS corresponding to the EES, and the EES associated with EAS may also be replaced with the EES corresponding to the EAS, which is not limited in this application.

[0104] 5. EEC: used to discover available EAS in the EDN network. It is the peer entity of EES on the terminal side. EEC can be used to register EEC information and AC information with EES, perform security authentication and authorization, obtain EAS IP address from EES, provide edge computing enabling capabilities to AC, etc. For example, EEC can return EAS IP address to AC through EAS discovery service.

[0105] 6. ECS: used to provide EES information to EEC, which can be deployed by operators or third parties. Application users communicate through the connection between the application client and EAS. The edge enabling client is a middleware layer, which is generally located in the operating system, or between the application client and the operating system. AC can obtain edge enabling services from EEC in the form of API. ECS is mainly responsible for the configuration of EDN. For example, ECS can provide EES information to the terminal. For another example, ECS can also interact with the application's DNS to obtain EAS information, and provide EAS information directly to the terminal. ECS can also obtain and save EAS and IP address information from other functional entities.

[0106] 7. Terminal: It can also be called terminal equipment, user equipment (UE), mobile station, mobile terminal, etc. Terminals can be widely used in various scenarios, such as device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. The terminal can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a robotic arm, a smart home device, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal.

[0107] Figure 1 The core network 120 shown in the figure can be a system architecture of a 5G core network (5G core, 5GC). Figure 2 Briefly introduce the system architecture of 5GC.

[0108] Figure 2 This is a schematic diagram of the network architecture 200 provided by the present application, taking the 5G network architecture based on the service-oriented architecture in the non-roaming scenario defined in the 3GPP standardization process as an example. As shown in the figure, the network architecture may include three parts, namely, the terminal equipment part, the DN and the operator network public land mobile network (PLMN) part. The functions of the network elements of each part are briefly described below.

[0109] The terminal device part may include a terminal device 210, which is referred to as Figure 1 The description of the terminal 110 is not repeated here.

[0110] The operator network PLMN part may include but is not limited to the (radio) access network ((R)AN) 220 and the core network (CN) part.

[0111] (R)AN 220 can be regarded as a sub-network of the operator network, and is an implementation system between a service node (e.g., a network element providing services) in the operator network and the terminal device 210. To access the operator network, the terminal device 210 first passes through (R)AN 220, and then can be connected to the service node of the operator network through (R)AN 220. The access network device (RAN device) in the embodiment of the present application is a device that provides wireless communication functions for the terminal device 210, and can also be called a network device. The RAN device includes but is not limited to: the next generation node basestation (gNB) in the 5G system, the evolved node B (eNB) in the long term evolution (LTE), the radio network controller (RNC), the node B (NB), the base station controller (BSC), the base transceiver station (BTS), the home base station (for example, home evolved nodeB, or home node B, HNB), the base band unit (BBU), the transmission point (TRP), the transmitting point (TP), the small base station device (pico), the mobile switching center, or the network device in the future network. In the system using different wireless access technologies, the name of the device with the access network device function may be different. For the convenience of description, in all the embodiments of the present application, the above-mentioned device that provides wireless communication functions for the terminal device 210 is collectively referred to as the access network device or RAN or AN for short. It should be understood that this document does not limit the specific type of access network equipment.

[0112] The CN part may include but is not limited to the following NFs: user plane function (UPF) 230, network exposure function (NEF) 231, network function repository function (NRF) 232, policy control function (PCF) 233, unified data management function (UDM) 234, unified data repository function (UDR) 235, binding support function (BSF) 236, authentication server function (AUSF) 237, access and mobility management function (AMF) 238, session management function (SMF) 239.

[0113] The data network DN 240, which may also be referred to as a packet data network (PDN), is usually a network located outside the operator network, such as a third-party network. Of course, in some implementations, the DN may also be deployed by the operator. This application does not restrict whether the DN is deployed by the operator. The operator network PLMN may access multiple data network DNs 240, and multiple services may be deployed on the data network DN 240, which may provide services such as data and / or voice to the terminal device 210. For example, the data network DN 240 may be a private network of a smart factory, and the sensors installed in the workshop of the smart factory may be the terminal devices 210. The control server of the sensors is deployed in the data network DN 240, and the control server may provide services for the sensors. The sensors may communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, the data network DN 240 may be an internal office network of a company, and the mobile phones or computers of the company's employees may be terminal devices 210, and the employees' mobile phones or computers may access information, data resources, etc. on the company's internal office network. The terminal device 210 can establish a connection with the operator network through an interface (such as N1, etc.) provided by the operator network, and use data and / or voice services provided by the operator network. The terminal device 210 can also access the data network DN 240 through the operator network, and use the operator services deployed on the data network DN 240, and / or services provided by a third party.

[0114] The following is a brief description of the NF functions included in CN.

[0115] 1. UPF: It is a gateway provided by the operator and is the gateway for the operator network to communicate with the data network DN 240. UPF includes functions related to the user plane, such as packet routing and transmission, packet detection, service usage reporting, quality of service (QoS) processing, legal monitoring, uplink packet detection, and downlink packet storage.

[0116] 2. NEF: It is a control plane function provided by the operator, which mainly enables third parties to use the services provided by the network, supports the network to open its capabilities, event and data analysis, converts the security configuration information from external applications to PLMN, and the interactive information inside and outside the PLMN, provides the operator network with an open API interface, and provides it for the interaction between external servers and internal operator networks.

[0117] 3. NRF: It is a control plane function provided by the operator, which can be used to maintain real-time information of network functions and services in the network. For example, it supports network service discovery, maintains the services supported by the NF profile of the NF instance, supports service discovery of the service communication proxy (SCP), maintains the SCP profile of the SCP instance, sends notifications about newly registered, unregistered, and updated NFs and SCPs, and maintains the health status of NF and SCP operations.

[0118] 4. PCF: It is a control plane function provided by the operator. It supports a unified policy framework to govern network behavior, provide policy rules to other control functions, and contract information related to policy decisions.

[0119] 5. UDM: It is a control plane function provided by the operator, responsible for storing the subscriber permanent identifier (SUPI) of the subscriber in the operator network, the generic public subscription identifier (GPSI) of the subscriber, the credential and other information. Among them, SUPI will be encrypted first during the transmission process, and the encrypted SUPI is called the hidden user subscription identifier (SUCI). The information stored in UDM can be used for the authentication and authorization of the terminal device to access the operator network. Among them, the subscribers of the above-mentioned operator network can specifically be users who use the services provided by the operator network, such as users who use China Telecom's subscriber identity module (SIM) card, or users who use China Mobile's SIM card. The credential of the above-mentioned subscriber can be a small file stored in the long-term key stored in the SIM card or information related to SIM card encryption, which is used for authentication and / or authorization. It should be noted that the permanent identifier, credential, security context, authentication data (cookie), and token are equivalent to verification / authentication and authorization related information. In the embodiment of the present application, no distinction or restriction is made for the convenience of description.

[0120] 6. UDR: It is a control plane function provided by the operator. It provides the functions of storing and retrieving subscription data for UDM, storing and retrieving policy data for PCF, and storing and retrieving user's NF group ID information.

[0121] 7. BSF: Mainly used to store the internal information corresponding to the selected PCF. Specifically, for a protocol data unit (PDU) session, the internal information stored by BSF includes user identification (such as SUPI), DNN, UE address (IP address or MAC address), etc. For a UE, the internal information stored by BSF includes user identification, selected PCF address, etc. In this application, BSF is mainly responsible for session information binding. Therefore, in this application, BSF can also be understood as a network element with session information binding function. The network element with session information binding function is called BSF only as an example. There may be other network element names in the future, and this application does not limit this.

[0122] 8. AUSF: It is a control plane function provided by the operator, usually used for primary authentication, that is, authentication between the terminal device 110 (subscriber) and the operator network. After receiving the authentication request initiated by the subscriber, AUSF can authenticate and / or authorize the subscriber through the authentication information and / or authorization information stored in the UDM, or generate the authentication and / or authorization information of the subscriber through the UDM. AUSF can feedback the authentication information and / or authorization information to the subscriber.

[0123] 9. AMF: It is a control plane network function provided by the operator network, responsible for the access control and mobility management of terminal devices accessing the operator network, such as mobile state management, allocation of user temporary identity, authentication and authorization of users, etc.

[0124] AMF is used to establish NAS connection with UE and has the same 5G NAS security context as UE. 5G NAS security context includes K AMF , NAS level key and its same key identification information, UE security capabilities, and uplink and downlink NAS COUNT values. NAS level keys include NAS encryption keys and NAS integrity protection keys, which are used for confidentiality protection and integrity protection of NAS messages respectively.

[0125] 10. SMF: It is a control plane network function provided by the operator network, responsible for managing the PDU session of the terminal device. The PDU session is a channel for transmitting PDU. The terminal device needs to transmit PDU to each other with the data network DN through the PDU session. The PDU session is established, maintained and deleted by the SMF. SMF includes session management (such as session establishment, modification and release, including tunnel maintenance between the user plane function UPF 130 and (R)AN 120), UPF selection and control, service and session continuity (SSC) mode selection, roaming and other session-related functions.

[0126] 11. AF: It is a control plane network function provided by the operator network, which is used to provide application layer information. It can interact with the policy framework through network open function elements or directly interact with the policy framework to make policy decision requests, etc. It can be located inside or outside the operator network.

[0127] It is understandable that the above network elements or functions can be physical entities in hardware devices, software instances running on dedicated hardware, or virtualized functions instantiated on a shared platform (e.g., a cloud platform). In short, an NF can be implemented by hardware or software.

[0128] Figure 2 Among them, Nnef, Nnrf, Npcf, Nudm, Nudr, Nnwdaf, Nausf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers. For example, the meaning of the above interface serial numbers can refer to the meaning defined in the 3GPP standard protocol, and this application does not limit the meaning of the above interface serial numbers. It should be noted that the interface name between the various network functions in the figure is only an example. In the specific implementation, the interface name of the system architecture may also be other names, which is not limited by this application. In addition, the name of the message (or signaling) transmitted between the above-mentioned network elements is also only an example, and does not constitute any limitation on the function of the message itself.

[0129] For the convenience of explanation, in the embodiments of the present application, network functions (such as NEF...SMF, etc.) are collectively referred to as NFs, that is, the NFs described later in the embodiments of the present application can be replaced by any network function. In addition, Figure 2 Only some network functions are schematically described. The NF described below is not limited to Figure 2 The network functions shown in .

[0130] It should be understood that the above-mentioned network architecture applied to the embodiment of the present application is only a network architecture described from the perspective of a service-oriented architecture, and the network architecture applicable to the embodiment of the present application is not limited to this. Any network architecture that can realize the functions of the above-mentioned network elements is applicable to the embodiment of the present application.

[0131] It should also be understood that the AMF, SMF, UPF, NEF, AUSF, NRF, PCF, and UDM shown in the figure can be understood as network elements used to implement different functions in the core network, for example, they can be combined into network slices as needed. These core network network elements can be independent devices or integrated into the same device to implement different functions. This application does not limit the specific form of the above network elements.

[0132] It should also be understood that the above naming is only defined for the convenience of distinguishing different functions and should not constitute any limitation to this application. This application does not exclude the possibility of using other naming in 5G networks and other future networks. For example, in a 6G network, some or all of the above network elements may use the terminology in 5G, or may use other names.

[0133] To facilitate understanding of the embodiments of the present application, some basic concepts involved in the present application are briefly described.

[0134] 1. Local Data Network (local DN): It can be an access point of a data network very close to the user's attachment point.

[0135] 2. Application context: It can refer to the running status information related to one or a group of users, such as game progress, historical data of ML, etc. Optionally, the application context can also include the subscription context of the one or more users in EAS and the core network, such as the transaction identifier of the subscription, etc. Optionally, the application context can also include the context of the one or more users on EES, such as the transaction identifier of the subscription of the one or more users by EAS.

[0136] 3. UE Identifier API: In order to obtain an identifier that uniquely identifies a UE (or UE ID), EES opens the UE Identifier API to EAS and EEC. The UE Identifier API is used by EAS or EEC to obtain the UE's identity from EES.

[0137] The EEC calling UE identification API can be used in the following scenarios:

[0138] When EAS directly calls the UE identifier API to EES and fails to obtain the UE ID due to the use of Network Address Translation (NAT), EAS can choose to send signaling to AC to enable AC to initiate a UE ID query to EEC. Further, EEC uses the IP address allocated by the core network (such as IPv4 and / or IPv6) to call the UE identifier API of EES to obtain the UE identifier, and sends the obtained UE identifier to EAS through AC.

[0139] For ease of understanding, the following Figure 3 Briefly introduce the process of EEC calling UE identifier API. Figure 3 It is a schematic flow chart of the EEC calling the UE identifier API, including the following steps:

[0140] S310, EEC sends a UE identifier API request to EES.

[0141] The UE identifier API request includes the UE private IP address, which is the IP address provided by the core network to the UE (it can be an IPv4 address or an IPv6 address).

[0142] S320, the EES obtains a UE identifier.

[0143] Specifically, EES obtains the UE identifier from the core network according to the UE private IP address in the UE identifier API request. Figure 4 How the EES obtains the UE identifier (Identifier, ID) is described in detail and will not be repeated here.

[0144] S330, EES sends a UE identifier API response to EEC.

[0145] The UE identifier API response includes a UE identifier, which is the UE identifier obtained in the above step S320.

[0146] Figure 4 The schematic flowchart of an EES obtaining a UE identifier includes the following steps:

[0147] S410, AF sends a request message #A to NEF.

[0148] Request message #A is used to request UE ID. For example, AF requests UE ID through Nnef_UEId_Get service operation.

[0149] Among them, the request message #A should include the UE address (such as IP address or MAC address) and AF identifier, and may also include the port number associated with the IP address, application port ID, IP domain, etc.

[0150] Optionally, AF can also provide the corresponding data network name (Data Network Name, DNN) and / or single network slice selection assistance information (S-NSSAI).

[0151] S420, NEF authorizes the AF request.

[0152] If NEF does not authorize the AF request, NEF replies a result value to AF, indicating that the authorization failed; otherwise, NEF continues to perform the following steps.

[0153] Optionally, the NEF determines the corresponding DNN and / or S-NSSAI information: the DNN and / or S-NSSAI may be provided by the AF, or may be determined by the NEF based on the AF identifier in the request message #A.

[0154] If the NEF receives the port number in step S410, then according to the configuration, the NEF can identify whether the received address is a different IP address from the actual private UE IP address assigned by the 5GC. If they are different IP addresses, the NEF executes steps S430 to S460. Otherwise, steps S430 to S460 are skipped.

[0155] S430, NEF sends a request message #B to NRF.

[0156] Request message #B is used to obtain the address of the UPF that implements the NAT function for the UE (public) IP address. For example, the NEF uses the Nnrf_NFDiscovery service operation to obtain the address of the UPF that implements the NAT function.

[0157] The request message #B includes the UE (public network) IP address, and may also include the DNN and S-NSSAI associated with the AF ID, as well as the IP domain, etc.

[0158] S440, NRF sends a response message #B to NEF.

[0159] The response message #B responds to the request message #B, and the response message #B includes the address of the UPF that implements the NAT function for the UE (public) IP address. For example, the NRF sends a Nnrf_NFDiscovery response message to the NEF.

[0160] S450, NEF sends a request message #C to UPF.

[0161] Request message #C is used to obtain the UE (private) IP address. For example, NEF sends the Nupf_GetPrivateUEIP_Get service operation to UPF.

[0162] The request message #C includes the UE (public) IP address and port number, and optionally the IP domain associated with the AF ID, DNN and S-NSSAI.

[0163] S460, UPF sends a response message #C to NEF.

[0164] The response message #C responds to the request message #C, and the response message #C includes the UE's IP address and an optional IP domain. For example, the UPF sends a response Nupf_GetPrivateUEIP_Get response message to the NEF.

[0165] If the UPF applies the NAT function, the UE IP address returned by the UPF is the UE's private IP address.

[0166] S470, NEF sends a request message #D to BSF.

[0167] The request message #D contains the UE address and IP domain and / or DNN and / or S-NSSAI to retrieve the UE's session binding information. For example, the NEF sends the Nbsf_Management_Discovery service operation to the BSF.

[0168] S480, BSF sends a response message #D to NEF.

[0169] The response message #D responds to the request message #D. If the response message #D does not carry the SUPI, the NEF replies a Result value to the AF, indicating that the UE ID is unavailable.

[0170] S490, NEF sends a request message #E to UDM.

[0171] The NEF interacts with the UDM, for example, to retrieve the AF-specific UE identifier via the Nudm_SDM_Get service operation. The request message #E includes at least one of the SUPI, the Application Port ID or the AF identifier.

[0172] S491, UDM sends a response message #E to NEF.

[0173] The UDM responds to the NEF with an AF-specific UE identifier, which is represented as an external identifier of the UE that is uniquely associated with the application port ID, MTC provider information and / or AF identifier.

[0174] S492, NEF sends a response message #A to AF.

[0175] The NEF responds to the AF with the information received from the UDM, including the external identifier.

[0176] In addition, in order to facilitate understanding of the embodiments of the present application, the following points are explained.

[0177] First, in this application, "used for indication" may include being used for direct indication and being used for indirect indication. When describing that a certain indication information is used for indicating A, it may include that the indication information directly indicates A or indirectly indicates A, but it does not mean that A must be included in the indication information.

[0178] The information indicated by the indication information is called the information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated. The information to be indicated can be sent as a whole, or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in this application. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to the protocol, or can be configured by the transmitting end device by sending configuration information to the receiving end device.

[0179] Second, "at least one" shown in the present application refers to one or more, and "multiple" refers to two or more. In addition, in the embodiments of the present application, "first", "second" and various digital numbers (for example, "#1", "#2", etc.) are only for the convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of each process below does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. It should be understood that the objects described in this way can be interchanged in appropriate circumstances, so that the schemes other than the embodiments of the present application can be described. In addition, in the embodiments of the present application, the words "510", "520" and the like are only for the convenience of description, and are not to limit the order of execution steps.

[0180] Third, in this application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific way.

[0181] Fourth, the "storage" involved in the embodiments of the present application may refer to storage in one or more memories. The one or more memories may be separately set or integrated in an encoder or decoder, a processor, or a communication device. The one or more memories may also be partially separately set and partially integrated in a decoder, a processor, or a communication device. The type of memory may be any form of storage medium, which is not limited by the present application.

[0182] Fifth, the “protocol” involved in the embodiments of the present application may refer to a standard protocol in the communication field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, which is not limited in the present application.

[0183] Sixth, in the embodiments of the present application, "under the circumstances", "when", and "if" can sometimes be used interchangeably. It should be pointed out that when the distinction between them is not emphasized, the meanings they intend to express are the same.

[0184] Seventh, in the embodiments of the present application, various terms and English abbreviations, such as radio resource control (RRC), etc., are illustrative examples given for the convenience of description and should not constitute any limitation to the present application. The present application does not exclude the possibility of defining other terms that can achieve the same or similar functions in existing or future protocols.

[0185] Eighth, the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0186] Combination of the above Figure 1 Briefly introduces the scenarios in which the communication method provided in the embodiments of the present application can be applied, and introduces the basic concepts that may be involved in the embodiments of the present application, and combines the basic concepts with the Figure 3 and Figure 4 The process of EEC calling UE identifier API is introduced. The current protocol stipulates: Regarding the process of EEC calling UE identifier API, it is proposed that if the private IP address provided by EEC is not verified or EEC is not authorized to use the provided private IP address, malicious EEC can use IP address spoofing attack to obtain the identity of other UE. In order to prevent malicious EEC from using IP address spoofing attack to obtain the identity of other UE, one solution is that EEC provides IP address verification. Figure 5 Briefly describe the solution.

[0187] Figure 5 This is a schematic flow chart of an EEC providing IP address verification provided by this application, including the following steps:

[0188] S510, PDU session establishment.

[0189] In this embodiment, during the PDU session establishment, the SMF or UPF generates a random ticket value during the UE IP address allocation process, sends the ticket value to the PCF, and then stores it in the BSF as part of the PDU session binding information. In addition to the private network IP address, the ticket value is also sent to the UE.

[0190] S520, UE sends message #1 to EES.

[0191] The message #1 includes the above-mentioned ticket value and private IP address.

[0192] S530, EES calls the UE identifier.

[0193] Specifically, EES calls the Nnef_UEId GET service operation with the ticket value and the private network IP address. NEF sends the received ticket value to BSF in the Nbsf_Management_Discovery service operation, and BSF verifies it by checking the mapping relationship between the ticket value and the IP address. If the verification is successful, NEF provides EES with the AF-specific GPSI.

[0194] but Figure 5 The solution shown requires modification of the existing PDU session establishment process, affecting UE, SMF and BSF network elements.

[0195] The present application provides a communication method which can be applied in Figure 1 In the communication system shown, it is intended to achieve security protection for EEC to call UE identifier API without affecting the PDU session establishment process.

[0196] It should be understood that the embodiments shown below do not particularly limit the specific structure of the execution subject of the method provided in the embodiments of the present application, as long as it is possible to communicate according to the method provided in the embodiments of the present application by running a program that records the code of the method provided in the embodiments of the present application. For example, the execution subject of the method provided in the embodiments of the present application may be a network element, or a functional module in the network element that can call and execute the program.

[0197] Figure 6 This is a schematic flow chart of a communication method provided by the present application. It includes the following steps:

[0198] S601: Establish a connection between the edge application server and the application client.

[0199] Exemplarily, one possible way to establish a connection between the edge application server and the application client in this embodiment is: when the terminal user needs to obtain a service, the application client in the terminal device can be operated (e.g., click the application client) so that the application client sends a connection establishment request to the application server providing the service, thereby establishing a connection with the application server. If the application server providing the service obtained by the terminal device is an edge application server, the application client establishes a connection with the edge application server.

[0200] The edge application server can be Figure 1It should be understood that the name of the edge application server is not limited in this embodiment, and any device that can implement the functions of the edge application server in this embodiment can be considered as the edge application server involved in this embodiment. For ease of description, the edge application server is EAS as an example for explanation below.

[0201] Alternatively, the application client can be Figure 1 It should be understood that the name of the application client is not limited in this embodiment, and any device that can implement the functions of the application client in this embodiment can be considered as the application client involved in this embodiment. For ease of description, the following description takes the application client as an example.

[0202] S602: A connection is established between the edge-enabled client and the edge-enabled server.

[0203] Exemplarily, a possible way to establish a connection between the edge usage client and the edge enabling server in this embodiment is: when the application client in the terminal device in step 601 needs to discover the application server providing the service, the application client sends a message to the edge enabling client, so that the edge enabling client interacts with the edge configuration function to obtain the information of the edge enabling server, and further establishes a connection between the edge enabling client and the edge enabling server. Exemplarily, the connection can be a connection based on transport layer security, wherein the establishment of the secure connection can be established based on a one-way authentication of a certificate of the edge enabling server, or based on a Generic Bootstrapping Architecture (GBA), or based on Authentication and Key Management for Applications (AKMA).

[0204] The edge-enabled client can be Figure 1 It should be understood that the name of the edge enabling client is not limited in this embodiment, and any device that can implement the functions of the edge enabling client in this embodiment can be considered as the edge enabling client involved in this embodiment. For ease of description, the following description takes the edge enabling client as an example of EEC.

[0205] The edge enabling server can be Figure 1 It should be understood that the name of the edge enabling server is not limited in this embodiment, and any device that can implement the functions of the edge enabling server in this embodiment can be considered as the edge enabling server involved in this embodiment. For ease of description, the edge enabling server is EES as an example for explanation below.

[0206] S610, the EAS sends a request message #1 to the AC, or in other words, the AC receives the request message #1 from the EAS.

[0207] Specifically, in this embodiment, when EAS determines to obtain the UE identifier through EEC, EAS sends a request message #1 to AC, and the request message #1 is used to obtain the UE identifier. For example, when EAS directly calls the UE identifier API to EES, and EAS fails to obtain the UE ID due to the use of NAT, EAS can choose to send signaling to AC so that AC initiates a UE ID query to EEC, and further EEC calls the UE identifier API of EES to obtain the UE identifier, and sends the obtained UE identifier to EAS through AC.

[0208] It should be noted that this embodiment does not limit the reason for EAS to initiate a UE identifier acquisition request to AC. The above-mentioned failure of EAS to directly call the UE identifier API to EES to obtain the UE ID is only an example and does not constitute any limitation on the scope of protection of this application. EAS can also initiate a UE identifier acquisition request to AC in other scenarios. For example, EAS is configured to obtain the UE identifier through AC, which will not be explained one by one here.

[0209] S620, AC sends request message #2 to EEC, or in other words, EEC receives request message #2 from AC.

[0210] Specifically, AC sends a request message #2 for obtaining UE ID to EEC according to request message #1 from EAS, and request message #2 includes the identifier (ID) of EAS. The definition of request message #2 can be found in the current protocol (e.g., section 8.14.2.6 of 3GPP TS 23.558) about the description of the request message sent by AC to EEC for obtaining UE ID, which will not be described in detail in this embodiment.

[0211] Further, after receiving the request message #2 for obtaining the UE ID sent by the AC, the EEC sends a first UE identifier API request message to the edge enabling server. Figure 6 The method shown also includes:

[0212] S630, the EEC sends a first request message to the EES, or the EES receives the first request message from the EEC, wherein the first request message is used to obtain an identifier of the terminal device.

[0213] Optionally, the first request message is a first UE identifier API request message. For the sake of ease of description, the following text takes the first request message as an example of a first UE identifier API request message. However, the specific form of the first request message is not limited in the embodiment of the present application. It can also be a message sent by other EECs to the edge enabling server that can be used to obtain the identifier of the terminal device.

[0214] In addition, it should be noted that the EEC is a terminal device, so the above-mentioned EEC sending the first request message to the EES can also be understood as the terminal device sending the first request message to the EES.

[0215] Specifically, the first UE identifier API request message includes the first private address and EAS ID of the terminal device. The first private address of the terminal device can be used to identify the terminal device in the 5GC network, including but not limited to the first private IP address of the terminal device. For ease of description, the first private address of the terminal device is taken as the first private IP address as an example for explanation below, but the specific form of the first private address is not limited in the embodiment of the present application, and it can also be other addresses that can identify the terminal device in the 5GC network (such as MAC address, etc.).

[0216] It should be noted that the first UE identifier API request message is sent to EES via UPF. If UPF performs NAT processing, the first private IP address of the received IP data packet containing the first UE identifier API request message will be replaced with the public IP address of the UE, and the port number will be set to the port number identifying the terminal device under the public IP address.

[0217] For ease of understanding, combined Figure 7 (a) briefly introduces how UPF performs NAT processing. Figure 7 As can be seen from (a) in the figure, UPF can receive data from different EECs or UEs (e.g. Figure 7The IP data packets containing UE identifier API request messages of UE / EEC 1 and UE / EEC2) shown in (a), wherein the private IP address of IP data packet #1 sent by UE / EEC 1 is private IP address #1, and the private IP address of IP data packet sent by UE / EEC 2 is private IP address #2. After UPF receives IP data packet #1 sent by UE / EEC 1, if NAT processing is performed, the private IP address #1 of IP data packet #1 is replaced by the public IP address #1 and port number #1 of UE1, and IP data packet #1' is obtained; after UPF receives IP data packet #2 sent by UE / EEC 2, if NAT processing is performed, the private IP address #2 of IP data packet #2 is replaced by the public IP address #2 and port number #2 of UE2, and IP data packet #2' is obtained. UPF then sends the IP data packet #1' and IP data packet #2' after NAT processing to EES, and IP data packet #1' and IP data packet #2' are received on the EES side, and the source IP address of IP data packet #1' is public IP address #1, and the source port number is port number #1, and the source IP address of IP data packet #2' is public IP address #2, and the source port number is port number #2.

[0218] Optionally, in this embodiment, after the EES receives the first UE identifier API request message, it can determine whether the EEC and / or UE is authenticated. Figure 6 The method flow shown may also include:

[0219] S640, the EES determines whether the EEC and / or the UE are authenticated.

[0220] Exemplarily, the EES may determine whether the EEC and / or the UE is authenticated in the following implementations:

[0221] As a possible implementation, in step 602, if a secure connection is established between the EEC and the EES using a two-way authentication mechanism (such as Generic Bootstrapping Architecture (GBA) or Authentication and Key Management for Applications (AKMA)), the EES determines that the terminal device is authenticated.

[0222] As another possible implementation, in step 602, if the EEC and the EES perform authentication based on the EES certificate, it indicates that the UE is not authenticated.

[0223] As another possible implementation, in step 602, if the EES authenticates the EEC based on the token, it indicates that the EEC is authenticated.

[0224] Optionally, the information required for the above-mentioned EES to determine whether the EEC and / or UE are authenticated (such as the method of establishing a secure connection between the EEC and the EES, the authentication method, etc.) can be stored locally in the EES, such as being stored locally in the EES as the context of the EEC and / or UE.

[0225] It should be understood that the above-mentioned implementation methods are merely examples of how EES determines whether EEC and / or UE are authenticated, and do not constitute any limitation on the scope of protection of this application. EES can also determine whether EEC and / or UE are authenticated in other possible ways, which are not illustrated one by one here.

[0226] It should also be understood that the above step S640 may not be performed in this embodiment, that is, in this embodiment, the EES may not determine whether the EEC and / or the UE are authenticated. S650, the EES obtains the public address and port number of the terminal device.

[0227] As a possible implementation method, EES can obtain the public address and port number of the UE according to the source address bit and source port number bit in the IP data packet header that receives the encapsulated first UE identifier API request message. Among them, the source address of the IP data packet is the public address of the UE, and the source port number of the IP data packet is the port number of the UE. The public address of the UE and the associated port number can be used to uniquely identify a terminal device under the UPF, including but not limited to the public IP address of the terminal device. For the sake of ease of description, the following description takes the public address of the terminal device as the public IP address as an example, but the specific form of the public address is not limited in the embodiment of the present application, and it can also be other addresses that can be associated with the port number to uniquely identify a terminal device under the UPF.

[0228] As another possible implementation manner, the EES requests the EAS to provide the public IP address and port number of the UE according to the EAS ID in the received first UE identifier API request message.

[0229] Exemplarily, the process of EES obtaining the public IP address and port number of the UE from EAS includes the following steps 1 to 3:

[0230] Step 1: EES sends an IP address acquisition message to EAS based on the EAS identifier in the UE identifier API request message;

[0231] Step 2: EAS obtains the public IP address and port number of the UE based on the IP data packet interacting with the UE (such as AC); or EAS obtains the public IP address and port number of the UE locally, where the locally stored public IP address and port number of the UE can be obtained and stored in the process of EAS interacting with the UE before step 1.

[0232] Step 3: EAS sends the public IP address and port number of the UE to EES. S660: EES sends a second request message to the network open function network element, or the network open function network element receives the second request message from EES.

[0233] The network open function element can be Figure 2 It should be understood that the name of the network open function network element is not limited in this embodiment, and any network element that can realize the functions of the network open function network element in this embodiment can be considered as the network open function network element involved in this embodiment. For the convenience of description, the following description takes the network open function network element as NEF as an example.

[0234] Specifically, the first request message includes the first private IP address of the terminal device, the public IP address and the port number of the terminal device.

[0235] Optionally, the second request message is a Nnrf_UEId_Get request.

[0236] Further, after receiving the above-mentioned second request message, NEF queries the network function storage library function network element for the address of the UPF that implements the NAT function, then Figure 6 The method flow shown also includes:

[0237] S670, the NEF sends a discovery request message to the network function repository functional network element, or in other words, the network function repository functional network element receives the discovery request message from the NEF.

[0238] The network function repository function element can be the above Figure 2 It should be understood that the name of the network function repository function network element is not limited in this embodiment, and any network element that can realize the functions possessed by the network function repository function network element in this embodiment can be considered as the network function repository function network element involved in this embodiment. For the convenience of description, the following description takes the network function repository function network element as NRF as an example.

[0239] Specifically, the discovery request message includes the public IP address of the terminal device.

[0240] Optionally, the discovery request message is a Nnrf_NFDiscovery request. In this embodiment, the NEF determines to send a Nnrf_NFDiscovery request to the NRF according to the port number included in the first request message, where the request is used to obtain the address of the UPF implementing the NAT function.

[0241] S680, the NRF sends a discovery response message to the NEF, or in other words, the NEF receives a discovery response message from the NRF.

[0242] The response message includes the address of the UPF that implements the NAT function for the UE (public) IP address. For example, the response message includes the address of UPF#1, which can implement NAT for the UE (public) IP address.

[0243] Optionally, the discovery response message is a Nnrf_NFDiscovery response.

[0244] In this embodiment, after the NEF obtains the address of the UPF that implements the NAT function for the UE (public) IP address from the NRF, it can obtain information from the UPF for determining whether the first private IP address provided by the EEC is valid, or it can also request the UPF to determine whether the first private IP address is valid. Exemplarily, it can be determined whether the first private IP address is valid based on the public IP address and port number of the UE, for example, by obtaining the second private IP address corresponding to the public IP address and port number. If the first private IP address and the second private IP address are the same, the first private IP address is valid.

[0245] Among them, the validity of the first private IP address can be understood as the first private IP address provided by the EEC is legal or accurate or correct or is assigned to the terminal device belonging to the EEC or corresponds to the public address and port of the terminal device; the invalidity of the first private IP address can be understood as the first private IP address provided by the EEC is illegal or inaccurate or incorrect or is not assigned to the terminal device of the EEC or does not correspond to the public address and port number of the terminal device.

[0246] In this embodiment, determining whether the first private IP address is valid includes but is not limited to the following implementations:

[0247] Implementation #1: NEF requests the UPF to verify the second private IP address of the terminal device provided by the EEC. In the case shown in implementation #1, Figure 6 The method flow shown also includes:

[0248] S611, NEF sends a third request message to UPF, or in other words, UPF receives the third request message from NEF.

[0249] The third request message is used to obtain the second private address of the terminal device. Specifically, the third request message includes the public IP address and port number of the terminal device.

[0250] S612, UPF sends a third response message to NEF, or in other words, NEF receives the third response message from UPF.

[0251] The third response message includes the second private address of the terminal device.

[0252] S613, the NEF determines whether the first private IP address is valid.

[0253] As a possible implementation, if the second private IP address of the terminal device is the same as the first private IP address of the terminal device, the NEF determines that the first private IP address is valid and executes subsequent steps S690 to S698. It should be understood that in this implementation, the NEF determines to execute subsequent steps S690 to S698 by the fact that the second private IP address of the terminal device is the same as the first private IP address of the terminal device.

[0254] As another possible implementation, if the second private IP address of the terminal device is not the same as the first private IP address of the terminal device, the NEF determines that the first private IP address is invalid. The NEF may indicate through a second response message that the EES failed to obtain the UE identifier, such as the second response message carries first indication information, and the first indication information indicates that the UE identifier failed to be obtained. Optionally, the second response message may also carry a reason value for the failure, such as the IP address provided by the EEC is not authorized or is wrong.

[0255] Implementation #2: NEF requests the UPF to verify at least one private IP address of the first private IP address provided by the EEC, and a port number corresponding to at least one private IP address. In the case shown in implementation #2, Figure 6 The method flow shown also includes:

[0256] S621, NEF sends a fourth request message to UPF, or in other words, UPF receives the fourth request message from NEF.

[0257] The fourth request message is used to obtain at least one private IP address corresponding to the public IP address and a port number corresponding to the at least one private IP address. Specifically, the fourth request message includes the public IP address of the terminal device.

[0258] Among them, the at least one private IP address corresponding to the public IP address, and the port number corresponding to the at least one private IP address can be understood as: the public IP address corresponds to: port number 1, private IP address 1, port number 2, private IP address 2... etc. A public IP address can correspond to one or more private IP addresses, and each private IP address corresponds to a port number.

[0259] S622, UPF sends a fourth response message to NEF, or NEF receives the fourth response message from UPF.

[0260] The fourth response message includes at least one private IP address corresponding to the public IP address, and a port number corresponding to the at least one private IP address.

[0261] S623, the NEF determines whether the first private IP address is valid.

[0262] As a possible implementation method, NEF obtains the second private IP address based on the port number received from EES, at least one private IP address corresponding to the public IP address received from UPF, and the port number corresponding to at least one private IP address. For example, the at least one private IP address corresponding to the public IP address is: private IP address 1 and private IP address 2, private IP address 1 corresponds to port number 1, and private IP address 2 corresponds to port number 2. If the port number received from EES is port number 2, the second private IP address obtained is private IP address 2.

[0263] In this implementation, the NEF determines whether the first private IP address is valid according to whether the first private IP address and the second private IP address are the same.

[0264] If the second private IP address of the terminal device is the same as the first private IP address of the terminal device, subsequent steps S690 to S698 are executed.

[0265] As another possible implementation manner, the NEF determines that the at least one private IP address does not include the first private IP address, and determines that the first private IP address is invalid.

[0266] In this implementation, the NEF may indicate through a second response message that the EES fails to obtain the UE identifier, such as the second response message carries the first indication information, and the first indication information indicates that the UE identifier fails to be obtained. Optionally, the second response message may also carry a reason value for the failure, such as the IP address provided by the EEC is not authorized or is wrong.

[0267] As another possible implementation, if the at least one private address includes the first private address, and the port number corresponding to the first private address is the same as the port number, it is determined that the first private address is valid, and subsequent steps S690 to S698 are executed.

[0268] It should be noted that, when the NEF locally stores at least one private IP address corresponding to the public IP address, and the port number corresponding to the at least one private IP address, the NEF may not execute the above steps S621 and S622, and only execute the above step S623 (for example, before executing the above step S621, query that there is no at least one private IP address corresponding to the public IP address, and the port number corresponding to the at least one private IP address locally). Exemplarily, the NEF has obtained the at least one private IP address corresponding to the above public IP address, and the port number corresponding to the at least one private IP address before receiving the second request message.

[0269] Optionally, in the case shown in the implementation #2, the NEF may also subscribe to the relationship list with the UPF, which may also include:

[0270] S624, NEF sends a subscription request message to UPF, or in other words, UPF receives a subscription request message from NEF.

[0271] Specifically, NEF sends a Nupf_PrivateUEIP_Subscribe message to UPF, which is used to instruct UPF to notify NEF of the new list when the private IP address and port number information corresponding to the public IP address changes (including adding a new UE private IP address, port number, or deleting a private IP address and port number).

[0272] S625, UPF sends a subscription response message to NEF, or in other words, NEF receives a subscription response message from UPF.

[0273] When the UPF receives a Nupf_PrivateUEIP_Get message containing only the UE public IP address, it notifies the NEF of the new list by default when the private IP address and port number information corresponding to the UE public IP address changes. Exemplarily, the UPF may provide the NEF with at least one private IP address corresponding to the above public IP address and the port number corresponding to at least one private IP address through one or more subscription response messages.

[0274] Implementation #3: NEF requests the UPF to verify the first private IP address provided by the EEC. In the case shown in implementation #3, Figure 6 The method flow shown also includes:

[0275] S631, NEF sends a fifth request message to UPF, or in other words, UPF receives the fifth request message from NEF.

[0276] The fifth request message is used to request the UPF to verify the first private IP address provided by the EEC. The fifth request message includes the public IP address of the terminal device, the first private IP address of the terminal device, and the port number.

[0277] S632, UPF determines whether the first private IP address is valid.

[0278] As a possible implementation method, UPF obtains the corresponding UE public IP address and port number based on the first private IP address of the terminal device received, and compares them with the public IP address and port number of the terminal device received. If they are the same, the first private IP address is determined to be valid; if they are different, the first private IP address is determined to be invalid.

[0279] As another possible implementation method, if the UPF cannot obtain corresponding information based on the first private IP address of the terminal device, it determines that the first private IP address is invalid.

[0280] As another possible implementation method, UPF obtains the corresponding second private IP address based on the received public IP address and port number of the terminal device, and verifies whether the second private IP address is the same as the first private IP address of the terminal device. If they are the same, the first private IP address is determined to be valid; if they are different, the first private IP address is determined to be invalid.

[0281] S633, UPF sends a fifth response message to NEF, or in other words, NEF receives the fifth response message from UPF.

[0282] The fifth response message is used to indicate whether the first private IP address is valid.

[0283] As a possible implementation manner, if the first private IP address is valid, subsequent steps S690 to S698 are executed.

[0284] As another possible implementation, if the first private IP address is invalid, the NEF may indicate through a second response message that the EES fails to obtain the UE identifier, such as the second response message carries first indication information, and the first indication information indicates that the UE identifier fails to be obtained. Optionally, the second response message may also carry a failure reason value, such as the IP address provided by the EEC is not authorized or is wrong.

[0285] S690, the NEF sends a search request message to the binding support function network element, or in other words, the binding support function network element receives the search request message from the NEF.

[0286] The binding support function network element can be the above Figure 2 It should be understood that the name of the binding support function network element is not limited in this embodiment, and any device that can implement the functions of the binding support function network element in this embodiment can be considered as the binding support function network element involved in this embodiment. For the convenience of description, the following description takes the binding support function network element as BSF as an example.

[0287] Specifically, the retrieval request message includes the first private IP address of the terminal device. The retrieval request message is used to retrieve the session binding information of the UE.

[0288] Optionally, the retrieval request message is a Nbsf_Management_Discovery service operation.

[0289] S691, the BSF sends a retrieval response message to the NEF, or in other words, the NEF receives a retrieval response message from the BSF.

[0290] Specifically, the retrieval response message includes session binding information.

[0291] As a possible implementation manner, if no SUPI is received in the session binding information sent by the BSF, the following step S692 is performed.

[0292] S692, NEF replies a result value to EES, indicating that UE ID is unavailable.

[0293] As another possible implementation manner, if the session binding information sent by the BSF includes SUPI, the following step S693 is performed.

[0294] S693, the NEF sends a request message #3 to the unified data management function network element, or in other words, the unified data management function network element receives the request message #3 from the NEF.

[0295] The unified data management function network element can be Figure 2 It should be understood that the name of the unified data management function network element is not limited in this embodiment, and any device that can implement the functions of the unified data management function network element in this embodiment can be considered as the unified data management function network element involved in this embodiment. For the convenience of description, the following description takes the unified data management function network element as UDM as an example.

[0296] Specifically, the request message #3 includes at least one of SUPI, application port ID, EES identifier, and EAS identifier.

[0297] S694, UDM sends a response message #3 to NEF, or in other words, NEF receives a response message #3 from UDM.

[0298] Specifically, the response message #3 includes the UE identifier, and the UE identifier may be GPSI.

[0299] S695, NEF sends a second response message to EES, or in other words, EES receives the second response message from NEF.

[0300] Specifically, the second response message includes an identifier of the UE, and the identifier of the UE may be a GPSI.

[0301] S696, EES sends a first response message to EEC, the first response message including the UE identifier. Optionally, the first response message is a first UE identifier API response message

[0302] S697, EEC sends a response message #2 to AC, where the response message #2 includes the identifier of the UE.

[0303] S698, the AC sends a response message #1 to the EAS, where the response message #1 includes the identifier of the UE.

[0304] Figure 6 In the communication method shown, after EES receives the request message for obtaining the terminal device from EEC, the request message for obtaining the terminal device sent to NEF carries the first private address received from EEC, as well as the public address and port number obtained by itself. This allows NEF to determine whether the first private address provided by EEC is accurate based on the received public address and port number, so as to decide whether to provide the identifier of the terminal device to EEC, and avoid providing the identifier of the terminal device to EEC when the first private address provided by EEC is inaccurate, thereby improving the security of EEC obtaining the identifier of the terminal device.

[0305] The present application also provides a communication method, in which the EAS determines how to obtain the UE identifier through the EEC according to whether the UE / EEC is authenticated. Figure 7 (b) in the figure introduces the communication method in detail.

[0306] Figure 7 (b) is a schematic flow chart of a communication method provided by the present application. It includes the following steps:

[0307] S701: A connection is established between the EAS and the AC.

[0308] refer to Figure 6 The description of step S601 in will not be repeated here.

[0309] S702: Establish a connection between EEC and EES.

[0310] refer to Figure 6 The description of step S602 is not repeated here.

[0311] S710, the EES sends second indication information to the EAS, or the EAS receives second indication information from the EES.

[0312] The second indication information is used to indicate whether the EEC in the terminal device and / or the terminal device is authenticated.

[0313] In this embodiment, the EES determines whether the EEC and / or the terminal device is authenticated, and provides the second indication information indicating whether the EEC and / or the terminal device is authenticated to the EAS. The manner in which the EES determines whether the EEC and / or the terminal device is authenticated can refer to Figure 6 The description of step S640 in the illustrated embodiment will not be repeated here.

[0314] S720, the EAS determines a process for obtaining an identifier of the terminal device according to the second indication information.

[0315] As a possible implementation, before EES sends the second indication information to EAS, EES receives the seventh request message from EAS to obtain the identifier of the terminal device, and fails to obtain the identifier of the terminal device based on the public IP address of the terminal device carried in the seventh request message.

[0316] In this implementation, the EES sending the second indication information to the EAS may be: the EES sending the seventh response message to the EAS, the seventh response message is used to indicate that the identifier acquisition of the terminal device fails, and the seventh response message includes the second indication information.

[0317] In this implementation, Figure 7 The method flow shown in (b) may also include:

[0318] S703, EAS sends the seventh request message to EES, or EES receives the seventh request message from EAS.

[0319] Furthermore, in this embodiment, after the EAS learns whether the EEC and / or the terminal device is authenticated, it may obtain the identifier of the terminal device in different ways.

[0320] Mode #1: The second indication information indicates that the EEC or the terminal device is authenticated, and the EAS determines, according to the second indication information, that the process of obtaining the identifier of the terminal device based on the private address of the terminal device is process #1.

[0321] In this method #1, process #1 includes the following steps:

[0322] S711, EAS sends a request message #1 to AC, or in other words, AC receives a request message #1 from EAS.

[0323] S712, AC sends request message #2 to EEC, or in other words, EEC receives request message #2 from AC.

[0324] S713, the EEC sends a first request message to the EES, or in other words, the EES receives the first request message from the EEC.

[0325] For the description of steps S711 to S713, please refer to Figure 6 The description of steps S610 to S630 in the illustrated embodiment will not be repeated here.

[0326] In this mode #1, after receiving the first request message from the EEC, the EES obtains the identifier of the terminal device based on the first private address of the terminal device carried in the first request message. Figure 7 The method flow shown in (b) also includes:

[0327] S714, EES sends a request message #A1 to NEF.

[0328] The request message #A1 is used to obtain the identifier of the terminal device, and the request message #A1 includes the first private address of the terminal device.

[0329] S715, NEF sends a request message #D1 to BSF.

[0330] The request message #D1 includes the first private address, and the BSF retrieves the session binding information of the UE.

[0331] S716, BSF sends a response message #D1 to NEF.

[0332] The response message #D1 responds to the request message #D1. If the response message #D1 does not carry SUPI, the NEF replies a Result value to the EES, indicating that the terminal device identifier acquisition fails.

[0333] S717, NEF sends a request message #E1 to UDM.

[0334] The NEF retrieves the UE identifier specific to the AF through the Nudm_SDM_Get service operation. The request message #E1 includes at least one of the SUPI, the Application Port ID or the AF identifier.

[0335] S718, UDM sends a response message #E1 to NEF.

[0336] The UDM responds to the NEF with an AF-specific UE identifier, which is represented as an external identifier of the UE that is uniquely associated with the application port ID, MTC provider information and / or AF identifier.

[0337] S719, NEF sends a response message #A1 to EES.

[0338] The response message #A1 is used to obtain the identifier of the terminal device, and the response message #A1 includes the identifier of the terminal device.

[0339] S7191, EES sends a first response message to EEC, the first response message including the identifier of the terminal device. Optionally, the first response message is a first UE identifier API response message

[0340] S7192, EEC sends a response message #2 to AC, and the response message #2 includes an identifier of the terminal device.

[0341] S7193, AC sends a response message #1 to EAS, and the response message #1 includes an identifier of the terminal device.

[0342] Mode #2: The second indication information indicates that the EEC and / or the terminal device is not authenticated, and the EAS determines, based on the second indication information, that the process of obtaining the identifier of the terminal device based on the public address and port number of the terminal device is process #2.

[0343] In this method #2, process #2 includes the following steps:

[0344] S721, EAS obtains the public IP address and port number of the terminal device.

[0345] Specifically, the EAS obtains the public IP address and port number of the UE according to the IP data packets interacting with the UE (eg, AC).

[0346] S722, the EAS sends a sixth request message to the EES, or in other words, the EES receives the sixth request message from the EAS.

[0347] The sixth request message is used to obtain the identifier of the terminal device, and the sixth request message includes the public address and port number of the terminal device. Optionally, the sixth request message is a sixth UE identifier API request message

[0348] S723, EES sends a request message #A2 to NEF.

[0349] The request message #A2 is used to obtain the identifier of the terminal device, and the request message #A2 includes the public address and port number of the terminal device.

[0350] S724, NEF sends a request message #B2 to NRF.

[0351] Request message #B2 is used to obtain the address of the UPF that implements the NAT function for the UE (public) IP address. For example, the NEF uses the Nnrf_NFDiscovery service operation to obtain the address of the UPF that implements the NAT function. The request message #B2 includes the UE public address and port number.

[0352] S725, NRF sends a response message #B2 to NEF.

[0353] The response message #B2 responds to the above-mentioned request message #B2, and the response message #B2 includes the address of the UPF that implements the NAT function for the UE public address.

[0354] S726, NEF sends a request message #C2 to UPF.

[0355] The request message #C2 is used to obtain the private address of the UE. The request message #C2 includes the UE public address and port number.

[0356] S727, UPF sends a response message #C2 to NEF.

[0357] The response message #C2 responds to the above-mentioned request message #C2, and the response message #C2 includes the private address of the UE.

[0358] S728, NEF sends a request message #D2 to BSF.

[0359] The request message #D2 contains the private address of the UE, and the BSF retrieves the session binding information of the UE.

[0360] S729, BSF sends a response message #D2 to NEF.

[0361] The response message #D2 responds to the request message #D2. If the response message #D2 does not carry the SUPI, the NEF replies a Result value to the AF, indicating that the UE ID is unavailable.

[0362] S7291, NEF sends a request message #E2 to UDM.

[0363] The NEF retrieves the UE identifier specific to the AF through the Nudm_SDM_Get service operation. The request message #E2 includes at least one of the SUPI, the Application Port ID or the AF identifier.

[0364] S7292, UDM sends a response message #E2 to NEF.

[0365] The UDM responds to the NEF with an AF-specific UE identifier, which is represented as an external identifier of the UE that is uniquely associated with the application port ID, MTC provider information and / or AF identifier.

[0366] S7293, NEF sends a response message #A2 to EES.

[0367] The response message #A2 includes the identifier of the terminal device.

[0368] S7294, EES sends a sixth response message to EAS, where the sixth response message includes an identifier of the terminal device. Optionally, the sixth response message is a sixth UE identifier API response message.

[0369] Figure 7 In the communication method shown in (b), before initiating the UE ID acquisition process, EAS obtains information from EES on whether the UE and / or EEC are authenticated, and when the UE is authenticated and / or the EEC is authenticated, obtains the identifier of the terminal device through the EEC. Optionally, when the UE is authenticated and / or the EEC is authenticated, the identifier of the terminal device can also be obtained based on the public address and port number of the terminal device. When the UE and / or the EEC are not authenticated, the identifier of the terminal device is obtained based on the public address and port number of the terminal device. This allows EES to obtain the identifier of the terminal device based on the public address and port number of the terminal device, thereby avoiding failure to obtain the identifier of the terminal device based on the private address of the terminal device when the UE and / or the EEC are not authenticated, or avoiding obtaining the identifier of the wrong terminal device.

[0370] The present application also provides another communication method, in which the EES can determine the subsequent method of obtaining the UE identifier according to whether the EEC and / or the UE are authenticated after receiving the request message for obtaining the UE identifier from the EEC. Figure 8 Provide explanation.

[0371] Figure 8 This is a schematic flow chart of another communication method provided by the present application. It includes the following steps:

[0372] S801: A connection is established between the EAS and the AC.

[0373] refer to Figure 6 The description of step S601 in will not be repeated here.

[0374] S802: A connection is established between the EEC and the EES.

[0375] refer to Figure 6 The description of step S602 is not repeated here.

[0376] S810, EAS sends a request message #1 to AC, or in other words, AC receives a request message #1 from EAS.

[0377] S820, the AC sends a request message #2 to the edge enable client, or in other words, the edge enable client receives the request message #2 from the AC.

[0378] S830, the EEC sends a first request message to the EES, or in other words, the EES receives the first request message from the EEC.

[0379] S840, the EES determines whether the EEC and / or the UE are authenticated.

[0380] For the description of S810 to S840 in this embodiment, please refer to Figure 6 The descriptions of steps S601 to S640 are not repeated here.

[0381] This embodiment and Figure 6 The embodiment shown differs in that:

[0382] In this embodiment, EES no longer executes the above Figure 6 Implementations #1 to #3 in the illustrated embodiment determine whether the first private IP address provided by the EEC is valid, but determine the method for obtaining the UE identifier based on whether the EEC and / or the UE is authenticated. Specifically, in this embodiment, the EES obtains the UE identifier in the following two ways:

[0383] Method #3: EES uses the private IP address provided by EEC to interact with 5GC to obtain UE ID. In the case shown in method #1, Figure 8 The method flow shown also includes the following steps:

[0384] S811, EES sends a request message #A1 to NEF.

[0385] The request message #A1 is used to obtain the identifier of the terminal device, and the request message #A1 includes the first private address of the terminal device.

[0386] S812, NEF sends a request message #D1 to BSF.

[0387] The request message #D1 includes the first private address, and the BSF retrieves the session binding information of the UE.

[0388] S813, BSF sends a response message #D1 to NEF.

[0389] The response message #D1 responds to the request message #D1. If the response message #D1 does not carry SUPI, the NEF replies a Result value to the EES, indicating that the terminal device identifier acquisition fails.

[0390] S814, NEF sends a request message #E1 to UDM.

[0391] S815, UDM sends a response message #E1 to NEF.

[0392] S816, NEF sends a response message #A1 to EES.

[0393] The response message #A1 is used to obtain the identifier of the terminal device, and the response message #A1 includes the identifier of the terminal device.

[0394] For the description of steps S811 to S816, please refer to Figure 7 The description of steps S714 to S719 in embodiment mode #1 shown in (b) will not be repeated here.

[0395] Method #4: EES uses the UE's public IP address and port number to interact with 5GC to obtain the UE ID. In the case shown in method #4, Figure 8 The method flow shown also includes the following steps:

[0396] S821, EES sends a request message #A2 to NEF.

[0397] The request message #A2 is used to obtain the identifier of the terminal device, and the request message #A2 includes the public address and port number of the terminal device.

[0398] S822, NEF sends a request message #B2 to NRF.

[0399] Request message #B2 is used to obtain the address of the UPF that implements the NAT function for the UE (public) IP address. For example, the NEF uses the Nnrf_NFDiscovery service operation to obtain the address of the UPF that implements the NAT function. The request message #B2 includes the UE public address and port number.

[0400] S823, NRF sends a response message #B2 to NEF.

[0401] The response message #B2 responds to the above-mentioned request message #B2, and the response message #B2 includes the address of the UPF that implements the NAT function for the UE public address.

[0402] S824, NEF sends a request message #C2 to UPF.

[0403] The request message #C2 is used to obtain the private address of the UE. The request message #C2 includes the UE public address and port number.

[0404] S825, UPF sends a response message #C2 to NEF.

[0405] The response message #C2 responds to the above-mentioned request message #C2, and the response message #C2 includes the private address of the UE.

[0406] S826, NEF sends a request message #D2 to BSF.

[0407] The request message #D2 contains the private address of the UE, and the BSF retrieves the session binding information of the UE.

[0408] S827, BSF sends a response message #D2 to NEF.

[0409] The response message #D2 responds to the request message #D2. If the response message #D2 does not carry the SUPI, the NEF replies a Result value to the AF, indicating that the UE ID is unavailable.

[0410] S828, NEF sends a request message #E2 to UDM.

[0411] S829, UDM sends a response message #E2 to NEF.

[0412] S8291, NEF sends a response message #A2 to EES.

[0413] The response message #A2 includes the identifier of the terminal device.

[0414] For the description of steps S821 to S8291, please refer to Figure 7 The description of steps S723 to S7293 in embodiment mode #3 shown in (b) will not be repeated here.

[0415] After EES obtains the identifier of the terminal device through the above-mentioned method # and method #4, Figure 8 The method flow shown also includes:

[0416] S850, EES sends a first response message to EEC, where the first response message includes an identifier of the UE.

[0417] S860, the EEC sends a response message #2 to the AC, where the response message #2 includes an identifier of the UE.

[0418] S870, the AC sends a response message #1 to the EAS, where the response message #1 includes an identifier of the UE.

[0419] Figure 8In the communication method shown, EES determines the actual method of obtaining the identifier of the terminal device based on whether the UE and / or EEC are authenticated, thereby avoiding obtaining the identifier of the terminal device based on the first private address of the terminal device when the UE and / or EEC are not authenticated, thereby improving security.

[0420] It should be understood that the sequence numbers of the above processes do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0421] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0422] It should also be understood that in some of the above embodiments, the devices in the existing network architecture are mainly used as examples for exemplary description (such as AMF, etc.), and it should be understood that the specific form of the device is not limited in the embodiments of the present application. For example, devices that can achieve the same function in the future are applicable to the embodiments of the present application.

[0423] It can be understood that in the above-mentioned various method embodiments, the methods and operations implemented by the device (such as AMF) can also be implemented by components of the device (such as chips or circuits).

[0424] Above, combined Figures 6 to 8 The communication method provided by the embodiment of the present application is described in detail. The above communication method is mainly introduced from the perspective of interaction between various protocol layers of the terminal device. It can be understood that in order to realize the above functions, the terminal device includes a hardware structure and / or software module corresponding to each function.

[0425] Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0426] The following combination Figures 9 to 11 The communication device provided by the present application is described in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment. Therefore, the content not described in detail can be referred to the method embodiment above, and some content will not be repeated for the sake of brevity.

[0427] The embodiment of the present application can divide the functional modules of the transmitting end device or the receiving end device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.

[0428] Fig. 9 1 is a schematic block diagram of a communication device 10 provided in an embodiment of the present application. The device 10 includes a transceiver module 11 and a processing module 12. The transceiver module 11 can implement corresponding communication functions, and the processing module 12 is used to perform data processing, or in other words, the transceiver module 11 is used to perform operations related to receiving and sending, and the processing module 12 is used to perform other operations besides receiving and sending. The transceiver module 11 can also be called a communication interface or a communication unit.

[0429] Optionally, the device 10 may further include a storage module 13, which may be used to store instructions and / or data. The processing module 12 may read the instructions and / or data in the storage module so that the device implements the actions of the devices in the aforementioned method embodiments.

[0430] In one design, the device 10 may correspond to the EES in the above method embodiments, or be a component of the EES (such as a chip).

[0431] The device 10 can implement the steps or processes corresponding to the EES execution in the above method embodiment, wherein the transceiver module 11 can be used to perform the operations related to the transceiver of the EES in the above method embodiment, and the processing module 12 can be used to perform the operations related to the processing of the EES in the above method embodiment.

[0432] In one possible implementation, the transceiver module 11 is used to receive a first request message from a terminal device, the first request message is used to obtain an identifier of the terminal device, and the first request message includes a first private address of the terminal device. The transceiver module 11 is also used to obtain a public address and a port number of the terminal device, and send a second request message to a network open function network element, the second request message is used to obtain an identifier of the terminal device, and the second request message includes the first private address, the public address, and the port number. The transceiver module 11 is also used to receive first indication information from the network open function network element or an identifier of the terminal device, the first indication information is used to indicate that the identifier of the terminal device has failed to be obtained.

[0433] In another possible implementation, the transceiver module 11 is used to send a second indication message to the edge application server, where the second indication message is used to indicate whether the edge enabling client in the terminal device and / or the terminal device is authenticated. The transceiver module 11 is also used to receive a sixth request message from the edge application server when the edge enabling client and / or the terminal device is not authenticated, where the sixth request message is used to obtain an identifier of the terminal device, and the sixth request message includes a public address and a port number of the terminal device.

[0434] In another possible implementation, the transceiver module 11 is used to receive a first request message from a terminal device, the first request message is used to obtain an identifier of the terminal device, and the first request message includes a first private address of the terminal device. The processing module 12 is used to determine whether the edge-enabled client of the terminal device and / or the terminal device is authenticated. The processing module 12 is used to obtain a public address and a port number of the terminal device if the edge-enabled client and / or the terminal device are not authenticated, and obtain an identifier of the terminal device based on the public address and the port number.

[0435] Wherein, when the device 6 is used to perform Figure 3 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S630, S660, S692, S695 and S696; the processing module 12 can be used to execute the processing steps in the method, such as steps S640 and S650.

[0436] When the device 10 is used to perform Figure 7 When the method in (b) is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S703, S710, S714, S719, S723, S7293 and S7294; the processing module 12 can be used to execute the processing steps in the method.

[0437] When the device 10 is used to perform Figure 8 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S830, S811, S816, S821, S8291 and S850; the processing module 12 can be used to execute the processing steps in the method, such as step S840.

[0438] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0439] In another design, the device 10 may correspond to the NEF in the above method embodiment, or be a component (such as a chip) of the NEF.

[0440] The device 10 can implement the steps or processes corresponding to the NEF execution in the above method embodiment, wherein the transceiver module 11 can be used to perform the NEF transceiver related operations in the above method embodiment, and the processing module 12 can be used to perform the NEF processing related operations in the above method embodiment.

[0441] In one possible implementation, the transceiver module 11 is used to receive a second request message from an edge enabling server, where the second request message is used to obtain an identifier of a terminal device, and the second request message includes a first private address of the terminal device, a public address of the terminal device, and a port number; the transceiver module 11 is used to obtain the identifier of the terminal device when it is determined that the first private address is valid based on the public address and the port number, and send the identifier of the terminal device to the edge enabling server.

[0442] Wherein, when the device 10 is used to perform Figure 6 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S660, S670, S680, S611, S612, S621, S622, S624, S625, S631, S633, S690, S691, S692, S693, S694 and S695; the processing module 12 can be used to execute the processing steps in the method, such as steps S613 and S623.

[0443] When the device 10 is used to perform Figure 7 When the method in (b) is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S714, S715, S716, S717, S718, S719, S723, S724, S725, S726, S727, S728, S729, S7291, S7292 and S7293; the processing module 12 can be used to execute the processing steps in the method.

[0444] When the device 10 is used to perform Figure 8 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S811, S812, S813, S814, S815, S816, S821, S822, S823, S824, S825, S826, S827, S828, S829 and S8291; the processing module 12 can be used to execute the processing steps in the method.

[0445] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0446] In another design, the device 10 may correspond to the UPF in the above method embodiment, or be a component of the UPF (such as a chip).

[0447] The device 10 can implement the steps or processes corresponding to the UPF execution in the above method embodiment, wherein the transceiver module 11 can be used to execute the UPF's transceiver related operations in the above method embodiment, and the processing module 12 can be used to execute the UPF's processing related operations in the above method embodiment.

[0448] In one possible implementation, the transceiver module 11 is used to receive a third request message from a network open function network element, wherein the third request message is used to obtain a second private Internet Protocol address of a terminal device, and the third request message includes a public address and a port number of the terminal device; the processing module 12 is used to determine the second private address of the terminal device based on the public address and the port number; the transceiver module 11 is used to send a third response message to the network open function network element, and the third response message includes the second private address.

[0449] In another possible implementation, the transceiver module 11 is used to receive a fourth request message from a network open function network element, wherein the fourth request message includes a first public Internet interconnection protocol address of a terminal device; the processing module 12 is used to determine, based on the public address, at least one private address corresponding to the public address, and a port number corresponding to the at least one private address; the transceiver module 11 sends a fourth response message to the network open function network element, wherein the fourth response message includes at least one private address corresponding to the public address, and a port number corresponding to the at least one private address.

[0450] In another possible implementation, the transceiver module 11 is used to receive a fifth request message from a network open function network element, wherein the fifth request message includes a first private Internet interconnection protocol address of a terminal device, a public address and a port number of the terminal device, and the fifth request message is used to request the user plane function network element to determine whether the first private address is valid; the processing module 12 is used to determine whether the first private address is valid based on a correspondence between a locally stored private address, a public address and a port number; the transceiver module 11 sends a fifth response message to the network open function network element, and the fifth response message is used to indicate whether the first private address is valid.

[0451] Wherein, when the device 10 is used to perform Figure 6When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S611, S612, S621, S622, S624, S625, S631 and S633; the processing module 12 can be used to execute the processing steps in the method, such as step S632.

[0452] When the device 10 is used to perform Figure 7 When the method in (b) is used, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S726 and S727; the processing module 12 can be used to execute the processing steps in the method.

[0453] When the device 10 is used to perform Figure 8 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S824 and S825; the processing module 12 can be used to execute the processing steps in the method.

[0454] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0455] In another design, the device 10 may correspond to the EAS in the above method embodiment, or be a component (such as a chip) of the EAS.

[0456] The device 10 can implement the steps or processes corresponding to the EAS execution in the above method embodiment, wherein the transceiver module 11 can be used to perform the EAS transceiver related operations in the above method embodiment, and the processing module 12 can be used to perform the EAS processing related operations in the above method embodiment.

[0457] In one possible implementation, the transceiver module 11 is used to receive second indication information from the edge enabling server, where the second indication information is used to indicate whether the edge enabling client in the terminal device and / or the terminal device is authenticated; the transceiver module 11 sends a sixth request message to the edge enabling server when the edge enabling client and / or the terminal device are not authenticated, where the sixth request message is used to obtain an identifier of the terminal device, and the sixth request message includes a public address and port number of the terminal device.

[0458] Wherein, when the device 10 is used to perform Figure 6 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S610 and S698; the processing module 12 can be used to execute the processing steps in the method.

[0459] When the device 10 is used to perform Figure 7When the method in (b) is used, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S711, S7193, S703, S710, S722 and S7294; the processing module 12 can be used to execute the processing steps in the method, such as steps S720 and S721.

[0460] When the device 10 is used to perform Figure 8 When the method is performed, the transceiver module 11 can be used to execute the steps of sending and receiving information in the method, such as steps S810 and S870; the processing module 12 can be used to execute the processing steps in the method.

[0461] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0462] It should also be understood that the device 10 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art may understand that the device 10 may be specifically a mobile management network element in the above-mentioned embodiment, and may be used to execute the various processes and / or steps corresponding to the mobile management network element in the above-mentioned method embodiments; or, the device 10 may be specifically a terminal device in the above-mentioned embodiment, and may be used to execute the various processes and / or steps corresponding to the terminal device in the above-mentioned method embodiments. To avoid repetition, it will not be repeated here.

[0463] The device 10 of each of the above schemes has the function of implementing the corresponding steps performed by the device (such as terminal device, network device) in the above method. This function can be implemented by hardware, or by hardware executing the corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver module can be replaced by a transceiver (for example, the sending unit in the transceiver module can be replaced by a transmitter, and the receiving unit in the transceiver module can be replaced by a receiver), and other units, such as processing modules, can be replaced by processors to respectively perform the transceiver operations and related processing operations in each method embodiment.

[0464] In addition, the transceiver module 11 may also be a transceiver circuit (for example, may include a receiving circuit and a sending circuit), and the processing module may be a processing circuit.

[0465] Fig.102 is a schematic diagram of another communication device 20 provided in an embodiment of the present application. The device 20 includes a processor 21, and the processor 21 is used to execute a computer program or instruction stored in a memory 22, or read data / signaling stored in the memory 22 to execute the method in each method embodiment above. Optionally, there are one or more processors 21.

[0466] Alternatively, if Fig.10 As shown, the device 20 also includes a memory 22, which is used to store computer programs or instructions and / or data. The memory 22 can be integrated with the processor 21, or can also be separately set. Optionally, the memory 22 is one or more.

[0467] Alternatively, if Fig.10 As shown, the device 20 further includes a transceiver 23, and the transceiver 23 is used for receiving and / or sending signals. For example, the processor 21 is used to control the transceiver 23 to receive and / or send signals.

[0468] As a solution, the device 20 is used to implement the operations performed by the EES in the above various method embodiments.

[0469] As another solution, the device 20 is used to implement the operations performed by the NEF in the above method embodiments.

[0470] As another solution, the device 20 is used to implement the operations performed by the UPF in the above method embodiments.

[0471] As another solution, the device 20 is used to implement the operations performed by the EAS in the above various method embodiments.

[0472] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0473] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM includes the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0474] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.

[0475] It should also be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0476] Fig.11 Schematic diagram of a chip system 30 provided in an embodiment of the present application. The chip system 30 (or also referred to as a processing system) includes a logic circuit 31 and an input / output interface 32.

[0477] Among them, the logic circuit 31 can be a processing circuit in the chip system 30. The logic circuit 31 can be coupled to the storage unit and call the instructions in the storage unit so that the chip system 30 can implement the methods and functions of each embodiment of the present application. The input / output interface 32 can be an input / output circuit in the chip system 30, outputting information processed by the chip system 30, or inputting data or signaling information to be processed into the chip system 30 for processing.

[0478] As a solution, the chip system 30 is used to implement the operations performed by the EES, EAS, NEF or UPF in the above various method embodiments.

[0479] For example, the logic circuit 31 is used to implement the processing-related operations performed by EES, EAS, NEF or UPF in the above method embodiments; the input / output interface 32 is used to implement the sending and / or receiving-related operations performed by EES, EAS, NEF or UPF in the above method embodiments.

[0480] The embodiments of the present application also provide a computer-readable storage medium on which are stored computer instructions for implementing the methods performed by the EES, EAS, NEF and UPF in the above-mentioned method embodiments.

[0481] For example, when the computer program is executed by a computer, the computer can implement the methods performed by EES, EAS, NEF or UPF in each of the above method embodiments.

[0482] The embodiment of the present application also provides a computer program product, comprising instructions, which, when executed by a computer, implement the methods performed by EES, EAS, NEF and UPF in the above-mentioned method embodiments.

[0483] An embodiment of the present application also provides a communication system, including the aforementioned EES, EAS, NEF and UPF.

[0484] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, which will not be repeated here.

[0485] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0486] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. For example, the computer can be a personal computer, a server, or a network device, etc. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). For example, the aforementioned available medium includes, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0487] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: include: receiving a first request message from a terminal device, where the first request message is used to obtain an identifier of the terminal device, and the first request message includes a first private address of the terminal device; Acquire the public address and port number of the terminal device, and send a second request message to the network open function network element, where the second request message is used to acquire the identifier of the terminal device, and the second request message includes the first private address, the public address and the port number; Receive first indication information from the network open function network element or the identifier of the terminal device, where the first indication information is used to indicate that the identifier of the terminal device has failed to be obtained.

2. The method according to claim 1, characterized in that The receiving a first request message from a terminal device includes: Receiving an Internet Protocol IP data packet from a user plane function network element, wherein a payload portion of the IP data packet includes the first request message from the terminal device; The obtaining of the public address and the port number comprises: The public address and the port number are determined according to the source address and the source port number of the IP data packet, wherein the source address is used to characterize the public address, and the source port number is used to characterize the port number.

3. The method according to claim 1, characterized in that The obtaining of the public address and the port number includes: obtaining the public address and the port number from an edge application server.

4. The method according to any one of claims 1 to 3, characterized in that In the case of receiving the first indication information of the terminal device from the network open function network element, the method further includes: Receive a cause value of the terminal device from the network open function network element, where the cause value is used to indicate a reason why the terminal device fails to obtain an identifier.

5. The method according to any one of claims 1 to 4, characterized in that In case of receiving the identifier of the terminal device from the network open function network element, the method further comprises: A first response message is sent to the terminal device, where the first response message includes an identifier of the terminal device.

6. The method according to any one of claims 1 to 5, characterized in that The sending a second request message to the network open function network element includes: When the terminal device or the edge enabling client in the terminal device is not authenticated, the second request message is sent to the network open function network element.

7. A communication method, characterized in that: include: receiving a second request message from the edge enabling server, where the second request message is used to obtain an identifier of a terminal device, and the second request message includes a first private address of the terminal device, a public address of the terminal device, and a port number; When it is determined that the first private address is valid according to the public address and the port number, an identifier of the terminal device is obtained, and the identifier of the terminal device is sent to the edge enabling server.

8. The method according to claim 7, characterized in that When it is determined that the first private address is invalid according to the public address and the port number, first indication information is sent to the edge enabling server, where the first indication information is used to indicate that the identifier of the terminal device fails to be obtained.

9. The method according to claim 7 or 8, characterized in that: The method further comprises: Determine whether the first private address is valid according to the public address and the port number.

10. The method according to claim 9, characterized in that The determining whether the first private address is valid according to the public address and the port number includes: Whether the first private address is the same as a second private address, wherein the second private address is determined based on the public address and the port number.

11. The method according to claim 10, characterized in that The method further comprises: Sending a third request message to the user plane function network element, wherein the third request message includes the public address and the port number; A third response message is received from the user plane function network element, where the third response message includes the second private address.

12. The method according to claim 10, characterized in that The method further comprises: Obtain at least one private address corresponding to the public network address and a port number corresponding to the at least one private address; The second private address is acquired according to the acquired at least one private address and the port number corresponding to the at least one private address, and the port number in the second request message.

13. The method according to claim 12, characterized in that The method further comprises: Sending a fourth request message to the user plane function network element, where the fourth request message includes the public address; A fourth response message is received from the user plane function network element, where the fourth response message includes at least one private address corresponding to the public address and a port number corresponding to the at least one private address.

14. The method according to claim 12, characterized in that The method further comprises: Sending a subscription request message to a user plane function network element, wherein the subscription request message includes the public address; Receive one or more subscription response messages from the user plane functional network element, wherein the one or more subscription response messages include at least one private address corresponding to the public address and a port number corresponding to the at least one private address.

15. The method according to claim 13 or 14, characterized in that The method further comprises: The at least one private address corresponding to the public network address and the port number corresponding to the at least one private address are queried locally and are not stored.

16. The method according to any one of claims 13 to 15, characterized in that The method further comprises: If the at least one private address does not include the first private address, determining that the first private address is invalid; or, If the at least one private address includes the first private address, and the port number corresponding to the first private address is the same as the port number, it is determined that the first private address is valid.

17. The method according to claim 9, characterized in that The determining whether the first private address is valid according to the public address and the port number includes: Sending a fifth request message to a user plane function network element, where the fifth request message includes the first private address, the public address, and the port number, and the fifth request message is used to request the user plane function network element to determine whether the first private address is valid; A fifth response message is received from the user plane function network element, where the fifth response message is used to indicate whether the first private address is valid.

18. The method according to any one of claims 7 to 17, characterized in that The method further comprises: Sending a discovery request message to a network function repository function network element, the discovery request message including the public address, the discovery request message being used to obtain an address of a user plane function network element that implements an address translation function; A discovery response message is received from the network function repository function network element, wherein the discovery response message includes an address of the user plane function network element.

19. The method according to claim 8, characterized in that In the case of sending the first indication information to the edge enabling server, the method further includes: A reason value is sent to the edge enabling server, where the reason value is used to indicate a reason why the terminal device fails to obtain the identifier.

20. A communication method, characterized in that: include: Receiving a third request message from the network open function network element, the third request message is used to obtain a second private Internet Protocol address of the terminal device, the third request message includes a public address and a port number of the terminal device; Determine a second private address of the terminal device according to the public address and the port number; A third response message is sent to the network open function network element, where the third response message includes the second private address.

21. A communication method, characterized in that: include: receiving a fourth request message from the network open function network element, wherein the fourth request message includes a first public Internet interconnection protocol address of the terminal device; Determine, according to the public address, at least one private address corresponding to the public address, and a port number corresponding to the at least one private address; A fourth response message is sent to the network open function network element, where the fourth response message includes at least one private address corresponding to the public address and a port number corresponding to the at least one private address.

22. A communication method, characterized in that: include: Receiving a subscription request message from the network open function network element, wherein the subscription request message includes a first public Internet protocol address of a terminal device; One or more subscription response messages are sent to the network open function network element, where the one or more subscription response messages include at least one private address corresponding to the public address and a port number corresponding to the at least one private address.

23. A communication method, characterized in that: include: receiving a fifth request message from a network open function network element, the fifth request message including a first private Internet interconnection protocol address of a terminal device, a public address and a port number of the terminal device, and the fifth request message is used to request the user plane function network element to determine whether the first private address is valid; Determining whether the first private address is valid according to the correspondence between the locally stored private address, the public address and the port number; A fifth response message is sent to the network open function network element, where the fifth response message is used to indicate whether the first private address is valid.

24. The method according to claim 23, characterized in that The determining whether the first private address is valid according to the correspondence between the locally stored private address, the public address, and the port number includes: Determine a public address and a port number corresponding to the first private address according to the corresponding relationship and the first private address; If the public address and port number corresponding to the first private address are the same as the public address and port number, the fifth response message is used to indicate that the first private address is valid; otherwise, the fifth response message is used to indicate that the first private address is invalid.

25. The method according to claim 23, characterized in that The determining whether the first private address is valid according to the correspondence between the locally stored private address, the public address, and the port number includes: If it is determined, based on the corresponding relationship and the first private address, that the public address and port number corresponding to the first private address cannot be obtained, the fifth response message is used to indicate that the first private address is invalid.

26. The method according to claim 23, characterized in that The determining whether the first private address is valid according to the correspondence between the locally stored private address, the public address, and the port number includes: Determine, according to the corresponding relationship, the public address and the port number, a private address corresponding to the public address and the port number; If the private address corresponding to the public address and the port number is the same as the first private address and port number, the fifth response message is used to indicate that the first private address is valid; otherwise, the fifth response message is used to indicate that the first private address is invalid.

27. A communication system, characterized in that: Including edge enabling servers and network open function network elements: The edge enabling server is used to receive a first request message from a terminal device, where the first request message is used to obtain an identifier of the terminal device, and the first request message includes a first private address of the terminal device; The edge enabling server is also used to obtain the public address and port number of the terminal device; The edge enabling server is further used to send a second request message to the network open function network element, where the second request message is used to obtain an identifier of the terminal device, and the second request message includes the first private address, the public address and the port number; When it is determined that the first private address is valid according to the public address and the port number, the network open function network element is used to send an identifier of the terminal device to the edge enabling server.

28. The system according to claim 27, characterized in that When it is determined according to the public address and the port number that the first private address is invalid, the network open function network element is further used to send first indication information to the edge enabling server, where the first indication information is used to indicate that the communication device fails to obtain an identifier.

29. A communication device, characterized in that: The device comprises means for performing the method according to any one of claims 1 to 6.

30. A communication device, characterized in that: The device comprises means for performing the method according to any one of claims 7 to 19.

31. A communication device, characterized in that: The device comprises means for performing the method according to any one of claims 20 to 26.

32. A communication device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program stored in the memory so that the communication device performs the method according to any one of claims 1 to 26.

33. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the method according to any one of claims 1 to 26 is implemented.

34. A computer program product, characterized in that The computer program product comprises instructions for executing the steps performed by the storage function network element in the method according to any one of claims 1 to 26.

Citation Information

Cited By

  • Communication method and communication apparatus

    EP4697649A1

  • Communication method and communication apparatus

    WO2024235111A1