CN116193419A - Communication method, device and equipment - Google Patents
Communication method, device and equipment Download PDFInfo
- Publication number
- CN116193419A CN116193419A CN202310123035.3A CN202310123035A CN116193419A CN 116193419 A CN116193419 A CN 116193419A CN 202310123035 A CN202310123035 A CN 202310123035A CN 116193419 A CN116193419 A CN 116193419A
- Authority
- CN
- China
- Prior art keywords
- sim card
- card
- mode
- dual
- frequency band
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请属于通信技术领域,具体涉及一种通话方法、装置及设备。The present application belongs to the technical field of communication, and in particular relates to a call method, device and equipment.
背景技术Background technique
双卡双通(Dua l S I M Dua l Act i ve,DSDA)模式是指电子设备可通过其安装的两张用户身份识别模块(Subscr i ber I dent i f i cat i on Modu l e,S I M)卡同时进行电话通话。Dual-card dual-pass (Dua l S I M Dua l Act i ve, DSDA) mode means that the electronic device can simultaneously carry out two user identity identification modules (Subscr i ber I dent i f i cat i on Modu l e, S I M) phone call.
但是,每张S I M卡仅支持一部分频段,并不支持所有频段,导致电子设备不能支持所有频段组合。当电子设备在进行小区切换时,有可能从DSDA模式切换为双卡双待(Dual S I M Dua l Standby,DSDS)模式。此时,当利用两张S I M卡的其中一张S I M卡进行数据传输时,如果此时利用另一张S I M卡进行电话通话,则会导致数据传输中断。However, each SIM card only supports a part of frequency bands, but not all frequency bands, so that electronic equipment cannot support all frequency band combinations. When the electronic device is performing cell switching, it is possible to switch from the DSDA mode to the Dual SIM Dual Standby (Dual SIM Dual Standby, DSDS) mode. Now, when utilizing one of the SIM cards of the two SIM cards for data transmission, if another SIM card is utilized for telephone calls at this moment, the data transmission will be interrupted.
发明内容Contents of the invention
本申请实施例的目的是提供一种通话方法、装置及设备,能够保证电子设备的双卡模式由DSDA模式切换为DSDS模式时,在利用一张S I M卡进行电话通话时,另一张S I M卡的数据传输不中断。The purpose of the embodiment of the present application is to provide a call method, device and equipment, which can ensure that when the dual-card mode of the electronic device is switched from DSDA mode to DSDS mode, when using one SIM card for telephone calls, another SIM card The data transmission is not interrupted.
第一方面,本申请实施例提供了一种通话方法,包括:In the first aspect, the embodiment of the present application provides a calling method, including:
根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;Determine the dual-card mode according to the cell frequency bands where the first SIM card and the second SIM card are located;
在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S IM卡的通信数据从第二S I M卡切换至第一S I M卡。When the first SIM card is used for telephone calls, and the dual-card mode is the DSDS mode, the communication data of the second SIM card is switched from the second SIM card to the first SIM card.
第二方面,本申请实施例提供了一种通话装置,包括:In the second aspect, the embodiment of the present application provides a communication device, including:
确定模块,用于根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;A determining module, configured to determine the dual-card mode according to the cell frequency bands where the first SIM card and the second SIM card are located;
切换模块,用于在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡。The switching module is used to switch the communication data of the second SIM card from the second SIM card to the first SIM card when the phone call is made through the first SIM card and the dual-card mode is the DSDS mode.
第三方面,本申请实施例提供了一种电子设备,包括处理器和存储器,存储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, including a processor and a memory, and the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the electronic device described in the first aspect is implemented. method steps.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面所述的方法的步骤。In the fifth aspect, the embodiment of the present application provides a chip, including a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,通过根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S IM卡的通信数据从第二S I M卡切换至第一S I M卡。如此,在电子设备的双卡模式由DSDA模式切换为DSDS模式的情况下,在利用一张S I M卡进行电话通话时,另一张S I M卡的数据传输不中断。In the embodiment of the present application, the dual-card mode is determined according to the frequency band of the cell where the first SIM card and the second SIM card are located; when the first SIM card is used for telephone calls, and the dual-card mode is the DSDS mode, The communication data of the second SIM card is switched from the second SIM card to the first SIM card. In this way, when the dual-card mode of the electronic device is switched from the DSDA mode to the DSDS mode, when one SIM card is used to make a phone call, the data transmission of the other SIM card will not be interrupted.
附图说明Description of drawings
图1是本申请一些实施例提供的通话方法的流程示意图;FIG. 1 is a schematic flowchart of a call method provided by some embodiments of the present application;
图2是本申请一些实施例提供的切换数据的过程示意图;Fig. 2 is a schematic diagram of the process of switching data provided by some embodiments of the present application;
图3是本申请一些实施例提供的通话装置的结构示意图;Fig. 3 is a schematic structural diagram of a communication device provided by some embodiments of the present application;
图4是本申请一些实施例提供的电子设备的结构示意图;Fig. 4 is a schematic structural diagram of an electronic device provided by some embodiments of the present application;
图5是本申请一些实施例提供的电子设备的硬件结构示意图。Fig. 5 is a schematic diagram of a hardware structure of an electronic device provided by some embodiments of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通话方法、装置及设备进行详细地说明。The calling method, device, and equipment provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
本申请实施例提供的通话方法可以应用于电子设备进行小区切换或重选后其安装的S I M卡所处小区频段发生变化等场景,例如,在用户移动的场景中,用户所携带的电子设备发生小区切换或重选后,该电子设备安装的S I M卡所处小区频段发生变化,其中,用户移动的场景包括但不限于:驾车、乘坐公共交通工具、乘坐高铁等。The call method provided by the embodiment of the present application can be applied to scenarios such as the frequency band of the cell where the SIM card installed on the electronic device changes after cell switching or reselection. For example, in the scenario where the user moves, the electronic device carried by the user changes After cell switching or reselection, the frequency band of the cell where the SIM card installed on the electronic device is located changes, and the scenarios where the user moves include but are not limited to: driving, taking public transportation, and taking high-speed rail.
图1是本申请一些实施例提供的通话方法的流程示意图。通话方法可以包括:Fig. 1 is a schematic flowchart of a call method provided by some embodiments of the present application. Call methods can include:
步骤101:根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式。Step 101: Determine the dual-card mode according to the frequency band of the cell where the first SIM card and the second SIM card are located.
在本申请实施例的一些可能实现中,可以在第一S I M卡和第二S I M卡进行初始网络注册时,或者,在进行小区重选或切换,其中一个S I M卡频段发生变化时,获取第一SI M卡和第二S I M卡所处的小区频段;还可以在利用其中一个S I M卡进行电话通话的过程中,获取第一S I M卡和第二S I M卡所处的小区频段;还可以每间隔一段时间,获取第一S I M卡和第二S I M卡所处的小区频段,例如,每间隔1秒获取第一S I M卡和第二S I M卡所处的小区频段,再例如,每间隔0.5秒获取第一S I M卡和第二S I M卡所处的小区频段。In some possible implementations of the embodiments of the present application, when the first SIM card and the second SIM card perform initial network registration, or when performing cell reselection or handover, when the frequency band of one SIM card changes, the first The frequency band of the residential area where the SIM card and the second SIM card are located; it is also possible to obtain the frequency band of the residential area where the first SIM card and the second SIM card are located during the process of using one of the SIM cards to carry out a telephone conversation; Time, obtain the frequency band of the cell where the first SIM card and the second SIM card are located, for example, obtain the frequency band of the cell where the first SIM card and the second SIM card are located at an interval of 1 second, and for example, obtain the first SIM card at an interval of 0.5 seconds. The frequency band of the cell where the SIM card and the second SIM card are located.
步骤102:在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡。Step 102: Switch the communication data of the second SIM card from the second SIM card to the first SIM card when the phone call is made through the first SIM card and the dual-card mode is the DSDS mode.
其中,在DSDA模式下,电子设备在通过安装的两者S I M卡中的其中一张S I M卡进行电话通话时,不会影响另一张S I M卡的通信数据,即另一张S I M卡的通信数据传输不会中断,并且同时还可以通过另一张S I M卡进行电话通话;在DSDS模式下,电子设备在通过安装的两者S I M卡中的其中一张S I M卡进行电话通话时,另一张S I M卡的通信数据传输会发生中断,并且不能通过另一张S I M卡进行电话通话。Among them, in the DSDA mode, when the electronic device makes a phone call through one of the two SIM cards installed, it will not affect the communication data of the other SIM card, that is, the communication data of the other SIM card The transmission will not be interrupted, and at the same time, a phone call can be made through another SIM card; in DSDS mode, when the electronic device makes a phone call through one of the two installed SIM cards, the other SIM card The communication data transmission of the card will be interrupted, and phone calls cannot be made through another SIM card.
上述各步骤的具体实现方式将在下文中进行详细描述。The specific implementation of the above steps will be described in detail below.
在本申请实施例中,通过根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S IM卡的通信数据从第二S I M卡切换至第一S I M卡。如此,在电子设备的双卡模式由DSDA模式切换为DSDS模式的情况下,在利用一张S I M卡进行电话通话时,另一张S I M卡的数据传输不中断。In the embodiment of the present application, the dual-card mode is determined according to the frequency band of the cell where the first SIM card and the second SIM card are located; when the first SIM card is used for telephone calls, and the dual-card mode is the DSDS mode, The communication data of the second SIM card is switched from the second SIM card to the first SIM card. In this way, when the dual-card mode of the electronic device is switched from the DSDA mode to the DSDS mode, when one SIM card is used to make a phone call, the data transmission of the other SIM card will not be interrupted.
在本申请实施例的一些可能实现中,本申请实施例的通话方法可以应用于具备DSDA能力的电子设备。In some possible implementations of the embodiments of the present application, the call method in the embodiments of the present application may be applied to electronic devices with DSDA capabilities.
在本申请实施例的一些可能实现中,电子设备的应用处理器(App l i cat i onProcessor,AP)中存储有用于表示电子设备是否具备DSDA能力的属性值,通过该属性值可以获知电子设备是否具备DSDA能力。In some possible implementations of the embodiments of the present application, an attribute value indicating whether the electronic device has a DSDA capability is stored in an application processor (ApplicationProcessor, AP) of the electronic device, and whether the electronic device can be known through the attribute value With DSDA capability.
在本申请实施例的一些可能实现中,本申请实施例中电话通话包括但不限于拨打电话和接听电话。In some possible implementations of the embodiment of the present application, the phone call in the embodiment of the present application includes but is not limited to making a call and answering a call.
在本申请的一些实施例中,电子设备中安装有S I M卡1和S I M卡2,当发生小区切换时,S I M卡1所处小区频段发生变化,此时,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段确定出双卡模式为DSDS模式。当通过S I M卡1进行电话通话时,将S I M卡2的通信数据从S I M卡2切换至S I M卡1,或,当通过S I M卡2进行电话通话时,将S I M卡1的通信数据从S I M卡1切换至S I M卡2。In some embodiments of the present application, SIM card 1 and SIM card 2 are installed in the electronic equipment. When cell switching occurs, the frequency band of the cell where SIM card 1 is located changes. At this time, the switching configuration message received by the network side Obtain the cell frequency band where the SIM card 1 and the SIM card 2 are located in, and then determine the dual card mode as the DSDS mode according to the cell frequency band. When carrying out telephone conversation by SIM card 1, the communication data of SIM card 2 is switched to SIM card 1 from SIM card 2, or, when carrying out telephone conversation by SIM card 2, the communication data of SIM card 1 is transferred from SIM card 1 Switch to SIM card 2.
在本申请的一些实施例中,电子设备中安装有S I M卡1和S I M卡2,当发生小区切换时,S I M卡1和S I M卡2所处小区频段均发生变化,此时,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段确定出双卡模式为DSDS模式。当通过S I M卡1进行电话通话时,将S I M卡2的通信数据从S I M卡2切换至S I M卡1,或,当通过S I M卡2进行电话通话时,将S I M卡1的通信数据从S I M卡1切换至S I M卡2。In some embodiments of the present application, SIM card 1 and SIM card 2 are installed in the electronic equipment. When cell switching occurs, the frequency band of the cell where SIM card 1 and SIM card 2 are located changes. At this time, the network side receives Obtain the cell frequency band where the SIM card 1 and the SIM card 2 are located in the handover configuration message received, and then determine the dual-card mode as the DSDS mode according to the cell frequency band. When carrying out telephone conversation by SIM card 1, the communication data of SIM card 2 is switched to SIM card 1 from SIM card 2, or, when carrying out telephone conversation by SIM card 2, the communication data of SIM card 1 is transferred from SIM card 1 Switch to SIM card 2.
在本申请实施例的一些可能实现中,步骤101可以包括:在第一S I M卡和第二S IM卡支持的至少一个频段中不包括小区频段的情况下,确定双卡模式为双卡双待DSDS模式;在第一S I M卡和第二S I M卡支持的至少一个频段中包括小区频段的情况下,确定双卡模式为双卡双通DSDA模式。In some possible implementations of the embodiments of the present application,
在本申请实施例的一些可能实现中,当电子设备开机时,可以从网络侧接收到的系统消息中获取第一S I M卡和第二S I M卡所处的小区频段,当电子设备进行小区切换或重选时,可以从网络侧接收到的切换配置消息或重选配置消息中获取第一S I M卡和第二SI M卡所处的小区频段。In some possible implementations of the embodiments of this application, when the electronic device is turned on, the frequency bands of the cells where the first SIM card and the second SIM card are located can be obtained from the system message received from the network side, and when the electronic device performs cell handover or During reselection, the frequency bands of the cells where the first SIM card and the second SIM card are located can be acquired from a handover configuration message or a reselection configuration message received from the network side.
在本申请实施例的一些可能实现中,可以从射频(Rad i o Frequency,RF)数据库中获取第一S I M卡和第二S I M卡所支持的频段,其中,RF数据库中存储有两张S I M卡支持DSDA能力的所有频段组合。In some possible implementations of the embodiments of the present application, the frequency bands supported by the first SIM card and the second SIM card can be obtained from a radio frequency (Radio Frequency, RF) database, where two SIM cards support All band combinations for DSDA capability.
在本申请实施例的一些可能实现中,可以在每次获取到第一S I M卡和第二S I M卡所处的小区频段之后,即从RF数据库中获取第一S I M卡和第二S I M卡所支持的频段。In some possible implementations of the embodiments of the present application, after obtaining the frequency bands of the cells where the first SIM card and the second SIM card are located each time, the frequency bands supported by the first SIM card and the second SIM card can be obtained from the RF database. frequency band.
在本申请的一些实施例中,从RF数据库中获取到的第一S I M卡和第二S I M卡所支持的频段为:S I M卡1支持N78频段、S I M卡2支持N41频段;获取到的第一S I M卡和第二S I M卡所处的小区频段为:S I M卡1处于N78频段、S I M卡2处于N79频段。此时,第一SI M卡和第二S I M卡所支持的频段不包括第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式为DSDS模式。In some embodiments of the present application, the frequency bands supported by the first SIM card obtained from the RF database and the second SIM card are: SIM card 1 supports the N78 frequency band, and SIM card 2 supports the N41 frequency band; The cell frequency bands where the SIM card and the second SIM card are located are: the SIM card 1 is in the N78 frequency band, and the SIM card 2 is in the N79 frequency band. At this time, the frequency band supported by the first SIM card and the second SIM card does not include the frequency band of the cell where the first SIM card and the second SIM card are located, and the dual card mode is determined to be the DSDS mode.
在本申请的一些实施例中,从RF数据库中获取到的第一S I M卡和第二S I M卡所支持的频段为:S I M卡1支持N78频段、S I M卡2支持N41频段;获取到的第一S I M卡和第二S I M卡所处的小区频段为:S I M卡1处于N78频段、S I M卡2处于N41频段。此时,第一SI M卡和第二S I M卡所支持的频段包括第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式为DSDA模式。In some embodiments of the present application, the frequency bands supported by the first SIM card obtained from the RF database and the second SIM card are: SIM card 1 supports the N78 frequency band, and SIM card 2 supports the N41 frequency band; The cell frequency bands where the SIM card and the second SIM card are located are: the SIM card 1 is in the N78 frequency band, and the SIM card 2 is in the N41 frequency band. At this time, the frequency band supported by the first SIM card and the second SIM card includes the frequency band of the cell where the first SIM card and the second SIM card are located, and the dual card mode is determined to be the DSDA mode.
在本申请的一些实施例中,从RF数据库中获取到的第一S I M卡和第二S I M卡所支持的频段为:S I M卡1支持N78频段、S I M卡2支持N41和N79频段;获取到的第一S I M卡和第二S I M卡所处的小区频段为:S I M卡1处于N28频段、S I M卡2处于N79频段。此时,第一S I M卡和第二S I M卡所支持的频段不包括第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式为DSDS模式。In some embodiments of the present application, the frequency bands supported by the first SIM card obtained from the RF database and the second SIM card are: SIM card 1 supports N78 frequency band, SIM card 2 supports N41 and N79 frequency bands; The cell frequency bands where the first SIM card and the second SIM card are located are: the SIM card 1 is in the N28 frequency band, and the SIM card 2 is in the N79 frequency band. At this time, the frequency band supported by the first SIM card and the second SIM card does not include the frequency band of the cell where the first SIM card and the second SIM card are located, and the dual card mode is determined to be the DSDS mode.
在本申请的一些实施例中,从RF数据库中获取到的第一S I M卡和第二S I M卡所支持的频段为:S I M卡1支持N78频段、S I M卡2支持N41和N79频段;获取到的第一S I M卡和第二S I M卡所处的小区频段为:S I M卡1处于N28频段、S I M卡2处于N1频段。此时,第一S I M卡和第二S I M卡所支持的频段不包括第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式为DSDS模式。In some embodiments of the present application, the frequency bands supported by the first SIM card obtained from the RF database and the second SIM card are: SIM card 1 supports N78 frequency band, SIM card 2 supports N41 and N79 frequency bands; The cell frequency bands where the first SIM card and the second SIM card are located are: the SIM card 1 is in the N28 frequency band, and the SIM card 2 is in the N1 frequency band. At this time, the frequency band supported by the first SIM card and the second SIM card does not include the frequency band of the cell where the first SIM card and the second SIM card are located, and the dual card mode is determined to be the DSDS mode.
在本申请的一些实施例中,从RF数据库中获取到的第一S I M卡和第二S I M卡所支持的频段为:S I M卡1支持N78频段、S I M卡2支持N41和N79频段;获取到的第一S I M卡和第二S I M卡所处的小区频段为:S I M卡1处于N78频段、S I M卡2处于N41频段。此时,第一S I M卡和第二S I M卡所支持的频段包括第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式为DSDA模式。In some embodiments of the present application, the frequency bands supported by the first SIM card obtained from the RF database and the second SIM card are: SIM card 1 supports N78 frequency band, SIM card 2 supports N41 and N79 frequency bands; The cell frequency bands where the first SIM card and the second SIM card are located are: the SIM card 1 is in the N78 frequency band, and the SIM card 2 is in the N41 frequency band. At this time, the frequency band supported by the first SIM card and the second SIM card includes the frequency band of the cell where the first SIM card and the second SIM card are located, and it is determined that the dual card mode is the DSDA mode.
其中,上述的N41频段的频率范围通常为2515MHz至2675MHz,N78频段的频率范围通常为3400MHz至3600MHz,N79频段的频率范围通常为4800MHz至4900MHz,N28频段的频率范围通常为703MHz至733MHz或758MHz至788MHz,N1频段的频率范围通常为1940MHz至1965MHz。Among them, the frequency range of the above-mentioned N41 frequency band is usually 2515MHz to 2675MHz, the frequency range of the N78 frequency band is usually 3400MHz to 3600MHz, the frequency range of the N79 frequency band is usually 4800MHz to 4900MHz, and the frequency range of the N28 frequency band is usually 703MHz to 733MHz or 758MHz to 788MHz, the frequency range of the N1 band is usually 1940MHz to 1965MHz.
在本申请实施例的一些可能实现中,两张S I M卡可以均建立有通信数据公用数据网(Pub l i c Data Network,PDN)。In some possible implementations of the embodiment of the present application, both the two SIM cards may have a communication data public data network (Public Data Network, PDN).
在通信数据进行切换S I M卡时,双卡的PDN依旧保持连接状态,切换的是无线接口层接口(Rad i o I nterface Layer JAVA,RI LJ)或无线接口层进程(Rad i o Interface Layer Demon,RI LD)之间的网络接口。当通信数据在第一S I M卡时,第二S I M卡RI LJ/RI LD到调制解调器(Modem)的网络接口为可疑(Suspeed)状态;当通信数据在第二S I M卡时,第一S I M卡RI LJ/RI LD到Modem的网络接口为Suspeed状态。When the SIM card is switched for communication data, the PDN of the dual card remains connected, and the radio interface layer interface (Radio Interface Layer JAVA, RI LJ) or the radio interface layer process (Radio Interface Layer Demon, RI LD) is switched. ) between network interfaces. When the communication data is in the first SIM card, the network interface of the second SIM card RI LJ/RI LD to the modem (Modem) is in a suspicious (Suspeed) state; when the communication data is in the second SIM card, the first SIM card RI LJ /RI The network interface from LD to Modem is in Suspeed state.
在本申请实施例中,双PDN连接相比于相关技术中只有电话通话的S I M卡建立PDN连接,通信数据在进行S I M卡切换时时延更低,能够达到秒级的数据切换,进一步能够避免通信数据中断。In the embodiment of the present application, the double PDN connection is compared with the SIM card that only has telephone calls in the related art to establish a PDN connection, and the communication data has a lower delay when switching the SIM card, and can achieve second-level data switching, which can further avoid communication. Data interruption.
在本申请实施例的一些可能实现中,在步骤102之后,本申请实施例提供的通话方法还可以包括:在双卡模式由DSDS模式切换为DSDA模式的情况下,将第二S I M卡的通信数据从第一S I M卡切换至第二S I M卡。In some possible implementations of the embodiments of the present application, after
在本申请的一些实施例中,电子设备中安装有S I M卡1和S I M卡2,当发生小区切换时,S I M卡1所处小区频段发生变化,此时,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段和从RF数据库中获取到的SI M卡1和S I M卡2所支持的频段确定出双卡模式为DSDS模式。当通过S I M卡1进行电话通话时,将S I M卡2的通信数据从S I M卡2切换至S I M卡1。当通过S I M卡1进行电话通话的过程中,又发生小区切换,S I M卡1所处小区频段又发生变化,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段和从RF数据库中获取到的S I M卡1和S I M卡2所支持的频段确定出双卡模式为DSDA模式。此时,双卡模式由DSDS模式切换为DSDA模式,将S I M卡2的通信数据从S I M卡1切换至S I M卡2。In some embodiments of the present application, SIM card 1 and SIM card 2 are installed in the electronic equipment. When cell switching occurs, the frequency band of the cell where SIM card 1 is located changes. At this time, the switching configuration message received by the network side Obtain the frequency band of the cell where the SIM card 1 and SIM card 2 are located in, and then determine that the dual card mode is the DSDS mode according to the frequency band of the cell and the frequency bands supported by the SIM card 1 and SIM card 2 obtained from the RF database . When carrying out telephone conversation by SIM card 1, the communication data of SIM card 2 is switched to SIM card 1 from SIM card 2. When carrying out the telephone conversation process by SIM card 1, cell switching occurs again, and the frequency band of the cell where SIM card 1 is located changes again, obtains the location of SIM card 1 and SIM card 2 from the switching configuration message received by the network side. Cell frequency band, then, according to this cell frequency band and the frequency bands supported by the SIM card 1 and SIM card 2 obtained from the RF database, it is determined that the dual-card mode is the DSDA mode. At this time, the dual-card mode is switched from the DSDS mode to the DSDA mode, and the communication data of the SIM card 2 is switched from the SIM card 1 to the SIM card 2.
在本申请的一些实施例中,电子设备中安装有S I M卡1和S I M卡2,当发生小区切换时,S I M卡1和S I M卡2所处小区频段均发生变化,此时,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段和从RF数据库中获取到的S I M卡1和S I M卡2所支持的频段确定出双卡模式为DSDS模式。当通过S IM卡1进行电话通话时,将S I M卡2的通信数据从S I M卡2切换至S I M卡1。当通过S I M卡1进行电话通话的过程中,又发生小区切换,S I M卡1和S I M卡2所处的小区频段又发生变化,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段和从RF数据库中获取到的S I M卡1和S I M卡2所支持的频段确定出双卡模式为DSDA模式。此时,双卡模式由DSDS模式切换为DSDA模式,将S I M卡2的通信数据从S I M卡1切换至S I M卡2。In some embodiments of the present application, SIM card 1 and SIM card 2 are installed in the electronic equipment. When cell switching occurs, the frequency band of the cell where SIM card 1 and SIM card 2 are located changes. At this time, the network side receives Obtain the frequency band of the cell where SIM card 1 and SIM card 2 are located in the handover configuration message received, and then determine the dual card according to the cell frequency band and the frequency bands supported by SIM card 1 and SIM card 2 obtained from the RF database. The mode is DSDS mode. When carrying out telephone conversation by SIM card 1, the communication data of SIM card 2 is switched to SIM card 1 from SIM card 2. In the process of making a phone call through the SIM card 1, cell switching occurs again, and the frequency bands of the cells where the SIM card 1 and SIM card 2 are located change again, and the SIM card 1 and SIM card 2 are obtained from the switching configuration message received by the network side. The frequency band of the residential area where the card 2 is located, then, determine that the dual-card mode is the DSDA mode according to the frequency band supported by the SIM card 1 and SIM card 2 obtained from the RF database and the frequency band of the residential area. At this time, the dual-card mode is switched from the DSDS mode to the DSDA mode, and the communication data of the SIM card 2 is switched from the SIM card 1 to the SIM card 2.
在本申请实施例中,在双卡模式由DSDS模式切换为DSDA模式的情况下,通过将第二S I M卡的通信数据切换回第二S I M卡,能够避免过度消耗第一S I M卡的流量。In the embodiment of the present application, when the dual card mode is switched from the DSDS mode to the DSDA mode, by switching the communication data of the second SIM card back to the second SIM card, excessive consumption of the flow of the first SIM card can be avoided.
在本申请实施例的一些可能实现中,在步骤102之后,本申请实施例提供的通话方法还可以包括:在通过第一S I M卡电话通话结束之后,将第二S I M卡的通信数据从第一SI M卡切换到第二S I M卡。In some possible implementations of the embodiments of the present application, after
可以理解的是,在通过第一S I M卡电话通话结束,将第二S I M卡的通信数据切换回第二S I M卡的情况下,在通过第一S I M卡进行电话通话的过程中,电子设备始终处于DSDS模式。It can be understood that, when the telephone conversation by the first SIM card ends and the communication data of the second SIM card is switched back to the second SIM card, the electronic device is always in the process of telephone conversation by the first SIM card. DSDS mode.
在本申请的一些实施例中,电子设备中安装有S I M卡1和S I M卡2,当发生小区切换时,S I M卡1所处的小区频段发生变化,此时,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段和从RF数据库中获取到的S I M卡1和S I M卡2所支持的频段确定出双卡模式为DSDS模式。当通过S I M卡1进行电话通话时,将S I M卡2的通信数据从S I M卡2切换至S I M卡1。当通过S I M卡1电话通话结束之后,将S I M卡2的通信数据从S I M卡1切换至S I M卡2。In some embodiments of the present application, SIM card 1 and SIM card 2 are installed in the electronic device. When cell switching occurs, the frequency band of the cell where SIM card 1 is located changes. At this time, the switching configuration received by the network side Obtain the cell frequency band where SIM card 1 and SIM card 2 are located in the message, and then determine the dual card mode as DSDS mode according to the cell frequency band and the frequency bands supported by SIM card 1 and SIM card 2 obtained from the RF database . When carrying out telephone conversation by SIM card 1, the communication data of SIM card 2 is switched to SIM card 1 from SIM card 2. After the SIM card 1 phone call ends, the communication data of the SIM card 2 is switched to the SIM card 2 from the SIM card 1.
在本申请的一些实施例中,电子设备中安装有S I M卡1和S I M卡2,当发生小区切换时,S I M卡2所处的小区频段发生变化,此时,通过网络侧接收到的切换配置消息中获取到S I M卡1和S I M卡2所处的小区频段,然后,根据该小区频段和从RF数据库中获取到的S I M卡1和S I M卡2所支持的频段确定出双卡模式为DSDS模式。当通过S I M卡1进行电话通话时,将S I M卡2的通信数据从S I M卡2切换至S I M卡1。当通过S I M卡1电话通话结束之后,将S I M卡2的通信数据从S I M卡1切换至S I M卡2。In some embodiments of the present application, SIM card 1 and SIM card 2 are installed in the electronic device. When cell switching occurs, the frequency band of the cell where SIM card 2 is located changes. At this time, the switching configuration received by the network side Obtain the cell frequency band where SIM card 1 and SIM card 2 are located in the message, and then determine the dual card mode as DSDS mode according to the cell frequency band and the frequency bands supported by SIM card 1 and SIM card 2 obtained from the RF database . When carrying out telephone conversation by SIM card 1, the communication data of SIM card 2 is switched to SIM card 1 from SIM card 2. After the SIM card 1 phone call ends, the communication data of the SIM card 2 is switched to the SIM card 2 from the SIM card 1.
在本申请实施例中,在通过第一S I M卡电话通话结束之后,通过将第二S I M卡的通信数据切换回第二S I M卡,能够避免过度消耗第一S I M卡的流量。In the embodiment of the present application, after the phone call through the first SIM card ends, by switching the communication data of the second SIM card back to the second SIM card, excessive consumption of the traffic of the first SIM card can be avoided.
在本申请实施例的一些可能实现中,在步骤101之后,本申请实施例提供的通话方法还可以包括:通过调制解调器,向应用处理器上报双卡模式;相应地,步骤102可以包括:通过应用处理器,将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡。In some possible implementations of the embodiment of the present application, after
在本申请实施例中,通过调制解调器和应用处理器配合,可以使支持DSDA能力的电子设备,在移动且电话通话过程中,保持良好的数据通信,避免切换到DSDS模式导致数据通信中断。In the embodiment of the present application, through the cooperation of the modem and the application processor, the electronic device supporting the DSDA capability can maintain good data communication during the mobile and telephone conversation, and avoid data communication interruption caused by switching to the DSDS mode.
下面结合图2对数据切换过程进行说明。The data switching process will be described below with reference to FIG. 2 .
步骤201:获取第一S I M卡和第二S I M卡所处的小区频段。Step 201: Obtain the frequency bands of the cell where the first SIM card and the second SIM card are located.
步骤202:从RF数据库中,获取存储的第一S I M卡和第二S I M卡支持的频段;Step 202: From the RF database, obtain the stored frequency bands supported by the first SIM card and the second SIM card;
步骤203:判断第一S I M卡和第二S I M卡支持的频段是否包括第一S I M卡和第二S I M卡所处的小区频段,如果否,执行步骤204,如果是,执行步骤210;Step 203: judge whether the frequency band supported by the first SIM card and the second SIM card includes the frequency band of the residential area where the first SIM card and the second SIM card are located, if not, perform
步骤204:确定双卡模式为DSDS模式;Step 204: Determine that the dual card mode is DSDS mode;
步骤205:当通过第一S I M卡进行电话通话时,将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡;Step 205: When making a phone call through the first SIM card, switching the communication data of the second SIM card from the second SIM card to the first SIM card;
步骤206:判断通过第一S I M卡电话通话是否结束,如果否,执行S207,如果是,执行S209;Step 206: judging whether the phone call through the first SIM card is over, if not, execute S207, if yes, execute S209;
步骤207:判断第一S I M卡和第二S I M卡支持的频段是否包括此时获取到的第一S I M卡和第二S I M卡所处的小区频段,如果是,执行S208,如果否,继续执行步骤206;Step 207: judge whether the frequency band supported by the first SIM card and the second SIM card includes the frequency band of the cell where the first SIM card and the second SIM card obtained at this time are located, if yes, execute S208, if not, continue to perform
步骤208:确定双卡模式为DSDA模式;Step 208: Determine that the dual card mode is DSDA mode;
步骤209:将第二S I M卡的通信数据从第一S I M卡切换至第二S I M卡;Step 209: switching the communication data of the second SIM card from the first SIM card to the second SIM card;
步骤210:确定双卡模式为DSDA模式,并保持S I M卡的通信数据不进行S I M卡切换。Step 210: Determine that the dual-card mode is the DSDA mode, and keep the communication data of the SIM card without switching the SIM card.
需要说明的是,本申请实施例提供的通话方法,执行主体可以为通话装置。本申请实施例中以通话装置执行通话方法为例,说明本申请实施例提供的通话装置。It should be noted that, the call method provided in the embodiment of the present application may be executed by a call device. In the embodiment of the present application, the communication device provided in the embodiment of the present application is described by taking the communication device executing the method for communicating as an example.
图3是本申请一些实施例提供的通话装置的结构示意图。通话装置300可以包括:Fig. 3 is a schematic structural diagram of a communication device provided by some embodiments of the present application.
确定模块301,用于根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;Determining
切换模块302,用于在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡。The
在本申请实施例中,通过根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S IM卡的通信数据从第二S I M卡切换至第一S I M卡。如此,在电子设备的双卡模式由DSDA模式切换为DSDS模式的情况下,在利用一张S I M卡进行电话通话时,另一张S I M卡的数据传输不中断。In the embodiment of the present application, the dual-card mode is determined according to the frequency band of the cell where the first SIM card and the second SIM card are located; when the first SIM card is used for telephone calls, and the dual-card mode is the DSDS mode, The communication data of the second SIM card is switched from the second SIM card to the first SIM card. In this way, when the dual-card mode of the electronic device is switched from the DSDA mode to the DSDS mode, when one SIM card is used to make a phone call, the data transmission of the other SIM card will not be interrupted.
在本申请实施例的一些可能实现中,切换模块302还可以用于:In some possible implementations of the embodiments of this application, the
在双卡模式由DSDS模式切换为DSDA模式的情况下,将第二S I M卡的通信数据从第一S I M卡切换至第二S I M卡。In the case that the dual card mode is switched from the DSDS mode to the DSDA mode, the communication data of the second SIM card is switched from the first SIM card to the second SIM card.
在本申请实施例中,在双卡模式由DSDS模式切换为DSDA模式的情况下,通过将第二S I M卡的通信数据切换回第二S I M卡,能够避免过度消耗第一S I M卡的流量。In the embodiment of the present application, when the dual card mode is switched from the DSDS mode to the DSDA mode, by switching the communication data of the second SIM card back to the second SIM card, excessive consumption of the flow of the first SIM card can be avoided.
在本申请实施例的一些可能实现中,切换模块302还可以用于:In some possible implementations of the embodiments of this application, the
在通过第一S I M卡通话结束之后,将第二S I M卡的通信数据从第一S I M卡切换至第二S I M卡。After the conversation by the first SIM card ends, the communication data of the second SIM card is switched from the first SIM card to the second SIM card.
在本申请实施例中,在通过第一S I M卡电话通话结束之后,通过将第二S I M卡的通信数据切换回第二S I M卡,能够避免过度消耗第一S I M卡的流量。In the embodiment of the present application, after the phone call through the first SIM card ends, by switching the communication data of the second SIM card back to the second SIM card, excessive consumption of the traffic of the first SIM card can be avoided.
在本申请实施例的一些可能实现中,确定模块301具体可以用于:In some possible implementations of the embodiments of this application, the determining
在第一S I M卡和第二S I M卡支持的至少一个频段中不包括小区频段的情况下,确定双卡模式为双卡双待DSDS模式;In the case that at least one frequency band supported by the first SIM card and the second SIM card does not include the cell frequency band, determine that the dual-card mode is a dual-card dual-standby DSDS mode;
在第一S I M卡和第二S I M卡支持的至少一个频段中包括小区频段的情况下,确定双卡模式为双卡双通DSDA模式。In the case that at least one frequency band supported by the first SIM card and the second SIM card includes a cell frequency band, it is determined that the dual-card mode is a dual-card dual-pass DSDA mode.
在本申请实施例的一些可能实现中,通话装置300还可以包括:In some possible implementations of the embodiments of the present application, the
调制解调器,用于向应用处理器上报双卡模式;A modem, used to report the dual card mode to the application processor;
应用处理器,用于将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡。The application processor is used for switching the communication data of the second SIM card from the second SIM card to the first SIM card.
在本申请实施例中,通过调制解调器和应用处理器配合,可以使支持DSDA能力的电子设备,在移动且电话通话过程中,保持良好的数据通信,避免切换到DSDS模式导致数据通信中断。In the embodiment of the present application, through the cooperation of the modem and the application processor, the electronic device supporting the DSDA capability can maintain good data communication during the mobile and telephone conversation, and avoid data communication interruption caused by switching to the DSDS mode.
本申请实施例中的通话装置可以是电子设备中的部件,例如集成电路、或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mob i l e I nternetDevi ce,M I D)、增强现实(augmented rea l ity,AR)/虚拟现实(vi rtua l rea l ity,VR)设备、机器人、可穿戴设备、超级移动个人计算机(u l tra-mob i l e persona lcomputer,UMPC)、上网本或者个人数字助理(persona l d i gita l ass i stant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(persona l computer,PC)、电视机(te l evi s i on,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The communication device in this embodiment of the present application may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mob i l e Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality ( vi rtua l real ity, VR equipment, robots, wearable devices, ultra-mobile personal computer (u l tra-mob i l e persona lcomputer, UMPC), netbook or personal digital assistant (persona l d i gita l ass i stant, PDA), etc. , can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (persona l computer, PC), a television (tel evi s ion, TV), a teller machine or a self-service machine, etc. Specific limits.
本申请实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Androi d)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The electronic device in this embodiment of the present application may be an electronic device with an operating system. The operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的通话装置能够实现图1至图2的通话方法实施例中的各个过程,为避免重复,这里不再赘述。The communication device provided in the embodiment of the present application can realize each process in the embodiment of the communication method in FIG. 1 to FIG. 2 , and to avoid repetition, details are not repeated here.
可选的,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401和存储器402,存储器402存储有可在处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述通话方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4 , the embodiment of the present application also provides an
在本申请实施例的一些可能实现中,处理器401可以包括中央处理器(CPU),或者特定集成电路(App l i cat i on Spec i f i c I ntegrated Ci rcu it,AS I C),或者可以被配置成实施本申请实施例的一个或多个集成电路。In some possible implementations of the embodiments of the present application, the
在本申请实施例的一些可能实现中,存储器402可以包括只读存储器(Read-On ly Memory,ROM),随机存取存储器(Random Access Memory,RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器402包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请实施例的通话方法所描述的操作。In some possible implementations of the embodiments of the present application, the
图5是本申请一些实施例提供的电子设备的硬件结构示意图。Fig. 5 is a schematic diagram of a hardware structure of an electronic device provided by some embodiments of the present application.
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。The
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
在本申请实施例的一些可能实现中,本申请实施例中的电子设备500具有DSDA能力,且安装有第一S I M卡和第二S I M卡。In some possible implementations of the embodiment of the present application, the
其中,处理器510用于:根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S I M卡的通信数据从第二S I M卡切换至第一S I M卡。Wherein, the
在本申请实施例中,通过根据第一S I M卡和第二S I M卡所处的小区频段,确定双卡模式;在通过第一S I M卡进行电话通话,且双卡模式为DSDS模式的情况下,将第二S IM卡的通信数据从第二S I M卡切换至第一S I M卡。如此,在电子设备的双卡模式由DSDA模式切换为DSDS模式的情况下,在利用一张S I M卡进行电话通话时,另一张S I M卡的数据传输不中断。In the embodiment of the present application, the dual-card mode is determined according to the frequency band of the cell where the first SIM card and the second SIM card are located; when the first SIM card is used for telephone calls, and the dual-card mode is the DSDS mode, The communication data of the second SIM card is switched from the second SIM card to the first SIM card. In this way, when the dual-card mode of the electronic device is switched from the DSDA mode to the DSDS mode, when one SIM card is used to make a phone call, the data transmission of the other SIM card will not be interrupted.
在本申请实施例的一些可能实现中,处理器510还可以用于:In some possible implementations of the embodiments of this application, the
在双卡模式由DSDS模式切换为DSDA模式的情况下,将第二S I M卡的通信数据从第一S I M卡切换至第二S I M卡。In the case that the dual card mode is switched from the DSDS mode to the DSDA mode, the communication data of the second SIM card is switched from the first SIM card to the second SIM card.
在本申请实施例中,在双卡模式由DSDS模式切换为DSDA模式的情况下,通过将第二S I M卡的通信数据切换回第二S I M卡,能够避免过度消耗第一S I M卡的流量。In the embodiment of the present application, when the dual card mode is switched from the DSDS mode to the DSDA mode, by switching the communication data of the second SIM card back to the second SIM card, excessive consumption of the flow of the first SIM card can be avoided.
在本申请实施例的一些可能实现中,处理器510还可以用于:In some possible implementations of the embodiments of this application, the
在通过第一S I M卡通话结束之后,将第二S I M卡的通信数据从第一S I M卡切换至第二S I M卡。After the conversation by the first SIM card ends, the communication data of the second SIM card is switched from the first SIM card to the second SIM card.
在本申请实施例中,在通过第一S I M卡电话通话结束之后,通过将第二S I M卡的通信数据切换回第二S I M卡,能够避免过度消耗第一S I M卡的流量。In the embodiment of the present application, after the phone call through the first SIM card ends, by switching the communication data of the second SIM card back to the second SIM card, excessive consumption of the traffic of the first SIM card can be avoided.
在本申请实施例的一些可能实现中,处理器510具体可以用于:In some possible implementations of the embodiments of this application, the
在第一S I M卡和第二S I M卡支持的至少一个频段中不包括小区频段的情况下,确定双卡模式为双卡双待DSDS模式;In the case that at least one frequency band supported by the first SIM card and the second SIM card does not include the cell frequency band, determine that the dual-card mode is a dual-card dual-standby DSDS mode;
在第一S I M卡和第二S I M卡支持的至少一个频段中包括小区频段的情况下,确定双卡模式为双卡双通DSDA模式。In the case that at least one frequency band supported by the first SIM card and the second SIM card includes a cell frequency band, it is determined that the dual-card mode is a dual-card dual-pass DSDA mode.
在本申请实施例的一些可能实现中,处理器510可包括一个或多个处理单元;处理器510可以集成应用处理器和调制解调器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调器主要处理无线通信信号,如基带处理器。In some possible implementations of the embodiments of the present application, the
在本申请实施例的一些可能实现中,处理器510可以仅集成应用处理器,调制解调器不集成在处理器510中,基于此,电子设备500还可以包括:In some possible implementations of the embodiments of the present application, the
调制解调器511,用于向处理器510上报双卡模式;The
相应地,处理器510中的应用处理器,可以用于将第二S I M卡的通信数据从第二SI M卡切换至第一S I M卡。Correspondingly, the application processor in the
在本申请实施例中,通过调制解调器和应用处理器配合,可以使支持DSDA能力的电子设备,在移动且电话通话过程中,保持良好的数据通信,避免切换到DSDS模式导致数据通信中断。In the embodiment of the present application, through the cooperation of the modem and the application processor, the electronic device supporting the DSDA capability can maintain good data communication during the mobile and telephone conversation, and avoid data communication interruption caused by switching to the DSDS mode.
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graph i csProcess i ng Un it,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072中的至少一种。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器509可以包括易失性存储器或非易失性存储器,或者,存储器509可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-On l y Memory,ROM)、可编程只读存储器(Programmab l e ROM,PROM)、可擦除可编程只读存储器(Erasab l e PROM,EPROM)、电可擦除可编程只读存储器(E l ectr i ca l l y EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Stat i c RAM,SRAM)、动态随机存取存储器(Dynami c RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Doub l e DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch l i nk DRAM,SLDRAM)和直接内存总线随机存取存储器(Di rect Rambus RAM,DRRAM)。本申请实施例中的存储器509包括但不限于这些和任意其它适合类型的存储器。The
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通话方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by the processor, the various processes of the above-mentioned communication method embodiment are realized, and the same technical effect can be achieved , to avoid repetition, it will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质包括计算机可读存储介质,计算机可读存储介质的示例包括非暂态计算机可读存储介质,如ROM、RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as ROM, RAM, magnetic disks, or optical disks.
本申请实施例还提供一种芯片,包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述通话方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a chip, including a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned call method embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例还提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述通话方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to realize the various processes in the above-mentioned communication method embodiment, and can achieve the same technical effect , to avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the essence of the technical solution of this application or the part that contributes to related technologies can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.
Claims (11)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310123035.3A CN116193419A (en) | 2023-02-15 | 2023-02-15 | Communication method, device and equipment |
| PCT/CN2024/076851 WO2024169900A1 (en) | 2023-02-15 | 2024-02-08 | Call method and apparatus and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310123035.3A CN116193419A (en) | 2023-02-15 | 2023-02-15 | Communication method, device and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116193419A true CN116193419A (en) | 2023-05-30 |
Family
ID=86434068
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310123035.3A Pending CN116193419A (en) | 2023-02-15 | 2023-02-15 | Communication method, device and equipment |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116193419A (en) |
| WO (1) | WO2024169900A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117395618A (en) * | 2023-10-19 | 2024-01-12 | 北京小米移动软件有限公司 | Data link switching method, device, storage medium and chip |
| WO2024169900A1 (en) * | 2023-02-15 | 2024-08-22 | 维沃移动通信有限公司 | Call method and apparatus and device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102455314B1 (en) * | 2017-03-25 | 2022-10-14 | 후아웨이 테크놀러지 컴퍼니 리미티드 | A communication method for implementing dual SIM dual activity, and a terminal |
| EP4302572A1 (en) * | 2021-03-03 | 2024-01-10 | Qualcomm Incorporated | Techniques for an optimized dual subscriber identity module dual active mode |
| CN114827984B (en) * | 2022-04-08 | 2023-12-19 | 维沃移动通信有限公司 | Communication method and communication device |
| CN116193419A (en) * | 2023-02-15 | 2023-05-30 | 维沃移动通信有限公司 | Communication method, device and equipment |
| CN117395618B (en) * | 2023-10-19 | 2024-03-01 | 北京小米移动软件有限公司 | Data link switching method, device, storage medium and chip |
-
2023
- 2023-02-15 CN CN202310123035.3A patent/CN116193419A/en active Pending
-
2024
- 2024-02-08 WO PCT/CN2024/076851 patent/WO2024169900A1/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024169900A1 (en) * | 2023-02-15 | 2024-08-22 | 维沃移动通信有限公司 | Call method and apparatus and device |
| CN117395618A (en) * | 2023-10-19 | 2024-01-12 | 北京小米移动软件有限公司 | Data link switching method, device, storage medium and chip |
| CN117395618B (en) * | 2023-10-19 | 2024-03-01 | 北京小米移动软件有限公司 | Data link switching method, device, storage medium and chip |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2024169900A1 (en) | 2024-08-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20160381629A1 (en) | Virtual sim card for accessing operator network | |
| KR101678038B1 (en) | Method, apparatus, program, and recording medium for automatically connecting wireless network | |
| CN107708168A (en) | SIM card switching method, mobile terminal and computer-readable storage medium | |
| EP2475215A1 (en) | Operating a dual SIM card terminal | |
| CN107820331A (en) | Call method, device, computer equipment and readable storage medium storing program for executing | |
| CN105554884A (en) | Method and device for paging response | |
| US11968557B2 (en) | MDT information notifying method and MDT information receiving method | |
| CN106028316B (en) | A network search method and device for international roaming | |
| US12133129B2 (en) | Method for determining network switch resource and method for configuring network switch resource | |
| CN107295591B (en) | Call method, device, computer storage medium and mobile terminal | |
| CN116193419A (en) | Communication method, device and equipment | |
| WO2021022474A1 (en) | Mdt information sending method and apparatus, and mdt information receiving method and apparatus | |
| CN115314962A (en) | Cell access method and device | |
| WO2018176297A1 (en) | Multi-window displaying apparatus and method and mobile electronic equipment | |
| CN112333734B (en) | Serving cell switching method and device | |
| US12133273B2 (en) | Method and apparatus for processing data | |
| WO2021232381A1 (en) | Information sending method, base station switching method, information reception method, and apparatus | |
| WO2023169434A1 (en) | Communication method and apparatus | |
| CN116074802A (en) | Relay UE selection method, device and electronic equipment | |
| CN115567901A (en) | Operation method, device, equipment and storage medium of user identification card | |
| CN112866983B (en) | Control method, control device and electronic equipment | |
| CN105722142A (en) | Mobile terminal and multilink-based data streaming method | |
| CN106686579B (en) | Method and device for obtaining operator name | |
| CN113302967A (en) | Measurement configuration method, measurement reporting method, measurement configuration device, measurement reporting device and storage medium | |
| CN114938528B (en) | Hot spot switching method, device, system and storage medium |
Legal Events
| 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 |