CN109861867B - MEC service processing method and device - Google Patents

MEC service processing method and device Download PDF

Info

Publication number
CN109861867B
CN109861867B CN201910153142.4A CN201910153142A CN109861867B CN 109861867 B CN109861867 B CN 109861867B CN 201910153142 A CN201910153142 A CN 201910153142A CN 109861867 B CN109861867 B CN 109861867B
Authority
CN
China
Prior art keywords
mec
port
standby
main
target
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
CN201910153142.4A
Other languages
Chinese (zh)
Other versions
CN109861867A (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 CN201910153142.4A priority Critical patent/CN109861867B/en
Publication of CN109861867A publication Critical patent/CN109861867A/en
Application granted granted Critical
Publication of CN109861867B publication Critical patent/CN109861867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an MEC service processing method and a device, wherein the method comprises the following steps: when the target MEC is a main MEC, performing data backup on the standby MEC through a target channel between the target MEC and the standby MEC; when at least one interface of a local eNB port, an EPC port and an LBP port is closed Down, switching the states of the local eNB port, the EPC port and the LBP port to a standby state; and when the target MEC is a standby MEC and the target MEC is determined to be required to be switched to a main MEC, switching the states of the local eNB port, the EPC port and the LBP port to be in the main state, and forwarding the flow based on the backup data. The embodiment of the invention can improve the reliability of the MEC service.

Description

MEC service processing method and device
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for processing an MEC service.
Background
Mobile Edge Computing (MEC) is a key technology for the evolution of the fifth generation Mobile communication network (5G). By deploying functions of calculation, storage, distribution, big data analysis and the like in the wireless edge network, the fourth generation mobile communication network (4G) and 5G mobile network capability can be opened to the Internet application. The network deployment enables the traditional wireless network to be closer to users and bear localized services, so that the user experience is improved, and more values of the edge network are exerted.
At present, a schematic diagram of a networking architecture for deploying an MEC in a network may be as shown in fig. 1, where in the networking, a switch may introduce traffic into the MEC for processing first, and the MEC determines the traffic to perform local service processing or enter a core network for processing.
However, practice shows that in the existing networking for deploying the MEC, when the MEC fails, traffic interruption is caused, and networking reliability is low.
Disclosure of Invention
The invention provides an MEC service processing method and device, which are used for solving the problem that the flow is interrupted due to an MEC fault in the existing network deployment MEC.
According to a first aspect of the present invention, there is provided an MEC service processing method, which is applied to a target MEC in a networking deployed with at least two MECs, where the at least two MECs operate in an active/standby mode and are connected to an eNB, an EPC, and a local service processing network through a base station eNB port, an evolved packet core EPC port, and a local termination node LBP port, respectively, the method including:
when the target MEC is a main MEC, performing data backup on the standby MEC through a target channel between the target MEC and the standby MEC;
when at least one interface of a local eNB port, an EPC port and an LBP port is closed Down, switching the states of the local eNB port, the EPC port and the LBP port to a standby state;
and when the target MEC is a standby MEC and the target MEC is determined to be required to be switched to a main MEC, switching the states of the local eNB port, the EPC port and the LBP port to be in the main state.
According to a second aspect of the present invention, there is provided an MEC service processing apparatus, which is applied to a target MEC in a networking deployed with at least two MECs, where the at least two MECs operate in an active/standby mode and are connected to an eNB, an EPC, and a local service processing network through a base station eNB port, an evolved packet core EPC port, and a local termination node LBP port, respectively, the apparatus includes:
the backup unit is used for performing data backup on the standby MEC through a target channel between the standby MEC and the target MEC when the target MEC is the main MEC;
the monitoring unit is used for monitoring the states of the local eNB port, the EPC port and the LBP port;
a switching unit, configured to switch the states of the local eNB port, the EPC port, and the LBP port to a standby state when the target MEC is a main MEC and at least one of the local eNB port, the EPC port, and the LBP port is Down;
a determining unit, configured to determine whether the target MEC needs to be switched to a main MEC when the target MEC is a standby MEC;
the switching unit is further configured to switch the states of the local eNB port, the EPC port, and the LBP port to the active state when the target MEC is the standby MEC and the determining unit determines that the target MEC needs to be switched to the active MEC.
According to a third aspect of the present invention, there is provided an MEC service processing apparatus comprising a processor and a machine-readable storage medium storing machine-readable instructions executable by the processor, the processor being caused by the machine-readable instructions to perform the MEC service processing method described above.
According to a fourth aspect of the present invention, there is provided a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to perform the MEC service processing method described above.
By applying the technical scheme disclosed by the invention, at least two MECs working in the main standby mode are deployed, and the main MEC performs data backup on the standby MEC through a target channel between the main MEC and the standby MEC. When at least one interface Down in an eNB port, an EPC port and an LBP port of the main MEC is in a standby state, switching the states of the eNB port, the EPC port and the LBP port to standby states; when the standby MEC determines that the standby MEC needs to be switched to the main MEC, the states of the local eNB port, the EPC port and the LBP port are all switched to be in the main state, and flow forwarding is carried out based on the backup data, so that the reliability of the MEC service is improved.
Drawings
Fig. 1 is an architectural diagram of a networking that deploys MECs;
fig. 2 is a schematic structural diagram of an MEC service processing networking according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a MEC service processing method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a specific application scenario provided in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of an MEC service processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another MEC service processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another MEC service processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic hardware structure diagram of an MEC service processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution in the embodiment of the present invention, a networking structure to which the embodiment of the present invention is applied will be described below.
Referring to fig. 2, a schematic diagram of a networking architecture for MEC service processing according to an embodiment of the present invention is shown in fig. 2, where at least two MECs (two MECs are used as an example in fig. 2) are deployed in the networking, the at least two MECs operate in a master/standby mode and are respectively connected to an eNB, an EPC, and a Local service processing network through an Evolved Node B (eNB) port, an Evolved Packet Core (EPC) port, and a Local Breakout Point (LBP) port, and a target channel is established between the master and standby MECs, and the target channel is used for data backup from the master MEC to the standby MECs.
In the networking shown in fig. 2, the main MEC may perform data backup to the standby MEC through the target channel, and when at least one interface Down (close) of the local eNB port, the EPC port, and the LBP port of the main MEC, the main MEC and the standby MEC may perform main-standby switching, and the standby MEC is upgraded to a new main MEC, and the backup data is used to replace the original main MEC to continue traffic forwarding, thereby improving reliability of the MEC service.
For convenience of understanding and description, two MECs are deployed in a networking, and the two MECs form a dual-machine backup, which is described below as an example, but it should be appreciated that in the embodiment of the present invention, three or more MECs may also be deployed in the networking, and operate in a multi-machine backup manner, and specific implementation of the two MECs may refer to related implementation of the dual-machine backup.
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention more comprehensible, embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Referring to fig. 3, a schematic flow diagram of an MEC service processing method provided in an embodiment of the present invention is shown in fig. 3, where the MEC service processing method may be applied to any MEC (referred to as a target MEC herein) in a networking system (for example, the networking system shown in fig. 2, and two MECs are taken as examples hereinafter) in which at least two MECs are deployed, and as shown in fig. 3, the MEC service processing method may include the following steps:
and 301, when the target MEC is the main MEC, performing data backup on the standby MEC through a target channel between the target MEC and the standby MEC.
In the embodiment of the invention, two MECs form a dual-computer hot standby mode and work in a main standby mode, the main MEC is responsible for traffic forwarding, and the standby MEC cannot forward traffic and only performs data backup; and when the main MEC fails, the standby MEC is upgraded to a new main MEC and replaces the failed main MEC to forward the flow.
In the embodiment of the present invention, in order to implement data backup from the main MEC to the standby MEC, a channel (referred to as a target channel herein) for data interaction by a user may be established between the main MEC and the standby MEC, and the main MEC may perform data backup to the standby MEC through the target channel.
Alternatively, the target channel may be a reliable channel based on a Transmission Control Protocol (TCP) connection.
And step 302, when at least one interface Down of the local eNB port, the EPC port and the LBP port exists, switching the states of the local eNB port, the EPC port and the LBP port to a standby state.
In the embodiment of the present invention, when the target MEC operates normally as the primary MEC, the data backup may be performed on the standby MEC according to the method described in step 301, and the statuses of the local eNB port, the EPC port, and the LBP port may be monitored.
When the target MEC monitors that at least one interface Down of the local eNB port, the EPC port, and the LBP port is detected, in order to ensure normal forwarding of traffic, the target MEC needs to perform active/standby switching, and switches itself to a standby MEC, and at this time, the target MEC may switch the states of the local eNB port, the EPC port, and the LBP port to a standby state.
For example, the target MEC may set the home eNB port, EPC port, and LBP port to Down.
It should be noted that, in the embodiment of the present invention, when the target MEC is the primary MEC and the target MEC is in a complete failure, the local eNB port, the EPC port, and the LBP port of the target MEC are all Down, and at this time, the target MEC is automatically switched to the standby MEC.
Step 303, when the target MEC is the standby MEC and it is determined that the target MEC needs to be switched to the main MEC, the states of the local eNB port, the EPC port, and the LBP port are switched to the active state, and traffic forwarding is performed based on the backed-up data.
In the embodiment of the present invention, when the target MEC is the standby MEC and it is determined that the target MEC needs to be switched to the main MEC, the states of the local eNB port, the EPC port, and the LBP port are switched to the active state, and further, the target MEC may take over the original main MEC for traffic forwarding based on the data backed up by the main MEC (the main MEC before active-standby switching, which may be referred to as the original main MEC herein).
For example, when the target MEC is the standby MEC and it is monitored that the main MEC is switched from the state (i.e., the main MEC is switched to the standby MEC), the target MEC may determine that it is required to switch to the main MEC.
It should be noted that, in the embodiment of the present invention, when three or more MECs exist in a networking, and when a target MEC monitors that a primary MEC is switched in state, the target MEC may elect to determine a new primary MEC with other available standby MECs (if any), and when the target MEC is elected to be a new primary MEC, it is determined that the target MEC needs to be switched to the primary MEC, and specific implementation thereof is not described herein.
Optionally, in an embodiment of the present invention, the determining that the main MEC needs to be switched to itself may include:
and when receiving a main/standby switching notification message sent by the main MEC through the target channel, determining that the main MEC needs to be switched to the main MEC.
In this embodiment, when the primary MEC monitors that at least one interface Down of the local eNB port, the EPC port, and the LBP port is not in complete equipment failure, the primary MEC may send a primary/standby switching notification message to the standby MEC through a target channel between the primary MEC and the standby MEC.
Correspondingly, when receiving the active-standby switching notification message sent by the main MEC, the target MEC may determine that it needs to be switched to the main MEC, and at this time, the target MEC may switch the states of the local eNB port, the EPC port, and the LBP port to the active state.
It should be noted that, in this embodiment, in order to ensure that when the main MEC fails, the standby MEC can be upgraded to the main MEC in time, the standby MEC may send a detection message to the main MEC through the target channel at regular time, and when receiving the detection message, the main MEC may return a response message to the standby MEC, and if the standby MEC does not receive the response message for a preset number of consecutive times, it may be determined that the main MEC fails, and at this time, the standby MEC may determine that it needs to switch to the main MEC; or, the main MEC may send a heartbeat packet (or called a keep-alive packet) to the standby MEC through the target channel at regular time, and when the standby MEC does not receive the heartbeat packet for a consecutive number of times, it may be determined that the main MEC fails, and at this time, the standby MEC may determine that the standby MEC itself needs to be switched to the main MEC, and specific implementation thereof is not described herein again.
Optionally, in another embodiment of the present invention, the target channel operates at an LBP port, and the LBP ports of the main MEC and the standby MEC add a Virtual Router Redundancy Protocol (VRRP) backup set;
the determining that the main MEC needs to be switched may include:
and when monitoring that the LBP port in the VRRP backup group is subjected to main-standby switching, determining that the LBP port needs to be switched to a main MEC.
In this embodiment, in order to save interface resources of the MEC, the primary MEC and the secondary MEC may multiplex the LBP port to establish the target channel, and the LBP ports of the primary MEC and the secondary MEC are added to the same VRRP backup group.
In this embodiment, the active and standby MECs may monitor the status of the LBP port in the VRRP backup group through the VRRP module.
When the target MEC is a standby MEC and it is monitored that the master-standby switching of an interface (LBP port) in the VRRP backup group occurs, that is, the LBP port on the main MEC is switched from the master state to the standby state, and the LBP port on the standby MEC is switched from the standby state to the master state, the target MEC may determine that the target MEC needs to be switched to the main MEC, and at this time, the target MEC may switch the states of the local eNB port, the EPC port, and the LBP port to the master state.
It should be noted that, in the embodiment of the present invention, the active and standby MECs may not use the LBP port to establish the target channel, but may use a special three-layer port to establish the target channel, and specific implementation thereof is not described herein again.
In addition, in the embodiment of the present invention, when the eNB port and the EPC port of the MEC are three layer ports, the primary and secondary MECs may implement interface level primary and secondary to the eNB port, EPC port, and LBP port through VRRP, that is, the eNB port, EPC port, and LBP port of the primary and secondary MECs are respectively added to corresponding VRRP backup groups (the eNB of the primary MEC and the eNB of the secondary MEC are added to the same VRRP backup group, the EPC port of the primary MEC and the EPC port of the secondary MEC are added to the same VRRP backup group, and the LBP port of the primary MEC and the LBP port of the secondary MEC are added to the same VRRP backup group), and when the VRRP detects a failure of the eNB port, EPC port, or/and LBP port, the MEC is notified to perform primary and secondary switching.
In this case, the switch (direct-connected switch) sides at the two ends of the MEC may implement interface state switching in a mode of VRRP backup group + Bidirectional Forwarding Detection (BFD for short) linkage.
For example, taking an exchange between an MEC and an eNB as an example, the exchange may add interfaces (also referred to as eNB ports) respectively connected to the main and standby MECs to the same VRRP backup group, and for the eNB port connected to the main MEC on the exchange, when it is determined that BFD messages are not forwarded through the eNB port of the MEC connected to the eNB port in the BFD manner, trigger interface state switching in the VRRP backup group on the exchange.
When an eNB port or/and an EPC port of an MEC are/is a two-layer port (taking the EPC port as an example), the switch sides (directly connected switches) at two ends of the MEC can realize interface state switching in a smart-link + BFD linkage mode, namely, the switch is connected with the EPC ports of the main MEC and the standby MEC and added into the same smart-link group, and for the EPC port of the main MEC connected to the switch, when the BFD mode determines that the BFD message of the EPC port of the MEC connected with the EPC port is not forwarded, interface state switching in the smart-link group on the switch is triggered.
In this case (the EPC port is a two-layer port), the VRRP backup group (which may include a VRRP backup group corresponding to the eNB port and a VRRP backup group corresponding to the LBP port) and the EPC port state may be linked by a Track to perform active-standby switching, and the states of the eNB port and the LBP port on the standby MEC may be switched to an active state (that is, to allow forwarding of traffic).
Optionally, in an embodiment of the present invention, the backing up data to the standby MEC through the target channel between the standby MEC and the standby MEC may include:
intercepting User Equipment (User Equipment, UE for short) interaction information, and establishing a User table item according to the UE interaction information; the UE interaction information is information aiming at the UE interacted between the eNB and the EPC;
and backing up the user table entry to the standby MEC through the target channel, so that after the standby MEC is switched to the main MEC, the flow encapsulation and forwarding are carried out according to the backed-up user table entry.
In this embodiment, when the UE is online, the eNB and the EPC may negotiate a GPRS (General Packet Radio Service) tunneling Protocol-User data program, GPRS tunneling Protocol-User Datagram Protocol) dedicated data bearer channel for the UE, and to implement local Service of the MEC, the main MEC may monitor UE interaction information between the eNB and the EPC, and establish a User entry according to the UE interaction information, where the User entry records GTP-U encapsulation IP information (encapsulation IP information for short) and Tunnel information (such as Tunnel ID (identification)) corresponding to the UE.
In this embodiment, in order to ensure that data from the LBP side (i.e., the local service processing network) to the eNB side can be correctly encapsulated after the standby MEC is upgraded to the new primary MEC, the primary MEC needs to back up the user table data to the standby MEC, and further, when the standby MEC is switched to the primary MEC, traffic encapsulation forwarding may be performed according to the backed-up user table entry.
For example, after the standby MEC is switched to the main MEC, when the traffic of the UE is received, the local user table entry may be queried according to the received traffic, complete encapsulation information (including encapsulation IP information, Media Access Control (MAC) address, Tunnel information, and the like) may be determined according to the content of the traffic and the user table entry, and the traffic may be encapsulated and forwarded according to the complete encapsulation information.
It should be noted that, in this embodiment, after the UE goes offline, the main MEC may delete the user entry corresponding to the UE, and notify the standby MEC to delete the user entry corresponding to the UE, so as to save storage resources.
Further, in an example, the performing data backup on the standby MEC through the target channel between the standby MEC and the backup MEC may further include:
when receiving a message of a UE side from a local eNB port, establishing a tunnel association table corresponding to the UE;
and backing up the tunnel association table to the standby MEC through the target channel so as to package and forward the flow of the active access UE according to the backed-up tunnel association table after the standby MEC is switched to the main MEC.
In this example, considering that, in the case of video on demand, after a UE user is online, a video server may access the UE first (that is, actively access the UE), in order to ensure that data actively sent to the UE by the video server can be forwarded to the UE, when the main MEC receives a packet at the UE side from the local eNB port, a Tunnel association table corresponding to the UE may be established, where the Tunnel association table may include complete encapsulation information corresponding to the UE, for example, encapsulation IP information, MAC address, Tunnel information, and the like.
For example, when the main MEC receives a message from the eNB port, the main MEC may add the rest of encapsulation information to the user table entry of the UE according to the five-tuple information of the message, so as to generate the tunnel association table.
It should be noted that, in this example, when the main MEC receives the UE-side packet, it is further required to determine to perform local service processing on the packet or enter the core network for processing.
If entering the core network for processing, directly forwarding the message through an EPC port; if the local service processing is carried out, the message is forwarded through the LBP port after being unpacked.
When the main MEC receives the message on the LBP side, the message needs to be encapsulated according to the matched tunnel association table and then forwarded through the eNB port.
In this example, in order to avoid that the video on demand function is unavailable after the main-standby switching if a new main MEC does not receive a message from the UE side within a period of time, after the main MEC generates the tunnel association table, the tunnel association table may be backed up to the standby MEC, and further, when the standby MEC is switched to the main MEC and receives data actively sent to the UE by the video server, a tunnel with a purpose of being the UE may be selected, encapsulated and forwarded according to destination address information carried in the data, based on the backed-up tunnel association table, and when a backhaul traffic is received, a completely matched tunnel association table is established again to ensure that the video on demand function is available after the main-standby switching.
In order to enable those skilled in the art to better understand the technical solution provided by the embodiment of the present invention, the technical solution provided by the embodiment of the present invention is described below with reference to a specific application scenario.
Referring to fig. 4, a schematic diagram of a specific application scenario provided in the embodiment of the present invention is shown in fig. 4, in the application scenario, an MEC431 and an MEC432 are deployed in a networking, and the MEC431 and the MEC432 operate in an active/standby mode. The MEC431 is connected with the eNB410, the EPC450 and the local traffic processing network 460 through an eNB port 1, an EPC port 1 and an LBP port 1, respectively; MEC432 is connected to eNB410, EPC450, and local traffic processing network 460 through eNB port 2, EPC port 2, and LBP port 2, respectively.
Assuming that MEC431 is a main MEC and MEC432 is a standby MEC in an initial state, a reliable channel 400 based on a TCP connection is established between MEC431 and MEC 432.
Example one
Assuming that an eNB port, an EPC port and an LBP port are three-layer ports, and adding a VRRP backup group a into the eNB port 1 and the eNB port 2; adding a VRRP backup group b into an EPC port 1 and an EPC port 2; LBP port 1 and LBP port 2 join VRRP backup group c.
The MEC431 performs data backup to the MEC432 through the channel 400, wherein the backed-up data may include user table entries, tunnel association tables, and the like.
MEC431 monitors the status of interfaces in each VRRP backup group through a VRRP module, and when eNB port 1, EPC port 1 or LBP port 1 fails (eNB port 1 fails), the VRRP module may notify MEC431 to perform active/standby switching, at this time, MEC431 switches to standby MEC, and MEC431 switches the status of EPC port 1 and LBP port 1 to standby, for example, EPC port 1 and LBP port 1 are set to Down.
When detecting that the eNB port 2 in the VRRP backup group a is switched to the active state through the VRRP module, the MEC432 may perform active-standby switching, at this time, the MEC432 is switched to the active MEC, and the MEC431 sets both the states of the EPC port 2 and the LBP port 2 to the active state.
In this embodiment, the switch 320 and the switch 340 may implement state switching by linking the VRRP backup group + BFD.
Example two
Assuming that the eNB port and the EPC port are two-layer ports, the LBP port 1 and the LBP port 2 are added into a VRRP backup group d, the MEC431 and the MEC432 multiplex the LBP port to establish a reliable channel 400 based on TCP connection, and the eNB port is linked with the state of the EPC port and the VRRP backup group d through a Track.
The MEC431 performs data backup to the MEC432 through the channel 400, wherein the backed-up data may include user table entries, tunnel association tables, and the like.
MEC431 monitors the state of the interface in VRRP backup group d through VRRP module, when LBP port 1 is failed, VRRP module can inform MEC431 to perform active/standby switching, at this time, MEC431 is switched to standby MEC, MEC431 switches the state of EPC port 1 and eNB port 1 to standby state, for example, EPC port 1 and eNB port 1 are set to Down.
When detecting that LBP port 2 in VRRP backup group d is switched to the active state through VRRP module, MEC432 may perform active-standby switching through MEC432, at this time, MEC432 is switched to the active MEC, and MEC431 sets both the states of EPC port 2 and eNB port 2 to the active state.
And for the case of failure of the eNB port or the EPC port, performing active-standby switching based on linkage of the VRRP backup group and the Track of the state of the eNB port and the EPC port.
In this embodiment, the switch 320 and the switch 340 may implement interface state switching in a smart-link + BFD linkage manner.
As can be seen from the above description, in the technical solution provided in the embodiment of the present invention, by deploying at least two MECs operating in the active/standby mode, the active MEC performs data backup on the standby MEC through the target channel between the active MEC and the standby MEC. When at least one interface Down in an eNB port, an EPC port and an LBP port of the main MEC is in a standby state, switching the states of the eNB port, the EPC port and the LBP port to standby states; when the standby MEC determines that the standby MEC needs to be switched to the main MEC, the states of the local eNB port, the EPC port and the LBP port are all switched to be in the main state, and flow forwarding is carried out based on the backup data, so that the reliability of the MEC service is improved.
Referring to fig. 5, a schematic structural diagram of an MEC service processing apparatus according to an embodiment of the present invention is provided, where the apparatus may be applied to a target MEC in the foregoing method embodiment, and as shown in fig. 5, the MEC service processing apparatus may include:
a backup unit 510, configured to perform data backup on the standby MEC through a target channel between the standby MEC and the target MEC when the target MEC is the main MEC;
a monitoring unit 520, configured to monitor states of the local eNB port, the EPC port, and the LBP port;
a switching unit 530, configured to switch the statuses of the local eNB port, the EPC port, and the LBP port to a standby status when the target MEC is a master MEC and at least one of the local eNB port, the EPC port, and the LBP port is Down;
a determining unit 540, configured to determine whether the target MEC needs to be switched to a main MEC when the target MEC is a standby MEC;
the switching unit 530 is further configured to switch the states of the local eNB port, the EPC port, and the LBP port to the active state when the target MEC is the standby MEC and the determining unit determines that the target MEC needs to be switched to the active MEC;
a forwarding unit 550, configured to perform traffic forwarding based on the backed-up data when the target MEC is switched from the standby MEC to the main MEC.
In an optional embodiment, the determining unit 540 is specifically configured to determine that the target MEC needs to be switched to the main MEC when receiving the main/standby switching notification message sent by the main MEC through the target channel.
In an optional embodiment, the target channel operates at an LBP port, and the LBP ports of the main MEC and the standby MEC add the same virtual routing redundancy protocol VRRP backup group;
the determining unit 540 is specifically configured to determine that the target MEC needs to be switched to the main MEC when the monitoring unit monitors that the main-standby switching occurs in the LBP port in the VRRP backup group.
Referring to fig. 6 together, a schematic structural diagram of another MEC service processing apparatus according to an embodiment of the present invention is shown in fig. 6, where on the basis of the apparatus shown in fig. 5, the MEC service processing apparatus shown in fig. 6 further includes:
an intercepting unit 560, configured to intercept UE interaction information when the target MEC is a main MEC; the UE interaction information is information which is interacted between the eNB and the EPC and aims at the UE;
the establishing unit 570 is configured to establish a user table entry according to the UE interaction information;
the backup unit 510 is specifically configured to backup the user table entry to the standby MEC through the target channel, so that after the standby MEC is switched to the main MEC, traffic encapsulation and forwarding are performed according to the backed-up user table entry.
Referring to fig. 7 together, a schematic structural diagram of another MEC service processing apparatus according to an embodiment of the present invention is shown in fig. 7, where, on the basis of the apparatus shown in fig. 6, the MEC service processing apparatus shown in fig. 7 further includes:
a receiving unit 580, configured to receive a message;
the establishing unit 570 is further configured to establish a tunnel association table corresponding to the UE when the receiving unit receives a packet from the local eNB port;
the backup unit 510 is further configured to backup the tunnel association table to the standby MEC through the target channel, so that after the standby MEC is switched to the main MEC, traffic of the active access UE is encapsulated and forwarded according to the backup tunnel association table.
Please refer to fig. 8, which is a schematic diagram of a hardware structure of an MEC service processing apparatus according to an embodiment of the present invention. The MEC service processing apparatus may include a processor 801, a machine-readable storage medium 802 having machine-executable instructions stored thereon. The processor 801 and the machine-readable storage medium 802 may communicate via a system bus 803. Also, the processor 801 may perform the MEC service processing method described above by reading and executing machine executable instructions corresponding to the MEC service processing logic in the machine readable storage medium 802.
The machine-readable storage medium 802 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Embodiments of the present invention also provide a machine-readable storage medium, such as the machine-readable storage medium 802 in fig. 8, including machine-executable instructions, which are executable by the processor 801 in the MEC service processing apparatus to implement the MEC service processing method described above.
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 invention. One of ordinary skill in the art can understand and implement it without inventive effort.
As can be seen from the above embodiments, by deploying at least two MECs operating in the active/standby mode, the active MEC performs data backup on the standby MEC through a target channel between the active MEC and the standby MEC. When at least one interface Down in an eNB port, an EPC port and an LBP port of the main MEC is in a standby state, switching the states of the eNB port, the EPC port and the LBP port to standby states; when the standby MEC determines that the standby MEC needs to be switched to the main MEC, the states of the local eNB port, the EPC port and the LBP port are all switched to be in the main state, and flow forwarding is carried out based on the backup data, so that the reliability of the MEC service is improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method for processing Mobile Edge Computing (MEC) service is characterized in that the method is applied to a target MEC in a network deployment with at least two MECs, the at least two MECs work in an active/standby mode and are respectively connected with the same eNB, the same EPC and the same local service processing network through an evolved node B (eNB) port, an Evolved Packet Core (EPC) port and a local termination node (LBP) port, and the method comprises the following steps:
when the target MEC is a main MEC, performing data backup on the standby MEC through a target channel between the target MEC and the standby MEC;
when at least one interface of a local eNB port, an EPC port and an LBP port is closed Down, switching the states of the local eNB port, the EPC port and the LBP port to a standby state;
and when the target MEC is a standby MEC and the target MEC is determined to be required to be switched to a main MEC, switching the states of the local eNB port, the EPC port and the LBP port to be in the main state, and forwarding the flow based on the backup data.
2. The method of claim 1, wherein determining that the self needs to be switched to the primary MEC comprises:
and when receiving a main-standby switching notification message sent by the main MEC through the target channel, determining that the main MEC needs to be switched to the main MEC.
3. The method of claim 1, wherein the target channel runs on an LBP port, and LBP ports of the primary MEC and the standby MEC join the same virtual routing redundancy protocol, VRRP, backup group;
the determining that the main MEC needs to be switched to by itself comprises:
and when monitoring that the LBP port in the VRRP backup group is subjected to main-standby switching, determining that the LBP port needs to be switched to a main MEC.
4. The method of claim 1, wherein the backing up data to the standby MEC via a target channel with the standby MEC comprises:
monitoring User Equipment (UE) interaction information, and establishing a user table according to the UE interaction information; the UE interaction information is information which is interacted between the eNB and the EPC and aims at the UE;
and sending the user table entry to the standby MEC through the target channel, so that after the standby MEC is switched to a main MEC, flow encapsulation and forwarding are carried out according to the backed-up user table entry.
5. The method of claim 4, wherein the backing up data to the standby MEC via a target channel with the standby MEC further comprises:
when receiving a message of a UE side from a local eNB port, establishing a tunnel association table corresponding to the UE;
and sending the tunnel association table to the standby MEC through the target channel, so that after the standby MEC is switched to a main MEC, the traffic of the active access UE is encapsulated and forwarded according to the backup tunnel association table.
6. A mobile edge computing MEC service processing device is characterized in that the device is applied to a target MEC in a network deployment with at least two MECs, the at least two MECs work in a master-standby mode and are respectively connected with the same eNB, the same EPC and the same local service processing network through an evolved node B (eNB) port, an Evolved Packet Core (EPC) port and a local termination node (LBP) port, and the device comprises:
the backup unit is used for performing data backup on the standby MEC through a target channel between the standby MEC and the target MEC when the target MEC is the main MEC;
the monitoring unit is used for monitoring the states of the local eNB port, the EPC port and the LBP port;
a switching unit, configured to switch the states of the local eNB port, the EPC port, and the LBP port to a standby state when the target MEC is a main MEC and at least one of the local eNB port, the EPC port, and the LBP port is Down;
a determining unit, configured to determine whether the target MEC needs to be switched to a main MEC when the target MEC is a standby MEC;
the switching unit is further configured to switch the states of the local eNB port, the EPC port, and the LBP port to the active state when the target MEC is the standby MEC and the determining unit determines that the target MEC needs to be switched to the active MEC;
and the forwarding unit is used for carrying out flow forwarding based on the backup data when the target MEC is switched from the backup MEC to the main MEC.
7. The apparatus of claim 6,
the determining unit is specifically configured to determine that the target MEC needs to be switched to the main MEC when receiving a main/standby switching notification message sent by the main MEC through the target channel.
8. The apparatus of claim 6, wherein the target channel runs on an LBP port, and LBP ports of the primary MEC and the standby MEC join the same virtual routing redundancy protocol VRRP backup group;
the determining unit is specifically configured to determine that the target MEC needs to be switched to the main MEC when the monitoring unit monitors that the main-standby switching occurs to the LBP port in the VRRP backup group.
9. The apparatus of claim 6, further comprising:
the monitoring unit is used for monitoring User Equipment (UE) interaction information when the target MEC is a main MEC; the UE interaction information is information which is interacted between the eNB and the EPC and aims at the UE;
the establishing unit is used for establishing a user table item according to the UE interaction information;
the backup unit is specifically configured to backup the user table entry to the standby MEC through the target channel, so that after the standby MEC is switched to the main MEC, traffic encapsulation forwarding is performed according to the backed-up user table entry.
10. The apparatus of claim 9, further comprising:
a receiving unit, configured to receive a packet;
the establishing unit is further configured to establish a tunnel association table corresponding to the UE when the receiving unit receives a message from the local eNB port; the backup unit is further configured to backup the tunnel association table to the standby MEC through the target channel, so that after the standby MEC is switched to the main MEC, traffic of the active access UE is encapsulated and forwarded according to the backup tunnel association table.
CN201910153142.4A 2019-02-28 2019-02-28 MEC service processing method and device Active CN109861867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153142.4A CN109861867B (en) 2019-02-28 2019-02-28 MEC service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153142.4A CN109861867B (en) 2019-02-28 2019-02-28 MEC service processing method and device

Publications (2)

Publication Number Publication Date
CN109861867A CN109861867A (en) 2019-06-07
CN109861867B true CN109861867B (en) 2022-04-26

Family

ID=66899561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153142.4A Active CN109861867B (en) 2019-02-28 2019-02-28 MEC service processing method and device

Country Status (1)

Country Link
CN (1) CN109861867B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912839B (en) * 2019-12-24 2021-11-26 北京东土军悦科技有限公司 Main and standby switch detection method, system, terminal and storage medium
CN111464607B (en) * 2020-03-27 2023-04-07 中移雄安信息通信科技有限公司 Data backup method, device, equipment and medium
CN113573329A (en) * 2020-04-28 2021-10-29 华为技术有限公司 Method, system and device for node control
CN114079637B (en) * 2020-08-04 2023-10-27 中国移动通信集团重庆有限公司 Service processing method and system based on mobile edge calculation
CN112954630B (en) * 2021-02-08 2023-11-14 浪潮通信技术有限公司 Method for computing gateway service keep-alive based on 5G end
CN113470354A (en) * 2021-06-24 2021-10-01 上海智能网联汽车技术中心有限公司 All-weather road test sensing system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447583A (en) * 2012-01-04 2012-05-09 中兴通讯股份有限公司 Hot standby method and device for network address conversion equipment
CN107819658A (en) * 2016-09-14 2018-03-20 中兴通讯股份有限公司 A kind of message transmitting method, MEC equipment and system
CN108075971A (en) * 2017-12-25 2018-05-25 新华三技术有限公司 A kind of main/standby switching method and device
CN108353067A (en) * 2015-11-30 2018-07-31 华为技术有限公司 A kind of implementation method, system and relevant device that ability opens
CN108494612A (en) * 2018-01-19 2018-09-04 西安电子科技大学 A kind of network system and its method of servicing that mobile edge calculations service is provided
US10110495B1 (en) * 2017-11-22 2018-10-23 Intel Corporation Multi-access edge computing (MEC) service provision based on local cost measurements

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447583A (en) * 2012-01-04 2012-05-09 中兴通讯股份有限公司 Hot standby method and device for network address conversion equipment
CN108353067A (en) * 2015-11-30 2018-07-31 华为技术有限公司 A kind of implementation method, system and relevant device that ability opens
CN107819658A (en) * 2016-09-14 2018-03-20 中兴通讯股份有限公司 A kind of message transmitting method, MEC equipment and system
US10110495B1 (en) * 2017-11-22 2018-10-23 Intel Corporation Multi-access edge computing (MEC) service provision based on local cost measurements
CN108075971A (en) * 2017-12-25 2018-05-25 新华三技术有限公司 A kind of main/standby switching method and device
CN108494612A (en) * 2018-01-19 2018-09-04 西安电子科技大学 A kind of network system and its method of servicing that mobile edge calculations service is provided

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《Next Generation Protocols (NGP)》;ETSI;《3GPP》;20170531;全文 *

Also Published As

Publication number Publication date
CN109861867A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109861867B (en) MEC service processing method and device
CN108574614B (en) Message processing method, device and network system
CN110912780B (en) High-availability cluster detection method, system and controlled terminal
CN111095869B (en) Method and system for high availability enhancement for computer networks
CN107547366B (en) Message forwarding method and device
US8842518B2 (en) System and method for supporting management network interface card port failover in a middleware machine environment
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
US20100306572A1 (en) Apparatus and method to facilitate high availability in secure network transport
US10560550B1 (en) Automatic configuration of a replacement network device in a high-availability cluster
CN108243114B (en) Method, equipment and system for forwarding message
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
EP2733907B1 (en) Method, local gateway, and system for local voice survivability
WO2018166308A1 (en) Distributed nat dual-system hot backup traffic switching system and method
CN101729426A (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN111988222A (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN108337159B (en) Port operation control method and device
CN112787960A (en) Stack splitting processing method, device and equipment and storage medium
CN102647288A (en) VM (Virtual Machine) data access protection method and system
CN102447703B (en) A kind of heat backup method and system, CGN equipment
US10447581B2 (en) Failure handling at logical routers according to a non-preemptive mode
CN110138656B (en) Service processing method and device
CN111953591A (en) Fault processing method and device
CN113810439A (en) Ethernet storage system and information notification method and related device thereof
CN114465948B (en) Main and standby disaster recovery method, device, equipment and medium
CN108810935B (en) Flow forwarding method and device

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