A communication method, device and storage medium

By obtaining and sending LAN virtual network VN group information to determine the MAC address, it solves the problems of signaling storms and broadcast messages in the interconnection between 5G LAN and traditional LAN, and improves network security.

CN115604228BActive Publication Date: 2024-10-15CHINA MOBILE CHENGDU INFORMATION & TELECOMM TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110782736.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-12
Publication Date
2024-10-15
Estimated Expiration
2041-07-12

AI Technical Summary

Technical Problem

In the interconnection between 5G LAN and traditional LAN, existing technologies have problems such as N4 signaling storms, too many broadcast messages, and security risks. Especially in scenarios with a large number of terminals and frequent updates, network performance and security are affected. .

Method used

By obtaining the virtual network VN group information of the LAN, determine the MAC addresses of the members, and send it to the core network device to establish the corresponding relationship between the IP address and the MAC address, avoiding relying on UPF detection reporting or MAC address self-learning function, and obtaining it directly The MAC address of the traditional LAN group member device.

Benefits of technology

N4 interface signaling and broadcast messages are reduced, network security is improved, and application scenario restrictions and unauthenticated MAC address attacks are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604228B_ABST
    Figure CN115604228B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a communication method, apparatus and storage medium, wherein the method is applied to a first device, comprising: sending an acquisition request to a second device; wherein the acquisition request is used to obtain virtual network VN group information of a local area network; receiving VN group information returned by the second device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group; determining a MAC address of a first member of the at least one member in the VN group based on the IP address; and sending the MAC address of the first member to a core network device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a communication method, device and storage medium. Background Art

[0002] In the actual application scenarios of vertical industries, almost all industries have currently deployed local wired or wireless local area networks (LANs). Considering the construction cost and the maturity of 5G technology, it is impossible to replace the terminals in the traditional LAN with 5G terminals soon. Therefore, for a long period of time, 5G LAN will coexist with the traditional LAN, and there is a need for interconnection between 5G terminals in 5G LAN and traditional terminals in traditional LAN. In the existing technology, 5G terminals in 5G LAN and traditional terminals in traditional LAN can communicate with each other through Ethernet type communication. The current 3GPP-defined Ethernet type has the following two routing and forwarding methods:

[0003] Method 1: The Session Management Function (SMF) in the core network equipment acts as a central controller, and the User Plane Function (UPF) detects the MAC address in the Protocol Data Unit (PDU) session and reports it to the SMF. The SMF is responsible for setting forwarding rules on the UPF to avoid forwarding loops by setting forwarding rules. That is, whenever a new Media Access Control Address (MAC) address that has been used or is no longer used is detected in the PDU session related to the 5G LAN group, the signaling on the N4 session between the UPF and the SMF will be triggered. Therefore, this method may cause N4 signaling storm problems in scenarios with a large number of terminals and frequent updates (such as massive Internet of Things).

[0004] Method 2: UPF learns the MAC addresses of N3 or N9 and N6 interfaces from the upstream and downstream messages, and SMF does not participate in the configuration. Although this method avoids the signaling storm problem of N4 interface, it has the following technical disadvantages:

[0005] 1. This method is only applicable when all PDUs related to the 5G LAN group are processed by the same PDU session anchor (PSA), or when they are processed by multiple PSAs but there is no N19 interconnection between the PSAs. If they are processed by multiple PSAs and the N19 interface is enabled between the PSAs, this method cannot be used; therefore, this networking limitation will greatly reduce the applicable scenarios;

[0006] 2. Under the UPF MAC address self-learning mechanism, when the destination MAC address of a message has not been learned, UPF will broadcast the message. In scenarios with a large number of terminals and frequent updates (such as massive IoT), a large number of broadcast messages may be generated, affecting the forwarding performance of UPF.

[0007] 3. This method lacks the intervention and control of upper-layer functional modules such as SMF, and simply relies on the UPF MAC address self-learning function, which poses security risks and may cause messages from unauthenticated and unauthorized MAC addresses to attack the UPF. Summary of the invention

[0008] Embodiments of the present invention provide a communication method, device and storage medium.

[0009] The technical solution of the embodiment of the present invention is implemented as follows:

[0010] An embodiment of the present invention provides a communication method, which is applied to a first device and includes:

[0011] Sending an acquisition request to the second device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0012] Receive the VN group information returned by the second device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group;

[0013] Determine, based on the IP address, a MAC address of a first member of the at least one member in the VN group;

[0014] Send the MAC address of the first member to the core network device.

[0015] In the above scheme, the method comprises:

[0016] Allocating IP addresses to members of the local area network according to the media access control MAC addresses of members in the local area network, and establishing a corresponding relationship between the IP address and the MAC address of the same member;

[0017] The step of determining the MAC address of the first member of the at least one member in the VN group according to the IP address includes:

[0018] The corresponding relationship is queried based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

[0019] In the above scheme, the method further comprises:

[0020] Report the prohibited reporting mark;

[0021] Among them, the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

[0022] In the above scheme, the method further includes:

[0023] Receiving a group identification ID of the VN group sent by the second device;

[0024] The acquisition request carries the group identification ID.

[0025] In the above solution, sending the MAC address of the first member to the core network device includes:

[0026] The MAC address and the IP address of the first member are sent to the core network device.

[0027] An embodiment of the present invention further provides a communication method, which is applied to a second device and includes:

[0028] Receive an acquisition request sent by the first device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0029] According to the acquisition request, the VN group information is returned to the first device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group;

[0030] Among them, the IP address is at least used by the first device to determine the MAC address of the member in the VN group that needs to be sent to the core network device.

[0031] In the above scheme, the method further includes:

[0032] According to the service information of at least one member in at least one of the local area networks, grouping the at least one member to generate the VN group;

[0033] Generate a group identification ID of the VN group according to the generated VN group;

[0034] The group identification ID of the VN group is sent to the first device, wherein the group identification ID is at least used to be carried in the acquisition request.

[0035] An embodiment of the present invention further provides a communication device, which is applied to a first device and includes: a first sending module, a receiving module, a determining module, and a second sending module;

[0036] The first sending module is used to send an acquisition request to the second device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0037] The receiving module is used to receive the VN group information returned by the second device, wherein the VN group information at least includes: a network protocol IP address of at least one member in the VN group;

[0038] The determination module is used to determine the MAC address of the first member of the at least one member in the VN group according to the IP address;

[0039] The second sending module is used to send the MAC address of the first member to the core network device.

[0040] In the above solution, the device further comprises: a first processing module;

[0041] The first processing module is used to allocate IP addresses to members of the local area network according to the media access control MAC addresses of the members in the local area network, and establish a corresponding relationship between the IP address and the MAC address of the same member;

[0042] The determination module is also used to: query the corresponding relationship based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

[0043] In the above solution, the device further includes: a reporting module;

[0044] The reporting module is used to report a prohibition reporting flag;

[0045] Among them, the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

[0046] In the above solution, the receiving module is also used for:

[0047] Receiving a group identification ID of the VN group sent by the second device;

[0048] The acquisition request carries the group identification ID.

[0049] In the above solution, the second sending module is further used for:

[0050] The MAC address and the IP address of the first member are sent to the core network device.

[0051] An embodiment of the present invention further provides a communication device, which is applied to a second device and includes: a second receiving module and a returning module;

[0052] The second receiving module is used to receive an acquisition request sent by the first device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0053] The return module is used to return the VN group information to the first device according to the acquisition request, wherein the VN group information at least includes: a network protocol IP address of at least one member in the VN group;

[0054] Among them, the IP address is at least used by the first device to determine the MAC address of the member in the VN group that needs to be sent to the core network device.

[0055] In the above solution, the device further comprises: a second processing module;

[0056] The second processing module is used to group at least one member in at least one of the local area networks to generate the VN group;

[0057] Generate a group identification ID of the VN group according to the generated VN group;

[0058] The group identification ID of the VN group is sent to the first device, wherein the group identification ID is at least used to be carried in the acquisition request.

[0059] An embodiment of the present invention further provides a communication device, comprising: a processor and a memory for storing a computer program that can be run on the processor; wherein the processor is used to execute the steps of any one of the above-mentioned communication methods when running the computer program.

[0060] An embodiment of the present invention further provides a computer storage medium, characterized in that the computer storage medium stores computer executable instructions; after the computer executable instructions are executed by a processor, the steps of the above-mentioned communication method can be implemented.

[0061] In an embodiment of the present invention, the network protocol IP address information of at least one member in the virtual network VN group of the local area network is obtained from the second device, and the MAC address of the first member of the at least one member in the VN group is determined according to the IP address returned by the second device, and the MAC address of the first member is sent to the core network device. In this way, the core network device does not need to rely on the detection reporting or MAC address self-learning function of the UPF, and can directly obtain the MAC address of the traditional LAN group member device through the first device, thereby reducing the N4 interface signaling, reducing the broadcast messages, and improving the network security. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0063] Figure 1 A schematic diagram of the structure of a traffic forwarding method for 5G LAN VN communication;

[0064] Figure 2 This is a schematic diagram of the network architecture of the industry MEP self-managing 5G LAN VN group;

[0065] Figure 3 A schematic diagram of a network for communication between a 5G terminal in a 5G LAN and a traditional terminal in a traditional LAN;

[0066] Figure 4 A flow chart of the communication method provided by the present invention;

[0067] Figure 5 Another schematic diagram of a flow chart of the communication method provided by the present invention;

[0068] Figure 6 A schematic diagram of the framework of the communication method provided by the present invention;

[0069] Figure 7 Schematic diagram of information interaction flow in the communication method provided by the present invention

[0070] Figure 8 A schematic diagram of the structure of a communication device provided in an embodiment of the present invention;

[0071] Fig. 9 A schematic diagram of the structure of another communication device provided by an embodiment of the present invention;

[0072] Fig.10 A schematic diagram of the structure of another communication device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0074] In the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily. The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Moreover, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from that here.

[0075] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0076] Before further describing the embodiments of the present invention in detail, the nouns and terms in communication involved in the embodiments of the present invention are described.

[0077] 5G LAN Service (5G LAN-Type Service): A service that provides local area network communication through the 5G system, which can use IP or non-IP type communication.

[0078] 5G LAN Virtual Network (5G LAN VN): A virtual network on a 5G system used to provide 5G LAN services.

[0079] 5G LAN VN Group: A group of UEs that use dedicated communications based on 5G LAN services.

[0080] 5G LAN VN communication allows three types of traffic forwarding methods, such as Figure 1 As shown:

[0081] Method 1: Traffic forwarding based on N6 The uplink and downlink traffic of 5G LAN VN group communication comes from or is sent to the data network.

[0082] Method 2: Traffic forwarding based on N19: The uplink and downlink traffic of the 5G LAN VN group communication is forwarded between the PDU Session Anchor (PSA) user plane functions (UPF) of different PDU sessions through N19;

[0083] N19 is based on a shared user plane tunnel between interconnected PSAUPFs within the same 5G LAN VN group; N19 is based on a shared user plane tunnel between different PSAUPFs of different PDU sessions within the same 5G LAN VN group.

[0084] Method 3: Local switching: Traffic is forwarded locally by a single UPF, which is a common PSAUPF for different PDU sessions of the same 5G LAN VN group.

[0085] From 2G to 4G, mobile networks provide unified access and consistent terminal management. With the advent of the 5G era, industry users hope that 5G networks can provide large connections, high bandwidth, and low latency, while also being able to flexibly manage terminals like self-built local area networks. For example, industry users can specify the IP address of the terminal, require the terminal to communicate only with specific terminals, authorize the terminal to belong to a specific group, and dynamically add and delete terminals.

[0086] The emergence of 5G LAN technology is precisely to meet the demands of industry users. As a new generation of communication technology, 5G, with its many advantages such as large bandwidth, low latency, high reliability, high connectivity, and ubiquitous network, promotes the rapid development and replacement of vertical industries, such as the rise of smart medical care, smart education, and smart agriculture.

[0087] Mobile Edge Computing (MEC), as one of the key technologies for 5G evolution, is an IT general platform with the ability to interact with the wireless network information application programming interface (API), as well as computing, storage, and analysis functions. Relying on MEC, traditional external applications can be brought into the operator's internal system, getting closer to users and providing localized services, thereby improving user experience and unleashing more value from the edge network.

[0088] 5G industry cloud-network integration is based on 5G and MEC technologies. It introduces different technology combinations for different industry demand scenarios, such as QoS, end-to-end network slicing, network capability exposure, edge cloud, etc., to provide customized solutions.

[0089] To support the dynamic management of 5G LAN VN group identification and members, the core network network capability exposure function (NEF) opens a set of services for management, such as adding, deleting, and modifying 5G LAN VN groups and 5G LAN VN members, and can dynamically manage 5G LAN VN group data. The core network application function (AF) can be deployed to the edge computing platform (MEC Platform, MEP) of the vertical industry and connected with NEF to realize the self-management of the local 5G LAN VN group and group members, such as Figure 2 shown.

[0090] However, after realizing the dynamic management of 5G LAN VN group members, we still have to face the reality of the coexistence of 5G LAN and traditional LAN. When 5G terminals in 5G LAN and traditional terminals in traditional LAN are interconnected through Ethernet communication, we still have to face the existing technology that uses the core network device SMF as a central controller to communicate between 5G terminals and traditional terminals. In scenarios with a large number of terminals and frequent updates (such as massive Internet of Things), this may cause N4 signaling storms; and self-learning of MAC addresses on N3 or N9 and N6 interfaces from uplink and downlink messages by UPF has few applicable scenarios. In scenarios with a large number of terminals and frequent updates (such as massive Internet of Things), this may cause a large number of broadcast messages, affecting the forwarding performance of UPF. At the same time, due to the lack of intervention and control of upper-level functional modules such as SMF, relying solely on the UPF MAC address self-learning function may have security risks, which may cause unauthenticated and unauthorized MAC address messages to attack UPF. Figure 3 As shown, Figure 3 Schematic diagram of the networking for communication between 5G terminals in a 5G LAN and traditional terminals in a traditional LAN.

[0091] The present invention will be further described in detail below in conjunction with the embodiments.

[0092] An embodiment of the present invention provides a communication method, which is applied to a first device. Figure 4 A flow chart of the communication method provided by the present invention; Figure 4 As shown, the method includes:

[0093] Step S401: Sending an acquisition request to the second device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0094] Step S402: receiving VN group information returned by the second device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group;

[0095] Step S403: Determine the MAC address of the first member of the at least one member in the VN group according to the IP address;

[0096] Step S404: Send the MAC address of the first member to the core network device.

[0097] It should be noted that the communication method can be applied to the situation where the first device has been joined to the second device and the core network device, and a new 5G LAN is added to the second device. It can also be applied to the situation where the first device is added to the second device and MEP to realize communication between traditional terminals and 5G terminals.

[0098] In the above step S401, the virtual network VN group of the local area network can be a group of terminals including traditional terminals and 5G terminals, or a group of terminals using dedicated communications based on traditional LAN services, or a group of UEs using dedicated communications based on 5G LAN services.

[0099] Specifically, in some embodiments, the first device may be a gateway or any other type of network interconnection device; the second device may be an edge computing platform or any other type of local area network control platform.

[0100] In this embodiment, the first device is a gateway, the second device is an edge computing platform, and the core network device is an SMF; the virtual network VN group of the LAN is divided by the edge computing platform according to the business needs of at least one member in at least one LAN on the edge computing platform, and the members related to the business needs are divided into the same virtual network VN group; the LAN on the edge computing platform can be one or more; the virtual network VN group of the LAN can be one or more, and no specific limitation is made here. The members related to the business needs can be members with the same business needs, or members who need to communicate and interact.

[0101] It should be noted that the members in the virtual network VN group may be members in the same local area network or members in different local area networks.

[0102] Before step S401, the method further includes: receiving a group identification ID of the VN group sent by the edge computing platform; wherein the acquisition request carries the group identification ID.

[0103] Specifically, after the edge computing platform divides the members, it generates a virtual network VN group for the local area network, and assigns a group identification ID of the VN group to each virtual network VN group of the local area network; the group identification ID of the VN group can be a number generated by the edge computing platform according to the generation order of the VN group, or it can be a unique identification ID randomly generated by the edge computing platform, or it can be a user-defined identification ID.

[0104] Specifically, the gateway receives the group identification ID of the VN group sent by the edge computing platform, and generates a corresponding acquisition request based on the group identification ID of the VN group; the acquisition request includes the group identification ID; the gateway sends the acquisition request including the group identification ID to the edge computing platform, and thus receives the virtual network VN group information of the local area network corresponding to the group identification ID returned based on the acquisition request.

[0105] In the above step S402, in some embodiments, the network protocol IP address of at least one member in the VN group is the network protocol IP addresses of all members in the VN group; in other embodiments, the network protocol IP address of at least one member in the VN group is the IP address of a traditional terminal in the VN group.

[0106] In the above step S403, the MAC address of the first member is the MAC address of a traditional terminal; the traditional terminal is a terminal for dedicated communication based on traditional LAN services, a non-5G terminal, that is, a terminal of one or more generations before 5G, such as: 4G terminal, 3G terminal, etc.

[0107] Specifically, according to the VN group information, the traditional terminal among the at least one terminal is determined; according to the IP address of the traditional terminal in the VN group information, the MAC address of the traditional terminal is determined; the MAC address of the first member is the MAC address of the traditional terminal.

[0108] In the above S404, sending the MAC address of the first member to the core network device also includes: sending the MAC address and the IP address of the first member to the core network device.

[0109] In this embodiment, the network protocol IP address information of at least one member in the virtual network VN group of the local area network is obtained from the edge computing platform, and the MAC address of the traditional terminal in the at least one member in the VN group is determined according to the IP address returned by the edge computing platform, and the MAC address of the traditional terminal and the IP address are sent to the core network device SMF. In this way, the core network device SMF can directly obtain the MAC address of the traditional terminal through the first device without relying on the detection reporting or MAC address self-learning function of the UPF, so as to communicate between the 5G terminal and the traditional terminal without being restricted by the application scenario. In the case of a large number of terminals and frequent updates, it can also avoid N4 interface signaling storms and reduce broadcast messages, thereby improving network security.

[0110] Furthermore, before step S401, the method also includes: allocating IP addresses to members of the local area network according to the media access control MAC addresses of the members in the local area network, and establishing a correspondence between the IP address and the MAC address of the same member; determining the MAC address of the first member among the at least one member in the VN group according to the IP address includes: querying the correspondence based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

[0111] Specifically, the media access control MAC address of the member in the local area network is: the MAC address of the traditional terminal in the traditional local area network;

[0112] In one embodiment, the correspondence between the IP address and the MAC address of the same member may be a correspondence table between the MAC address and the IP address of the traditional terminal; in another embodiment, the correspondence between the IP address and the MAC address of the same member may also be a mapping relationship between the MAC address and the IP address of the traditional terminal.

[0113] Specifically, the gateway obtains the MAC address of the traditional terminal in the traditional LAN from the traditional LAN, and assigns an IP address to the traditional terminal based on the MAC address of the traditional terminal; establishes a correspondence between the IP address and the MAC address of the traditional terminal, and stores the correspondence; after the gateway receives the VN group information returned by the edge computing platform, the MAC address of the traditional terminal is determined based on the IP address of the traditional terminal in at least one member in the VN group information and the stored correspondence.

[0114] Furthermore, a reporting prohibition flag is reported; wherein, the reporting prohibition flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

[0115] Specifically, the reporting prohibition flag may be initially defined by the gateway, or may be user-defined;

[0116] In this embodiment, a prohibited reporting flag is reported, so that the core network device determines whether to prohibit forwarding messages whose target MAC address is not a member of the VN group in the session of the VN group. This can reduce the risk of messages from unauthenticated and unauthorized MAC addresses attacking the UPF, ensure network security, and reduce the number of broadcast messages.

[0117] Furthermore, sending the MAC address of the first member to the core network device also includes: sending the group identifier ID of the VN group to the core network device.

[0118] In this embodiment, after determining the MAC address of the traditional terminal, the MAC address of the first member and the IP address are sent to the SMF, which can assist the SMF and UPF to complete the address resolution protocol ARP or IPv6 neighbor discovery protocol IPv6 ND function, that is, when the UPF receives an ARP or IPv6 ND message containing the IP address of the traditional terminal, it can directly obtain the MAC address corresponding to the IP address of the traditional terminal from the SMF and return it to the sender without broadcasting the ARP or IPv6 ND message. Sending the group ID of the VN group where the traditional terminal is located to the SMF can enable the SMF to quickly find the traditional terminal according to the group ID of the VN group when receiving the session message sent to the traditional terminal, thereby improving communication efficiency.

[0119] An embodiment of the present invention provides a communication method, which is applied to a second device. Figure 5 Another flow chart of the communication method provided by the present invention; Figure 5 As shown, the method includes:

[0120] Step S501: receiving an acquisition request sent by a first device; wherein the acquisition request is used to acquire virtual network VN group information of a local area network;

[0121] Specifically, the first device may be a gateway or any other type of network interconnection device; the second device may be an edge computing platform or any other type of local area network control platform.

[0122] It should be noted that, in this embodiment, the first device is a gateway, the second device is an edge computing platform, and the core network device is SMF; before step S501, the local area network on the edge computing platform needs to be pre-configured, and during the local area network configuration process, the information of the local area network is sent to the core network, and after the NEF configuration is completed, it is sent to the first device; the implementation of the VN group configuration on the network is realized through the network capability exposure API of the first device; the implementation of the VN group configuration on the network at least includes: completing the configuration of the 5G core network and the VLAN configuration of the traditional network through NEF.

[0123] Furthermore, before the above-mentioned step S501, after the local area networks on the edge computing platform are configured, the at least one member is grouped according to the business information of at least one member in at least one of the local area networks to generate the VN group; based on the generated VN group, a group identification ID of the VN group is generated; and the group identification ID of the VN group is sent to the first device, wherein the group identification ID is at least used for carrying in the acquisition request.

[0124] Specifically, the edge computing platform divides the members in the local area network according to their business needs, and divides the members related to the business needs into the same virtual network VN group to generate a virtual network VN group; here, the local area network can be one or more; the virtual network VN group of the local area network can be one or more, and there is no specific limitation here; the members related to the business needs can be members with the same business needs, or they can be members who need to interact.

[0125] It should be noted that the members in the virtual network VN group may be members in the same local area network or members in different local area networks.

[0126] The edge computing platform assigns a group identification ID of the VN group to each of the generated VN groups, and sends the group identification ID of the VN group to the first device; here, the group identification ID of the VN group can be a number generated by the edge computing platform according to the generation order of the VN groups, or it can be a unique identification ID randomly generated by the edge computing platform, or it can be a user-defined identification ID.

[0127] Specifically, in one embodiment, the edge computing platform divides the terminals in the local area network according to the business needs of at least one terminal in at least one of the local area networks, divides the terminals related to the business needs into the same virtual network VN group, assigns the group identification ID of the VN group to the virtual network VN group, and sends the group identification ID of the VN group to the first device.

[0128] In the above step S501, the acquisition request carries the group identification ID of the virtual network VN group of the local area network;

[0129] Specifically, the edge computing platform receives an acquisition request containing a group identification ID of a VN group sent by the first device; the acquisition request is used to acquire the virtual network VN group information of the local area network corresponding to the group identification ID of the VN group.

[0130] Step S502: According to the acquisition request, return the VN group information to the first device, wherein the VN group information includes at least: the network protocol IP address of at least one member in the VN group; wherein the IP address is at least used by the first device to determine the MAC address of the member in the VN group to be sent to the core network device.

[0131] In the above-mentioned step S502, in some embodiments, the network protocol IP address of at least one member in the VN group is the IP address of a traditional terminal in the VN group, and the traditional terminal is a terminal for dedicated communication based on traditional LAN services, a non-5G terminal, that is, a terminal of one or more generations before 5G, such as: 4G terminal, 3G terminal, etc.

[0132] Specifically, the edge computing platform sends the VN group information corresponding to the group identification ID of the VN group included in the acquisition request to the first device according to the acquisition request; the VN group information includes at least: the network protocol IP address of at least one member in the VN group.

[0133] The IP address is at least used by the first device to determine the MAC address of the member in the VN group that needs to be sent to the core network device.

[0134] In this embodiment, the edge computing platform returns the network protocol IP address of at least one member in the VN group to the first device according to the acquisition request including the group identification ID of the VN group sent by the first device, so that the first device determines the MAC address of the member in the VN group to be sent to the core network device SMF according to the IP address. In this way, the core network device SMF can directly obtain the MAC address of the traditional LAN group member device through the network management device without relying on the detection report or MAC address self-learning function of the UPF, so as to communicate between the 5G terminal and the traditional terminal without being restricted by the application scenario. In the case of a large number of terminals and frequent updates, it can also avoid N4 interface signaling storms and reduce broadcast messages, thereby improving network security.

[0135] the following, Figure 6 is a schematic diagram of the framework of the communication method, Figure 7 FIG. 1 is a schematic diagram of the information interaction process in the communication method, and a specific example is used to illustrate the communication method of the embodiment of the present invention.

[0136] Step 1: The edge computing platform implements the "5G LAN VN group management" function;

[0137] According to the business needs of traditional terminals and 5G terminals, the terminal devices on the edge computing platform are divided, and those related to business needs are divided into the same VN group, and the VN group configuration is implemented on the network through the gateway's network capability exposure API, including but not limited to completing the configuration of the 5G core network and the VLAN configuration of the traditional network through NEF (core network switches and other similar devices).

[0138] Step 2: Implement DHCP or DHCPv6 function on the gateway to assign IP addresses to traditional terminal devices in the traditional LAN;

[0139] The MAC address of the traditional terminal is received, and an IP address is allocated to the traditional terminal according to the MAC address; and a corresponding relationship table between the MAC address and the IP address of the traditional terminal is stored.

[0140] Step 3: Implement the MAC address management function of traditional terminals on the gateway;

[0141] Obtain the 5G LAN VN group information from the edge computing platform; according to the IP address of the traditional terminal device in the 5G LAN VN group information, obtain the MAC address corresponding to the traditional terminal IP address based on the locally stored MAC address and IP address correspondence table; finally, report the MAC address of the traditional terminal device belonging to the 5G LAN VN group to the SMF, so that the SMF can obtain the MAC address of the device on the local LAN without relying on the UPF.

[0142] Step 4: The gateway reports a Forbid Non-Reported flag to the SMF;

[0143] The prohibition reporting flag is whether to prohibit forwarding messages whose target MAC addresses are not in the "MAC address list reported by the gateway" in the PDU session of the 5G LAN VN group, so as to ensure industry network security and reduce the number of broadcast messages.

[0144] like Figure 8 , which is a schematic diagram of the structure of a communication device provided in an embodiment of the present invention, wherein the device is applied to a first device, and the communication device includes: a first sending module 801, a receiving module 802, a determining module 803, and a second sending module 804; wherein,

[0145] The first sending module 801 is used to send an acquisition request to the second device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0146] The receiving module 802 is used to receive the VN group information returned by the second device, wherein the VN group information at least includes: a network protocol IP address of at least one member in the VN group;

[0147] The determination module 803 is used to determine the MAC address of the first member of the at least one member in the VN group according to the IP address;

[0148] The second sending module 804 is used to send the MAC address of the first member to the core network device.

[0149] Specifically, the device further includes: a first processing module 805; the first processing module 805 is used to allocate IP addresses to members of the local area network according to the media access control MAC addresses of the members in the local area network, and establish a corresponding relationship between the IP address and the MAC address of the same member;

[0150] The determination module 803 is further used to: query the corresponding relationship based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

[0151] Specifically, the device also includes: a reporting module 806; the reporting module 806 is used to report a prohibition reporting flag; wherein the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

[0152] Specifically, the receiving module 802 is also used to: receive the group identification ID of the VN group sent by the second device; wherein the acquisition request carries the group identification ID.

[0153] Specifically, the second sending module 804 is further used to: send the MAC address and the IP address of the first member to the core network device.

[0154] like Fig. 9 , which is a schematic diagram of the structure of another communication device provided in an embodiment of the present invention, wherein the device is applied to a second device, and the communication device includes: a second receiving module 901 and a returning module 902;

[0155] The second receiving module 901 is used to receive an acquisition request sent by the first device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network;

[0156] The return module 902 is used to return the VN group information to the first device according to the acquisition request, wherein the VN group information includes at least: the network protocol IP address of at least one member in the VN group; wherein the IP address is at least used by the first device to determine the MAC address of the member in the VN group to be sent to the core network device.

[0157] Specifically, the device also includes: a second processing module 903; the second processing module is used to group the at least one member to generate the VN group according to the business information of at least one member in at least one of the local area networks; generate a group identification ID of the VN group according to the generated VN group; send the group identification ID of the VN group to the first device, wherein the group identification ID is at least used for carrying in the acquisition request.

[0158] To implement the method of the embodiment of the present invention, the embodiment of the present invention provides a communication device, specifically, as follows Fig.10 As shown, the apparatus 100 includes a processor 1001 and a memory 1002 for storing a computer program that can be run on the processor;

[0159] Wherein, when the processor 1001 is used to run the computer program, it executes: sending an acquisition request to the second device; wherein the acquisition request is used to obtain the virtual network VN group information of the local area network; receiving the VN group information returned by the second device, wherein the VN group information includes at least: the network protocol IP address of at least one member in the VN group; determining the MAC address of the first member of the at least one member in the VN group based on the IP address; and sending the MAC address of the first member to the core network device.

[0160] In one embodiment, the processor 1001 is also used to execute the following when running the computer program: allocating IP addresses to members of the local area network according to the media access control MAC addresses of the members in the local area network, and establishing a correspondence between the IP address and the MAC address of the same member; determining the MAC address of the first member of the at least one member in the VN group according to the IP address, including: querying the correspondence based on the IP address contained in the VN group information to obtain the MAC address of the first member of the at least one member in the VN group.

[0161] In one embodiment, the processor 1001 is also used to execute, when running the computer program: reporting a prohibition reporting flag; wherein the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

[0162] In one embodiment, the processor 1001 is also used to execute, when running the computer program: receiving the group identification ID of the VN group sent by the second device; wherein the acquisition request carries the group identification ID.

[0163] In one embodiment, the processor 1001 is further configured to execute, when running the computer program: sending the MAC address and the IP address of the first member to the core network device.

[0164] In one embodiment, the processor 1001 is also used to execute the following when running the computer program: receiving an acquisition request sent by a first device; wherein the acquisition request is used to obtain virtual network VN group information of a local area network; and returning the VN group information to the first device according to the acquisition request, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group; wherein the IP address is at least used by the first device to determine a MAC address of a member in the VN group that needs to be sent to the core network device.

[0165] In one embodiment, the processor 1001 is also used to execute the following when running the computer program: grouping the at least one member to generate the VN group based on the business information of at least one member in at least one of the local area networks; generating a group identification ID of the VN group based on the generated VN group; and sending the group identification ID of the VN group to the first device, wherein the group identification ID is at least used to carry in the acquisition request.

[0166] It should be noted that the communication device and communication method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.

[0167] Of course, in practical applications, Fig.10 As shown, the device 100 may also include: at least one network interface 1003. The various components in the communication device 100 are coupled together via a bus system 1004. It is understood that the bus system 1004 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 In the figure, various buses are marked as bus system 1004. There may be at least one processor 1001. The network interface 1003 is used for wired or wireless communication between the communication device 100 and other devices.

[0168] The memory 1002 in the embodiment of the present invention is used to store various types of data to support the operation of the communication device 100 .

[0169] The method disclosed in the above embodiment of the present invention can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1001 or the instruction in the form of software. The above processor 1001 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1002. The processor 1001 reads the information in the memory 1002 and completes the steps of the above method in combination with its hardware.

[0170] In an exemplary embodiment, the communication device 100 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0171] In an exemplary embodiment, the embodiment of the present invention further provides a computer-readable storage medium, such as a memory 1002 including a computer program. The computer program can be executed by the processor 1001 of the communication device 100 to complete the steps of the aforementioned method.

[0172] Specifically, an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is run by a processor, the computer program executes: sending an acquisition request to a second device; wherein the acquisition request is used to obtain virtual network VN group information of a local area network; receiving VN group information returned by the second device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group; determining a MAC address of a first member of the at least one member in the VN group based on the IP address; and sending the MAC address of the first member to a core network device.

[0173] In one embodiment, when the computer program is executed by the processor, it executes: allocating IP addresses to members of the local area network according to the media access control MAC addresses of the members in the local area network, and establishing a correspondence between the IP address and the MAC address of the same member; determining the MAC address of the first member among the at least one member in the VN group according to the IP address, including: querying the correspondence based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

[0174] In one embodiment, when the computer program is executed by the processor, it executes: reporting a prohibition reporting flag; wherein, the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

[0175] In one embodiment, when the computer program is executed by the processor, the computer program executes: receiving the group identification ID of the VN group sent by the second device; wherein the acquisition request carries the group identification ID.

[0176] In one embodiment, when the computer program is executed by the processor, the computer program executes: sending the MAC address and the IP address of the first member to the core network device.

[0177] In one embodiment, when the computer program is executed by the processor, it executes: receiving an acquisition request sent by a first device; wherein the acquisition request is used to obtain virtual network VN group information of a local area network; returning the VN group information to the first device according to the acquisition request, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group; wherein the IP address is at least used by the first device to determine the MAC address of the member in the VN group to which the core network device needs to be sent.

[0178] In one embodiment, when the computer program is executed by the processor, the following is performed: grouping the at least one member to generate the VN group based on the business information of at least one member in at least one of the local area networks; generating a group identification ID of the VN group based on the generated VN group; and sending the group identification ID of the VN group to the first device, wherein the group identification ID is at least used for carrying in the acquisition request.

[0179] It should be noted that the computer-readable storage medium provided in the embodiment of the present invention may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0180] The above description is only an embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims

1. A communication method, characterized in that: The method is applied to a first device, where the first device is a gateway, and includes: Sending an acquisition request to a second device; wherein the acquisition request is used to obtain virtual network VN group information of a local area network; the second device is an edge computing platform; Receive the VN group information returned by the second device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group; Determine, based on the IP address, a MAC address of a first member of the at least one member in the VN group; The MAC address of the first member is sent to a core network device; the core network device is a session management function SMF.

2. The communication method according to claim 1, characterized in that: The method comprises: Allocating IP addresses to members of the local area network according to the media access control MAC addresses of members in the local area network, and establishing a corresponding relationship between the IP address and the MAC address of the same member; The step of determining the MAC address of the first member of the at least one member in the VN group according to the IP address includes: The corresponding relationship is queried based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

3. The communication method according to claim 1, characterized in that: The method further comprises: Report the prohibited reporting mark; Among them, the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

4. The communication method according to claim 1, characterized in that: The method further comprises: Receiving a group identification ID of the VN group sent by the second device; The acquisition request carries the group identification ID.

5. The communication method according to claim 1, characterized in that: The sending the MAC address of the first member to the core network device includes: The MAC address and the IP address of the first member are sent to the core network device.

6. A communication method, characterized in that: The method is applied to a second device, where the second device is an edge computing platform, including: Receive an acquisition request sent by a first device; wherein the acquisition request is used to obtain virtual network VN group information of a local area network; the first device is a gateway; According to the acquisition request, the VN group information is returned to the first device, wherein the VN group information includes at least: a network protocol IP address of at least one member in the VN group; Among them, the IP address is at least used by the first device to determine the MAC address of the member in the VN group that needs to be sent to the core network device; the core network device is SMF.

7. The communication method according to claim 6, characterized in that: The method further comprises: According to the service information of at least one member in at least one of the local area networks, grouping the at least one member to generate the VN group; Generate a group identification ID of the VN group according to the generated VN group; The group identification ID of the VN group is sent to the first device, wherein the group identification ID is at least used to be carried in the acquisition request.

8. A communication device, characterized in that: The apparatus is applied to a first device, which is a gateway, and includes: a first sending module, a receiving module, a determining module, and a second sending module; The first sending module is used to send an acquisition request to the second device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network; the second device is an edge computing platform; The receiving module is used to receive the VN group information returned by the second device, wherein the VN group information at least includes: a network protocol IP address of at least one member in the VN group; The determination module is used to determine the MAC address of the first member of the at least one member in the VN group according to the IP address; The second sending module is used to send the MAC address of the first member to the core network device; the core network device is SMF.

9. The communication device according to claim 8, characterized in that: The device further comprises: a first processing module; The first processing module is used to allocate IP addresses to members of the local area network according to the media access control MAC addresses of the members in the local area network, and establish a corresponding relationship between the IP address and the MAC address of the same member; The determination module is also used to: query the corresponding relationship based on the IP address contained in the VN group information to obtain the MAC address of the first member among the at least one member in the VN group.

10. The communication device according to claim 8, characterized in that: The device also includes: a reporting module; The reporting module is used to report a prohibition reporting flag; Among them, the prohibition reporting flag is used to determine whether the core network device is prohibited from forwarding messages whose MAC addresses do not belong to members within the VN group in a session based on the VN group.

11. The communication device according to claim 8, characterized in that: The receiving module is also used for: Receiving a group identification ID of the VN group sent by the second device; The acquisition request carries the group identification ID.

12. The communication device according to claim 8, characterized in that: The second sending module is further used to: send the MAC address and the IP address of the first member to the core network device.

13. A communication device, characterized in that: The apparatus is applied to a second device, which is an edge computing platform, and includes: a second receiving module and a returning module; The second receiving module is used to receive an acquisition request sent by the first device; wherein the acquisition request is used to obtain virtual network VN group information of the local area network; the first device is a gateway; The return module is used to return the VN group information to the first device according to the acquisition request, wherein the VN group information at least includes: a network protocol IP address of at least one member in the VN group; Among them, the IP address is at least used by the first device to determine the MAC address of the member in the VN group that needs to be sent to the core network device; the core network device is SMF.

14. The communication device according to claim 13, characterized in that: The device further comprises: a second processing module; The second processing module is used to group at least one member in at least one of the local area networks to generate the VN group; Generate a group identification ID of the VN group according to the generated VN group; The group identification ID of the VN group is sent to the first device, wherein the group identification ID is at least used to be carried in the acquisition request.

15. A communication device, characterized in that: The apparatus comprises: a processor and a memory for storing a computer program capable of running on the processor; Wherein, when the processor is used to run the computer program, it executes the steps of any communication method of claims 1 to 5; or, it executes the steps of any communication method of claims 6 to 7.

16. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions; after the computer executable instructions are executed by the processor, they can implement the communication method as claimed in any one of claims 1 to 5; or, after the computer executable instructions are executed by the processor, they can implement the communication method as claimed in any one of claims 6 to 7.

Citation Information

Patent Citations

  • Allocation optimization method for IP addresses in local area network

    CN104378456A

  • VXLAN message encapsulation and strategy execution method, equipment and system

    CN110768884A

  • Method and system for realizing virtual network

    US20150082418A1