













技术领域technical field
本申请涉及通信技术领域,特别涉及一种业务处理方法和双卡双待电子设备。The present application relates to the field of communication technologies, and in particular, to a service processing method and a dual-card dual-standby electronic device.
背景技术Background technique
随着互联网的发展和普及,提供互联网服务的OTT(Over The Top)商越来越多,接入互联网的电子设备也越来越多。接入互联网的电子设备除了传统的个人计算机(personal computer,PC)外,还包括近些年爆发式增长的移动终端,例如手机、平板电脑等。另外,随着接入互联网的电子设备越来越多,以及电子设备访问互联网的频率越来越高,用户在使用电子设备的过程中,对电子设备访问互联网时的网络连接速度和上网时延等要求也越来越高。With the development and popularization of the Internet, more and more OTT (Over The Top) providers provide Internet services, and more and more electronic devices are connected to the Internet. In addition to a traditional personal computer (personal computer, PC), electronic devices connected to the Internet also include mobile terminals that have exploded in recent years, such as mobile phones and tablet computers. In addition, as more and more electronic devices are connected to the Internet and the frequency of electronic devices accessing the Internet is getting higher and higher, in the process of using electronic devices, users will be more concerned about the network connection speed and Internet access delay when electronic devices access the Internet. The requirements are getting higher and higher.
电子设备(例如手机)可以通过电子设备中安装的用户卡进行互联网访问以实现上网业务,用户卡例如可以是客户识别模块(Subscriber Identity Module,SIM)卡。对于电子设备,目前很多电子设备为双卡双待电子设备,在双卡双待电子设备的使用过程中,双卡双待电子设备存在无法充分利用双卡的业务承载能力的问题。An electronic device (such as a mobile phone) can access the Internet through a user card installed in the electronic device to implement Internet services, and the user card can be, for example, a Subscriber Identity Module (SIM) card. For electronic devices, many electronic devices currently are dual-card dual-standby electronic devices. During the use of the dual-card dual-standby electronic device, the dual-card dual-standby electronic device cannot fully utilize the service carrying capacity of the dual-card dual-standby electronic device.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种业务处理方法和双卡双待电子设备,该业务处理方法可以应用于双卡双待电子设备,使得双卡双待电子设备可以选择更为合适的用户卡进行上网业务,以及可以更为充分和合理地利用双卡的业务承载能力,提供更高的业务质量,以提高用户的上网体验感。The present application provides a service processing method and a dual-card dual-standby electronic device, and the service processing method can be applied to a dual-card dual-standby electronic device, so that the dual-card dual-standby electronic device can select a more suitable user card for Internet access services, And it can make full and reasonable use of the service carrying capacity of the dual-card, provide higher service quality, and improve the user's sense of surfing the Internet.
为解决上述技术问题,第一方面,本申请的实施方式提供了一种业务处理方法,应用于双卡双待电子设备,双卡双待电子设备包括第一用户卡和第二用户卡,该方法包括:通过第一用户卡进行上网业务;获取第一用户卡的第一带宽和第二用户卡的第二带宽;根据第一带宽和第二带宽的大小选择第一用户卡和第二用户卡中的至少一个用户卡进行上网业务。In order to solve the above technical problems, in the first aspect, the embodiments of the present application provide a service processing method, which is applied to a dual-card dual-standby electronic device, where the dual-card dual-standby electronic device includes a first user card and a second user card, the The method includes: performing Internet access services through a first user card; acquiring a first bandwidth of the first user card and a second bandwidth of a second user card; selecting the first user card and the second user card according to the size of the first bandwidth and the second bandwidth At least one user card in the cards conducts Internet access services.
双卡双待电子设备获取第一用户卡的第一带宽和第二用户卡的第二带宽,根据第一用户卡和第二用户卡的带宽大小,选择合适的用户卡进行上网,以满足上网需求,可以避免用户卡由于带宽不足而不能满足上网需求的问题,可以提高用户的体验感。并且双卡双待电子设备可以同时使用第一用户卡和第二用户卡进行上网业务,达到DSDA模式的效果,可以更为充分和准确地利用双卡的业务承载能力,提供更高的业务质量,以提高用户的体验感。本申请还公开了一种双卡双待电子设备。The dual-card dual-standby electronic device obtains the first bandwidth of the first user card and the second bandwidth of the second user card, and selects an appropriate user card to access the Internet according to the bandwidths of the first user card and the second user card, so as to meet the needs of the Internet access. It can avoid the problem that the user card cannot meet the Internet access demand due to insufficient bandwidth, and can improve the user experience. In addition, the dual-card dual-standby electronic device can use the first user card and the second user card for Internet access services at the same time, achieving the effect of the DSDA mode, and can more fully and accurately utilize the service carrying capacity of the dual cards to provide higher service quality. , to improve the user experience. The present application also discloses a dual-card dual-standby electronic device.
在上述第一方面的一种可能的实现中,第一用户卡和第二用户卡可以是SIM卡、eSIM卡等用于上网业务的数据卡。In a possible implementation of the above-mentioned first aspect, the first user card and the second user card may be a SIM card, an eSIM card, or other data cards used for Internet access services.
在上述第一方面的一种可能的实现中,根据第一带宽和第二带宽的大小选择第一用户卡和第二用户卡中的至少一个用户卡进行上网业务,包括:若BW1≥N×BW2,选择第一用户卡进行上网业务,其中,BW1为第一带宽,BW2为第二带宽,N为大于1的任意数;若BW2≥N×BW1,选择第二用户卡进行上网业务;若K(BW1)×BW1+K(BW2)×BW2≥N×BW1,选择第一用户卡和第二用户卡同时进行上网业务,其中K()为双卡双待电子设备的用户卡切换引起的与用户卡的带宽成反相关的缩放因子函数。In a possible implementation of the above-mentioned first aspect, selecting at least one user card of the first user card and the second user card to perform Internet access services according to the size of the first bandwidth and the second bandwidth, including: if BW1≥N× BW2, select the first user card for Internet access services, where BW1 is the first bandwidth, BW2 is the second bandwidth, and N is any number greater than 1; if BW2≥N×BW1, select the second user card for Internet access services; if K(BW1)×BW1+K(BW2)×BW2≥N×BW1, select the first user card and the second user card to perform Internet access services at the same time, where K() is the user card switching of the dual-card dual-standby electronic device. A scaling factor function inversely related to the bandwidth of the user card.
通过前述的用户卡选择方式,可以方便、快速地确定用于进行上网业务的用户卡,提高用户的上网体验。Through the foregoing user card selection method, the user card used for the Internet access service can be determined conveniently and quickly, thereby improving the user's Internet access experience.
在上述第一方面的一种可能的实现中,获取第二用户卡的第二带宽包括:创建用于探测第二带宽的探测业务数据;根据探测业务数据进行无线资源调度,并根据无线资源调度信息确定第二带宽。In a possible implementation of the above-mentioned first aspect, acquiring the second bandwidth of the second user card includes: creating probe service data for detecting the second bandwidth; performing radio resource scheduling according to the probe service data, and scheduling radio resources according to the radio resource scheduling. The information determines the second bandwidth.
在上述第一方面的一种可能的实现中,双卡双待电子设备可以在Modem层探测第二用户卡的第二带宽,通过创建的探测业务数据进行无线资源调度可以方便、快速地实现第二用户卡的第二带宽的探测。并且根据无线资源调度信息确定第二带宽,使得第二带宽的探测时间开销非常小,通常低于1s,可以实现快速、准确地探测第二用户卡的第二带宽。In a possible implementation of the above-mentioned first aspect, the dual-card dual-standby electronic device can detect the second bandwidth of the second user card at the Modem layer, and the wireless resource scheduling through the created detection service data can conveniently and quickly realize the first bandwidth. Probing of the second bandwidth of the two user cards. And the second bandwidth is determined according to the radio resource scheduling information, so that the detection time overhead of the second bandwidth is very small, usually less than 1s, and the second bandwidth of the second user card can be quickly and accurately detected.
在上述第一方面的一种可能的实现中,方法还包括通过以下方式计算带宽:BW=R(tr)×F(TBS,rp,d),其中,tr为调度请求响应时间,TBS为调度数据块大小,rp为调度填充占比,d为调度时间密度;R()为反相关函数,F()为正相关函数。In a possible implementation of the above first aspect, the method further includes calculating the bandwidth in the following manner: BW=R(tr)×F(TBS,rp,d), where tr is the scheduling request response time, and TBS is the scheduling request The size of the data block, rp is the scheduling filling ratio, d is the scheduling time density; R() is an inverse correlation function, and F() is a positive correlation function.
在上述第一方面的一种可能的实现中,该方法还包括:通过第一用户卡进行上网业务的过程中实时获取第一用户卡的第一带宽;若满足预设的带宽探测条件,获取第二用户卡的第二带宽。In a possible implementation of the above-mentioned first aspect, the method further includes: acquiring the first bandwidth of the first user card in real time during the process of performing the Internet service through the first user card; if the preset bandwidth detection conditions are met, acquiring The second bandwidth of the second user card.
在上述第一方面的一种可能的实现中,该方法还包括:获取第一用户卡的业务质量信息;根据业务质量信息确定业务质量以判断是否满足带宽探测条件。In a possible implementation of the above-mentioned first aspect, the method further includes: acquiring service quality information of the first user card; and determining service quality according to the service quality information to judge whether a bandwidth detection condition is satisfied.
在通过第一用户卡上网业务的过程中,根据第一用户卡进行上网业务的业务数据的无线资源调度信息可以确定第一用户卡的第一带宽,若第一用户卡的业务质量不佳,则可以认为满足带宽探测条件,即此时为第二用户卡的带宽的探测时机,则获取第二用户卡的第二带宽,并选择进行上网业务的用户卡。另外,由于此时作为默认数据账户的第一用户卡的业务较为空闲或业务质量较差,那么将作为射频资源的探测业务数据切到第二用户卡进行短暂探测,对第一用户卡的上网业务的影响是不大的。另外由于探测业务数据可以发往第二用户卡的本地IP,并不会增加第二用户卡的流量计费。In the process of surfing the Internet through the first user card, the first bandwidth of the first user card can be determined according to the wireless resource scheduling information of the service data of the first user card performing the Internet access service. If the service quality of the first user card is not good, Then, it can be considered that the bandwidth detection condition is satisfied, that is, it is the detection opportunity of the bandwidth of the second user card, then the second bandwidth of the second user card is acquired, and the user card that performs the Internet service is selected. In addition, because the service of the first user card as the default data account is relatively idle or the service quality is poor at this time, the detection service data as radio frequency resources is switched to the second user card for short detection, and the Internet access of the first user card is detected. The business impact is minimal. In addition, since the detection service data can be sent to the local IP of the second user card, the traffic charge of the second user card will not be increased.
在上述第一方面的一种可能的实现中,第一用户卡的业务质量信息包括以下信息中的至少一项:业务数据传输信息;信号强度信息;网络接入技术信息。其中,业务数据传输信息为进行上网业务的过程中上行业务数据的传输信息和/或下行业务数据的传输信息,网络接入技术信息例如可以是指3G、4G、5G等。In a possible implementation of the above-mentioned first aspect, the service quality information of the first user card includes at least one of the following information: service data transmission information; signal strength information; network access technology information. The service data transmission information is the transmission information of uplink service data and/or the transmission information of downlink service data in the process of Internet service, and the network access technology information may refer to 3G, 4G, 5G, etc., for example.
在上述第一方面的一种可能的实现中,若业务数据传输信息包括上行业务数据传输参数和下行业务数据传输参数,该方法还包括:若预设的统计时间内上行业务数据传输参数大于预设的第一阈值,且下行业务数据传输参数小于预设的第二阈值,则确定满足带宽探测条件。In a possible implementation of the above-mentioned first aspect, if the service data transmission information includes uplink service data transmission parameters and downlink service data transmission parameters, the method further includes: if the uplink service data transmission parameters within a preset statistical time are greater than a predetermined value The preset first threshold value, and the downlink service data transmission parameter is less than the preset second threshold value, it is determined that the bandwidth detection condition is satisfied.
在上述第一方面的一种可能的实现中,上行业务数据传输参数包括上行业务数据重传的重传空闲窗口、重传会话数、重传会话占比中的至少一个;下行业务数据传输参数包括下行业务数据的密度速率、数量中的至少一个。In a possible implementation of the above-mentioned first aspect, the uplink service data transmission parameters include at least one of a retransmission idle window for uplink service data retransmission, the number of retransmission sessions, and the proportion of retransmission sessions; the downlink service data transmission parameters Including at least one of density rate and quantity of downlink service data.
在上述第一方面的一种可能的实现中,该方法还包括:按照预设的带宽探测周期获取第一用户卡的第一带宽,以及获取第二用户卡的第二带宽。带宽探测周期可以根据需要进行设置,例如可以是0.5h或者1h等。In a possible implementation of the above-mentioned first aspect, the method further includes: acquiring the first bandwidth of the first user card according to a preset bandwidth detection period, and acquiring the second bandwidth of the second user card. The bandwidth detection period can be set as required, for example, it can be 0.5h or 1h.
在上述第一方面的一种可能的实现中,该方法还包括:双卡双待电子设备开机启动,为第一用户卡创建用于第一用户卡与互联网之间进行业务数据传输的第一数据通道,为第二用户卡创建用于第二用户卡与互联网之间进行业务数据传输的第二数据通道;或者双卡双待电子设备开机启动,为第一用户卡创建用于第一用户卡与互联网之间进行业务数据传输的第一数据通道;若满足预设的带宽探测条件,为第二用户卡创建用于第二用户卡与互联网之间进行业务数据传输的第二数据通道。In a possible implementation of the above-mentioned first aspect, the method further includes: starting the dual-card dual-standby electronic device, and creating a first user card for the first user card for service data transmission between the first user card and the Internet. A data channel, creating a second data channel for the second user card for business data transmission between the second user card and the Internet; or the dual-card dual-standby electronic device is powered on to create a first user card for the first user A first data channel for business data transmission between the card and the Internet; if the preset bandwidth detection conditions are met, a second data channel for business data transmission between the second user card and the Internet is created for the second user card.
双卡双待电子设备可以在开机时为第一用户卡的第二用户卡皆创建数据通道,可以满足用户卡切换时对数据通道的需求。或者双卡双待电子设备也可以根据进行上网业务的用户卡,为该进行上网业务的用户卡创建数据通道。The dual-card dual-standby electronic device can create data channels for both the first user card and the second user card when the device is turned on, which can meet the data channel requirements when the user cards are switched. Alternatively, the dual-card dual-standby electronic device can also create a data channel for the user card that performs the Internet service according to the user card that performs the Internet service.
第二方面,本申请的实施方式提供了一种双卡双待电子设备,包括:用于上网业务的第一用户卡;用于上网业务的第二用户卡;存储器,用于存储程序指令;处理器,用于获取第一用户卡的第一带宽,以及获取第二用户卡的第二带宽,并根据第一带宽和第二带宽的大小选择第一用户卡和第二用户卡中的至少一个用户卡进行上网业务。In a second aspect, the embodiments of the present application provide a dual-card dual-standby electronic device, including: a first user card used for Internet access services; a second user card used for Internet access services; a memory for storing program instructions; The processor is configured to obtain the first bandwidth of the first user card and the second bandwidth of the second user card, and select at least one of the first user card and the second user card according to the size of the first bandwidth and the second bandwidth A user card conducts Internet access services.
本申请提供的双卡双待电子设备,用于执行上述第一方面和/或第一方面的任意一种可能的实现方式所提供的业务处理方法,因此也能实现第一方面提供的业务处理方法所具备的有益效果(或优点)。The dual-card dual-standby electronic device provided by the present application is used to execute the first aspect and/or the service processing method provided by any possible implementation manner of the first aspect, and thus can also implement the service processing provided by the first aspect. The beneficial effect (or advantage) provided by the method.
第三方面,本申请的实施方式提供了一种芯片,包括:存储器,用于存储程序指令;处理器,处理器与存储器耦合,用于执行程序指令,以使芯片执行如上述第一方面和/或第一方面的任意一种可能的实现方式所提供的业务处理方法。In a third aspect, embodiments of the present application provide a chip, including: a memory for storing program instructions; a processor, where the processor is coupled to the memory and used for executing the program instructions, so that the chip performs the above-mentioned first aspect and /or the service processing method provided by any possible implementation manner of the first aspect.
第四方面,本申请的实施方式提供了一种计算机可读取存储介质,其特征在于,计算机可读取存储介质存储有计算机程序,计算机程序包括程序指令,程序指令被计算机运行以使计算机执行如上述第一方面和/或第一方面的任意一种可能的实现方式所提供的业务处理方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the program instructions are executed by a computer to cause the computer to execute The service processing method provided by the first aspect and/or any one possible implementation manner of the first aspect.
可以理解的是,上述第二方面至第四方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the foregoing second aspect to the fourth aspect, reference may be made to the relevant descriptions in the foregoing first aspect, and details are not described herein again.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施方式描述中所使用的附图作简单介绍。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings used in the description of the embodiments will be briefly introduced below.
图1示出了一种双SIM卡手机的结构示意图;Fig. 1 shows the structural representation of a kind of dual SIM card mobile phone;
图2是根据本申请的一些实施方式,示出了本申请提供的手机的结构示意图;2 is a schematic structural diagram of a mobile phone provided by the present application according to some embodiments of the present application;
图3是根据本申请的一些实施方式,示出了本申请提供的一种通信系统的示意图;3 is a schematic diagram illustrating a communication system provided by the present application according to some embodiments of the present application;
图4A是根据本申请的一些实施方式,示出了本申请提供的一种业务处理方法流程示意图;FIG. 4A is a schematic flowchart of a service processing method provided by the present application according to some embodiments of the present application;
图4B是根据本申请的一些实施方式,示出了本申请提供的手机100确定进行上网业务的SIM卡的过程示意图;4B is a schematic diagram illustrating a process of determining a SIM card for Internet access service provided by the
图4C是根据本申请的一些实施方式,示出了本申请提供的手机100确定进行上网业务的SIM卡的另一种过程示意图;4C is a schematic diagram illustrating another process of determining the SIM card for the Internet service by the
图5是根据本申请的一些实施方式,示出了不同类型的手机在不同的用卡状态下的蜂窝下载速率示意图;5 is a schematic diagram illustrating cellular download rates of different types of mobile phones under different card usage states according to some embodiments of the present application;
图6A-6C是根据本申请的一些实施方式,示出了一些手机100的显示界面示意图;6A-6C are schematic diagrams showing display interfaces of some
图7是根据本申请的一些实施方式,示出了本申请提供的另一种通信系统的示意图;7 is a schematic diagram illustrating another communication system provided by the present application according to some embodiments of the present application;
图8是根据本申请的一些实施方式,示出了本申请提供的另一种业务处理方法流程示意图;FIG. 8 is a schematic flowchart illustrating another business processing method provided by the present application according to some embodiments of the present application;
图9是根据本申请的一些实施例,示出了一种电子设备的结构示意图;FIG. 9 is a schematic structural diagram of an electronic device according to some embodiments of the present application;
图10是根据本申请的一些实施例,示出了一种片上系统(SoC)的结构示意图。FIG. 10 is a schematic structural diagram of a system on a chip (SoC) according to some embodiments of the present application.
具体实施方式Detailed ways
下面将结合附图对本申请的技术方案作进一步清楚、完整地描述。The technical solutions of the present application will be further clearly and completely described below with reference to the accompanying drawings.
电子设备可以通过电子设备中安装的用户卡进行互联网访问以实现上网业务。其中,电子设备例如可以是手机、个人计算机、平板电脑、笔记本电脑、手持计算机、上网本等移动终端设备,也可以是电视、超级移动个人计算机(ultra-mobile personal computer,UMPC)、个人数字助理(personal digital assistant,PDA)、可穿戴设备、虚拟现实设备、客户终端设备(Customer Premise Equipment,CPE)等设备。用户卡可以是SIM卡,也可以是全球用户识别卡(Universal Subscriber Identity Module,USIM)、嵌入式SIM卡(Embedded-SIM,eSIM)等其他类型的用户卡。The electronic device can access the Internet through the user card installed in the electronic device to realize Internet access services. The electronic device may be, for example, a mobile terminal device such as a mobile phone, a personal computer, a tablet computer, a notebook computer, a handheld computer, a netbook, etc., or a television, an ultra-mobile personal computer (UMPC), a personal digital assistant ( personal digital assistant, PDA), wearable equipment, virtual reality equipment, customer terminal equipment (Customer Premise Equipment, CPE) and other equipment. The user card may be a SIM card, or may be a universal subscriber identity module (Universal Subscriber Identity Module, USIM), an embedded SIM card (Embedded-SIM, eSIM) and other types of user cards.
下面以电子设备为手机,用户卡为SIM卡为例,说明本申请的多种实现方式以及具体实施例。The following describes various implementation manners and specific embodiments of the present application by taking the electronic device as a mobile phone and the user card as a SIM card as an example.
请参见图1,图1示出了一种同时设置有第一SIM卡和第二SIM卡的双SIM卡手机。当前,市场上的双SIM卡手机已经占比手机总数量的80%以上,使用双SIM卡手机的用户数也接近使用手机的用户数的40%。双SIM卡手机通常支持双卡双通(Dual SIM dual active,DSDA)模式或双卡双待(Dual SIM dual standy,DSDS)模式,其中绝大部分双SIM卡手机都支持DSDS模式,而DSDA模式的支持率不到10%。Please refer to FIG. 1. FIG. 1 shows a dual SIM card mobile phone provided with a first SIM card and a second SIM card at the same time. At present, dual-SIM-card mobile phones on the market have accounted for more than 80% of the total number of mobile phones, and the number of users using dual-SIM card mobile phones is also close to 40% of the number of users using mobile phones. Mobile phones with dual SIM cards usually support dual SIM dual active (DSDA) mode or dual SIM dual standby (DSDS) mode. Most of the dual SIM card mobile phones support DSDS mode, while DSDA mode The approval rating is less than 10%.
相比于DSDA模式的手机,DSDS模式的手机同一时间只能使用其中一张SIM卡进行上网业务(上网业务也可以称为上网数据业务,或者数据业务),并不能实现双卡上网业务的并发功能,使得手机无法提供更高的业务质量。Compared with mobile phones in DSDA mode, mobile phones in DSDS mode can only use one of the SIM cards for Internet access services at the same time (Internet access services can also be called Internet data services, or data services), and cannot achieve concurrent dual-card Internet access services. function, making the mobile phone unable to provide higher service quality.
虽然DSDS模式的手机不能进行双卡上网业务的并发,但涉及双卡的搜网注册、位置区更新等刚性协议流程的进行,以及双卡的信令消息仍是可以在双卡上进行发送和接收的。例如手机通过单一射频通道的类似单刀双掷机制进行双卡切换以实现双卡的信令发送和接收,可以达到时分并发效果。Although the mobile phone in DSDS mode cannot perform concurrent dual-SIM Internet access services, the rigid protocol processes involving dual-SIM Internet search registration, location area update, etc., and dual-SIM signaling messages can still be sent and received on the dual-SIM. received. For example, a mobile phone performs dual-card switching through a single-RF channel-like SPDT mechanism to achieve dual-card signaling transmission and reception, which can achieve time-division concurrency.
近年来,对于DSDS模式的手机,一些芯片商通过单一射频通道的时分机制实现了不同种类业务的“双卡并发”。例如手机中的第一SIM卡作为默认数据账户进行上网业务,第二SIM卡进行VoLTE(Voice over LTE)通话业务。这种方式,第一SIM卡的上网速率和上网时延是大打折扣的,即第一SIM卡的上网速率会降低,上网时延会变大。另外,双卡业务方案仍然是在单射频通道模型下切换默认数据账户的方案,同一时间,手机中的同一个应用程序(Application,APP)要么只能在第一SIM卡进行业务,要么只能在第二SIM卡进行业务,手机并未实现真正的双卡上网业务并发。手机无法充分利用双卡的业务承载能力,无法提供更高的业务质量。In recent years, for mobile phones in DSDS mode, some chip manufacturers have realized "dual card concurrency" of different types of services through the time division mechanism of a single radio frequency channel. For example, the first SIM card in the mobile phone is used as the default data account to perform Internet access services, and the second SIM card is used for VoLTE (Voice over LTE) call services. In this way, the Internet access rate and Internet access delay of the first SIM card are greatly reduced, that is, the Internet access rate of the first SIM card will decrease, and the Internet access delay will increase. In addition, the dual-card business solution is still the solution of switching the default data account under the single RF channel model. At the same time, the same application (Application, APP) in the mobile phone can only perform services on the first SIM card, or can only perform services on the first SIM card. The mobile phone does not realize the real concurrent dual-SIM Internet access service when conducting business on the second SIM card. Mobile phones cannot make full use of the service carrying capacity of dual SIM cards and cannot provide higher service quality.
另外,手机在进行第一SIM卡和第二SIM卡的上网切换时,需要进行默认数据账户切换。默认数据账户的切换可以由用户手动操作手机实现,也可以由手机自动操作实现。默认数据账户的切换需要几秒到几十秒的时间,这段时间内应用程序的上网业务会发生中断,并且在新确定的默认数据账户上恢复上网业务等待的时间较长,会影响用户的使用体验。In addition, when the mobile phone switches the Internet between the first SIM card and the second SIM card, it needs to switch the default data account. The switching of the default data account can be realized by the user manually operating the mobile phone, or it can be realized by the automatic operation of the mobile phone. It takes a few seconds to tens of seconds to switch the default data account. During this time, the Internet service of the application will be interrupted, and it will take a long time to restore the Internet service on the newly determined default data account, which will affect the user's Use experience.
进一步地,对于手机自动切换(即非用户手动切换)默认数据账户的场景。手机是在切换默认数据账户之前,通过作为默认数据账户的第一SIM卡的信号强度、业务数据的往返时间(Round-TripTime,RTT)和速率信息(即业务数据在内核层传输的速率信息)来确定第一SIM卡的业务质量。而对第二SIM卡的业务质量只能通过第二SIM卡的网络接入技术(网络接入技术例如可以是基于第三代移动通信技术(3rd-Generation,3G)、基于第四代移动通信技术(4rd-Generation,4G)等)和信号强度来粗略判断。这种情况下,因为上网业务只在第一SIM卡上进行,第二SIM卡无业务数据(业务数据也可以称为业务数据,或者业务数据包)采样信息,因此手机无法准确得知第二SIM卡的带宽能力。手机因无法准确得知第二SIM卡的带宽能力,则无法保证使用第二SIM卡进行上网业务的业务质量。如果手机确定当前所使用的进行上网业务的第一SIM卡的业务质量差,而将第二SIM卡切换为默认数据账户,存在第二SIM卡由于带宽较小而提供的业务质量更差的情况,使得手机无法提供更好的业务质量,影响用户的体验,并且还可能使用户的体验更差。Further, for the scenario in which the mobile phone automatically switches (that is, the user does not manually switch) the default data account. Before switching the default data account, the mobile phone passes the signal strength of the first SIM card as the default data account, the round-trip time (Round-TripTime, RTT) of the service data and the rate information (that is, the rate information of the service data transmitted at the kernel layer) to determine the quality of service of the first SIM card. However, the service quality of the second SIM card can only be obtained through the network access technology of the second SIM card (for example, the network access technology may be based on the third-generation mobile communication technology (3rd-Generation, 3G), based on the fourth-generation mobile communication technology technology (4rd-Generation, 4G, etc.) and signal strength to make a rough judgment. In this case, because the Internet access service is only performed on the first SIM card, and the second SIM card has no service data (service data may also be called service data, or service data packets) sampling information, the mobile phone cannot accurately know the second SIM card. The bandwidth capability of the SIM card. Since the mobile phone cannot accurately know the bandwidth capability of the second SIM card, the service quality of the Internet service using the second SIM card cannot be guaranteed. If the mobile phone determines that the service quality of the first SIM card currently used for Internet access service is poor, and switches the second SIM card to the default data account, there is a situation that the second SIM card provides worse service quality due to the small bandwidth. , making the mobile phone unable to provide better service quality, affecting the user's experience, and may also make the user's experience worse.
综上,当前的DSDS模式的手机存在无法充分利用双卡的业务承载能力的问题,以及无法提供更好的业务质量,影响用户体验的问题。To sum up, the current DSDS mode mobile phone has the problem of not being able to fully utilize the service carrying capacity of dual SIM cards, and cannot provide better service quality, which affects the user experience.
本申请提供一种应用于DSDS模式的手机的业务处理方法,手机包括第一SIM卡和第二SIM卡。在手机开机启动后,手机激活每张SIM卡的数据连接,例如在2G和3G网络下手机激活每张SIM卡的分组数据协议(Packet Data Protocol,PDP)连接,或者在4G网络下手机激活每张SIM卡的公用数据网(Public Data Network,PDN)网连接,或者在5G网络下手机激活每张SIM卡的协议数据单元(Protocol Data Unit,PDU)会话连接等。并且手机为每张SIM卡各自都创建一个用于SIM卡与互联网之间传输上网业务的业务数据(业务数据也可以称为业务报文)的数据通道,例如为第一SIM卡创建第一数据通道,为第二SIM卡创建第二数据通道,以形成双数据通道。其中,第一数据通道和第二数据通道分别可以是网际互连协议(Internet Protocol,IP)数据通道。业务数据可以是手机中的应用与互联网中用于支持该应用的应用服务器之间传输的IP数据包。The present application provides a service processing method applied to a mobile phone in a DSDS mode, where the mobile phone includes a first SIM card and a second SIM card. After the mobile phone is turned on, the mobile phone activates the data connection of each SIM card, for example, the mobile phone activates the Packet Data Protocol (PDP) connection of each SIM card under the 2G and 3G networks, or the mobile phone activates each SIM card under the 4G network. A SIM card is connected to a Public Data Network (PDN) network, or a mobile phone activates a Protocol Data Unit (PDU) session connection of each SIM card under a 5G network. And the mobile phone creates a data channel for each SIM card for transmitting service data (service data can also be referred to as service messages) of Internet access services between the SIM card and the Internet, for example, creating first data for the first SIM card. channel, creating a second data channel for the second SIM card to form a dual data channel. The first data channel and the second data channel may be Internet Protocol (Internet Protocol, IP) data channels respectively. The service data may be IP data packets transmitted between an application in the mobile phone and an application server in the Internet for supporting the application.
另外,手机可以将第一SIM卡作为用于进行上网业务的默认数据账户,将第二SIM卡作为非默认数据账户。对于手机的用户层而言,默认数据账户仍然只是第一SIM卡一张SIM卡,手机中的Modem射频资源也将主要供给第一SIM卡,即手机在开机启动后,手机默认进行上网业务的业务数据通过第一SIM卡对应的第一数据通道进行传输。In addition, the mobile phone may use the first SIM card as a default data account for performing Internet services, and use the second SIM card as a non-default data account. For the user layer of the mobile phone, the default data account is still only the first SIM card, and the Modem radio frequency resources in the mobile phone will also be mainly supplied to the first SIM card. The service data is transmitted through the first data channel corresponding to the first SIM card.
手机在通过第一SIM卡进行上网业务的过程中,手机可以确定第一SIM卡的业务质量是否满足当前的上网需求。若第一SIM卡的业务质量不能满足当前的上网需求,手机可以根据获取的第一SIM卡的第一带宽和第二SIM卡的第二带宽,从第一SIM卡和第二SIM卡中选择合适的SIM卡进行上网业务。During the process of the mobile phone performing the Internet access service through the first SIM card, the mobile phone can determine whether the service quality of the first SIM card meets the current Internet access requirement. If the service quality of the first SIM card cannot meet the current Internet access requirements, the mobile phone can select from the first SIM card and the second SIM card according to the obtained first bandwidth of the first SIM card and the second bandwidth of the second SIM card Appropriate SIM card for Internet services.
例如,若手机根据第一SIM卡的第一带宽和第二SIM卡的第二带宽,确定第一SIM卡的第一带宽远远大于第二SIM卡的第二带宽,手机确定继续使用第一SIM卡进行上网业务,即使用第一SIM卡对应的第一数据通道进行业务数据的传输。若手机确定第二SIM卡的第二带宽远远大于第一SIM卡的第一带宽,手机确定使用第二SIM卡进行上网业务,即使用第二SIM卡对应的第二数据通道进行业务数据的传输。否则,若第一SIM卡的第一带宽和第二SIM卡的第二带宽的合成带宽远远大于第一SIM卡的第一带宽,手机确定同时使用第一SIM卡和第二SIM卡进行上网业务,即同时使用第一数据通道和第二数据通道进行业务数据的传输。For example, if the mobile phone determines, according to the first bandwidth of the first SIM card and the second bandwidth of the second SIM card, that the first bandwidth of the first SIM card is much larger than the second bandwidth of the second SIM card, the mobile phone determines to continue using the first bandwidth of the first SIM card. The SIM card performs the Internet service, that is, the first data channel corresponding to the first SIM card is used to transmit the service data. If the mobile phone determines that the second bandwidth of the second SIM card is far greater than the first bandwidth of the first SIM card, the mobile phone determines to use the second SIM card to perform Internet access services, that is, to use the second data channel corresponding to the second SIM card to perform service data transmission. transmission. Otherwise, if the combined bandwidth of the first bandwidth of the first SIM card and the second bandwidth of the second SIM card is far greater than the first bandwidth of the first SIM card, the mobile phone determines to use the first SIM card and the second SIM card to access the Internet at the same time Service, that is, using the first data channel and the second data channel to transmit service data at the same time.
本申请提供的应用于DSDS模式的手机的业务处理方法,手机在开机启动后,分别为第一SIM卡创建第一数据通道,为第二SIM卡创建第二数据通道,可以很好地满足双卡切换的需求。并且手机可以根据第一SIM卡的第一带宽和第二SIM卡的第二带宽从第一SIM卡和第二SIM卡中选择用于进行上网业务的SIM卡,可以使得手机可以根据上网需求和第一SIM卡和第二SIM卡的带宽,选择合适的SIM卡,以满足当前上网需求,提高用户的体验感。In the business processing method applied to a mobile phone in DSDS mode provided by the present application, after the mobile phone is turned on, it creates a first data channel for the first SIM card and a second data channel for the second SIM card, which can well satisfy the dual requirements. Card switching requirements. And the mobile phone can select the SIM card for Internet access service from the first SIM card and the second SIM card according to the first bandwidth of the first SIM card and the second bandwidth of the second SIM card, so that the mobile phone can be used according to Internet access requirements and For the bandwidth of the first SIM card and the second SIM card, select an appropriate SIM card to meet the current Internet access requirements and improve the user experience.
另外,手机同时使用第一SIM卡和第二SIM卡进行上网业务,可以实现DSDS模式的手机的双通道业务数据传输,使得手机可以更为充分和准确地利用双卡的业务承载能力,即使得手机可以更为充分和准确地利用双卡的带宽能力,提供更高的业务质量,提高用户的体验感。In addition, the mobile phone uses the first SIM card and the second SIM card for Internet access services at the same time, which can realize the dual-channel service data transmission of the mobile phone in DSDS mode, so that the mobile phone can more fully and accurately utilize the service carrying capacity of the dual SIM cards, that is, the The mobile phone can more fully and accurately utilize the bandwidth capability of dual SIM cards, provide higher service quality, and improve user experience.
请参见图2,图2是本申请实施例提供的作为示例的一种手机的结构示意图。Please refer to FIG. 2. FIG. 2 is a schematic structural diagram of a mobile phone provided by an embodiment of the present application as an example.
手机可以包括处理器110,外部存储器接口120,内部存储器121,USB接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The mobile phone may include a
可以理解的是,本申请实施例示意的结构并不构成对手机的限定。在本申请实施例另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。It can be understood that the structures illustrated in the embodiments of the present application do not constitute limitations on the mobile phone. In other embodiments of the embodiments of the present application, the mobile phone may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(Application Processor,AP),调制解调处理器,图形处理器(Graphics ProcessingUnit,GPU),图像信号处理器(Image Signal Processor,ISP),控制器,视频编解码器,数字信号处理器(Digital Signal Processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
处理器110可以根据指令操作码和时序信号,产生操作控制信号,完成读取指令和执行指令的控制。The
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(Inter-integrated Circuit,I2C)接口,集成电路内置音频(Inter-integrated CircuitSound,I2S)接口,脉冲编码调制(Pulse Code Modulation,PCM)接口,通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)接口,移动产业处理器接口(Mobile Industry Processor Interface,MIPI),通用输入输出(General-PurposeInput/Output,GPIO)接口,用户标识模块(Subscriber Identity Module,SIM)接口。In some embodiments, the
USB接头130是一种符合USB标准规范的连接器,可以用来连接手机和外围设备,具体可以是标准USB接头(例如Type C接头),Mini USB接头,Micro USB接头等。USB接头130可以用于连接充电器为手机充电,也可以用于手机与外围设备之间传输数据。在一些实施方案中,处理器110可以支持USB,USB的标准规范可以为USB1.x,USB2.0,USB3.x,USB4。The USB connector 130 is a connector conforming to the USB standard specification, which can be used to connect a mobile phone and peripheral devices, and specifically can be a standard USB connector (such as a Type C connector), a Mini USB connector, a Micro USB connector, and the like. The USB connector 130 can be used to connect a charger to charge the mobile phone, and can also be used to transfer data between the mobile phone and peripheral devices. In some embodiments, the
手机的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone can be realized by the
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(lownoise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The
无线通信模块160可以提供应用在手机上的包括WLAN(如Wi-Fi),蓝牙,全球导航卫星系统(Global Navigation Satellite System,GNSS),调频(Frequency Modulation,FM),近距离无线通信技术(Near Field Communication,NFC),红外技术(Infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the mobile phone including WLAN (such as Wi-Fi), Bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (Near) Field Communication, NFC), infrared technology (Infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the
在一些实施例中,手机的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system formobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multipleaccess,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(longterm evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigationsatellite system,GLONASS),北斗卫星导航系统(beidou navigation satellitesystem,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机的各种功能应用以及数据处理。例如执行本申请提供的业务处理方法。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. The
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。手机也可以根据压力传感器180A的检测信号计算触摸的位置。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . The mobile phone can also calculate the touched position according to the detection signal of the pressure sensor 180A.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the mobile phone, which is different from the location where the display screen 194 is located.
请参见图3,本申请的一种实现方式中,提供一种通信系统,该通信系统包括手机100、移动网络(Mobile net)200和互联网(Internet)300。手机100为DSDS模式的手机。Referring to FIG. 3 , in an implementation manner of the present application, a communication system is provided, and the communication system includes a
其中,手机100包括应用处理(Application Processor,AP)层和调制解调(Modem)层。应用层处理层包括APP1、APP2和APP3等多个应用,内核层(例如Kernel net)101,以及与第一SIM卡(图中未示出)对应的第一网络接口卡(Network Interface Card,NIC)102A和与第二SIM卡(图中未示出)对应的第二网络接口卡102B。The
内核层101负责监测手机100中应用进行上网业务的业务数据,因此内核层101可以获取业务数据的传输情况,传输情况包括重传情况。内核层101还包括重传定时器1011和重传收集器1012。The
例如对于手机100中的前台应用APP1,在APP1访问互联网300进行上网业务的过程中,如果手机100当前所使用的作为默认数据账户进行上网业务的第一SIM卡的业务质量,不满足当前上网业务的业务数据传输需求,即不满足当前上网需求,手机100中会发生业务数据上行重传行为。其中,第一SIM卡的业务质量不满足当前上网业务的业务数据传输需求,可以是第一SIM卡信号质量不佳、或者当前上网业务的业务数据量较大,第一SIM卡的带宽不能满足业务数据的传输需求等情况。For example, for the foreground application APP1 in the
手机100中发生业务数据上行重传时,手机100会表现出页面卡顿现象。例如手机100中的视频播放应用出现播放视频暂停的情况、音乐播放应用出现播放音乐暂停的情况、浏览器应用出现无法更新界面的情况等情况。When uplink retransmission of service data occurs in the
手机100中的业务数据上行重传,是由重传定时器1011根据预设的重传时间进行上行业务数据重传。重传收集器1012记录重传定时器1011的起止时间,作为一个重传空闲窗口。另外,重传空闲窗口期内手机100不进行业务数据的重传。如果手机100中存在多业务会话,则重传收集器1012可以记录多个上行重传起止时间,得到多个重传空闲窗口。In the uplink retransmission of the service data in the
另外,重传收集器1012还可以根据应用创建的重传套接字(Socket)数据包的个数得到重传会话数,一个重传套接字数据包对应于一次重传会话。In addition, the
重传收集器1012可以将业务数据上行重传的重传空闲窗口和重传会话数发送给调制解调层。The
手机100的调制解调层包括与第一SIM卡对应的,用于实现第一SIM卡的移动通信功能的第一分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层103A、第一无线链路控制(Radio Link Control,RLC)层104A和第一媒体访问控制(Media AccessControl,MAC)层105A。调制解调层还包括与第二SIM卡对应的,用于实现第二SIM卡的移动通信功能的第二分组数据汇聚协议层103B、第二无线链路控制层104B和第二媒体访问控制层105B。The modulation and demodulation layer of the
调制解调层还包括射频(Radio Frequency,RF)模块106和天线(Antenna,Ant)模块107。天线模块107包括前述图2中的天线1和/或天线2。射频模块106和天线模块107配合用于实现手机100中的电磁波的发射和接收功能,以实现业务数据的发射和接收功能。The modem layer further includes a radio frequency (Radio Frequency, RF)
另外,若手机100中的应用通过第一SIM卡访问互联网300,则应用进行上网业务的业务数据依次通过内核层101、第一网络接口卡102A、第一分组数据汇聚协议层103A、第一无线链路控制层104A、第一媒体访问控制层105A和射频模块106在应用和天线模块107之间传输。若手机100中的应用通过第二SIM卡访问互联网300,则应用进行上网业务的业务数据依次通过内核层101、第二网络接口卡102B、第二分组数据汇聚协议层103B、第二无线链路控制层104B、第二媒体访问控制层105B和射频模块106在应用和天线模块107之间传输。In addition, if the application in the
进一步地,调制解调层包括与第一SIM卡对应的第一带宽(Band Width,BW)探测(Detector)器108A,以及与第二SIM卡对应的第二带宽探测器108B。其中,例如作为默认数据账户的第一SIM卡对应的第一带宽探测器108A可以随着第一SIM卡进行上网业务,实时探测第一SIM卡的第一带宽。作为非默认数据账户的第二SIM卡对应的第二带宽探测器108B可以在满足预设的带宽探测条件时,通过作为射频资源的探测业务数据探测第二SIM卡的第二带宽。带宽探测条件可以是指第一SIM卡的业务质量不能满足当前上网业务的业务数据传输需求。Further, the modem layer includes a first bandwidth (Band Width, BW)
第一带宽探测器108A可以依次通过第一分组数据汇聚协议层103A、第一无线链路控制层104A、第一媒体访问控制层105A和射频模块106获取第一带宽确定信息,并根据第一带宽确定信息确定第一SIM卡的第一带宽。第二带宽探测器108B可以依次通过第二分组数据汇聚协议层103B、第二无线链路控制层104B、第二媒体访问控制层105B和射频模块106获取第二带宽确定信息,并根据第二带宽确定信息确定第二SIM卡的第二带宽。第一带宽确定信息和第二带宽确定信息可以是业务数据传输过程中无线资源调度信息。对于第一带宽探测器108A和第二带宽探测器108B确定各自对应的SIM卡的带宽的过程,将在后文进行详细说明。The
调制解调层还包括第一处理模块109。第一处理模块109用于接收内核层101发送来的重传空闲窗口和重传会话数(作为上行业务数据传输参数的示例,即作为业务质量信息的示例),并且根据重传空闲窗口和重传会话数判断当前是否满足预设的带宽探测条件。若满足,第一处理模块109分别从第一带宽探测器108A获取第一SIM卡的第一带宽,以及从第二带宽探测器108B获取第二SIM卡的第二带宽,并根据第一带宽和第二带宽确定用于进行上网业务的SIM卡。手机100根据确定的进行上网业务的SIM卡对应的数据通道进行业务数据的传输。The modem layer also includes a
本实现方式中,调制解调层也可以称为硬件层。In this implementation manner, the modulation and demodulation layer may also be referred to as a hardware layer.
需要说明的是,在本申请的另一种实现方式中,前述的第一处理模块109的功能可以由前述的处理器110实现。It should be noted that, in another implementation manner of the present application, the functions of the aforementioned
移动网络(Mobile Net)200包括与第一SIM卡对应的接入网包括的第一小区(Cell)201A,以及与第一小区201A对应的第一核心网络(Core Networks,CN)202A,第一小区201A和第一核心网络202A用于为手机100通过第一SIM卡访问互联网300提供无线网络。移动网络200还包括与第二SIM卡对应的接入网包括的第二小区201B,以及与第二小区201B对应的第二核心网202B,第二小区201B和第二核心网202B用于为手机100通过第二SIM卡访问互联网300提供无线网络。另外,与第一SIM卡对应的接入网还包括第一基站(BaseStation,BS)(图中未示出),与第二SIM卡对应的接入网还包括第二基站(图中未示出)。The mobile network (Mobile Net) 200 includes a first cell (Cell) 201A included in an access network corresponding to the first SIM card, and a first core network (Core Networks, CN) 202A corresponding to the first cell 201A. The cell 201A and the
互联网300包括服务器(Sever)301、服务器302和服务器303等多个服务器。其中服务器301、服务器302和服务器303等服务器可以是与前述的手机100中的APP1、APP2、APP3等应用对应的提供应用支持的应用服务器。The
请参见图4A,结合上述的图3,本申请提供的应用于手机100的业务处理方法,包括以下步骤:Please refer to FIG. 4A, in conjunction with the above-mentioned FIG. 3, the service processing method applied to the
S100,手机100开机启动,分别激活第一SIM卡和第二SIM卡的数据连接,例如在2G和3G网络下激活第一SIM卡和第二SIM卡的PDP连接,或者在4G网络下激活第一SIM卡和第二SIM卡的PDN连接等。并且手机100为第一SIM卡创建第一数据通道,为第二SIM卡创建第二数据通道,第一数据通道和第二数据通道分别可以是IP数据通道。手机100默认第一SIM卡作为进行上网业务的默认数据账户。S100, the
S200,手机100使用第一SIM卡进行上网业务,即使用第一SIM卡对应的第一数据通道传输业务数据。手机100中的重传收集器1012获取第一SIM卡进行上网业务过程中业务数据上行重传的重传空闲窗口和重传会话数(作为上行业务数据传输参数的示例,即作为业务质量信息的示例),并将重传空闲窗口和重传会话数发送给第一处理模块109。手机100中的第一带宽探测器108A实时探测第一SIM卡的第一带宽BW1。S200, the
手机100中的重传收集器1012获取第一SIM卡进行上网业务过程中业务数据上行重传的重传空闲窗口和重传会话数包括:对于手机100中的前台应用,例如APP1,APP1访问互联网300的过程中,当APP1访问互联网300的上网业务的业务数据发生上行重传时,手机100中的重传收集器1012记录重传定时器1011的上行重传起止时间,作为一个重传空闲窗口。重传空闲窗口为一个时间段信息。The
如果存在多业务会话,重传收集器1012可以记录多个上行重传起止时间,得到多个重传空闲窗口。If there are multiple service sessions, the
另外,重传收集器1012可以根据APP1创建的重传套接字(Socket)数据包的个数得到重传会话数,一个重传套接字数据包对应于一次重传会话。In addition, the
重传收集器1012实时或者根据预设的发送周期将记录的重传空闲窗口和重传会话数发给手机100中的第一处理模块109。发送周期的取值范围可以是1s~5s,例如可以是1s、2.5s、4s、5s等。当然,发送周期也可以是其他值。The
带宽的计算可以依据SIM卡进行上网业务时的上下行新传调度情况确定,上下行新传调度情况即为上行业务数据传输和下行业务数据传输过程中的无线资源调度信息。该无线资源调度信息包括如下几个信息,例如调度请求响应时间tr、调度传输块大小(Transport Block Size,TBS)、调度填充(padding)占比rp、调度时间密度d。其中,调度请求响应时间tr指SIM卡发出调度请求到得到接入网络响应的时间,接入网络是指SIM卡对应的基站提供的包括小区、核心网的网络。调度TBS指接入网络允许SIM卡本次传输的数据块大小。调度填充占比rp指SIM卡申请的数据量和接入网络允许SIM卡传输的数据量的比值,例如SIM卡申请的数据量为10Byte(字节),接入网络允许SIM卡传输的数据量为100Byte,则调度填充占比rp为10%。调度时间密度d指从SIM卡发出调度请求后,在预设的回复时间内收到的接入网络的回复次数。无线资源调度信息也可以包括其他的信息。带宽计算过程会独占该SIM卡的射频资源,避免计算得到的带宽收到射频切换的干扰,以确保带宽计算准确。The calculation of the bandwidth can be determined according to the scheduling of new uplink and downlink transmissions when the SIM card performs Internet access services. The radio resource scheduling information includes the following pieces of information, such as scheduling request response time tr, scheduling transport block size (Transport Block Size, TBS), scheduling padding (padding) ratio rp, and scheduling time density d. The scheduling request response time tr refers to the time from when the SIM card sends the scheduling request to the time when the access network responds, and the access network refers to the network including the cell and the core network provided by the base station corresponding to the SIM card. The scheduling TBS refers to the size of the data block that the access network allows the SIM card to transmit this time. Scheduling filling ratio rp refers to the ratio of the amount of data applied for by the SIM card to the amount of data that the access network allows the SIM card to transmit. If it is 100Byte, the scheduling filling ratio rp is 10%. The scheduling time density d refers to the number of replies received from the access network within the preset reply time after the scheduling request is sent from the SIM card. The radio resource scheduling information may also include other information. The bandwidth calculation process will monopolize the radio frequency resources of the SIM card to avoid the interference of the calculated bandwidth by radio frequency switching, so as to ensure accurate bandwidth calculation.
手机100使用第一SIM卡进行上网业务的过程中,手机100中的第一带宽探测器108A随着业务数据的传输,实时探测第一带宽BW1的过程包括:第一带宽探测器108A获取作为射频资源的业务数据,并向接入网络发送调度请求。然后,第一带宽探测器108A根据业务数据传输的无线资源调度信息来计算第一带宽BW1。During the process that the
示例性的,第一带宽BW1的计算方式如下所示:Exemplarily, the calculation method of the first bandwidth BW1 is as follows:
BW1=R(tr1)×F(TBS1,rp1,d1)BW1=R(tr1)×F(TBS1,rp1,d1)
其中,tr1为第一调度请求响应时间,TBS1为第一调度TBS,rp1为第一调度填充占比,d1为第一调度时间密度。Wherein, tr1 is the first scheduling request response time, TBS1 is the first scheduling TBS, rp1 is the first scheduling filling ratio, and d1 is the first scheduling time density.
另外,R(tr1)是一个反相关函数,F(TBS1,rp1,d1)是一个正相关函数。其中,第一调度请求响应时间tr1越短、调度TBS1越大、调度填充占比rp1越大、调度时间密度d1越高,第一带宽BW1越大。In addition, R(tr1) is an inverse correlation function, and F(TBS1, rp1, d1) is a positive correlation function. The shorter the first scheduling request response time tr1, the larger the scheduling TBS1, the larger the scheduling filling ratio rp1, the higher the scheduling time density d1, the larger the first bandwidth BW1.
在本申请的一种实现方式中,R(tr1)=1/(Q×tr1+T),其中,Q是常量系数,其可以根据不同SIM卡的调度请求响应时间tr进行设置。Q的取值范围可以是0.9≤Q<1。当然,也可以根据其他需要设置Q的值。T是偏移常量,其取值可以根据需要具体设置。In an implementation manner of the present application, R(tr1)=1/(Q×tr1+T), where Q is a constant coefficient, which can be set according to the scheduling request response time tr of different SIM cards. The value range of Q may be 0.9≤Q<1. Of course, the value of Q can also be set according to other needs. T is an offset constant whose value can be set as required.
在本申请的一种实现方式中,F(TBS1,rp1,d1)=H×TBS1×rp1×d1。其中,H是常量系数,可以根据不同SIM卡的调度TBS、调度填充占比rp、调度时间密度d进行确定。H的取值范围可以是0.9≤H<1。当然,也可以根据其他需要设置H的值。In an implementation manner of the present application, F(TBS1, rp1, d1)=H×TBS1×rp1×d1. Among them, H is a constant coefficient, which can be determined according to the scheduling TBS of different SIM cards, the scheduling filling ratio rp, and the scheduling time density d. The value range of H may be 0.9≤H<1. Of course, the value of H can also be set according to other needs.
当然,在本申请的另一些实现方式中,R(tr1)和F(TBS1,rp1,d1)也可以是其他形式的函数。Of course, in other implementations of the present application, R(tr1) and F(TBS1, rp1, d1) may also be functions of other forms.
本实现方式中,第一带宽探测器108A探测第一带宽BW1是在调制解调层进行,并且第一带宽探测器108A可以根据第一媒体访问控制层105A中的上述无线资源调度信息,计算得到第一带宽BW1,使得第一带宽BW1的探测时间开销非常小,通常低于1s。In this implementation manner, the
S300,手机100中的第一处理模块109在接收到重传收集器1012发送来的重传空闲窗口和重传会话数后,根据重传空闲窗口和重传会话数确定第一SIM卡的业务质量,并且判断当前是否满足预设的带宽探测条件。若满足带宽探测条件,手机100执行S400,若不满足带宽探测条件,手机100执行S200。S300, after receiving the retransmission idle window and the number of retransmission sessions sent by the
在本申请的一种实现方式中,第一处理模块109可以根据接收到的重传空闲窗口确定探测窗口。例如若第一处理模块109在预设的统计时间内接收到的重传空闲窗口只有1个,则第一处理模块109确定该重传空闲窗口为探测窗口。若第一处理模块109在预设的统计时间内收到的重传空闲窗口有多个,则第一处理模块109确定各重传空闲窗口的交集作为探测窗口。In an implementation manner of the present application, the
另外,若多个重传空闲窗口之间不存在共有的交集,则认为此时第一SIM卡的网络卡顿严重,第一处理模块109可以从多个重传空闲窗口中选择一个最小的重传空闲窗口作为探测窗口,或者选一个最小的交集作为探测窗口,或者也可以任意选择一个重传空闲窗口作为探测窗口。In addition, if there is no common intersection among multiple retransmission idle windows, it is considered that the network jam of the first SIM card is serious at this time, and the
预设的统计时间的取值范围可以是1s~30s,例如可以是1s、8.5s、10s、30s等;当然,统计时间也可以是其他值。The value range of the preset statistical time may be 1s to 30s, for example, may be 1s, 8.5s, 10s, 30s, etc.; of course, the statistical time may also be other values.
若第一处理模块109确定探测窗口大于探测窗口阈值,则第一处理模块109从第一SIM卡的第一分组数据汇聚协议层103A中获取第一分组数据汇聚协议层103A中下行业务数据的密度速率(作为下行业务数据传输参数的示例,即作为业务质量信息的示例),下行业务数据的密度速率是指第一分组数据汇聚协议层103A接收到的互联网300发送来的单位时间内的下行业务数据的大小,其单位为Bytes/s。下行业务数据的密度速率越小,说明下行业务数据包的传输速率越慢,即说明第一SIM卡的下行带宽不足,不能满足应用的上网诉求。If the
若第一处理模块109确定第一分组数据汇聚协议层103A中下行业务数据的密度速率低于密度速率阈值,第一处理模块109认为当前第一SIM卡的业务质量不佳,满足带宽探测条件。则手机100执行S400。If the
探测窗口阈值的取值范围可以是0.3s~0.6s,例如可以是0.3s、0.45s、0.5s、0.6s等;当然,探测窗口阈值也可以是其他值。The value range of the detection window threshold may be 0.3s to 0.6s, for example, may be 0.3s, 0.45s, 0.5s, 0.6s, etc.; of course, the detection window threshold may also be other values.
密度速率阈值的取值范围可以是800Bytes/s~1100Bytes/s,例如可以是800Bytes/s、900Bytes/s、1050Bytes/s、1100Bytes/s等;当然,密度速率阈值也可以是其他值。The value range of the density rate threshold may be 800Bytes/s to 1100Bytes/s, such as 800Bytes/s, 900Bytes/s, 1050Bytes/s, 1100Bytes/s, etc. Of course, the density rate threshold may also be other values.
在本申请的另一种实现方式中,第一处理模块109若确定预设的统计时间内收到的重传会话数大于重传会话数阈值,则第一处理模块109获取第一SIM卡的第一分组数据汇聚协议层103A中下行业务数据的密度速率。若第一SIM卡的第一分组数据汇聚协议层103A中下行业务数据的密度速率低于密度速率阈值,第一处理模块109认为当前满足数据账户调整条件。手机100执行S400。In another implementation manner of the present application, if the
重传会话数阈值的取值范围可以是3~10,例如可以是3、5、8、10等;当然,重传会话数阈值也可以是其他值。The value range of the threshold for the number of retransmission sessions may be 3 to 10, such as 3, 5, 8, 10, etc.; of course, the threshold for the number of retransmission sessions may also be other values.
在本申请的另一种实现方式中,第一处理模块109若确定预设的统计时间内收到的重传会话数占比大于重传会话数占比阈值,则第一处理模块109获取第一SIM卡的第一分组数据汇聚协议层103A中下行业务数据的密度速率。若第一SIM卡的第一分组数据汇聚协议层103A中下行业务数据的密度速率低于密度速率阈值,第一处理模块109认为当前满足数据账户调整条件。手机100执行S14。In another implementation manner of the present application, if the
重传会话数占比是预设的统计时间内收到的重传会话数和该统计时间内发生的总会话数的比值。重传会话数占比阈值的取值范围可以是40%~100%,例如可以是40%、50%、66%、100%等;当然,重传会话数占比阈值也可以是其他值。The ratio of the number of retransmission sessions is the ratio of the number of retransmission sessions received within the preset statistical period to the total number of sessions that occurred within the statistical period. The value range of the threshold of the number of retransmission sessions may be 40% to 100%, for example, it may be 40%, 50%, 66%, 100%, etc.; of course, the threshold of the number of retransmission sessions may also be other values.
S400,手机100中的第二带宽探测器108B探测第二SIM卡的第二带宽BW2。S400, the
第二带宽探测器108B探测第二SIM卡的第二带宽的过程包括,第二带宽探测器108B构建一个或多个基于第二SIM卡的移动网络的本地(local)目的IP的探测业务数据。目的IP例如可以是本地域名系统(Domain Name System,DNS)服务器的IP,或者本地安全用户平面定位(Secure User Plane Location,SUPL)服务器的IP,或者前述的第二核心网络202B的IP,或者其他没有对应具体服务器的其他虚拟IP。The process of detecting the second bandwidth of the second SIM card by the
示例性的,探测业务数据包括第二核心网络202B的IP。第二带宽探测器108B在上述的探测窗口期内,将作为射频资源的探测业务数据,通过第二SIM卡的第二数据通道进行发送。进一步地,第二带宽探测器108B根据第二媒体访问控制层105B的上下行新传调度情况来确定第二SIM卡的第二带宽BW2。Exemplarily, the probe service data includes the IP of the
第二带宽BW2的计算方式与前述的第一带宽BW1的计算方式类似,具体如下所示:The calculation method of the second bandwidth BW2 is similar to the calculation method of the aforementioned first bandwidth BW1, and the details are as follows:
BW2=R(tr2)×F(TBS2,rp2,d2)BW2=R(tr2)×F(TBS2,rp2,d2)
其中,tr2为第二调度请求响应时间,TBS2为第二调度TBS,rp2为第二调度填充占比,d2为第二调度时间密度。Wherein, tr2 is the second scheduling request response time, TBS2 is the second scheduling TBS, rp2 is the second scheduling filling ratio, and d2 is the second scheduling time density.
在本申请的一种实现方式中,R(tr2)=1/(Q×tr2+T),其中,Q是常量系数,其可以根据不同SIM卡的调度请求响应时间tr进行设置。Q的取值范围可以是0.9≤Q<1。当然,也可以根据其他需要设置Q的值。T是偏移常量,其取值可以根据需要具体设置。In an implementation manner of the present application, R(tr2)=1/(Q×tr2+T), where Q is a constant coefficient, which can be set according to the scheduling request response time tr of different SIM cards. The value range of Q may be 0.9≤Q<1. Of course, the value of Q can also be set according to other needs. T is an offset constant whose value can be set as required.
在本申请的一种实现方式中,F(TBS2,rp2,d2)=H×TBS2×rp2×d2。其中,H是常量系数,可以根据不同SIM卡的调度TBS、调度填充占比rp、调度时间密度d进行确定。R的取值范围可以是0.9≤H<1。当然,也可以根据其他需要设置H的值。In one implementation of the present application, F(TBS2, rp2, d2)=H×TBS2×rp2×d2. Among them, H is a constant coefficient, which can be determined according to the scheduling TBS of different SIM cards, the scheduling filling ratio rp, and the scheduling time density d. The value range of R can be 0.9≤H<1. Of course, the value of H can also be set according to other needs.
当然,在本申请的另一些实现方式中,R(tr2)和F(TBS2,rp2,d2)也可以是其他形式的函数。Of course, in other implementations of the present application, R(tr2) and F(TBS2, rp2, d2) may also be functions of other forms.
本实现方式中,第二带宽探测器108B探测第二带宽BW2是在调制解调层进行,并且根据第二媒体访问控制层105B中的无线资源调度信息计算得到第二带宽BW2,使得第二带宽BW2的探测时间开销非常小,通常低于1s,可以实现快速、准确地探测第二SIM卡的带宽。In this implementation manner, the
另外,第二SIM卡是在根据重传空闲窗口确定的探测窗口期内发送探测业务数据探测第二带宽BW2,由于此时作为默认数据账户的第一SIM卡的业务较为空闲或业务质量较差,那么将作为射频资源的探测业务数据切到第二SIM卡进行短暂探测,对第一SIM卡的上网业务的影响是不大的。另外由于探测业务数据发往第二SIM卡的本地IP,并不会增加第二SIM卡的流量计费。In addition, the second SIM card sends the detection service data to detect the second bandwidth BW2 within the detection window period determined according to the retransmission idle window, because the service of the first SIM card serving as the default data account at this time is relatively idle or the service quality is poor , then the detection service data used as the radio frequency resource is switched to the second SIM card for short-term detection, which has little impact on the Internet service of the first SIM card. In addition, since the detection service data is sent to the local IP of the second SIM card, the traffic charge of the second SIM card will not be increased.
S500,手机100中的第一处理模块109,从第一带宽探测器108A获取第一SIM卡的第一带宽BW1,以及从第二带宽探测器108B获取第二SIM卡的第二带宽BW2,根据第一带宽BW1和第二带宽BW2确定进行上网业务的SIM卡。S500, the
请参见图4B,在本申请的一种实现方式中,第一处理模块109根据第一带宽BW1和第二带宽BW2确定进行上网业务的SIM卡的过程包括以下步骤:Referring to FIG. 4B , in an implementation manner of the present application, the process of the
S501,手机100判断第一带宽BW1和第二带宽BW2是否满足BW1≥N×BW2。若是,手机100执行S504,若否,手机执行S502。其中,N为大于1的任意数,例如N的取值范围可以是2~15,例如可以是2、5、10、12.5、15等;当然,N的取值也可以是其他值。S501, the
手机100中的第一处理模块109进行带宽计算,如果BW1≥N×BW2,则认为第一SIM卡的第一带宽BW1远远大于第二SIM卡的第二带宽BW2,第一SIM卡相比于第二SIM卡可以提供更好地业务质量,第一处理模块109确定继续使用第一SIM进行上网业务,即使用第一SIM卡的第一数据通道进行业务数据的传输。The
S502,手机100判断第一带宽BW1和第二带宽BW2是否满足BW2≥N×BW1。若是,手机100执行S505,若否,手机执行S503。S502, the
如果BW2≥N×BW1,则第一处理模块109认为第二SIM卡的第二带宽BW2远远大于第一SIM卡的第一带宽BW1,第二SIM卡相比于第一SIM卡可以提供更好的业务质量,第一处理模块109确定使用第二SIM卡进行上网业务,即使用第二SIM卡的第二数据通道进行业务数据的传输。If BW2≥N×BW1, the
S503,手机100进行合成带宽计算,得到合成带宽K(BW1)×BW1+K(BW2)×BW2。手机100判断是否满足K(BW1)×BW1+K(BW2)×BW2≥N×BW1。若是,手机100执行S506,若否,手机执行S504。S503, the
如果K(BW1)×BW1+K(BW2)×BW2≥N×BW1,第一处理模块109确定同时使用第一SIM卡和第二SIM卡进行上网业务相比于只使用第一SIM卡或者只使用第二SIM卡进行上网业务,可以提供更大的上网带宽,提高上网速度,即提高上网业务质量,可以提高用户的上网体验感。则第一处理模块109确定同时使用第一SIM卡和第二SIM卡进行上网业务,同时使用第一数据通道和第二数据通道进行业务数据的传输,即可以实现同时使用两个数据通道进行业务数据的传输,可以达到DSDA模式的效果。If K(BW1)×BW1+K(BW2)×BW2≧N×BW1, the
S504,手机100确定继续使用第一SIM卡进行上网业务,即使用第一SIM卡对应的第一数据通道进行业务数据的传输。S504, the
S505,手机100确定使用第二SIM卡进行上网业务,即使用第二SIM卡对应的第二数据通道进行业务数据的传输。S505, the
S506,手机100确定同时使用第一SIM卡和第二SIM卡进行上网业务,即同时使用第一数据通道和第二数据通道进行业务数据的传输。S506 , the
本实现方式中,K(BW)是一个由于DSDS用户卡切换(例如用户卡切换时的射频切换开销)引起的跟用户卡带宽成反相关的缩放因子函数。当带宽接近峰值带宽时,K(BW)的取值为0.3左右,随着带宽的降低,K(BW)的取值逐渐增大,并且手机100收发业务数据在单位时间的数据密度降低后切换开销影响也降低。In this implementation manner, K(BW) is a scaling factor function that is inversely related to the bandwidth of the user card caused by DSDS user card switching (eg, radio frequency switching overhead during user card switching). When the bandwidth is close to the peak bandwidth, the value of K(BW) is about 0.3. With the decrease of the bandwidth, the value of K(BW) gradually increases, and the
在本申请的一种实现方式中,K(BW)=2^(-BW)+P×BW/(BW+1),BW是各SIM卡单独评估的带宽,P是收敛系数,P可以是如前文所述的0.3。In an implementation manner of the present application, K(BW)=2^(-BW)+P×BW/(BW+1), BW is the bandwidth evaluated individually by each SIM card, P is the convergence coefficient, and P can be 0.3 as mentioned earlier.
则K(BW1)=2^(-BW1)+P×BW1/(BW1+1),K(BW2)=2^(-BW2)+P×BW2/(BW2+1)。Then K(BW1)=2^(-BW1)+P×BW1/(BW1+1), K(BW2)=2^(-BW2)+P×BW2/(BW2+1).
当然,在本申请的另一些实现方式中,K(BW)也可以是其他形式的函数。Of course, in other implementation manners of the present application, K(BW) may also be a function of other forms.
手机100同时使用第一SIM卡和第二SIM卡进行上网业务时,手机100中的当前业务数据,可以继续通过第一SIM卡对应的第一数据通道进行传输。手机100中新的业务数据,可以通过第二SIM卡对应的第二数据通道进行传输。When the
或者,手机100可以将当前业务数据,选择一部分继续通过第一SIM卡对应的第一数据通道进行传输,另一部分通过第二SIM卡对应的第二数据通道进行传输。例如可以根据第一SIM卡和第二SIM卡的带宽大小确定业务数据大小,其中带宽较大的SIM卡承担较多的业务数据的传输,带宽较小的SIM卡承担较少的业务数据的传输。Alternatively, the
当然,手机100也可以通过其他例如根据应用分类等方式同时使用第一SIM卡和第二SIM卡进行业务数据的传输。Of course, the
本实现方式中,由于手机100包括两条数据通道,使得双卡切换更为快速和方便,可以有效地避免业务中断,提高了用户的上网体验。并且本实现方式中,选择的进行上网业务的SIM卡为带宽更大的SIM卡,可以提供更大的上网带宽,即提供更好的上网质量。In this implementation manner, because the
在本申请的一些实现方式中,对于S510,手机100确定进行上网业务的SIM卡后,手机100还可以在手机100的显示界面上可以显示提示信息用于提醒用户进行上网业务的SIM的切换。例如从第一SIM卡切换至使用第二SIM卡进行上网业务时,手机100的显示界面上显示“已切换至使用第二SIM卡上网”。从第一SIM卡切换至同时使用第一SIM卡和第二SIM卡进行上网业务时,手机100的显示界面上显示提示信息“已切换至使用双卡上网”。In some implementations of the present application, for S510, after the
请参见图4C,在本申请的一种实现方式中,手机100根据第一带宽BW1和第二带宽BW2确定进行上网业务的SIM卡的过程包括以下步骤:Referring to FIG. 4C , in an implementation manner of the present application, the process for the
S501’,手机100判断第一带宽BW1和第二带宽BW2是否满足BW1≥N1×BW2。若是,手机100执行S504,若否,手机执行S502’。S501', the
N1的取值范围可以是2~15,例如可以是2、5、10、12.5、15等;当然,N1的取值也可以是其他值。The value range of N1 may be 2 to 15, for example, it may be 2, 5, 10, 12.5, 15, etc.; of course, the value of N1 may also be other values.
S502’,手机100判断第一带宽BW1和第二带宽BW2是否满足BW2≥N2×BW1。若是,手机100执行S505,若否,手机执行S503’。S502', the
N2的取值范围可以是3~16,例如可以是3、6、11、13、16等;当然,N2的取值也可以是其他值。The value range of N2 may be 3 to 16, for example, it may be 3, 6, 11, 13, 16, etc.; of course, the value of N2 may also be other values.
S503’,手机100进行合成带宽计算,得到合成带宽K(BW1)×BW1+K(BW2)×BW2。手机100判断是否满足K(BW1)×BW1+K(BW2)×BW2≥N3×BW1。若是,手机100执行S506,若否,手机执行S504。S503', the
N3的取值范围可以是4~17,例如可以是4、7、12、15.5、17等;当然,N3的取值也可以是其他值。The value range of N3 may be 4 to 17, for example, it may be 4, 7, 12, 15.5, 17, etc.; of course, the value of N3 may also be other values.
S504,手机100确定继续使用第一SIM卡进行上网业务,即使用第一SIM卡的第一数据通道进行业务数据的传输。S504, the
S505,手机100确定使用第二SIM卡进行上网业务,即使用第二SIM卡的第二数据通道进行业务数据的传输。S505, the
S506,手机100确定同时使用第一SIM卡和第二SIM卡进行上网业务,即同时使用第一数据通道和第二数据通道进行业务数据的传输。S506 , the
在本实现方式中,N1<N2<N3。当然,N1、N2和N3也可以是其他不相同的大于1的任意数。In this implementation manner, N1<N2<N3. Of course, N1, N2 and N3 can also be any other different numbers greater than 1.
本实现方式提供的应用于DSDS模式的手机100的业务处理方法,手机100在开机启动后,手机100为手机100中的第一SIM卡创建第一数据通道,为第二SIM卡创建第二数据通道,可以方便手机100进行SIM卡切换。在手机100进行上网业务的过程中,手机100可以快速、准确地探测第一SIM卡的第一带宽BW1和第二SIM卡的第二带宽BW2,并根据第一带宽BW1和第二带宽BW2可以方便、准确地确定进行上网业务的SIM卡,并且使用确定进行上网业务的SIM卡对应的数据通道传输业务数据。使得进行上网业务的SIM卡的确定或者决策更加快速,并且根据带宽确定的进行上网业务的SIM卡可以为用户提供更好的带宽,即可以提供更好的业务质量。另外,对于DSDS模式的手机100也可以实现双卡上网业务并发,可以有效地提升DSDS模式的手机100的业务质量。In the service processing method applied to the
本实现方式提供的应用于DSDS模式的手机100的业务处理方法,即使用户选择的默认数据账户为第一SIM卡,手机100也可以使用第二SIM卡进行上网业务。In the service processing method applied to the
在申请的另一种实现方式中,对于前述的S200,若重传收集器1012根据重传会话数确定当前第一SIM卡的业务质量不佳,重传收集器1012也可以只将上行业务数据重传的重传空闲窗口发送给调制解调层中的第一处理模块109。In another implementation manner of the application, for the aforementioned S200, if the
在申请的另一种实现方式中,对于前述的S200,手机100使用第一SIM卡进行上网业务的过程中,手机100中的第一带宽探测器108A可以不用实时探测第一SIM卡的第一带宽BW1。若手机100执行S300确定满足带宽探测条件,则对于前述的S400,可以是手机100中的第一带宽探测器108A先探测第一SIM卡的第一带宽BW1,然后手机100中的第二带宽探测器108B探测第二SIM卡的第二带宽BW2。In another implementation manner of the application, for the aforementioned S200, in the process that the
在申请的另一种实现方式中,对于前述的S100,手机100开机启动后,也可以只激活第一SIM卡的PDN连接或者PDP连接,以及为第一SIM卡创建第一数据通道。在手机100执行S300,确定满足带宽探测条件后,手机100再激活第一SIM卡的PDN连接或者PDP连接,以及为第二SIM卡创建第二数据通道。然后手机100执行S400。In another implementation manner of the application, for the aforementioned S100, after the
请参见图5,图5给出了模拟不同类型的手机在不同的用卡状态下的蜂窝下载速率示意图,其中,横坐标为检测时间(T);纵坐标为蜂窝下载速率,单位为Bytes/s。对于只可设置一张SIM卡的单卡手机,单卡手机在进行上网业务下载业务数据时,使用单卡进行业务数据的下载,单卡手机的单蜂窝下载速率如线L1所示。对于本申请提供的手机100,手机100将第一SIM卡作为默认数据账户,只使用第一SIM卡进行业务数据的下载时,手机100的单蜂窝下载速率如线L2所示。手机100只使用第二SIM卡进行上网业务,即只使用第二SIM卡进行业务数据的下载时,手机100的单蜂窝下载速率如线L3所示。手机100同时使用第一SIM卡和第二SIM卡进行上网业务,同时使用第一SIM卡和第二SIM卡进行业务数据的下载时,手机100在双卡空口受限的情况下,双蜂窝下载速率如线L4所示,可以看出DSDS模式的手机100同时将将第一SIM卡和第二SIM卡进行上网业务,使得双卡融合蜂窝下载速率明显高于单卡的蜂窝下载速率,可以有效地利用双卡的业务承载能力,提高蜂窝下载速率,以提供更高的业务质量,可以有效地提高用户体验。另外,线L4是在模拟双卡空口受限的理想情况下,测得的双卡融合蜂窝下载速率。Please refer to Figure 5. Figure 5 shows a schematic diagram of the cellular download rate simulating different types of mobile phones under different card usage states, where the abscissa is the detection time (T); the ordinate is the cellular download rate, in Bytes/ s. For a single-card mobile phone that can only be set with one SIM card, when the single-card mobile phone downloads service data for Internet services, it uses a single card to download service data. For the
在本申请的另一种实现方式中,若手机100使用第二SIM卡进行上网业务的过程中出现了卡顿,手机100也可以进一步获取第二SIM卡的当前带宽和第一SIM卡的当前带宽,并根据带宽重新确定进行上网业务的SIM卡。In another implementation manner of the present application, if the
另外,在本申请的另一种实现方式中,将进行上网业务的SIM卡从第一SIM卡切换为第二SIM卡后,也可以在预设的切换时间后,直接将进行上网业务的SIM卡再次切换为第一SIM卡。切换时间的取值范围可以是20s~60s,例如可以是20s、30s、45.5s、60s等;当然,切换时间也可以是其他值。In addition, in another implementation manner of the present application, after the SIM card for Internet access service is switched from the first SIM card to the second SIM card, the SIM card for Internet access service can also be directly switched after a preset switching time. The card is switched to the first SIM card again. The value range of the switching time may be 20s to 60s, for example, it may be 20s, 30s, 45.5s, 60s, etc.; of course, the switching time may also be other values.
需要说明的是,本申请中,手机100可以在SIM卡进行上网业务的过程中,实时探测该进行上网业务的SIM卡的带宽。手机100可以在当前进行上网业务的SIM卡出现卡顿时,通过发送探测业务数据的方式获取未进行上网业务的SIM卡的带宽。在整个上网过程中,手机100可以根据第一SIM卡和第二SIM卡的实时带宽,切换进行上网业务的SIM卡。It should be noted that, in the present application, the
在本申请的另一些实现方式中,上述的下行业务数据的密度速率也可以是其他例如预设的时间内下行业务数据的数量(例如2s接收到100Bytes的下行业务数据包),或者单位时间内传输的下行业务数据包的个数(例如单位时间内的传输的下行业务数据包的个数为5)等用于表示下行业务传输情况的下行业务数据传输参数,其可以根据需要选择。另外,上述的重传空闲窗口、重传会话数、重传会话占比也可以是其他的用于表示上行业务传输情况的上行业务数据传输参数。其皆可以根据需要设置。In other implementations of the present application, the above-mentioned density rate of downlink service data may also be other, for example, the quantity of downlink service data within a preset time (for example, 100Bytes of downlink service data packets are received in 2s), or the unit time The number of transmitted downlink service data packets (for example, the number of transmitted downlink service data packets per unit time is 5) is a downlink service data transmission parameter used to represent the downlink service transmission situation, which can be selected as required. In addition, the above-mentioned idle window for retransmission, the number of retransmission sessions, and the proportion of retransmission sessions may also be other uplink service data transmission parameters used to indicate the transmission situation of the uplink service. All of them can be set as required.
在申请的另一种实现方式中,对于前述的S200,手机100使用第一SIM卡进行上网业务的过程中,也可以是由手机100获取第一SIM卡的信号质量(作为业务质量信息的示例)。对于前述的S300,可以是由手机100根据确定第一SIM卡的信号质量信息确定是否满足带宽探测条件。例如若第一SIM卡的信号质量低于正常信号质量的40%,则认为信号质量较差,满足带宽探测条件。若满足带宽探测条件,手机100执行S400,探测第二SIM卡的第二带宽。反之,认为信号质量较好,不满足带宽探测条件,不需要探测第二SIM卡的第二带宽,继续使用第一SIM卡进行上网业务。In another implementation manner of the application, for the aforementioned S200, when the
在申请的另一些实现方式中,对于前述的S200和S300,手机100也可以根据第一SIM卡的网络接入技术、第一SIM卡进行上网业务的业务数据量信息、第一SIM卡的带宽等信息中的一项或者多项(作为业务质量信息的示例)确定业务质量情况以判断是否满足前述的带宽探测条件,即判断当前的业务质量是否满足上网需求。例如若第一SIM卡的网络接入技术为2G或3G,则认为业务质量较差,满足带宽探测条件,手机100执行S400,探测第二SIM卡的第二带宽,需要进行SIM卡调整。若为4G或5G,则认为业务较好,不满足带宽探测条件,不需要探测第二带宽,继续使用第一SIM卡进行上网业务。In other implementation manners of the application, for the aforementioned S200 and S300, the
在申请的另一些实现方式中,手机100还可以根据手机100中当前运行的应用类型、应用数量等其他信息中的一项或者多项判断第一SIM卡的业务质量是否满足当前上网需求。并在不满足当前上网需求时,手机100执行S400,探测第二SIM卡的第二带宽。在满足当前上网需求时,手机100继续使用第一SIM卡进行上网业务。In other implementations of the application, the
在申请的另一些实现方式中,手机100也可以根据业务质量信息确定满足带宽探测条件时,再分别获取第一SIM卡的第一带宽和第二SIM卡的第二带宽,并根据第一带宽和第二带宽的大小确定是否切换SIM卡。In other implementation manners of the application, the
在申请的另一些实现方式中,手机100也可以根据预设的带宽探测周期探测第一SIM卡的第一带宽和第二SIM卡的第二带宽,并根据第一带宽和第二带宽的大小确定是否调整SIM卡。该带宽探测周期的取值范围可以是0.5h~2h,例如0.5h、1h、1.4h、2h等。当然,该带宽探测周期也可以是其他任意值。In other implementation manners of the application, the
在本申请的另一种实现方式中,手机100在切换进行上网业务的SIM卡时,手机100的显示界面可以不显示关于SIM卡切换的任何提示信息,以使用户对于SIM卡的切换无感。In another implementation manner of the present application, when the
在本申请的另一种实现方式中,手机100在切换进行上网业务的SIM卡时,手机100的显示界面也可以显示有用户卡标识信息,用于提醒用户当前所使用的用户卡。In another implementation manner of the present application, when the
请参见图6A,手机100显示第一SIM卡的标识信息M1和第二SIM卡的标识信息M2,其中第一SIM卡的标识信息M1包括上网标识(例如上下箭头)。用户通过标识信息M1可以确定手机100当前进行上网业务的SIM卡为第一SIM卡。Referring to FIG. 6A , the
请参见图6B,若手机100将进行上网业务的SIM卡切换为第二SIM卡,则手机100可以显示提示信息M3,显示“已切换至使用第二SIM卡上网”。另外,第二SIM卡的标识信息M2包括上网标识(例如上下箭头)。Referring to FIG. 6B , if the
请参见图6C,若手机100同时使用第一SIM卡和第二SIM卡进行上网业务,则手机100可以显示提示信息M4,显示“已切换至使用双卡上网”。另外,第一SIM卡的标识信息M1和第二SIM卡的标识信息M2都包括上网标识(例如上下箭头)。Referring to FIG. 6C , if the
在本申请的另一些实现方式中,手机100也可以显示其他类型的第一SIM卡的标识信息M1和第二SIM卡的标识信息M2,以及其他类型的提示信息,其可以根据需要选择。In other implementations of the present application, the
在本申请的一种实现方式中,手机100在开机启动后,手机100执行本申请提供的业务处理方法,即手机100默认在第一SIM卡的业务质量不佳时,进行前述的进行上网业务的SIM卡的自动切换。In an implementation manner of the present application, after the
在本申请的另一种实现方式中,若手机100检测到用户对SIM卡管理控件下的智能切换上网卡控件的开启操作时,手机100执行本申请提供的业务处理方法,进行前述的进行上网业务的SIM卡的自动切换。In another implementation manner of the present application, if the
请参见图7,本申请还提供一种通信系统,该通信系统包括手机400、移动网络(Mobilenet)200和互联网(Internet)300。相比于图3所示的手机100,手机400的内核层101还包括第二处理模块1013。另外,手机400的调制解调层不包括前述的第一处理模块109。Referring to FIG. 7 , the present application further provides a communication system, where the communication system includes a
其中,手机400的重传收集器1012可以将前述的上行业务数据重传的重传空闲窗口和重传会话数发送给第二处理模块1013。第二处理模块1013根据重传空闲窗口和重传会话数判断当前是否满足预设的带宽探测条件。若满足带宽探测条件,第二处理模块1013分别从第一带宽探测器108A获取第一SIM卡的第一带宽,以及从第二带宽探测器108B获取第二SIM卡的第二带宽,并根据第一带宽和第二带宽确定用于进行上网业务的SIM卡。手机400根据确定的进行上网业务的SIM卡对应的数据通道进行业务数据的传输。The
需要说明的是,在本申请的另一种实现方式中,第二处理模块1013的功能可以由前述的处理器110实现。It should be noted that, in another implementation manner of the present application, the function of the second processing module 1013 may be implemented by the
请参见图8,结合上述的图7,本申请提供的应用于手机400的业务处理方法,包括以下步骤:Please refer to FIG. 8, in conjunction with the above-mentioned FIG. 7, the service processing method applied to the
S110,手机400开机启动,分别激活第一SIM卡和第二SIM卡的数据会话功能,例如在2G和3G网络下激活第一SIM卡和第二SIM卡的PDP连接,或者在4G网络下激活第一SIM卡和第二SIM卡的PDN连接网等。并且手机400为第一SIM卡创建第一数据通道,为第二SIM卡创建第二数据通道,第一数据通道和第二数据通道分别可以是IP数据通道。手机400默认第一SIM卡作为进行上网业务的默认数据账户,并使用第一SIM卡对应的第一数据通道传输业务数据。S110, the
S210,手机400使用第一SIM卡进行上网业务,手机400中的重传收集器1012获取第一SIM卡进行上网业务过程中上行业务数据重传的重传空闲窗口和重传会话数,以及实时检测第一SIM卡的第一带宽BW1。S210, the
对于S210,区别于前述的S200,手机400中的重传收集器1012将上行业务数据重传的重传空闲窗口和重传会话数发送给第二处理模块1013。S210的其他内容与S200相同或类似,此处不再赘述。For S210, different from the aforementioned S200, the
S310,手机400中的第二处理模块1013接收到重传收集器1012发送来的重传空闲窗口和重传会话数后,确定第一SIM卡的业务质量情况,以判断第一SIM卡当前是否满足带宽探测条件。S310, after receiving the retransmission idle window and the number of retransmission sessions sent by the
例如第二处理模块1013根据预设的统计时间内的重传空闲窗口确定探测窗口。第二处理模块1013根据预设的统计时间内的重传会话数和所有会话数确定重传会话数占比。For example, the second processing module 1013 determines the detection window according to the retransmission idle window within the preset statistical time. The second processing module 1013 determines the proportion of the number of retransmission sessions according to the number of retransmission sessions and the number of all sessions within a preset statistical time.
第二处理模块1013若确定重传会话数占比大于重传会话数占比阈值,则第二处理模块1013获取第一SIM卡的第一分组数据汇聚协议层103A中的下行业务数据的密度速率。若第一SIM卡的第一分组数据汇聚协议层103A中下行业务数据的密度速率低于密度速率阈值,第二处理模块1013认为当前满足数据账户调整条件。手机400执行S410。重传会话数占比阈值和密度速率阈值的取值如前所述,此处不再赘述。If the second processing module 1013 determines that the proportion of the number of retransmission sessions is greater than the threshold of the number of retransmission sessions, the second processing module 1013 obtains the density rate of the downlink service data in the first packet data
S410,手机400中的第二带宽探测器108B探测第二SIM卡的第二带宽BW2。S410, the
S410的具体实现与前述的S400相同,此处不再赘述。The specific implementation of S410 is the same as the aforementioned S400, and details are not repeated here.
S510,手机400中的第二处理模块1013,从第一带宽探测器108A获取第一SIM卡的第一带宽BW1,以及从第二带宽探测器108B获取第二SIM卡的第二带宽BW2,根据第一BW1和第二BW2确定进行上网业务的SIM卡。S510, the second processing module 1013 in the
第二处理模块1013确定进行上网业务的SIM卡的过程,与前述的第一处理模块109确定进行上网业务的SIM卡的过程相同,此处不再赘述。The process of the second processing module 1013 for determining the SIM card for the Internet access service is the same as the process for the
本申请提供的应用于DSDA模式的手机400的业务处理方法,可以由第二处理模块1013确定进行上网业务的SIM卡,对于DSDA模式的手机400也能实现双卡上网业务并发,可以有效地提升DSDA模式的手机400的业务质量。The service processing method applied to the
本申请提供的业务处理方法,可以应用于基于3G、4G、第五代移动通信技术(5rd-Generation,5G)等通信技术以及基于未来的新通信技术的电子设备。The service processing method provided in this application can be applied to communication technologies such as 3G, 4G, and fifth-generation mobile communication technologies (5rd-Generation, 5G), as well as electronic devices based on future new communication technologies.
另外,本申请提供的业务处理方法,也可以应用于基于第三代合作伙伴计划(3rdGeneration Partnership Project,3GPP)网络的电子设备,例如通用移动通信技术的长期演进(Long Term Evolution,LTE)、宽带码分多址(Wideband Code Division MultipleAccess,WCDMA)、时分同步码分多址(Time Division-Synchronous Code DivisionMultiple Access、TD-SCDMA)、全球移动通信系统(Global System for MobileCommunications,GSM)、5G等。另外,该业务处理方法,还可以应用于基于例如无线局域网(Wireless Local Area Networks,WLAN)、无线上网(WiFi)等non-3GPP网络,或者其他类型的网络的电子设备。In addition, the service processing method provided in this application can also be applied to electronic equipment based on the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) network, such as the Long Term Evolution (Long Term Evolution, LTE), broadband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Time Division Synchronous Code Division Multiple Access (Time Division-Synchronous Code Division Multiple Access, TD-SCDMA), Global System for Mobile Communications (Global System for Mobile Communications, GSM), 5G, etc. In addition, the service processing method can also be applied to electronic devices based on non-3GPP networks such as wireless local area networks (Wireless Local Area Networks, WLAN), wireless Internet access (WiFi), or other types of networks.
在本申请的另一种实现方式中,上述的SIM卡也可以是USIM、eSIM等其他类型的用户卡。In another implementation manner of the present application, the above-mentioned SIM card may also be other types of user cards such as USIM and eSIM.
在本申请的另一种实现方式中,上述的手机100,也可以是平板电脑、电视、笔记本电脑、UMPC、手持计算机、上网本、PDA、可穿戴设备、虚拟现实设备、CPE等电子设备。In another implementation manner of the present application, the above-mentioned
请参见图9,图9所示为根据本申请实施例的一实施方式提供的电子设备900的结构示意图。电子设备900可以包括耦合到控制器中枢904的一个或多个处理器901。对于至少一个实施例,控制器中枢904经由诸如前端总线(Front Side Bus,FSB)之类的多分支总线、诸如快速通道互连(QuickPath Interconnect,QPI)之类的点对点接口、或者类似的连接与处理器901进行通信。处理器901执行控制一般类型的数据处理操作的指令。在一实施例中,控制器中枢904包括,但不局限于,图形存储器控制器中枢(Graphics Memory controllerhub,GMCH)(图中未示出)和输入/输出中枢(IOH)(其可以在分开的芯片上)(图中未示出),其中GMCH包括存储器和图形控制器并与IOH耦合。Please refer to FIG. 9 , which is a schematic structural diagram of an
电子设备900还可包括耦合到控制器中枢904的协处理器906和存储器902。或者,存储器902和GMCH中的一个或两者可以被集成在处理器901内(如本申请实施例中所描述的),存储器902和协处理器906直接耦合到处理器901以及控制器中枢904,控制器中枢904与IOH处于单个芯片中。
在一个实施例中,协处理器906是专用处理器,诸如例如高吞吐量众核(ManyIntegrated Core,MIC)处理器、网络或通信处理器、压缩引擎、图形处理器、通用图形处理器(General Purpose Graphics Processing Units,GPGPU)、或嵌入式处理器等等。协处理器906的任选性质用虚线表示在图9中。In one embodiment,
在一个实施例中,电子设备900可以进一步包括网络接口(Network InterfaceCard,NIC)903。网络接口903可以包括收发器,用于为电子设备900提供无线电接口,进而与任何其他合适的设备(如前端模块,天线等)进行通信。在各种实施例中,网络接口903可以与电子设备900的其他组件集成。网络接口903可以实现上述实施例中的通信单元的功能。In one embodiment, the
电子设备900可以进一步包括输入/输出(I/O)设备905。
值得注意的是,图9仅是示例性的。即虽然图9中示出了电子设备900包括处理器901、控制器中枢904、存储器902等多个器件,但是,在实际的应用中,使用本申请实施例各方法的设备,可以仅包括电子设备900各器件中的一部分器件,例如,可以仅包含处理器901和NIC903。图9中可选器件的性质用虚线示出。It is worth noting that Figure 9 is only exemplary. That is, although FIG. 9 shows that the
在该电子设备900的存储器中可以包括用于存储数据和/或指令的一个或多个有形的、非暂时性计算机可读介质。计算机可读存储介质中存储有指令,具体而言,存储有该指令的暂时和永久副本。One or more tangible, non-transitory computer-readable media for storing data and/or instructions may be included in the memory of the
本申请实施例中,该电子设备900可以是手机,该电子设备的存储器中存储的指令可以包括:由处理器中的至少一个单元执行时导致手机实施如前述提到的业务处理方法的指令。In this embodiment of the present application, the
请参见图10,图10所示为根据本申请的一实施方式提供的SoC(System on Chip,片上系统)1000的结构示意图。在图10中,相似的部件具有同样的附图标记。另外,虚线框是更先进的SoC 1000的可选特征。该SoC 1000可以被用于根据本申请的任一电子设备,根据其所在的设备不同以及其内所存储的指令的不同,可以实现相应的功能。Please refer to FIG. 10 , which is a schematic structural diagram of a SoC (System on Chip, system on chip) 1000 provided according to an embodiment of the present application. In Figure 10, similar components have the same reference numerals. Also, the dotted box is an optional feature of the more
在图10中,SoC1000包括:互连单元1002,其被耦合至处理器1001;系统代理单元1006;总线控制器单元1005;集成存储器控制器单元1003;一组或一个或多个协处理器1007,其可包括集成图形逻辑、图像处理器、音频处理器和视频处理器;静态随机存取存储器(Static Random-Access Memory,SRAM)单元1008;直接存储器存取(Direct MemoryAccess,DMA)单元1004。在一个实施例中,协处理器1007包括专用处理器,诸如例如网络或通信处理器、压缩引擎、GPGPU、高吞吐量MIC处理器、或嵌入式处理器等等。In FIG. 10 ,
SRAM单元1008中可以包括用于存储数据和/或指令的一个或多个计算机可读介质。计算机可读存储介质中可以存储有指令,具体而言,存储有该指令的暂时和永久副本。该指令可以包括:由处理器中的至少一个单元执行时导致电子设备实施如前述所提到的业务处理方法的指令。One or more computer-readable media for storing data and/or instructions may be included in the
本申请公开的机制的各实施例均可以以软件、硬件、固件或这些实现方法的组合等方式实现。本申请的实施例可实现为在可编程系统上执行的计算机程序或程序代码,该可编程程序包括至少一个处理器、存储器(或存储系统,包括易失性和非易失性存储器和/或存储单元)。Each embodiment of the mechanism disclosed in this application may be implemented in software, hardware, firmware, or a combination of these implementation methods. Embodiments of the present application may be implemented as a computer program or program code executing on a programmable system including at least one processor, memory (or storage system, including volatile and nonvolatile memory and/or storage unit).
需要说明的是,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that the terms "first", "second" and the like are only used for distinguishing descriptions, and cannot be understood as indicating or implying relative importance.
需要说明的是,在附图中,可以以特定布置和/或顺序示出一些结构或方法特征。然而,应该理解,可能不需要这样的特定布置和/或排序。而是,在一些实施方式中,这些特征可以以不同于说明性附图中所示的方式和/或顺序来布置。另外,在特定图中包括结构或方法特征并不意味着暗示在所有实施方式中都需要这样的特征,并且在一些实施方式中,可以不包括这些特征或者可以与其他特征组合。It should be noted that in the drawings, some structural or method features may be shown in a specific arrangement and/or order. It should be understood, however, that such specific arrangements and/or orderings may not be required. Rather, in some implementations, the features may be arranged in a manner and/or order different from that shown in the illustrative figures. Additionally, the inclusion of structural or method features in a particular figure is not meant to imply that such features are required in all implementations, and in some implementations, such features may not be included or may be combined with other features.
虽然通过参照本申请的某些优选实施方式,已经对本申请进行了图示和描述,但本领域的普通技术人员应该明白,以上内容是结合具体的实施方式对本申请所作的进一步详细说明,不能认定本申请的具体实施只局限于这些说明。本领域技术人员可以在形式上和细节上对其作各种改变,包括做出若干简单推演或替换,而不偏离本申请的精神和范围。Although the present application has been illustrated and described by referring to some preferred embodiments of the present application, those of ordinary skill in the art should understand that the above content is a further detailed description of the present application in conjunction with specific embodiments, and it cannot be assumed that The specific implementation of the present application is limited only by these descriptions. Those skilled in the art may make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110075950.0ACN114867005B (en) | 2021-01-20 | 2021-01-20 | A service processing method and dual-SIM dual-standby electronic device |
| PCT/CN2021/142489WO2022156501A1 (en) | 2021-01-20 | 2021-12-29 | Service processing method and dual-sim dual-standby electronic device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110075950.0ACN114867005B (en) | 2021-01-20 | 2021-01-20 | A service processing method and dual-SIM dual-standby electronic device |
| Publication Number | Publication Date |
|---|---|
| CN114867005Atrue CN114867005A (en) | 2022-08-05 |
| CN114867005B CN114867005B (en) | 2024-06-18 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110075950.0AActiveCN114867005B (en) | 2021-01-20 | 2021-01-20 | A service processing method and dual-SIM dual-standby electronic device |
| Country | Link |
|---|---|
| CN (1) | CN114867005B (en) |
| WO (1) | WO2022156501A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115396316A (en)* | 2022-08-22 | 2022-11-25 | 维沃移动通信有限公司 | Service processing method and device |
| CN115915105A (en)* | 2022-11-29 | 2023-04-04 | 优游宝科技(深圳)有限公司 | Intelligent algorithm-based esim card mobile data flow monitoring method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119676693A (en)* | 2023-09-19 | 2025-03-21 | Oppo广东移动通信有限公司 | Data stream transmission method, device and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3235301B1 (en)* | 2014-12-17 | 2018-08-01 | Telefonaktiebolaget LM Ericsson (publ) | Sim selection |
| CN105764124B (en)* | 2016-01-27 | 2021-06-15 | 努比亚技术有限公司 | Method for reducing power consumption of terminal and terminal |
| CN106535291A (en)* | 2016-11-28 | 2017-03-22 | 北京小米移动软件有限公司 | SIM card selection method and device |
| CN111182602A (en)* | 2018-11-12 | 2020-05-19 | 奇酷互联网络科技(深圳)有限公司 | SIM card switching method of mobile terminal, mobile terminal and computer storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115396316A (en)* | 2022-08-22 | 2022-11-25 | 维沃移动通信有限公司 | Service processing method and device |
| CN115915105A (en)* | 2022-11-29 | 2023-04-04 | 优游宝科技(深圳)有限公司 | Intelligent algorithm-based esim card mobile data flow monitoring method and system |
| CN115915105B (en)* | 2022-11-29 | 2023-07-04 | 优游宝科技(深圳)有限公司 | Method and system for monitoring mobile data flow of esim card based on intelligent algorithm |
| Publication number | Publication date |
|---|---|
| WO2022156501A1 (en) | 2022-07-28 |
| CN114867005B (en) | 2024-06-18 |
| Publication | Publication Date | Title |
|---|---|---|
| US12041646B2 (en) | Packet offloading method, mobile terminal, and storage medium | |
| WO2022156501A1 (en) | Service processing method and dual-sim dual-standby electronic device | |
| JP5770310B2 (en) | Non-communication period (DTX, DRX) mobile device request to wireless communication network | |
| US11963043B2 (en) | Initial access indication method and device, and storage medium | |
| CN112236977B (en) | Parameter configuration method, device, communication device and storage medium | |
| US9813988B2 (en) | Method and device for data transmission in wireless local area network | |
| EP2147524B1 (en) | Power save protocol interoperability detection | |
| US20240188041A1 (en) | Paging cause processing method and apparatus, communication device, and storage medium | |
| CN108200598A (en) | cell measuring method and device | |
| CN108156627A (en) | cell measuring method and device | |
| CN114268936A (en) | Data transmission method and device | |
| CN113316954B (en) | Indication method, receiving method, device, communication equipment and storage medium | |
| CN114599064A (en) | Network acceleration method, storage medium, device and system | |
| US12317110B2 (en) | Channel measurement method and apparatus, and communication device | |
| CN113473539B (en) | Data transmission method and electronic equipment | |
| CN108464038B (en) | Circuit domain fallback method, base station, mobile management entity and terminal | |
| WO2023050362A1 (en) | Downlink transmission configuration, receiving method and apparatus, communication device and storage medium | |
| US20220408469A1 (en) | Downlink control information configuration method and apparatus, and communication device and storage medium | |
| CN117119541B (en) | Terminal network connection processing method, terminal and storage medium | |
| TWI841267B (en) | Method for adaptively shortening communication latency and communication apparatus utilizing the same | |
| CN114080011B (en) | A mobile router device sleep control method and mobile router device | |
| WO2019028762A1 (en) | Wireless communication method, terminal device, and network device | |
| WO2024198383A1 (en) | Communication method and apparatus | |
| WO2022077505A1 (en) | Transmission resource determination method and apparatus | |
| WO2025185476A1 (en) | Network status test method and electronic device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |