WO2015051704A1 - Mobile terminal multi-apn network concurrent system and networking method thereof - Google Patents

Mobile terminal multi-apn network concurrent system and networking method thereof Download PDF

Info

Publication number
WO2015051704A1
WO2015051704A1 PCT/CN2014/087304 CN2014087304W WO2015051704A1 WO 2015051704 A1 WO2015051704 A1 WO 2015051704A1 CN 2014087304 W CN2014087304 W CN 2014087304W WO 2015051704 A1 WO2015051704 A1 WO 2015051704A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
channel
networking
network
module
Prior art date
Application number
PCT/CN2014/087304
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 WO2015051704A1 publication Critical patent/WO2015051704A1/en

Links

Images

Classifications

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

Definitions

  • the present invention is a system and method for implementing multiple network access concurrency and management of a plurality of access point names (APNs) on a mobile terminal, and providing a mobile terminal operating system and application software for concurrent data transmission and management using a plurality of different APN networks. method.
  • APNs access point names
  • the wireless access point is a key component responsible for mobile terminal management and coordination of communication between wireless and wired networks. It provides seamless, high-speed, transparent access services for mobile terminals roaming between subnets.
  • APN Access Point Name, pick up Incoming point name
  • APN is a set of parameters pre-configured or manually set on the handheld device terminal for Internet access.
  • 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. 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 input of handheld device numbers, content conversion, and adaptive prediction.
  • 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 IP protocol version 6
  • the current IP protocol version IPV6 technology is mature, the standard is basically perfect, and IPv6 is in the process.
  • the current mobile terminal operating system lacks the corresponding interface and design for simultaneously networking multiple APN channels.
  • the general user does not have the relevant professional.
  • Most mobile phones currently do not support multipoint network access. If you want to play Weibo at the same time, you will encounter more troublesome situations. You need to manually set the network access method. Because this method needs to find out what network access point the software uses, the general Users can only help with the help of third-party APN management software.
  • the mobile phone is downloading music through the music player; email and MMS should also be kept at all times.
  • 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.
  • the operating system on the mobile terminal does not provide a human-machine interface or interface for multi-channel APN configuration, and the application layer cannot configure, query, and manage the application of the multi-channel APN.
  • the application layer cannot obtain the detailed content of the networking failure.
  • the application implementation cannot be better improved.
  • the operating system lacks an interface for application software to identify, manage, and monitor multiple APN data channels.
  • the object of the present invention is to provide a shortcoming of the above-mentioned prior art, and provide a multi-data connection concurrency, allowing multiple access modes to exist at the same time, and supporting the operating system application software to identify, manage, and monitor multiple APN data channel interfaces.
  • a method for accessing a network's multipoint network concurrent access system and its simultaneous multiple access point concurrent network links to meet the needs of different applications or operating systems using multiple APN networks for concurrent networking and management.
  • the above object of the present invention can be obtained by the following measures, a mobile terminal multi-APN network concurrent system and an implementation method thereof, which have the following technical features: an application layer and an underlying driving module including a mobile terminal operating system and an operating system application software; A multi-APN networking channel module and a routing management module are set up, wherein the multi-APN networking channel module includes APN channel parameter configuration information and a multi-APN channel monitoring management module, and APN channel parameter configuration information identifies an APN network to which each APN networking channel is connected.
  • Networking parameters and provisioning layer modify the interface function of the multi-APN channel parameter table, as well as the actual networked APN of the current APN channel and the APN networking parameter definition of the used APN channel.
  • the number of idle APN channels is mainly used to implement multi-APN concurrent networking; the routing management module processes the APN data channel used by the application to send and receive data in an order before the application sends and receives data, and the APN channel monitoring management module. Monitoring and managing the APN networking channel; when the application layer sequentially delivers at least one APN networking instruction to the multi-APN networking channel module, the multi-APN networking channel module allocates predefined and/or dynamically creates at least one virtual network unit according to the foregoing networking instruction, and routes The management module uses the application to specify the channel mode and/or destination address binding routing mode and/or the sending address specification mode and/or the default path mode.
  • the ordered management application specifies the APN data channel for data before or during the transmission of the data. Send and receive.
  • the present invention fully considers the user's demand for multiple access point technologies when the handheld device accesses the Internet, and adopts the operating system or application software of the mobile terminal, and adopts a mode of successively connecting each APN access point to realize multi-APN networking channel concurrent network connection.
  • the perfect multi-access point technology solution is given, and the data exchange networking directly entering the multi-APN access point is more flexible and convenient.
  • Multiple networked multi-APN channels can be established on the operating system on the mobile terminal.
  • the revolutionary breakthrough in the mobile terminal field can only use a single different APN networking channel. Bottleneck restrictions. The mobile terminal is no longer a bottleneck for manually switching the APN channel.
  • the present 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 multiple APN channel parameters for the mobile terminal user, so that the mobile terminal user can modify through the human-machine interface. Parameter setting of multiple APN channels.
  • the invention provides an interface function for configuring an APN channel parameter including a channel number and an APN networking parameter and which can be modified through a human-machine interface in an application software, and solves three operating systems for a mobile terminal. Ios, win phone and android can not configure multi-channel APN channel settings.
  • the present invention provides that the operating system or application software on the mobile terminal can implement multi-APN concurrent networking by command.
  • the multi-APN networking method implemented by the operating system or application software of the mobile terminal can be implemented by successive connection methods, Support multi-data connection concurrency, allowing multiple access methods to exist at the same time. For example, we can send and receive mail through the CMMAIL access point; send and receive multimedia messages through the CMWAP access point; use the built-in browser of the mobile phone to access the Internet and use Weibo on the GPRS or WIFI.
  • a variety of applications run simultaneously on multiple networks, fully embodying the intelligence of smart terminals.
  • the invention includes parameters of the network networking protocol in the configuration information of the APN channel parameters, so that the operating system and the driver module can identify the networking protocol required in the application layer networking request, and use the corresponding networking protocol for networking as required. . Since the present invention is multi-APN channel concurrency, the operating system or application software supports different APN networks of a plurality of different networking protocols for concurrent networking. Each node is not only a server but also a client. They are equal in status and can exchange data directly between nodes. If compared with the traditional client/server model, the peer-to-peer network model has great advantages in terms of system scalability, robustness, system resource utilization, and so on.
  • the invention provides a set of intelligent handheld device network connection management strategies, when a built-in application or a third-party application on a handheld device can access the network according to an internal default access point or when the access point link fails, the present invention
  • the provided multi-APN channel monitoring management module network connection management policy will automatically detect other available access points to access the network; if a more ideal network access point occurs, the network will be automatically accessed through a better access point.
  • the present invention initiates each APN networking request one by one through the application layer, and the APN networking channel module
  • the block completes the concurrent networking of different APN networks, and solves the current three mainstream handheld operating systems.
  • the android, win phone, and ios single APN applications access the handheld operating system. At the same time, various applications can only use one and the same. APN channel problem.
  • the invention successively initiates each APN networking request through the application layer, and combines the APN networking channel module in real time with the application program interface and the protocol stack to complete concurrent connection of different APN networks, thereby ensuring fast response and high precision of the system. After system testing, the access point performance is good, which can ensure the system starts quickly. Users can share network resources at high speed and reliability, and solve the current mainstream handheld device operating system single APN application access handheld device operating system, at the same time, various applications Only one and the same APN channel problem can be used.
  • the present invention provides a method for an application to specify an APN data transmission channel through a route management module, so that an application can use any one or more different APN data channels for data transmission and reception.
  • the invention provides a detailed cause report of the APN networking failure to the application through the APN channel monitoring module, and an operation monitoring message of the APN channel, including an APN channel connection, disconnection, and closing message.
  • the invention provides a function interface for the application management APN channel through the APN channel monitoring management module, and allows the application to connect, disconnect, close, switch and query the APN networking channel.
  • the invention uses the default path to set the APN channel usage specification to be the same as that of the conventional mobile terminal, so that the application compatible operation mode in the conventional mobile terminal is provided. .
  • the unified data connection management mechanism provided by the invention can uniformly manage the conventional network data link manners such as Wifi and GPRS frequently used by the handheld device to access the Internet. Whether using Wifi or TD or 2G access to the network, it can be well supported and managed. No need to judge The data connection management method of the present invention does not require frequent setting, and the data connection management of the present invention allows the handheld mobile device user to easily navigate various mobile network environments.
  • FIG. 1 is a schematic structural diagram of a multi-APN network concurrent system and a method for implementing the same according to the present invention.
  • the model supporting the mobile terminal multi-APN network concurrent system and its implementation method includes, in order, an application layer, a multi-APN networking channel module, a route management module, and a driver module; APN channel parameter configuration information and APN.
  • the channel monitoring management module 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 connect through the network.
  • the implementation of the discussion is connected to the APN.
  • a mobile terminal is a computing device that supports wireless networking, and can access a type of device that obtains various kinds of information anytime and anywhere, such as a mobile computing device such as a laptop, a PDA, a wireless network card, and a smart phone.
  • 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. 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.
  • 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 pre-defined 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.
  • Network connection protocols include but are not limited to Internet Protocol IPV4, IPV6 or IPV4/IPV6 for point-to-point links for multi-protocol Packet-transmitted PPP networking protocol or voice network PDP networking protocol.
  • 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 application layer modifies each APN channel parameter configuration information according to the virtual channel identifier, constant value, string descriptor, channel instance object reference, and APN networking parameters in the interface function parameters.
  • 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 predefined 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 successively delivers one or more APN networking instructions to the multi-APN networking channel module, and after receiving the networking instruction, the multi-APN networking channel module according to the above networking instruction
  • the virtual network unit sequentially sends or allocates to one or more virtual network units, and the virtual network unit sends a networking request to the mobile base station through the driving module; after receiving the sending network request, the mobile base station sends a response signal to the driving module whether the network is successful or not, and the driving module will
  • the message of successful network connection responded by the mobile base station 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 allocated 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 different APN networking requests again.
  • the multi-APN networking channel After receiving the APN networking instruction sent by the application layer, the multi-APN networking channel determines whether the APN networking parameter of the specified networking in the networking instruction matches the APN networking parameter of the currently connected data transmission channel, if If the match is made, the networked request is directed to the connected packet data protocol PDP network, and the network service access point identifier NSAPI or channel number actually used by the application layer is fed back; if not, the connection request is in the order of connection request. Assign a virtual "channel number" and select an idle APN networking channel to fill an idle NSAPI to handle the actual network networking request of the caller to a virtual channel. After the connection is successful, the channel number and NSAPI are fed back. 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 request according to the virtual channel identifier in the interface function parameter: a constant value, a string descriptor, a channel instance object reference, or an APN networking parameter; the multi-APN networking channel module passes The APN networking parameters save the APN channel parameter configuration information after successful networking; different APN networking parameters represent different APN network channels.
  • the multi-APN networking channel module is created after receiving each APN networking instruction sent by the application layer.
  • the modes of multiple independent virtual network elements have the following three modes.
  • 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. Use layers. 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 of the mobile terminal 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 route management module automatically binds the destination address specified by the application to the predefined APN data channel; after the IP protocol stack of the operating system parses the destination address in the data sent by the application, the route is pressed.
  • the specified APN data channel is used for data transmission and reception by the routes in the table.
  • 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.
  • the APN channel monitoring management module monitors and manages the APN networking channel, including but not limited to the APN networking channel configuration, connection, disconnection, shutdown, switching, and data link information reporting.
  • the application layer configures, connects, disconnects, switches, and closes the APN channel through the interface function provided by the APN channel monitoring management module.
  • the APN channel monitoring management module collects the report message from the driver module, and feeds the message to the application layer in real time.
  • the APN channel monitoring management module applies to the application.
  • the layer feedback channel is full of messages.
  • the APN channel monitoring management module reports the application layer to the application layer through the system message channel once it receives the message that the driver module is connected, disconnected, or closed.
  • the reported messages include networking success and failure messages, as well as the real-time operating status of each APN networking link.
  • the network failure message includes but is not limited to the network timeout, no network signal, SIM arrears, APN is not open, APN parameter error and other messages.
  • the application layer can configure, connect, disconnect, switch, and close any APN channel through the corresponding command of the APN channel monitoring management module through the human-machine interface or application.
  • the program may be stored in a mobile terminal readable storage medium, optionally
  • Each module/unit of the terminal in the above embodiment may be implemented in the form of hardware or in the form of a software function module.
  • the present invention is not limited to the combination of any specific form of hardware and software, and is intended to be within the scope of the present invention.

Abstract

Provided are a mobile terminal multi-access point name (APN) network concurrent system and concurrent networking method thereof, the system comprising: a multi-APN networking channel module and a routing management module disposed between an application layer and a drive module of a bottom layer; the multi-APN networking channel module is embedded with APN channel configuration information and a multi-APN channel monitoring management module; the APN channel monitoring management module monitors and manages an APN networking channel; when the application layer sequentially issues at least one APN networking instruction to the multi-APN networking channel module, the multi-APN networking channel module allocates, according to the networking instruction, at least one path of a predefined and/or dynamically created virtual network unit, and the routing management module utilizes a channel mode specified by an application program, and/or a routing mode bound to a target address, and/or a mode specified by a transmission address, and/or a default routing mode, thus orderly managing the transmitting and receiving of data in a specified APN data channel before or during data transmission by the application program.

Description

移动终端多APN网络并发系统及其联网方法Mobile terminal multi-APN network concurrent system and networking method thereof
本申请要求于2013年10月10日提交中国专利局、申请号为201310470535.0、发明名称为“移动终端多APN网络并发系统及其联网方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201310470535.0, entitled "Mobile Terminal Multi-APN Network Concurrency System and Its Networking Method" on October 10, 2013, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明是一种实现移动终端上多个接入点名称(APN)逐次联网并发和管理的系统及其方法,提供移动终端的操作系统和应用软件使用多个不同APN网络并发数据传输和管理的方法。The present invention is a system and method for implementing multiple network access concurrency and management of a plurality of access point names (APNs) on a mobile terminal, and providing a mobile terminal operating system and application software for concurrent data transmission and management using a plurality of different APN networks. method.
背景技术Background technique
随着移动自组织网络的发展,在其网络上运行的业务越来越多,其中多媒体实时业务以及大流量的视频业务对网络要求也越来越高。伴随着手持设备上网技术的成熟和智能手持设备的普及,现在的手持设备已经成为电脑之外使用频度最高的网络接入终端。公车上,地铁里,走到哪里都会看到拿着手持设备听音乐、收邮件、发微博、看新闻上网的人群。特别是智能手持设备强大的可扩展性及其所带来丰富多样的功能和应用,更是为手持设备上网增添了无限乐趣。但目前的手持设备终端和操作系统在使用不同方式上网时带来了一些不便的烦恼。而手持设备被问及最多的就是手机上网方面的问题。我们的手机在上网时需要设置网络接入方式(APN);而不同的功能和第三方应用上网时需要不同的网络接入方式来支持。无线接入点是负责移动终端管理以及协调无线和有线网络之间通信的关键部件,它为在子网间漫游的移动终端提供无缝的、高速的、透明的接入服务。对于普通用户而言,APN(Access Point Name,接 入点名称)只是为了上网而在手持设备终端上预先配置或手工设定的一组参数。而对于移动网络来说,APN是用来实现用户IP报文路由至相应GGSN及外部网络的必不可少的标识,其作用具体包括:APN作为路由标识:SGSN根据APN,向特定DNS服务器查询该APN对应的GGSN IP地址,以确定用户应接入的GGSN;APN作为业务域标识:GGSN根据APN不同,将用户的业务流送到不同的业务域,而不同的业务域则对应了不同的业务承载组网方式、用户标识获取方式、计费模式等。以中国移动最早提供、也是目前用户使用最广的两个APN——CMWAP、CMNET为例:With the development of mobile ad hoc networks, more and more services are running on their networks, and multimedia real-time services and high-traffic video services are becoming more and more demanding on the network. With the maturity of handheld Internet technology and the popularity of smart handheld devices, today's handheld devices have become the most frequently used network access terminals outside the computer. On the bus, in the subway, wherever you go, you will see people who are holding handheld devices to listen to music, receive emails, send Weibo, and watch news online. In particular, the powerful scalability of smart handheld devices and the rich variety of functions and applications they bring are even more fun for handheld devices. However, current handheld devices and operating systems have caused some inconveniences when using different methods to access the Internet. The most frequently asked about handheld devices is the problem of mobile Internet access. Our mobile phone needs to set the network access mode (APN) when surfing the Internet; different functions and third-party applications require different network access methods to support the Internet. The wireless access point is a key component responsible for mobile terminal management and coordination of communication between wireless and wired networks. It provides seamless, high-speed, transparent access services for mobile terminals roaming between subnets. For ordinary users, APN (Access Point Name, pick up Incoming point name) is a set of parameters pre-configured or manually set on the handheld device 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. 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 input of handheld device numbers, content conversion, and adaptive prediction.
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 is mature, the standard is basically perfect, and IPv6 is in the process. The phase of IPV4 coexistence and transition. It can be said that the simultaneous networking of multiple APN channels by handheld devices 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联网通道。通常打开移动设备里面的设置只有一个上网接入点,如“GPRS连接互联网”设置,进入功能表-设置-连接功能-承载方式-互联网。这里可能有一个GPRS连接互联网的接入方式,根本找不到其他移动网的连接,而且下载QQ的时候上面直接默认的就一个接入点,连选择都不能选择,因此普通用户在没有相关专业知识的情况下,通常是无法自动切换实现不同业务网络选项设置接入点的转换。目前大多数手机并不支持多点网络接入的方式。如果在收邮件的同时,又要玩微博就会遇到比较麻烦的情况,需要手工设置更换网络接入方式;由于这种方式需要弄清楚软件使用什么网络接入点接入,一般的普通用户只能无奈地借助第三方的APN管理软件的帮助。在使用手机上网浏览网页时,手机在通过音乐随身听下载音乐;Email和彩信也要随时保持畅通。且不管能否正确判断这些功能的网络接入是使用WLAN、CMWAP还是CMMAIL这些复杂的技术名词;一般情况下,都需要在手机上不断的设置网络设置项,一番折腾,也未必达到想要的目的。想要真正的玩转智能手机,流畅体验移动互联网带来的便利和乐趣,还需要更给力的手机终端和多点网络并发接入技术。目前,能真正完美实现多接入点技术的手机系统不多见。 Currently, the world's three major handheld operating systems, android, win phone, ios are handheld 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 handheld device 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. Usually open the settings inside the mobile device only one Internet access point, such as "GPRS connection Internet" settings, enter the menu - Settings - Connections - Hosting - Internet. There may be a GPRS connection to the Internet, and no other mobile network connection can be found. When downloading QQ, the default is an access point. Even the selection cannot be selected. Therefore, the general user does not have the relevant professional. In the case of knowledge, it is usually not possible to automatically switch the implementation of different business network options to set the access point conversion. Most mobile phones currently do not support multipoint network access. If you want to play Weibo at the same time, you will encounter more troublesome situations. You need to manually set the network access method. Because this method needs to find out what network access point the software uses, the general Users can only help with the help of third-party APN management software. When browsing the web on the mobile phone, the mobile phone is downloading music through the music player; email and MMS should also be kept at all times. And whether or not the network access of these functions can be correctly judged is the complicated technical term of using WLAN, CMWAP or CMMAIL; in general, it is necessary to constantly set the network setting items on the mobile phone, and some toss, and may not achieve the desired the goal of. If you want to really play with your smartphone, you can experience the convenience and fun of the mobile Internet. You need more powerful mobile terminals and multi-point network concurrent access technology. At present, mobile phone systems that can truly achieve multiple access point technologies are rare.
移动终端操作系统和应用软件不能实现多路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. Secondly, the operating system on the mobile terminal does not provide a human-machine interface or interface for multi-channel APN configuration, and the application layer cannot configure, query, and manage the application of the multi-channel APN. Furthermore, the application layer cannot obtain the detailed content of the networking failure. The application implementation cannot be better improved. In addition, the operating system lacks an interface for application software to identify, manage, and monitor multiple APN data channels.
发明内容Summary of the invention
本发明的目的是针对上述现有技术存在不足之处,提供一种可以支持多数据连接并发,让多种接入方式同时存在,支持操作系统应用软件识别、管理、监控多条APN数据通道接口,支持APN联网通道配置、查询多接入点并发,支持移动终端操作系统或应用软件多点网络并发接入网络,实现多APN并发联网数据传输,具有网络连接管理策略,能自动检测其它可用接入点访问网络的多点网络并发接入系统及其同时多接入点并发网络链路的方法,以满足不同应用程序或操作系统使用多APN网络并发联网和管理的需求。The object of the present invention is to provide a shortcoming of the above-mentioned prior art, and provide a multi-data connection concurrency, allowing multiple access modes to exist at the same time, and supporting the operating system application software to identify, manage, and monitor multiple APN data channel interfaces. Support APN network channel configuration, query multiple access point concurrency, support mobile terminal operating system or application software multi-point network concurrent access network, realize multi-APN concurrent network data transmission, have network connection management strategy, can automatically detect other available connections A method for accessing a network's multipoint network concurrent access system and its simultaneous multiple access point concurrent network links to meet the needs of different applications or operating systems using multiple APN networks for concurrent networking and management.
本发明的上述目的可以通过以下措施来得到,一种移动终端多APN网络并发系统及其实现方法,具有如下技术特征:在含有移动终端操作系统和操作系统应用软件的应用层与底层的驱动模块之间设置多APN联网通道模块和路由管理模块,其中多APN联网通道模块包含APN通道参数配置信息和多APN通道监控管理模块、APN通道参数配置信息标识每个APN联网通道所连接的APN网络的联网参数和供应用层修改多APN通道参数表的接口函数,以及当前APN通道的实际联网APN的情况和已使用APN通道的APN联网参数定义 和空闲APN通道的数量,主要用于实现多APN并发联网;路由管理模块在应用程序收发数据前或收发数据过程中,有序管理应用程序收发数据所采用的APN数据通道;APN通道监控管理模块监控、管理APN联网通道;当应用层向多APN联网通道模块逐次下发至少一个APN联网指令时,多APN联网通道模块根据上述联网指令分配预定义和/或动态创建至少一路虚拟网络单元,路由管理模块使用应用程序指定通道模式和/或目的地址绑定路由模式和/或发送地址指定模式和/或默认路径模式,有序管理应用程序在发送数据前或过程中,指定APN数据通道进行数据收发。The above object of the present invention can be obtained by the following measures, a mobile terminal multi-APN network concurrent system and an implementation method thereof, which have the following technical features: an application layer and an underlying driving module including a mobile terminal operating system and an operating system application software; A multi-APN networking channel module and a routing management module are set up, wherein the multi-APN networking channel module includes APN channel parameter configuration information and a multi-APN channel monitoring management module, and APN channel parameter configuration information identifies an APN network to which each APN networking channel is connected. Networking parameters and provisioning layer modify the interface function of the multi-APN channel parameter table, as well as the actual networked APN of the current APN channel and the APN networking parameter definition of the used APN channel. The number of idle APN channels is mainly used to implement multi-APN concurrent networking; the routing management module processes the APN data channel used by the application to send and receive data in an order before the application sends and receives data, and the APN channel monitoring management module. Monitoring and managing the APN networking channel; when the application layer sequentially delivers at least one APN networking instruction to the multi-APN networking channel module, the multi-APN networking channel module allocates predefined and/or dynamically creates at least one virtual network unit according to the foregoing networking instruction, and routes The management module uses the application to specify the channel mode and/or destination address binding routing mode and/or the sending address specification mode and/or the default path mode. The ordered management application specifies the APN data channel for data before or during the transmission of the data. Send and receive.
本发明相比现有的操作系统有以下有益效果:The present invention has the following beneficial effects compared to the existing operating system:
1)本发明充分考虑了用户在手持设备上网时对多接入点技术的需求,通过移动终端的操作系统或应用软件,采用逐次连接各个APN接入点实现多APN联网通道并发网络连接的模式,给出了完美的多接入点技术解决方案,直接进入多APN接入点的数据交换组网更加灵活方便。可以在移动终端上的操作系统上可以建立多个联网多APN的通道,除了多种数据连接方式且支持并发连接和并发联网,革命性地突破了手机终端领域只能使用单一不同APN联网通道的瓶颈限制。使移动终端不再成为无线接入需要手工切换APN通道的瓶颈。1) The present invention fully considers the user's demand for multiple access point technologies when the handheld device accesses the Internet, and adopts the operating system or application software of the mobile terminal, and adopts a mode of successively connecting each APN access point to realize multi-APN networking channel concurrent network connection. The perfect multi-access point technology solution is given, and the data exchange networking directly entering the multi-APN access point is more flexible and convenient. Multiple networked multi-APN channels can be established on the operating system on the mobile terminal. In addition to multiple data connection methods and supporting concurrent connection and concurrent networking, the revolutionary breakthrough in the mobile terminal field can only use a single different APN networking channel. Bottleneck restrictions. The mobile terminal is no longer a bottleneck for manually switching the APN channel.
2)本发明在移动终端操作系统提供应用层修改多APN通道参数表的接口函数,提供了为移动终端用户配置、修改多APN通道参数的人机界面,使移动终端用户可以通过人机界面修改多个APN通道的参数设定。2) The present 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 multiple APN channel parameters for the mobile terminal user, so that the mobile terminal user can modify through the human-machine interface. Parameter setting of multiple APN channels.
本发明提供了在应用软件中配置包含通道号和APN联网参数及可以通过人机界面修改的APN通道参数的接口函数,解决了移动终端用三大操作系统 ios、win phone和android无法配置多路APN通道设定的问题。The invention provides an interface function for configuring an APN channel parameter including a channel number and an APN networking parameter and which can be modified through a human-machine interface in an application software, and solves three operating systems for a mobile terminal. Ios, win phone and android can not configure multi-channel APN channel settings.
3)本发明提供了在移动终端上的操作系统或应用软件可通过命令方式实现多APN并发联网。对移动终端的操作系统或应用软件所实现的多APN联网方式,无论是不同的应用软件使用不同的APN网络,还是一个应用软件使用多个APN网络,都可以通过逐次连接的方式予以实现,可以支持多数据连接并发,让多种接入方式同时存在。比如,我们可以通过CMMAIL接入点收发邮件;通过CMWAP接入点收发彩信;在用GPRS或者WIFI的方式通过手机内置的浏览器上网、上微博。多种应用多种网络同时运行,充分体现智能终端的智能。3) The present invention provides that the operating system or application software on the mobile terminal can implement multi-APN concurrent networking by command. The multi-APN networking method implemented by the operating system or application software of the mobile terminal, whether different application software uses different APN networks, or one application software uses multiple APN networks, can be implemented by successive connection methods, Support multi-data connection concurrency, allowing multiple access methods to exist at the same time. For example, we can send and receive mail through the CMMAIL access point; send and receive multimedia messages through the CMWAP access point; use the built-in browser of the mobile phone to access the Internet and use Weibo on the GPRS or WIFI. A variety of applications run simultaneously on multiple networks, fully embodying the intelligence of smart terminals.
4)本发明在APN通道参数的配置信息中,包含了网络联网协议的参数,使得操作系统和驱动模块可以识别应用层联网请求中所要求的联网协议,并按要求使用相应的联网协议进行联网。由于本发明是多APN通道并发,使得操作系统或应用软件支持多种不同的联网协议的不同APN网络并发联网。每个节点不仅是服务器而且还是客户机,它们地位相等,在节点之间可以直接进行数据交换。如果和传统的客户机/服务器模型进行对比,在系统的可扩展性、鲁棒性、系统的资源利用率等等方面,对等网络模型都具有巨大的优势。4) The invention includes parameters of the network networking protocol in the configuration information of the APN channel parameters, so that the operating system and the driver module can identify the networking protocol required in the application layer networking request, and use the corresponding networking protocol for networking as required. . Since the present invention is multi-APN channel concurrency, the operating system or application software supports different APN networks of a plurality of different networking protocols for concurrent networking. Each node is not only a server but also a client. They are equal in status and can exchange data directly between nodes. If compared with the traditional client/server model, the peer-to-peer network model has great advantages in terms of system scalability, robustness, system resource utilization, and so on.
本发明提供的一整套智能的手持设备网络连接管理策略,当手持设备上的内置应用或第三方应用,可以根据内部的默认接入点访问网络时或当接入点链接失败的时候,本发明提供的多APN通道监控管理模块网络连接管理策略将自动检测其它可用的接入点访问网络;如果出现更理想的网络接入点,则自动通过更好的接入点访问网络。The invention provides a set of intelligent handheld device network connection management strategies, when a built-in application or a third-party application on a handheld device can access the network according to an internal default access point or when the access point link fails, the present invention The provided multi-APN channel monitoring management module network connection management policy will automatically detect other available access points to access the network; if a more ideal network access point occurs, the network will be automatically accessed through a better access point.
5)本发明通过应用层逐次发起每个APN联网请求,由APN联网通道模 块完成不同的APN网络的并发联网,解决了目前三大主流的手持设备操作系统,android、win phone、ios单APN应用接入手持设备操作系统,同一时间下,各种应用只能使用一个相同的APN通道问题。5) The present invention initiates each APN networking request one by one through the application layer, and the APN networking channel module The block completes the concurrent networking of different APN networks, and solves the current three mainstream handheld operating systems. The android, win phone, and ios single APN applications access the handheld operating system. At the same time, various applications can only use one and the same. APN channel problem.
6)本发明通过应用层逐次发起每个APN联网请求,将APN联网通道模块实时与应用程序接口与协议栈相结合完成不同的APN网络的并发联网,从而保证系统的快速响应和定时高精度.经过系统测试,接入点性能良好,可以确保系统快速启动,用户可以高速可靠的共享网络资源,解决了目前主流手持设备操作系统单APN应用接入手持设备操作系统,同一时间下,各种应用只能使用一个相同的APN通道问题。6) The invention successively initiates each APN networking request through the application layer, and combines the APN networking channel module in real time with the application program interface and the protocol stack to complete concurrent connection of different APN networks, thereby ensuring fast response and high precision of the system. After system testing, the access point performance is good, which can ensure the system starts quickly. Users can share network resources at high speed and reliability, and solve the current mainstream handheld device operating system single APN application access handheld device operating system, at the same time, various applications Only one and the same APN channel problem can be used.
7)本发明通过路由管理模块提供了应用程序指定APN数据传输通道的方法,使应用程序可以使用任意一个或多个不同的APN数据通道进行数据收发7) The present invention provides a method for an application to specify an APN data transmission channel through a route management module, so that an application can use any one or more different APN data channels for data transmission and reception.
8)本发明通过APN通道监控模块向应用程序提供APN联网失败的详细原因报告,以及APN通道的运行监控消息,包括APN通道连接、断开、关闭消息。8) The invention provides a detailed cause report of the APN networking failure to the application through the APN channel monitoring module, and an operation monitoring message of the APN channel, including an APN channel connection, disconnection, and closing message.
9)本发明通过APN通道监控管理模块提供应用程序管理APN通道的函数接口,允许应用程序对APN联网通道进行连接、断开、关闭、切换和查询的操作。9) The invention provides a function interface for the application management APN channel through the APN channel monitoring management module, and allows the application to connect, disconnect, close, switch and query the APN networking channel.
10)本发明在APN通道的使用上,通过设定默认路径的方式,将APN通道的使用规范与传统的移动终端的操作系统相同,使得提供了在传统的移动终端的应用程序兼容的运行方式。本发明提供的统一数据连接管理机制,可以统一管理手持设备上网经常用到的Wifi、GPRS等常规网络数据链接方式。无论用Wifi还是TD或2G方式接入网络,都可以很好的支持并管理。不需要判断 某种应用需要何种网络接入方式,也不需要频繁的设置,本发明的数据连接管理可以让手持移动设备用户轻松畅游各种移动网络环境。10) In the use of the APN channel, the invention uses the default path to set the APN channel usage specification to be the same as that of the conventional mobile terminal, so that the application compatible operation mode in the conventional mobile terminal is provided. . The unified data connection management mechanism provided by the invention can uniformly manage the conventional network data link manners such as Wifi and GPRS frequently used by the handheld device to access the Internet. Whether using Wifi or TD or 2G access to the network, it can be well supported and managed. No need to judge The data connection management method of the present invention does not require frequent setting, and the data connection management of the present invention allows the handheld mobile device user to easily navigate various mobile network environments.
附图说明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网络并发系统及其实现方法的结构示意图。1 is a schematic structural diagram of a multi-APN network concurrent system and a method for implementing the same according to the present invention.
具体实施方式detailed description
参阅图1。在以下描述的最佳实施例中,支持移动终端多APN网络并发系统及其实现方法的模型,依次包括应用层、多APN联网通道模块、路由管理模块和驱动模块;APN通道参数配置信息和APN通道监控管理模块内嵌在多APN联网通道模块中。See Figure 1. In the preferred embodiment described below, the model supporting the mobile terminal multi-APN network concurrent system and its implementation method includes, in order, an application layer, a multi-APN networking channel module, a route management module, and a driver module; APN channel parameter configuration information and APN. The channel monitoring management module 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 connect through the network. The implementation of the discussion is connected to the APN. A mobile terminal is a computing device that supports wireless networking, and can access a type of device that obtains various kinds of information anytime and anywhere, such as a mobile computing device such as a laptop, a PDA, a wireless network card, and a smart phone.
应用层通过人机界面或应用程序通过多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联网请求。联网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. 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参数标识为不同的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 pre-defined and/or dynamically creates multiple independent virtual network units.
在APN的联网指令中,APN联网参数是联网不同APN的标识,不同的APN联网参数代表不同的APN网络。代表不同APN网络的APN联网参数包括但不限于APN接入点名称、QOS等级、网络协议等等。网络连接协议包括但不限于互联网协议IPV4、IPV6或IPV4/IPV6的点到点链路上进行多协议 包传送的PPP联网协议或语音网络PDP联网协议。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. Network connection protocols include but are not limited to Internet Protocol IPV4, IPV6 or IPV4/IPV6 for point-to-point links for multi-protocol Packet-transmitted PPP networking protocol or voice network PDP networking protocol.
多APN联网通道模块内包含APN通道参数配置信息以及供应用层修改多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. The application layer modifies each APN channel parameter configuration information according to the virtual channel identifier, constant value, string descriptor, channel instance object reference, and APN networking parameters in the interface function parameters.
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 predefined 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.
本发明在建立和识别APN数据通道的具体实施方式可以分为两个步骤:The specific implementation manner of the present invention in establishing and identifying an APN data channel 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 successively delivers one or more APN networking instructions to the multi-APN networking channel module, and after receiving the networking instruction, the multi-APN networking channel module according to the above networking instruction The virtual network unit sequentially sends or allocates to one or more virtual network units, and the virtual network unit sends a networking request to the mobile base station through the driving module; after receiving the sending network request, the mobile base station sends a response signal to the driving module whether the network is successful or not, and the driving module will The message of successful network connection responded by the mobile base station 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 allocated 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 different APN networking requests again.
多APN联网通道模块在接收到应用层下发的APN联网指令后,多APN联网通道判断上述联网指令中指定联网的APN联网参数与当前已经连接分配的数据传输通道的APN联网参数是否匹配,若匹配,则把该联网请求指向已连接的分组数据协议PDP网络,并反馈应用层实际使用的网络服务接入点标识符NSAPI或通道号;若不匹配,则按连接请求的先后顺序为连接动态分配一个虚拟的“通道号”,并选择一个空闲的APN联网通道填充一个空闲的NSAPI来处理调用者对某个虚拟通道对应的实际的网络联网请求,连接成功后将通道号和NSAPI进行反馈并将相应APN参数、通道号记录在多APN联网通道模块的APN通道参数配置信息内。After receiving the APN networking instruction sent by the application layer, the multi-APN networking channel determines whether the APN networking parameter of the specified networking in the networking instruction matches the APN networking parameter of the currently connected data transmission channel, if If the match is made, the networked request is directed to the connected packet data protocol PDP network, and the network service access point identifier NSAPI or channel number actually used by the application layer is fed back; if not, the connection request is in the order of connection request. Assign a virtual "channel number" and select an idle APN networking channel to fill an idle NSAPI to handle the actual network networking request of the caller to a virtual channel. After the connection is successful, the channel number and NSAPI are fed back. The corresponding APN parameters and channel numbers are recorded in the APN channel parameter configuration information of the multi-APN networking channel module.
多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 request according to the virtual channel identifier in the interface function parameter: a constant value, a string descriptor, a channel instance object reference, or an APN networking parameter; the multi-APN networking channel module passes The APN networking parameters save the APN channel parameter configuration information after successful networking; different APN networking parameters represent different APN network channels.
多APN联网通道模块在接收到应用层下发的每个APN联网指令后,创建 多路各自独立的虚拟网络单元的模式有以下三种模式。The multi-APN networking channel module is created after receiving each APN networking instruction sent by the application layer. The modes of multiple independent virtual network elements have the following three modes.
实施用例1:分配预定义模式Implementation Use Case 1: Assigning predefined patterns
操作系统事先按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: Assigning Predefined and Dynamic Creation 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. Use layers. 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. That is, there are four management modes that 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 of the mobile terminal 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 route management module automatically binds the destination address specified by the application to the predefined APN data channel; after the IP protocol stack of the operating system parses the destination address in the data sent by the application, the route is pressed. The specified APN data channel is used for data transmission and reception by the routes in the table.
当联网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.
APN通道监控管理模块对APN联网通道进行监控与管理,包括但不限于APN联网通道的配置、连接、断开、关闭、切换、数据链路信息上报等功能。The APN channel monitoring management module monitors and manages the APN networking channel, including but not limited to the APN networking channel configuration, connection, disconnection, shutdown, switching, and data link information reporting.
应用层通过APN通道监控管理模块所提供的接口函数对APN通道进行配置、连接、断开、切换、关闭的操作。The application layer configures, connects, disconnects, switches, and closes the APN channel through the interface function provided by the APN channel monitoring management module.
APN通道监控管理模块收集来自驱动模块的上报消息,将所述消息实时反馈给应用层。The APN channel monitoring management module collects the report message from the driver module, and feeds the message to the application layer in real time.
在应用层使用完全部预设的多个APN联网通道后,一旦应用层再次发起新的APN联网请求时,如果新的APN联网请求不属于已经使用的APN联网网络,APN通道监控管理模块向应用层反馈通道满的消息。After the application layer uses multiple preset APN networking channels, once the application layer initiates a new APN networking request again, if the new APN networking request does not belong to the used APN networking network, the APN channel monitoring management module applies to the application. The layer feedback channel is full of messages.
APN通道监控管理模块,一旦收到驱动模块关于APN链路连接、断开、关闭的消息,则通过系统消息通道上报应用层。The APN channel monitoring management module reports the application layer to the application layer through the system message channel once it receives the message that the driver module is connected, disconnected, or closed.
上报消息包括联网成功与失败消息,以及各APN联网链路的实时运行状态。联网失败消息包括但不限于网络超时,无网络信号、SIM欠费、APN未开通、APN参数错误等消息。 The reported messages include networking success and failure messages, as well as the real-time operating status of each APN networking link. The network failure message includes but is not limited to the network timeout, no network signal, SIM arrears, APN is not open, APN parameter error and other messages.
应用层可以通过人机界面或应用程序对APN通道监控管理模块的相应指令对任意APN通道实现配置、连接、断开、切换和关闭操作。The application layer can configure, connect, disconnect, switch, and close any APN channel through the corresponding command of the APN channel monitoring management module through the human-machine interface or application.
以上所述的仅是本发明的优选实施例。应当指出,对于本领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干变形和改进,比如所述程序可以存储于移动终端可读存储介质中,可选地,上述实施例终端各模块/单元可以采用硬件的形式实现,也可采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合,亦属于本发明的范畴,这些变更和改变应视为属于本发明的保护范围。 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. For example, the program may be stored in a mobile terminal readable storage medium, optionally Each module/unit of the terminal in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The present invention is not limited to the combination of any specific form of hardware and software, and is intended to be within the scope of the present invention.

Claims (13)

  1. 一种移动终端多APN网络并发系统,具有如下技术特征:在含有移动终端操作系统和操作系统应用软件的应用层与底层的驱动模块之间设置多APN联网通道模块和路由管理模块,其中多APN联网通道模块包含APN通道参数配置信息和多APN通道监控管理模块、APN通道参数配置信息标识每个APN联网通道所连接的APN网络的联网参数和供应用层修改APN通道参数配置信息的接口函数,以及当前APN通道的实际联网APN的情况和已使用APN通道的APN联网参数定义和空闲APN通道的数量,主要用于实现多APN并发联网;路由管理模块在应用程序收发数据前或收发数据过程中,有序管理应用程序收发数据所采用的APN数据通道;APN通道监控管理模块监控、管理APN联网通道;当应用层向多APN联网通道模块逐次下发至少一个APN联网指令时,多APN联网通道模块根据上述联网指令分配预定义和/或动态创建至少一路虚拟网络单元,路由管理模块使用应用程序指定通道模式和/或目的地址绑定路由模式和/或发送地址指定模式和/或默认路径模式,有序管理应用程序在发送数据前或过程中,指定APN数据通道进行数据收发。A multi-APN network concurrency system for a mobile terminal has the following technical features: setting a multi-APN networking channel module and a routing management module between an application layer containing a mobile terminal operating system and an operating system application software and a bottom driving module, wherein a plurality of APNs The network channel module includes APN channel parameter configuration information and a multi-APN channel monitoring management module, APN channel parameter configuration information, a network parameter of the APN network connected to each APN networking channel, and an interface function for modifying the APN channel parameter configuration information of the supply layer. The actual APN channel of the current APN channel and the APN networking parameter definition and the number of idle APN channels that have been used by the APN channel are mainly used to implement multi-APN concurrent networking; the routing management module processes the data before or after the application sends and receives data. The APN data channel used by the application management program to send and receive data is ordered; the APN channel monitoring management module monitors and manages the APN networking channel; when the application layer sends at least one APN networking instruction to the multi-APN networking channel module, the multiple APN networking channel Modules are pre-defined and/or assigned according to the above-mentioned networking instructions Dynamically creating at least one virtual network unit, the routing management module uses the application to specify the channel mode and/or destination address binding routing mode and/or the sending address specifying mode and/or the default path mode, and the ordered management application before sending the data or During the process, the APN data channel is designated for data transmission and reception.
  2. 如权利要求1所述的移动终端多APN网络并发系统,其特征在于:支持移动终端多APN网络并发系统及其实现方法的模型,依次包括应用层、多APN联网通道模块、路由管理模块和驱动模块;APN通道参数配置信息和APN通道监控管理模块内嵌在多APN联网通道模块中。The mobile terminal multi-APN network concurrent system according to claim 1, characterized in that: a model supporting a mobile terminal multi-APN network concurrent system and an implementation method thereof, comprising an application layer, a multi-APN networking channel module, a route management module and a driver in sequence Module; APN channel parameter configuration information and APN channel monitoring management module are embedded in the multi-APN networking channel module.
  3. 如权利要求1所述的移动终端多APN网络并发系统,其特征在于:应用层通过人机界面或应用程序通过多APN联网通道模块内的接口函数对多 APN联网通道模块内的APN通道参数配置信息内的数据进行配置或预定义。The multi-APN network concurrency system for a mobile terminal according to claim 1, wherein the application layer passes the interface function in the multi-APN networking channel module through the human-machine interface or the application program. The data in the APN channel parameter configuration information in the APN networked channel module is configured or predefined.
  4. 如权利要求1所述的移动终端多APN网络并发系统,其特征在于:应用层的应用程序直接通过向APN联网通道模块发送APN联网请求,实现联网APN网络;不同的应用程序发送多个不同的APN联网请求,一个应用程序也可多次发送不同的APN联网请求。The mobile terminal multi-APN network concurrent system according to claim 1, wherein the application layer application directly transmits the APN networking request to the APN networking channel module to implement the networked APN network; different applications send different ones. APN networking requests, an application can also send different APN networking requests multiple times.
  5. 如权利要求1所述的移动终端多APN网络并发系统,其特征在于:多APN联网通道模块预先设定多个APN联网通道,且每个APN联网通道对应一个APN网络的数据连接;多APN联网通道模块在接收到应用层下发的每个APN联网指令后,多APN联网通道模块分配预定义和/或动态创建多路各自独立的虚拟网络单元。The multi-APN network concurrency system for a mobile terminal according to claim 1, wherein 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 channel module allocates pre-defined and/or dynamically creates multiple independent virtual network units.
  6. 如权利要求1所述的移动终端多APN网络并发系统,其特征在于:路由管理模块将某些特定APN网络通道路径定义为应用层数据联网的默认、预定义路径default路径,例如,可将IPV4的CMNET定义为IPV4的默认路由,将IPV6的CMNET定义为IPV6的默认路由。The mobile terminal multi-APN network concurrent system according to claim 1, wherein the route management module defines certain specific APN network channel paths as default and predefined path default paths of the application layer data networking, for example, IPV4 can be used. CMNET is defined as the default route for IPV4, which defines IPV6's CMNET as the default route for IPV6.
  7. 一种移动终端多APN网络并发联网方法,其特征在于:应用层建立多APN联网通道,在发联网请求过程中,应用层向多APN联网通道模块逐次下发一个或多个APN联网指令,多APN联网通道模块收到联网指令后,根据上述联网指令依次分配预定义和/或动态创建一路或多路虚拟网络单元,虚拟网络单元通过驱动模块向移动基站发送联网请求;移动基站收到送联网请求后,向驱动模块发送联网成功与否的回应信号,驱动模块将移动基站回应的联网成功与否的消息发送到多APN联网通道模块,多APN联网通道模块将每个成功联网消息中的参数设置到上述创建或分配的虚拟网络单元上;在一路或多路虚 拟网络单元创建或分配完成后,应用层再次发起另一个不同的APN联网请求,多APN联网通道模块将再次创建或分配一路新的与原有虚拟网络单元同时存在的虚拟网络单元,并继续向下再次发另不同的APN联网请求。A multi-APN network concurrent networking method for a mobile terminal, characterized in that: the application layer establishes a multi-APN networking channel, and in the process of sending a network request, the application layer successively delivers one or more APN networking instructions to the multi-APN networking channel module, After receiving the networking instruction, the APN networking channel module sequentially allocates predefined and/or dynamically created one or more virtual network units according to the foregoing networking instruction, and the virtual network unit sends a networking request to the mobile base station through the driving module; the mobile base station receives the sending network. After the request, the driving module sends a response signal indicating whether the network is successful or not, and the driving module sends a message of successful networking of the mobile base station to the multi-APN networking channel module, and the multi-APN networking channel module sets parameters in each successful networking message. Set to the virtual network unit created or assigned above; one or more virtual After the virtual network unit is created or allocated, the application layer initiates another different APN networking request again. The multi-APN networking channel module will again create or allocate a new virtual network unit that exists at the same time as the original virtual network unit, and continue to Send another different APN networking request again.
  8. 如权利要求7所述的移动终端多APN网络并发联网方法,其特征在于:多APN联网通道模块在接收到应用层下发的APN联网指令后,多APN联网通道判断上述联网指令中指定联网的APN联网参数与当前已经连接分配的数据传输通道的APN联网参数是否匹配,若匹配,则把该联网请求指向已连接的分组数据协议PDP网络,并反馈应用层实际使用的网络服务接入点标识符NSAPI或通道号;若不匹配,则按连接请求的先后顺序为连接动态分配一个虚拟的“通道号”,并选择一个空闲的APN联网通道填充一个空闲的NSAPI来处理调用者对某个虚拟通道对应的实际的网络联网请求,连接成功后将通道号和NSAPI进行反馈并将相应APN参数、通道号记录在多APN联网通道模块的APN通道参数配置信息内。The multi-APN network concurrent networking method for a mobile terminal according to claim 7, wherein after the APN networking channel module receives the APN networking instruction sent by the application layer, the multi-APN networking channel determines the designated networking in the networking instruction. Whether the APN networking parameter matches the APN networking parameter of the data transmission channel currently connected to the connection, and if so, directs the networking request to the connected packet data protocol PDP network, and feeds back the network service access point identifier actually used by the application layer. NSAPI or channel number; if not, 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 to handle the caller to a virtual The actual network networking request corresponding to the channel, after the connection is successful, the channel number and the 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.
  9. 如权利要求7所述的移动终端多APN网络并发联网方法,其特征在于:应用层根据接口函数参数内的虚拟通道标识:常量数值、字符串描述符、通道实例对象引用或APN联网参数发送连网请求;多APN联网通道模块通过APN联网参数连网成功后保存APN通道参数配置信息;不同的APN连网参数代表不同的APN网络通道。The multi-APN network concurrent networking method for a mobile terminal according to claim 7, wherein the application layer sends the connection according to the virtual channel identifier in the interface function parameter: a constant value, a string descriptor, a channel instance object reference, or an APN networking parameter. The 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 network channels.
  10. 如权利要求7~9任意一项所述的移动终端多APN网络并发联网方法,其特征在于:多APN联网通道模块在接收到应用层下发的每个APN联网指令后,创建多路各自独立的虚拟网络单元的模式有以下三种模式:1.分配预定义模式,操作系统事先按APN通道次序预先定义APN通道的类型,直接使用通 道号进行连接;多APN联网通道模块接收到应用层发送的通道号联网命令参数后,将预定义的APN联网参数发送给驱动模块,联网成功后,分配指定的通道号给应用层;多APN联网通道模块解析应用层发送的APN联网命令中的APN联网参数,联网成功后,分配预定义指定的通道号给应用层;The multi-APN network concurrent networking method for a mobile terminal according to any one of claims 7 to 9, characterized in that: after receiving each APN networking instruction sent by the application layer, the multi-APN networking channel module creates multiple independent channels. The mode of the virtual network unit has the following three modes: 1. Allocating a predefined mode, the operating system pre-defining the type of the APN channel in advance according to the APN channel order, and directly using the mode. The channel number is connected; after receiving the channel number networking command parameter sent by the application layer, the multi-APN networking channel module sends the predefined APN networking parameter to the driver module, and after the networking is successful, assigns the specified channel number to the application layer; The networked channel module parses the APN networking parameter in the APN networking command sent by the application layer, and after the networking is successful, assigns a predefined designated channel number to the application layer;
    2.动态创建模式,多APN联网通道模块解析应用层发送的APN联网命令中的APN联网参数,联网成功后,动态分配一个空闲的通道号给应用层;2. Dynamic creation mode, the multi-APN networking channel module parses the APN networking parameter in the APN networking command sent by the application layer, and dynamically allocates an idle channel number to the application layer after successful networking;
    3.分配预定义和动态创建模式,操作系统事先按APN通道次序部分预先定义APN通道的类型,其它通道为空闲;多APN联网通道模块解析应用层发送的APN联网命令中的APN联网参数,联网成功后,如果是预定义的APN通道则分配预定义指定的通道号给应用层,否则,动态创建一个空闲的通道号给应用层。3. Assign pre-defined and dynamic creation modes. The operating system pre-defines the type of APN channel according to the APN channel order. The other channels are idle. The multi-APN networking channel module parses the APN networking parameters in the APN networking command sent by the application layer. After the success, if it is a predefined APN channel, the predefined channel number is assigned to the application layer. Otherwise, an idle channel number is dynamically created to the application layer.
  11. 如权利要求7~10任意一项所述的移动终端多APN网络并发联网方法,其特征在于:所述的路由管理的模式有四种进行排列组合使用的管理模式:The multi-APN network concurrent networking method for a mobile terminal according to any one of claims 7 to 10, characterized in that: the route management mode has four management modes for performing arrangement and combination:
    1应用程序指定通道模式:在路由管理模块中含有套接字socket接口,在socket接口内设置一个用来指定虚拟通道号的参数;路由管理模块取出上述参数后,则将应用程序收发的数据指向该参数指定的虚拟通道号,实现应用程序数据的收发;1 The application specifies the channel mode: the socket management interface includes a socket socket interface, and a parameter for specifying the 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 pointed to The virtual channel number specified by this parameter enables the sending and receiving of application data;
    2目的地址绑定路由模式:应用程序调用路由管理模块内的接口函数将需要访问的目的IP地址绑定在路由管理模块的路由表内,操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由将数据包传入指定APN数据通道;2 destination address binding routing mode: 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, and the IP protocol stack of the operating system parses out the data sent by the application. After the destination address, the data packet is forwarded to the specified APN data channel according to the route in the routing table.
    3发送地址指定路由模式:应用程序收发网络数据时,操作系统的IP协议 栈解析出应用程序收发数据请求中的移动终端本机IP地址,使用IP地址对应的APN数据通道进行数据收发;3 send address specified routing mode: IP protocol of the operating system when the application sends and receives network data The stack parses out the local IP address of the mobile terminal in the application receiving and sending data request, and uses the APN data channel corresponding to the IP address to perform data transmission and reception;
    4默认路径模式;路由管理模块将应用程序指定的目的地址自动绑定到预定义的APN数据通道;操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由使用指定APN数据通道进行数据收发。4 default path mode; the routing management module automatically binds the destination address specified by the application to the predefined APN data channel; after the IP protocol stack of the operating system parses the destination address in the data sent by the application, according to the route in the routing table Data is sent and received using the specified APN data channel.
  12. 如权利要求11所述的移动终端多APN网络并发联网方法,其特征在于:当联网APN的请求包含了代理服务器地址时,路由管理模块在APN通道连接成功后,自动将代理服务器地址绑定路由;The multi-APN network concurrent networking method for a mobile terminal according to claim 11, wherein when the request for 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的目的地址自动绑定到路由;操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由将数据包传入指定APN数据通道;应用层通过APN通道监控管理模块所提供的接口函数对APN通道进行配置、连接、断开、切换、关闭的操作;APN通道监控管理模块收集来自驱动模块的上报消息,将所述消息实时反馈给应用层;在应用层使用完全部预设的多个APN联网通道后,一旦应用层再次发起新的APN联网请求时,如果新的APN联网请求不属于已经使用的APN联网网络,APN通道监控管理模块向应用层反馈通道满的消息。When the APN network of the networked APN requesting the network belongs to the APN type defined by the operating system, the routing management module automatically binds the destination address of the APN to the route when the networked APN request does not include the proxy server address; 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; the application layer uses the interface function provided by the APN channel monitoring management module to the APN channel. Performing operations of configuring, connecting, disconnecting, switching, and closing; the APN channel monitoring management module collects the report message from the driver module, and feeds the message to the application layer in real time; and uses multiple APNs that are preset at the application layer. After the channel, once the application layer initiates a new APN networking request again, if the new APN networking request does not belong to the used APN networking network, the APN channel monitoring management module feeds back the channel full message to the application layer.
  13. 如权利要求11所述的移动终端多APN网络并发联网方法,其特征在于:当联网APN的请求包含了代理服务器地址时,路由管理模块在APN通道连接成功后,自动将代理服务器地址绑定路由:The multi-APN network concurrent networking method for a mobile terminal according to claim 11, wherein when the request for 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的目的地址自动绑定到路由;操作系统的IP协议栈解析出应用程序发送数据中的目的地址后,按路由表内的路由将数据包传入指定APN数据通道;应用层通过APN通道监控管理模块所提供的接口函数对APN通道进行配置、连接、断开、切换、关闭的操作;APN通道监控管理模块收集来自驱动模块的上报消息,将所述消息实时反馈给应用层;在应用层使用完全部预设的多个APN联网通道后,一旦应用层再次发起新的APN联网请求时,如果新的APN联网请求不属于已经使用的APN联网网络,APN通道监控管理模块向应用层反馈通道满的消息。 When the APN network that the networked APN requests to be networked belongs to the APN type already defined by the operating system, The routing management module automatically binds the destination address of the APN to the route by the routing management module when the networked APN request does not include the proxy server address; 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; the application layer configures, connects, disconnects, switches, and closes the APN channel through the interface function provided by the APN channel monitoring management module; APN channel monitoring management The module collects the report message from the driver module, and feeds the message to the application layer in real time; after the application layer uses the multiple preset APN networking channels, once the application layer initiates a new APN networking request again, if the new The APN networking request does not belong to the already used APN networking network, and the APN channel monitoring management module feeds back the channel full message to the application layer.
PCT/CN2014/087304 2013-10-10 2014-09-24 Mobile terminal multi-apn network concurrent system and networking method thereof WO2015051704A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310470535.0A CN103533669B (en) 2013-10-10 2013-10-10 The many APN network concurrents systems of mobile terminal and its networking method
CN201310470535.0 2013-10-10

Publications (1)

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

Family

ID=49935240

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087304 WO2015051704A1 (en) 2013-10-10 2014-09-24 Mobile terminal multi-apn network concurrent system and networking method thereof

Country Status (2)

Country Link
CN (1) CN103533669B (en)
WO (1) WO2015051704A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464999A (en) * 2020-05-27 2020-07-28 捷开通讯(深圳)有限公司 Network access method and device and electronic equipment

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533609B (en) * 2013-10-10 2016-07-06 成都达信通通讯设备有限公司 The concurrent network system of mobile terminal many APN network channel and creation method thereof
CN103533669B (en) * 2013-10-10 2017-03-15 成都达信通通讯设备有限公司 The many APN network concurrents systems of mobile terminal and its networking method
CN104850454B (en) * 2014-02-14 2017-11-28 中国移动通信集团公司 A kind of application program of terminal accesses the method and device of SIM card
US9924548B2 (en) * 2015-04-14 2018-03-20 General Motors Llc Vehicle connectivity using a desired access point name
CN105101294A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Data transmission device and method
US10979970B2 (en) 2016-06-30 2021-04-13 Huawei Technologies Co., Ltd. Network channel allocation method and apparatus
CN107257586B (en) * 2017-08-22 2020-06-09 世纪龙信息网络有限责任公司 Mobile network connection method and system when intelligent terminal is connected with WiFi
CN107608629B (en) * 2017-08-30 2021-07-27 努比亚技术有限公司 Data migration method, terminal and computer readable storage medium
CN107623599B (en) * 2017-09-26 2020-12-25 杭州东方通信软件技术有限公司 Data configuration method and system
CN108833508B (en) * 2018-05-31 2021-07-02 惠州市德赛西威汽车电子股份有限公司 Multi-path APN networking method, storage medium and system applied to Internet of vehicles system
CN110290482B (en) * 2019-05-29 2021-10-19 深圳市梦网科技发展有限公司 Multimedia message processing method, system and terminal equipment
CN112291744B (en) * 2020-10-23 2023-09-15 广州小鹏汽车科技有限公司 Vehicle-mounted program network connection method and device
CN114423032B (en) * 2022-03-25 2022-06-14 北京智芯微电子科技有限公司 Multi-APN access device and method and distribution network system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600224A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 Wireless data card is supported the implementation method and the wireless data card of a plurality of PDP Contexts
CN101909326A (en) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 Selection method and device of access point
CN103036811A (en) * 2012-12-12 2013-04-10 中兴通讯股份有限公司 System and method for terminal implementing multiple access point name (APN) networking
CN103533669A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Mobile terminal multi-APN (access point name) network concurrent system and networking method of mobile terminal multi-APN network concurrent system
CN103974384A (en) * 2013-02-05 2014-08-06 中国移动通信集团广东有限公司 Method, device and system for controlling multi-access-point concurrent access, and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080069065A1 (en) * 2006-09-20 2008-03-20 Hong Kong Applied Science and Technology Research Institute Company Limited Method of seamlessly roaming between multiple wireless networks using a single wireless network adaptor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600224A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 Wireless data card is supported the implementation method and the wireless data card of a plurality of PDP Contexts
CN101909326A (en) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 Selection method and device of access point
CN103036811A (en) * 2012-12-12 2013-04-10 中兴通讯股份有限公司 System and method for terminal implementing multiple access point name (APN) networking
CN103974384A (en) * 2013-02-05 2014-08-06 中国移动通信集团广东有限公司 Method, device and system for controlling multi-access-point concurrent access, and mobile terminal
CN103533669A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Mobile terminal multi-APN (access point name) network concurrent system and networking method of mobile terminal multi-APN network concurrent system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464999A (en) * 2020-05-27 2020-07-28 捷开通讯(深圳)有限公司 Network access method and device and electronic equipment
CN111464999B (en) * 2020-05-27 2021-08-03 捷开通讯(深圳)有限公司 Network access method and device and electronic equipment

Also Published As

Publication number Publication date
CN103533669B (en) 2017-03-15
CN103533669A (en) 2014-01-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
WO2015051706A1 (en) Multi-apn channel management method for multi-apn network concurrent networking
CN101984713B (en) Method, terminal and system for realizing business data shunting
WO2015051703A1 (en) Method for orderly managing multi-path apn concurrent networking data transmission channel
KR101995145B1 (en) Method operating in a fixed access network and ues
US8832141B2 (en) Method, device and system for combination of resource and admission control
JP2008543240A (en) Network equipment for transmitting software modules for controlling mobile terminals
US20150237007A1 (en) Method, device, and system for automatically selecting ipv6 address transmission mode
CN102215154A (en) Access control method of network business and terminal
KR20040008841A (en) Multiple service method in data only mobile telecommunication system
WO2015051702A1 (en) Mobile terminal multi-apn network channel concurrent network system and method for creating same
WO2022012352A1 (en) Service processing method and apparatus, and device, and system
US20110250842A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
CN108566286B (en) Method for realizing service quality of intelligent router, router and electronic equipment
US9661550B2 (en) Communication apparatus, communication method, and communication system
CN101600224A (en) Wireless data card is supported the implementation method and the wireless data card of a plurality of PDP Contexts
CN110740149A (en) Communication method and device
KR20100071827A (en) Mobile gateway apparatus and method for connecting ip based service thereof
CN103874229A (en) Data connection establishing method and device
WO2013185441A1 (en) Device and method of driving multi-pdp data communication for mobile broadband device
WO2015074537A1 (en) Method and apparatus for controlling communication protocol in smart tv device
CN103368847A (en) Broadband convergence communication method and router
JP2014146950A (en) Network communication system
CN113573381A (en) Transmission processing method, equipment, device and medium for non-IP type data

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: 14852531

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14852531

Country of ref document: EP

Kind code of ref document: A1

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 23.08.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14852531

Country of ref document: EP

Kind code of ref document: A1