CN107819658B - Message transmission method, MEC (message aggregation center) equipment and system - Google Patents
Message transmission method, MEC (message aggregation center) equipment and system Download PDFInfo
- Publication number
- CN107819658B CN107819658B CN201610824394.1A CN201610824394A CN107819658B CN 107819658 B CN107819658 B CN 107819658B CN 201610824394 A CN201610824394 A CN 201610824394A CN 107819658 B CN107819658 B CN 107819658B
- Authority
- CN
- China
- Prior art keywords
- message
- vlan
- local
- mec
- arp
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/354—Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a message transmission method, an MEC device and a system, wherein the message transmission method is used for message transmission of the MEC device, and comprises the following steps: judging whether the destination IP of the message accords with a local IP rule, and if the destination IP of the message does not accord with the local IP rule, transmitting and forwarding the message; if the destination IP of the message accords with the local IP rule, the message is locally processed; an MEC apparatus, the MEC apparatus comprising: the message transmission system comprises a message receiving module, a judgment module, a transparent transmission and forwarding module and a local processing module, the message transmission system is more flexible and safer through the design of the MEC equipment, the deployment complexity of the MEC equipment is reduced through the technology of the system, and the equipment cost and the operation and maintenance cost are reduced; a message transmission system includes a base station, a core network, a local network, and the MEC device.
Description
Technical Field
The present invention relates to the field of information transmission technologies, and in particular, to a message transmission method, an MEC device, and a system.
Background
With the development of mobile communication technology, more and more business requirements emerge, such as ultra-clear video, virtual reality, cloud storage, car networking, industrial control, enterprise office, and the like. These new services put higher demands on the speed and the time delay of the mobile communication system, and the high speed and the low time delay become the key problems to be faced and solved by the fourth generation mobile communication system (4G) and even the fifth generation mobile communication system (5G).
In a conventional 4G network, a message sent by User Equipment (UE) needs to be processed by a wireless base station, and then is sent to a core network through a Backhaul network (Backhaul), and then is forwarded to an external internet. The increasing service rate provides a higher challenge to the processing performance of the backhaul network, and requires the operator to continuously expand the capacity of the backhaul network, which results in a huge investment, and the data transmission path also increases the message delay, which is not conducive to the development of low-delay applications such as internet of vehicles.
Therefore, in the research of 5G, an important issue is to develop a Mobile Edge Computing (MEC) service, sink content and applications to the edge of the mobile network, that is, to the side close to the wireless base station, and perform processing such as distribution, buffering, and control on the messages of the user equipment.
The traditional access modes of the MEC device are two types: one is that MEC equipment is used as an Access Gateway (AG), and a proxy forwards wireless protocol data to a core network; and the other is that the MEC equipment is used as the next hop of the route of the base station or the core network, and the MEC equipment performs upper layer processing after receiving the route forwarding data.
The access mode of the traditional MEC device is non-transparent to the original network, which causes the configuration of the base station, the core network and the transmission router to be modified, when the return network is a link layer network, such as a layer 2 PTN, the original ARP and VLAN link layer protocols between the base station and the core network cannot be implemented, if the MEC device adopts the access gateway mode, only one base station can be connected under one MEC device, which causes the low working efficiency, and the access mode of the traditional MEC device causes the complex reliability design of the MEC device, which requires the adoption of the main and standby modes, thereby increasing the cost.
Disclosure of Invention
In order to solve the above technical problems, an object of the present invention is to provide a message transmission method, an MEC device, and a system capable of fast and accurate transmission.
A message transmission method is used for message transmission of MEC equipment, and the method comprises the following steps:
when a message is received, judging whether the destination IP of the message conforms to a local IP rule or not;
if the destination IP of the message does not accord with the local IP rule, the message is transmitted and forwarded;
and if the destination IP of the message conforms to the local IP rule, locally processing the message.
According to the message transmission method, after the local IP rule is judged on the message, the local distribution processing of the message is more flexible in the modes of transparent transmission forwarding and local processing, and the message does not need to be modified during local distribution transmission, so that the deployment complexity of a network system is greatly reduced.
In the above message transmission method, the step of determining whether the destination IP of the message conforms to the local IP rule includes: and judging whether the target IP contained in the message conforms to the local IP rule or not according to the local IP or a preset local IP segment range.
In the above message transmission method, the message is an ARP message, and the step of determining whether the destination IP of the ARP message complies with the local IP rule includes determining whether the destination IP of the ARP message is the local IP;
the step of transparent transmission forwarding comprises:
when the ARP message is received and the target IP of the ARP message is judged not to be the local IP, carrying out transparent transmission and forwarding on the ARP message;
the step of locally processing comprises:
and when the ARP message is received and the target IP of the ARP message is judged to be the local IP, carrying out ARP response on the sending end of the ARP message according to the ARP message.
In the above message transmission method, the message is a VLAN message, the VLAN message is a user message to which a VLAN header encapsulation and a GTPU tunnel encapsulation are added, and an IP header of the user message includes a destination IP of the VLAN message;
the step of judging whether the destination IP of the received message conforms to the local IP rule comprises the step of judging whether the destination IP of the VLAN message is in the range of the local IP section;
the step of transparent transmission forwarding comprises:
when the VLAN message is received and the target IP of the VLAN message is judged not to be in the range of the local IP section according to the IP head of the user message in the VLAN message, the VLAN message is transmitted and forwarded;
the step of locally processing comprises:
and when the target IP of the VLAN message is judged to be in the range of the local IP section, recording the identifier of the VLAN message, performing VLAN header de-encapsulation and GTPU tunnel de-encapsulation on the VLAN message to obtain the user message, and sending the user message to a local network for response.
In the above message transmission method, the message is a non-VLAN IP message, the non-VLAN IP message is a user message encapsulated without adding a VLAN header but with a GTPU tunnel, and an IP header of the user message includes a destination IP of the non-VLAN IP message;
the step of judging whether the destination IP of the received message conforms to the local IP rule comprises the following steps: and judging whether the IP head of the user message contained in the non-VLAN IP message is the local IP or in the range of the local IP section, so as to carry out the transparent transmission and forwarding or the local processing on the non-VLAN IP message according to the judgment result.
The message transmission method further includes:
the MEC equipment detects the software and hardware states of a CPU (central processing unit) processor of the MEC equipment in real time, and when the software and hardware of the CPU processor are detected to be abnormal, the MEC equipment is informed that a physical network card of the MEC equipment enters a bypass state, so that the message is directly transmitted through the physical network card.
An MEC apparatus, the MEC apparatus comprising:
the message receiving module is used for receiving a message;
the judging module is used for judging whether the destination IP of the message conforms to a preset local IP rule or not;
the transparent transmission forwarding module is used for transmitting and forwarding the message when the judging module judges that the target IP of the message does not accord with the local IP rule;
and the local processing module is used for locally processing the message when the judging module judges that the destination IP of the message conforms to the local IP rule.
Through the design of the MEC equipment, the transparent transmission of the message is realized, and through the design of the transparent transmission forwarding module and the local processing module, the local shunt transmission of the message is more flexible and reliable.
In the MEC device, the message is an ARP message, and the determining module is specifically configured to determine whether a destination IP of the ARP message is a local IP of the MEC device;
the transparent transmission forwarding module comprises:
and the ARP message transparent transmission forwarding module is used for transmitting and forwarding the ARP message when the judging module judges that the target IP of the ARP message is not the local IP.
The MEC device described above, wherein the packet is a VLAN packet, the VLAN packet is a user packet to which a VLAN header encapsulation and a GTPU tunnel encapsulation are added, and an IP header of the user packet includes a destination IP of the VLAN packet;
the judging module is specifically configured to judge whether a destination IP of the VLAN packet is within a local IP segment range set by the MEC device;
the transparent transmission forwarding module further comprises:
and the VLAN message transparent transmission and forwarding module is used for transmitting and forwarding the VLAN message when the MEC equipment receives the VLAN request message and judges that the target IP of the VLAN message is not in the range of the local IP section set by the MEC equipment according to the IP head of the user message in the VLAN message.
The MEC apparatus, wherein the local processing module includes:
and the ARP response module is used for carrying out ARP response on the sending end of the ARP message when the judging module judges that the target IP of the received ARP message is the local IP.
The MEC apparatus, wherein the local processing module further includes:
the VLAN decapsulation module is used for recording the identifier of the VLAN message and performing VLAN header decapsulation and GTPU tunnel decapsulation on the VLAN message to obtain a user message when the judgment module judges that the target IP of the VLAN message is within the range of the local IP section set by the MEC equipment;
and the sending module is used for sending the user message to a local network.
The MEC device described above, wherein the packet is a non-VLAN IP packet, the non-VLAN IP packet is a user packet encapsulated without adding a VLAN header but with adding a GTPU tunnel, and an IP header of the user packet includes a destination IP of the non-VLAN IP packet;
the judgment module is specifically configured to: and judging the target IP of the IP header of the user message contained in the non-VLAN IP message so as to carry out the transparent transmission forwarding or the local processing on the non-VLAN IP message according to the judgment result.
The MEC equipment comprises a physical network card, a fault detection module is arranged on the physical network card of the MEC equipment, the fault detection module detects the software and hardware states of a CPU (central processing unit) of the MEC equipment in real time, and when the software and hardware of the CPU are detected to be abnormal, the physical network card is informed to enter a bypass state, so that messages are directly transmitted through the physical network card.
The invention also designs a message transmission system which comprises a base station, a core network, a local network and the MEC equipment, wherein the MEC equipment is arranged between the base station and the core network in series.
The message transmission system has flexible and efficient message transmission efficiency, reduces the deployment complexity of the MEC equipment, and reduces the equipment cost and the operation and maintenance cost.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a message transmission method according to a first embodiment of the present invention;
fig. 2 is a flow chart of transparent transmission and forwarding in a message transmission method according to a second embodiment of the present invention;
fig. 3 is a flowchart of local processing in a message transmission method according to a second embodiment of the present invention;
fig. 4 is a flow chart of transparent transmission and forwarding in a message transmission method according to a third embodiment of the present invention;
fig. 5 is a flowchart of local processing in a message transmission method according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an MEC apparatus according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a physical network card of an MEC device according to a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message transmission system according to a fifth embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, which are for convenience of description of the present invention only and do not require that the present invention must be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
These and other aspects of embodiments of the invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the invention have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the invention may be practiced, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
The present invention provides a message transmission method, which is applied to message transmission of MEC equipment, where the MEC equipment is disposed between a base station and a core network and serves a local network, and fig. 1 is a flowchart of the message transmission method according to the first embodiment of the present invention, and includes steps S10 to S40.
And step S10, receiving the message.
Step S20, judging whether the destination IP of the message accords with the local IP rule.
When the step S20 determines that the destination IP of the packet does not comply with the local IP rule, execute step S30;
and step S30, the message is transmitted and forwarded.
When the step S20 determines that the destination IP of the packet conforms to the local IP rule, execute step S40;
and step S40, carrying out local processing on the message.
The message transmission method of this embodiment implements flexible transparent networking among the base station, the MEC device, and the core network by determining whether the destination IP of the message conforms to the local P rule to transparently transmit and forward the message or locally process the message, and the MEC device can be transparently deployed between the base station and the core network without any modification, thereby greatly reducing the deployment complexity.
Referring to fig. 2, a flow chart of transparent transmission and forwarding in a message transmission method according to a second embodiment of the present invention is shown, where the message transmission method according to this embodiment is applied to message transmission of an MEC device, the MEC device is disposed between a base station and a core network and serves a local network, and after receiving a message sent by the base station or the core network, the MEC device determines whether a destination IP of the message conforms to a local IP rule, where the step of determining whether the destination IP of the message conforms to the local IP rule includes: judging whether the target IP contained in the message accords with the local IP rule or not according to the local IP or a preset local IP segment range;
and when the message is an ARP message, the ARP message is an ARP request message or an ARP response message, judging that the target IP of the ARP request message is not the preset local IP, and the steps of transparent transmission and forwarding of the ARP message comprise S11-S61.
Step S11, receiving the ARP request message sent by the base station.
Step S21, determining that the destination IP of the ARP request packet is not the local IP.
And step S31, the ARP request message is transmitted to the core network.
Step S41, after receiving the ARP request message, the core network processes the ARP request message to generate an ARP response message, and sends the ARP response message.
Step S51, determining that the destination IP of the ARP response packet is not the local IP.
And step S61, the ARP response message is transmitted to the base station.
When the target IP of the ARP request message is not the local IP, the ARP request message is transmitted and forwarded in a transparent mode, and the transparent transmission and forwarding process comprises the following steps: after the base station is powered on, the MEC equipment sends the request ARP message to the MEC equipment for realizing the link establishment relation with the core network, the ARP request message is an MAC for requesting the next hop IP of the core network, after the MEC equipment receives the ARP request message, the MEC equipment judges that the target IP of the ARP request message is not the local IP, the MEC equipment transmits the ARP request message to the core network in a transparent mode, the core network generates an ARP response message after receiving the ARP request message and processes the ARP request message, the core network sends the ARP response message to the MEC equipment, and as the target IP of the ARP response message is not the local IP, the MEC equipment transmits the ARP response message to the base station in a transparent mode, so that the normal link establishment communication between the base station and the core network is realized.
Referring to fig. 3, which is a flowchart of local processing in the message transmission method according to the second embodiment of the present invention, when the message is an ARP message and it is determined that the destination IP of the ARP message is the local IP, the steps of local processing of the ARP message include S12 to S42.
Step S12, receiving the ARP packet sent by the base station.
Step S22, determining that the destination IP of the ARP packet is the local IP.
And step S32, sending the ARP message to an internal local processing module.
And step S42, performing ARP response on the transmitting end of the ARP message through the ARP message.
When the target IP of the ARP message is the local IP, locally processing the ARP message, wherein the local processing flow is as follows: and the base station sends the ARP message to the MEC equipment in order to establish a link with the MEC equipment, the MEC equipment judges that the target IP of the ARP message is the local IP after receiving the ARP message, and the MEC equipment sends the ARP message to an internal local processing module for processing and then carries out ARP response on a sending end of the ARP message.
Referring to fig. 4, a flow chart of transparent transmission and forwarding in a message transmission method according to a third embodiment of the present invention is shown, where the message transmission method according to this embodiment is applied to message transmission of an MEC device, the MEC device is disposed between a base station and a core network and serves a local network, the message is a VLAN message, the VLAN message is a VLAN request message or a VLAN response message, the VLAN message is a user message to which a VLAN header encapsulation and a GTPU tunnel encapsulation are added, an IP header of the user message includes a destination IP of the VLAN message, and it is determined whether the destination IP of the VLAN message is within a local IP segment set by the MEC device, and the step of transparent transmission and forwarding of the LVAN message includes S13 to S63.
Step S13, receiving the VLAN request message sent by the base station.
Step S23, determining that the destination IP of the VLAN request packet is not within the local IP segment range.
And step S33, the VLAN request message is transmitted to the core network.
Step S43, after receiving the VLAN request packet, the core network processes the VLAN request packet to generate the VLAN response packet, and sends the VLAN response packet.
And step S53, judging that the destination IP of the VLAN response message is not in the range of the local IP section.
And step S63, the VLAN response message is transmitted to the base station.
When the destination IP of the VLAN request message is not in the range of the local IP section, the VLAN request message is transmitted and forwarded in a transparent mode, and the transparent transmission and forwarding process comprises the following steps: user equipment sends the user message to the base station, the base station adds VLAN head package and GTPU tunnel package to the user message to obtain the VLAN request message, the base station sends the VLAN request message to the MEC equipment, the MEC equipment judges that the target IP of the VLAN response message is not in the range of the local IP section, the MEC equipment transmits the VLAN request message to the core network, the core network carries out wireless protocol termination on the VLAN request message to obtain the user message, then sends the user message to the internet, the internet responds to the user message to obtain a user response message, then sends the user response message to the core network, the core network carries out VLAN head package and GTPU tunnel package on the user response message to obtain the VLAN response message, and the core network sends the VLAN response message to the MEC equipment, and after the MEC equipment judges that the target IP of the VLAN response message is not in the range of the local IP section, the MEC equipment transmits the VLAN response message to the base station so as to realize the transmission of the VLAN message between the base station and the core network.
Referring to fig. 5, which is a flowchart illustrating local processing in a message transmission method according to a third embodiment of the present invention, the steps of the local processing of the VLAN message include S14 to S84.
Step S14, receiving the VLAN request message sent by the base station.
Step S24, determining that the destination IP of the VLAN request packet is in the local IP segment.
Step S34, sending the VLAN request packet to an internal local processing module.
Step S44, the local processing module records the identifier of the VLAN request packet and performs VLAN header decapsulation and GTPU tunnel decapsulation on the VLAN request packet to obtain the user packet.
And step S54, sending the user message to the local network.
Step S64, the local network receives the user packet, processes the user packet to generate a user response packet, and sends the user response packet.
Step S74, according to the recorded VLAN identification, VLAN header encapsulation and GTPU tunnel encapsulation are carried out on the user response message to obtain the VLAN response message.
And step S84, sending the VLAN response message to the base station.
When the destination IP of the VLAN message is within the range of the local IP section, the VLAN request message is locally processed, and the local processing flow is as follows:
user equipment sends the user message to the base station, the base station performs VLAN header adding encapsulation and GTPU tunnel encapsulation on the user message to obtain the VLAN request message, the base station sends the VLAN request message to the MEC equipment, when the MEC equipment judges that the target IP of the VLAN request message is within the range of the local IP section, the MEC equipment sends the VLAN request message to an internal local processing module, records the identifier of the VLAN request message, performs VLAN header de-encapsulation and GTPU tunnel de-encapsulation on the VLAN request message to obtain the user message, the MEC equipment sends the user message to a local network, the local network receives the user message, processes the user message to generate a user response message, and sends the user response message to the MEC equipment, the MEC equipment receives the user response message returned by the local network, and performing VLAN head encapsulation and GTPU tunnel encapsulation on the user response message according to the recorded VLAN identification to obtain the VLAN response message, sending the VLAN response message to the base station by the MEC equipment, performing VLAN encapsulation and GTPU tunnel decapsulation on the VLAN response message by the base station to obtain the user response message, and sending the user response message to the user equipment.
When the packet is a non-VLAN IP packet, the non-VLAN IP packet is a user packet without adding a VLAN header package but with adding a GTPU tunnel package, and an IP header of the user packet includes a destination IP of the non-VLAN IP packet, and the step of determining the destination IP of the non-VLAN IP packet further includes:
and judging the target IP of the IP head of the user message contained in the non-VLAN IP message, judging whether the IP head of the user message contained in the non-VLAN IP message is the local IP or in the range of the local IP section, and carrying out the transparent transmission and forwarding or the local processing on the non-VLAN IP message according to the judgment result.
Further, in this embodiment, a fault detection module is disposed on a physical network card of the MEC device, and the fault detection module detects software and hardware states of a CPU processor of the MEC device in real time, under a normal condition, when receiving a message sent to the core network by the base station, the MEC device passes through the physical network card first, reaches the CPU processor, is processed by the CPU processor, and then sends the message to the physical network card, and the physical network card forwards the message to the core network. The link layer bypass technology can ensure the reliability of the equipment to the maximum extent, and through the technology, the deployment complexity of the MEC equipment can be reduced, and the equipment cost and the operation and maintenance cost are reduced.
Referring to fig. 6, which is a schematic structural diagram of an MEC device 10 according to a fourth embodiment of the present invention, the MEC device 10 is disposed between a core network 30 and at least one base station 20, the MEC device 10 further serves a local network 40, and the MEC device 10 includes:
a message receiving module 11, configured to receive a message sent by the base station 20 or the core network 30;
a judging module 12, configured to judge whether a destination IP of the packet conforms to the local IP rule;
a transparent transmission forwarding module 13, configured to, when the determining module 12 determines that the destination IP of the packet does not conform to the local IP rule, perform transparent transmission forwarding on the packet between the base station 20 and the core network 30;
a local processing module 14, configured to perform local processing on the packet when the determining module 12 determines that the destination IP of the packet conforms to the local IP rule.
The message is an ARP message, and the ARP message is an ARP request message or an ARP response message.
The transparent transmission forwarding module 13 includes an ARP message transparent transmission forwarding module 15, and the ARP message transparent transmission forwarding module 15 includes:
an ARP request packet transparent transmission forwarding module 17, configured to forward, when the determining module 12 determines that the destination IP of the ARP request packet is not the local IP of the MEC device 10, the ARP request packet transparent transmission to the core network 30, so that after the core network 30 receives the ARP request packet, the ARP request packet is processed to generate an ARP response packet, and the ARP response packet is sent to the MEC device 10;
an ARP response packet transparent transmission forwarding module 18, configured to forward the ARP response packet to the base station 20 in a transparent manner when the determining module 12 determines that the destination IP of the ARP response packet is not the local IP, so as to implement normal link establishment communication between the base station 20 and the core network 30.
The message is a VLAN message, the VLAN message is a VLAN request message or a VLAN response message, the VLAN message is a user message to which a VLAN header encapsulation and a GTPU tunnel encapsulation are added, an IP header of the user message includes a destination IP of the VLAN message, and the MEC device 10 determines whether the destination IP of the VLAN message is within a local IP segment range set by the MEC device 10.
The transparent transmission forwarding module 13 further includes a VLAN packet transparent transmission forwarding module 16, and the VLAN packet transparent transmission forwarding module 16 includes:
a VLAN request packet transparent transmission and forwarding module 19, configured to, when the MEC device 10 receives the VLAN request packet from the base station 20 and determines that a destination IP of the VLAN request packet is not within a local IP segment range set by the MEC device 10, transparently transmit the VLAN request packet to the core network 30, so that the core network 30 processes the VLAN request packet to generate a VLAN response packet, and sends the VLAN response packet to the MEC device 10;
a VLAN response packet transparent transmission forwarding module 21, configured to, when the MEC device 10 receives the VLAN response packet from the core network 30 and determines that a destination IP of the VLAN response packet is not within a local IP segment range set by the MEC device 10, transmit the VLAN response packet to the base station 20, so as to implement transmission of the VLAN packet between the base station 20 and the core network 30.
The local processing module 14 comprises: and an ARP response module 22, configured to perform an ARP response on a sending end of the ARP packet when the destination IP of the ARP packet received by the MEC device 10 is the local IP.
The local processing module 14 further comprises:
a VLAN decapsulation module 23, configured to record an identifier of the VLAN request packet and perform VLAN header decapsulation on the VLAN request packet and decapsulation of a GTPU tunnel to obtain the user packet when the determination module 12 determines that a destination IP of the VLAN request packet sent from the base station 20 is within a local IP segment range set by the MEC device 10, where the MEC device 10 sends the user packet to the local network 40, so that the local network 40 generates a user response packet and sends the user response packet to the MEC device 10;
a sending module 24, configured to send the user packet to the local network 40, so that the local network 40 generates a user response packet and sends the user response packet to the MEC device 10;
the VLAN encapsulation module 25 is configured to, when the MEC device 10 receives the user response packet returned by the local network 40, perform VLAN header encapsulation and GTPU tunnel encapsulation on the user response packet according to the recorded VLAN request identifier to obtain the VLAN response packet, and send the VLAN response packet to the base station 20, so as to implement VLAN packet transmission between the base station 20 and the core network 30.
The step of judging, by the MEC device 10, the destination IP of the received packet further includes: when the packet is a non-VLAN IP packet, the non-VLAN IP packet is a user packet without adding a VLAN header package but with adding a GTPU tunnel package, an IP header of the user packet includes a destination IP of the non-VLAN IP packet, and the step of determining, by the MEC device 10, the destination IP of the received packet is: the MEC device 10 determines a destination IP for an IP header of a user packet included in the received non-VLAN IP packet, so as to perform the transparent transmission and forwarding or the local processing on the non-VLAN IP packet according to a determination result.
Referring to fig. 7, which is a schematic structural diagram of a physical network card of an MEC device 10 according to a fourth embodiment of the present invention, a physical network card 51 and a CPU processor 52 are disposed in the MEC device 10, the physical network card 51 is provided with a fault detection module 53, the fault detection module 53 detects software and hardware states of the CPU processor 52 in real time, and when the fault detection module 53 detects that the software and hardware of the CPU processor 52 are abnormal, the physical network card 51 is notified to enter a bypass state, so that the base station 20 and the core network 30 perform direct message transmission through the physical network card 51.
Referring to fig. 8, a schematic structural diagram of a message transmission system according to a fifth embodiment of the present invention is shown, where the message transmission system includes a base station 20, a core network 30, a local network 40, and an MEC device 10, the MEC device 10 is disposed between the core network 30 and at least one of the base stations 20, the MEC device 10 serves the local network 40, the base station 20 is further connected to a user equipment 50, and the core network 30 is further connected to an internet 60.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims (14)
1. A message transmission method is used for message transmission of MEC equipment, and is characterized by comprising the following steps:
when a message is received, judging whether the destination IP of the message conforms to a local IP rule or not;
if the destination IP of the message does not accord with the local IP rule, the message is transmitted and forwarded;
and if the destination IP of the message conforms to the local IP rule, locally processing the message.
2. The message transmission method according to claim 1, wherein the step of determining whether the destination IP of the message complies with the local IP rule comprises: and judging whether the target IP contained in the message conforms to the local IP rule or not according to the local IP or a preset local IP segment range.
3. The message transmission method according to claim 2, wherein the message is an ARP message, and the step of determining whether the destination IP of the ARP message complies with the local IP rule comprises determining whether the destination IP of the ARP message is the local IP;
the step of transparent transmission forwarding comprises:
when the ARP message is received and the target IP of the ARP message is judged not to be the local IP, carrying out transparent transmission and forwarding on the ARP message;
the step of locally processing comprises:
and when the ARP message is received and the target IP of the ARP message is judged to be the local IP, carrying out ARP response on the sending end of the ARP message according to the ARP message.
4. The message transmission method according to claim 2, characterized in that:
the message is a VLAN message, the VLAN message is a user message added with VLAN header encapsulation and GTPU tunnel encapsulation, and an IP header of the user message comprises a target IP of the VLAN message;
the step of judging whether the destination IP of the received message conforms to the local IP rule comprises the step of judging whether the destination IP of the VLAN message is in the range of the local IP section;
the step of transparent transmission forwarding comprises:
when the VLAN message is received and the target IP of the VLAN message is judged not to be in the range of the local IP section according to the IP head of the user message in the VLAN message, the VLAN message is transmitted and forwarded;
the step of locally processing comprises:
and when the target IP of the VLAN message is judged to be in the range of the local IP section, recording the identifier of the VLAN message, performing VLAN header de-encapsulation and GTPU tunnel de-encapsulation on the VLAN message to obtain the user message, and sending the user message to a local network for response.
5. The message transmission method according to claim 2, characterized in that:
the message is a non-VLAN IP message, the non-VLAN IP message is a user message which is not added with VLAN header encapsulation but added with GTPU tunnel encapsulation, and the IP header of the user message comprises a target IP of the non-VLAN IP message;
the step of judging whether the destination IP of the received message conforms to the local IP rule comprises the following steps: and judging whether the IP head of the user message contained in the non-VLAN IP message is the local IP or in the range of the local IP section, so as to carry out the transparent transmission and forwarding or the local processing on the non-VLAN IP message according to the judgment result.
6. The message transmission method according to claim 1, wherein the method further comprises:
the MEC equipment detects the software and hardware states of a CPU (central processing unit) processor of the MEC equipment in real time, and when the software and hardware of the CPU processor are detected to be abnormal, the MEC equipment is informed that a physical network card of the MEC equipment enters a bypass state, so that the message is directly transmitted through the physical network card.
7. An MEC apparatus, characterized in that the MEC apparatus comprises:
the message receiving module is used for receiving a message;
the judging module is used for judging whether the destination IP of the message conforms to the local IP rule or not;
the transparent transmission forwarding module is used for transmitting and forwarding the message when the judging module judges that the target IP of the message does not accord with the local IP rule;
and the local processing module is used for locally processing the message when the judging module judges that the destination IP of the message conforms to the local IP rule.
8. The MEC apparatus according to claim 7, wherein the packet is an ARP packet, and the determining module is specifically configured to determine whether a destination IP of the ARP packet is a local IP of the MEC apparatus;
the transparent transmission forwarding module comprises:
and the ARP message transparent transmission forwarding module is used for transmitting and forwarding the ARP message when the judging module judges that the target IP of the ARP message is not the local IP.
9. The MEC device of claim 7, wherein the packet is a VLAN packet, the VLAN packet is a user packet added with a VLAN header encapsulation and a GTPU tunnel encapsulation, and an IP header of the user packet contains a destination IP of the VLAN packet;
the judging module is specifically configured to judge whether a destination IP of the VLAN packet is within a local IP segment range set by the MEC device;
the transparent transmission forwarding module further comprises:
and the VLAN message transparent transmission and forwarding module is used for transmitting and forwarding the VLAN message when the MEC equipment receives the VLAN request message and judges that the target IP of the VLAN message is not in the range of the local IP section set by the MEC equipment according to the IP head of the user message in the VLAN message.
10. The MEC device of claim 7 wherein the local processing module comprises:
and the ARP response module is used for carrying out ARP response on the sending end of the ARP message when the judging module judges that the target IP of the received ARP message is the local IP.
11. The MEC device of claim 7 wherein the local processing module further comprises:
the VLAN decapsulation module is used for recording the identifier of the VLAN message and performing VLAN header decapsulation and GTPU tunnel decapsulation on the VLAN message to obtain a user message when the judgment module judges that the target IP of the VLAN message is within the range of the local IP section set by the MEC equipment;
and the sending module is used for sending the user message to a local network.
12. The MEC device of claim 7, wherein the packet is a non-VLAN IP packet, the non-VLAN IP packet is a user packet without a VLAN header encapsulation but with a GTPU tunnel encapsulation, and an IP header of the user packet contains a destination IP of the non-VLAN IP packet;
the judgment module is specifically configured to: and judging the target IP of the IP header of the user message contained in the non-VLAN IP message so as to carry out the transparent transmission forwarding or the local processing on the non-VLAN IP message according to the judgment result.
13. The MEC apparatus of claim 7, wherein:
the method comprises the steps that a physical network card of the MEC equipment is provided with a fault detection module, the fault detection module detects the software and hardware states of a CPU (central processing unit) of the MEC equipment in real time, and when the software and hardware of the CPU are detected to be abnormal, the physical network card is informed to enter a bypass state, so that messages are directly transmitted through the physical network card.
14. A messaging system comprising a base station, a core network, a local network and an MEC apparatus according to any one of claims 7 to 13, the MEC apparatus being arranged in series between the base station and the core network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610824394.1A CN107819658B (en) | 2016-09-14 | 2016-09-14 | Message transmission method, MEC (message aggregation center) equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610824394.1A CN107819658B (en) | 2016-09-14 | 2016-09-14 | Message transmission method, MEC (message aggregation center) equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107819658A CN107819658A (en) | 2018-03-20 |
CN107819658B true CN107819658B (en) | 2021-08-10 |
Family
ID=61600658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610824394.1A Active CN107819658B (en) | 2016-09-14 | 2016-09-14 | Message transmission method, MEC (message aggregation center) equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107819658B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109302709B (en) * | 2018-09-14 | 2022-04-05 | 重庆邮电大学 | Mobile edge computing-oriented vehicle networking task unloading and resource allocation strategy |
CN109379760B (en) * | 2018-12-24 | 2022-03-25 | 新华三技术有限公司 | MEC bypass system and method |
CN109861867B (en) * | 2019-02-28 | 2022-04-26 | 新华三技术有限公司 | MEC service processing method and device |
CN112788089B (en) * | 2019-11-11 | 2023-11-07 | 财团法人工业技术研究院 | Multi-edge cloud network communication control method, edge computing device and system |
CN110943922A (en) * | 2019-12-11 | 2020-03-31 | 中国联合网络通信集团有限公司 | Data distribution method and router |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110746A (en) * | 2007-08-16 | 2008-01-23 | 华为技术有限公司 | Edge equipment of operators, city Ethernet access network and its data processing method |
CN101159750A (en) * | 2007-11-20 | 2008-04-09 | 杭州华三通信技术有限公司 | Identification authenticating method and apparatus |
CN101304338A (en) * | 2008-07-09 | 2008-11-12 | 杭州华三通信技术有限公司 | Method and apparatus for discovering equipment in multi-protocol label switching three-layer VPN |
CN105207873A (en) * | 2015-08-31 | 2015-12-30 | 华为技术有限公司 | Message processing method and apparatus |
WO2016023935A1 (en) * | 2014-08-14 | 2016-02-18 | Nokia Solutions And Networks Oy | Throughput guidance based on user plane insight |
WO2016114762A1 (en) * | 2015-01-13 | 2016-07-21 | Nokia Solutions And Networks Oy | Isolated e-utran operation |
-
2016
- 2016-09-14 CN CN201610824394.1A patent/CN107819658B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110746A (en) * | 2007-08-16 | 2008-01-23 | 华为技术有限公司 | Edge equipment of operators, city Ethernet access network and its data processing method |
CN101159750A (en) * | 2007-11-20 | 2008-04-09 | 杭州华三通信技术有限公司 | Identification authenticating method and apparatus |
CN101304338A (en) * | 2008-07-09 | 2008-11-12 | 杭州华三通信技术有限公司 | Method and apparatus for discovering equipment in multi-protocol label switching three-layer VPN |
WO2016023935A1 (en) * | 2014-08-14 | 2016-02-18 | Nokia Solutions And Networks Oy | Throughput guidance based on user plane insight |
WO2016114762A1 (en) * | 2015-01-13 | 2016-07-21 | Nokia Solutions And Networks Oy | Isolated e-utran operation |
CN105207873A (en) * | 2015-08-31 | 2015-12-30 | 华为技术有限公司 | Message processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107819658A (en) | 2018-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107819658B (en) | Message transmission method, MEC (message aggregation center) equipment and system | |
CN102025617B (en) | Method and device for controlling congestion of Ethernet | |
US20100260146A1 (en) | Seamless handoff scheme for multi-radio wireless mesh network | |
CN101277477B (en) | Method, apparatus and system for equalizing flux | |
EP2472944B1 (en) | Method and device for offloading network traffic | |
EP2391161A1 (en) | Efficient handoffs between cellular and wireless local area networks | |
KR100677591B1 (en) | Terminal having a function of hand-over between different networks based on stream control transmission protocol and hand-over method of the same | |
CN101207571B (en) | Apparatus and method for forwarding packets | |
CN105531967B (en) | Message transmission method, device and communication system | |
CN112235211B (en) | UPF system based on cooperation of switch and UPF equipment and control method thereof | |
CN110752979B (en) | Tunnel transmission method, device and network equipment of message | |
CN113784374A (en) | Device and method for deep data processing of base station | |
CN113473538A (en) | Wireless convergence network-based shunt control method and system | |
EP1203473B1 (en) | Method, system and radio base station for paging a mobile station in a third generation gprs network | |
US7027826B2 (en) | Gateway GPRS support node and method therefor | |
CN111556530B (en) | Data processing method and UPF unit | |
CN100452766C (en) | IP data stream guiding system and method based on business trigging | |
US8059660B2 (en) | Communications routing systems and methods | |
CN114666846A (en) | Communication method and gateway equipment | |
TWI701925B (en) | Method for providing network service through edge computing | |
CN103004151A (en) | Method, device and system for detecting and establishing local route | |
CN111698153A (en) | Communication path selection method and device | |
CN113938349B (en) | Wireless industrial bus communication method and system | |
CN106937315A (en) | Data receiving-transmitting method and device | |
CN105850084A (en) | Data transmission method, forwarding information updating method, communications device, and controller |
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 |