CN114051013B - Communication data transmission method and device - Google Patents

Communication data transmission method and device Download PDF

Info

Publication number
CN114051013B
CN114051013B CN202111248751.1A CN202111248751A CN114051013B CN 114051013 B CN114051013 B CN 114051013B CN 202111248751 A CN202111248751 A CN 202111248751A CN 114051013 B CN114051013 B CN 114051013B
Authority
CN
China
Prior art keywords
message
forwarding
address
target
interface
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
CN202111248751.1A
Other languages
Chinese (zh)
Other versions
CN114051013A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111248751.1A priority Critical patent/CN114051013B/en
Publication of CN114051013A publication Critical patent/CN114051013A/en
Application granted granted Critical
Publication of CN114051013B publication Critical patent/CN114051013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Abstract

The application discloses a communication data transmission method and a device, wherein a user plane function receives a message to be forwarded from a base station, other user plane functions or a data network, and based on a transmission interface of the message, judges the message type of the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message or not; and forwarding the message according to the message judgment result. Therefore, under the condition that the message is an ARP message, the message can be judged to be the message sent by the Ethernet UE or the message to be sent to the Ethernet UE, and the message processing method is different from the message processing method of the common user, so that the message of the Ethernet UE is prevented from being processed in the message processing method of the common user through 5GC, the message loss of the Ethernet UE is prevented, and the message to be forwarded by the Ethernet UE is ensured to be normally transmitted.

Description

Communication data transmission method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting communication data.
Background
The application of 5GC (5G Core Network) in communication networks is becoming more and more widespread, but there are some special devices in the current communication networks that cannot support the traffic plane flow carried on the common PDU of 5 GC. For example: the direct transmission of the Ethernet message cannot be carried in the common PDU (packet data unit) message transmission flow.
Specifically, in the 5GC uplink service, a PF (packet filter) included in a PDU session established by a 5GC ordinary UE (User Equipment) is layer three or more. After the PDU session is established, in the process of accessing DN (Data network) by the UE, a message is sent from the N3 interface of the base station to the N3 interface of the UPF (User Port Function, user plane function), or from the N9 interface of the IUPF to the N9 interface of the PSA-UPF. The UPF (User Plane Function ) forwards the message by using FAR (Forwarding Action Rules forwarding action rule) according to PF information of the user UE in the PDR (packet data rule). The UPF sends the message to an N6 interface of the gateway through the N6 interface, wherein the source MAC (source MAC) of the sent message in the Ethernet layer is the UPF of the N6 layer, and the destination MAC (destination MAC) is the gateway of the N6 layer.
And the PF included in the PDU session established by the Ethernet UE contains the MAC layer, so that the message of the Ethernet UE carries the Ethernet packet header of the Ethernet UE when being sent to the UPF. The UPF performs PF matching according to the Ethernet packet header, and then forwards the message by using FAR (Forwarding Action Rules forwarding behavior rule). However, since the source MAC (source MAC) contained in the ethernet header carried by the ethernet UE is the UE, the destination MAC (destination MAC) is the ethernet DN, and the transmissions of the UE and DN belong to the MAC layer. This is quite different from source MAC and destination MAC in normal UE messaging. Therefore, the normal transmission of the message of the Ethernet UE cannot be performed by using the 5GC service message processing mode of the common UE.
Similarly, for the downlink service of 5GC, the N6 port of the downlink packet of the 5GC general user receives the packet with the destination IP address of the terminal, the destination MAC of the packet is N6, and after the UPF receives the packet, the packet is matched through the PF of the N3 layer in the PDR, and the packet is forwarded by the FAR and sent out from N3/N9. The downstream message of the Ethernet user has no IP layer, the destination MAC of the downstream message is UE, and the downstream message is directly discarded under the condition that the common N6 interface discovers that the destination MAC is not the N6 interface after receiving the downstream message. Causing the downlink message to fail to reach the ethernet UE.
Therefore, how to make the 5G core network service compatible with the service of the special device to ensure the normal transmission of the message of the special device is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a communication data transmission method and device.
According to a first aspect of the present application, there is provided a communication data transmission method, the method comprising: receiving a message to be forwarded; based on the message transmission interface, judging the message type of the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message or not; and forwarding the message according to the message judgment result.
According to an embodiment of the present application, forwarding the message according to the message judgment result includes: and under the condition that the message is an ARP message based on GTP received through an N3 interface or an N9 interface, maintaining a source MAC address and a destination MAC address in the message, and forwarding the message according to forwarding behavior rules FAR.
According to an embodiment of the present application, forwarding the message according to the message judgment result includes: under the condition that the message is received through an N3 interface or an N9 interface but the message is not an ARP message based on GTP, performing MAC layer data packet filter matching to obtain a first matching result for showing whether the message accords with the PF information of the MAC layer; and forwarding the message according to the first matching result.
According to an embodiment of the present application, forwarding the packet according to the first matching result includes: and under the condition that the first matching result shows that the message accords with the PF information of the MAC layer, the source MAC address and the destination MAC address in the message are maintained, and the message is forwarded according to the forwarding behavior rule FAR.
According to an embodiment of the present application, forwarding the packet according to the first matching result includes: and under the condition that the first matching result shows that the message does not accord with the PF information of the MAC layer, forwarding the message according to forwarding behavior rules FAR of a common 5GC user.
According to an embodiment of the present application, forwarding the message according to the message judgment result includes: judging a target IP address in the message to obtain a target IP judgment result under the condition that the message is an ARP message received through an N6 interface; and forwarding the message according to the target IP address judgment result. According to an embodiment of the present application, forwarding the message according to the target IP address determination result includes: under the condition that the target IP address is the IP address of the N6 interface, learning the MAC address of the N6 interface according to the ARP message; and forwarding the message according to the MAC address learned by the N6 interface MAC address.
According to an embodiment of the present application, forwarding the message according to the target IP address determination result includes: judging the target IP address in the message again under the condition that the target IP address is not the IP address of the N6 interface, and obtaining a target user terminal judgment result; under the condition that the target user terminal judging result shows that the target IP address is the user terminal IP address, adding a GTP packet header to the message according to the target IP address, and forwarding the message according to forwarding behavior rules FAR of a user of the target IP address; and discarding the message under the condition that the target user terminal judging result shows that the target IP address is not the user terminal IP address.
According to an embodiment of the present application, forwarding the message according to the message judgment result includes: under the condition that the message is received through an N6 interface but the message is not an ARP message, performing MAC layer packet filter matching to obtain a second matching result for showing whether the message accords with the PF information of the MAC layer; forwarding the message according to the second matching result; forwarding the message according to the second matching result, including: if the second matching result shows that the message accords with the PF information of the MAC layer, adding a GTP packet header to the message, and forwarding the message according to forwarding behavior rules FAR of the user of the target IP address; and under the condition that the second matching result shows that the message does not accord with the PF information of the MAC layer, forwarding the message according to forwarding behavior rules FAR of a common 5GC user. .
According to a second aspect of the present application, there is also provided a communication data transmission apparatus, the apparatus comprising: the receiving module is used for receiving the message to be forwarded; the judging module is used for determining a transmission interface of the message, judging the message type of the message based on the transmission interface to obtain a message judging result, wherein the message judging result is used for showing whether the message is an ARP message or not; and the transmission module is used for forwarding the message according to the message judgment result.
According to the communication data transmission method and device, a user plane function receives a message to be forwarded from a base station or a data network, and based on a transmission interface of the message, message type judgment is carried out on the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message or not; and forwarding the message according to the message judgment result. Therefore, under the condition that the message is an ARP message, the message which is sent by the Ethernet UE or the message which needs to be sent to the Ethernet UE can be judged, and the message is different from the message processing mode of the common user, so that the message of the Ethernet UE is prevented from being processed in the message processing mode of the 5GC common user, the message loss of the Ethernet UE is avoided, and the normal transmission of the message of the Ethernet UE is ensured.
It should be understood that the teachings of the present application need not achieve all of the benefits set forth above, but rather that certain technical solutions may achieve certain technical effects, and that other embodiments of the present application may also achieve benefits not set forth above.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 shows a schematic flow chart of an implementation of a communication data transmission method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation flow of uplink data transmission in an application example of a communication data transmission method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an implementation flow of downlink data transmission in an application example of a communication data transmission method according to an embodiment of the present application;
fig. 4 is a schematic diagram showing the constitution of a communication data transmission device according to an embodiment of the present application;
fig. 5 shows a schematic diagram of a composition structure of an electronic device according to an embodiment of the present application.
Detailed Description
The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are presented merely to enable those skilled in the art to better understand and practice the application and are not intended to limit the scope of the application in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
The technical scheme of the application is further elaborated below with reference to the drawings and specific embodiments.
Fig. 1 shows a schematic implementation flow chart of a communication data transmission method according to an embodiment of the present application.
Referring to fig. 1, the communication data transmission method according to the embodiment of the present application at least includes the following operation flows: operation 101, receiving a message to be forwarded; operation 102, based on the transmission interface of the message, judging the message type of the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message; and 103, forwarding the message according to the message judgment result.
In operation 101, a message to be forwarded is received.
In this embodiment of the present application, the communication Data transmission method uses a UPF as an execution body, and the 5GC core network communication process may include two or more UPFs, including an I-UPF (Initial Intermediate User Port Function) near the UE (User Equipment) side and a PSA-UPF (User Port Function of PDU Session Anchor) near the DN (Data network). The user plane function may be I-UPF. The I-UPF is able to receive GTP (General Packet Radio Service Tunneling Protocol, GPRS tunneling protocol) based messages from a base station (RAN (gNB)) over the N3 interface. And the I-UPF is also capable of receiving GTP-based messages from the PSA-UPF over the N9 interface. The PSA-UPF can receive messages from DN through N6 interface, and can also receive messages from I-UPF through N9 interface.
In this embodiment of the present application, there may be only one UPF in the 5GC core network communication process, where the user plane function UPF may receive a GTP-based packet from the base station through the N3 interface, and may receive a packet from the DN through the N6 interface.
In this embodiment of the application, the UPF may also receive user plane rules from the SMF (Session Management Function ) via the N4 interface and finally implement data offloading according to the received user plane rules. The N4 interface data adopts PFCP (Packet Forwarding Control Protocol, message forwarding control protocol). The external may use PFCP Session established by UPF to identify (PDRs, packet Detection Rules, packet discovery rules), forward (FARs, forwarding Action Rules), process (BARs, buffering Action Rules), mark (QERs, qoS Enforcement Rules), and report (URRs, usage Reporting Rules) packets.
In operation 102, based on the transmission interface of the message, the message type of the message is judged to obtain a message judgment result, and the message judgment result is used for showing whether the message is an ARP message.
In this embodiment of the present application, the determination of the transmission interface of the packet may be implemented by using a transmission interface determination method commonly used in the art. For example, the source of the message may be determined according to the source MAC in the message, so as to determine the transmission interface of the message. Of course, other applicable transmission interface determining methods may also be used, and will not be described herein.
In this embodiment of the present application, for a GTP-based message that the I-UPF receives from the base station through the N3 interface, it is necessary to determine whether the message contains an ARP (Address Resolution Protocol ) message. ARP is a TCP/IP protocol that obtains a physical address from an IP address, and the ARP packet has a specific header. The ARP header contains the MAC addresses of the source address and the destination address. The MAC address of the source address is used to show the hardware address of the sender device and the MAC address of the destination address is used to show the hardware address of the receiver device. If the message contains a specific ARP packet header, it can be determined that the message contains an ARP message.
In this embodiment of the present application, for the PSA-UPF to receive the uplink packet based on GTP from the I-UPF through the N9 interface, the packet type of the packet needs to be determined, so as to obtain a packet determination result.
For example, if the message is an ARP message based on GTP received by the UPF through the N3 or N9 interface, the message may be determined to be an ARP message sent by the ethernet UE to the ethernet DN, a source MAC address and a destination MAC address in the message may be maintained, and forwarding the message through the N6 interface according to a forwarding behavior rule FAR.
If the message is received through the N3 interface or the N9 interface but the message is not an ARP message, matching of the MAC layer PF (Packet filter) is required. And further determining how to forward the message according to the matching result.
In this embodiment of the present application, for PSA-UPF to receive a downlink message based on GTP from DN through an N6 interface, it is also necessary to perform message type judgment on the message, so as to obtain a message judgment result. The specific message type determination result and how to forward the message according to the determination result will be described in detail in operation 103 below, which is not described here again.
In operation 103, the message is forwarded according to the message judgment result.
In this embodiment of the present application, if the message judgment result shows that the message is a GTP-based ARP message received through the N3 interface or the N9 interface, it may be determined that the message is an ARP message sent by the ethernet UE to the ethernet DN, and the source MAC address and the destination MAC address in the message may be maintained, and the message is forwarded according to the forwarding behavior rule FAR.
For example, for a GTP-based message received by the I-UPF from the base station through the N3 interface, if the message is an ARP message, it is indicated that the message is an ARP message sent by the ethernet UE to the ethernet DN.
If only one UPF exists in the 5GC core network where the UPF exists, the source MAC address and the destination MAC address in the message can be kept, and the message is directly forwarded to the DN according to the FAR through an N6 interface.
If there are two or more UPFs in the 5GC core network where the UPF is located, the UPF is an I-UPF, then the source MAC address and the destination MAC address in the message can be kept, and the message is directly forwarded to the PSA-UPF according to the FAR through the N9 interface.
In the case where the message judgment result shows that the message is received through the N3 or N9 interface but the message itself is not an ARP message, for example: and receiving an uplink message based on GTP from a base station through an N3 interface for the I-UPF or receiving an uplink message from the I-UPF by the PSA-UPF. If the message judgment result shows that the message is not an ARP message, the message needs to be subjected to MAC layer data packet filter matching, and a matching result for showing whether the message accords with the MAC layer data transmission protocol is obtained. And forwarding the message according to the matching result.
For example, if the message accords with the transmission protocol of the data packet filter of the MAC layer, the message is judged to be from the Ethernet UE and is sent to the Ethernet DN, the message source MAC is not changed, and the layer two message is directly forwarded through the N9 interface. If the message does not accord with the transmission protocol of the MAC layer data packet filter, forwarding the message according to the common 5GC user.
In this embodiment of the present application, when the message judgment result shows that the message is an ARP message received through the N6 interface, the target IP address in the message is judged, so as to obtain a target IP judgment result; and forwarding the message according to the target IP address judgment result.
Here, a GTP-based downstream message is received from the DN over the N6 interface for PSA-UPF. If the message judgment result shows that the message is an ARP message, the message may be an ARP message which is received by the PSA-UPF from the Ethernet DN and needs to be sent to the Ethernet UE. At this time, further determination needs to be performed according to the target IP in the ARP message, to determine whether the message is an ARP message received from the ethernet DN and to be sent to the ethernet UE.
In this embodiment of the present application, the message is forwarded according to the target IP address determination result. Specifically, if the target IP address in the message is the N6 interface IP address of the local UPF, it may be determined that the message is a message sent to the PSA-UPF by the common DN, and MAC address learning of the N6 interface is required. The general N6 gateway MAC address learning process is adopted for the MAC address learning process of the N6 interface of the PSA-UPF, and the description is omitted here.
In this embodiment of the present application, the message is forwarded according to the target IP address determination result. Specifically, the target IP address in the message may be judged again under the condition that the target IP address is not the IP address of the N6 interface, so as to obtain a judgment result of the target user terminal; forwarding the message according to the target IP address under the condition that the target IP address is shown as the user terminal IP address by the target user terminal judgment result; otherwise, the message is discarded.
For example, if the target IP address in the packet is not the N6 interface IP address of the local UPF, the packet may be a packet sent by the ethernet DN to the ethernet UE, and at this time, the target IP address in the packet needs to be determined again. If the target IP address in the message is the IP address of the user terminal, the message is really a message sent to the Ethernet UE by the Ethernet DN. At this time, the target IP address needs to be kept unchanged, and the GTP packet header is directly added to the packet according to the target IP address and then forwarded according to the FAR. For a 5GC core network with only one UPF, forwarding directly to the ethernet UE, for a 5GC core network with multiple UPFs, the message may be forwarded to the I-UPF.
If the target IP address in the message is not the N6 interface IP address of the UPF or the user terminal IP address, the message can be discarded.
In this embodiment of the present application, for PSA-UPF to receive a packet from DN through an N6 interface, if the packet determination result indicates that the packet itself is not an ARP packet, MAC layer packet filter matching needs to be performed on the packet, so as to obtain a matching result for indicating whether the packet conforms to a MAC layer data transmission protocol. And forwarding the message according to the matching result.
For example, if the packet is determined to conform to the MAC layer data transmission protocol through the matching of the MAC layer data transmission protocol, the packet may be determined to be a packet sent to the ethernet UE. At this time, it is required to add a GTP packet header to a packet containing a source destination MAC address according to the FAR without changing an ethernet layer header, and forward the packet added with the GTP packet header to the I-UPF through the N9 interface or to the RAN through the N3 interface.
If the message is determined to be not in accordance with the MAC layer data transmission protocol through the matching of the MAC layer data transmission protocol, the message can be judged to be not sent to the Ethernet UE, and can be processed according to the common 5GC user service surface message.
In this embodiment of the present application, for PSA-UPF to receive an uplink message based on GTP from I-UPF through an N9 interface, if the message judgment result shows that the message is an ARP message, it may be determined that the message is an ARP message sent by ethernet UE to ethernet DN, and the source MAC address and the destination MAC address in the message may be maintained, and the message is forwarded according to the forwarding behavior rule FAR.
When the message judgment result shows that the message is received through the N9 interface but the message is not an ARP message, for the PSA-UPF to receive the uplink message based on GTP from the I-UPF through the N9 interface, if the message judgment result shows that the message is not an ARP message, the message is required to be subjected to MAC layer packet filter matching, and a matching result for showing whether the message accords with the MAC layer data transmission protocol is obtained. And forwarding the message according to the matching result.
For example, if the message accords with the transmission protocol of the data packet filter of the MAC layer, the message is judged to be from the Ethernet UE and is sent to the Ethernet DN, the message source MAC is not changed, and the layer two message is directly forwarded through the N6 interface. If the message accords with the MAC layer data packet filter transmission protocol, forwarding the message according to a common 5GC user.
Fig. 2 is a schematic diagram of an implementation flow of uplink data transmission in an application example of a communication data transmission method according to an embodiment of the present application.
Referring to fig. 2, in an application example of the communication data transmission method according to the embodiment of the present application, an uplink data transmission process at least includes:
in operation 201, the UPF starts, the user establishes a PDU, records the UE address, and the UPF receives the message through the N3 interface or the N9 interface.
Operation 202 determines whether the message is a GTP-based ARP message. If yes, then operation 203 is performed; otherwise, operation 204 is performed.
Operation 203, directly forwarding through the N6 interface according to FAR rule without changing the source MAC address and destination MAC address of the message.
And 204, judging whether the service message is matched with PF information of the MAC layer. If yes, then operation 206 is performed; otherwise, operation 205 is performed.
And operation 205, processing the service message according to a common 5GC user service message processing mode.
And operation 206, forwarding the service message according to the PF information of the MAC layer according to the FAR rule.
In operation 207, according to the service message of the MAC layer, the service message is forwarded through the N6 interface or the N9 interface without changing the source MAC address and the destination MAC address of the service message.
The specific implementation process of operations 201 to 207 is similar to that of the embodiment shown in fig. 1, and will not be described here again.
Fig. 3 is a schematic diagram of an implementation flow of downlink data transmission in an application example of a communication data transmission method according to an embodiment of the present application.
Referring to fig. 3, in an application example of the communication data transmission method according to the embodiment of the present application, a downlink data transmission process at least includes:
operation 301, UPF starts, and the user establishes a PDU, records the UE address, and the UPF receives the message through the N6 interface.
Operation 302 determines whether the message is an ARP message. If yes, then operation 303 is performed; otherwise, operation 304 is performed.
In operation 303, it is determined whether the message is sent to the address of the N6 interface. If yes, then operation 307 is performed; otherwise, operation 308 is performed.
Operation 304 judges whether the message matches the PF information of the MAC layer. If yes, then operation 308 is performed; otherwise, operation 306 is performed.
And (3) processing the message according to a common 5GC user service message processing mode in operation 305.
Operation 306, N6 interface MAC address learning is performed.
Operation 307 determines whether the message is an ARP message sent to the UE. If yes, then operation 308 is performed; otherwise, operation 309 is performed.
And operation 308, adding a GTP packet header into the message according to the PF information matching result of the MAC layer of the UE in the message, and forwarding the GTP packet header to the base station or the I-UPF.
Operation 309 discards the ARP message.
The specific implementation process of operations 301 to 310 is similar to that of the embodiment shown in fig. 1, and will not be described here again.
According to the communication data transmission method and device, a user plane function receives a message to be forwarded from a base station, other user plane functions or a data network, and based on a transmission interface of the message, message type judgment is carried out on the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message or not or whether the message is an ARP message or not; and forwarding the message according to the message judgment result. Therefore, under the condition that the message is an ARP message, the message can be judged to be the message sent by the Ethernet UE or the message to be sent to the Ethernet UE, and the message processing method is different from the message processing method of the common user, so that the message of the Ethernet UE is prevented from being processed in the message processing method of the common user through 5GC, the message loss of the Ethernet UE is prevented, and the message to be forwarded by the Ethernet UE is ensured to be normally transmitted.
Similarly, based on the above communication data transmission method, the embodiment of the present application further provides a computer readable storage medium storing a program, which when executed by a processor, causes the processor to perform at least the following operation steps: operation 101, receiving a message to be forwarded; operation 102, based on the transmission interface of the message, judging the message type of the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message; and 103, forwarding the message according to the message judgment result.
Further, there is also provided a communication data transmission apparatus, the apparatus 40 comprising: a receiving module 401, configured to receive a message to be forwarded; the judging module 402 is configured to judge a message type of the message based on a transmission interface of the message, to obtain a message judging result, where the message judging result is used to show whether the message includes an ARP message; and the transmission module 403 is configured to forward the message according to the message judgment result.
In this embodiment of the present application, the transmission module 403 includes: and the first forwarding sub-module is used for keeping a source MAC address and a destination MAC address in the message under the condition that the message is an ARP message received through an N3 interface, and forwarding the message according to forwarding behavior rules FAR.
In this embodiment of the present application, the transmission module 403 includes: the first matching sub-module is used for performing MAC layer packet filter matching to obtain a first matching result for showing whether the message accords with the PF information of the MAC layer or not when the message is received through an N3 interface but the message is not an ARP message; and the second forwarding sub-module is used for forwarding the message according to the first matching result.
In this embodiment of the present application, the forwarding, by the second forwarding sub-module, the packet according to the first matching result includes: and under the condition that the first matching result shows that the message accords with the PF information of the MAC layer, the source MAC address and the destination MAC address in the message are maintained, and the message is forwarded according to the forwarding behavior rule FAR.
In this embodiment of the present application, the transmission module 403 includes: the second matching sub-module is used for performing MAC layer data packet filter matching to obtain a matching result for showing whether the message accords with the MAC layer data transmission protocol or not when the message judging result shows that the message is not an ARP message; and the third forwarding sub-module is used for forwarding the message according to the matching result.
In this embodiment of the present application, the transmission module 403 includes: the IP judgment sub-module is used for judging a target IP address in the message to obtain a target IP judgment result under the condition that the message is an ARP message received through N6; and the fourth forwarding sub-module is used for forwarding the message according to the target IP address judgment result.
In this embodiment of the present application, the fourth forwarding sub-module forwards the packet according to the target IP address determination result, including: under the condition that the target IP address is the IP address of the N6 interface, MAC learning is carried out according to the ARP message; and forwarding the message according to the MAC address after MAC learning.
In this embodiment of the present application, the transmission module 403 includes: the IP re-judging sub-module is used for judging the target IP address in the message again under the condition that the target IP address is not the IP address of the N6 interface, so as to obtain a target user terminal judging result; and a fifth forwarding sub-module, configured to forward the packet according to the target IP address when the target user terminal determines that the target IP address is the user terminal IP address, and otherwise discard the packet.
In this embodiment of the present application, the transmission module 403 includes: the second matching sub-module is used for performing MAC layer packet filter matching to obtain a matching result for showing whether the message accords with the PF information of the MAC layer or not when the message is received through the N9 interface but the message is not an ARP message; and the sixth forwarding sub-module is used for forwarding the message according to the second matching result.
In this embodiment of the present application, the sixth forwarding sub-module forwards the packet according to the second matching result, including: and under the condition that the matching result shows whether the message accords with the PF information of the MAC layer, the original MAC address is kept, and the message is forwarded according to the forwarding behavior rule FAR. In addition, based on the communication data transmission method as above, the embodiment of the present application further provides an electronic device, as shown in fig. 5, where the device 50 includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor 501; wherein, the processor 501 and the memory 502 complete communication with each other through the bus 503; the processor 501 is configured to invoke the program instructions in the memory 502 to perform the communication data transmission method described above.
It should be noted here that: the above description of the embodiments of the communication data transmission device and the electronic apparatus, which are similar to the description of the method embodiments shown in fig. 1 to 3, has similar advantageous effects as the method embodiments shown in fig. 1 to 3, and thus will not be repeated. For technical details not disclosed in the embodiments of the communication data transmission device of the present application, please refer to the description of the method embodiments of fig. 1 to 3 for the sake of economy, and therefore, details are not repeated.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely illustrative embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present application, and the application should be covered. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (8)

1. A communication data transmission method using UPF as an execution subject, the method comprising:
receiving a message to be forwarded;
based on the message transmission interface, judging the message type of the message to obtain a message judgment result, wherein the message judgment result is used for showing whether the message is an ARP message or not;
forwarding the message according to the message judgment result; forwarding the message according to the message judgment result, including: judging a target IP address in the message to obtain a target IP judgment result under the condition that the message is an ARP message received through an N6 interface; forwarding the message according to the target IP address judgment result; under the condition that the message is received through an N6 interface but the message is not an ARP message, performing MAC layer packet filter matching to obtain a second matching result for showing whether the message accords with the PF information of the MAC layer; forwarding the message according to the second matching result; forwarding the message according to the second matching result, including: if the second matching result shows that the message accords with the PF information of the MAC layer, adding a GTP packet header to the message, and forwarding the message according to forwarding behavior rules FAR of a user of a target IP address; and under the condition that the second matching result shows that the message does not accord with the PF information of the MAC layer, forwarding the message according to forwarding behavior rules FAR of a common 5GC user.
2. The method of claim 1, forwarding the message according to the message judgment result, comprising:
and under the condition that the message is an ARP message based on GTP received through an N3 interface or an N9 interface, maintaining a source MAC address and a destination MAC address in the message, and forwarding the message according to forwarding behavior rules FAR.
3. The method of claim 1, forwarding the message according to the message judgment result, comprising:
under the condition that the message is received through an N3 interface or an N9 interface but the message is not an ARP message based on GTP, performing MAC layer data packet filter matching to obtain a first matching result for showing whether the message accords with the PF information of the MAC layer;
and forwarding the message according to the first matching result.
4. The method of claim 3, forwarding the message according to the first matching result, comprising:
and under the condition that the first matching result shows that the message accords with the PF information of the MAC layer, the source MAC address and the destination MAC address in the message are maintained, and the message is forwarded according to the forwarding behavior rule FAR.
5. The method of claim 3, forwarding the message according to the first matching result, comprising:
and under the condition that the first matching result shows that the message does not accord with the PF information of the MAC layer, forwarding the message according to forwarding behavior rules FAR of a common 5GC user.
6. The method of claim 1, forwarding the message according to the target IP address determination result, including:
under the condition that the target IP address is the IP address of the N6 interface, learning the MAC address of the N6 interface according to the ARP message;
and forwarding the message according to the MAC address learned by the N6 interface MAC address.
7. The method of claim 1, forwarding the message according to the target IP address determination result, including:
judging the target IP address in the message again under the condition that the target IP address is not the IP address of the N6 interface, and obtaining a target user terminal judgment result;
adding a GTP packet header to the message under the condition that the target IP address is shown as the user terminal IP address by the target user terminal judgment result, and forwarding the message according to a forwarding behavior rule FAR of a user of the target IP address; and discarding the message under the condition that the target user terminal judging result shows that the target IP address is not the user terminal IP address.
8. A communication data transmission apparatus, the apparatus comprising:
the receiving module is used for receiving the message to be forwarded;
the judging module is used for judging the message type of the message based on the transmission interface of the message to obtain a message judging result, and the message judging result is used for showing whether the message is an ARP message or not;
the transmission module is used for forwarding the message according to the message judgment result; forwarding the message according to the message judgment result, including: judging a target IP address in the message to obtain a target IP judgment result under the condition that the message is an ARP message received through an N6 interface; forwarding the message according to the target IP address judgment result; under the condition that the message is received through an N6 interface but the message is not an ARP message, performing MAC layer packet filter matching to obtain a second matching result for showing whether the message accords with the PF information of the MAC layer; forwarding the message according to the second matching result; forwarding the message according to the second matching result, including: if the second matching result shows that the message accords with the PF information of the MAC layer, adding a GTP packet header to the message, and forwarding the message according to forwarding behavior rules FAR of a user of a target IP address; and under the condition that the second matching result shows that the message does not accord with the PF information of the MAC layer, forwarding the message according to forwarding behavior rules FAR of a common 5GC user.
CN202111248751.1A 2021-10-26 2021-10-26 Communication data transmission method and device Active CN114051013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111248751.1A CN114051013B (en) 2021-10-26 2021-10-26 Communication data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248751.1A CN114051013B (en) 2021-10-26 2021-10-26 Communication data transmission method and device

Publications (2)

Publication Number Publication Date
CN114051013A CN114051013A (en) 2022-02-15
CN114051013B true CN114051013B (en) 2023-11-24

Family

ID=80205846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248751.1A Active CN114051013B (en) 2021-10-26 2021-10-26 Communication data transmission method and device

Country Status (1)

Country Link
CN (1) CN114051013B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051013B (en) * 2021-10-26 2023-11-24 联想(北京)有限公司 Communication data transmission method and device
EP4283946A1 (en) * 2022-05-23 2023-11-29 Telia Company AB Managing an establishment of a communication connection

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051013A (en) * 2021-10-26 2022-02-15 联想(北京)有限公司 Communication data transmission method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094236B (en) * 2007-07-20 2011-08-10 华为技术有限公司 Method for processing message in address resolution protocol, communication system, and forwarding planar process portion
CN101667969B (en) * 2009-09-24 2014-09-10 中兴通讯股份有限公司 Method of accessing IP/L3VPN network of L2VPN network and device thereof
EP3082305B1 (en) * 2013-12-31 2019-05-22 Huawei Technologies Co., Ltd. Message transmission method, apparatus and communication system
CA3021658A1 (en) * 2017-10-20 2019-04-20 Comcast Cable Communications, Llc Non-access stratum capability information
CN110166414B (en) * 2018-02-14 2021-10-26 华为技术有限公司 Communication method, device and system
CN110944360B (en) * 2019-12-31 2021-05-11 联想(北京)有限公司 Transmission method and device based on data channel N4-U

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051013A (en) * 2021-10-26 2022-02-15 联想(北京)有限公司 Communication data transmission method and device

Also Published As

Publication number Publication date
CN114051013A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
US6947483B2 (en) Method, apparatus, and system for managing data compression in a wireless network
US8630203B2 (en) Data transmission method and apparatus
CN114051013B (en) Communication data transmission method and device
KR100811890B1 (en) Anycast routing method and apparatus for supporting service flow in internet system
JP5826187B2 (en) Management of SMS spoofing using the SMPP protocol
JP2009534935A (en) Method for controlling the delivery of short messages in a wireless network
EP1210835A1 (en) Facilitating data transmission
WO2007000091A1 (en) A method for limiting the forwarding times of the multimedia message for the multimedia messaging service center mmsc and a system thereof
EP1504554A1 (en) Technique for IP communication among wireless devices
US20100271949A1 (en) Traffic processing system and method of processing traffic
CN112104568B (en) Data transmission control method and gateway
CN111246453A (en) Data transmission method, user plane network element and control plane network element
EP2456144B1 (en) Method, device and system for identifying a service
US8000245B2 (en) Internet protocol header compression reordering
CN112105053A (en) Congestion control method and device
US9544241B2 (en) Queue scheduling method, apparatus and system
JP5124591B2 (en) Method for displaying consecutive data units in RAN
US20060056381A1 (en) Mobile communication system and packet processing method thereof
CN108650237B (en) Message security check method and system based on survival time
US20100020749A1 (en) Method of downlink packet transmission control in mobile communications system
CN113746736B (en) Method, device and communication system for sending and receiving message
CN101188567A (en) Processing method and device for downlink data packets of wireless packet gateway device
EP2348786A1 (en) Method and system for implementing dynamic telephone book service in ip multi-media sub-system
US9788299B2 (en) Base station paging based on traffic content type
EP2480017B1 (en) Method and system for allocating delivery reports

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