WO2014180302A1 - Application internet access processing method, apparatus, and terminal - Google Patents

Application internet access processing method, apparatus, and terminal Download PDF

Info

Publication number
WO2014180302A1
WO2014180302A1 PCT/CN2014/076885 CN2014076885W WO2014180302A1 WO 2014180302 A1 WO2014180302 A1 WO 2014180302A1 CN 2014076885 W CN2014076885 W CN 2014076885W WO 2014180302 A1 WO2014180302 A1 WO 2014180302A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
routing
online
determining
internet
Prior art date
Application number
PCT/CN2014/076885
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 WO2014180302A1 publication Critical patent/WO2014180302A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/803Application aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to the field of communications, and in particular to an application online processing method, apparatus, and terminal.
  • BACKGROUND OF THE INVENTION Current smart phones provide two types of Internet access, a Packet Switched (PS) wireless connection and a Wireless Fidelity (WIFI) wireless network.
  • PS Packet Switched
  • WIFI Wireless Fidelity
  • UMTS Universal Mobile Telecommunications System
  • GSM Global System for Mobile Communication
  • CS Circuit Switch
  • PS Circuit Switch
  • the WIFI When the mobile phone finds that the WIFI can be accessed, the WIFI only replaces the function of the PS wireless connection in the mobile phone, and the CS domain service such as the phone or the short message can still be used normally, so the PS wireless connection and the WIFI in the existing market are mutually exclusive.
  • LTE Long Term Evolution
  • traditional CS services such as voice messaging, are connected to the Internet based on the PS connection. If the traditional settings of the mobile phone are still mutually exclusive, PS and WIFI are still mutually exclusive. In the setting, when the terminal user accesses the WIFI, the PS connection is deactivated and cannot perform voice message and other services at the same time, and the user experience is extremely poor.
  • an application online processing method including: determining, according to the application, an online routing mode corresponding to the application; and performing an application Internet processing on the network port corresponding to the online routing mode.
  • determining, according to the application, the online routing manner corresponding to the application by using a predetermined routing policy, determining the online routing manner corresponding to the application according to the application.
  • the predetermined routing policy includes at least one of the following: a tariff of the Internet routing mode, a network speed of the Internet routing mode, and an upper traffic limit of the application.
  • determining, according to the application, the online routing manner corresponding to the application the method includes: obtaining a priority of the application-selected online routing mode; and determining, according to the priority, the online routing manner corresponding to the application.
  • an application processing device including: a determining module, configured to determine an internet routing mode corresponding to the application according to the application; and a processing module configured to correspond to the online routing mode Apply online processing on the network port.
  • the determining module includes: a first determining unit, configured to adopt a predetermined routing policy, and determine, according to the application, the online routing manner corresponding to the application.
  • the determining module includes: an obtaining unit, configured to obtain a priority of the application-selected online routing mode; and a second determining unit, configured to determine, according to the priority, the online routing manner corresponding to the application .
  • the application online processing device further includes: an obtaining module, configured to obtain statistics of Internet traffic statistics of the application at the current network port; and a determining module, configured to determine whether the traffic statistics exceeds a predetermined value; Set to change the online routing mode of the application if the judgment result is yes.
  • a terminal is provided, comprising the apparatus of any of the above.
  • the method for determining the Internet access route corresponding to the application is determined according to the application; and the method for applying the Internet access processing on the network port corresponding to the Internet access routing mode solves the problem that different Internet access routing modes existing in the related technologies cannot simultaneously Coexistence affects the normal processing of the terminal service, and the user feels the problem of extremely poor experience, thereby achieving the effect of improving the user experience.
  • FIG. 2 is a structural block diagram of an application online processing device according to an embodiment of the present invention
  • FIG. 3 is an application Internet according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of the determining module 22 in the application online processing device according to an embodiment of the present invention;
  • FIG. 5 is a block diagram showing the preferred structure of the application online processing device according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a terminal 60 according to an embodiment of the present invention
  • FIG. 7 is an interaction diagram of a smart phone PS and WIFI offload implementation according to an embodiment of the present invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • FIG. 1 is a flowchart of an application online processing method according to an embodiment of the present invention. As shown in FIG.
  • Step S102 Determine an application according to an application.
  • Step S104 Perform application online processing on the network port corresponding to the online routing mode.
  • the network routing method corresponding to the application is determined according to the application in the terminal, so that different applications can adopt different Internet routing modes. It is solved that different Internet routing methods in the related technologies cannot coexist at the same time (for example, the mobile network PS wireless connection and the WIFI wireless network in the terminal cannot coexist at the same time), affecting the normal processing of the terminal service, and the user experience is extremely poor, and the problem is improved. The user experience.
  • the network routing method corresponding to the application may be determined according to the application, and the predetermined routing policy may be adopted, and the online routing mode corresponding to the application is determined according to the application.
  • the predetermined routing policy herein may be one or more, which may be based on the Internet.
  • the route cost is used to select the Internet route.
  • the network route can be selected according to the network speed of the Internet route.
  • the network route can be selected according to the application traffic limit.
  • the Internet route can also be based on the user's Internet habit or user's personal preference. The choice, of course, can also be based on the above various predetermined routing strategies for the selection of the Internet route.
  • determining the corresponding Internet access route mode of the application according to the application may be another method, for example, the priority of the online route mode of the application may be obtained, and the online route mode corresponding to the application is determined according to the priority.
  • the routing mode selection based on the priority of the Internet access route can prevent the problem that the Internet access mode cannot be accessed by default because the user does not set the routing mode in advance. In other words, when the user does not make routing settings, each application will have an access method.
  • the network traffic statistics of the current network port can be obtained; whether the traffic statistics exceeds the predetermined value.
  • the online routing mode of the application when it is determined that the traffic statistics exceed the predetermined value. That is, the application traffic usage is limited to a certain data range. If the range is exceeded, the other network routing mode is switched, so that the traffic usage fee can be reduced to a certain extent, and the user experience is better improved.
  • the above method can solve the problem that the mobile network PS wireless connection and the WIFI wireless network in the terminal cannot coexist at the same time, affecting the normal processing of the terminal service, and the user experience is extremely poor, thereby greatly improving the user experience.
  • an on-line processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • FIG. 2 is a structural block diagram of an application online processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a determining module 22 and a processing module 24. The device will be described below.
  • the determining module 22 is configured to determine an internet routing mode corresponding to the application according to the application; the processing module 24 is connected to the determining module 22, and is configured to perform online processing on the network port corresponding to the online routing mode.
  • FIG. 22 is configured to determine an internet routing mode corresponding to the application according to the application; the processing module 24 is connected to the determining module 22, and is configured to perform online processing on the network port corresponding to the online routing mode.
  • FIG. 3 is a block diagram showing the structure of the determining module 22 in the application online processing apparatus according to an embodiment of the present invention.
  • the determining module 22 includes a first determining unit 32, and the determining module 22 is described below.
  • the first determining unit 32 is configured to adopt a predetermined routing policy, and determine an online routing manner corresponding to the application according to the application.
  • FIG. 4 is a block diagram 2 of the structure of the determining module 22 in the application online processing apparatus according to an embodiment of the present invention.
  • the determining module 22 includes an obtaining unit 42 and a second determining unit 44. Be explained.
  • the obtaining unit 42 is configured to obtain the Internet traffic statistics of the application.
  • FIG. 5 is a block diagram of a preferred structure of an application processing device according to an embodiment of the present invention. As shown in FIG. 5, the device includes an acquisition module 52, a determination module 54, and a modification module 56, in addition to all the modules shown in FIG. . The device will be described below.
  • the obtaining module 52 is connected to the processing module 24, and configured to obtain the Internet traffic statistics of the application at the current network port; the determining module 54 is connected to the obtaining module 52, and configured to determine whether the traffic statistics exceed a predetermined value; The method is connected to the foregoing determining module 54 and configured to change the online routing mode of the application if the determination result is yes.
  • FIG. 6 is a terminal 60 including any of the above-described Internet processing devices 62 according to an embodiment of the present invention.
  • a method for implementing IP splitting of the smart phone is provided. The following items are included: 1.
  • FIG. 7 is an interaction diagram of a smart phone PS and a WIFI offload implementation according to an embodiment of the present invention.
  • Figure 7 is a
  • an LTE smartphone is applied to WeChat and QQ (which can be any application using a wireless network), and the implementation process of the method is described in detail.
  • the user using the WeChat can set the application to use the PS connection priority or the WIFI connection priority or only the PS connection or only the WIFI connection.
  • the user sets the WIFI connection priority while the QQ uses the PS connection priority and the PS connection flow threshold 10M as an example;
  • the user sets the APP (app name) -ROUTESET (WIFI first), the RM obtains the UID of the application (the UID assigned by the android system for the application), and the RM module maintains the APP-UID-ROUTESET (corresponding to the network port) mapping table ;
  • S708 Establishing a PDN connection on an APN, and after the connection is successful, configuring a PS network port for the TCPIP to be enabled;
  • S710 the framework connection management module of the Android provides the APN information to the RM module, and the RM module allocates the PDN connection to the terminal according to the obtained PDN connection.
  • Source IP combined with the routing table set by the user, generates an IpType (IP type IPv4 or IPv6) -Uid (QQ) -Srclp (QQsrcIp) routing table;
  • a new network port is configured for the TCPIP module; S716, the RM module generates an IpType (IPv4 or IPv6)-Uid (WeChat) according to the route set by the user.
  • IpType IPv4 or IPv6-Uid (WeChat)
  • TCPIP obtains the UID and Destlp (target IP) of the application, and then generates the corresponding relationship of SrcIP-Destlp according to the IpType-Uid-SrcIp routing table provided by the RM, and distributes the IP data packet. Different Srclps, that is, different network ports, will be sent according to different Destlp.
  • the RM also periodically obtains traffic statistics of the application. If the application exceeds 10M, the route is set to WIFI only, and the routing table is updated to TCPIP, which is the same as above.
  • LTE is a more advanced network evolution and provides higher-speed data services.
  • the present invention can realize an innovative requirement that each user's application selects the right of the network according to requirements. This is an innovation, has good practicability and user experience, and is very likely to be widely applied in smart phones in the future. .
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.

Abstract

The present invention provides an application Internet access processing method, apparatus, and terminal. In the method of the present invention, an Internet access routing manner corresponding to an application is determined according to the application, and application Internet access processing is performed on a network port corresponding to the Internet access routing manner, so that a problem in the prior art that normal processing of terminal services is affected and use experience of users is extremely poor because different Internet access routing manners cannot coexist, thereby achieving an effect of improving user experience.

Description

一种应用上网处理方法、 装置及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种应用上网处理方法、 装置及终端。 背景技术 目前的智能手机提供了两种上网路由, 移动网络分组交换 (Packet Switched, 简 称为 PS) 无线连接和无线保真 (Wireless Fidelity, 简称为 WIFI) 无线网络。 当移动无线网络是通用移动通信*** (Universal Mobile Telecommunications System, 简称为 UMTS) 或全球移动通信 (Global system for Mobile Communication, 简称为 GSM) 时, 电路交换 (Circuit Switch, 简称为 CS) 域业务和 PS域业务可通过 不同核心网网元进行处理, 因此无线业务中的语音和上网业务为可并存模式。 而手机 发现 WIFI可接入时, WIFI仅取代手机中 PS无线连接的功能, CS域业务如电话或短 信仍能正常使用, 所以现有市场中的智能手机中 PS无线连接和 WIFI为互斥的设置。 而在长期演进(Long Term Evolution, 简称为 LTE) 网络下, 传统的 CS业务如语 音短信等业务与上网等业务一样, 都基于网络的 PS连接, 如果手机的传统设置 PS和 WIFI仍为互斥设置, 则终端用户在 WIFI上网时, PS连接被去活而不能同时进行语音 短信等业务, 用户使用感受极差。 因此, 在相关技术中存在不同的上网路由方式不能同时共存的问题。 发明内容 本发明提供了一种应用上网处理方法、 装置及终端, 以至少解决相关技术存在不 同的上网路由方式不能同时共存的问题。 根据本发明的一个方面, 提供了一种应用上网处理方法, 包括: 依据所述应用确 定所述应用对应的上网路由方式; 在所述上网路由方式对应的网口上进行应用上网处 理。  The present invention relates to the field of communications, and in particular to an application online processing method, apparatus, and terminal. BACKGROUND OF THE INVENTION Current smart phones provide two types of Internet access, a Packet Switched (PS) wireless connection and a Wireless Fidelity (WIFI) wireless network. When the mobile wireless network is a Universal Mobile Telecommunications System (UMTS) or Global System for Mobile Communication (GSM), Circuit Switch (CS) domain services and PS The domain service can be processed by different core network elements, so the voice and Internet services in the wireless service are coexistible. When the mobile phone finds that the WIFI can be accessed, the WIFI only replaces the function of the PS wireless connection in the mobile phone, and the CS domain service such as the phone or the short message can still be used normally, so the PS wireless connection and the WIFI in the existing market are mutually exclusive. Settings. Under the Long Term Evolution (LTE) network, traditional CS services, such as voice messaging, are connected to the Internet based on the PS connection. If the traditional settings of the mobile phone are still mutually exclusive, PS and WIFI are still mutually exclusive. In the setting, when the terminal user accesses the WIFI, the PS connection is deactivated and cannot perform voice message and other services at the same time, and the user experience is extremely poor. Therefore, in the related art, there is a problem that different Internet routing methods cannot coexist at the same time. SUMMARY OF THE INVENTION The present invention provides an application online processing method, apparatus, and terminal, to at least solve the problem that different Internet access routing modes cannot coexist at the same time. According to an aspect of the present invention, an application online processing method is provided, including: determining, according to the application, an online routing mode corresponding to the application; and performing an application Internet processing on the network port corresponding to the online routing mode.
1 优选地, 依据所述应用确定所述应用对应的所述上网路由方式包括: 采用预定路 由选择策略, 依据所述应用确定所述应用对应的所述上网路由方式。 优选地, 所述预定路由选择策略包括以下至少之一: 上网路由方式的资费、 上网 路由方式的网速、 所述应用的流量上限。 优选地, 依据所述应用确定所述应用对应的所述上网路由方式包括: 获取所述应 用备选上网路由方式的优先级; 依据所述优先级确定所述应用对应的所述上网路由方 式。 优选地, 在在所述上网路由方式对应的网口上进行应用上网处理之后, 还包括: 获取所述应用在当前网口的上网流量统计数据; 判断所述流量统计数据是否超过预定 值; 在判断结果为是的情况下, 更改所述应用的上网路由方式。 根据本发明的另一方面, 提供了一种应用上网处理装置, 包括: 确定模块, 设置 为依据所述应用确定所述应用对应的上网路由方式; 处理模块, 设置为在所述上网路 由方式对应的网口上进行应用上网处理。 优选地, 所述确定模块包括: 第一确定单元, 设置为采用预定路由选择策略, 依 据所述应用确定所述应用对应的所述上网路由方式。 优选地, 所述确定模块包括: 获取单元, 设置为获取所述应用备选上网路由方式 的优先级; 第二确定单元, 设置为依据所述优先级确定所述应用对应的所述上网路由 方式。 优选地, 所述应用上网处理装置还包括: 获取模块, 设置为获取所述应用在当前 网口的上网流量统计数据; 判断模块,设置为判断所述流量统计数据是否超过预定值; 更改模块, 设置为在判断结果为是的情况下, 更改所述应用的上网路由方式。 根据本发明的又一方面, 提供了一种终端, 包括上述任一项所述的装置。 通过本发明, 采用依据所述应用确定所述应用对应的上网路由方式; 在所述上网 路由方式对应的网口上进行应用上网处理的方法, 解决了相关技术中存在的不同的上 网路由方式不能同时共存, 影响终端业务的正常处理, 用户使用感受极差的问题, 进 而达到了提高用户体验的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的应用上网处理方法的流程图; 图 2是根据本发明实施例的应用上网处理装置的结构框图; 图 3是根据本发明实施例的应用上网处理装置中确定模块 22的结构框图一; 图 4是根据本发明实施例的应用上网处理装置中确定模块 22的结构框图二; 图 5是根据本发明实施例的应用上网处理装置的优选结构框图; 图 6是根据本发明实施例的终端 60的结构框图; 图 7是根据本发明实施例的智能手机 PS和 WIFI分流实现交互图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种应用上网处理方法, 图 1是根据本发明实施例的应用上 网处理方法的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 依据应用确定应用对应的上网路由方式; 步骤 S104, 在上网路由方式对应的网口上进行应用上网处理。 通过上述步骤, 采用依据终端中的应用来确定该应用对应的上网路由方式, 进而 实现不同的应用可以采用不同的上网路由方式。 解决了相关技术中不同的上网路由方 式不能同时共存(例如, 在终端中的移动网络 PS无线连接和 WIFI无线网络不能同时 共存), 影响终端业务的正常处理, 用户使用感受极差的问题, 提高了用户体验。 优选地, 根据应用确定应用对应的上网路由方式可以有多种, 可以采用预定路由 选择策略, 依据应用确定应用对应的上网路由方式。 这样, 可以有目的的对应用进行 具体上网路由的选择, 这里的预定路由选择策略可以为一种或多种, 可以为根据上网 路由方式的资费进行上网路由的选择, 可以根据上网路由方式的网速进行上网路由的 选择, 可以根据应用的流量上限进行上网路由的选择, 还可以根据用户上网习惯或用 户的个人爱好进行上网路由的选择, 当然, 也可以同时根据上述多种预定路由选择策 略进行上网路由的选择。 当然, 根据应用确定应用对应的上网路由方式还可为其它的方法, 例如, 可以获 取应用备选的上网路由方式的优先级, 根据该优先级确定应用对应的上网路由方式。 根据上网路由的优先级进行路由方式的选择可以避免在用户没有提前设置路由方式 时, 由于上网方式缺省而无法上网的问题。 也就是说, 在用户未进行路由设置时, 每 个应用都会对应有一个上网方式。 在用户选定一种路由方式后, 也就是在在上网路由方式对应的网口上进行应用上 网处理之后, 还可以获取应用在当前网口的上网流量统计数据; 判断流量统计数据是 否超过了预定值; 在判断流量统计数据超出了预定值的情况下, 更改应用的上网路由 方式。 即, 将应用的流量使用限制在一定的数据范围内, 超过该范围, 就切换成其它 的上网路由方式, 这样可以在一定程度上减少流量使用费用, 更好地提高了用户的体 验。 通过上述方法可以解决相关技术中在终端中的移动网络 PS无线连接和 WIFI无线 网络不能同时共存, 影响终端业务的正常处理, 用户使用感受极差的问题, 极大地提 高了用户体验。 在本实施例中还提供了一种上网处理装置, 该装置用于实现上述实施例及优选实 施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语 "模块"可以实现预定 功能的软件和 /或硬件的组合。 尽管以下实施例所描述的装置较佳地以软件来实现, 但 是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。 图 2是根据本发明实施例的应用上网处理装置的结构框图, 如图 2所示, 该装置 包括确定模块 22和处理模块 24。 下面对该装置进行说明。 确定模块 22, 设置为依据应用确定应用对应的上网路由方式; 处理模块 24, 连接 至上述确定模块 22, 设置为在上网路由方式对应的网口上进行应用上网处理。 图 3是根据本发明实施例的应用上网处理装置中确定模块 22的结构框图一,如图 3所示, 该确定模块 22包括第一确定单元 32, 下面对该确定模块 22进行说明。 第一确定单元 32, 设置为采用预定路由选择策略, 依据应用确定应用对应的上网 路由方式。 图 4是根据本发明实施例的应用上网处理装置中确定模块 22的结构框图二,如图 4所示, 该确定模块 22包括获取单元 42和第二确定单元 44, 下面对该确定模块 22 进行说明。 获取单元 42, 设置为获取应用的上网流量统计数据。第二确定单元 44, 连接至上 述获取单元 42, 设置为依据优先级确定应用对应的上网路由方式。 图 5是根据本发明实施例的应用上网处理装置的优选结构框图, 如图 5所示, 该 装置除包括图 2所示的所有模块外,还包括获取模块 52、判断模块 54和更改模块 56。 下面对该装置进行说明。 获取模块 52,连接至上述处理模块 24,设置为获取应用在当前网口的上网流量统 计数据; 判断模块 54, 连接至上述获取模块 52, 设置为判断流量统计数据是否超过预 定值; 更改模块 56, 连接至上述判断模块 54, 设置为在判断结果为是的情况下, 更改 应用的上网路由方式。 图 6是根据本发明实施例的终端 60, 包括上述任一种上网处理装置 62。 为了解决相关技术中存在的在终端中移动网络 PS无线连接和 WIFI无线网络不能 同时共存的问题, 在本实施例中, 提供了一种智能手机 IP分流的实现方法。 包括以下 内容: 1.实现移动 PS无线网络和 WIFI连接共存; 2.提供了一种路由选择策略, 即用 户的应用可以根据资费、 网速、 流量门限等手动设置路由, 如果用户没有设置, 则由 本***根据某种路由优先的设置自动选择最优的路由。 其中, 上述方案的实现涉及终端 (例如, 智能手机) 的应用模块 (即应用 APP)、 连接管理服务模块 (与上述的确定模块 22功能相当)、 资源管理 (Route Manager, 简 称为 RM) 模块、 TCPIP模块、 通讯处理 (communication process, 简称为 CP) 模块 和 WIFI模块。 图 7是根据本发明实施例的智能手机 PS和 WIFI分流实现交互图。 图 7是以一个1 Preferably, determining, according to the application, the online routing manner corresponding to the application, by using a predetermined routing policy, determining the online routing manner corresponding to the application according to the application. Preferably, the predetermined routing policy includes at least one of the following: a tariff of the Internet routing mode, a network speed of the Internet routing mode, and an upper traffic limit of the application. Preferably, determining, according to the application, the online routing manner corresponding to the application, the method includes: obtaining a priority of the application-selected online routing mode; and determining, according to the priority, the online routing manner corresponding to the application. Preferably, after the application of the Internet access processing on the network port corresponding to the online routing mode, the method further includes: obtaining statistics of the Internet traffic of the application on the current network port; determining whether the traffic statistics exceeds a predetermined value; If the result is yes, change the online routing mode of the application. According to another aspect of the present invention, an application processing device is provided, including: a determining module, configured to determine an internet routing mode corresponding to the application according to the application; and a processing module configured to correspond to the online routing mode Apply online processing on the network port. Preferably, the determining module includes: a first determining unit, configured to adopt a predetermined routing policy, and determine, according to the application, the online routing manner corresponding to the application. Preferably, the determining module includes: an obtaining unit, configured to obtain a priority of the application-selected online routing mode; and a second determining unit, configured to determine, according to the priority, the online routing manner corresponding to the application . Preferably, the application online processing device further includes: an obtaining module, configured to obtain statistics of Internet traffic statistics of the application at the current network port; and a determining module, configured to determine whether the traffic statistics exceeds a predetermined value; Set to change the online routing mode of the application if the judgment result is yes. According to still another aspect of the present invention, a terminal is provided, comprising the apparatus of any of the above. According to the present invention, the method for determining the Internet access route corresponding to the application is determined according to the application; and the method for applying the Internet access processing on the network port corresponding to the Internet access routing mode solves the problem that different Internet access routing modes existing in the related technologies cannot simultaneously Coexistence affects the normal processing of the terminal service, and the user feels the problem of extremely poor experience, thereby achieving the effect of improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flow chart of an application online processing method according to an embodiment of the present invention; FIG. 2 is a structural block diagram of an application online processing device according to an embodiment of the present invention; FIG. 3 is an application Internet according to an embodiment of the present invention. FIG. 4 is a block diagram showing the structure of the determining module 22 in the application online processing device according to an embodiment of the present invention; FIG. 5 is a block diagram showing the preferred structure of the application online processing device according to an embodiment of the present invention; FIG. 6 is a structural block diagram of a terminal 60 according to an embodiment of the present invention; FIG. 7 is an interaction diagram of a smart phone PS and WIFI offload implementation according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In this embodiment, an application online processing method is provided. FIG. 1 is a flowchart of an application online processing method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102: Determine an application according to an application. Corresponding Internet routing mode; Step S104: Perform application online processing on the network port corresponding to the online routing mode. Through the above steps, the network routing method corresponding to the application is determined according to the application in the terminal, so that different applications can adopt different Internet routing modes. It is solved that different Internet routing methods in the related technologies cannot coexist at the same time (for example, the mobile network PS wireless connection and the WIFI wireless network in the terminal cannot coexist at the same time), affecting the normal processing of the terminal service, and the user experience is extremely poor, and the problem is improved. The user experience. Preferably, the network routing method corresponding to the application may be determined according to the application, and the predetermined routing policy may be adopted, and the online routing mode corresponding to the application is determined according to the application. In this way, the specific route selection of the application can be purposefully selected, and the predetermined routing policy herein may be one or more, which may be based on the Internet. The route cost is used to select the Internet route. The network route can be selected according to the network speed of the Internet route. The network route can be selected according to the application traffic limit. The Internet route can also be based on the user's Internet habit or user's personal preference. The choice, of course, can also be based on the above various predetermined routing strategies for the selection of the Internet route. Certainly, determining the corresponding Internet access route mode of the application according to the application may be another method, for example, the priority of the online route mode of the application may be obtained, and the online route mode corresponding to the application is determined according to the priority. The routing mode selection based on the priority of the Internet access route can prevent the problem that the Internet access mode cannot be accessed by default because the user does not set the routing mode in advance. In other words, when the user does not make routing settings, each application will have an access method. After the user selects a routing mode, that is, after the application is processed on the network port corresponding to the Internet access mode, the network traffic statistics of the current network port can be obtained; whether the traffic statistics exceeds the predetermined value. Change the online routing mode of the application when it is determined that the traffic statistics exceed the predetermined value. That is, the application traffic usage is limited to a certain data range. If the range is exceeded, the other network routing mode is switched, so that the traffic usage fee can be reduced to a certain extent, and the user experience is better improved. The above method can solve the problem that the mobile network PS wireless connection and the WIFI wireless network in the terminal cannot coexist at the same time, affecting the normal processing of the terminal service, and the user experience is extremely poor, thereby greatly improving the user experience. In the embodiment, an on-line processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable. FIG. 2 is a structural block diagram of an application online processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a determining module 22 and a processing module 24. The device will be described below. The determining module 22 is configured to determine an internet routing mode corresponding to the application according to the application; the processing module 24 is connected to the determining module 22, and is configured to perform online processing on the network port corresponding to the online routing mode. FIG. 3 is a block diagram showing the structure of the determining module 22 in the application online processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the determining module 22 includes a first determining unit 32, and the determining module 22 is described below. The first determining unit 32 is configured to adopt a predetermined routing policy, and determine an online routing manner corresponding to the application according to the application. FIG. 4 is a block diagram 2 of the structure of the determining module 22 in the application online processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the determining module 22 includes an obtaining unit 42 and a second determining unit 44. Be explained. The obtaining unit 42 is configured to obtain the Internet traffic statistics of the application. The second determining unit 44 is connected to the obtaining unit 42 and configured to determine an internet routing manner corresponding to the application according to the priority. FIG. 5 is a block diagram of a preferred structure of an application processing device according to an embodiment of the present invention. As shown in FIG. 5, the device includes an acquisition module 52, a determination module 54, and a modification module 56, in addition to all the modules shown in FIG. . The device will be described below. The obtaining module 52 is connected to the processing module 24, and configured to obtain the Internet traffic statistics of the application at the current network port; the determining module 54 is connected to the obtaining module 52, and configured to determine whether the traffic statistics exceed a predetermined value; The method is connected to the foregoing determining module 54 and configured to change the online routing mode of the application if the determination result is yes. FIG. 6 is a terminal 60 including any of the above-described Internet processing devices 62 according to an embodiment of the present invention. In order to solve the problem that the mobile network PS wireless connection and the WIFI wireless network cannot coexist at the same time in the related art, in this embodiment, a method for implementing IP splitting of the smart phone is provided. The following items are included: 1. Realizing the coexistence of the mobile PS wireless network and the WIFI connection; 2. Providing a routing policy, that is, the user's application can manually set the route according to the tariff, the network speed, the traffic threshold, etc., if the user does not set, The system automatically selects the optimal route according to a certain routing priority setting. The implementation of the foregoing solution relates to an application module (ie, an application APP) of a terminal (for example, a smart phone), a connection management service module (corresponding to the function of the determining module 22 described above), and a resource management (Route Manager, referred to as RM) module. TCPIP module, communication process (CP) module and WIFI module. FIG. 7 is an interaction diagram of a smart phone PS and a WIFI offload implementation according to an embodiment of the present invention. Figure 7 is a
LTE智能手机为例, 应用以微信和 QQ (可以是任何一个使用无线网络的应用) 为例, 详细描述该方法的实现流程。 S702, 使用微信的用户可以设置该应用使用 PS连接优先或 WIFI连接优先或仅 PS连接或仅 WIFI连接, 这里以用户设置 WIFI连接优先同时 QQ使用 PS连接优先且 PS连接流量门限 10M为例; For example, an LTE smartphone is applied to WeChat and QQ (which can be any application using a wireless network), and the implementation process of the method is described in detail. S702, the user using the WeChat can set the application to use the PS connection priority or the WIFI connection priority or only the PS connection or only the WIFI connection. Here, the user sets the WIFI connection priority while the QQ uses the PS connection priority and the PS connection flow threshold 10M as an example;
S704, 用户设置 APP (应用的名称) -ROUTESET (WIFI优先) 后, RM获取应 用的 UID (android***为应用分配的 UID), RM模块维护 APP-UID-ROUTESET (与 网口相对应) 映射表格; S704, the user sets the APP (app name) -ROUTESET (WIFI first), the RM obtains the UID of the application (the UID assigned by the android system for the application), and the RM module maintains the APP-UID-ROUTESET (corresponding to the network port) mapping table ;
S706, 设置路由后, QQ应用启动 PDN链接; S706, after setting the route, the QQ application starts the PDN link;
S708, 在某一个 APN上建立 PDN连接, 连接成功后, 给 TCPIP配置 PS网口启 用; S710, Android的框架连接管理模块提供 APN信息给 RM模块, RM模块根据获 取的此 PDN连接分配给终端的源 IP, 结合根据用户设置的路由表, 生成 IpType (IP 类型 IPv4或 IPv6) -Uid (QQ) -Srclp (QQsrcIp) 路由表; S708: Establishing a PDN connection on an APN, and after the connection is successful, configuring a PS network port for the TCPIP to be enabled; S710, the framework connection management module of the Android provides the APN information to the RM module, and the RM module allocates the PDN connection to the terminal according to the obtained PDN connection. Source IP, combined with the routing table set by the user, generates an IpType (IP type IPv4 or IPv6) -Uid (QQ) -Srclp (QQsrcIp) routing table;
S712, 微信应用启动 WIFI连接; S712, the WeChat application starts the WIFI connection;
S714, WIFI连接成功后, 给 TCPIP模块配置新增网口; S716, RM模块根据用户设置的路由, 生成 IpType ( IPv4或 IPv6 ) -Uid (微信)S714, after the WIFI connection is successful, a new network port is configured for the TCPIP module; S716, the RM module generates an IpType (IPv4 or IPv6)-Uid (WeChat) according to the route set by the user.
-Srclp (微信 SrcIP) 路由表。 -Srclp (WeChat SrcIP) routing table.
TCPIP在每个应用发送数据建立 SOCKET连接时,获取应用的 UID和 Destlp (目 标 IP), 再根据 RM提供的 IpType-Uid-SrcIp路由表, 最后生成 SrcIP-Destlp的对应关 系, 分发 IP数据包时将根据不同 Destlp选择不同的 Srclp即不同的网口进行发送。 RM还定期获取应用的流量统计数据如 应用超过 10M时,将路由设为仅 WIFI, 更新路由表后给 TCPIP, 后续同上)。 在智能机日益普及的背景下, LTE作为更先进的网络演进以及提供的更高速的数 据业务, 届时在 WIFI网络下上网同时支持 LTE网络下电话功能是必须的。 另外, 本发明可以实现一种创新的需求, 即用户的各个应用根据需求选择网络的 权利, 这个作为一种创新, 具有较好的实用性和用户体验, 未来非常有可能在智能手 机中大量应用。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 如上所述, 本发明实施例提供的一种应用上网处理方法、 装置及终端具有以 下有益效果: 解决了相关技术中存在的不同的上网路由方式不能同时共存, 影响终 端业务的正常处理, 用户使用感受极差的问题, 进而达到了提高用户体验的效果。 When each application sends data to establish a SOCKET connection, TCPIP obtains the UID and Destlp (target IP) of the application, and then generates the corresponding relationship of SrcIP-Destlp according to the IpType-Uid-SrcIp routing table provided by the RM, and distributes the IP data packet. Different Srclps, that is, different network ports, will be sent according to different Destlp. The RM also periodically obtains traffic statistics of the application. If the application exceeds 10M, the route is set to WIFI only, and the routing table is updated to TCPIP, which is the same as above. In the context of the increasing popularity of smart phones, LTE is a more advanced network evolution and provides higher-speed data services. At that time, it is necessary to support the LTE network under the WIFI network while supporting the LTE network. In addition, the present invention can realize an innovative requirement that each user's application selects the right of the network according to requirements. This is an innovation, has good practicability and user experience, and is very likely to be widely applied in smart phones in the future. . Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. Industrial Applicability As described above, an application online processing method, apparatus, and terminal provided by the embodiments of the present invention have the following beneficial effects: The different Internet access routing modes existing in the related technologies cannot coexist at the same time, and affect the normal processing of the terminal service. The user has a very poor experience, which in turn improves the user experience.

Claims

权 利 要 求 书 Claim
1. 一种应用上网处理方法, 包括: 1. An application online processing method, including:
依据所述应用确定所述应用对应的上网路由方式;  Determining, according to the application, an internet routing manner corresponding to the application;
在所述上网路由方式对应的网口上进行应用上网处理。  Applying online processing on the network port corresponding to the online routing mode.
2. 根据权利要求 1所述的方法, 其中, 依据所述应用确定所述应用对应的所述上 网路由方式包括: The method according to claim 1, wherein determining, according to the application, the uplink routing manner corresponding to the application comprises:
采用预定路由选择策略, 依据所述应用确定所述应用对应的所述上网路由 方式。  And determining, according to the application, the online routing manner corresponding to the application by using a predetermined routing policy.
3. 根据权利要求 2所述的方法,其中,所述预定路由选择策略包括以下至少之一: 3. The method of claim 2, wherein the predetermined routing policy comprises at least one of:
上网路由方式的资费、 上网路由方式的网速、 所述应用的流量上限。  The tariff of the Internet route, the network speed of the Internet route, and the upper limit of the application.
4. 根据权利要求 1所述的方法, 其中, 依据所述应用确定所述应用对应的所述上 网路由方式包括: The method according to claim 1, wherein determining, according to the application, the uplink routing manner corresponding to the application comprises:
获取所述应用备选上网路由方式的优先级;  Obtaining the priority of the alternative online routing mode of the application;
依据所述优先级确定所述应用对应的所述上网路由方式。  Determining, according to the priority, the online routing manner corresponding to the application.
5. 根据权利要求 1所述的方法, 其中, 在在所述上网路由方式对应的网口上进行 应用上网处理之后, 还包括: The method according to claim 1, wherein after the application of the Internet access processing on the network port corresponding to the Internet access routing mode, the method further includes:
获取所述应用在当前网口的上网流量统计数据;  Obtaining statistics on Internet traffic of the application at the current network port;
判断所述流量统计数据是否超过预定值;  Determining whether the traffic statistics exceed a predetermined value;
在判断结果为是的情况下, 更改所述应用的上网路由方式。  In the case that the determination result is yes, the online routing mode of the application is changed.
6. 一种应用上网处理装置, 包括: 6. An application online processing device, comprising:
确定模块, 设置为依据所述应用确定所述应用对应的上网路由方式; 处理模块, 设置为在所述上网路由方式对应的网口上进行应用上网处理。  The determining module is configured to determine, according to the application, an internet routing manner corresponding to the application, and the processing module is configured to perform an application online processing on the network port corresponding to the online routing mode.
7. 根据权利要求 6所述的装置, 其中, 所述确定模块包括: 第一确定单元, 设置为采用预定路由选择策略, 依据所述应用确定所述应 用对应的所述上网路由方式。 The device according to claim 6, wherein the determining module comprises: a first determining unit, configured to adopt a predetermined routing policy, and determine, according to the application, the internet routing manner corresponding to the application.
8. 根据权利要求 6所述的装置, 其中, 所述确定模块包括: The device according to claim 6, wherein the determining module comprises:
获取单元, 设置为获取所述应用备选上网路由方式的优先级; 第二确定单元, 设置为依据所述优先级确定所述应用对应的所述上网路由 方式。  The obtaining unit is configured to obtain a priority of the alternative network routing mode of the application; and the second determining unit is configured to determine, according to the priority, the online routing mode corresponding to the application.
9. 根据权利要求 6所述的装置, 其中, 还包括: 获取模块, 设置为获取所述应用在当前网口的上网流量统计数据; 判断模块, 设置为判断所述流量统计数据是否超过预定值; 更改模块, 设置为在判断结果为是的情况下, 更改所述应用的上网路由方 式。 The device according to claim 6, further comprising: an obtaining module, configured to obtain statistics of Internet traffic statistics of the application at the current network port; and a determining module, configured to determine whether the traffic statistics exceeds a predetermined value ; Change the module, set to change the online routing mode of the application if the judgment result is yes.
10. 一种终端, 包括权利要求 6-9中任一项所述装置。 10. A terminal comprising the apparatus of any of claims 6-9.
9 9
PCT/CN2014/076885 2013-11-20 2014-05-06 Application internet access processing method, apparatus, and terminal WO2014180302A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310589596.9 2013-11-20
CN201310589596.9A CN104661322A (en) 2013-11-20 2013-11-20 Application internet access processing method and device as well as terminal

Publications (1)

Publication Number Publication Date
WO2014180302A1 true WO2014180302A1 (en) 2014-11-13

Family

ID=51866724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076885 WO2014180302A1 (en) 2013-11-20 2014-05-06 Application internet access processing method, apparatus, and terminal

Country Status (2)

Country Link
CN (1) CN104661322A (en)
WO (1) WO2014180302A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230662B (en) * 2016-08-01 2019-04-23 北京小米移动软件有限公司 Network flux statistical method and device
CN106254646A (en) * 2016-08-02 2016-12-21 北京小米移动软件有限公司 Network flux statistical method and device
CN108156642B (en) * 2016-12-02 2021-04-23 联芯科技有限公司 Method and system for coexistence of mobile network and WiFi network and mobile terminal
CN107222406B (en) * 2017-07-13 2021-06-15 北京元心科技有限公司 Network management method and device and intelligent equipment
CN113115299B (en) * 2021-03-22 2022-11-18 中国联合网络通信集团有限公司 URSP rule updating method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201805555U (en) * 2010-05-14 2011-04-20 中兴通讯股份有限公司 Dual-mode MT
US20110130167A1 (en) * 2009-12-01 2011-06-02 Parlamas Stephanie P Method and apparatus for accessing a network service
CN102577264A (en) * 2009-06-29 2012-07-11 高通创锐讯有限公司 Technique for setting network communication parameters

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271386A (en) * 2011-08-24 2011-12-07 中兴通讯股份有限公司 Method and device of network selection for multi-mode terminal
CN102932863A (en) * 2012-10-17 2013-02-13 南京云恒瑞通网络科技有限责任公司 QOS (Quality of Service)-based method for selecting network connection mode by terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102577264A (en) * 2009-06-29 2012-07-11 高通创锐讯有限公司 Technique for setting network communication parameters
US20110130167A1 (en) * 2009-12-01 2011-06-02 Parlamas Stephanie P Method and apparatus for accessing a network service
CN201805555U (en) * 2010-05-14 2011-04-20 中兴通讯股份有限公司 Dual-mode MT

Also Published As

Publication number Publication date
CN104661322A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN109315004B (en) PDU type setting method and related entity
US9288828B2 (en) Method, apparatus and system for accessing service by mobile station
KR101731095B1 (en) Systems and methods for accessing a network
KR101842820B1 (en) Use of an oma management object to support application-specific congestion control in mobile networks
US9642067B2 (en) Method for network offloading, base station, and terminal
WO2014044333A1 (en) Traffic shaping and steering for a multipath transmission control protocol connection
TW201110796A (en) Connection manager for a wireless communication device
US20110250842A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
CN104918288A (en) Flow sharing method, device and system
WO2021243837A1 (en) Application data routing method based on ursp rule, and user equipment
CN109150808B (en) Communication method, device and system
WO2014180302A1 (en) Application internet access processing method, apparatus, and terminal
WO2014047942A1 (en) Data transmission method, user equipment, and network side device
US20130210416A1 (en) Processing Method, Device, and System for Bandwidth Control
US20160308824A1 (en) Method for determining gre tunnel, gateway device, and access site
WO2019010702A1 (en) Access traffic steering, switching, and splitting management
WO2022052875A1 (en) Terminal cross-region communication method, network element device, and storage medium
JP2022502929A (en) Data transmission control methods, network equipment and storage media
WO2013167083A2 (en) Method and device for selecting domain name server
WO2015143763A1 (en) Load information transfer method, system, network elements and computer storage medium
US10057431B2 (en) Charging method, access network device, and gateway device
CN106332129B (en) Configuration method of wireless network function, wireless network node and core network equipment
US20230216798A1 (en) Data Steering Method and Apparatus
CN109587709B (en) Local data network discovery and configuration method, terminal, core network equipment and base station
CN116803112A (en) Method, network node and computer readable medium for dynamically discovering a serving network node in a core network

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

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

Country of ref document: EP

Kind code of ref document: A1