Local area network implementation method, core network equipment and terminal

By establishing tunnel configurations between terminals and target forwarding devices in the 5G core network, the problem that the 5G core network does not support dynamic creation of VxLAN tunnels is solved, and the local area network interoperability of industrial equipment is realized, and the layer 2 packet encapsulation and layer 3 of 5G LAN is supported. Forward.

CN114501680BActive Publication Date: 2024-11-08CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011254172.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-11
Publication Date
2024-11-08
Estimated Expiration
2040-11-11

AI Technical Summary

Technical Problem

Currently, the 5G core network does not support dynamic creation of VxLAN tunnels, resulting in the inability to achieve layer 2 LAN interoperability, which limits the ability of industrial equipment to form LANs through 5G wireless networks.

Method used

Receive the terminal's PDU session request through the core network device, obtain its LAN signing information, and send a session establishment request to the target core network device, establish a tunnel configuration between the terminal and the target forwarding device, and realize the encapsulation of layer two packets and layer three packets. Forwarding to realize LAN interconnected communication.

Benefits of technology

Dynamically create a tunnel between the terminal and the core network forwarding device, realize the encapsulation and forwarding of layer two data packets, solve the technical problems of 5G LAN interconnection communication, and support the LAN interoperability of industrial equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114501680B_ABST
    Figure CN114501680B_ABST
Patent Text Reader

Abstract

The present invention provides a method for realizing a local area network, a core network device and a terminal, the method comprising: receiving a PDU session request sent by a terminal; obtaining the local area network contract information of the terminal, the local area network contract information including the forwarding characteristic parameters of the target local area network where the terminal is located; sending a session establishment request to a target second core network device according to the local area network contract information, carrying: first information of a target forwarding device corresponding to the target second core network device; receiving a session establishment response sent by the target second core network device; sending a PDU session establishment response to the terminal, carrying: second information of the target forwarding device. The present invention can dynamically create a tunnel between a terminal and a core network forwarding device, thereby realizing local area network interconnection communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of network technology, and in particular to a method for implementing a local area network, a core network device and a terminal. Background Art

[0002] According to the current 3GPP standards, 5G supports a group of users who have signed up for the same slice and the same DNN (Data Network Name) to sign up for a 5G VN (Virtual Network) group, and supports users in the 5G VN group to conduct various types of local area network communications, including unicast, multicast, and multicast. This technical solution is called 5G LAN (local area network). 5G LAN supports two types of sessions, IP (Internet Protocol) PDU (Protocol Data Unit) sessions and Ethernet PDU sessions, and also supports three data forwarding modes, data forwarding based on the N6 interface, data forwarding based on the N19 interface, and data forwarding based on local switching.

[0003] In the industrial Internet, the communication between some industrial devices does not use the TCP (Transmission Control Protocol) / IP protocol stack. The protocol data of the application layer or presentation layer is directly mapped to the data link layer and the physical layer based on the 2-layer Ethernet communication. For example, the differential protection in the power grid uses the GOOSE protocol. If these industrial devices need to be connected through the 5G wireless network to form a local area network, then 5G LAN technology can be used. The terminal that supports 5G LAN in the current 3GPP standard initiates Ethernet-type PDU sessions and forwards them on the UPF (User Plane Function). However, the current industry is not yet mature, and the terminal chips and modules do not support the initiation of Ethernet-type PDU sessions. To solve this problem, 5G terminal devices that support VxLAN (Virtual eXtensible Local Area Network) functions can be introduced, but the current 5GC (5G core network) network does not support the dynamic creation of VxLAN tunnels and the realization of Layer 2 LAN intercommunication. Summary of the invention

[0004] The embodiment of the present invention provides a local area network implementation method, a core network device and a terminal, which are used to solve the problem of how to create a tunnel between a terminal and a core network forwarding device to encapsulate a layer 2 data packet on the terminal to realize layer 2 to layer 3 conversion, thereby realizing local area network interconnection and communication.

[0005] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:

[0006] In a first aspect, an embodiment of the present invention provides a method for implementing a local area network, which is executed by a first core network device and includes:

[0007] Receive a PDU session request sent by a terminal;

[0008] Acquire the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located;

[0009] Sending a session establishment request to a target second core network device according to the local area network subscription information, wherein the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device;

[0010] Receiving a session establishment response sent by the target second core network device;

[0011] According to the session establishment response, a PDU session establishment response is sent to the terminal, wherein the PDU session establishment response carries: second information of the target forwarding device.

[0012] In a second aspect, an embodiment of the present invention provides a method for implementing a local area network, which is executed by a second core network device, including:

[0013] Receive a session establishment request sent by the first core network device, where the session establishment request carries: first information of a target forwarding device corresponding to the second core network device;

[0014] Establishing a tunnel configuration between the terminal and the target forwarding device according to the first information;

[0015] Send a session establishment response to the first core network device.

[0016] In a third aspect, an embodiment of the present invention provides a method for implementing a local area network, which is executed by a terminal and includes:

[0017] Sending a PDU session establishment request to the first core network device;

[0018] Receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries: second information of the target forwarding device;

[0019] A tunnel configuration is established between the terminal and the target forwarding device according to the second information.

[0020] In a fourth aspect, an embodiment of the present invention provides a core network device, including:

[0021] A first receiving module, used for receiving a PDU session request sent by a terminal;

[0022] An acquisition module, configured to acquire the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located;

[0023] A first sending module is used to send a session establishment request to a target second core network device according to the local area network subscription information, wherein the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device;

[0024] A second receiving module, used to receive a session establishment response sent by the target second core network device;

[0025] The second sending module is used to send a PDU session establishment response to the terminal according to the session establishment response, and the PDU session establishment response carries: second information of the target forwarding device.

[0026] In a fifth aspect, an embodiment of the present invention provides a core network device, including:

[0027] The transceiver is used to send and receive a PDU session request sent by a terminal;

[0028] The transceiver is further configured to obtain the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located;

[0029] The transceiver is further used to receive a session establishment request sent to a target second core network device according to the local area network subscription information, wherein the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device;

[0030] The transceiver is further configured to receive a session establishment response sent by the target second core network device;

[0031] The transceiver is further used to send a PDU session establishment response to the terminal according to the session establishment response, and the PDU session establishment response carries: second information of the target forwarding device.

[0032] In a sixth aspect, an embodiment of the present invention provides a core network device, including:

[0033] A receiving module, configured to receive a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the core network device;

[0034] An establishing module, configured to establish a tunnel configuration between the terminal and the target forwarding device according to the first information;

[0035] A sending module is used to send a session establishment response to the first core network device.

[0036] In a seventh aspect, an embodiment of the present invention provides a core network device, including: a transceiver and a processor;

[0037] The transceiver is used to receive a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the core network device;

[0038] The processor is configured to establish a tunnel configuration between the terminal and the target forwarding device according to the first information;

[0039] The transceiver is also used to send a session establishment response to the first core network device.

[0040] In an eighth aspect, an embodiment of the present invention provides a terminal, including:

[0041] A sending module, used to send a PDU session establishment request to the first core network device;

[0042] A receiving module, configured to receive a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries: second information of the target forwarding device;

[0043] An establishing module is used to establish a tunnel configuration between the terminal and the target forwarding device according to the second information.

[0044] In a ninth aspect, an embodiment of the present invention provides a terminal, including: a transceiver and a processor;

[0045] The transceiver is used to send a PDU session establishment request to the first core network device;

[0046] The transceiver is further configured to receive a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries: second information of a target forwarding device;

[0047] The processor is configured to establish a tunnel configuration between the terminal and the target forwarding device according to the second information.

[0048] In the tenth aspect, an embodiment of the present invention provides a core network device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method for implementing the local area network of the first aspect; or, the program, when executed by the processor, implements the steps of the method for implementing the local area network of the second aspect.

[0049] In the eleventh aspect, an embodiment of the present invention provides a terminal, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method for implementing a local area network of the third aspect described above.

[0050] In the twelfth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for implementing a local area network of the first aspect are implemented; or, when the computer program is executed by a processor, the steps of the method for implementing a local area network of the second aspect are implemented; or, when the computer program is executed by a processor, the steps of the method for implementing a local area network of the third aspect are implemented.

[0051] In the embodiment of the present invention, a tunnel between a terminal and a core network forwarding device can be dynamically created to realize layer 2 data packet encapsulation on the terminal to realize layer 2 to layer 3 conversion, thereby realizing LAN interconnection communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0053] Figure 1 A schematic flow chart of a method for implementing a local area network executed by a first core network device according to an embodiment of the present invention;

[0054] Figure 2 A schematic flow chart of a method for implementing a local area network executed by a first core network device according to another embodiment of the present invention;

[0055] Figure 3 A schematic flow chart of a method for implementing a local area network executed by a second core network device according to an embodiment of the present invention;

[0056] Figure 4 A schematic flow chart of a method for implementing a local area network executed by a second core network device according to another embodiment of the present invention;

[0057] Figure 5 A schematic flow chart of a method for implementing a local area network executed by a terminal according to an embodiment of the present invention;

[0058] Figure 6 A schematic diagram of the interaction process between network elements according to an embodiment of the present invention;

[0059] Figure 7 A schematic diagram of the structure of a core network device according to an embodiment of the present invention;

[0060] Figure 8 A schematic diagram of the structure of a core network device according to another embodiment of the present invention;

[0061] Fig. 9 A schematic diagram of the structure of a core network device according to another embodiment of the present invention;

[0062] Fig.10 A schematic diagram of the structure of a core network device according to another embodiment of the present invention;

[0063] Fig.11 A schematic diagram of the structure of a terminal according to an embodiment of the present invention;

[0064] Fig.12 A schematic diagram of the structure of a terminal according to another embodiment of the present invention;

[0065] Fig.13 A schematic diagram of the structure of a core network device according to another embodiment of the present invention;

[0066] Fig.14 The figure is a schematic diagram of the structure of a terminal according to another embodiment of the present invention. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0068] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0069] It is worth noting that the technology described in the embodiments of the present invention can be applied to the fifth generation (5 th The present invention can also be applied to wireless communication systems other than the 5G communication system, such as the 6th Generation (6G) communication system.

[0070] Please refer to Figure 1 An embodiment of the present invention provides a method for implementing a local area network, which is executed by a first core network device. In the embodiment of the present invention, the first core network device may be a SMF (Session Management Function). Of course, in some other embodiments of the present invention, the use of other core network devices for execution is not excluded.

[0071] The implementation method of the local area network includes:

[0072] Step 11: receiving a PDU (Protocol Data Unit) session request sent by the terminal;

[0073] If the technology described in the embodiment of the present invention is applied to a 5G communication system, the terminal may be a 5G terminal device, such as CPE (Customer Premise Equipment).

[0074] Step 12: According to the PDU session request, obtaining the local area network subscription information of the terminal, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located;

[0075] Optionally, if the first core network device is SMF, SMF can obtain the local area network subscription information of the terminal from UDM (Unified Data Management).

[0076] If the technology described in the embodiment of the present invention is applied to a 5G communication system, the LAN subscription information may also be referred to as 5G VN (Virtual Network) group information. In the embodiment of the present invention, the forwarding characteristic parameters of the target LAN are added to the LAN subscription information.

[0077] In an embodiment of the present invention, the forwarding characteristic parameters of the target LAN characterize the networking characteristics of the target LAN, and the networking characteristics may include but are not limited to: realizing the access of Layer 2 devices to the 5G network through Layer 3 to form a LAN through VxLAN (Virtual eXtensible Local Area Network) encapsulation. At this time, the forwarding characteristic parameters include: VxLAN and VNI ID, and the VNI ID is the default VNI (VXLAN Network Identifier) ​​ID.

[0078] Step 13: Send a session establishment request to the target second core network device according to the local area network subscription information, wherein the session establishment request carries: first information of the target forwarding device corresponding to the target second core network device;

[0079] A session establishment request is sent to the target second core network device so that the target second core network device establishes a tunnel configuration between the terminal and the target forwarding device.

[0080] Optionally, the second core network device may be a UPF (User plane Function), and if the forwarding characteristic parameter is VxLAN, the target forwarding device may be a VTEP (VXLAN Tunnel End Point) function point.

[0081] Optionally, the first information includes: the target forwarding device ID, IP address bit information of the target forwarding device and the VNI ID, wherein the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address. The unallocated indication mark may be, for example, CHOOSE flags.

[0082] Of course, in some other embodiments of the present invention, the first information may also be other information that can represent the target forwarding device.

[0083] Step 14: Receive a session establishment response sent by the target second core network device;

[0084] Step 15: According to the session establishment response, a PDU session establishment response is sent to the terminal, wherein the PDU session establishment response carries: second information of the target forwarding device.

[0085] A PDU session establishment response is sent to the terminal, so that the terminal establishes a tunnel configuration between the terminal and the target forwarding device.

[0086] Optionally, the second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

[0087] In the embodiment of the present invention, a tunnel between a terminal and a core network forwarding device can be dynamically created to realize layer 2 data packet encapsulation on the terminal to realize layer 2 to layer 3 conversion, thereby realizing LAN interconnection communication.

[0088] In the embodiment of the present invention, optionally, the first information is carried by FAR (Forwarding Action Rules) in the session establishment request, thereby making minor changes to the existing session establishment request.

[0089] In the embodiment of the present invention, it is optional, please refer to Figure 2 , according to the local area network subscription information, before sending the session establishment request to the target second core network device, it also includes:

[0090] Step 21: Determine whether the forwarding device management table of the target local area network is stored; if it is stored, execute step 23; if it is not stored, execute step 22;

[0091] Step 22: Create a forwarding device management table for the target local area network;

[0092] Step 23: Determine a target second core network device serving the target local area network;

[0093] In the embodiment of the present invention, preferably, if there is a second core network device that has served the target local area network, the second core network device that has served the target local area network can be selected as the target second core network device.

[0094] Step 24: Determine whether the target second core network device is recorded in the forwarding device management table of the target local area network, wherein the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device;

[0095] Determine whether the target second core network device is recorded in the forwarding device management table of the target local area network, that is, determine whether the target second core network device has served the target local area network;

[0096] If the second core network device is UPF and the forwarding device is VTEP, the forwarding device management table of the target LAN may be as shown in Table 1:

[0097] Table 1

[0098] UPF logo Forwarding device ID (attribute VTEP) IP address UPF_A xxx-xxx-xxx xx.xx.xx.xx UPF_B xxx-xxx-xxx xx.xx.xx.xx

[0099] Among them, the special equipment calendar of the target local area network can be uniquely identified by the VNI ID corresponding to the target local area network.

[0100] Step 25: If the target second core network device is recorded in the forwarding device management table, obtain the target forwarding device ID corresponding to the target second core network device and the IP address of the target forwarding device from the forwarding device management table;

[0101] Step 26: If the target second core network device is not recorded in the forwarding device management table, record the target second core network device in the forwarding device management table, and assign a corresponding target forwarding device ID to the target second core network device and record it in the forwarding device management table;

[0102] Step 27: Determine whether the IP address of the forwarding device is allocated by the first core network device;

[0103] Step 28: If the IP address of the forwarding device is allocated by the first core network device, an IP address is allocated to the target forwarding device and recorded in the forwarding device management table;

[0104] Step 29: If the IP address of the forwarding device is allocated by the second core network device, the unallocated indication mark is filled in the forwarding device management table for the IP address of the target forwarding device.

[0105] In an embodiment of the present invention, if the IP address of the forwarding device is allocated by the target second core network device, the session establishment response carries the IP address allocated by the target second core network device to the target forwarding device. At this time, the method may also include: recording the IP address allocated by the target second core network device to the target forwarding device in the forwarding device management table of the target local area network, and the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device.

[0106] In the embodiment of the present invention, the forwarding devices of the local area network are managed through the forwarding device management table, and the implementation method is simple and effective.

[0107] Please refer to Figure 3 The embodiment of the present invention further provides a method for implementing a local area network, which is executed by a second core network device and includes:

[0108] Step 31: receiving a session establishment request sent by the first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the second core network device;

[0109] Step 32: Establishing a tunnel configuration between the terminal and the target forwarding device according to the first information;

[0110] Optionally, the first information includes: the target forwarding device ID, the IP address bit information of the target forwarding device and the VNI ID, and the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

[0111] The VTEP function point in the UPF uses the IP address assigned to it as the source address, the IP address of the terminal as the destination address, and the default VNI ID as the identifier to create a VxLAN tunnel configuration to the terminal.

[0112] Step 33: Send a session establishment response to the first core network device.

[0113] In some embodiments, optionally, the target forwarding device is a VTEP function point.

[0114] In some embodiments, optionally, the first information is carried via a FAR in the session establishment request.

[0115] In some embodiments, optionally, refer to Figure 4 Before establishing the tunnel configuration between the terminal and the target forwarding device according to the first information, the method further includes:

[0116] Step 41: judging whether the target forwarding device has been created according to the session establishment request;

[0117] Step 42: If it has not been created, create the target forwarding device, and use the target forwarding device ID carried in the session establishment request to uniquely identify the target forwarding device;

[0118] Step 43: Determine whether the session establishment request carries the IP address of the target forwarding device;

[0119] That is, determining whether the first core network device has allocated an IP address to the target forwarding device;

[0120] Step 44: If the IP address bit information of the target forwarding device carried in the session establishment request is an unallocated indication mark used to indicate that an IP address is not allocated, allocate an IP address to the target forwarding device;

[0121] Step 45: If the session establishment request carries the IP address of the target forwarding device, the IP address carried in the session establishment request is allocated to the target forwarding device.

[0122] In some embodiments, optionally, if the IP address of the forwarding device is allocated by the second core network device, the session establishment response carries the IP address allocated by the second core network device to the target forwarding device.

[0123] Please refer to Figure 5 The embodiment of the present invention further provides a method for implementing a local area network, which is executed by a terminal and includes:

[0124] Step 51: Send a PDU session establishment request to the first core network device;

[0125] Step 52: Receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries: second information of the target forwarding device;

[0126] Step 53: Establish a tunnel configuration between the terminal and the target forwarding device according to the second information.

[0127] Optionally, the second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

[0128] The terminal uses its own IP address as the source address, the IP address of the target forwarding device as the destination address, and the default VNI ID as the identifier to create a VxLAN tunnel configuration to the target forwarding device.

[0129] The following takes the scenario where industrial equipment accesses the 5G LAN through a CPE that supports the VxLAN function to create a VxLAN tunnel to implement the 5G LAN as an example to illustrate the implementation method of the local area network in the above embodiment.

[0130] Please refer to Figure 6 , the implementation method of the local area network in the embodiment of the present invention includes:

[0131] Step 61: The CPE sends a PDU session establishment request to the AMF (Access and Mobility Management Function).

[0132] The CPE supports the VxLAN function.

[0133] Step 62: AMF forwards the PDU session request to SMF;

[0134] Step 63: SMF obtains the LAN contract information of the CPE from the UPM, where the LAN contract information includes forwarding characteristic parameters of the target LAN where the CPE is located, and the forwarding characteristic parameters include: VxLAN and default VNI ID;

[0135] Step 64: SMF sends a PDU session establishment response to AMF;

[0136] Step 65: SMF sends a session establishment request to UPF. The session establishment request carries PDR (Packet Detection Rules) and FAR. The FAR includes: VETP function point ID, IP address bit information of the VETP function point and the default VNI ID. The IP address bit information is an IP address or CHOOSE flags.

[0137] The specific method for SMF to send a session establishment request to UPF according to the LAN contract information can be found in Figure 2 The embodiment shown.

[0138] Step 66: UPF sends a session establishment response to SMF. If the IP address is allocated by UPF, the session establishment response carries the IP address allocated by UPF to the VTEP function point.

[0139] Before UPF sends a session establishment response to SMF, it is also necessary to determine whether the VTEP function point has been created. If not, a new one is created. For the specific process, see the attached Figure 4 The embodiment shown.

[0140] Step 67: The VTEP function point establishes a tunnel configuration between the CPE and the target forwarding device according to the IP address of the VTEP function point, the IP address of the CPE and the leased VNI ID;

[0141] Step 68: SMF returns a PDU session establishment response to the CPE. The PDU session establishment response carries: VTEP function point ID, IP address of the VTEP function point, and default VNI.

[0142] Step 69: The CPE establishes a tunnel configuration between the CPE and the target forwarding device according to the IP address of the VTEP function point, the IP address of the CPE and the rented VNI ID.

[0143] Please refer to Figure 7 The embodiment of the present invention further provides a core network device 70, including:

[0144] The first receiving module 71 is used to receive a PDU session request sent by a terminal;

[0145] An acquisition module 72, configured to acquire the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located;

[0146] A first sending module 73 is used to send a session establishment request to a target second core network device according to the local area network subscription information, wherein the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device;

[0147] A second receiving module 74 is used to receive a session establishment response sent by the target second core network device;

[0148] The second sending module 75 is used to send a PDU session establishment response to the terminal according to the session establishment response, and the PDU session establishment response carries: second information of the target forwarding device.

[0149] Optionally, the forwarding characteristic parameters include VxLAN and VNI ID.

[0150] Optionally, the first information includes: the target forwarding device ID, the IP address bit information of the target forwarding device and the VNI ID, and the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

[0151] Optionally, the second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

[0152] Optionally, the first information is carried by a FAR in the session establishment request.

[0153] Optionally, the device further comprises:

[0154] A determination module, used to determine a target second core network device serving the target local area network;

[0155] A first judgment module is used to judge whether the target second core network device is recorded in the forwarding device management table of the target local area network, wherein the forwarding device management table includes: an identifier of the second core network device that has served the target local area network, an identifier of the forwarding device corresponding to the second core network device, and an IP address of the forwarding device;

[0156] A first processing module is used to obtain a target forwarding device ID corresponding to the target second core network device and an IP address of the target forwarding device from the forwarding device management table if the target second core network device is recorded in the forwarding device management table;

[0157] The second processing module is used to record the target second core network device in the forwarding device management table if the target second core network device is not recorded in the forwarding device management table, and allocate a corresponding target forwarding device ID to the target second core network device and record it in the forwarding device management table; if the IP address of the forwarding device is allocated by the core network device, allocate an IP address to the target forwarding device and record it in the forwarding device management table; if the IP address of the forwarding device is allocated by the second core network device, fill in the unallocated indication mark for the IP address of the target forwarding device in the forwarding device management table.

[0158] Optionally, the device further comprises:

[0159] A second judgment module is used to judge whether a forwarding device management table of the target local area network is stored;

[0160] A creation module is used to create a forwarding device management table for the target local area network if it is not stored.

[0161] Optionally, if the IP address of the forwarding device is allocated by the target second core network device, the session establishment response carries the IP address allocated by the target second core network device to the target forwarding device.

[0162] Optionally, the device further comprises:

[0163] A recording module is used to record the IP address allocated by the target second core network device to the target forwarding device into the forwarding device management table of the target local area network, wherein the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device.

[0164] Optionally, the core network device may be an SMF.

[0165] Please refer to Figure 8 , an embodiment of the present invention further provides a core network device 80, including: a transceiver 81 and a processor 82;

[0166] The transceiver 81 is used to send and receive the PDU session request sent by the terminal;

[0167] The transceiver 81 is further configured to obtain the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located;

[0168] The transceiver 81 is further configured to receive a session establishment request sent to a target second core network device according to the local area network subscription information, wherein the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device;

[0169] The transceiver 81 is further configured to receive a session establishment response sent by the target second core network device;

[0170] The transceiver 81 is further configured to send a PDU session establishment response to the terminal according to the session establishment response, wherein the PDU session establishment response carries: second information of a target forwarding device.

[0171] Optionally, the forwarding characteristic parameters include VxLAN and VNI ID.

[0172] Optionally, the first information includes: the target forwarding device ID, the IP address bit information of the target forwarding device and the VNI ID, and the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

[0173] Optionally, the second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

[0174] Optionally, the first information is carried by a FAR in the session establishment request.

[0175] Optionally, the processor 82 is configured to:

[0176] Determine a target second core network device serving the target local area network;

[0177] Determine whether the target second core network device is recorded in the forwarding device management table of the target local area network, wherein the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device;

[0178] If the target second core network device is recorded in the forwarding device management table, obtaining the target forwarding device ID corresponding to the target second core network device and the IP address of the target forwarding device from the forwarding device management table;

[0179] If the target second core network device is not recorded in the forwarding device management table, the target second core network device shall be recorded in the forwarding device management table, and the corresponding target forwarding device ID shall be assigned to the target second core network device and recorded in the forwarding device management table; if the IP address of the forwarding device is assigned by the core network device, the IP address shall be assigned to the target forwarding device and recorded in the forwarding device management table; if the IP address of the forwarding device is assigned by the second core network device, the unassigned indication mark shall be filled in for the IP address of the target forwarding device in the forwarding device management table.

[0180] Optionally, the processor 82 is further configured to determine whether a forwarding device management table of the target local area network is stored; if not, create a forwarding device management table for the target local area network.

[0181] Optionally, if the IP address of the forwarding device is allocated by the target second core network device, the session establishment response carries the IP address allocated by the target second core network device to the target forwarding device.

[0182] Optionally, the processor 82 is also used to record the IP address allocated by the target second core network device to the target forwarding device into the forwarding device management table of the target local area network, wherein the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device.

[0183] Optionally, the core network device may be an SMF.

[0184] Please refer to Fig. 9 The embodiment of the present invention further provides a core network device 90, including:

[0185] The receiving module 91 is used to receive a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the core network device;

[0186] An establishing module 92, configured to establish a tunnel configuration between the terminal and the target forwarding device according to the first information;

[0187] The sending module 93 is used to send a session establishment response to the first core network device.

[0188] Optionally, the target forwarding device is a VTEP function point.

[0189] Optionally, the first information includes: the target forwarding device ID, the IP address bit information of the target forwarding device and the VNI ID, and the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

[0190] Optionally, the first information is carried by a FAR in the session establishment request.

[0191] Optionally, the device further comprises:

[0192] A judging module, used for judging whether the target forwarding device has been created according to the session establishment request;

[0193] A creation module, used to create the target forwarding device if it has not been created before, and use the target forwarding device ID carried in the session establishment request to uniquely identify the target forwarding device; if the IP address bit information of the target forwarding device carried in the session establishment request is an unallocated indication mark used to indicate an unallocated IP address, allocate an IP address to the target forwarding device; if the session establishment request carries the IP address of the target forwarding device, allocate the IP address carried in the session establishment request to the target forwarding device.

[0194] Optionally, if the IP address of the forwarding device is allocated by the core network device, the session establishment response carries the IP address allocated by the core network device to the target forwarding device.

[0195] Optionally, the core network device is UPF.

[0196] Please refer to Fig.10 , an embodiment of the present invention further provides a core network device 100, including: a transceiver 101 and a processor 102;

[0197] The transceiver 101 is used to receive a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the core network device;

[0198] The processor 102 is configured to establish a tunnel configuration between the terminal and the target forwarding device according to the first information;

[0199] The transceiver 101 is further configured to send a session establishment response to the first core network device.

[0200] Optionally, the target forwarding device is a VTEP function point.

[0201] Optionally, the first information includes: the target forwarding device ID, the IP address bit information of the target forwarding device and the VNI ID, and the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

[0202] Optionally, the first information is carried by a FAR in the session establishment request.

[0203] Optionally, the processor 102 is further used to determine whether the target forwarding device has been created based on the session establishment request; if not, create the target forwarding device and use the target forwarding device ID carried in the session establishment request to uniquely identify the target forwarding device; if the IP address bit information of the target forwarding device carried in the session establishment request is an unallocated indication identifier used to indicate an unallocated IP address, allocate an IP address to the target forwarding device; if the session establishment request carries the IP address of the target forwarding device, allocate the IP address carried in the session establishment request to the target forwarding device.

[0204] Optionally, if the IP address of the forwarding device is allocated by the core network device, the session establishment response carries the IP address allocated by the core network device to the target forwarding device.

[0205] Optionally, the core network device is UPF.

[0206] Please refer to Fig.11 The embodiment of the present invention further provides a terminal 110, including:

[0207] The sending module 111 is used to send a PDU session establishment request to the first core network device;

[0208] The receiving module 112 is configured to receive a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries: second information of a target forwarding device;

[0209] The establishing module 113 is used to establish a tunnel configuration between the terminal and the target forwarding device according to the second information.

[0210] Optionally, the second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

[0211] Please refer to Fig.12 , an embodiment of the present invention further provides a terminal 120, including: a transceiver 121 and a processor 122;

[0212] The transceiver 121 is used to send a PDU session establishment request to the first core network device;

[0213] The transceiver 121 is further configured to receive a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries: second information of a target forwarding device;

[0214] The processor 122 is configured to establish a tunnel configuration between the terminal and the target forwarding device according to the second information.

[0215] Optionally, the second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

[0216] Please refer to Fig.13 The embodiment of the present invention further provides a core network device 130, including a processor 131, a memory 132, and a computer program stored in the memory 132 and executable on the processor 131. When the computer program is executed by the processor 131, the computer program implements the various processes of the embodiment of the local area network implementation method performed by the first core network device, or, when the computer program is executed by the processor 131, the computer program implements the various processes of the embodiment of the local area network implementation method performed by the second core network device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0217] Please refer to Fig.14 The embodiment of the present invention further provides a terminal 140, including a processor 141, a memory 142, and a computer program stored in the memory 142 and executable on the processor 141. When the computer program is executed by the processor 141, each process of the embodiment of the local area network implementation method executed by the terminal is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0218] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the embodiment of the local area network implementation method executed by the first core network device is implemented, or when the computer program is executed by a processor, each process of the embodiment of the local area network implementation method executed by the second core network device is implemented, or when the computer program is executed by a processor, each process of the embodiment of the local area network implementation method executed by the terminal is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the computer-readable storage medium is such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0219] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0220] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0221] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A method for implementing a local area network, executed by a first core network device, It is characterized in that include: Receiving a PDU session request sent by a terminal; Acquire the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located; According to the local area network subscription information, a session establishment request is sent to the target second core network device, so that the target second core network device establishes a tunnel configuration between the terminal and the target forwarding device corresponding to the target second core network device, wherein the session establishment request carries: first information of the target forwarding device corresponding to the target second core network device; Receiving a session establishment response sent by the target second core network device; According to the session establishment response, a PDU session establishment response is sent to the terminal so that the terminal establishes a tunnel configuration between the terminal and the target forwarding device, and the PDU session establishment response carries: second information of the target forwarding device.

2. The method according to claim 1, It is characterized in that The forwarding characteristic parameters include VxLAN and VNI ID.

3. The method according to claim 2, It is characterized in that The first information includes: the target forwarding device ID, the IP address bit information of the target forwarding device and the VNI ID, wherein the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

4. The method according to claim 2, It is characterized in that The second information includes: the target forwarding device ID, the IP address of the target forwarding device and the VNI ID.

5. The method according to claim 1, It is characterized in that The first information is carried by the FAR in the session establishment request.

6. The method according to claim 1, It is characterized in that According to the local area network subscription information, before sending the session establishment request to the target second core network device, the method further includes: Determine a target second core network device serving the target local area network; Determine whether the target second core network device is recorded in the forwarding device management table of the target local area network, wherein the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device; If the target second core network device is recorded in the forwarding device management table, obtaining the target forwarding device ID corresponding to the target second core network device and the IP address of the target forwarding device from the forwarding device management table; If the target second core network device is not recorded in the forwarding device management table, the target second core network device shall be recorded in the forwarding device management table, and the corresponding target forwarding device ID shall be assigned to the target second core network device and recorded in the forwarding device management table; if the IP address of the forwarding device is assigned by the first core network device, the IP address shall be assigned to the target forwarding device and recorded in the forwarding device management table; if the IP address of the forwarding device is assigned by the second core network device, an unassigned indication mark shall be filled in for the IP address of the target forwarding device in the forwarding device management table.

7. The method according to claim 6, It is characterized in that Before determining whether the target second core network device is recorded in the forwarding device management table of the target local area network, the method further includes: Determining whether a forwarding device management table of the target local area network is stored; If not stored, create a forwarding device management table for the target local area network.

8. The method according to claim 1, It is characterized in that If the IP address of the forwarding device is allocated by the target second core network device, the session establishment response carries the IP address allocated by the target second core network device to the target forwarding device.

9. The method according to claim 8, It is characterized in that The method further comprises: The IP address allocated by the target second core network device to the target forwarding device is recorded in the forwarding device management table of the target local area network, and the forwarding device management table includes: the identifier of the second core network device that has served the target local area network, the identifier of the forwarding device corresponding to the second core network device, and the IP address of the forwarding device.

10. A method for implementing a local area network, executed by a second core network device, It is characterized in that include: receiving a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the second core network device; Establishing a tunnel configuration between the terminal and the target forwarding device according to the first information; Sending a session establishment response to the first core network device; Among them, the session establishment request is after the first core network device receives the PDU session request sent by the terminal; then according to the PDU session request, the local area network contract information of the terminal is obtained, and sent according to the local area network contract information, wherein the local area network contract information includes the forwarding characteristic parameters of the target local area network where the terminal is located.

11. The method according to claim 10, It is characterized in that The first information includes: the target forwarding device ID, IP address bit information of the target forwarding device and VNI ID, wherein the IP address bit information is an IP address or an unallocated indication mark used to indicate an unallocated IP address.

12. The method according to claim 10, It is characterized in that The first information is carried by the FAR in the session establishment request.

13. The method according to claim 11, It is characterized in that Before establishing the tunnel configuration between the terminal and the target forwarding device according to the first information, the method further includes: According to the session establishment request, determining whether the target forwarding device has been created; If it has not been created, create the target forwarding device, and use the target forwarding device ID carried in the session establishment request to uniquely identify the target forwarding device; if the IP address bit information of the target forwarding device carried in the session establishment request is an unallocated indication identifier used to indicate an unallocated IP address, allocate an IP address to the target forwarding device; if the session establishment request carries the IP address of the target forwarding device, allocate the IP address carried in the session establishment request to the target forwarding device.

14. The method according to claim 13, It is characterized in that If the IP address of the forwarding device is allocated by the second core network device, the session establishment response carries the IP address allocated by the second core network device to the target forwarding device.

15. A method for implementing a local area network, executed by a terminal, It is characterized in that include: Sending a PDU session establishment request to a first core network device, wherein the first core network device is used to obtain the local area network subscription information of the terminal according to the PDU session request, and the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located; Receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries: second information of a target forwarding device; A tunnel configuration is established between the terminal and the target forwarding device according to the second information.

16. The method according to claim 15, It is characterized in that The second information includes: the target forwarding device ID, the IP address and VNI ID of the target forwarding device.

17. A core network device, It is characterized in that include: A first receiving module, used for receiving a PDU session request sent by a terminal; An acquisition module, configured to acquire the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located; A first sending module is used to send a session establishment request to a target second core network device according to the local area network subscription information, so that the target second core network device establishes a tunnel configuration between the terminal and a target forwarding device corresponding to the target second core network device, and the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device; A second receiving module, used to receive a session establishment response sent by the target second core network device; The second sending module is used to send a PDU session establishment response to the terminal according to the session establishment response, so that the terminal establishes a tunnel configuration between the terminal and the target forwarding device, and the PDU session establishment response carries: second information of the target forwarding device.

18. A core network device, It is characterized in that include: transceivers and processors; The transceiver is used to send and receive a PDU session request sent by a terminal; The transceiver is further configured to obtain the local area network subscription information of the terminal according to the PDU session request, wherein the local area network subscription information includes forwarding characteristic parameters of the target local area network where the terminal is located; The transceiver is further used to receive a session establishment request sent to a target second core network device according to the local area network subscription information, so that the target second core network device establishes a tunnel configuration between the terminal and a target forwarding device corresponding to the target second core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the target second core network device; The transceiver is further configured to receive a session establishment response sent by the target second core network device; The transceiver is also used to send a PDU session establishment response to the terminal according to the session establishment response, so that the terminal establishes a tunnel configuration between the terminal and the target forwarding device, and the PDU session establishment response carries: second information of the target forwarding device.

19. A core network device, It is characterized in that include: A receiving module, configured to receive a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the core network device; An establishing module, configured to establish a tunnel configuration between the terminal and the target forwarding device according to the first information; A sending module, used to send a session establishment response to the first core network device; Among them, the session establishment request is after the first core network device receives the PDU session request sent by the terminal; then according to the PDU session request, the local area network contract information of the terminal is obtained, and sent according to the local area network contract information, wherein the local area network contract information includes the forwarding characteristic parameters of the target local area network where the terminal is located.

20. A core network device, It is characterized in that include: transceivers and processors; The transceiver is used to receive a session establishment request sent by a first core network device, wherein the session establishment request carries: first information of a target forwarding device corresponding to the core network device; The processor is configured to establish a tunnel configuration between the terminal and the target forwarding device according to the first information; The transceiver is also used to send a session establishment response to the first core network device; wherein the session establishment request is after the first core network device receives the PDU session request sent by the terminal; then according to the PDU session request, the local area network subscription information of the terminal is obtained, and sent according to the local area network subscription information, wherein the local area network subscription information includes the forwarding characteristic parameters of the target local area network where the terminal is located.

21. A terminal, It is characterized in that include: A sending module, used to send a PDU session establishment request to the first core network device; A receiving module, configured to receive a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries: second information of a target forwarding device; An establishing module, configured to establish a tunnel configuration between the terminal and the target forwarding device according to the second information; Among them, the first core network device is used to obtain the local area network subscription information of the terminal according to the PDU session request, and the local area network subscription information includes the forwarding characteristic parameters of the target local area network where the terminal is located.

22. A terminal, It is characterized in that include: transceivers and processors; The transceiver is used to send a PDU session establishment request to the first core network device; The transceiver is further configured to receive a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries: second information of a target forwarding device; The processor is used to establish a tunnel configuration between the terminal and the target forwarding device based on the second information; wherein the first core network device is used to obtain the local area network subscription information of the terminal based on the PDU session request, and the local area network subscription information includes the forwarding characteristic parameters of the target local area network where the terminal is located.

23. A core network device, It is characterized in that include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method for implementing a local area network as described in any one of claims 1 to 9; or, when executed by the processor, the program implements the steps of the method for implementing a local area network as described in any one of claims 10 to 14.

24. A terminal, It is characterized in that include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method for implementing a local area network as claimed in claim 15 or 16 are implemented.

25. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for implementing a local area network as described in any one of claims 1 to 9; or, when the computer program is executed by a processor, the computer program implements the steps of the method for implementing a local area network as described in any one of claims 10 to 14; or, when the computer program is executed by a processor, the computer program implements the steps of the method for implementing a local area network as described in claim 15 or 16.