CN111601298B - SIM card control method and electronic equipment - Google Patents
SIM card control method and electronic equipment Download PDFInfo
- Publication number
- CN111601298B CN111601298B CN202010302265.2A CN202010302265A CN111601298B CN 111601298 B CN111601298 B CN 111601298B CN 202010302265 A CN202010302265 A CN 202010302265A CN 111601298 B CN111601298 B CN 111601298B
- Authority
- CN
- China
- Prior art keywords
- sim card
- preset
- target application
- application program
- electronic device
- 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.)
- Active
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
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- 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)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例提供一种SIM卡控制方法及电子设备,涉及通信技术领域,能够解决现有技术中SIM卡抢占射频资源使得网络体验较差的问题。具体方案包括:在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。该方案应用于电子设备的副卡占用主卡射频资源的场景中。
Embodiments of the present invention provide a method for controlling a SIM card and electronic equipment, which relate to the field of communication technologies and can solve the problem in the prior art that a SIM card preempts radio frequency resources and causes poor network experience. The specific solution includes: during the process of running the target application program, controlling the first SIM card to provide network services for the target application program; when the target application program is a preset application program, and the target parameter corresponding to the target application program matches the preset parameter In the case of , the second SIM card is controlled to execute a first preset operation, where the first preset operation is an operation of reducing radio frequency resources occupied by the second SIM card. This solution is applied in the scenario where the secondary card of the electronic device occupies the radio frequency resources of the main card.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种SIM卡控制方法及电子设备。The embodiments of the present invention relate to the technical field of communications, and in particular, to a SIM card control method and electronic equipment.
背景技术Background technique
目前,很多电子设备都支持双卡双待服务,用户可以在一个电子设备中使用两张用户身份识别模块(subscriber identification module,SIM)卡提供的网络服务。At present, many electronic devices support dual-card dual-standby services, and users can use network services provided by two subscriber identification module (subscriber identification module, SIM) cards in one electronic device.
电子设备可以使用两张SIM卡中的第一SIM卡开启数据流量,并进行数据业务。而对于两张SIM卡中的第二SIM卡,为了确保该SIM卡处于可寻呼状态,电子设备在控制该SIM卡注册成功后,周期性地执行信令程序和小区重选。The electronic device can use the first SIM card among the two SIM cards to enable data traffic and perform data services. For the second SIM card among the two SIM cards, in order to ensure that the SIM card is in a paging state, the electronic device periodically executes signaling procedures and cell reselection after controlling the registration of the SIM card successfully.
然而,一个电子设备通常只设置有一套射频资源。在电子设备的第一SIM卡开启数据流量进行数据业务的情况下,如果第二SIM卡执行信令程序和小区重选等流程,那么第二SIM卡将会抢占射频资源,从而发生第二SIM卡占用第一SIM卡的射频资源的现象,进而导致第一SIM卡的网络产生时延。若第一SIM卡处于一些对网络质量要求较高的场景,例如,在线游戏或视频聊天,则网络体验较差。However, an electronic device is usually provided with only one set of radio frequency resources. When the first SIM card of the electronic device turns on data traffic for data services, if the second SIM card performs signaling procedures and cell reselection processes, the second SIM card will seize radio frequency resources, thus causing the second SIM The card occupies the radio frequency resources of the first SIM card, which in turn causes a delay in the network of the first SIM card. If the first SIM card is in some scenarios that require high network quality, for example, online games or video chats, the network experience is poor.
发明内容Contents of the invention
本发明实施例提供一种SIM卡控制方法及电子设备,能够解决现有技术中SIM卡抢占射频资源使得网络体验较差的问题。Embodiments of the present invention provide a method for controlling a SIM card and an electronic device, which can solve the problem in the prior art that a SIM card preempts radio frequency resources and causes poor network experience.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种SIM卡控制方法。该方法应用于电子设备,该电子设备包括第一SIM卡和第二SIM卡,该方法可以包括:在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。In a first aspect, an embodiment of the present invention provides a method for controlling a SIM card. The method is applied to an electronic device, and the electronic device includes a first SIM card and a second SIM card, and the method may include: during the process of running the target application program, controlling the first SIM card to provide network services for the target application program; When the application program is a preset application program, and the target parameter corresponding to the target application program matches the preset parameter, control the second SIM card to perform a first preset operation, and the first preset operation is to reduce the second SIM card Operations that occupy radio frequency resources.
第二方面,本发明实施例提供了一种电子设备。该电子设备包括第一SIM卡和第二SIM卡,该电子设备包括处理模块。处理模块,用于在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;并在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。In a second aspect, an embodiment of the present invention provides an electronic device. The electronic device includes a first SIM card and a second SIM card, and the electronic device includes a processing module. The processing module is used to control the first SIM card to provide network services for the target application during the process of running the target application; and when the target application is a preset application, and the target parameter corresponding to the target application is the same as the preset If the parameters match, the second SIM card is controlled to perform a first preset operation, where the first preset operation is an operation for reducing radio frequency resources occupied by the second SIM card.
第三方面,本发明实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如上述第一方面中的SIM卡控制方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device includes a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor The steps of the SIM card control method in the above first aspect are realized.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如上述第一方面中的SIM卡控制方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the SIM card control method in the above-mentioned first aspect is implemented. step.
本发明实施例中,在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。通过该方案,在电子设备通过第一SIM卡为当前运行的目标应用程序提供网络服务的情况下,如果目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配,那么电子设备可以确认第一SIM卡处于对射频资源需求较高的场景中,电子设备可以控制第二SIM卡执行减少第二SIM卡占用的射频资源的第一预设操作,使得电子设备可以将更多的射频资源调配给第一SIM卡,从而降低第一SIM卡产生时延的可能性,进而提升用户使用目标应用程序时的网络体验。In the embodiment of the present invention, in the process of running the target application program, the first SIM card is controlled to provide network services for the target application program; the target application program is a preset application program, and the target parameter corresponding to the target application program and the preset If the parameters match, the second SIM card is controlled to perform a first preset operation, where the first preset operation is an operation for reducing radio frequency resources occupied by the second SIM card. Through this solution, when the electronic device provides network services for the currently running target application program through the first SIM card, if the target application program is a preset application program, and the target parameter corresponding to the target application program matches the preset parameter , then the electronic device can confirm that the first SIM card is in a scene with high demand for radio frequency resources, and the electronic device can control the second SIM card to perform the first preset operation of reducing the radio frequency resources occupied by the second SIM card, so that the electronic device can More radio frequency resources are allocated to the first SIM card, thereby reducing the possibility of time delay generated by the first SIM card, thereby improving the user's network experience when using the target application program.
附图说明Description of drawings
图1为本发明实施例提供的安卓操作系统的架构示意图;Fig. 1 is a schematic diagram of the architecture of the Android operating system provided by the embodiment of the present invention;
图2为本发明实施例提供的电子设备控制两张SIM卡的示意图;2 is a schematic diagram of an electronic device controlling two SIM cards provided by an embodiment of the present invention;
图3为本发明实施例提供的SIM卡控制方法的示意图之一;Fig. 3 is one of the schematic diagrams of the SIM card control method provided by the embodiment of the present invention;
图4为本发明实施例提供的SIM卡控制方法的示意图之二;Fig. 4 is the second schematic diagram of the SIM card control method provided by the embodiment of the present invention;
图5为本发明实施例提供的电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;
图6为本发明实施例提供的电子设备的硬件示意图。FIG. 6 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于所描述的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the described embodiments, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present application.
本文中的术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.
本文中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一SIM卡和第二SIM卡等是用于区别不同的SIM卡,而不是用于描述SIM卡的特定顺序或优先级。The terms "first" and "second" etc. herein are used to distinguish different objects, not to describe a specific order of objects. For example, the first SIM card and the second SIM card are used to distinguish different SIM cards, rather than describing a specific order or priority of the SIM cards.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise specified, "plurality" means two or more, for example, a plurality of elements refers to two or more elements.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in this embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的SIM卡控制方法所应用的软件环境。The following uses the Android operating system as an example to introduce the software environment used by the SIM card control method provided by the embodiment of the present invention.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1 , the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer and a kernel layer (specifically, the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Wherein, the application program layer includes various application programs (including system application programs and third-party application programs) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application program framework layer is the application program framework, and developers can develop some applications based on the application program framework layer while complying with the development principles of the application program framework layer.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的SIM卡控制方法的软件程序,从而使得该SIM卡控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的SIM卡控制方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program that implements the SIM card control method provided in the embodiment of the present invention based on the system architecture of the Android operating system shown in Figure 1 above, so that the The SIM card control method can run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the SIM card control method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的电子设备可以为终端设备。该终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in this embodiment of the present invention may be a terminal device. The terminal device may be a mobile terminal device or a non-mobile terminal device. Exemplarily, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant) , PDA), etc., and the non-mobile terminal device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in this embodiment of the present invention.
本发明实施例提供的SIM卡控制方法的执行主体可以为SIM卡控制装置,该SIM卡控制装置可以为上述的电子设备(包括移动终端设备和非移动终端设备),也可以为该电子设备中能够实现该SIM卡控制方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的SIM卡控制方法进行示例性的说明。The execution body of the SIM card control method provided by the embodiment of the present invention can be a SIM card control device, and the SIM card control device can be the above-mentioned electronic equipment (including mobile terminal equipment and non-mobile terminal equipment), or it can be the electronic equipment in the electronic equipment. The functional modules and/or functional entities capable of implementing the SIM card control method can be specifically determined according to actual usage requirements, and are not limited in the embodiments of the present invention. The following uses an electronic device as an example to illustrate the SIM card control method provided by the embodiment of the present invention.
通常,如图2所示,在电子设备包括两张SIM卡的情况下,电子设备可以使用其中一张SIM卡(以下称为第一SIM卡)为目标应用程序提供数据业务,例如,当用户使用目标应用程序打在线游戏、视频聊天等时,可以通过第一SIM卡为目标应用程序提供数据业务。而对于另一张SIM卡(以下称为第二SIM卡),为了确保第二SIM卡处于可寻呼状态,电子设备在控制第二SIM卡注册成功后,需要周期性的执行信令程序和小区重选。然而,电子设备通常只拥有一套射频资源,在第一SIM卡开启数据流量,为目标应用程序提供数据业务的情况下,如果第二SIM卡执行信令程序和小区重选等流程,那么第二SIM卡将会抢占电子设备的射频资源,第一SIM卡正在进行的数据业务会因此受到影响,从而导致第一SIM卡的网络产生时延。Generally, as shown in Figure 2, in the case that the electronic device includes two SIM cards, the electronic device can use one of the SIM cards (hereinafter referred to as the first SIM card) to provide data services for the target application program, for example, when the user When using the target application program to play online games, video chat, etc., the first SIM card can provide data services for the target application program. For another SIM card (hereinafter referred to as the second SIM card), in order to ensure that the second SIM card is in a paging state, the electronic device needs to periodically perform signaling procedures and District re-election. However, electronic devices usually only have one set of radio frequency resources. When the first SIM card enables data traffic and provides data services for target applications, if the second SIM card performs signaling procedures and cell reselection processes, then the second SIM card The second SIM card will seize the radio frequency resources of the electronic device, and the ongoing data service of the first SIM card will be affected, thereby causing a delay in the network of the first SIM card.
为了解决上述问题,在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。通过该方案,在电子设备通过第一SIM卡为当前运行的目标应用程序提供网络服务的情况下,如果目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配,那么电子设备可以确认第一SIM卡处于对射频资源需求较高的场景中,电子设备可以控制第二SIM卡执行减少第二SIM卡占用的射频资源的第一预设操作,使得电子设备可以将更多的射频资源调配给第一SIM卡,从而降低第一SIM卡产生时延的可能性,进而提升用户使用目标应用程序时的网络体验。In order to solve the above problems, in the process of running the target application program, the first SIM card is controlled to provide network services for the target application program; the target application program is a preset application program, and the target parameter corresponding to the target application program and the preset parameter In the case of matching, control the second SIM card to execute a first preset operation, where the first preset operation is an operation for reducing radio frequency resources occupied by the second SIM card. Through this solution, when the electronic device provides network services for the currently running target application program through the first SIM card, if the target application program is a preset application program, and the target parameter corresponding to the target application program matches the preset parameter , then the electronic device can confirm that the first SIM card is in a scene with high demand for radio frequency resources, and the electronic device can control the second SIM card to perform the first preset operation of reducing the radio frequency resources occupied by the second SIM card, so that the electronic device can More radio frequency resources are allocated to the first SIM card, thereby reducing the possibility of time delay generated by the first SIM card, thereby improving the user's network experience when using the target application program.
下面再结合各个附图对本发明实施例提供的SIM卡控制方法及电子设备进行示例性的说明。The method for controlling the SIM card and the electronic device provided by the embodiments of the present invention will be described below in combination with each accompanying drawing.
如图3所示,本发明实施例提供一种SIM卡控制方法,该方法可以应用于包括第一SIM卡和第二SIM卡的电子设备。该方法可以包括下述的S301至S304。As shown in FIG. 3 , an embodiment of the present invention provides a method for controlling a SIM card, and the method may be applied to an electronic device including a first SIM card and a second SIM card. The method may include the following S301 to S304.
S301、在运行目标应用程序的过程中,电子设备控制第一SIM卡为目标应用程序提供网络服务。S301. During the process of running the target application, the electronic device controls the first SIM card to provide network services for the target application.
其中,上述目标应用程序为需要电子设备提供网络服务才能实现对应功能的应用程序。Wherein, the above-mentioned target application program is an application program that requires the electronic device to provide network services to realize corresponding functions.
可选的,上述网络服务是指以数据传输和信息交互为基础的移动通讯服务。例如,该网络服务可以为语音聊天、视频聊天、在线游戏、在线支付和其他任意可能的网络服务等。Optionally, the above network services refer to mobile communication services based on data transmission and information interaction. For example, the network service may be voice chat, video chat, online game, online payment, and any other possible network services.
可选的,电子设备可以控制第一SIM卡驻留到宽带码分多址(wideband codedivision multiple access,WCDMA)网络或全球移动通信系统(global system formobile communications,GSM)网络,还可以控制第一SIM卡驻留到长期演进(long termevolution,LTE)网络,也可以控制第一SIM卡驻留到新空口(new radio,NR)网络。具体可以根据电子设备支持的网络类型和第一SIM卡支持的网络类型确定,且以第一SIM卡的实际驻留网络为准。Optionally, the electronic device can control the first SIM card to reside on a wideband code division multiple access (WCDMA) network or a global system for mobile communications (global system for mobile communications, GSM) network, and can also control the first SIM card The card resides in a long term evolution (long termevolution, LTE) network, and may also control the first SIM card to reside in a new radio interface (new radio, NR) network. Specifically, it may be determined according to the network type supported by the electronic device and the network type supported by the first SIM card, and the actual network where the first SIM card resides shall prevail.
S302、电子设备确定目标应用程序是否为预设应用程序。S302. The electronic device determines whether the target application program is a preset application program.
需要说明的是,本发明实施例中,上述预设应用程序可以是指运行在低时延网络下才能使用户获得较好的操作体验的应用程序。例如,该预设应用程序可以为在线游戏类应用程序、视频类应用程序或通讯类应用程序等。It should be noted that, in the embodiment of the present invention, the aforementioned preset application program may refer to an application program running on a low-latency network so that the user can obtain a better operating experience. For example, the preset application program may be an online game application program, a video application program, or a communication application program.
具体的,电子设备可以包括预设应用程序列表,该预设应用程序列表包括至少一个预设应用程序的应用程序标识。在电子设备控制目标应用程序运行后,电子设备可以获取目标应用程序的应用程序标识,并通过遍历预设应用程序列表的方式确定预设应用程序列表中是否包括目标应用程序的应用程序标识。若预设应用程序列表中包括目标应用程序的应用程序标识,则电子设备可以确定目标应用程序为预设应用程序;若预设应用程序列表中不包括目标应用程序的应用程序标识,则电子设备可以确定目标应用程序不是预设应用程序。Specifically, the electronic device may include a preset application list, where the preset application list includes an application identifier of at least one preset application. After the electronic device controls the running of the target application, the electronic device may acquire the application ID of the target application, and determine whether the preset application list includes the application ID of the target application by traversing the preset application list. If the application identification of the target application is included in the list of preset applications, the electronic device can determine that the target application is the default application; if the application identification of the target application is not included in the list of preset applications, the electronic device It can be determined that the target application is not the default application.
可选的,电子设备可以根据应用程序类型和应用程序使用频率中的至少一项,将电子设备中安装的全部或部分应用程序添加到预设应用程序列表。或者,用户可以从电子设备安装的应用程序中选择部分应用程序,并触发电子设备将用户选择的应用程序添加到预设应用程序列表中。Optionally, the electronic device may add all or part of the application programs installed in the electronic device to the preset application program list according to at least one of application program type and application program usage frequency. Alternatively, the user may select some applications from the applications installed on the electronic device, and trigger the electronic device to add the applications selected by the user to the preset application list.
S303、电子设备确定与目标应用程序对应的目标参数是否与预设参数匹配。S303. The electronic device determines whether the target parameter corresponding to the target application matches the preset parameter.
需要说明的是,“目标参数与预设参数匹配”是指目标参数与预设参数的关系是否满足预设规则。例如,当预设规则为与应用程序对应的参数大于预设参数的参数时,目标参数与预设参数匹配是指目标参数大于预设参数;当预设规则为与应用程序对应的参数小于预设参数的参数时,目标参数与预设参数匹配是指目标参数小于预设参数;当预设规则为与应用程序对应的参数等于预设参数时,目标参数与预设参数匹配是指目标参数与预设参数相同。It should be noted that "the target parameter matches the preset parameter" refers to whether the relationship between the target parameter and the preset parameter satisfies the preset rule. For example, when the preset rule is that the parameter corresponding to the application is greater than the preset parameter, the match between the target parameter and the preset parameter means that the target parameter is greater than the preset parameter; when the preset rule is that the parameter corresponding to the application is smaller than the preset parameter When setting parameter parameters, the target parameter matches the preset parameter means that the target parameter is smaller than the preset parameter; when the preset rule is that the parameter corresponding to the application is equal to the preset parameter, the target parameter matches the preset parameter means that the target parameter Same as preset parameters.
在目标应用程序运行的过程中,可以包括至少两个阶段,该至少两个阶段分别为准备阶段和交互阶段。其中,准备阶段为对时延不敏感的阶段,即,即使网络产生时延也不会对用户体验造成较大的影响;交互阶段为对时延比较敏感的阶段,即,如果网络产生时延会对用户体验造成较大的影响。例如,在目标应用程序为在线游戏类应用程序的情况下,准备阶段可以为用户选择人物的阶段、人物技能冷却阶段和等待人物复活阶段,交互阶段可以为人物作战阶段。“电子设备确定与目标应用程序对应的目标参数是否与预设参数匹配”可以理解为电子设备确定目标应用程序是否处于对时延比较敏感的交互阶段。During the running process of the target application program, at least two phases may be included, and the at least two phases are respectively a preparation phase and an interaction phase. Among them, the preparation stage is a stage that is not sensitive to delay, that is, even if the network generates a delay, it will not have a great impact on user experience; the interaction stage is a stage that is sensitive to delay, that is, if the network generates a delay It will have a great impact on user experience. For example, in the case that the target application is an online game application, the preparation stage may be a stage for the user to select a character, a character skill cooling stage, and a stage of waiting for character resurrection, and the interaction stage may be a character combat stage. "The electronic device determines whether the target parameter corresponding to the target application matches the preset parameter" may be understood as the electronic device determines whether the target application is in an interaction phase that is sensitive to delay.
可选的,电子设备确定与目标应用程序对应的目标参数与预设参数匹配的方法,可以包括以下至少一项:Optionally, the method for the electronic device to determine that the target parameter corresponding to the target application program matches the preset parameter may include at least one of the following:
(1)目标应用程序使用第一SIM卡发送数据的频率大于或等于第一预设频率。(1) The frequency at which the target application uses the first SIM card to send data is greater than or equal to the first preset frequency.
需要说明的是,目标参数为目标应用程序使用第一SIM卡发送数据的频率,预设参数为第一预设频率,预设规则为目标参数大于或等于预设参数。It should be noted that the target parameter is the frequency at which the target application program uses the first SIM card to send data, the preset parameter is the first preset frequency, and the preset rule is that the target parameter is greater than or equal to the preset parameter.
当目标应用程序运行到交互阶段时,由于用户之间的交互节奏加快,因此目标应用程序使用第一SIM卡发送数据的频率,大于目标应用程序运行在准备阶段时目标应用程序使用第一SIM卡发送数据的频率。电子设备可以根据目标应用程序使用第一SIM卡发送数据的频率确定目标应用程序当前所处的运行阶段,即电子设备可以在目标应用程序使用第一SIM卡发送数据的频率大于或等于第一预设频率的情况下,确定目标应用程序处于交互阶段;在目标应用程序使用第一SIM卡发送数据的频率小于第一预设频率的情况下,确定目标应用程序未处于交互阶段,即目标应用程序处于准备阶段。When the target application program runs to the interaction stage, due to the accelerated pace of interaction between users, the target application program uses the first SIM card to send data more frequently than when the target application program is running in the preparation phase. How often to send data. The electronic device can determine the current running stage of the target application program according to the frequency at which the target application program uses the first SIM card to send data, that is, the electronic device can send data at a frequency greater than or equal to the first predetermined time when the target application program uses the first SIM card In the case of setting the frequency, it is determined that the target application program is in the interaction phase; when the frequency of the target application program using the first SIM card to send data is less than the first preset frequency, it is determined that the target application program is not in the interaction phase, that is, the target application program in preparation.
可选的,目标应用程序使用第一SIM卡发送的数据可以携带在信令中,因此,目标应用程序使用第一SIM卡发送数据的频率也可以通过目标应用程序使用第一SIM卡发送信令的频率确定。Optionally, the data sent by the target application program using the first SIM card may be carried in the signaling, therefore, the frequency at which the target application program uses the first SIM card to send data may also be sent by the target application program using the first SIM card to send signaling frequency is determined.
(2)用户对目标应用程序的界面的操作频率大于或等于第二预设频率。(2) The operating frequency of the user on the interface of the target application program is greater than or equal to the second preset frequency.
需要说明的是,目标参数为用户对目标应用程序的界面的操作频率,预设参数为第二预设频率,预设规则为目标参数大于或等于预设参数。It should be noted that the target parameter is the user's operating frequency on the target application interface, the preset parameter is the second preset frequency, and the preset rule is that the target parameter is greater than or equal to the preset parameter.
当目标应用程序运行到交互阶段时,用户对目标应用程序的界面的操作频率,大于目标应用程序运行在准备阶段时用户对目标应用程序的界面的操作频率。电子设备可以根据用户对目标应用程序的界面的操作频率确定目标应用程序当前所处的运行阶段,即电子设备可以在用户对目标应用程序的界面的操作频率大于或等于第二预设频率的情况下,确定目标应用程序处于交互阶段;在用户对目标应用程序的界面的操作频率小于第二预设频率的情况下,确定目标应用程序未处于交互阶段,即目标应用程序处于准备阶段。When the target application program is running in the interactive phase, the user's operation frequency on the interface of the target application program is greater than that when the target application program is running in the preparation phase. The electronic device can determine the current running stage of the target application program according to the user's operation frequency of the target application program interface, that is, the electronic device can be in the case where the user's operation frequency of the target application program interface is greater than or equal to the second preset frequency. Next, it is determined that the target application program is in the interactive phase; when the user's operation frequency on the interface of the target application program is less than the second preset frequency, it is determined that the target application program is not in the interactive phase, that is, the target application program is in the preparation phase.
需要说明的是,上述第二预设频率与上述第一预设频率可以相同,也可以不同。It should be noted that the second preset frequency may be the same as or different from the first preset frequency.
(3)用户对目标应用程序的界面的操作区域位于预设区域内。(3) The user's operation area on the interface of the target application program is located in the preset area.
其中,上述预设区域是指屏幕中的部分区域。Wherein, the aforementioned preset area refers to a partial area in the screen.
需要说明的是,目标参数为确定用户操作区域的参数,预设参数为确定预设区域的参数,预设规则为确定用户操作区域的参数位于确定预设区域的参数内。It should be noted that the target parameter is a parameter for determining the user's operation area, the preset parameter is a parameter for determining the preset area, and the preset rule is that the parameter for determining the user's operation area is within the parameters for determining the preset area.
当目标应用程序运行到交互阶段时,用户对目标应用程序的界面的操作区域通常是固定的。因此,电子设备可以先确定预设区域对应的参数和用户操作区域对应的参数,并在用户操作区域对应的参数位于预设区域对应的参数内的情况下,确定目标应用程序处于交互阶段;在用户操作区域对应的参数未位于预设区域对应的参数内的情况下,确定目标应用程序未处于交互阶段,即目标应用程序处于准备阶段。When the target application program runs to the interactive stage, the user's operation area on the interface of the target application program is usually fixed. Therefore, the electronic device may first determine the parameters corresponding to the preset area and the parameters corresponding to the user operation area, and determine that the target application program is in the interactive stage when the parameters corresponding to the user operation area are within the parameters corresponding to the preset area; If the parameter corresponding to the user operation area is not within the parameter corresponding to the preset area, it is determined that the target application program is not in the interaction phase, that is, the target application program is in the preparation phase.
(4)目标应用程序的进程参数为预设进程参数。(4) The process parameter of the target application program is a default process parameter.
需要说明的是,目标参数为目标应用程序的进程参数,预设进程参数为目标应用程序处于交互阶段时的进程参数,预设规则为目标应用程序的进程参数与预设进程参数相同。It should be noted that the target parameter is the process parameter of the target application, the preset process parameter is the process parameter when the target application is in the interactive stage, and the default rule is that the process parameter of the target application is the same as the preset process parameter.
电子设备可以通过读取内存数据确定目标应用程序的进程参数,并根据目标应用程序的进程参数确定目标应用程序当前所处的运行阶段。在目标应用程序的进程参数与预设进程参数相同的情况下,电子设备可以确定目标应用程序处于交互阶段;在目标应用程序的进程参数与预设进程参数不同的情况下,电子设备可以确定目标应用程序未处于交互阶段,即目标应用程序处于准备阶段。The electronic device can determine the process parameters of the target application program by reading the memory data, and determine the current running stage of the target application program according to the process parameters of the target application program. In the case that the process parameters of the target application are the same as the preset process parameters, the electronic device can determine that the target application is in the interactive phase; in the case that the process parameters of the target application are different from the preset process parameters, the electronic device can determine the target The application is not in the interactive phase, i.e. the target application is in the preparation phase.
S304、在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,电子设备控制第二SIM卡执行第一预设操作。S304. In the case that the target application program is a preset application program, and the target parameter corresponding to the target application program matches the preset parameter, the electronic device controls the second SIM card to perform a first preset operation.
其中,上述第一预设操作可以为减少第二SIM卡占用射频资源的操作,即电子设备通过执行第一预设操作可以减少第二SIM卡占用的射频资源。Wherein, the above-mentioned first preset operation may be an operation of reducing radio frequency resources occupied by the second SIM card, that is, the electronic device may reduce radio frequency resources occupied by the second SIM card by performing the first preset operation.
可选的,第二SIM卡驻留的网络可以为WCDMA网络、GSM网络、LTE网络或NR网络。具体可以根据电子设备支持的网络类型和第二SIM卡支持的网络类型确定,并以第二SIM卡的实际驻留网络为准。Optionally, the network where the second SIM card resides may be a WCDMA network, a GSM network, an LTE network or an NR network. Specifically, it may be determined according to the network type supported by the electronic device and the network type supported by the second SIM card, and the actual network where the second SIM card resides shall prevail.
可选的,上述第二SIM卡驻留的网络与第一SIM卡驻留的网络可以相同,也可以不同。具体可以根据SIM卡的实际驻留网络确定,本发明实施例不作限定。Optionally, the network where the second SIM card resides may be the same as or different from the network where the first SIM card resides. Specifically, it may be determined according to the actual network where the SIM card resides, which is not limited in this embodiment of the present invention.
可选的,上述第一预设操作可以包括以下至少一项:Optionally, the above-mentioned first preset operation may include at least one of the following:
(1)将测量邻小区的频率从第一频率减小为第二频率。该第二频率小于该第一频率。(1) The frequency of measuring neighboring cells is reduced from the first frequency to the second frequency. The second frequency is lower than the first frequency.
若电子设备的位置发生变化,为了保证电子设备可以得到连续的网络服务,电子设备可以从当前服务小区切换到另一个邻小区。具体的,在电子设备执行小区切换之前,电子设备可以根据服务小区的信号质量和邻小区的优先级信息,对邻小区进行测量。例如,电子设备可以搜索同频邻小区,也可以搜索异频邻小区,还可以搜索其他制式邻小区等。If the location of the electronic device changes, in order to ensure that the electronic device can obtain continuous network services, the electronic device may switch from the current serving cell to another neighboring cell. Specifically, before the electronic device performs cell handover, the electronic device may measure the neighboring cells according to the signal quality of the serving cell and the priority information of the neighboring cells. For example, the electronic device may search for neighboring cells of the same frequency, may search for neighboring cells of different frequencies, and may also search for neighboring cells of other standards, and so on.
由于第二SIM卡测量邻小区需要占用射频资源,因此,第二SIM卡测量邻小区的频率越高,第二SIM卡占用的射频资源越多。为了减少第二SIM卡对第一SIM卡的射频资源的占用,电子设备可以将测量邻小区的频率从第一频率减小为第二频率。即电子设备可以将单位测量时间内的测量次数从第一次数减小为第二次数。Since the second SIM card needs to occupy radio frequency resources to measure the neighboring cells, the higher the frequency of the second SIM card measuring the neighboring cells, the more radio frequency resources the second SIM card occupies. In order to reduce the occupation of the radio frequency resources of the first SIM card by the second SIM card, the electronic device may reduce the frequency for measuring neighboring cells from the first frequency to the second frequency. That is, the electronic device can reduce the number of measurements per unit measurement time from the first number to the second number.
(2)将小区的取样数从第一取样数减小为第二取样数。该第二取样数小于该第一取样数。(2) Decrease the sampling number of the cell from the first sampling number to the second sampling number. The second sampling number is smaller than the first sampling number.
电子设备可以在网络对应的频带范围内做全频段扫描,并确定每个频段中频率最高的邻小区,得到至少一个可接入邻小区。之后,电子设备可以依次尝试接入该至少一个可接入邻小区中的每个邻小区,直至接入成功。由于电子设备尝试接入邻小区的过程需要占用射频资源,因此,电子设备可以设置取样门限值,并根据取样门限值从确定的至少一个可接入邻小区中进行取样,从而得到至少一个邻小区样本。进而电子设备可以依次尝试接入至少一个邻小区样本中的每个邻小区。The electronic device can scan the entire frequency band within the corresponding frequency band of the network, and determine the neighbor cell with the highest frequency in each frequency band, and obtain at least one accessible neighbor cell. Afterwards, the electronic device may sequentially try to access each neighboring cell in the at least one accessible neighboring cell until the access is successful. Since the process of an electronic device trying to access a neighboring cell needs to occupy radio frequency resources, the electronic device can set a sampling threshold, and sample from at least one determined accessible neighboring cell according to the sampling threshold, so as to obtain at least one Neighborhood sample. Furthermore, the electronic device may sequentially try to access each neighboring cell in the at least one neighboring cell sample.
为了减少第二SIM卡因为尝试接入邻小区而对第一SIM卡的射频资源的占用,电子设备可以将小区的取样数从第一取样数减小为第二取样数,从而可以使得第二SIM卡减少尝试接入邻小区的次数。In order to reduce the occupation of radio frequency resources of the first SIM card by the second SIM card because it tries to access neighboring cells, the electronic device can reduce the sampling number of the cell from the first sampling number to the second sampling number, so that the second The SIM card reduces the number of attempts to access neighboring cells.
可选的,电子设备还可以将小区的取样门限值从第一取样门限值增大为第二取样门限值。可以理解的是,由于增大取样门限值可以使筛选结果减少,因此增大取样门限值可以间接减小邻小区的取样数。Optionally, the electronic device may also increase the sampling threshold of the cell from the first sampling threshold to the second sampling threshold. It can be understood that, since increasing the sampling threshold can reduce the screening results, increasing the sampling threshold can indirectly reduce the sampling number of neighboring cells.
(3)将系统信息的最大有效期从第一有效期增加为第二有效期。(3) Increase the maximum valid period of the system information from the first valid period to the second valid period.
系统信息是连接电子设备和网络的纽带,电子设备和网络设备之间可以通过系统信息的传递完成无线通信业务和物理过程。由于网络设备在某些情况下可能需要对一些系统参数进行修改,例如,该系统参数可以为系统信息块1(system information block 1,SIB1)中的传输功率控制参数。因此,为了使系统参数发生变更时,电子设备能够及时获取到更新后的系统信息,电子设备可以控制第二SIM卡执行系统信息变更机制,即电子设备可以在超过系统信息的最大有效期时,控制第二SIM卡重新获取系统信息。例如,以系统信息的最大有效期为3小时为例,电子设备可以控制第二SIM卡每隔3小时获取一次系统信息。System information is the link between electronic equipment and the network, and wireless communication services and physical processes can be completed through the transmission of system information between electronic equipment and network equipment. Because the network device may need to modify some system parameters in some cases, for example, the system parameters may be transmission power control parameters in a system information block 1 (system information block 1, SIB1). Therefore, in order to enable the electronic device to obtain updated system information in a timely manner when the system parameters are changed, the electronic device can control the second SIM card to implement the system information change mechanism, that is, the electronic device can control the system information when the maximum validity period of the system information is exceeded. The second SIM card acquires system information again. For example, taking the maximum validity period of the system information as 3 hours as an example, the electronic device may control the second SIM card to obtain the system information every 3 hours.
由于电子设备控制第二SIM卡获取系统信息的过程需要占用电子设备的射频资源,因此,在确定目标应用程序为在低时延网络下才能获得较好的用户体验的应用程序,且目标应用程序处于对时延比较敏感的交互阶段的情况下,电子设备可以将系统信息的最大有效期从第一有效期增加为第二有效期,从而避免第二SIM卡抢占第一SIM卡的射频资源。Since the process of the electronic device controlling the second SIM card to obtain system information needs to occupy the radio frequency resources of the electronic device, the target application program is determined to be an application program that can obtain a better user experience under a low-latency network, and the target application program In the case of an interaction phase that is sensitive to delay, the electronic device can increase the maximum validity period of the system information from the first validity period to the second validity period, so as to prevent the second SIM card from preempting the radio frequency resources of the first SIM card.
可选的,电子设备可以在第一有效期的剩余时长小于或等于目标时长的情况下,将系统信息的最大有效期从第一有效期增加为第二有效期。例如,以目标时长为1分钟为例,在电子设备确定目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,如果第一有效期的剩余时长小于1分钟,那么电子设备可以将第一有效期增加为第二有效期。Optionally, the electronic device may increase the maximum validity period of the system information from the first validity period to the second validity period when the remaining duration of the first validity period is less than or equal to the target duration. For example, taking the target duration as 1 minute as an example, when the electronic device determines that the target application program is a preset application program, and the target parameter corresponding to the target application program matches the preset parameter, if the remaining duration of the first validity period is less than 1 minute, then the electronic device can increase the first validity period to the second validity period.
本发明实施例提供一种SIM卡控制方法,在电子设备通过第一SIM卡为当前运行的目标应用程序提供网络服务的情况下,如果目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配,那么电子设备可以确认第一SIM卡处于对射频资源需求较高的场景中,电子设备可以控制第二SIM卡执行减少第二SIM卡占用的射频资源的第一预设操作,使得电子设备可以将更多的射频资源调配给第一SIM卡,从而降低第一SIM卡产生时延的可能性,进而提升用户使用目标应用程序时的网络体验。An embodiment of the present invention provides a SIM card control method. In the case that the electronic device provides network services for the currently running target application program through the first SIM card, if the target application program is a preset application program and corresponds to the target application program If the target parameters match the preset parameters, the electronic device can confirm that the first SIM card is in a scene with high demand for radio frequency resources, and the electronic device can control the second SIM card to perform the first step of reducing the radio frequency resources occupied by the second SIM card. The preset operation enables the electronic device to allocate more radio frequency resources to the first SIM card, thereby reducing the possibility of time delay generated by the first SIM card, thereby improving the user's network experience when using the target application program.
可选的,如果电子设备确定目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配,那么电子设备可以控制第二SIM卡执行第二预设操作,即电子设备可以控制第二SIM卡提前完成第二预设操作。Optionally, if the electronic device determines that the target application program is a preset application program, and the target parameter corresponding to the target application program does not match the preset parameter, the electronic device may control the second SIM card to perform a second preset operation, that is, The electronic device may control the second SIM card to complete the second preset operation in advance.
示例性的,结合图3,如图4所示,在上述S303之后,在上述S304之前,本发明实施例提供的SIM卡控制方法还可以包括下述的S305。Exemplarily, referring to FIG. 3 , as shown in FIG. 4 , after the above S303 and before the above S304 , the SIM card control method provided in the embodiment of the present invention may further include the following S305 .
S305、在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配的情况下,电子设备控制第二SIM卡执行第二预设操作。S305. In the case that the target application program is a preset application program, and the target parameter corresponding to the target application program does not match the preset parameter, the electronic device controls the second SIM card to perform a second preset operation.
其中,上述第二预设操作为保持第二SIM卡处于可寻呼状态的周期性操作。Wherein, the above-mentioned second preset operation is a periodic operation of keeping the second SIM card in a pageable state.
可选的,上述第二预设操作与第二SIM卡驻留的网络相关联。在第二SIM卡驻留的网络不同的情况下,第二预设操作也不同。具体的,上述电子设备控制第二SIM卡执行第二预设操作,可以包括以下至少一项:Optionally, the foregoing second preset operation is associated with the network where the second SIM card resides. In the case that the networks where the second SIM card resides are different, the second preset operation is also different. Specifically, the above-mentioned electronic device controls the second SIM card to perform the second preset operation, which may include at least one of the following:
(1)在定期更新注册(periodic registration update,PRU)程序对应的定时器的剩余时长小于或等于第一时长的情况下,触发第二SIM卡执行PRU程序。(1) When the remaining duration of the timer corresponding to the periodic registration update (PRU) procedure is less than or equal to the first duration, trigger the second SIM card to execute the PRU procedure.
为了保证良好的网络状态,电子设备可能会重新选择网络服务质量更好的注册小区。为了使网络设备能够及时得知新注册小区的小区信息,电子设备需要定期执行PRU程序,以更新网络存储的小区信息,因此,在第二SIM卡驻留的网络为NR网络的情况下,第二预设操作为在PRU程序对应的定时器的剩余时长小于或等于第一时长的情况下,触发第二SIM卡执行PRU程序。In order to ensure a good network status, the electronic device may reselect a registration cell with better network service quality. In order for the network device to know the cell information of the newly registered cell in time, the electronic device needs to periodically execute the PRU program to update the cell information stored in the network. Therefore, when the network where the second SIM card resides is an NR network, the second The second preset operation is to trigger the second SIM card to execute the PRU program when the remaining duration of the timer corresponding to the PRU program is less than or equal to the first duration.
需要说明的是,由于第二SIM卡执行PRU程序需要占用电子设备的射频资源,因此,在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配,即目标应用程序未处于交互阶段的情况下,电子设备可以控制第二SIM卡提前执行PRU程序,从而使定时器重新计数。It should be noted that since the second SIM card needs to occupy the radio frequency resources of the electronic device to execute the PRU program, the target application program is a preset application program, and the target parameters corresponding to the target application program do not match the preset parameters, that is, When the target application program is not in the interaction phase, the electronic device may control the second SIM card to execute the PRU program in advance, so that the timer is counted again.
(2)在周期性跟踪区更新(tracking area update,TAU)程序对应的定时器的剩余时长小于或等于第二时长的情况下,触发第二SIM卡执行TAU程序。(2) When the remaining duration of the timer corresponding to the periodic tracking area update (tracking area update, TAU) procedure is less than or equal to the second duration, trigger the second SIM card to execute the TAU procedure.
由于LTE网络需要电子设备周期性的在新的跟踪区上重新进行位置登记,以通知网络对存储的电子设备的位置信息进行更新,因此,在第二SIM卡驻留的网络为LTE网络,且第二预设操作为在TAU程序对应的定时器的剩余时长小于或等于第二时长的情况下,触发第二SIM卡执行TAU程序。Since the LTE network requires the electronic device to periodically re-register its location in a new tracking area to notify the network to update the stored location information of the electronic device, the network where the second SIM card resides is an LTE network, and The second preset operation is to trigger the second SIM card to execute the TAU program when the remaining duration of the timer corresponding to the TAU program is less than or equal to the second duration.
需要说明的是,由于第二SIM卡执行TAU程序需要占用电子设备的射频资源,因此,在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配,即目标应用程序未处于交互阶段的情况下,电子设备可以控制第二SIM卡提前执行TAU程序,从而使定时器重新计数。It should be noted that since the second SIM card needs to occupy the radio frequency resources of the electronic device to execute the TAU program, the target application program is a preset application program, and the target parameters corresponding to the target application program do not match the preset parameters, that is, When the target application program is not in the interaction phase, the electronic device may control the second SIM card to execute the TAU program in advance, so that the timer is counted again.
(3)在周期性路由区更新(routing area update,RAU)程序对应的定时器的剩余时长小于或等于第三时长的情况下,触发第二SIM卡执行RAU程序。(3) When the remaining duration of the timer corresponding to the periodic routing area update (routing area update, RAU) procedure is less than or equal to the third duration, trigger the second SIM card to execute the RAU procedure.
由于WCDMA网络和GSM网络需要电子设备定时向其反馈路由区信息,以实现对电子设备的路由区跟踪,因此,在第二SIM卡驻留的网络为WCDMA网络或GSM网络的情况下,第二预设操作为在RAU程序对应的定时器的剩余时长小于或等于第三时长的情况下,触发第二SIM卡执行RAU程序。Since the WCDMA network and the GSM network need the electronic equipment to feed back the routing area information to it regularly, so as to realize the tracking of the routing area of the electronic equipment, therefore, when the network where the second SIM card resides is a WCDMA network or a GSM network, the second The preset operation is to trigger the second SIM card to execute the RAU program when the remaining duration of the timer corresponding to the RAU program is less than or equal to the third duration.
需要说明的是,由于第二SIM卡执行RAU程序需要占用电子设备的射频资源,因此,在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配,即目标应用程序未处于交互阶段的情况下,电子设备可以控制第二SIM卡提前执行RAU程序,从而使定时器重新计数。It should be noted that since the second SIM card needs to occupy the radio frequency resources of the electronic device to execute the RAU program, the target application program is a preset application program, and the target parameters corresponding to the target application program do not match the preset parameters, that is, When the target application program is not in the interaction phase, the electronic device may control the second SIM card to execute the RAU program in advance, so that the timer is counted again.
(4)在周期性位置更新(location update,LAU)程序对应的定时器的剩余时长小于或等于第四时长的情况下,触发第二SIM卡执行LAU程序。(4) When the remaining duration of the timer corresponding to the periodic location update (location update, LAU) procedure is less than or equal to the fourth duration, trigger the second SIM card to execute the LAU procedure.
由于WCDMA网络和GSM网络需要电子设备定时向其反馈位置信息,以实现对电子设备的位置跟踪,因此,在第二SIM卡驻留的网络为WCDMA网络或GSM网络的情况下,第二预设操作可以为在LAU程序对应的定时器的剩余时长小于或等于第四时长的情况下,触发第二SIM卡执行LAU程序。Since the WCDMA network and the GSM network require the electronic device to regularly feed back location information to the electronic device to realize the location tracking of the electronic device, therefore, in the case where the network where the second SIM card resides is a WCDMA network or a GSM network, the second preset The operation may be to trigger the second SIM card to execute the LAU program when the remaining duration of the timer corresponding to the LAU program is less than or equal to the fourth duration.
需要说明的是,由于第二SIM卡执行LAU程序需要占用电子设备的射频资源,因此,在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配,即目标应用程序未处于交互阶段的情况下,电子设备可以控制第二SIM卡提前执行LAU程序,从而使定时器重新计数。It should be noted that since the second SIM card needs to occupy the radio frequency resources of the electronic device to execute the LAU program, the target application program is a preset application program, and the target parameters corresponding to the target application program do not match the preset parameters, that is, When the target application program is not in the interaction phase, the electronic device may control the second SIM card to execute the LAU program in advance, so that the timer is counted again.
可选的,在第二SIM卡驻留的网络为WCDMA网络或GSM网络的情况下,电子设备可以执行RAU程序,也可以执行LAU程序,还可以既执行RAU程序,也执行LAU程序。具体可以根据电子设备的实际移动位置确定,本发明实施例不作限定。Optionally, when the network where the second SIM card resides is a WCDMA network or a GSM network, the electronic device may execute the RAU program, the LAU program, or both the RAU program and the LAU program. Specifically, it may be determined according to the actual moving position of the electronic device, which is not limited in this embodiment of the present invention.
可选的,上述第一时长、第二时长、第三时长和第四时长与信令程序的类别相关联,第一时长、第二时长、第三时长和第四时长可以相同,也可以不同。Optionally, the first duration, the second duration, the third duration and the fourth duration are associated with the category of the signaling procedure, and the first duration, the second duration, the third duration and the fourth duration may be the same or different .
本发明实施例中,电子设备可以在确定目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配的情况下,控制第二SIM卡执行第二预设操作。由于该第二预设操作为保持第二SIM卡处于可寻呼状态的周期性操作,因此,第二SIM卡在确定目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配的情况下,提前执行第二预设操作,可以使得当目标应用程序对应的目标参数与预设参数匹配时,第二SIM卡不执行第二预设操作。从而可以避免在确定目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,第二SIM卡因为执行第二预设操作而占用电子设备的射频资源,进而可以降低第一SIM卡产生时延的可能性,并提升用户使用目标应用程序时的网络体验。In the embodiment of the present invention, the electronic device may control the second SIM card to perform the second preset operation when it is determined that the target application program is a preset application program and the target parameter corresponding to the target application program does not match the preset parameter. . Since the second preset operation is a periodic operation to keep the second SIM card in a pageable state, the second SIM card determines that the target application program is a preset application program, and the target parameter corresponding to the target application program is the same as If the preset parameters do not match, the second preset operation is performed in advance, so that when the target parameter corresponding to the target application program matches the preset parameter, the second SIM card does not perform the second preset operation. Thereby, it can be avoided that when the target application program is determined to be a preset application program, and the target parameter corresponding to the target application program matches the preset parameter, the second SIM card occupies the radio frequency resources of the electronic device for performing the second preset operation , so as to reduce the possibility of time delay caused by the first SIM card, and improve the user's network experience when using the target application program.
需要说明的是,本发明实施例中,上述各个方法附图所示的SIM卡控制方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的SIM卡控制方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present invention, the SIM card control methods shown in the figures of the above-mentioned methods are all described in conjunction with one figure in the embodiments of the present invention as an example. During specific implementation, the SIM card control method shown in the drawings of the above methods can also be implemented in combination with any other drawings shown in the above embodiments that can be combined, and will not be repeated here.
如图5所示,本发明实施例提供一种电子设备500,该电子设备包括第一SIM卡和第二SIM卡,该电子设备500可以包括处理模块501。处理模块501,可以用于在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。As shown in FIG. 5 , an embodiment of the present invention provides an
可选的,本发明实施例中,第一预设操作可以包括以下至少一项:将测量邻小区的频率从第一频率减小为第二频率;将小区的取样数从第一取样数减小为第二取样数;将系统信息的最大有效期从第一有效期增加为第二有效期。Optionally, in the embodiment of the present invention, the first preset operation may include at least one of the following: reducing the frequency of measuring adjacent cells from the first frequency to the second frequency; Small is the second sampling number; increase the maximum valid period of the system information from the first valid period to the second valid period.
可选的,本发明实施例中,与目标应用程序对应的目标参数与预设参数匹配,包括以下至少一项:目标应用程序使用第一SIM卡发送数据的频率大于或等于第一预设频率;用户对目标应用程序的界面的操作频率大于或等于第二预设频率;用户对目标应用程序的界面的操作区域位于预设区域内;目标应用程序的进程参数为预设进程参数。Optionally, in this embodiment of the present invention, the target parameters corresponding to the target application match the preset parameters, including at least one of the following: the frequency at which the target application uses the first SIM card to send data is greater than or equal to the first preset frequency ; The user's operation frequency on the target application interface is greater than or equal to the second preset frequency; the user's operation area on the target application interface is within the preset area; the process parameter of the target application is a preset process parameter.
可选的,本发明实施例中,处理模块501,还可以用于在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数不匹配的情况下,控制第二SIM卡执行第二预设操作,第二预设操作为保持第二SIM卡处于可寻呼状态的周期性操作。Optionally, in this embodiment of the present invention, the
可选的,本发明实施例中,上述控制第二SIM卡执行第二预设操作,可以包括以下至少一项:在定期更新注册PRU程序对应的定时器的剩余时长小于或等于第一时长的情况下,触发第二SIM卡执行PRU程序;在周期性跟踪区更新TAU程序对应的定时器的剩余时长小于或等于第二时长的情况下,触发第二SIM卡执行TAU程序;在周期性路由区更新RAU程序对应的定时器的剩余时长小于或等于第三时长的情况下,触发第二SIM卡执行RAU程序;在周期性位置更新LAU程序对应的定时器的剩余时长小于或等于第四时长的情况下,触发第二SIM卡执行RAU程序。Optionally, in this embodiment of the present invention, the above-mentioned control of the second SIM card to perform the second preset operation may include at least one of the following: when the remaining duration of the timer corresponding to the regularly updated registration PRU program is less than or equal to the first duration Under normal circumstances, trigger the second SIM card to execute the PRU program; In the case that the remaining duration of the timer corresponding to the periodic tracking area update TAU program is less than or equal to the second duration, trigger the second SIM card to execute the TAU program; In the case that the remaining duration of the timer corresponding to the area update RAU program is less than or equal to the third duration, the second SIM card is triggered to execute the RAU procedure; when the remaining duration of the timer corresponding to the periodic location update LAU procedure is less than or equal to the fourth duration In the case of , trigger the second SIM card to execute the RAU program.
需要说明的是,上述图5是以电子设备包括处理模块为例进行示例性说明的,可以理解,实际实现时电子设备还可以包括其他可能的模块,具体可以根据实际使用需求确定。It should be noted that the above FIG. 5 is an example of an electronic device including a processing module. It can be understood that the electronic device may also include other possible modules during actual implementation, which may be determined according to actual usage requirements.
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not repeated here.
本发明实施例提供一种电子设备,在电子设备通过第一SIM卡为当前运行的目标应用程序提供网络服务的情况下,如果目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配,那么电子设备可以确认第一SIM卡处于对射频资源需求较高的场景中,电子设备可以控制第二SIM卡执行减少第二SIM卡占用的射频资源的第一预设操作,使得电子设备可以将更多的射频资源调配给第一SIM卡,从而降低第一SIM卡产生时延的可能性,进而提升用户使用目标应用程序时的网络体验。An embodiment of the present invention provides an electronic device. When the electronic device provides network services for the currently running target application program through the first SIM card, if the target application program is a preset application program, and the target application program corresponding to the target application program If the parameters match the preset parameters, then the electronic device can confirm that the first SIM card is in a scene with high demand for radio frequency resources, and the electronic device can control the second SIM card to execute the first preset that reduces the radio frequency resources occupied by the second SIM card Operation, so that the electronic device can allocate more radio frequency resources to the first SIM card, thereby reducing the possibility of the delay caused by the first SIM card, thereby improving the user's network experience when using the target application program.
图6为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图6所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in Figure 6, the
需要说明的是,如图6所示的电子设备可以包括第一SIM卡和第二SIM卡。It should be noted that the electronic device shown in FIG. 6 may include a first SIM card and a second SIM card.
其中,处理器110,可以用于在运行目标应用程序的过程中,控制第一SIM卡为目标应用程序提供网络服务;还可以用于在目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配的情况下,控制第二SIM卡执行第一预设操作,该第一预设操作为减少第二SIM卡占用射频资源的操作。Wherein, the
可以理解,本发明实施例中,上述电子设备的结构示意图(例如图5)中的处理模块501可以通过上述处理器110实现。It can be understood that, in the embodiment of the present invention, the
本发明实施例提供一种电子设备,在电子设备通过第一SIM卡为当前运行的目标应用程序提供网络服务的情况下,如果目标应用程序为预设应用程序,且与目标应用程序对应的目标参数与预设参数匹配,那么电子设备可以确认第一SIM卡处于对射频资源需求较高的场景中,电子设备可以控制第二SIM卡执行减少第二SIM卡占用的射频资源的第一预设操作,使得电子设备可以将更多的射频资源调配给第一SIM卡,从而降低第一SIM卡产生时延的可能性,进而提升用户使用目标应用程序时的网络体验。An embodiment of the present invention provides an electronic device. When the electronic device provides network services for the currently running target application program through the first SIM card, if the target application program is a preset application program, and the target application program corresponding to the target application program If the parameters match the preset parameters, then the electronic device can confirm that the first SIM card is in a scene with high demand for radio frequency resources, and the electronic device can control the second SIM card to execute the first preset that reduces the radio frequency resources occupied by the second SIM card Operation, so that the electronic device can allocate more radio frequency resources to the first SIM card, thereby reducing the possibility of the delay caused by the first SIM card, thereby improving the user's network experience when using the target application program.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图6中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户第一界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the
可选的,本发明实施例还提供一种电子设备,包括如图6所示的处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述SIM卡控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述SIM卡控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned SIM card control method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium may include a read-only memory (read-only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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 such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the 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 (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010302265.2A CN111601298B (en) | 2020-04-16 | 2020-04-16 | SIM card control method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010302265.2A CN111601298B (en) | 2020-04-16 | 2020-04-16 | SIM card control method and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111601298A CN111601298A (en) | 2020-08-28 |
| CN111601298B true CN111601298B (en) | 2023-05-26 |
Family
ID=72184987
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010302265.2A Active CN111601298B (en) | 2020-04-16 | 2020-04-16 | SIM card control method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111601298B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115103463B (en) * | 2022-06-06 | 2025-01-03 | Oppo广东移动通信有限公司 | Service transmission method, device, terminal equipment, chip and storage medium |
| CN117389714A (en) * | 2022-06-30 | 2024-01-12 | 中兴通讯股份有限公司 | Application performance assurance methods, equipment, network equipment and storage media |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105611631A (en) * | 2015-12-24 | 2016-05-25 | 努比亚技术有限公司 | Method and device for distributing radio-frequency resources of mobile phone |
| CN105979501A (en) * | 2016-06-29 | 2016-09-28 | 北京小米移动软件有限公司 | Resource allocation method and device |
| CN109195231A (en) * | 2018-11-13 | 2019-01-11 | 奇酷互联网络科技(深圳)有限公司 | A kind of radio frequency resource distribution method, user equipment and the device with store function |
| CN110383870A (en) * | 2017-09-29 | 2019-10-25 | 华为技术有限公司 | A kind of processing method and terminal of radio frequency resource |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105791043B (en) * | 2014-12-25 | 2019-01-25 | 华为技术有限公司 | A method and system for automatic evaluation of quality of experience in business network services |
| CN107836127B (en) * | 2016-06-08 | 2021-09-24 | 北京小米移动软件有限公司 | Paging method, device and system |
| US20180124868A1 (en) * | 2016-10-27 | 2018-05-03 | Samsung Electronics Co., Ltd. | Methods for improving performance and reducing power consumption in a dsds device |
| CN108632930B (en) * | 2018-05-04 | 2020-11-06 | 奇酷互联网络科技(深圳)有限公司 | Network searching control method and device and mobile terminal |
| CN109692474B (en) * | 2018-12-28 | 2023-03-10 | 努比亚技术有限公司 | Game control method based on mobile terminal, mobile terminal and readable storage medium |
| CN110062372B (en) * | 2019-03-29 | 2022-09-27 | 维沃移动通信(深圳)有限公司 | A SIM card control method and terminal device |
| CN110234109B (en) * | 2019-05-29 | 2022-02-22 | 维沃移动通信有限公司 | Task triggering method and mobile terminal |
| CN110300404B (en) * | 2019-06-27 | 2022-02-25 | 维沃移动通信有限公司 | A kind of network control method and mobile terminal |
-
2020
- 2020-04-16 CN CN202010302265.2A patent/CN111601298B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105611631A (en) * | 2015-12-24 | 2016-05-25 | 努比亚技术有限公司 | Method and device for distributing radio-frequency resources of mobile phone |
| CN105979501A (en) * | 2016-06-29 | 2016-09-28 | 北京小米移动软件有限公司 | Resource allocation method and device |
| CN110383870A (en) * | 2017-09-29 | 2019-10-25 | 华为技术有限公司 | A kind of processing method and terminal of radio frequency resource |
| CN109195231A (en) * | 2018-11-13 | 2019-01-11 | 奇酷互联网络科技(深圳)有限公司 | A kind of radio frequency resource distribution method, user equipment and the device with store function |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111601298A (en) | 2020-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102594959B1 (en) | Transmitting antenna switching method and terminal equipment | |
| CN112004173B (en) | Bluetooth headset switching method, mobile terminal and computer readable storage medium | |
| CN107231159B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
| US12335722B2 (en) | Authorization and policy parameter configuration method, terminal, and network function | |
| CN112689191B (en) | Screen projection control method, terminal and computer readable storage medium | |
| CN110022553B (en) | User identity identification card management method and mobile terminal | |
| CN107071779A (en) | Pseudo-base station recognition methods, device and terminal | |
| CN106851654A (en) | Pseudo-base station recognition methods, device and terminal | |
| CN110062372B (en) | A SIM card control method and terminal device | |
| CN112821970B (en) | Electronic price tag channel selection method, electronic price tag channel selection equipment and computer storage medium | |
| CN110224732B (en) | An antenna switching method and terminal device | |
| CN108958936B (en) | Application program switching method, mobile terminal and computer readable storage medium | |
| JP7457703B2 (en) | Measurement instruction method, device and system | |
| CN110740454B (en) | Non-independent networking residence method, equipment and computer readable storage medium | |
| CN110096375B (en) | Method and device for sharing data by application programs and computer readable storage medium | |
| CN108200622A (en) | A kind of residence reselecting and mobile terminal | |
| CN111601298B (en) | SIM card control method and electronic equipment | |
| CN111970738B (en) | Network switching control method, device and computer readable storage medium | |
| CN106961710A (en) | A kind of method for network access and terminal | |
| CN111565388B (en) | A network registration method and electronic device | |
| CN113099514A (en) | Method, device and computer readable storage medium for accessing independent networking network | |
| CN110209434B (en) | Memory management method and device and computer readable storage medium | |
| CN110677897B (en) | Network search control method, terminal and computer readable storage medium | |
| CN110191477B (en) | Network search control method, terminal and computer readable storage medium | |
| US12200615B2 (en) | Network information processing method and terminal device |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |