CN113595912B - One-to-many communication method and device based on IPv6 extension header in 5GLAN - Google Patents

One-to-many communication method and device based on IPv6 extension header in 5GLAN Download PDF

Info

Publication number
CN113595912B
CN113595912B CN202110759655.7A CN202110759655A CN113595912B CN 113595912 B CN113595912 B CN 113595912B CN 202110759655 A CN202110759655 A CN 202110759655A CN 113595912 B CN113595912 B CN 113595912B
Authority
CN
China
Prior art keywords
alh
rih
routing
data packet
5glan
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
CN202110759655.7A
Other languages
Chinese (zh)
Other versions
CN113595912A (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202110759655.7A priority Critical patent/CN113595912B/en
Publication of CN113595912A publication Critical patent/CN113595912A/en
Application granted granted Critical
Publication of CN113595912B publication Critical patent/CN113595912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • H04L45/748Address table lookup; Address filtering using longest matching prefix
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The embodiment of the invention provides a one-to-many communication method and a device based on an IPv6 extension header in 5GLAN, wherein the method comprises the following steps: acquiring a data message forwarded by the previous routing node, wherein the data message comprises a data packet and an address list extension header (ALH), and the ALH comprises a plurality of receiver addresses; performing routing behavior planning on each receiver address contained in the ALH, splitting the ALH based on a routing behavior planning result, and generating a routing indication extended header RIH aiming at each split ALH; analyzing RIH, determining a forwarding path of the data packet on a 5GLAN logic group layer based on the RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group layer and the GTP data plane have a mapping relation. Dynamic and efficient one-to-many communication in 5GLAN can be realized.

Description

One-to-many communication method and device based on IPv6 extension header in 5GLAN
Technical Field
The invention relates to the technical field of communication, in particular to a one-to-many communication method and device based on an IPv6 extension header in 5 GLAN.
Background
In the fifth generation mobile communication technology (5G), a Local Area Network (LAN) of 5G is one of technologies having good application scenarios, and is intended to provide a connection form and service experience of a Local Area Network for a user, and is mainly oriented to internal Network scenarios such as a residential Network, an enterprise Network, an industrial control Network, and the like.
The 5GLAN standardization document indicates that there is a large dynamic one-to-many session requirement in 5 GLAN.
For example, 5GLAN will be widely used in the field of internet of things, such as industrial control networks, intelligent office networks, and the like. In such networks, the constantly changing internet of things devices require dynamic one-to-many sessions for unified control and firmware update. The 5g lan also needs to provide the ability for users to create and join multicast sessions, allowing users to dynamically create, manage, and tear down multicast sessions. Therefore, how to provide dynamic and efficient one-to-many session capability in 5GLAN is an urgent problem to be solved in 5 GLAN.
IP multicast uniquely identifies a group of receivers within a domain, and has uniqueness and global awareness within the domain. In multicast, routers are responsible for maintaining group member status, including queries and updates. However, in 5g lan, dynamic and efficient one-to-many communication cannot be realized based on conventional IP multicast.
Disclosure of Invention
The embodiment of the invention aims to provide a one-to-many communication method and a one-to-many communication device based on an IPv6 extended header in 5GLAN, so as to realize dynamic and efficient one-to-many communication in 5 GLAN.
In order to achieve the above object, an embodiment of the present invention provides a one-to-many communication method based on an IPv6 extension header in a 5GLAN, which is applied to a routing node, where the method includes:
acquiring a data message forwarded by a previous routing node, wherein the data message comprises a data packet and an address list extension header (ALH), and the ALH comprises a plurality of receiver addresses;
planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH;
analyzing the RIH, determining a data packet forwarding path on a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein a mapping relation exists between the 5GLAN logic group level and the GTP data plane.
Optionally, the step of performing routing behavior planning on each receiver address included in the ALH, splitting the ALH based on a routing behavior planning result, and generating a routing indication extension header RIH for each split ALH includes:
and determining a next hop routing node of each receiver address contained in the ALH, dividing the receiver addresses same as the next hop routing node into the same ALH, and generating a RIH containing the uniform routing indication identifiers of all the receiver addresses of the ALH.
Optionally, the step of analyzing the RIH and determining a packet forwarding path at the 5GLAN logical group level based on the RIH analysis result includes:
judging whether the current RIH is completely matched with the routing behavior table entry, and if so, analyzing the next RIH;
if not, returning to the step of planning the routing behavior of each receiver address contained in the ALH;
and judging whether the forwarding port of the route behavior table entry matched with the current RIH is changed compared with the previous RIH, if so, copying the data packet, and determining the forwarding port of each data packet.
Optionally, the method further includes:
and judging whether each receiver address belongs to the routing node or not based on the routing behavior table entry, if so, copying the data packet, and forwarding the copied data packet to the receiver address belonging to the routing node.
In order to achieve the above object, an embodiment of the present invention further provides a one-to-many communication apparatus based on an IPv6 extension header in 5GLAN, which is applied to a routing node, where the apparatus includes:
an obtaining module, configured to obtain a data packet forwarded by an previous routing node, where the data packet includes a data packet and an address list extension header ALH, and the ALH includes multiple receiver addresses;
a first analysis module, configured to perform routing behavior planning on each receiver address included in the ALH, split the ALH based on a routing behavior planning result, and generate a routing indication extended header RIH for each split ALH;
and the second analysis module is used for analyzing the RIH, determining a forwarding path of the data packet on a 5GLAN logic group level based on the RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group level and the GTP data plane have a mapping relation.
Optionally, the first parsing module is specifically configured to:
and determining a next hop routing node of each receiver address contained in the ALH, dividing the receiver addresses same as the next hop routing node into the same ALH, and generating a RIH containing the uniform routing indication identifiers of all the receiver addresses of the ALH.
Optionally, the second parsing module is specifically configured to:
judging whether the current RIH is completely matched with the routing behavior table entry, and if so, analyzing the next RIH;
if not, returning to the step of planning the routing behavior of each receiver address contained in the ALH;
and judging whether the forwarding port of the route behavior table entry matched with the current RIH is changed compared with the previous RIH, if so, copying the data packet, and determining the forwarding port of each data packet.
Optionally, the apparatus further comprises:
and the edge detection module is used for judging whether each receiver address belongs to the routing node or not based on the routing behavior table entry, if so, copying the data packet and forwarding the copied data packet to the receiver address belonging to the routing node.
In order to achieve the above object, an embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any method step when executing the program stored in the memory.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program implements any of the above method steps when executed by a processor.
The embodiment of the invention has the following beneficial effects:
the one-to-many communication method and device based on the IPv6 extension header in the 5GLAN provided by the embodiment of the invention are used for acquiring a data message forwarded by the previous routing node, wherein the data message comprises a data packet and an address list extension header ALH, and the ALH comprises a plurality of receiver addresses; planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH; analyzing the RIH, determining a forwarding path of a data packet at a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group level and the GTP data plane have a mapping relation. It can be seen that in the 5GLAN one-to-many session, the ALH and RIH extension headers are defined, the routing node parses the ALH and RIH, and copies and forwards the packet based on the parsing result. Dynamic and efficient one-to-many communication in 5GLAN can be realized.
Of course, it is not necessary for any product or method to achieve all of the above-described advantages at the same time for practicing the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a one-to-many communication method based on an IPv6 extension header in 5GLAN according to an embodiment of the present invention;
fig. 2 is a schematic diagram of ALH parsing according to an embodiment of the present invention;
fig. 3 is a schematic diagram of RIH analysis according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of parsing the ALH and RIH extension headers according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a power monitoring network according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a logic path of a power monitoring network according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a topology of traffic transmission in a power monitoring network according to an embodiment of the present invention;
fig. 8 is a schematic diagram of packet forwarding in one-to-many communication according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a one-to-many communication apparatus based on an IPv6 extension header in 5GLAN according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention are within the scope of the present invention.
The 5GLAN standardization document indicates that there is a large dynamic one-to-many session requirement in 5 GLAN.
For example, 5GLAN will be widely used in the field of internet of things, such as industrial control networks, intelligent office networks, and the like. In such networks, the constantly changing internet of things devices require dynamic one-to-many sessions for unified control and firmware update. 5GLAN also needs to provide users the ability to create and join multicast sessions, allowing users to dynamically create, manage, and tear down multicast sessions. Therefore, how to provide dynamic and efficient one-to-many session capability in 5GLAN is an urgent problem to be solved in 5 GLAN.
The IP multicast uniquely identifies a group of receivers in a domain, and has uniqueness and global awareness in the domain. In multicast, routers are responsible for maintaining group member status, including queries and updates. In the face of the emerging one-to-many session requirement in 5GLAN, the following limitations exist for conventional IPv6 multicast:
limiting one: multicast uses multicast addresses as group identifiers, one address identifying a group of receivers, making the sender completely unaware of the receivers. The unavailability limits the Sender to actively initiate a Multicast (SIM) session and to specify the recipient members. Meanwhile, the application of reliable transmission in multicast is limited by the unknown property, and the recovery of the data packet is difficult.
And a second limitation: the intra-domain global property of the multicast addresses requires that each multicast address is globally unique in the domain, an administrator needs to allocate a unique multicast address to a sender, the real-time property of the session cannot be guaranteed, and the requirement of high-frequency one-to-many session establishment is difficult to meet.
And limitation three: routers need to maintain the efficiency limitations imposed by multicast tree and group membership status. In multicast, the multicast group member state is maintained by the router, and needs to be globally inquired, so as to update the multicast tree, and therefore, a large amount of overhead is generated when the multicast group is established and removed in a large-scale network scene.
In order to solve the technical problem that the conventional IP multicast cannot meet the dynamic and efficient one-to-many session requirement of 5GLAN due to the three types of limitations, embodiments of the present invention provide a one-to-many communication method and apparatus based on an IPv6 extension header in 5 GLAN.
Referring to fig. 1, fig. 1 is a flowchart illustrating a one-to-many communication method based on an IPv6 extension header in 5GLAN according to an embodiment of the present invention, where the method may include the following steps:
s101: and acquiring a data message forwarded by the previous routing node, wherein the data message comprises a data packet and an address list extension header (ALH), and the ALH comprises a plurality of receiver addresses.
In 5GLAN, there is a group, i.e. the concept of a group, to which users in the same local area network belong.
The one-to-many communication method based on the IPv6 extension header in the 5GLAN provided by the embodiment of the invention can be applied to the routing nodes in a group.
In the embodiment of the present invention, in order to support multi-purpose address transmission in one-to-many sessions, a data plane needs to be extended, specifically two functions are extended: 1) For multi-purpose address carrying. 2) A unified routing indication for a cluster of destination addresses.
In consideration of the scalability of the IPv6 extension header, the embodiment of the present invention performs extension design based on IPv6, and designs two extension headers in a data plane, where the two extension headers are an address list extension header (ALH) for function 1 and a routing indication extension header (RIH) for function 2.
Wherein ALH is based on IPv6 routing header extension, RIH is based on IPv6 hop-by-hop options header extension.
The ALH may carry the destination addresses of multiple recipients. As an example, the ALH header type may be defined as 5, and the specific structure of the ALH header may be expressed as:
Figure BDA0003148788760000061
wherein, the next header type is an IPv6 extended header fixed field, indicates the next extended header type, and is specified according to the actual situation. The extension header length is an IPv6 fixed field indicating the ALH length. The routing header type may be set to 5, indicating that the header is ALH. ALH address number indicating the number of addresses of ALH. An address list comprising a plurality of recipient addresses.
The RIH needs to bind an ALH, all addresses inside which have the same routing behavior inside the routing node. The RIH indicates the routing behavior corresponding to all addresses inside the ALH. One RIH must carry one ALH. The specific format fields of RIH are as follows:
Figure BDA0003148788760000071
where the next header type is an IPv6 extension header fixed field, indicating the next extension header type, which may be fixed at 43 in the ALH, designated as a routing header. The option data length is an IPv6 fixed field indicating the length of the hop-by-hop option header. The address type indicates the address type in the ALH, and the address types in the same ALH must be the same. ALH list length, indicating the total length of the ALH list in bytes. The route indication identifier indicates the route identifier of the RIH, which is generally represented by an IPv6 address, and may also be other fields in a special network.
In the scheme, the RIH and the ALH bound to the RIH are collectively called as an Address Block (AB) in common, have the same routing behavior, and have a uniform routing indication identifier.
It can be seen that, by the above extension headers ALH and RIH, IPv6 data packets are allowed to carry multiple destination addresses, providing a data plane basis for one-to-many session transmission.
In the embodiment of the invention, when the user terminal in the 5GLAN needs to send a pair of multi-data packets, each IPv6 address of a receiving party can be written in the initial ALH.
Then, at each routing node in the packet forwarding path, the data packet forwarded by the previous routing node may be obtained, where the data packet includes a data packet and an ALH, and the ALH includes multiple receiver addresses.
Furthermore, the routing node may parse the ALH, generate an RIH in the process of parsing the ALH, then shift to parsing the RIH, and copy and forward the data packet according to the RIH parsing result, which may be referred to as the following specific process.
S102: and planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH.
In the embodiment of the invention, the next hop routing node can be determined by planning the routing behavior of the address of the receiving party.
In an embodiment of the present invention, a next hop routing node of each receiver address included in an ALH may be determined, the same receiver address of the next hop routing node is divided into the same ALH, and a RIH including a uniform routing indicator of all receiver addresses of the ALH is generated.
Specifically, in the process of ALH resolution, the receiver addresses with the same routing behavior, that is, the same receiver addresses of the next-hop routing nodes, are split into the ALHs again, and the RIHs are inserted before the ALHs. The reconstructed new ALH header is written according to the actual condition of the address. In particular, one RIH insertion may be triggered at the first address resolution.
Referring to fig. 2, fig. 2 is a schematic diagram of ALH parsing according to an embodiment of the present invention.
In the embodiment shown in fig. 2, the original ALH includes 8 addresses, and after path planning, it is determined that the next hop routing nodes of addresses 1,3, and 6 are the same, the next hop routing nodes of addresses 4,5, and 7 are the same, and the next hop routing nodes of addresses 2 and 8 are the same, so that the ALH is split into 3 new ALHs, and a RIH bound to the ALH is inserted before each new ALH, where the RIH includes routing indication identifiers of all addresses in the ALH bound to the RIH.
S103: analyzing RIH, determining a forwarding path of a data packet at a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group level and the GTP data plane have a mapping relation.
In an embodiment of the present invention, in the process of analyzing the RIH, it needs to be determined whether the current RIH completely matches the routing behavior entry, and if yes, the next RIH is analyzed. And judging whether the forwarding port of the routing behavior table entry matched with the current RIH is changed compared with the previous RIH, if so, copying the data packet, and delivering a forwarding table to determine the forwarding port of each data packet.
Specifically, if the RIH can completely match the relevant table entry of the routing behavior, and the routing behavior is not prefix matching, the next RIH is directly skipped to perform analysis. If the RIH can not be matched with the routing table entry, the RIH analysis is interrupted, and the ALH analysis is carried out again. In the RIH analysis, there is a copy transfer determination, and if the copy transfer determination passes, the packet is copied and transferred. Otherwise, RIH analysis is continued, in the process of copying and forwarding the data packet, the content above the network layer of the data packet is copied, the IPv6 header is encapsulated again, and relevant RIH and ALH are written in the IPv6 extended header.
Wherein, when the following conditions are satisfied, the packet replication is performed: 1) The forwarding port of the table entry matched with the current RIH is changed compared with the previous RIH. 2) The current RIH can be completely matched to the entry. If the conditions are met, all the AB's preceding the RIH are fragmented, packet contents are copied, the network layer is reassembled, the AB's are inserted, and forwarding related operations are performed.
As an example, referring to fig. 3, fig. 3 is a schematic diagram of RIH analysis provided in an embodiment of the present invention, as shown in fig. 3, in the RIH analysis process, it is determined that a forwarding port of an RIH2 matching entry changes compared with RIH1, which means that a packet needs to be forwarded to different ports, and therefore, packet replication needs to be performed; similarly, the forwarding port of the RIH3 matching entry also changes, and packet replication is required. In the embodiment shown in fig. 3, the data packet needs to be copied twice, and different RIHs are respectively bound, and the RIH indicates a forwarding port of the data packet, so that different data packets can be forwarded through different ports respectively.
In an embodiment of the present invention, in the process of analyzing the ALH and the RIH, each routing node in the packet forwarding path needs to perform edge judgment, that is, whether each receiver address belongs to the routing node is judged based on the routing behavior table entry, if yes, the data packet is copied, and the copied data packet is forwarded to the receiver address belonging to the routing node.
Specifically, if it is determined that a certain receiver address belongs to the routing node, the data packet is copied, the receiver address is written into the IPv6 destination address in the header of the copied data packet, and the copied data packet is forwarded to the downstream port through the forwarding table entry, so that the receiver address can receive the data packet sent by the sender.
For convenience of understanding, the one-to-many communication method based on the IPv6 extension header in 5GLAN provided in the embodiment of the present invention is further described below with reference to the flowchart.
Referring to fig. 4, fig. 4 is a schematic flowchart of parsing the ALH and RIH extension headers according to an embodiment of the present invention.
As shown in fig. 4, the routing node parses the header, preferentially parses the RIH, determines whether the RIH can match the entry, and if not, enters into ALH parsing. If the RIH can be matched with the table entries, edge judgment is firstly carried out, if the edge judgment result shows that the address of the receiving party belongs to the routing node, the data packet is copied, and the address of the receiving party is written into the header of the data packet; otherwise, separating AB corresponding to RIH, copying data packet, and forwarding data packet according to table entry.
In the ALH analysis process, the routing node reads the addresses in the ALH and plans the path of each address. Edge determination is also required. In addition, whether the RIH is inserted or not needs to be judged, if yes, the ALH is split, and the RIH is inserted before each ALH. After ALH analysis is finished, judging whether the header is finished or not, if so, reading the header; if not, reading the next header for analysis.
It can be seen that, in the embodiment of the present invention, two extension headers, namely, an ALH and an RIH, are defined, the ALH may carry a plurality of receiver addresses, the RIH indicates routing behaviors of all receiver addresses in the ALH bound to the RIH, a routing node in a packet forwarding path receives a data packet forwarded by a previous routing node, and performs ALH and RIH analysis on the data packet, respectively, to determine a forwarding path of the data packet at a 5GLAN logical group level.
In the embodiment of the present invention, after determining a forwarding path of a data packet at a 5GLAN logical group level, the data packet is encapsulated to a GTP tunnel in a GTP (GPRS tunneling Protocol) data plane based on the forwarding path for forwarding, where the 5GLAN logical group level and the GTP data plane have a mapping relationship.
Specifically, in mobile networks, the data plane is not addressed over IP, nor does the IP address contain any location information. Therefore, in the data plane of the mobile network, the path planning function needs to perform mapping of functions and behaviors to adapt to the data plane of the GTP tunnel.
In the embodiment of the present invention, for the N3 interface, no tunnel compatibility processing is performed, that is, a data packet including an ALH list sent from a sender will directly reach a User Port Function (UPF) through a GTP tunnel.
In the embodiment of the invention, a 5GLAN group routing layer and a GTP data plane can be mapped, routing nodes which are used for carrying out routing behavior segmentation in the 5GLAN group are mapped into a 5G data plane UPF, then splitting judgment of a GTP tunnel is carried out, whether data traffic needs to be copied or not is judged, and the data traffic needs to be packaged into a plurality of GTP tunnels and is forwarded to different UPFs.
For convenience of understanding, the one-to-many communication method based on the IPv6 extension header in 5GLAN provided in the embodiment of the present invention is further described below with reference to specific examples.
Referring to fig. 5, fig. 5 is a schematic diagram of a power monitoring network according to an embodiment of the present invention, where the power monitoring network includes 8 monitoring terminals (STUs) and 1 data backup server, and the devices are in the same 5GLAN group. In 5g lan, a logic path as shown in fig. 6 may be planned for the power monitoring network, and fig. 6 is a schematic diagram of the logic path of the power monitoring network according to the embodiment of the present invention.
If the power interruption occurs to the STU1, an urgent transfer processing task and data transfer are required. By the scheme, all the power towers monitored by the STU1 will be temporarily shared among the STUs 2, STR3, STU6 and STU7 for monitoring, and the existing data of the STU1 needs to be transferred to other STUs for continuous processing, and data Backup is carried out at the Backup server. If unicast transmission is used, 5 data connections need to be maintained simultaneously, causing a large load on the device performance and standby power of STU 1. If the traditional multicast is adopted, delay will be generated in the multicast address distribution and multicast tree establishment process, and the requirements of burstiness and real-time property are difficult to meet. Therefore, the one-to-many communication method based on the IPv6 extension header in 5GLAN provided by the embodiment of the present invention can be used to perform fast one-to-many transmission.
First, STU1 directly sends one-to-many session data, and writes a set of destination addresses including STU2, STU3, STU6, STU7, and Backup in the ALH. Referring to fig. 7, fig. 7 is a schematic diagram of a topology of flow transmission in the power monitoring network according to the embodiment of the present invention.
Then, at the route node UPF1, receiving an initial message sent by a wireless access network (RAN), including a data packet and an ALH, analyzing the ALH, and performing next hop path planning on each destination address in the ALH, wherein the next hop route nodes of STU2, STU3, STU6, and STU7 are all UPF3, and the next hop route node of Backup is UPF2, so that the ALH is split and the RIH is inserted. Subsequently, RIH analysis is performed, and according to a result of the RIH analysis, data packets are copied and the copied data packets are respectively encapsulated into different GTP tunnels to be respectively sent to the UPF2 and the UPF3, specifically, refer to fig. 8, where fig. 8 is a schematic diagram of forwarding data packets in one-to-many communication provided in the embodiment of the present invention.
Similarly, when the routing node UPF3 analyzes the ALH and the RIH based on the same rule, and performs edge determination on the routing node, since STU2 and STU3 are both addresses of receivers belonging to the routing node, the data packet needs to be copied, the copied data packet is encapsulated to the corresponding GTP tunnel, and is forwarded to STU2 and STU3. In addition, the data packets need to be copied and transmitted to the UPF4 through GTP 4.
Similarly, at the routing node UPF4, the packet needs to be copied, the ALH is split, and the ALH is sent to the edge STU6 and STU7.
Through the forwarding process, the STU2, the STR3, the STU6, the STU7 and the Backup server can receive the information sent by the STU1, and do not need to negotiate in advance, so that the session initiative and flexibility are improved, the state of the routing node is removed, the router overhead is reduced, and the burstiness requirement on the session can be met. Meanwhile, the sender only needs to send a single flow, thereby reducing the load of the sender and saving the air interface frequency band resource. And only one part of GTP and the flow in the link exists, so that the link redundancy is reduced, and the router overhead is reduced.
In the one-to-many communication method based on the IPv6 extension header in 5GLAN provided by the embodiment of the present invention, a data packet forwarded by a previous routing node is obtained, where the data packet includes a data packet and an address list extension header ALH, and the ALH includes multiple receiver addresses; performing routing behavior planning on each receiver address contained in the ALH, splitting the ALH based on a routing behavior planning result, and generating a routing indication extended header RIH aiming at each split ALH; analyzing the RIH, determining a data packet forwarding path on a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein a mapping relation exists between the 5GLAN logic group level and the GTP data plane.
It can be seen that in the 5GLAN one-to-many session, the ALH and RIH extension headers are defined, the routing node parses the ALH and RIH, and copies and forwards the packet based on the parsing result. Dynamic and efficient one-to-many communication in 5GLAN can be realized.
Moreover, all receivers are designated by the user, and the sender knows all receiver information and can operate one-to-many conversation members at any time; the method is not limited by the uniqueness of the multicast address, the distribution of the multicast address is not required to be realized, a user can initiate and remove one-to-many sessions at any time, and the emergent requirements of services can be met; the router does not need to maintain any member state related to the session members, including member management and distribution tree generation, so that the router overhead is saved; the data packet can be copied and forwarded according to the unicast routing table without an additional one-to-many routing scheme, so that the router overhead is saved. Meanwhile, the same routing performance as that of unicast traffic can better perform traffic engineering.
Corresponding to the embodiment of the one-to-many communication method based on the IPv6 extension header in 5GLAN provided in the embodiment of the present invention, an embodiment of the present invention further provides a one-to-many communication apparatus based on the IPv6 extension header in 5GLAN, referring to fig. 9, the apparatus may include the following modules:
an obtaining module 901, configured to obtain a data packet forwarded by an previous routing node, where the data packet includes a data packet and an address list extension header ALH, and the ALH includes multiple addresses of a receiver;
a first parsing module 902, configured to perform routing behavior planning on each receiver address included in the ALH, split the ALH based on a routing behavior planning result, and generate a routing indication extended header RIH for each split ALH;
a second parsing module 903, configured to parse the RIH, determine, based on a RIH parsing result, a forwarding path of the data packet on a 5GLAN logical group level, and encapsulate the data packet into a GTP tunnel in a GTP data plane based on the forwarding path for forwarding, where a mapping relationship exists between the 5GLAN logical group level and the GTP data plane.
In an embodiment of the present invention, the first parsing module 902 is specifically configured to:
and determining a next hop routing node of each receiver address contained in the ALH, dividing the receiver addresses same as the next hop routing node into the same ALH, and generating a RIH containing the uniform routing indication identifiers of all the receiver addresses of the ALH.
In an embodiment of the present invention, the second parsing module 903 is specifically configured to:
judging whether the current RIH is completely matched with the routing behavior table entry, and if so, analyzing the next RIH;
if not, returning to the step of planning the routing behavior of each receiver address contained in the ALH;
and judging whether the forwarding port of the route behavior table entry matched with the current RIH is changed compared with the previous RIH, if so, copying the data packet, and determining the forwarding port of each data packet.
In an embodiment of the present invention, on the basis of the apparatus shown in fig. 9, the apparatus may further include:
and the edge detection module is used for judging whether each receiver address belongs to the routing node or not based on the routing behavior table entry, if so, copying the data packet and forwarding the copied data packet to the receiver address belonging to the routing node.
In the 5g lan provided by the embodiment of the present invention, a data packet forwarded by a previous routing node is obtained based on a one-to-many communication apparatus of an IPv6 extension header, where the data packet includes a data packet and an address list extension header ALH, and the ALH includes a plurality of receiver addresses; planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH; analyzing the RIH, determining a data packet forwarding path on a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein a mapping relation exists between the 5GLAN logic group level and the GTP data plane. It can be seen that, in the 5GLAN one-to-many session, the ALH and RIH extension headers are defined, and the routing node parses the ALH and RIH, copies and forwards the packet based on the parsing result. Dynamic and efficient one-to-many communication in 5GLAN can be realized.
The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
An embodiment of the present invention further provides an electronic device, as shown in fig. 10, including a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, where the processor 1001, the communication interface 1002, and the memory 1003 complete mutual communication through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to implement the following steps when executing the program stored in the memory 1003:
acquiring a data message forwarded by a previous routing node, wherein the data message comprises a data packet and an address list extension header (ALH), and the ALH comprises a plurality of receiver addresses;
planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH;
analyzing the RIH, determining a data packet forwarding path on a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein a mapping relation exists between the 5GLAN logic group level and the GTP data plane.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The electronic device provided by the embodiment of the invention obtains the data message forwarded by the previous routing node, wherein the data message comprises a data packet and an address list extension header ALH, and the ALH comprises a plurality of receiver addresses; performing routing behavior planning on each receiver address contained in the ALH, splitting the ALH based on a routing behavior planning result, and generating a routing indication extended header RIH aiming at each split ALH; analyzing the RIH, determining a forwarding path of a data packet at a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group level and the GTP data plane have a mapping relation. It can be seen that in the 5GLAN one-to-many session, the ALH and RIH extension headers are defined, the routing node parses the ALH and RIH, and copies and forwards the packet based on the parsing result. Dynamic and efficient one-to-many communication in 5GLAN can be realized.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the IPv6 extended header-based one-to-many communication method in any 5GLAN described above.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the one-to-many communication method based on IPv6 extension header in any 5GLAN of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the embodiment of the one-to-many communication apparatus, the electronic device, the computer-readable storage medium and the computer program product based on the IPv6 extension header in 5GLAN, since they are substantially similar to the embodiment of the one-to-many communication method based on the IPv6 extension header in 5GLAN, the description is relatively simple, and for relevant points, see the partial description of the embodiment of the one-to-many communication method based on the IPv6 extension header in 5 GLAN.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A one-to-many communication method based on IPv6 extension header in 5GLAN, applied to a routing node, the method comprising:
acquiring a data message forwarded by the previous routing node, wherein the data message comprises a data packet and an address list extension header (ALH), and the ALH comprises a plurality of receiver addresses;
planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH;
analyzing the RIH, determining a forwarding path of a data packet at a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group level and the GTP data plane have a mapping relation;
the steps of planning the routing behavior of each receiver address contained in the ALH, splitting the ALH based on the planning result of the routing behavior, and generating a routing indication extended header RIH aiming at each split ALH comprise:
and determining a next hop routing node of each receiver address contained in the ALH, dividing the receiver addresses same as the next hop routing node into the same ALH, and generating a RIH containing the uniform routing indication identifiers of all the receiver addresses of the ALH.
2. The method of claim 1, wherein the step of parsing the RIH and determining a packet forwarding path at the 5GLAN clique level based on the RIH parsing result comprises:
judging whether the current RIH is completely matched with the routing behavior table entry, and if so, analyzing the next RIH;
if not, returning to the step of planning the routing behavior of each receiver address contained in the ALH;
and judging whether the forwarding port of the route behavior table entry matched with the current RIH is changed compared with the previous RIH, if so, copying the data packet, and determining the forwarding port of each data packet.
3. The method of claim 1, further comprising:
and judging whether each receiver address belongs to the routing node or not based on the routing behavior table entry, if so, copying the data packet, and forwarding the copied data packet to the receiver address belonging to the routing node.
4. An apparatus for one-to-many communication based on IPv6 extension header in 5GLAN, applied to a routing node, the apparatus comprising:
the system comprises an acquisition module, a forwarding module and a forwarding module, wherein the acquisition module is used for acquiring a data message forwarded by an upper routing node, the data message comprises a data packet and an address list extension header (ALH), and the ALH comprises a plurality of receiver addresses;
a first analysis module, configured to perform routing behavior planning on each receiver address included in the ALH, split the ALH based on a routing behavior planning result, and generate a routing indication extended header RIH for each split ALH;
the second analysis module is used for analyzing the RIH, determining a forwarding path of a data packet on a 5GLAN logic group level based on an RIH analysis result, and encapsulating the data packet to a GTP tunnel in a GTP data plane for forwarding based on the forwarding path, wherein the 5GLAN logic group level and the GTP data plane have a mapping relation;
the first parsing module is specifically configured to: and determining a next hop routing node of each receiver address contained in the ALH, dividing the receiver addresses same as the next hop routing node into the same ALH, and generating a RIH containing the uniform routing indication identifiers of all the receiver addresses of the ALH.
5. The apparatus of claim 4, wherein the second parsing module is specifically configured to:
judging whether the current RIH is completely matched with the routing behavior table entry, and if so, analyzing the next RIH;
if not, returning to the step of planning the routing behavior of each receiver address contained in the ALH;
and judging whether the forwarding port of the route behavior table entry matched with the current RIH is changed compared with the previous RIH, if so, copying the data packet, and determining the forwarding port of each data packet.
6. The apparatus of claim 4, further comprising:
and the edge detection module is used for judging whether each receiver address belongs to the routing node or not based on the routing behavior table entry, if so, copying the data packet and forwarding the copied data packet to the receiver address belonging to the routing node.
7. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 3 when executing a program stored in the memory.
8. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-3.
CN202110759655.7A 2021-07-05 2021-07-05 One-to-many communication method and device based on IPv6 extension header in 5GLAN Active CN113595912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110759655.7A CN113595912B (en) 2021-07-05 2021-07-05 One-to-many communication method and device based on IPv6 extension header in 5GLAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110759655.7A CN113595912B (en) 2021-07-05 2021-07-05 One-to-many communication method and device based on IPv6 extension header in 5GLAN

Publications (2)

Publication Number Publication Date
CN113595912A CN113595912A (en) 2021-11-02
CN113595912B true CN113595912B (en) 2022-11-11

Family

ID=78246009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110759655.7A Active CN113595912B (en) 2021-07-05 2021-07-05 One-to-many communication method and device based on IPv6 extension header in 5GLAN

Country Status (1)

Country Link
CN (1) CN113595912B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921430A (en) * 2000-05-30 2007-02-28 株式会社日立制作所 Multicast routing method and apparatus
WO2014106314A1 (en) * 2013-01-06 2014-07-10 中兴通讯股份有限公司 Method and device for registering multicast source and establishing multicast path
CN109561022A (en) * 2017-09-27 2019-04-02 华为技术有限公司 A kind of multicast forward method and multicast router
CN110324263A (en) * 2018-03-30 2019-10-11 华为技术有限公司 The method, apparatus and system of transport multicast message
CN110417666A (en) * 2019-07-31 2019-11-05 南京邮电大学 A kind of grouping encapsulation and transmission method based on Head modify technology
CN112532563A (en) * 2019-09-17 2021-03-19 华为技术有限公司 Message sending method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4317403B2 (en) * 2002-08-09 2009-08-19 パナソニック株式会社 Header compression apparatus and header compression method
CN100405797C (en) * 2006-12-01 2008-07-23 清华大学 IPv4 over IPv6 extension method of BGP protocol software
US20100046516A1 (en) * 2007-06-26 2010-02-25 Media Patents, S.L. Methods and Devices for Managing Multicast Traffic
CN102123182B (en) * 2011-04-09 2013-07-03 山东师范大学 Method for separating host identifier (HID) mark from locator based on IPV6 (Internet Protocol Version 6) address
CN111555982B (en) * 2020-07-10 2020-09-29 武汉绿色网络信息服务有限责任公司 Method and system for intelligently routing message based on IPv6 extension header
CN113014485B (en) * 2021-02-25 2022-04-26 烽火通信科技股份有限公司 Message forwarding method and message forwarding device based on SRv6-TE path

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921430A (en) * 2000-05-30 2007-02-28 株式会社日立制作所 Multicast routing method and apparatus
WO2014106314A1 (en) * 2013-01-06 2014-07-10 中兴通讯股份有限公司 Method and device for registering multicast source and establishing multicast path
CN109561022A (en) * 2017-09-27 2019-04-02 华为技术有限公司 A kind of multicast forward method and multicast router
CN110324263A (en) * 2018-03-30 2019-10-11 华为技术有限公司 The method, apparatus and system of transport multicast message
CN110417666A (en) * 2019-07-31 2019-11-05 南京邮电大学 A kind of grouping encapsulation and transmission method based on Head modify technology
CN112532563A (en) * 2019-09-17 2021-03-19 华为技术有限公司 Message sending method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
The source-multicast: A sender-initiated multicast member management mechanism in SRv6 networks;Weihong Wu,Jiang Liu,Tao Huang;《Journal of Network and Computer Applications》;20191224;第153卷;全文 *
基于网络处理器的IPv6组播技术研究;王岩;《中国优秀硕士学位论文全文数据库》;20070615;全文 *

Also Published As

Publication number Publication date
CN113595912A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US7978631B1 (en) Method and apparatus for encoding and mapping of virtual addresses for clusters
EP2592793B1 (en) Method and apparatus for forwarding multicast traffic
US20180102965A1 (en) Unicast branching based multicast
US8848709B2 (en) Source rooted multicast (SRM)
US20080075078A1 (en) Frame Transfer System
WO2018010626A1 (en) Cloud-end data multicast method and system, and computer device
WO2010022767A1 (en) Packet forwarding in a network
WO2020155293A1 (en) Stream pushing method, system and server
US10225201B2 (en) Scalable multicast for notification-driven content delivery in information centric networks
US20190014035A1 (en) Information transmission method and device
CN109561022A (en) A kind of multicast forward method and multicast router
JP2006074132A (en) Multicast communication method and gateway device
WO2007054006A1 (en) A base station of wideband wireless access system and a method for realizing group-broadcast service
WO2021196967A1 (en) Message interaction method and apparatus, and device and storage medium
CN113810349B (en) Data transmission method, device, computer equipment and storage medium
CN110460482B (en) Traffic acquisition method, device, server and medium
CN113595912B (en) One-to-many communication method and device based on IPv6 extension header in 5GLAN
CN112583736A (en) Signaling message distribution method, device, equipment and medium
CN110868353B (en) Message processing method and device
CN108900422B (en) Multicast forwarding method and device and electronic equipment
CN113162855A (en) Multicast message detection method, network equipment and system
CN115486041B (en) Data message format for communication across different networks
WO2021189945A1 (en) Message processing method, apparatus, and device, storage medium and system
CN110474781B (en) Method and device for forwarding multicast data
CN111600798B (en) Method and equipment for sending and obtaining assertion message

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