WO2015051703A1 - Method for orderly managing multi-path apn concurrent networking data transmission channel - Google Patents

Method for orderly managing multi-path apn concurrent networking data transmission channel Download PDF

Info

Publication number
WO2015051703A1
WO2015051703A1 PCT/CN2014/087299 CN2014087299W WO2015051703A1 WO 2015051703 A1 WO2015051703 A1 WO 2015051703A1 CN 2014087299 W CN2014087299 W CN 2014087299W WO 2015051703 A1 WO2015051703 A1 WO 2015051703A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
networking
channel
module
data
Prior art date
Application number
PCT/CN2014/087299
Other languages
French (fr)
Chinese (zh)
Inventor
朱雄关
刘晓岩
Original Assignee
成都达信通通讯设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 成都达信通通讯设备有限公司 filed Critical 成都达信通通讯设备有限公司
Publication of WO2015051703A1 publication Critical patent/WO2015051703A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the invention realizes that a plurality of access point names (APNs) of a mobile terminal are successively activated and concurrently networked, and at the same time, a method for identifying, managing, and designating different APN networked data channels by different application softwares on the operating system of the mobile terminal is provided.
  • APNs access point names
  • CMNET Mobile Network—Access Point Name (APN)—Menu Key—Heavy Set to the default setting.
  • API Access Point Name
  • APN Access Point Name
  • the APN is an indispensable identifier for routing user IP packets to the corresponding GGSN and the external network.
  • the role of the APN is as follows: the APN is used as the route identifier: the SGSN queries the specific DNS server according to the APN.
  • the GGSN IP address corresponding to the APN is used to determine the GGSN that the user should access.
  • the APN is used as the service domain identifier: the GGSN sends the user's service flow to different service domains according to different APNs, and different service domains correspond to different services. Bearer networking mode, user ID acquisition mode, and accounting Mode, etc. Take the two APNs that are the earliest provided by China Mobile and are currently the most widely used by users - CMWAP and CMNET:
  • CMWAP APN is mainly for HTTP-based services, such as WAP Internet browsing, MMS, and so on.
  • WAP domain has gradually evolved into a default service domain for most self-operated services and cooperative services by upgrading and configuring, and providing MMS to users.
  • PIM streaming media
  • the CMWAP APN uses the WAP gateway as a proxy node for HTTP access, and provides some auxiliary functions for users, such as free mobile phone number, content conversion, and adaptive pre-judgment.
  • CMNET is an APN set up for open Internet access services. Users can access the Internet using any protocol without any control and restriction policies, but also do not provide other accessibility features.
  • the mobile terminal accesses the GGSN through the access SGSN, and the service data stream is translated into the Internet through the NAT corresponding to the firewall of the GGSN.
  • IPv6 The current IP protocol version IPV6 technology has matured and the standards are basically perfect. IPv6 is in the stage of coexistence and transition with IPV4. It can be said that the simultaneous networking of multiple APN channels by mobile phones is a requirement that will be widely used in the future. However, the current mobile terminal operating system lacks the corresponding interface and design for simultaneously networking multiple APN channels.
  • the reason why the mobile terminal operating system and the application software cannot realize the concurrent networking of the multi-channel APN network is that the operating system on the current mobile terminal only provides one APN access channel or data link supply layer for data exchange.
  • the application layer uses different APN data channels and must be switched. Second, move The operating system on the mobile terminal does not provide a human-machine interface or interface for multi-channel APN configuration.
  • the application layer cannot configure multiple APN applications.
  • the operating system lacks an interface for application software to identify and manage multiple APN data channels.
  • the object of the present invention is to provide a multi-channel path for concurrently managing multi-channel APN concurrent network data transmission channels based on the above-mentioned prior art, and providing a multi-APN networking channel based on the mobile terminal operating system. Multi-APN concurrent networking method, and meet the needs of different applications or operating systems using different APN network data channels for concurrent data transmission.
  • a method for orderly managing a multi-channel APN concurrent network data transmission channel which has the following technical features:
  • a multi-APN networking channel module and a routing management module for implementing multi-APN concurrent networking are set between an application layer containing application software of the mobile terminal operating system and the operating system and the underlying driver module, wherein the application layer is connected to the multi-APN
  • the channel module successively delivers at least two APN networking instructions, and the multi-APN networking channel module sequentially creates or allocates at least one virtual network unit according to the networking instruction, and the driving module parses out each of the APN parameters from the received networking request, and according to Each APN parameter initiates a network connection, and sends a network connection request to the mobile base station; the driver module sends a message of success or failure of the mobile base station response to the multi-APN network channel module, and the multi-APN network channel module returns each successful network returned by the driver module.
  • the parameters in the message are set to the virtual network unit created or allocated above, and the successive concurrent networking of multiple access points is implemented; the routing management module sequentially manages the application to send and receive data before the application sends and receives data or during the process of sending and receiving data.
  • the multi-APN networking channel module includes APN channel parameter configuration information, and the APN channel parameter configuration information includes but is not limited to an APN access point name, an authentication mode, a QOS level, an account number, a password, a proxy server address, and a network protocol type.
  • the multi-APN networking channel module presets a plurality of APN networking channels, and each APN networking channel corresponds to a data connection of an APN network.
  • the multi-APN networking channel module is sent at the receiving application layer. After each APN networking instruction, the multi-APN networking channel module allocates presets and/or dynamically creates multiple independent virtual network elements.
  • the invention connects each APN access point one by one through the instruction of the operating system or the application software of the mobile terminal, and realizes the concurrent connection of multiple APN channels, so that different application software uses different APN networks or one application software.
  • the use of multiple APN networks can be implemented by means of successive connections, thereby solving the problem that the three major operating systems perform multi-channel APN concurrent networking.
  • the invention provides an interface function for modifying the multi-APN channel parameter table in the application layer of the mobile terminal operating system, and provides a human-machine interface for configuring and modifying parameters of the multi-APN channel for the mobile terminal user, and the mobile terminal user can modify the man-machine interface through the human-machine interface.
  • the parameter setting of the APN channel the invention provides an interface function for configuring the APN channel parameter including the channel number and the APN networking parameter and the man-machine interface modification in the application software, and solves the three major operating systems ios for the mobile terminal. Win phone and android can not configure multi-channel APN channel settings.
  • the network networking protocol parameters included in the configuration information of the APN channel parameters of the present invention are networked according to requirements using corresponding networking protocols, so that the operating system and the driver module can identify the networking protocols required in the application layer networking request.
  • the multi-APN channel concurrency adopted by the present invention enables the operating system or application software to support different APN networks of different networking protocols to concurrently network.
  • the invention adopts successively launching each APN networking request at the application layer, and completes the concurrent networking technical measures of different APN networks through the APN networking channel module, and breaks through the mobile operating systems android, win phone, ios of the current three mobile terminals.
  • a single APN application accesses the mobile operating system.
  • various applications can only use one bottleneck restriction of the same APN channel.
  • the present invention can set multiple APN networking channel modules between the application layer and the underlying driver module, and can send multiple different APN networking requests in different applications, and one application can also send different APN networking requests multiple times. .
  • the present invention provides a route management module to help an application identify, manage, and use an APN data transmission channel, so that an application can use any one or more different APNs through the route management module.
  • the data channel implements data transmission.
  • the APN channel usage specification is the same as that of the conventional mobile terminal in the manner of setting the default path, so that the application compatible operation mode in the traditional mobile terminal is provided. .
  • FIG. 1 is a schematic structural diagram of a module for sequentially managing a multi-channel APN concurrent network data transmission channel according to the present invention.
  • a model supporting a method of orderly managing multiple APN concurrent networked data transmission channels includes, in order, an application layer, a multi-APN networking channel module, a routing management module, and a driver module.
  • APN channel parameter configuration information is embedded in the multi-APN networking channel module.
  • a multi-APN networking channel module for multi-APN concurrent networking and providing a networked multi-APN channel or data link for an operating system or application software, located at an application layer and an underlying driver of an application software including a mobile terminal operating system and an operating system Between modules.
  • the multi-APN networking channel module is used for multi-APN concurrent networking and provides a channel or data link for networking multiple APNs for the operating system or application software.
  • the routing management module between the application layer and the underlying driver module which is also located on the operating system and the operating system of the mobile terminal, uses the order management application to send and receive data before or after the application sends and receives data.
  • APN data channel uses the order management application to send and receive data before or after the application sends and receives data.
  • the application layer includes an operating system or application software on the mobile terminal.
  • a driver module is a driver module that contains the networking hardware of a mobile device.
  • the networking hardware may be a baseband chip of the mobile terminal, and may also be referred to as a MODEM chip, and its main function is to network with the APN through the implementation of the network connection protocol.
  • a mobile terminal is a computing device that supports wireless networking and can be used at any time. Access a variety of devices that access a variety of information, such as mobile computing devices such as laptops, PDAs, wireless network cards, and smart phones.
  • the application layer configures or pre-defines the data in the APN channel parameter configuration information in the multi-APN networking channel module through the interface function in the multi-APN networking channel module through the human-machine interface or the application program.
  • the application layer application can directly implement the APN network connection by sending an APN networking request to the APN networking channel module.
  • Different applications can send multiple different APN networking requests, and an application can send different APN networking requests multiple times.
  • Different APN data connection channels are distinguished by APN parameters, and different APN parameters are identified as different APN data networking channels.
  • the parameters on the APN data connection channel for distinguishing different APN data networking channels include, but are not limited to, APN access point names, quality of service QOS levels, networking protocols, and the like.
  • the multi-APN networking channel module presets a plurality of APN networking channels, and each APN networking channel corresponds to a data connection of an APN network. After receiving the APN networking instructions sent by the application layer, the multi-APN networking channel module allocates presets and/or dynamically creates multiple independent virtual network units.
  • the APN networking parameters are identifiers of different APNs that are networked, and different APN networking parameters represent different APN networks.
  • APN networking parameters representing different APN networks include, but are not limited to, APN access point names, QOS levels, network protocols, and the like.
  • the network connection protocol includes, but is not limited to, a PPP networking protocol or a voice network PDP networking protocol for multi-protocol packet transmission on a point-to-point link of the Internet Protocol IPV4, IPV6 or IPV4/IPV6.
  • the application can directly implement the networked APN network by sending an APN networking request to the APN networking channel module. After the successful APN is established, the multi-APN networking channel module modifies the APN channel parameter configuration information according to the APN networking parameters.
  • the multi-APN networking channel module includes APN channel parameter configuration information and an interface function for modifying the multi-APN channel parameter table by the supply layer.
  • the multi-APN networking channel module contains a modified APN parameter interface function, and the application layer according to the virtual channel identifier (constant value, string descriptor, channel instance object reference) in the interface function parameter and The APN networking parameters modify the configuration information of each APN channel parameter.
  • the data in the APN channel parameter configuration information identifies the APN networking parameters of each APN channel, and also identifies the APN network to which each APN channel is connected.
  • the differences in APN networking parameters represent different APN networks.
  • the APN channel parameter configuration information is used to identify the networking parameters of the APN network to which each APN networking channel is connected, and the actual networked APN of the current APN channel, including the parameter definition of the used APN channel and the number of idle APN channels.
  • the route management module defines certain specific APN network channel paths as the default and default path default paths of the application layer data networking.
  • the CMNET of IPV4 can be defined as the default route of IPV4
  • the CMNET of IPV6 can be defined as the default route of IPV6. . This design makes the method designed by this solution compatible with traditional applications.
  • the driving module executes the networking instruction of the multi-APN channel module, in addition to the feedback information upon success, when the networking operation fails, the detailed failure information is fed back to the multi-APN networking module, including but not limited to network timeout, no network signal, SIM Arrears, APN not open, APN parameter error and other news.
  • Application layer establishes multiple APN networking channels
  • the application layer sequentially sends one or more APN networking instructions to the multi-APN networking channel module.
  • the multi-APN networking channel module sequentially creates or allocates one or more channels according to the networking instruction.
  • a virtual network unit the virtual network unit sends a networking request to the mobile base station by using the driving module; after receiving the network connection request, the mobile base station sends a response signal to the driving module to the success or failure of the networking, and the driving module responds to the success of the network connection of the mobile base station.
  • the message is sent to the multi-APN networking channel module, and the multi-APN networking channel module sets the parameters in each successful networking message to the virtual network unit created or assigned above.
  • the application layer initiates another different APN networking request, and the multi-APN networking channel module will again create or assign a new virtual network that exists simultaneously with the original virtual network element. Unit, and continue to send another APN networking request again.
  • the multi-APN networking channel module After receiving the APN networking command sent by the application layer, the multi-APN networking channel module has multiple APNs.
  • the networking channel determines whether the APN networking parameter of the specified networking in the foregoing networking instruction matches the APN networking parameter of the currently allocated data transmission channel, and if so, directs the networking request to the connected packet data protocol PDP network, and feeds back the application.
  • the network service access point identifier NSAPI or channel number actually used by the layer if it does not match, dynamically allocate a virtual "channel number" for the connection in the order of connection request, and select an idle APN networking channel to fill an idle NSAPI handles the actual network networking request corresponding to a virtual channel by the caller.
  • the channel number and NSAPI are fed back and the corresponding APN parameters and channel numbers are recorded in the APN channel parameter configuration information of the multi-APN networking channel module.
  • the multi-APN networking channel module contains a network interface function, and the application layer sends a network connection request according to the virtual channel identifier (constant value, string descriptor, channel instance object reference) or APN networking parameter in the interface function parameter; multi-APN networking channel module
  • the APN channel parameter configuration information is saved after the APN networking parameter is successfully connected; different APN networking parameters represent different APN network channels.
  • the multi-APN networking channel module After receiving the APN networking instructions sent by the application layer, the multi-APN networking channel module has the following three modes for creating multiple independent virtual network elements.
  • APN channel 1 is defined as CMNET
  • APN channel 2 is defined as MMS
  • APN channel 3 is defined as CMWAP.
  • the APN networking parameters are not included, and the channel number is directly used for the connection.
  • the multi-APN networking channel module After receiving the channel number networking command parameters sent by the application layer, the multi-APN networking channel module sends the predefined APN networking parameters to the driver module. After the networking is successful, the specified channel number is assigned to the application layer.
  • the application layer When the application layer sends an APN networking command, it can also use the APN networking parameter.
  • the multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the networking is successful, the predefined channel number is assigned to the application layer.
  • the multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the networking is successful, dynamically allocates an idle channel number to the application layer.
  • the operating system pre-defines the APN channel type according to the APN channel order.
  • APN channel 1 is defined as CMNET
  • APN channel 2 is defined as MMS
  • APN channel 3 is defined as CMWAP, and so on.
  • the multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the networking is successful, if it is a predefined APN channel, the predefined designated channel number is assigned to the application layer. Otherwise, dynamically create an idle channel number for the application layer.
  • the route management module identifies, manages, or specifies the APN data channel.
  • the routing management module includes a socket socket interface, and a parameter for specifying a virtual channel number is set in the socket interface; after the routing management module takes out the above parameters, the data sent and received by the application is directed to the virtual channel number specified by the parameter. To achieve the sending and receiving of application data.
  • the application calls the interface function in the routing management module to bind the destination IP address to be accessed in the routing table of the routing management module. After the IP protocol stack of the operating system parses the destination address in the data sent by the application, the routing table is used. The route passes the packet to the specified APN data channel.
  • the IP protocol stack of the operating system parses the local IP address in the application sending and receiving data request, and uses the APN data channel corresponding to the IP address to perform data transmission and reception.
  • the routing management module automatically binds the destination address specified by the application to the preset APN data channel; after the IP protocol stack of the operating system parses the destination address in the data sent by the application, the specified APN data channel is used according to the route in the routing table. Data transmission and reception.
  • the route management module automatically binds the proxy server address after the APN channel is successfully connected.
  • the route management module automatically binds the destination address of the APN to the route in the case that the networked APN request does not include the proxy server address.
  • the data packet is transmitted to the specified APN data channel according to the route in the routing table.

Abstract

Provided is a method for orderly managing multi-path APN concurrent networking data transmission channels, aiming at providing a method for orderly managing multi-path APN concurrent networking data transmission channels based on establishing a multi-APN networking channel in the operating system of a mobile terminal, thus realizing both multi-channel and multi-APN concurrent networking. The present invention is implemented via the following technical solution: a multi-APN networking channel module and a routing management module for realizing multi-APN concurrent networking are disposed between an application layer and a drive module of a bottom layer; the application layer sequentially issues at least two APN networking instructions to a multi-APN networking channel module, and the multi-APN networking channel module sequentially creates or allocates at least one path of a virtual network unit according to the networking instructions; the drive module parses each APN parameter from the received networking request, and transmits to a mobile base station the networking request; and the routing management module orderly manages an APN data channel used by the application program for data transmitting and receiving before or during data transmitting and receiving of an application program.

Description

有序管理多路APN并发联网数据传输通道的方法Method for orderly managing multiple APN concurrent networked data transmission channels
本申请要求于2013年10月10日提交中国专利局、申请号为201310470063.9、发明名称为“有序管理多路APN并发联网数据传输通道的方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on October 10, 2013, the Chinese Patent Office, the application number 201310470063.9, and the invention titled "Method for Orderly Managing Multi-channel APN Concurrent Networked Data Transmission Channels", the entire contents of which are The citations are incorporated herein by reference.
技术领域Technical field
本发明是实现移动终端多个接入点名称(APN)逐次激活并发联网,同时提供移动终端的操作系统上不同应用软件识别、管理、指定不同的APN联网数据通道的办法。The invention realizes that a plurality of access point names (APNs) of a mobile terminal are successively activated and concurrently networked, and at the same time, a method for identifying, managing, and designating different APN networked data channels by different application softwares on the operating system of the mobile terminal is provided.
背景技术Background technique
联网是等手机等手持移动设备的基本功能,正因为有网络,我们才有丰富多彩的应用。通常手机卡-网络连接的APN列表界面一共有两项,第一项:CMNET,第二项:CMCC MMS,上面一项处于选中状态,下面的MMS是无法选中的,因为后面没有单选按钮。有时刷完机或网络数据出错后会导致出现WIFI能连接上网,而移动数据无法上网的情况,此时需要重置APN;系统设置—移动网络—接入点名称(APN)—菜单键—重置为默认设置。使用iOS设备时,可能会发现异常的Wi-Fi行为,例如:很难找到或连接到网络;Wi-Fi信号强度异常或者断开连接。无法访问互联网,并未如预期自动连接到Wi-Fi服务中断。对于普通用户而言,APN(Access Point Name,接入点名称)只是为了上网而在手机终端上预先配置或手工设定的一组参数。而对于移动网络来说,APN是用来实现用户IP报文路由至相应GGSN及外部网络的必不可少的标识,其作用具体包括:APN作为路由标识:SGSN根据APN,向特定DNS服务器查询该APN对应的GGSN IP地址,以确定用户应接入的GGSN;APN作为业务域标识:GGSN根据APN不同,将用户的业务流送到不同的业务域,而不同的业务域则对应了不同的业务承载组网方式、用户标识获取方式、计费 模式等。以中国移动最早提供、也是目前用户使用最广的两个APN——CMWAP、CMNET为例:Networking is the basic function of handheld mobile devices such as mobile phones. Because of the network, we have a variety of applications. Usually there are two APN list interfaces for mobile phone card-network connection. The first item: CMNET, the second item: CMCC MMS, the above item is selected, and the following MMS cannot be selected because there is no radio button. Sometimes after the machine is finished or the network data is wrong, the WIFI can connect to the Internet, and the mobile data cannot be connected to the Internet. In this case, you need to reset the APN. System Settings—Mobile Network—Access Point Name (APN)—Menu Key—Heavy Set to the default setting. When using iOS devices, you may find unusual Wi-Fi behavior, such as: hard to find or connect to the network; Wi-Fi signal strength is abnormal or disconnected. Unable to access the Internet, did not automatically connect to the Wi-Fi service interruption as expected. For ordinary users, APN (Access Point Name) is a set of parameters that are pre-configured or manually set on the mobile terminal for Internet access. For the mobile network, the APN is an indispensable identifier for routing user IP packets to the corresponding GGSN and the external network. The role of the APN is as follows: the APN is used as the route identifier: the SGSN queries the specific DNS server according to the APN. The GGSN IP address corresponding to the APN is used to determine the GGSN that the user should access. The APN is used as the service domain identifier: the GGSN sends the user's service flow to different service domains according to different APNs, and different service domains correspond to different services. Bearer networking mode, user ID acquisition mode, and accounting Mode, etc. Take the two APNs that are the earliest provided by China Mobile and are currently the most widely used by users - CMWAP and CMNET:
1)CMWAP APN1) CMWAP APN
CMWAP APN在设计之初主要面向基于HTTP协议的业务,如WAP上网浏览,彩信等。随着数据业务的不断发展,为了支持逐渐引入的非HTTP协议的业务,WAP域通过进行升级改造和配置,逐渐演变为面向绝大多数自营业务和合作业务的默认业务域,面向用户提供彩信、PIM、流媒体、通用下载、快讯、音乐随身听、游戏等业务。CMWAP APN使用了WAP网关作为HTTP访问的代理节点,同时可面向用户提供一些辅助功能,例如免输手机号码、内容转换、适配预判等。At the beginning of the design, CMWAP APN is mainly for HTTP-based services, such as WAP Internet browsing, MMS, and so on. With the continuous development of data services, in order to support the gradually introduced non-HTTP protocol services, the WAP domain has gradually evolved into a default service domain for most self-operated services and cooperative services by upgrading and configuring, and providing MMS to users. , PIM, streaming media, universal downloads, newsletters, music players, games and more. The CMWAP APN uses the WAP gateway as a proxy node for HTTP access, and provides some auxiliary functions for users, such as free mobile phone number, content conversion, and adaptive pre-judgment.
2)CMNET APN2) CMNET APN
CMNET是为了开展开放的互联网接入服务设置的APN,用户可使用任何协议访问互联网,没有任何控制和限制策略,但同时也不提供其他辅助功能。使用CMNET APN时,移动终端通过接入地SGSN就近接入GGSN,业务数据流通过GGSN对应的防火墙进行NAT地址转换后接入互联网。CMNET is an APN set up for open Internet access services. Users can access the Internet using any protocol without any control and restriction policies, but also do not provide other accessibility features. When the CMNET APN is used, the mobile terminal accesses the GGSN through the access SGSN, and the service data stream is translated into the Internet through the NAT corresponding to the firewall of the GGSN.
当前IP协议版本IPV6的技术已经成熟,标准也基本完善,IPv6正处于与IPV4并存和过渡的阶段。可以说,手机同时联网多个APN通道,是未来必将获得广泛应用的一种需求。但是目前的移动终端的操作系统,缺乏同时联网多个APN通道相应的接口和设计。The current IP protocol version IPV6 technology has matured and the standards are basically perfect. IPv6 is in the stage of coexistence and transition with IPV4. It can be said that the simultaneous networking of multiple APN channels by mobile phones is a requirement that will be widely used in the future. However, the current mobile terminal operating system lacks the corresponding interface and design for simultaneously networking multiple APN channels.
当前,世界上三大主流的手机操作系统,android、win phone、ios都是单APN应用接入的手机操作系统,同一时间下,各种应用只能使用一个相同的APN通道。使用不同APN的时候,手机需要手工切换APN通道。实际使用中,移动终端上往往是不同的应用软件使用单一的不同的APN联网通道。Currently, the world's three major mobile operating systems, android, win phone, ios are mobile operating systems that are accessed by a single APN application. At the same time, various applications can only use one and the same APN channel. When using different APNs, the phone needs to manually switch the APN channel. In actual use, different application software on a mobile terminal often uses a single different APN networking channel.
移动终端操作系统和应用软件不能实现多路APN网络并发联网的原因是当前移动终端上的操作系统只提供一条APN接入的通道或数据链路供应用层进行数据交换。应用层使用不同的APN数据通道,必须进行切换。其次,移 动终端上的操作系统没有提供多路APN配置的人机界面或接口,应用层不能对多路APN的应用进行配置,另外,操作系统缺乏应用软件识别、管理多条APN数据通道的接口。The reason why the mobile terminal operating system and the application software cannot realize the concurrent networking of the multi-channel APN network is that the operating system on the current mobile terminal only provides one APN access channel or data link supply layer for data exchange. The application layer uses different APN data channels and must be switched. Second, move The operating system on the mobile terminal does not provide a human-machine interface or interface for multi-channel APN configuration. The application layer cannot configure multiple APN applications. In addition, the operating system lacks an interface for application software to identify and manage multiple APN data channels.
发明内容Summary of the invention
本发明的目的是针对上述现有技术存在不足之处,提供一种在移动终端操作系统建立多APN联网通道基础上,能够有序管理多路APN并发联网数据传输通道,可同时实现多通道路径多APN并发联网的方法,并满足不同应用程序或操作系统使用不同APN网络数据通道进行并发数据传输的需求。The object of the present invention is to provide a multi-channel path for concurrently managing multi-channel APN concurrent network data transmission channels based on the above-mentioned prior art, and providing a multi-APN networking channel based on the mobile terminal operating system. Multi-APN concurrent networking method, and meet the needs of different applications or operating systems using different APN network data channels for concurrent data transmission.
本发明的上述目的可以通过以下措施来得到,一种有序管理多路APN并发联网数据传输通道的方法,具有如下技术特征:The above object of the present invention can be obtained by the following measures: A method for orderly managing a multi-channel APN concurrent network data transmission channel, which has the following technical features:
在含有移动终端操作系统和操作系统上的应用软件的应用层与底层的驱动模块之间设置用于实现多APN并发联网的多APN联网通道模块和路由管理模块,其中,应用层向多APN联网通道模块逐次下发至少二个APN联网指令,多APN联网通道模块根据上述联网指令依次创建或分配至少一路虚拟网络单元,驱动模块从接收到的联网请求中解析出上述每个APN参数,并根据每个APN参数发起网络连接,向移动基站发送联网请求;驱动模块将移动基站回应的联网成功与否的消息发送到多APN联网通道模块,多APN联网通道模块将驱动模块返回的每个成功联网消息中的参数设置到上述创建或分配的虚拟网络单元上,实施多个接入点的逐次并发联网;路由管理模块在应用程序收发数据前或收发数据过程中,有序管理应用程序收发数据所采用的APN数据通道。A multi-APN networking channel module and a routing management module for implementing multi-APN concurrent networking are set between an application layer containing application software of the mobile terminal operating system and the operating system and the underlying driver module, wherein the application layer is connected to the multi-APN The channel module successively delivers at least two APN networking instructions, and the multi-APN networking channel module sequentially creates or allocates at least one virtual network unit according to the networking instruction, and the driving module parses out each of the APN parameters from the received networking request, and according to Each APN parameter initiates a network connection, and sends a network connection request to the mobile base station; the driver module sends a message of success or failure of the mobile base station response to the multi-APN network channel module, and the multi-APN network channel module returns each successful network returned by the driver module. The parameters in the message are set to the virtual network unit created or allocated above, and the successive concurrent networking of multiple access points is implemented; the routing management module sequentially manages the application to send and receive data before the application sends and receives data or during the process of sending and receiving data. The APN data channel used.
多APN联网通道模块含有APN通道参数配置信息,APN通道参数配置信息包括但不限于APN接入点名称、鉴权方式、QOS级别、帐号、密码、代理服务器地址、网络协议类型。The multi-APN networking channel module includes APN channel parameter configuration information, and the APN channel parameter configuration information includes but is not limited to an APN access point name, an authentication mode, a QOS level, an account number, a password, a proxy server address, and a network protocol type.
多APN联网通道模块预先设定多个APN联网通道,且每个APN联网通道对应一个APN网络的数据连接。多APN联网通道模块在接收到应用层下发的 每个APN联网指令后,多APN联网通道模块分配预设和/或动态创建多路各自独立的虚拟网络单元。The multi-APN networking channel module presets a plurality of APN networking channels, and each APN networking channel corresponds to a data connection of an APN network. The multi-APN networking channel module is sent at the receiving application layer. After each APN networking instruction, the multi-APN networking channel module allocates presets and/or dynamically creates multiple independent virtual network elements.
本发明相比现有的操作系统有以下有益效果:The present invention has the following beneficial effects compared to the existing operating system:
1)本发明通过移动终端的操作系统或应用软件的指令,逐次连接各个APN接入点,实现多APN通道并发网络连接,这样,无论是不同的应用软件使用不同的APN网络,还是一个应用软件使用多个APN网络,都可以通过逐次连接的方式予以实现,从而解决了三大操作系统进行多路APN并发联网的问题。1) The invention connects each APN access point one by one through the instruction of the operating system or the application software of the mobile terminal, and realizes the concurrent connection of multiple APN channels, so that different application software uses different APN networks or one application software. The use of multiple APN networks can be implemented by means of successive connections, thereby solving the problem that the three major operating systems perform multi-channel APN concurrent networking.
2)本发明在移动终端操作系统提供应用层修改多APN通道参数表的接口函数,提供了为移动终端用户配置、修改多APN通道参数的人机界面,移动终端用户可以通过人机界面修改多个APN通道的参数设定;本发明提供了在应用软件中配置包含通道号和APN联网参数及可以通过人机界面修改的APN通道参数的接口函数,解决了移动终端用三大操作系统ios、win phone和android无法配置多路APN通道设定的问题。2) The invention provides an interface function for modifying the multi-APN channel parameter table in the application layer of the mobile terminal operating system, and provides a human-machine interface for configuring and modifying parameters of the multi-APN channel for the mobile terminal user, and the mobile terminal user can modify the man-machine interface through the human-machine interface. The parameter setting of the APN channel; the invention provides an interface function for configuring the APN channel parameter including the channel number and the APN networking parameter and the man-machine interface modification in the application software, and solves the three major operating systems ios for the mobile terminal. Win phone and android can not configure multi-channel APN channel settings.
3)本发明在APN通道参数的配置信息中包含的网络联网协议参数,并按要求使用相应的联网协议进行联网,使得操作系统和驱动模块可以识别应用层联网请求中所要求的联网协议。本发明采用的多APN通道并发,使得操作系统或应用软件支持多种不同的联网协议的不同APN网络并发联网。3) The network networking protocol parameters included in the configuration information of the APN channel parameters of the present invention are networked according to requirements using corresponding networking protocols, so that the operating system and the driver module can identify the networking protocols required in the application layer networking request. The multi-APN channel concurrency adopted by the present invention enables the operating system or application software to support different APN networks of different networking protocols to concurrently network.
4)本发明采用在应用层逐次发起每个APN联网请求,通过APN联网通道模块完成不同的APN网络的并发联网技术措施,突破了目前移动终端三大主的手机操作系统android、win phone、ios单APN应用接入手机操作系统,同一时间下,各种应用只能使用一个相同的APN通道的瓶颈限制。4) The invention adopts successively launching each APN networking request at the application layer, and completes the concurrent networking technical measures of different APN networks through the APN networking channel module, and breaks through the mobile operating systems android, win phone, ios of the current three mobile terminals. A single APN application accesses the mobile operating system. At the same time, various applications can only use one bottleneck restriction of the same APN channel.
5)本发明通过应用层与底层的驱动模块之间设置多APN联网通道模块,可以在不同的应用程序可以发送多个不同的APN联网请求,一个应用程序也可以多次发送不同的APN联网请求。5) The present invention can set multiple APN networking channel modules between the application layer and the underlying driver module, and can send multiple different APN networking requests in different applications, and one application can also send different APN networking requests multiple times. .
6)本发明提供路由管理模块帮助应用程序识别、管理、使用APN数据传输通道,使应用程序可以通过路由管理模块使用任意一个或多个不同的APN 数据通道实现数据传输。6) The present invention provides a route management module to help an application identify, manage, and use an APN data transmission channel, so that an application can use any one or more different APNs through the route management module. The data channel implements data transmission.
7)本发明在APN通道的使用上,通过设定默认路径的方式,将APN通道的使用规范与传统的移动终端的操作系统相同,使得提供了在传统的移动终端的应用程序兼容的运行方式。7) In the use of the APN channel, the APN channel usage specification is the same as that of the conventional mobile terminal in the manner of setting the default path, so that the application compatible operation mode in the traditional mobile terminal is provided. .
附图说明DRAWINGS
使本发明的目的、技术方案和优点更加清楚明白,下面将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1是本发明有序管理多路APN并发联网数据传输通道的模块结构示意图。FIG. 1 is a schematic structural diagram of a module for sequentially managing a multi-channel APN concurrent network data transmission channel according to the present invention.
具体实施方式detailed description
参阅图1。在以下描述的最佳实施例中,支持有序管理多路APN并发联网数据传输通道的方法的模型,依次包括应用层、多APN联网通道模块、路由管理模块和驱动模块。在多APN联网通道模块中内嵌APN通道参数配置信息。See Figure 1. In the preferred embodiment described below, a model supporting a method of orderly managing multiple APN concurrent networked data transmission channels includes, in order, an application layer, a multi-APN networking channel module, a routing management module, and a driver module. APN channel parameter configuration information is embedded in the multi-APN networking channel module.
用于多APN并发联网并为操作系统或应用软件提供联网多APN的通道或数据链路的多APN联网通道模块,位于含有移动终端操作系统和操作系统上的应用软件的应用层与底层的驱动模块之间。多APN联网通道模块用于多APN并发联网并为操作系统或应用软件提供联网多APN的通道或数据链路。A multi-APN networking channel module for multi-APN concurrent networking and providing a networked multi-APN channel or data link for an operating system or application software, located at an application layer and an underlying driver of an application software including a mobile terminal operating system and an operating system Between modules. The multi-APN networking channel module is used for multi-APN concurrent networking and provides a channel or data link for networking multiple APNs for the operating system or application software.
同样位于含有移动终端操作系统和操作系统上的应用软件的应用层与底层的驱动模块之间的路由管理模块,在应用程序收发数据前或收发数据过程中,有序管理应用程序收发数据所采用的APN数据通道。The routing management module between the application layer and the underlying driver module, which is also located on the operating system and the operating system of the mobile terminal, uses the order management application to send and receive data before or after the application sends and receives data. APN data channel.
应用层包括移动终端上的操作系统或应用软件。The application layer includes an operating system or application software on the mobile terminal.
驱动模块是指包含移动设备连网硬件的驱动程序模块。连网硬件可以是移动终端的基带芯片,又可称为MODEM芯片,其主要功能是通过网络连接协议的实现与APN的联网。移动终端是指支持无线联网的计算设备,可以随时 随地访问获得各种信息的一类设备,诸如手提电脑、PDA、无线上网卡和智能手机之类的移动计算设备。A driver module is a driver module that contains the networking hardware of a mobile device. The networking hardware may be a baseband chip of the mobile terminal, and may also be referred to as a MODEM chip, and its main function is to network with the APN through the implementation of the network connection protocol. A mobile terminal is a computing device that supports wireless networking and can be used at any time. Access a variety of devices that access a variety of information, such as mobile computing devices such as laptops, PDAs, wireless network cards, and smart phones.
应用层通过人机界面或应用程序通过多APN联网通道模块内的接口函数对多APN联网通道模块内的APN通道参数配置信息内的数据进行配置或预定义。The application layer configures or pre-defines the data in the APN channel parameter configuration information in the multi-APN networking channel module through the interface function in the multi-APN networking channel module through the human-machine interface or the application program.
应用层的应用程序可以直接通过向APN联网通道模块发送APN联网请求,实现联网APN网络。不同的应用程序可以发送多个不同的APN联网请求,一个应用程序也可以多次发送不同的APN联网请求。The application layer application can directly implement the APN network connection by sending an APN networking request to the APN networking channel module. Different applications can send multiple different APN networking requests, and an application can send different APN networking requests multiple times.
不同的APN数据连接通道由APN参数来区别,不同的APN参数标识为不同的APN数据联网通道。APN数据连接通道上用于区分不同的APN数据联网通道的参数包括但不限于APN接入点名称、服务质量QOS等级,联网协议等等。Different APN data connection channels are distinguished by APN parameters, and different APN parameters are identified as different APN data networking channels. The parameters on the APN data connection channel for distinguishing different APN data networking channels include, but are not limited to, APN access point names, quality of service QOS levels, networking protocols, and the like.
多APN联网通道模块预先设定多个APN联网通道,且每个APN联网通道对应一个APN网络的数据连接。多APN联网通道模块在接收到应用层下发的每个APN联网指令后,多APN联网通道模块分配预设和/或动态创建多路各自独立的虚拟网络单元。The multi-APN networking channel module presets a plurality of APN networking channels, and each APN networking channel corresponds to a data connection of an APN network. After receiving the APN networking instructions sent by the application layer, the multi-APN networking channel module allocates presets and/or dynamically creates multiple independent virtual network units.
在APN的联网指令中,APN联网参数是联网不同APN的标识,不同的APN联网参数代表不同的APN网络。代表不同APN网络的APN联网参数包括但不限于APN接入点名称、QOS等级、网络协议等等。网络连接协议包括但不限于互联网协议IPV4、IPV6或IPV4/IPV6的点到点链路上进行多协议包传送的PPP联网协议或语音网络PDP联网协议。应用程序可以直接通过向APN联网通道模块发送APN联网请求,实现联网APN网络。联网APN成功后,多APN联网通道模块会根据APN联网参数修改APN通道参数配置信息。In the APN networking instruction, the APN networking parameters are identifiers of different APNs that are networked, and different APN networking parameters represent different APN networks. APN networking parameters representing different APN networks include, but are not limited to, APN access point names, QOS levels, network protocols, and the like. The network connection protocol includes, but is not limited to, a PPP networking protocol or a voice network PDP networking protocol for multi-protocol packet transmission on a point-to-point link of the Internet Protocol IPV4, IPV6 or IPV4/IPV6. The application can directly implement the networked APN network by sending an APN networking request to the APN networking channel module. After the successful APN is established, the multi-APN networking channel module modifies the APN channel parameter configuration information according to the APN networking parameters.
多APN联网通道模块内包含APN通道参数配置信息以及供应用层修改多APN通道参数表的接口函数。The multi-APN networking channel module includes APN channel parameter configuration information and an interface function for modifying the multi-APN channel parameter table by the supply layer.
多APN联网通道模块含有修改APN参数接口函数,应用层根据接口函数参数内的虚拟通道标识(常量数值、字符串描述符、通道实例对象引用)和 APN联网参数修改每个APN通道参数配置信息。The multi-APN networking channel module contains a modified APN parameter interface function, and the application layer according to the virtual channel identifier (constant value, string descriptor, channel instance object reference) in the interface function parameter and The APN networking parameters modify the configuration information of each APN channel parameter.
APN通道参数配置信息内的数据标识了每个APN通道的APN联网参数,也标识了每个APN通道所连接的APN网络。APN联网参数的不同代表不同的APN网络。APN通道参数配置信息用于标识每个APN联网通道所连接的APN网络的联网参数,以及当前APN通道的实际联网APN的情况,包括已使用APN通道的参数定义和空闲APN通道的数量。The data in the APN channel parameter configuration information identifies the APN networking parameters of each APN channel, and also identifies the APN network to which each APN channel is connected. The differences in APN networking parameters represent different APN networks. The APN channel parameter configuration information is used to identify the networking parameters of the APN network to which each APN networking channel is connected, and the actual networked APN of the current APN channel, including the parameter definition of the used APN channel and the number of idle APN channels.
路由管理模块将某些特定APN网络通道路径定义为应用层数据联网的默认、预设路径default路径,例如,可将IPV4的CMNET定义为IPV4的默认路由,将IPV6的CMNET定义为IPV6的默认路由。这样的设计使得本方案所设计的方法可以兼容传统的应用程序。The route management module defines certain specific APN network channel paths as the default and default path default paths of the application layer data networking. For example, the CMNET of IPV4 can be defined as the default route of IPV4, and the CMNET of IPV6 can be defined as the default route of IPV6. . This design makes the method designed by this solution compatible with traditional applications.
驱动模块在执行多APN通道模块的联网指令时,除了成功时反馈信息以外,在联网操作失败时,向多APN联网模块反馈详细失败信息,消息内容包括但不限于网络超时,无网络信号,SIM欠费、APN未开通、APN参数错误等消息。When the driving module executes the networking instruction of the multi-APN channel module, in addition to the feedback information upon success, when the networking operation fails, the detailed failure information is fed back to the multi-APN networking module, including but not limited to network timeout, no network signal, SIM Arrears, APN not open, APN parameter error and other news.
本发明的具体实施方式可以分为两个步骤:The specific embodiment of the present invention can be divided into two steps:
1、应用层建立多APN联网通道1. Application layer establishes multiple APN networking channels
在发联网请求过程中,应用层向多APN联网通道模块逐次下发一个或多个APN联网指令,多APN联网通道模块收到联网指令后,根据上述联网指令依次创建或分配至一路或多路虚拟网络单元,虚拟网络单元通过驱动模块向移动基站发送联网请求;移动基站收到送联网请求后,向驱动模块发送联网成功与否的回应信号,驱动模块将移动基站回应的联网成功与否的消息发送到多APN联网通道模块,多APN联网通道模块将每个成功联网消息中的参数设置到上述创建或分配的虚拟网络单元上。在一路或多路虚拟网络单元创建或分配完成后,应用层再次发起另一个不同的APN联网请求,多APN联网通道模块将再次创建或分配一路新的与原有虚拟网络单元同时存在的虚拟网络单元,并继续向下再次发另不同的APN联网请求。In the process of sending a network request, the application layer sequentially sends one or more APN networking instructions to the multi-APN networking channel module. After receiving the networking instruction, the multi-APN networking channel module sequentially creates or allocates one or more channels according to the networking instruction. a virtual network unit, the virtual network unit sends a networking request to the mobile base station by using the driving module; after receiving the network connection request, the mobile base station sends a response signal to the driving module to the success or failure of the networking, and the driving module responds to the success of the network connection of the mobile base station. The message is sent to the multi-APN networking channel module, and the multi-APN networking channel module sets the parameters in each successful networking message to the virtual network unit created or assigned above. After one or more virtual network elements are created or allocated, the application layer initiates another different APN networking request, and the multi-APN networking channel module will again create or assign a new virtual network that exists simultaneously with the original virtual network element. Unit, and continue to send another APN networking request again.
多APN联网通道模块在接收到应用层下发的APN联网指令后,多APN 联网通道判断上述联网指令中指定联网的APN联网参数与当前已经连接分配的数据传输通道的APN联网参数是否匹配,若匹配,则把该联网请求指向已连接的分组数据协议PDP网络,并反馈应用层实际使用的网络服务接入点标识符NSAPI或通道号;若不匹配,则按连接请求的先后顺序为连接动态分配一个虚拟的“通道号”,并选择一个空闲的APN联网通道填充一个空闲的NSAPI来处理调用者对某个虚拟通道对应的实际的网络联网请求,连接成功后将通道号和NSAPI进行反馈并将相应APN参数、通道号记录在多APN联网通道模块的APN通道参数配置信息内。After receiving the APN networking command sent by the application layer, the multi-APN networking channel module has multiple APNs. The networking channel determines whether the APN networking parameter of the specified networking in the foregoing networking instruction matches the APN networking parameter of the currently allocated data transmission channel, and if so, directs the networking request to the connected packet data protocol PDP network, and feeds back the application. The network service access point identifier NSAPI or channel number actually used by the layer; if it does not match, dynamically allocate a virtual "channel number" for the connection in the order of connection request, and select an idle APN networking channel to fill an idle NSAPI handles the actual network networking request corresponding to a virtual channel by the caller. After the connection is successful, the channel number and NSAPI are fed back and the corresponding APN parameters and channel numbers are recorded in the APN channel parameter configuration information of the multi-APN networking channel module. Inside.
多APN联网通道模块含有连网接口函数,应用层根据接口函数参数内的虚拟通道标识(常量数值、字符串描述符、通道实例对象引用)或APN联网参数发送连网请求;多APN联网通道模块通过APN联网参数连网成功后保存APN通道参数配置信息;不同的APN连网参数代表不同的APN网络通道。The multi-APN networking channel module contains a network interface function, and the application layer sends a network connection request according to the virtual channel identifier (constant value, string descriptor, channel instance object reference) or APN networking parameter in the interface function parameter; multi-APN networking channel module The APN channel parameter configuration information is saved after the APN networking parameter is successfully connected; different APN networking parameters represent different APN network channels.
多APN联网通道模块在接收到应用层下发的每个APN联网指令后,创建多路各自独立的虚拟网络单元的模式有以下三种模式。After receiving the APN networking instructions sent by the application layer, the multi-APN networking channel module has the following three modes for creating multiple independent virtual network elements.
实施用例1:分配预设模式Implementation use case 1: Assign preset mode
操作系统事先按APN通道次序预先定义APN通道的类型,比如:APN通道1定义为CMNET,APN通道2定义为彩信,APN通道3定义为CMWAP等等。The operating system pre-defines the type of the APN channel in the APN channel order. For example, APN channel 1 is defined as CMNET, APN channel 2 is defined as MMS, and APN channel 3 is defined as CMWAP.
在应用层发送APN联网命令时,可以不附带APN联网参数,而直接使用通道号进行连接。When the APN networking command is sent at the application layer, the APN networking parameters are not included, and the channel number is directly used for the connection.
多APN联网通道模块接收到应用层发送的通道号联网命令参数后,将预定义的APN联网参数发送给驱动模块,联网成功后,分配指定的通道号给应用层。After receiving the channel number networking command parameters sent by the application layer, the multi-APN networking channel module sends the predefined APN networking parameters to the driver module. After the networking is successful, the specified channel number is assigned to the application layer.
应用层发送APN联网命令时,也可以使用附带APN联网参数的方式。When the application layer sends an APN networking command, it can also use the APN networking parameter.
多APN联网通道模块解析应用层发送的APN联网命令中的APN联网参数,联网成功后,分配预定义指定的通道号给应用层。The multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the networking is successful, the predefined channel number is assigned to the application layer.
实施用例2:动态创建模式 Implementation use case 2: Dynamic creation mode
多APN联网通道模块解析应用层发送的APN联网命令中的APN联网参数,联网成功后,动态分配一个空闲的通道号给应用层。The multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the networking is successful, dynamically allocates an idle channel number to the application layer.
实施用例3:分配预设和动态创建混合模式Implement Use Case 3: Assign Presets and Dynamically Create Mixed Modes
操作系统事先按APN通道次序部分预先定义APN通道的类型,比如:APN通道1定义为CMNET,APN通道2定义为彩信,APN通道3定义为CMWAP等等,其它通道为空闲。The operating system pre-defines the APN channel type according to the APN channel order. For example, APN channel 1 is defined as CMNET, APN channel 2 is defined as MMS, APN channel 3 is defined as CMWAP, and so on.
多APN联网通道模块解析应用层发送的APN联网命令中的APN联网参数,联网成功后,如果是预定义的APN通道则分配预定义指定的通道号给应用层。否则,动态创建一个空闲的通道号给应用层。The multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the networking is successful, if it is a predefined APN channel, the predefined designated channel number is assigned to the application layer. Otherwise, dynamically create an idle channel number for the application layer.
2、路由管理模块识别、管理或指定APN数据通道2. The route management module identifies, manages, or specifies the APN data channel.
位于含有移动终端操作系统和操作系统上的应用软件的应用层与底层的驱动模块之间的路由管理模块,在应用程序收发数据前或收发数据过程中,有序管理应用程序收发数据所采用的APN数据通道。The routing management module between the application layer and the underlying driver module of the application software on the operating system and the operating system of the mobile terminal, in order to manage the data transmission and reception of the application before the application sends and receives data or during the process of sending and receiving data APN data channel.
路由管理的模式有四种实施用例。需要说明的是,以下四种实施用例可以进行组合使用。There are four implementation use cases for the route management model. It should be noted that the following four implementation examples can be used in combination.
实施用例1:应用程序指定通道模式Implementation Use Case 1: Application specified channel mode
在路由管理模块中含有套接字socket接口,在socket接口内设置一个用来指定虚拟通道号的参数;路由管理模块取出上述参数后,则将应用程序收发的数据指向该参数指定的虚拟通道号,实现应用程序数据的收发。The routing management module includes a socket socket interface, and a parameter for specifying a virtual channel number is set in the socket interface; after the routing management module takes out the above parameters, the data sent and received by the application is directed to the virtual channel number specified by the parameter. To achieve the sending and receiving of application data.
实施用例2:目的地址绑定路由模式。Implementation use case 2: Destination address binding routing mode.
应用程序调用路由管理模块内的接口函数将需要访问的目的IP地址绑定在路由管理模块的路由表内,操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由将数据包传入指定APN数据通道。The application calls the interface function in the routing management module to bind the destination IP address to be accessed in the routing table of the routing management module. After the IP protocol stack of the operating system parses the destination address in the data sent by the application, the routing table is used. The route passes the packet to the specified APN data channel.
实施用例3:发送地址指定路由模式。Implementation use case 3: Send address specifies the routing mode.
应用程序收发网络数据时,操作系统的IP协议栈解析出应用程序收发数据请求中的本机IP地址,使用IP地址对应的APN数据通道进行数据收发。When the application sends and receives network data, the IP protocol stack of the operating system parses the local IP address in the application sending and receiving data request, and uses the APN data channel corresponding to the IP address to perform data transmission and reception.
实施用例4:默认路径模式。 Implement Use Case 4: Default Path Mode.
路由管理模块将应用程序指定的目的地址自动绑定到预设的APN数据通道;操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由使用指定APN数据通道进行数据收发。The routing management module automatically binds the destination address specified by the application to the preset APN data channel; after the IP protocol stack of the operating system parses the destination address in the data sent by the application, the specified APN data channel is used according to the route in the routing table. Data transmission and reception.
当联网APN的请求包含了代理服务器地址时,路由管理模块在APN通道连接成功后,自动将代理服务器地址绑定路由。When the request of the networked APN includes the proxy server address, the route management module automatically binds the proxy server address after the APN channel is successfully connected.
当联网APN的请求联网的APN网络属于操作系统已经定义的APN类型,路由管理模块在联网APN请求未包含代理服务器地址的情况下,由路由管理模块将上述APN的目的地址自动绑定到路由。When the APN network of the networked APN requesting the network belongs to the APN type already defined by the operating system, the route management module automatically binds the destination address of the APN to the route in the case that the networked APN request does not include the proxy server address.
操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由将数据包传入指定APN数据通道。After the IP protocol stack of the operating system parses the destination address in the data sent by the application, the data packet is transmitted to the specified APN data channel according to the route in the routing table.
以上所述的仅是本发明的优选实施例。应当指出,对于本领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干变形和改进,这些变更和改变应视为属于本发明的保护范围。 What has been described above is only a preferred embodiment of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the principles of the invention, and such changes and modifications are considered to be within the scope of the invention.

Claims (10)

  1. 一种有序管理多路APN并发联网数据传输通道的方法,具有如下技术特征:在含有移动终端操作系统和操作系统上的应用软件的应用层与底层的驱动模块之间设置用于实现多APN并发联网的多APN联网通道模块和路由管理模块,其中,应用层向多APN联网通道模块逐次下发至少二个APN联网指令,多APN联网通道模块根据上述联网指令依次创建或分配至少一路虚拟网络单元,驱动模块从接收到的联网请求中解析出上述每个APN参数,并根据每个APN参数发起网络连接,向移动基站发送联网请求;驱动模块将移动基站回应的联网成功与否的消息发送到多APN联网通道模块,多APN联网通道模块将驱动模块返回的每个成功联网消息中的参数设置到上述创建或分配的虚拟网络单元上,实施多个接入点的逐次并发联网;路由管理模块在应用程序收发数据前或收发数据过程中,有序管理应用程序收发数据所采用的APN数据通道。A method for orderly managing a multi-channel APN concurrent network data transmission channel has the following technical features: setting a multi-APN between an application layer containing an application software on a mobile terminal operating system and an operating system and an underlying driver module The multi-APN networking channel module and the routing management module of the concurrent network, wherein the application layer successively delivers at least two APN networking instructions to the multi-APN networking channel module, and the multi-APN networking channel module sequentially creates or allocates at least one virtual network according to the networking instruction. a unit, the driver module parses each of the APN parameters from the received networking request, and initiates a network connection according to each APN parameter, and sends a networking request to the mobile base station; and the driving module sends a message that the mobile base station responds to the success or failure of the networking. To the multi-APN networking channel module, the multi-APN networking channel module sets the parameters in each successful networking message returned by the driving module to the created or allocated virtual network unit, and implements successive concurrent networking of multiple access points; routing management The module has before the application sends and receives data or during the process of sending and receiving data. Transmitting and receiving data management application used APN data channel.
  2. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:多APN联网通道模块含有多个APN通道参数配置信息,通道参数配置信息包括:APN接入点名称、鉴权方式、QOS级别、帐号、密码和代理服务器地址和网络协议类型。The method for orderly managing a multi-channel APN concurrent network data transmission channel according to claim 1, wherein the multi-APN networking channel module includes a plurality of APN channel parameter configuration information, and the channel parameter configuration information includes: an APN access point name. , authentication method, QOS level, account number, password and proxy server address and network protocol type.
  3. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:多APN联网通道模块含有连网接口函数,应用层根据接口函数参数内的虚拟通道标识:常量数值、字符串描述符、通道实例对象引用或APN联网参数发送连网请求;多APN联网通道模块通过APN联网参数连网成功后保存APN通道参数配置信息;不同的APN连网参数代表不同的APN网络通道。The method for orderly managing a multi-channel APN concurrent networked data transmission channel according to claim 1, wherein the multi-APN networking channel module comprises a network interface function, and the application layer identifies the virtual channel according to the interface function parameter: a constant value. , the string descriptor, the channel instance object reference or the APN networking parameter sends a network request; the multi-APN networking channel module saves the APN channel parameter configuration information after successfully connecting through the APN networking parameter; different APN networking parameters represent different APN networks aisle.
  4. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:不同的APN数据连接通道由APN参数来区别,不同的APN参数标识为不同的APN数据联网通道。 The method for orderly managing a plurality of APN concurrent network data transmission channels according to claim 1, wherein different APN data connection channels are distinguished by APN parameters, and different APN parameter identifiers are different APN data networking channels.
  5. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:驱动模块在执行多APN通道模块的联网指令时,除了成功时反馈信息以外,在联网操作失败时,向多APN联网模块反馈详细失败信息,消息内容包括网络超时、无网络信号、SIM欠费、APN未开通或APN参数错误消息。The method for orderly managing a multi-channel APN concurrent network data transmission channel according to claim 1, wherein when the driving module executes the networking instruction of the multi-APN channel module, in addition to the feedback information when successful, when the networking operation fails The detailed failure information is fed back to the multi-APN networking module, and the message content includes network timeout, no network signal, SIM arrears, APN not opened, or APN parameter error message.
  6. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:在一路或多路虚拟网络单元创建或分配完成后,应用层再次发起另一个不同的APN联网请求,多APN联网通道模块将再次创建或分配一路新的与原有虚拟网络单元同时存在的虚拟网络单元,并继续等待下次发送不同的APN联网请求。The method for orderly managing multiple APN concurrent networked data transmission channels according to claim 1, wherein after the one or more virtual network units are created or allocated, the application layer initiates another different APN networking request again. The multi-APN networking channel module will again create or assign a new virtual network unit that exists at the same time as the original virtual network unit, and continue to wait for the next time to send a different APN networking request.
  7. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:路由管理模块中含有套接字socket接口,在socket接口内设置一个用来指定虚拟通道号的参数;路由管理模块取出上述参数后,则将应用程序收发的数据指向该参数指定的虚拟通道号,实现应用程序数据的收发。The method for orderly managing a multi-channel APN concurrent network data transmission channel according to claim 1, wherein the route management module includes a socket socket interface, and a parameter for specifying a virtual channel number is set in the socket interface. After the routing management module takes out the above parameters, the data sent and received by the application is directed to the virtual channel number specified by the parameter, and the application data is transmitted and received.
  8. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:应用程序调用路由管理模块将需要访问的目的IP地址绑定在路由管理模块的路由表内,操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由将数据包传入指定APN数据通道。The method for orderly managing a multi-channel APN concurrent network data transmission channel according to claim 1, wherein the application invocation routing management module binds the destination IP address to be accessed in the routing table of the routing management module, and operates After the IP protocol stack of the system parses the destination address in the data sent by the application, the data packet is transmitted to the designated APN data channel according to the route in the routing table.
  9. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:应用程序收发网络数据时,操作系统的IP协议栈解析出应用程序收发请求中的本机IP地址,使用IP地址对应的APN数据通道进行数据收发。The method for orderly managing a multi-channel APN concurrent network data transmission channel according to claim 1, wherein when the application program transmits and receives network data, the IP protocol stack of the operating system parses the local IP address in the application transceiver request. The data is transmitted and received using the APN data channel corresponding to the IP address.
  10. 如权利要求1所述的有序管理多路APN并发联网数据传输通道的方法,其特征在于:路由管理模块将应用程序指定的目的地址自动绑定到预设的APN数据通道;操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由使用指定APN数据通道进行数据收发。 The method for orderly managing a multi-channel APN concurrent network data transmission channel according to claim 1, wherein the route management module automatically binds the destination address specified by the application to the preset APN data channel; After parsing the destination address in the data sent by the application, the protocol stack uses the specified APN data channel for data transmission and reception according to the route in the routing table.
PCT/CN2014/087299 2013-10-10 2014-09-24 Method for orderly managing multi-path apn concurrent networking data transmission channel WO2015051703A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310470063.9 2013-10-10
CN201310470063.9A CN103533668B (en) 2013-10-10 2013-10-10 The method of the concurrent networked data transmission passage of orderly management multi-channel A PN

Publications (1)

Publication Number Publication Date
WO2015051703A1 true WO2015051703A1 (en) 2015-04-16

Family

ID=49935239

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087299 WO2015051703A1 (en) 2013-10-10 2014-09-24 Method for orderly managing multi-path apn concurrent networking data transmission channel

Country Status (2)

Country Link
CN (1) CN103533668B (en)
WO (1) WO2015051703A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114423032A (en) * 2022-03-25 2022-04-29 北京智芯微电子科技有限公司 Multi-APN access device and method and distribution network system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533668B (en) * 2013-10-10 2016-06-22 成都达信通通讯设备有限公司 The method of the concurrent networked data transmission passage of orderly management multi-channel A PN
CN103533609B (en) * 2013-10-10 2016-07-06 成都达信通通讯设备有限公司 The concurrent network system of mobile terminal many APN network channel and creation method thereof
CN103763754B (en) 2014-01-26 2017-07-14 华为技术有限公司 A kind of method of data processing, apparatus and system
CN106656854A (en) * 2016-10-11 2017-05-10 惠州市德赛西威汽车电子股份有限公司 System and method for connecting multiple special APNs of vehicle terminal to the Internet
US10673749B1 (en) * 2018-12-28 2020-06-02 Paypal, Inc. Peer-to-peer application layer distributed mesh routing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631371A (en) * 2009-08-27 2010-01-20 上海交通大学 Zero delay switching method of wireless access points
CN101754324A (en) * 2009-12-23 2010-06-23 中兴通讯股份有限公司 Wireless network access method and driving device
CN103036811A (en) * 2012-12-12 2013-04-10 中兴通讯股份有限公司 System and method for terminal implementing multiple access point name (APN) networking
CN103533668A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Method for orderly managing multi-path APN (access point name) concurrence networking data transmission passage

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101050639B1 (en) * 2009-02-10 2011-07-19 주식회사 케이티 Call management device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631371A (en) * 2009-08-27 2010-01-20 上海交通大学 Zero delay switching method of wireless access points
CN101754324A (en) * 2009-12-23 2010-06-23 中兴通讯股份有限公司 Wireless network access method and driving device
CN103036811A (en) * 2012-12-12 2013-04-10 中兴通讯股份有限公司 System and method for terminal implementing multiple access point name (APN) networking
CN103533668A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Method for orderly managing multi-path APN (access point name) concurrence networking data transmission passage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114423032A (en) * 2022-03-25 2022-04-29 北京智芯微电子科技有限公司 Multi-APN access device and method and distribution network system
CN114423032B (en) * 2022-03-25 2022-06-14 北京智芯微电子科技有限公司 Multi-APN access device and method and distribution network system

Also Published As

Publication number Publication date
CN103533668A (en) 2014-01-22
CN103533668B (en) 2016-06-22

Similar Documents

Publication Publication Date Title
WO2015051704A1 (en) Mobile terminal multi-apn network concurrent system and networking method thereof
WO2015051701A1 (en) Method for realizing multi-channel concurrent internet accessing by synchronizing wifi with apn network, and automatically choosing wifi networking preferentially
WO2015051703A1 (en) Method for orderly managing multi-path apn concurrent networking data transmission channel
WO2015051706A1 (en) Multi-apn channel management method for multi-apn network concurrent networking
JP5491650B2 (en) Mobile user equipment
KR100605837B1 (en) Multiple service method and apparatus in data only mobile telecommunication system
CN101600224B (en) Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card
US7907524B2 (en) Method and devices for installing packet filters in a data transmission
WO2012051885A1 (en) Method, terminal and system for service data distribution
CN102215154A (en) Access control method of network business and terminal
WO2015051702A1 (en) Mobile terminal multi-apn network channel concurrent network system and method for creating same
US20110250842A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
US8832141B2 (en) Method, device and system for combination of resource and admission control
WO2013170562A1 (en) Method, device, and system for automatically selecting ipv6 address transmission mode
WO2022012352A1 (en) Service processing method and apparatus, and device, and system
WO2008058453A1 (en) Method and system of transmitting dhcp message through ppp link and of obtaining configuration information
US20110280187A1 (en) Provision of an end-to-end connection from a terminal unit to a network
WO2013167083A2 (en) Method and device for selecting domain name server
JP6137848B2 (en) Network communication system
CN100518126C (en) Method for configuring GRE tunnel and router
WO2021218512A1 (en) Non-ip type data transmission processing method, device and apparatus, and medium
WO2021115429A1 (en) Communication method and apparatus
WO2013185696A2 (en) Data processing method and device
CN108737277A (en) A kind of message forwarding method and device
CN115174310A (en) PDN dialing and configuration method, system, device, equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14851536

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.08.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14851536

Country of ref document: EP

Kind code of ref document: A1