The invention discloses a method and a device for controlling data attachment, which are applied to the field of communication technology. The data attachment control method provided by the embodiment of the invention includes obtaining the current call link state when receiving the instruction information of the data attachment request failed by the sub card in the preset environment. When the call link state is idle, the data attachment request of the sub card is interrupted to determine whether the master card initiates a network request. If the master card initiates a network request, the master card is controlled to initiate a data attachment request. The Deputy card data attached after the failure of the communication link state is idle when interrupt vice card have been launched data attachment request, judging whether the current request of the main card network, if the main card network request, the priority control of the main card initiated data attachment request, the user through the main card meet the needs of the Internet, will not be call a network request Deputy card at the end of the call attachment block, enhance the user experience.
【技术实现步骤摘要】
数据附着的控制方法和装置
本专利技术属于通信
,具体而言,涉及数据附着的控制方法和装置。
技术介绍
当前双卡双待单通的全网通手机,因为其仅配置有一根天线,副卡或者主卡进行通话业务时,主卡和副卡均不能使用数据发起网络请求,即是在主卡或者副卡通话期间,用户不能上网和收发彩信。若主卡或者副卡进行通话时,副卡需要使用数据上网或者接收彩信,此时副卡会发起数据附着请求。由于此时通话链路为忙碌状态,因此附着请求失败,副卡会再次发起数据附着请求。通话结束后,数据暂时回到主卡,但是由于此时网络请求已执行电话标记不是主卡的电话标记,因此主卡数据不能恢复。主卡没有数据,用户就不能上网,用户体验较差。
技术实现思路
本专利技术的目的在于提供数据附着的控制方法和装置,以改善上述的问题。本专利技术实施例提供的一种数据附着的控制方法,应用于设置双SIM卡的通信设备,所述双SIM卡包括主卡和副卡。所述方法包括:在接收到所述副卡在预设环境中的数据附着请求失败的指示信息时,获取当前的通话链路状态,当所述通话链路状态为空闲状态时,中断所述副卡的数据附着请求,判断所述主卡是否发起网络请求。如果所述主卡发起网络请求,控制所述主卡发起数据附着请求。本专利技术实施例提供的一种数据附着的控制装置,应用于设置双SIM卡的通信设备,所述双SIM卡包括主卡和副卡。所述装置包括:通话链路状态获取模块,用于在接收到所述副卡在预设环境中的数据附着请求失败的指示信息时,获取当前的通话链路状态。判断模块,用于当所述通话链路状态为空闲状态时,中断所述副卡的数据附着请求,判断所述主卡是否发起网络请求。数据附着请求控制模块 ...
【技术保护点】
一种数据附着的控制方法,其特征在于,应用于设置双SIM卡的通信设备,所述双SIM卡包括主卡和副卡,所述方法包括:在接收到所述副卡在预设环境中的数据附着请求失败的指示信息时,获取当前的通话链路状态;当所述通话链路状态为空闲状态时,中断所述副卡的数据附着请求,判断所述主卡是否发起网络请求;如果所述主卡发起网络请求,控制所述主卡发起数据附着请求。
【技术特征摘要】
1.一种数据附着的控制方法,其特征在于,应用于设置双SIM卡的通信设备,所述双SIM卡包括主卡和副卡,所述方法包括:在接收到所述副卡在预设环境中的数据附着请求失败的指示信息时,获取当前的通话链路状态;当所述通话链路状态为空闲状态时,中断所述副卡的数据附着请求,判断所述主卡是否发起网络请求;如果所述主卡发起网络请求,控制所述主卡发起数据附着请求。2.根据权利要求1所述的方法,其特征在于,在接收到所述副卡在预设环境中的数据附着请求失败的指示信息时,获取当前的通话链路状态的步骤包括:在接收到所述副卡在通话过程中发起的数据附着请求失败的指示信息时,获取当前的通话链路状态。3.根据权利要求2所述的方法,其特征在于,控制所述主卡发起数据附着请求的步骤之后,所述方法还包括:如果所述主卡发起的数据附着请求执行成功,发起数据拨号流程;如果所述数据拨号流程执行成功,执行所述主卡的网络请求。4.根据权利要求2所述的方法,其特征在于,获取当前的通话链路状态的步骤之后,所述方法还包括:当所述通话链路状态为忙碌状态时,监控所述通话链路状态;在监控到所述通话链路状态转换为空闲状态时,执行判断所述主卡是否发起网络请求的步骤。5.根据权利要求2所述的方法,其特征在于,判断所述主卡是否发起网络请求的步骤之后,所述方法还包括:如果所述主卡未发起网络请求,判断所述副卡是否发起网络请求;如果所述副卡发起网络请求,控制所述副卡发起数...
【专利技术属性】
技术研发人员:周汉心,
申请(专利权)人:深圳市万普拉斯科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。