SDP offer generation method and system
By relaying without N3IWF scenario in the layer three relay without N3IWF scenario, the relay node determines and contains the address information after relaying NAT in the SDP offer, solving the problem of inaccurate address modification in the SDP offer, and achieving the success of media-side negotiation.
Patent Information
- Application Number
- CN202310878808.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-01-17
AI Technical Summary
In the Layer Three relay without N3IWF scenario, the address in the SDP offer cannot be modified accurately, resulting in the failure of media negotiation.
The address information after the relay node of the Remote UE is determined and included in the SDP offer, so that the ALG function can be recognized and modified into the address information after the core network NAT.
In the Layer Three relay without N3IWF scenario, SDP offer negotiation is implemented to ensure that the media surface can establish a correct connection.
Smart Images

Figure CN119324914A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a method and system for generating an SDP offer. Background Art
[0002] When establishing the Internet Protocol Multimedia Subsystem (IMS) media plane, an offer / answer mechanism is required for media plane negotiation. Specifically, the User Equipment (UE) provides its own address and media type information in the Session Description Protocol (SDP), receives the address and media type information in the other party's SDP, and then establishes the media plane.
[0003] In practice, the mobile network may allocate a private network address to the UE, so the media plane from the UE to the other end may be modified by the NAT gateway of the mobile network. The UE only provides the private network address in the SDP offer, so the other end cannot directly establish a connection based on the private network address after receiving the SDP offer. The address in the SDP offer is modified based on the Application Level Gateway (ALG) function to the address after the Network Address Translation (NAT).
[0004] However, in the scenario of layer 3 relay communication without N3IWF, the relay node will also perform NAT. Therefore, the above ALG mechanism cannot accurately modify the address in the SDP offer. Summary of the invention
[0005] The embodiments of the present application provide a method and system for generating an SDP offer, which are used to perform SDP offer negotiation in a layer 3 relay without N3IWF scenario.
[0006] In a first aspect, an embodiment of the present application provides a first SDP offer generation method, which is applied to a remote UE. The method includes:
[0007] Receive the address information of the Remote UE after relay NAT sent by the relay node; the address information includes Internet Protocol (IP) address and port information;
[0008] Send a second SDP offer carrying the address information after the relay NAT.
[0009] In some optional implementation manners, before receiving the address information after relay NAT corresponding to the Remote UE sent by the relay node, the method further includes:
[0010] Sending a request message carrying first initial information to the relay node so that the relay node determines the address information after the relay NAT; wherein the first initial information includes the port information reserved by the Remote UE.
[0011] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0012] In some optional implementation manners, the relay node includes one or more relay UEs.
[0013] In a second aspect, an embodiment of the present application provides a second SDP offer generation method, which is applied to a relay node. The method includes:
[0014] Determine the address information after relay NAT corresponding to the Remote UE; wherein the address information includes an IP address and port information;
[0015] The address information after the relay NAT is sent to the Remote UE, so that the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0016] In some optional implementation manners, before determining the address information after the relay NAT corresponding to the Remote UE, the method further includes:
[0017] receiving a request message carrying first initial information sent by the Remote UE; wherein the first initial information includes port information reserved by the Remote UE;
[0018] Determine the address information after relay NAT corresponding to the Remote UE, including:
[0019] The address information after the relay NAT is determined based on the first initial information.
[0020] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0021] In some optional implementation manners, the relay node includes one or more relay UEs.
[0022] In some optional implementations, if the relay node includes multiple relay UEs, determining the address information after the relay NAT based on the first initial information includes:
[0023] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0024] Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT;
[0025] Sending the address information after the relay NAT to the Remote UE includes:
[0026] For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
[0027] In a third aspect, an embodiment of the present application provides a first SDP offer generation system, the system comprising a RemoteUE and a relay node;
[0028] The relay node is used to determine the address information after the relay NAT corresponding to the Remote UE; send the address information after the relay NAT to the Remote UE; wherein the address information includes an IP address and port information;
[0029] Remote UE, used to send a second SDP offer carrying the address information after the relay NAT.
[0030] In some optional implementation manners, the Remote UE is further used to:
[0031] Sending a request message carrying first initial information to the relay node; wherein the first initial information includes port information reserved by the Remote UE;
[0032] The relay node is specifically used for:
[0033] The address information after the relay NAT is determined based on the first initial information.
[0034] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0035] In some optional implementation manners, the relay node includes one or more relay UEs.
[0036] In some optional implementation manners, if the relay node includes multiple relay UEs, the relay node is specifically used to:
[0037] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0038] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT; and a response message is sent to the Remote UE, wherein the response message includes the address information of the relay after NAT.
[0039] In a fourth aspect, an embodiment of the present application provides a first SDP offer generation device, which is applied to a Remote UE, and the device includes:
[0040] A first receiving module is used to receive the address information after relay NAT corresponding to the Remote UE sent by the relay node; the address information includes an IP address and port information;
[0041] The first sending module is used to send a second SDP offer carrying the address information after the relay NAT.
[0042] In some optional implementation manners, the first sending module is further used to:
[0043] Sending a request message carrying first initial information to the relay node so that the relay node determines the address information after the relay NAT; wherein the first initial information includes the port information reserved by the Remote UE.
[0044] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0045] In some optional implementation manners, the relay node includes one or more relay UEs.
[0046] In a fifth aspect, an embodiment of the present application provides a second SDP offer generation device, which is applied to a relay node, and the device includes:
[0047] A NAT module, used to determine the address information after relay NAT corresponding to the Remote UE; wherein the address information includes an IP address and port information;
[0048] The second sending module is used to send the address information after the relay NAT to the Remote UE, so that the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0049] Some optional implementations further include a second receiving module, configured to:
[0050] receiving a request message carrying first initial information sent by the Remote UE; wherein the first initial information includes port information reserved by the Remote UE;
[0051] The NAT module is specifically used for:
[0052] The address information after the relay NAT is determined based on the first initial information.
[0053] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0054] In some optional implementation manners, the relay node includes one or more relay UEs.
[0055] In some optional implementation manners, if the relay node includes multiple relay UEs, the NAT module is specifically used to:
[0056] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0057] Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT;
[0058] The second sending module is specifically used for:
[0059] For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
[0060] In the above scheme, the relay node sends the corresponding address information after relay NAT to the Remote UE, that is, the IP address and port information obtained after one or more relay NATs; when the Remote UE initiates IMS media negotiation, it does not put the IP address allocated by the relay node to the Remote UE and the reserved port information in the SDP offer, but generates a second SDP offer carrying the address information after the above relay NAT (the IP address and port information obtained after one or more relay NATs are placed in the SDP offer). In this way, the ALG function can identify the IP address and port information obtained by the relay NAT, and then accurately modify the IP address and port information in the second SDP offer to the address information after the core network NAT, so that SDP offer negotiation can also be performed in the layer 3 relay without N3IWF scenario.
[0061] In a sixth aspect, an embodiment of the present application provides a third SDP offer generation method, which is applied to a Remote UE, and the method includes:
[0062] Sending a first SDP offer carrying second initial information to the relay node, so that the relay node determines the address information after the relay NAT based on the second initial information, and sends a second SDP offer carrying the address information after the relay NAT;
[0063] The second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE; the address information includes the IP address and the port information.
[0064] In some optional implementation manners, the relay node includes one or more relay UEs.
[0065] In a seventh aspect, an embodiment of the present application provides a fourth SDP offer generation method, which is applied to a relay node, and the method includes:
[0066] receiving a first SDP offer carrying second initial information sent by the Remote UE; wherein the second initial information is an IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE;
[0067] Based on the second initial information, determine the address information after relay NAT, and send a second SDP offer carrying the address information after relay NAT; the address information includes an IP address and port information.
[0068] In some optional implementation manners, the relay node includes one or more relay UEs.
[0069] In some optional implementations, if the relay node includes multiple relay UEs, determining the address information after relay NAT based on the second initial information, and sending a second SDPoffer carrying the address information after relay NAT, including:
[0070] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0071] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0072] In an eighth aspect, an embodiment of the present application provides a second SDP offer generation system, the system comprising a RemoteUE and a relay node;
[0073] Remote UE, used to send a first SDP offer carrying second initial information to the relay node; wherein the second initial information is an IP address allocated by the relay node to the Remote UE and port information reserved by the Remote UE; the address information includes the IP address and port information;
[0074] The relay node is used to determine the address information after the relay NAT based on the second initial information, and send a second SDP offer carrying the address information after the relay NAT.
[0075] In some optional implementation manners, the relay node includes one or more relay UEs.
[0076] In some optional implementation manners, if the relay node includes multiple relay UEs, the relay node is specifically used to:
[0077] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0078] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0079] In a ninth aspect, an embodiment of the present application provides a third SDP offer generation device, which is applied to a Remote UE, and the device includes:
[0080] A third sending module is used to send a first SDP offer carrying second initial information to the relay node, so that the relay node determines the address information after the relay NAT based on the second initial information, and sends a second SDP offer carrying the address information after the relay NAT;
[0081] The second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE; the address information includes the IP address and the port information.
[0082] In some optional implementation manners, the relay node includes one or more relay UEs.
[0083] In a tenth aspect, an embodiment of the present application provides a fourth SDP offer generation device, which is applied to a relay node, and the device includes:
[0084] A fourth receiving module, configured to receive a first SDP offer carrying second initial information sent by the Remote UE; wherein the second initial information is an IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE;
[0085] The fourth sending module is used to determine the address information after the relay NAT based on the second initial information, and send a second SDP offer carrying the address information after the relay NAT; the address information includes an IP address and port information.
[0086] In some optional implementation manners, the relay node includes one or more relay UEs.
[0087] In some optional implementation manners, if the relay node includes multiple relay UEs, the fourth sending module is specifically configured to:
[0088] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0089] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0090] In the above scheme, when the Remote UE initiates IMS media negotiation, it still places the IP address and reserved port information allocated by the relay node to the Remote UE in the SDP offer (first SDP offer), but the SDP offer is not sent directly to the base station, but to the relay node; the relay node determines the address information after relay NAT corresponding to the Remote UE based on the IP address and port information (second initial information) allocated by the Relay node to the Remote UE in the first SDP offer, that is, the IP address and port information obtained after one or more relay NATs, and places the IP address and port information obtained after one or more relay NATs in the SDP offer, so that the ALG function can identify the IP address and port information obtained by the relay NAT, and then accurately modify the IP address and port information in the second SDP offer to the address information after the core network NAT, so that SDP offer negotiation can also be performed in the layer 3 relay without N3IWF scenario.
[0091] In the eleventh aspect, an embodiment of the present application provides a Remote UE, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes the SDP offer generation method described in any one of the first aspect or the sixth aspect.
[0092] In the twelfth aspect, an embodiment of the present application provides a relay node, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes the SDP offer generation method described in any one of the second aspect or the seventh aspect.
[0093] In the thirteenth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program executable by a processor. When the program runs on the processor, the processor executes the SDP offer generation method described in any one of the first aspect, the second aspect, the sixth aspect or the seventh aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0095] Figure 1 A schematic diagram of the first application scenario provided in the embodiment of the present application;
[0096] Figure 2 An interactive flow chart of the first SDP offer generation method provided in an embodiment of the present application;
[0097] Figure 3 An interactive flow chart of the second SDP offer generation method provided in an embodiment of the present application;
[0098] Figure 4 A schematic diagram of a second application scenario provided in an embodiment of the present application;
[0099] Figure 5 An interactive flow chart of a third SDP offer generation method provided in an embodiment of the present application;
[0100] Figure 6 A flowchart of a first SDP offer generation method provided in an embodiment of the present application;
[0101] Figure 7 A flowchart of a second SDP offer generation method provided in an embodiment of the present application;
[0102] Figure 8 A flowchart of a third SDP offer generation method provided in an embodiment of the present application;
[0103] Fig. 9 A flowchart of a fourth SDP offer generation method provided in an embodiment of the present application;
[0104] Fig.10 A schematic diagram of the structure of a first SDP offer generating device provided in an embodiment of the present application;
[0105] Fig.11 A schematic diagram of the structure of a second SDP offer generating device provided in an embodiment of the present application;
[0106] Fig.12 A schematic diagram of the structure of a third SDP offer generating device provided in an embodiment of the present application;
[0107] Fig.13 A schematic diagram of the structure of a fourth SDP offer generating device provided in an embodiment of the present application;
[0108] Fig.14 A schematic diagram of the structure of the Remote UE provided in an embodiment of the present application. DETAILED DESCRIPTION
[0109] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0110] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0111] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal connection of two devices. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0112] When establishing the IMS media plane, the offer / answer mechanism needs to be used for media plane negotiation. Specifically, the UE provides its own address and media type information in the SDP, receives the address and media type information in the other party's SDP, and then establishes the media plane.
[0113] In practice, the mobile network may allocate a private network address to the UE, so the media plane from the UE to the other end may be modified by the NAT gateway of the mobile network. The UE only provides the private network address in the SDP offer, so the other end cannot directly establish a connection based on the private network address after receiving the SDP offer. Based on the ALG function, the address in the SDP offer is modified to the address after NAT.
[0114] However, in the layer 3 relay without N3IWF scenario, the relay node will also perform NAT. Therefore, the above ALG mechanism cannot accurately modify the address in the SDP offer.
[0115] See also Figure 1 As shown:
[0116] The remote UE obtains a private network IP (denoted as IP1) from the relay UE; the relay UE obtains a private network IP (denoted as IP2) from the 5G core network (5GC);
[0117] The Remote UE does not establish its own Protocol Data Unit (PDU) session, but relies on the PDU session of the relay UE.
[0118] The remote UE initiates a TCP connection with source IP1 and port number port1. After being NATed by the relay UE, it becomes IP2+port2. Then, it is NATed by the user plane function (UPF) network element / session border control (SBC) network element in the core network and becomes IP3+port3. The UPF network element / SBC network element will retain the NAT relationship (IP2+port2--IP3+port3).
[0119] The Remote UE initiates IMS media negotiation, and fills in the IP / PORT in the SDP offer as: IP1+port1. The Proxy-Call Session Control Function (P-CSCF) obtains the NAT relationship from the UPF / SBC, but the NAT relationship only has the correspondence between IP2+port2 and IP3+port3. Therefore, after passing through NAT more than once, it cannot obtain the correspondence between IP1+port1 in the SDP offer and the final IP3+port3, so it cannot modify the SDP offer, and the entire ALG mechanism fails.
[0120] Based on this, this embodiment provides a method and system for generating an SDP offer, which are used to perform SDP offer negotiation in a layer 3 relay without N3IWF scenario.
[0121] The following will be combined with the accompanying drawings and specific embodiments to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0122] Figure 2 The interactive flow chart of the first SDP offer generation method provided in the embodiment of the present application is as follows: Figure 2 As shown, the following steps are included:
[0123] Step S201: The relay node determines the address information after relay NAT corresponding to the Remote UE.
[0124] The address information includes an IP address and port information.
[0125] In the implementation, the Remote UE obtains a private network address from the relay node; the relay UE obtains a private network address from the 5GC. The Remote UE only reserves the private network address allocated from the relay node. The IP address allocated by the relay node to the Remote UE and the reserved port information are placed in the SDP offer and sent to the base station, which will cause the ALG mechanism to fail.
[0126] Based on this, the Remote UE does not put the IP address and reserved port information allocated by the relay node to the Remote UE in the SDP offer, but before initiating IMS media negotiation, the relay node first determines the address information after the relay NAT corresponding to the Remote UE.
[0127] Step S202: the relay node sends the address information after relay NAT to the Remote UE.
[0128] In implementation, after the relay node determines the address information after relay NAT corresponding to the Remote UE, the address information after relay NAT is sent to the Remote UE, so that the Remote UE can obtain the IP address and port information obtained after one or more relay NATs.
[0129] Step S203: The Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0130] In this embodiment, when the Remote UE initiates IMS media negotiation, it does not place the IP address allocated by the relay node to the Remote UE and the reserved IP address in the SDP offer, but generates a second SDPoffer carrying the address information after the above relay NAT (places the IP address and port information obtained by one or more relay NATs in the SDP offer).
[0131] The P-CSCF network element is the unified entry point for the IMS visited network. The ALG function is usually deployed in the P-CSCF network element. Therefore, the second SDP offer is usually transmitted to the P-CSCF network element, which obtains the NAT correspondence relationship and determines the address information carried in the second SDP offer based on the NAT correspondence relationship. Modify the corresponding public network address (address information after core network NAT) and send it to the next hop.
[0132] In the above scheme, the relay node sends the corresponding address information after relay NAT to the Remote UE, that is, the IP address and port information obtained after one or more relay NATs; when the Remote UE initiates IMS media negotiation, it does not put the IP address allocated by the relay node to the Remote UE and the reserved port information in the SDP offer, but generates a second SDP offer carrying the address information after the above relay NAT (the IP address and port information obtained after one or more relay NATs are placed in the SDP offer). In this way, the ALG function can identify the IP address and port information obtained by the relay NAT, and then accurately modify the IP address and port information in the second SDP offer to the address information after the core network NAT, so that SDP offer negotiation can also be performed in the layer 3 relay without N3IWF scenario.
[0133] Figure 3 The interactive flow chart of the second SDP offer generation method provided in the embodiment of the present application is as follows: Figure 3 As shown, the following steps are included:
[0134] Step S301: the Remote UE sends a request message carrying first initial information to the relay node.
[0135] The first initial information at least includes the port information reserved by the Remote UE.
[0136] In implementation, the relay node does not have the port information of the Remote UE. The Remote UE sends the reserved port information to the relay node, so that the relay node can learn the IP address allocated by the relay node to the Remote UE and the port information reserved by the Remote UE.
[0137] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0138] Since the address of the Remote UE is allocated by the previous hop relay, the relay can obtain the IP address corresponding to the Remote UE. Therefore, the first initial information may include or exclude the IP address allocated by the Relay node to the Remote UE, which can be specifically set according to the actual application scenario.
[0139] Step S302: The relay node determines the address information after the relay NAT based on the first initial information.
[0140] In implementation, after learning the IP address assigned by the relay node to the Remote UE and the port information reserved by the Remote UE, the relay node further accurately determines the IP address and port information obtained by the Remote UE after passing through one or more relay NATs.
[0141] Step S303: the relay node sends the address information after relay NAT to the Remote UE.
[0142] Step S304: the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0143] The specific implementation of steps S303 to S304 may refer to other embodiments and will not be described in detail here.
[0144] In the above solution, the Remote UE sends the reserved port information to the relay node, so that the relay node can learn the IP address assigned by the relay node to the Remote UE and the port information reserved by the Remote UE, thereby accurately determining the address information after the relay NAT corresponding to the Remote UE.
[0145] As described above, the Remote UE may pass through one or more relay NATs, so the relay node may include one or more relay UEs.
[0146] See also Figure 4 As shown, this is a second application scenario provided by this embodiment, which includes multiple relayUEs. Figure 4 As shown:
[0147] Remote UE obtains a private IP from relay UE1 (denoted as IP1); relay UE1 obtains a private IP from relay UE2 (denoted as IP2); relay UE2 obtains a private IP from 5GC (denoted as IP3).
[0148] Figure 4 Taking two relay UEs as an example, in implementation, the relay node may include more relay UEs, which will not be further illustrated here.
[0149] In the case where the relay node includes multiple relay UEs, the above step S202 may be implemented by, but not limited to, the following methods:
[0150] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0151] Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT;
[0152] Correspondingly, the above step S203 can be implemented by but not limited to the following methods:
[0153] For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
[0154] Specifically, the first hop relay UE in the relay node receives the request information carrying the first initial information sent by the Remote UE;
[0155] After receiving the corresponding request information, any relay UE in the relay node determines the address information after NAT is performed on the relay UE based on the address information carried in the corresponding request information;
[0156] If the relay UE is not a relay UE directly connected to the base station, a request message carrying the port information of the relay UE after NAT is sent to the next-hop relay UE; otherwise, the address information of the relay UE (the last-hop relay UE) after NAT is determined as the address information after the relay NAT;
[0157] The address information after relay NAT is sent to the Remote UE through the last hop relay UE in the relay node.
[0158] That is to say, for the relay UE that is not directly connected to the base station (the 1st to N-1th hop relay UE, N is the total number of relay UEs), since the address information of the relay UE after NAT is not the IP address and port information finally obtained after multiple relay NATs, NAT is continued by sending a request message carrying the port information after NAT to the next hop relay UE;
[0159] If the relay UE is a relay UE directly connected to the base station (N-th hop relay UE), then the address information of the relay UE after NAT is the IP address and port information finally obtained after multiple relay NATs. By sending the address information of the relay UE after NAT to the Remote UE, the Remote UE can obtain the IP address and port information finally obtained after multiple relay NATs.
[0160] The following will combine the above Figure 4 Let's take a specific example to illustrate:
[0161] The Remote UE sends a request message carrying the first initial information (including at least port1) to the relay UE1;
[0162] Relay UE1 is not a relay UE directly connected to the base station, and cannot determine the final address information after relay NAT. Therefore, relay UE1 sends a request message carrying its port information (port2) after NAT to relay UE2 (including at least port2).
[0163] Relay UE2 is a relay UE directly connected to the base station, and can determine the final address information after relay NAT (address information after relayUE2 performs NAT). Therefore, relay UE2 sends a response message (a response to the above request information) to the Remote UE, and the response message includes the address information after relay UE2 performs NAT (IP3+port3).
[0164] In the above scheme, if the relay UE is not a relay UE directly connected to the base station, then the address information of the relay UE after NAT is not the IP address and port information finally obtained after multiple relay NATs, and NAT is continued by sending a request message carrying the port information after NAT to the next-hop relay UE; if the relay UE is a relay UE directly connected to the base station, then the address information of the relay UE after NAT is the IP address and port information finally obtained after multiple relay NATs, and by sending the address information of the relay UE after NAT to the Remote UE, the Remote UE can obtain the IP address and port information finally obtained after multiple relay NATs, so that SDP offer negotiation can be performed in the scenario with multiple relay UEs, meeting the needs of SDP offer negotiation in different scenarios.
[0165] Figure 5The interactive flow chart of the third SDP offer generation method provided in the embodiment of the present application is as follows: Figure 5 As shown, the following steps are included:
[0166] Step S501: The Remote UE sends a first SDP offer carrying second initial information to a relay node.
[0167] The second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE; the address information includes the IP address and the port information.
[0168] In the implementation, the Remote UE obtains a private network address from the relay node; the relay UE obtains a private network address from the 5GC. The Remote UE only reserves the private network address allocated from the relay node. The IP address allocated by the relay node to the Remote UE and the reserved port information are placed in the SDP offer and sent to the base station, which will cause the ALG mechanism to fail.
[0169] In this embodiment, when the Remote UE initiates IMS media negotiation, it still places the IP address allocated by the relay node to the Remote UE and the reserved port information in the SDP offer (first SDP offer), but the SDP offer is not sent directly to the base station, but to the relay node, and the SDP offer is modified by the relay node to the address information supported by the ALG mechanism.
[0170] Step S502: the relay node determines the address information after relay NAT based on the second initial information, and sends a second SDP offer carrying the address information after relay NAT.
[0171] In this embodiment, the relay node determines the address information after relay NAT corresponding to the Remote UE based on the IP address and port (second initial information) in the first SDP offer, that is, the IP address and port information obtained after one or more relay NATs, and places the IP address and port information obtained after one or more relay NATs (address information supported by the ALG mechanism) in the SDP offer, so that the ALG function can identify the IP address and port information obtained by the relay NAT.
[0172] In the above scheme, when the Remote UE initiates IMS media negotiation, it still places the IP address and reserved port information allocated by the relay node to the Remote UE in the SDP offer (first SDP offer), but the SDP offer is not sent directly to the base station, but to the relay node; the relay node determines the address information after relay NAT corresponding to the Remote UE based on the IP address and reserved port information (second initial information) allocated by the Relay node to the Remote UE in the first SDP offer, that is, the IP address and port information obtained after one or more relay NATs, and places the IP address and port information obtained after one or more relay NATs in the SDP offer, so that the ALG function can identify the IP address and port information obtained by the relay NAT, and then accurately modify the IP address and port information in the second SDP offer to the address information after the core network NAT, so that SDP offer negotiation can also be performed in the layer 3 relay without N3IWF scenario.
[0173] As described above, the Remote UE may pass through one or more relay NATs, so the relay node may include one or more relay UEs.
[0174] In the case where the relay node includes multiple relay UEs, the above step S502 may be implemented by, but not limited to, the following methods:
[0175] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0176] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0177] Specifically, the first SDP offer is received by a first-hop relay UE in the relay node;
[0178] After receiving the corresponding SDP offer, any relay UE in the relay node determines the address information after NAT is performed on the relay UE based on the address information carried in the corresponding SDPoffer;
[0179] If the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is sent to the next-hop relay UE; otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT;
[0180] The second SDP offer is sent through the last hop relay UE in the relay node.
[0181] That is to say, for the relay UE that is not directly connected to the base station (the 1st to N-1th hop relay UE, N is the total number of relay UEs), since the address information of the relay UE after NAT is not the IP address and port information finally obtained after multiple relay NATs, NAT is continued by sending an SDP offer carrying the address information after NAT to the next hop relay UE;
[0182] If the relay UE is a relay UE directly connected to the base station (N-th hop relay UE), then the address information of the relay UE after NAT is the IP address and port information finally obtained after multiple relay NATs. By sending a second SDP offer (carrying the address information of the relay UE after NAT) to the base station, the ALG function can identify the address information in the second SDP offer.
[0183] The following will combine the above Figure 4 Let's take a specific example to illustrate:
[0184] The remote UE sends an SDP offer1 (first SDP offer) carrying the second initial information (IP1+port1) to the relay UE1.
[0185] Relay UE1 is not a relay UE directly connected to the base station, and cannot determine the final address information after relay NAT. Therefore, relay UE1 sends SDP offer2 carrying its address information after NAT (IP2+port2) to relay UE2.
[0186] Relay UE2 is a relay UE directly connected to the base station, and can determine the final address information after relay NAT (address information IP3+port3 after relay UE2 performs NAT). Therefore, relay UE2 sends a second SDP offer (carrying IP3+port3) to the base station.
[0187] In the above scheme, if the relay UE is not a relay UE directly connected to the base station, then the address information of the relay UE after NAT is not the IP address and port information finally obtained after multiple relay NATs, and NAT is continued by sending an SDP offer carrying the address information after NAT to the next-hop relay UE; if the relay UE is a relay UE directly connected to the base station, then the address information of the relay UE after NAT is the IP address and port information finally obtained after multiple relay NATs, and by sending an SDP offer carrying the address information of the relay UE after NAT to the base station, the ALG function can identify the address information in the second SDP offer, so that SDP offer negotiation can be performed in a scenario with multiple relay UEs, meeting the needs of SDP offer negotiation in different scenarios.
[0188] In the embodiment of the present application, the first SDP offer generation method performed by the Remote UE is as follows: Figure 6 As shown, the following steps are included:
[0189] Step S601: receiving the address information after relay NAT corresponding to the Remote UE sent by the relay node; wherein the address information includes the IP address and port information;
[0190] Step S602: Send a second SDP offer carrying the address information after the relay NAT.
[0191] In some optional implementation manners, before receiving the address information after relay NAT corresponding to the Remote UE sent by the relay node, the method further includes:
[0192] Sending a request message carrying first initial information to the relay node so that the relay node determines the address information after the relay NAT; wherein the first initial information includes the port information reserved by the Remote UE.
[0193] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0194] In some optional implementation manners, the relay node includes one or more relay UEs.
[0195] In the embodiment of the present application, the Remote UE performs a second SDP offer generation method, such as Figure 7 As shown, the following steps are included:
[0196] Step S701: Determine the second initial information corresponding to the Remote UE;
[0197] Step S702: Sending a first SDP offer carrying second initial information to the relay node, so that the relay node determines the address information after relay NAT based on the second initial information, and sends a second SDP offer carrying the address information after relay NAT;
[0198] The second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE; the address information includes the IP address and the port information.
[0199] In some optional implementation manners, the relay node includes one or more relay UEs.
[0200] In the embodiment of the present application, the first SDP offer generation method performed by the relay node is as follows: Figure 8 As shown, the following steps are included:
[0201] Step S801: Determine the address information after relay NAT corresponding to the Remote UE; wherein the address information includes an IP address and port information;
[0202] Step S802: Send the address information after the relay NAT to the Remote UE, so that the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0203] In some optional implementation manners, before determining the address information after the relay NAT corresponding to the Remote UE, the method further includes:
[0204] receiving a request message carrying first initial information sent by the Remote UE; wherein the first initial information includes port information reserved by the Remote UE;
[0205] Determine the address information after relay NAT corresponding to the Remote UE, including:
[0206] The address information after the relay NAT is determined based on the first initial information.
[0207] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0208] In some optional implementation manners, the relay node includes one or more relay UEs.
[0209] In some optional implementations, if the relay node includes multiple relay UEs, determining the address information after the relay NAT based on the first initial information includes:
[0210] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0211] Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT;
[0212] Sending the address information after the relay NAT to the Remote UE includes:
[0213] For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
[0214] The second SDP offer generation method performed by the relay node in the embodiment of the present application is as follows Fig. 9 As shown, the following steps are included:
[0215] Step S901: receiving a first SDP offer carrying second initial information sent by a Remote UE; wherein the second initial information is an IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE;
[0216] Step S902: Based on the second initial information, determine the address information after relay NAT, and send a second SDP offer carrying the address information after relay NAT; the address information includes an IP address and port information.
[0217] In some optional implementation manners, the relay node includes one or more relay UEs.
[0218] In some optional implementations, if the relay node includes multiple relay UEs, determining the address information after relay NAT based on the second initial information, and sending a second SDPoffer carrying the address information after relay NAT, including:
[0219] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0220] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0221] Figure 6 to Figure 9 The specific implementation of the embodiment can refer to the implementation of the above-mentioned interaction method, and the repeated parts will not be repeated.
[0222] like Fig.10 As shown, based on Figure 6 The invention concept of the same SDP offer generation method as shown in the figure, the embodiment of the present application provides a first SDP offer generation device 1000, which is applied to Remote UE, and the device includes:
[0223] The first receiving module 1001 is used to receive the address information after relay NAT corresponding to the Remote UE sent by the relay node; the address information includes an IP address and port information;
[0224] The first sending module 1002 is configured to send a second SDP offer carrying the address information after the relay NAT.
[0225] In some optional implementation manners, the first sending module 1002 is further configured to:
[0226] Sending a request message carrying first initial information to the relay node so that the relay node determines the address information after the relay NAT; wherein the first initial information includes the port information reserved by the Remote UE.
[0227] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0228] In some optional implementation manners, the relay node includes one or more relay UEs.
[0229] like Fig.11 As shown, based on Figure 7 The same inventive concept as the SDP offer generation method shown in the figure, the embodiment of the present application provides a second SDP offer generation device 1100, which is applied to Remote UE, and the device includes:
[0230] The third sending module 1101 is used to send a first SDP offer carrying second initial information to the relay node, so that the relay node determines the address information after the relay NAT based on the second initial information, and sends a second SDP offer carrying the address information after the relay NAT;
[0231] The second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE; the address information includes the IP address and the port information.
[0232] In some optional implementation manners, the relay node includes one or more relay UEs.
[0233] like Fig.12 As shown, based on Figure 8 The embodiment of the present application provides a third SDP offer generation device 1200, which is applied to a relay node. The device includes:
[0234] The NAT module 1201 is used to determine the address information after the relay NAT corresponding to the Remote UE; wherein the address information includes the IP address and port information;
[0235] The second sending module 1202 is configured to send the address information after the relay NAT to the Remote UE, so that the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0236] Some optional implementations further include a second receiving module 1203, configured to:
[0237] receiving a request message carrying first initial information sent by the Remote UE; wherein the first initial information includes port information reserved by the Remote UE;
[0238] The NAT module 1201 is specifically used for:
[0239] The address information after the relay NAT is determined based on the first initial information.
[0240] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0241] In some optional implementation manners, the relay node includes one or more relay UEs.
[0242] In some optional implementation manners, if the relay node includes multiple relay UEs, the NAT module 1201 is specifically configured to:
[0243] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0244] Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT;
[0245] The second sending module 1202 is specifically configured to:
[0246] For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
[0247] like Fig.13 As shown, based on Fig. 9 The invention concept of the SDP offer generation method shown in FIG. 1 is the same as that of the invention concept, and the embodiment of the present application provides a fourth SDP offer generation device 1300, which is applied to a relay node, and the device includes:
[0248] The fourth receiving module 1301 is used to receive a first SDPffer carrying second initial information sent by the Remote UE; wherein the second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE;
[0249] The fourth sending module 1302 is used to determine the address information after the relay NAT based on the second initial information, and send a second SDP offer carrying the address information after the relay NAT; the address information includes an IP address and port information.
[0250] In some optional implementation manners, the relay node includes one or more relay UEs.
[0251] In some optional implementation manners, if the relay node includes multiple relay UEs, the fourth sending module 1302 is specifically configured to:
[0252] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0253] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0254] Figure 10 to Figure 13 The specific implementation of the embodiment can refer to the implementation of the above-mentioned interaction method, and the repeated parts will not be repeated.
[0255] Based on the same technical concept, the embodiment of the present application further provides a Remote UE 1400, such as Fig.14 As shown, it includes at least one processor 1401 and a memory 1402 connected to the at least one processor. The specific connection medium between the processor 1401 and the memory 1402 is not limited in the embodiment of the present application. Fig.14 For example, the processor 1401 and the memory 1402 are connected via a bus 1403. The bus can be divided into a path bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0256] Among them, the processor 1401 is the control center of the Remote UE, and can use various interfaces and lines to connect various parts of the Remote UE, and realize data processing by running or executing instructions stored in the memory 1402 and calling data stored in the memory 1402. Optionally, the processor 1401 may include one or more processing units, and the processor 1401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application program, etc., and the modem processor mainly processes the issued instructions. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1401. In some embodiments, the processor 1401 and the memory 1402 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0257] The processor 1401 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the SDP offer generation method may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0258] Memory 1402, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 1402 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), programmable read-only memory (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic memory, disk, optical disk, etc. Memory 1402 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1402 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0259] In the embodiment of the present application, the memory 1402 stores a computer program. When the program is executed by the processor 1401, the processor 1401 executes:
[0260] Receive the address information after relay NAT corresponding to the Remote UE sent by the relay node; the address information includes the IP address and port information;
[0261] Send a second SDP offer carrying the address information after the relay NAT.
[0262] In some optional implementations, before receiving the address information after relay NAT corresponding to the Remote UE sent by the relay node, the processor 1401 further executes:
[0263] Sending a request message carrying first initial information to the relay node so that the relay node determines the address information after the relay NAT; wherein the first initial information includes the port information reserved by the Remote UE.
[0264] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0265] In some optional implementation manners, the relay node includes one or more relay UEs.
[0266] Alternatively, when the program is executed by the processor 1401, the processor 1401 executes:
[0267] Sending a first SDP offer carrying second initial information to the relay node, so that the relay node determines the address information after the relay NAT based on the second initial information, and sends a second SDP offer carrying the address information after the relay NAT;
[0268] The second initial information is the IP address allocated by the Relay node to the Remote UE and the port information reserved by the Remote UE; the address information includes the IP address and the port information.
[0269] In some optional implementation manners, the relay node includes one or more relay UEs.
[0270] Based on the same technical concept, an embodiment of the present application further provides a relay node, including at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes:
[0271] Determine the address information after relay NAT corresponding to the Remote UE; wherein the address information includes an IP address and port information;
[0272] The address information after the relay NAT is sent to the Remote UE, so that the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
[0273] In some optional implementations, before determining the address information after the relay NAT corresponding to the Remote UE, the processor further executes:
[0274] receiving a request message carrying first initial information sent by the Remote UE; wherein the first initial information includes port information reserved by the Remote UE;
[0275] The processor specifically performs:
[0276] The address information after the relay NAT is determined based on the first initial information.
[0277] In some optional implementation manners, the first initial information also includes an IP address allocated by the Relay node to the RemoteUE.
[0278] In some optional implementation manners, the relay node includes one or more relay UEs.
[0279] In some optional implementation manners, if the relay node includes multiple relay UEs, the processor specifically performs:
[0280] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next hop relayUE;
[0281] Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT;
[0282] The processor specifically performs:
[0283] For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
[0284] Or, when the program is executed by a processor, the processor is caused to execute:
[0285] receiving a first SDP offer carrying second initial information sent by the Remote UE; wherein the second initial information is an IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE;
[0286] Based on the second initial information, determine the address information after relay NAT, and send a second SDP offer carrying the address information after relay NAT; the address information includes an IP address and port information.
[0287] In some optional implementation manners, the relay node includes one or more relay UEs.
[0288] In some optional implementation manners, if the relay node includes multiple relay UEs, the processor specifically performs:
[0289] For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is performed is sent to the next-hop relay UE;
[0290] Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
[0291] Based on the same technical concept, an embodiment of the present application further provides a computer-readable storage medium storing a computer program executable by a processor. When the program runs on the processor, the processor executes the steps of the above-mentioned SDP offer generation method.
[0292] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0293] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0294] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0295] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0296] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0297] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for generating a session description protocol (SDP) offer, characterized in that: Applied to a remote user equipment Remote UE, the method includes: Receiving the address information of the relay network address corresponding to the Remote UE after NAT translation sent by the relay node; the address information includes the Internet Protocol IP address and port information; Send a second SDP offer carrying the address information after the relay NAT.
2. The method according to claim 1, characterized in that Before receiving the address information after relay NAT corresponding to the Remote UE sent by the relay node, the method further includes: Sending a request message carrying first initial information to the relay node so that the relay node determines the address information after the relay NAT; wherein the first initial information includes the port information reserved by the Remote UE.
3. The method according to claim 2, characterized in that The first initial information also includes an IP address allocated by the Relay node to the Remote UE.
4. The method according to any one of claims 1 to 3, characterized in that: The relay node includes one or more relay UEs.
5. A method for generating a session description protocol (SDP) offer, characterized in that: Applied to a relay node, the method includes: Determine the address information after NAT of the relay network address translation corresponding to the remote user equipment Remote UE; wherein the address information includes the Internet interconnection protocol IP address and port port information; The address information after the relay NAT is sent to the Remote UE, so that the Remote UE sends a second SDP offer carrying the address information after the relay NAT.
6. The method according to claim 5, characterized in that Before determining the address information after the relay NAT corresponding to the Remote UE, the following is also included: receiving a request message carrying first initial information sent by the Remote UE; wherein the first initial information includes port information reserved by the Remote UE; Determine the address information after relay NAT corresponding to the Remote UE, including: The address information after the relay NAT is determined based on the first initial information.
7. The method according to claim 6, characterized in that The first initial information also includes an IP address allocated by the Relay node to the Remote UE.
8. The method according to claim 6, characterized in that The relay node includes one or more relay UEs.
9. The method according to claim 8, characterized in that If the relay node includes multiple relay UEs, determining the address information after the relay NAT based on the first initial information includes: For any relay UE, if the relay UE is not a relay UE directly connected to the base station, determine the address information after NAT is performed on the relay UE based on the port information carried in the corresponding request information, and send a request information carrying the port information after NAT is performed on the relay UE to the next-hop relay UE; Otherwise, determining the address information of the relay UE after NAT as the address information of the relay after NAT; Sending the address information after the relay NAT to the Remote UE includes: For any relay UE, if the relay UE is a relay UE directly connected to a base station, a response message is sent to the Remote UE, where the response message includes the address information after the relay NAT.
10. A method for generating a session description protocol (SDP) offer, characterized in that: Applied to a remote user equipment Remote UE, the method includes: Sending a first SDP offer carrying second initial information to a relay node, so that the relay node determines address information after relay network address translation NAT based on the second initial information, and sending a second SDP offer carrying the address information after relay NAT; The second initial information is an Internet Protocol IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE; the address information includes the IP address and port information.
11. The method according to claim 10, characterized in that The relay node includes one or more relay UEs.
12. A method for generating a session description protocol (SDP) offer, characterized in that: Applied to a relay node, the method includes: receiving a first SDP offer carrying second initial information sent by a remote user equipment Remote UE; wherein the second initial information is an Internet Protocol IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE; Based on the second initial information, determine the address information after relay NAT, and send a second SDP offer carrying the address information after relay NAT; the address information includes an IP address and port information.
13. The method according to claim 12, characterized in that The relay node includes one or more relay UEs.
14. The method according to claim 13, characterized in that If the relay node includes multiple relay UEs, determining address information after relay NAT based on the second initial information, and sending a second SDP offer carrying the address information after relay NAT, including: For any relay UE, if the relay UE is not a relay UE directly connected to the base station, an SDP offer carrying the address information of the relay UE after NAT is sent to the next-hop relay UE; Otherwise, the address information of the relay UE after NAT is determined as the address information of the relay after NAT, and the second SDP offer is sent to the base station.
15. A session description protocol (SDP) offer generation system, characterized in that: include: Relay node and remote user equipment Remote UE; The relay node is used to determine the address information of the relay network address corresponding to the Remote UE after NAT; Sending the address information after the relay NAT to the Remote UE; wherein the address information includes an Internet Protocol IP address and port information; The Remote UE is used to send a second SDP offer carrying the address information after the relay NAT.
16. A session description protocol (SDP) offer generation system, characterized in that: include: Relay node and remote user equipment Remote UE; The Remote UE is used to send a first SDP offer carrying second initial information to the relay node; The second initial information is an Internet Protocol IP address allocated by the Relay node to the Remote UE and port information reserved by the Remote UE; the address information includes the IP address and port information; The relay node is used to determine the address information after the relay network address translation NAT based on the second initial information, and send a second SDP offer carrying the address information after the relay NAT.