WO2019091221A1 - Ethernet broadcast frame processing method, apparatus and device - Google Patents

Ethernet broadcast frame processing method, apparatus and device Download PDF

Info

Publication number
WO2019091221A1
WO2019091221A1 PCT/CN2018/106027 CN2018106027W WO2019091221A1 WO 2019091221 A1 WO2019091221 A1 WO 2019091221A1 CN 2018106027 W CN2018106027 W CN 2018106027W WO 2019091221 A1 WO2019091221 A1 WO 2019091221A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding rule
terminal device
local area
network element
ethernet
Prior art date
Application number
PCT/CN2018/106027
Other languages
French (fr)
Chinese (zh)
Inventor
唐廷芳
李岩
杨娇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019091221A1 publication Critical patent/WO2019091221A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, an apparatus, and a device for processing an Ethernet broadcast frame.
  • WIFI wireless-Fidelity
  • the macro base station near the local area network may be used instead of the WiFi device, so that the terminal device accesses the local area network through the macro base station.
  • the session management function (SMF) network element needs to establish an Ethernet type session for the terminal device, and the user interface function (UPF) network element is used.
  • the UFP network element needs to forward the Ethernet broadcast frame to the terminal device.
  • the existing UPF network element does not have the function of processing the Ethernet broadcast frame, so that the UPF network element cannot successfully forward the received Ethernet broadcast frame, so that the Ethernet broadcast frame is lost, thereby resulting in low reliability of data transmission.
  • the present invention provides a method, a device, and a device for processing an Ethernet broadcast frame.
  • the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the reliability of the data transmission.
  • the present application provides a method for processing an Ethernet broadcast frame, where a user plane function network element obtains a user list and a forwarding rule from a session management function network element, and the user plane function network element receives an Ethernet broadcast frame, according to a forwarding rule,
  • the broadcast mode sends an Ethernet broadcast frame to the terminal device in the user list.
  • the user list includes an identifier of the at least one terminal device that accesses the local area network or an identifier of the at least one terminal device that accesses the first virtual local area network in the local area network.
  • the forwarding rule indicates a method for processing an Ethernet broadcast frame
  • the user list includes an identifier of at least one terminal device that accesses the local area network or an identifier of at least one terminal device that accesses the first virtual local area network in the local area network, so that After receiving the Ethernet broadcast frame sent by the server in the local area network, the user plane function network element may send the Ethernet broadcast frame to the terminal device in the user list according to the forwarding rule sent by the session management function network element, so that the user plane function network element can Successfully forwarding the received Ethernet broadcast frame avoids the loss of the Ethernet broadcast frame, thereby improving the reliability of data transmission.
  • the user list may include access to at least one terminal device of the first virtual local area network, and the Ethernet broadcast frame includes an identification of the first virtual local area network.
  • the virtual local area network corresponding to the Ethernet broadcast frame may be determined according to the identifier of the virtual local area network included in the Ethernet broadcast frame.
  • the user plane function network element may send the Ethernet broadcast frame to the terminal device in the user list in a unicast manner by using at least the following two possible implementation manners:
  • At least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the first terminal device, and the user plane function network element can send the Ethernet to the first terminal device through the following feasible implementation manners.
  • Broadcast frame The user plane function network element sets the destination MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the forwarding rule, and sends the Ethernet broadcast frame to the first terminal device in a unicast manner.
  • the method for the user plane function network element to send the Ethernet broadcast frame to other terminal devices is the same as the method for sending the Ethernet broadcast frame to the first terminal device, and details are not described herein.
  • the user plane function network element copies the Ethernet broadcast frame according to the forwarding rule, and sets the MAC address of the copied Ethernet broadcast frame as the MAC address of the first terminal device to generate the first Ethernet unicast frame. And transmitting the first Ethernet unicast frame to the first terminal device.
  • the first Ethernet unicast frame can be obtained by modifying the destination MAC address of the copied Ethernet broadcast frame, and the first Ethernet unicast frame is sent to the terminal device, so that the user plane function network element can be The Ethernet broadcast frame is sent in unicast form.
  • the forwarding rule may include a first forwarding rule and a second forwarding rule, where the first forwarding rule indicates that the Ethernet broadcast frame is sent in a unicast manner, and the second forwarding rule is used when the Ethernet unicast frame is sent. Forwarding rules.
  • the user plane function network element can set the media access control MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the first forwarding rule, and send the unicast mode to the first terminal device according to the second forwarding rule. Send an Ethernet broadcast frame.
  • the forwarding rule may include the identifier of the virtual local area network, so that when different virtual local area networks can correspond to different forwarding rules, the forwarding of the virtual local area network may be determined according to the identifier of the virtual local area network included in the forwarding rule.
  • the first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or the first forwarding rule includes an identifier of the first virtual local area network.
  • At least one terminal device that is connected to the local area network or the first virtual local area network includes the second terminal device
  • the user plane function network element can send the Ethernet to the first terminal device through the following feasible implementation manners.
  • the broadcast frame the user plane function network element determines the second Ethernet unicast frame according to the forwarding rule, and forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame, where the destination address of the second Ethernet unicast frame is The MAC address of the second terminal device.
  • the method for the user plane function network element to send the Ethernet broadcast frame to other terminal devices is the same as the method for sending the Ethernet broadcast frame to the second terminal device, and details are not described herein.
  • the second Ethernet unicast frame may carry an Ethernet broadcast frame, and the Ethernet broadcast frame may be sent in a unicast manner by carrying the Ethernet broadcast frame in the second Ethernet unicast frame.
  • the forwarding rule may include a third forwarding rule and a fourth forwarding rule, where the third forwarding rule indicates that it is determined to be used to carry the Ethernet in the existing Ethernet unicast frame sent to the second terminal device.
  • the second Ethernet unicast frame of the broadcast frame, and the fourth forwarding rule is a forwarding rule used when transmitting the Ethernet unicast frame.
  • the user plane function network element may determine the second Ethernet unicast frame according to the third forwarding rule, and forward the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule.
  • the forwarding rule may include the identifier of the virtual local area network, so that when different virtual local area networks can correspond to different forwarding rules, the forwarding of the virtual local area network may be determined according to the identifier of the virtual local area network included in the forwarding rule.
  • the third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or the third forwarding rule includes an identifier of the first virtual local area network.
  • the present application provides a method for processing an Ethernet broadcast frame.
  • the session management function network element sends a user list and a forwarding rule to the user plane function network element, where the user list includes the identifier or access of at least one terminal device that accesses the local area network.
  • the session management function network element sends a user list and a forwarding rule to the user plane function network element, so that the user plane function network element can receive the Ethernet broadcast frame sent by the server in the local area network, and can be configured according to the session management function network.
  • the forwarding rule sent by the element sends the Ethernet broadcast frame to the terminal device in the user list, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the reliability of the data transmission. Sex.
  • the session management function network element sends an Sx message to the user plane function network element, and the Sx message includes a forwarding rule.
  • the session management function network element before the session management function network element sends the user list to the user plane function network element, it can be a user list.
  • the session management function network element generates a user list when the terminal device accessing the local area network or the first virtual local area network changes. In this way, not only the correctness of the identifier of the terminal device included in the user list can be ensured, but also the waste of resources caused by frequently generating the user list can be avoided.
  • the application provides an apparatus for processing an Ethernet broadcast frame, including an acquiring module, a receiving module, and a sending module, where
  • the obtaining module is configured to obtain a user list and a forwarding rule from the session management function network element, where the user list includes an identifier of the at least one terminal device that accesses the local area network or an identifier of the at least one terminal device that accesses the first virtual local area network in the local area network;
  • the receiving module is configured to receive an Ethernet broadcast frame
  • the sending module is configured to send an Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule.
  • the at least one terminal device that accesses the local area network or the first virtual local area network includes the first terminal device, and the sending module is specifically configured to:
  • the Ethernet broadcast frame is transmitted to the first terminal device in a unicast manner.
  • the forwarding rule includes a first forwarding rule and a second forwarding rule; and the sending module is specifically configured to:
  • the Ethernet broadcast frame is sent to the first terminal device in a unicast manner.
  • the sending module is specifically configured to:
  • the at least one terminal device that accesses the local area network or the first virtual local area network includes the second terminal device, and the sending module is specifically configured to:
  • the Ethernet broadcast frame is forwarded to the second terminal device through the second Ethernet unicast frame.
  • the forwarding rule includes a third forwarding rule and a fourth forwarding rule; the sending module is specifically configured to:
  • the Ethernet broadcast frame is forwarded to the second terminal device by using the second Ethernet unicast frame.
  • the user list includes at least one terminal device that accesses the first virtual local area network
  • the Ethernet broadcast frame includes an identifier of the first virtual local area network
  • the first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or the first forwarding rule includes an identifier of the first virtual local area network.
  • the third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or the third forwarding rule includes an identifier of the first virtual local area network.
  • the forwarding rule may further include a fifth forwarding rule and a sixth forwarding rule.
  • the fifth forwarding rule may be a multicast forwarding rule, and the fifth forwarding rule is used to indicate that the Ethernet broadcast frame is processed by the sixth forwarding rule.
  • the sixth forwarding rule may be a user session forwarding rule, where the sixth forwarding rule is a forwarding rule used when sending an Ethernet broadcast frame.
  • the sixth forwarding rule may be to send an Ethernet broadcast frame to a terminal device in the user list.
  • the sixth forwarding rule may be found according to the fifth forwarding rule, and the Ethernet broadcast frame is sent to the terminal device in the user list according to the sixth forwarding rule.
  • the processing device of the Ethernet broadcast frame provided by the present application may perform the method shown in any one of the foregoing first aspects, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • the application provides an apparatus for processing an Ethernet broadcast frame, including a sending module, where
  • the sending module is configured to send a user list to the user plane function network element, where the user list includes an identifier of the at least one terminal device that accesses the local area network or an identifier of the at least one terminal device that accesses the first virtual local area network in the local area network;
  • the sending module is further configured to send a forwarding rule to the user plane function network element, where the forwarding rule is used to indicate that the user plane function network element sends the received Ethernet broadcast frame to the terminal device in the user list in a unicast manner.
  • the sending module is specifically configured to:
  • the apparatus further includes a generating module, wherein the generating module is configured to generate a user list.
  • the generating module is specifically configured to generate a user list when the terminal device accessing the local area network or the first virtual local area network changes.
  • the processing device of the Ethernet broadcast frame provided by the present application may perform the method shown in any one of the foregoing second aspects, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • the application provides a user plane function network element, including: a processor, a memory, and a communication bus, wherein the communication bus is used to implement connection between components, the memory is used to store program instructions, and the processor is configured to read
  • the program instructions in the memory and the method of any of the above first aspects are performed in accordance with program instructions in the memory.
  • the application provides a session management function network element, including: a processor, a memory, and a communication bus, wherein the communication bus is used to implement a connection between components, the memory is used to store program instructions, and the processor is configured to read The program instructions in the memory, and the method of any of the above second aspects is performed in accordance with program instructions in the memory.
  • a session management function network element including: a processor, a memory, and a communication bus, wherein the communication bus is used to implement a connection between components, the memory is used to store program instructions, and the processor is configured to read The program instructions in the memory, and the method of any of the above second aspects is performed in accordance with program instructions in the memory.
  • the present application provides a computer readable storage medium comprising instructions, when executed on a computer, causing a computer to perform the method of any of the first aspect or the second aspect.
  • the application provides a computer program product comprising computer executed instructions stored in a computer readable storage medium.
  • the at least one processor can read the computer-executable instructions from a computer-readable storage medium, and perform the method of any one of the first aspect or the second aspect.
  • the present application provides a chip system, comprising a processor, for performing the method of any one of the first aspect or the second aspect. For example, data and/or information involved in the above methods are generated or processed.
  • the chip system further includes a memory for storing necessary program instructions and data.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the session management function network element may send a forwarding rule and a user list to the user plane function network element, and the forwarding rule indicates a processing method for the Ethernet broadcast frame, and the user list includes The identifier of the at least one terminal device in the local area network or the identifier of the at least one terminal device in the first virtual local area network in the local area network, so that after the user plane function network element receives the Ethernet broadcast frame sent by the server in the local area network, the session may be based on the session.
  • the forwarding rule sent by the management function network element sends the Ethernet broadcast frame to the terminal device in the user list, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the data.
  • the reliability of the transmission is the reason for the transmission.
  • FIG. 1 is a block diagram of a communication system provided by the present application.
  • FIG. 2 is a schematic flowchart 1 of a method for processing an Ethernet broadcast frame provided by the present application
  • FIG. 3 is a schematic flowchart 2 of a method for processing an Ethernet broadcast frame provided by the present application
  • FIG. 4 is a schematic flowchart 3 of a method for processing an Ethernet broadcast frame provided by the present application.
  • FIG. 5 is a schematic structural diagram of an apparatus for processing an Ethernet broadcast frame according to the present application.
  • FIG. 6 is a schematic structural diagram 1 of another apparatus for processing an Ethernet broadcast frame provided by the present application.
  • FIG. 7 is a schematic structural diagram 2 of another apparatus for processing an Ethernet broadcast frame provided by the present application.
  • FIG. 8 is a schematic structural diagram of a user plane function network element provided by the present application.
  • FIG. 9 is a schematic structural diagram of a session management function network element provided by the present application.
  • FIG. 1 is a structural diagram of a communication system provided by the present application.
  • the communication system may include a User Equipment (UE) 101, an Access Network (AN) node 102, a UPF network element 103, a switch 104, a server 105, and access and mobility management.
  • the communication system may further include other network elements, for example, a Policy Control Function (PCF) network element 108.
  • PCF Policy Control Function
  • the UE 101 may be a mobile phone (or "cellular" phone) or a computer with a mobile terminal, for example, a portable, pocket, handheld, computer built-in or in-vehicle mobile device or the like.
  • the UE may also be referred to as a mobile station (MS), a terminal, and a terminal equipment.
  • MS mobile station
  • terminal equipment a terminal equipment
  • the AN node 102 may be a device that provides wireless access to the terminal device, including but not limited to an evolved Node B (eNB), a wireless fidelity access point (WLAN AP), A global interoperability for Microwave Access Base Station (WiMAX BS), a base station (eg, gNodeB, gNB) in a 5G network, and the like.
  • eNB evolved Node B
  • WLAN AP wireless fidelity access point
  • WiMAX BS A global interoperability for Microwave Access Base Station
  • gNodeB, gNB a base station in a 5G network, and the like.
  • the UPF network element 103 is configured to process the packet, such as forwarding, statistics, and the like.
  • the UFP network element 103 also completes the execution of the session related policy according to the indication of the SMF.
  • the switch 104 is configured to forward the packet.
  • the switch 104 can forward the packet received from the UPF network element 103 to the corresponding server 105, and forward the packet received from the server 105 to the corresponding UPF network element. 103.
  • Server 105 is used to provide data services to UE 101.
  • server 105 can be an Authentication-Authorization-Accounting (AAA) server.
  • AAA Authentication-Authorization-Accounting
  • the switch 104 and the server 105 are network elements in the local area network.
  • the AMF network element 106 is used to forward messages between the SMF and the UE, and is also responsible for mobility management in the mobile network, such as user location update, user registration network, user handover, and the like.
  • the SMF network element 107 is mainly responsible for session management in the mobile network, such as session establishment, session modification, and session release.
  • the PCF network element 108 is used to formulate policies of the terminal device, such as a quality of service (QoS) policy, a slice selection policy, and the like.
  • QoS quality of service
  • the above network elements can be either network components implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualization functions on appropriate platforms.
  • the virtualization platform can be a cloud platform. .
  • the session management function network element may send a forwarding rule to the user plane function network element, and the forwarding rule indicates a processing method for the Ethernet broadcast frame, so that the user plane function network element receives the server sent by the local area network.
  • the Ethernet broadcast frame can be processed according to the forwarding rule sent by the session management function network element, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame. Improve the reliability of data transmission.
  • FIG. 2 is a schematic flowchart 1 of a method for processing an Ethernet broadcast frame provided by the present application. Referring to FIG. 2, the method may include:
  • the session management function network element sends a user list to the user plane function network element.
  • the user list includes at least one terminal device that accesses the local area network or an identifier of at least one terminal device that accesses the first virtual local area network in the local area network.
  • the session management function network element may be the SMF network element 107 shown in FIG. 1.
  • the local area network when the local area network is not divided into a virtual local area network, the local area network generally corresponds to a user list, where the user list includes an identifier of at least one terminal device that accesses the local area network.
  • each virtual local area network corresponds to a user list
  • the user list corresponding to each virtual local area network includes an identifier of at least one terminal device that accesses the virtual local area network.
  • the user list may further include an identifier of the virtual local area network.
  • the first virtual local area network is any one of the virtual local area networks in the local area network.
  • the following embodiment uses the virtual local area network as the first virtual local area network as an example for description.
  • the user list may be generated by the session management function network element.
  • the session management function network element may generate a corresponding user list when the terminal device that accesses the local area network or the first virtual local area network changes, or the session management function network element may periodically generate a user list.
  • the time and trigger condition for generating the user list by the session management function network element are not specifically limited.
  • the session management function network element can determine whether the terminal device accessing the local area network changes by detecting a session established to the local area network. For example, when the session management function network element detects that a new session is established in the local area network or releases the old session, it may be determined that the terminal device accessing the local area network changes.
  • the session management function network element may determine whether the terminal device accessing the first virtual local area network changes by detecting a session established to the first virtual local area network. For example, when the session management function network element detects that a new session is established in the first virtual local area network or releases the old session, it may be determined that the terminal device accessing the first virtual local area network changes.
  • the session management function network element sends a forwarding rule to the user plane function network element.
  • the forwarding rule is configured to instruct the user plane function network element to send the received Ethernet broadcast frame to the terminal device in the user list in a unicast manner.
  • the session management function network element sends the forwarding rule to the user plane function network element when the user plane function network element is deployed, or the session management function network element can periodically send the forwarding rule to the user plane function network element.
  • the session management function network element may send a forwarding rule to the user plane function network element when the forwarding rule changes, or the session management function network element may also send the request message to the user after receiving the user plane function network element request message.
  • the surface function network element sends forwarding rules.
  • the session management function network element can send a forwarding rule to the user plane function network element according to actual needs.
  • the time and trigger condition for the session management function network element to send the forwarding rule to the user plane function network element are not performed. Specifically limited.
  • the session management function network element may send a forwarding rule to the user plane function network element in the Sx session.
  • the session management function network element may send an Sx message to the user plane function network element, and carry the forwarding rule in the Sx message. .
  • the Forwarding Action Rule (FAR) in the Packet Detection Rule (PDR) of the Sx message may be set to: send the received Ethernet to the terminal device in the user list in a unicast manner. Broadcast frame.
  • the forwarding rule can be sent to the user plane function network element by using the Sx message.
  • the forwarding rules corresponding to different virtual local area networks may be the same or different.
  • the forwarding rules can carry the identifiers of the virtual local area networks.
  • the forwarding rule corresponding to the first virtual local area network may carry the identifier of the first virtual local area network.
  • the user plane function network element receives an Ethernet broadcast frame.
  • the Ethernet broadcast frame received by the user plane function network element may be sent by a local area network or a server in the first virtual local area network.
  • the identifier of the first virtual local area network may be included in the Ethernet broadcast frame to indicate that the Ethernet frame is sent by the server in the first virtual local area network.
  • the destination media access control (MAC) address of the Ethernet broadcast frame is FFFF-FFFF-FFFF.
  • the user plane function network element sends an Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule.
  • the user plane function network element sends the received Ethernet broadcast frame to the terminal device in the user list corresponding to the local area network according to the forwarding rule.
  • step S204 includes: the user plane function network element determines a user list corresponding to the first virtual local area network according to the identifier of the first virtual local area network in the Ethernet broadcast frame, and sends the received Ethernet broadcast to the terminal device in the user list. frame.
  • the user plane function network element may send the Ethernet broadcast frame to the terminal device in the user list in a unicast manner by using at least two possible implementation manners:
  • At least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the first terminal device, and the following is an example of sending an Ethernet broadcast frame to the first terminal device, in the opposite user list.
  • the process by which the terminal device sends an Ethernet broadcast frame is described:
  • the user plane function network element sets the destination MAC address of the Ethernet broadcast frame as the MAC address of the first terminal device according to the forwarding rule, and sends the Ethernet broadcast frame to the first terminal device in a unicast manner.
  • the user plane function network element copies the Ethernet broadcast frame according to the forwarding rule, and sets the destination MAC address of the copied Ethernet broadcast frame to the MAC address of the first terminal device to generate the first Ethernet unicast frame, and A terminal device transmits a first Ethernet unicast frame.
  • the forwarding rule may include a first forwarding rule and a second forwarding rule.
  • the first forwarding rule may be a multicast forwarding rule, and the first forwarding rule indicates that the Ethernet broadcast frame is sent in unicast mode.
  • the second forwarding rule may be a user session forwarding rule, and the second forwarding rule is a forwarding rule used when sending an Ethernet unicast frame.
  • the identifier of the first virtual local area network may be included in the first forwarding rule and the second forwarding rule; or the identifier of the first virtual local area network may be included in the first forwarding rule.
  • the user plane function network element may set the destination MAC address of the Ethernet broadcast frame as the MAC address of the first terminal device according to the first forwarding rule; the user plane function network element may be in a unicast manner according to the second forwarding rule. An Ethernet broadcast frame is transmitted to the first terminal device.
  • At least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the second terminal device, and the following is an example of sending the Ethernet broadcast frame to the second terminal device as an example, in the opposite user list.
  • the process by which the terminal device sends an Ethernet broadcast frame is described:
  • the user plane function network element determines the second Ethernet unicast frame according to the forwarding rule, and forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame, where the destination address of the second Ethernet unicast frame is the second terminal.
  • MAC address of the device
  • the second Ethernet unicast frame is an existing Ethernet unicast frame that needs to be sent to the second terminal device.
  • the user plane function network element may first determine an Ethernet session corresponding to the second terminal device, where the Ethernet session is an Ethernet session between the second terminal device and the local area network, or the second terminal device and the first virtual local area network Between the Ethernet sessions.
  • the user plane function network element determines the second unicast frame in the unicast frame transmitted in the Ethernet session.
  • the destination MAC address transmitted through the Ethernet session may be the unicast of the MAC address of the second terminal device.
  • the frame is determined to be a second Ethernet unicast frame.
  • the user plane function network element may add data in the Ethernet broadcast frame in the second Ethernet unicast frame, and send the second Ethernet unicast frame to the second terminal device, to implement the second Ethernet unicast frame.
  • the Ethernet broadcast frame is forwarded to the second terminal device.
  • the forwarding rule may include a third forwarding rule and a fourth forwarding rule.
  • the third forwarding rule may be a multicast forwarding rule, and the third forwarding rule indicates that the second Ethernet unicast frame for carrying the Ethernet broadcast frame is determined in the existing Ethernet unicast frame sent to the second terminal device.
  • the fourth forwarding rule may be a user session forwarding rule, and the fourth forwarding rule is a forwarding rule used when sending an Ethernet unicast frame.
  • the identifier of the first virtual local area network may be included in the third forwarding rule and the fourth forwarding rule; or the identifier of the first virtual local area network may be included in the third forwarding rule.
  • the user plane function network element may determine the second Ethernet unicast frame according to the third forwarding rule; the user plane function network element may forward the ether to the second terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule. Broadcast frame.
  • the session management function network element may send a forwarding rule and a user list to the user plane function network element, and the forwarding rule indicates a processing method for the Ethernet broadcast frame, where the user list includes at least the access LAN.
  • the identifier of a terminal device or the identifier of at least one terminal device of the first virtual local area network in the local area network so that after the user plane function network element receives the Ethernet broadcast frame sent by the server in the local area network, the network element can be configured according to the session management function.
  • the sending forwarding rule sends the Ethernet broadcast frame to the terminal device in the user list, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the reliability of the data transmission. .
  • the user plane function network element processes the Ethernet broadcast frame differently.
  • the process of the user plane function network element to the Ethernet broadcast frame under the two different forwarding rules will be described below through the embodiments shown in FIG. 3 to FIG. 4. It should be noted that, in the embodiment shown in FIG. 3 to FIG. 4, a process in which a virtual local area network is divided in a local area network and the user plane function network element processes an Ethernet broadcast frame in the first virtual local area network is taken as an example for description. .
  • FIG. 3 is a schematic flowchart 2 of a method for processing an Ethernet broadcast frame provided by the present application.
  • the forwarding rule includes a first forwarding rule and a second forwarding rule.
  • the session management function network element is an SMF network element
  • the user plane function network element is a UPF network element.
  • the method may include:
  • the SMF network element detects, when the terminal device accessing the first virtual local area network changes, the user list corresponding to the first virtual local area network.
  • the user list corresponding to the first virtual local area network includes an identifier of the terminal device that accesses the first virtual local area network.
  • the user list corresponding to the first virtual local area network may further include an identifier of the first virtual local area network.
  • the S301 is only used as an example to indicate the condition that the SMF network element generates the user list corresponding to the first virtual local area network.
  • the SMF network element can also generate the user list corresponding to the first virtual local area network under other conditions. This is not specifically limited.
  • the SMF may detect the stored first virtual device when the terminal device that accesses the first virtual local area network changes.
  • the user list corresponding to the local area network is updated.
  • the SMF network element sends the user list corresponding to the first virtual local area network to the UPF network element.
  • the UPF network element may store the received user list;
  • the user list corresponding to the first virtual local area network is stored in the network element, and the UPF network element can update the stored user list corresponding to the first virtual local area network according to the received user list.
  • the SMF network element sends the first forwarding rule and the second forwarding rule corresponding to the first virtual local area network to the UPF network element.
  • the first forwarding rule and the second forwarding rule may include the identifier of the first virtual local area network, or the first forwarding rule may include the identifier of the first virtual local area network.
  • the forwarding rule corresponding to the first virtual local area network may be another forwarding rule.
  • the embodiment shown in FIG. 3 only takes the forwarding rule corresponding to the first virtual local area network as the first forwarding rule and the second forwarding rule as an example. It is not a limitation of the forwarding rule corresponding to the first virtual local area network.
  • S301-S302 and S303 there is no sequential execution sequence between S301-S302 and S303, and S301-S302 and S303 may be executed sequentially or simultaneously.
  • the server in the first virtual local area network sends an Ethernet broadcast frame to the UPF network element.
  • the identifier of the first virtual local area network is included in the Ethernet broadcast frame.
  • the UPF network element copies the Ethernet broadcast frame according to the first forwarding rule, and sets the destination MAC address of the copied Ethernet broadcast frame to the MAC address of the terminal device in the user list to generate multiple first Ethernet unicast frames.
  • the UPF network element may copy the Ethernet broadcast frame according to the number of the terminal devices in the user list, obtain multiple duplicate Ethernet broadcast frames, and set the destination MAC address of the copied Ethernet broadcast frame to the user list respectively.
  • the MAC address of the terminal device may copy the Ethernet broadcast frame according to the number of the terminal devices in the user list, obtain multiple duplicate Ethernet broadcast frames, and set the destination MAC address of the copied Ethernet broadcast frame to the user list respectively.
  • the MAC address of the terminal device may copy the Ethernet broadcast frame according to the number of the terminal devices in the user list, obtain multiple duplicate Ethernet broadcast frames, and set the destination MAC address of the copied Ethernet broadcast frame to the user list respectively.
  • the MAC address of the terminal device may copy the Ethernet broadcast frame according to the number of the terminal devices in the user list, obtain multiple duplicate Ethernet broadcast frames, and set the destination MAC address of the copied Ethernet broadcast frame to the user list respectively.
  • the MAC address of the terminal device may also be included in the user list, so that the UPF network element can obtain the MAC address of the terminal device in the user list.
  • the UPF network element can copy 100 Ethernet broadcast frames to obtain 100 replicated Ethernet broadcast frames, and set the destination MAC addresses of the 100 replicated Ethernet broadcast frames respectively. For the MAC address of the 100 terminal devices, 100 Ethernet unicast frames are obtained.
  • the UPF network element sends a corresponding first Ethernet unicast frame to the terminal device in the user list according to the second forwarding rule.
  • the UPF network element may send the corresponding first Ethernet unicast frame to the terminal device in an Ethernet session corresponding to each terminal device in the user list.
  • the UPF network element sends the Ethernet unicast frame 1 to the terminal device 1.
  • the UPF network element sends the Ethernet unicast frame 2 to the terminal device 2.
  • the SMF network element may send the first forwarding rule, the second forwarding rule, and the user list corresponding to the first virtual local area network to the UPF network element, so that the first virtual local area network is received by the UPF network element.
  • the Ethernet broadcast frame may be processed according to the first forwarding rule to obtain a plurality of first Ethernet unicast frames, and the UPF network element may also be used according to the second forwarding rule to the terminal in the user list.
  • the device sends the obtained first Ethernet unicast frame, so that the UPF network element can successfully forward the received Ethernet broadcast frame.
  • FIG. 4 is a schematic flowchart 3 of a method for processing an Ethernet broadcast frame provided by the present application.
  • the forwarding rule includes a third forwarding rule and a fourth forwarding rule.
  • the session management function network element is an SMF network element
  • the user plane function network element is a UPF network element.
  • the method may include:
  • the SMF network element detects a user list corresponding to the first virtual local area network when the terminal device accessing the first virtual local area network changes.
  • the SMF network element sends the user list corresponding to the first virtual local area network to the UPF network element.
  • the SMF network element sends a third forwarding rule and a fourth forwarding rule corresponding to the first virtual local area network to the UPF network element.
  • the third forwarding rule and the fourth forwarding rule may include the identifier of the first virtual local area network, or the third forwarding rule may include the identifier of the first virtual local area network.
  • the forwarding rule corresponding to the first virtual local area network may be another forwarding rule.
  • the embodiment shown in FIG. 4 only takes the forwarding rule corresponding to the first virtual local area network as the third forwarding rule and the fourth forwarding rule as an example. It is not a limitation of the forwarding rule corresponding to the first virtual local area network.
  • S401-S402 and S403 there is no sequential execution sequence between S401-S402 and S403, and S401-S402 and S403 may be executed sequentially or simultaneously.
  • the server in the first virtual local area network sends an Ethernet broadcast frame to the UPF network element.
  • the UPF network element determines, according to the third forwarding rule, a second Ethernet unicast frame corresponding to each terminal device in the user list.
  • the UPF network element can determine a second Ethernet unicast frame corresponding to each terminal device in the user list, so that each terminal device corresponds to a second Ethernet unicast frame.
  • the UPF network element can respectively determine the second Ethernet unicast frame corresponding to the 100 terminal devices, to obtain 100 second Ethernet unicast frames, each of the terminal devices and one The second Ethernet unicast frame corresponds.
  • the second Ethernet unicast frame corresponding to each terminal device may be determined by referring to the execution process of S204, and details are not described herein.
  • the UPF network element forwards the Ethernet broadcast frame to the corresponding terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule.
  • the UPF network element forwards the Ethernet broadcast frame to the terminal device 1 through the Ethernet unicast frame 1.
  • the UPF network element forwards the Ethernet broadcast frame to the terminal device 2 through the Ethernet unicast frame 2.
  • the Ethernet broadcast frame is forwarded to the corresponding terminal device by using the second Ethernet unicast frame.
  • the SMF network element may send a third forwarding rule, a fourth forwarding rule, and a user list corresponding to the first virtual local area network to the UPF network element, so that the first virtual local area network is received by the UPF network element.
  • the second Ethernet unicast frame corresponding to each terminal device in the user list may be determined according to the third forwarding rule, and the UPF network element may also be in the user list according to the second forwarding rule.
  • the terminal device sends the obtained second Ethernet unicast frame, so that the UPF network element can successfully forward the received Ethernet broadcast frame.
  • the forwarding rule may further include a fifth forwarding rule and a sixth forwarding rule.
  • the fifth forwarding rule may be a multicast forwarding rule, and the fifth forwarding rule is used to indicate that the Ethernet broadcast frame is processed by the sixth forwarding rule.
  • the sixth forwarding rule may be a user session forwarding rule, where the sixth forwarding rule is a forwarding rule used when sending an Ethernet broadcast frame.
  • the sixth forwarding rule may be to send an Ethernet broadcast frame to a terminal device in the user list.
  • the sixth forwarding rule may be found according to the fifth forwarding rule, and the Ethernet broadcast frame is sent to the terminal device in the user list according to the sixth forwarding rule.
  • FIG. 5 is a schematic structural diagram of an apparatus for processing an Ethernet broadcast frame provided by the present application.
  • the apparatus may include an obtaining module 11, a receiving module 12, and a sending module 13, wherein
  • the obtaining module 11 is configured to obtain a user list and a forwarding rule from a session management function network element, where the user list includes an identifier of at least one terminal device that accesses a local area network or accesses a first virtual local area network in the local area network. At least one identification of the terminal device;
  • the receiving module 12 is configured to receive an Ethernet broadcast frame.
  • the sending module 13 is configured to send the Ethernet broadcast frame to a terminal device in the user list in a unicast manner according to the forwarding rule.
  • the processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • the at least one terminal device that accesses the local area network or the first virtual local area network includes a first terminal device, and the sending module 13 is specifically configured to:
  • the forwarding rule includes a first forwarding rule and a second forwarding rule.
  • the sending module 13 is specifically configured to:
  • the sending module 13 is specifically configured to:
  • the accessing the local area network or the at least one terminal device of the first virtual local area network includes a second terminal device, where the sending module 13 is specifically configured to:
  • the forwarding rule includes a third forwarding rule and a fourth forwarding rule.
  • the sending module 13 is specifically configured to:
  • the user list includes at least one terminal device that accesses the first virtual local area network
  • the Ethernet broadcast frame includes an identifier of the first virtual local area network
  • the first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or the first forwarding rule includes an identifier of the first virtual local area network.
  • the third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or the third forwarding rule includes an identifier of the first virtual local area network.
  • the processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • the obtaining module 11 can execute S201-S202 in the foregoing embodiment of FIG. 2, S302-S303 in the embodiment shown in FIG. 3, and the embodiment shown in FIG. S402-S403, the specific implementation process and the corresponding beneficial effects can be referred to in the description of the method embodiment, and details are not described herein.
  • the receiving module 12 can perform S203 in the foregoing embodiment of FIG. 2, S304 in the embodiment shown in FIG. 3, and S404 in the embodiment shown in FIG. 4, and the specific execution process and corresponding beneficial effects can be referred to the method.
  • the description in the embodiments is not described herein again.
  • the sending module 13 can perform S204 in the foregoing embodiment of FIG. 2, S305-S306 in the embodiment shown in FIG. 3, and S405-S406 in the embodiment shown in FIG. 4, and the specific execution process and corresponding benefits are beneficial.
  • S204 in the foregoing embodiment of FIG. 2, S305-S306 in the embodiment shown in FIG. 3, and S405-S406 in the embodiment shown in FIG. 4, and the specific execution process and corresponding benefits are beneficial.
  • the specific execution process and corresponding benefits are beneficial.
  • FIG. 6 is a schematic structural diagram 1 of another apparatus for processing an Ethernet broadcast frame provided by the present application.
  • the device may include a sending module 21, where
  • the sending module 21 is configured to send a user list to the user plane function network element, where the user list includes an identifier of at least one terminal device that accesses the local area network or accesses at least one terminal device of the first virtual local area network in the local area network. Identification
  • the sending module 21 is further configured to send a forwarding rule to the user plane function network element, where the forwarding rule is used to indicate that the user plane function network element sends and receives to the terminal device in the user list in a unicast manner. To the Ethernet broadcast frame.
  • the processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • the sending module 21 is specifically configured to:
  • FIG. 7 is a schematic structural diagram 2 of another apparatus for processing an Ethernet broadcast frame provided by the present application.
  • the device further includes a generating module 22, wherein
  • the generating module 22 is configured to generate the user list.
  • the generating module 22 is specifically configured to:
  • the user list is generated when a terminal device accessing the local area network or the first virtual local area network changes.
  • the processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • the sending module 21 can perform S201-S202 in the foregoing embodiment of FIG. 2, S302-S303 in the embodiment shown in FIG. 3, and FIG.
  • S402-S403 for the specific implementation process and the corresponding beneficial effects of the S402-S403 in the embodiment, refer to the description in the method embodiment, and details are not described herein.
  • the generating module 22 can perform the foregoing S301 in the embodiment shown in FIG. 3 and the S401 in the embodiment shown in FIG. 4, and the specific implementation process and corresponding beneficial effects can be referred to in the description of the method embodiment, where No more details are given.
  • FIG. 8 is a schematic structural diagram of a user plane function network element provided by the present application.
  • the program instructions in the memory 32 are read and the methods illustrated in the embodiment of Figures 2-4 are performed in accordance with the program instructions in the memory 32.
  • the processor 31 may perform other processing in addition to information transceiving of the user plane function network element in the embodiments of FIG. 2 to FIG. 4.
  • the implementation principle and beneficial effects are similar, and will not be described here.
  • FIG. 9 is a schematic structural diagram of a session management function network element provided by the present application.
  • a processor 41 a memory 42 for implementing a connection between components, and a communication bus 43 for storing program instructions
  • the processor 41 is configured to The program instructions in the memory 42 are read, and the method shown in the embodiment of Figures 2 - 4 is performed in accordance with the program instructions in the memory 42.
  • the processor 41 may perform other processing than the information transmission and reception of the session management function network element in the embodiments of FIG. 2 to FIG. 4.
  • the implementation principle and beneficial effects are similar, and will not be described here.
  • the present application provides a computer readable storage medium comprising instructions, when executed on a computer, causing a computer to perform a method of processing an Ethernet broadcast frame as shown in any of the above method embodiments.
  • the application provides a computer program product comprising computer executed instructions stored in a computer readable storage medium.
  • At least one processor can read the computer execution instructions from a computer readable storage medium, and execute the computer execution instructions to perform the method of processing the Ethernet broadcast frames shown in any of the above method embodiments.
  • the present application provides a chip system including a processor for supporting functions implemented in any of the above-described embodiments, such as, for example, generating or processing data and/or information involved in the above methods.
  • the chip system further includes a memory for storing necessary program instructions and data.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIGS 8 and 9 only show a simplified design of the above described apparatus.
  • each of the above devices may include any number of transmitters, receivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are within the scope of the present application.
  • the processor used in the above-mentioned session management function network element or user plane function network element of the present application may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and a field. Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions.
  • the software instructions may be comprised of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage well known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a session management function network element.
  • the processor and the storage medium may also exist as discrete components in the session management function network element or the user plane function network element.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

The present application provides an Ethernet broadcast frame processing method, an apparatus and a device. Said method comprises: a user port function network element acquiring a user list and a forwarding rule from a session management function network element, the user list comprising an identifier of at least one terminal device which accesses a local area network or an identifier of at least one terminal device which accesses a first virtual local area network in the local area network; and the user port function network element receiving Ethernet broadcast frames, and sending, according to the forwarding rule, the Ethernet broadcast frames to the terminal device in the user list in a unicast manner. In the process above, the user port function network element can successfully forward the received Ethernet broadcast frames, avoiding the loss of the Ethernet broadcast frame, further improving the reliability of data transmission.

Description

以太广播帧的处理方法、装置及设备Ethernet broadcast frame processing method, device and device
本申请要求于2017年11月09日提交中国专利局、申请号为201711096408.3、申请名称为“以太广播帧的处理方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. No. No. No. No. In this application.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种以太广播帧的处理方法、装置及设备。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, an apparatus, and a device for processing an Ethernet broadcast frame.
背景技术Background technique
目前,在局域网中通常部署有多个采用无线保真(Wireless-Fidelity,WIFI)设备,终端设备(例如,手机、电脑、打印机等)可以通过WIFI设备接入局域网。At present, multiple wireless-Fidelity (WIFI) devices are usually deployed in a local area network, and terminal devices (for example, mobile phones, computers, printers, etc.) can access the local area network through WIFI devices.
为了减少局域网中WiFi设备的投资,可以使用局域网附近的宏基站来代替WiFi设备,以使终端设备通过宏基站接入局域网。在终端设备通过宏基站接入局域网的过程中,需要由会话管理功能(Session Management Function,SMF)网元为终端设备建立以太类型的会话,并通过用户面功能(User Port Function,UPF)网元实现以太网类型会话的转发。在局域网中,当服务器向终端设备广播以太网帧(下文简称以太广播帧)时,需要由UFP网元向终端设备转发以太广播帧。然而,现有的UPF网元不具有处理以太广播帧的功能,使得UPF网元无法成功地转发接收到的以太广播帧,使得以太广播帧丢失,进而导致数据传输的可靠性较低。In order to reduce the investment of the WiFi device in the local area network, the macro base station near the local area network may be used instead of the WiFi device, so that the terminal device accesses the local area network through the macro base station. In the process of the terminal device accessing the local area network through the macro base station, the session management function (SMF) network element needs to establish an Ethernet type session for the terminal device, and the user interface function (UPF) network element is used. Implement forwarding of Ethernet type sessions. In the local area network, when the server broadcasts an Ethernet frame (hereinafter referred to as an Ethernet broadcast frame) to the terminal device, the UFP network element needs to forward the Ethernet broadcast frame to the terminal device. However, the existing UPF network element does not have the function of processing the Ethernet broadcast frame, so that the UPF network element cannot successfully forward the received Ethernet broadcast frame, so that the Ethernet broadcast frame is lost, thereby resulting in low reliability of data transmission.
发明内容Summary of the invention
本申请提供一种以太广播帧的处理方法、装置及设备,用户面功能网元可以成功的转发接收到的以太广播帧,避免了以太广播帧的丢失,进而提高数据传输的可靠性。The present invention provides a method, a device, and a device for processing an Ethernet broadcast frame. The user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the reliability of the data transmission.
第一方面,本申请提供一种以太广播帧的处理方法,用户面功能网元从会话管理功能网元获取用户列表和转发规则,用户面功能网元接收以太广播帧,根据转发规则,以单播方式向用户列表中的终端设备发送以太广播帧;其中,用户列表包括接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识。In a first aspect, the present application provides a method for processing an Ethernet broadcast frame, where a user plane function network element obtains a user list and a forwarding rule from a session management function network element, and the user plane function network element receives an Ethernet broadcast frame, according to a forwarding rule, The broadcast mode sends an Ethernet broadcast frame to the terminal device in the user list. The user list includes an identifier of the at least one terminal device that accesses the local area network or an identifier of the at least one terminal device that accesses the first virtual local area network in the local area network.
在上述过程中,转发规则指示了对以太广播帧的处理方法,用户列表包括接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识,这样,在用户面功能网元接收到局域网中的服务器发送的以太广播帧之后,可以根据会话管理功能网元发送的转发规则,将以太广播帧发送至用户列表中的终端设备,使得用户面功能网元可以成功的转发接收到的以太广播帧,避免了以太广播帧的丢失,进而提高数据传输的可靠性。In the above process, the forwarding rule indicates a method for processing an Ethernet broadcast frame, and the user list includes an identifier of at least one terminal device that accesses the local area network or an identifier of at least one terminal device that accesses the first virtual local area network in the local area network, so that After receiving the Ethernet broadcast frame sent by the server in the local area network, the user plane function network element may send the Ethernet broadcast frame to the terminal device in the user list according to the forwarding rule sent by the session management function network element, so that the user plane function network element can Successfully forwarding the received Ethernet broadcast frame avoids the loss of the Ethernet broadcast frame, thereby improving the reliability of data transmission.
在一种可能的设计中,用户列表可以包括接入第一虚拟局域网的至少一个终端设备,以太广播帧包括第一虚拟局域网的标识。这样,在用户面功能网元接收到以太广播帧之后,可以根据以太广播帧中包括的虚拟局域网的标识,确定该以太广播帧对应的虚拟局域网。In one possible design, the user list may include access to at least one terminal device of the first virtual local area network, and the Ethernet broadcast frame includes an identification of the first virtual local area network. In this way, after the user plane function network element receives the Ethernet broadcast frame, the virtual local area network corresponding to the Ethernet broadcast frame may be determined according to the identifier of the virtual local area network included in the Ethernet broadcast frame.
在一种可能的设计中,用户面功能网元可以通过至少如下两种可行的实现方式以单播方式向用户列表中的终端设备发送以太广播帧:In a possible design, the user plane function network element may send the Ethernet broadcast frame to the terminal device in the user list in a unicast manner by using at least the following two possible implementation manners:
一种可行的实现方式:A feasible implementation:
假设接入局域网或者第一虚拟局域网的至少一个终端设备(用户列表中的至少一个终端设备)包括第一终端设备,则用户面功能网元可以通过如下可行的实现方式向第一终端设备发送以太广播帧:用户面功能网元根据转发规则,将以太广播帧的目的MAC地址设置为第一终端设备的MAC地址,并以单播方式向第一终端设备发送以太广播帧。It is assumed that at least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the first terminal device, and the user plane function network element can send the Ethernet to the first terminal device through the following feasible implementation manners. Broadcast frame: The user plane function network element sets the destination MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the forwarding rule, and sends the Ethernet broadcast frame to the first terminal device in a unicast manner.
需要说明的是,用户面功能网元向其它终端设备发送以太广播帧的方法,与向第一终端设备发送以太广播帧的方法相同,此处不再进行赘述。It should be noted that the method for the user plane function network element to send the Ethernet broadcast frame to other terminal devices is the same as the method for sending the Ethernet broadcast frame to the first terminal device, and details are not described herein.
在一种可能的设计中,用户面功能网元根据转发规则复制以太网广播帧,将复制的以太广播帧的MAC地址设置为第一终端设备的MAC地址,以生成第一以太单播帧,并向第一终端设备发送第一以太网单播帧。In a possible design, the user plane function network element copies the Ethernet broadcast frame according to the forwarding rule, and sets the MAC address of the copied Ethernet broadcast frame as the MAC address of the first terminal device to generate the first Ethernet unicast frame. And transmitting the first Ethernet unicast frame to the first terminal device.
在该种可行的实现方式中,通过修改复制的以太广播帧的目的MAC地址,可以得到第一以太单播帧,并向终端设备发送第一以太单播帧,以使用户面功能网元可以以单播的形式发送以太广播帧。In the feasible implementation manner, the first Ethernet unicast frame can be obtained by modifying the destination MAC address of the copied Ethernet broadcast frame, and the first Ethernet unicast frame is sent to the terminal device, so that the user plane function network element can be The Ethernet broadcast frame is sent in unicast form.
在一种可能的设计中,转发规则可以包括第一转发规则和第二转发规则,第一转发规则指示了以单播方式发送以太广播帧,第二转发规则为发送以太单播帧时使用的转发规则。这样,用户面功能网元可以根据第一转发规则,将以太广播帧的媒体访问控制MAC地址设置为第一终端设备的MAC地址,并根据第二转发规则,以单播方式向第一终端设备发送以太广播帧。In a possible design, the forwarding rule may include a first forwarding rule and a second forwarding rule, where the first forwarding rule indicates that the Ethernet broadcast frame is sent in a unicast manner, and the second forwarding rule is used when the Ethernet unicast frame is sent. Forwarding rules. In this way, the user plane function network element can set the media access control MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the first forwarding rule, and send the unicast mode to the first terminal device according to the second forwarding rule. Send an Ethernet broadcast frame.
在一种可能的设计中,转发规则中可以包括虚拟局域网的标识,这样,当不同的虚拟局域网可以对应不同的转发规则时,可以根据转发规则中包括的虚拟局域网的标识确定虚拟局域网对应的转发规则。例如,第一转发规则和第二转发规则包括第一虚拟局域网的标识;或者,第一转发规则包括第一虚拟局域网的标识。In a possible design, the forwarding rule may include the identifier of the virtual local area network, so that when different virtual local area networks can correspond to different forwarding rules, the forwarding of the virtual local area network may be determined according to the identifier of the virtual local area network included in the forwarding rule. rule. For example, the first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or the first forwarding rule includes an identifier of the first virtual local area network.
另一种可行的实现方式:Another possible implementation:
假设接入局域网或者第一虚拟局域网的至少一个终端设备(用户列表中的至少一个终端设备)包括第二终端设备,则用户面功能网元可以通过如下可行的实现方式向第一终端设备发送以太广播帧:用户面功能网元根据转发规则,确定第二以太单播帧,并通过第二以太单播帧向第二终端设备转发以太广播帧,其中,第二以太单播帧的目的地址为第二终端设备的MAC地址。It is assumed that at least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the second terminal device, and the user plane function network element can send the Ethernet to the first terminal device through the following feasible implementation manners. The broadcast frame: the user plane function network element determines the second Ethernet unicast frame according to the forwarding rule, and forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame, where the destination address of the second Ethernet unicast frame is The MAC address of the second terminal device.
需要说明的是,用户面功能网元向其它终端设备发送以太广播帧的方法,与向第二终端设备发送以太广播帧的方法相同,此处不再进行赘述。It should be noted that the method for the user plane function network element to send the Ethernet broadcast frame to other terminal devices is the same as the method for sending the Ethernet broadcast frame to the second terminal device, and details are not described herein.
在该种可行的实现方式中,第二以太单播帧可以承载以太广播帧,通过将以太广播帧承载在第二以太单播帧中,可以实现以单播的方式发送以太广播帧。In this possible implementation, the second Ethernet unicast frame may carry an Ethernet broadcast frame, and the Ethernet broadcast frame may be sent in a unicast manner by carrying the Ethernet broadcast frame in the second Ethernet unicast frame.
在一种可能的设计中,转发规则可以包括第三转发规则和第四转发规则,第三转发规则指示了在已经存在的、发往第二终端设备的以太单播帧中确定用于承载以太广播帧的第二以太单播帧,第四转发规则为发送以太单播帧时使用的转发规则。这样,用户面功能网元可以根据第三转发规则,确定第二以太单播帧,并根据第四转发规则,通过第二以太单播帧向第二终端设备转发以太广播帧。In a possible design, the forwarding rule may include a third forwarding rule and a fourth forwarding rule, where the third forwarding rule indicates that it is determined to be used to carry the Ethernet in the existing Ethernet unicast frame sent to the second terminal device. The second Ethernet unicast frame of the broadcast frame, and the fourth forwarding rule is a forwarding rule used when transmitting the Ethernet unicast frame. In this way, the user plane function network element may determine the second Ethernet unicast frame according to the third forwarding rule, and forward the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule.
在一种可能的设计中,转发规则中可以包括虚拟局域网的标识,这样,当不同的虚拟局域网可以对应不同的转发规则时,可以根据转发规则中包括的虚拟局域网的标识确定虚拟局域网对应的转发规则。例如,第三转发规则和第四转发规则包括第一虚拟局域网的标识;或者,第三转发规则包括第一虚拟局域网的标识。In a possible design, the forwarding rule may include the identifier of the virtual local area network, so that when different virtual local area networks can correspond to different forwarding rules, the forwarding of the virtual local area network may be determined according to the identifier of the virtual local area network included in the forwarding rule. rule. For example, the third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or the third forwarding rule includes an identifier of the first virtual local area network.
第二方面,本申请提供一种以太广播帧的处理方法,会话管理功能网元向用户面功能网元发送用户列表和转发规则,用户列表包括接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识,转发规则用于指示用户面功能网元以单播方式向用户列表中的终端设备发送接收到的以太广播帧。In a second aspect, the present application provides a method for processing an Ethernet broadcast frame. The session management function network element sends a user list and a forwarding rule to the user plane function network element, where the user list includes the identifier or access of at least one terminal device that accesses the local area network. An identifier of the at least one terminal device of the first virtual local area network in the local area network, where the forwarding rule is used to indicate that the user plane function network element sends the received Ethernet broadcast frame to the terminal device in the user list in a unicast manner.
在上述过程中,会话管理功能网元通过向用户面功能网元发送用户列表和转发规则,使得用户面功能网元接收在到局域网中的服务器发送的以太广播帧之后,可以根据会话管理功能网元发送的转发规则,将以太广播帧发送至用户列表中的终端设备,使得用户面功能网元可以成功的转发接收到的以太广播帧,避免了以太广播帧的丢失,进而提高数据传输的可靠性。In the above process, the session management function network element sends a user list and a forwarding rule to the user plane function network element, so that the user plane function network element can receive the Ethernet broadcast frame sent by the server in the local area network, and can be configured according to the session management function network. The forwarding rule sent by the element sends the Ethernet broadcast frame to the terminal device in the user list, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the reliability of the data transmission. Sex.
在一种可能的设计中,会话管理功能网元向用户面功能网元发送Sx消息,Sx消息中包括转发规则。In a possible design, the session management function network element sends an Sx message to the user plane function network element, and the Sx message includes a forwarding rule.
在一种可能的设计中,在会话管理功能网元向用户面功能网元发送用户列表之前,可以先生成用户列表。In a possible design, before the session management function network element sends the user list to the user plane function network element, it can be a user list.
在一种可能的设计中,当接入局域网或第一虚拟局域网的终端设备发生变化时,会话管理功能网元生成用户列表。这样,不但可以保证用户列表中包括的终端设备的标识的正确性,还可以避免频繁生成用户列表而导致的资源浪费。In a possible design, the session management function network element generates a user list when the terminal device accessing the local area network or the first virtual local area network changes. In this way, not only the correctness of the identifier of the terminal device included in the user list can be ensured, but also the waste of resources caused by frequently generating the user list can be avoided.
第三方面,本申请提供一种以太广播帧的处理装置,包括获取模块、接收模块和发送模块,其中,In a third aspect, the application provides an apparatus for processing an Ethernet broadcast frame, including an acquiring module, a receiving module, and a sending module, where
获取模块用于,从会话管理功能网元获取用户列表和转发规则,其中,用户列表包括接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识;The obtaining module is configured to obtain a user list and a forwarding rule from the session management function network element, where the user list includes an identifier of the at least one terminal device that accesses the local area network or an identifier of the at least one terminal device that accesses the first virtual local area network in the local area network;
接收模块用于,接收以太广播帧;The receiving module is configured to receive an Ethernet broadcast frame;
发送模块用于,根据转发规则,以单播方式向用户列表中的终端设备发送以太广播帧。The sending module is configured to send an Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule.
在一种可能的实施方式中,接入局域网或者第一虚拟局域网的至少一个终端设备包括第一终端设备,发送模块具体用于:In a possible implementation, the at least one terminal device that accesses the local area network or the first virtual local area network includes the first terminal device, and the sending module is specifically configured to:
根据转发规则,将以太广播帧的目的媒体访问控制MAC地址设置为第一终端设备的MAC地址;Setting the destination media access control MAC address of the Ethernet broadcast frame as the MAC address of the first terminal device according to the forwarding rule;
以单播方式向第一终端设备发送以太广播帧。The Ethernet broadcast frame is transmitted to the first terminal device in a unicast manner.
在另一种可能的实施方式中,转发规则包括第一转发规则和第二转发规则;发送 模块具体用于:In another possible implementation manner, the forwarding rule includes a first forwarding rule and a second forwarding rule; and the sending module is specifically configured to:
根据第一转发规则,将以太广播帧的目的MAC地址设置为第一终端设备的MAC地址;Setting the destination MAC address of the Ethernet broadcast frame as the MAC address of the first terminal device according to the first forwarding rule;
根据第二转发规则,以单播方式向第一终端设备发送以太广播帧。According to the second forwarding rule, the Ethernet broadcast frame is sent to the first terminal device in a unicast manner.
在另一种可能的实施方式中,发送模块具体用于:In another possible implementation manner, the sending module is specifically configured to:
根据转发规则复制以太网广播帧,将复制的以太广播帧的MAC地址设置为第一终端设备的MAC地址,以生成第一以太单播帧;Copying an Ethernet broadcast frame according to a forwarding rule, setting a MAC address of the copied Ethernet broadcast frame to a MAC address of the first terminal device, to generate a first Ethernet unicast frame;
向第一终端设备发送第一以太网单播帧。Sending a first Ethernet unicast frame to the first terminal device.
在另一种可能的实施方式中,接入局域网或者第一虚拟局域网的至少一个终端设备包括第二终端设备,发送模块具体用于:In another possible implementation, the at least one terminal device that accesses the local area network or the first virtual local area network includes the second terminal device, and the sending module is specifically configured to:
根据转发规则,确定第二以太单播帧,其中,第二以太单播帧的目的地址为第二终端设备的MAC地址;Determining, according to the forwarding rule, a second Ethernet unicast frame, where the destination address of the second Ethernet unicast frame is a MAC address of the second terminal device;
通过第二以太单播帧向第二终端设备转发以太广播帧。The Ethernet broadcast frame is forwarded to the second terminal device through the second Ethernet unicast frame.
在另一种可能的实施方式中,转发规则包括第三转发规则和第四转发规则;发送模块具体用于:In another possible implementation manner, the forwarding rule includes a third forwarding rule and a fourth forwarding rule; the sending module is specifically configured to:
根据第三转发规则,确定第二以太单播帧;Determining a second Ethernet unicast frame according to the third forwarding rule;
根据第四转发规则,通过第二以太单播帧向第二终端设备转发以太广播帧。And according to the fourth forwarding rule, the Ethernet broadcast frame is forwarded to the second terminal device by using the second Ethernet unicast frame.
在另一种可能的实施方式中,用户列表包括接入第一虚拟局域网的至少一个终端设备,以太广播帧包括第一虚拟局域网的标识。In another possible implementation manner, the user list includes at least one terminal device that accesses the first virtual local area network, and the Ethernet broadcast frame includes an identifier of the first virtual local area network.
在另一种可能的实施方式中,第一转发规则和第二转发规则包括第一虚拟局域网的标识;或者,第一转发规则包括第一虚拟局域网的标识。In another possible implementation manner, the first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or the first forwarding rule includes an identifier of the first virtual local area network.
在另一种可能的实施方式中,第三转发规则和第四转发规则包括第一虚拟局域网的标识;或者,第三转发规则包括第一虚拟局域网的标识。In another possible implementation manner, the third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or the third forwarding rule includes an identifier of the first virtual local area network.
在另一种可能的实施方式中,转发规则还可以包括第五转发规则和第六转发规则。例如,第五转发规则可以为多播转发规则,第五转发规则用于指示通过第六转发规则处理以太广播帧。第六转发规则可以为用户会话转发规则,该第六转发规则为发送以太广播帧时使用的转发规则,例如,第六转发规则可以为向用户列表中的终端设备发送以太广播帧。In another possible implementation manner, the forwarding rule may further include a fifth forwarding rule and a sixth forwarding rule. For example, the fifth forwarding rule may be a multicast forwarding rule, and the fifth forwarding rule is used to indicate that the Ethernet broadcast frame is processed by the sixth forwarding rule. The sixth forwarding rule may be a user session forwarding rule, where the sixth forwarding rule is a forwarding rule used when sending an Ethernet broadcast frame. For example, the sixth forwarding rule may be to send an Ethernet broadcast frame to a terminal device in the user list.
在该种情况下,在用户面功能网元接收到以太广播帧之后,可以根据第五转发规则查找到第六转发规则,并根据第六转发规则向用户列表中的终端设备发送以太广播帧。In this case, after the user plane function network element receives the Ethernet broadcast frame, the sixth forwarding rule may be found according to the fifth forwarding rule, and the Ethernet broadcast frame is sent to the terminal device in the user list according to the sixth forwarding rule.
本申请提供的以太广播帧的处理装置可以执行上述第一方面任一项所示的方法,其实现原理以及有益效果类似,此处不再进行赘述。The processing device of the Ethernet broadcast frame provided by the present application may perform the method shown in any one of the foregoing first aspects, and the implementation principle and the beneficial effects are similar, and details are not described herein.
第四方面,本申请提供一种以太广播帧的处理装置,包括发送模块,其中,In a fourth aspect, the application provides an apparatus for processing an Ethernet broadcast frame, including a sending module, where
发送模块用于,向用户面功能网元发送用户列表,用户列表包括接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识;The sending module is configured to send a user list to the user plane function network element, where the user list includes an identifier of the at least one terminal device that accesses the local area network or an identifier of the at least one terminal device that accesses the first virtual local area network in the local area network;
发送模块还用于,向用户面功能网元发送转发规则,转发规则用于指示用户面功能网元以单播方式向用户列表中的终端设备发送接收到的以太广播帧。The sending module is further configured to send a forwarding rule to the user plane function network element, where the forwarding rule is used to indicate that the user plane function network element sends the received Ethernet broadcast frame to the terminal device in the user list in a unicast manner.
在另一种可能的实施方式中,发送模块具体用于:In another possible implementation manner, the sending module is specifically configured to:
向用户面功能网元发送Sx消息,Sx消息中包括转发规则。Sending an Sx message to the user plane function network element, where the Sx message includes a forwarding rule.
在另一种可能的实施方式中,装置还包括生成模块,其中,生成模块用于,生成用户列表。In another possible implementation, the apparatus further includes a generating module, wherein the generating module is configured to generate a user list.
在另一种可能的实施方式中,生成模块具体用于:当接入局域网或第一虚拟局域网的终端设备发生变化时,生成用户列表。In another possible implementation manner, the generating module is specifically configured to generate a user list when the terminal device accessing the local area network or the first virtual local area network changes.
本申请提供的以太广播帧的处理装置可以执行上述第二方面任一项所示的方法,其实现原理以及有益效果类似,此处不再进行赘述。The processing device of the Ethernet broadcast frame provided by the present application may perform the method shown in any one of the foregoing second aspects, and the implementation principle and the beneficial effects are similar, and details are not described herein.
第五方面,本申请提供一种用户面功能网元,包括:处理器、存储器及通信总线,通信总线用于实现各元器件之间的连接,存储器用于存储程序指令,处理器用于读取存储器中的程序指令,并根据存储器中的程序指令执行上述第一方面任一项所述的方法。In a fifth aspect, the application provides a user plane function network element, including: a processor, a memory, and a communication bus, wherein the communication bus is used to implement connection between components, the memory is used to store program instructions, and the processor is configured to read The program instructions in the memory and the method of any of the above first aspects are performed in accordance with program instructions in the memory.
第六方面,本申请提供一种会话管理功能网元,包括:处理器、存储器及通信总线,通信总线用于实现各元器件之间的连接,存储器用于存储程序指令,处理器用于读取存储器中的程序指令,并根据存储器中的程序指令执行上述第二方面任一项所述的方法。In a sixth aspect, the application provides a session management function network element, including: a processor, a memory, and a communication bus, wherein the communication bus is used to implement a connection between components, the memory is used to store program instructions, and the processor is configured to read The program instructions in the memory, and the method of any of the above second aspects is performed in accordance with program instructions in the memory.
第七方面,本申请提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述第一方面任一项或者第二方面任一项所述方法。In a seventh aspect, the present application provides a computer readable storage medium comprising instructions, when executed on a computer, causing a computer to perform the method of any of the first aspect or the second aspect.
第八方面,本申请提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中。至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,执行上述第一方面任一项或者第二方面任一项所述方法。In an eighth aspect, the application provides a computer program product comprising computer executed instructions stored in a computer readable storage medium. The at least one processor can read the computer-executable instructions from a computer-readable storage medium, and perform the method of any one of the first aspect or the second aspect.
第九方面,本申请提供一种芯片系统,该芯片系统包括处理器,用于执行上述第一方面任一项或者第二方面任一项所述方法。例如,例如生成或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a ninth aspect, the present application provides a chip system, comprising a processor, for performing the method of any one of the first aspect or the second aspect. For example, data and/or information involved in the above methods are generated or processed. In one possible design, the chip system further includes a memory for storing necessary program instructions and data. The chip system can be composed of chips, and can also include chips and other discrete devices.
本申请提供的以太广播帧的处理方法、装置及设备,会话管理功能网元可以向用户面功能网元发送转发规则和用户列表,转发规则指示了对以太广播帧的处理方法,用户列表包括接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识,这样,在用户面功能网元接收到局域网中的服务器发送的以太广播帧之后,可以根据会话管理功能网元发送的转发规则,将以太广播帧发送至用户列表中的终端设备,使得用户面功能网元可以成功的转发接收到的以太广播帧,避免了以太广播帧的丢失,进而提高数据传输的可靠性。The method, device and device for processing an Ethernet broadcast frame provided by the present application, the session management function network element may send a forwarding rule and a user list to the user plane function network element, and the forwarding rule indicates a processing method for the Ethernet broadcast frame, and the user list includes The identifier of the at least one terminal device in the local area network or the identifier of the at least one terminal device in the first virtual local area network in the local area network, so that after the user plane function network element receives the Ethernet broadcast frame sent by the server in the local area network, the session may be based on the session. The forwarding rule sent by the management function network element sends the Ethernet broadcast frame to the terminal device in the user list, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the data. The reliability of the transmission.
附图说明DRAWINGS
图1为本申请提供的通信系统的架构图;1 is a block diagram of a communication system provided by the present application;
图2为本申请提供的以太广播帧的处理方法的流程示意图一;2 is a schematic flowchart 1 of a method for processing an Ethernet broadcast frame provided by the present application;
图3为本申请提供的以太广播帧的处理方法的流程示意图二;3 is a schematic flowchart 2 of a method for processing an Ethernet broadcast frame provided by the present application;
图4为本申请提供的以太广播帧的处理方法的流程示意图三;4 is a schematic flowchart 3 of a method for processing an Ethernet broadcast frame provided by the present application;
图5为本申请提供的一种以太广播帧的处理装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for processing an Ethernet broadcast frame according to the present application;
图6为本申请提供的另一种以太广播帧的处理装置的结构示意图一;6 is a schematic structural diagram 1 of another apparatus for processing an Ethernet broadcast frame provided by the present application;
图7为本申请提供的另一种以太广播帧的处理装置的结构示意图二;FIG. 7 is a schematic structural diagram 2 of another apparatus for processing an Ethernet broadcast frame provided by the present application; FIG.
图8为本申请提供的用户面功能网元的结构示意图;FIG. 8 is a schematic structural diagram of a user plane function network element provided by the present application;
图9为本申请提供的会话管理功能网元的结构示意图。FIG. 9 is a schematic structural diagram of a session management function network element provided by the present application.
具体实施方式Detailed ways
图1为本申请提供的通信系统的架构图。请参见图1,通信系统可包括终端设备(User Equipment,简称UE)101、接入网(Access Network,简称AN)节点102、UPF网元103、交换机104、服务器105、接入和移动性管理功能(Access and Mobility Management Function,简称AMF)网元106、会话管理功能(Session management Function,简称SMF)网元107。可选的,该通信系统还可以包括其他网元,例如,策略控制功能(Policy Control Function,简称PCF)网元108。FIG. 1 is a structural diagram of a communication system provided by the present application. Referring to FIG. 1, the communication system may include a User Equipment (UE) 101, an Access Network (AN) node 102, a UPF network element 103, a switch 104, a server 105, and access and mobility management. The access and Mobility Management Function (AMF) network element 106 and the Session Management Function (SMF) network element 107. Optionally, the communication system may further include other network elements, for example, a Policy Control Function (PCF) network element 108.
可选的,UE101可以为移动电话(或称为“蜂窝”电话)或具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置等。此外,UE也可称为移动台(mobile station,MS),终端(terminal),终端设备(terminal equipment),本申请并不在此限制。Alternatively, the UE 101 may be a mobile phone (or "cellular" phone) or a computer with a mobile terminal, for example, a portable, pocket, handheld, computer built-in or in-vehicle mobile device or the like. In addition, the UE may also be referred to as a mobile station (MS), a terminal, and a terminal equipment. The present application is not limited thereto.
AN节点102可以为向终端设备提供无线接入的设备,包括但不限于演进型Node B(Evolved Node B,简称eNB)、无线保真访问接入点(WIreless-FIdelity AccessPoint,简称WiFi AP)、全球微波互联接入基地站(Worldwide Interoperability for Microwave Access Base Station,简称WiMAX BS)、5G网络中的基站(例如,gNodeB,gNB)等。The AN node 102 may be a device that provides wireless access to the terminal device, including but not limited to an evolved Node B (eNB), a wireless fidelity access point (WLAN AP), A global interoperability for Microwave Access Base Station (WiMAX BS), a base station (eg, gNodeB, gNB) in a 5G network, and the like.
UPF网元103用于对报文进行处理,如对报文进行转发、统计等。UFP网元103还根据SMF的指示完成会话相关策略的执行。The UPF network element 103 is configured to process the packet, such as forwarding, statistics, and the like. The UFP network element 103 also completes the execution of the session related policy according to the indication of the SMF.
交换机104用于对报文进行转发,例如,交换机104可以将从UPF网元103接收到的报文转发至对应的服务器105,并将从服务器105接收到的报文转发至对应的UPF网元103。The switch 104 is configured to forward the packet. For example, the switch 104 can forward the packet received from the UPF network element 103 to the corresponding server 105, and forward the packet received from the server 105 to the corresponding UPF network element. 103.
服务器105用于向UE101提供数据服务。例如,服务器105可以为验证、授权和记账(Authentication-Authorization-Accounting,AAA)服务器。 Server 105 is used to provide data services to UE 101. For example, server 105 can be an Authentication-Authorization-Accounting (AAA) server.
其中,交换机104和服务器105为局域网内的网元。The switch 104 and the server 105 are network elements in the local area network.
AMF网元106用于转发SMF与UE之间交互的消息,还用于负责移动网络中的移动性管理,如用户位置更新、用户注册网络、用户切换等。The AMF network element 106 is used to forward messages between the SMF and the UE, and is also responsible for mobility management in the mobile network, such as user location update, user registration network, user handover, and the like.
SMF网元107主要负责移动网络中的会话管理,如会话建立、会话修改、会话释放等。The SMF network element 107 is mainly responsible for session management in the mobile network, such as session establishment, session modification, and session release.
PCF网元108用于制定终端设备的策略,例如服务质量(Quality of Service,简称QoS)策略、切片选择策略等。The PCF network element 108 is used to formulate policies of the terminal device, such as a quality of service (QoS) policy, a slice selection policy, and the like.
以上各网元既可以是在专用硬件上实现的网络元件,也可以是在专用硬件上运行的软件实例,或者是在适当平台上虚拟化功能的实例,例如,上述虚拟化平台可以为云平台。The above network elements can be either network components implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualization functions on appropriate platforms. For example, the virtualization platform can be a cloud platform. .
在本申请中,会话管理功能网元可以向用户面功能网元发送转发规则,转发规则中指示了对以太广播帧的处理方法,这样,在用户面功能网元接收到局域网中的服务器发送的以太广播帧之后,可以根据会话管理功能网元发送的转发规则,对以太广播帧进行处理,使得用户面功能网元可以成功的转发接收到的以太广播帧,避免了以太广播帧的丢失,进而提高数据传输的可靠性。In the present application, the session management function network element may send a forwarding rule to the user plane function network element, and the forwarding rule indicates a processing method for the Ethernet broadcast frame, so that the user plane function network element receives the server sent by the local area network. After the Ethernet broadcast frame, the Ethernet broadcast frame can be processed according to the forwarding rule sent by the session management function network element, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame. Improve the reliability of data transmission.
下面,通过具体实施例,对本申请所示的技术方案进行详细说明。需要说明的是,下面几个具体实施例可以相互结合,对于相同或相似的内容,在不同的实施例中不再进行重复说明。Hereinafter, the technical solutions shown in the present application will be described in detail through specific embodiments. It should be noted that the following specific embodiments may be combined with each other, and the same or similar content will not be repeatedly described in different embodiments.
图2为本申请提供的以太广播帧的处理方法的流程示意图一。请参见图2,该方法可以包括:FIG. 2 is a schematic flowchart 1 of a method for processing an Ethernet broadcast frame provided by the present application. Referring to FIG. 2, the method may include:
S201、会话管理功能网元向用户面功能网元发送用户列表。S201. The session management function network element sends a user list to the user plane function network element.
其中,用户列表包括接入局域网的至少一个终端设备或接入局域网中第一虚拟局域网的至少一个终端设备的标识。The user list includes at least one terminal device that accesses the local area network or an identifier of at least one terminal device that accesses the first virtual local area network in the local area network.
可选的,会话管理功能网元可以为图1所示的SMF网元107。Optionally, the session management function network element may be the SMF network element 107 shown in FIG. 1.
可选的,当局域网未划分虚拟局域网时,该局域网通常对应一张用户列表,该用户列表包括接入局域网的至少一个终端设备的标识。Optionally, when the local area network is not divided into a virtual local area network, the local area network generally corresponds to a user list, where the user list includes an identifier of at least one terminal device that accesses the local area network.
可选的,当局域网划分虚拟局域网时,每一个虚拟局域网对应一张用户列表,每一个虚拟局域网对应的用户列表包括接入该虚拟局域网的至少一个终端设备的标识。为了便于对不同虚拟局域网对应的用户列表进行区分,用户列表中还可以包括虚拟局域网的标识。Optionally, when the local area network divides the virtual local area network, each virtual local area network corresponds to a user list, and the user list corresponding to each virtual local area network includes an identifier of at least one terminal device that accesses the virtual local area network. In order to facilitate distinguishing between user lists corresponding to different virtual local area networks, the user list may further include an identifier of the virtual local area network.
需要说明的是,第一虚拟局域网为局域网中的任意一个虚拟局域网,以下实施例以虚拟局域网为第一虚拟局域网为例进行说明。It should be noted that the first virtual local area network is any one of the virtual local area networks in the local area network. The following embodiment uses the virtual local area network as the first virtual local area network as an example for description.
可选的,用户列表可以由会话管理功能网元生成。Optionally, the user list may be generated by the session management function network element.
可选的,会话管理功能网元可以在检测到接入局域网或者第一虚拟局域网的终端设备发生变化时生成对应的用户列表,或者,会话管理功能网元可以周期性的生成用户列表,本申请对会话管理功能网元生成用户列表的时刻及触发条件不作具体限定。Optionally, the session management function network element may generate a corresponding user list when the terminal device that accesses the local area network or the first virtual local area network changes, or the session management function network element may periodically generate a user list. The time and trigger condition for generating the user list by the session management function network element are not specifically limited.
可选的,会话管理功能网元可以通过检测建立到局域网的会话,来判断接入局域网的终端设备是否发生变化。例如,当会话管理功能网元检测到局域网中建立新的会话、或者释放旧的会话时,则可以确定接入局域网的终端设备发生变化。Optionally, the session management function network element can determine whether the terminal device accessing the local area network changes by detecting a session established to the local area network. For example, when the session management function network element detects that a new session is established in the local area network or releases the old session, it may be determined that the terminal device accessing the local area network changes.
可选的,会话管理功能网元可以通过检测建立到第一虚拟局域网的会话,来判断接入第一虚拟局域网的终端设备是否发生变化。例如,当会话管理功能网元检测到第一虚拟局域网中建立新的会话、或者释放旧的会话时,则可以确定接入第一虚拟局域网的终端设备发生变化。Optionally, the session management function network element may determine whether the terminal device accessing the first virtual local area network changes by detecting a session established to the first virtual local area network. For example, when the session management function network element detects that a new session is established in the first virtual local area network or releases the old session, it may be determined that the terminal device accessing the first virtual local area network changes.
S202、会话管理功能网元向用户面功能网元发送转发规则。S202. The session management function network element sends a forwarding rule to the user plane function network element.
其中,转发规则用于指示用户面功能网元以单播方式向用户列表中的终端设备发送接收到的以太广播帧。The forwarding rule is configured to instruct the user plane function network element to send the received Ethernet broadcast frame to the terminal device in the user list in a unicast manner.
可选的,可以在部署用户面功能网元时,会话管理功能网元向用户面功能网元发送该转发规则,或者,会话管理功能网元可以周期性的向用户面功能网元发送转发规则,或者,会话管理功能网元可以在转发规则发生变化时,向用户面功能网元发送转 发规则,或者,会话管理功能网元也可以在接收到用户面功能网元的请求消息之后,向用户面功能网元发送转发规则。当然,在实际应用过程中,会话管理功能网元可以根据实际需要向用户面功能网元发送转发规则,本申请对会话管理功能网元向用户面功能网元发送转发规则的时刻及触发条件不作具体限定。Optionally, the session management function network element sends the forwarding rule to the user plane function network element when the user plane function network element is deployed, or the session management function network element can periodically send the forwarding rule to the user plane function network element. Or, the session management function network element may send a forwarding rule to the user plane function network element when the forwarding rule changes, or the session management function network element may also send the request message to the user after receiving the user plane function network element request message. The surface function network element sends forwarding rules. Of course, in the actual application process, the session management function network element can send a forwarding rule to the user plane function network element according to actual needs. The time and trigger condition for the session management function network element to send the forwarding rule to the user plane function network element are not performed. Specifically limited.
可选的,会话管理功能网元可以在Sx会话中向用户面功能网元发送转发规则,例如,会话管理功能网元可以向用户面功能网元发送Sx消息,并在Sx消息中携带转发规则。Optionally, the session management function network element may send a forwarding rule to the user plane function network element in the Sx session. For example, the session management function network element may send an Sx message to the user plane function network element, and carry the forwarding rule in the Sx message. .
可选的,可以将Sx消息的包检测规则(Packet Detection Rule,PDR)中的传输执行规则(Forwarding Action Rule,FAR)设置为:以单播方式向用户列表中的终端设备发送接收到的以太广播帧。相应的,会话管理功能网元向用户面功能网元发送Sx消息时,可以通过该Sx消息向用户面功能网元发送转发规则。Optionally, the Forwarding Action Rule (FAR) in the Packet Detection Rule (PDR) of the Sx message may be set to: send the received Ethernet to the terminal device in the user list in a unicast manner. Broadcast frame. Correspondingly, when the session management function network element sends an Sx message to the user plane function network element, the forwarding rule can be sent to the user plane function network element by using the Sx message.
可选的,当局域网划分虚拟局域网时,不同虚拟局域网对应的转发规则可以相同,也可以不同。为了便于区分不同虚拟局域网的转发规则,在转发规则中可以携带虚拟局域网的标识。例如,第一虚拟局域网对应的转发规则中可以携带第一虚拟局域网的标识。Optionally, when the local area network divides the virtual local area network, the forwarding rules corresponding to different virtual local area networks may be the same or different. To facilitate distinguishing the forwarding rules of different virtual local area networks, the forwarding rules can carry the identifiers of the virtual local area networks. For example, the forwarding rule corresponding to the first virtual local area network may carry the identifier of the first virtual local area network.
S203、用户面功能网元接收以太广播帧。S203. The user plane function network element receives an Ethernet broadcast frame.
可选的,用户面功能网元接收到的以太广播帧可以为局域网或者第一虚拟局域网中的服务器发送的。Optionally, the Ethernet broadcast frame received by the user plane function network element may be sent by a local area network or a server in the first virtual local area network.
可选的,当局域网划分虚拟局域网时,以太广播帧中可以包括第一虚拟局域网的标识,以指示该以太帧由第一虚拟局域网中的服务器发送。Optionally, when the local area network divides the virtual local area network, the identifier of the first virtual local area network may be included in the Ethernet broadcast frame to indicate that the Ethernet frame is sent by the server in the first virtual local area network.
可选的,以太广播帧的目的媒体访问控制(Media Access Control,MAC)地址为FFFF-FFFF-FFFF。Optionally, the destination media access control (MAC) address of the Ethernet broadcast frame is FFFF-FFFF-FFFF.
S204、用户面功能网元根据转发规则,以单播方式向用户列表中的终端设备发送以太广播帧。S204. The user plane function network element sends an Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule.
当局域网未划分虚拟局域网时,则用户面功能网元根据转发规则,将接收到的以太广播帧发送给该局域网对应的用户列表中的终端设备。When the local area network is not divided into the virtual local area network, the user plane function network element sends the received Ethernet broadcast frame to the terminal device in the user list corresponding to the local area network according to the forwarding rule.
当局域网划分虚拟局域网时,以太广播帧中可以包括第一虚拟局域网的标识,以使用户面根据转发规则,将该以太广播帧发送给第一虚拟局域网对应的用户列表中的终端设备。其中,当以太广播帧中包括第一虚拟局域网的标识时,说明该以太广播帧是由该第一虚拟局域网中的服务器发送的。也就是说,步骤S204包括:用户面功能网元根据以太广播帧中的第一虚拟局域网的标识确定与第一虚拟局域网对应的用户列表,向该用户列表中的终端设备发送接收到的以太广播帧。When the local area network is divided into the virtual local area network, the identifier of the first virtual local area network may be included in the Ethernet broadcast frame, so that the user plane sends the Ethernet broadcast frame to the terminal device in the user list corresponding to the first virtual local area network according to the forwarding rule. Wherein, when the identifier of the first virtual local area network is included in the Ethernet broadcast frame, it is indicated that the Ethernet broadcast frame is sent by the server in the first virtual local area network. That is, step S204 includes: the user plane function network element determines a user list corresponding to the first virtual local area network according to the identifier of the first virtual local area network in the Ethernet broadcast frame, and sends the received Ethernet broadcast to the terminal device in the user list. frame.
可选的,用户面功能网元可以通过至少如下两种可行的实现方式,以单播方式向用户列表中的终端设备发送以太广播帧:Optionally, the user plane function network element may send the Ethernet broadcast frame to the terminal device in the user list in a unicast manner by using at least two possible implementation manners:
一种可行的实现方式:A feasible implementation:
假设接入局域网或者第一虚拟局域网的至少一个终端设备(用户列表中的至少一个终端设备)包括第一终端设备,下面,以向第一终端设备发送以太广播帧为例,对向用户列表中的终端设备发送以太广播帧的过程进行说明:It is assumed that at least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the first terminal device, and the following is an example of sending an Ethernet broadcast frame to the first terminal device, in the opposite user list. The process by which the terminal device sends an Ethernet broadcast frame is described:
用户面功能网元根据转发规则,将以太广播帧的目的MAC地址设置为第一终端 设备的MAC地址,并以单播方式向第一终端设备发送以太广播帧。The user plane function network element sets the destination MAC address of the Ethernet broadcast frame as the MAC address of the first terminal device according to the forwarding rule, and sends the Ethernet broadcast frame to the first terminal device in a unicast manner.
可选的,用户面功能网元根据转发规则复制以太网广播帧,将复制的以太广播帧的目的MAC地址设置为第一终端设备的MAC地址,以生成第一以太单播帧,并向第一终端设备发送第一以太网单播帧。Optionally, the user plane function network element copies the Ethernet broadcast frame according to the forwarding rule, and sets the destination MAC address of the copied Ethernet broadcast frame to the MAC address of the first terminal device to generate the first Ethernet unicast frame, and A terminal device transmits a first Ethernet unicast frame.
可选的,转发规则可以包括第一转发规则和第二转发规则。例如,第一转发规则可以为多播转发规则,该第一转发规则指示了以单播方式发送以太广播帧。第二转发规则可以为用户会话转发规则,该第二转发规则为发送以太单播帧时使用的转发规则。Optionally, the forwarding rule may include a first forwarding rule and a second forwarding rule. For example, the first forwarding rule may be a multicast forwarding rule, and the first forwarding rule indicates that the Ethernet broadcast frame is sent in unicast mode. The second forwarding rule may be a user session forwarding rule, and the second forwarding rule is a forwarding rule used when sending an Ethernet unicast frame.
可选的,在第一转发规则和第二转发规则中可以包括第一虚拟局域网的标识;或者,在第一转发规则中可以包括第一虚拟局域网的标识。Optionally, the identifier of the first virtual local area network may be included in the first forwarding rule and the second forwarding rule; or the identifier of the first virtual local area network may be included in the first forwarding rule.
可选的,用户面功能网元可以根据第一转发规则,将以太广播帧的目的MAC地址设置为第一终端设备的MAC地址;用户面功能网元可以根据第二转发规则,以单播方式向第一终端设备发送以太广播帧。Optionally, the user plane function network element may set the destination MAC address of the Ethernet broadcast frame as the MAC address of the first terminal device according to the first forwarding rule; the user plane function network element may be in a unicast manner according to the second forwarding rule. An Ethernet broadcast frame is transmitted to the first terminal device.
另一种可行的实现方式:Another possible implementation:
假设接入局域网或者第一虚拟局域网的至少一个终端设备(用户列表中的至少一个终端设备)包括第二终端设备,下面,以向第二终端设备发送以太广播帧为例,对向用户列表中的终端设备发送以太广播帧的过程进行说明:It is assumed that at least one terminal device (at least one terminal device in the user list) that is connected to the local area network or the first virtual local area network includes the second terminal device, and the following is an example of sending the Ethernet broadcast frame to the second terminal device as an example, in the opposite user list. The process by which the terminal device sends an Ethernet broadcast frame is described:
用户面功能网元根据转发规则,确定第二以太单播帧,并通过第二以太单播帧向第二终端设备转发以太广播帧,其中,第二以太单播帧的目的地址为第二终端设备的MAC地址;The user plane function network element determines the second Ethernet unicast frame according to the forwarding rule, and forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame, where the destination address of the second Ethernet unicast frame is the second terminal. MAC address of the device;
可选的,第二以太单播帧为已经存在的、需要发送至第二终端设备的以太单播帧。Optionally, the second Ethernet unicast frame is an existing Ethernet unicast frame that needs to be sent to the second terminal device.
可选的,用户面功能网元可以先确定第二终端设备对应的以太网会话,该以太网会话为第二终端设备与局域网之间的以太网会话、或者第二终端设备与第一虚拟局域网之间的以太网会话。用户面功能网元在该以太网会话中传输的单播帧中确定第二单播帧,例如,可以将通过该以太网会话传输的、目的MAC地址为第二终端设备的MAC地址的单播帧确定为第二以太单播帧。Optionally, the user plane function network element may first determine an Ethernet session corresponding to the second terminal device, where the Ethernet session is an Ethernet session between the second terminal device and the local area network, or the second terminal device and the first virtual local area network Between the Ethernet sessions. The user plane function network element determines the second unicast frame in the unicast frame transmitted in the Ethernet session. For example, the destination MAC address transmitted through the Ethernet session may be the unicast of the MAC address of the second terminal device. The frame is determined to be a second Ethernet unicast frame.
可选的,用户面功能网元可以在第二以太单播帧中添加以太广播帧中的数据,并向第二终端设备发送该第二以太单播帧,以实现通过第二以太单播帧向第二终端设备转发以太广播帧。Optionally, the user plane function network element may add data in the Ethernet broadcast frame in the second Ethernet unicast frame, and send the second Ethernet unicast frame to the second terminal device, to implement the second Ethernet unicast frame. The Ethernet broadcast frame is forwarded to the second terminal device.
可选的,转发规则可以包括第三转发规则和第四转发规则。例如,第三转发规则可以为多播转发规则,第三转发规则指示了在已经存在的、发往第二终端设备的以太单播帧中确定用于承载以太广播帧的第二以太单播帧。第四转发规则可以为用户会话转发规则,该第四转发规则为发送以太单播帧时使用的转发规则。Optionally, the forwarding rule may include a third forwarding rule and a fourth forwarding rule. For example, the third forwarding rule may be a multicast forwarding rule, and the third forwarding rule indicates that the second Ethernet unicast frame for carrying the Ethernet broadcast frame is determined in the existing Ethernet unicast frame sent to the second terminal device. . The fourth forwarding rule may be a user session forwarding rule, and the fourth forwarding rule is a forwarding rule used when sending an Ethernet unicast frame.
可选的,在第三转发规则和第四转发规则中可以包括第一虚拟局域网的标识;或者,在第三转发规则中可以包括第一虚拟局域网的标识。Optionally, the identifier of the first virtual local area network may be included in the third forwarding rule and the fourth forwarding rule; or the identifier of the first virtual local area network may be included in the third forwarding rule.
可选的,用户面功能网元可以根据第三转发规则,确定第二以太单播帧;用户面功能网元可以根据第四转发规则,通过第二以太单播帧向第二终端设备转发以太广播帧。Optionally, the user plane function network element may determine the second Ethernet unicast frame according to the third forwarding rule; the user plane function network element may forward the ether to the second terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule. Broadcast frame.
本申请提供的以太广播帧的处理方法,会话管理功能网元可以向用户面功能网元发送转发规则和用户列表,转发规则指示了对以太广播帧的处理方法,用户列表包括 接入局域网的至少一个终端设备的标识或接入局域网中第一虚拟局域网的至少一个终端设备的标识,这样,在用户面功能网元接收到局域网中的服务器发送的以太广播帧之后,可以根据会话管理功能网元发送的转发规则,将以太广播帧发送至用户列表中的终端设备,使得用户面功能网元可以成功的转发接收到的以太广播帧,避免了以太广播帧的丢失,进而提高数据传输的可靠性。The method for processing an Ethernet broadcast frame provided by the present application, the session management function network element may send a forwarding rule and a user list to the user plane function network element, and the forwarding rule indicates a processing method for the Ethernet broadcast frame, where the user list includes at least the access LAN. The identifier of a terminal device or the identifier of at least one terminal device of the first virtual local area network in the local area network, so that after the user plane function network element receives the Ethernet broadcast frame sent by the server in the local area network, the network element can be configured according to the session management function. The sending forwarding rule sends the Ethernet broadcast frame to the terminal device in the user list, so that the user plane function network element can successfully forward the received Ethernet broadcast frame, thereby avoiding the loss of the Ethernet broadcast frame, thereby improving the reliability of the data transmission. .
在上述任意一个实施例的基础上,当转发规则不同时,用户面功能网元对以太广播帧的处理方式也不同。下面将通过图3-图4所示的实施例,介绍在两种不同转发规则下,用户面功能网元对以太广播帧的处理过程。需要说明的是,在图3-图4所示的实施例中,以局域网中划分了虚拟局域网、且用户面功能网元对第一虚拟局域网中的以太广播帧进行处理的过程为例进行说明。On the basis of any of the foregoing embodiments, when the forwarding rules are different, the user plane function network element processes the Ethernet broadcast frame differently. The process of the user plane function network element to the Ethernet broadcast frame under the two different forwarding rules will be described below through the embodiments shown in FIG. 3 to FIG. 4. It should be noted that, in the embodiment shown in FIG. 3 to FIG. 4, a process in which a virtual local area network is divided in a local area network and the user plane function network element processes an Ethernet broadcast frame in the first virtual local area network is taken as an example for description. .
图3为本申请提供的以太广播帧的处理方法的流程示意图二。在图3所示的实施例中,转发规则包括第一转发规则和第二转发规则,会话管理功能网元为SMF网元,用户面功能网元为UPF网元。请参见图3,该方法可以包括:FIG. 3 is a schematic flowchart 2 of a method for processing an Ethernet broadcast frame provided by the present application. In the embodiment shown in FIG. 3, the forwarding rule includes a first forwarding rule and a second forwarding rule. The session management function network element is an SMF network element, and the user plane function network element is a UPF network element. Referring to FIG. 3, the method may include:
S301、SMF网元检测接入第一虚拟局域网的终端设备发生变化时,生成第一虚拟局域网对应的用户列表。S301: The SMF network element detects, when the terminal device accessing the first virtual local area network changes, the user list corresponding to the first virtual local area network.
可选的,第一虚拟局域网对应的用户列表中包括接入第一虚拟局域网的终端设备的标识。此外,第一虚拟局域网对应的用户列表中还可以包括第一虚拟局域网的标识。Optionally, the user list corresponding to the first virtual local area network includes an identifier of the terminal device that accesses the first virtual local area network. In addition, the user list corresponding to the first virtual local area network may further include an identifier of the first virtual local area network.
需要说明的是,S301只是以示例的形式示意SMF网元生成第一虚拟局域网对应的用户列表的条件,当然,SMF网元还可以在其它条件下生成第一虚拟局域网对应的用户列表,本申请对此不作具体限定。It should be noted that the S301 is only used as an example to indicate the condition that the SMF network element generates the user list corresponding to the first virtual local area network. Of course, the SMF network element can also generate the user list corresponding to the first virtual local area network under other conditions. This is not specifically limited.
可选的,当SMF网元在当前时刻之前存储有第一虚拟局域网对应的用户列表,则SMF在检测到接入第一虚拟局域网的终端设备发生变化时,可以对已存储的、第一虚拟局域网对应的用户列表进行更新。Optionally, when the SMF network element stores the user list corresponding to the first virtual local area network before the current time, the SMF may detect the stored first virtual device when the terminal device that accesses the first virtual local area network changes. The user list corresponding to the local area network is updated.
S302、SMF网元向UPF网元发送第一虚拟局域网对应的用户列表。S302. The SMF network element sends the user list corresponding to the first virtual local area network to the UPF network element.
可选的,在UPF网元接收到第一虚拟局域网对应的用户列表之后,若UPF网元中未存储第一虚拟局域网对应的用户列表,则UPF网元可以存储接收到的用户列表;若UPF网元中已存储有第一虚拟局域网对应的用户列表,则UPF网元可以根据接收到的用户列表,对已存储的、第一虚拟局域网对应的用户列表进行更新。Optionally, after the UPF network element receives the user list corresponding to the first virtual local area network, if the user list corresponding to the first virtual local area network is not stored in the UPF network element, the UPF network element may store the received user list; The user list corresponding to the first virtual local area network is stored in the network element, and the UPF network element can update the stored user list corresponding to the first virtual local area network according to the received user list.
S303、SMF网元向UPF网元发送第一虚拟局域网对应的第一转发规则和第二转发规则。S303. The SMF network element sends the first forwarding rule and the second forwarding rule corresponding to the first virtual local area network to the UPF network element.
可选的,当不同虚拟局域网对应的转发规则不同时,则第一转发规则和第二转发规则中可以包括第一虚拟局域网的标识,或者,第一转发规则中可以包括第一虚拟局域网的标识。Optionally, when the forwarding rules of the different virtual local area networks are different, the first forwarding rule and the second forwarding rule may include the identifier of the first virtual local area network, or the first forwarding rule may include the identifier of the first virtual local area network. .
需要说明的是,第一虚拟局域网对应的转发规则还可以为其它转发规则,图3所示的实施例只是以第一虚拟局域网对应的转发规则包括第一转发规则和第二转发规则为例进行说明,并非对第一虚拟局域网对应的转发规则的限定。It should be noted that the forwarding rule corresponding to the first virtual local area network may be another forwarding rule. The embodiment shown in FIG. 3 only takes the forwarding rule corresponding to the first virtual local area network as the first forwarding rule and the second forwarding rule as an example. It is not a limitation of the forwarding rule corresponding to the first virtual local area network.
需要说明的是,S303的执行过程可以参见S202,本申请此处不再进行赘述。It should be noted that the implementation process of S303 can be referred to as S202, and details are not described herein again.
需要说明的是,S301-S302、与S303之间没有先后执行顺序,S301-S302、与S303可以顺序执行,也可以同时执行。It should be noted that there is no sequential execution sequence between S301-S302 and S303, and S301-S302 and S303 may be executed sequentially or simultaneously.
S304、第一虚拟局域网中的服务器向UPF网元发送以太广播帧。S304. The server in the first virtual local area network sends an Ethernet broadcast frame to the UPF network element.
可选的,以太广播帧中包括第一虚拟局域网的标识。Optionally, the identifier of the first virtual local area network is included in the Ethernet broadcast frame.
需要说明的是,S304的执行过程可以参见S203,本申请此处不再进行赘述。It should be noted that the implementation process of S304 can be referred to S203, and details are not described herein again.
S305、UPF网元根据第一转发规则,复制以太广播帧,并将复制的以太广播帧的目的MAC地址设置为用户列表中的终端设备的MAC地址,以生成多个第一以太单播帧。S305. The UPF network element copies the Ethernet broadcast frame according to the first forwarding rule, and sets the destination MAC address of the copied Ethernet broadcast frame to the MAC address of the terminal device in the user list to generate multiple first Ethernet unicast frames.
可选的,UPF网元可以根据用户列表中终端设备的个数,复制以太广播帧,得到多个复制的以太广播帧,并分别将复制的以太广播帧的目的MAC地址设置为用户列表中的终端设备的MAC地址。Optionally, the UPF network element may copy the Ethernet broadcast frame according to the number of the terminal devices in the user list, obtain multiple duplicate Ethernet broadcast frames, and set the destination MAC address of the copied Ethernet broadcast frame to the user list respectively. The MAC address of the terminal device.
可选的,在用户列表中还可以包括终端设备的MAC地址,以使UPF网元可以在用户列表中获取终端设备的MAC地址。Optionally, the MAC address of the terminal device may also be included in the user list, so that the UPF network element can obtain the MAC address of the terminal device in the user list.
例如,假设用户列表中包括100个终端设备,则UPF网元可以将以太广播帧复制100份,得到100个复制的以太广播帧,并分别将该100个复制的以太广播帧的目的MAC地址设置为该100个终端设备的MAC地址,得到100个以太单播帧。For example, if the user list includes 100 terminal devices, the UPF network element can copy 100 Ethernet broadcast frames to obtain 100 replicated Ethernet broadcast frames, and set the destination MAC addresses of the 100 replicated Ethernet broadcast frames respectively. For the MAC address of the 100 terminal devices, 100 Ethernet unicast frames are obtained.
S306、UPF网元根据第二转发规则,分别向用户列表中的终端设备发送对应的第一以太单播帧。S306. The UPF network element sends a corresponding first Ethernet unicast frame to the terminal device in the user list according to the second forwarding rule.
可选的,UPF网元可以在用户列表中每一个终端设备对应的以太网会话中,向终端设备发送对应的第一以太单播帧。Optionally, the UPF network element may send the corresponding first Ethernet unicast frame to the terminal device in an Ethernet session corresponding to each terminal device in the user list.
例如,假设用户列表中的终端设备1对应的第一以太单播帧为以太单播帧1,则UPF网元向终端设备1发送以太单播帧1。假设用户列表中的终端设备2对应的第一以太单播帧为以太单播帧2,则UPF网元向终端设备2发送以太单播帧2。For example, if the first Ethernet unicast frame corresponding to the terminal device 1 in the user list is the Ethernet unicast frame 1, the UPF network element sends the Ethernet unicast frame 1 to the terminal device 1. Assuming that the first Ethernet unicast frame corresponding to the terminal device 2 in the user list is the Ethernet unicast frame 2, the UPF network element sends the Ethernet unicast frame 2 to the terminal device 2.
在图3所示的实施例中,SMF网元可以向UPF网元发送第一转发规则、第二转发规则和第一虚拟局域网对应的用户列表,这样,在UPF网元接收到第一虚拟局域网中的服务器发送的以太广播帧之后,可以根据第一转发规则,对以太广播帧进行处理得到多个第一以太单播帧,UPF网元还可以根据第二转发规则,向用户列表中的终端设备发送得到的第一以太单播帧,使得UPF网元可以成功的转发接收到的以太广播帧。In the embodiment shown in FIG. 3, the SMF network element may send the first forwarding rule, the second forwarding rule, and the user list corresponding to the first virtual local area network to the UPF network element, so that the first virtual local area network is received by the UPF network element. After the Ethernet broadcast frame is sent by the server, the Ethernet broadcast frame may be processed according to the first forwarding rule to obtain a plurality of first Ethernet unicast frames, and the UPF network element may also be used according to the second forwarding rule to the terminal in the user list. The device sends the obtained first Ethernet unicast frame, so that the UPF network element can successfully forward the received Ethernet broadcast frame.
图4为本申请提供的以太广播帧的处理方法的流程示意图三。在图4所示的实施例中,转发规则包括第三转发规则和第四转发规则,会话管理功能网元为SMF网元,用户面功能网元为UPF网元。请参见图4,该方法可以包括:FIG. 4 is a schematic flowchart 3 of a method for processing an Ethernet broadcast frame provided by the present application. In the embodiment shown in FIG. 4, the forwarding rule includes a third forwarding rule and a fourth forwarding rule. The session management function network element is an SMF network element, and the user plane function network element is a UPF network element. Referring to FIG. 4, the method may include:
S401、SMF网元检测接入第一虚拟局域网的终端设备发生变化时,生成第一虚拟局域网对应的用户列表。S401: The SMF network element detects a user list corresponding to the first virtual local area network when the terminal device accessing the first virtual local area network changes.
S402、SMF网元向UPF网元发送第一虚拟局域网对应的用户列表。S402. The SMF network element sends the user list corresponding to the first virtual local area network to the UPF network element.
需要说明的是,S401-S402的执行过程可以参见S301-S302,此处不再进行赘述。It should be noted that the execution process of S401-S402 can be referred to S301-S302, and details are not described herein.
S403、SMF网元向UPF网元发送第一虚拟局域网对应的第三转发规则和第四转发规则。S403. The SMF network element sends a third forwarding rule and a fourth forwarding rule corresponding to the first virtual local area network to the UPF network element.
可选的,当不同虚拟局域网对应的转发规则不同时,则第三转发规则和第四转发规则中可以包括第一虚拟局域网的标识,或者,第三转发规则中可以包括第一虚拟局域网的标识。Optionally, when the forwarding rules of the different virtual local area networks are different, the third forwarding rule and the fourth forwarding rule may include the identifier of the first virtual local area network, or the third forwarding rule may include the identifier of the first virtual local area network. .
需要说明的是,第一虚拟局域网对应的转发规则还可以为其它转发规则,图4所 示的实施例只是以第一虚拟局域网对应的转发规则包括第三转发规则和第四转发规则为例进行说明,并非对第一虚拟局域网对应的转发规则的限定。It should be noted that the forwarding rule corresponding to the first virtual local area network may be another forwarding rule. The embodiment shown in FIG. 4 only takes the forwarding rule corresponding to the first virtual local area network as the third forwarding rule and the fourth forwarding rule as an example. It is not a limitation of the forwarding rule corresponding to the first virtual local area network.
需要说明的是,S403的执行过程可以参见S202,本申请此处不再进行赘述。It should be noted that the implementation process of S403 can be referred to as S202, and details are not described herein again.
需要说明的是,S401-S402、与S403之间没有先后执行顺序,S401-S402、与S403可以顺序执行,也可以同时执行。It should be noted that there is no sequential execution sequence between S401-S402 and S403, and S401-S402 and S403 may be executed sequentially or simultaneously.
S404、第一虚拟局域网中的服务器向UPF网元发送以太广播帧。S404. The server in the first virtual local area network sends an Ethernet broadcast frame to the UPF network element.
需要说明的是,S404的执行过程可以参见S304,本申请此处不再进行赘述。It should be noted that the execution process of S404 can be referred to in S304, and details are not described herein again.
S405、UPF网元根据第三转发规则,确定用户列表中每一个终端设备对应的第二以太单播帧。S405. The UPF network element determines, according to the third forwarding rule, a second Ethernet unicast frame corresponding to each terminal device in the user list.
可选的,UPF网元可以分别确定用户列表中每一个终端设备对应的第二以太单播帧,以使每一个终端设备对应一个第二以太单播帧。Optionally, the UPF network element can determine a second Ethernet unicast frame corresponding to each terminal device in the user list, so that each terminal device corresponds to a second Ethernet unicast frame.
例如,假设用户列表中包括100个终端设备,则UPF网元可以分别确定该100个终端设备对应的第二以太单播帧,以得到100个第二以太单播帧,每一个终端设备与一个第二以太单播帧对应。For example, if the user list includes 100 terminal devices, the UPF network element can respectively determine the second Ethernet unicast frame corresponding to the 100 terminal devices, to obtain 100 second Ethernet unicast frames, each of the terminal devices and one The second Ethernet unicast frame corresponds.
需要说明的是,可以参见S204的执行过程,确定每一个终端设备对应的第二以太单播帧,此处不再进行赘述。It should be noted that the second Ethernet unicast frame corresponding to each terminal device may be determined by referring to the execution process of S204, and details are not described herein.
S406、UPF网元根据第四转发规则,通过第二以太单播帧向对应的终端设备转发以太广播帧。S406. The UPF network element forwards the Ethernet broadcast frame to the corresponding terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule.
例如,假设用户列表中的终端设备1对应的第二以太单播帧为以太单播帧1,则UPF网元通过以太单播帧1向终端设备1转发以太广播帧。假设用户列表中的终端设备2对应的第二以太单播帧为以太单播帧2,则UPF网元通过以太单播帧2向终端设备2转发以太广播帧。For example, assuming that the second Ethernet unicast frame corresponding to the terminal device 1 in the user list is the Ethernet unicast frame 1, the UPF network element forwards the Ethernet broadcast frame to the terminal device 1 through the Ethernet unicast frame 1. Assuming that the second Ethernet unicast frame corresponding to the terminal device 2 in the user list is the Ethernet unicast frame 2, the UPF network element forwards the Ethernet broadcast frame to the terminal device 2 through the Ethernet unicast frame 2.
需要说明的是,可以参见S204的执行过程,通过第二以太单播帧向对应的终端设备转发以太广播帧。It should be noted that, referring to the execution process of S204, the Ethernet broadcast frame is forwarded to the corresponding terminal device by using the second Ethernet unicast frame.
在图4所示的实施例中,SMF网元可以向UPF网元发送第三转发规则、第四转发规则和第一虚拟局域网对应的用户列表,这样,在UPF网元接收到第一虚拟局域网中的服务器发送的以太广播帧之后,可以根据第三转发规则,确定得到用户列表中每一个终端设备对应的第二以太单播帧,UPF网元还可以根据第二转发规则,向用户列表中的终端设备发送得到的第二以太单播帧,使得UPF网元可以成功的转发接收到的以太广播帧。In the embodiment shown in FIG. 4, the SMF network element may send a third forwarding rule, a fourth forwarding rule, and a user list corresponding to the first virtual local area network to the UPF network element, so that the first virtual local area network is received by the UPF network element. After the Ethernet broadcast frame sent by the server, the second Ethernet unicast frame corresponding to each terminal device in the user list may be determined according to the third forwarding rule, and the UPF network element may also be in the user list according to the second forwarding rule. The terminal device sends the obtained second Ethernet unicast frame, so that the UPF network element can successfully forward the received Ethernet broadcast frame.
需要说明的是,转发规则还可以包括第五转发规则和第六转发规则。例如,第五转发规则可以为多播转发规则,第五转发规则用于指示通过第六转发规则处理以太广播帧。第六转发规则可以为用户会话转发规则,该第六转发规则为发送以太广播帧时使用的转发规则,例如,第六转发规则可以为向用户列表中的终端设备发送以太广播帧。It should be noted that the forwarding rule may further include a fifth forwarding rule and a sixth forwarding rule. For example, the fifth forwarding rule may be a multicast forwarding rule, and the fifth forwarding rule is used to indicate that the Ethernet broadcast frame is processed by the sixth forwarding rule. The sixth forwarding rule may be a user session forwarding rule, where the sixth forwarding rule is a forwarding rule used when sending an Ethernet broadcast frame. For example, the sixth forwarding rule may be to send an Ethernet broadcast frame to a terminal device in the user list.
在该种情况下,在用户面功能网元接收到以太广播帧之后,可以根据第五转发规则查找到第六转发规则,并根据第六转发规则向用户列表中的终端设备发送以太广播帧。In this case, after the user plane function network element receives the Ethernet broadcast frame, the sixth forwarding rule may be found according to the fifth forwarding rule, and the Ethernet broadcast frame is sent to the terminal device in the user list according to the sixth forwarding rule.
图5为本申请提供的一种以太广播帧的处理装置的结构示意图。请参见图5,该 装置可以包括获取模块11、接收模块12和发送模块13,其中,FIG. 5 is a schematic structural diagram of an apparatus for processing an Ethernet broadcast frame provided by the present application. Referring to FIG. 5, the apparatus may include an obtaining module 11, a receiving module 12, and a sending module 13, wherein
所述获取模块11用于,从会话管理功能网元获取用户列表和转发规则,其中,所述用户列表包括接入局域网的至少一个终端设备的标识或接入所述局域网中第一虚拟局域网的至少一个终端设备的标识;The obtaining module 11 is configured to obtain a user list and a forwarding rule from a session management function network element, where the user list includes an identifier of at least one terminal device that accesses a local area network or accesses a first virtual local area network in the local area network. At least one identification of the terminal device;
所述接收模块12用于,接收以太广播帧;The receiving module 12 is configured to receive an Ethernet broadcast frame.
所述发送模块13用于,根据所述转发规则,以单播方式向所述用户列表中的终端设备发送所述以太广播帧。The sending module 13 is configured to send the Ethernet broadcast frame to a terminal device in the user list in a unicast manner according to the forwarding rule.
本申请提供的以太广播帧的处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
在一种可能的实施方式中,接入所述局域网或者所述第一虚拟局域网的至少一个终端设备包括第一终端设备,所述发送模块13具体用于:In a possible implementation, the at least one terminal device that accesses the local area network or the first virtual local area network includes a first terminal device, and the sending module 13 is specifically configured to:
根据所述转发规则,将所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址;Determining, according to the forwarding rule, a destination MAC address of the Ethernet broadcast frame as a MAC address of the first terminal device;
以单播方式向所述第一终端设备发送所述以太广播帧。Transmitting the Ethernet broadcast frame to the first terminal device in a unicast manner.
在另一种可能的实施方式中,所述转发规则包括第一转发规则和第二转发规则;所述发送模块13具体用于:In another possible implementation, the forwarding rule includes a first forwarding rule and a second forwarding rule. The sending module 13 is specifically configured to:
根据所述第一转发规则,将所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址;Determining, according to the first forwarding rule, a destination MAC address of the Ethernet broadcast frame as a MAC address of the first terminal device;
根据所述第二转发规则,以单播方式向所述第一终端设备发送所述以太广播帧。And transmitting, according to the second forwarding rule, the Ethernet broadcast frame to the first terminal device in a unicast manner.
在另一种可能的实施方式中,所述发送模块13具体用于:In another possible implementation manner, the sending module 13 is specifically configured to:
根据所述转发规则复制所述以太网广播帧,将复制的所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址,以生成第一以太单播帧;Copying the Ethernet broadcast frame according to the forwarding rule, and setting a destination MAC address of the copied Ethernet broadcast frame as a MAC address of the first terminal device to generate a first Ethernet unicast frame;
向所述第一终端设备发送所述第一以太网单播帧。Sending the first Ethernet unicast frame to the first terminal device.
在另一种可能的实施方式中,接入所述局域网或者所述第一虚拟局域网的至少一个终端设备包括第二终端设备,所述发送模块13具体用于:In another possible implementation, the accessing the local area network or the at least one terminal device of the first virtual local area network includes a second terminal device, where the sending module 13 is specifically configured to:
根据所述转发规则,确定第二以太单播帧,其中,所述第二以太单播帧的目的地址为所述第二终端设备的MAC地址;Determining, according to the forwarding rule, a second Ethernet unicast frame, where a destination address of the second Ethernet unicast frame is a MAC address of the second terminal device;
通过所述第二以太单播帧向所述第二终端设备转发所述以太广播帧。And forwarding, by the second Ethernet unicast frame, the Ethernet broadcast frame to the second terminal device.
在另一种可能的实施方式中,所述转发规则包括第三转发规则和第四转发规则;所述发送模块13具体用于:In another possible implementation, the forwarding rule includes a third forwarding rule and a fourth forwarding rule. The sending module 13 is specifically configured to:
根据所述第三转发规则,确定所述第二以太单播帧;Determining, according to the third forwarding rule, the second Ethernet unicast frame;
根据所述第四转发规则,通过所述第二以太单播帧向所述第二终端设备转发所述以太广播帧。And transmitting, by the second Ethernet unicast frame, the Ethernet broadcast frame to the second terminal device according to the fourth forwarding rule.
在另一种可能的实施方式中,所述用户列表包括接入所述第一虚拟局域网的至少一个终端设备,所述以太广播帧包括所述第一虚拟局域网的标识。In another possible implementation manner, the user list includes at least one terminal device that accesses the first virtual local area network, and the Ethernet broadcast frame includes an identifier of the first virtual local area network.
在另一种可能的实施方式中,所述第一转发规则和所述第二转发规则包括所述第一虚拟局域网的标识;或者,所述第一转发规则包括所述第一虚拟局域网的标识。In another possible implementation manner, the first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or the first forwarding rule includes an identifier of the first virtual local area network. .
在另一种可能的实施方式中,所述第三转发规则和所述第四转发规则包括所述第一虚拟局域网的标识;或者,所述第三转发规则包括所述第一虚拟局域网的标识。In another possible implementation manner, the third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or the third forwarding rule includes an identifier of the first virtual local area network. .
本申请提供的以太广播帧的处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
在图5所示的实施例中,可选的,获取模块11可以执行上述图2实施例中的S201-S202、图3所示实施例中的S302-S303、以及图4所示实施例中的S402-S403,具体执行过程及对应的有益效果可以参见方法实施例中的描述,此处不再进行赘述。In the embodiment shown in FIG. 5, optionally, the obtaining module 11 can execute S201-S202 in the foregoing embodiment of FIG. 2, S302-S303 in the embodiment shown in FIG. 3, and the embodiment shown in FIG. S402-S403, the specific implementation process and the corresponding beneficial effects can be referred to in the description of the method embodiment, and details are not described herein.
可选的,接收模块12可以执行上述图2实施例中的S203、图3所示实施例中的S304、以及图4所示实施例中的S404,具体执行过程及对应的有益效果可以参见方法实施例中的描述,此处不再进行赘述。Optionally, the receiving module 12 can perform S203 in the foregoing embodiment of FIG. 2, S304 in the embodiment shown in FIG. 3, and S404 in the embodiment shown in FIG. 4, and the specific execution process and corresponding beneficial effects can be referred to the method. The description in the embodiments is not described herein again.
可选的,发送模块13可以执行上述图2实施例中的S204、图3所示实施例中的S305-S306、以及图4所示实施例中的S405-S406,具体执行过程及对应的有益效果可以参见方法实施例中的描述,此处不再进行赘述。Optionally, the sending module 13 can perform S204 in the foregoing embodiment of FIG. 2, S305-S306 in the embodiment shown in FIG. 3, and S405-S406 in the embodiment shown in FIG. 4, and the specific execution process and corresponding benefits are beneficial. For the effect, refer to the description in the method embodiment, and details are not described herein.
图6为本申请提供的另一种以太广播帧的处理装置的结构示意图一。请参见图6,该装置可以包括发送模块21,其中,FIG. 6 is a schematic structural diagram 1 of another apparatus for processing an Ethernet broadcast frame provided by the present application. Referring to FIG. 6, the device may include a sending module 21, where
所述发送模块21用于,向用户面功能网元发送用户列表,所述用户列表包括接入局域网的至少一个终端设备的标识或接入所述局域网中第一虚拟局域网的至少一个终端设备的标识;The sending module 21 is configured to send a user list to the user plane function network element, where the user list includes an identifier of at least one terminal device that accesses the local area network or accesses at least one terminal device of the first virtual local area network in the local area network. Identification
所述发送模块21还用于,向所述用户面功能网元发送转发规则,所述转发规则用于指示所述用户面功能网元以单播方式向所述用户列表中的终端设备发送接收到的以太广播帧。The sending module 21 is further configured to send a forwarding rule to the user plane function network element, where the forwarding rule is used to indicate that the user plane function network element sends and receives to the terminal device in the user list in a unicast manner. To the Ethernet broadcast frame.
本申请提供的以太广播帧的处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
在一种可能的实施方式中,所述发送模块21具体用于:In a possible implementation, the sending module 21 is specifically configured to:
向所述用户面功能网元发送Sx消息,所述Sx消息中包括所述转发规则。Sending an Sx message to the user plane function network element, where the Sx message includes the forwarding rule.
图7为本申请提供的另一种以太广播帧的处理装置的结构示意图二。在图6所示实施例的基础上,请参见图7,所述装置还包括生成模块22,其中,FIG. 7 is a schematic structural diagram 2 of another apparatus for processing an Ethernet broadcast frame provided by the present application. On the basis of the embodiment shown in FIG. 6, referring to FIG. 7, the device further includes a generating module 22, wherein
所述生成模块22用于,生成所述用户列表。The generating module 22 is configured to generate the user list.
在另一种可能的实施方式中,所述生成模块22具体用于:In another possible implementation manner, the generating module 22 is specifically configured to:
当接入所述局域网或所述第一虚拟局域网的终端设备发生变化时,生成所述用户列表。The user list is generated when a terminal device accessing the local area network or the first virtual local area network changes.
本申请提供的以太广播帧的处理装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。The processing device of the Ethernet broadcast frame provided by the present application may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein.
在图6-图7所示的实施例中,可选的,发送模块21可以执行上述图2实施例中的S201-S202、图3所示实施例中的S302-S303、以及图4所示实施例中的S402-S403,具体执行过程及对应的有益效果可以参见方法实施例中的描述,此处不再进行赘述。In the embodiment shown in FIG. 6 to FIG. 7 , optionally, the sending module 21 can perform S201-S202 in the foregoing embodiment of FIG. 2, S302-S303 in the embodiment shown in FIG. 3, and FIG. For the specific implementation process and the corresponding beneficial effects of the S402-S403 in the embodiment, refer to the description in the method embodiment, and details are not described herein.
可选的,生成模块22可以执行上述图3所示实施例中的S301、以及图4所示实施例中的S401,具体执行过程及对应的有益效果可以参见方法实施例中的描述,此处不再进行赘述。Optionally, the generating module 22 can perform the foregoing S301 in the embodiment shown in FIG. 3 and the S401 in the embodiment shown in FIG. 4, and the specific implementation process and corresponding beneficial effects can be referred to in the description of the method embodiment, where No more details are given.
图8为本申请提供的用户面功能网元的结构示意图。请参见图8,包括处理器31、存储器32及通信总线33,所述通信总线33用于实现各元器件之间的连接,所述存储 器32用于存储程序指令,所述处理器31用于读取所述存储器32中的程序指令,并根据所述存储器32中的程序指令执行图2-图4实施例所示的方法。可选的,处理器31可以执行图2-图4实施例中用户面功能网元除了信息收发之外的其它处理。其实现原理以及有益效果类似,此处不再进行赘述。FIG. 8 is a schematic structural diagram of a user plane function network element provided by the present application. Referring to FIG. 8, a processor 31, a memory 32 for implementing a connection between components, a memory 32 for storing program instructions, and a communication bus 33 for the processor 31 for The program instructions in the memory 32 are read and the methods illustrated in the embodiment of Figures 2-4 are performed in accordance with the program instructions in the memory 32. Optionally, the processor 31 may perform other processing in addition to information transceiving of the user plane function network element in the embodiments of FIG. 2 to FIG. 4. The implementation principle and beneficial effects are similar, and will not be described here.
图9为本申请提供的会话管理功能网元的结构示意图。请参见图9,包括处理器41、存储器42及通信总线43,所述通信总线43用于实现各元器件之间的连接,所述存储器42用于存储程序指令,所述处理器41用于读取所述存储器42中的程序指令,并根据所述存储器42中的程序指令执行图2-图4实施例所示的方法。可选的,处理器41可以执行图2-图4实施例中会话管理功能网元除了信息收发之外的其它处理。其实现原理以及有益效果类似,此处不再进行赘述。FIG. 9 is a schematic structural diagram of a session management function network element provided by the present application. Referring to FIG. 9, a processor 41, a memory 42 for implementing a connection between components, and a communication bus 43 for storing program instructions, the processor 41 is configured to The program instructions in the memory 42 are read, and the method shown in the embodiment of Figures 2 - 4 is performed in accordance with the program instructions in the memory 42. Optionally, the processor 41 may perform other processing than the information transmission and reception of the session management function network element in the embodiments of FIG. 2 to FIG. 4. The implementation principle and beneficial effects are similar, and will not be described here.
本申请提供一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述任意方法实施例所示的以太广播帧的处理方法。The present application provides a computer readable storage medium comprising instructions, when executed on a computer, causing a computer to perform a method of processing an Ethernet broadcast frame as shown in any of the above method embodiments.
本申请提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中。至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,执行该计算机执行指令执行上述任意方法实施例所示的以太广播帧的处理方法。The application provides a computer program product comprising computer executed instructions stored in a computer readable storage medium. At least one processor can read the computer execution instructions from a computer readable storage medium, and execute the computer execution instructions to perform the method of processing the Ethernet broadcast frames shown in any of the above method embodiments.
本申请提供一种芯片系统,该芯片系统包括处理器,用于支持实现上述任意方法实施例中所涉及的功能,例如,例如生成或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The present application provides a chip system including a processor for supporting functions implemented in any of the above-described embodiments, such as, for example, generating or processing data and/or information involved in the above methods. In one possible design, the chip system further includes a memory for storing necessary program instructions and data. The chip system can be composed of chips, and can also include chips and other discrete devices.
可以理解的是,图8和图9仅仅示出了上述设备的简化设计。在实际应用中,上述每个设备可以包含任意数量的发射器,接收器,处理器,控制器,存储器,通信单元等,而所有可以实现本申请的设备都在本申请的保护范围之内。It will be appreciated that Figures 8 and 9 only show a simplified design of the above described apparatus. In practical applications, each of the above devices may include any number of transmitters, receivers, processors, controllers, memories, communication units, etc., and all devices that can implement the present application are within the scope of the present application.
用于执行本申请上述会话管理功能网元或用户面功能网元中的处理器可以是中央处理器(CPU),通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC),现场可编程门阵列(FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor used in the above-mentioned session management function network element or user plane function network element of the present application may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and a field. Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于会话管理功能网元中。当然,处理器和存储介质也可以作为分立组件存在于会话管理功能网元或用户面功能网元中。The steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage well known in the art. In the medium. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a session management function network element. Of course, the processor and the storage medium may also exist as discrete components in the session management function network element or the user plane function network element.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实 现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific embodiments of the present invention have been described in detail with reference to the specific embodiments of the present application. It is to be understood that the foregoing description is only The scope of protection, any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application are included in the scope of protection of the present application.

Claims (29)

  1. 一种以太广播帧的处理方法,其特征在于,包括:A method for processing an Ethernet broadcast frame, comprising:
    用户面功能网元从会话管理功能网元获取用户列表和转发规则,其中,所述用户列表包括接入局域网的至少一个终端设备的标识或接入所述局域网中第一虚拟局域网的至少一个终端设备的标识;The user plane function network element obtains a user list and a forwarding rule from the session management function network element, where the user list includes an identifier of at least one terminal device that accesses the local area network or accesses at least one terminal of the first virtual local area network in the local area network. Identification of the equipment;
    所述用户面功能网元接收以太广播帧,根据所述转发规则,以单播方式向所述用户列表中的终端设备发送所述以太广播帧。The user plane function network element receives the Ethernet broadcast frame, and sends the Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule.
  2. 根据权利要求1所述的方法,其特征在于,接入所述局域网或者所述第一虚拟局域网的至少一个终端设备包括第一终端设备,The method according to claim 1, wherein the accessing the local area network or the at least one terminal device of the first virtual local area network comprises a first terminal device,
    所述用户面功能网元根据所述转发规则,以单播方式向所述用户列表中的终端设备发送所述以太广播帧,包括:The user plane function network element sends the Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule, including:
    所述用户面功能网元根据所述转发规则,将所述以太广播帧的目的媒体访问控制MAC地址设置为所述第一终端设备的MAC地址;The user plane function network element sets the destination media access control MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the forwarding rule.
    所述用户面功能网元以单播方式向所述第一终端设备发送所述以太广播帧。The user plane function network element sends the Ethernet broadcast frame to the first terminal device in a unicast manner.
  3. 根据权利要求2所述的方法,其特征在于,所述转发规则包括第一转发规则和第二转发规则;The method according to claim 2, wherein the forwarding rule comprises a first forwarding rule and a second forwarding rule;
    所述用户面功能网元根据所述转发规则,将所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址,包括:The user plane function network element sets the destination MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the forwarding rule, and includes:
    所述用户面功能网元根据所述第一转发规则,将所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址;The user plane function network element sets the destination MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the first forwarding rule.
    所述用户面功能网元以单播方式向所述第一终端设备发送所述以太广播帧,包括:The user plane function network element sends the Ethernet broadcast frame to the first terminal device in a unicast manner, including:
    所述用户面功能网元根据所述第二转发规则,以单播方式向所述第一终端设备发送所述以太广播帧。The user plane function network element sends the Ethernet broadcast frame to the first terminal device in a unicast manner according to the second forwarding rule.
  4. 根据权利要求2或3所述的方法,其特征在于,所述用户面功能网元根据所述转发规则,将所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址,包括:The method according to claim 2 or 3, wherein the user plane function network element sets the destination MAC address of the Ethernet broadcast frame to the MAC address of the first terminal device according to the forwarding rule. include:
    所述用户面功能网元根据所述转发规则复制所述以太网广播帧,将复制的所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址,以生成第一以太单播帧;The user plane function network element copies the Ethernet broadcast frame according to the forwarding rule, and sets the destination MAC address of the copied Ethernet broadcast frame to the MAC address of the first terminal device to generate a first Ethernet list. Broadcast frame
    所述用户面功能网元以单播方式向所述第一终端设备发送所述以太广播帧,包括:The user plane function network element sends the Ethernet broadcast frame to the first terminal device in a unicast manner, including:
    所述用户面功能网元向所述第一终端设备发送所述第一以太网单播帧。The user plane function network element sends the first Ethernet unicast frame to the first terminal device.
  5. 根据权利要求1所述的方法,其特征在于,接入所述局域网或者所述第一虚拟局域网的至少一个终端设备包括第二终端设备,The method according to claim 1, wherein the accessing the local area network or the at least one terminal device of the first virtual local area network comprises a second terminal device,
    所述用户面功能网元根据所述转发规则,以单播方式向所述用户列表中的终端设备发送所述以太广播帧,包括:The user plane function network element sends the Ethernet broadcast frame to the terminal device in the user list in a unicast manner according to the forwarding rule, including:
    所述用户面功能网元根据所述转发规则,确定第二以太单播帧,其中,所述第二以太单播帧的目的地址为所述第二终端设备的MAC地址;Determining, by the user plane function network element, a second Ethernet unicast frame according to the forwarding rule, where a destination address of the second Ethernet unicast frame is a MAC address of the second terminal device;
    所述用户面功能网元通过所述第二以太单播帧向所述第二终端设备转发所述以太 广播帧。The user plane function network element forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame.
  6. 根据权利要求5所述的方法,其特征在于,所述转发规则包括第三转发规则和第四转发规则;The method according to claim 5, wherein the forwarding rule comprises a third forwarding rule and a fourth forwarding rule;
    所述用户面功能网元根据所述转发规则,确定第二以太单播帧,包括:Determining, by the user plane function network element, the second Ethernet unicast frame according to the forwarding rule, including:
    所述用户面功能网元根据所述第三转发规则,确定所述第二以太单播帧;Determining, by the user plane function network element, the second Ethernet unicast frame according to the third forwarding rule;
    所述用户面功能网元根据所述转发规则,通过所述第二以太单播帧向所述第二终端设备转发所述以太广播帧,包括:And the user plane function network element forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame according to the forwarding rule, including:
    所述用户面功能网元根据所述第四转发规则,通过所述第二以太单播帧向所述第二终端设备转发所述以太广播帧。And the user plane function network element forwards the Ethernet broadcast frame to the second terminal device by using the second Ethernet unicast frame according to the fourth forwarding rule.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述用户列表包括接入所述第一虚拟局域网的至少一个终端设备,所述以太广播帧包括所述第一虚拟局域网的标识。The method according to any one of claims 1-6, wherein the user list comprises at least one terminal device accessing the first virtual local area network, and the Ethernet broadcast frame comprises the first virtual local area network. Logo.
  8. 根据权利要求4所述的方法,其特征在于,The method of claim 4 wherein:
    所述第一转发规则和所述第二转发规则包括所述第一虚拟局域网的标识;或者,The first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or
    所述第一转发规则包括所述第一虚拟局域网的标识。The first forwarding rule includes an identifier of the first virtual local area network.
  9. 根据权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述第三转发规则和所述第四转发规则包括所述第一虚拟局域网的标识;或者,The third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or
    所述第三转发规则包括所述第一虚拟局域网的标识。The third forwarding rule includes an identifier of the first virtual local area network.
  10. 一种以太广播帧的处理方法,其特征在于,包括:A method for processing an Ethernet broadcast frame, comprising:
    会话管理功能网元向用户面功能网元发送用户列表,所述用户列表包括接入局域网的至少一个终端设备的标识或接入所述局域网中第一虚拟局域网的至少一个终端设备的标识;The session management function network element sends a user list to the user plane function network element, where the user list includes an identifier of at least one terminal device that accesses the local area network or an identifier of at least one terminal device that accesses the first virtual local area network in the local area network;
    所述会话管理功能网元向所述用户面功能网元发送转发规则,所述转发规则用于指示所述用户面功能网元以单播方式向所述用户列表中的终端设备发送接收到的以太广播帧。The session management function network element sends a forwarding rule to the user plane function network element, where the forwarding rule is used to indicate that the user plane function network element sends the received network element to the terminal device in the user list in a unicast manner. Ethernet broadcast frame.
  11. 根据权利要求10所述的方法,其特征在于,所述会话管理功能网元向所述用户面功能网元发送转发规则,包括:The method according to claim 10, wherein the session management function network element sends a forwarding rule to the user plane function network element, including:
    所述会话管理功能网元向所述用户面功能网元发送Sx消息,所述Sx消息中包括所述转发规则。The session management function network element sends an Sx message to the user plane function network element, where the Sx message includes the forwarding rule.
  12. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method of claim 10, wherein the method further comprises:
    所述会话管理功能网元生成所述用户列表。The session management function network element generates the user list.
  13. 根据权利要求12所述的方法,其特征在于,所述会话管理功能网元生成所述用户列表,包括:The method according to claim 12, wherein the session management function network element generates the user list, including:
    当接入所述局域网或所述第一虚拟局域网的终端设备发生变化时,所述会话管理功能网元生成所述用户列表。The session management function network element generates the user list when a terminal device accessing the local area network or the first virtual local area network changes.
  14. 一种以太广播帧的处理装置,其特征在于,包括获取模块、接收模块和发送模块,其中,An apparatus for processing an Ethernet broadcast frame, comprising: an obtaining module, a receiving module, and a sending module, where
    所述获取模块用于,从会话管理功能网元获取用户列表和转发规则,其中,所述用户列表包括接入局域网的至少一个终端设备的标识或接入所述局域网中第一虚拟局 域网的至少一个终端设备的标识;The obtaining module is configured to obtain a user list and a forwarding rule from a session management function network element, where the user list includes an identifier of at least one terminal device that accesses a local area network or accesses at least one of the first virtual local area network in the local area network. The identity of a terminal device;
    所述接收模块用于,接收以太广播帧;The receiving module is configured to receive an Ethernet broadcast frame;
    所述发送模块用于,根据所述转发规则,以单播方式向所述用户列表中的终端设备发送所述以太广播帧。The sending module is configured to send the Ethernet broadcast frame to a terminal device in the user list in a unicast manner according to the forwarding rule.
  15. 根据权利要求14所述的装置,其特征在于,接入所述局域网或者所述第一虚拟局域网的至少一个终端设备包括第一终端设备,所述发送模块具体用于:The device according to claim 14, wherein the at least one terminal device that accesses the local area network or the first virtual local area network comprises a first terminal device, and the sending module is specifically configured to:
    根据所述转发规则,将所述以太广播帧的目的媒体访问控制MAC地址设置为所述第一终端设备的MAC地址;Determining, according to the forwarding rule, a destination media access control MAC address of the Ethernet broadcast frame as a MAC address of the first terminal device;
    以单播方式向所述第一终端设备发送所述以太广播帧。Transmitting the Ethernet broadcast frame to the first terminal device in a unicast manner.
  16. 根据权利要求15所述的装置,其特征在于,所述转发规则包括第一转发规则和第二转发规则;所述发送模块具体用于:The device according to claim 15, wherein the forwarding rule comprises a first forwarding rule and a second forwarding rule; the sending module is specifically configured to:
    根据所述第一转发规则,将所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址;Determining, according to the first forwarding rule, a destination MAC address of the Ethernet broadcast frame as a MAC address of the first terminal device;
    根据所述第二转发规则,以单播方式向所述第一终端设备发送所述以太广播帧。And transmitting, according to the second forwarding rule, the Ethernet broadcast frame to the first terminal device in a unicast manner.
  17. 根据权利要求15或16所述的装置,其特征在于,所述发送模块具体用于:The device according to claim 15 or 16, wherein the sending module is specifically configured to:
    根据所述转发规则复制所述以太网广播帧,将复制的所述以太广播帧的目的MAC地址设置为所述第一终端设备的MAC地址,以生成第一以太单播帧;Copying the Ethernet broadcast frame according to the forwarding rule, and setting a destination MAC address of the copied Ethernet broadcast frame as a MAC address of the first terminal device to generate a first Ethernet unicast frame;
    向所述第一终端设备发送所述第一以太网单播帧。Sending the first Ethernet unicast frame to the first terminal device.
  18. 根据权利要求14所述的装置,其特征在于,接入所述局域网或者所述第一虚拟局域网的至少一个终端设备包括第二终端设备,所述发送模块具体用于:The device according to claim 14, wherein the at least one terminal device that accesses the local area network or the first virtual local area network comprises a second terminal device, and the sending module is specifically configured to:
    根据所述转发规则,确定第二以太单播帧,其中,所述第二以太单播帧的目的地址为所述第二终端设备的MAC地址;Determining, according to the forwarding rule, a second Ethernet unicast frame, where a destination address of the second Ethernet unicast frame is a MAC address of the second terminal device;
    通过所述第二以太单播帧向所述第二终端设备转发所述以太广播帧。And forwarding, by the second Ethernet unicast frame, the Ethernet broadcast frame to the second terminal device.
  19. 根据权利要求18所述的装置,其特征在于,所述转发规则包括第三转发规则和第四转发规则;所述发送模块具体用于:The device according to claim 18, wherein the forwarding rule comprises a third forwarding rule and a fourth forwarding rule; the sending module is specifically configured to:
    根据所述第三转发规则,确定所述第二以太单播帧;Determining, according to the third forwarding rule, the second Ethernet unicast frame;
    根据所述第四转发规则,通过所述第二以太单播帧向所述第二终端设备转发所述以太广播帧。And transmitting, by the second Ethernet unicast frame, the Ethernet broadcast frame to the second terminal device according to the fourth forwarding rule.
  20. 根据权利要求14-19任一项所述的装置,其特征在于,所述用户列表包括接入所述第一虚拟局域网的至少一个终端设备,所述以太广播帧包括所述第一虚拟局域网的标识。The device according to any one of claims 14 to 19, wherein the user list comprises at least one terminal device accessing the first virtual local area network, and the Ethernet broadcast frame comprises the first virtual local area network Logo.
  21. 根据权利要求17所述的装置,其特征在于,The device of claim 17 wherein:
    所述第一转发规则和所述第二转发规则包括所述第一虚拟局域网的标识;或者,The first forwarding rule and the second forwarding rule include an identifier of the first virtual local area network; or
    所述第一转发规则包括所述第一虚拟局域网的标识。The first forwarding rule includes an identifier of the first virtual local area network.
  22. 根据权利要求19所述的装置,其特征在于,The device according to claim 19, characterized in that
    所述第三转发规则和所述第四转发规则包括所述第一虚拟局域网的标识;或者,The third forwarding rule and the fourth forwarding rule include an identifier of the first virtual local area network; or
    所述第三转发规则包括所述第一虚拟局域网的标识。The third forwarding rule includes an identifier of the first virtual local area network.
  23. 一种以太广播帧的处理装置,其特征在于,包括发送模块,其中,An apparatus for processing an Ethernet broadcast frame, comprising: a sending module, wherein
    所述发送模块用于,向用户面功能网元发送用户列表,所述用户列表包括接入局 域网的至少一个终端设备的标识或接入所述局域网中第一虚拟局域网的至少一个终端设备的标识;The sending module is configured to send a user list to the user plane function network element, where the user list includes an identifier of at least one terminal device that accesses the local area network or an identifier of at least one terminal device that accesses the first virtual local area network in the local area network. ;
    所述发送模块还用于,向所述用户面功能网元发送转发规则,所述转发规则用于指示所述用户面功能网元以单播方式向所述用户列表中的终端设备发送接收到的以太广播帧。The sending module is further configured to send a forwarding rule to the user plane function network element, where the forwarding rule is used to indicate that the user plane function network element is sent and received in a unicast manner to a terminal device in the user list. Ethernet broadcast frame.
  24. 根据权利要求23所述的装置,其特征在于,所述发送模块具体用于:The device according to claim 23, wherein the sending module is specifically configured to:
    向所述用户面功能网元发送Sx消息,所述Sx消息中包括所述转发规则。Sending an Sx message to the user plane function network element, where the Sx message includes the forwarding rule.
  25. 根据权利要求23所述的装置,其特征在于,所述装置还包括生成模块,其中,The device according to claim 23, wherein said device further comprises a generating module, wherein
    所述生成模块用于,生成所述用户列表。The generating module is configured to generate the user list.
  26. 根据权利要求25所述的装置,其特征在于,所述生成模块具体用于:The device according to claim 25, wherein the generating module is specifically configured to:
    当接入所述局域网或所述第一虚拟局域网的终端设备发生变化时,生成所述用户列表。The user list is generated when a terminal device accessing the local area network or the first virtual local area network changes.
  27. 一种用户面功能网元,其特征在于,包括:处理器、存储器及通信总线,所述通信总线用于实现各元器件之间的连接,所述存储器用于存储程序指令,所述处理器用于读取所述存储器中的程序指令,并根据所述存储器中的程序指令执行权利要求1-9任一项所述的方法。A user plane function network element, comprising: a processor, a memory, and a communication bus, wherein the communication bus is used to implement a connection between components, the memory is used to store program instructions, and the processor is used by the processor The program instructions in the memory are read and the method of any one of claims 1-9 is performed in accordance with program instructions in the memory.
  28. 一种会话管理功能网元,其特征在于,包括:处理器、存储器及通信总线,所述通信总线用于实现各元器件之间的连接,所述存储器用于存储程序指令,所述处理器用于读取所述存储器中的程序指令,并根据所述存储器中的程序指令执行权利要求10-13任一项所述的方法。A session management function network element, comprising: a processor, a memory, and a communication bus, wherein the communication bus is used to implement a connection between components, and the memory is used to store program instructions, and the processor uses The program instructions in the memory are read and the method of any one of claims 10-13 is performed in accordance with program instructions in the memory.
  29. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-13任意一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-13.
PCT/CN2018/106027 2017-11-09 2018-09-17 Ethernet broadcast frame processing method, apparatus and device WO2019091221A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711096408.3 2017-11-09
CN201711096408.3A CN109768868B (en) 2017-11-09 2017-11-09 Method, device and equipment for processing Ethernet broadcast frame

Publications (1)

Publication Number Publication Date
WO2019091221A1 true WO2019091221A1 (en) 2019-05-16

Family

ID=66438193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106027 WO2019091221A1 (en) 2017-11-09 2018-09-17 Ethernet broadcast frame processing method, apparatus and device

Country Status (2)

Country Link
CN (1) CN109768868B (en)
WO (1) WO2019091221A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112105088B (en) * 2019-06-17 2023-04-07 华为技术有限公司 Multicast communication method, device and system
CN111970284A (en) * 2020-08-19 2020-11-20 网易(杭州)网络有限公司 Message processing method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018542A (en) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 The processing method of status information, device and storage medium in network system
US20170303259A1 (en) * 2016-04-18 2017-10-19 Electronics And Telecommunications Research Institute Communication method and apparatus using network slicing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254203B (en) * 2016-09-05 2020-02-11 新华三技术有限公司 Message forwarding method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170303259A1 (en) * 2016-04-18 2017-10-19 Electronics And Telecommunications Research Institute Communication method and apparatus using network slicing
CN107018542A (en) * 2017-03-27 2017-08-04 中兴通讯股份有限公司 The processing method of status information, device and storage medium in network system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP: "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; System Architecture for the 5G System; Stage 2 (Release 15", 3GPP TS 23.501 V1.3.0 (2017-09), 30 September 2017 (2017-09-30), XP055607490 *
HUAWEI ET AL.: "Solving paging storm issue on ARP broadcast in Ethernet PDU sessions (TS 23.501)", SA WG2 MEETING #123- S2 177079, 22 October 2017 (2017-10-22) - 27 October 2017 (2017-10-27), XP051347035 *

Also Published As

Publication number Publication date
CN109768868A (en) 2019-05-17
CN109768868B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US11528770B2 (en) Session management method, apparatus, and system
US10420009B2 (en) Methods and devices for determining and using Device-to-Device relay node
US11212226B2 (en) Data processing method and apparatus, and device
US11812496B2 (en) User group session management method and apparatus
US11533610B2 (en) Key generation method and related apparatus
US20210281981A1 (en) Communications Method, Apparatus and System
US10917834B2 (en) Method for transmitting system information and related devices
WO2019196811A1 (en) Communication method and related apparatus
US11019463B2 (en) Communication method and communications apparatus
WO2021088660A1 (en) Communication method, device and apparatus
WO2018195907A1 (en) Wireless communication method, network device, and terminal device
WO2018170798A1 (en) Session migration method and device
WO2020199960A1 (en) Latency acquisition method and apparatus, and optimization method and apparatus
WO2019033796A1 (en) Session processing method and related device
US11637891B2 (en) Method and apparatus for transferring an edge computing application
US11489760B2 (en) Multicast group creation method, multicast group joining method, and apparatus
AU2018370721A1 (en) Session processing method, device, and system
US11647436B2 (en) Gateway handover method, gateway reselection method, and communications apparatus
WO2019196680A1 (en) Communication method and communication apparatus
WO2018223824A1 (en) Method and apparatus for transmitting service data
WO2019091221A1 (en) Ethernet broadcast frame processing method, apparatus and device
WO2020192387A1 (en) Request processing method, related apparatus and system
WO2018019030A1 (en) Data transmission method, first device, and second device
WO2018006359A1 (en) Method for establishing tunnel between local gateways, and gateway
WO2020169068A1 (en) Data transmission method and apparatus, and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18876630

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18876630

Country of ref document: EP

Kind code of ref document: A1