Multi-PDN dialing configuration method, system and apparatus, and communication module and medium

By receiving the IP allocation mode configuration instructions of the host computer, the IP address allocation is allocated for PDN virtual network cards and LAN virtual network cards based on the latest configuration mode of each APN, which solves the problem that the IP allocation mode cannot be set separately in the prior art, and realizes flexible configuration and reliable communication for multi-PDN dialing.

WO2025179892A1PCT designated stage Publication Date: 2025-09-04FIBOCOM WIRELESS SOFTWARE INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/123948
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-29
Filing Date
2024-10-10
Publication Date
2025-09-04

AI Technical Summary

Technical Problem

The prior art cannot meet the user's need to set the IP allocation mode of a certain or part of the APN when dialing for multiple PDNs, resulting in the inability to meet the needs of multiple application scenarios.

Method used

It provides a configuration method for multi-PDN dialing. By receiving IP allocation mode configuration instructions from the host computer, IP address allocation is assigned to PDN virtual network cards and LAN virtual network cards based on the latest configuration mode of each APN, supports separate settings of bridge mode and routing mode, and packet conversion is performed through virtual bridge and iptables rules.

Benefits of technology

It realizes flexible configuration of the IP allocation mode of each APN, meets the needs of users for multiple application scenarios, and ensures reliable communication and management of multi-PDN dialing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024123948_04092025_PF_FP_ABST
    Figure CN2024123948_04092025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a multi-PDN dialing configuration method, system and apparatus, and a communication module and a medium. The multi-PDN dialing configuration method is applied to a communication module, and comprises: receiving an IP allocation mode configuration instruction for a quality-of-service profile corresponding to a target APN, which instruction is sent by an upper computer; on the basis of the IP allocation mode configuration instruction, configuring an IP allocation mode in the quality-of-service profile corresponding to the target APN; upon reception of a dialing activation instruction for at least one PDN that is sent by the upper computer, on the basis of the dialing activation instruction for each PDN, determining each PDN to be activated; and on the basis of the latest IP allocation mode configured for an APN corresponding to each PDN to be activated, performing IP address allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Configuration method, system, device, communication module and medium for multi-PDN dialing

[0001] Citation of Related Applications

[0002] This disclosure claims all rights and interests in the Chinese invention patent application with application number 202410231491.4 filed with the State Intellectual Property Office of the People's Republic of China on February 29, 2024, entitled "Configuration method, system, device, communication module and medium for multi-PDN dialing", and incorporates the entire contents thereof into this disclosure by reference.

[0003] field

[0004] The present disclosure generally relates to the field of communication technology, and more specifically to a configuration method, system, device, communication module, and medium for multi-PDN dialing.

[0005] background

[0006] Due to the development of IoT technology, it is necessary to establish multiple parallel data service connections in the communication module. These data service connections may have different quality of service (QoS) parameters and access target networks. Data service connections can have a one-to-one correspondence with packet data protocols (PDPs). A communication module can have multiple PDP contexts and multiple different service profiles (QoS profiles) at the same time.

[0007] The communication module can connect to the host computer via the reduced gigabit media independent interface (RGMII) to provide multi-way dial-up data services. Before multi-way dialing, the IP allocation mode corresponding to the APN (Access Point Name) can be set through the service configuration file corresponding to the APN. If the IP allocation mode is set to bridging mode, the IPv4 address configured for the host computer is the address issued by the base station; if the IP allocation mode is set to routing mode, the IPv4 address configured for the host computer is the local area network address.

[0008] The IP allocation mode in the service configuration file corresponding to each APN is uniformly set through a command, for example, either uniformly set to routing mode or uniformly set to bridging mode. This cannot meet the customer's need to specify one or some APNs to enable bridging mode when dialing multiple calls.

[0009] Overview

[0010] In one aspect, the present disclosure provides a method for configuring multi-PDN dialing, which is applied to a communication module. The method for configuring multi-PDN dialing includes:

[0011] Receive the IP allocation mode configuration instruction for the service configuration file corresponding to the target APN sent by the host computer;

[0012] Configuring the IP allocation mode in the service configuration file corresponding to the target APN based on the IP allocation mode configuration instruction;

[0013] Upon receiving a dial-up activation instruction of at least one PDN sent by the host computer, determining each PDN to be activated based on the dial-up activation instruction of each PDN; and

[0014] The IP address is allocated based on the latest configured IP allocation mode of the APN corresponding to each of the PDNs to be activated.

[0015] In certain embodiments, performing IP address allocation based on the latest configured IP allocation mode of the APN corresponding to each of the to-be-activated PDNs includes:

[0016] For any of the PDN dial-up activation instructions, establish a PDN virtual network card corresponding to the PDN dial-up activation instruction;

[0017] Creating a virtual bridge for a local area network virtual network card, where the local area network virtual network card is established by the host computer based on the dial-up activation instruction of the PDN, and the virtual bridge corresponds to the PDN virtual network card; and

[0018] The IP allocation mode based on the latest configuration of the virtual bridge and the APN corresponding to each of the PDNs to be activated is used to allocate IP addresses to the PDN virtual network card and the LAN virtual network card.

[0019] In certain embodiments, the IP allocation mode includes a bridging mode, and the IP address allocation for the PDN virtual network card and the LAN virtual network card is performed based on the latest configured IP allocation mode of the virtual bridge and the APN corresponding to each of the PDNs to be activated, including:

[0020] When the IP allocation mode in the latest configured service configuration file corresponding to the to-be-activated PDN is a bridging mode, allocating an address issued by a base station to the local area network virtual network card based on the virtual bridge; and

[0021] A local area network address is allocated to the PDN virtual network card based on the virtual bridge.

[0022] In some embodiments, the method for configuring multi-PDN dialing further includes:

[0023] The network conversion rules in iptables are reconfigured, wherein the reconfigured network conversion rules include converting the source address of the data packet outgoing from the PDN virtual network card into the address issued by the base station.

[0024] In certain embodiments, the IP allocation mode includes a routing mode, and the IP allocation mode based on the latest configuration of the virtual bridge and the APN corresponding to each of the PDNs to be activated is used to allocate IP addresses to the PDN virtual network card and the LAN virtual network card, including:

[0025] When the IP allocation mode in the latest configured service configuration file corresponding to the to-be-activated PDN is a routing mode, allocating a local area network address to the local area network virtual network card based on the virtual network bridge; and

[0026] Based on the virtual network bridge, the address issued by the base station is allocated to the PDN virtual network card.

[0027] In certain embodiments, performing IP address allocation based on the latest configured IP allocation mode of the APN corresponding to each of the to-be-activated PDNs includes:

[0028] The IP address is allocated based on the latest configured IP allocation mode of the APN corresponding to each of the PDNs to be activated and using the DNSmasq process.

[0029] On the other hand, the present disclosure also provides a multi-PDN dial-up configuration system, which is applied to a communication module. The multi-PDN dial-up configuration system includes:

[0030] A receiving unit configured to receive an IP allocation mode configuration instruction for a service configuration file corresponding to a target APN sent by a host computer;

[0031] a configuration unit configured to configure the IP allocation mode in the service configuration file corresponding to the target APN based on the IP allocation mode configuration instruction;

[0032] a determining unit configured to, upon receiving a dial-up activation instruction of at least one PDN sent by the host computer, determine each PDN to be activated based on the dial-up activation instruction of each PDN; and

[0033] The IP allocation unit is configured to allocate IP addresses based on the latest configured IP allocation mode of the APN corresponding to each of the PDNs to be activated.

[0034] On the other hand, the present disclosure further provides a configuration device for multi-PDN dialing, which is applied to a communication module, including:

[0035] a memory configured to store a computer program; and

[0036] The processor is configured to implement the configuration method of multi-PDN dialing described in the present disclosure when executing the computer program.

[0037] On the other hand, the present disclosure also provides a communication module, which includes the configuration device of multi-PDN dialing described in the present disclosure.

[0038] On the other hand, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the configuration method for multi-PDN dialing described in the present disclosure is implemented.

[0039] In certain embodiments, the solution of the present disclosure can individually set the IP allocation mode of the service profile corresponding to each APN, such as the bridging mode, according to user needs, thereby meeting the needs of users in multiple application scenarios.

[0040] BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0042] FIG1 is a flowchart of a method for configuring multi-PDN dialing according to an embodiment of the present disclosure;

[0043] FIG2 is a schematic structural diagram of a communication system provided by an embodiment of the present disclosure;

[0044] FIG3 is a schematic diagram of the structure of a configuration system for multi-PDN dialing provided by an embodiment of the present disclosure; and

[0045] FIG4 is a schematic structural diagram of a device for configuring multi-PDN dialing provided by an embodiment of the present disclosure.

[0046] Details

[0047] The core of this disclosure is to provide a configuration method, system, device, communication module and medium for multi-PDN dialing, which can set the IP allocation mode of the service configuration file corresponding to each APN, such as the bridging mode, separately according to user needs, meeting the needs of users in multiple application scenarios.

[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0049] Please refer to FIG. 1 , which is a flow chart of a method for configuring multi-PDN dialing according to an embodiment of the present disclosure, and is applied to a communication module. The method for configuring multi-PDN dialing includes:

[0050] S11: Receive an IP allocation mode configuration instruction for a service configuration file corresponding to a target APN from a host computer;

[0051] S12: Configure the IP allocation mode in the service configuration file corresponding to the target APN based on the IP allocation mode configuration instruction;

[0052] S13: upon receiving a dial-up activation instruction of at least one PDN sent by the host computer, determining each PDN to be activated based on the dial-up activation instruction of each PDN; and

[0053] S14: Allocate IP addresses based on the latest configured IP allocation mode of the APN corresponding to each PDN to be activated.

[0054] In certain embodiments, the communication module and the host computer may be connected via an RGMII interface and / or a USB (Universal Serial Bus) interface to perform data communication via the RGMII interface and / or the USB interface.

[0055] It should be noted that the communication module can include multiple APNs, each of which corresponds to a service configuration file. The service configuration file includes parameters for configuring the IP allocation mode. The host computer can configure the IP allocation mode in the service configuration file through the IP allocation mode configuration instruction. In the prior art, the host computer performs unified configuration through a command (GTIPPASS). That is, after receiving the AT+GTIPPASS command, the communication module will configure the IP allocation mode in the service configuration file corresponding to all APNs. This method cannot meet the scenario where the user needs to set the IP allocation mode of a single or partial APN.

[0056] In some implementations, an IP allocation mode configuration instruction is provided for a service profile corresponding to a single APN. This IP allocation mode instruction can be used to configure the IP allocation mode of the service profile for a single APN. For example, if there are three APNs, the host computer can send IP allocation mode configuration instructions for the service profiles corresponding to these three APNs to the communication module to configure the IP allocation modes for each of these three APNs. In actual applications, users can configure the IP allocation mode corresponding to a specific or partial target APN as needed.

[0057] It should be noted that the target APN here can be one or more. For any IP allocation mode configuration instruction for the service profile corresponding to the target APN, the IP allocation mode in the service profile corresponding to the target APN is configured based on the IP allocation mode configuration instruction. The IP allocation mode can be configured as bridging mode or routing mode.

[0058] In certain embodiments, when the IP allocation mode is configured as a bridging mode, the address configured for the host computer is the address issued by the base station; when the IP allocation mode is configured as a routing mode, the address configured for the host computer is a local area network address.

[0059] When the communication module receives a dial-up activation instruction from a Packet Data Network (PDN), it determines each PDN to be activated based on the dial-up activation instructions for each PDN. The number of PDNs to be activated is the same as the number of PDN dial-up activation instructions. Each PDN dial-up activation instruction corresponds to one PDN to be activated and one APN, and the PDNs and APNs correspond to each other. In certain embodiments, if the host computer sends dial-up activation instructions for two PDNs, the communication module will determine two PDNs to be activated after receiving the dial-up activation instructions for these two PDNs.

[0060] In certain implementation schemes, after determining each PDN to be activated, the APN corresponding to each PDN to be activated can be determined, and IP address allocation can be performed based on the latest configured IP allocation mode in the service configuration file corresponding to each APN. The IP address allocation here includes IP address allocation for the host computer and the PDN virtual network card.

[0061] It should be noted that in actual applications, the IP allocation mode in the service profile corresponding to each APN is not necessarily set before each dialing. For example, there are service profiles corresponding to 3 APNs. Before the last dialing, the IP allocation mode in the service profile corresponding to the first APN and the service profile corresponding to the second APN were configured, but the IP allocation mode of the service profile corresponding to the third APN was not configured. Before this dialing, only the IP allocation mode of the service profile corresponding to the third APN is configured. If the PDNs corresponding to these three APNs need to be activated this time, when allocating IP addresses this time, for the first and second APNs, IP address allocation will be based on the IP allocation mode configured before the last dialing, and for the third APN, IP address allocation will be based on the IP allocation mode configured this time. In addition, in actual applications, the configuration parameters of the IP allocation mode in the service profile can be saved after power failure.

[0062] In some implementation schemes, a new IP allocation mode configuration instruction is opened for the service profile corresponding to each APN. This instruction can be used in advance to configure whether the service profile corresponding to each APN turns on the bridging mode. The IP allocation mode of the service profile corresponding to each APN, such as the bridging mode, can be set separately according to user needs, thereby meeting the needs of users in multiple application scenarios.

[0063] In certain embodiments, IP address allocation is performed based on the latest configured IP allocation mode of the APN corresponding to each PDN to be activated, including:

[0064] For any PDN dial-up activation instruction, establish a PDN virtual network card corresponding to the PDN dial-up activation instruction;

[0065] Creating a virtual bridge for the LAN virtual network card, where the LAN virtual network card is established by the host computer based on the PDN dial-up activation instruction, and the virtual bridge corresponds to the PDN virtual network card; and

[0066] The IP allocation mode based on the latest configuration of the virtual bridge and the APN corresponding to each PDN to be activated is used to allocate IP addresses to the PDN virtual network card and the LAN virtual network card.

[0067] In certain embodiments, after the host computer is connected to the communication module, it can send a PDN dial-up activation command to the communication module to implement the multi-PDN dial-up configuration process. Simultaneously, based on the PDN dial-up activation command, the host computer will create a LAN virtual network interface card (VNIC) corresponding to each dial-up activation command. In certain embodiments, if two PDN dial-up activation commands are entered into the host computer, two VNICs will be created on the host computer, one for each dial-up activation command.

[0068] When the communication module receives the dial-up activation instruction of the PDN, for any dial-up activation instruction of the PDN, it will establish a PDN virtual network card corresponding to the dial-up activation instruction of the PDN. The number of established PDN virtual network cards is the same as the number of dial-up activation instructions, and each dial-up activation instruction corresponds to one PDN virtual network card. In some implementation schemes, if the upper computer inputs the dial-up activation instructions of two PDNs, the communication module will establish two PDN virtual network cards on the communication module after receiving the dial-up activation instructions of the two PDNs. Data communication with external base stations is achieved through the PDN virtual network card. In some implementation schemes, different APN technologies such as Default PDN technology or On Demand technology can be used to establish the PDN virtual network card.

[0069] In some implementation schemes, separate virtual bridges will be established for the LAN virtual network cards. Subsequently, IP addresses can be allocated to the PDN virtual network cards and the LAN virtual network cards based on the virtual bridges and the latest configured IP allocation mode of the APNs corresponding to the PDNs to be activated.

[0070] It should be noted that each LAN virtual network card corresponds to a virtual bridge. In some implementation schemes, the host computer establishes two LAN virtual network cards based on the dial-up activation instruction, so the number of virtual bridges is also two, and each LAN virtual network card corresponds to a virtual bridge.

[0071] It can be seen that by establishing multiple PDN virtual network cards, the management of LAN virtual network cards and bridge management is realized, meeting the needs of multi-PDN dial-up of the host computer.

[0072] In certain embodiments, the IP allocation mode includes a bridging mode, and the IP allocation mode based on the latest configuration of the virtual bridge and the APN corresponding to each PDN to be activated is used to allocate IP addresses to the PDN virtual network card and the LAN virtual network card, including:

[0073] When the IP allocation mode in the latest configured service configuration file corresponding to the PDN to be activated is the bridging mode, allocating the address issued by the base station to the local area network virtual network card based on the virtual bridge; and

[0074] Assign a LAN address to the PDN virtual network card based on the virtual bridge.

[0075] In certain implementation schemes, when the IP allocation mode corresponding to the PDN to be activated is the bridging mode, IP transparent transmission is performed at this time, and the address issued by the base station is allocated to the LAN virtual network card based on the virtual bridge, that is, the IPv4 address configured by the upper computer is the address issued by the base station. In addition, the LAN address is also allocated to the PDN virtual network card based on the virtual bridge.

[0076] It can be seen that this solution enables the target APN to be set in bridge mode separately, meeting the needs of users in multiple scenarios.

[0077] In some embodiments, the method for configuring multi-PDN dialing further includes:

[0078] The network conversion rules in iptables are reconfigured, wherein the reconfigured network conversion rules include converting the source address of the data packet outgoing from the PDN virtual network card into the address issued by the base station.

[0079] In certain implementation schemes, when the IP allocation mode corresponding to the PDN to be activated is the bridging mode, since the address assigned by the base station of the virtual LAN is an external network address; and the address assigned by the PDN virtual network card is a local area network address, which is an intranet address, the present disclosure will also reconfigure the network conversion rules in iptables so that the source address of the data packet outgoing from the PDN virtual network card is converted to the address issued by the base station. The subsequent communication module will control the data packet transmission of the PDN virtual network card according to the reconfigured network conversion rules in iptables, thereby ensuring the reliable communication of the PDN virtual network card and realizing routing NAT (Network Address Translation) management.

[0080] In certain embodiments, the IP allocation mode includes a routing mode, and the IP allocation mode based on the latest configuration of the virtual bridge and the APN corresponding to each PDN to be activated is used to allocate IP addresses to the PDN virtual network card and the LAN virtual network card, including:

[0081] When the IP allocation mode in the latest configured service configuration file corresponding to the PDN to be activated is the routing mode, allocating a local area network address to the local area network virtual network card based on the virtual bridge; and

[0082] Based on the virtual bridge, the address issued by the base station is allocated to the PDN virtual network card.

[0083] In certain implementation schemes, when the IP allocation mode corresponding to the PDN to be activated is the routing mode, a LAN address is allocated to the LAN virtual network card based on the virtual bridge. In addition, the address issued by the base station is also allocated to the PDN virtual network card based on the virtual bridge.

[0084] It can be seen that this solution can realize the independent setting of routing mode for the target APN, meeting the needs of users in multiple scenarios.

[0085] In certain embodiments, IP address allocation is performed based on the latest configured IP allocation mode of the APN corresponding to each PDN to be activated, including:

[0086] The IP address is allocated based on the latest configured IP allocation mode of the APN corresponding to each PDN to be activated and using the DNSmasq process.

[0087] In certain implementation schemes, when allocating IP addresses, the DNSmasq process is first started, and then IP addresses are allocated to the LAN virtual network card and the PDN virtual network card based on the DNSmasq process. The IP addresses are allocated through the DNSmasq process, thereby ensuring the reliability of IP address allocation.

[0088] Please refer to Figure 2, which is a schematic diagram of the structure of a communication system provided by an embodiment of the present disclosure. The communication system includes a host computer (HOST) and a communication module, and the communication system communicates with an external base station on the far right. In some embodiments, the communication module is a wireless communication module and can use an MDM (Master Data Management) produced by Qualcomm. The host computer can connect to the MDM via the RGMII interface.

[0089] The host computer creates eth0.1 and eth0.2, virtual local area network cards for etho. The MDM includes a local area network management (LAN-MGR) module and a data dialing (DATA CALL) module. The solutions S11-S14 in this disclosure are implemented by the LAN-MGR module. The MDM also includes bridges brigde0, brigde1, and brigde2, and PDN virtual network cards rmnet_data0, rmnet_data1, and rmnet_data2.

[0090] The configuration process for multi-PDN dialing includes:

[0091] (1) AT+GTIPPASSWITHCID=1,1, configure the IP allocation mode of the service profile corresponding to the first APN to bridge mode;

[0092] In certain embodiments, the communication between the host computer and the communication module can be achieved through AT commands, and the host computer can send AT commands to the communication module through the AT command interface (AT Port). In the solution disclosed herein, a new AT+GTIPPASSWITHCID command (i.e., IP allocation mode configuration command) is set, and AT+GTIPPASSWITHCID=X, Y is set. When X=1, it means that the IP allocation mode is set to bridge mode, and when X=0, it means that the IP allocation mode is set to routing mode; when Y=1, it means that the IP allocation mode in the service configuration file corresponding to the first APN is set, and when Y=2, it means that the IP allocation mode in the service configuration file corresponding to the second APN is set, and so on. Of course, in actual applications, the correspondence between the values ​​of X and Y and the APN can also be set according to actual needs.

[0093] In this step, AT+GTIPPASSWITHCID=1,1 indicates that the IP allocation mode of the service profile corresponding to the first APN is configured as bridge mode. The IP allocation mode of the service profiles corresponding to other APNs remains the most recently configured mode.

[0094] (2) After entering AT+GTRNDIS=1,1, on the MDM, after dial-up activation, a PDN virtual network card rmnet_dataX (where X represents the serial number of the PDN virtual network card) will be established. The interface for data communication with the external base station is through this network card.

[0095] AT+GTRNDIS=1, Z is the dial-up activation command for the Zth PDN.

[0096] (3) Routing NAT management: After activation, the IP range configured by the DHCP (Dynamic Host Configuration Protocol) server of the corresponding bridge is the address issued by the base station. Since the address issued by the base station needs to be assigned to the LAN virtual network card of the host computer, the address of the PDN virtual network card rmnet_data0 within the communication module is configured as a LAN address, such as 169.254.5.1. The iptables rule is also configured to convert the source address of the data packet leaving rmnet_data0 to the IP address issued by the base station.

[0097] (4) The host computer requests the DHCP server inside the communication module through the DHCP client to allocate an IP address that is the IPv4 address issued by the base station, thereby realizing the data service capability of the host computer.

[0098] (5) If the service profile corresponding to the second APN is dialed and activated in step (2), that is, AT+GTRNDIS=1,2. After activation, the DHCP server configuration ip range of the corresponding bridge inside the communication module is a LAN address, such as 192.168.1.20-192.168.1.60, and the IP address obtained by the host computer corresponding to the LAN virtual network card is also a LAN address, such as 192.168.1.X.

[0099] The code corresponding to the above process is:

[0100] AT+CGDCONT?

[0101] +CGDCONT:1,"IPV4V6","3GNET","0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

[0102] +CGDCONT:2,"IPV4V6","3GWAP","0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

[0103] +CGDCONT:3,"IPV4V6","WONET","0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,,"",,,,0

[0104] +CGDCONT:4,"IPV4V6","IMS","0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,,"",,,,0

[0105] +CGDCONT:5,"IPV4V6","SOS","0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1,,,,,,,,,,"",,,,0

[0106] OK

[0107] AT+GTIPPASSWITHCID=1,1

[0108] OK

[0109] AT+GTRNDIS=1,1

[0110] OK

[0111] AT+GTRNDIS=1,2

[0112] OK

[0113] As configured in the AT above, the IP allocation mode in the service configuration file corresponding to the first APN enables bridge mode. Therefore, after activating the first PDN virtual network card via AT+GTRNDIS=1,1, the IP address obtained by the host computer's LAN virtual network card is the address issued by the base station. However, since the IP allocation mode in the service configuration file corresponding to the second APN does not enable bridge mode, after activating the PDN virtual network card corresponding to the second APN via AT+GTRNDIS=1,2, the IP address obtained by the host computer is a LAN address starting with 192.168.

[0114] It can be seen that in this embodiment, the AT is first used to configure whether the service profile corresponding to each APN opens the bridge mode, and then the AT performs data dialing to establish multiple PDN network cards rment_dataX. The management of the LAN virtual network card in the host computer, bridge management, and routing configuration are implemented in FIBO-FWA. If the service profile opens the bridge mode, the IP address obtained by the LAN virtual network card corresponding to the host computer is guaranteed to be the address issued by the base station, and the LAN virtual network card corresponding to other PDN dial-ups is the LAN address.

[0115] Please refer to FIG3 , which is a schematic diagram of the structure of a multi-PDN dial-up configuration system provided by an embodiment of the present disclosure, which is applied to a communication module. The multi-PDN dial-up configuration system includes:

[0116] The receiving unit 31 is configured to receive an IP allocation mode configuration instruction for a service configuration file corresponding to a target APN sent by a host computer;

[0117] The configuration unit 32 is configured to configure the IP allocation mode in the service configuration file corresponding to the target APN based on the IP allocation mode configuration instruction;

[0118] The determining unit 33 is configured to determine each PDN to be activated based on the dialing activation instruction of each PDN when receiving the dialing activation instruction of at least one PDN sent by the host computer; and

[0119] The IP allocation unit 34 is configured to allocate IP addresses based on the latest configured IP allocation mode of the APN corresponding to each PDN to be activated.

[0120] For an introduction to the configuration system for multi-PDN dialing provided by the present disclosure, please refer to the above method embodiment, and the present disclosure will not go into details here.

[0121] Please refer to FIG4 , which is a schematic diagram of the structure of a configuration device for multi-PDN dialing provided by an embodiment of the present disclosure, which is applied to a communication module. The configuration device includes:

[0122] a memory 41 configured to store computer programs;

[0123] The processor 42 is configured to implement the multi-PDN dialing configuration method described in the present disclosure when executing a computer program.

[0124] For an introduction to the configuration device for multi-PDN dialing provided by the present disclosure, please refer to the above method embodiment, and the present disclosure will not elaborate on it here.

[0125] An embodiment of the present disclosure further provides a communication module, including the configuration device for multi-PDN dialing described in the present disclosure.

[0126] For an introduction to the communication module provided by the present disclosure, please refer to the above method embodiment, and the present disclosure will not go into details here.

[0127] An embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the configuration method for multi-PDN dialing described in the present disclosure is implemented.

[0128] For an introduction to the computer calibration storage medium provided by the present disclosure, please refer to the above method embodiment, and the present disclosure will not elaborate on it here.

[0129] It should be noted that, in this specification, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0130] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present disclosure. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments shown herein, but is intended to be embodied in the widest possible manner consistent with the principles and novel features disclosed herein.

Claims

1. A method for configuring multi-PDN dialing, applied to a communication module, includes: Receive the IP allocation mode configuration instruction for the service configuration file corresponding to the target APN sent by the host computer; Configuring the IP allocation mode in the service configuration file corresponding to the target APN based on the IP allocation mode configuration instruction; Upon receiving a dial-up activation instruction of at least one PDN sent by the host computer, determining each PDN to be activated based on the dial-up activation instruction of each PDN; as well as The IP address is allocated based on the latest configured IP allocation mode of the APN corresponding to each of the PDNs to be activated.

2. The method for configuring multi-PDN dialing according to claim 1, wherein the IP address allocation is performed based on the latest configured IP allocation mode of the APN corresponding to each of the to-be-activated PDNs, comprising: For any of the PDN dial-up activation instructions, establish a PDN virtual network card corresponding to the PDN dial-up activation instruction; Creating a virtual bridge for a local area network virtual network card, where the local area network virtual network card is established by the host computer based on the dial-up activation instruction of the PDN, and the virtual bridge corresponds to the PDN virtual network card; as well as The IP allocation mode based on the latest configuration of the virtual bridge and the APN corresponding to each of the PDNs to be activated is used to allocate IP addresses to the PDN virtual network card and the LAN virtual network card.

3. The method for configuring multi-PDN dialing according to claim 1 or 2, wherein the IP allocation mode includes a bridging mode, and the IP address allocation for the PDN virtual network card and the LAN virtual network card is performed based on the latest configured IP allocation mode of the virtual bridge and the APN corresponding to each of the to-be-activated PDNs, comprising: When the IP allocation mode in the latest configured service configuration file corresponding to the to-be-activated PDN is the bridge mode, the base station is allocated to the LAN virtual network card based on the virtual bridge. The address issued by the website; as well as A local area network address is allocated to the PDN virtual network card based on the virtual bridge.

4. The method for configuring multi-PDN dialing according to any one of claims 1 to 3, further comprising: The network conversion rules in iptables are reconfigured, wherein the reconfigured network conversion rules include converting the source address of the data packet outgoing from the PDN virtual network card into the address issued by the base station.

5. The method for configuring multi-PDN dialing according to claim 1 or 2, wherein the IP allocation mode includes a routing mode, and the IP address allocation for the PDN virtual network card and the LAN virtual network card is performed based on the latest configured IP allocation mode of the virtual bridge and the APN corresponding to each of the PDNs to be activated, comprising: When the IP allocation mode in the latest configured service configuration file corresponding to the PDN to be activated is the routing mode, allocating a local area network address to the local area network virtual network card based on the virtual bridge; as well as Based on the virtual network bridge, the address issued by the base station is allocated to the PDN virtual network card.

6. The method for configuring multi-PDN dialing according to any one of claims 1 to 5, wherein the IP address allocation is performed based on the latest configured IP allocation mode of the APN corresponding to each of the to-be-activated PDNs, comprising: The IP address is allocated based on the latest configured IP allocation mode of the APN corresponding to each of the PDNs to be activated and using the DNSmasq process.

7. A multi-PDN dialing configuration system, applied to a communication module, comprising: A receiving unit configured to receive an IP allocation mode configuration instruction for a service configuration file corresponding to a target APN sent by a host computer; a configuration unit configured to configure the IP allocation mode in the service configuration file corresponding to the target APN based on the IP allocation mode configuration instruction; a determining unit configured to, upon receiving a dial-up activation instruction of at least one PDN sent by the host computer, determine each PDN to be activated based on the dial-up activation instruction of each PDN; as well as The IP allocation unit is configured to allocate IP addresses based on the latest configured IP allocation mode of the APN corresponding to each of the PDNs to be activated.

8. A multi-PDN dialing configuration device, applied to a communication module, comprising: a memory configured to store a computer program; A processor configured to implement the multi-PDN dialing configuration method according to any one of claims 1 to 6 when executing the computer program.

9. A communication module comprising the multi-PDN dialing configuration device according to claim 8.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium implements the method for configuring multi-PDN dialing according to any one of claims 1 to 6 when the computer program is executed by a processor.

Citation Information

Patent Citations

  • PDN (Packet Data NetWork) connection establishing method, relevant equipment and system

    CN101801102A

  • Realization method and system of packet data network (PDN) service, and network element

    CN103781156A

  • Multi-PDN dialing configuration method, system and device, communication module and medium

    CN118118344A

  • Method and system for supporting packet data network communications

    US20100027448A1

  • APN IP management

    US20140050208A1