Data transmission method and apparatus
By using PDU session creation request messages to obtain IP addresses and create tunnels in 5G networks, the problem of wired network connections between APs and ACs in traditional wireless LANs is solved, enabling efficient wireless user access services.
Patent Information
- Application Number
- CN202311272083.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-09-27
AI Technical Summary
In traditional wireless LANs, the connection between the AP and AC requires a wired network, resulting in high deployment costs and long deployment times, and making it impossible to efficiently provide access services for wireless users.
Using the 5G network as the backhaul network, the user front-end equipment (CPE) sends PDU session creation request messages with the access and mobility management function (AMF) network element to obtain the IP addresses of the AC and CPE, and creates tunnels based on these addresses to realize data transmission between the AP and AC.
It enables efficient communication between AP and AC without the need for wired network deployment, reducing deployment costs and time.
Smart Images

Figure CN117222046B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile communication technology, and in particular to data transmission methods and apparatus. Background Technology
[0002] WLAN (Wireless Local Area Network) has been widely used in large areas such as enterprises, campuses, and shopping malls, allowing users to easily access the Internet. However, in traditional WLANs, the Access Point (AP) must be connected to the Access Controller (AC) via a wired network to provide access services to wireless users. Wired networks are costly and time-consuming to deploy. Summary of the Invention
[0003] In view of this, this application provides a data transmission method and apparatus to enable communication between the AP and AC using a 5G network as the backhaul network.
[0004] The technical solution provided in this application is as follows:
[0005] According to an embodiment of the first aspect of this application, a data transmission method is proposed, which is applied to a user front-end device (CPE) in a 5G network, wherein the CPE supports wireless access point (AP) functionality, and the method includes:
[0006] After successfully registering with the 5G network, this CPE sends a Protocol Data Unit (PDU) Session Creation Request message to the Access and Mobility Management Function (AMF) in the 5G network, so that the AMF forwards the PDU Session Creation Request message to the Session Management Function (SMF). The PDU Session Creation Request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request an IP address from the Access Control Center (AC). The second field contains a second IP address request identifier, which is used to request an IP address to be allocated to this CPE.
[0007] The system receives a response message returned by the 5G network, the response message including at least a PDU session establishment acceptance message sent by the AMF, which is sent by the SMF to the AMF based on the PDU session creation request message;
[0008] Parse the response message to obtain a third field and a fourth field from the response message, wherein the third field carries the IP address of the AC and the fourth field carries the IP address assigned to this CPE;
[0009] A tunnel is created based on the IP address assigned to this CPE and the IP address of the AC to provide data transmission services to the terminals accessed by this CPE through the tunnel.
[0010] Optionally, the first field is a reserved field in the Protocol Configuration Options (PCO) element of the PDU session creation request message, the reserved field containing a first identifier, and the third field is a reserved field in the PCO element of the response message corresponding to the first identifier; or,
[0011] The first field is a designated field in the PCO element of the PDU session creation request, which is designated to store the address for voice services. The designated field includes a second identifier. The third field is a designated field in the PCO element of the response message, which is designated to store the address for services and corresponds to the second identifier.
[0012] Optionally, the AC's IP address is assigned by the SMF based on local configuration; or,
[0013] The AC's IP address is assigned by the DHCP server that the SMF requests to connect to.
[0014] Optionally, the response message may also include a Router Advertisement (RA) message sent by the User Plane Function (UPF) element in the 5G network;
[0015] The third field is a field carried in the PDU's establishment and acceptance message;
[0016] The fourth field is obtained by combining the fifth field carried in the RA message and the sixth field in the PDU establishment and acceptance message.
[0017] According to an embodiment of the second aspect of this application, a data transmission method is proposed, which is applied to SMF in a 5G network. The 5G network further includes a User Front-End Equipment (CPE) that supports AP functionality. The method includes:
[0018] The system receives a PDU session creation request message sent by the AMF. The PDU session creation request message is initiated by the CPE to the AMF after successfully registering with the 5G network. The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for the CPE.
[0019] Based on the PDU session creation request message, a PDU session establishment acceptance message is returned to the AMF, so that the AMF sends the PDU session establishment acceptance message to the CPE; the CPE parses the response message to obtain the third and fourth fields from the response message; the CPE creates a tunnel based on the IP address assigned to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel; wherein, the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to the CPE; the response message includes at least the PDU session creation request message.
[0020] Optionally, the IP address of the AC being issued includes:
[0021] The IP address of the AC is issued based on the local configuration; or...
[0022] Send a DHCP request message to the DHCP server connected to this SMF so that the DHCP server can issue the IP address of the AC.
[0023] According to an embodiment of the third aspect of this application, a data transmission apparatus is provided, which is a user front-end device (CPE) in a 5G network, the CPE supporting wireless access point (AP) functionality, the apparatus comprising:
[0024] The sending unit is configured to send a PDU session creation request message to the Access and Mobility Management Function (AMF) in the 5G network after successfully registering to the 5G network, so that the AMF will send the PDU session creation request message to the Session Management Function (SMF). The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request an IP address from the AC. The second field contains a second IP address request identifier, which is used to request an IP address to be allocated to this CPE.
[0025] The receiving unit is configured to receive a response message returned by the 5G network. The response message includes at least a PDU session establishment acceptance message sent by the AMF, which is sent by the SMF to the AMF based on the PDU session creation request message.
[0026] A parsing unit is used to parse the response message to obtain a third field and a fourth field from the response message, wherein the third field carries the IP address of the AC and the fourth field carries the IP address assigned to this CPE;
[0027] The creation unit is used to create a tunnel based on the IP address assigned to this CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by this CPE through the tunnel.
[0028] Optionally, the first field is a reserved field in the Protocol Configuration Options (PCO) element of the PDU session creation request message, the reserved field containing a first identifier, and the third field is a reserved field in the PCO element of the response message corresponding to the first identifier; or,
[0029] The first field is a designated field in the PCO element of the PDU session creation request that is designated to store the address for voice service. The designated field includes a second identifier. The third field is a designated field in the PCO element of the response message that is designated to store the address for service and corresponds to the second identifier.
[0030] And / or, the AC's IP address is assigned by the SMF based on local configuration; or,
[0031] The AC's IP address is assigned by the DHCP server that the SMF requests to connect to;
[0032] And / or, the response message also includes a Router Advertisement (RA) message sent by a User Plane Function (UPF) element in the 5G network;
[0033] The third field is a field carried in the PDU's establishment and acceptance message;
[0034] The fourth field is obtained by combining the fifth field carried in the RA message and the sixth field in the PDU establishment and acceptance message.
[0035] According to an embodiment of the fourth aspect of this application, a data transmission apparatus is provided, which is applied to an SMF in a 5G network. The 5G network further includes a User Front-End Equipment (CPE) that supports AP functionality. The apparatus includes:
[0036] The receiving unit is configured to receive a PDU session creation request message sent by the AMF. The PDU session creation request message is initiated by the CPE to the AMF after successfully registering with the 5G network. The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for the CPE.
[0037] The return unit is configured to return a PDU session establishment acceptance message to the AMF based on the PDU session creation request message, so that the AMF can send the PDU session establishment acceptance message to the CPE; the CPE can parse the response message to obtain a third field and a fourth field from the response message; the CPE can create a tunnel based on the IP address assigned to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel; wherein the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to the CPE; the response message includes at least the PDU session creation request message.
[0038] Optionally, the return unit is specifically used for:
[0039] The IP address of the AC is issued based on the local configuration; or...
[0040] Send a DHCP request message to the DHCP server connected to this SMF so that the DHCP server can issue the IP address of the AC.
[0041] According to an embodiment of the fifth aspect of this application, an electronic device is proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method as described in the first or second aspect.
[0042] As can be seen from the above technical solutions, after successfully registering to the 5G network, this application embodiment sends a PDU session creation request message to the 5G network. This request message carries a first field for requesting the IP address of the AC and a second field for requesting the allocation of an IP address for the CPE, so that the 5G network returns response information. The CPE obtains a third field containing the IP address of the AC and a fourth field containing the IP address allocated to the CPE from the response information, and creates a tunnel based on the IP address allocated to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel. When wired network deployment is inconvenient, the AP and AC can communicate using the 5G network as a backhaul network. Attached Figure Description
[0043] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the principles of this application.
[0044] Figure 1 A flowchart illustrating the implementation of a data transmission method provided in this application embodiment;
[0045] Figure 2A flowchart illustrating the implementation of another data transmission method provided in this application embodiment;
[0046] Figure 3 A network interaction diagram provided for an embodiment of this application;
[0047] Figure 4 Another network interaction diagram provided for embodiments of this application;
[0048] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of this application;
[0049] Figure 6 A structural diagram of a data transmission device provided in an embodiment of this application;
[0050] Figure 7 This is a structural diagram of another data transmission device provided in an embodiment of this application. Detailed Implementation
[0051] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0052] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0053] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0054] The technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0055] Please refer to Figure 1 , Figure 1The flowchart illustrates the data transmission method provided in this application embodiment. This method is applied to a Customer Premise Equipment (CPE) in a 5G network. The CPE supports the function of a Wireless Access Point (AP). The CPE also has the ability to access both the 5G network and the WLAN (Wireless Local Area Network).
[0056] like Figure 1 As shown, the method may include the following steps:
[0057] Step 101: After successfully registering to the 5G network, this CPE sends a PDU (Protocol Data Unit) session creation request message to the Access and Mobility Management Function (AMF) network element in the 5G network, so that the AMF sends the PDU session creation request message to the Session Management Function (SMF) network element.
[0058] In this embodiment, the PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for this CPE.
[0059] For ease of description, the PDU session creation request message here can be referred to as PDU SessionEstablishment Request. Since there is no signaling related to requesting the IP address of the AC in the 5G network, it is not possible to directly request the 5G network to issue the IP address of the AC through the PDU Session Establishment Request message.
[0060] In this embodiment, the 5G network needs to be pre-configured so that it can recognize the field used to request the IP address of the AC from the 5G network, and send the AC's IP address with the same field. The pre-configuration process and the CPE registration process in the 5G network are common methods in related technologies and will not be elaborated here.
[0061] In this embodiment, the first field may be one of the reserved fields in the PCO (Protocol Configuration Option) information element in the PDU session creation request message. This reserved field is a field that is pre-set in the PCO information element for user-defined purposes. The field identifier Container Identifier (denoted as Container ID) is the first identifier, including (0xFF00–0xFFFF).
[0062] In this embodiment, it can be pre-agreed with the 5G network to identify a field corresponding to one of the fields in the first identifier as an instruction to request the IP address of the AC. That is, when the PDU Session EstablishmentRequest message received by the 5G network contains the agreed field, the 5G network can know that the CPE is requesting the IP address of the AC.
[0063] In this embodiment, the first field can also reuse a designated field that is not currently in use in the PCO cell. This designated field can be a field used to request the address of the AC when there is no voice service in the WLAN local scenario. The field identifier Container ID of this designated field is a second identifier, including: (0x0001 IPv6, 0x000C IPv4). When the IPv6 address of the AC needs to be requested, the designated field with the second identifier of 0x0001 can be used, and when the IPv4 address of the AC needs to be requested, the designated field with the second identifier of 0x000C can be used.
[0064] In this embodiment, requesting an IP address to be assigned to this CPE is a common method in related technologies, and will not be described in detail here.
[0065] This concludes the description of step 101. Proceed to step 102.
[0066] Step 102: Receive a response message returned by the 5G network. The response message includes at least a PDU session establishment acceptance message sent by the AMF. This PDU session establishment acceptance message is sent by the SMF to the AMF based on the PDU session creation request message.
[0067] In this embodiment, receiving the response message returned by the 5G network is a common method in related technologies, and will not be described in detail here.
[0068] As an example, the response message may also include a Router Advertisement (RA) message sent by the User Plane Function (UPF) element in the 5G network. The process of sending the RA message is a common method in related technologies and will not be described in detail here.
[0069] This concludes the description of step 102. We will now proceed to step 103.
[0070] Step 103: Parse the response message to obtain the third and fourth fields carried in the response message.
[0071] In this embodiment, the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to this CPE.
[0072] In this embodiment, when requesting the IP address of the AC to be issued using the first field, the same third field as the first field will be used to carry the IP address assigned to the AC.
[0073] As one embodiment, the first field is a reserved field in the Protocol Configuration Options (PCO) element of the PDU session creation request message, the reserved field containing a first identifier, and the third field is a reserved field in the PCO element of the response message corresponding to the first identifier; or,
[0074] The first field is a designated field in the PCO cell of the PDU session creation request, which is used to store the address for voice services. The designated field includes a second identifier. The third field is a designated field in the PCO cell of the response message, which corresponds to the second identifier and is used to store the address for services. In this embodiment, the reserved field or designated field and the length field (length 0) can be encapsulated in the PCO cell of the PDU session creation request message. This allows the 5G network to obtain the AC's IP address after receiving the PDU session creation request message, encapsulate the AC's IP address using the reserved field, and use the length field to indicate the length of the AC's IP address. The PDU session creation acceptance message sent to the CPE carries the CPE's IP address and the AC's IP address.
[0075] In this embodiment, if the response message also includes a Router Advertisement (RA) message sent by the User Plane Function (UPF) element in the 5G network, then the third field is a field carried in the PDU establishment and acceptance message.
[0076] The fourth field is obtained by combining the fifth field carried in the RA message and the sixth field in the PDU establishment and acceptance message.
[0077] In this embodiment, after receiving the PDU session creation request, the 5G network uses the locally configured address pool to allocate an IP address to the UE and sends it to the UE in the PDU session establishment accept message (referred to as the pdu session establishment accept message) or RA message. At the same time, the 5G network sends the AC address to the UE using the same Container ID as in the pdu session establishment request message, based on the PCO Container ID in the pdu session establishment request message and the local configuration.
[0078] The PDU session establishment accept message can be used to carry the CPE's IPv4 address or the interface ID of the CPE's IPv6 address; the RA message is used to carry the prefix part of the CPE's IPv6 address; the IPv6 address is divided into two parts, the prefix and the interface ID.
[0079] As an example, the fifth field mentioned above can be the prefix part of the CPE's IPv6 address, and the sixth field can be the interface ID of the CPE's IPv6 address. The combination of the two constitutes the CPE's IPv6 address.
[0080] Simultaneously, based on the PCO's ContainerID and local configuration in the PDU session establishment request message, the 5G network sends the AC's address to the UE using the same Container ID as in the PDU session establishment request message. Specifically, the 5G network encapsulates the AC's IPv4 (or IPv6) address using the same Container ID as in the PDU session establishment request message. The length field indicates the length of the AC's IPv4 (or IPv6) address, followed by the network-ordered IPv4 (or IPv6) address.
[0081] In this embodiment, optionally, the AC's IP address is issued by the SMF based on local configuration; or,
[0082] The AC's IP address is assigned by the DHCP server that the SMF requests to connect to.
[0083] In the scenario where IP addresses are allocated locally in a 5G network, the 5G network can pre-configure the address pool and statically configure the IP addresses of the AC locally; in the scenario where IP addresses are allocated via DHCP, the SMF in the 5G network needs to be physically connected to the DHCP server.
[0084] Step 104: Create a tunnel based on the IP address assigned to this CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by this CPE through the tunnel.
[0085] In this embodiment, creating a CAPWAP tunnel from CPE to AC is a conventional method in related technologies and will not be described in detail here.
[0086] In this embodiment, the CPE initiates a data service, and both uplink and downlink data packets are transmitted through the 5G network, which is responsible for packet forwarding. For received uplink data packets, the 5G network adds GTP-U encapsulation, and removes the GTP-U encapsulation when forwarding the packet. For downlink data packets arriving at the 5G network, the 5G network adds GTP-U encapsulation, and removes the GTP-U encapsulation when forwarding to the UE. The above forwarding method is a conventional method in related technologies and will not be elaborated further here.
[0087] This concludes the discussion on... Figure 1 Description of data transmission methods in China.
[0088] In this embodiment, after successfully registering to the 5G network, a PDU session creation request message is sent to the 5G network. This request message carries a first field for requesting the IP address of the AC and a second field for requesting the allocation of an IP address for the CPE, so that the 5G network returns response information. The CPE obtains a third field containing the IP address of the AC and a fourth field containing the IP address allocated to the CPE from the response information, and creates a tunnel based on the IP address allocated to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel. When wired network deployment is inconvenient, the AP and AC can communicate using the 5G network as a backhaul network.
[0089] Please refer to Figure 2 , Figure 2 The following is a flowchart illustrating another data transmission method provided in this application embodiment. This method is applied to the Session Management Element (SMF) in a 5G network. The 5G network also includes a User Premises Equipment (CPE) that supports Access Point (AP) functionality. The CPE has the ability to access both the 5G network and a WLAN (Wireless Local Area Network).
[0090] like Figure 2 As shown, the method includes the following steps:
[0091] Step 201: Receive a PDU session creation request message sent by the AMF. The PDU session creation request message is initiated by the CPE to the AMF after successfully registering with the 5G network.
[0092] In this embodiment, the PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for the CPE.
[0093] As an example, the IP addresses of the ACs include:
[0094] The IP address of the AC is issued based on the local configuration; or...
[0095] Send a DHCP request message to the DHCP server connected to this SMF so that the DHCP server can issue the IP address of the AC.
[0096] Step 202: Based on the PDU session creation request message, a PDU session establishment acceptance message is returned to the AMF, so that the AMF can send the PDU session establishment acceptance message to the CPE; the CPE parses the response message to obtain the third and fourth fields from the response message; so that the CPE can create a tunnel based on the IP address assigned to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel.
[0097] In this embodiment, the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to the CPE; the response message includes at least the PDU session creation request message.
[0098] This concludes the discussion on... Figure 2 A flowchart describing the implementation of the data transmission method in the diagram. Figure 2 The method described in the document actually uses the SMF in a 5G network as the execution subject, and the specific content has been described in [the document]. Figure 1 The steps are described in detail in the text, and will not be repeated here.
[0099] The data transmission method of this application will be described below through two specific embodiments.
[0100] The following is through Figure 3 The process described in this embodiment 1 is as follows:
[0101] See Figure 3 , Figure 3This is an interaction diagram of the parties in Embodiment 1 of this application. This scenario involves the local allocation of IP addresses on a 5G network. It should be noted that, for ease of description, in this embodiment, the CPE integrating AP capabilities is collectively referred to as UE (User Equipment). Figure 3 As shown, the process may include the following steps:
[0102] Step 301: The UE initiates the 5G network registration process through the base station RAN to complete the registration on the 5G network.
[0103] In this embodiment, the registration of the 5G network is a conventional method in related technologies, and will not be described in detail here.
[0104] Step 302: The UE creates a PDU session in the 5G network.
[0105] In this embodiment, the UE initiates a PDU session creation process, in which the PDU session establishment request message requests the UE's IP address.
[0106] Since the signaling transmitted in the 5G network originally did not contain instructions to request the IP address of the AC, the current message does not support requesting the IP address of the AC during the PDU session creation process.
[0107] In this embodiment, two schemes for issuing the IP address of the AC are proposed:
[0108] Option 1: Use the reserved fields of PCO cells.
[0109] The UE requests the AC's IP address using a reserved field in the PCO cell of the protocol. The Container Identifier in the reserved field of the PCO cell is the first identifier, including (0xFF00-0xFFFF). The 5G network uses the same first identifier, the Container Identifier, corresponding to the reserved field to issue the AC's IP address. Here, we use the reserved field with Container ID 0xFF00 as an example.
[0110] In this embodiment, the IPv4 address of the request AC is encapsulated using the reserved field of Container ID 0xFF00 in the PCO cell of the PDU session request message, which contains Container ID 0xFF00 and length 0.
[0111] After receiving the PDU session creation request, the 5G network uses the locally configured address pool to allocate an IPv4 address to the UE and sends it to the UE in the PDU session establishment accept message. At the same time, the 5G network sends the AC address to the UE according to the PCO Container ID and local configuration in the PDU session establishment request message.
[0112] In this embodiment, the 5G network uses the reserved field corresponding to Container Identifier 0xFF00 to encapsulate the AC's IPv4 address, the length field is the length of the AC's IPv4 address, and the network-ordered IPv4 address is encapsulated after the length field.
[0113] Option 2: Reuse the specified field used to store the voice service address.
[0114] If there is no voice service in the WLAN local network scenario, the specified field used to store the P-CSCF address can be reused. The field identifier of the specified field is called the second identifier. The field corresponding to the second identifier 0x0001 is used to carry the IPv6 address, and the field corresponding to the second identifier 0x000C is used to carry the IPv4 address.
[0115] As an example, we will use a Container ID of 0x000C (an IPv4 address carrying an AC) as an example.
[0116] In the PDU session request message, the field corresponding to the second identifier of PCO, 0x000C, encapsulates the Container ID 0x000C and length 0, and the IPv4 address of the requesting AC.
[0117] After receiving a PDU session creation request, the 5G network allocates an IP address to the UE using the locally configured address pool and sends it to the UE in the pdusession establishment accept message. Simultaneously, based on the local configuration, it determines the field corresponding to Container ID 0x000C to request the AC's IPv4 address. The 5G network encapsulates the AC's IPv4 address using the field corresponding to Container Identifier 0x000C, with the length field representing the length of the AC's IPv4 address, followed by the network-ordered IPv4 address.
[0118] This concludes the description of the two methods for AP to discover AC. We will now proceed to step 303.
[0119] Step 303: The UE parses the PDU session establishment accept message to obtain the IP address of the AP and the IP address of the AC. The AP and AC create a CAPWAP tunnel, establish a connection, and the AC sends the AP's configuration.
[0120] Step 304: The AP initiates a data service (the AP's data packets can be forwarded without going through the AC), and the 5G network is responsible for forwarding the packets. For received uplink data packets, the 5G network adds GTP-U encapsulation, and removes the GTP-U encapsulation when forwarding the packets. For downlink data packets arriving at the 5G network, the 5G network adds GTP-U encapsulation, and removes the GTP-U encapsulation when forwarding them to the UE.
[0121] The operations in steps 303 and 304 are common methods in related technologies, and will not be described in detail here.
[0122] This concludes the discussion. Figure 3 Description of the network interaction diagram.
[0123] The following is through Figure 4 The process described in this embodiment 2 is as follows:
[0124] See Figure 4 , Figure 4 This is a network interaction diagram for Embodiment 2 of this application. In this scenario, the 5G network acts as a DHCP client, with the DHCP server assigning IP addresses. It should be noted that, for ease of description, in this embodiment, the CPE integrating AP capabilities is collectively referred to as UE. Figure 4 As shown, the process may include the following steps:
[0125] Step 401: The UE initiates the 5G network registration process and completes the registration on the 5G network.
[0126] In step 402, the UE initiates a PDU session establishment request process, requesting the AC's IP address in the PDU session establishment request message. The mechanism by which the UE requests and the 5G network distributes the AC address is the same as in step 302.
[0127] The 5G network determines, based on local configuration, that it needs to interact with the DHCP server to obtain the UE's IP address and the AC's IP address.
[0128] Step 403: The 5G network and the DHCP server interact to obtain the UE's IP address and the AC's IP address.
[0129] Step 404: The 5G network completes the PDU session creation, carrying the UE's IP address and the AC's IP address in the PDU session establishment accept message.
[0130] Step 405: The UE parses the PDU session establishment accept message to obtain the IP address of the AP and the IP address of the AC. The AP and AC create a CAPWAP tunnel, establish a connection, and the AC sends the AP's configuration.
[0131] Step 406: The AP initiates a data service (the AP's data packets can be forwarded without going through the AC), and the 5G network is responsible for forwarding the packets. For received uplink data packets, the 5G network adds GTP-U encapsulation, and removes the GTP-U encapsulation when forwarding the packets. For downlink data packets arriving at the 5G network, the 5G network adds GTP-U encapsulation, and removes the GTP-U encapsulation when forwarding them to the UE.
[0132] Steps 401 and 403 to 406 are common methods in related technologies and will not be described in detail here.
[0133] This concludes the discussion. Figure 4 Description of the interaction diagram among the parties.
[0134] Figure 5 A schematic structural diagram of an electronic device according to an exemplary embodiment of this application is shown. Please refer to... Figure 5 At the hardware level, the electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it, forming a terminal interaction device at the logical level. Of course, in addition to software implementation, this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.
[0135] Please refer to Figure 6 , Figure 6 This is a structural diagram of the data transmission device provided in an embodiment of this application. Figure 6 As shown, the data transmission device may include a sending unit 601, a receiving unit 602, a parsing unit 603, and a creating unit 604. Specifically, the device includes:
[0136] The sending unit 601 is configured to send a PDU session creation request message to the Access and Mobility Management Function (AMF) in the 5G network after successfully registering to the 5G network, so that the AMF sends the PDU session creation request message to the Session Management Function (SMF). The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request an IP address from the AC. The second field contains a second IP address request identifier, which is used to request an IP address to be allocated to this CPE.
[0137] The receiving unit 602 is configured to receive a response message returned by the 5G network. The response message includes at least a PDU session establishment acceptance message sent by the AMF, which is sent by the SMF to the AMF based on the PDU session creation request message.
[0138] The parsing unit 603 is used to parse the response message to obtain a third field and a fourth field from the response message. The third field carries the IP address of the AC, and the fourth field carries the IP address assigned to this CPE.
[0139] The creation unit 604 is used to create a tunnel based on the IP address assigned to this CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by this CPE through the tunnel.
[0140] Optional,
[0141] When the first field is a designated field in the PCO element of the PDU session creation request message that is designated for storing the address used for voice services, and the field identifier of the designated field is a second identifier, the third field is a designated field in the PCO element of the response message that is designated for storing the address used for voice services and whose field identifier is the second identifier. Alternatively, the first field is a reserved field in the Protocol Configuration Options (PCO) element of the PDU session creation request message, the reserved field containing the first identifier, and the third field is a reserved field in the PCO element of the response message corresponding to the first identifier; or...
[0142] The first field is a designated field in the PCO element of the PDU session creation request that is designated to store the address for voice service. The designated field includes a second identifier. The third field is a designated field in the PCO element of the response message that is designated to store the address for service and corresponds to the second identifier.
[0143] And / or, the AC's IP address is assigned by the SMF based on local configuration; or,
[0144] The AC's IP address is assigned by the DHCP server that the SMF requests to connect to;
[0145] And / or, the response message also includes a Router Advertisement (RA) message sent by a User Plane Function (UPF) element in the 5G network;
[0146] The third field is a field carried in the PDU's acceptance message;
[0147] The fourth field is obtained by combining the fifth field carried in the RA message and the sixth field in the PDU establishment and acceptance message.
[0148] This concludes the discussion on... Figure 6 Description of the data transmission device.
[0149] Please refer to Figure 7 , Figure 7 This is a structural diagram of another data transmission device provided in an embodiment of this application. For example... Figure 7 As shown, the data transmission device may include a receiving unit 701 and a returning unit 702. Specifically, the device includes:
[0150] The receiving unit 701 is configured to receive a PDU session creation request message sent by the AMF. The PDU session creation request message is initiated by the CPE to the AMF after successfully registering with the 5G network. The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for the CPE.
[0151] The return unit 702 is configured to return a PDU session establishment acceptance message to the AMF based on the PDU session creation request message, so that the AMF can send the PDU session establishment acceptance message to the CPE; the CPE can parse the response message to obtain a third field and a fourth field from the response message; the CPE can create a tunnel based on the IP address assigned to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel; wherein the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to the CPE; the response message includes at least the PDU session creation request message.
[0152] Optionally, the return unit 702 is specifically used for:
[0153] The IP address of the AC is issued based on the local configuration; or...
[0154] Send a DHCP request message to the DHCP server connected to this SMF so that the DHCP server can issue the IP address of the AC.
[0155] This concludes the discussion on... Figure 7 Description of the data transmission device.
[0156] Correspondingly, in this embodiment, the present application also provides a computer-readable storage medium storing a plurality of computer instructions, which, when executed, can implement the method disclosed in the above examples of the present application.
[0157] For example, the aforementioned computer-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For instance, computer-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.
[0158] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.
[0159] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0160] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0161] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0162] Furthermore, these computer program instructions can also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0163] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0164] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A data transmission method, characterized in that, This method is applied to a Customer Premises Equipment (CPE) in a 5G network, wherein the CPE supports the Access Point (AP) function, and the method includes: After successfully registering with the 5G network, this CPE sends a Protocol Data Unit (PDU) Session Creation Request message to the Access and Mobility Management Function (AMF) in the 5G network, so that the AMF forwards the PDU Session Creation Request message to the Session Management Function (SMF). The PDU Session Creation Request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request an IP address from the Access Control Center (AC). The second field contains a second IP address request identifier, which is used to request an IP address to be allocated to this CPE. The system receives a response message returned by the 5G network, the response message including at least a PDU session establishment acceptance message sent by the AMF, which is sent by the SMF to the AMF based on the PDU session creation request message; Parse the response message to obtain a third field and a fourth field from the response message, wherein the third field carries the IP address of the AC and the fourth field carries the IP address assigned to this CPE; A tunnel is created based on the IP address assigned to this CPE and the IP address of the AC to provide data transmission services to the terminals accessed by this CPE through the tunnel.
2. The method according to claim 1, characterized in that, The first field is a reserved field in the Protocol Configuration Options (PCO) information element of the PDU session creation request message, the reserved field containing a first identifier, and the third field is a reserved field in the PCO information element of the response message corresponding to the first identifier; or, The first field is a designated field in the PCO element of the PDU session creation request, which is designated to store the address for voice services. The designated field includes a second identifier. The third field is a designated field in the PCO element of the response message, which is designated to store the address for services and corresponds to the second identifier.
3. The method according to claim 1, characterized in that, The AC's IP address is assigned by the SMF based on local configuration; or, The AC's IP address is assigned by the DHCP server that the SMF requests to connect to.
4. The method according to claim 1, characterized in that, The response message also includes a Router Advertisement (RA) message sent by the User Plane Function (UPF) element in the 5G network; The third field is a field carried in the PDU's acceptance message; The fourth field is obtained by combining the fifth field carried in the RA message and the sixth field in the PDU establishment and acceptance message.
5. A data transmission method, characterized in that, This method is applied to SMF in a 5G network, which also includes a User Premises Equipment (CPE) that supports Access Point (AP) functionality. The method includes: The system receives a PDU session creation request message sent by the AMF. The PDU session creation request message is initiated by the CPE to the AMF after successfully registering with the 5G network. The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for the CPE. Based on the PDU session creation request message, a PDU session establishment acceptance message is returned to the AMF, so that the AMF sends the PDU session establishment acceptance message to the CPE; the CPE parses the response message to obtain the third and fourth fields from the response message; the CPE creates a tunnel based on the IP address assigned to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel; wherein, the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to the CPE; the response message includes at least the PDU session creation request message.
6. The method according to claim 5, characterized in that, The IP addresses of the ACs being issued include: The IP address of the AC is issued based on the local configuration; or... Send a DHCP request message to the DHCP server connected to this SMF so that the DHCP server can issue the IP address of the AC.
7. A data transmission device, characterized in that, This device is a Customer Premises Equipment (CPE) in a 5G network, which supports the function of a Wireless Access Point (AP). The device includes: The sending unit is configured to send a PDU session creation request message to the Access and Mobility Management Function (AMF) in the 5G network after successfully registering to the 5G network, so that the AMF will send the PDU session creation request message to the Session Management Function (SMF). The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request an IP address from the AC. The second field contains a second IP address request identifier, which is used to request an IP address to be allocated to this CPE. The receiving unit is configured to receive a response message returned by the 5G network. The response message includes at least a PDU session establishment acceptance message sent by the AMF, which is sent by the SMF to the AMF based on the PDU session creation request message. A parsing unit is used to parse the response message to obtain a third field and a fourth field from the response message, wherein the third field carries the IP address of the AC and the fourth field carries the IP address assigned to this CPE; The creation unit is used to create a tunnel based on the IP address assigned to this CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by this CPE through the tunnel.
8. The apparatus according to claim 7, characterized in that, The first field is a reserved field in the Protocol Configuration Options (PCO) information element of the PDU session creation request message, the reserved field containing a first identifier, and the third field is a reserved field in the PCO information element of the response message corresponding to the first identifier; or, The first field is a designated field in the PCO element of the PDU session creation request that is designated to store the address for voice service. The designated field includes a second identifier. The third field is a designated field in the PCO element of the response message that is designated to store the address for service and corresponds to the second identifier. And / or, the AC's IP address is assigned by the SMF based on local configuration; or, The AC's IP address is assigned by the DHCP server that the SMF requests to connect to; And / or, the response message also includes a Router Advertisement (RA) message sent by a User Plane Function (UPF) element in the 5G network; The third field is a field carried in the PDU's establishment and acceptance message; The fourth field is obtained by combining the fifth field carried in the RA message and the sixth field in the PDU establishment and acceptance message.
9. A data transmission device, characterized in that, This device is used in SMF (Smart Frame Function) in a 5G network, which also includes a Customer Premises Equipment (CPE) that supports Access Point (AP) functionality. The device includes: The receiving unit is configured to receive a PDU session creation request message sent by the AMF. The PDU session creation request message is initiated by the CPE to the AMF after successfully registering with the 5G network. The PDU session creation request message carries a first field and a second field. The first field contains a first IP address request identifier, which is used to request the IP address of the AC. The second field contains a second IP address request identifier, which is used to request the allocation of an IP address for the CPE. The return unit is configured to return a PDU session establishment acceptance message to the AMF based on the PDU session creation request message, so that the AMF can send the PDU session establishment acceptance message to the CPE; the CPE can parse the response message to obtain a third field and a fourth field from the response message; the CPE can create a tunnel based on the IP address assigned to the CPE and the IP address of the AC, so as to provide data transmission services to the terminals accessed by the CPE through the tunnel; wherein the third field carries the IP address of the AC, and the fourth field carries the IP address assigned to the CPE; the response message includes at least the PDU session creation request message.
10. The apparatus according to claim 9, characterized in that, The return unit is specifically used for: The IP address of the AC is issued based on the local configuration; or... Send a DHCP request message to the DHCP server connected to this SMF so that the DHCP server can issue the IP address of the AC.
Citation Information
Patent Citations
Wireless service providing method and device
CN107548113A
Flow-based end-to-end quality of service management
WO2022261592A1
