CN105682077B - A kind of virtual SIM card switching method and device - Google Patents
A kind of virtual SIM card switching method and device Download PDFInfo
- Publication number
- CN105682077B CN105682077B CN201511033284.5A CN201511033284A CN105682077B CN 105682077 B CN105682077 B CN 105682077B CN 201511033284 A CN201511033284 A CN 201511033284A CN 105682077 B CN105682077 B CN 105682077B
- Authority
- CN
- China
- Prior art keywords
- virtual sim
- sim card
- communication service
- service quality
- downloaded
- 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
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
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
本发明实施例公开了一种虚拟SIM卡切换方法,该方法包括:检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值;若否,则检测所有已下载的虚拟SIM卡对应的通信服务质量;若已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足当前使用的通信业务的需求阈值,则确定至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡;注销处于激活状态的虚拟SIM卡,并激活目标虚拟SIM卡进行通信业务。另外,本发明还公开了一种虚拟SIM卡切换装置。采用本发明,可以根据虚拟SIM卡的通信服务质量,智能地对虚拟SIM卡进行切换,进而提高使用便捷性。
The embodiment of the present invention discloses a virtual SIM card switching method, which includes: detecting whether the communication service quality corresponding to the activated virtual SIM card meets the demand threshold of the currently used communication service; if not, detecting all downloaded The communication service quality corresponding to the virtual SIM card; If the communication service quality corresponding to at least one virtual SIM card in the downloaded virtual SIM card meets the demand threshold of the communication service currently used, then determine a virtual SIM card in the at least one virtual SIM card The SIM card is used as the target virtual SIM card; the activated virtual SIM card is deregistered, and the target virtual SIM card is activated for communication services. In addition, the invention also discloses a virtual SIM card switching device. By adopting the invention, the virtual SIM cards can be intelligently switched according to the communication service quality of the virtual SIM cards, thereby improving the convenience of use.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种虚拟SIM卡切换方法及装置。The invention relates to the field of electronic technology, in particular to a virtual SIM card switching method and device.
背景技术Background technique
目前,移动终端的大多通信功能都需要依赖实体SIM(Subscriber IdentityModule客户识别模块)卡来实现,SIM卡具有唯一性,即一个SIM卡对应一个通信号码,是运营商用来鉴别用户身份、对用户的通信记录进行登记和加密等操作的依托。随着社会生活和移动通信业务的发展,人们已经不满足仅仅拥有一个通信号码(即一个SIM卡)进行通信。通常,当一张SIM卡所属的运营商网络通信质量不好的情况时(如信号强度弱),用户一般通过换另外一张所属不同运营商的SIM卡来进行通信业务。但是,随之而来的问题就是目前的移动终端支持的通常是实体SIM卡,用户在遇到SIM卡网络通信质量不好的情况时,需要手动更换SIM卡,即便是支持虚拟SIM卡的移动终端,也需要用户自己输入切换指令后移动终端才可以进行相应地切换,降低了使用便捷性,用户体验差。At present, most of the communication functions of mobile terminals need to rely on the physical SIM (Subscriber Identity Module) card. The SIM card is unique, that is, a SIM card corresponds to a communication number. Communication records are relied on for operations such as registration and encryption. With the development of social life and mobile communication services, people are no longer satisfied with only having a communication number (ie a SIM card) for communication. Usually, when the communication quality of the network of the operator to which a SIM card belongs is not good (such as weak signal strength), the user generally performs communication services by changing another SIM card belonging to a different operator. However, the ensuing problem is that current mobile terminals usually support physical SIM cards. When users encounter poor network communication quality of SIM cards, they need to manually replace SIM cards, even mobile phones that support virtual SIM cards. The terminal also requires the user to input a switching instruction before the mobile terminal can switch accordingly, which reduces the convenience of use and poor user experience.
发明内容SUMMARY OF THE INVENTION
本发明实施例所要解决的技术问题在于,提供一种虚拟SIM卡切换方法及装置,以期根据虚拟SIM卡的通信服务质量,智能地对虚拟SIM卡进行切换,进而提高使用便捷性,提升用户体验。The technical problem to be solved by the embodiments of the present invention is to provide a virtual SIM card switching method and device, in order to intelligently switch the virtual SIM card according to the communication service quality of the virtual SIM card, thereby improving the convenience of use and improving user experience .
本发明实施例提供了一种虚拟SIM卡切换方法,该方法包括:The embodiment of the present invention provides a virtual SIM card switching method, the method comprising:
检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值;Detecting whether the communication service quality corresponding to the virtual SIM card in the activated state meets the demand threshold of the currently used communication service;
若否,则检测所有已下载的虚拟SIM卡对应的通信服务质量;If not, then detect the communication service quality corresponding to all downloaded virtual SIM cards;
若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前使用的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡;If the communication service quality corresponding to at least one of the downloaded virtual SIM cards meets the demand threshold of the currently used communication service, then determine one of the at least one virtual SIM cards as the target Virtual SIM card;
注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。Deregistering the activated virtual SIM card, and activating the target virtual SIM card to perform the communication service.
可选的,所述确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡,包括:确定所述至少一个虚拟SIM卡中通信服务质量最优或优先级最高的虚拟SIM卡作为所述目标虚拟SIM卡。Optionally, the determining one of the at least one virtual SIM card as the target virtual SIM card includes: determining the virtual SIM card with the best communication service quality or the highest priority among the at least one virtual SIM card as the target virtual SIM card.
可选的,所述方法还包括:Optionally, the method also includes:
根据所述处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述处于激活状态的虚拟SIM卡的通信服务质量;Determine the communication service quality of the virtual SIM card in the activated state according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the virtual SIM card in the activated state belongs;
或/和,or/and,
根据所述已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述已下载的虚拟SIM卡的通信服务质量。Determine the communication service quality of the downloaded virtual SIM card according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs.
可选的,所述在检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值之前,所述方法还包括:Optionally, before detecting whether the communication service quality corresponding to the virtual SIM card in the activated state meets the demand threshold of the currently used communication service, the method further includes:
向云服务器发送虚拟SIM卡下载请求;Send a virtual SIM card download request to the cloud server;
接收所述云服务器根据所述虚拟SIM卡下载请求发送的虚拟SIM卡。receiving the virtual SIM card sent by the cloud server according to the virtual SIM card download request.
相应地,本发明实施例提供了一种虚拟SIM卡切换装置,该装置包括:Correspondingly, the embodiment of the present invention provides a virtual SIM card switching device, the device comprising:
需求检测模块,用于检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值;A demand detection module, configured to detect whether the quality of communication service corresponding to the virtual SIM card in the activated state meets the demand threshold of the currently used communication service;
质量检测模块,用于若所述处于激活状态的虚拟SIM卡对应的通信服务质量不满足所述当前使用的通信业务的需求阈值,则检测所有已下载的虚拟SIM卡对应的通信服务质量;A quality detection module, configured to detect the communication service quality corresponding to all downloaded virtual SIM cards if the communication service quality corresponding to the activated virtual SIM card does not meet the demand threshold of the currently used communication service;
目标确定模块,用于若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前使用的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡;A target determination module, configured to determine that the communication service quality corresponding to at least one of the downloaded virtual SIM cards meets the demand threshold of the currently used communication service, then determine the A virtual SIM card as the target virtual SIM card;
注销激活模块,用于注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。The deactivation activation module is configured to deregister the activated virtual SIM card, and activate the target virtual SIM card to perform the communication service.
可选的,所述目标确定模块用于:确定所述至少一个虚拟SIM卡中通信服务质量最优或优先级最高的虚拟SIM卡作为所述目标虚拟SIM卡。Optionally, the target determination module is configured to: determine a virtual SIM card with the best communication service quality or the highest priority among the at least one virtual SIM card as the target virtual SIM card.
可选的,所述装置还包括:质量确定模块,用于根据所述处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述处于激活状态的虚拟SIM卡的通信服务质量;Optionally, the device further includes: a quality determination module, configured to determine that the virtual SIM card in the activated state is based on the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the activated virtual SIM card belongs. The communication service quality of the virtual SIM card in the activated state;
或/和,or/and,
用于根据所述已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述已下载的虚拟SIM卡的通信服务质量。It is used for determining the communication service quality of the downloaded virtual SIM card according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs.
可选的,所述装置还包括:Optionally, the device also includes:
请求模块,用于向云服务器发送虚拟SIM卡下载请求;The request module is used to send a virtual SIM card download request to the cloud server;
接收模块,用于接收所述云服务器根据所述虚拟SIM卡下载请求发送的虚拟SIM卡。The receiving module is configured to receive the virtual SIM card sent by the cloud server according to the virtual SIM card download request.
相应地,本发明实施例还提供了另一种虚拟SIM卡切换装置,包括:处理器和存储器;Correspondingly, the embodiment of the present invention also provides another virtual SIM card switching device, including: a processor and a memory;
所述存储器,用于存储程序代;The memory is used to store program codes;
所述处理器,执行所述程序,以用于:The processor executes the program for:
检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值;Detecting whether the communication service quality corresponding to the virtual SIM card in the activated state meets the demand threshold of the currently used communication service;
若否,则检测所有已下载的虚拟SIM卡对应的通信服务质量;If not, then detect the communication service quality corresponding to all downloaded virtual SIM cards;
若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡;If the communication service quality corresponding to at least one of the downloaded virtual SIM cards meets the demand threshold of the current communication service, then determine one of the at least one virtual SIM cards as the target virtual SIM card. SIM card;
注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。Deregistering the activated virtual SIM card, and activating the target virtual SIM card to perform the communication service.
其中,所述处理器执行所述程序,还以用于:Wherein, the processor executes the program, and is also used for:
确定所述至少一个虚拟SIM卡中通信服务质量最优或优先级最高的虚拟SIM卡作为所述目标虚拟SIM卡。Determining the virtual SIM card with the best communication service quality or the highest priority among the at least one virtual SIM card as the target virtual SIM card.
其中,所述处理器执行所述程序,还以用于:Wherein, the processor executes the program, and is also used for:
根据所述处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述处于激活状态的虚拟SIM卡的通信服务质量;Determine the communication service quality of the virtual SIM card in the activated state according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the virtual SIM card in the activated state belongs;
或/和,or/and,
根据所述已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述已下载的虚拟SIM卡的通信服务质量。Determine the communication service quality of the downloaded virtual SIM card according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs.
其中,所述处理器执行所述程序,还以用于:Wherein, the processor executes the program, and is also used for:
向云服务器发送虚拟SIM卡下载请求;Send a virtual SIM card download request to the cloud server;
接收所述云服务器根据所述虚拟SIM卡下载请求发送的虚拟SIM卡。receiving the virtual SIM card sent by the cloud server according to the virtual SIM card download request.
本发明实施例在检测到处于激活状态的虚拟SIM卡对应的通信服务质量不满足当前使用的通信业务的需求阈值时,检测所有已下载的虚拟SIM卡对应的通信服务质量,可以根据已下载的虚拟SIM卡的通信服务质量,智能地选择一个通信服务质量满足当前使用的通信业务的需求阈值的目标虚拟SIM卡,进而注销处于激活状态的虚拟SIM卡,并激活目标虚拟SIM卡来进行通信业务,从而实现对虚拟SIM卡的智能切换,进而提高使用便捷性,提升用户体验。In the embodiment of the present invention, when it is detected that the communication service quality corresponding to the virtual SIM card in the activated state does not meet the demand threshold of the currently used communication service, the communication service quality corresponding to all downloaded virtual SIM cards can be detected, and it can be based on the downloaded The quality of communication service of the virtual SIM card, intelligently select a target virtual SIM card whose communication service quality meets the demand threshold of the currently used communication service, and then cancel the activated virtual SIM card, and activate the target virtual SIM card to carry out communication services , so as to realize the intelligent switching of the virtual SIM card, thereby improving the convenience of use and improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是本发明实施例中一种虚拟SIM卡切换方法的流程示意图;Fig. 1 is a schematic flow diagram of a virtual SIM card switching method in an embodiment of the present invention;
图2是本发明另一实施例中虚拟SIM卡切换方法的流程示意图;Fig. 2 is a schematic flow diagram of a virtual SIM card switching method in another embodiment of the present invention;
图3是本发明实施例中一种虚拟SIM卡切换装置的组成结构图;Fig. 3 is a structural diagram of a virtual SIM card switching device in an embodiment of the present invention;
图4是本发明另一实施例中虚拟SIM卡切换装置的组成结构图。Fig. 4 is a structural diagram of a virtual SIM card switching device in another embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1是一种虚拟SIM卡切换方法的流程示意图,本方法流程可以由一种虚拟SIM卡切换装置实施,所述虚拟SIM卡切换装置可以为用户终端或运行在用户终端的软件程序,所述用户终端可以包括手机、笔记本电脑、平板电脑、车载电脑、POS(Point Of Sales,销售点)机等。如图所示所述方法至少包括:Fig. 1 is a schematic flow diagram of a virtual SIM card switching method, the method flow can be implemented by a virtual SIM card switching device, the virtual SIM card switching device can be a user terminal or a software program running on a user terminal, the described The user terminal may include a mobile phone, a notebook computer, a tablet computer, a vehicle-mounted computer, a POS (Point Of Sales, point of sale) machine, and the like. As shown in the figure, the method at least includes:
步骤S101,检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值。Step S101 , detecting whether the communication service quality corresponding to the activated virtual SIM card meets the demand threshold of the currently used communication service.
具体的,处于激活状态的虚拟SIM卡是驻网的或者说用户正在使用的虚拟SIM卡。通信服务质量可以是衡量通信网络当前使用的通信服务好坏程度的指标,可以包括网络的信号强度、误码率、传输速度或/和传输时延等多个衡量参数。在不同的情境或不同的终端设备中,可以用衡量参数中的一个来表征通信服务质量,也可以用多个或者更多来计算出归一化的通信服务质量,例如可以仅用网络的信号强度的强弱程度来表征通信服务质量的好坏程度,也可以通过网络的信号强度、误码率、传输速度或/和传输时延等多个衡量参数共同计算出一个归一化的数值。Specifically, the activated virtual SIM card is a network-resident virtual SIM card or a virtual SIM card being used by a user. Communication service quality can be an index to measure the quality of the communication service currently used by the communication network, and can include multiple measurement parameters such as network signal strength, bit error rate, transmission speed or/and transmission delay. In different scenarios or different terminal devices, one of the measurement parameters can be used to characterize the communication service quality, and multiple or more can be used to calculate the normalized communication service quality, for example, only the network signal can be used The quality of the communication service can be represented by the strength of the intensity, and a normalized value can also be calculated through multiple measurement parameters such as the signal strength of the network, the bit error rate, the transmission speed or/and the transmission delay.
通信业务可以是拨打或接听电话、视频直播、网页浏览、短信收发等终端利用虚拟SIM卡可实现的通信形式中的某一个或多个,例如用户正在通过网络看视频,则当前使用的通信业务即为视频直播。而通信业务的需求阈值则是终端预设的可以完成相应的通信任务所需要的通信服务质量的门限值,也就是说,如果虚拟SIM卡对应的通信服务质量低于通信业务的需求阈值时,是不能很好地完成当前使用的通信任务的。The communication service can be one or more of the communication forms that can be realized by the terminal using the virtual SIM card, such as making or answering calls, live video broadcasting, web browsing, and sending and receiving short messages. That is live video. The demand threshold of the communication service is the threshold value of the communication service quality required by the terminal to complete the corresponding communication task, that is, if the communication service quality corresponding to the virtual SIM card is lower than the communication service demand threshold , is unable to complete the current communication tasks well.
需要说明的是,这里通信服务质量与通信业务的需求阈值的衡量标准是对应的,也就是说,如果通信服务质量是通过信号强度这一个参数来表征的,那么通信业务的需求阈值则也是预设的一个信号强度值,如果通信服务质量是通过信号强度、误码率、传输速度或/和传输时延等多个衡量参数进行的归一化表示数值,那么通信业务的需求阈值则也是预设的一个通过信号强度、误码率、传输速度或/和传输时延等多个衡量参数进行的归一化表示数值。It should be noted that the communication service quality and the measurement standard of the communication service demand threshold are corresponding, that is to say, if the communication service quality is characterized by the parameter of signal strength, then the communication service demand threshold is also the predetermined A set signal strength value, if the quality of communication service is a normalized value expressed by multiple measurement parameters such as signal strength, bit error rate, transmission speed or/and transmission delay, then the demand threshold of communication services is also a predetermined value. A normalized representation value set by multiple measurement parameters such as signal strength, bit error rate, transmission speed or/and transmission delay.
在本实施例中,终端可以获取用户当前使用的通信业务以及该通信业务对应的需求阈值,同时获取处于激活状态的虚拟SIM卡对应的通信服务质量,然后检测处于激活状态的虚拟SIM卡对应的通信服务质量的是否满足当前使用的通信业务对应的需求阈值。In this embodiment, the terminal can obtain the communication service currently used by the user and the demand threshold corresponding to the communication service, and at the same time obtain the communication service quality corresponding to the virtual SIM card in the activated state, and then detect the service quality corresponding to the virtual SIM card in the activated state. Whether the communication service quality meets the demand threshold corresponding to the currently used communication service.
例如,用户正在使用终端中处于激活状态的虚拟SIM卡进行通话,假设通话业务的需求阈值是-80dBm的信号强度,而此时终端获取到的处于激活状态的虚拟SIM卡对应的通信服务质量为-50dBm的信号强度,-50dBm大于-80dBm,说明这里处于激活状态的虚拟SIM卡对应的通信服务质量可以满足当前使用的通信业务的需求阈值,即可以使用户良好的完成通话。For example, the user is using the activated virtual SIM card in the terminal to make a call. Assume that the demand threshold of the call service is a signal strength of -80dBm, and the communication service quality corresponding to the activated virtual SIM card obtained by the terminal at this time is The signal strength of -50dBm, -50dBm is greater than -80dBm, indicating that the communication service quality corresponding to the activated virtual SIM card here can meet the demand threshold of the current communication service, which can enable the user to complete the call well.
又例如,用户正在处于激活状态的虚拟SIM卡接听电话的同时还进行网页浏览,假设通话业务的需求阈值是归一化数值0.2,网页浏览的需求阈值是归一化数值0.6,而此时终端获取到的处于激活状态的虚拟SIM卡对应的通信服务质量为归一化数值0.5,那么这里处于激活状态的虚拟SIM卡对应的通信服务质量可以满足当前使用的通话业务,但是不能满足当前使用的网页浏览业务,即处于激活状态的虚拟SIM卡对应的通信服务质量不满足当前使用的通信业务的需求阈值。For another example, the user is answering the phone with the activated virtual SIM card while browsing the web, assuming that the demand threshold for the call service is a normalized value of 0.2, and the demand threshold for web browsing is a normalized value of 0.6, and at this time the terminal The obtained communication service quality corresponding to the activated virtual SIM card is a normalized value of 0.5, then the communication service quality corresponding to the activated virtual SIM card here can meet the current call service, but cannot meet the current use The web browsing service, that is, the quality of communication service corresponding to the activated virtual SIM card does not meet the demand threshold of the currently used communication service.
步骤S102,若所述处于激活状态的虚拟SIM卡对应的通信服务质量不满足所述当前使用的通信业务的需求阈值,则检测所有已下载的虚拟SIM卡对应的通信服务质量。Step S102, if the communication service quality corresponding to the activated virtual SIM card does not meet the requirement threshold of the currently used communication service, then detect the communication service quality corresponding to all downloaded virtual SIM cards.
具体的,由于虚拟SIM卡不是实体SIM卡,因此只要下载到终端中,终端即可以获取其中的注册信息,注册信息中包括国际移动用户识别码(IMSI:International MobileSubscriber Identification Number),根据IMSI,移动通信网可以唯一的识别虚拟SIM卡所属的国家、移动通信网络、以及与其绑定的移动通信号码也即绑定的移动用户。Specifically, since the virtual SIM card is not a physical SIM card, as long as it is downloaded to the terminal, the terminal can obtain the registration information therein. The registration information includes the International Mobile Subscriber Identification Number (IMSI: International Mobile Subscriber Identification Number). According to IMSI, the mobile The communication network can uniquely identify the country to which the virtual SIM card belongs, the mobile communication network, and the mobile communication number bound to it, that is, the bound mobile user.
在本实施例中,用户可以拥有多个已下载的虚拟SIM卡,即已获得使用授权的虚拟SIM卡,也就是相当于购买了多个实体SIM卡的一种等价情况。因此,若步骤S101中检测出处于激活状态的虚拟SIM卡对应的通信服务质量不满足所述当前使用的通信业务的需求阈值,那么终端可以对终端中已下载的其他虚拟SIM卡对应的通信服务质量进行检测。In this embodiment, the user may have multiple downloaded virtual SIM cards, that is, virtual SIM cards that have been authorized for use, which is equivalent to purchasing multiple physical SIM cards. Therefore, if it is detected in step S101 that the communication service quality corresponding to the activated virtual SIM card does not meet the demand threshold of the currently used communication service, then the terminal can provide communication services corresponding to other virtual SIM cards that have been downloaded in the terminal. Quality is tested.
具体检测过程中,根据终端中存在的不同SIM卡芯片的个数,检测方式也存在不同。若终端仅存在单个SIM卡芯片,那么该SIM卡芯片一定载入的是当前使用处于激活状态的虚拟SIM卡,而为了检测其他已下载的虚拟SIM卡的通信服务质量,终端需要将其载入SIM卡芯片中短暂驻网才可以检测,因此需要先将处于激活状态的虚拟SIM卡注销,再依次载入其他已下载的虚拟SIM卡进行检测。During the specific detection process, according to the number of different SIM card chips existing in the terminal, the detection methods are also different. If there is only a single SIM card chip in the terminal, then the SIM card chip must be loaded with the currently active virtual SIM card, and in order to detect the communication service quality of other downloaded virtual SIM cards, the terminal needs to load it into the The SIM card chip can only be detected when it resides in the network for a short time. Therefore, it is necessary to log out the activated virtual SIM card first, and then load other downloaded virtual SIM cards in sequence for detection.
在本实施例中,终端也可以至少存在两个SIM卡芯片,第一SIM卡芯片用于载入处于激活状态的虚拟SIM卡,另一个SIM卡可以用于依次对其他已下载的虚拟SIM卡的通信服务质量进行检测。具体检测过程中,终端可以通过短暂的驻网可以接收到附近基站的信号,从而检测到信号强度。终端也可以使用已下载的虚拟SIM卡发送一个测试消息给网络服务器,然后根据网络服务器的响应情况确定通信服务质量,例如根据网络服务器回复的消息确定出误码率、传输速度或/和传输时延等。In this embodiment, the terminal may also have at least two SIM card chips, the first SIM card chip is used to load the activated virtual SIM card, and the other SIM card can be used to sequentially load other downloaded virtual SIM cards The quality of communication service is tested. In the specific detection process, the terminal can receive the signal of the nearby base station by staying on the network for a short time, so as to detect the signal strength. The terminal can also use the downloaded virtual SIM card to send a test message to the network server, and then determine the communication service quality according to the response of the network server, for example, determine the bit error rate, transmission speed or/and transmission time according to the message replied by the network server. Wait.
步骤S103,若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前使用的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡。Step S103, if the communication service quality corresponding to at least one of the downloaded virtual SIM cards satisfies the demand threshold of the currently used communication service, then determine one of the virtual SIM cards in the at least one virtual SIM card card as the target virtual SIM card.
具体的,通过步骤S102中检测的所有已下载的虚拟SIM卡对应的通信服务质量,终端可以获取到其中通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡。Specifically, through the communication service quality corresponding to all the downloaded virtual SIM cards detected in step S102, the terminal can obtain the virtual SIM card whose communication service quality can meet the demand threshold of the currently used communication service.
需要说明的是,这里通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡可以是一个也可以是多个。当所有已下载的虚拟SIM卡中只有一个虚拟SIM卡对应的通信服务质量满足当前使用的通信业务的需求阈值,则终端可以直接确定该虚拟SIM卡即为目标虚拟SIM卡;当所有已下载的虚拟SIM卡中存在多个通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡时,终端可以随机选择其中一个虚拟SIM卡作为目标虚拟SIM卡,或者按照一定预设规则,例如选择下载日期最早的、使用率最高的或者通信服务质量最好的等等,确定出目标虚拟SIM卡。It should be noted that here, there may be one or more virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service. When the communication service quality corresponding to only one virtual SIM card in all downloaded virtual SIM cards meets the demand threshold of the currently used communication service, the terminal can directly determine that the virtual SIM card is the target virtual SIM card; when all the downloaded virtual SIM cards When there are multiple virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service in the virtual SIM card, the terminal can randomly select one of the virtual SIM cards as the target virtual SIM card, or according to certain preset rules, such as selecting The target virtual SIM card is determined by downloading the one with the earliest date, the highest usage rate, or the best communication service quality, etc.
步骤S104,注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。Step S104, deregistering the activated virtual SIM card, and activating the target virtual SIM card to perform the communication service.
具体的,终端确定出通信服务质量满足当前使用的通信业务的需求阈值的目标虚拟SIM卡之后,就可以将处于激活状态的虚拟SIM卡注销,并激活目标虚拟SIM卡来进行当前使用的通信业务。Specifically, after the terminal determines the target virtual SIM card whose communication service quality meets the demand threshold of the currently used communication service, it can cancel the activated virtual SIM card and activate the target virtual SIM card to perform the currently used communication service .
在本实施例中,注销处于激活状态的虚拟SIM卡可以有多种情况,可以是将原本正在使用的处于激活状态的虚拟SIM卡在SIM卡芯片中擦除,而由目标虚拟SIM卡载入SIM卡芯片中,从而使目标虚拟SIM卡被激活,作为用户使用新的虚拟SIM卡;另外,注销处于激活状态的虚拟SIM卡也可以是停止当前使用的通信业务中使用处于激活状态的虚拟SIM卡,激活由目标虚拟SIM卡来进行当前使用的通信业务,而其他通信业务仍然可以由处于激活状态的虚拟SIM卡执行。In this embodiment, there can be many situations for canceling the virtual SIM card in the activated state. It can be that the virtual SIM card in the activated state that was originally in use is erased in the SIM card chip, and loaded by the target virtual SIM card. In the SIM card chip, the target virtual SIM card is activated to use a new virtual SIM card as a user; in addition, canceling the activated virtual SIM card can also be to stop using the activated virtual SIM card in the currently used communication service card, the target virtual SIM card is activated to perform the currently used communication service, while other communication services can still be performed by the activated virtual SIM card.
需要说明的是,这里无论是上述哪种情况,被注销后的虚拟SIM卡的都仍然和其他已下载的虚拟SIM卡一起存在终端的存储空间中,并不会被删除或失效。在用户的切换指令或者检测到新激活的虚拟SIM卡不能满足通信业务的需求阈值时,都可以将被注销后的虚拟SIM卡重新载入SIM卡芯片中进行使用。It should be noted that, no matter which of the above situations, the deregistered virtual SIM card still exists in the storage space of the terminal together with other downloaded virtual SIM cards, and will not be deleted or invalidated. When the user switches the command or detects that the newly activated virtual SIM card cannot meet the demand threshold of the communication service, the canceled virtual SIM card can be reloaded into the SIM card chip for use.
例如,若终端仅存在单个SIM卡芯片,终端就可以将处于激活状态的虚拟SIM卡在SIM卡芯片中擦除,载入目标虚拟SIM卡,从而使目标虚拟SIM卡作为用户正在使用的虚拟SIM卡,进而可以执行当前使用的通信业务,例如重新进行拨号,完成更良好的通话体验。For example, if there is only a single SIM card chip in the terminal, the terminal can erase the activated virtual SIM card in the SIM card chip and load the target virtual SIM card, so that the target virtual SIM card can be used as the virtual SIM card currently used by the user. Card, and then can perform the current communication service, such as re-dial, to achieve a better call experience.
又例如,若终端存在两个SIM卡芯片,当前使用的通信业务为视频直播,终端就可以停止第一SIM卡芯片中处于激活状态的虚拟SIM卡在视频直播中对流量业务的使用状态,而将目标虚拟SIM卡载入第二SIM卡芯片,从而使用目标虚拟SIM卡中的流量业务来进行视频直播,但是对于其他通信业务,例如通话业务,终端可以仍然使用第一SIM卡芯片中处于激活状态的虚拟SIM卡来执行。For another example, if there are two SIM card chips in the terminal, and the currently used communication service is live video broadcasting, the terminal can stop the active virtual SIM card in the first SIM card chip from using the traffic service in the live video broadcasting, and Load the target virtual SIM card into the second SIM card chip, so that the traffic service in the target virtual SIM card can be used for live video broadcasting, but for other communication services, such as call services, the terminal can still use the activated first SIM card chip state of the virtual SIM card to perform.
本发明实施例在检测到处于激活状态的虚拟SIM卡对应的通信服务质量不满足当前使用的通信业务的需求阈值时,检测所有已下载的虚拟SIM卡对应的通信服务质量,可以根据已下载的虚拟SIM卡的通信服务质量,智能地选择一个通信服务质量满足当前使用的通信业务的需求阈值的目标虚拟SIM卡,进而注销处于激活状态的虚拟SIM卡,并激活目标虚拟SIM卡来进行通信业务,从而实现对虚拟SIM卡的智能切换,进而提高使用便捷性,提升用户体验。In the embodiment of the present invention, when it is detected that the communication service quality corresponding to the virtual SIM card in the activated state does not meet the demand threshold of the currently used communication service, the communication service quality corresponding to all downloaded virtual SIM cards can be detected, and it can be based on the downloaded The quality of communication service of the virtual SIM card, intelligently select a target virtual SIM card whose communication service quality meets the demand threshold of the currently used communication service, and then cancel the activated virtual SIM card, and activate the target virtual SIM card to carry out communication services , so as to realize the intelligent switching of the virtual SIM card, thereby improving the convenience of use and improving the user experience.
图2是本发明另一实施例中虚拟SIM卡切换方法的流程示意图,该方法包括:Fig. 2 is a schematic flow chart of a virtual SIM card switching method in another embodiment of the present invention, the method comprising:
步骤S201,检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值。Step S201, detecting whether the communication service quality corresponding to the virtual SIM card in the activated state meets the demand threshold of the currently used communication service.
具体方法可以参考步骤S101。For a specific method, refer to step S101.
步骤S202,若所述处于激活状态的虚拟SIM卡对应的通信服务质量不满足所述当前使用的通信业务的需求阈值,则检测所有已下载的虚拟SIM卡对应的通信服务质量。Step S202, if the communication service quality corresponding to the activated virtual SIM card does not meet the demand threshold of the currently used communication service, then detect the communication service quality corresponding to all downloaded virtual SIM cards.
具体方法可以参考步骤102。For a specific method, refer to step 102.
步骤S203,若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前使用的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中通信服务质量最优的虚拟SIM卡作为所述目标虚拟SIM卡。Step S203, if the communication service quality corresponding to at least one of the downloaded virtual SIM cards meets the demand threshold of the currently used communication service, then determine that the communication service quality of the at least one virtual SIM card is the highest The optimal virtual SIM card is used as the target virtual SIM card.
具体的,通过步骤S202中检测的所有已下载的虚拟SIM卡对应的通信服务质量,终端可以获取到通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡中通信服务质量最优的虚拟SIM卡作为目标虚拟SIM卡。Specifically, through the communication service quality corresponding to all the downloaded virtual SIM cards detected in step S202, the terminal can obtain the best communication service quality among the virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service. The virtual SIM card acts as the target virtual SIM card.
在实施例中,通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡存在多个,在这多个通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡中,终端可以根据步骤S202的检测结果进行排序,选择出通信服务质量最优的虚拟SIM卡作为目标虚拟SIM卡。In an embodiment, there are multiple virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service, and among the virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service, the terminal The sorting may be performed according to the detection result in step S202, and the virtual SIM card with the best communication service quality may be selected as the target virtual SIM card.
例如,假设当前使用的通信业务的需求阈值为0.4,检测出已下载的虚拟SIM卡中有A、B、C三个虚拟SIM卡的通信服务质量大于等于0.4,其通信服务质量分别是A为0.5、B为0.7、C为0.4。终端可以判断出B为通信服务质量最优的虚拟SIM卡,则可以确定B为目标虚拟SIM卡。For example, assuming that the demand threshold of the currently used communication service is 0.4, it is detected that among the downloaded virtual SIM cards, the communication service quality of three virtual SIM cards A, B, and C is greater than or equal to 0.4, and the communication service quality of A is respectively 0.5, B is 0.7, and C is 0.4. The terminal can determine that B is the virtual SIM card with the best communication service quality, and then it can determine that B is the target virtual SIM card.
可选的,该步骤还可以为:确定所述至少一个虚拟SIM卡中优先级最高的虚拟SIM卡作为所述目标虚拟SIM卡。Optionally, this step may also be: determining a virtual SIM card with the highest priority among the at least one virtual SIM card as the target virtual SIM card.
具体的,用户可以预设其已下载的虚拟SIM卡使用的优先级,例如,可以预设充值金额较多的卡1的优先级为1,不常用的卡2的优先级为2,则终端在获取到虚拟SIM卡的优先级后,可以根据优先级的先后确定获取哪一个虚拟SIM卡作为目标虚拟SIM卡。在上述例子中,终端就可以选择优先级为1的卡1作为目标虚拟SIM卡。Specifically, the user can preset the priority of the virtual SIM card that he has downloaded. For example, the priority of the card 1 with a large recharge amount can be preset as 1, and the priority of the card 2 that is not commonly used is 2. Then the terminal After acquiring the priorities of the virtual SIM cards, it may be determined which virtual SIM card to acquire as the target virtual SIM card according to the order of the priorities. In the above example, the terminal may select card 1 with priority 1 as the target virtual SIM card.
步骤S204,注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。Step S204, deregistering the activated virtual SIM card, and activating the target virtual SIM card to perform the communication service.
具体方法可以参考步骤S104。For a specific method, refer to step S104.
可选的,该方法还可以包括:Optionally, the method may also include:
根据所述处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述处于激活状态的虚拟SIM卡的通信服务质量;Determine the communication service quality of the virtual SIM card in the activated state according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the virtual SIM card in the activated state belongs;
或/和,or/and,
根据所述已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述已下载的虚拟SIM卡的通信服务质量。Determine the communication service quality of the downloaded virtual SIM card according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs.
具体的,可以获取预设的权重系数,根据权重系数,对信号强度、误码率、传输速度、传输时延进行加权,生成虚拟SIM的通信服务质量。Specifically, a preset weight coefficient may be obtained, and the signal strength, bit error rate, transmission speed, and transmission delay are weighted according to the weight coefficient to generate the communication service quality of the virtual SIM.
例如,可以根据公式For example, according to the formula
result=A×a+B×b+C×c+D×d,result=A×a+B×b+C×c+D×d,
a+b+c+d=1a+b+c+d=1
计算虚拟SIM的通信服务质量,其中,优选的,A为信号强度的归一化值,B为误码率的归一化值,C为传输速度的归一化值,D为传输时延的归一化值。a、b、c、d分别为相应的加权系数。可以假设a=0.4、b=0.2、c=0.1、d=0.3,从而计算出通信服务质量的归一化值。Calculate the communication service quality of virtual SIM, wherein, preferably, A is the normalized value of signal strength, B is the normalized value of bit error rate, C is the normalized value of transmission speed, D is the normalized value of transmission time delay normalized value. a, b, c, d are the corresponding weighting coefficients respectively. It can be assumed that a=0.4, b=0.2, c=0.1, d=0.3, so as to calculate the normalized value of the communication service quality.
进而在可选实施例中,可以根据统一的通信服务质量的归一化值来确定通信服务质量。Furthermore, in an optional embodiment, the communication service quality may be determined according to a unified normalized value of the communication service quality.
需要说明的是,本方法可以用于计算处于激活状态的虚拟SIM卡的通信服务质量,也可以用于计算已下载的虚拟SIM卡的通信服务质量。终端在计算处于激活状态的虚拟SIM卡的通信服务质量时,可以获取处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延来进行计算;终端在计算已下载的虚拟SIM卡的通信服务质量时,可以获取已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延来进行计算。It should be noted that this method can be used to calculate the communication service quality of the activated virtual SIM card, and can also be used to calculate the communication service quality of the downloaded virtual SIM card. When the terminal calculates the communication service quality of the virtual SIM card in the activated state, it can obtain the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the virtual SIM card in the activated state belongs to calculate; When calculating the communication service quality of the downloaded virtual SIM card, the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs can be obtained for calculation.
可选的,该方法还可以包括:Optionally, the method may also include:
向云服务器发送虚拟SIM卡下载请求。Send a virtual SIM card download request to the cloud server.
具体的,当终端中不存在除处于激活状态的虚拟SIM卡以外的其他虚拟SIM卡时,或者是用户还有其他未下载但已购买的虚拟SIM卡时,终端都可以向云服务器发送虚拟SIM卡下载请求,以请求云服务器发送与虚拟SIM卡下载请求对应的虚拟SIM卡。Specifically, when there is no virtual SIM card other than the activated virtual SIM card in the terminal, or when the user has other virtual SIM cards that have not been downloaded but purchased, the terminal can send the virtual SIM card to the cloud server. A card download request to request the cloud server to send a virtual SIM card corresponding to the virtual SIM card download request.
接收所述云服务器根据所述虚拟SIM卡下载请求发送的虚拟SIM卡。receiving the virtual SIM card sent by the cloud server according to the virtual SIM card download request.
具体的,云服务器存储有大量虚拟SIM卡,终端的用户可以根据购买时获取的验证方式,通过云服务器的验证,进而云服务器就可以获取到相应的虚拟SIM卡向终端发送。终端接收到虚拟SIM卡后,就可以进一步执行上述实施例中的方法。Specifically, the cloud server stores a large number of virtual SIM cards, and the user of the terminal can pass the verification of the cloud server according to the verification method obtained at the time of purchase, and then the cloud server can obtain the corresponding virtual SIM cards and send them to the terminal. After the terminal receives the virtual SIM card, it can further execute the methods in the foregoing embodiments.
本发明实施例在检测到处于激活状态的虚拟SIM卡对应的通信服务质量不满足当前使用的通信业务的需求阈值时,检测所有已下载的虚拟SIM卡对应的通信服务质量,可以根据已下载的虚拟SIM卡的通信服务质量,智能地选择一个通信服务质量满足当前使用的通信业务的需求阈值的目标虚拟SIM卡,进而注销处于激活状态的虚拟SIM卡,并激活目标虚拟SIM卡来进行通信业务,从而实现对虚拟SIM卡的智能切换,进而提高使用便捷性,提升用户体验。In the embodiment of the present invention, when it is detected that the communication service quality corresponding to the virtual SIM card in the activated state does not meet the demand threshold of the currently used communication service, the communication service quality corresponding to all downloaded virtual SIM cards can be detected, and it can be based on the downloaded The quality of communication service of the virtual SIM card, intelligently select a target virtual SIM card whose communication service quality meets the demand threshold of the currently used communication service, and then cancel the activated virtual SIM card, and activate the target virtual SIM card to carry out communication services , so as to realize the intelligent switching of the virtual SIM card, thereby improving the convenience of use and improving the user experience.
图3是本发明实施例中一种虚拟SIM卡切换装置的组成结构图,该装置包括:Fig. 3 is the composition structural diagram of a kind of virtual SIM card switching device in the embodiment of the present invention, and this device comprises:
需求检测模块310,用于检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值。The demand detection module 310 is configured to detect whether the communication service quality corresponding to the activated virtual SIM card meets the demand threshold of the currently used communication service.
具体的,处于激活状态的虚拟SIM卡是驻网的或者说用户正在使用的虚拟SIM卡。通信服务质量可以是衡量通信网络当前使用的通信服务好坏程度的指标,可以包括网络的信号强度、误码率、传输速度或/和传输时延等多个衡量参数。在不同的情境或不同的终端设备中,可以用衡量参数中的一个来表征通信服务质量,也可以用多个或者更多来计算出归一化的通信服务质量,例如可以仅用网络的信号强度的强弱程度来表征通信服务质量的好坏程度,也可以通过网络的信号强度、误码率、传输速度或/和传输时延等多个衡量参数共同计算出一个归一化的数值。Specifically, the activated virtual SIM card is a network-resident virtual SIM card or a virtual SIM card being used by a user. Communication service quality can be an index to measure the quality of the communication service currently used by the communication network, and can include multiple measurement parameters such as network signal strength, bit error rate, transmission speed or/and transmission delay. In different scenarios or different terminal devices, one of the measurement parameters can be used to characterize the communication service quality, and multiple or more can be used to calculate the normalized communication service quality, for example, only the network signal can be used The quality of the communication service can be represented by the strength of the intensity, and a normalized value can also be calculated through multiple measurement parameters such as the signal strength of the network, the bit error rate, the transmission speed or/and the transmission delay.
通信业务可以是拨打或接听电话、视频直播、网页浏览、短信收发等终端利用虚拟SIM卡可实现的通信形式中的某一个或多个,例如用户正在通过网络看视频,则当前使用的通信业务即为视频直播。而通信业务的需求阈值则是终端预设的可以完成相应的通信任务所需要的通信服务质量的门限值,也就是说,如果虚拟SIM卡对应的通信服务质量低于通信业务的需求阈值时,是不能很好地完成当前使用的通信任务的。The communication service can be one or more of the communication forms that can be realized by the terminal using the virtual SIM card, such as making or answering calls, live video broadcasting, web browsing, and sending and receiving short messages. That is live video. The demand threshold of the communication service is the threshold value of the communication service quality required by the terminal to complete the corresponding communication task, that is, if the communication service quality corresponding to the virtual SIM card is lower than the communication service demand threshold , is unable to complete the current communication tasks well.
需要说明的是,这里通信服务质量与通信业务的需求阈值的衡量标准是对应的,也就是说,如果通信服务质量是通过信号强度这一个参数来表征的,那么通信业务的需求阈值则也是预设的一个信号强度值,如果通信服务质量是通过信号强度、误码率、传输速度或/和传输时延等多个衡量参数进行的归一化表示数值,那么通信业务的需求阈值则也是预设的一个通过信号强度、误码率、传输速度或/和传输时延等多个衡量参数进行的归一化表示数值。It should be noted that the communication service quality and the measurement standard of the communication service demand threshold are corresponding, that is to say, if the communication service quality is characterized by the parameter of signal strength, then the communication service demand threshold is also the predetermined A set signal strength value, if the quality of communication service is a normalized value expressed by multiple measurement parameters such as signal strength, bit error rate, transmission speed or/and transmission delay, then the demand threshold of communication services is also a predetermined value. A normalized representation value set by multiple measurement parameters such as signal strength, bit error rate, transmission speed or/and transmission delay.
在本实施例中,需求检测模块310可以获取用户当前使用的通信业务以及该通信业务对应的需求阈值,同时获取处于激活状态的虚拟SIM卡对应的通信服务质量,然后检测处于激活状态的虚拟SIM卡对应的通信服务质量的是否满足当前使用的通信业务对应的需求阈值。In this embodiment, the demand detection module 310 can obtain the communication service currently used by the user and the demand threshold corresponding to the communication service, and at the same time obtain the communication service quality corresponding to the virtual SIM card in the activated state, and then detect the virtual SIM card in the activated state. Whether the communication service quality corresponding to the card meets the demand threshold corresponding to the currently used communication service.
例如,用户正在使用终端中处于激活状态的虚拟SIM卡进行通话,假设通话业务的需求阈值是-80dBm的信号强度,而此时需求检测模块310获取到的处于激活状态的虚拟SIM卡对应的通信服务质量为-50dBm的信号强度,-50dBm大于-80dBm,说明这里处于激活状态的虚拟SIM卡对应的通信服务质量可以满足当前使用的通信业务的需求阈值,即可以使用户良好的完成通话。For example, the user is using the activated virtual SIM card in the terminal to make a call. Assume that the demand threshold of the call service is a signal strength of -80dBm. At this time, the communication corresponding to the activated virtual SIM card obtained by the demand detection module 310 The quality of service is a signal strength of -50dBm, and -50dBm is greater than -80dBm, indicating that the communication service quality corresponding to the activated virtual SIM card here can meet the demand threshold of the current communication service, which can enable the user to complete the call well.
又例如,用户正在处于激活状态的虚拟SIM卡接听电话的同时还进行网页浏览,假设通话业务的需求阈值是归一化数值0.2,网页浏览的需求阈值是归一化数值0.6,而此时需求检测模块310获取到的处于激活状态的虚拟SIM卡对应的通信服务质量为归一化数值0.5,那么这里处于激活状态的虚拟SIM卡对应的通信服务质量可以满足当前使用的通话业务,但是不能满足当前使用的网页浏览业务,即处于激活状态的虚拟SIM卡对应的通信服务质量不满足当前使用的通信业务的需求阈值。For another example, the user is answering the phone with the activated virtual SIM card and browsing the web at the same time. Assume that the demand threshold for the call service is a normalized value of 0.2, and the demand threshold for web browsing is a normalized value of 0.6. At this time, the demand The communication service quality corresponding to the activated virtual SIM card acquired by the detection module 310 is a normalized value of 0.5, then the communication service quality corresponding to the activated virtual SIM card here can meet the current call service, but cannot meet The currently used web browsing service, that is, the quality of communication service corresponding to the activated virtual SIM card does not meet the demand threshold of the currently used communication service.
质量检测模块320,用于若所述处于激活状态的虚拟SIM卡对应的通信服务质量不满足所述当前使用的通信业务的需求阈值,则检测所有已下载的虚拟SIM卡对应的通信服务质量。The quality detection module 320 is configured to detect the communication service quality corresponding to all downloaded virtual SIM cards if the communication service quality corresponding to the activated virtual SIM card does not meet the demand threshold of the currently used communication service.
具体的,由于虚拟SIM卡不是实体SIM卡,因此只要下载到终端中,终端即可以获取其中的注册信息,注册信息中包括国际移动用户识别码(IMSI:International MobileSubscriber Identification Number),根据IMSI,移动通信网可以唯一的识别虚拟SIM卡所属的国家、移动通信网络、以及与其绑定的移动通信号码也即绑定的移动用户。Specifically, since the virtual SIM card is not a physical SIM card, as long as it is downloaded to the terminal, the terminal can obtain the registration information therein. The registration information includes the International Mobile Subscriber Identification Number (IMSI: International Mobile Subscriber Identification Number). According to IMSI, the mobile The communication network can uniquely identify the country to which the virtual SIM card belongs, the mobile communication network, and the mobile communication number bound to it, that is, the bound mobile user.
在本实施例中,用户可以拥有多个已下载的虚拟SIM卡,即已获得使用授权的虚拟SIM卡,也就是相当于购买了多个实体SIM卡的一种等价情况。因此,若需求检测模块310中检测出处于激活状态的虚拟SIM卡对应的通信服务质量不满足所述当前使用的通信业务的需求阈值,那么质量检测模块320可以对终端中已下载的其他虚拟SIM卡对应的通信服务质量进行检测。In this embodiment, the user may have multiple downloaded virtual SIM cards, that is, virtual SIM cards that have been authorized for use, which is equivalent to purchasing multiple physical SIM cards. Therefore, if it is detected in the demand detection module 310 that the communication service quality corresponding to the virtual SIM card in the activated state does not meet the demand threshold of the currently used communication service, the quality detection module 320 can check the quality of other virtual SIM cards that have been downloaded in the terminal. The communication service quality corresponding to the card is detected.
具体检测过程中,根据终端中存在的不同SIM卡芯片的个数,检测方式也存在不同。若终端仅存在单个SIM卡芯片,那么该SIM卡芯片一定载入的是当前使用处于激活状态的虚拟SIM卡,而为了检测其他已下载的虚拟SIM卡的通信服务质量,终端需要将其载入SIM卡芯片中短暂驻网才可以检测,因此质量检测模块320需要先将处于激活状态的虚拟SIM卡注销,再依次载入其他已下载的虚拟SIM卡进行检测。During the specific detection process, according to the number of different SIM card chips existing in the terminal, the detection methods are also different. If there is only a single SIM card chip in the terminal, then the SIM card chip must be loaded with the currently active virtual SIM card, and in order to detect the communication service quality of other downloaded virtual SIM cards, the terminal needs to load it into the The SIM card chip can be detected only when it resides in the network for a short period of time. Therefore, the quality detection module 320 needs to deregister the activated virtual SIM card first, and then load other downloaded virtual SIM cards in sequence for detection.
在本实施例中,终端也可以至少存在两个SIM卡芯片,第一SIM卡芯片用于载入处于激活状态的虚拟SIM卡,另一个SIM卡可以用于依次对其他已下载的虚拟SIM卡的通信服务质量进行检测。具体检测过程中,质量检测模块320可以通过短暂的驻网可以接收到附近基站的信号,从而检测到信号强度。质量检测模块320也可以使用已下载的虚拟SIM卡发送一个测试消息给网络服务器,然后根据网络服务器的响应情况确定通信服务质量,例如根据网络服务器回复的消息确定出误码率、传输速度或/和传输时延等。In this embodiment, the terminal may also have at least two SIM card chips, the first SIM card chip is used to load the activated virtual SIM card, and the other SIM card can be used to sequentially load other downloaded virtual SIM cards The quality of communication service is tested. During the specific detection process, the quality detection module 320 can receive signals from nearby base stations by staying on the network for a short time, so as to detect the signal strength. The quality detection module 320 can also use the downloaded virtual SIM card to send a test message to the network server, and then determine the communication service quality according to the response of the network server, for example, determine the bit error rate, transmission speed or/or and transmission delay, etc.
目标确定模块330,用于若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前使用的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡。The target determination module 330 is configured to determine that the communication service quality corresponding to at least one virtual SIM card in the downloaded virtual SIM card meets the demand threshold of the currently used communication service, then determine the One of the virtual SIM cards in the target virtual SIM card.
具体的,通过质量检测模块320中检测的所有已下载的虚拟SIM卡对应的通信服务质量,目标确定模块330可以获取到其中通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡。Specifically, through the communication service quality corresponding to all downloaded virtual SIM cards detected in the quality detection module 320, the target determination module 330 can obtain the virtual SIM card whose communication service quality can meet the demand threshold of the currently used communication service.
需要说明的是,这里通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡可以是一个也可以是多个。当所有已下载的虚拟SIM卡中只有一个虚拟SIM卡对应的通信服务质量满足当前使用的通信业务的需求阈值,则目标确定模块330可以直接确定该虚拟SIM卡即为目标虚拟SIM卡;当所有已下载的虚拟SIM卡中存在多个通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡时,目标确定模块330可以随机选择其中一个虚拟SIM卡作为目标虚拟SIM卡,或者按照一定预设规则,例如选择下载日期最早的、使用率最高的或者通信服务质量最好的等等,确定出目标虚拟SIM卡。It should be noted that here, there may be one or more virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service. When all the virtual SIM cards that have been downloaded only have the corresponding communication service quality of a virtual SIM card to meet the demand threshold of the communication service currently used, then the target determination module 330 can directly determine that the virtual SIM card is the target virtual SIM card; when all When there are multiple virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service in the downloaded virtual SIM cards, the target determination module 330 can randomly select one of the virtual SIM cards as the target virtual SIM card, or according to a certain Preset rules, such as selecting the one with the earliest download date, the highest usage rate, or the best communication service quality, etc., to determine the target virtual SIM card.
所述目标确定模块330用于:The target determination module 330 is used for:
确定所述至少一个虚拟SIM卡中通信服务质量最优的虚拟SIM卡作为所述目标虚拟SIM卡。Determining a virtual SIM card with the best communication service quality among the at least one virtual SIM card as the target virtual SIM card.
具体的,通过质量检测模块320中检测的所有已下载的虚拟SIM卡对应的通信服务质量,目标确定模块330可以获取到通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡中通信服务质量最优的虚拟SIM卡作为目标虚拟SIM卡。Specifically, through the communication service quality corresponding to all downloaded virtual SIM cards detected in the quality detection module 320, the target determination module 330 can obtain the communication service quality in the virtual SIM card whose communication service quality can meet the demand threshold of the currently used communication service. The virtual SIM card with the best service quality is used as the target virtual SIM card.
在实施例中,通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡存在多个,在这多个通信服务质量可以满足当前使用的通信业务的需求阈值的虚拟SIM卡中,终端可以根据质量检测模块320的检测结果进行排序,选择出通信服务质量最优的虚拟SIM卡作为目标虚拟SIM卡。In an embodiment, there are multiple virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service, and among the virtual SIM cards whose communication service quality can meet the demand threshold of the currently used communication service, the terminal The sorting can be performed according to the detection results of the quality detection module 320, and the virtual SIM card with the best communication service quality can be selected as the target virtual SIM card.
例如,假设当前使用的通信业务的需求阈值为0.4,检测出已下载的虚拟SIM卡中有A、B、C三个虚拟SIM卡的通信服务质量大于等于0.4,其通信服务质量分别是A为0.5、B为0.7、C为0.4。目标确定模块330可以判断出B为通信服务质量最优的虚拟SIM卡,则可以确定B为目标虚拟SIM卡。For example, assuming that the demand threshold of the currently used communication service is 0.4, it is detected that among the downloaded virtual SIM cards, the communication service quality of three virtual SIM cards A, B, and C is greater than or equal to 0.4, and the communication service quality of A is respectively 0.5, B is 0.7, and C is 0.4. The target determination module 330 may determine that B is the virtual SIM card with the best communication service quality, and then determine B as the target virtual SIM card.
所述目标确定模块330用于:The target determination module 330 is used for:
确定所述至少一个虚拟SIM卡中优先级最高的虚拟SIM卡作为所述目标虚拟SIM卡。Determining a virtual SIM card with the highest priority among the at least one virtual SIM card as the target virtual SIM card.
具体的,用户可以预设其已下载的虚拟SIM卡使用的优先级,例如,可以预设充值金额较多的卡1的优先级为1,不常用的卡2的优先级为2,则目标确定模块330在获取到虚拟SIM卡的优先级后,可以根据优先级的先后确定获取哪一个虚拟SIM卡作为目标虚拟SIM卡。在上述例子中,目标确定模块330就可以选择优先级为1的卡1作为目标虚拟SIM卡。Specifically, the user can preset the priority of the virtual SIM card that he has downloaded. For example, the priority of card 1 with a large recharge amount can be preset as 1, and the priority of card 2 that is not commonly used is 2. Then the target After acquiring the priorities of the virtual SIM cards, the determining module 330 may determine which virtual SIM card to acquire as the target virtual SIM card according to the sequence of priorities. In the above example, the target determining module 330 may select card 1 with priority 1 as the target virtual SIM card.
注销激活模块340,用于注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。The deactivation activation module 340 is configured to deregister the activated virtual SIM card, and activate the target virtual SIM card to perform the communication service.
具体的,目标确定模块330确定出通信服务质量满足当前使用的通信业务的需求阈值的目标虚拟SIM卡之后,注销激活模块340就可以将处于激活状态的虚拟SIM卡注销,并激活目标虚拟SIM卡来进行当前使用的通信业务。Specifically, after the target determination module 330 determines that the communication service quality meets the target virtual SIM card whose communication service quality meets the demand threshold of the currently used communication service, the cancellation activation module 340 can cancel the virtual SIM card in the activated state, and activate the target virtual SIM card To carry out the current communication service.
在本实施例中,注销处于激活状态的虚拟SIM卡可以有多种情况,可以是将原本正在使用的处于激活状态的虚拟SIM卡在SIM卡芯片中擦除,而由目标虚拟SIM卡载入SIM卡芯片中,从而使目标虚拟SIM卡被激活,作为用户使用新的虚拟SIM卡;另外,注销处于激活状态的虚拟SIM卡也可以是停止当前使用的通信业务中使用处于激活状态的虚拟SIM卡,激活由目标虚拟SIM卡来进行当前使用的通信业务,而其他通信业务仍然可以由处于激活状态的虚拟SIM卡执行。In this embodiment, there can be many situations for canceling the virtual SIM card in the activated state. It can be that the virtual SIM card in the activated state that was originally in use is erased in the SIM card chip, and loaded by the target virtual SIM card. In the SIM card chip, the target virtual SIM card is activated to use a new virtual SIM card as a user; in addition, canceling the activated virtual SIM card can also be to stop using the activated virtual SIM card in the currently used communication service card, the target virtual SIM card is activated to perform the currently used communication service, while other communication services can still be performed by the activated virtual SIM card.
需要说明的是,这里无论是上述哪种情况,被注销后的虚拟SIM卡的都仍然和其他已下载的虚拟SIM卡一起存在终端的存储空间中,并不会被删除或失效。在用户的切换指令或者检测到新激活的虚拟SIM卡不能满足通信业务的需求阈值时,都可以将被注销后的虚拟SIM卡重新载入SIM卡芯片中进行使用。It should be noted that, no matter which of the above situations, the deregistered virtual SIM card still exists in the storage space of the terminal together with other downloaded virtual SIM cards, and will not be deleted or invalidated. When the user switches the command or detects that the newly activated virtual SIM card cannot meet the demand threshold of the communication service, the canceled virtual SIM card can be reloaded into the SIM card chip for use.
例如,若终端仅存在单个SIM卡芯片,注销激活模块340就可以将处于激活状态的虚拟SIM卡在SIM卡芯片中擦除,载入目标虚拟SIM卡,从而使目标虚拟SIM卡作为用户正在使用的虚拟SIM卡,进而可以执行当前使用的通信业务,例如重新进行拨号,完成更良好的通话体验。For example, if there is only a single SIM card chip in the terminal, the deactivation activation module 340 can erase the activated virtual SIM card in the SIM card chip and load the target virtual SIM card, so that the target virtual SIM card can be used as the user The virtual SIM card, and then can perform the current communication service, such as redialing, to achieve a better call experience.
又例如,若终端存在两个SIM卡芯片,当前使用的通信业务为视频直播,注销激活模块340就可以停止第一SIM卡芯片中处于激活状态的虚拟SIM卡在视频直播中对流量业务的使用状态,而将目标虚拟SIM卡载入第二SIM卡芯片,从而使用目标虚拟SIM卡中的流量业务来进行视频直播,但是对于其他通信业务,例如通话业务,可以仍然使用第一SIM卡芯片中处于激活状态的虚拟SIM卡来执行。For another example, if there are two SIM card chips in the terminal, and the currently used communication service is live video broadcasting, the deactivation activation module 340 can stop the virtual SIM card in the activated state in the first SIM card chip from using the traffic service in the live video broadcasting status, and load the target virtual SIM card into the second SIM card chip, so as to use the traffic service in the target virtual SIM card for live video broadcasting, but for other communication services, such as call services, the first SIM card chip can still be used Activated virtual SIM card to execute.
可选的,所述装置还包括:质量确定模块350,用于根据所述处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述处于激活状态的虚拟SIM卡的通信服务质量;Optionally, the device further includes: a quality determination module 350, configured to determine the The communication service quality of the virtual SIM card in the activated state;
或/和,or/and,
用于根据所述已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述已下载的虚拟SIM卡的通信服务质量。It is used for determining the communication service quality of the downloaded virtual SIM card according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs.
具体的,质量确定模块350可以获取预设的权重系数,根据权重系数,对信号强度、误码率、传输速度、传输时延进行加权,生成虚拟SIM的通信服务质量。Specifically, the quality determination module 350 can obtain a preset weight coefficient, and weight the signal strength, bit error rate, transmission speed, and transmission delay according to the weight coefficient to generate the communication service quality of the virtual SIM.
例如,可以根据公式For example, according to the formula
result=A×a+B×b+C×c+D×d,result=A×a+B×b+C×c+D×d,
a+b+c+d=1a+b+c+d=1
计算虚拟SIM的通信服务质量,其中,优选的,A为信号强度的归一化值,B为误码率的归一化值,C为传输速度的归一化值,D为传输时延的归一化值。a、b、c、d分别为相应的加权系数。可以假设a=0.4、b=0.2、c=0.1、d=0.3,从而计算出通信服务质量的归一化值。Calculate the communication service quality of virtual SIM, wherein, preferably, A is the normalized value of signal strength, B is the normalized value of bit error rate, C is the normalized value of transmission speed, D is the normalized value of transmission time delay normalized value. a, b, c, d are the corresponding weighting coefficients respectively. It can be assumed that a=0.4, b=0.2, c=0.1, d=0.3, so as to calculate the normalized value of the communication service quality.
进而在可选实施例中,质量确定模块350可以根据统一的通信服务质量的归一化值来确定通信服务质量。Furthermore, in an optional embodiment, the quality determining module 350 may determine the communication service quality according to a unified normalized value of the communication service quality.
需要说明的是,本方法可以用于计算处于激活状态的虚拟SIM卡的通信服务质量,也可以用于计算已下载的虚拟SIM卡的通信服务质量。终端在计算处于激活状态的虚拟SIM卡的通信服务质量时,可以获取处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延来进行计算;终端在计算已下载的虚拟SIM卡的通信服务质量时,可以获取已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延来进行计算。It should be noted that this method can be used to calculate the communication service quality of the activated virtual SIM card, and can also be used to calculate the communication service quality of the downloaded virtual SIM card. When the terminal calculates the communication service quality of the virtual SIM card in the activated state, it can obtain the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the virtual SIM card in the activated state belongs to calculate; When calculating the communication service quality of the downloaded virtual SIM card, the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs can be obtained for calculation.
可选的,所述装置还包括:请求模块360,用于向云服务器发送虚拟SIM卡下载请求。Optionally, the device further includes: a request module 360, configured to send a virtual SIM card download request to the cloud server.
具体的,当终端中不存在除处于激活状态的虚拟SIM卡以外的其他虚拟SIM卡时,或者是用户还有其他未下载但已购买的虚拟SIM卡时,请求模块360都可以向云服务器发送虚拟SIM卡下载请求,以请求云服务器发送与虚拟SIM卡下载请求对应的虚拟SIM卡。Specifically, when there is no virtual SIM card other than the activated virtual SIM card in the terminal, or when the user has other virtual SIM cards that have not been downloaded but have been purchased, the request module 360 can send a message to the cloud server. The virtual SIM card download request is to request the cloud server to send the virtual SIM card corresponding to the virtual SIM card download request.
可选的,所述装置还包括:接收模块370,用于接收所述云服务器根据所述虚拟SIM卡下载请求发送的虚拟SIM卡。Optionally, the device further includes: a receiving module 370, configured to receive the virtual SIM card sent by the cloud server according to the virtual SIM card download request.
具体的,云服务器存储有大量虚拟SIM卡,终端的用户可以根据购买时获取的验证方式,通过云服务器的验证,进而云服务器就可以获取到相应的虚拟SIM卡向终端发送。接收模块370接收到虚拟SIM卡后,就可以进一步执行上述实施例中的方法。Specifically, the cloud server stores a large number of virtual SIM cards, and the user of the terminal can pass the verification of the cloud server according to the verification method obtained at the time of purchase, and then the cloud server can obtain the corresponding virtual SIM cards and send them to the terminal. After the receiving module 370 receives the virtual SIM card, it can further execute the methods in the above-mentioned embodiments.
本发明实施例在检测到处于激活状态的虚拟SIM卡对应的通信服务质量不满足当前使用的通信业务的需求阈值时,检测所有已下载的虚拟SIM卡对应的通信服务质量,可以根据已下载的虚拟SIM卡的通信服务质量,智能地选择一个通信服务质量满足当前使用的通信业务的需求阈值的目标虚拟SIM卡,进而注销处于激活状态的虚拟SIM卡,并激活目标虚拟SIM卡来进行通信业务,从而实现对虚拟SIM卡的智能切换,进而提高使用便捷性,提升用户体验。In the embodiment of the present invention, when it is detected that the communication service quality corresponding to the virtual SIM card in the activated state does not meet the demand threshold of the currently used communication service, the communication service quality corresponding to all downloaded virtual SIM cards can be detected, and it can be based on the downloaded The quality of communication service of the virtual SIM card, intelligently select a target virtual SIM card whose communication service quality meets the demand threshold of the currently used communication service, and then cancel the activated virtual SIM card, and activate the target virtual SIM card to carry out communication services , so as to realize the intelligent switching of the virtual SIM card, thereby improving the convenience of use and improving the user experience.
图4是本发明另一实施例中虚拟SIM卡切换装置的组成结构图。如图所示,该装置可以包括:处理器401,例如CPU,接收器403,存储器404,发送器405,通信总线402。其中,通信总线402用于实现这些组件之间的连接通信。其中,本发明实施例中拟SIM卡切换装置的接收器403和发送器405可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器404可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如磁盘存储器或ROM存储器。存储器404可选的还可以是位于远离前述处理器401的存储装置。存储器404中存储一组程序代码,且处理器401用于调用存储器中存储的程序代码,用于执行以下操作:Fig. 4 is a structural diagram of a virtual SIM card switching device in another embodiment of the present invention. As shown in the figure, the device may include: a processor 401 , such as a CPU, a receiver 403 , a memory 404 , a transmitter 405 , and a communication bus 402 . Wherein, the communication bus 402 is used to realize connection and communication between these components. Wherein, in the embodiment of the present invention, the receiver 403 and the transmitter 405 of the SIM card switching device may be wired transmission ports, or wireless devices, such as including antenna devices, for signaling or data communication with other node devices . The memory 404 can be a high-speed RAM memory, or a non-volatile memory, such as a magnetic disk memory or a ROM memory. Optionally, the memory 404 may also be a storage device located away from the aforementioned processor 401 . A set of program codes are stored in the memory 404, and the processor 401 is used to call the program codes stored in the memory to perform the following operations:
检测处于激活状态的虚拟SIM卡对应的通信服务质量是否满足当前使用的通信业务的需求阈值;Detecting whether the communication service quality corresponding to the virtual SIM card in the activated state meets the demand threshold of the currently used communication service;
若否,则检测所有已下载的虚拟SIM卡对应的通信服务质量;If not, then detect the communication service quality corresponding to all downloaded virtual SIM cards;
若所述已下载的虚拟SIM卡中的至少一个虚拟SIM卡对应的通信服务质量满足所述当前使用的通信业务的需求阈值,则确定所述至少一个虚拟SIM卡中的一个虚拟SIM卡作为目标虚拟SIM卡;If the communication service quality corresponding to at least one of the downloaded virtual SIM cards meets the demand threshold of the currently used communication service, then determine one of the at least one virtual SIM cards as the target Virtual SIM card;
注销所述处于激活状态的虚拟SIM卡,并激活所述目标虚拟SIM卡进行所述通信业务。Deregistering the activated virtual SIM card, and activating the target virtual SIM card to perform the communication service.
其中,处理器401还用于执行如下操作步骤:Wherein, the processor 401 is also configured to perform the following operation steps:
确定所述至少一个虚拟SIM卡中通信服务质量最优或优先级最高的虚拟SIM卡作为所述目标虚拟SIM卡。Determining the virtual SIM card with the best communication service quality or the highest priority among the at least one virtual SIM card as the target virtual SIM card.
其中,处理器401还用于执行如下操作步骤:Wherein, the processor 401 is also configured to perform the following operation steps:
根据所述处于激活状态的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述处于激活状态的虚拟SIM卡的通信服务质量;Determine the communication service quality of the virtual SIM card in the activated state according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the virtual SIM card in the activated state belongs;
或/和,or/and,
用于根据所述已下载的虚拟SIM卡所属通信网络的信号强度、误码率、传输速度或/和传输时延,确定所述已下载的虚拟SIM卡的通信服务质量。It is used for determining the communication service quality of the downloaded virtual SIM card according to the signal strength, bit error rate, transmission speed or/and transmission delay of the communication network to which the downloaded virtual SIM card belongs.
其中,处理器401还用于执行如下操作步骤:Wherein, the processor 401 is also configured to perform the following operation steps:
向云服务器发送虚拟SIM卡下载请求;Send a virtual SIM card download request to the cloud server;
接收所述云服务器根据所述虚拟SIM卡下载请求发送的虚拟SIM卡。receiving the virtual SIM card sent by the cloud server according to the virtual SIM card download request.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (12)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511033284.5A CN105682077B (en) | 2015-12-31 | 2015-12-31 | A kind of virtual SIM card switching method and device |
| PCT/CN2016/078109 WO2017113527A1 (en) | 2015-12-31 | 2016-03-31 | Method and device for switching virtual sim card, and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511033284.5A CN105682077B (en) | 2015-12-31 | 2015-12-31 | A kind of virtual SIM card switching method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105682077A CN105682077A (en) | 2016-06-15 |
| CN105682077B true CN105682077B (en) | 2019-08-02 |
Family
ID=56189957
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201511033284.5A Active CN105682077B (en) | 2015-12-31 | 2015-12-31 | A kind of virtual SIM card switching method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105682077B (en) |
| WO (1) | WO2017113527A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11743352B1 (en) | 2022-05-26 | 2023-08-29 | International Business Machines Corporation | Mobile network switching |
Families Citing this family (31)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105979502B (en) * | 2016-06-30 | 2019-08-02 | 宇龙计算机通信科技(深圳)有限公司 | Switching method, switching device and the terminal of eSIM |
| CN106131816B (en) * | 2016-07-05 | 2020-12-29 | 努比亚技术有限公司 | Virtual SIM card management method and terminal |
| CN107889138A (en) * | 2016-09-30 | 2018-04-06 | 法乐第(北京)网络科技有限公司 | Communication link quality determines method, communication link system of selection and its device |
| CN106535291A (en) * | 2016-11-28 | 2017-03-22 | 北京小米移动软件有限公司 | SIM card selection method and device |
| CN106603576A (en) * | 2017-02-07 | 2017-04-26 | 上海与德信息技术有限公司 | Multi-account management method and device for terminal |
| CN108574950B (en) * | 2017-03-10 | 2022-05-06 | 中国移动通信有限公司研究院 | Public land network PLMN access method and device |
| CN107241521B (en) * | 2017-05-25 | 2020-03-17 | 北京小米移动软件有限公司 | Web page access method and device |
| CN111373777B (en) * | 2017-10-09 | 2021-12-28 | 华为技术有限公司 | Soft SIM card network access control method and equipment |
| CN107979858B (en) * | 2017-12-07 | 2021-03-16 | 北京小米移动软件有限公司 | Data path switching method, device, terminal and computer-readable storage medium |
| CN108696859B (en) * | 2018-09-05 | 2021-12-14 | 中国联合网络通信集团有限公司 | A method for accessing the Internet by a dual-card mobile terminal and the dual-card mobile terminal |
| CN109784899A (en) * | 2018-12-26 | 2019-05-21 | 深圳供电局有限公司 | Integrated control intelligent charging management unit and charging fee data uploading method thereof |
| CN109788470B (en) * | 2019-01-17 | 2022-03-11 | 维沃移动通信有限公司 | Method, device and terminal for identifying eSIM card |
| CN109743724A (en) * | 2019-01-30 | 2019-05-10 | 维沃移动通信有限公司 | A management method of an embedded SIM card and a mobile terminal |
| WO2021007789A1 (en) * | 2019-07-16 | 2021-01-21 | 北京小米移动软件有限公司 | Information processing method and apparatus, and computer storage medium |
| US11432216B2 (en) | 2019-07-26 | 2022-08-30 | Qualcomm Incorporated | Smart data service link switching among subscriber identity modules |
| CN110602665B (en) * | 2019-08-12 | 2021-12-17 | 深圳市优克联新技术有限公司 | Method for determining sharing service index based on communication certificate sharing service |
| CN110730451B (en) * | 2019-10-24 | 2022-12-13 | 深圳传音控股股份有限公司 | Virtual SIM card replacing method and device and computer readable storage medium |
| CN111182523A (en) * | 2019-12-02 | 2020-05-19 | 西安中兴新软件有限责任公司 | Method, device, terminal and storage medium for realizing card selection |
| CN112995982B (en) * | 2019-12-18 | 2023-05-23 | 深圳优克云联科技有限公司 | Method, device, server and storage medium for scheduling cloud SIM card |
| CN111401469A (en) * | 2020-03-27 | 2020-07-10 | 北京小米移动软件有限公司 | A smart card calling method, device and storage medium |
| CN113055876B (en) * | 2020-04-29 | 2023-03-31 | 深圳市优克联新技术有限公司 | Method and device for downloading standby cloud card and terminal equipment |
| CN113055952B (en) * | 2020-05-20 | 2022-11-01 | 深圳市优克联新技术有限公司 | Network type setting method, user equipment and computer readable storage medium |
| CN111542081B (en) * | 2020-06-23 | 2020-11-10 | 深圳杰睿联科技有限公司 | Communication switching method and device and Internet of things communication module |
| CN113055878B (en) * | 2020-07-09 | 2023-03-07 | 深圳优克云联科技有限公司 | Cloud card distribution method and device, electronic equipment and storage medium |
| CN113055877B (en) * | 2020-07-09 | 2023-03-31 | 深圳优克云联科技有限公司 | Cloud card distribution method and device, electronic equipment and storage medium |
| WO2022160422A1 (en) * | 2021-01-29 | 2022-08-04 | Shenzhen Ucloudlink New Technology Co., Ltd. | Dynamically switching network cards |
| CN114175702B (en) * | 2021-01-29 | 2024-11-22 | 深圳市优克联新技术有限公司 | Dynamically switch network cards |
| CN113518404A (en) * | 2021-04-19 | 2021-10-19 | Tcl通讯(宁波)有限公司 | Automatic switching method and device of 5G network, storage medium and mobile terminal |
| CN113260006B (en) * | 2021-07-14 | 2021-11-23 | 上海途鸽数据科技有限公司 | Private network and public network switching method based on cloud communication and cloud communication terminal |
| CN113825197B (en) * | 2021-10-18 | 2024-06-04 | 四川酷比通信设备有限公司 | Card switching method and system based on network quality |
| CN115866581A (en) * | 2022-11-16 | 2023-03-28 | 阿里巴巴(中国)有限公司 | User authentication data switching processing method, communication equipment and readable storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104796957A (en) * | 2015-05-13 | 2015-07-22 | 展讯通信(上海)有限公司 | Multi-card multi-standby mobile terminal as well as user identification card switching method and user identification card switching device thereof |
| CN104883657A (en) * | 2015-04-30 | 2015-09-02 | 努比亚技术有限公司 | Virtual card management method and apparatus |
| CN104954564A (en) * | 2015-06-12 | 2015-09-30 | 小米科技有限责任公司 | SIM card switching method, device and terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104994487A (en) * | 2015-07-15 | 2015-10-21 | 上海与德通讯技术有限公司 | Mobile terminal and call switching method for multi-card multi-standby mobile terminal |
-
2015
- 2015-12-31 CN CN201511033284.5A patent/CN105682077B/en active Active
-
2016
- 2016-03-31 WO PCT/CN2016/078109 patent/WO2017113527A1/en active Application Filing
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104883657A (en) * | 2015-04-30 | 2015-09-02 | 努比亚技术有限公司 | Virtual card management method and apparatus |
| CN104796957A (en) * | 2015-05-13 | 2015-07-22 | 展讯通信(上海)有限公司 | Multi-card multi-standby mobile terminal as well as user identification card switching method and user identification card switching device thereof |
| CN104954564A (en) * | 2015-06-12 | 2015-09-30 | 小米科技有限责任公司 | SIM card switching method, device and terminal |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11743352B1 (en) | 2022-05-26 | 2023-08-29 | International Business Machines Corporation | Mobile network switching |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105682077A (en) | 2016-06-15 |
| WO2017113527A1 (en) | 2017-07-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105682077B (en) | A kind of virtual SIM card switching method and device | |
| US9100819B2 (en) | System and method of provisioning and reprovisioning a mobile device based on self-locating | |
| EP2807553B1 (en) | Managing data transfers over network connections based on priority and a data usage plan | |
| CN103841550B (en) | Method and device for identifying multi-card user | |
| US11540154B2 (en) | Methods and apparatus to measure wireless networks indoors | |
| US9661494B2 (en) | Control apparatus, control method, communication system and program | |
| CN104363585A (en) | Wireless local area network access method | |
| CN106171019B (en) | Method, device, terminal and server for determining terminal roaming state | |
| US20130067535A1 (en) | Apparatus and method for controlling a network connection | |
| CN104363665A (en) | Terminal | |
| CN109495875B (en) | SIM card selection method, device, electronic device and storage medium | |
| CN104619045A (en) | Access control method and device for mobile terminal | |
| WO2023015816A1 (en) | Esim device configuration system, method and apparatus, and storage medium | |
| WO2016173349A1 (en) | Network access method and mobile communications terminal | |
| US20160277917A1 (en) | Method and apparatus for automatic detection and selection of an alternative roaming provider | |
| CN105722063B (en) | IMSI number management and method of calling, server and network side equipment based on SoftSIM | |
| CN107864044B (en) | Information processing method and device, terminal and readable storage medium | |
| CN108197958B (en) | Method, device and storage medium for counting offline scalpers | |
| CN104967648B (en) | A kind of dispatching method of internet protocol address, device and system | |
| WO2020000783A1 (en) | Method and apparatus for cloud processing of address book, computer device and readable storage medium | |
| CN107241714B (en) | Method, device and storage medium for establishing communication | |
| CN113300910A (en) | Method and system for obtaining use rate, terminal, access point and MEC server | |
| CN106658461A (en) | Roaming data processing method and relevant device | |
| CN110771113B (en) | Brush terminal detection method and device | |
| US9307440B1 (en) | Prioritized delivery for a collection of content |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250916 Address after: 030000 Shanxi Province Taiyuan City Shandong Comprehensive Reform Demonstration Zone Taiyuan Xuefu Industrial Park Electronic Road No. 3 K Building Hahe Company Innovation Space No. 029 Patentee after: Shanxi Yumantai Network Technology Co.,Ltd. Country or region after: China Address before: 518057, Nanshan District hi tech Industrial Park (North Zone), Guangdong, Shenzhen Province, No. 2, Mengxi Road Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd. Country or region before: China |