CN101959316B - PDP context activation decision method and device thereof - Google Patents

PDP context activation decision method and device thereof Download PDF

Info

Publication number
CN101959316B
CN101959316B CN 201010514344 CN201010514344A CN101959316B CN 101959316 B CN101959316 B CN 101959316B CN 201010514344 CN201010514344 CN 201010514344 CN 201010514344 A CN201010514344 A CN 201010514344A CN 101959316 B CN101959316 B CN 101959316B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
account
apn2
apn1
application
activation
Prior art date
Application number
CN 201010514344
Other languages
Chinese (zh)
Other versions
CN101959316A (en )
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
Grant date

Links

Abstract

本发明公开了一种分组数据协议上下文激活的决策方法及装置,所述方法包括:终端账户APN2发起分组数据协议PDP上下文激活请求;终端检查完成所述PDP激活请求所需的接入点名称APN是否被某账户APN1使用,若是,进行激活请求决策;所述决策的策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则基于所述APN2的应用状态以及所述账户APN1的业务状态决策是否接受所述账户APN2的激活请求。 The present invention discloses a method for a decision to activate the packet data protocol context and apparatus, the method comprising: the terminal initiates an account APN2 Packet Data Protocol PDP context activation request; checking the completion of the terminal to the PDP activation request to the APN desired whether using a APN1 account, and if so, request activation decision; the policy decisions include: acquiring the account APN1 application state, if the foreground application, account activation request rejection of APN2; if it is a background application, is based APN2 said application state, and traffic state decision whether to accept the account activation request for APN1 APN2 of the account. 本发明所述方法解决了当多个业务从同一个APN接入时,数据类业务在传输数据过程中被新激活的业务打断,重新恢复后数据重新传输从而造成流量浪费的问题。 The present invention solves the traffic from the time when a plurality of same APN access, data class traffic is interrupted in the transmission data newly activated service process, retransmission of data flow problems resulting waste after resumption.

Description

一种分组数据协议上下文激活的决策方法及装置 Decision Method A packet data protocol context activation means and

技术领域 FIELD

[0001] 本发明涉及移动通信技术领域,尤其涉及一种分组数据协议上下文激活的决策方法及装置。 [0001] The present invention relates to the technical field of mobile communications, and particularly relates to a method and apparatus for decision packet data protocol context activation.

背景技术 Background technique

[0002] 激活一个FOP (Packet Data Protocol,分组数据协议)上下文意味着发起一个分组数据业务呼叫,即MS (Mobile Stat1n,移动台)以某个APN(Access Point Name,接入点名称)进行的PDP上下文激活。 [0002] activating a FOP (Packet Data Protocol, Packet Data Protocol) context means to initiate a packet data service call, i.e. MS (Mobile Stat1n, the mobile station) at a certain APN (Access Point Name, access point name) of the PDP context activation. 每个PDP地址都是PDP上下文的一个元素,相同的PDP地址可以出现在存在于MS、SGSN(Service GPRS Support Node,服务GPRS支持节点)、GGSN(Gateway GPRS Support Node,网关GPRS支持节点)中的多个PDP上下文中。 Each PDP address of the PDP context is an element, the same PDP address may exist at present in MS, SGSN (Service GPRS Support Node, a Serving GPRS Support Node), GGSN (Gateway GPRS Support Node, Gateway GPRS Support Node) of a plurality of PDP contexts. 每个PDP上下文可以关联一个TFT (Traffic Flow Template,业务流模板)。 Each PDP context may be associated with a TFT (Traffic Flow Template, Traffic Flow Template). 大多数情况,关联同一PDP地址的PDP上下文可能一直存在而没有TFT分配给它。 In most cases, PDP contexts associated with the same PDP address may exist but have no TFT assigned to it. 每个PDP上下文都独立处于以下两种PDP状态中的一种,PDP状态指出了PDP地址和TFT是否可以进行传输数据。 Each PDP context is independently in one of two PDP states, PDP state indicates whether the PDP address and TFT can transmit data.

[0003] 非激活状态:非激活状态下,用户某一PDP地址不能进行数据服务。 [0003] inactive: inactive state, the user can not be certain PDP address data service. PDP上下文不包含那些关系到PDP地址的TOP H)Us (Package Data Units,数据包单元)处理的映射和路由信息;无数据传输,并且即使在GPRS附着态,用户的位置改变也不能引起PDP上下文更新。 PDP context does not include those related to the PDP address TOP H) mapping and routing of Us (Package Data Units, pack unit) processes information; no data transmission, even if adhered state in GPRS, a change in position the user can not cause a PDP context update.

[0004] 激活状态:在激活状态,PDP地址使用的PDP上下文在MS、SGSN、GGSN中处于活动态。 [0004] The activation state: in an active state, the PDP context is active PDP address used in the dynamic MS, SGSN, GGSN in. PDP上下文包含为MS和GGSN之间特定PDP地址传送PDPTOUs的映射和路由信息。 Transmitting a PDP context contains mapping and routing information PDPTOUs for a particular PDP address between the MS and the GGSN.

[0005] 如图1所示,为PDP状态示意图,从图中可以看出,每个PDP上下文都独立处于两种PDP状态中的一种,即非激活状态和激活状态。 [0005] FIG. 1, a schematic view of the PDP state, it can be seen from the figure, each PDP context is independently in one of two PDP states, i.e. an active state and an inactive state.

[0006] SM(Solid Model,实体模型)通过PDP上下文的激活、修改、去激活信令流程实现会话管理。 [0006] SM (Solid Model, the solid model) via the PDP context activation, modification, deactivation session management signaling process. PDP上下文激活流程用于建立用户面的分组传输路由;PDP上下文修改流程修改激活的PDP上下文的QoS (Quality of Service,服务质量)和TFT在发生RAU (RoutingArea Update,路由域更新)时也用于修改SGSN到GGSN之间的隧道路由;PDP上下文去激活则用于拆除激活的Η)Ρ。 PDP context activation procedure for establishing a user plane packet transmission route; Activate PDP context modification procedure to modify the PDP context QoS (Quality of Service, Quality of Service) and the TFT when the RAU (RoutingArea Update, update routing domain) can also occur for modifying the tunnel between the SGSN route to GGSN; PDP context deactivation is active for the removal Η) Ρ. 由PDP非激活状态向PDP激活状态转换时,需要经过PDP上下文激活过程;由PDP激活状态向PDP非激活状态转换时,需要经过PDP上下文去激活过程。 When converted from the inactive state to the PDP PDP activation state, you need to go through the process of PDP context activation; active state conversion from the PDP to PDP inactive state, need to go through the PDP context deactivation procedure.

[0007] 需要说明的是,只有当用户移动管理状态为STANDBY(待命状态),READY(准备好),PMM-1DLE (空闲状态),或者PMM-C0NNECTED (连接状态)时,PDP激活状态才被允许,其他状态下的PDP激活是禁止的。 [0007] Incidentally, the user only when the mobility management state of the STANDBY (standby state), READY (ready) when the PMM-1DLE (idle state), or PMM-C0NNECTED (connected state), PDP activation state was only allowed, PDP activation in other states is prohibited.

[0008] 上文中提到的PDP上下文,即保存用户面进行隧道转发的所有信息,包括RNC/GGSN的用户面IP地址隧道标识和QoS等。 [0008] PDP context mentioned above, i.e., all the information stored user plane forwarding tunnels, including RNC / GGSN user plane IP address and QoS tunnel identifier.

[0009] 上文提到的TFT是GSN在接收或转发用户数据时,用于区分二次激活的PDP上下文,TFT唯一的标识了同一TEID (Tunnel Endpoint Identifier,数据传输隧道端点标识符)或同一PDP地址下的不同的PDP上下文。 [0009] The above-mentioned TFT is GSN receiving or forwarding the user data for distinguishing the activation of the secondary PDP context, TFT uniquely identifies the same TEID (Tunnel Endpoint Identifier, data transmission tunnel endpoint identifier) ​​or the same different PDP address in the PDP context. 当同一个TEID或PDP地址下只有一个活跃的TOP上下文时,不需要为该PDP上下文指定一个TFT,因为所有下行的数据都直接通过该上下文对应的隧道传输。 When the same TEID, PDP address only a TOP context is active, a need to specify the TFT for the PDP context, since all the downlink data tunnel directly through the transmission of the corresponding context. 当同一个TEID或PDP地址下有多个活跃的PDP上下文时,那么就需要为每一个PDP上下文指定一个TFT,GGSN接收到发送给MS的G-PDU时,将使用该TFT来对应G-PDU传输时应该使用的PDP上下文。 When there are multiple PDP contexts active at the same TEID, PDP address, then the need for each PDP context specifies when a TFT, the GGSN transmits the received G-PDU to the MS, using the TFT corresponds to G-PDU transmission should use the PDP context. 如果在二次激活时,所有该PDP地址下的PDP上下文都已经被分配了一个TFT,那么这一次的二次激活就可以无需再指定一个TFT。 If at the secondary activation, PDP context in all PDP addresses that have been assigned a TFT, so this time the secondary activation can no longer specify a TFT. S卩,对应同一个TEID或PDP地址下的不同的PDP上下文,要么全都有各自的TFT,要么,只能有一个PDP上下文没有TFT。 S Jie, corresponding to different PDP contexts at the same PDP address or a TEID, or all have their own the TFT, either, only one PDP context without TFT.

[0010] 上文实施例中提到的PDP地址,可分为静态PDP地址和动态rop地址两种。 [0010] PDP address mentioned in the above embodiment, can be divided into static and dynamic PDP address rop two kinds of addresses. PDP地址指示用户网络层地址PDP地址能以以下四种方式分配给MS: PDP address indicates the user network layer address PDP address can be allocated to the MS in the following four ways:

[0011] (1)HPLMN(Home Public Land Mobile Network,本地公用陆地移动网络)运营商分配给MS —个永久性的PDP地址,即静态PDP地址; [0011] (1) HPLMN (Home Public Land Mobile Network, Local Public Land Mobile Network) operators assigned to the MS - a permanent PDP address, static PDP address;

[0012] (2)当激活PDP上下文时HPLMN运营商临时分配一个PDP地址给MS,即动态HPLMNPDP地址; [0012] (2) HPLMN operator assigns a PDP address to the temporary MS, i.e., when the dynamic address HPLMNPDP Activate PDP Context;

[0013] (3)当激活PDP 上下文时VPLMN(Virtual Public Land Mobile Network,虚拟公用陆上移动网络)运营商临时分配一个PDP地址MS即,动态VPLMN PDP地址; [0013] (3) VPLMN (Virtual Public Land Mobile Network, a public land mobile network virtual) operator temporarily allocated PDP address of the MS that is a dynamic PDP address when the VPLMN PDP context activation;

[0014] (4)PDN运营商可以根据需要为MS分配一个永久性的或动态的IP地址,S卩外部PDN地址分配; [0014] (4) PDN operator may assign a permanent or a dynamic IP address is needed MS, S Jie external PDN address allocation;

[0015] 当使用HPLMN或VPLMN的动态地址时,GGSN负责分配或释放该动态地址,只有当PDP地址为静态时才能由网络发起请求PDP上下文激活。 [0015] When using a dynamic address HPLMN or a VPLMN, GGSN is responsible for allocating or releasing the dynamic address, only when the PDP address is static to a request by the network initiated PDP context activation.

[0016] 如图2所示,为现有技术中PDP上下文激活过程示意图,MS发起的PDP上下文激活的方法具体包括: [0016] FIG. 2, a schematic diagram of the prior art PDP Context activation procedure of the PDP context activation method initiated by the MS comprises:

[0017] (1)MS向SGSN发起激活PDP上下文请求;该请求消息中包括:NSAPI,TI,PDP类型,APN,要求的QoS,PDP配置选项;其中,APN是指示用户希望接入的外部分组数据网/业务的逻辑名;PDP配置项可能用于从GGSN中请求可选的PDP参数该参数通过SGSN透传。 [0017] (1) MS to the SGSN initiates a PDP context activation request; in the request message includes: NSAPI, TI, PDP Type, APN, the required QoS, PDP Configuration Options; wherein, APN external packet indicates the user wishes to access logical name data network / service; PDP configuration item may be a request for the optional PDP parameters from the GGSN by the SGSN transparent transmission parameter.

[0018] (2)执行RAB(Rad1 Access Bear,无线接口承载)指配过程; [0018] (2) performs RAB (Rad1 Access Bear, radio interface bearer) assignment process;

[0019]优选地,如果需要,SGSN 可以向UTRAN(Universal Terrestrial Rad1 AccessNetwork,通用陆地无线接入网络)发起激活跟踪命令。 [0019] Preferably, if required, the SGSN may initiate a command to activate the tracking UTRAN (Universal Terrestrial Rad1 AccessNetwork, Universal Terrestrial Radio Access Network).

[0020] (3) SGSN通过MS提供的激活PDP类型、PDP地址、接入点名称和PDP上下文签约数据来验证激活PDP上下文请求的有效性。 [0020] (3) Activate PDP type provided by MS, SGSN, PDP address, access point name and the PDP context subscription data to verify the validity of the requested PDP context activation.

[0021] 具体的,如果SGSN不能从APN得到GGSN地址,或者SGSN认为激活PDP上下文请求无效,SGSN将拒绝本次请求;反之SGSN将为PDP上下文分配TEID。 [0021] Specifically, if the SGSN GGSN address from the APN can not be obtained, or the SGSN considered invalid Activate PDP Context Request, SGSN will reject this request; SGSN and vice versa for the PDP context allocated TEID.

[0022] ⑷SGSN根据一定的算法选择一个APN,SGSN向GGSN发产生PDP上下文请求;请求消息中包括:PDP类型,PDP地址,APN,商定的QoS,TEID,选择模式,PDP配置选项。 [0022] ⑷SGSN according to a certain algorithm selection APN, SGSN PDP Context Request to the GGSN generates hair; request message comprises: PDP type, PDP address, APN, the agreed QoS, TEID, mode selection, PDP configuration options. 其中,当使用动态地址时PDP地址为空。 Wherein, when a dynamic address is empty PDP address.

[0023] (5)GGSN为PDP上下文分配动态地址、计费ID、协商QoS (如果MS要求外部网分配IP地址,则将PDP上下文地址设为0.0.0.0,在以后外部网分配地址后执行GGSN发起的rop上下文修改过程将当前使用的PDP地址传给SGSN和MS),而后GGSN向SGSN返回响应TOP上下文请求。 [0023] (5) GGSN for the PDP context allocated dynamic address, billing ID, negotiated QoS (if the MS requires the external network IP address assignment, then a PDP context address to 0.0.0.0, performed by the GGSN after Extranet address allocation rop context modification procedure initiated by the currently used PDP address to the SGSN and transmitted to MS), GGSN then returns a response to the context request TOP SGSN.

[0024] (6)SGSN收到响应后,在PDP上下文中插入NSAPI和GGSN地址。 [0024] (6) After the SGSN receives the response, insert NSAPI and the GGSN address in the PDP context.

[0025] 具体的,如果MS请求的是动态地址,将GGSN接收到的PDP地址插入PDP上下文中。 [0025] Specifically, if the MS requests a dynamic address, the PDP address of the GGSN receives the PDP context is inserted. SGSN根据QoS协商结果选择无线优先级和分组流ID,并向MS返回激活PDP上下文请求接受消息。 SGSN select Radio Priority and Packet Flow ID QoS negotiation according to the result, to request the MS returns an Activate PDP Context Accept message. 这时可以在GGSN和MS之间路由TOP PDUs启动计费。 At this point may be routed TOP PDUs between the GGSN starts the charging and the MS.

[0026] 另外,如果PDP上下文激活流程失败或SGSN返回激活PDP上下文请求拒绝信息,MS将试图发起对同一APN的新一次激活。 [0026] Further, if the PDP context activation procedure fails or the SGSN returns an Activate PDP Context request rejection message, the MS will attempt to initiate a new activation of the same APN.

[0027] 现有技术中,在特殊网络(例如和记网络)环境下,网络同时只支持激活一个APN账户,因此要求手机在多个PS业务(使用不同APN账户)并发时,能够根据PS业务的并发场景对PS业务资源进行管理。 [0027] In the prior art, in particular network (e.g. Hutchison network) environment, while the network supports only one APN account activation, thus requiring a plurality of PS mobile phone services (using a different account APN) concurrent, according to the PS service can be concurrent scene of PS business resource management. 具体的问题可以细分为以下三种类型: Specific questions can be subdivided into the following three types:

[0028] (1)后台PS业务运行过程中并发前台PS业务; [0028] (1) PS service running in the background during concurrent foreground PS service;

[0029] (2)前台PS业务运行过程中并发后台PS业务; [0029] (2) PS service reception process runs concurrently background PS service;

[0030] (3)后台PS业务运行过程中并发后台PS业务。 [0030] (3) PS service running in the background during concurrent background PS service.

[0031] 当前进行的三类业务如果是数据传输类时,存在如下显著的问题: [0031] If three operations are currently performed data transfer type, there is a significant problem as follows:

[0032] 如果另一个业务从同一个APN进行连接,按照目前的处理方法,当前业务首先会被强制打断,处理完成新加入的业务之后,再返回到上一个业务状态,重新开始处理。 [0032] If traffic from another after a connection with the APN, in accordance with the present processing method, first the current service is forcibly broken, the newly added service process is completed, and then returns to a traffic state, restart the processing. 由于当前业务被打断后重新开启,如果该业务属于数据传输类业务,之前的数据将会重新进行传输,这样将导致用户的流量浪费,从而给用户带来费用等方面的损失,并且会极大影响用户使用终端设备的体验。 Due to re-open the business after the current is interrupted, if the business is data transfer class of business, the previous data will be re-transmitted, this will result in a waste of user traffic, leading to losses and other aspects of the cost to the user and will be very big impact user terminal equipment experience.

发明内容 SUMMARY

[0033] 本发明提供一种分组数据协议上下文激活的决策方法及装置,用以解决现有技术中存在的当多个业务从同一个APN接入时,数据类业务在传输数据过程中被新激活的业务打断,重新恢复后数据重新传输从而造成流量浪费的问题。 [0033] The present invention provides a packet data protocol context activation decision method and apparatus of the prior art to solve the problem when present in a plurality of operations from the time the same APN Access, is a new class of business data during data transmission active business interruption, data retransmission resumed after causing traffic wasted.

[0034] 本发明提供一种分组数据协议上下文激活的决策方法,包括: [0034] The present invention provides a packet data protocol context activation decision method, comprising:

[0035] 终端账户APN2发起分组数据协议PDP上下文激活请求; [0035] The terminal initiates an account APN2 Packet Data Protocol PDP context activation request;

[0036] 终端检查完成所述PDP激活请求所需的接入点名称APN是否被某账户APN1使用,若是,进行激活请求决策; [0036] The terminal checks whether a PDP activation request to complete the desired APN is an access point name using a APN1 account, if so, request activation decisions;

[0037] 所述决策的策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则基于所述APN2的应用状态以及所述账户APN1的业务状态决策是否接受所述账户APN2的激活请求。 [0037] The policy decision comprises: obtaining the application state APN1 account, if the foreground application, reject the request to the account activation APN2; if it is a background application, based on the state of the application and the APN2 account for APN1 state business decision whether to accept the request to activate the account APN2.

[0038] 其中,所述APN被所述账户APN1使用包括:所述账户APN1利用所述APN处于TOP激活过程中或者利用所述APN完成激活过程处于PDP激活状态。 [0038] wherein, the APN is using the account APN1 comprising: APN1 using the account in the TOP APN activation process or the activation process using the APN in the PDP activation state.

[0039] 进一步地,本发明所述方法中,所述账户APN1或APN2应用状态的获取方式包括: [0039] Further, the method of the present invention, the account APN1 APN2 or application state acquisition mode comprising:

[0040] 终端读取当前控制终端显示器的应用类编号,并与所述账户APN1/APN2的分组交换域PS应用的类编号进行比较,若所述账户APN1/APN2的PS应用的类编号与所述当前控制终端显示器的应用类编号相同,则所述账户APN1/APN2的应用状态为前台应用,否则为后台应用。 [0040] The terminal control application reads the current class number display of the terminal, and compared with the ID-based packet switched domain the PS application account APN1 / APN2, the PS-based applications, if the number account APN1 / APN2 with the said current control terminal display class numbers of the same application, the application status of the account APN1 / APN2 is the foreground application, background application otherwise.

[0041] 进一步地,本发明所述方法中,所述终端在所述账户APN1的应用状态为后台应用时,若账户APN1没有数据传输,则去激活账户APN1,发起账户APN2的激活;否则,在账户APN2的应用状态为前台应用时提示用户选择接受或者拒绝所述账户APN2的激活请求;在账户APN2的应用状态为后台应用时,拒绝账户APN2的激活请求。 [0041] Further, the method of the present invention, the terminal state of the account in the application for APN1 as background applications, if the account is not APN1 data transmission, APN1 deactivating the account, the account activation initiates APN2; otherwise, It prompts the user to accept or reject the request to activate the account when APN2 application state accounts for the foreground application APN2; APN2 account when the application state of a background application, reject the request to activate the account APN2.

[0042] 进一步地,本发明所述方法中,当检查结果为完成所述PDP激活请求所需的接入点名称APN未被某账户APN1使用时,接受账户APN2发起的激活请求。 When [0042] Further, the method of the present invention, when the check result is required to complete the PDP activation request is not an access point name APN used APN1 account, the account activation request acceptance APN2 initiated.

[0043] 本发明还提供一种终端,包括: [0043] The present invention further provides a terminal, comprising:

[0044] 激活请求发起单元,用于发起账户APN2的PDP上下文激活请求; [0044] Activation request initiation means for initiating the PDP context activation request APN2 account;

[0045] 激活检测单元,用于在所述激活请求发起单元接收到PDP上下文激活请求时,检查完成所述PDP激活请求所需的接入点名称APN是否被某账户APN1使用,若是,触发激活决策单元; [0045] The activity detection means configured to, when the unit receives a request to initiate activation PDP context activation request, the PDP activation request is completed checking whether the APN required by using a APN1 account, if yes, trigger activation decision-making unit;

[0046] 激活决策单元,用于利用预先配置的决策策略进行激活决策;所述决策策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则基于所述APN2的应用状态以及所述账户APN1的业务状态决策是否接受所述账户APN2的激活请求。 [0046] The activation decision means for using decision preconfigured policy activation decision; the decision strategy comprises: the state of the account acquisition application for APN1, if the foreground application, reject the request to activate the account APN2; if it is a background application , whether to accept the request to activate the account based on the traffic status decision APN2 APN2 the application state and the account for APN1.

[0047] 其中,所述激活检测单元中APN被所述账户APN1使用包括:所述账户APN1利用所述APN处于PDP激活过程中或者利用所述APN完成激活过程处于PDP激活状态。 [0047] wherein, the APN activation detecting unit is using the account APN1 comprising: using the account APN1 to the APN in the PDP activation process or by the activation process is complete APN PDP activation state.

[0048] 进一步地,本发明所述提供的终端中,所述激活决策单元中账户APN1或APN2应用状态的获取方式包括: [0048] Furthermore, the present invention provides a terminal, the account activation decision APN1 APN2 application or manner of obtaining the status unit comprises:

[0049] 所述激活决策单元读取当前控制终端显示器的应用类编号,并与所述账户APN1/APN2的分组交换域PS应用的类编号进行比较,若所述账户APN1/APN2的PS应用的类编号与所述当前控制终端显示器的应用类编号相同,则所述账户APN1/APN2的应用状态为前台应用,否则为后台应用。 [0049] The decision unit activates the control application to read the current class number display of the terminal, and compared with the account packet switched domain APN1 / APN2 PS-class ID for the application, if the application account PS APN1 / APN2 of class number and the current control terminal display application category ID is the same, then the account application state APN1 / APN2 is the foreground application, background application otherwise.

[0050] 进一步地,本发明所述提供的终端中,所述激活决策单元在所述账户APN1的应用状态为后台应用时,若账户APN1没有数据传输,则去激活账户ΑΡΝ1,发起账户ΑΡΝ2的激活;否则,在账户ΑΡΝ2的应用状态为前台应用时提示用户选择接受或者拒绝所述账户ΑΡΝ2的激活请求;在账户ΑΡΝ2的应用状态为后台应用时,拒绝账户ΑΡΝ2的激活请求。 When [0050] Furthermore, the present invention provides a terminal, the decision unit activates the account in the application state APN1 as background applications, if the account is not APN1 data transmission, deactivating the account ΑΡΝ1, initiates the account ΑΡΝ2 activation; otherwise, the application prompts the account status for the foreground application ΑΡΝ2 user to accept or decline the activation request ΑΡΝ2 account; when the application state ΑΡΝ2 account for background application, reject the request to activate the account ΑΡΝ2.

[0051] 进一步地,本发明所述提供的终端还包括: [0051] Furthermore, the present invention provides the terminal further comprises:

[0052] 激活发起单元,用于在激活检测单元检测到完成所述PDP激活请求所需的接入点名称ΑΡΝ未被某账户ΑΡΝ1使用时,接受账户ΑΡΝ2发起的激活请求。 [0052] initiating activation means for activating when the detecting means detects the completion of the access point name ΑΡΝ PDP activation request is not required to use a ΑΡΝ1 account, the account activation request acceptance ΑΡΝ2 initiated.

[0053] 与现有技术相比,本发明有益效果如下: [0053] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0054] 本发明所述方法,在原有的技术基础上,添加状态和业务类型的判断和决策机制,根据实际的业务来做出判断,解决了当多个业务从同一个ΑΡΝ接入时,数据类业务在传输数据过程中被新激活的业务打断,重新恢复后数据重新传输从而造成流量浪费的问题。 [0054] The method of the present invention, in the technique based on the original, and add a status determination and service type decision-making mechanism, according to the actual traffic judge, when resolved from the same plurality of service access ΑΡΝ, data traffic is interrupted by a new class of active service in the data transmission process, the data retransmission resumed after causing traffic wasted.

附图说明 BRIEF DESCRIPTION

[0055] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0055] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the accompanying drawings for illustrating the prior art described or needed to be used in an embodiment will be briefly introduced hereinafter, the description below the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and can obtain other drawings based on these drawings.

[0056] 图1为现有技术中PDP状态示意图; [0056] FIG. 1 is a schematic view of the state of the prior art PDP;

[0057] 图2为现有技术中PDP上下文激活过程示意图; [0057] FIG. 2 is a prior art schematic diagram of PDP context activation procedure;

[0058] 图3为本发明提供的一种分组数据协议上下文激活决策方法流程图; [0058] FIG. 3 is a flowchart of a context activation decision method of the present invention to provide a packet data protocol;

[0059] 图4为本发明实施例提供的分组数据协议上下文激活决策方法流程图; [0059] FIG. 4 embodiment provides a packet data protocol context activation decisions flowchart of a method embodiment of the present invention;

[0060] 图5为本发明提供的一种终端结构图。 [0060] FIG. 5 is a schematic structural diagram of a terminal provided by the invention.

具体实施方式 Detailed ways

[0061] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0061] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0062] 为了解决现有技术中当多个业务从同一个APN接入时,数据类业务在传输数据过程中被新激活的业务打断,重新恢复后数据重新传输从而造成流量浪费的问题,本发明提供一种分组数据协议上下文激活的决策方法及装置。 [0062] In order to solve the prior art, when a plurality of services when the access from the same APN, service class data in the transmission data is interrupted during activation of the new service, the restored data retransmission traffic causing the problem of waste, the present invention provides a packet data protocol context activation method and apparatus for decision.

[0063] 本发明所述方法的原理是:当有新账户发起激活请求时,首先判断网络状态;即,获得连接SOCKET (套接字)数,通过该SOCKET (套接字)数判断网络状态,也就是检查判断网络中是否有PDP处于激活过程中或已经激活的账户;然后读取当前控制终端显示器的应用类编号,并与发起PS (分组交换域)应用的类编号相比,得出当前发起的PS应用为后台或者前台;最后通过逻辑判断方法对新的激活请求进行决策处理,最终返回拒绝、接受或通知用户进行选择。 [0063] The principles of the method of the present invention is: when a new account to initiate activation request, the network state is determined; i.e., obtained SOCKET connection (socket) number, by which SOCKET (socket) determines the number of network status , whether there is in an activated PDP has been activated during the account or to check the network is determined; and then reads the current application control terminal display class number and the class number as compared to initiate PS (packet switched domain) is applied, derived PS current initiated for the background or foreground application; Finally, methods of determining the new logic activation request decision processing, the ultimate return rejected, accepted, or select the user is notified.

[0064] 本发明中检查是否有PDP处于激活过程中或已经激活,是通讯设备实时读取各PDP状态标志,根据状态标志内容判断的,检查并获取该状态的目的是获得连接SOCKET套接字数。 [0064] The present invention is in an active PDP check has been activated or during, a communication device to read each of the real-time PDP state flag state flag according to the determination content, and acquires the inspection object is to obtain a connection state of the SOCKET number.

[0065] 本发明中提到的所谓SOCKET"套接字",用于描述IP地址和端口,是一个通信链的句柄,应用程序通常通过"套接字"向网络发出请求或者应答网络请求。 [0065] SOCKET called "sockets" mentioned in the present invention, for describing the IP address and port, the communication link is a handle, the application issues a request to the network through the normally "sockets" network request or response.

[0066] 本发明中提到的读取当前控制终端显示器的应用类编号,是通过读取当前显示器(通常是LCD)的控制应用类,然后获取该控制应用类所对应的编号,目的是得到当前发起的PS应用为后台或者前台。 [0066] The present invention is mentioned in the application to read the current control terminal of the display class number, by reading the current display (usually LCD) based control applications, the control application then acquires the number corresponding to the class, the purpose is to give the current launch of PS application for the background or foreground.

[0067] 本发明中提到的决策判断方法,用于根据读取到的控制应用类编号,判断当前的应用状态,最终确定返回拒绝、接受或通知用户进行选择。 Decision Analyzing Method [0067] The present invention is mentioned, according to the read control application class number, determining the current application state, ultimately determine the return rejected, accepted, or select the user is notified.

[0068] 基于上述原理,本发明提供的一种分组数据协议上下文激活的决策方法,如图3所示,包括: [0068] Based on the principle described above, packet data protocol context of the present invention provides a method for activating the decision, shown in Figure 3, comprising:

[0069] 步骤S301、终端账户APN2发起分组数据协议PDP上下文激活请求; [0069] step S301, the terminal initiates the account APN2 Packet Data Protocol PDP context activation request;

[0070] 步骤S302、终端检查完成所述PDP激活请求所需的APN是否被某账户APN1使用,若是,执行步骤S303 ;否则,执行步骤S304 ; [0070] step S302, the terminal checks whether a PDP activation request to complete the desired APN is used APN1 an account, if yes, executing step S303; otherwise, to step S304,;

[0071 ] 其中,所述APN被所述账户APN1使用包括:所述账户APN1利用所述APN处于TOP激活过程中或者利用所述APN完成激活过程处于PDP激活状态。 [0071] wherein, the APN is using the account APN1 comprising: APN1 using the account in the TOP APN activation process or the activation process using the APN in the PDP activation state.

[0072] 步骤S303、终端进行激活请求决策,所述决策的策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则基于所述APN2的应用状态以及所述账户APN1的业务状态决策是否接受所述账户APN2的激活请求。 [0072] Step S303, the terminal activation request policy decision, said decision comprises: the account acquisition application for APN1 state, if the foreground application, reject the request to activate the account APN2; if it is a background application, based on the APN2 the application state and the state of the service account APN1 decision whether to accept the request to activate the account APN2.

[0073] 其中,基于所述APN2的应用状态以及所述账户APN1的业务状态决策是否接受所述账户APN2的激活请求具体为: [0073] wherein, based on the traffic status decision APN2 application state and the account APN1 whether to accept a request to activate the account APN2 specifically:

[0074] 所述终端在所述账户APN1的应用状态为后台应用时,若账户APN1没有数据传输,则去激活账户APN1,发起账户APN2的激活;否则,在账户APN2的应用状态为前台应用时提示用户选择接受或者拒绝所述账户APN2的激活请求;在账户APN2的应用状态为后台应用时,拒绝账户APN2的激活请求。 Otherwise, the application state is the foreground application account APN2; [0074] when the application state of the terminal for the background application for APN1 account, if the account is not APN1 data transmission, the de-activation of the account APN1, initiates the activation of the account APN2 the user is prompted to accept or decline the activation request APN2 account; when the application state APN2 account for background application, reject the request to activate the account APN2.

[0075] 进一步的,该步骤中,所述账户APN1或APN2应用状态的获取方式包括: [0075] Further, in this step, the account APN1 APN2 or application state acquisition mode comprising:

[0076] 终端读取当前控制终端显示器的应用类编号,并与所述账户APN1/APN2的分组交换域PS应用的类编号进行比较,若所述账户APN1/APN2的PS应用的类编号与所述当前控制终端显示器的应用类编号相同,则所述账户APN1/APN2的应用状态为前台应用,否则为后台应用;其中“/”为“或”的含义。 [0076] The terminal control application reads the current class number display of the terminal, and compared with the ID-based packet switched domain the PS application account APN1 / APN2, the PS-based applications, if the number account APN1 / APN2 with the said current control terminal display applications same class number, the status of the account application APN1 / APN2 is the foreground application, background application otherwise; wherein "/" for the "or" meaning.

[0077] 步骤S304、终端发起账户APN2的激活。 [0077] step S304, the terminal initiates the account activation APN2.

[0078] 下面根据图4给出本发明一个较佳的实施例,并结合对实施例的描述,进一步给出本发明的技术细节,使其能够更好地说明本发明的提供的方法的具体实现过程。 [0078] Next, a preferred embodiment of the present invention are given in FIG. 4 in accordance with, and in conjunction with the description of embodiments, given further technical details of the present invention, it is possible to better illustrate the specific methods provided by the present invention. Implementation process.

[0079] 如图4所示,为本发明实施例提供的一种PDP上下文激活的决策方法,该方法说明移动台MS发起的PDP上下文激活过程中的决策过程,本实施例中,PS业务的并发场景细分为三种类型:后台PS业务运行过程中并发前台PS业务;前台PS业务运行过程中并发后台PS业务;后台PS业务运行过程中并发后台PS业务;具体的,本发明实施例所述方法具体包括: [0079] As shown in FIG 4, the decision method of a PDP context activation according to an embodiment of the present invention, the method described decision-making process PDP context activation procedure initiated by the mobile station MS in this embodiment, PS service concurrent scenes subdivided into three types: PS service running in the background during concurrent foreground PS service; PS service reception process runs concurrently background PS service; PS service background process running concurrently background PS service; specifically, embodiments of the present invention said method comprises:

[0080] 步骤S401、开始; [0080] step S401, the start;

[0081] 步骤S402、终端账户APN2发起PDP上下文激活请求,该激活请求要求建立链路承载; [0081] step S402, the terminal account APN2 initiated PDP context activation request, the activation request bearer requires establishment of a link;

[0082] 步骤S403、检查是否存在处于PDP激活过程中或者TOP已经激活的账户APN1,若是,执行步骤S404 ;否则,执行步骤S411 ; [0082] step S403, the checks whether there is in PDP activation or TOP APN1 account already activated, and if yes, executes step S404,; otherwise, executing step S411;

[0083] 该步骤中,判断账户是否处于PDP激活过程中或者已经处于PDP激活状态具体方式为:实时读取各PDP状态标志,根据状态标志内容得到当前连接的SOCKET套接字,根据该SOCKET套接字进行状态判断。 [0083] In this step, it is determined whether the account is in PDP activation or PDP has been in active state for the particular mode: reading the real-time status of each flag PDP, to give the SOCKET current connection status flag according to the contents, based on the set of SOCKET Sockets for state determination.

[0084] 步骤S404、获取当前激活账户APN1的激活应用状态,若为前台应用状态,执行步骤S410 ;若为后台应用状态,执行步骤S405 ; [0084] step S404, the application state acquired currently active account activation for APN1, if the foreground application state, step S410; if it is a background application state, executing step S405;

[0085] 该步骤中,获取账户APN1的激活应用状态的方式如原理部分所描述的方式,即读取当前控制终端显示器的应用类编号,并与发起分组交换域PS应用的类编号相比,得出当前发起PS应用为后台或者前台。 [0085] In this step, the account acquisition application state activation for APN1 manner consistent with the principles as described in section, i.e., the application reads the current control terminal of the display class number, class and number compared to initiate a packet switched PS domain application, The current launch PS derived as a background or foreground application.

[0086] 步骤S405、获取请求激活账户APN2的应用状态,若为后台应用状态,执行步骤S406 ;若为前台应用状态,执行步骤S407 ; [0086] step S405, the status acquiring request to activate an account APN2 application, if the application state for the background, to step S406; if the state is the foreground application, executing step S407;

[0087] 该步骤中,获取请求激活账户APN2的应用状态的方式与步骤S404中的方式相同,在此不做赘述。 [0087] In this step, obtaining the same manner as in step S404 requests the application activation state of APN2 account in a manner, which is not repeated herein.

[0088] 步骤S406、账户APN2属于后台应用时,获取当前激活账户APN1应用的数据传输状态,判断是否存在数据传输操作,若存在,执行步骤S410 ;若不存在,执行步骤S409 ; When the [0088] step S406, the background application account APN2 belongs, acquires the current state of the account activation APN1 data transmission applications, it is determined whether there is a data transfer operation, if present, to step S410; if not, to step S409;

[0089] 步骤S407、账户APN2属于前台应用,获取当前激活账户APN1应用的数据传输状态,判断是否存在数据传输操作,若存在,执行步骤S408 ;若不存在,执行步骤S409 ; [0089] step S407, the account belonging to the foreground application APN2, acquires the current status of the data transfer application APN1 account activation, determines whether there is a data transfer operation, if present, to step S408; if not, to step S409;

[0090] 步骤S408、弹出对话框,提示用户做出选择; [0090] step S408, the pop-up dialog box that prompts the user to make a choice;

[0091] 其中,若用户选择终止账户APN1,则执行步骤S409 ;若用户不选择终止账户APN1,则执行步骤S410。 [0091] wherein, if the user chooses to terminate the account APN1, step S409 is executed; if the user does not choose to terminate the account APN1, execute step S410.

[0092] 步骤S409、去激活账户APN1,发起账户APN2的激活; [0092] step S409, the deactivated account APN1, APN2 initiate activation of the account;

[0093] 步骤S410、拒绝账户APN2的激活请求; [0093] step S410, the account activation request refusal of APN2;

[0094] 步骤S411、接受账户APN2的激活请求。 [0094] step S411, the acceptance of the activation request APN2 account.

[0095] 为了更清楚的表述本发明所述方法的实现过程,通常PS业务包括E-MAIL、手机IE上网、视频流媒体、手机实时聊天软件等等,下面就以终端正在接收一封邮件,接收的中途又发起一个视频流媒体请求的情况为例,来进一步说明该方案的实施步骤与技术细节。 [0095] For a clearer presentation of the implementation process of the present invention, generally comprises a PS service E-MAIL, IE Internet phone, video streaming, real-time chat software phones and the like, following on the terminal is receiving a message, the middle case receiving and initiating a request for streaming video as an example to further illustrate the technical details of the steps of the program.

[0096] (1)当前终端正在接收一封邮件,接收的中途又发起一个视频流媒体请求,贝U此时不会直接终端邮件接收,而是进入决策方法。 [0096] (1) The current terminal is receiving a message, received the middle has launched a video streaming request, this time not directly shellfish U terminal receives the message, but into the decision-making methods.

[0097] (2)获取当前邮件业务的激活应用状态,即邮件当前属于前台应用还是后台应用,如果属于前台应用,由于两个PS业务将使用同一APN,则拒绝视频流媒体的激活请求;如果属于后台应用,则转向步骤(3)。 [0097] (2) Get current message service application activation state, i.e. the current message belongs to a foreground application or a background application, if part of the foreground application, since both use the same PS service will be the APN, the activation request is rejected video streaming; if belonging to the background application, go to step (3).

[0098] (3)获取当前视频流媒体的应用状态,即视频流媒体当前属于前台应用还是后台应用,如果视频流媒体属于后台应用,则转向步骤(4),判断邮件业务的数据传输状态;如果属于前台应用,则转向步骤(5)。 [0098] (3) obtaining a current application state of video streaming, i.e., video streaming currently belongs to a foreground application or a background application, if the video streaming belonging to a background application, go to step (4), determines the data transmission state of the message service; If belongs to the foreground application, go to step (5).

[0099] (4)获取当前邮件业务的数据传输状态,即邮件业务当前是否正在传输数据,如果存在数据传输操作,则拒绝视频流媒体的激活请求;如果不存在数据传输操作,则发起邮件业务的激活。 [0099] (4) acquires the data transmission status of the current message service, i.e. message service whether the current data is being transmitted, if the data transfer operation Refuse activation request video streaming; if the data transfer operation does not exist, initiating message service the activation.

[0100] (5)如果视频流媒体当前为前台应用,则获取当前邮件业务的数据传输状态,即邮件业务当前是否正在传输数据,如果存在数据传输操作,则转向步骤(6)弹出对话框,提示用户做出选择;如果不存在数据传输操作,则去激活邮件业务,发起账户视频流媒体的激活。 [0100] (5) If the current foreground video streaming applications, obtaining current data transmission status of the message traffic, i.e., the mail service is currently transmitting data, if the data transfer operation is present, go to step (6) the dialog box, the user is prompted to make a choice; if the data transfer operation does not exist, to activate the mail service, launched video streaming activate the account.

[0101] (6)如果存在数据传输操作,弹出对话框,提示用户做出选择,用户根据提示做出相应的选择,如果用户选择终止邮件业务,则去激活邮件业务,发起视频流媒体的激活;如果用户不选择终止邮件业务,则拒绝视频流媒体的激活请求。 [0101] (6) If the present data transfer operation, a dialog box that prompts the user to make a choice, the choice made by the user according to corresponding prompts, if the user chooses to terminate the mail service, the service deactivating message, initiates activation video streaming ; If the user does not choose to terminate the mail service, the activation request is rejected video streaming.

[0102] 本发明所述方法有效地解决了当多个业务从同一个APN接入时,数据类业务在传输数据过程中被新激活的业务打断,重新恢复后数据重新传输从而造成流量浪费的问题。 [0102] The method of the present invention effectively solves the same time when a plurality of service access from the APN, the data traffic is interrupted by a new type of service activation process in the transmission data, retransmission data is restored after causing a waste of traffic The problem.

[0103] 本发明还提供了一种终端,如图5所示,包括: [0103] The present invention further provides a terminal, as shown in Figure 5, comprising:

[0104] 激活请求发起单元510,用于发起账户APN2的PDP上下文激活请求; [0104] activation request initiation unit 510 for initiating account APN2 PDP context activation request;

[0105] 激活检测单元520,用于在所述激活请求发起单元接收到PDP上下文激活请求时,检查完成所述PDP激活请求所需的APN是否被某账户APN1使用,若是,触发激活决策单元530 ;否则,触发激活发起单元540 ; [0105] activation detecting unit 520, configured to, when the unit receives a request to initiate activation PDP context activation request, the PDP activation request is completed checking whether the APN is required using a APN1 account, if yes, trigger the activation decision unit 530 ; otherwise, trigger activation initiation unit 540;

[0106] 激活决策单元530,用于利用预先配置的决策策略进行激活决策;所述决策策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则基于所述APN2的应用状态以及所述账户APN1的业务状态决策是否接受所述账户APN2的激活请求。 [0106] activating a decision unit 530 for using a pre-configured policy decision activation decision; the decision strategy comprises: the state of the account acquisition application for APN1, if the foreground application, reject the request to activate an account APN2; if for the background application, based on the traffic status decision APN2 application state, and whether to accept the account activation request for APN1 APN2 of the account.

[0107] 激活发起单元540,用于在激活检测单元520检测到完成所述PDP激活请求所需的接入点名称APN未被某账户APN1使用时,接受账户APN2发起的激活请求。 [0107] initiating activation unit 540 for activating when the detection unit 520 detects the completion of the required PDP activation request is not an access point name APN used APN1 account, the account activation request acceptance APN2 initiated.

[0108] 其中,所述激活检测单元520中APN被所述账户APN1使用包括:所述账户APN1利用所述APN处于PDP激活过程中或者利用所述APN完成激活过程处于PDP激活状态。 [0108] wherein the detection unit 520 activates the account APN1 APN is used comprising: using the account APN1 to the APN in the PDP activation process or by the activation process is complete APN PDP activation state.

[0109] 所述激活决策单元530中账户APN1或APN2应用状态的获取方式包括: [0109] The account activation APN1 or application state decision unit 530 APN2 manner of obtaining comprises:

[0110] 所述激活决策单元读取当前控制终端显示器的应用类编号,并与所述账户APN1/APN2的分组交换域PS应用的类编号进行比较,若所述账户APN1/APN2的PS应用的类编号与所述当前控制终端显示器的应用类编号相同,则所述账户APN1/APN2的应用状态为前台应用,否则为后台应用。 [0110] The activation control application decision unit reads the current class number display of the terminal, and compared with the account packet switched domain APN1 / APN2 PS-class ID for the application, if the application account PS APN1 / APN2 of class number and the current control terminal display application category ID is the same, then the account application state APN1 / APN2 is the foreground application, background application otherwise.

[0111] 所述激活决策单元530在所述账户APN1的应用状态为后台应用时,若账户APN1没有数据传输,则去激活账户APN1,发起账户APN2的激活;否则,在账户APN2的应用状态为前台应用时提示用户选择接受或者拒绝所述账户APN2的激活请求;在账户APN2的应用状态为后台应用时,拒绝账户APN2的激活请求。 [0111] The activated application state decision unit 530 in the account APN1 as background applications, if the account is not APN1 data transmission, APN1 deactivating the account, the account activation initiated APN2; otherwise, the application state of the account APN2 It prompts the user to accept or reject the request to activate the account when APN2 foreground application; APN2 account when the application state of a background application, reject the request to activate the account APN2.

[0112] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0112] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (8)

  1. 1.一种分组数据协议上下文激活的决策方法,其特征在于,包括: 终端账户APN2发起分组数据协议PDP上下文激活请求; 终端检查完成所述PDP激活请求所需的接入点名称APN是否被某账户APN1使用,若是,进行激活请求决策; 所述决策的策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则若账户APN1没有数据传输,则去激活账户APN1,发起账户APN2的激活;若账户APN1有数据传输,则在账户APN2的应用状态为前台应用时提示用户选择接受或者拒绝所述账户APN2的激活请求;在账户APN2的应用状态为后台应用时,拒绝账户APN2的激活请求。 1. A decision method of a packet data protocol context activation, characterized by, comprising: the terminal initiates an account APN2 Packet Data Protocol PDP context activation request; checking terminal completing the PDP activation request is required if the APN is a use APN1 account, if so, request activation decision; the policy decision comprises: the state of the account acquisition application for APN1, if the foreground application, reject the request to activate an account APN2; if for the background application, if the account data is not APN1 transmission, APN1 deactivating the account, the account activation initiates APN2; if account APN1 data transmission, the user is prompted to accept or decline the activation request APN2 account when the account APN2 application state is the foreground application; in the account APN2 when the application state as a background application, reject the request to activate the account APN2.
  2. 2.如权利要求1所述的方法,其特征在于,所述APN被所述账户APN1使用包括:所述账户APN1利用所述APN处于PDP激活过程中或者利用所述APN完成激活过程处于PDP激活状态。 2. The method according to claim 1, wherein the APN is using the account APN1 comprising: using the account APN1 to the APN in the PDP activation process or the activation process using the APN is activated PDP status.
  3. 3.如权利要求1所述的方法,其特征在于,所述账户APN1或APN2应用状态的获取方式包括: 终端读取当前控制终端显示器的应用类编号,并与所述账户APN1/APN2的分组交换域PS应用的类编号进行比较,若所述账户APN1/APN2的PS应用的类编号与所述当前控制终端显示器的应用类编号相同,则所述账户APN1/APN2的应用状态为前台应用,否则为后台应用。 3. The method according to claim 1, characterized in that the account or APN1 Obtaining APN2 application state comprising: a terminal number reading a current control terminal display application type, and the packet with the account APN1 / APN2 of PS switched domain application class numbers are compared, if the account number PS-based applications APN1 / APN2 application with the current control terminal display class number is the same, then the account application state APN1 / APN2 is the foreground application, otherwise, use as a background.
  4. 4.如权利要求1或2所述的方法,其特征在于,当检查结果为完成所述PDP激活请求所需的接入点名称APN未被某账户APN1使用时,接受账户APN2发起的激活请求。 4. The method of claim 1 or claim 2, wherein, when the check result is the completion of the PDP activation request to the APN desired not to use an account APN1, accepting the activation request initiated account APN2 .
  5. 5.一种终端,其特征在于,包括: 激活请求发起单元,用于发起账户APN2的PDP上下文激活请求; 激活检测单元,用于在所述激活请求发起单元接收到PDP上下文激活请求时,检查完成所述PDP激活请求所需的接入点名称APN是否被某账户APN1使用,若是,触发激活决策单元; 激活决策单元,用于利用预先配置的决策策略进行激活决策;所述决策策略包括:获取所述账户APN1的应用状态,若为前台应用,拒绝账户APN2的激活请求;若为后台应用,则若账户APN1没有数据传输,则去激活账户APN1,发起账户APN2的激活;若账户APN1有数据传输,则在账户APN2的应用状态为前台应用时提示用户选择接受或者拒绝所述账户APN2的激活请求;在账户APN2的应用状态为后台应用时,拒绝账户APN2的激活请求。 A terminal, comprising: means to initiate activation request, the PDP context activation request for initiation of the account APN2; activation detecting unit configured to, when the unit receives a request to initiate activation PDP context activation request, checks if required to complete the PDP activation request to the APN to be used in a APN1 account, if yes, trigger the activation decision unit; activation decision unit for using a pre-configured policy decision activation decision; the decision strategy comprises: status of the account acquisition application for APN1, if the foreground application, reject the request to activate the account APN2; if it is a background application, if the account is not APN1 data transmission, APN1 deactivating the account, the account activation initiated APN2; if the account has APN1 data transmission, the user is prompted to accept or decline the activation request APN2 account when the foreground application is an application state APN2 account; when the application state APN2 account for background application, reject the request to activate the account APN2.
  6. 6.如权利要求5所述的终端,其特征在于,所述激活检测单元中APN被所述账户APN1使用包括:所述账户APN1利用所述APN处于PDP激活过程中或者利用所述APN完成激活过程处于PDP激活状态。 6. The terminal according to claim 5, characterized in that the activity detection unit in the account APN1 APN is used comprising: using the account APN1 to the APN in the PDP activation process is completed or by the APN activation PDP activation process in the state.
  7. 7.如权利要求5所述的终端,其特征在于,所述激活决策单元中账户APN1或APN2应用状态的获取方式包括: 所述激活决策单元读取当前控制终端显示器的应用类编号,并与所述账户APN1/APN2的分组交换域PS应用的类编号进行比较,若所述账户APN1/APN2的PS应用的类编号与所述当前控制终端显示器的应用类编号相同,则所述账户APN1/APN2的应用状态为前台应用,否则为后台应用。 7. The terminal according to claim 5, characterized in that the decision unit activates the account in the acquisition mode or APN1 APN2 application state comprises: the activation decision unit reads the current application control terminal display class number, and with class No. PS packet switched domain the account application APN1 / APN2 compared, PS-based applications, if the number account APN1 / APN2 said current control terminal and application of the display class numbers are the same, the account APN1 / APN2 application state as a foreground application, or as a background application.
  8. 8.如权利要求5或6所述的终端,其特征在于,还包括: 激活发起单元,用于在激活检测单元检测到完成所述PDP激活请求所需的接入点名称APN未被某账户APN1使用时,接受账户APN2发起的激活请求。 8. The terminal of claim 5 or claim 6, characterized in that, further comprising: initiating activation unit for activating an account detection unit detects the completion of the required PDP activation request is not the APN when APN1 use, accept the request to activate the account APN2 initiated.
CN 201010514344 2010-10-21 2010-10-21 PDP context activation decision method and device thereof CN101959316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010514344 CN101959316B (en) 2010-10-21 2010-10-21 PDP context activation decision method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010514344 CN101959316B (en) 2010-10-21 2010-10-21 PDP context activation decision method and device thereof

Publications (2)

Publication Number Publication Date
CN101959316A true CN101959316A (en) 2011-01-26
CN101959316B true CN101959316B (en) 2015-04-01

Family

ID=43486318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010514344 CN101959316B (en) 2010-10-21 2010-10-21 PDP context activation decision method and device thereof

Country Status (1)

Country Link
CN (1) CN101959316B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053250B (en) * 2014-06-26 2018-05-11 上海斐讯数据通信技术有限公司 Based on Android data transmission method of multi-PDP

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1432268A1 (en) * 2002-12-18 2004-06-23 Radiolinja Origo Oy Data transmission service
CN101188866A (en) * 2007-12-07 2008-05-28 华为技术有限公司 Context activation method and device for packet data protocol
EP1968256A1 (en) * 2004-10-06 2008-09-10 Matsushita Electric Industrial Co., Ltd. WLAN to UMTS handover with network requested PDP context activation
CN101778484A (en) * 2009-12-30 2010-07-14 中兴通讯股份有限公司 Data connection establishing/releasing method, data transmission method and wireless data card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1432268A1 (en) * 2002-12-18 2004-06-23 Radiolinja Origo Oy Data transmission service
EP1968256A1 (en) * 2004-10-06 2008-09-10 Matsushita Electric Industrial Co., Ltd. WLAN to UMTS handover with network requested PDP context activation
CN101188866A (en) * 2007-12-07 2008-05-28 华为技术有限公司 Context activation method and device for packet data protocol
CN101778484A (en) * 2009-12-30 2010-07-14 中兴通讯股份有限公司 Data connection establishing/releasing method, data transmission method and wireless data card

Also Published As

Publication number Publication date Type
CN101959316A (en) 2011-01-26 application

Similar Documents

Publication Publication Date Title
US20110116469A1 (en) Local internet protocol access/selected internet protocol traffic offload packet encapsulation to support seamless mobility
US7054945B2 (en) Technique for providing announcements in mobile-originated calls
US20130012204A1 (en) Method and terminal for performing detach procedure
US20120082095A1 (en) Attention commands enhancement
US20080153454A1 (en) Emergency service in a communication system
US20070258427A1 (en) Wireless communication method and system for activating multiple service bearers via efficient packet data protocol context activation procedures
CN101494848A (en) Method, system and equipment for hanging-up and recovering business
US20070160045A1 (en) Conserving network capacity by releasing QoS resources
CN1625152A (en) Method for securing quality of transmitted group data service
US20120142278A1 (en) Method, system and transmission distribution network element for indicating data-distribution
CN102076028A (en) Public bearer establishment method, data transmission method and core network side equipment
US20100061386A1 (en) Method and Arrangement Relating to Communications Network Services Request Activation
US20110317560A1 (en) MOBILE COMMUNICATION SYSTEM, QoS CONTROL STATION AND MOBILE STATION
US20110007671A1 (en) Method for acquiring information, user equipement, and network equipment
US20120147839A1 (en) Method, System, and Access Gateway for Traffic Flows to Share Resources
WO2007130281A2 (en) Wireless communication method and system for activating multiple service bearers via efficient packet data protocol context activation procedures
CN101212810A (en) Customer premise equipment switching method and system in radio network
CN101478743A (en) Method and apparatus for EPS bearing management
CN101242645A (en) Method and system for mobile terminal to enter from free status to activated status
CN1984490A (en) Method for transferring wideband CDMA access equipment state
CN101291529A (en) Method and apparatus for identifying bearing type
US20070291686A1 (en) Wimax network, wimax network element, and method of handling qos requirements therein
CN1433617A (en) Dynamic upgrade of quality of service in packet switched network
CN101047950A (en) Method for allocating default load in 3GPP evolution network
CN101047982A (en) Method of gateway transport

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted