CN114500164A - VLAN (virtual local area network) implementation method, core network equipment and terminal - Google Patents

VLAN (virtual local area network) implementation method, core network equipment and terminal Download PDF

Info

Publication number
CN114500164A
CN114500164A CN202011252314.2A CN202011252314A CN114500164A CN 114500164 A CN114500164 A CN 114500164A CN 202011252314 A CN202011252314 A CN 202011252314A CN 114500164 A CN114500164 A CN 114500164A
Authority
CN
China
Prior art keywords
vlan
accessible
list
session establishment
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011252314.2A
Other languages
Chinese (zh)
Inventor
张昊
王荣
刘景磊
宋月
陈旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011252314.2A priority Critical patent/CN114500164A/en
Publication of CN114500164A publication Critical patent/CN114500164A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a VLAN realization method, core network equipment and a terminal, wherein the method comprises the following steps: receiving a PDU session establishment request sent by a terminal, wherein the request carries a request VLAN list which comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs; acquiring local area network subscription information of a terminal, wherein the local area network subscription information comprises a subscription VLAN list of a local area network; determining an accessible VLAN list of the terminal according to the request VLAN list and the signing VLAN list; sending a session establishment request to second core network equipment, wherein the session establishment request carries an accessible VLAN list; receiving a session establishment response sent by the second core network equipment; and sending a PDU session establishment response to the terminal, wherein the PDU session establishment response carries the accessible VLAN list. The invention can create different VxLAN tunnels between the terminal and the forwarding equipment according to different VLANs.

Description

VLAN (virtual local area network) implementation method, core network equipment and terminal
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a VLAN realization method, core network equipment and a terminal.
Background
According to the current 3GPP standard, 5G supports a group of users subscribed with a Virtual Network (VN) group that designates the same slice and the same DNN (Data Network Name), and supports users in the 5G VN group to perform various types of local area Network communications, including unicast, multicast, and the like, and this technical scheme is referred to as a 5G LAN (local area Network). The 5G LAN supports 2 session types, an IP (Internet Protocol ) PDU (Protocol Data Unit) session and an ethernet PDU session, and also supports 3 Data forwarding modes, Data forwarding based on an N6 interface, Data forwarding based on an N19 interface, and Data forwarding of local exchange.
In the industrial internet, Protocol data such as a Transmission Control Protocol (TCP)/IP Protocol stack is not used for communication between some industrial devices, and an application layer or a presentation layer is directly mapped to a data link layer and a physical layer and is communicated based on a 2-layer ethernet, for example, GOOSE Protocol is used for differential protection in a power grid, if the industrial devices need to be connected through a 5G wireless network to build a local area network, 5G LAN technology may be used, and a terminal supporting 5G LAN in the current 3GPP standard initiates a PDU session of an ethernet type and performs local area network forwarding on a User Plane Function (UPF). However, the current industry is not mature, a terminal chip and a module do not support initiation of an ethernet-type PDU session, in order to solve the problem, a 5G terminal device supporting a VxLAN (Virtual eXtensible Local Area Network) function can be introduced, a VxLAN tunnel is created between the 5G terminal device and an UPF, and a two-layer data packet of the industrial device is VxLAN encapsulated on the 5G terminal device to realize layer 2 to layer 3 conversion, so that the industrial device is accessed to a 5G Network to realize Local Area Network interconnection communication. However, if the industrial devices accessing the 5G Network through the 5G terminal device belong to different VLAN groups, how to create different VxLAN tunnels between the 5G terminal device and the UPF for each different VLAN (Virtual Local Area Network) is a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a VLAN realization method, core network equipment and a terminal, which are used for solving the problem of how to create different VxLAN tunnels between 5G terminal equipment and UPF aiming at different VLANs.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for implementing a VLAN, where the method is executed by a first core network device, and includes:
receiving a PDU session establishment request sent by a terminal, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
acquiring local area network subscription information of the terminal, wherein the local area network subscription information comprises a subscription VLAN list of a local area network;
determining an accessible VLAN list of the terminal according to the request VLAN list and the signed VLAN list;
sending a session establishment request to second core network equipment, wherein the session establishment request carries the accessible VLAN list;
receiving a session establishment response sent by the second core network device;
and sending a PDU session establishment response to the terminal, wherein the PDU session establishment response carries the accessible VLAN list.
In a second aspect, an embodiment of the present invention provides a method for implementing a VLAN, where the method is executed by a second core network device, and includes:
receiving a session establishment request sent by a first core network device, wherein the session establishment request carries an accessible VLAN list of a terminal;
establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
and sending a session establishment response to the first core network equipment.
In a third aspect, an embodiment of the present invention provides a method for implementing a VLAN, where the method is executed by a terminal, and includes:
sending a PDU session establishment request to first core network equipment, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises first VLANs to which all equipment needing to access a local area network through the terminal belongs;
receiving a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries an accessible VLAN list;
establishing a VxLAN tunnel for each accessible VLAN in the list of accessible VLANs.
In a fourth aspect, an embodiment of the present invention provides a core network device, including:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a PDU session establishment request sent by a terminal, the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises first VLANs to which all equipment needing to be accessed to a local area network through the terminal belongs;
the acquisition module is used for acquiring local area network subscription information of the terminal, wherein the local area network subscription information comprises a subscription VLAN list of a local area network;
a determining module, configured to determine, according to the request VLAN list and the contracted VLAN list, an accessible VLAN list of the terminal;
a first sending module, configured to send a session establishment request to a second core network device, where the session establishment request carries the accessible VLAN list;
a second receiving module, configured to receive a session establishment response sent by the second core network device;
and the second sending module is used for sending a PDU session establishment response to the terminal, wherein the PDU session establishment response carries the accessible VLAN list.
In a fifth aspect, an embodiment of the present invention provides a core network device, including: a transceiver and a processor;
the transceiver is used for sending and receiving a PDU session establishment request sent by a terminal, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
the processor is configured to acquire local area network subscription information of the terminal, where the local area network subscription information includes a subscription VLAN list of a local area network; determining an accessible VLAN list of the terminal according to the request VLAN list and the signed VLAN list;
the transceiver is further configured to receive a session establishment request sent to a second core network device, where the session establishment request carries the accessible VLAN list;
the transceiver is further configured to receive a session establishment response sent by the second core network device;
the transceiver is further configured to send a PDU session establishment response to the terminal, where the PDU session establishment response carries the accessible VLAN list.
In a sixth aspect, an embodiment of the present invention provides a core network device, including:
a receiving module, configured to receive a session establishment request sent by a first core network device, where the session establishment request carries an accessible VLAN list of a terminal;
the establishing module is used for establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
a sending module, configured to send a session establishment response to the first core network device.
In a seventh aspect, an embodiment of the present invention provides a core network device, including: a transceiver and a processor;
the transceiver is configured to receive a session establishment request sent by a first core network device, where the session establishment request carries an accessible VLAN list of a terminal;
the processor is used for establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
the transceiver is further configured to send a session establishment response to the first core network device.
In an eighth aspect, an embodiment of the present invention provides a terminal, including:
a sending module, configured to send a PDU session establishment request to a first core network device, where the PDU session establishment request carries a request VLAN list, and the request VLAN list includes a first VLAN to which all devices that need to access a local area network through the terminal belong;
a receiving module, configured to receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries an accessible VLAN list;
and the establishing module is used for establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
In a ninth aspect, an embodiment of the present invention provides a terminal, including: a transceiver and a processor;
the transceiver is used for sending a PDU session establishment request to first core network equipment, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
the transceiver is further configured to receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries an accessible VLAN list;
the processor is configured to establish a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
In a tenth aspect, an embodiment of the present invention provides a core network device, including: 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 VLAN implementation method according to the first aspect; alternatively, the program is executed by the processor to implement the steps of the VLAN implementation method according to the second aspect.
In an eleventh aspect, an embodiment of the present invention provides a terminal, including: a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the program, when executed by the processor, implements the steps of the VLAN implementation method according to the third aspect.
In a twelfth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the implementing method for the VLAN according to the first aspect; or, the computer program is executed by a processor to implement the steps of the VLAN implementation method according to the second aspect; alternatively, the computer program, when executed by a processor, implements the steps of the VLAN implementation method according to the third aspect.
In the embodiment of the invention, different VxLAN tunnels can be created between the terminal and the forwarding equipment for each different VLAN so as to support the establishment of a plurality of subnets under one local area network.
Drawings
Various additional advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart of a VLAN implementation method executed by a first core network device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a VLAN implementation method performed by a first core network device according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a VLAN implementation method performed by a second core network device according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a VLAN implementation method performed by a terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an interaction flow between network elements according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a core network device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a core network device according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a core network device according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a core network device according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to another embodiment of the present invention;
fig. 12 is a schematic structural diagram of a core network device according to another embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal according to yet another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that embodiments of the application can be practiced in sequences other than those illustrated or described herein, and the terms "first" and "second" used herein generally do not denote any order, nor do they denote any order, for example, the first object may be one or more. In addition, "and/or" in the specification and the claims means at least one of connected objects, and a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
It is noted that the techniques described in the embodiments of the present invention can be applied to the 5 th generation (5 th generation)thGeneration, 5G) communication system, and may also be applied to a wireless communication system other than the 5G communication system application, such as a 6th Generation, 6G communication system.
Referring to fig. 1, an embodiment of the present invention provides a method for implementing a VLAN, which is executed by a first core network device, where in the embodiment of the present invention, the first core network device may be an SMF (Session Management Function), and certainly, in some other embodiments of the present invention, the execution by using other core network devices is not excluded.
The VLAN realization method comprises the following steps:
step 11: receiving a PDU (Protocol Data Unit) session establishment request sent by a terminal, wherein the PDU session establishment request carries a request VLAN list (Requested VLAN list), and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
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 a CPE (Customer Premise Equipment).
Optionally, the request VLAN list includes a VLAN ID of the first VLAN.
Step 12: acquiring local area network subscription information of the terminal, wherein the local area network subscription information comprises a subscription VLAN list (Subscribed VLAN list) of a local area network;
that is, a subscription VLAN list is added to the existing local area network subscription information, and the subscription VLAN list is all VLANs that allow the terminal to access, and may also be referred to as a subscription VLAN.
Optionally, if the first core network device is an SMF, the SMF may obtain the local area network subscription information of the terminal from a UDM (Unified Data Management entity).
If the technology described in the embodiment of the present invention is applied to a 5G communication system, the local area Network subscription information may also be referred to as 5G VN (Virtual Network) group information.
The contracted VLAN list includes a VLAN ID of a contracted VLAN and a corresponding VNI (VXLAN Network Identifier) ID. A contracted VLAN is a VLAN that the terminal is allowed to access.
Step 13: determining an accessible VLAN list (Allowed VLAN list) of the terminal according to the request VLAN list and the signed VLAN list;
in this embodiment of the present invention, optionally, the accessible VLAN list includes VLAN IDs of the accessible VLANs and corresponding VNI IDs.
Step 14: sending a session establishment request to second core network equipment, wherein the session establishment request carries the accessible VLAN list;
sending a session establishment request to the second core network device to enable the forwarding device on the second core network device to establish a VxLAN tunnel for each accessible VLAN in the list of accessible VLANs.
Optionally, the second core network device may be a UPF (User plane Function), and the forwarding device may be a VTEP (VXLAN Tunnel End Point, VXLAN Tunnel terminal) Function Point.
Optionally, the second core network device may be a core network device that serves the terminal.
Step 15: receiving a session establishment response sent by the second core network device;
step 16: and sending a PDU session establishment response to the terminal, wherein the PDU session establishment response carries the accessible VLAN list.
And sending a PDU session establishment response to the terminal so that the terminal establishes a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
In the embodiment of the invention, different VxLAN tunnels can be created between the terminal and the forwarding equipment for each different VLAN so as to support the establishment of a plurality of subnets under one local area network.
In the embodiment of the present invention, optionally, the accessible VLAN list is carried by FAR (Forwarding Action Rules) in the session establishment request, so that the change of the existing session establishment request is small.
In this embodiment of the present invention, optionally, referring to fig. 2, determining the accessible VLAN list of the terminal according to the request VLAN list and the contracted VLAN list includes:
step 21: judging whether each first VLAN in the request VLAN list is in the signed VLAN list or not;
step 22: if the first VLAN is in the signed VLAN list, determining that the first VLAN is an accessible VLAN, and recording the accessible VLAN in the accessible VLAN list;
step 23: and if the first VLAN is not in the signed VLAN list, determining that the first VLAN is an inaccessible VLAN.
In the embodiment of the invention, the VLAN which can be accessed by the terminal can be conveniently obtained by directly comparing the request VLAN list with the VLAN in the signed connection.
In the embodiment of the present invention, optionally, the signed VLAN list includes a default VLAN; determining the accessible VLAN list of the terminal according to the request VLAN list and the contracted VLAN list, further comprising: and if all the first VLANs are not in the signed VLAN list, determining the default VLAN to be an accessible VLAN, thereby avoiding the situation that all the first VLANs are not in the signed VLAN list.
Alternatively, the subscription VLAN list may be as shown in table 1:
TABLE 1
VLAN ID VNI ID
100 (default) 6666
101 8888
In this embodiment of the present invention, optionally, after determining that the first VLAN is an inaccessible VLAN, the method further includes: recording the inaccessible VLAN in an inaccessible subnet list (Not Allowed VLAN list); and the PDU session establishment response carries the inaccessible VLAN list.
Optionally, the inaccessible VLAN list includes a VLAN ID of the inaccessible VLAN.
Referring to fig. 3, an embodiment of the present invention further provides a method for implementing a VLAN, where the method is executed by a second core network device, and in the embodiment of the present invention, the second core network device may be a UPF, but in other embodiments of the present invention, it is not excluded that another core network device is used for execution.
The VLAN realization method comprises the following steps:
step 31: receiving a session establishment request sent by a first core network device, wherein the session establishment request carries an accessible VLAN list of a terminal;
the first core network device may be an SMF.
In this embodiment of the present invention, optionally, the accessible VLAN list includes VLAN IDs of the accessible VLANs and corresponding VNI IDs.
Step 32: establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
specifically, a VxLAN tunnel is established for each accessible VLAN in the accessible VLAN list by the forwarding device in the second core network device.
Optionally, the VxLAN tunnel of the accessible VLAN is identified by a VNI ID corresponding to the accessible VLAN.
Optionally, the forwarding device creates multiple VxLAN tunnel configurations for the terminal with the IP address assigned to it as the source address, the IP address of the terminal as the destination address, and the VNI ID of each accessible VLAN as the identifier.
The forwarding device may be a VTEP function point.
Step 33: and sending a session establishment response to the first core network equipment.
In the embodiment of the invention, different VxLAN tunnels can be created between the terminal and the forwarding equipment for each different VLAN so as to support the establishment of a plurality of subnets under one local area network.
Referring to fig. 4, an embodiment of the present invention further provides a method for implementing a VLAN, where the method is executed by a terminal, and includes:
step 41: sending a PDU session establishment request to first core network equipment, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises first VLANs to which all equipment needing to access a local area network through the terminal belongs;
optionally, the request VLAN list includes a VLAN ID of the first VLAN.
Step 42: receiving a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries an accessible VLAN list;
optionally, the accessible VLAN list includes a VLAN ID of an accessible VLAN and a corresponding VNI ID;
step 43: establishing a VxLAN tunnel for each accessible VLAN in the list of accessible VLANs.
Optionally, the VxLAN tunnel of the accessible VLAN is identified by a VNI ID corresponding to the accessible VLAN.
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 a CPE (Customer Premise Equipment).
In the embodiment of the invention, different VxLAN tunnels can be created between the terminal and the forwarding equipment for each different VLAN so as to support the establishment of a plurality of subnets under one local area network.
Taking a scenario that industrial equipment accesses a 5G LAN through a CPE supporting a VxLAN function, and dynamically creating a plurality of VxLAN tunnels according to a terminal requirement to realize that a plurality of subnets are established under the 5G LAN as an example, an implementation method of a VLAN in the above embodiment is described as an example.
Referring to fig. 5, the method for implementing a VLAN according to the embodiment of the present invention includes:
step 51: the method comprises the steps that a CPE sends a PDU session establishment request to an AMF (Access and Mobility Management Function), wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to Access a local area network through the CPE belongs;
the CPE is a VxLAN-enabled CPE.
Step 52: the AMF forwards the PDU session request to the SMF;
step 53: the SMF acquires local area network subscription information of the CPE from the UPM, wherein the local area network subscription information comprises a subscription VLAN list (Subscribed VLAN list) of the local area network;
optionally, the local area network subscription information may further include: 5G LAN ID, 5G LAN forwarding characteristic parameter VxLAN, etc.
Step 54: SMF sends PDU conversation to AMF to establish response;
step 55: the SMF sends a session establishment request to the UPF, wherein the session establishment request carries an accessible VLAN list, and the accessible VLAN list is determined according to a request VLAN list and a signed VLAN list;
the specific method for SMF accessible VLAN list may be referred to the embodiment shown in fig. 2.
Step 56: the UPF establishes a VxLAN tunnel for each accessible VLAN in the accessible VLAN list, and the VxLAN tunnel can be identified by a VNI ID;
and 57: the UPF sends a session setup response to the SMF.
Step 58: the SMF returns a PDU session establishment response to the CPE, wherein the PDU session establishment response carries an accessible VLAN list, and optionally, if the requested VLAN comprises an inaccessible VLA, the PDU session establishment response can also carry an inaccessible VLAN list;
step 59: the CPE establishes a VxLAN tunnel for each accessible VLAN in the list of accessible VLANs, which may be identified by a VNI ID.
Referring to fig. 6, an embodiment of the present invention further provides a core network device 60, including:
a first receiving module 61, configured to receive a PDU session establishment request sent by a terminal, where the PDU session establishment request carries a request VLAN list, and the request VLAN list includes first VLANs to which all devices that need to access a local area network through the terminal belong;
an obtaining module 62, configured to obtain local area network subscription information of the terminal, where the local area network subscription information includes a subscription VLAN list of a local area network;
a determining module 63, configured to determine, according to the request VLAN list and the contracted VLAN list, an accessible VLAN list of the terminal;
a first sending module 64, configured to send a session establishment request to a second core network device, where the session establishment request carries the accessible VLAN list;
a second receiving module 65, configured to receive a session establishment response sent by the second core network device;
a second sending module 66, configured to send a PDU session establishment response to the terminal, where the PDU session establishment response carries the accessible VLAN list.
Optionally, the determining module 63 is configured to determine whether each first VLAN in the request VLAN list is in the signed VLAN list; if the first VLAN is in the signed VLAN list, determining that the first VLAN is an accessible VLAN, and recording the accessible VLAN in the accessible VLAN list; and if the first VLAN is not in the signed VLAN list, determining that the first VLAN is an inaccessible VLAN.
Optionally, the signed VLAN list includes a default VLAN; the determining module 63 is further configured to determine that the default VLAN is an accessible VLAN if all the first VLANs are not in the signed VLAN list.
Optionally, the core network device 60 further includes:
the recording module is used for recording the inaccessible VLAN in an inaccessible subnet list; and the PDU session establishment response carries the inaccessible VLAN list.
Optionally, the request VLAN list includes a VLAN ID of the first VLAN;
the signed VLAN list comprises VLAN IDs of signed VLANs and corresponding VNI IDs;
the accessible VLAN list includes VLAN IDs for the accessible VLANs and corresponding VNI IDs.
Optionally, the inaccessible VLAN list includes a VLAN ID of the inaccessible VLAN.
Optionally, the core network device is an SMF.
Referring to fig. 7, an embodiment of the present invention further provides a core network device 70, including: a transceiver 71 and a processor 72;
the transceiver 71 is configured to send a PDU session establishment request sent by a receiving terminal, where the PDU session establishment request carries a request VLAN list, and the request VLAN list includes a first VLAN to which all devices that need to access a local area network through the receiving terminal belong;
the processor 72 is configured to obtain local area network subscription information of the terminal, where the local area network subscription information includes a subscription VLAN list of a local area network; determining an accessible VLAN list of the terminal according to the request VLAN list and the signed VLAN list;
the transceiver 71 is further configured to receive a session establishment request sent to a second core network device, where the session establishment request carries the accessible VLAN list;
the transceiver 71 is further configured to receive a session establishment response sent by the second core network device;
the transceiver 71 is further configured to send a PDU session establishment response to the terminal, where the PDU session establishment response carries the accessible VLAN list.
Optionally, the processor 72 is further configured to determine whether each first VLAN in the request VLAN list is in the contracted VLAN list; if the first VLAN is in the signed VLAN list, determining that the first VLAN is an accessible VLAN, and recording the accessible VLAN in the accessible VLAN list; and if the first VLAN is not in the signed VLAN list, determining that the first VLAN is an inaccessible VLAN.
Optionally, the signed VLAN list includes a default VLAN; the processor 72 is further configured to determine that the default VLAN is an accessible VLAN if all the first VLANs are not in the contracted VLAN list.
Optionally, the processor 72 is further configured to record the inaccessible VLAN in an inaccessible subnet list; and the PDU session establishment response carries the inaccessible VLAN list.
Optionally, the request VLAN list includes a VLAN ID of the first VLAN;
the signed VLAN list comprises VLAN IDs of signed VLANs and corresponding VNI IDs;
the accessible VLAN list includes VLAN IDs for the accessible VLANs and corresponding VNI IDs.
Optionally, the inaccessible VLAN list includes a VLAN ID of the inaccessible VLAN.
Optionally, the core network device 70 is an SMF.
Referring to fig. 8, an embodiment of the present invention further provides a core network device 80, including:
a receiving module 81, configured to receive a session establishment request sent by a first core network device, where the session establishment request carries an accessible VLAN list of a terminal;
an establishing module 82, configured to establish a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
a sending module 83, configured to send a session establishment response to the first core network device.
Optionally, the accessible VLAN list includes a VLAN ID of an accessible VLAN and a corresponding VNI ID; and the VxLAN tunnel of the accessible VLAN is identified by the VNI ID corresponding to the accessible VLAN.
Optionally, the core network device 80 is a UPF.
Referring to fig. 9, an embodiment of the present invention further provides a core network device 90, including: a transceiver 91 and a processor 92;
the transceiver 91 is configured to receive a session establishment request sent by a first core network device, where the session establishment request carries an accessible VLAN list of a terminal;
the processor 92 is configured to establish a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
the transceiver 91 is further configured to send a session establishment response to the first core network device.
Optionally, the accessible VLAN list includes a VLAN ID of an accessible VLAN and a corresponding VNI ID; and the VxLAN tunnel of the accessible VLAN is identified by the VNI ID corresponding to the accessible VLAN.
Optionally, the core network device 90 is a UPF.
Referring to fig. 10, an embodiment of the present invention further provides a terminal 100, including:
a sending module 101, configured to send a PDU session establishment request to a first core network device, where the PDU session establishment request carries a request VLAN list, and the request VLAN list includes first VLANs to which all devices that need to access a local area network through the terminal belong;
a receiving module 102, configured to receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries an accessible VLAN list;
an establishing module 103, configured to establish a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
Optionally, the accessible VLAN list includes a VLAN ID of an accessible VLAN and a corresponding VNI ID; and the VxLAN tunnel of the accessible VLAN is identified by the VNI ID corresponding to the accessible VLAN.
Optionally, the request VLAN list includes a VLAN ID of the first VLAN.
Referring to fig. 11, an embodiment of the present invention further provides a terminal 110, including: a transceiver 111 and a processor 112;
the transceiver 111 is configured to send a PDU session establishment request to a first core network device, where the PDU session establishment request carries a request VLAN list, and the request VLAN list includes a first VLAN to which all devices that need to access a local area network through the terminal belong;
the transceiver 111 is further configured to receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries an accessible VLAN list;
the processor 112 is configured to establish a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
Optionally, the accessible VLAN list includes a VLAN ID of an accessible VLAN and a corresponding VNI ID; and the VxLAN tunnel of the accessible VLAN is identified by the VNI ID corresponding to the accessible VLAN.
Optionally, the request VLAN list includes a VLAN ID of the first VLAN.
Referring to fig. 12, an embodiment of the present invention further provides a core network device 120, which includes a processor 121, a memory 122, and a computer program stored in the memory 122 and capable of running on the processor 121, where the computer program is executed by the processor 121 to implement the processes of the above-mentioned embodiment of the VLAN implementation method executed by the first core network device, or the computer program is executed by the processor 121 to implement the processes of the above-mentioned embodiment of the VLAN implementation method executed by the second core network device, and the same technical effects can be achieved, and are not described herein again to avoid repetition.
Referring to fig. 13, an embodiment of the present invention further provides a terminal 130, including a processor 131, a memory 132, and a computer program stored in the memory 132 and capable of running on the processor 131, where the computer program, when executed by the processor 131, implements each process of the above-mentioned VLAN implementation method embodiment executed by the terminal, and can achieve the same technical effect, and therefore, for avoiding repetition, no further description is provided herein.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned VLAN implementation method embodiment executed by the first core network device, or when the computer program is executed by the processor, the computer program implements each process of the above-mentioned VLAN implementation method embodiment executed by the second core network device, or when the computer program is executed by the processor, the computer program implements each process of the above-mentioned VLAN implementation method embodiment executed by the terminal, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (20)

1. A method for implementing a VLAN is executed by a first core network device, and is characterized by comprising the following steps:
receiving a PDU session establishment request sent by a terminal, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
acquiring local area network subscription information of the terminal, wherein the local area network subscription information comprises a subscription VLAN list of a local area network;
determining an accessible VLAN list of the terminal according to the request VLAN list and the signed VLAN list;
sending a session establishment request to second core network equipment, wherein the session establishment request carries the accessible VLAN list;
receiving a session establishment response sent by the second core network device;
and sending a PDU session establishment response to the terminal, wherein the PDU session establishment response carries the accessible VLAN list.
2. The method of claim 1, wherein determining the list of accessible VLANs for the terminal based on the request VLAN list and the contracted VLAN list comprises:
judging whether each first VLAN in the request VLAN list is in the signed VLAN list or not;
if the first VLAN is in the signed VLAN list, determining that the first VLAN is an accessible VLAN, and recording the accessible VLAN in the accessible VLAN list;
and if the first VLAN is not in the signed VLAN list, determining that the first VLAN is an inaccessible VLAN.
3. The method of claim 2, wherein the list of contracted VLANs includes a default VLAN; determining the accessible VLAN list of the terminal according to the request VLAN list and the contracted VLAN list, further comprising:
and if all the first VLANs are not in the signed VLAN list, determining the default VLAN to be an accessible VLAN.
4. The method of claim 2, wherein determining that the first VLAN is an inaccessible VLAN further comprises:
recording the non-accessible VLAN in a non-accessible subnet list;
and the PDU session establishment response carries the inaccessible VLAN list.
5. The method of claim 2,
the request VLAN list comprises a VLAN ID of a first VLAN;
the signed VLAN list comprises VLAN IDs of signed VLANs and corresponding VNI IDs;
the accessible VLAN list includes VLAN IDs for the accessible VLANs and corresponding VNI IDs.
6. The method of claim 4, wherein the non-accessible VLAN list includes a VLAN ID of the non-accessible VLAN.
7. A method for implementing a VLAN, which is executed by a second core network device, is characterized by comprising the following steps:
receiving a session establishment request sent by a first core network device, wherein the session establishment request carries an accessible VLAN list of a terminal;
establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
and sending a session establishment response to the first core network equipment.
8. The method of claim 7,
the accessible VLAN list comprises VLAN IDs of accessible VLANs and corresponding VNI IDs;
and the VxLAN tunnel of the accessible VLAN is identified by the VNI ID corresponding to the accessible VLAN.
9. A method for implementing VLAN is executed by a terminal, and is characterized in that the method comprises the following steps:
sending a PDU session establishment request to first core network equipment, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises first VLANs to which all equipment needing to access a local area network through the terminal belongs;
receiving a PDU session establishment response sent by the first core network device, wherein the PDU session establishment response carries an accessible VLAN list;
a VxLAN tunnel is established for each accessible VLAN in the list of accessible VLANs.
10. The method of claim 9,
the accessible VLAN list comprises VLAN IDs of accessible VLANs and corresponding VNI IDs;
and the VxLAN tunnel of the accessible VLAN is identified by the VNI ID corresponding to the accessible VLAN.
11. The method of claim 9,
the request VLAN list includes a VLAN ID of the first VLAN.
12. A core network device, comprising:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a PDU session establishment request sent by a terminal, the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises first VLANs to which all equipment needing to be accessed to a local area network through the terminal belongs;
the acquisition module is used for acquiring local area network subscription information of the terminal, wherein the local area network subscription information comprises a subscription VLAN list of a local area network;
a determining module, configured to determine, according to the request VLAN list and the contracted VLAN list, an accessible VLAN list of the terminal;
a first sending module, configured to send a session establishment request to a second core network device, where the session establishment request carries the accessible VLAN list;
a second receiving module, configured to receive a session establishment response sent by the second core network device;
and the second sending module is used for sending a PDU session establishment response to the terminal, wherein the PDU session establishment response carries the accessible VLAN list.
13. A core network device, comprising: a transceiver and a processor;
the transceiver is used for sending and receiving a PDU session establishment request sent by a terminal, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
the processor is configured to acquire local area network subscription information of the terminal, where the local area network subscription information includes a subscription VLAN list of a local area network; determining an accessible VLAN list of the terminal according to the request VLAN list and the signing VLAN list;
the transceiver is further configured to receive a session establishment request sent to a second core network device, where the session establishment request carries the accessible VLAN list;
the transceiver is further configured to receive a session establishment response sent by the second core network device;
the transceiver is further configured to send a PDU session establishment response to the terminal, where the PDU session establishment response carries the accessible VLAN list.
14. A core network device, comprising:
a receiving module, configured to receive a session establishment request sent by a first core network device, where the session establishment request carries an accessible VLAN list of a terminal;
the establishment module is used for establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
a sending module, configured to send a session establishment response to the first core network device.
15. A core network device, comprising: a transceiver and a processor;
the transceiver is configured to receive a session establishment request sent by a first core network device, where the session establishment request carries an accessible VLAN list of a terminal;
the processor is used for establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list;
the transceiver is further configured to send a session establishment response to the first core network device.
16. A terminal, comprising:
a sending module, configured to send a PDU session establishment request to a first core network device, where the PDU session establishment request carries a request VLAN list, and the request VLAN list includes a first VLAN to which all devices that need to access a local area network through the terminal belong;
a receiving module, configured to receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries an accessible VLAN list;
and the establishing module is used for establishing a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
17. A terminal, comprising: a transceiver and a processor;
the transceiver is used for sending a PDU session establishment request to first core network equipment, wherein the PDU session establishment request carries a request VLAN list, and the request VLAN list comprises a first VLAN to which all equipment needing to access a local area network through the terminal belongs;
the transceiver is further configured to receive a PDU session establishment response sent by the first core network device, where the PDU session establishment response carries an accessible VLAN list;
the processor is configured to establish a VxLAN tunnel for each accessible VLAN in the accessible VLAN list.
18. A core network device, comprising: a processor, a memory and a program stored on the memory and executable on the processor, the program implementing the steps of the VLAN implementation method according to any one of claims 1 to 6 when executed by the processor; alternatively, the program implements the steps of the VLAN implementing method as set forth in claim 7 or 8 when executed by the processor.
19. A terminal, comprising: processor, memory and program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the VLAN implementation method according to any one of claims 9 to 11.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, implements the steps of the VLAN implementing method according to any one of claims 1 to 6; or the computer program, when being executed by a processor, implements the steps of the VLAN implementation method as set forth in claim 7 or 8; alternatively, the computer program when executed by a processor implements the steps of a method of implementing a VLAN according to any one of claims 9 to 11.
CN202011252314.2A 2020-11-11 2020-11-11 VLAN (virtual local area network) implementation method, core network equipment and terminal Pending CN114500164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011252314.2A CN114500164A (en) 2020-11-11 2020-11-11 VLAN (virtual local area network) implementation method, core network equipment and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011252314.2A CN114500164A (en) 2020-11-11 2020-11-11 VLAN (virtual local area network) implementation method, core network equipment and terminal

Publications (1)

Publication Number Publication Date
CN114500164A true CN114500164A (en) 2022-05-13

Family

ID=81490021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011252314.2A Pending CN114500164A (en) 2020-11-11 2020-11-11 VLAN (virtual local area network) implementation method, core network equipment and terminal

Country Status (1)

Country Link
CN (1) CN114500164A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018149269A1 (en) * 2017-02-20 2018-08-23 中兴通讯股份有限公司 Radio resource management method and device
CN109104448A (en) * 2017-06-20 2018-12-28 华为技术有限公司 Conversation managing method and device
US20190007992A1 (en) * 2017-07-03 2019-01-03 Electronics And Telecommunications Research Institute Network triggered service request method and user equipment (ue) triggered service request method
CN110830983A (en) * 2018-08-13 2020-02-21 华为技术有限公司 Management method and device for local area network communication
CN110972218A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Communication method and device
CN110999515A (en) * 2017-08-10 2020-04-10 华为技术有限公司 Interaction between broadband network service gateway and fifth generation core network
US20200205208A1 (en) * 2017-08-29 2020-06-25 Huawei Technologies Co., Ltd. Terminal Interaction with Different User Plane Function Entities
CN111436160A (en) * 2019-01-15 2020-07-21 华为技术有限公司 Local area network communication method, device and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018149269A1 (en) * 2017-02-20 2018-08-23 中兴通讯股份有限公司 Radio resource management method and device
CN109104448A (en) * 2017-06-20 2018-12-28 华为技术有限公司 Conversation managing method and device
US20190007992A1 (en) * 2017-07-03 2019-01-03 Electronics And Telecommunications Research Institute Network triggered service request method and user equipment (ue) triggered service request method
CN110999515A (en) * 2017-08-10 2020-04-10 华为技术有限公司 Interaction between broadband network service gateway and fifth generation core network
US20200205208A1 (en) * 2017-08-29 2020-06-25 Huawei Technologies Co., Ltd. Terminal Interaction with Different User Plane Function Entities
CN110830983A (en) * 2018-08-13 2020-02-21 华为技术有限公司 Management method and device for local area network communication
CN110972218A (en) * 2018-09-30 2020-04-07 华为技术有限公司 Communication method and device
CN111436160A (en) * 2019-01-15 2020-07-21 华为技术有限公司 Local area network communication method, device and system

Similar Documents

Publication Publication Date Title
WO2020073919A1 (en) Packet transmission method and apparatus
US9344858B2 (en) Overlaying virtual broadcast domains on an underlying physical network
US20040264463A1 (en) Method, apparatus and system for distributing multicast data
CN110417633A (en) A kind of communication means and equipment
CN114124618B (en) Message transmission method and electronic equipment
CN113810512B (en) Internet of things terminal access system, method, device and storage medium
CN104022936B (en) A kind of tunnel establishing method and device
CN104468866A (en) Fast roaming method for multi-gateway terminal in wireless local area network
US20220141176A1 (en) Supporting dynamic host configuration protocol-based customer premises equipment in fifth generation wireline and wireless convergence
CN112039920A (en) Communication method, communication device, electronic device and storage medium
CN104253878B (en) The vlan information management system and method for DHCP RELAY termination sub-interfaces
CN105142189B (en) The roam control method and device of website
WO2021169291A1 (en) Route advertising method, network elements, system, and device
US20230146807A1 (en) Supporting dynamic host configuration protocol-based customer premises equipment in fifth generation wireline and wireless convergence
CN112217653B (en) Strategy issuing method, device and system
CN106789263B (en) System for realizing IPv4 and IPv6 dual-stack flow unified bandwidth control based on SNMP
CN106533984B (en) A kind of cut-in method and device of social resources
CN104168302B (en) Equipment manipulation implementation method, system and proxy gateway
CN104717640A (en) Realization method for wireless network communication based on positioning
CN114500164A (en) VLAN (virtual local area network) implementation method, core network equipment and terminal
CN103931218B (en) Method and local network entity for data transfer
JP2024519311A (en) Data acquisition method and system, and device therefor
CN105429887B (en) The method and system of internet group management protocol snooping processing during a kind of website roaming
CN113438705A (en) Communication data processing method, communication data processing device, communication equipment and storage medium
WO2011026355A1 (en) Method for a node accessing a home agent, home agent cluster system and service router

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination