Multi-PDN implementation method and storage medium between indoor and outdoor units

By allocating multiple VLAN network ports to indoor units and outdoor units and establishing PDN data channels, the problem of difficulty in achieving multi-PDN connection between indoor units and outdoor units in the prior art is solved, and the simultaneous use of multiple APNs and signal quality improvement is achieved.

CN113938353BActive Publication Date: 2024-12-03ZTE CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202010607390.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-29
Publication Date
2024-12-03
Estimated Expiration
2040-06-29

AI Technical Summary

Technical Problem

It is difficult to achieve multiple PDN connections between existing indoor units and outdoor units, which limits the simultaneous use of multiple APNs, affecting signal quality and operation and maintenance costs.

Method used

Multiple PDN connections are realized by allocating multiple VLAN network ports to the physical network interfaces of indoor units and outdoor units, and establishing one-to-one PDN data channels, and obtaining and assigning IP addresses to route data packets to the corresponding PDN data channels.

Benefits of technology

In the case of an RJ45 port, multiple PDN connections are realized between indoor units and outdoor units, supporting the simultaneous use of multiple APNs, improving signal quality and reducing operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113938353B_ABST
    Figure CN113938353B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and storage medium for realizing multiple PDN between an indoor unit and an outdoor unit, comprising: the outdoor unit allocates at least two first VLAN network ports to a first physical network interface; then establishes a PDN data channel corresponding to the first VLAN network port one by one, and the PDN data channel is used to interact with a base station for data; then the outdoor unit obtains an address allocation request corresponding to the PDN data channel from the indoor unit, and allocates a first IP address corresponding to the PDN data channel to the indoor unit according to the address allocation request, so that the data message from the indoor unit is routed to the corresponding PDN data channel according to the first IP address. The outdoor unit can divide the first physical network interface into multiple first VLAN network ports and establish multiple corresponding PDN data channels, so that the data message of the indoor unit can be routed to the corresponding PDN data channel according to different first IP addresses, and then routed to the base station, so that in the case of one physical network interface, multiple PDN connections can be realized between the indoor unit and the outdoor unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of communication technology, and in particular to a method for implementing multiple PDNs between an indoor unit and an outdoor unit, an outdoor unit, an indoor unit, and a computer-readable storage medium. Background Art

[0002] With the development of mobile communications, in order to ensure signal strength and signal stability, IDU (indoor unit) and ODU (outdoor unit) are increasingly favored by major operators. With the continuous changes in network topology, the demand for multiple PDNs (packet data networks) is also increasing. The main reasons include the following two points: First, in order to reduce operation and maintenance costs, operators gradually adopt remote management equipment, but remote management is easy to consume user traffic, so operators adopt independent PDNs and provide free PDNs. Second, most of the current MBB (Mobile Broadband) products need to support VOIP (Voice over Internet Protocol) or VOLTE (Voice over Long-Term Evolution). In order to ensure call quality, operators generally use independent APNs (Access Point Name) to ensure QOS (Quality of Service). Therefore, based on the above two reasons, the demand for multiple PDNs will increase, but most of the existing IDUs and ODUs use an RJ (Registered Jack) 45 port connection, so it is difficult to achieve multiple PDN connections between the two devices. Summary of the invention

[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0004] The embodiment of the present invention provides a method for realizing multiple PDNs between an indoor unit and an outdoor unit, an outdoor unit, an indoor unit, and a computer-readable storage medium, which can realize multiple PDN connections between the indoor unit and the outdoor unit in the case of one RJ45 port.

[0005] In a first aspect, an embodiment of the present invention provides a method for implementing multiple PDNs between an indoor unit and an outdoor unit, which is applied to the outdoor unit and includes:

[0006] Allocate at least two first VLAN network ports to the first physical network interface;

[0007] Establishing a PDN data channel corresponding to the first VLAN network port one by one, wherein the PDN data channel is used to interact with the base station for data;

[0008] Obtaining an address allocation request corresponding to the PDN data channel from the indoor unit;

[0009] A first IP address corresponding to the PDN data channel is allocated to the indoor unit according to the address allocation request, so that data packets from the indoor unit are routed to the corresponding PDN data channel according to the first IP address.

[0010] In a second aspect, an embodiment of the present invention further provides a method for implementing multiple PDNs between an indoor unit and an outdoor unit, which is applied to the indoor unit and includes:

[0011] Allocate at least two second VLAN network ports to the second physical network interface, wherein the at least two second VLAN network ports correspond one-to-one to at least two PDN data channels established in the outdoor unit, and the PDN data channels are used to interact with the base station for data;

[0012] Sending an address allocation request corresponding to the PDN data channel to the outdoor unit;

[0013] Acquire a first IP address corresponding to the PDN data channel allocated by the outdoor unit according to the address allocation request;

[0014] The data message is routed to the corresponding PDN data channel through the second VLAN network port according to the first IP address.

[0015] In a third aspect, an embodiment of the present invention further provides an outdoor unit, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect above when executing the computer program.

[0016] In a fourth aspect, an embodiment of the present invention further provides an indoor unit, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the second aspect above when executing the computer program.

[0017] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method as described above.

[0018] The embodiment of the present invention includes: the outdoor machine allocates at least two first VLAN network ports to the first physical network interface; then establishes a PDN data channel corresponding to the first VLAN network port one by one, and the PDN data channel is used to interact with the base station; then the outdoor machine obtains an address allocation request corresponding to the PDN data channel from the indoor machine, and allocates a first IP address corresponding to the PDN data channel to the indoor machine according to the address allocation request, so that the data message from the indoor machine is routed to the corresponding PDN data channel according to the first IP address. According to the scheme provided by the embodiment of the present invention, the outdoor machine can divide its first physical network interface into multiple first VLAN network ports, and then establish a PDN data channel corresponding to the first VLAN network port one by one. Since the number of the first VLAN network ports is multiple, multiple PDN data channels can be established. After the outdoor machine allocates multiple first IP addresses corresponding to the PDN data channel one by one to the indoor machine, the data message of the indoor machine can be routed to the corresponding PDN data channel in the outdoor machine according to different first IP addresses, and routed to the base station through the PDN data channel. Therefore, the embodiment of the present invention can realize multiple PDN connections between the indoor machine and the outdoor machine in the case of one physical network interface.

[0019] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0021] Figure 1 It is a schematic diagram of a system architecture platform for executing a multi-PDN implementation method between an IDU and an ODU provided by an embodiment of the present invention;

[0022] Figure 2 is a flow chart of a method for implementing multiple PDNs between an IDU and an ODU provided by an embodiment of the present invention;

[0023] Figure 3 is a system structure diagram of an IDU and an ODU provided by an embodiment of the present invention;

[0024] Figure 4 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0025] Figure 5 It is a schematic diagram of allocating a private network IP address from an ODU to an IDU provided by an embodiment of the present invention;

[0026] Figure 6 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0027] Figure 7 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0028] Figure 8 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0029] Fig. 9 It is a schematic diagram of allocating a public network IP address from an ODU to an IDU, provided by an embodiment of the present invention;

[0030] Fig.10 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0031] Fig.11 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0032] Fig.12 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0033] Fig.13 is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention;

[0034] Fig.14 It is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0036] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0037] The present invention provides a method for realizing multiple PDNs between an IDU and an ODU, an ODU, an IDU, and a computer-readable storage medium. For the IDU, multiple VLAN network ports can be allocated to its own RJ45 port; for the ODU, multiple VLAN network ports can also be allocated to its own RJ45 port, and the ODU will also establish a PDN data channel corresponding to the VLAN network port allocated to itself, wherein the PDN data channel is used to interact with the base station for data; when the IDU sends an address allocation request corresponding to the PDN data channel to the ODU, the ODU will allocate an IP address corresponding to the PDN data channel to the IDU according to the address allocation request, and then the IDU can route the data message to the corresponding PDN data channel through its own VLAN network port according to the IP address, and then route it to the base station through the PDN data channel. For this technical solution, the ODU can establish multiple PDN data channels, and the data message of the IDU can be routed to the corresponding PDN data channel in the ODU according to different IP addresses, and routed to the base station through the PDN data channel. Therefore, the present invention can realize multiple PDN connections between the IDU and the ODU under the condition of one physical network interface.

[0038] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0039] like Figure 1 As shown, Figure 1 It is a schematic diagram of a system architecture platform for executing a multi-PDN implementation method between an IDU and an ODU provided by an embodiment of the present invention.

[0040] exist Figure 1 In the example of the system architecture platform, the system architecture platform includes ODU100 and IDU200, wherein the ODU100 and IDU200 are both provided with a memory 120 and a processor 110, wherein the memory 120 and the processor 110 can be connected via a bus or other means. Figure 1 The example of connecting through bus is taken in the following.

[0041] The memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 120 may optionally include a memory remotely disposed relative to the processor 110, and these remote memories may be connected to the system architecture platform via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0042] In related technologies, in order to ensure signal strength and signal stability, IDU200 and ODU100 are increasingly favored by major operators. With the continuous changes in network topology, the demand for multiple PDNs is increasing. The main reasons include the following two points: First, in order to reduce operation and maintenance costs, operators gradually adopt remote management equipment, but remote management is easy to consume user traffic, so operators adopt independent PDNs and provide free PDNs. Second, most current MBB products need to support VOIP or VOLTE. In order to ensure call quality, operators generally use independent APNs to ensure QOS. Therefore, based on the above two reasons, the demand for multiple PDNs will increase, but the existing IDU100 and ODU200 mostly use one RJ45 port for connection, so it is difficult to achieve multiple PDN connections between the two devices.

[0043] However, most of the current MBB products are composed of a main processor and a wireless module. For multiple APNs, most of them adopt two solutions. One is that most of these products have multiple physical channels, such as multiple RJ45 ports. If there are multiple APNs, each channel corresponds to the corresponding physical channel one by one; the other is to connect directly through USB (Universal Serial Bus). In this case, most of the main processors are used for data services, for user LAN (Local Area Network) and WLAN (Wireless Local Area Networks WLAN) access, and other internal services of the device such as TR069 and VOIP run on the wireless module, without the need to expand multiple channels. For IDU200 and ODU100 products, the product positioning is that ODU100 only processes the wireless communication protocol stack, and various services such as data services, device management and VOIP all run on IDU200, so the above two solutions cannot be used directly.

[0044] Therefore, based on the above situation, Figure 1In the system architecture platform provided by the example, IDU200 can allocate multiple second VLAN network ports for its own second physical network interface; ODU100 can also allocate multiple first VLAN network ports for its own first physical network interface, and ODU100 will also establish a PDN data channel corresponding to the first VLAN network port one by one, wherein the PDN data channel is used for data interaction with the base station; when IDU200 sends an address allocation request corresponding to the PDN data channel to ODU100, ODU100 will allocate the first IP address corresponding to the PDN data channel to IDU200 according to the address allocation request, and then IDU200 can route the data message to the corresponding PDN data channel through its own second VLAN network port according to the first IP address, and then route it to the base station through the PDN data channel. For this technical solution, ODU100 can establish multiple PDN data channels, and the data message of IDU200 can be routed to the corresponding PDN data channel in ODU100 according to different first IP addresses, and routed to the base station through the PDN data channel. Therefore, the present invention can realize multiple PDN connections between the IDU 200 and the ODU 100 under the condition of one physical network interface.

[0045] Those skilled in the art will appreciate that the system architecture platform can be applied to 3G communication network systems, LTE communication network systems, 5G communication network systems, and subsequently evolved mobile communication network systems, and this embodiment does not specifically limit this.

[0046] It can be understood by those skilled in the art that Figure 1 The system architecture platform shown in the figure does not constitute a limitation on the embodiments of the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0047] exist Figure 1 In the system architecture platform shown, the processor 110 may call a multi-PDN implementation program stored in the memory 120 , thereby executing a multi-PDN implementation method between the IDU 200 and the ODU 100 .

[0048] Based on the above system architecture platform, various embodiments of the method for implementing multiple PDNs between IDUs and ODUs of the present invention are proposed below.

[0049] like Figure 2 As shown, Figure 2 It is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by an embodiment of the present invention. The method for implementing multiple PDNs between an IDU and an ODU can be applied to an ODU, including but not limited to step S100, step S200, step S300 and step S400.

[0050] Step S100, allocating at least two first VLAN network ports to the first physical network interface;

[0051] Step S200, establishing a PDN data channel corresponding to the first VLAN network port one by one, the PDN data channel is used to exchange data with the base station;

[0052] Step S300, obtaining an address allocation request corresponding to a PDN data channel from an IDU;

[0053] Step S400: allocating a first IP address corresponding to a PDN data channel to the IDU according to an address allocation request, so that a data message from the IDU is routed to the corresponding PDN data channel according to the first IP address.

[0054] In one embodiment, the IDU is responsible for running various application services and providing LAN or WLAN services to the downstream to realize data processing and services. The second physical network interface on the IDU is responsible for connecting with the ODU. The ODU is responsible for 2G / 3G / 4G wireless protocol processing, and receives the user's data message sent by the IDU through the first physical network interface corresponding to the second physical network interface. Then the ODU will convert the user's data message into radio waves and send it to the mobile communication base station, and convert the radio waves received from the mobile base station into the user's data message, and then forward it to the IDU through the first physical network interface corresponding to the second physical network interface. In an embodiment of the present invention, in order to realize multi-PDN connection between IDU and ODU, IDU will first virtualize its own second physical network interface into multiple second VLAN network ports for multi-PDN connection with ODU; in addition, ODU will also first virtualize its own first physical network interface into multiple first VLAN network ports for multi-PDN connection with IDU; secondly, ODU will also establish PDN data channels corresponding to the first VLAN network ports one by one. Since there are multiple first VLAN network ports, ODU can establish multiple PDN data channels accordingly. Since the first VLAN network port corresponds to the second VLAN network port one by one, the PDN data channel also corresponds to the second VLAN network port one by one. After the second VLAN network port, the first VLAN network port and the PDN data channel are generated, the IDU will send an address allocation request to the ODU through each second VLAN network port, and then the ODU will allocate the first IP address corresponding to the PDN data channel to each second VLAN network port of the IDU according to the address allocation request from the IDU, and then the data message of each second VLAN network port of the IDU can be routed to the corresponding PDN data channel in the ODU according to the corresponding first IP address, and then routed to the base station through the PDN data channel. Therefore, the embodiment of the present invention can realize multiple PDN connections between the IDU and the ODU under the condition of one physical network interface.

[0055] It is worth noting that the division of the second VLAN network port and the first VLAN network port requires the IDU and ODU to be divided synchronously, and the corresponding tags of the two are kept consistent. In addition, for the default data path, the untag method is adopted so that other devices that are not divided into VLANs can be directly connected to the ODU and can also be used.

[0056] It can be understood that the first physical network interface and the second physical network interface mentioned above can be RJ45 ports on the IDU and ODU respectively.

[0057] In addition, refer to Figure 3 and Figure 4 In one embodiment, ODU100 includes AP130 and MODEM140, and the above-mentioned first physical network interface is set on AP130; regarding the establishment of a PDN data channel corresponding to the first VLAN network port in the above-mentioned step S200, it includes but is not limited to step S510 and step S520.

[0058] Step S510, according to the first VLAN network port, the AP enumerates the WAN network port corresponding to the first VLAN network port one by one, and the MODEM generates a virtual network port corresponding to the WAN network port one by one;

[0059] Step S520: Establish a PDN data channel corresponding to the first VLAN network port one-to-one according to the first VLAN network port, the WAN network port and the virtual network port.

[0060] In one embodiment, the first VLAN network port is obtained by dividing the first physical network interface on AP130. Secondly, AP130 also creates at least a plurality of WAN network ports according to the PDN channel established between ODU100 and the base station, wherein the WAN network port corresponds to the first VLAN network port one by one. In addition, MODEM140 generates a plurality of virtual network ports, so that ODU100 establishes a PDN data channel according to a first VLAN network port and a WAN network port and a virtual network port corresponding thereto. Since the number of first VLAN network ports, WAN network ports and virtual network ports is set in multiple and one by one correspondence, ODU100 can establish a plurality of PDN data channels. For each PDN data channel, the data message of the corresponding second VLAN network port on IDU200 is received through the first VLAN network port, and is routed to the WAN network port and then the virtual network port in sequence through the PDN data channel, and finally routed to the base station.

[0061] It is worth noting that the IDU 200 and the ODU 100 can be independently configured or combined into a CPE (Customer Premise Equipment) 300 .

[0062] First, IDU200, as an indoor unit, is equivalent to a router, which can provide LAN or WLAN services for users, and can also provide a management server for CPE300 itself, including web page management, TR069 and other services. In order to achieve multi-PDN connection, IDU200 is provided with a second PDN management module 210 and multiple second application service channels 220. Among them, the second PDN management module 210 is responsible for allocating at least two second VLAN network ports to the second physical network interface according to application service requirements; monitoring whether the device dials successfully, applying for the first IP address, and configuring the routing policy based on the applied first IP address and the second VLAN network port. In addition, multiple second application service channels 220 bind the corresponding second VLAN network ports divided by the second PDN management module 210 for the second physical network interface according to the division results of the second VLAN network ports and service requirements.

[0063] Secondly, the ODU100 device, as an outdoor unit, is equivalent to a wireless Internet access module, which can perform 2G / 3G / 4G / 5G wireless protocol processing, convert the user data sent by IDU200 into radio waves and send them to the mobile communication base station, and convert the radio waves received from the mobile communication base station into user data, and then forward them to IDU200. Among them, AP130 is an application processor that can run some applications on ODU100, such as TR069 and web server; MODEM140 is a modem that can run 2G / 3G / 4G / 5G wireless protocol stacks and provide services for the entire device to connect to the mobile communication base station. In order to realize multi-PDN, AP130 is provided with a first PDN management module 131 and multiple first application service channels 132. Among them, the first PDN management module 131 is responsible for allocating at least two first VLAN network ports to the first physical network interface according to the application service requirements, and monitoring whether the device dials successfully, allocating a first IP address to IDU200, and routing the data message of IDU200 to MODEM140. In addition, the plurality of first application service channels 132 can route the data packets sent by the second application service channel 220 to the MODEM 140 according to the division result of the first VLAN network port and service requirements, and run some applications on the ODU 100, such as TR069 and web server, so that the user can manage the ODU 100.

[0064] In addition, in order to realize multiple PDN connections, MODEM140 is provided with a network connection module 141 and multiple third application service channels 142, wherein the network connection module 141 is responsible for establishing a PDN connection with the base station and obtaining a public IP address; the multiple third application service channels 142 are responsible for sending the data packets sent by the first application service channel 132 to the corresponding PDN channels, and finally to the mobile communication base station.

[0065] It should be noted that the network port between IDU200 and AP130 is a VLAN side network port 400 virtualized from the RJ45 port, which serves as a data channel between the second application service channel 220 and the first application service channel 132. It can be understood that the second VLAN network port is a VLAN network port virtualized from the RJ45 port on the IDU200 side, and the first VLAN network port is a VLAN network port virtualized from the RJ45 port on the ODU100 side.

[0066] It should be noted that the network port between AP130 and MODEM140 is the WAN side network port 500 enumerated after the ODU100 dials up successfully, which serves as the data channel between the first application service channel 132 and the third application service channel 142. It can be understood that the above-mentioned WAN network port is the network port enumerated by the AP130 side for connecting to the MODEM140, and the above-mentioned virtual network port is the network port generated by the MODEM140 for connecting to the AP130, wherein the WAN network port of the AP130 and the virtual network port of the MODEM140 correspond one to one.

[0067] In addition, refer to Figure 5 and Figure 6 In one embodiment, the above step S400 includes but is not limited to step S600.

[0068] Step S600: Allocate a first private network IP address corresponding to the PDN data channel to the IDU according to the address allocation request, so that the data message from the IDU is routed to the corresponding first VLAN network port according to the first private network IP address.

[0069] In one embodiment, the IDU allocates a plurality of second VLAN network ports to the second physical network interface according to business needs, wherein the second physical network interface of the IDU can refer to Figure 5 For multiple second VLAN ports, refer to eth0 in Figure 5 eth0.X, eth0.Y and eth0.Z in; at the same time, ODU allocates multiple first VLAN network ports to the first physical network interface according to business needs, wherein the first physical network interface of ODU can refer to Figure 5 For multiple first VLAN ports, refer to eth1. Figure 5After multiple second VLAN network ports and multiple first VLAN network ports are virtualized, the ODU can allocate the corresponding first private network IP address to each second VLAN network port of the IDU according to the address allocation request corresponding to the PDN data channel from the IDU, for example Figure 5 As shown, the IP configuration of eth0.X can be 192.168.255.100, the IP configuration of eth0.Y can be 192.168.254.100, and the IP configuration of eth0.Z can be 192.168.253.100. Then, the second VLAN network ports of the IDU can route the data sent by the second VLAN network ports of the IDU to the corresponding first VLAN network ports on the ODU according to the obtained first private network IP address and after configuring the routing policy.

[0070] It is worth noting that the second VLAN network port of the IDU and the first VLAN network port of the ODU need to be divided synchronously, and the tags of the two are consistent. The tags can be referred to Figure 5 The X value of eth0.X and eth1.X, the Y value of eth0.Y and eth1.Y, and the Z value of eth0.Z and eth1.Z. For example, eth0.X of eth0 and eth1.X of eth1 are in the same network segment and have the same tags, so eth0.x and eth1.x can communicate, that is, the IDU can add a routing policy to the corresponding eth0.x to route the data packets sent by eth0.x to eth1.x.

[0071] It can be understood that the IDU requests the first private network IP address by starting the DHCP (Dynamic Host Configuration Protocol) / PPPOE (Point to Point Protocol over Ethernet) / IPOE (IP over Ethernet) client; secondly, the ODU responds to the address allocation request of the IDU by starting the DHCP / PPPOE / IPOE Server and allocates the first private network IP address to the IDU.

[0072] In addition, refer to Figure 7 In one embodiment, the method for implementing multiple PDNs between the IDU and the ODU further includes but is not limited to step S710, step S720, step S730 and step S740.

[0073] Step S710, sending a public network IP address allocation request to a base station;

[0074] Step S720, obtaining a first public IP address allocated by the base station according to the public IP address allocation request;

[0075] Step S730, configuring the first public network IP address to the WAN port;

[0076] Step S740, configure a routing policy for the first VLAN network port and add a source address translation SNAT rule to the data message of the first VLAN network port, so that the data message of the first VLAN network port is routed to the corresponding WAN network port; wherein the SNAT rule is used to convert the source address of the data message of the first VLAN network port into the first public network IP address.

[0077] In one embodiment, the ODU determines whether the PDN connection between the device and the base station has been established, and sends a public network IP address allocation request to the base station by dialing. The base station allocates a first public network IP address to the ODU according to the public network IP address allocation request; then the AP in the ODU creates the above-mentioned WAN network port, such as Figure 5 rmnet_data0, rmnet_data1, and rmnet_data2 in the , and configure the first public network IP address to the WAN port, such as Figure 5 As shown, the IP configuration of rmnet_data0 can be set to 1.1.1.2, the IP configuration of rmnet_data1 can be set to 2.2.2.2, and the IP configuration of rmnet_data2 can be set to 3.3.3.3. Since the IP address of the first VLAN network port is a private network IP address and the IP address of the WAN network port is a public network IP address, in order to route the data message of the first VLAN network port to the corresponding WAN network port, the ODU can configure a routing policy for the first VLAN network port and add SNAT rules to the data message of the first VLAN network port, wherein configuring a routing policy for the first VLAN network port can route the data message sent out of the first VLAN network port to the corresponding WAN network port, and adding SNAT rules to the data message sent out by the first VLAN network port can convert the source address of the data message of the first VLAN network port to the above-mentioned first public network IP address. Therefore, through the above operation, exemplarily, the data message of eth1.x can be routed to rmnet_data0.

[0078] In addition, refer to Figure 8 In one embodiment, the method for implementing multiple PDNs between the IDU and the ODU further includes but is not limited to step S810 and step S820.

[0079] Step S810, calculating a second IP address of the virtual network port according to the first public network IP address;

[0080] Step S820: Routing the data message of the WAN network port to the corresponding virtual network port according to the first public network IP address and the second IP address.

[0081] In one embodiment, after the ODU dials successfully, the MODEM will map multiple virtual network ports, such as Figure 5 The modem_iface0, modem_iface1 and modem_iface2 in the MODEM are not actual physical network ports, but network ports virtualized by PDN. The second IP address of the virtual network port mapped by the MODEM is calculated according to a certain algorithm through the first public network IP address of the corresponding WAN network port, which is equivalent to the gateway address of the WAN side, so that the IP configuration of modem_iface0 can be 1.1.1.1, the IP configuration of modem_iface1 can be 2.2.2.1, and the IP configuration of modem_iface2 can be 3.3.3.1. Since the WAN network port and the corresponding virtual network port are directly connected, and the WAN network port and the corresponding virtual network port are both raw (original) IP, the two do not need the ARP (Address Resolution Protocol, Address Resolution Protocol) process, so the data message of the WAN network port can be directly routed to the corresponding virtual network port. Therefore, through the above operation, illustratively, the data message of rmnet_data0 can be directly routed to modem_iface0.

[0082] In addition, refer to Fig. 9 and Fig.10 In one embodiment, the above-mentioned step S400 includes but is not limited to step S910, step S920, step S930 and step S940.

[0083] Step S910, sending a public network IP address allocation request to a base station;

[0084] Step S920, obtaining a second public IP address allocated by the base station according to the public IP address allocation request;

[0085] Step S930, bridging the first VLAN network port and the corresponding WAN network port to obtain a network bridge;

[0086] Step S940: allocate a second public IP address corresponding to the PDN data channel to the IDU according to the address allocation request, so that the data message from the IDU is routed to the virtual network port corresponding to the bridge through the bridge according to the second public IP address.

[0087] In one embodiment, the IDU allocates a plurality of second VLAN network ports to the second physical network interface according to business needs, wherein the second physical network interface of the IDU can refer to Fig. 9 For multiple second VLAN ports, refer to eth0 in Fig. 9 eth0.X, eth0.Y and eth0.Z in; at the same time, ODU allocates multiple first VLAN network ports to the first physical network interface according to business needs, wherein the first physical network interface of ODU can refer to Fig. 9 For multiple first VLAN ports, refer to eth1. Fig. 9 After multiple second VLAN ports and multiple first VLAN ports are virtualized, both the IDU and ODU will determine whether the device has established a PDN connection, and will send a public IP address allocation request to the base station by dialing. The base station will allocate a second public IP address to the ODU based on the public IP address allocation request; then the AP in the ODU will create the above-mentioned WAN port, such as Figure 5 rmnet_data0, rmnet_data1 and rmnet_data2 in the AP, then the ODU will bridge the first VLAN network port on the AP with the corresponding WAN network port to obtain a bridge, such as Figure 5 After generating multiple bridges, the ODU can allocate the second public network IP address to each second VLAN network port of the IDU according to the address allocation request corresponding to the PDN data channel from the IDU, for example, Fig. 9 , you can configure the IP of eth0.X to 1.1.1.2, the IP of eth0.Y to 2.2.2.2, and the IP of eth0.Z to 3.3.3.3. In addition, after the dial-up is successful, the MODEM will map the above multiple virtual network ports, for example Fig. 9The modem_iface0, modem_iface1 and modem_iface2 in the network port are not actual physical network ports, but network ports virtualized by establishing PDN. The IP address of the virtual network port mapped by the MODEM is calculated according to a certain algorithm through the corresponding second public network IP address. For example, the IP configuration of modem_iface0 can be 1.1.1.1, the IP configuration of modem_iface1 can be 2.2.2.1, and the IP configuration of modem_iface2 can be 3.3.3.1. Then, according to the obtained second public network IP address and after configuring the routing policy, the data sent by each second VLAN network port of the IDU can be routed to the corresponding bridge on the ODU, and directly routed to the corresponding virtual network port on the MODEM through the bridge, and then sent to the base station through the virtual network port. Therefore, through the above operation, for example, the data message of eth0.X can be directly routed to modem_iface0 through bridge0.

[0088] It can be understood that the IDU requests the second public IP address by starting the DHCP / PPPOE / IPOE client; secondly, the ODU responds to the address allocation request of the IDU by starting the DHCP / PPPOE / IPOE Server and allocates the second public IP address to the IDU.

[0089] It should be noted that the embodiment of the present invention can allocate a private IP address to the bridge of the ODU. For example, the IP of bridge0 can be configured as 192.168.0.1. If the application of the web server of the ODU is bound to bridge0, then the web UI of the ODU can be accessed through 192.168.0.1 on the IDU to configure the parameters of the ODU.

[0090] In addition, refer to Fig.11 In one embodiment, the method further includes but is not limited to step S1010, step S1020 and step S1030.

[0091] Step S1010, assigning the second private network IP address to the WAN port;

[0092] Step S1020, obtaining the internal data message of the ODU through the WAN network port;

[0093] Step S1030: Add an SNAT rule to the internal data message at the WAN network port, so that the source address of the internal data message is converted into the second public network IP address and routed to the virtual network port corresponding to the WAN network port.

[0094] In one embodiment, in order to enable the applications and services inside the ODU to run normally, a second private network IP address is allocated to the AP side rmnet_data0 of the ODU, for example Fig. 9 In the example, the IP address of rmnet_data0 is configured as 192.168.255.1, the IP address of rmnet_data1 is configured as 192.168.254.1, and the IP address of rmnet_data2 is configured as 192.168.253.1. Then the WAN port obtains the internal data message of the ODU and adds SNAT rules to the internal data message. When the internal data message is sent from the WAN port, the source address of the internal data message can be converted to the second public network IP address and routed to the virtual network port of the MODEM, so that the services and applications inside the ODU can access the Internet normally.

[0095] like Fig.12 As shown, Fig.12 It is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by an embodiment of the present invention. The method for implementing multiple PDNs between an IDU and an ODU can be applied to an IDU, including but not limited to step S1100, step S1200, step S1300 and step S1400.

[0096] Step S1100, allocating at least two second VLAN network ports to the second physical network interface, the at least two second VLAN network ports corresponding one to one to at least two PDN data channels established in the ODU, the PDN data channels being used to perform data interaction with the base station;

[0097] Step S1200, sending an address allocation request corresponding to a PDN data channel to the ODU;

[0098] Step S1300, obtaining a first IP address corresponding to the PDN data channel allocated by the ODU according to the address allocation request;

[0099] Step S1400: Routing the data message to the corresponding PDN data channel through the second VLAN network port according to the first IP address.

[0100] In one embodiment, the IDU is responsible for running various application services and providing LAN or WLAN services to the downstream to realize data processing and services. The second physical network interface on the IDU is responsible for connecting with the ODU. The ODU is responsible for 2G / 3G / 4G wireless protocol processing, and receives user data sent by the IDU through the first physical network interface corresponding to the second physical network interface. The ODU then converts the user data into radio waves and sends them to the mobile communication base station, and converts the radio waves received from the mobile base station into user data, and then forwards them to the IDU through the first physical network interface corresponding to the second physical network interface. In an embodiment of the present invention, in order to realize multi-PDN connection between IDU and ODU, IDU will first virtualize its own second physical network interface into multiple second VLAN network ports for multi-PDN connection with ODU; in addition, ODU will also first virtualize its own first physical network interface into multiple first VLAN network ports for multi-PDN connection with IDU; secondly, ODU will also establish PDN data channels corresponding to the first VLAN network ports one by one. Since there are multiple first VLAN network ports, ODU can establish multiple PDN data channels accordingly. Since the first VLAN network port corresponds to the second VLAN network port one by one, the PDN data channel also corresponds to the second VLAN network port one by one. After the second VLAN network port, the first VLAN network port and the PDN data channel are generated, the IDU will send an address allocation request to the ODU through each second VLAN network port, and then the ODU will allocate the first IP address corresponding to the PDN data channel to each second VLAN network port of the IDU according to the address allocation request from the IDU, and then the data message of each second VLAN network port of the IDU can be routed to the corresponding PDN data channel in the ODU according to the corresponding first IP address, and then routed to the base station through the PDN data channel. Therefore, the embodiment of the present invention can realize multiple PDN connections between the IDU and the ODU under the condition of one physical network interface.

[0101] It is worth noting that the specific implementation methods and corresponding technical effects of the method for implementing multiple PDNs between the IDU and the ODU in the embodiment of the present invention can refer to the embodiment of the method for implementing multiple PDNs between the IDU and the ODU described above.

[0102] like Fig.13 As shown, Fig.13 It is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by an embodiment of the present invention. The above-mentioned step S1300 includes but is not limited to step S1510. Correspondingly, the above-mentioned step S1400 includes but is not limited to step S1520.

[0103] Step S1510, obtaining, through the second VLAN network port, a first private network IP address corresponding to the PDN data channel allocated by the ODU according to the address allocation request; the first private network IP address is generated by the ODU;

[0104] Step S1520: Routing the data message to the corresponding PDN data channel through the second VLAN network port according to the first private network IP address and the routing policy.

[0105] It is worth noting that the specific implementation methods and corresponding technical effects of the method for implementing multiple PDNs between the IDU and the ODU in the embodiment of the present invention can refer to the embodiment of the method for implementing multiple PDNs between the IDU and the ODU described above.

[0106] like Fig.14 As shown, Fig.14 It is a flowchart of a method for implementing multiple PDNs between an IDU and an ODU provided by an embodiment of the present invention. The above-mentioned step S1300 includes but is not limited to step S1610. Correspondingly, the above-mentioned step S1400 includes but is not limited to step S1620.

[0107] Step S1610, obtaining, through the second VLAN network port, a second public network IP address corresponding to the PDN data channel allocated by the ODU according to the address allocation request; the second public network IP address is obtained by the ODU from the base station;

[0108] Step S1620: Routing the data message to the corresponding PDN data channel through the second VLAN network port according to the second public network IP address and the routing policy.

[0109] It is worth noting that the specific implementation methods and corresponding technical effects of the method for implementing multiple PDNs between the IDU and the ODU in the embodiment of the present invention can refer to the embodiment of the method for implementing multiple PDNs between the IDU and the ODU described above.

[0110] Based on the above-mentioned method for implementing multiple PDNs between the IDU and the ODU, various embodiments of the ODU, the IDU and the computer-readable storage medium of the present invention are respectively proposed below.

[0111] In addition, an embodiment of the present invention provides an ODU, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0112] The processor and the memory may be connected via a bus or other means.

[0113] It should be noted that the ODU in this embodiment can be applied to Figure 1 The system architecture platform in the embodiment shown, the ODU in this embodiment, can constitute Figure 1Part of the system architecture platform in the illustrated embodiment, both belong to the same inventive concept, so both have the same implementation principles and beneficial effects, and will not be described in detail here.

[0114] The non-transient software program and instructions required to implement the multi-PDN implementation method between the IDU and the ODU of the above embodiment are stored in the memory. When executed by the processor, the multi-PDN implementation method between the IDU and the ODU of the above embodiment is executed, for example, the above-described Figure 2 The method steps S100 to S400, Figure 4 Steps S510 to S520 of the method, Figure 6 In the method step S600, Figure 7 Steps S710 to S740 of the method, Figure 8 Steps S810 to S820 of the method, Fig.10 Steps S910 to S940 of the method, Fig.11 Method steps S1010 to S1030.

[0115] In addition, an embodiment of the present invention further provides an IDU, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0116] The processor and the memory may be connected via a bus or other means.

[0117] It should be noted that the IDU in this embodiment can be applied to Figure 1 The system architecture platform in the embodiment shown, the IDU in this embodiment, can constitute Figure 1 Part of the system architecture platform in the illustrated embodiment, both belong to the same inventive concept, so both have the same implementation principles and beneficial effects, and will not be described in detail here.

[0118] The non-transient software program and instructions required to implement the multi-PDN implementation method between the IDU and the ODU of the above embodiment are stored in the memory. When executed by the processor, the multi-PDN implementation method between the IDU and the ODU of the above embodiment is executed, for example, the above-described Fig.12 Steps S1100 to S1400, Fig.13 Steps S1510 to S1520 of the method, Fig.14 Method steps S1610 to S1620.

[0119] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0120] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned multi-PDN implementation method. For example, when executed by a processor in the above-mentioned ODU embodiment, the above-mentioned processor can execute the multi-PDN implementation method in the above-mentioned embodiment, for example, executing the above-mentioned Figure 2 The method steps S100 to S400, Figure 4 Steps S510 to S520 of the method, Figure 6 In the method step S600, Figure 7 Steps S710 to S740 of the method, Figure 8 Steps S810 to S820 of the method, Fig.10 Steps S910 to S940 of the method, Fig.11 In another example, the method steps S1010 to S1030 in the above-mentioned IDU embodiment are executed by a processor, so that the above-mentioned processor can execute the multi-PDN implementation method in the above-mentioned embodiment, for example, executing the above-mentioned Fig.12 Steps S1100 to S1400, Fig.13 Steps S1510 to S1520 of the method, Fig.14 Method steps S1610 to S1620.

[0121] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0122] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A method for implementing multiple PDNs between an indoor unit and an outdoor unit, applied to an outdoor unit, comprising: Allocate at least two first virtual local area network VLAN network ports to the first physical network interface; Establishing a packet data network PDN data channel corresponding to the first VLAN network port one by one, wherein the PDN data channel is used to interact with the base station for data; Obtaining an address allocation request corresponding to the PDN data channel from the indoor unit; Allocate a first IP address corresponding to the PDN data channel to the indoor unit according to the address allocation request, so that the data message from the indoor unit is routed to the corresponding PDN data channel according to the first IP address; The allocating a first IP address corresponding to the PDN data channel to the indoor unit according to the address allocation request, so that the data message from the indoor unit is routed to the corresponding PDN data channel according to the first IP address, includes: A first private network IP address corresponding to the PDN data channel is allocated to the indoor unit according to the address allocation request, so that the data message from the indoor unit is routed to the corresponding first VLAN network port according to the first private network IP address.

2. The method according to claim 1, characterized in that: The outdoor unit includes an application processor AP and a modem MODEM, and the first physical network interface is arranged on the AP; The establishing of a PDN data channel corresponding one-to-one to the first VLAN network port includes: According to the first VLAN network port, the AP enumerates the wide area network WAN network ports corresponding to the first VLAN network ports one by one, and the MODEM generates virtual network ports corresponding to the WAN network ports one by one; The PDN data channel corresponding to the first VLAN network port in a one-to-one manner is established according to the first VLAN network port, the WAN network port and the virtual network port.

3. The method according to claim 2, characterized in that Also includes: Send a public network IP address allocation request to the base station; Acquire a first public IP address allocated by the base station according to the public IP address allocation request; Configuring the first public IP address to the WAN port; Configure a routing policy for the first VLAN network port and add a source address translation SNAT rule to the data message of the first VLAN network port, so that the data message of the first VLAN network port is routed to the corresponding WAN network port; wherein the SNAT rule is used to convert the source address of the data message of the first VLAN network port into the first public IP address.

4. The method according to claim 3, characterized in that Also includes: Calculate the second IP address of the virtual network port according to the first public network IP address; The data message of the WAN network port is routed to the corresponding virtual network port according to the first public IP address and the second IP address.

5. The method according to claim 2, characterized in that: The allocating a first IP address corresponding to the PDN data channel to the indoor unit according to the address allocation request, so that a data message from the indoor unit is routed to the corresponding PDN data channel according to the first IP address, includes: Send a public network IP address allocation request to the base station; Acquire a second public IP address allocated by the base station according to the public IP address allocation request; Bridging the first VLAN network port and the corresponding WAN network port to obtain a network bridge; The second public IP address corresponding to the PDN data channel is allocated to the indoor unit according to the address allocation request, so that the data message from the indoor unit is routed to the virtual network port corresponding to the bridge through the bridge according to the second public IP address.

6. The method according to claim 5, characterized in that Also includes: Allocating a second private network IP address to the WAN port; Obtaining the internal data message of the outdoor unit through the WAN network port; An SNAT rule is added to the internal data message at the WAN network port so that the source address of the internal data message is converted into the second public IP address and routed to the virtual network port corresponding to the WAN network port.

7. A method for implementing multiple PDNs between an indoor unit and an outdoor unit, applied to the indoor unit, comprising: Allocate at least two second VLAN network ports to the second physical network interface, wherein the at least two second VLAN network ports correspond one-to-one to at least two PDN data channels established in the outdoor unit, and the PDN data channels are used to interact with the base station for data; Sending an address allocation request corresponding to the PDN data channel to the outdoor unit; Acquire a first IP address corresponding to the PDN data channel allocated by the outdoor unit according to the address allocation request; Routing the data packet to the corresponding PDN data channel through the second VLAN network port according to the first IP address; The acquiring of the first IP address corresponding to the PDN data channel allocated by the outdoor unit according to the address allocation request includes: Acquire, through the second VLAN network port, a first private network IP address corresponding to the PDN data channel allocated by the outdoor unit according to the address allocation request; the first private network IP address is generated by the outdoor unit; Correspondingly, routing the data message to the corresponding PDN data channel through the second VLAN network port according to the first IP address includes: According to the first private network IP address and routing policy, the data message is routed to the corresponding PDN data channel through the second VLAN network port.

8. The method according to claim 7, characterized in that The acquiring the first IP address corresponding to the PDN data channel allocated by the outdoor unit according to the address allocation request includes: Acquire, through the second VLAN network port, a second public IP address corresponding to the PDN data channel allocated by the outdoor unit according to the address allocation request; the second public IP address is obtained by the outdoor unit from the base station; Correspondingly, routing the data message to the corresponding PDN data channel through the second VLAN network port according to the first IP address includes: According to the second public network IP address and routing policy, the data message is routed to the corresponding PDN data channel through the second VLAN network port.

9. An outdoor unit, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.

10. An indoor unit, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 7 to 8 when executing the computer program.

11. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method for preventing host computer from access to network appliance and blocking server

    CN101115004A

  • Three in one network type household gateway based on EPON access

    CN101383787A

  • Multi-domain controller, single-domain controller, and software-defined optical network system and method

    CN106302153A

  • Method for configuring virtual network and network system

    US20080298274A1

  • VOIP adapter for connecting landline phones to IP routers

    US20180288229A1