CN116389389A - Communication method, device and storage medium - Google Patents

Communication method, device and storage medium Download PDF

Info

Publication number
CN116389389A
CN116389389A CN202211741223.4A CN202211741223A CN116389389A CN 116389389 A CN116389389 A CN 116389389A CN 202211741223 A CN202211741223 A CN 202211741223A CN 116389389 A CN116389389 A CN 116389389A
Authority
CN
China
Prior art keywords
layer
uplink
message
core network
encapsulation
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.)
Pending
Application number
CN202211741223.4A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211741223.4A priority Critical patent/CN116389389A/en
Publication of CN116389389A publication Critical patent/CN116389389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a communication method, a device and a storage medium, relates to the technical field of mobile communication, and is applied to a tunnel gateway connected with core network equipment in a mobile communication system, wherein the mobile communication system also comprises a multi-stage base station connected through wireless relay equipment. The tunnel gateway acquires an uplink IP message from the core network equipment, identifies an IP header protocol field of an encapsulation layer of the uplink IP message, peels off a target encapsulation layer of which the IP header protocol field is encapsulated by Ethernet, extracts an uplink two-layer message, sends the uplink two-layer message to the L2Switch, decides a two-layer route by the L2Switch, and distributes the uplink two-layer message to the access network. The wireless relay equipment is used in the mobile communication system, the installation of the wireless relay equipment does not need to be laid with wire backhaul, the flexibility is higher, and the time and the cost for constructing the network are reduced; and the tunnel gateway connected with the core network equipment is utilized to disassemble and forward the data routed and forwarded by the wireless relay equipment, so that the flattened access of the wireless relay equipment to the core network is realized.

Description

Communication method, device and storage medium
Technical Field
The present disclosure relates to the field of mobile communications technologies, and in particular, to a communication method, a device, and a storage medium.
Background
The relay device refers to a relay device added between base stations when homogeneous network segments with the same interface and the same medium access control protocol are interconnected, and can amplify and forward the transmitted signals. Wherein the relay device comprises a wireless relay device.
When the existing mobile communication network system uses the wireless relay device, corresponding software upgrading processing is needed to be carried out on the base station and the core network device in advance respectively, so that the base station applied with the wireless relay device can be supported to access to the core network device through the bearing network.
However, the method has the problems of high deployment cost and high deployment difficulty.
Disclosure of Invention
The application provides a communication method, a device and a storage medium, which are used for solving the problems of high deployment cost and high difficulty.
In a first aspect, the present application provides a communication method, applied to a tunnel gateway in a mobile communication system, where the mobile communication system further includes a multi-stage base station and a core network device, the multi-stage base stations are connected through a wireless relay device, and the tunnel gateway is connected with the core network device; the communication method comprises the following steps: acquiring an uplink internet protocol (Internet Protocol, abbreviated as IP) message from core network equipment, wherein the uplink IP message comprises IP header protocol fields respectively corresponding to a plurality of encapsulation layers; detecting an encapsulation layer of the uplink IP message, and identifying an IP header protocol field of the encapsulation layer; stripping the target encapsulation layer with the IP header protocol field being Ethernet encapsulation to extract an uplink two-layer message; and sending the uplink two-layer message to the second-layer Switch L2Switch, deciding the two-layer route by the L2Switch, and distributing the uplink two-layer message to the access network.
Optionally, the tunnel gateway comprises logic components based on GPRS tunneling protocol.
Optionally, stripping is performed for a target encapsulation layer of the ethernet encapsulation for the IP header protocol field, and an uplink two-layer packet is extracted, including: if the uplink IP message only comprises one target encapsulation layer, stripping one target encapsulation layer, and extracting to obtain an uplink two-layer message; if the uplink IP message comprises a plurality of target packaging layers, the target packaging layers are stripped layer by layer, and an uplink two-layer message in each target packaging layer is extracted.
Optionally, sending an uplink two-layer packet to the L2Switch includes: in the process of extracting the uplink two-layer message, recording the mapping relation among the tunnel endpoint identifier TeId, the user datagram protocol UDP port and the IP address contained in the target encapsulation layer; recording the stripping sequence of the target packaging layer, and generating a hierarchical relationship in the stripping process of the uplink IP message; and sending the uplink two-layer message, the mapping relation and the hierarchical relation to the L2 Switch.
Optionally, the communication method further includes: receiving a downlink two-layer message from an L2 Switch; address information of the downlink two-layer message is analyzed; retrieving to obtain a mapping relation containing address information, and obtaining a hierarchical relation in the process of stripping the uplink IP message; reversely packaging the downlink two-layer message according to the hierarchical relationship and the mapping relationship to obtain a downlink IP message; and sending the downlink IP message to core network equipment.
Optionally, the communication method further includes: and if the hierarchical relationship is not obtained, discarding the downlink two-layer message.
Optionally, the core network device includes a user plane function UPF network element or a public data network gateway PGW network element.
Optionally, the communication method further includes: and if the IP header protocol fields of the encapsulation layer contained in the uplink IP message are all non-Ethernet encapsulation, transmitting the uplink IP message to the L2 Switch.
In a second aspect, the present application provides a communication apparatus, applied to a tunnel gateway in a mobile communication system, where the mobile communication system further includes a multi-stage base station and a core network device, the multi-stage base stations are connected through a wireless relay device, and the tunnel gateway is connected with the core network device; the communication device includes: the acquisition module is used for acquiring an uplink Internet Protocol (IP) message from the core network equipment, wherein the uplink IP message comprises IP header protocol fields respectively corresponding to a plurality of encapsulation layers; the identification module is used for detecting the encapsulation layer of the uplink IP message and identifying the IP header protocol field of the encapsulation layer; the extraction module is used for stripping the target encapsulation layer of the Ethernet encapsulation for the IP header protocol field and extracting an uplink two-layer message; and the sending module is used for sending the uplink two-layer message to the second-layer Switch L2Switch, deciding the two-layer route by the L2Switch and distributing the uplink two-layer message to the access network.
Optionally, the tunnel gateway comprises logic components based on GPRS tunneling protocol.
In a third aspect, the present application provides an electronic device, comprising: a memory, a processor; a memory for storing program instructions; a processor for invoking program instructions to perform the communication method as provided in any of the above first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out a communication method as provided in any one of the first aspects above.
In a fifth aspect, the present application provides a computer program product comprising a computer program; when executed, the computer program implements the communication method as provided in any one of the above first aspects.
The communication method, the device and the storage medium are applied to a tunnel gateway in a mobile communication system, the mobile communication system further comprises multi-stage base stations and core network equipment, the multi-stage base stations are connected through wireless relay equipment, and the tunnel gateway is connected with the core network equipment. The tunnel gateway detects the encapsulation layer of the uplink IP message by acquiring the uplink IP message from the core network device, wherein the uplink IP message comprises IP header protocol fields corresponding to a plurality of encapsulation layers respectively, identifies the IP header protocol fields of the encapsulation layer, strips the target encapsulation layer of which the IP header protocol fields are Ethernet encapsulation, extracts an uplink two-layer message, sends the uplink two-layer message to a second-layer Switch L2Switch, decides a two-layer route by the L2Switch, and distributes the uplink two-layer message to the access network. The wireless relay equipment is used in the mobile communication system, the installation of the wireless relay equipment does not need to be laid with wire backhaul, the flexibility is higher, and the time and the cost for constructing the network are reduced; the data which is routed and forwarded by the wireless relay equipment is processed and forwarded by the tunnel gateway which is connected with the core network equipment, so that the flattened wireless relay equipment is accessed to the core network, namely, the base stations are the same type and same level base stations in the view of the core network, the software upgrading operation for the donor base station and the core network equipment is not required, and the number of involved network elements is small and the cost is low.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a mobile communication system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a communication method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a 5G communication system architecture and a data structure according to an embodiment of the present application;
fig. 4 is a schematic diagram of a 4G communication system architecture and a data structure according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a tunnel gateway in the 5G communication system according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a tunnel gateway in the 4G communication system according to the embodiment of the present application;
fig. 7 is a second flow chart of a communication method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a derivative tunnel according to an embodiment of the present application;
fig. 9 is a schematic diagram of a second structure of the derivative tunnel according to the embodiment of the present application;
fig. 10 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
Fig. 1 is a schematic diagram of a mobile communication system according to an embodiment of the present application. As shown in fig. 1, the mobile communication system involves a user equipment 101, a base station (donor) 102, a wireless relay device 103, an access network, a core network, and the internet.
The User Equipment 101 (UE) may be a wireless terminal or a wired terminal. The user equipment 101 may be a mobile phone (mobile phone), a tablet (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal, an augmented Reality (Augmented Reality, AR) terminal, a wireless terminal in an industrial control (industrial control), a wireless terminal in an unmanned (self driving), etc., which are not limited herein.
The base station (donor) 102 refers to a public mobile communication base station, which is an interface device for accessing the user equipment 101 to the internet, and the main function of the base station (donor) 102 is to provide wireless coverage, and forward and route uplink data from the user equipment 101 and downlink data to the user equipment 101. The term (donor) is a relative concept in the embodiments of the present application, and refers to a base station that transmits data outwards, and if the base station is in a state of receiving data, it may be called a base station (acceptor).
The wireless relay apparatus 103 is a data relay apparatus provided between data transmission paths of adjacent base stations (donors) 102, and when uplink data from the user apparatus 101 and downlink data from the core network are transmitted from one base station (donor) 102 to the next base station (donor) 102, the data relay apparatus 103 performs a relay. A plurality of wireless relay apparatuses 103 may be provided between the multi-stage base stations (donors) 102 for data relay.
Each group of base stations (donor) 102 and wireless relay device 103 form a wireless relay base station, which can be regarded as a base station product connected to The core network based on a mobile communication air interface, and The mobile communication air interface can be an air interface of mobile communication of a fourth generation mobile information system (The 4th generation mobile communication technology, 4G for short) or a fifth generation mobile information system (The 5th generation mobile communication technology, 5G for short). In a wireless relay base station, the base station (donor) 102 is responsible for providing mobile communication radio signals to serve UEs, and the wireless backhaul unit (i.e., wireless relay device 103) is responsible for converting the mobile communication radio signals of the donor base station into a wired interface to provide backhaul to the base station (donor) 102.
Uplink data is sent out from the user equipment 101, forwarded and routed through the wireless relay base station (i.e., the multi-stage base station (donor) 102 and the wireless relay device 103), and then sequentially reaches the access network, the core network and the internet; downstream data is sent from the internet, forwarded and routed by the wireless relay base station (i.e., the multi-stage base station (donor) 102 and the wireless relay device 103) via the core network and the access network, and finally reaches the user device 101.
Fig. 2 is a schematic flow chart of a communication method according to an embodiment of the present application. The embodiment of the application provides a communication method which is applied to a tunnel gateway in a mobile communication system, wherein the mobile communication system further comprises multi-stage base stations and core network equipment, the multi-stage base stations are connected through wireless relay equipment, and the tunnel gateway is connected with the core network equipment. Wherein optionally the tunnel gateway may comprise logic components based on a general packet radio service (General Packet Radio Service, abbreviated GPRS) tunneling protocol. As shown in fig. 2, the communication method includes:
s201: and acquiring an uplink IP message from the core network equipment, wherein the uplink IP message comprises IP header protocol fields respectively corresponding to a plurality of encapsulation layers.
The core network device may be a user plane function (User Plane Function, abbreviated as UPF) network element or a packet data network gateway (Packet Data Network Gateway, abbreviated as PGW) network element. Specifically, the data of the 5G core network comes from its UPF network element, and the data of the 4G core network comes from its PGW network element, both belong to different core networks, but the data is in GPRS tunneling protocol (GPRS Tunneling Protocol, abbreviated as GTP) format, and is suitable for GTP logic component processing.
Optionally, in the embodiment of the present application, a user equipment (Customer Premise Equipment, abbreviated as CPE) is selected as the wireless relay device, and a group of wireless relay base stations is formed by the base station (donor) and the CPE. CPE is also called a subscriber premises equipment, and refers to a mobile signal access device that receives a mobile signal and forwards the mobile signal as a WiFi signal, and is also a device that converts a high- speed 4G or 5G signal into a WiFi signal, and is located on the subscriber side of the network. On one hand, the CPE can be connected with various terminal equipment in a downlink manner and connected with the base station in an uplink manner to provide mobile signal service for users, and on the other hand, the CPE can also be connected with different base stations in an uplink manner and in a downlink manner to serve as relay equipment for signal transmission between the different base stations.
Fig. 3 is a schematic diagram of a 5G communication system architecture and a data structure provided in the embodiment of the present application, as shown in fig. 3, from left to right, an uplink IP packet sequentially passes through: base station (donor) ipb2→cpe (ipa2.0) →base station (donor) ipb1→cpe (ipa1.0) →donor base station ipb0→ (access network) →tunnel gateway→access network. Each time an uplink IP packet passes through a base station or a wireless relay device node, an encapsulation layer is encapsulated, for example, in this embodiment, the uplink IP packet is encapsulated with an ethernet layer (also referred to as an ethernet frame) with an ethernet in IP (97) header protocol field when passing through a CPE node, and after passing through a multi-stage base station and a plurality of CPE nodes, the uplink IP packet includes IP header protocol fields corresponding to the encapsulation layers respectively. Until the uplink IP message reaches the edge of the access network, the tunnel gateway (GTP component) acquires the uplink IP message, and performs processing operations from S202 to S204, and then sends the processed data to a UPF network element node.
Fig. 4 is a schematic diagram of a 4G communication system architecture and a data structure according to an embodiment of the present application. As shown in fig. 4, the uplink IP packet is encapsulated multiple times with ethernet layer with header protocol field of ethernet in IP (97) after forwarding and routing of the multi-level base station and the CPE nodes. Until the uplink IP message reaches the edge of the access network, the tunnel gateway (GTP component) acquires the uplink IP message, and performs processing operations from S202 to S204, and then sends the processed data to the PGW network element node. The core network in the 4G communication system architecture is an evolved packet core network (Evolved Packet Core, EPC for short) as an example.
S202: and detecting the encapsulation layer of the uplink IP message and identifying the IP header protocol field of the encapsulation layer.
The IP header protocol field is an important field commonly found in IP packet headers, where it is used to indicate what type of protocol follows the IP header. In this step, the IP header Protocol field is mainly identified as the field of the Ethernet package, specifically Protocol: ether in IP (97).
S203: stripping the target encapsulation layer with the IP header protocol field being Ethernet encapsulation, and extracting an uplink two-layer message.
After identifying the target encapsulation layer with the IP header protocol field of Ether in IP, stripping the encapsulation layer, and taking out the uplink two-layer message contained in the encapsulation layer.
In some embodiments, the upstream IP packet may include only one target encapsulation layer, while in other embodiments, the upstream IP packet may include multiple target encapsulation layers.
Optionally, stripping is performed for a target encapsulation layer of the ethernet encapsulation for the IP header protocol field, and an uplink two-layer packet is extracted, including: if the uplink IP message only comprises one target encapsulation layer, stripping one target encapsulation layer, and extracting to obtain an uplink two-layer message; if the uplink IP message comprises a plurality of target packaging layers, the target packaging layers are stripped layer by layer, and an uplink two-layer message in each target packaging layer is extracted.
After the multiple target encapsulation layers are stripped layer by layer, all the extracted uplink two-layer messages can be packaged, and the processing of S204 is performed together.
S204: and sending the uplink two-layer message to the second-layer Switch L2Switch, deciding the two-layer route by the L2Switch, and distributing the uplink two-layer message to the access network.
Fig. 5 is a schematic structural diagram of a tunnel gateway in the 5G communication system according to the embodiment of the present application. As shown in fig. 5, the L2Switch receives data forwarding between layers of a tunnel gateway (GTP component), and redistributes data processed by the tunnel gateway (GTP component) from the core network to the access network, thereby completing link interfacing between the wireless relay base station and the access network (also referred to as a bearer network).
As shown in fig. 5, the logical structure inside the tunnel gateway includes a logical body and a non-physical body of a plurality of wireless relay base stations, the data plane and the signaling plane data of the wireless relay base stations are presented in the access network through the message processing of the GTP component, and the data uploaded by the plurality of wireless relay base stations all come from the tunnel gateway from the perspective of the core network, so that the data can be regarded as a set of the logical bodies of the wireless relay base stations.
Fig. 6 is a schematic structural diagram of a tunnel gateway in the 4G communication system according to the embodiment of the present application. As shown in fig. 6, the processing flow of the tunnel gateway (GTP component) is the same, and since the exemplary 4G and 5G communication systems both adopt GTP protocols to transmit CPE data planes, the processing steps of the uplink two-layer packet are basically identical, and are not repeated here.
The uplink two-layer messages are distributed to the access network by the L2Switch route, and the core network acquires the uplink two-layer messages from the access network and sends the uplink two-layer messages to the corresponding network elements for further processing, forwarding and routing according to the content of the messages.
The embodiment of the application is applied to the tunnel gateway in the mobile communication system, the mobile communication system further comprises multi-stage base stations and core network equipment, the multi-stage base stations are connected through wireless relay equipment, and the tunnel gateway is connected with the core network equipment. The tunnel gateway detects the encapsulation layer of the uplink IP message by acquiring the uplink IP message from the core network device, wherein the uplink IP message comprises IP header protocol fields corresponding to a plurality of encapsulation layers respectively, identifies the IP header protocol fields of the encapsulation layer, strips the target encapsulation layer of which the IP header protocol fields are Ethernet encapsulation, extracts an uplink two-layer message, sends the uplink two-layer message to a second-layer Switch L2Switch, decides a two-layer route by the L2Switch, and distributes the uplink two-layer message to the access network. The wireless relay equipment is used in the mobile communication system, the installation of the wireless relay equipment does not need to be laid with wire backhaul, the flexibility is higher, and the time and the cost for constructing the network are reduced; the data which is routed and forwarded by the wireless relay equipment is processed and forwarded by the tunnel gateway which is connected with the core network equipment, so that the flattened wireless relay equipment is accessed to the core network, namely, the base stations are the same type and same level base stations in the view of the core network, the software upgrading operation for the donor base station and the core network equipment is not required, and the number of involved network elements is small and the cost is low.
Based on the above embodiment, optionally, sending an uplink two-layer packet to the L2Switch includes: in the process of extracting the uplink two-layer message, recording the mapping relation between a tunnel endpoint identifier (Tunnel End Point identifier, teId for short), a user datagram protocol (User Datagram Protocol, UDP for short) port and an IP address contained in a target encapsulation layer; recording the stripping sequence of the target packaging layer, and generating a hierarchical relationship in the stripping process of the uplink IP message; and sending the uplink two-layer message, the mapping relation and the hierarchical relation to the L2 Switch.
GTP tunnels are used between two nodes based on GTP communication, and each GTP tunnel uses an IP address, a UDP port and a TEID at the same time at the identification of one node. When the sending node sends a GTP message to the receiving node after the GTP tunnel is established, the GTP message header carries the TEID value allocated by the receiving node. When the uplink IP message is stripped and the uplink two-layer message is extracted, the mapping relation of the IP address, the UDP port and the TEID contained in the uplink two-layer message is recorded, so that feedback data corresponding to the uplink two-layer message is accurately sent back to the user equipment. And recording the stripping sequence of the target packaging layer, so as to accurately and reversely package the feedback data corresponding to the uplink two-layer message. The following embodiments will specifically describe how to process feedback data corresponding to an uplink two-layer packet.
Fig. 7 is a second flowchart of a communication method according to an embodiment of the present application. As shown in fig. 7, the communication method includes, on the basis of the above embodiment:
s701: receiving a downlink two-layer message from an L2 Switch;
s702: address information of the downlink two-layer message is analyzed;
s703: retrieving to obtain a mapping relation containing address information, and obtaining a hierarchical relation in the process of stripping the uplink IP message;
s704: reversely packaging the downlink two-layer message according to the hierarchical relationship and the mapping relationship to obtain a downlink IP message;
s705: and sending the downlink IP message to core network equipment.
The downlink two-layer message from the L2Switch refers to data from the access network to the wireless relay base station, which needs to be reverse encapsulated/reverse encapsulated before being sent to the wireless relay base station, and then transmitted back to the user equipment through CPE (including multi-level CPE). In the embodiment of the application, the reverse encapsulation of the downlink two-layer message is realized by executing S701 to S705 through the tunnel gateway.
Referring to fig. 3 and fig. 4, from right to left, a downlink two-layer packet arrives at the access network from the internet, and is forwarded by the L2 Switch. And the tunnel gateway (GTP component) acquires the downlink two-layer message forwarded by the L2Switch downlink, and reversely packages the downlink two-layer message according to the hierarchical relationship and the contained mapping relationship of the stripping process of the corresponding uplink data to obtain the downlink IP message. The downlink IP message is sent to the core network, and the core network sends the message to the corresponding wireless relay base station for reason and forwarding according to the message content, and finally reaches the user equipment.
On the basis of the above embodiment, optionally, if the hierarchical relationship is not obtained, the downlink two-layer message is discarded. In step S703, if the hierarchical relationship is not obtained, the downstream two-layer packet cannot be accurately and reversely encapsulated, and the data are discarded.
Optionally, the core network device includes a UPF network element or PGW. The UPF network element is an important component of a 5G core network system architecture in the third generation partnership project (3 rd Generation Partnership Project, abbreviated as 3 GPP), and is mainly responsible for related functions such as routing and forwarding of user plane data packets in the 5G core network. The PGW network element is an important network element in the 4G mobile communication network, and is responsible for managing data routing between the 3GPP and the non-3GPP that is not the 3GPP network, managing movement between the 3GPP access and the non-3GPP access, and also for functions such as dynamic host configuration protocol (Dynamic Host Configuration Protocol, abbreviated as DHCP), policy enforcement, and charging.
In the embodiment of the present application, the uplink IP packet is obtained from a UPF network element or a PGW network element. In the downlink process, the main body of the downlink IP packet sent by the 5G core network to the core network device is UPF, and the 4G core network is PGW. The step S201 is symmetrical, i.e. the directions are different. For the data of the same radio relay base station, the two are also symmetrical, namely one direction is disassembly and distribution (distribution to an L2Switch, i.e. an access network), and the other direction is assembly and distribution (distribution to a core network, i.e. a UPF or PGW).
Optionally, if the IP header protocol fields of the encapsulation layer included in the uplink IP packet are all ethernet encapsulation, the uplink IP packet is sent to the L2 Switch. The embodiment is a processing method of an uplink IP packet for a target encapsulation layer whose IP header protocol field does not include ethernet in IP, and if the target encapsulation layer is not included, the encapsulation layer is not required to be stripped, and the uplink IP packet is directly sent to the L2 Switch.
Fig. 8 is a schematic structural diagram of a derivative tunnel provided in an embodiment of the present application, which is a derivative description of a message that can be supported when the communication method provided in the present application is applicable to a 5G communication system, and compared with the message structure illustrated in fig. 3, a point-to-point protocol (Point to Point Protocal over Ethernet, abbreviated as PPPoE) on ethernet or a Layer 2 (Layer 2Tunneling Protocol, abbreviated as L2 TP) tunnel bearer is added to the structure Layer (encapsulation Layer) on the ethernet. The contents of the message protocol shown in the drawings, which have not been explained yet, are explained here in connection with fig. 3 and 8:
flow control transmission protocol (Stream Control Transmission Protocol, SCTP for short), services that may be provided include: confirming error-free and copy-free transmission of user data; data segmentation to fit the size of the discovery path maximum transmission unit; the user information is orderly sent in the multi-data stream, and the user information can be sent according to the arrival sequence with an option; selectively binding a plurality of user information to a single SCTP packet; the tolerance is specified for network failure by associated one or both terminals multi-homing support.
The next generation application protocol (Next Generation Application Protocol, abbreviated NGAP) is AN application layer protocol TS 38.413 between a 5G Access Network (5G-AN) and AN Access and mobility management function (Access and Mobility Management Function, AMF).
The point-to-point protocol (Point to Point Protocol, PPP) provides a standard method for transmitting multiprotocol packets over point-to-point connections.
Fig. 9 is a schematic diagram of a structure of a derived tunnel provided in the embodiment of the present application, which is a derived description of a message that can be supported when the communication method provided in the present application is applicable to a 4G communication system, and compared with the message structure illustrated in fig. 4, the structure layer (encapsulation layer) on the PPPoE or L2TP tunnel bearer is added. The contents of the message protocol shown in the drawings, which have not been explained yet, are explained here in connection with fig. 4 and 9:
s1 interface application protocol (S1 Application Protocol, abbreviated as S1-AP): the main function of the corresponding S1 interface is the most important protocol in the S1 mobility management entity (S1-Mobile Management Entity, S1-MME for short) interface protocol stack.
The embodiment of the application exemplifies the message form applicable to the communication method, and does not limit the application.
In summary, the present application provides an implementation scheme for accessing a wireless relay device to a core network, which includes two-layer encapsulation of a tunnel gateway and the wireless relay device, supporting wireless concatenation, and flattening access to the core network, that is, the base stations are all the same type and same level base stations in terms of the core network; by means of two-layer encapsulation of the wireless relay equipment and disassembly and assembly of the tunnel gateway, deep integration can innovatively realize wireless cascade extension covered by the donor base station, and the radiation range of the base station is remarkably expanded.
The foregoing embodiments provide a detailed description of a communication method provided by the present application, and a communication apparatus, an electronic device, a storage medium, and a program product provided by the embodiments of the present application will be specifically explained below.
Fig. 10 is a schematic structural diagram of a communication device provided in an embodiment of the present application, where the communication device is applied to a tunnel gateway in a mobile communication system, and the mobile communication system further includes a multi-stage base station and a core network device, where the multi-stage base stations are connected through a wireless relay device, and the tunnel gateway is connected with the core network device. As shown in fig. 10, the communication apparatus 1000 includes:
an obtaining module 1001, configured to obtain an uplink IP packet from a core network device, where the uplink IP packet includes IP header protocol fields corresponding to a plurality of encapsulation layers respectively;
the identifying module 1002 is configured to detect an encapsulation layer of an uplink IP packet, and identify an IP header protocol field of the encapsulation layer;
an extracting module 1003, configured to strip a target encapsulation layer of the ethernet encapsulation for the IP header protocol field, and extract an uplink two-layer packet;
the sending module 1004 is configured to send an uplink two-layer packet to the L2Switch, and the L2Switch decides the two-layer route to send the uplink two-layer packet to the access network.
Optionally, the tunnel gateway comprises logic components based on GPRS tunneling protocol.
Alternatively, the extraction module 1003 may be configured to: if the uplink IP message only comprises one target encapsulation layer, stripping one target encapsulation layer, and extracting to obtain an uplink two-layer message; if the uplink IP message comprises a plurality of target packaging layers, the target packaging layers are stripped layer by layer, and an uplink two-layer message in each target packaging layer is extracted.
Optionally, the sending module 1004 may be configured to: in the process of extracting the uplink two-layer message, recording the mapping relation among the TeId, the UDP port and the IP address contained in the target encapsulation layer; recording the stripping sequence of the target packaging layer, and generating a hierarchical relationship in the stripping process of the uplink IP message; and sending the uplink two-layer message, the mapping relation and the hierarchical relation to the L2 Switch.
Optionally, the communication device 1000 further comprises a parsing module, which may be used for: receiving a downlink two-layer message from an L2 Switch; address information of the downlink two-layer message is analyzed; retrieving to obtain a mapping relation containing address information, and obtaining a hierarchical relation in the process of stripping the uplink IP message; reversely packaging the downlink two-layer message according to the hierarchical relationship and the mapping relationship to obtain a downlink IP message; and sending the downlink IP message to core network equipment.
Optionally, the communication device 1000 further comprises a first determining module, which may be configured to: and if the hierarchical relationship is not obtained, discarding the downlink two-layer message.
Optionally, the core network device includes a user plane function UPF network element or a public data network gateway PGW network element.
Optionally, the communication device 1000 further comprises a second determining module, which may be configured to: and if the IP header protocol fields of the encapsulation layer contained in the uplink IP message are all non-Ethernet encapsulation, transmitting the uplink IP message to the L2 Switch.
The device provided in the embodiment of the present application may be used to execute the above communication method, and its implementation manner and technical effects are similar, and are not described herein again.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 11, the electronic device 1100 includes:
a processor 1101, a memory 1102, a communication interface 1103 and a system bus 1104.
The memory 1102 and the communication interface 1103 are connected to the processor 1101 through a system bus 1104 and perform communication with each other, the memory 1102 is used for storing computer-executed instructions, the communication interface 1103 is used for communicating with other devices, and the processor 1101 is used for executing the computer-executed instructions to perform the scheme of the communication method according to the above-mentioned method embodiment.
In particular, the processor 1101 may include one or more processing units, such as: the processor 1101 may be a CPU, digital signal processing (Digital Signal Processing, abbreviated as DSP), application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
Memory 1102 may be used to store program instructions. Memory 1102 may include a stored program area and a stored data area. The storage program area may store an application program (such as a sound playing function, etc.) required for at least one function of the operating system, and the like. The storage data area may store data created during use of the electronic device 1100 (e.g., audio data, etc.), and so on. In addition, the memory 1102 may include high-speed random access memory, and may also include nonvolatile memory such as at least one magnetic disk storage device, flash memory device, universal flash memory (Universal Flash Storage, abbreviated UFS), and the like. The processor 1101 performs various functional applications and data processing of the electronic device 1100 by executing program instructions stored in the memory 1102.
The communication interface 1103 may provide a solution for wireless communication, including 2G/3G/4G/111G, etc., as applied to the electronic device 1100. The communication interface 1103 may receive electromagnetic waves from an antenna, filter, amplify, and the like the received electromagnetic waves, and transmit the electromagnetic waves to a modem processor for demodulation. The communication interface 1103 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through an antenna to radiate. In some embodiments, at least some of the functional modules of the communication interface 1103 may be provided in the processor 1101. In some embodiments, at least some of the functional modules of the communication interface 1103 may be provided in the same device as at least some of the modules of the processor 1101.
The system bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The system bus 1104 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
It should be noted that, the number of the memory 1102 and the processor 1101 is not limited in the embodiment of the present application, and one or more of them may be used, and fig. 11 illustrates one example; the memory 1102 and the processor 1101 may be connected by a wired or wireless connection in a variety of ways, such as a bus connection. In practice, the electronic device 1100 may be a computer or a mobile terminal in various forms. Examples of the computer include a laptop computer, a desktop computer, a workstation, a server, a blade server, and a mainframe computer; mobile terminals are, for example, personal digital assistants, cellular telephones, smart phones, wearable devices, and other similar computing devices.
The electronic device of the present embodiment may be used to execute the technical solution in the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The embodiment of the application also provides a computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and when the computer executable instructions are executed by a processor, the scheme for realizing the communication method in the embodiment of the method is provided.
The embodiment also provides a computer program product, which comprises a computer program; when executed, implements aspects of the communication method as in the method embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. The communication method is characterized by being applied to a tunnel gateway in a mobile communication system, wherein the mobile communication system further comprises a multi-stage base station and core network equipment, the multi-stage base stations are connected through wireless relay equipment, and the tunnel gateway is connected with the core network equipment;
the communication method comprises the following steps:
acquiring an uplink Internet Protocol (IP) message from the core network equipment, wherein the uplink IP message comprises IP header protocol fields respectively corresponding to a plurality of encapsulation layers;
detecting an encapsulation layer of the uplink IP message, and identifying an IP header protocol field of the encapsulation layer;
stripping the target encapsulation layer with the IP header protocol field being Ethernet encapsulation to extract an uplink two-layer message;
and sending the uplink two-layer message to a second-layer Switch L2Switch, deciding a two-layer route by the L2Switch, and distributing the uplink two-layer message to an access network.
2. The communication method according to claim 1, wherein the stripping the target encapsulation layer for the ethernet encapsulation for the IP header protocol field, extracting the uplink two-layer packet, includes:
if the uplink IP message only comprises one target packaging layer, stripping the one target packaging layer, and extracting to obtain the uplink two-layer message;
and if the uplink IP message comprises a plurality of target packaging layers, stripping the target packaging layers layer by layer, and extracting an uplink two-layer message in each target packaging layer.
3. The communication method according to claim 2, wherein the sending the uplink two-layer packet to the L2Switch includes:
in the process of extracting the uplink two-layer message, recording the mapping relation among the tunnel endpoint identifier TeId, the user datagram protocol UDP port and the IP address contained in the target encapsulation layer;
recording the stripping sequence of the target encapsulation layer, and generating a hierarchical relationship in the stripping process of the uplink IP message;
and sending the uplink two-layer message, the mapping relation and the hierarchical relation to the L2 Switch.
4. A communication method according to claim 3, further comprising:
receiving a downlink two-layer message from the L2 Switch;
analyzing the address information of the downlink two-layer message;
retrieving to obtain a mapping relation containing the address information, and obtaining a hierarchical relation in the uplink IP message stripping process;
reversely encapsulating the downlink two-layer message according to the hierarchical relationship and the mapping relationship to obtain a downlink IP message;
and sending the downlink IP message to the core network equipment.
5. The communication method according to claim 4, further comprising:
and if the hierarchical relationship is not obtained, discarding the downlink two-layer message.
6. A communication method according to any of claims 1 to 5, characterized in that the core network device comprises a user plane function UPF network element or a public data network gateway PGW network element.
7. The communication method according to any one of claims 1 to 5, characterized by further comprising:
and if the IP header protocol fields of the encapsulation layer contained in the uplink IP message are all non-Ethernet encapsulation, sending the uplink IP message to the L2 Switch.
8. The communication device is characterized by being applied to a tunnel gateway in a mobile communication system, wherein the mobile communication system further comprises a multi-stage base station and core network equipment, the multi-stage base stations are connected through wireless relay equipment, and the tunnel gateway is connected with the core network equipment; the communication device includes:
the acquisition module is used for acquiring an uplink Internet Protocol (IP) message from the core network equipment, wherein the uplink IP message comprises IP header protocol fields respectively corresponding to a plurality of encapsulation layers;
the identification module is used for detecting the encapsulation layer of the uplink IP message and identifying an IP header protocol field of the encapsulation layer;
the extraction module is used for stripping the target encapsulation layer of the Ethernet encapsulation for the IP header protocol field and extracting an uplink two-layer message;
and the sending module is used for sending the uplink two-layer message to a second-layer Switch L2Switch, deciding a two-layer route by the L2Switch and distributing the uplink two-layer message to an access network.
9. An electronic device, comprising: a memory, a processor;
the memory is used for storing program instructions;
the processor for invoking the program instructions to perform the communication method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein computer-executable instructions, which when executed by a processor are for implementing the communication method according to any of claims 1 to 7.
CN202211741223.4A 2022-12-31 2022-12-31 Communication method, device and storage medium Pending CN116389389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211741223.4A CN116389389A (en) 2022-12-31 2022-12-31 Communication method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211741223.4A CN116389389A (en) 2022-12-31 2022-12-31 Communication method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116389389A true CN116389389A (en) 2023-07-04

Family

ID=86960371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211741223.4A Pending CN116389389A (en) 2022-12-31 2022-12-31 Communication method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116389389A (en)

Similar Documents

Publication Publication Date Title
US11621916B2 (en) Information transmission method and device in IAB architecture
US8797947B2 (en) Packet forwarding in telecommunication network
EP3793240A1 (en) Configuration method, data transmission method and apparatus
ES2390361T3 (en) Radio communications system, access method via radio, access point and gateway
CN110636643A (en) Method and device for sending and receiving data packet and transmission system of data packet
US9219537B2 (en) Method and system for transmitting information in relay communication network
US9313049B2 (en) Communication system, network apparatus, gateway apparatus, computer program, data transmission method and data transfer method
CN110830356B (en) Method and device for transmitting message
WO2014101062A1 (en) User plane data transmission method, mobility management network element, evolved node b and system
US20160072930A1 (en) Data transmission method and apparatus, communications device, and communications system
WO2018148893A1 (en) Data transmission method and device
CN107370654B (en) Pseudo wire data message encapsulation and decapsulation methods and related devices
CN107483369B (en) Message processing method and virtual switch
CN101557386A (en) Method and device for sending data and method and device for receiving data
CN111183670A (en) Implementing voice services
KR20070055593A (en) Method and apparatus for implementing direct routing
CN106454754B (en) Data transmission method and broadband cluster system
CN116389389A (en) Communication method, device and storage medium
CN108901044B (en) Data transmission method, device and equipment of multi-stage relay network
US10250490B2 (en) Method and network node for routing backhaul packets
CN109688038B (en) End-to-end Non-IP transmission method, device, equipment and storage medium
CN108901043B (en) Data transmission method, device and equipment of multi-stage relay network
EP4300863A1 (en) Communication method and communication device
CN112953843B (en) Data transmission method and device
WO2023097465A1 (en) Apparatuses, methods, and computer readable media for establishing internet protocol connection in integrated access and backhaul network

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