Communication method and apparatus
By obtaining the endpoint information of user plane function network elements, and using a single tunnel to achieve cross-regional communication of multiple PINs, the problem of excessive network resource consumption caused by the excessive number of tunnels in the 5G core network is solved, and resource utilization is improved.
Patent Information
- Application Number
- PCT/CN2023/142359
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-17
- Filing Date
- 2023-12-27
- Publication Date
- 2024-09-26
AI Technical Summary
In the 5G core network, when communicating across regions, members of different Personal Internet of Things (PIN) networks need to establish a large number of different tunnels, which leads to a large consumption of network resources and inconvenience in tunnel management.
By obtaining endpoint information of the second user plane functional network element through the first user plane functional network element, and using a tunnel to realize cross-regional communication of multiple PINs, the number of tunnels is reduced and network resource utilization is optimized.
This reduces the number of tunnels established between user plane function network elements during cross-regional communication, thereby reducing network resource consumption and improving network resource utilization.
Smart Images

Figure CN2023142359_26092024_PF_FP
Abstract
Description
Communication method and device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 17, 2023, with application number 202310274028.3 and application name “A Communication Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art
[0004] In personal businesses for consumers (to cunsumer, toC), multiple terminal devices can form a group, such as various terminal devices in a home forming a group. Similarly, in businesses (to business, toB), multiple terminal devices can also form a group, such as the terminal devices of enterprise employees forming a group. Such a group composed of multiple terminal devices can be called a personal internet of things network (PIN). PIN members may need to communicate across regions, and for this purpose, a connection needs to be established between PIN members communicating across regions. Taking the home PIN as an example, if a terminal device moving to the far field needs to access the terminal device at home, it needs to establish a connection with the terminal device at home.
[0005] Currently, the fifth-generation (5G) core network supports cross-region communication between user plane functional network elements (PINs) in two regions by establishing tunnels. Members of the same PIN can share the same tunnel, but members of different PINs must establish separate tunnels. Therefore, when a large number of PINs are involved in cross-region communication, the number of tunnels required between user plane functional network elements also increases, consuming significant network resources.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a communication method and apparatus for reducing the number of tunnels established between user plane functional network elements during cross-regional communications, thereby reducing the consumption of network resources.
[0008] In a first aspect, embodiments of the present application provide a communication method, which can be performed by a first user plane function network element, or by a component of the first user plane function network element, without limitation. In the method, the first user plane function network element can obtain endpoint information of a second user plane function network element; and transmit service data of at least one PIN based on the endpoint information of the second user plane function network element.
[0009] Optionally, the endpoint information may include a tunnel endpoint identifier (TEID) and an Internet protocol (IP) address, without limitation.
[0010] In the above embodiment, the first user plane functional network element can transmit the business data of one PIN or transmit the business data of multiple PINs according to the endpoint information of the second user plane functional network element, which means that when the first user plane functional network element and the second user plane functional network element are located in different areas, the first user plane functional network element can transmit the business data of multiple PINs based on the endpoint information of the second user plane functional network element, that is, the first user plane functional network element can realize cross-regional communication of multiple PINs with the second user plane functional network element through one tunnel. Compared with establishing different tunnels for different PINs during cross-regional communication, the number of tunnels established between user plane functional network elements during cross-regional communication can be reduced, which facilitates tunnel management. Since the tunnel establishment process requires the consumption of network resources, the embodiment of the present application can reduce the number of tunnels established between the first user plane functional network element and the second user plane functional network element, thereby reducing the consumption of network resources and improving the utilization of network resources.
[0011] In one possible implementation, the first user plane function network element obtains the endpoint information of the second user plane function network element by: the first user plane function network element receives a first message from the session management function network element, where the first message is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element; according to the first message, the endpoint information of the first user plane function network element is sent to the session management function network element; and the endpoint information of the second user plane function network element is received from the session management function network element.
[0012] Through the above implementation, the first user plane function network element can establish a tunnel with the second user plane function network element under the triggering of the session management function, and obtain the endpoint information of the second user plane function network element during the tunnel establishment process.
[0013] In one possible implementation, the first message may instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element in the following manner: the first message includes first indication information, and the first indication information is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element.
[0014] Through the above implementation method, the first message itself can be used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element, or it can carry the first indication information to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element. The implementation method is flexible.
[0015] In one possible implementation, the method may further include: the first user plane function network element sending an identifier of at least one PIN served by the first user plane function network element to the session management function network element. Alternatively, the first user plane function network element sending an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element via the session management function network element.
[0016] Through the above implementation method, the first user plane function network element sends the identifier of at least one PIN served by itself to the session management function network element, so that the session management function network element forwards the identifier of at least one PIN served by the first user plane function network element to the second user plane function network element, and then the second user plane function network element can associate the endpoint information of the first user plane function network element with the identifier of at least one PIN served by the first user plane function network element.
[0017] In a possible implementation, the above method may also include: the first user plane function network element can obtain the identifier of at least one PIN served by the second user plane function network element; and associate the endpoint information on the second user plane function network element side with the identifier of at least one PIN served by the second user plane function network element.
[0018] Through the above implementation method, the first user plane functional network element can associate the endpoint information of the second user plane functional network element and the identifier of at least one PIN served by the second user plane functional network element, so that after subsequently receiving the service data of the at least one PIN, the service data of the at least one PIN can be transmitted according to the endpoint information of the second user plane functional network element.
[0019] In one possible implementation, at least one PIN served by the second user plane functional network element includes a first PIN. The above method may also include: the first user plane functional network element receives a first data packet from the first terminal device based on the first session, wherein the first session is a session of the first PIN; the first user plane functional network element transmits the service data of at least one personal Internet of Things network PIN according to the endpoint information of the second user plane functional network element. Specifically, it can be: the first user plane functional network element sends a second data packet to the second user plane functional network element through the endpoint information of the second user plane functional network element according to the first PIN, and the service data included in the first data packet is the same as the service data included in the second data packet.
[0020] Optionally, based on the above implementation method, before sending the second data packet to the second user plane function network element through the endpoint information of the second user plane function network element, the first user plane function network element can also encapsulate the header outside the first data packet to obtain the second data packet, wherein the header carries the identifier of the first PIN.
[0021] Optionally, based on the above implementation method, before sending the second data packet to the second user plane function network element through the endpoint information of the second user plane function network element, the first user plane function network element can also determine, based on the destination address of the first data packet, that the destination address of the first data packet is not the address allocated by the first user plane function network element; and, determine the endpoint information of the second user plane function network element based on the association relationship between the endpoint information of the second user plane function network element and the identifier of at least one PIN served by the second user plane function network element and the identifier of the first PIN.
[0022] Optionally, based on the above implementation method, before receiving the first data packet from the first terminal device based on the first session, the first user plane functional network element may also receive a second message from the session management functional network element, wherein the second message is used to request establishment of a first session of the first PIN; and establish the first session based on the second message.
[0023] Through the above implementation, the first user plane function network element can send the service data of the PIN to the second user plane function network element according to the endpoint information of the second user plane function network element.
[0024] In one possible implementation, at least one PIN served by the first user plane function network element includes a second PIN. The above method may also include: the first user plane function network element receives a third data packet from the second user plane function network element, and the third data packet header includes an identifier of the second PIN; determining a second session based on the second PIN and / or the destination address of the third data packet, wherein the second session is a session of the second PIN; and sending a fourth data packet based on the second session, and the service data included in the fourth data packet is the same as the service data included in the third data packet.
[0025] Through the above implementation, the first user plane function network element can receive the service data of the PIN from the second user plane function network element.
[0026] In a second aspect, embodiments of the present application provide a communication method, which can be executed by a first session management function network element, or by a component of the first session management function network element, without limitation. In the method, the first session management function network element can obtain endpoint information of a second user plane function network element; and send the endpoint information of the second user plane function network element to the first user plane function network element; wherein the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit service data of at least one personal Internet of Things network PIN.
[0027] In one possible implementation, before obtaining the endpoint information of the second user plane function network element, the above method may also include: the first session management function network element sends a first message to the first user plane function network element, the first message being used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element; receiving the endpoint information of the first user plane function network element from the first user plane function network element; and, sending the endpoint information of the first user plane function network element to the second user plane function network element.
[0028] Optionally, the first session management function network element may send the endpoint information of the first user plane function network element to the second user plane function network element in the following manner: the first session management function network element sends the endpoint information of the first user plane function network element to the second user plane function network element through the second session management function network element.
[0029] In one possible implementation, at least one PIN served by the first user plane function network element includes a first PIN. Before sending the first message to the first user plane function network element, the above method may also include: the first session management function network element may receive a third message from a third session management function network element, the third message including an identifier of at least one session management function network element providing services for the first PIN and / or an identifier of at least one user plane function network element providing services for the first PIN, wherein at least one session management function network element includes a second session management function network element, and at least one user plane function network element includes a second user plane function network element.
[0030] Through the above implementation method, the first session management function network element can obtain the identifier of at least one session management function network element that provides services for the first PIN and / or the identifier of at least one user plane function network element that provides services for the first PIN, so that the first session management function network element can determine whether to establish a tunnel between the first user plane function network element and the at least one user plane function network element based on the identifier of the at least one session management function network element and / or the identifier of the at least one user plane function network element, so as to subsequently transmit the service data of the first PIN across regions.
[0031] In a possible implementation, the method may further include: the first session management function network element determining, based on an identifier of the second session management function network element and / or an identifier of the second user plane function network element, to send the first message to the first user plane function network element.
[0032] Through the above implementation method, the first session management function network element can determine whether to establish a tunnel between the first user plane function network element and the second user plane function network element based on the identifier of the second session management function network element and / or the identifier of the second user plane function network element. If the tunnel is not established, the first session management function network element can trigger the first user plane function network element to establish a tunnel with the second user plane function network element.
[0033] In a possible implementation, before receiving the third message from the third session management function network element, the first session management function network element may further send a fourth message to the third session management function network element, where the fourth message is used to subscribe to events of the first PIN.
[0034] Through the above implementation, the third session management function network element can actively send the third message to the first session management function network element, or can also send the third message to the first session management function network element in response to the subscription message of the first session management function network element. The implementation method is flexible.
[0035] In a possible implementation, the above method may also include: the first session management function network element sends the identifier of the first PIN and first information to the third session management function network element, where the first information includes the identifier of the first session management function network element and / or the identifier of the first user plane function network element.
[0036] Through the above implementation method, the first session management function network element can report the identifier of the first PIN and the identifier of the first session management function network element providing services for the first PIN and / or the identifier of the first user plane function network element providing services for the first PIN to the third session management function network element.
[0037] In a possible implementation manner, the third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0038] Optionally, the third message may indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element in the following manner: the third message includes second indication information, and the second indication information is used to indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0039] Through the above implementation method, the third message itself can be used to indicate the establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element, or it can be used to indicate the establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element through the included second indication information. The implementation method is flexible.
[0040] In one possible implementation, before receiving the third message from the third session management function network element, the first session management function network element may also receive a fifth message from the access management function network element, wherein the fifth message is used to request establishment of a first session for the first terminal device with the first PIN; and, based on the fifth message, send a second message to the first user plane function network element, wherein the second message is used to request establishment of a first session for the first PIN.
[0041] In one possible implementation, the first message may instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element in the following manner: the first message includes first indication information, and the first indication information is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element.
[0042] In a possible implementation, the first session management function network element may obtain the endpoint information of the second user plane function network element in the following manner: the first session management function network element receives the endpoint information of the second user plane function network element from the second session management network element.
[0043] In a possible implementation, the above method may also include: the first session management function network element receives the identifier of at least one PIN of the first user plane function network element service from the first user plane function network element; and sends the identifier of at least one PIN of the first user plane function network element service to the second user plane function network element.
[0044] In a possible implementation, the above method may further include: the first session management function network element receiving an identifier of at least one PIN served by the second user plane function network element; and sending an identifier of at least one PIN served by the second user plane function network element to the first user plane function network element.
[0045] In a third aspect, embodiments of the present application provide a communication method, which can be executed by a third session management function network element, or by a component of the third session management function network element, without limitation. In this method, the third session management function network element receives endpoint information of a second user plane function network element from a second user plane function network element; and sends the endpoint information of the second user plane function network element to a first user plane function network element; wherein the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit service data of at least one personal Internet of Things network PIN.
[0046] In one possible implementation, before receiving the endpoint information of the second user plane function network element from the second user plane function network element, the third session management function network element may also send a first message to the first user plane function network element, where the first message is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element; receive the endpoint information of the first user plane function network element from the first user plane function network element; and send the endpoint information of the first user plane function network element to the second user plane function network element.
[0047] In one possible implementation, the third session management function network element may also receive an identifier of at least one PIN of the first user plane function network element service from the first user plane function network element; and send an identifier of at least one PIN of the first user plane function network element service to the second user plane function network element.
[0048] In one possible implementation, the third session management function network element may also receive an identifier of at least one PIN of a second user plane function network element service from the second user plane function network element; and send an identifier of at least one PIN of the second user plane function network element service to the first user plane function network element.
[0049] In one possible implementation, the first message may instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element in the following manner: the first message includes first indication information, and the first indication information is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element.
[0050] In one possible implementation, the third session management function network element receives the endpoint information of the second user plane function network element from the second user plane function network element, which can be: the third session management function network element receives the endpoint information of the second user plane function network element from the second user plane function network element through the second session management function network element; the third session management function network element sends the endpoint information of the second user plane function network element to the first user plane function network element, which can be: the third session management function network element sends the endpoint information of the second user plane function network element to the first user plane function network element through the first session management function network element.
[0051] In one possible implementation, before receiving the endpoint information of the second user plane function network element from the second user plane function network element through the second session management function network element, the third session management function network element may also receive the endpoint information of the first user plane function network element from the first session management function network element; and send the endpoint information of the first user plane function network element to the second user plane function network element through the second session management function network element.
[0052] In one possible implementation, the third session management function network element may also receive an identifier of at least one PIN of a first user plane function network element service from the first session management function network element; send an identifier of at least one PIN of a first user plane function network element service to the second user plane function network element through the second session management function network element; receive an identifier of at least one PIN of a second user plane function network element service from the second session management function network element; and send an identifier of at least one PIN of a second user plane function network element service to the first session management function network element.
[0053] In one possible implementation, at least one PIN includes a first PIN, and the third session management function network element may also send a third message to the second session management function network element, where the third message includes an identifier of at least one session management function network element that provides services for the first PIN and / or an identifier of at least one user plane function network element that provides services for the first PIN.
[0054] In a possible implementation manner, the third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0055] Optionally, the third message may indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element in the following manner: the third message includes second indication information, and the second indication information is used to indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0056] In a possible implementation, the third session management function network element may further receive a fourth message from the second session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
[0057] In one possible implementation, at least one PIN includes a first PIN, and the third session management function network element may further receive an identifier of the first PIN and first information from the first session management device, where the first information includes an identifier of the first session management function network element and / or an identifier of the first user plane function network element.
[0058] In one possible implementation, the third session management function network element may also create a context of the first PIN based on the first information, where the context of the first PIN includes the first information; or, the third session management function network element adds the first information to the context of the first PIN, and determines, based on the context of the first PIN, the identifier of at least one session management function network element that provides services for the first PIN and / or determines the identifier of at least one user plane function network element that provides services for the first PIN.
[0059] In a fourth aspect, an embodiment of the present application provides a communication device. The communication device is configured to execute the method described in the first aspect and any possible implementation thereof. The communication device is, for example, a first user plane function network element, or a functional module in the first user plane function network element, such as a baseband device or a chip system. In one possible implementation, the communication device includes a baseband device and a radio frequency device.
[0060] In another possible implementation, the communication device includes a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module). The transceiver unit is capable of performing both sending and receiving functions. When the transceiver unit performs the sending function, it may be referred to as a sending unit (sometimes also referred to as a sending module); when the transceiver unit performs the receiving function, it may be referred to as a receiving unit (sometimes also referred to as a receiving module). The sending unit and the receiving unit may be the same functional unit, referred to as a transceiver unit, which is capable of both sending and receiving functions; alternatively, the sending unit and the receiving unit may be different functional units, with the transceiver unit being a general term for these functional units.
[0061] In a fifth aspect, embodiments of the present application provide a communications device. The communications device is configured to execute the method described in the second aspect and any possible implementation thereof. The communications device is, for example, a first session management function network element, or a functional module within the first session management function network element, such as a baseband device or a chip system. In one possible implementation, the communications device includes a baseband device and a radio frequency device.
[0062] In another possible implementation, the communication device includes a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module). The transceiver unit is capable of performing both sending and receiving functions. When the transceiver unit performs the sending function, it may be referred to as a sending unit (sometimes also referred to as a sending module); when the transceiver unit performs the receiving function, it may be referred to as a receiving unit (sometimes also referred to as a receiving module). The sending unit and the receiving unit may be the same functional unit, referred to as a transceiver unit, which is capable of both sending and receiving functions; alternatively, the sending unit and the receiving unit may be different functional units, with the transceiver unit being a general term for these functional units.
[0063] In a sixth aspect, embodiments of the present application provide a communications device. The communications device is configured to execute the method described in the third aspect and any possible implementation thereof. The communications device is, for example, a third session management function network element, or a functional module within the third session management function network element, such as a baseband device or a chip system. In one possible implementation, the communications device includes a baseband device and a radio frequency device.
[0064] In another possible implementation, the communication device includes a processing unit (sometimes also referred to as a processing module) and a transceiver unit (sometimes also referred to as a transceiver module). The transceiver unit is capable of performing both sending and receiving functions. When the transceiver unit performs the sending function, it may be referred to as a sending unit (sometimes also referred to as a sending module); when the transceiver unit performs the receiving function, it may be referred to as a receiving unit (sometimes also referred to as a receiving module). The sending unit and the receiving unit may be the same functional unit, referred to as a transceiver unit, which is capable of both sending and receiving functions; alternatively, the sending unit and the receiving unit may be different functional units, with the transceiver unit being a general term for these functional units.
[0065] In a seventh aspect, an embodiment of the present application further provides a communication device. The communication device may include one or more processors. Optionally, the communication device may further include a memory. The memory is used to store one or more computer programs or instructions. The one or more processors are used to execute the one or more computer programs or instructions stored in the memory, so that the communication device performs the method described in the first aspect and any possible implementation thereof, or performs the method described in the second aspect and any possible implementation thereof, or performs the method described in the third aspect and any possible implementation thereof.
[0066] In an eighth aspect, embodiments of the present application further provide a communication system, comprising one or more of the following: the communication device described in the fourth aspect, the communication device described in the fifth aspect, or the communication device described in the sixth aspect.
[0067] In the ninth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store computer programs or instructions. When the computer-readable storage medium is executed, the method described in the first aspect and any possible implementation thereof is implemented, or the method described in the second aspect and any possible implementation thereof is implemented, or the method described in the third aspect and any possible implementation thereof is implemented.
[0068] In the tenth aspect, an embodiment of the present application also provides a computer program product comprising instructions, which, when run on a computer, enables the method described in the above-mentioned first aspect and any possible implementation thereof to be implemented, or enables the method described in the above-mentioned second aspect and any possible implementation thereof to be implemented, or enables the method described in the above-mentioned third aspect and any possible implementation thereof to be implemented.
[0069] In the eleventh aspect, an embodiment of the present application also provides a chip, which is coupled to a memory and is used to read and execute program instructions in the memory, so that the device where the chip is located implements the method described in the above-mentioned first aspect and any possible implementation thereof, or implements the method described in the above-mentioned second aspect and any possible implementation thereof, or implements the method described in the above-mentioned third aspect and any possible implementation thereof.
[0070] For the technical effects that can be achieved in the above-mentioned second to eleventh aspects and any possible implementation methods thereof, please refer to the technical effects that can be achieved in the above-mentioned first aspect and any possible implementation methods thereof, and no repetition will be given. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1a is a schematic diagram of a 5G network architecture based on a service-oriented architecture;
[0072] Figure 1b is a schematic diagram of a 5G network architecture based on a point-to-point interface;
[0073] Figure 1c is a schematic diagram of another 5G network architecture based on a point-to-point interface;
[0074] FIG2a is a schematic diagram of a network architecture for cross-regional communication;
[0075] FIG2 b is a schematic diagram of another cross-region communication network architecture;
[0076] FIG3 is a flow chart of a communication method provided in an embodiment of the present application;
[0077] FIG4 is a flow chart of a communication method provided in an embodiment of the present application;
[0078] FIG5 is a flow chart of another communication method provided in an embodiment of the present application;
[0079] FIG6 is a flow chart of another communication method provided in an embodiment of the present application;
[0080] FIG7 is a flow chart of another communication method provided in an embodiment of the present application;
[0081] FIG8 is a flow chart of another communication method provided in an embodiment of the present application;
[0082] FIG9 is a schematic diagram of a transmission path provided in an embodiment of the present application;
[0083] FIG10 is a flow chart of another communication method provided in an embodiment of the present application;
[0084] FIG11 is a schematic diagram of another transmission path provided in an embodiment of the present application;
[0085] FIG12 is a flow chart of another communication method provided in an embodiment of the present application;
[0086] FIG13 is a schematic diagram of another transmission path provided in an embodiment of the present application;
[0087] FIG14 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0088] FIG15 is a schematic structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0089] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0090] The network architecture and business scenarios described in this application are intended to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Ordinary technicians in this field will know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0091] In the embodiments of the present application, "multiple" may refer to two or more. In view of this, in the embodiments of the present application, "multiple" may also be understood as "at least two". "At least one" may be understood as one or more, for example, one, two or more. For example, "including at least one" means including one, two or more. For example, including at least one of A, B and C, then included may be A, B, C, A and B, A and C, B and C, or A, B and C. "And / or" describes the association relationship of associated objects. Specifically, there may be three relationships. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0092] In addition, the terms "system" and "network" in the embodiments of the present application may be used interchangeably, and "according to" and "based on" may be used interchangeably.
[0093] The ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are generally used to distinguish different objects and are not used to define the order, time sequence, priority, or importance of multiple objects. For example, the first user plane function network element and the second user plane function network element in the embodiments of the present application are used to distinguish two user plane function network elements and do not define the priority or importance of the two user plane function network elements.
[0094] The embodiments of the present application will be presented around a system including multiple devices, components, modules, etc. It should be understood that the system may include other devices, components, modules, etc. not mentioned, or may only include some of the devices, components, or modules, etc. mentioned in the embodiments.
[0095] The following first introduces a communication system to which the embodiments of the present application are applicable.
[0096] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD) system, a fifth generation (5G) communication system, or a new radio (NR) system, and can also be applied to future communication systems or other similar communication systems. The embodiments of the present application are described using a 5G mobile communication system as an example. When the technical solutions of the embodiments of the present application are applied to other communication systems, the devices, components, modules, etc. in the embodiments can be replaced with corresponding devices, components, modules in other communication systems without limitation.
[0097] Figure 1a provides a network architecture for a 5G communication system based on a service-oriented architecture. The network architecture may include user equipment (UE) and an operator network. The network architecture may also include data network (DN) and / or application function (AF) network elements.
[0098] A UE, also known as a terminal device or terminal, is a device with wireless transceiver capabilities that can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; on water (such as ships); or in the air (such as on airplanes, balloons, and satellites). Specifically, a UE can be a mobile phone, a tablet, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal used in industrial control, a wireless terminal used in self-driving cars, a wireless terminal used in remote medical care, a wireless terminal used in smart grids, a wireless terminal used in transportation safety, a wireless terminal used in smart cities, a wireless terminal used in smart homes, a terminal device used in the Internet of Things (IoT) (such as terminal devices in smart factories and smart manufacturing), or a terminal device supporting SparkLink short-range communication technology.
[0099] The operator network may include, but is not limited to, one or more of the following network elements: a network storage function network element, an access management function network element, a policy control function network element, a unified data management network element, a session management function network element, a user plane function network element, and an access network (AN). The portion of the operator network other than the access network may be referred to as the core network (CN). In one possible implementation, the operator network may also include an AF.
[0100] The above-mentioned terminal device can establish a connection with the operator network through the interface provided by the operator network (such as N1, etc.), and use the data and / or voice services provided by the operator network. The terminal device can also access the DN through the operator network, use the operator services deployed on the DN, and / or services provided by a third party. Among them, the above-mentioned third party may be a service provider other than the operator network and the terminal device, and can provide data and / or voice services to the terminal device. Among them, the specific form of the above-mentioned third party can be determined according to the actual application scenario and is not limited here.
[0101] The following is an introduction to some network elements in the core network.
[0102] The network storage function network element is responsible for providing network element discovery functions and providing network element information corresponding to the network element type based on requests from other network elements. Optionally, the network storage function network element can also provide network element management services, such as network element registration, update, deregistration, and network element status subscription and push. In the 5G communication system, the network storage function network element can be a network storage function network element (network repository function, NRF) network element. In future communication systems, the network storage function network element can also have other names, which are not limited.
[0103] The access management function (AMF) network element is responsible for access control and mobility management for terminal devices accessing the operator's network. For example, it performs functions such as mobility status management, allocating temporary user identities, authentication, and authorization. In 5G communication systems, this access management function network element may be the access and mobility management function (AMF) network element. In future communication systems, the access management function network element may also have other names, which are not limited.
[0104] The unified data management network element is responsible for generating authentication credentials, user identification processing (such as storing and managing user permanent identities), and contract data management. In 5G communication systems, this unified data management network element can be a unified data management (UDM) network element. In future communication systems, this unified data management network element can also have other names, which are not limited.
[0105] The session management function (SMF) network element is primarily responsible for session management in mobile networks, such as session establishment, modification, or release. The SMF network element can also allocate Internet Protocol (IP) addresses to users and select user plane function (UPF) network elements that provide message forwarding functions. In 5G communication systems, the SMF network element can be a session management function (SMF) network element. In future communication systems, the SMF network element may have other names, which are not limited.
[0106] The policy control function network element mainly provides policy rules and is responsible for obtaining user subscription information related to policy decisions. In the 4G communication system, the policy control function network element can be a policy and charging rules function (PCRF) network element. In the 5G communication system, the policy control function network element can be a policy control function (PCF) network element. In future communication systems, the policy control function network element can also have other names, which are not limited. The PCFs connected to the AMF and SMF correspond to AM PCF (PCF for access and mobility control) and SM PCF (PCF for session management), respectively, and may not be the same PCF entity in actual deployment scenarios.
[0107] The user plane function network element is responsible for receiving and forwarding user data. For example, it can receive user data from the DN and transmit it to the terminal device via the access network equipment. The user plane function network element can also receive user data from the terminal device via the access network equipment and forward it to the DN. In 5G communication systems, this user plane function network element can be a user plane function (UPF) network element. In future communication systems, the user plane function network element may also have other names, which are not limited.
[0108] AN includes AN equipment. The AN equipment is used to connect the terminal device to the wireless network. As a node in the access network, the AN equipment can also be called an access network element, a base station, a radio access network (RAN) node (or device, or network element), an access point (AP), a small tower, etc. For example, the next generation node B (gNB) in the 5G communication system, the evolved node B (eNB) in the LTE system, the radio network controller (RNC), the node B (NB), the base station controller (BSC), the base transceiver station (BTS), the home node B (HNB), the baseband unit (BBU), the wireless fidelity (WiFi) access point, the transmission reception point (TRP), the transmission point (TP), or the mobile switching center, etc.
[0109] It should be noted that in communication systems using different radio access technologies, the devices that function as base stations may vary. For example, in 5G communication systems, this device may be called a gNB or 5G NodeB; in LTE systems, this device may be called an evolved NodeB (eNB or eNodeB); and in third-generation (3G) communication systems, it may be called a NodeB.
[0110] A DN is a network located outside of a mobile communications system that provides services to users. For example, a DN can be a packet data network (PDN), such as the Internet, an Internet Protocol Multimedia Service (IMS) network, certain application-specific data networks, Ethernet, or an Internet Protocol (IP) local network. A DN can deploy a variety of services, providing data and / or voice services to terminal devices. A DN can contain multiple application servers (ASs), each of which can provide at least one service.
[0111] The AF primarily communicates application-side requirements to the network, such as quality of service (QoS) requirements or user status event subscriptions. The AF can be a third-party functional entity or an application service deployed by an operator, such as the IMS voice call service.
[0112] As mentioned above, Figure 1a mainly introduces the network elements that may be involved in the various embodiments of the present application. The communication system shown in Figure 1a may also involve other network elements. For example, the core network may also include one or more of the following: a unified data repository (UDR) network element, a network slice selection function (NSSF) network element, an authentication server function (AUSF) network element, or a network exposure function (NEF) network element, etc., which are not shown in Figure 1a.
[0113] In Figure 1a, Nnrf, Namf, Npcf, Nsmf, Nudm, Naf, N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers can be found in the definitions of the 3rd Generation Partnership Project (3GPP) standard protocol and are not limited here.
[0114] The 5G network architecture supports 3GPP-defined radio access technologies (RATs) for access to the core network. 3GPP-defined RATs include long-term evolution (LTE) and 5G RAN. The 5G network architecture also supports non-3GPP (N3G) access technologies through the non-3GPP interworking function (N3IWF) or the next-generation packet data gateway (ngPDG).
[0115] When the 5G core network supports untrusted non-3GPP access, the 5G network architecture based on a point-to-point interface is shown in Figure 1b. The access network includes the 3GPP access network and the untrusted non-3GPP access network. Access devices in the 3GPP access network can be referred to as RAN devices. Access devices in the untrusted non-3GPP access network can be referred to as N3IWF devices. N3IWF devices can include routers, etc.
[0116] Figure 1b is a schematic diagram of a 5G network architecture based on a point-to-point interface. The functions of the network elements therein can be described in the same way as in Figure 1a, and will not be repeated here. The main difference between Figure 1b and Figure 1a is that the interfaces between the network elements in Figure 1b are point-to-point interfaces, while the interfaces between the network elements in Figure 1a are service-oriented interfaces. In Figure 1b, N1, N2, N3, N4, N6, N11, NWu, and Y1 are interface serial numbers. The meanings of these interface serial numbers can be found in the definitions in the 3GPP standard protocol and are not limited thereto.
[0117] When the 5G core network supports trusted non-3GPP access and / or wired network access, the 5G network architecture based on the point-to-point interface is shown in Figure 1c. Among them, if the 5G core network supports trusted non-3GPP access, the access network includes a 3GPP access network and a trusted non-3GPP access network, and the access device in the trusted non-3GPP access network can be called a trusted non-3GPP access gateway (trusted non-3GPP gateway function, TNGF). If the 5G core network supports wired network access, the access network includes a 3GPP access network and a wired network, such as a fixed home network, and the TNGF is replaced by a wired network access gateway (wireline access gateway function, W-AGF) (not shown in Figure 1c). The access network equipment between the UE and the access gateway may include a WLAN access point, a fixed access network device (fixed access network, FAN), a switch, a router, etc.
[0118] Figure 1c is a schematic diagram of a 5G network architecture based on a point-to-point interface. The functions of the network elements therein can be described in the same way as in Figure 1a, and will not be repeated here. The main difference between Figure 1c and Figure 1a is that the interfaces between the network elements in Figure 1c are point-to-point interfaces, while the interfaces between the network elements in Figure 1a are service-oriented interfaces. In Figure 1c, N1, N2, N3, N6, N11, NWu, and Uu are interface serial numbers. The meanings of these interface serial numbers can be found in the definitions in the 3GPP standard protocol and are not limited thereto.
[0119] It can be seen that the core network can adopt the 3GPP access core network architecture and service interface shown in Figure 1a, or can adopt the network architecture and point-to-point interface protocol shown in Figure 1b or Figure 1c.
[0120] It is understood that the network elements or functions shown in any of the communication architectures in Figures 1a, 1b, and 1c can be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (e.g., a cloud platform). In one possible implementation, the network elements or functions can be implemented by a single device, by multiple devices, or as a functional module within a single device, without specific limitation.
[0121] In addition, for the sake of convenience, the device names mentioned in this application may omit the word "network element". For example, SMF network element and SMF have the same meaning. For another example, UPF network element and UPF have the same meaning.
[0122] It should be understood that the communication system shown in any of Figures 1a, 1b and 1c does not constitute a limitation on the communication system to which the embodiments of the present application are applicable. The communication method provided in the embodiments of the present application can also be applied to various communication systems, such as: LTE communication system, 5G communication system, 6G communication system and future communication system, vehicle to everything (V2X), LTE-vehicle (LTE-V), vehicle to vehicle (V2V), Internet of Vehicles, machine type communications (MTC), IoT, LTE-machine to machine (LTE-M), machine to machine (M2M), Internet of Things, etc.
[0123] In addition, the embodiments of the present application do not limit the names of the network elements in the communication system. For example, in communication systems of different standards, each network element may have other names; for example, when multiple network elements are integrated into the same physical device, the physical device may also have other names.
[0124] Next, the technical features involved in the embodiments of this application are introduced.
[0125] In consumer-oriented personal services, multiple terminal devices can form a group, such as various terminal devices in a user's home forming a group. Similarly, in enterprise-oriented services, multiple terminal devices can also form a group, such as the terminal devices of enterprise employees forming a group. Such a group composed of multiple terminal devices can be called a personal Internet of Things (IoT) network (personal internet of things network, PIN). For the sake of convenience, the following text will take PIN as an example. In other words, PIN can be a subnet composed of multiple terminal devices in a home, or a subnet composed of multiple terminal devices in an enterprise (or campus). PIN members may need to communicate across regions, so a connection needs to be established between PIN members. Taking the home PIN as an example, if a terminal device moved to the far field needs to access the terminal device at home, it needs to establish a connection with the terminal device at home.
[0126] Figure 2a provides a network architecture for a cross-regional communication system. Figure 2a uses a home PIN as an example. Alternatively, the home can be replaced with a campus. Compared to the system architectures shown in Figures 1a, 1b, or 1c, this system primarily enhances the functionality of the SMF and UPF.
[0127] The enhanced SMF is mainly responsible for the session management of PINs in the entire public land mobile network (PLMN), or for the session management of PINs in at least one area in the PLMN. The enhanced SMF can still be called SMF, or can also be called PIN-SMF. The embodiment of the present application does not limit the name of the enhanced SMF. For the convenience of description, the PIN-SMF is taken as an example below. The number of PIN-SMFs deployed in the PLMN can be one or more, without limitation. For example, assuming that the number of PINs is 10,000, recorded as PIN1, PIN2, ..., PIN10000, the number of PIN-SMFs can be 2, recorded as PIN-SMF1 and PIN-SMF2, PIN-SMF1 is responsible for the session management of PIN1 to PIN5000, and PIN-SMF2 is responsible for the session management of PIN5001 to PIN10000. When multiple PIN-SMFs are deployed, one PIN is managed by one PIN-SMF. FIG2 a takes a PIN-SMF as an example, and the PIN-SMF is responsible for session management of PINs in areas 1 , 2 , and 3 .
[0128] The enhanced UPF is primarily responsible for receiving and forwarding user data for PINs throughout the entire PLMN, or for receiving and forwarding user data for all or a portion of PINs within a specific area of the PLMN. This enhanced UPF can still be referred to as a UPF or a PIN-UPF. This embodiment of the present application does not limit the name of the enhanced UPF. For ease of description, the following uses the PIN-UPF as an example. The number of PIN-UPFs deployed in a PLMN can be one or more, without limitation. Unless otherwise specified, the following uses the deployment of multiple PIN-UPFs in a PLMN as an example. A single PIN-UPF or multiple PIN-UPFs can be deployed in a specific area, without limitation. Figure 2a illustrates the deployment of one PIN-UPF in a specific area. Specifically, PIN-UPF1 is deployed in area 1 and is responsible for receiving and forwarding user data for all PINs in area 1; PIN-UPF2 is deployed in area 2 and is responsible for receiving and forwarding user data for all PINs in area 2; and PIN-UPF3 is deployed in area 3 and is responsible for receiving and forwarding user data for all PINs in area 3. PIN-UPFs in different regions can establish connections, such as N19 connections, to achieve cross-region communication. A connection may or may not be established between a PIN-UPF and a PIN-SMF, as shown by a dotted line in Figure 2a.
[0129] One or more SMFs can be deployed in an area to be responsible for the session management of PINs in the area. The SMF deployed in this area can still be called SMF, or it can also be called local SMF (denoted as L-SMF). The embodiment of this application does not limit the name of the SMF deployed in this area. For ease of distinction, L-SMF is used as an example below. Connections can be established between multiple L-SMFs in an area. Connections can be established between multiple L-SMFs in different areas, or they may not be established, which is represented by dotted lines in Figure 2a.
[0130] A connection can be established between the PIN-SMF and the L-SMFs in multiple areas served by the PIN-SMF. A connection can be established between the PIN-UPF and the L-SMFs in the area served by the PIN-UPF.
[0131] In one possible implementation, one or more UPFs may be deployed in an area to be responsible for receiving and forwarding user data of PINs in the area, as shown in Figure 2b. The UPF deployed in this area may still be referred to as a UPF, or may also be referred to as a local UPF (denoted as L-UPF). The embodiment of this application does not limit the name of the UPF deployed in this area. For ease of distinction, the following text takes L-UPF as an example. Multiple L-UPFs in an area may establish a connection, such as establishing an N19 connection, or may not establish a connection, without limitation. A connection may be established between a PIN-UPF and the L-UPF in the area served by the PIN-UPF, such as establishing an N19 connection.
[0132] It should be noted that N19 is the interface serial number. The specific meaning can be found in the definition in the 3GPP standard protocol and is not limited.
[0133] It should be noted that the communication system shown in Figures 2a and 2b may also involve other network elements, such as AMF, UDM, UDR, NRF, etc., which are not shown in Figures 2a and 2b. For details, please refer to the communication system shown in any of the aforementioned Figures 1a, 1b, or 1c, and will not be repeated here. In Figures 2a and 2b, the division of Area 1, Area 2, and Area 3 is represented by thick dashed lines. In addition, this application does not limit the specific division rules of each area.
[0134] Currently, the 5G core network supports cross-region communication between PIN-UPFs in two regions by establishing tunnels between them. While different members of the same PIN can share the same tunnel, members of different PINs must establish separate tunnels. When a large number of PINs communicate across regions, the number of tunnels required between PIN-UPFs also increases, hindering management. The signaling overhead associated with establishing tunnels is also high, leading to significant network resource consumption.
[0135] As an example, assume that PIN network gateway function device (PIN element with gateway capability, PEGC) 1 and UE2 in Figure 2a or Figure 2b are members of PIN1. UE2 moves from area 1 to area 2. When UE2 needs to communicate with PEGC1, a connection needs to be established between UE2 and PEGC1. For example, Tunnel 1 is established between PIN-UPF1 and PIN-UPF2 for PIN1 to enable cross-area communication between UE2 and PEGC1. Furthermore, if UE1 is also a member of PIN1, when UE2 needs to communicate with UE1, since UE1 is a member of PIN1 and Tunnel 1 has been established between PIN-UPF1 and PIN-UPF2 for PIN1, PIN-UPF2 can enable cross-area communication between UE2 and UE1 through Tunnel 1.
[0136] As another example, assume that PEGC1 and UE2 in Figure 2a or 2b are members of PIN1, and UE1 and UE2 are members of PIN2. UE2 moves from region 1 to region 2. When UE2 needs to communicate with PEGC1, Tunnel 1 is established between PIN-UPF1 and PIN-UPF2 for PIN1, enabling cross-region communication between UE2 and PEGC1. Furthermore, when UE2 needs to communicate with UE1, since UE1 is a member of PIN2, Tunnel 1 established between PIN-UPF1 and PIN-UPF2 for PIN1 cannot be reused. Therefore, a connection must be established between UE2 and UE1. For example, Tunnel 2 is established between PIN-UPF1 and PIN-UPF2 for PIN2, enabling cross-region communication between UE2 and UE1. This indicates that when the number of PINs involved in cross-region communication between PIN-UPF1 and PIN-UPF2 is large, more tunnels must be established between PIN-UPF1 and PIN-UPF2, resulting in significant network resource consumption.
[0137] In view of this, embodiments of the present application provide a communication method and apparatus for reducing the number of tunnels established between UPFs during cross-regional communication and reducing network resource consumption. This method can be applied to the communication system shown in any of Figures 1a, 1b, 1c, 2a, or 2b, but is not limited thereto. The following is an introduction to the technical terms involved in the embodiments of the present application.
[0138] For the sake of convenience of description, the first user plane function network element is referred to as the first UPF, the second user plane function network element is referred to as the second UPF, the first session management function network element is referred to as the first SMF, the second session management function network element is referred to as the second SMF, the third session management function network element is referred to as the third SMF, and the access management function network element is referred to as the AMF.
[0139] A PIN, also known as a subnet, network, PIN subnet, or PIN group, can be understood as a network consisting of at least one terminal device, a subnet consisting of at least one terminal device, or a group consisting of at least one terminal device. For example, a network consisting of at least one terminal device in a home. Another example is a network consisting of at least one terminal device in an enterprise (or campus).
[0140] The identifier of the PIN can be used to identify the PIN. The identifier of the PIN can be the identifier of the PIN itself, or it can be the data network name (DNN), or it can be slice information, or it can be DNN and slice information, etc. In other words, the DNN and / or slice information can be used to implicitly identify the PIN. For example, when the DNN can uniquely identify the PIN, that is, the DNN and the PIN have a one-to-one correspondence, the identifier of the PIN can be the DNN. Alternatively, when the slice information can uniquely identify the PIN, that is, the slice information and the PIN have a one-to-one correspondence, the identifier of the PIN can be the slice information. Alternatively, when the combination of the DNN and the slice information can uniquely identify the PIN, that is, the combination of the DNN and the slice information has a one-to-one correspondence with the PIN, the identifier of the PIN can be the DNN and the slice information.
[0141] The first UPF can be a PIN-UPF or a component within a PIN-UPF in the network architecture shown in FIG. 2a or FIG. 2b , or an L-UPF or a component within an L-UPF in the network architecture shown in FIG. 2b , without limitation. To facilitate understanding of the embodiments of the present application, unless otherwise specified, the following text uses the PIN-UPF in the network architecture shown in FIG. 2a or FIG. 2b as an example.
[0142] The first SMF may be the L-SMF or a component in the L-SMF in the network architecture shown in FIG2a or FIG2b , without limitation. The first SMF and the first UPF are located in the same area.
[0143] The second UPF can be a PIN-UPF or a component within a PIN-UPF in the network architecture shown in Figures 2a or 2b, or an L-UPF or a component within an L-UPF in the network architecture shown in Figure 2b, without limitation. If the second UPF is a PIN-UPF (or a component within a PIN-UPF), the second UPF and the first UPF are located in different regions. To facilitate understanding of the embodiments of the present application, unless otherwise specified, the following description uses the second UPF as an example, assuming it is a PIN-UPF in the network architecture shown in Figures 2a or 2b.
[0144] The second SMF can be a PIN-SMF or a component in a PIN-SMF in the network architecture shown in Figure 2a or Figure 2b, or it can be an L-SMF or a component in an L-SMF in the network architecture shown in Figure 2a or Figure 2b, without limitation. If the second SMF is an L-SMF (or a component in an L-SMF), the second SMF and the second UPF are located in the same area. In order to facilitate understanding of the embodiments of the present application, unless otherwise specified, the following text takes the second SMF as an L-SMF in the network architecture shown in Figure 2a or Figure 2b as an example.
[0145] The third SMF may be a PIN-SMF or a component of a PIN-SMF in the network architecture shown in Figure 2a or Figure 2b. If the second SMF is a PIN-SMF, the second SMF and the third SMF may be the same PIN-SMF or different PIN-SMFs, without limitation.
[0146] In the embodiments of the present application, the connection established between UPFs can be referred to as a tunnel, a channel, or a transmission path, without limitation. The tunnel can be a General Packet Radio Service Tunnel Protocol User Plane (GTP-U) tunnel, or a tunnel defined by other protocols, without limitation. For ease of understanding, the following text uses a tunnel as an example.
[0147] For ease of description, the embodiment of the present application refers to the tunnel established between the first UPF and the second UPF as the first tunnel. The first tunnel can be used to transmit the business data of one PIN or for transmitting the business data of multiple PINs. For example, if the first UPF and the second UPF are two L-UPFs in the same area or are L-UPF and PIN-UPF in the same area, then the first tunnel can be used to transmit the business data of one PIN. Alternatively, if the first UPF and the second UPF are PIN-UPFs in different areas, then the first tunnel can be used to transmit the business data of one PIN or for transmitting the business data of multiple PINs. It should be noted that the embodiment of the present application does not limit the specific division rules of the areas.
[0148] The term "business data of at least one PIN" involved in the embodiments of this application can be replaced with "business data of one PIN or business data of multiple PINs", and "business data of one or more PINs" can be replaced with "business data of one PIN or business data of multiple PINs", which will not be repeated below.
[0149] In the embodiment of the present application, the interface between PIN-UPF and PIN-UPF can still be called N19 interface, or N19+ interface, or N20 interface, or Nx interface, etc., without limitation.
[0150] Figure 3 shows a flow chart of a communication method provided by an embodiment of the present application. As shown in Figure 3, the method may include the following steps.
[0151] S301: The first UPF obtains endpoint information of the second UPF.
[0152] Among them, the endpoint information may include TEID and IP address, but the embodiment of the present application is not limited to this. The endpoint information of the second UPF can be understood as the endpoint information of the first tunnel on the second UPF side. The first tunnel can be used to transmit the business data of at least one PIN. For the description of the first tunnel, please refer to the above content and will not be repeated. Among them, at least one PIN includes a first PIN. For example, the first UPF can obtain the endpoint information of the second UPF in response to establishing a tunnel between the first UPF and the second UPF for the first PIN, so as to establish a first tunnel for transmitting at least one PIN; or, after the first tunnel is established, the first UPF can obtain the endpoint information of the second UPF in response to the received business data of the first PIN, so as to forward the business data of the first PIN to the second UPF through the first tunnel. The embodiment of the present application does not limit the triggering conditions for the first UPF to obtain the endpoint information of the second UPF.
[0153] Exemplarily, the first UPF may obtain the endpoint information of the second UPF based on the following methods.
[0154] Mode 1: The first SMF sends the endpoint information of the second UPF to the first UPF; accordingly, the first UPF can receive the endpoint information of the second UPF from the first SMF. The first SMF is an L-SMF and is located in the same area as the first UPF.
[0155] Mode 2: The third SMF sends the endpoint information of the second UPF to the first UPF; accordingly, the first UPF can receive the endpoint information of the second UPF from the third SMF. The third SMF is a PIN-SMF.
[0156] Mode 3: The first UPF may determine the endpoint information of the second UPF based on its own stored parameters. For example, after the first tunnel between the first UPF and the second UPF is established, the first UPF may determine the endpoint information of the second UPF based on its own stored parameters, without limitation.
[0157] It should be pointed out that the technical terms involved in the embodiments of the present application, such as the first UPF, the second UPF, the first SMF, the third SMF, and the PIN, can all refer to the above content and will not be repeated here.
[0158] S302: The first UPF transmits service data of at least one PIN according to the endpoint information of the second UPF.
[0159] The first UPF transmitting the service data of at least one PIN based on the endpoint information of the second UPF can be replaced by the first UPF transmitting the service data of one PIN or transmitting the service data of multiple PINs based on the endpoint information of the second UPF. For example, the first UPF can send the service data of at least one PIN to the second UPF based on the endpoint information of the second UPF; accordingly, the second UPF receives the service data of at least one PIN from the first UPF.
[0160] For example, the first UPF transmitting the service data of at least one PIN based on the endpoint information of the second UPF can be replaced by the first UPF transmitting the service data of at least one PIN through the first tunnel. For example, the first UPF sends the service data of at least one PIN to the second UPF through the first tunnel; correspondingly, the second UPF receives the service data of at least one PIN from the first UPF through the first tunnel.
[0161] It should be noted that if the first UPF and the second UPF are two L-UPFs in the same area or an L-UPF and a PIN-UPF in the same area, the first UPF can transmit the service data of a PIN (such as the first PIN) based on the endpoint information of the second UPF. Alternatively, if the first UPF and the second UPF are PIN-UPFs in different areas, the first UPF can transmit the service data of at least one PIN based on the endpoint information of the second UPF, and the at least one PIN includes the first PIN.
[0162] In the embodiment shown in Figure 3, the first UPF transmits the business data of at least one PIN according to the endpoint information of the second UPF, which means that when the first UPF and the second UPF are PIN-UPFs located in different areas, the first UPF can transmit the business data of multiple PINs based on the endpoint information of the second UPF, and realize cross-regional communication of the multiple PINs through one tunnel, which can reduce the number of tunnels established between UPFs during cross-regional communication and reduce the consumption of network resources.
[0163] Based on the embodiment shown in FIG3 , the method may further include: the first SMF triggering the first UPF to establish a first session for the first PIN for the first terminal device. For example, the first terminal device sends a sixth message to the AMF, where the sixth message is used to request establishment of the first session for the first terminal device; the AMF receives the sixth message from the first terminal device and, based on the sixth message, sends a fifth message to the first SMF, where the fifth message is used to request establishment of the first session for the first terminal device; the first SMF receives the fifth message from the AMF and, based on the fifth message, sends a second message to the first UPF, where the second message is used to request establishment of the first session for the first PIN; the first UPF receives the second message from the first SMF and establishes the first session based on the second message, as shown in FIG4 .
[0164] S401: The first terminal device sends a sixth message to the AMF.
[0165] Accordingly, the AMF receives a sixth message from the first terminal device.
[0166] Exemplarily, the first terminal device may send the sixth message to the AMF via the RAN; accordingly, the AMF receives the sixth message from the first terminal device via the RAN, which is not shown in Figure 4.
[0167] Among them, the sixth message can be used to request to establish a first session of the first PIN for the first terminal device. The sixth message can be a UL NAS transport message, and the UL NAS transport message can include a PDU session establishment request message. Alternatively, the sixth message can also be a PDU session establishment request message. The embodiment of the present application does not limit the specific implementation method of the sixth message.
[0168] The sixth message may include second information. The second information may include one or more of the following: an identifier of the first PIN, a DNN, or slice information. The DNN and / or slice information may implicitly indicate the first PIN. For example, the identifier of the first PIN may be the DNN and / or slice information. For details, please refer to the aforementioned technical terms and will not be repeated here.
[0169] S402: The AMF determines the first SMF based on the second information.
[0170] The AMF can select the L-SMF based on the second information. The embodiment of the present application takes the example of the AMF selecting the first SMF based on the second information. For example, the AMF can select the first SMF based on the identifier of the first PIN. The identifier of the first PIN can come from the first terminal device (such as the second information includes the identifier of the first PIN), or it can be determined by the AMF, without limitation. For example, the second information includes the DNN, the AMF can obtain the subscription data of the first terminal device, determine the identifier of the first PIN based on the subscription data and the DNN, and the subscription data includes information on the correspondence between the identifier of the PIN and the DNN. For another example, the second information includes slice information, the AMF can obtain the subscription data of the first terminal device, determine the identifier of the first PIN based on the subscription data and the slice information, and the subscription data includes information on the correspondence between the identifier of the PIN and the slice information. For another example, the second information includes the DNN and slice information, the AMF can obtain the subscription data of the first terminal device, determine the identifier of the first PIN based on the subscription data, the DNN and the slice information, and the subscription data includes information on the correspondence between the identifier of the PIN and the DNN and the slice information. Optionally, the contract data may also include one or more of the following: information on the correspondence between the PIN identifier and the L-SMF identifier, information on the correspondence between the DNN identifier and the L-SMF identifier, information on the correspondence between the slice information and the L-SMF identifier, or information on the correspondence between the DNN and slice information and the L-SMF identifier. The embodiment of the present application does not limit the specific implementation process of the AMF obtaining the contract data of the first terminal device.
[0171] As an example, the AMF may send the second information to the NRF, and the NRF selects the L-SMF (i.e., the SMF serving a certain area, or the SMF serving the PLMN) and feeds back the selection result to the AMF. For example, the NRF receives the second information and determines the identifier of the first SMF based on the NRF policy and the second information. Specifically, the NRF stores the correspondence between the identifier of the PIN and the identifier of the L-SMF, which may be the correspondence between the identifier of at least one PIN (or the identifier segment of the PIN) and the identifier of the L-SMF (or the identifier segment). For example, PIN1 to PIN10 correspond to L-SMF1, and PIN11 to PIN20 correspond to L-SMF2. For another example, PIN1 to PIN10 correspond to L-SMF1 to L-SMF5, and PIN11 to PIN20 correspond to L-SMF6 to L-SMF10. Based on the second information and the correspondence between the identifier of the PIN and the identifier of the L-SMF, the NRF determines one or more L-SMFs corresponding to the first PIN, and determines the first SMF from the one or more L-SMFs corresponding to the first PIN. Optionally, when the first PIN corresponds to multiple L-SMFs, the NRF may further determine the first SMF from the multiple L-SMFs corresponding to the first PIN based on the DNN and / or slice information, such as selecting an L-SMF that supports the DNN and / or the slice information from the multiple L-SMFs as the first SMF. Furthermore, the NRF sends the identifier of the first SMF to the AMF; accordingly, the AMF receives the identifier of the first SMF from the NRF and further determines the first SMF.
[0172] Optionally, the identifier of the PIN mentioned above can be a DNN. Accordingly, the correspondence between the identifier of the PIN stored in the NRF and the identifier of the L-SMF can be replaced by the correspondence between the identifier of the DNN stored in the NRF and the identifier of the L-SMF, such as the correspondence between the identifier of at least one DNN and the identifier of the L-SMF. For example, DNN1 to DNN10 correspond to L-SMF1, and DNN11 to DNN20 correspond to L-SMF2, without limitation. Furthermore, the NRF can determine the first SMF based on the second information and the correspondence between the identifier of the DNN and the identifier of the L-SMF. For details, please refer to the above content and will not be repeated here.
[0173] Optionally, the identifier of the PIN mentioned above can be slice information. Accordingly, the correspondence between the identifier of the PIN stored in the NRF and the identifier of the L-SMF can be replaced by the correspondence between the slice information stored in the NRF and the identifier of the L-SMF, such as the correspondence between at least one slice information and the identifier of the L-SMF. For example, slices 1 to 5 correspond to L-SMF1, and slices 6 to 10 correspond to L-SMF2, without limitation. Furthermore, the NRF can determine the first SMF based on the correspondence between the second information and the slice information and the identifier of the L-SMF. For details, please refer to the above content and will not be repeated here.
[0174] Optionally, the aforementioned PIN identifier can be a combination of DNN and slice information. Accordingly, the correspondence between the identifier of the PIN stored in NRF and the identifier of the L-SMF can be replaced by the correspondence between the DNN and slice information stored in NRF and the identifier of the L-SMF. For example, DNN1 and slice 1, DNN2 and slice 2, DNNn and slice n correspond to L-SMF1, without limitation. Furthermore, NRF can determine the first SMF based on the correspondence between the DNN and slice information and the identifier of the L-SMF and the second information. For details, please refer to the above content and will not be repeated here.
[0175] As another example, the AMF local policy is configured with information about the correspondence between the identifier of the PIN and the identifier of the L-SMF. The AMF can determine the first SMF based on the local policy and the second information. For example, the AMF receives the second information and determines the identifier of the first SMF based on the local policy and the second information. The specific implementation process can refer to the previous example, that is, replacing the NRF with the AMF, and replacing the NRF policy with the local policy, which will not be repeated.
[0176] As another example, the contract data of the first terminal device includes information on the correspondence between the identifier of the PIN and the identifier of the L-SMF, and the AMF can determine (or select) the first SMF based on the identifier of the first PIN and the contract data. Specifically, the AMF determines (or selects) the first SMF based on the correspondence between the identifier of the PIN and the identifier of the L-SMF and the identifier of the first PIN. The information on the correspondence between the identifier of the PIN and the identifier of the L-SMF can be replaced with information on the correspondence between the identifier of the DNN and the identifier of the L-SMF, or replaced with information on the correspondence between the slice information and the identifier of the L-SMF, or replaced with information on the correspondence between the DNN and the slice information and the identifier of the L-SMF.
[0177] As another example, the AMF locally stores information on the correspondence between the identifier of the PIN and the identifier of the L-SMF. The AMF can determine (or select) the first SMF based on the correspondence between the identifier of the locally stored PIN and the identifier of the L-SMF and the identifier of the first PIN. The information on the correspondence between the identifier of the PIN and the identifier of the L-SMF can be replaced with information on the correspondence between the identifier of the DNN and the identifier of the L-SMF, or with information on the correspondence between the slice information and the identifier of the L-SMF, or with information on the correspondence between the DNN and the identifier of the slice information and the L-SMF.
[0178] S403: The AMF sends a fifth message to the first SMF.
[0179] Accordingly, the first SMF receives the fifth message from the AMF.
[0180] The fifth message may be used to request establishment of a first session for the first PIN for the first terminal device. The fifth message may include a PDU session establishment request message, and the first SMF may parse the fifth message to obtain the PDU session establishment request message. Alternatively, the fifth message may be a PDU session establishment request message. The embodiments of the present application do not limit the specific implementation of the fifth message.
[0181] The fifth message includes the third information, such as the third information included in the PDU session establishment request message in the fifth message. The third information may include one or more of the following: an identifier of the first PIN, a DNN, or slice information.
[0182] It should be noted that the AMF and the first SMF can interact directly or through other SMFs (such as an intermediate SMF (I-SMF)). That is, the AMF is first connected to the I-SMF, and the I-SMF is then connected to the first SMF, without limitation. For example, S403 can be expressed as: the AMF sends the fifth message to the I-SMF; the I-SMF receives the fifth message from the AMF and sends the fifth message to the first SMF; the first SMF receives the fifth message from the I-SMF.
[0183] S404: The first SMF determines the first UPF according to the third information.
[0184] The first SMF can select a PIN-UPF based on the third information. The embodiment of the present application takes the example of the first SMF selecting the first UPF based on the third information. For example, the first SMF can select the first UPF based on the identifier of the first PIN. The identifier of the first PIN can come from the AMF (such as the third information includes the identifier of the first PIN), or it can be determined by the first SMF, without limitation. For example, the third information includes the DNN, the first SMF can obtain the contract data of the first terminal device, determine the identifier of the first PIN based on the contract data and the DNN, and the contract data includes information on the correspondence between the identifier of the PIN and the DNN. For another example, the third information includes slice information, the first SMF can obtain the contract data of the first terminal device, determine the identifier of the first PIN based on the contract data and the slice information, and the contract data includes information on the correspondence between the identifier of the PIN and the slice information. For another example, the third information includes the DNN and the slice information, the first SMF can obtain the contract data of the first terminal device, determine the identifier of the first PIN based on the contract data, the DNN and the slice information, and the contract data includes information on the correspondence between the identifier of the PIN and the DNN and the slice information. Optionally, the contract data may further include one or more of the following: information on the correspondence between the PIN identifier and the PIN-UPF identifier, information on the correspondence between the DNN identifier and the PIN-UPF identifier, information on the correspondence between the slice information and the PIN-UPF identifier, or information on the correspondence between the DNN and slice information and the PIN-UPF identifier. This embodiment of the application does not limit the specific implementation process of the first SMF obtaining the contract data of the first terminal device.
[0185] As an example, the first SMF can send the third information to the NRF, and the NRF selects a PIN-UPF and feeds back the selection result to the first SMF. For example, the NRF receives the third information and determines the identifier of the first UPF based on the NRF policy and the third information. The specific implementation process can refer to the relevant content of S402, that is, replacing the second information with the third information and replacing the L-SMF with the PIN-UPF. Furthermore, the NRF sends the identifier of the first UPF to the first SMF; accordingly, the first SMF receives the identifier of the first UPF from the URF and then determines the first UPF.
[0186] As another example, the local policy of the first SMF is configured with information on the correspondence between the PIN identifier and the PIN-UPF identifier. The first SMF can determine the first UPF based on the local policy and the third information. The information on the correspondence between the PIN identifier and the PIN-UPF identifier can be replaced with information on the correspondence between the DNN identifier and the PIN-UPF identifier, or with information on the correspondence between slice information and the PIN-UPF identifier, or with information on the correspondence between the DNN and slice information and the PIN-UPF identifier. For the specific implementation process, please refer to the relevant content of S402 and will not be repeated here.
[0187] As another example, the contract data of the first terminal device includes information on the correspondence between the identifier of the PIN and the identifier of the PIN-UPF, and the first SMF can determine (or select) the first UPF based on the identifier of the first PIN and the contract data. Specifically, the first SMF determines (or selects) the first UPF based on the correspondence between the identifier of the PIN and the identifier of the PIN-UPF and the identifier of the first PIN. Among them, the information on the correspondence between the identifier of the PIN and the identifier of the PIN-UPF can be replaced with information on the correspondence between the identifier of the DNN and the identifier of the PIN-UPF, or replaced with information on the correspondence between the slice information and the identifier of the PIN-UPF, or replaced with information on the correspondence between the DNN and the slice information and the identifier of the PIN-UPF. For the specific implementation process, please refer to the relevant content of S402 and will not be repeated here.
[0188] As another example, the first SMF locally stores information on the correspondence between the PIN identifier and the PIN-UPF identifier. The first SMF can determine (or select) the first UPF based on the locally stored correspondence between the PIN identifier and the PIN-UPF identifier and the identifier of the first PIN. The information on the correspondence between the PIN identifier and the PIN-UPF identifier can be replaced with information on the correspondence between the DNN identifier and the PIN-UPF identifier, or with information on the correspondence between the slice information and the PIN-UPF identifier, or with information on the correspondence between the DNN and the slice information and the PIN-UPF identifier. For the specific implementation process, please refer to the relevant content of S402 and will not be repeated here.
[0189] S405: The first SMF sends a second message to the first UPF.
[0190] Accordingly, the first UPF receives the second message from the first SMF.
[0191] The second message may be used to request the establishment of a first session for the first PIN, such as requesting the establishment of a first session for the first terminal device. Optionally, the second message may include an identifier of the first PIN and an identifier of the first terminal device. The second message may be, for example, a packet forwarding control protocol (PFCP) session, without limitation. Optionally, the second message may also include one or more of the following: an identifier of the first PIN, a DNN, or slice information, and at least one of the identifier, DNN, or slice information of the first PIN may be used to indicate that the PFCP session is a PFCP session for the first PIN.
[0192] S406: The first UPF establishes a first session according to the second message.
[0193] In response to the second message, the first UPF establishes the first session, such as by assigning an IP address to the first terminal device. The embodiments of the present application do not limit the specific implementation process of the first UPF establishing the first session. Optionally, the first UPF may associate the first session with the first PIN. Specifically, the first UPF associates the first session with the first PIN based on at least one of the identifier, DNN, or slice information of the first PIN, so as to subsequently determine the session corresponding to the PIN.
[0194] Optionally, if the first UPF is an L-UPF, the first SMF may further determine whether a tunnel is established between the first UPF and the PIN-UPF in the area where the first UPF is located. If no tunnel is established, the first SMF instructs the first UPF to establish a tunnel, such as establishing an N19 connection, between the first UPF and the PIN-UPF in the area where the first UPF is located. The specific implementation process is not limited.
[0195] At this point, the first session is established. Afterwards, the first terminal device can transmit the service data of the first PIN based on the first session.
[0196] It should be pointed out that other terminal devices that belong to the same PIN as the first terminal device can also use the above solution to establish a session of the first PIN. For example, the first terminal device and the third terminal device both belong to the first PIN, and the third terminal device and the first UPF can establish the fifth session of the first PIN. For details, please refer to the implementation process of the first session and will not be repeated here. Optionally, the first UPF can store (or maintain) the correspondence between the identifier of the PIN and multiple sessions of the PIN. For example, the first UPF can store the correspondence between the identifier of the first PIN and the identifier of the first session and the identifier of the third session. Among them, the identifier of the PIN can be replaced with the identifier of the DNN corresponding to the PIN, or replaced with the slice information corresponding to the PIN, or replaced with the DNN and slice information corresponding to the PIN.
[0197] Furthermore, when multiple sessions are connected to the first UPF, and the multiple sessions all belong to the same PIN, the first UPF can transmit the business data of the PIN between the multiple sessions based on the local switch scheme. Specifically, the first UPF can determine that the multiple sessions correspond to the same PIN based on the correspondence between at least one of the PIN identifier, DNN, and slice information and the session identifier, that is, the multiple sessions correspond to the same PIN identifier (or correspond to the same DNN and / or slice information), and transmit the business data of the PIN between the multiple sessions according to the local switch scheme. For example, the first UPF can determine that the first session and the fifth session are both sessions of the first PIN based on the correspondence between the PIN identifier and the session, the identifier of the first session, and the identifier of the fifth session, and transmit the business data of the first PIN between the first session and the fifth session according to the local switch scheme.
[0198] For example, the first UPF may transmit the service data of the first PIN between the first session and the fifth session according to the following steps:
[0199] Step A1: The first terminal device sends a fifth data packet to the first UPF based on the first session; accordingly, the first UPF receives the fifth data packet from the first terminal device.
[0200] In step A2, the first UPF determines the fifth session of the first PIN. Specifically, the first UPF can determine the packet detection rule (PDR) that matches the fifth data packet based on the flow description information of the fifth data packet, and obtain the indication information that the destination interface of the fifth data packet is the internal interface and / or the identifier of the first PIN based on the forwarding action rule (FAR) associated with the PDR. The first UPF determines that the first session is the session of the first PIN, deletes the external header of the fifth data packet to obtain the sixth data packet, and sends the sixth data packet to the internal interface. Furthermore, the first UPF performs PDR matching based on the destination address of the sixth data packet and / or the identifier of the first PIN to obtain the PDR of the fifth session, thereby determining the fifth session of the first PIN.
[0201] In step A3, the first UPF sends a seventh data packet to the third terminal device based on the fifth session. Accordingly, the third terminal device receives the seventh data packet from the first UPF. For example, the first UPF may encapsulate the sixth data packet based on the FAR associated with the PDR of the fifth session to obtain the seventh data packet.
[0202] In the embodiment shown in FIG3 , it is mentioned that the first UPF can obtain the endpoint information of the second UPF through method 1 , method 2 or method 3 , which is described in detail below in conjunction with FIG5 , FIG6 and FIG7 .
[0203] As shown in Figure 5, for the above-mentioned method 1, S301 (i.e., the first UPF obtains the endpoint information of the second UPF) can be implemented through S504 and S505. Optionally, based on the embodiment shown in Figure 3 or Figure 4, the above-mentioned method can also include S501 to S503, which are represented by dotted lines in Figure 5.
[0204] S501: The first SMF sends a first message to the first UPF.
[0205] Accordingly, the first UPF receives the first message from the first SMF.
[0206] The first message may be used to instruct (or trigger, or request) the first UPF to allocate endpoint information of the first UPF, or may be used to instruct (or trigger) the first UPF to allocate endpoint information of the first tunnel on the first UPF side, or may be used to instruct (or trigger) to establish a tunnel (i.e., the first tunnel) with the second UPF, etc., without limitation. The first message may be, for example, a PFCP session, without limitation.
[0207] It should be noted that the first message can indicate the first UPF to allocate the endpoint information of the first UPF through the message itself; or, the first message can also indicate the first UPF to allocate the endpoint information of the first UPF through the information contained in the message itself, without limitation. Optionally, the first message can include first indication information, and the first indication information can be used to indicate (or trigger) the first UPF to allocate the endpoint information of the first UPF, or can be used to indicate (or trigger) the first UPF to allocate the endpoint information of the first tunnel on the first UPF side, or can be used to indicate (or trigger) the establishment of a tunnel (i.e., the first tunnel) between the first UPF and the second UPF, etc., without limitation.
[0208] In one possible implementation, the first SMF may determine to send a first message to the first UPF, or determine to instruct (or trigger) the first UPF to establish a first tunnel. For example, assuming that at least one PIN served (or maintained) by the first SMF includes the first PIN, or that at least one PIN served (or maintained) by the first UPF includes the first PIN, the first SMF may receive a third message from a third SMF and determine whether to send the first message to the first UPF. The third SMF is a PIN-SMF. The third message includes the identifier of at least one SMF that provides services for the first PIN, such as the identifier of at least one L-SMF that provides services for the first PIN; or includes the identifier of at least one UPF that provides services for the first PIN, such as the identifier of at least one PIN-UPF that provides services for the first PIN; or includes the identifier of at least one SMF that provides services for the first PIN (such as at least one L-SMF) and the identifier of at least one UPF that provides services for the first PIN (such as at least one PIN-UPF).
[0209] Optionally, the at least one SMF providing services for the first PIN includes a second SMF. Optionally, the at least one UPF providing services for the first PIN includes a second UPF. The second SMF and the second UPF are located in the same region. For a description of the second SMF, please refer to the preceding content and will not be repeated here.
[0210] Optionally, the third message can be used to indicate the establishment of a tunnel for the first PIN between UPFs (such as establishing a tunnel for the first PIN between L-UPF and PIN-UPF, and / or establishing a tunnel for the first PIN between PIN-UPF and PIN-UPF), or to indicate that there is a need for cross-regional communication for the first PIN, or to indicate that the first PIN is accessed on other devices. For example, the third message can be used to indicate the establishment of a tunnel for the first PIN between the first UPF and the second UPF, that is, to indicate the establishment of the first tunnel. Exemplarily, the third SMF determines that no tunnel is established between the first UPF and the second UPF, and uses the third message to indicate the establishment of a tunnel for the first PIN between the first UPF and the second UPF. For example, if the third SMF does not store the endpoint information of the first UPF and / or the endpoint information of the second UPF, the third SMF can determine that no tunnel is established between the first UPF and the second UPF. It should be understood that the embodiment of the present application does not limit the specific implementation process of the third SMF determining that no tunnel is established between the first UPF and the second UPF.
[0211] It should be noted that the third message can indicate, through the message itself, that a tunnel be established for the first PIN between the first UPF and the second UPF; alternatively, the third message can indicate, through the information contained therein, that a tunnel be established for the first PIN between the first UPF and the second UPF, without limitation. Optionally, the third message can include second indication information, which can be used to establish a tunnel for the first PIN between UPFs (such as establishing a tunnel for the first PIN between an L-UPF and a PIN-UPF, and / or establishing a tunnel for the first PIN between a PIN-UPF and a PIN-UPF), or to indicate that the first PIN needs to communicate across regions, or to indicate that the first PIN is accessed on other devices, etc. The embodiments of the present application do not limit the specific implementation of the third message.
[0212] Exemplarily, the first SMF may determine whether to send the first message to the first UPF based on the identifier of the second SMF; alternatively, the first SMF may determine whether to send the first message to the first UPF based on the identifier of the second UPF; alternatively, the first SMF may determine whether to send the first message to the first UPF based on the identifier of the second SMF and the identifier of the second UPF. For example, the first SMF may determine whether to establish a first tunnel between the first UPF and the second UPF, or determine whether to establish a tunnel for transmitting business data of at least one PIN between the first UPF and the second UPF, or determine whether to establish a device-granularity tunnel between the first UPF and the second UPF based on the identifier of the second SMF and / or the identifier of the second UPF.
[0213] In one example, if the first SMF determines that the first tunnel is not established between the first UPF and the second UPF, the first SMF sends a first message to the first UPF or the first SMF determines to send the first message to the first UPF.
[0214] In another example, if the first SMF determines that a first tunnel has been established between the first UPF and the second UPF, the first SMF may send the identifier of the first PIN and the endpoint information of the second UPF (and / or the correspondence between the identifier of the first PIN and the identifier of the second UPF) to the first UPF. Furthermore, the first UPF may associate the identifier of the first PIN and the endpoint information of the second UPF based on the identifier of the first PIN and the endpoint information of the second UPF (and / or the correspondence between the identifier of the first PIN and the identifier of the second UPF) (such as associating and storing them), so that the first UPF can subsequently transmit the business data of the first PIN through the endpoint information of the second UPF. Among them, the first UPF associating the identifier of the first PIN with the endpoint information of the second UPF can be replaced by: the first UPF associating the identifier of the first PIN with the first tunnel.
[0215] It should be noted that the embodiment of the present application takes the case where the first tunnel is not established between the first UPF and the second UPF as an example. The embodiment of the present application does not limit the specific implementation process of the first SMF determining whether the first tunnel is established between the first UPF and the second UPF.
[0216] It should be noted that the third SMF may proactively send the third message to the first SMF, may send the third message to the first SMF in response to a subscription request from the first SMF, or may send the third message to the first SMF in response to reporting information from the first SMF, without limitation. The reporting information may include the identifier of the first PIN, or the identifier of the first PIN and the first information. The first information may include one or more of the following: the identifier of the first SMF, or the identifier of the first UPF.
[0217] As an example, the first SMF may send a fourth message to the third SMF; accordingly, the third SMF receives the fourth message from the first SMF, and the fourth message can be used to subscribe to events of the first PIN. Further, the third SMF may send a third message to the first SMF based on the fourth message. The event of the first PIN can be understood as: the identifier of at least one SMF (such as L-SMF) providing services for the first PIN, such as the identifier of the L-SMF that has already provided services for the first PIN and the identifier of the L-SMF that is subsequently added to provide services for the first PIN; it can also be understood as: the identifier of at least one UPF (such as PIN-UPF) providing services for the first PIN, such as the identifier of the PIN-UPF that has already provided services for the first PIN and the identifier of the PIN-UPF that is subsequently added to provide services for the first PIN; it can also be understood as: the identifier of at least one SMF (such as L-SMF) providing services for the first PIN and the identifier of at least one UPF (such as PIN-UPF) providing services for the first PIN, such as the identifier of the L-SMF that has already provided services for the first PIN, the identifier of the L-SMF that is subsequently added to provide services for the first PIN, the identifier of the PIN-UPF that has already provided services for the first PIN, and the identifier of the PIN-UPF that is subsequently added to provide services for the first PIN. In other words, the fourth message can be used to subscribe to the identifier of at least one L-SMF providing services for the first PIN and / or to subscribe to the identifier of at least one PIN-UPF providing services for the first PIN.
[0218] It should be noted that the fourth message can subscribe to the event of the first PIN through the message itself; or, the fourth message can also subscribe to the event of the first PIN through the information contained in itself, such as the event identifier, or the event identifier and the identifier of the first PIN, etc. The embodiment of the present application does not limit the specific implementation method of the fourth message.
[0219] As another example, the first SMF may send the identifier of the first PIN to the third SMF; accordingly, the third SMF receives the identifier of the first PIN from the first SMF. Furthermore, the third SMF may send a third message to the first SMF based on the identifier of the first PIN. The manner in which the first SMF obtains the identifier of the first PIN can be referred to in the relevant content of the embodiment shown in FIG4 and will not be described in detail here. Optionally, the first SMF may also send the first message to the third SMF. For example, the first SMF may determine whether to send the identifier of the first PIN to the third SMF based on the first PIN. Specifically, if the first SMF is establishing a session for the first PIN for the first time, the first SMF may determine to send the identifier of the first PIN to the third SMF; alternatively, if the first SMF is not establishing a session for the first PIN for the first time, the first SMF may determine not to send the identifier of the first PIN to the third SMF. For example, the first SMF may determine whether the first SMF is establishing a session for the first PIN for the first time based on the identifier of the first PIN and the stored association between the session and the identifier of the PIN. This embodiment of the application takes the first time that the first SMF establishes a session for the first PIN as an example.
[0220] It should be noted that the first SMF may send the fourth message and the reporting information to the third SMF separately, or may carry the reporting information in the fourth message, without limitation. Optionally, the fourth message may include one or more of the following: an identifier of the first PIN, an identifier of the first SMF, or an identifier of the first UPF.
[0221] Exemplarily, after the third SMF receives the identifier of the first PIN from the first SMF, it can obtain the context of the first PIN based on the identifier of the first PIN. For example, the third SMF can create the context of the first PIN based on the first information, and the context of the first PIN includes the first information. For another example, the third SMF adds the first information to the context of the first PIN. The first information can come from the first SMF or be determined by the third SMF, without limitation. Specifically, if the third SMF receives the identifier of the first PIN for the first time, the third SMF can create the context of the first PIN based on the first information; or, if the third SMF does not receive the identifier of the first PIN for the first time, the third SMF searches for the context of the first PIN based on the identifier of the first PIN and adds the first information to the context of the first PIN. Furthermore, the third SMF can determine the identifier of at least one SMF that provides services for the first PIN and / or the identifier of at least one UPF that provides services for the first PIN based on the context of the first PIN.
[0222] It should be noted that the first SMF may send the fourth message and / or report information to the third SMF during the process of establishing the first session for the first PIN, such as after S404 and before S406; alternatively, the first SMF may also send the fourth message and / or report information to the third SMF after the first session is established, such as after S406, without restriction.
[0223] S502: The first UPF sends the endpoint information of the first UPF to the first SMF.
[0224] Accordingly, the first SMF receives endpoint information from the first UPF.
[0225] The endpoint information of the first UPF can be understood as the endpoint information of the first tunnel on the first UPF side. The endpoint information may include TEID and IP address, but the embodiment of the present application is not limited thereto.
[0226] Exemplarily, the first UPF may send the endpoint information of the first UPF to the first SMF according to the first message. For example, the first UPF allocates the endpoint information in response to the first message and sends the endpoint information of the first UPF to the first SMF.
[0227] Optionally, the first UPF may also send an identifier of at least one PIN served by the first UPF to the first SMF; accordingly, the first SMF receives an identifier of at least one PIN served by the first UPF.
[0228] S503: The first SMF sends the endpoint information of the first UPF to the second UPF.
[0229] Accordingly, the second UPF receives the endpoint information of the first UPF from the first SMF.
[0230] Among them, if the second UPF and the first UPF are located in the same area, the first SMF can send the endpoint information of the first UPF to the second UPF, and accordingly, the second UPF receives the endpoint information of the first UPF from the first SMF. Alternatively, if the first UPF and the second UPF are PIN-UPFs in different areas, the first SMF can send the endpoint information of the first UPF to the second UPF through the L-SMF located in the same area as the second UPF, and accordingly, the second UPF receives the endpoint information of the first UPF through the L-SMF. For example, the first SMF can send the endpoint information of the first UPF to the second UPF through the second SMF, and the second SMF is an L-SMF located in the same area as the second UPF. Specifically, S503 can be implemented through S503a and S503b: S503a, the first SMF sends the endpoint information of the first UPF to the second SMF, and accordingly, the second SMF receives the endpoint information of the first UPF from the first SMF; S503b, the second SMF sends the endpoint information of the first UPF to the second UPF, and accordingly, the second UPF receives the endpoint information of the first UPF.
[0231] In FIG5 , S503 is implemented through S503a and S503b, the first UPF and the first SMF are located in area 1, and the second UPF and the second SMF are located in area 2 as an example.
[0232] Optionally, the first SMF may further send an identifier of at least one PIN served by the first UPF to the second UPF, such as by sending the identifier of at least one PIN served by the first UPF to the second UPF via the second SMF; accordingly, the second UPF receives the identifier of at least one PIN served by the first UPF. Furthermore, the second UPF may associate the endpoint information of the first UPF with the identifier of at least one PIN served by the first UPF, such as by associating and storing the identifier.
[0233] S504: The first SMF obtains the endpoint information of the second UPF.
[0234] For example, the first SMF may receive the endpoint information of the second UPF from the second UPF; alternatively, the first SMF may obtain the endpoint information of the second UPF using parameters stored in the first SMF. Therefore, steps S501 to S503 are optional. For example, the second UPF may allocate endpoint information and send the endpoint information of the second UPF to the first SMF. For example, the second UPF may allocate the endpoint information of the second UPF in response to the endpoint information of the first UPF, without limitation.
[0235] Among them, if the second UPF and the first UPF are located in the same area, the second UPF can send the endpoint information of the second UPF to the first SMF, and accordingly, the first SMF receives the endpoint information of the second UPF from the second UPF. Alternatively, if the first UPF and the second UPF are PIN-UPFs in different areas, the second UPF can send the endpoint information of the second UPF to the first SMF through the L-SMF located in the same area as the second UPF, and accordingly, the first SMF receives the endpoint information of the second UPF through the L-SMF. For example, the first SMF can receive the endpoint information of the second UPF through the second SMF, and the second SMF is an L-SMF located in the same area as the second UPF.
[0236] Specifically, S504 can be implemented through S504a and S504b: In S504a, the second UPF sends the endpoint information of the second UPF to the second SMF. In response, the second SMF receives the endpoint information of the second UPF from the second UPF. In S504b, the second SMF sends the endpoint information of the second UPF to the first SMF. In response, the first SMF receives the endpoint information of the second UPF. Figure 5 takes the implementation of S504 through S504a and S504b as an example.
[0237] Optionally, the first SMF may receive an identification of at least one PIN of the second UPF service from the second UPF, such as receiving an identification of at least one PIN of the second UPF service from the second UPF via the second SMF.
[0238] S505: The first SMF sends the endpoint information of the second UPF to the first UPF.
[0239] Accordingly, the first UPF receives the endpoint information of the second UPF from the first SMF.
[0240] Optionally, the first SMF may also send the identifier of at least one PIN served by the second UPF to the first UPF; accordingly, the first UPF receives the identifier of at least one PIN served by the second UPF. Furthermore, the first UPF may associate the endpoint information of the second UPF with the identifier of at least one PIN served by the second UPF, such as by associating and storing the associated information.
[0241] At this point, the first tunnel between the first UPF and the second UPF is established.
[0242] S506: The first UPF transmits service data of at least one PIN according to the endpoint information of the second UPF.
[0243] The implementation process of S506 may refer to S302 and will not be described in detail.
[0244] It should be noted that in the embodiment shown in Figure 5, the first SMF and the second SMF can interact directly or through a third SMF, without limitation. For example, S503a can be expressed as follows: the first SMF sends the endpoint information of the first UPF to the third SMF; the third SMF receives the endpoint information of the first UPF from the first SMF and sends the endpoint information of the first UPF to the second SMF; the second SMF receives the endpoint information of the first UPF from the third SMF. For another example, S503b can be expressed as follows: the second SMF sends the endpoint information of the second UPF to the third SMF; the third SMF receives the endpoint information of the second UPF from the second SMF and sends the endpoint information of the second UPF to the first SMF; the first SMF receives the endpoint information of the second UPF from the third SMF.
[0245] As shown in Figure 6, for the above-mentioned method 2, S301 (i.e., the first UPF obtains the endpoint information of the second UPF) can be implemented through S604 and S605. Optionally, on the basis of the embodiment shown in Figure 3 or Figure 4, the above method may further include S601 to S603, which are represented by dotted lines in Figure 6. In this embodiment, the first UPF and the second UPF are PIN-UPFs located in different areas. Figure 6 takes the first UPF located in area 1 and the second UPF located in area 2 as an example. Compared with the embodiment shown in Figure 5, the main difference of the embodiment shown in Figure 6 is that the first UPF and the second UPF interact through a PIN-SMF (such as the third SMF) without going through an L-SMF (such as the first SMF and the second SMF).
[0246] S601: The third SMF sends a first message to the first UPF.
[0247] Accordingly, the first UPF receives the first message from the third SMF.
[0248] Among them, the first message can be used to instruct (or trigger) the first UPF to allocate the endpoint information of the first UPF, or can be used to instruct (or trigger) the first UPF to allocate the endpoint information of the first tunnel on the first UPF side, or can be used to instruct (or trigger) to establish a tunnel (i.e., the first tunnel) between the second UPF, etc. For details, please refer to the content of S501 and will not be repeated here.
[0249] In one possible implementation, the third SMF may determine to send a first message to the first UPF, or determine to instruct (or trigger) the first UPF to establish a first tunnel. For example, the third SMF may determine whether to establish a first tunnel between the first UPF and the second UPF based on the identifier of the first PIN, or determine whether to establish a tunnel for transmitting business data of multiple PINs between the first UPF and the second UPF, or determine whether to establish a device-granularity tunnel between the first UPF and the second UPF.
[0250] In one example, if the third SMF determines that the first tunnel is not established between the first UPF and the second UPF, the third SMF sends a first message to the first UPF or the third SMF determines to send the first message to the first UPF.
[0251] In another example, if the third SMF determines that a first tunnel has been established between the first UPF and the second UPF, the third SMF may send the identifier of the first PIN and the endpoint information of the second UPF (and / or the correspondence between the identifier of the first PIN and the identifier of the second UPF) to the first UPF. Furthermore, the first UPF may associate the identifier of the first PIN and the endpoint information of the second UPF based on the identifier of the first PIN and the endpoint information of the second UPF (and / or the correspondence between the identifier of the first PIN and the identifier of the second UPF) (such as performing associated storage), so that the first UPF can subsequently transmit the business data of the first PIN through the endpoint information of the second UPF. In which, the first UPF associating the identifier of the first PIN with the endpoint information of the second UPF can be replaced by: the first UPF associating the identifier of the first PIN with the first tunnel.
[0252] It should be noted that the embodiment of the present application takes the case where the first tunnel is not established between the first UPF and the second UPF as an example. The embodiment of the present application does not limit the specific implementation process of the third SMF determining whether the first tunnel is established between the first UPF and the second UPF.
[0253] The identifier of the first PIN may come from the first SMF without limitation. For example, the first SMF may send the identifier of the first PIN to the third SMF, and accordingly, the third SMF may receive the identifier of the first PIN from the first SMF. Optionally, the first SMF may also send first information to the third SMF, and accordingly, the third SMF receives the first information from the first SMF, and the first information includes one or more of the following: the identifier of the first SMF, or the identifier of the first UPF. For example, the first SMF may determine whether to send the identifier of the first PIN to the third SMF based on the first PIN. The specific implementation process can refer to the content of S501 and will not be repeated here.
[0254] It should be noted that the first SMF may send the identifier of the first PIN to the third SMF during the process of establishing the first session for the first PIN; alternatively, the first SMF may send the identifier of the first PIN to the third SMF after the first session is established, without restriction.
[0255] For example, the third SMF can obtain the context of the first PIN based on the identifier of the first PIN. For example, the third SMF can create a context for the first PIN based on the first information, where the context of the first PIN includes the first information. For another example, the third SMF can add the first information to the context of the first PIN. The first information can be obtained from the first SMF or determined by the third SMF, without limitation. For the specific implementation process, please refer to S501 and will not be further described.
[0256] Optionally, the third SMF can also send a third message to the first SMF. Accordingly, the first SMF receives a third message from the third SMF, and the third message includes the identifier of at least one SMF (such as L-SMF) providing services for the first PIN and / or the identifier of at least one UPF (such as PIN-UPF) providing services for the first PIN. The specific implementation process can refer to the content of S501 and will not be repeated here.
[0257] Optionally, the first SMF may send a fourth message to the third SMF; accordingly, the third SMF receives the fourth message from the first SMF, and the fourth message may be used to subscribe to events of the first PIN. For the specific implementation process, reference may be made to the content of S501 and will not be repeated here.
[0258] S602: The first UPF sends the endpoint information of the first UPF to the third SMF.
[0259] Accordingly, the third SMF receives endpoint information from the first UPF.
[0260] Among them, the endpoint information of the first UPF can refer to the above content and will not be repeated here.
[0261] Exemplarily, the first UPF may send the endpoint information of the first UPF to the third SMF according to the first message. For example, the first UPF allocates the endpoint information in response to the first message and sends the endpoint information of the first UPF to the third SMF.
[0262] Optionally, the first UPF may also send the identifier of at least one PIN served by the first UPF to the third SMF; accordingly, the third SMF receives the identifier of at least one PIN served by the first UPF.
[0263] S603: The third SMF sends the endpoint information of the first UPF to the second UPF.
[0264] Accordingly, the second UPF receives the endpoint information of the first UPF from the third SMF.
[0265] Optionally, the third SMF may also send the identifier of at least one PIN served by the first UPF to the second UPF; accordingly, the second UPF receives the identifier of at least one PIN served by the first UPF from the third SMF. Furthermore, the second UPF may associate the endpoint information of the first UPF with the identifier of at least one PIN served by the first UPF, such as by associating and storing the associated information.
[0266] S604: The third SMF obtains the endpoint information of the second UPF.
[0267] Exemplarily, the third SMF may receive the endpoint information of the second UPF from the second UPF; alternatively, the third SMF may obtain the endpoint information of the second UPF using parameters stored in itself. Therefore, S601 to S603 are optional steps. FIG6 takes the example of the second UPF sending the endpoint information of the second UPF to the third SMF and the third SMF receiving the endpoint information of the second UPF from the second UPF. For example, the second UPF may allocate the endpoint information of the second UPF and send the endpoint information of the second UPF to the third SMF. For example, the second UPF may allocate the endpoint information of the second UPF in response to the endpoint information of the first UPF, without limitation.
[0268] Optionally, the second UPF may also send the identifier of at least one PIN of the second UPF service to the third SMF, and accordingly, the third SMF receives the identifier of at least one PIN of the second UPF service from the second UPF.
[0269] S605: The third SMF sends the endpoint information of the second UPF to the first UPF.
[0270] Accordingly, the first UPF receives the endpoint information of the second UPF from the third SMF.
[0271] Optionally, the third SMF may also send the identifier of at least one PIN served by the second UPF to the first UPF; accordingly, the first UPF receives the identifier of at least one PIN served by the second UPF from the third SMF. Furthermore, the first UPF may associate the endpoint information of the second UPF with the identifier of at least one PIN served by the second UPF, such as by associating and storing the associated information.
[0272] At this point, the first tunnel between the first UPF and the second UPF is established.
[0273] S606: The first UPF transmits service data of at least one PIN according to the endpoint information of the second UPF.
[0274] The implementation process of S606 may refer to S302 and will not be described in detail.
[0275] As shown in Figure 7, for the above-mentioned method 3, S301 (i.e., the first UPF obtains the endpoint information of the second UPF) can be implemented through S706b. In this embodiment, the first UPF and the second UPF are PIN-UPFs located in different areas. Figure 7 takes the first UPF located in area 1 and the second UPF located in area 2 as an example. Since the first UPF in this embodiment obtains the endpoint information of the second UPF after the first tunnel is established, S705 to S708 in the embodiment shown in Figure 7 can be understood as the specific implementation process of S506 in the embodiment shown in Figure 5, and / or as the specific implementation process of S606 in the embodiment shown in Figure 6. Optionally, in any of the embodiments described in Figures 3 to 6, the above method may also include the second UPF transmitting the business data of at least one PIN according to the endpoint information of the first UPF, that is, executing the contents of S709 to S712, which is represented by dotted lines in Figure 7.
[0276] S701: The second UPF obtains the identifier of at least one PIN served by the first UPF.
[0277] Exemplarily, the second UPF may receive an identifier of at least one PIN served by the first UPF from the first UPF. For example, the first UPF may send an identifier of at least one PIN served by the first UPF to the second UPF after receiving the first message from the first SMF or the third SMF, without limitation.
[0278] In one example, the second UPF may receive the identifier of at least one PIN served by the first UPF from the first UPF through the first SMF and the second SMF. Specifically, the first UPF sends the identifier of at least one PIN served by the first UPF to the first SMF; the first SMF receives the identifier of at least one PIN served by the first UPF from the first UPF and sends the identifier of at least one PIN served by the first UPF to the second SMF; the second SMF receives the identifier of at least one PIN served by the first UPF from the first SMF and sends the identifier of at least one PIN served by the first UPF to the second UPF; the second UPF receives the identifier of at least one PIN served by the first UPF from the second SMF.
[0279] In another example, the second UPF may also receive the identifier of at least one PIN served by the first UPF from the first UPF through the first SMF, the second SMF, and the third SMF. Specifically, the first UPF sends the identifier of at least one PIN served by the first UPF to the first SMF; the first SMF receives the identifier of at least one PIN served by the first UPF from the first UPF, and sends the identifier of at least one PIN served by the first UPF to the third SMF; the third SMF receives the identifier of at least one PIN served by the first UPF from the first SMF, and sends the identifier of at least one PIN served by the first UPF to the second SMF; the second SMF receives the identifier of at least one PIN served by the first UPF from the third SMF, and sends the identifier of at least one PIN served by the first UPF to the second UPF; the second UPF receives the identifier of at least one PIN served by the first UPF from the second SMF.
[0280] In another example, the second UPF may also receive the identifier of at least one PIN served by the first UPF from the first UPF through the third SMF. Specifically, the first UPF sends the identifier of at least one PIN served by the first UPF to the third SMF; the third SMF receives the identifier of at least one PIN served by the first UPF from the first UPF and sends the identifier of at least one PIN served by the first UPF to the second UPF; the second UPF receives the identifier of at least one PIN served by the first UPF from the third SMF.
[0281] Optionally, the identifier of at least one PIN of the first UPF service and the endpoint information of the first UPF can be carried in the same message, or in different messages, without limitation.
[0282] S702: The second UPF associates the endpoint information of the first UPF with the identifier of at least one PIN served by the first UPF.
[0283] For example, the second UPF associates and stores the endpoint information of the first UPF with the identifier of at least one PIN served by the first UPF. In S702, the second UPF may obtain the endpoint information of the first UPF. For details, please refer to the relevant content of the embodiment shown in Figure 5 or Figure 6, which will not be repeated here.
[0284] S703: The first UPF obtains the identifier of at least one PIN served by the second UPF.
[0285] For example, the first UPF may receive an identifier of at least one PIN of the second UPF service from the second UPF. For example, the second UPF may send an identifier of at least one PIN of the second UPF service to the first UPF after receiving the endpoint information of the first UPF, without limitation.
[0286] In one example, the first UPF may receive an identifier of at least one PIN served by the second UPF from the second UPF through the first SMF and the second SMF. Specifically, the second UPF sends the identifier of at least one PIN served by the second UPF to the second SMF; the second SMF receives the identifier of at least one PIN served by the second UPF from the second UPF and sends the identifier of at least one PIN served by the second UPF to the first SMF; the first SMF receives the identifier of at least one PIN served by the second UPF from the second SMF and sends the identifier of at least one PIN served by the second UPF to the first UPF; the first UPF receives the identifier of at least one PIN served by the second UPF from the first SMF.
[0287] In another example, the first UPF may also receive the identifier of at least one PIN of the second UPF service from the second UPF through the first SMF, the second SMF, and the third SMF. Specifically, the second UPF sends the identifier of at least one PIN of the second UPF service to the second SMF; the second SMF receives the identifier of at least one PIN of the second UPF service from the second UPF and sends the identifier of at least one PIN of the second UPF service to the third SMF; the third SMF receives the identifier of at least one PIN of the second UPF service from the second SMF and sends the identifier of at least one PIN of the second UPF service to the first SMF; the first SMF receives the identifier of at least one PIN of the second UPF service from the second SMF and sends the identifier of at least one PIN of the second UPF service to the first UPF; the first UPF receives the identifier of at least one PIN of the second UPF service from the first SMF.
[0288] In another example, the first UPF may also receive the identifier of at least one PIN of the second UPF service from the second UPF through the third SMF. Specifically, the second UPF sends the identifier of at least one PIN of the second UPF service to the third SMF; the third SMF receives the identifier of at least one PIN of the second UPF service from the second UPF and sends the identifier of at least one PIN of the second UPF service to the first UPF; the first UPF receives the identifier of at least one PIN of the second UPF service from the third SMF.
[0289] Optionally, the identifier of at least one PIN of the second UPF service and the endpoint information of the second UPF can be carried in the same message, or in different messages, without limitation.
[0290] S704: The first UPF associates the endpoint information of the second UPF with the identifier of at least one PIN served by the second UPF.
[0291] For example, the first UPF may associate and store the endpoint information of the second UPF with the identifier of at least one PIN served by the second UPF. In S704, the first UPF may obtain the endpoint information of the second UPF. For details, please refer to the relevant content of the embodiment shown in Figure 5 or Figure 6, which will not be repeated here.
[0292] S705: The first terminal device sends a first data packet to the first UPF based on the first session.
[0293] Accordingly, the first UPF receives a first data packet from the first terminal device based on the first session.
[0294] The process of establishing the first session may refer to the embodiment shown in FIG4 and will not be described in detail.
[0295] S706: The first UPF sends a second data packet to the second UPF according to the first PIN through the endpoint information of the second UPF.
[0296] Accordingly, the second UPF receives the second data packet from the first UFP.
[0297] Exemplarily, S706 can be implemented through S706a, S706b and S706c (Figure 7 takes S706a, S706b and S706c as examples): S706a, the first UPF determines that the destination address of the first data packet is not the address assigned by the first UPF; S706b, the first UPF determines the endpoint information of the second UPF based on the association between the endpoint information of the second UPF and the identifier of at least one PIN served by the second UPF and the identifier of the first PIN; S706c, the first UPF sends a second data packet to the second UPF based on the endpoint information of the second UPF, and accordingly, the second UPF receives the second data packet from the first UPF.
[0298] In S706a, the first UPF may determine, based on the destination address of the first data packet, whether the address is one assigned by the first UPF. For example, if the destination address of the first data packet is one assigned by the first UPF, the first data packet is sent to the second terminal device, or the first data packet is sent to the second terminal device via the L-UPF. For details, refer to the aforementioned description of the first UPF transmitting service data of the first PIN between the first and fifth sessions, which will not be further described. Alternatively, if the destination address of the first data packet is not one assigned by the first UPF, S706b is executed. This embodiment of the application uses the case where the destination address of the first data packet is not one assigned by the first UPF as an example.
[0299] In S706b, the first UPF may also obtain the identifier of the first PIN. For example, if the first data packet includes the identifier of the first PIN, the first UPF may parse the first data packet to obtain the identifier of the first PIN. Alternatively, the first UPF may obtain the identifier of the first PIN based on the correspondence between the PIN identifier and the session and the first session, without limitation.
[0300] The service data included in the first data packet is the same as the service data included in the second data packet, or the payload portion of the first data packet is the same as the payload portion of the second data packet. For example, the first UPF may encapsulate a header outside the first data packet to obtain the second data packet, and the header carries the identifier of the first PIN, which is not limited.
[0301] S707: The second UPF determines a third session of the first PIN according to the first PIN and / or the destination address of the second data packet.
[0302] After receiving the second data packet, the second UPF can determine the third session of the first PIN based on the first PIN and / or the destination address of the second data packet, and transmit the first data packet based on the third session, that is, execute the content of S708.
[0303] Exemplarily, the destination address of the second data packet may correspond to one or more sessions. When the destination address of the second data packet corresponds to one session, the second UPF determines the one session as the third session. When the destination address of the second data packet corresponds to multiple sessions, the second UPF may determine the third session from the multiple sessions based on the identifier of the first PIN.
[0304] S708: The second UPF sends a first data packet to the second terminal device based on the third session.
[0305] Correspondingly, the second terminal device receives the first data packet from the second UPF based on the third session.
[0306] For example, the second UPF may discard the header of the second data packet, that is, the header encapsulated in S706, obtain the first data packet, and send the first data packet to the second terminal device based on the third session.
[0307] At this point, the first data packet of the first terminal device in area 1 is transmitted to the second terminal device in area 2, thereby realizing cross-area communication between the first terminal device and the second terminal device.
[0308] S709: The second terminal device sends a fourth data packet to the second UPF based on the second session.
[0309] Accordingly, the second UPF receives a fourth data packet from the second terminal device based on the second session.
[0310] The process of establishing the second session can refer to the embodiment shown in FIG4 and will not be described in detail. In addition, the embodiment of the present application does not limit the order of establishing the first session and the second session.
[0311] S710: The second UPF sends a third data packet to the first UPF through the endpoint information of the first UPF according to the second PIN.
[0312] Correspondingly, the first UPF receives the third data packet from the second UFP.
[0313] Exemplarily, S710 can be implemented through S710a, S710b and S710c (Figure 7 takes S710a, S710b and S710c as examples): S710a, the second UPF determines that the destination address of the fourth data packet is not the address assigned by the second UPF; S710b, the second UPF determines the endpoint information of the first UPF based on the association between the endpoint information of the first UPF and the identifier of at least one PIN served by the first UPF and the identifier of the second PIN; S710c, the second UPF sends a third data packet to the first UPF based on the endpoint information of the first UPF, and accordingly, the first UPF receives the third data packet from the second UPF.
[0314] In S710a, the second UPF may determine whether the destination address of the fourth data packet is the address allocated by the second UPF. For the specific implementation process, reference may be made to the content of S706 and will not be repeated here.
[0315] In S710b, the second UPF may also obtain the identifier of the second PIN. For the specific implementation process, please refer to the content of S706 and will not be repeated here.
[0316] The service data included in the third data packet is the same as the service data included in the fourth data packet, or the payload portion of the third data packet is the same as the payload portion of the fourth data packet. For example, the second UPF may encapsulate a header outside the fourth data packet to obtain the third data packet, and the header carries an identifier of the second PIN, which is not limited.
[0317] S711: The first UPF determines a second session of the second PIN according to the second PIN and / or the destination address of the third data packet.
[0318] After receiving the third data packet, the first UPF can determine the second session of the second PIN based on the second PIN and / or the destination address of the third data packet, and transmit the fourth data packet based on the second session, that is, execute the content of S711.
[0319] Exemplarily, the destination address of the third data packet may correspond to one or more sessions. When the destination address of the third data packet corresponds to one session, the first UPF determines the one session as the second session. When the destination address of the third data packet corresponds to multiple sessions, the first UPF may determine the second session from the multiple sessions based on the identifier of the second PIN.
[0320] S712: The first UPF sends a fourth data packet to the first terminal device based on the second session.
[0321] Correspondingly, the first terminal device receives a fourth data packet from the first UPF based on the second session.
[0322] For example, the first UPF may discard the header of the third data packet, that is, the header encapsulated in S710, obtain the fourth data packet, and send the fourth data packet to the first terminal device based on the second session.
[0323] At this point, the fourth data packet of the second terminal device in area 2 is transmitted to the first terminal device in area 1, thereby realizing cross-area communication between the first terminal device and the second terminal device.
[0324] FIG8 shows a flow chart of another communication method provided in an embodiment of the present application.
[0325] This embodiment uses the communication architecture shown in Figure 2a as an example. For example, the first UPF is PIN-UPF1 in Figure 2a, the second UPF is PIN-UPF2 in Figure 2a, the first SMF is L-SMF1 in Figure 2a, the second SMF is L-SMF2 in Figure 2a, and the third SMF is PIN-SMF in Figure 2a. The first and second terminal devices are UE1 and UE2 in Figure 2a, respectively. PIN-UPF1 and L-SMF1 are located in area 1, while PIN-UPF2 and L-SMF2 are located in area 2.
[0326] In this embodiment, during the establishment of the first tunnel, PIN-UPF1 and PIN-UPF2 need to communicate through L-SMF1 and L-SMF2.
[0327] As shown in FIG8 , the method may include the following steps.
[0328] S801: UE1 sends a sixth message to the AMF. Correspondingly, the AMF receives the sixth message from UE1.
[0329] The sixth message includes second information, which is used to request to establish a first session of the first PIN for UE 1. The second information may include one or more of the following: an identifier of the first PIN, a DNN, or slice information.
[0330] S802: AMF determines L-SMF1 based on the second information.
[0331] The AMF determines, based on the second information, that L-SMF1 provides services for the first PIN.
[0332] S803: The AMF sends a fifth message to L-SMF1. Correspondingly, L-SMF1 receives the fifth message from the AMF.
[0333] The fifth message includes third information for requesting to establish a first session of the first PIN for UE 1. The third information may include one or more of the following: an identifier of the first PIN, a DNN, or slice information.
[0334] S804: L-SMF1 determines PIN-UPF1 according to the third information.
[0335] L-SMF1 determines, based on the third information, that PIN-UPF1 provides service for the first PIN.
[0336] S805: L-SMF1 sends a second message to PIN-UPF1. Correspondingly, PIN-UPF1 receives the second message from L-SMF1.
[0337] The second message may include an identifier of the first PIN, and is used to request establishment of a first session of the first PIN.
[0338] S806: PIN-UPF1 establishes a first session of the first PIN according to the second message.
[0339] The specific implementation process of S801 to S806 can refer to the relevant content in the embodiment shown in FIG4 , and will not be described in detail.
[0340] S807: L-SMF1 sends a fourth message to PIN-SMF. Correspondingly, PIN-SMF receives the fourth message from L-SMF1.
[0341] The fourth message may be used to subscribe to events of the first PIN. Optionally, the fourth message may further include the identifier of the first PIN and first information, where the first information includes the identifier of the L-SMF1 and / or the identifier of the PIN-UPF1.
[0342] Optionally, if L-SMF1 establishes a session for the first PIN for the first time, L-SMF1 determines to send the identifier and first information of the first PIN to PIN-SMF; or, if L-SMF1 does not establish a session for the first PIN for the first time, L-SMF1 determines not to send the identifier and first information of the first PIN to PIN-SMF.
[0343] FIG8 takes the example of establishing a session for the first PIN for the first time and the fourth message including the identifier of the first PIN and the first information.
[0344] S808: The PIN-SMF receives the identification of the first PIN not for the first time, and adds the first information to the context of the first PIN.
[0345] For example, the PIN-SMF can obtain the context of the first PIN. If the PIN-SMF receives the identifier of the first PIN for the first time, the PIN-SMF creates a context for the first PIN based on the first information, where the context includes the first information. Alternatively, if the PIN-SMF receives the identifier of the first PIN for a non-first time, the PIN-SMF adds the first information to the context of the first PIN. Figure 8 uses the example of the PIN-SMF receiving the identifier of the first PIN for a non-first time.
[0346] Optionally, the PIN-SMF may further determine, based on the context of the first PIN, the identifier of at least one L-SMF providing services for the first PIN and / or the identifier of at least one PIN-UPF providing services for the first PIN. The at least one L-SMF providing services for the first PIN includes L-SMF2. The at least one PIN-UPF providing services for the first PIN includes PIN-UPF2.
[0347] S809: PIN-SMF sends a third message to L-SMF 1. Correspondingly, L-SMF 1 receives the third message from PIN-SMF.
[0348] The third message includes an identifier of at least one L-SMF providing services for the first PIN and / or an identifier of at least one PIN-UPF providing services for the first PIN.
[0349] In FIG8 , it is taken as an example that the third message includes the identifier of L-SMF1 and / or the identifier of PIN-UPF2.
[0350] S810: L-SMF1 determines that no connection is established between PIN-UPF1 and PIN-UPF2.
[0351] L-SMF1 can determine whether a connection is established between PIN-UPF1 and PIN-UPF2 (or whether a first tunnel is established) based on the identifier of L-SMF1 and / or the identifier of PIN-UPF2. If no connection is established between PIN-UPF1 and PIN-UPF2, the contents of S811 are executed; alternatively, if a connection is established between PIN-UPF1 and PIN-UPF2 (e.g., a first tunnel has been established), the first SMF can send the identifier of the first PIN and the endpoint information of PIN-UPF2 (and / or the correspondence between the identifier of the first PIN and the identifier of PIN-UPF2) to PIN-UPF1. Furthermore, PIN-UPF1 can associate (e.g., store the associated information) the identifier of the first PIN and the endpoint information of PIN-UPF2 based on the identifier of the first PIN and the endpoint information of PIN-UPF2 (and / or the correspondence between the identifier of the first PIN and the identifier of PIN-UPF2), i.e., associate the identifier of the first PIN with the first tunnel so that PIN-UPF1 can subsequently transmit the service data of the first PIN through the first tunnel.
[0352] FIG8 takes the case where no connection is established between PIN-UPF1 and PIN-UPF2 as an example.
[0353] S811: L-SMF1 sends a first message to PIN-UPF1. Correspondingly, PIN-UPF1 receives the first message from L-SMF1.
[0354] The first message may be used to instruct PIN-UPF1 to allocate endpoint information of PIN-UPF1.
[0355] For the specific implementation process of S807 to S811, reference may be made to the relevant content of S501 in the embodiment shown in FIG5 , and no further details will be given.
[0356] S812: PIN-UPF1 sends the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 to L-SMF1.
[0357] Accordingly, L-SMF1 receives, from PIN-UPF1, the endpoint information of PIN-UPF1 and the identification of at least one PIN served by PIN-UPF1.
[0358] In response to the first message, PIN-UPF1 allocates endpoint information and sends the endpoint information of PIN-UPF1 to L-SMF1. Optionally, PIN-UPF1 may also send an identifier of at least one PIN served by the PIN-UPF to L-SMF1.
[0359] FIG8 takes the example of the PIN-UPF1-related L-SMF1 sending the endpoint information of the PIN-UPF1 and the identifier of at least one PIN served by the PIN-UPF1.
[0360] S813: L-SMF1 sends the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 to L-SMF2.
[0361] Accordingly, L-SMF2 receives the endpoint information of PIN-UPF1 and the identification of at least one PIN served by PIN-UPF1 from L-SMF1.
[0362] S814: L-SMF2 sends the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 to PIN-UPF2.
[0363] Accordingly, PIN-UPF2 receives the endpoint information of PIN-UPF1 and the identification of at least one PIN served by PIN-UPF1 from L-SMF2.
[0364] S815: PIN-UPF2 associates the endpoint information of PIN-UPF1 with the identifier of at least one PIN served by PIN-UPF1.
[0365] S816: PIN-UPF2 sends the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 to L-SMF2.
[0366] Accordingly, the L-SMF receives from the PIN-UPF2 the endpoint information of the PIN-UPF2 and the identification of at least one PIN served by the PIN-UPF2.
[0367] PIN-UPF2 allocates endpoint information and sends the endpoint information of PIN-UPF2 to L-SMF2. Optionally, PIN-UPF2 may also send the identifier of at least one PIN served by PIN-UPF2 to L-SMF2.
[0368] In FIG8 , PIN-UPF2 is taken as an example in which PIN-UPF2 sends the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 to L-SMF2.
[0369] S817: L-SMF2 sends the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 to L-SMF1.
[0370] Accordingly, L-SMF1 receives the endpoint information of PIN-UPF2 and the identification of at least one PIN served by PIN-UPF2 from L-SFM2.
[0371] S818: L-SMF1 sends the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 to PIN-UPF1.
[0372] Accordingly, PIN-UPF1 receives the endpoint information of PIN-UPF2 and the identification of at least one PIN served by PIN-UPF2 from L-SMF1.
[0373] S819: PIN-UPF1 associates the endpoint information of PIN-UPF2 with the identifier of at least one PIN served by PIN-UPF2.
[0374] Among them, the specific implementation process of S812 to S814 and S816 to S818 can refer to S502 to S505 in the embodiment shown in Figure 5, and will not be repeated here.
[0375] At this point, the connection between PIN-UPF1 and PIN-UPF2 is established, or the first tunnel between PIN-UPF1 and PIN-UPF2 is established. Afterwards, PIN-UPF1 can send service data of multiple PINs to PIN-UPF2 through the first tunnel.
[0376] S820: UE1 sends a first data packet to PIN-UPF1 based on the first session. Correspondingly, PIN-UPF1 receives the first data packet from UE1 based on the first session.
[0377] S821: PIN-UPF1 determines that the destination address of the first data packet is not the address allocated by PIN-UPF1.
[0378] S822: PIN-UPF1 determines the endpoint information of PIN-UPF2 based on the association between the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 and the identifier of the first PIN.
[0379] S823: PIN-UPF1 sends a second data packet to PIN-UPF2 according to the endpoint information of PIN-UPF2.
[0380] Correspondingly, PIN-UPF2 receives the second data packet from PIN-UPF2.
[0381] That is, PIN-UPF1 sends a second data packet to PIN-UPF2 through the first tunnel. The service data included in the second data packet is the same as the service data included in the first data packet. The second data packet carries the identifier of the first PIN.
[0382] S824: PIN-UPF2 determines a third session of the first PIN according to the first PIN and / or the destination address of the second data packet.
[0383] The process of establishing the third session may refer to the process of establishing the first session, and will not be described in detail.
[0384] S825: PIN-UPF2 sends a first data packet to UE2 based on the third session. Correspondingly, UE2 receives the first data packet from PIN-UPF2 based on the third session.
[0385] The specific implementation process of S820 to S825 can refer to the relevant content in the embodiment shown in Figure 7 and will not be repeated here.
[0386] At this point, the first data packet of UE1 in area 1 is transmitted to UE2 in area 2.
[0387] Optionally, the embodiment shown in FIG8 may further include PIN-UPF2 transmitting business data of at least one PIN according to the endpoint information of PIN-UPF1 (not shown in FIG8 ). For details, please refer to the relevant content of FIG7 , which will not be repeated here.
[0388] In the embodiment shown in FIG8 , the transmission path for cross-region communication between UE1 and UE2 is: UE1—PIN-UPF1—PIN-UPF2—UE2, wherein a first tunnel, or an N19+ connection (or N20 connection, etc.), is established between PIN-UPF2 and PIN-UPF2 for transmitting service data of multiple PINs, as shown in FIG9 . In FIG9 , the thick black solid line represents the transmission path for cross-region communication between UE1 and UE2.
[0389] FIG10 shows a flow chart of another communication method provided in an embodiment of the present application.
[0390] This embodiment uses the communication architecture shown in Figure 2a as an example. For example, the first UPF is PIN-UPF1 in Figure 2a, the second UPF is PIN-UPF2 in Figure 2a, the first SMF is L-SMF1 in Figure 2a, the third SMF is PIN-SMF in Figure 2a, and the first and second terminal devices are UE1 and UE2 in Figure 2a, respectively. PIN-UPF1 and L-SMF1 are located in area 1, and PIN-UPF2 is located in area 2.
[0391] In this embodiment, during the establishment of the first tunnel, PIN-UPF1 and PIN-UPF2 need to communicate through PIN-SMF, without going through L-SMF1 and L-SMF2.
[0392] Among them, S1001 to S1008, S1013, S1016 to S1022 in the embodiment shown in FIG10 correspond to S801 to S808, S815, S819 to S825 in the embodiment shown in FIG8 , respectively, except that:
[0393] S1009: The PIN-SMF determines that no connection is established between the PIN-UPF1 and the UPF2.
[0394] S1010: PIN-SMF sends a first message to PIN-UPF1. Correspondingly, PIN-UPF1 receives the first message from PIN-SMF.
[0395] S1011: PIN-UPF1 sends the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 to PIN-SMF. Correspondingly, PIN-SMF receives the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 from PIN-UPF1.
[0396] S1012: PIN-SMF sends the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 to PIN-UPF2. Correspondingly, PIN-UPF2 receives the endpoint information of PIN-UPF1 and the identifier of at least one PIN served by PIN-UPF1 from PIN-SMF.
[0397] S1014: PIN-UPF2 sends the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 to PIN-SMF. Correspondingly, PIN-SMF receives the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 from PIN-UPF2.
[0398] S1015: PIN-SMF sends the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 to PIN-UPF1. Correspondingly, PIN-UPF1 receives the endpoint information of PIN-UPF2 and the identifier of at least one PIN served by PIN-UPF2 from PIN-SMF.
[0399] Among them, the specific implementation process of S1009 to S1012, S1014 and S1015 can refer to the relevant content in the embodiment shown in Figure 6, and will not be repeated here.
[0400] In the embodiment shown in Figure 10, the transmission path for cross-region communication between UE1 and UE2 is: UE1—PIN-UPF1—PIN-UPF2—UE2, wherein a first tunnel, or an N19+ connection (or N20 connection, etc.), is established between PIN-UPF2 and PIN-UPF2 for transmitting service data of multiple PINs, as shown in Figure 11. The thick black solid line in Figure 11 represents the transmission path for cross-region communication between UE1 and UE2. Compared to the communication architecture shown in Figure 9, in the communication architecture shown in Figure 11, a connection is established between the PIN-SMF and the PIN-UPF, and communication between the PIN-SMF and the PIN-UPF does not need to pass through the L-SMF.
[0401] FIG12 shows a flow chart of another communication method provided in an embodiment of the present application.
[0402] This embodiment uses the communication architecture shown in Figure 2b as an example. Specifically, an L-UPF is deployed between PIN-UPF1 and UE1. For example, the first UPF is PIN-UPF1 or L-UPF1 in Figure 2b , the second UPF is PIN-UPF2 in Figure 2b , the first SMF is L-SMF1 in Figure 2b , the third SMF is PIN-SMF in Figure 2b , and the first and second terminal devices are UE1 and UE2 in Figure 2b , respectively. PIN-UPF1, L-UPF1, and L-SMF1 are located in area 1, and PIN-UPF2 is located in area 2.
[0403] In this embodiment, PIN-UPF1 can establish a first tunnel with PIN-UPF2 via L-SMF1 and L-SMF2, as shown in FIG8 . Alternatively, PIN-UPF1 can establish a first tunnel with PIN-UPF2 via PIN-SMF, as shown in FIG10 . FIG12 takes the establishment of a first tunnel between PIN-UPF1 and PIN-UPF2 via PIN-SMF as an example.
[0404] Among them, S1201 to S1203, S1207 to S1209, S1212 to S1218, and S1222 to S1226 in the embodiment shown in FIG12 correspond to S1001 to S1003, S1007 to S1016, and S1018 to S1022 in the embodiment shown in FIG10 , respectively, except that:
[0405] S1204: L-SMF1 determines L-UPF1 according to the third information.
[0406] In this embodiment, L-SMF1 determines L-UPF1 to provide service for the first PIN based on the third information. The specific implementation process of L-SMF1 determining L-UPF1 based on the third information can be referred to the content of L-SMF1 determining PIN-UPF1 based on the third information, which is not repeated here.
[0407] S1205: L-SMF1 sends a second message to L-UPF1. Correspondingly, L-UPF1 receives the second message from L-SMF1.
[0408] The second message may be used to request establishment of a first session of the first PIN, such as requesting establishment of the first session of the first PIN for UE1.
[0409] S1206: L-UPF1 establishes a first session of the first PIN according to the second message.
[0410] In response to the second message, L-UPF1 establishes the first session, such as assigning an IP address to UE1. The present embodiment does not limit the specific implementation process of the first UPF establishing the first session. Alternatively, UE1's IP address may also be assigned by L-SMF1 without limitation.
[0411] S1210: PIN-SMF sends a third message to L-SMF 1. Correspondingly, L-SMF receives the third message from PIN-SMF.
[0412] The third message includes the identifier of at least one L-SMF providing services for the first PIN and / or the identifier of at least one PIN-UPF providing services for the first PIN, indicating that a tunnel for the first PIN should be established between UPFs. The at least one L-SMF providing services for the first PIN includes L-SMF2. The at least one PIN-UPF providing services for the first PIN includes PIN-UPF2. Optionally, the third message may indicate the establishment of a tunnel for the first PIN between UPFs using the second indication information. For a description of the third message, refer to the relevant content of S501 and are not repeated here.
[0413] FIG12 takes the example where the third message includes the second indication information, and the identifier of L-SMF2 and / or the identifier of PIN-UPF2.
[0414] S1211: PIN-SMF establishes a connection between L-UPF1 and PIN-UPF1 according to the third message.
[0415] In response to the third message, the PIN-SMF triggers the establishment of a connection between L-UPF1 and PIN-UPF1. For example, a connection is established for the first PIN. This connection is PIN-specific and is used to transmit service data for the first PIN. This embodiment of the present application does not limit the specific implementation process of establishing the connection between L-UPF1 and PIN-UPF1.
[0416] S1219: UE1 sends a first data packet to L-UPF1 based on the first session. Correspondingly, L-UPF1 receives the first data packet from UE1 based on the first session.
[0417] S1220: L-UPF1 determines that the destination address of the first data packet is not the address allocated by L-UPF1.
[0418] L-UPF1 can determine, based on the destination address of the first data packet, whether the destination address of the first data packet is an address assigned by L-UPF1. If L-UPF1 determines that the destination address of the first data packet is an address assigned by L-UPF1, L-UPF1 transmits the first data packet without going through the PIN-UPF. This enables local forwarding of service data within the region and reduces service data transmission latency. Alternatively, if L-UPF1 determines that the destination address of the first data packet is not an address assigned by L-UPF1, S1221 is executed. Figure 12 uses the case where L-UPF1 determines that the destination address of the first data packet is not an address assigned by L-UPF1 as an example.
[0419] S1221: L-UPF1 sends a first data packet to PIN-UPF1. Correspondingly, PIN-UPF1 receives the first data packet from L-UPF1.
[0420] In the embodiment shown in Figure 12, the transmission path for cross-region communication between UE1 and UE2 is: UE1—L-UPF1—PIN-UPF1—PIN-UPF2—UE2. A first tunnel, or an N19+ connection (or N20 connection, etc.), is established between PIN-UPF1 and PIN-UPF2 to transmit the service data of multiple PINs; an N19 connection is established between L-UPF1 and PIN-UPF1, which is used to transmit the service data of the first PIN, as shown in Figure 13. In Figure 13, the thick black solid line represents the transmission path for cross-region communication between UE1 and UE2. Compared to the communication architecture shown in Figures 9 or 11, in the communication architecture shown in Figure 12, an L-UPF is deployed between the UE and the PIN-UPF, which can achieve local forwarding within the region and reduce data transmission latency.
[0421] It should be noted that the L-UPF and PIN-UPF can be the same device or different devices; alternatively, the L-UPF and PIN-UPF can be co-located or separate, without limitation. When the L-UPF and PIN-UPF are the same device, the N19 connection is a PIN-granular connection between different L-UPFs within the area. When an N19 connection is established between multiple L-UPFs within an area, one of these L-UPFs can serve as the PIN-UPF for that area.
[0422] It is understood that the execution order of the various steps in any of the embodiments shown in Figures 8, 10, and 12 is provided as an example, and the embodiments of the present application are not limited thereto. For example, L-SMF1 may send the fourth message to PIN-SMF after the first session is established; or may send the fourth message to PIN-SMF during the first session establishment process; or may send the fourth message to PIN-SMF before the first session is established and after sending the second message, without limitation.
[0423] In this application, the methods provided in the embodiments of this application are described from the perspective of the interaction between multiple network elements, such as a first user plane function network element, a first session management function network element, and a third session management function network element. To implement the methods provided in each embodiment of this application, each of the above network elements may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module.
[0424] The following describes the communication device used to implement the above method in the embodiment of the present application with reference to the accompanying drawings. Therefore, the above contents can be used in subsequent embodiments, and repeated contents will not be repeated.
[0425] 14 shows a schematic structural diagram of a communication device 1400. The communication device 1400 can implement the functions or steps implemented by the first user plane function network element, the first session management function network element, and the third session management function network element in the above-mentioned various method embodiments.
[0426] In one possible implementation, the communication device 1400 may include a processing unit 1401 and a transceiver unit 1402. The processing unit 1401 may be configured to execute the steps of any network element (e.g., a first user plane function network element, a first session management function network element, and a third session management function network element) in any of the above method embodiments; and the transceiver unit 1402 may be configured to receive or send relevant data, information, or messages.
[0427] In another possible implementation, the communication device 1400 may include a transceiver unit 1402, which can be used to execute the steps or methods of any network element (for example, a first user plane function network element, a first session management function network element, and a third session management function network element) in any of the above method embodiments.
[0428] It should be noted that the above-mentioned units may be independently provided or partially or fully integrated. For example, the transceiver unit 1402 may include a transmitting unit and a receiving unit.
[0429] As an example, the communication device 1400 can implement the functions or steps implemented by the first user plane function network element in any of the above method embodiments.
[0430] For example, the processing unit 1401 may be configured to obtain endpoint information of the second user plane function network element. The transceiver unit 1402 may be configured to transmit service data of at least one PIN according to the endpoint information of the second user plane function network element.
[0431] In one possible implementation, when the processing unit 1401 obtains the endpoint information of the second user plane function network element, the transceiver unit 1402 is specifically used to receive a first message from the session management function network element, where the first message is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element; according to the first message, the endpoint information of the first user plane function network element is sent to the session management function network element; and, the endpoint information of the second user plane function network element is received from the session management function network element.
[0432] In one possible implementation, the first message may instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element in the following manner: the first message includes first indication information, and the first indication information is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element.
[0433] In one possible implementation, the transceiver unit 1402 is further used to send an identifier of at least one PIN served by the first user plane function network element to the session management function network element; or, to send an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element through the session management function network element.
[0434] In one possible implementation, the processing unit 1401 is further used to obtain the identifier of at least one PIN of the second user plane function network element service; and associate the endpoint information on the second user plane function network element side with the identifier of at least one PIN of the second user plane function network element service.
[0435] In one possible implementation, at least one PIN of the second user plane function network element service includes a first PIN, and the transceiver unit 1402 is further used to receive a first data packet from the first terminal device based on the first session, wherein the first session is a session of the first PIN; according to the first PIN, a second data packet is sent to the second user plane function network element through the endpoint information of the second user plane function network element, and the service data included in the first data packet is the same as the service data included in the second data packet.
[0436] Optionally, based on the above implementation, the processing unit 1401 is further configured to encapsulate a header outside the first data packet to obtain a second data packet, wherein the header carries an identifier of the first PIN.
[0437] Optionally, based on the above implementation method, the processing unit 1401 is further used to determine, based on the destination address of the first data packet, that the destination address of the first data packet is not the address allocated by the first user plane function network element; and to determine the endpoint information of the second user plane function network element based on the association relationship between the endpoint information of the second user plane function network element and the identifier of at least one PIN served by the second user plane function network element and the identifier of the first PIN.
[0438] Optionally, based on the above implementation method, the transceiver unit 1402 is further used to receive a second message from the session management function network element, wherein the second message is used to request establishment of a first session of the first PIN; the processing unit 1401 is further used to establish the first session according to the second message.
[0439] In one possible implementation, at least one PIN served by the first user plane function network element includes a second PIN, and the transceiver unit 1402 is further used to receive a third data packet from the second user plane function network element, and the third data packet header includes an identifier of the second PIN; the processing unit 1401 is further used to determine a second session based on the second PIN and / or the destination address of the third data packet, wherein the second session is a session of the second PIN; and the transceiver unit 1402 is further used to send a fourth data packet based on the second session, and the service data included in the fourth data packet is the same as the service data included in the third data packet.
[0440] As another example, the communication device 1400 can implement the functions or steps implemented by the first session management function network element in any of the above method embodiments.
[0441] For example, the processing unit 1401 is used to obtain the endpoint information of the second user plane function network element; the transceiver unit 1402 is used to send the endpoint information of the second user plane function network element to the first user plane function network element; wherein the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit the service data of at least one personal Internet of Things network PIN.
[0442] In one possible implementation, the transceiver unit 1402 is further used to send a first message to the first user plane function network element, where the first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element; receive endpoint information of the first user plane function network element from the first user plane function network element; and send endpoint information of the first user plane function network element to the second user plane function network element.
[0443] Optionally, the transceiver unit 1402 is specifically configured to send endpoint information of the first user plane function network element to the second user plane function network element through the second session management function network element.
[0444] In one possible implementation, at least one PIN served by the first user plane function network element includes a first PIN, and the transceiver unit 1402 is further used to receive a third message from a third session management function network element, where the third message includes an identifier of at least one session management function network element that provides services for the first PIN and / or an identifier of at least one user plane function network element that provides services for the first PIN, wherein the at least one session management function network element includes a second session management function network element, and the at least one user plane function network element includes a second user plane function network element.
[0445] In a possible implementation, the processing unit 1401 is further configured to determine, based on the identifier of the second session management function network element and / or the identifier of the second user plane function network element, to send the first message to the first user plane function network element.
[0446] In a possible implementation, before receiving the third message from the third session management function network element, the transceiver unit 1402 is further configured to send a fourth message to the third session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
[0447] In a possible implementation, the transceiver unit 1402 is further configured to send the identifier of the first PIN and first information to the third session management function network element, where the first information includes the identifier of the first session management function network element and / or the identifier of the first user plane function network element.
[0448] In a possible implementation manner, the third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0449] Optionally, the third message may indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element in the following manner: the third message includes second indication information, and the second indication information is used to indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0450] In one possible implementation, before receiving the third message from the third session management function network element, the transceiver unit 1402 is further used to receive a fifth message from the access management function network element, wherein the fifth message is used to request to establish a first session for the first terminal device with the first PIN; and, based on the fifth message, send a second message to the first user plane function network element, wherein the second message is used to request to establish a first session for the first PIN.
[0451] In one possible implementation, the first message may instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element in the following manner: the first message includes first indication information, and the first indication information is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element.
[0452] In a possible implementation, the transceiver unit 1402 is further configured to receive endpoint information of the second user plane function network element from the second session management network element.
[0453] In one possible implementation, the transceiver unit 1402 is further used to receive an identifier of at least one PIN of a first user plane function network element service from the first user plane function network element; and send an identifier of at least one PIN of the first user plane function network element service to the second user plane function network element.
[0454] In a possible implementation, the transceiver unit 1402 is further configured to receive an identifier of at least one PIN served by the second user plane function network element; and send the identifier of at least one PIN served by the second user plane function network element to the first user plane function network element.
[0455] As another example, the communication device 1400 can implement the functions or steps implemented by the third session management function network element in any of the above method embodiments.
[0456] For example, the transceiver unit 1402 is used to receive endpoint information of the second user plane function network element from the second user plane function network element; and to send endpoint information of the second user plane function network element to the first user plane function network element; wherein the endpoint information of the second user plane function network element is used for the first user plane function network element to transmit business data of at least one personal Internet of Things network PIN.
[0457] In one possible implementation, before receiving the endpoint information of the second user plane function network element from the second user plane function network element, the transceiver unit 1402 is further used to send a first message to the first user plane function network element, the first message being used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element; receiving the endpoint information of the first user plane function network element from the first user plane function network element; and sending the endpoint information of the first user plane function network element to the second user plane function network element.
[0458] In one possible implementation, the transceiver unit 1402 is further used to receive an identifier of at least one PIN of a first user plane function network element service from a first user plane function network element; and to send an identifier of at least one PIN of a first user plane function network element service to a second user plane function network element.
[0459] In one possible implementation, the transceiver unit 1402 is further used to receive an identifier of at least one PIN of a second user plane function network element service from the second user plane function network element; and send an identifier of at least one PIN of the second user plane function network element service to the first user plane function network element.
[0460] In one possible implementation, the first message may instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element in the following manner: the first message includes first indication information, and the first indication information is used to instruct the first user plane function network element to allocate the endpoint information of the first user plane function network element.
[0461] In one possible implementation, the transceiver unit 1402 is specifically configured to receive endpoint information of a second user plane function network element from a second user plane function network element through a second session management function network element; and send endpoint information of the second user plane function network element to the first user plane function network element through the first session management function network element.
[0462] In one possible implementation, before receiving the endpoint information of the second user plane function network element from the second user plane function network element through the second session management function network element, the transceiver unit 1402 is further used to receive the endpoint information of the first user plane function network element from the first session management function network element; and send the endpoint information of the first user plane function network element to the second user plane function network element through the second session management function network element.
[0463] In one possible implementation, the transceiver unit 1402 is further used to receive an identifier of at least one PIN of a first user plane function network element service from a first session management function network element; send an identifier of at least one PIN of a first user plane function network element service to a second user plane function network element through a second session management function network element; receive an identifier of at least one PIN of a second user plane function network element service from the second session management function network element; and send an identifier of at least one PIN of a second user plane function network element service to the first session management function network element.
[0464] In one possible implementation, at least one PIN includes a first PIN, and the transceiver unit 1402 is further used to send a third message to the second session management function network element, where the third message includes an identifier of at least one session management function network element that provides services for the first PIN and / or an identifier of at least one user plane function network element that provides services for the first PIN.
[0465] In a possible implementation manner, the third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0466] Optionally, the third message may indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element in the following manner: the third message includes second indication information, and the second indication information is used to indicate establishment of a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
[0467] In a possible implementation, the transceiver unit 1402 is further configured to receive a fourth message from the second session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
[0468] In one possible implementation, at least one PIN includes a first PIN, and the transceiver unit 1402 is further used to receive an identifier of the first PIN and first information from a first session management device, where the first information includes an identifier of a first session management function network element and / or an identifier of a first user plane function network element.
[0469] In one possible implementation, the processing unit 1401 is configured to create a context of a first PIN based on the first information, where the context of the first PIN includes the first information; or, to add the first information to the context of the first PIN, and, based on the context of the first PIN, to determine an identifier of at least one session management function network element that provides services for the first PIN and / or to determine an identifier of at least one user plane function network element that provides services for the first PIN.
[0470] A more detailed description of the above-mentioned processing unit 1401 and the transceiver unit 1402 can be directly obtained by referring to the relevant description in the method embodiment shown in any one of Figures 3 to 8, Figure 10, and Figure 12, and will not be repeated here.
[0471] As shown in Figure 15, an embodiment of the present application provides a structural diagram of a communication device 1500. The communication device 1500 may include a processor 1520, which is used to implement or support the communication device 1500 in implementing the functions of the first user plane function network element, the first session management function network element, or the third session management function network element in any method embodiment of the present application. For details, please refer to the detailed description in the aforementioned method embodiment, which will not be repeated here. For example, the processor 1520 is used to read and execute program instructions through a communication interface so that the communication device 1500 implements the corresponding method. The processor 1520 may include one or more processors without limitation.
[0472] Specifically, the communication device 1500 can be a first user plane functional network element or a functional module located in the first user plane functional network element, which can implement the function of the first user plane functional network element in any method embodiment of the present application; or, the communication device 1500 can be a first session management functional network element or a functional module located in the first session management functional network element, which can implement the function of the first session management functional network element in any method embodiment of the present application; or, the communication device 1500 can be a third session management functional network element or a functional module located in the third session management functional network element, which can implement the function of the third session management functional network element in any method embodiment of the present application.
[0473] It should be noted that the above-mentioned functional modules can be implemented by hardware or by a combination of hardware and software without limitation.
[0474] For example, the communication device 1500 may be a chip system, wherein the chip system may be composed of a chip, or may include a chip and other discrete components, without limitation.
[0475] Optionally, communication device 1500 may further include memory 1530 for storing program instructions and / or data. Memory 1530 is coupled to processor 1520. Coupling can be understood as an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, for information exchange between devices, units, or modules. Processor 1520 may operate in conjunction with memory 1530. Memory 1530 may include one or more memories, without limitation.
[0476] Furthermore, the processor 1520 is configured to execute program instructions stored in the memory 1530 so that the communication device 1500 implements a corresponding method.
[0477] One or more memories in memory 1530 may be included in the processor, or memory 1530 may exist independently, such as an off-chip memory, and be connected to processor 1520 via a communication bus (represented by a bold line 1540 in FIG. 15 ). Memory 1530 and processor 1520 may also be integrated together.
[0478] Optionally, the communication device 1500 further includes a communication interface 1510 (indicated by a dotted line in FIG. 15 ) for communicating with other devices via a transmission medium, thereby enabling the device in the communication device 1500 to communicate with the other device. Exemplarily, when the communication device is a first user plane function network element, the other device may be a first session management function network element or a third session management function network element. The processor 1520 may use the communication interface 1510 to send and receive data.
[0479] The communication interface 1510 may be a transceiver. In hardware implementation, the transceiver may be used to implement the functions of the transceiver unit 1402 . The transceiver is integrated into the communication device 1500 to form the communication interface 1510 .
[0480] It should be noted that the specific connection medium between the communication interface 1510, processor 1520, and memory 1530 is not limited in the embodiments of the present application. In FIG15 , the memory 1530, processor 1520, and communication interface 1510 are connected via a communication bus 1540. The connection methods between other components are merely schematic and not limiting. The communication bus 1540 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG15 shows only one thick line, but this does not mean that there is only one communication bus or only one type of communication bus.
[0481] In the embodiments of the present application, processor 1520 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. A general-purpose processor may be a microprocessor or any conventional processor. The methods disclosed in conjunction with the embodiments of the present application may be executed by hardware in the processor, or by a combination of hardware and software in the processor.
[0482] In the embodiment of the present application, the memory 1530 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory, such as a random-access memory (RAM). The memory may also be any other medium for carrying or storing program code in the form of instructions or data structures and accessible by a computer; or a circuit or any other device capable of performing a storage function, for storing program instructions and / or data.
[0483] The present application also provides a communication system, which may include one or more of the following: a first user plane function network element, a first session management function network element, or a third session management function network element. Optionally, the communication system may also include a second user plane function network element and / or a second session management function network element.
[0484] Among them, the first user plane function network element, the first session management function network element, or the third session management function network element, the second user plane function network element, and the second session management function network element can all refer to the description in the aforementioned method embodiments and will not be repeated here.
[0485] An embodiment of the present application also provides a computer-readable storage medium, including program instructions, which, when executed on a computer, enables the computer to execute the method or steps of any network element (for example, a first user plane function network element, a first session management function network element, or a third session management function network element) in the above embodiments.
[0486] A computer program product is also provided in an embodiment of the present application, including program instructions, which, when executed on a computer, enables the computer to execute the method or steps of any network element (for example, a first user plane function network element, a first session management function network element, or a third session management function network element) in the above-mentioned embodiments.
[0487] An embodiment of the present application provides a chip system, which includes a processor configured to implement the functions of the first user plane function network element, the first session management function network element, or the third session management function network element in the aforementioned method (e.g., execute the corresponding method or steps). The chip system can be composed of a chip or can include a chip and other discrete components.
[0488] Optionally, the chip system further includes a memory for storing program instructions so that the above-mentioned processor reads and executes them to implement the corresponding method.
[0489] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does 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.
[0490] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software 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 beyond the scope of this application.
[0491] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0492] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that 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.
[0493] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0494] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0495] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes 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.
[0496] The above description is merely a specific embodiment of the present application, but the scope of protection of the embodiments of the present application is not limited thereto. Any person skilled in the art can easily conceive of changes or substitutions within the technical scope disclosed in the embodiments of the present application, and such changes or substitutions should be included in the scope of protection of the embodiments of the present application. Therefore, the scope of protection of the embodiments of the present application should be based on the scope of protection of the claims.
Claims
1. A communication method, characterized in that: Applied to a first user plane function network element, the method includes: Obtaining endpoint information of the second user plane function network element; According to the endpoint information of the second user plane function network element, business data of at least one personal Internet of Things network PIN is transmitted.
2. The method according to claim 1, characterized in that The obtaining of the endpoint information of the second user plane function network element includes: receiving a first message from a session management function network element, where the first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element; Sending, according to the first message, endpoint information of the first user plane function network element to the session management function network element; Receive endpoint information of the second user plane function network element from the session management function network element.
3. The method according to claim 2, characterized in that The first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element, including: The first message includes first indication information, where the first indication information is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Sending an identifier of at least one PIN served by the first user plane function network element to the session management function network element.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Obtaining an identifier of at least one PIN served by the second user plane function network element; The endpoint information on the second user plane function network element side is associated with an identifier of at least one PIN served by the second user plane function network element.
6. The method according to claim 5, characterized in that The at least one PIN of the second user plane function network element service includes a first PIN, and the method further includes: receiving a first data packet from a first terminal device based on a first session, wherein the first session is a session of the first PIN; The transmitting, according to the endpoint information of the second user plane function network element, the service data of at least one personal Internet of Things network PIN comprises: According to the first PIN, a second data packet is sent to the second user plane function network element through the endpoint information of the second user plane function network element, and the service data included in the first data packet is the same as the service data included in the second data packet.
7. The method according to claim 6, characterized in that Before sending the second data packet to the second user plane function network element through the endpoint information of the second user plane function network element, the method further includes: The second data packet is obtained by encapsulating a header outside the first data packet, wherein the header carries an identifier of the first PIN.
8. The method according to claim 6 or 7, characterized in that: Before sending the second data packet to the second user plane function network element through the endpoint information of the second user plane function network element, the method further includes: Determining, according to the destination address of the first data packet, that the destination address of the first data packet is not an address allocated by the first user plane function network element; The endpoint information of the second user plane function network element is determined based on the association between the endpoint information of the second user plane function network element and the identifier of at least one PIN served by the second user plane function network element and the identifier of the first PIN.
9. The method according to any one of claims 6 to 8, characterized in that Before receiving a first data packet from the first terminal device based on the first session, the method further includes: receiving a second message from a session management function network element, wherein the second message is used to request establishment of the first session of the first PIN; The first session is established according to the second message.
10. The method according to any one of claims 1 to 9, characterized in that The at least one PIN of the first user plane function network element service includes a second PIN, and the method further includes: receiving a third data packet from the second user plane function network element, wherein a header of the third data packet includes an identifier of the second PIN; Determine a second session according to the second PIN and / or the destination address of the third data packet, wherein the second session is a session of the second PIN; A fourth data packet is sent based on the second session, and the service data included in the fourth data packet is the same as the service data included in the third data packet.
11. A communication method, characterized in that: Applied to a first session management function network element, the method comprises: Obtaining endpoint information of the second user plane function network element; Sending endpoint information of the second user plane function network element to the first user plane function network element; Among them, the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit business data of at least one personal Internet of Things network PIN.
12. The method according to claim 11, characterized in that Before acquiring the endpoint information of the second user plane function network element, the method further includes: Sending a first message to the first user plane function network element, where the first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element; Receiving endpoint information of the first user plane function network element from the first user plane function network element; Sending the endpoint information of the first user plane function network element to the second user plane function network element.
13. The method according to claim 12, characterized in that The sending the endpoint information of the first user plane function network element to the second user plane function network element includes: The endpoint information of the first user plane function network element is sent to the second user plane function network element through the second session management function network element.
14. The method according to claim 12 or 13, characterized in that The at least one PIN served by the first user plane function network element includes a first PIN, and before sending the first message to the first user plane function network element, the method further includes: Receive a third message from a third session management function network element, wherein the third message includes an identifier of at least one session management function network element providing services for the first PIN and / or an identifier of at least one user plane function network element providing services for the first PIN, wherein the at least one session management function network element includes a second session management function network element, and the at least one user plane function network element includes the second user plane function network element.
15. The method according to claim 14, characterized in that The method further comprises: Determine, according to the identifier of the second session management function network element and / or the identifier of the second user plane function network element, whether to send the first message to the first user plane function network element.
16. The method according to claim 14 or 15, characterized in that Before receiving the third message from the third session management function network element, the method further includes: A fourth message is sent to the third session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
17. The method according to any one of claims 14 to 16, characterized in that The method further comprises: Sending the identifier of the first PIN and first information to the third session management function network element, where the first information includes the identifier of the first session management function network element and / or the identifier of the first user plane function network element.
18. The method according to any one of claims 14 to 17, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
19. The method according to claim 18, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element, including: The third message includes second indication information, where the second indication information is used to indicate that a tunnel is established for the first PIN between the first user plane function network element and the second user plane function network element.
20. The method according to any one of claims 14 to 19, characterized in that Before receiving the third message from the third session management function network element, the method further includes: Receiving a fifth message from the access management function network element, wherein the fifth message is used to request to establish a first session of the first PIN for the first terminal device; According to the fifth message, a second message is sent to the first user plane function network element, wherein the second message is used to request establishment of the first session of the first PIN.
21. The method according to any one of claims 12 to 20, characterized in that The first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element, including: The first message includes first indication information, where the first indication information is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element.
22. The method according to any one of claims 11 to 21, characterized in that The obtaining of the endpoint information of the second user plane function network element includes: The endpoint information of the second user plane function network element is received from the second session management network element.
23. The method according to any one of claims 11 to 22, characterized in that The method further comprises: receiving, from the first user plane function network element, an identification of at least one PIN served by the first user plane function network element; Sending an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element.
24. The method according to any one of claims 11 to 23, characterized in that The method further comprises: Receiving an identification of at least one PIN served by the second user plane function network element; Sending an identifier of at least one PIN served by the second user plane function network element to the first user plane function network element.
25. A communication method, characterized in that: Applied to a third session management function network element, the method includes: Receiving endpoint information of the second user plane function network element from the second user plane function network element; Sending endpoint information of the second user plane function network element to the first user plane function network element; Among them, the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit business data of at least one personal Internet of Things network PIN.
26. The method according to claim 25, characterized in that Before receiving the endpoint information of the second user plane function network element from the second user plane function network element, the method further includes: Sending a first message to the first user plane function network element, where the first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element; Receiving endpoint information of the first user plane function network element from the first user plane function network element; Sending the endpoint information of the first user plane function network element to the second user plane function network element.
27. The method according to claim 25 or 26, characterized in that The method further comprises: receiving, from the first user plane function network element, an identification of at least one PIN served by the first user plane function network element; Sending an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element.
28. The method according to any one of claims 25 to 27, characterized in that The method further comprises: Receiving, from a second user plane function network element, an identification of at least one PIN served by the second user plane function network element; Sending an identifier of at least one PIN served by the second user plane function network element to the first user plane function network element.
29. The method according to any one of claims 26 to 28, characterized in that The first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element, including: The first message includes first indication information, where the first indication information is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element.
30. The method according to claim 25, characterized in that The receiving the endpoint information of the second user plane function network element from the second user plane function network element includes: receiving, through a second session management function network element, endpoint information of the second user plane function network element from the second user plane function network element; The sending the endpoint information of the second user plane function network element to the first user plane function network element includes: The endpoint information of the second user plane function network element is sent to the first user plane function network element through the first session management function network element.
31. The method according to claim 30, characterized in that Before receiving, by the second session management function network element, the endpoint information of the second user plane function network element from the second user plane function network element, the method further includes: receiving endpoint information of the first user plane function network element from the first session management function network element; The endpoint information of the first user plane function network element is sent to the second user plane function network element through the second session management function network element.
32. The method according to claim 31, characterized in that The method further comprises: receiving, from the first session management function network element, an identification of at least one PIN served by the first user plane function network element; Sending, through the second session management function network element, an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element; receiving an identification of at least one PIN served by the second user plane function network element from the second session management function network element; Sending an identifier of at least one PIN served by the second user plane function network element to the first session management function network element.
33. The method according to any one of claims 30 to 32, characterized in that The at least one PIN includes a first PIN, the method further comprising: A third message is sent to the second session management function network element, where the third message includes an identifier of at least one session management function network element providing services for the first PIN and / or an identifier of at least one user plane function network element providing services for the first PIN.
34. The method according to claim 33, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
35. The method according to claim 34, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element, including: The third message includes second indication information, where the second indication information is used to indicate that a tunnel is established for the first PIN between the first user plane function network element and the second user plane function network element.
36. The method according to any one of claims 33 to 35, characterized in that The method further comprises: A fourth message is received from the second session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
37. The method according to any one of claims 25 to 36, characterized in that The at least one PIN includes a first PIN, the method further comprising: An identifier of a first PIN and first information are received from a first session management device, where the first information includes an identifier of the first session management function network element and / or an identifier of the first user plane function network element.
38. The method according to claim 37, characterized in that The method further comprises: Creating a context of the first PIN according to the first information, where the context of the first PIN includes the first information; or, The first information is added to the context of the first PIN, and based on the context of the first PIN, the identifier of at least one session management function network element providing services for the first PIN and / or the identifier of at least one user plane function network element providing services for the first PIN is determined.
39. A communication device, characterized in that: The communication device comprises a processing unit and a transceiver unit, wherein: The processing unit is used to obtain the endpoint information of the second user plane function network element; The transceiver unit is used to transmit business data of at least one personal Internet of Things network PIN according to the endpoint information of the second user plane function network element.
40. The device according to claim 39, characterized in that When obtaining the endpoint information of the second user plane function network element: The transceiver unit is used to receive a first message from a session management function network element, where the first message is used to instruct the communication device to allocate the endpoint information of the communication device; sending the endpoint information of the communication device to the session management function network element according to the first message; And, receiving endpoint information of the second user plane function network element from the session management function network element.
41. The device according to claim 40, characterized in that The first message is used to instruct the communication device to allocate the endpoint information of the communication device, including: The first message includes first indication information, where the first indication information is used to instruct the communication device to allocate endpoint information of the communication device.
42. The device according to any one of claims 39 to 41, characterized in that The transceiver unit is also used for: An identification of at least one PIN for the communication device service is sent to the session management function network element.
43. The device according to any one of claims 39 to 42, characterized in that The processing unit is also used for: Obtaining an identifier of at least one PIN served by the second user plane function network element; The endpoint information on the second user plane function network element side is associated with an identifier of at least one PIN served by the second user plane function network element.
44. The device according to claim 43, characterized in that The at least one PIN of the second user plane function network element service includes a first PIN, and the transceiver unit is further used to receive a first data packet from a first terminal device based on a first session, wherein the first session is a session of the first PIN; When transmitting service data of at least one personal Internet of Things network PIN according to the endpoint information of the second user plane function network element: The transceiver unit is used to send a second data packet to the second user plane function network element through the endpoint information of the second user plane function network element according to the first PIN, and the service data included in the first data packet is the same as the service data included in the second data packet.
45. The device according to claim 44, characterized in that Before sending the second data packet to the second user plane function network element through the endpoint information of the second user plane function network element, the processing unit is further used to: The second data packet is obtained by encapsulating a header outside the first data packet, wherein the header carries an identifier of the first PIN.
46. The device according to claim 44 or 45, characterized in that Before sending the second data packet to the second user plane function network element through the endpoint information of the second user plane function network element, the processing unit is further used to: Determining, according to the destination address of the first data packet, that the destination address of the first data packet is not an address assigned by the communication device; The endpoint information of the second user plane function network element is determined based on the association between the endpoint information of the second user plane function network element and the identifier of at least one PIN served by the second user plane function network element and the identifier of the first PIN.
47. The device according to any one of claims 44 to 46, characterized in that Before receiving a first data packet from a first terminal device based on a first session: The transceiver unit is further used to receive a second message from a session management function network element, wherein the second message is used to request to establish the first session of the first PIN; The processing unit is further configured to establish the first session according to the second message.
48. The device according to any one of claims 39 to 47, characterized in that The at least one PIN of the communication device service includes a second PIN: The transceiver unit is further configured to receive a third data packet from the second user plane function network element, wherein a header of the third data packet includes an identifier of the second PIN; The processing unit is further configured to determine a second session according to the second PIN and / or the destination address of the third data packet, wherein the second session is a session of the second PIN; The transceiver unit is further configured to send a fourth data packet based on the second session, wherein the service data included in the fourth data packet is the same as the service data included in the third data packet.
49. A communication device, characterized in that: The communication device comprises a processing unit and a transceiver unit, wherein: The processing unit is used to obtain the endpoint information of the second user plane function network element; The transceiver unit is used to send the endpoint information of the second user plane function network element to the first user plane function network element; Among them, the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit business data of at least one personal Internet of Things network PIN.
50. The device according to claim 49, characterized in that Before acquiring the endpoint information of the second user plane function network element, the transceiver unit is further used to: Sending a first message to the first user plane function network element, where the first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element; Receiving endpoint information of the first user plane function network element from the first user plane function network element; Sending the endpoint information of the first user plane function network element to the second user plane function network element.
51. The device according to claim 50, characterized in that When sending the endpoint information of the first user plane function network element to the second user plane function network element, the transceiver unit is used to: The endpoint information of the first user plane function network element is sent to the second user plane function network element through the second session management function network element.
52. The device according to claim 50 or 51, characterized in that The at least one PIN served by the first user plane function network element includes a first PIN, and before sending a first message to the first user plane function network element, the transceiver unit is further used to: Receive a third message from a third session management function network element, wherein the third message includes an identifier of at least one session management function network element providing services for the first PIN and / or an identifier of at least one user plane function network element providing services for the first PIN, wherein the at least one session management function network element includes a second session management function network element, and the at least one user plane function network element includes the second user plane function network element.
53. The device according to claim 52, characterized in that The processing unit is also used for: Determine, according to the identifier of the second session management function network element and / or the identifier of the second user plane function network element, whether to send the first message to the first user plane function network element.
54. The device according to claim 52 or 53, characterized in that Before receiving the third message from the third session management function network element, the transceiver unit is further configured to: A fourth message is sent to the third session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
55. The device according to any one of claims 52 to 54, characterized in that The transceiver unit is also used for: Sending the identifier of the first PIN and first information to the third session management function network element, where the first information includes the identifier of the communication device and / or the identifier of the first user plane function network element.
56. The device according to any one of claims 52 to 55, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
57. The device according to claim 56, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element, including: The third message includes second indication information, where the second indication information is used to indicate that a tunnel is established for the first PIN between the first user plane function network element and the second user plane function network element.
58. The device according to any one of claims 52 to 57, characterized in that Before receiving the third message from the third session management function network element, the transceiver unit is further configured to: Receiving a fifth message from the access management function network element, wherein the fifth message is used to request to establish a first session of the first PIN for the first terminal device; According to the fifth message, a second message is sent to the first user plane function network element, wherein the second message is used to request establishment of the first session of the first PIN.
59. The device according to any one of claims 50 to 58, characterized in that The first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element, including: The first message includes first indication information, where the first indication information is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element.
60. The device according to any one of claims 49 to 59, characterized in that When acquiring the endpoint information of the second user plane function network element, the transceiver unit is used to: The endpoint information of the second user plane function network element is received from the second session management network element.
61. The device according to any one of claims 49 to 60, characterized in that The transceiver unit is also used for: receiving, from the first user plane function network element, an identification of at least one PIN served by the first user plane function network element; Sending an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element.
62. The device according to any one of claims 49 to 61, characterized in that The transceiver unit is also used for: Receiving an identification of at least one PIN served by the second user plane function network element; Sending an identifier of at least one PIN served by the second user plane function network element to the first user plane function network element.
63. A communication device, characterized in that: The communication device comprises a transceiver unit; The transceiver unit is used to receive the endpoint information of the second user plane function network element from the second user plane function network element; and, sending endpoint information of the second user plane function network element to the first user plane function network element; Among them, the endpoint information of the second user plane function network element is used by the first user plane function network element to transmit business data of at least one personal Internet of Things network PIN.
64. The device according to claim 63, characterized in that Before receiving the endpoint information of the second user plane function network element from the second user plane function network element, the transceiver unit is further used to: Sending a first message to the first user plane function network element, where the first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element; Receiving endpoint information of the first user plane function network element from the first user plane function network element; Sending the endpoint information of the first user plane function network element to the second user plane function network element.
65. The device according to claim 63 or 64, characterized in that The transceiver unit is also used for: receiving, from the first user plane function network element, an identification of at least one PIN served by the first user plane function network element; Sending an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element.
66. The device according to any one of claims 63 to 65, characterized in that The transceiver unit is also used for: Receiving, from a second user plane function network element, an identification of at least one PIN served by the second user plane function network element; Sending an identifier of at least one PIN served by the second user plane function network element to the first user plane function network element.
67. The device according to any one of claims 64 to 66, characterized in that The first message is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element, including: The first message includes first indication information, where the first indication information is used to instruct the first user plane function network element to allocate endpoint information of the first user plane function network element.
68. The device according to claim 63, characterized in that When receiving the endpoint information of the second user plane function network element from the second user plane function network element: the transceiver unit is used to receive the endpoint information of the second user plane function network element from the second user plane function network element through the second session management function network element; When sending the endpoint information of the second user plane function network element to the first user plane function network element: the transceiver unit is used to send the endpoint information of the second user plane function network element to the first user plane function network element through the first session management function network element.
69. The device according to claim 68, characterized in that Before receiving, through the second session management function network element, the endpoint information of the second user plane function network element from the second user plane function network element, the transceiver unit is further used to: receiving endpoint information of the first user plane function network element from the first session management function network element; The endpoint information of the first user plane function network element is sent to the second user plane function network element through the second session management function network element.
70. The device according to claim 69, characterized in that The device also includes: receiving, from the first session management function network element, an identification of at least one PIN served by the first user plane function network element; Sending, through the second session management function network element, an identifier of at least one PIN served by the first user plane function network element to the second user plane function network element; receiving an identification of at least one PIN served by the second user plane function network element from the second session management function network element; Sending an identifier of at least one PIN served by the second user plane function network element to the first session management function network element.
71. The device according to any one of claims 68 to 70, characterized in that The at least one PIN includes a first PIN, and the transceiver unit is further configured to: A third message is sent to the second session management function network element, where the third message includes an identifier of at least one session management function network element providing services for the first PIN and / or an identifier of at least one user plane function network element providing services for the first PIN.
72. The device according to claim 71, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element.
73. The device according to claim 72, characterized in that The third message is used to instruct to establish a tunnel for the first PIN between the first user plane function network element and the second user plane function network element, including: The third message includes second indication information, where the second indication information is used to indicate that a tunnel is established for the first PIN between the first user plane function network element and the second user plane function network element.
74. The device according to any one of claims 71 to 73, characterized in that The transceiver unit is also used for: A fourth message is received from the second session management function network element, where the fourth message is used to subscribe to an event of the first PIN.
75. The device according to any one of claims 63 to 74, characterized in that The at least one PIN includes a first PIN, and the transceiver unit is further configured to: An identifier of a first PIN and first information are received from a first session management device, where the first information includes an identifier of the first session management function network element and / or an identifier of the first user plane function network element.
76. The device according to claim 75, characterized in that The communication device further comprises a processing unit, wherein the processing unit is configured to: Creating a context of the first PIN according to the first information, where the context of the first PIN includes the first information; or, The first information is added to the context of the first PIN, and based on the context of the first PIN, the identifier of at least one session management function network element providing services for the first PIN and / or the identifier of at least one user plane function network element providing services for the first PIN is determined.
77. A communication device, characterized in that: The communication device includes at least one processor and a memory; Wherein, the memory is used to store computer programs or instructions; The at least one processor is used to execute the computer program or instructions in the memory so that the method of any one of claims 1 to 10 is executed, or the method of any one of claims 11 to 24 is executed, or the method of any one of claims 25 to 38 is executed.
78. A communication system, characterized in that: The communication system includes one or more of the following: a first user plane function network element, a first session management function network element, or a third session management function network element; The first user plane function network element is used to execute the method as described in any one of claims 1 to 10, the first session management function network element is used to execute the method as described in any one of claims 11 to 24, and the third session management function network element is used to execute the method as described in any one of claims 25 to 38.
79. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which, when executed, cause the computer to execute the method as claimed in any one of claims 1 to 10, or cause the computer to execute the method as claimed in any one of claims 11 to 24, or execute the method as claimed in any one of claims 25 to 38.
80. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed by a computer, the computer executes the method according to any one of claims 1 to 10, or the method according to any one of claims 11 to 24, or the method according to any one of claims 25 to 38.
81. A chip system, characterized in that: The chip system includes a processor, which is used to execute the method as described in any one of claims 1 to 10, or to execute the method as described in any one of claims 11 to 24, or to execute the method as described in any one of claims 25 to 38.
Citation Information
Patent Citations
Cross-region communication method and device, and storage medium
CN113225242A
Group user communication method and device, network equipment and storage medium
CN113225697A
Route configuration method and device
CN113950077A
Communication method and device
CN114040450A
Cross-user-plane forwarding method and system and computer readable storage medium
CN114285787A
