CN109379760B - MEC bypass system and method - Google Patents

MEC bypass system and method Download PDF

Info

Publication number
CN109379760B
CN109379760B CN201811582804.1A CN201811582804A CN109379760B CN 109379760 B CN109379760 B CN 109379760B CN 201811582804 A CN201811582804 A CN 201811582804A CN 109379760 B CN109379760 B CN 109379760B
Authority
CN
China
Prior art keywords
switch
uplink
message
gtp message
downlink
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811582804.1A
Other languages
Chinese (zh)
Other versions
CN109379760A (en
Inventor
许轲
郑敏
孙福生
刘忠
刘昕海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811582804.1A priority Critical patent/CN109379760B/en
Publication of CN109379760A publication Critical patent/CN109379760A/en
Application granted granted Critical
Publication of CN109379760B publication Critical patent/CN109379760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The invention provides an MEC bypass system, wherein a first switch, an MEC server and a second switch in the system are interconnected through a two-layer link to form a main link; the first switch and the second switch are interconnected through a two-layer link to form a standby link; the first switch receives an uplink GTP message from a base station and sends the uplink GTP message to the MEC server from a main port; if the uplink GTP message received by the MEC server hits an uplink application ACL forwarding table entry, removing an outer IP head, a UDP head and a GTP head of the uplink GTP message to obtain an uplink two-layer data message, and then sending the uplink two-layer data message to a service server; if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to a second switch from the public network port; the second switch learns the outer layer source MAC address of the uplink GTP message and forwards the outer layer source MAC address of the uplink GTP message to the public network according to the outer layer target MAC address of the uplink GTP message, so that the stability of the network is improved, and the configuration operation of bypass deployment is simplified.

Description

MEC bypass system and method
Technical Field
The invention relates to the technical field of communication, in particular to an MEC bypass system and a method.
Background
The MEC (Mobile Edge Computing) technology mainly means that a general server is deployed on the side of a wireless access to provide IT and cloud Computing capabilities for the wireless access network, so that the conventional wireless access network has the functions of Computing, storing, shunting, big data analysis and the like, thereby providing a low-delay and high-bandwidth service, and effectively relieving the requirements of the future Mobile network on transmission bandwidth and delay. Since the MEC server is typically deployed between the base station and the public network, in order to avoid traffic disruption due to MEC server failure, this problem can typically be solved by MEC bypass deployment.
An existing MEC server bypass deployment structure is shown in fig. 1, and includes a base station, an MEC server, and an IPRAN network, where the base station may provide 4G network services for connected handsets or monitoring cameras, and the IPRAN network includes an a device and a B device, where the a device represents an access router and the B device represents an aggregation router. MEC bypass deployment is currently implemented through three-tier policy routing of carrier class switches. However, because a pure two-layer network is provided between the base station and the a device of the IPRAN network, if a three-layer policy routing is introduced, a three-layer gateway (e.g., a B device) in the IPRAN network needs to be used as a target gateway, and a gateway configured by the base station itself is a two-layer gateway, so that when the base station transmits a GTP (GPRS tunneling Protocol) packet with the a device, the configuration of the gateway itself needs to be modified to implement three-layer forwarding of the GTP packet.
Disclosure of Invention
In view of this, the present invention provides an MEC bypass system and method to solve the problem that a large amount of network configurations need to be modified when the MEC bypass is deployed at present.
Specifically, the invention is realized by the following technical scheme:
the invention provides an MEC bypass system, wherein a first switch, a mobile edge technology MEC server and a second switch in the system are interconnected through a two-layer link to form a main link; the first switch and the second switch are interconnected through a two-layer link to form a standby link;
the first switch is used for receiving an uplink GTP message from a base station and sending the uplink GTP message to the MEC server from a main port of the main link;
the MEC server is used for receiving the uplink GTP message sent by the first switch, removing an outer IP (Internet protocol) head, a UDP (user datagram protocol) head and a GTP (general packet access control) head of the uplink GTP message to obtain an uplink two-layer data message if the uplink GTP message hits an uplink application ACL (access control list) forwarding table item, and sending the uplink two-layer data message to a local service server from a local port; if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from a public network port;
and the second switch is used for receiving the uplink GTP message forwarded by the MEC server, learning an outer-layer source MAC address of the uplink GTP message, and forwarding the uplink GTP message to a public network according to an outer-layer destination MAC address of the uplink GTP message.
Based on the same conception, the invention also provides an MEC bypass method, which is applied to a first switch in the MEC bypass system; the first switch, the MEC server and the second switch are interconnected through a second layer of link to form a main link; the first switch and the second switch are interconnected through a two-layer link to form a standby link; the method comprises the following steps:
receiving an uplink GTP message from a base station;
sending the uplink GTP message to the MEC server from a main port of the main link, so that when the MEC server receives the uplink GTP message, if the uplink GTP message hits an uplink application ACL forwarding table item, removing an outer IP (Internet protocol) head, a UDP (user Datagram protocol) head and a GTP head of the uplink GTP message to obtain an uplink two-layer data message, and sending the uplink two-layer data message to a local service server from a local port; and if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from a public network port so that the second switch learns the outer-layer source MAC address of the uplink GTP message when receiving the uplink GTP message, and forwarding the uplink GTP message to a public network according to the outer-layer destination MAC address of the uplink GTP message.
Based on the same conception, the invention also provides a switch, which comprises a memory, a processor, a communication interface and a communication bus;
the memory, the processor and the communication interface are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory, and the processor 72 implements any step of the MEC bypass method when executing the computer program.
Based on the same concept, the present invention also provides a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements any of the steps of the MEC bypass method described above.
Therefore, the method can receive the uplink GTP message from the base station through the first switch in the MEC bypass system, and send the uplink GTP message to the MEC server from the main port of the main link of the MEC server and the second switch connected with the first switch, and if the uplink GTP message received by the MEC server hits an uplink application ACL forwarding table item, the outer IP head, the UDP head and the GTP head of the uplink GTP message are removed to obtain an uplink two-layer data message, and then the uplink two-layer data message is sent to the service server; and if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from the public network port so that the second switch learns the outer-layer source MAC address of the uplink GTP message and forwards the uplink GTP message to the public network according to the outer-layer destination MAC address of the uplink GTP message. Compared with the prior art, the method and the device can realize the two-layer forwarding of the GTP message by deploying the two-layer switch and setting the ACL forwarding table entry on the MEC server, so that other equipment in the network is not required to be modified, and the configuration operation of bypass deployment of the MEC is simplified.
Drawings
Fig. 1 is a schematic diagram of an existing MEC server bypass deployment;
FIG. 2 is a schematic diagram of the MEC bypass system architecture in an exemplary embodiment of the present invention;
FIG. 3 is a process flow diagram of an MEC bypass method in an exemplary embodiment of the invention;
FIG. 4 is a flowchart of an MEC bypass interaction in an exemplary embodiment of the invention;
fig. 5 is a schematic diagram of a switch in an exemplary embodiment of the invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to solve the problems, the invention provides an MEC bypass system and a method, the invention can receive an uplink GTP message from a base station through a first switch in the MEC bypass system, the uplink GTP message is sent to an MEC server from a main port of a main link of a first switch connecting an MEC server and a second switch, if the uplink GTP message received by the MEC server hits an uplink application ACL forwarding table item, an outer layer IP head, a UDP head and a GTP head of the uplink GTP message are removed to obtain an uplink two-layer data message, and then the uplink two-layer data message is sent to a service server; and if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from the public network port so that the second switch learns the outer-layer source MAC address of the uplink GTP message and forwards the uplink GTP message to the public network according to the outer-layer destination MAC address of the uplink GTP message. Compared with the prior art, the method and the device can realize the two-layer forwarding of the GTP message by deploying the two-layer switch and setting the ACL forwarding table entry on the MEC server, so that other equipment in the network is not required to be modified, and the configuration operation of bypass deployment of the MEC is simplified.
Fig. 2 is a schematic structural diagram of an MEC bypass system in an exemplary embodiment of the present invention, in which a link between a first switch and an MEC server and a second switch is an active link, a link between the first switch and the second switch is a standby link, a port connected to the active link on the first switch is a primary port, and a port connected to the standby link is a standby port. The main port and the standby port of the first switch can be communicated only by enabling the first switch, and the first switch can select a main link or a standby link to forward a message by enabling the main port or the standby port; two ports connected with the active link and the standby link on the second switch are enabled all the time, so that the message forwarded by the first switch can be received when any one of the active link or the standby link is normal. The first switch and the second switch may be carrier class devices. Specifically, the method comprises the following steps:
when the first switch determines to receive the uplink GTP message from the base station, the uplink GTP message may be sent from the primary port of the active link to the MEC server.
For the MEC server, in the network of this embodiment, the MEC server receives two types of uplink GTP messages, one type is a public network service message addressed to a public network, and the other type is a private network service message addressed to a local network. When the MEC server receives the uplink GTP message sent by the first switch, matching may be performed according to a preset uplink application ACL forwarding entry and the uplink GTP message, and if the uplink GTP message hits the uplink application ACL forwarding entry, it may be considered that the uplink GTP message is a local private network service message, so that an outer IP header, a UDP header, and a GTP header of the uplink GTP message may be removed to obtain an uplink two-layer data message, and then the uplink two-layer data message is sent from a local port to a local service server according to a destination MAC address in the uplink two-layer data message; if the uplink GTP packet does not hit the uplink application ACL forwarding entry, the uplink GTP packet may be considered to be a public network service packet addressed to a public network, and thus the uplink GTP packet may be forwarded from a public network port to the second switch.
It should be noted that the uplink application ACL forwarding table entry and the downlink application ACL forwarding table entry may be matched through quintuple information of the message, or a source IP address or a destination IP address, which is not limited herein.
When receiving the uplink GTP message forwarded by the MEC server, the second switch may learn an outer source MAC address of the uplink GTP message, and forward the uplink GTP message to a public network according to an outer destination MAC address of the uplink GTP message.
The foregoing embodiment is a forwarding process of the MEC bypass system for the uplink GTP packet, where if the downlink GTP packet is received, the forwarding process specifically includes:
when the second switch receives a downlink GTP message from the public network, the second GTP message may be forwarded to the MEC server according to the learned MAC address entry.
For the MEC server, in the network of this embodiment, the MEC server receives two types of downlink messages, one is a public network service message from a public network, that is, a downlink GTP message, and the other is a local private network service message, that is, a downlink two-layer data message. When the MEC server receives a downlink two-layer data message sent by a local service server, if the downlink two-layer data message hits a downlink application ACL forwarding table item, adding an outer IP (Internet protocol) head, a UDP (user Datagram protocol) head and a GTP head to the downlink two-layer data message to obtain a downlink GTP message, and then sending the downlink GTP message to the first switch; and when receiving a downlink GTP message from the second switch, if the downlink GTP message does not hit a downlink application ACL forwarding table, forwarding the downlink GTP message to the first switch.
When determining to receive the downlink GTP packet forwarded by the MEC server, the first switch may forward the downlink GTP packet to the base station, regardless of a packet from a public network or a packet from a local of the MEC server.
The MEC server of the invention can guide the two-layer forwarding of the GTP message by setting the uplink application ACL forwarding table entry and the downlink application ACL forwarding table entry, and simultaneously distinguish the public network service and the private network service by the ACL rule, thereby leading the equipment such as a base station in the network environment and the like not to modify the current configuration and simplifying the operation amount of operators.
As an embodiment, link state monitoring may be performed between the first switch and the MAC server through a BFD (Bidirectional Forwarding Detection) packet (the BFD packet may also be replaced with a CFD (Connectivity Fault Detection) packet), and if the first switch does not receive the BFD packet sent by the MEC server, it indicates that the active link fails, so that the main port may be refreshed as a standby port of the standby link (i.e., the standby port is disabled), and a notification packet is sent to the second switch; and if the second switch receives the notification message sent by the first switch, the second switch ages the MAC address table entry of the second switch and learns the MAC address table entry again. Therefore, if the active link fails, the uplink GTP packet may be forwarded to the a device in the IPRAN network through the standby link (first switch → second switch).
If the subsequent first switch can receive the BFD message sent by the MEC server, it indicates that the primary link is recovered to normal, so that the standby port can be refreshed to the primary port (i.e. the primary port can be enabled, the standby port can be disabled), and a notification message is sent to the second switch; and if the second switch receives the notification message sent by the first switch, the second switch ages the MAC address table entry of the second switch and learns the MAC address table entry again. Therefore, if the active link is recovered to be normal, the uplink GTP packet may be forwarded to the a device in the ip ran network through the active link (the first switch → the MEC server → the second switch).
According to the embodiment, the MEC bypass system can still forward through the standby link even when the MEC server fails, so that the stability of the network is ensured.
Referring to fig. 3, a processing flow diagram of an MEC bypass method in an exemplary embodiment of the invention is shown, the method is applied to a first switch in an MEC bypass system; the first switch, the mobile edge technology MEC server and the second switch are interconnected through a two-layer link to form a main link; the first switch and the second switch are interconnected through a two-layer link to form a standby link; the method comprises the following steps:
step 301, receiving an uplink GTP message from a base station;
step 302, sending the uplink GTP message from the main port of the main link to the MEC server, so that when the MEC server receives the uplink GTP message, if the uplink GTP message hits an uplink application ACL forwarding entry, an outer IP header, a UDP header, and a GTP header of the uplink GTP message are removed to obtain an uplink two-layer data message, and the uplink two-layer data message is sent from a local port to a local service server; and if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from a public network port so that the second switch learns the outer-layer source MAC address of the uplink GTP message when receiving the uplink GTP message, and forwarding the uplink GTP message to a public network according to the outer-layer destination MAC address of the uplink GTP message.
As an embodiment, for a downlink service message, receiving a downlink GTP message forwarded by the MEC server, where the downlink GTP message is obtained by adding an outer IP header, a UDP header, and a GTP header to a downlink two-layer data message sent by a local service server when the downlink two-layer data message hits a downlink application ACL forwarding entry sent by the MEC server, or the downlink GTP message is a downlink GTP message from the second switch and forwarded by the MEC server and not hit the downlink application ACL forwarding entry; and forwarding the downlink GTP message to the base station.
As an embodiment, if the first switch does not receive the BFD packet sent by the MEC server, the primary port is refreshed to be the standby port of the standby link, and a notification packet is sent to the second switch, so that after the second switch receives the notification packet, the MAC address table entry of the second switch is aged, and MAC address table entry learning is performed again. If the first switch subsequently receives the BFD message sent by the MEC server, the standby port is refreshed to be the main port, and a notification message is sent to the second switch, so that the second switch ages the MAC address table entry of the second switch after receiving the notification message, and the MAC address table entry learning is carried out again.
In order to make the objects, technical solutions and advantages of the present invention more apparent, please refer to fig. 1 and 4 for further detailed description of the solution of the present invention.
Please refer to fig. 4, which is an interaction flowchart of the MEC bypass in the embodiment of the present invention, when a first switch and a second switch are deployed, an active link may be established between the first switch, the second switch, and the MEC server first, where a main port of the active link on the first switch is P0; a backup link is established between the first switch and the second switch, the backup port of the backup link on the first switch being P1. And configuring an uplink application ACL forwarding table entry and a downlink application ACL forwarding table entry on the MEC server.
The specific interaction process is as follows:
step 401, the first switch receives an uplink GTP message of the mobile public network service sent from the base station, enables the main port, and then forwards the uplink GTP message MEC to the MEC server through the main link shown in fig. 1;
step 402, when receiving the uplink GTP message, the MEC server determines whether the uplink GTP message hits an uplink application ACL forwarding entry, and if not, goes to step 403; if yes, go to step 405;
step 403, when the uplink GTP message does not hit the uplink application ACL forwarding table entry, it indicates that the uplink GTP message is a public network service, so that the uplink GTP message is forwarded to the second switch from the public network port, and step 404 is performed;
step 404, after receiving the uplink GTP message, the second switch learns the source MAC address, and forwards the uplink GTP message to the device a of the public network according to the destination MAC address;
step 405, when the uplink GTP message hits the uplink application ACL forwarding table entry, it indicates that the uplink GTP message is a private network service, so that after removing the outer IP header, UDP header, and GTP header from the uplink GTP message, the internal uplink two-layer data message is forwarded to the local service server from the local port;
step 406, the second switch receives a downlink GTP message sent from the public network, forwards the downlink GTP message to the MEC server, and goes to step 407;
step 407, the MEC server receives the downlink GTP message forwarded by the second switch, determines that the downlink GTP message hits the downlink application ACL forwarding table entry, which indicates that the downlink GTP message is a public network service, and therefore forwards the downlink GTP message to the first switch, and goes to step 408;
step 408, when receiving the downlink GTP message forwarded by the MEC server, the first switch forwards the downlink GTP message to the base station;
step 409, the MEC server receives the downlink layer two data packet forwarded by the local service server, determines that the downlink layer two data packet hits the downlink application ACL forwarding table entry, and indicates that the downlink layer two data packet is a private network service, so that the downlink layer two data packet is encapsulated into a downlink GTP packet by adding an outer IP header, a UDP header, and a GTP header, and then forwards the downlink GTP packet to the first switch, and goes to step 410;
step 410, when receiving the downlink GTP message forwarded by the MEC server, the first switch forwards the downlink GTP message to the base station.
According to the MEC bypass process, the invention provides high telecom level reliability of MEC deployment under the 4G network architecture by deploying the two-layer switch, and simultaneously, the technical difficulty of MEC software providers is reduced without modifying any configuration of the existing network.
Based on the same concept, the present invention also provides a switch, as shown in fig. 5, including a memory 51, a processor 52, a communication interface 53, and a communication bus 54; wherein, the memory 51, the processor 52 and the communication interface 53 communicate with each other through the communication bus 54;
the memory 51 is used for storing computer programs;
the processor 52 is configured to execute the computer program stored in the memory 51, and when the processor 52 executes the computer program, any step of the MEC bypass method provided in the embodiment of the present disclosure is implemented.
The present invention also provides a computer-readable storage medium having a computer program stored therein, where the computer program is executed by a processor to implement any one of the steps of the MEC bypass method provided by the embodiments of the present disclosure.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the network device and the computer-readable storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
In summary, the present invention may receive an uplink GTP message from a base station through a first switch in an MEC bypass system, and send the uplink GTP message from a main port of a main link where the first switch connects an MEC server and a second switch to the MEC server, where if the uplink GTP message received by the MEC server hits an uplink application ACL forwarding entry, an outer IP header, a UDP header, and a GTP header of the uplink GTP message are removed to obtain an uplink two-layer data message, and then the uplink two-layer data message is sent to a service server; and if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from the public network port so that the second switch learns the outer-layer source MAC address of the uplink GTP message and forwards the uplink GTP message to the public network according to the outer-layer destination MAC address of the uplink GTP message. Compared with the prior art, the method and the device can realize the two-layer forwarding of the GTP message by deploying the two-layer switch and setting the ACL forwarding table entry on the MEC server, so that other equipment in the network is not required to be modified, and the configuration operation of bypass deployment of the MEC is simplified.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An MEC bypass system is characterized in that a first switch, a mobile edge technology MEC server and a second switch in the system are interconnected through a two-layer link to form a main link, the first switch and the second switch are interconnected through the two-layer link to form a standby link, and the MEC server bypass is deployed between the first switch and the second switch;
the first switch is used for receiving an uplink General Packet Radio Service (GPRS) tunneling protocol (GTP) message from a base station and sending the uplink GTP message to the MEC server from a main port of the main link;
the MEC server is used for receiving the uplink GTP message sent by the first switch, removing an outer IP (Internet protocol) head, a UDP (user datagram protocol) head and a GTP (general packet access control) head of the uplink GTP message to obtain an uplink two-layer data message if the uplink GTP message hits an uplink application ACL (access control list) forwarding table item, and sending the uplink two-layer data message to a local service server from a local port; if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from a public network port;
and the second switch is used for receiving the uplink GTP message forwarded by the MEC server, learning an outer-layer source MAC address of the uplink GTP message, and forwarding the uplink GTP message to a public network according to an outer-layer destination MAC address of the uplink GTP message.
2. The system of claim 1,
the second switch is also used for receiving a downlink GTP message from the public network and forwarding the second GTP message to the MEC server according to the learned MAC address table item;
the MEC server is further used for adding an outer IP (Internet protocol) head, a UDP (user Datagram protocol) head and a GTP (GPRS tunneling protocol) head to the downlink two-layer data message to obtain a downlink GTP message and sending the downlink GTP message to the first switch if the downlink two-layer data message hits a downlink application ACL forwarding table entry when the downlink two-layer data message is sent by a local service server; when receiving a downlink GTP message from the second switch, if the downlink GTP message does not hit a downlink application ACL forwarding table, forwarding the downlink GTP message to the first switch;
and the first switch is further configured to forward the downlink GTP packet to the base station if the downlink GTP packet forwarded by the MEC server is received.
3. The system of claim 1,
the first switch is further configured to, if a BFD message sent by the MEC server is not received, refresh the primary port to a standby port of the standby link, and send a notification message to the second switch;
and the second switch is also used for aging the MAC address table entry of the second switch and re-learning the MAC address table entry if the notification message sent by the first switch is received.
4. The system of claim 1,
the first switch is further configured to refresh the standby port of the standby link to the primary port and send a notification message to the second switch if the BFD message sent by the MEC server is received;
and the second switch is also used for aging the MAC address table entry of the second switch and re-learning the MAC address table entry if the notification message sent by the first switch is received.
5. An MEC bypass method, characterized in that the method is applied to a first switch in an MEC bypass system; the first switch, a mobile edge technology (MEC) server and a second switch are interconnected through a two-layer link to form a main link, the first switch and the second switch are interconnected through the two-layer link to form a standby link, and the MEC server is arranged between the first switch and the second switch in a bypass mode; the method comprises the following steps:
receiving an uplink GTP message from a base station;
sending the uplink GTP message to the MEC server from a main port of the main link, so that when the MEC server receives the uplink GTP message, if the uplink GTP message hits an uplink application ACL forwarding table item, removing an outer IP (Internet protocol) head, a UDP (user Datagram protocol) head and a GTP head of the uplink GTP message to obtain an uplink two-layer data message, and sending the uplink two-layer data message to a local service server from a local port; and if the uplink GTP message does not hit the uplink application ACL forwarding table item, forwarding the uplink GTP message to the second switch from a public network port so that the second switch learns the outer-layer source MAC address of the uplink GTP message when receiving the uplink GTP message, and forwarding the uplink GTP message to a public network according to the outer-layer destination MAC address of the uplink GTP message.
6. The method of claim 5, further comprising:
receiving a downlink GTP message forwarded by the MEC server, wherein the downlink GTP message is obtained by adding an outer IP (Internet protocol) header, a UDP (user Datagram protocol) header and a GTP header to a downlink two-layer data message when the MEC server receives the downlink two-layer data message sent by a local service server and hits a downlink application ACL forwarding table item, or the downlink GTP message is a downlink GTP message forwarded by the MEC server and from the second switch and not hitting the downlink application ACL forwarding table item;
and forwarding the downlink GTP message to the base station.
7. The method of claim 5, further comprising:
if the BFD message sent by the MEC server is not received, the main port is refreshed to be the standby port of the standby link, and a notification message is sent to the second switch, so that the second switch ages the MAC address table entry of the second switch after receiving the notification message, and the MAC address table entry learning is carried out again.
8. The method of claim 5, further comprising:
if receiving the BFD message sent by the MEC server, refreshing the standby port of the standby link to be the main port, and sending a notification message to the second switch, so that the second switch ages the MAC address table entry of the second switch after receiving the notification message, and then re-learns the MAC address table entry.
9. A switch, characterized in that the switch comprises a memory, a processor, a communication interface, and a communication bus;
the memory, the processor and the communication interface are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory, and the processor 72 implements the steps of the method according to any one of claims 5 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method of any one of claims 5 to 8.
CN201811582804.1A 2018-12-24 2018-12-24 MEC bypass system and method Active CN109379760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811582804.1A CN109379760B (en) 2018-12-24 2018-12-24 MEC bypass system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811582804.1A CN109379760B (en) 2018-12-24 2018-12-24 MEC bypass system and method

Publications (2)

Publication Number Publication Date
CN109379760A CN109379760A (en) 2019-02-22
CN109379760B true CN109379760B (en) 2022-03-25

Family

ID=65371510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811582804.1A Active CN109379760B (en) 2018-12-24 2018-12-24 MEC bypass system and method

Country Status (1)

Country Link
CN (1) CN109379760B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757511B (en) * 2019-03-28 2022-06-10 华为技术有限公司 Communication method, device and system
CN111866989A (en) * 2019-04-28 2020-10-30 华为技术有限公司 Communication method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170044926A (en) * 2015-10-16 2017-04-26 에스케이텔레콤 주식회사 Method and Apparatus for Controlling Service-Based Mobile Edge Computing in Network Environment
CN107529178A (en) * 2017-08-30 2017-12-29 南京中科智达物联网系统有限公司 A kind of schoolyard mobile phone management system and method based on MEC technologies
WO2018031070A1 (en) * 2016-08-12 2018-02-15 Intel IP Corporation Systems, methods and devices for mobile edge computing - radio access node control plane interface
CN107787017A (en) * 2016-08-24 2018-03-09 大唐移动通信设备有限公司 A kind of self study mode realizes the method locally shunted
CN107819658A (en) * 2016-09-14 2018-03-20 中兴通讯股份有限公司 A kind of message transmitting method, MEC equipment and system
CN207234831U (en) * 2017-09-18 2018-04-13 天元瑞信通信技术股份有限公司 A kind of 5G network architectures based on edge calculations and microtomy
CN108810935A (en) * 2018-05-23 2018-11-13 新华三技术有限公司 A kind of flow forwarding method and device
CN108833166A (en) * 2018-06-19 2018-11-16 中国联合网络通信集团有限公司 Edge cloud message forwarding method and system, network message retransmission method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170044926A (en) * 2015-10-16 2017-04-26 에스케이텔레콤 주식회사 Method and Apparatus for Controlling Service-Based Mobile Edge Computing in Network Environment
WO2018031070A1 (en) * 2016-08-12 2018-02-15 Intel IP Corporation Systems, methods and devices for mobile edge computing - radio access node control plane interface
CN107787017A (en) * 2016-08-24 2018-03-09 大唐移动通信设备有限公司 A kind of self study mode realizes the method locally shunted
CN107819658A (en) * 2016-09-14 2018-03-20 中兴通讯股份有限公司 A kind of message transmitting method, MEC equipment and system
CN107529178A (en) * 2017-08-30 2017-12-29 南京中科智达物联网系统有限公司 A kind of schoolyard mobile phone management system and method based on MEC technologies
CN207234831U (en) * 2017-09-18 2018-04-13 天元瑞信通信技术股份有限公司 A kind of 5G network architectures based on edge calculations and microtomy
CN108810935A (en) * 2018-05-23 2018-11-13 新华三技术有限公司 A kind of flow forwarding method and device
CN108833166A (en) * 2018-06-19 2018-11-16 中国联合网络通信集团有限公司 Edge cloud message forwarding method and system, network message retransmission method and system

Also Published As

Publication number Publication date
CN109379760A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN111886833B (en) Method for redirecting control channel messages and device for implementing the method
US11005685B2 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
CN108574614B (en) Message processing method, device and network system
US11621926B2 (en) Network device and method for sending BGP information
US9191271B2 (en) Fast traffic recovery in VRRP based routers
CN112262549B (en) Robust node failure detection mechanism for SDN controller clusters
US11563627B2 (en) Remote probing for failover
CN110945837A (en) Optimizing service node monitoring in SDN
US9680948B2 (en) System and method for device failure notification
US20140286343A1 (en) Methods and systems for transmitting packets through network interfaces
US20150009990A1 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
WO2015001394A1 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
CN113132155B (en) Virtual switch distributed escape method and device and storage medium
WO2015001393A1 (en) Methods and systems for transmitting packets through aggregated end-to-end connection
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
WO2015001395A1 (en) Methods and systems for transmitting packets through network interfaces
US20220124033A1 (en) Method for Controlling Traffic Forwarding, Device, and System
CN105515816B (en) Processing method and device for detecting hierarchical information
CN109379760B (en) MEC bypass system and method
US20180262387A1 (en) Restoring control-plane connectivity with a network management entity
CN103581025A (en) Method and system for processing routing information and equipment
US10476774B2 (en) Selective transmission of bidirectional forwarding detection (BFD) messages for verifying multicast connectivity
US11558286B2 (en) Wireless control and fabric links for high-availability cluster nodes
US9256416B1 (en) Methods and apparatus for automatic session validation for distributed access points
CN110545240B (en) Method for establishing label forwarding table and forwarding message based on distributed aggregation system

Legal Events

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