WO2017016070A1 - Sharing method, sharing apparatus and sharing system for virtual sim card - Google Patents

Sharing method, sharing apparatus and sharing system for virtual sim card Download PDF

Info

Publication number
WO2017016070A1
WO2017016070A1 PCT/CN2015/091360 CN2015091360W WO2017016070A1 WO 2017016070 A1 WO2017016070 A1 WO 2017016070A1 CN 2015091360 W CN2015091360 W CN 2015091360W WO 2017016070 A1 WO2017016070 A1 WO 2017016070A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
virtual sim
terminal
sharing
priority
Prior art date
Application number
PCT/CN2015/091360
Other languages
French (fr)
Chinese (zh)
Inventor
杨祝林
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017016070A1 publication Critical patent/WO2017016070A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • H04W8/265Network addressing or numbering for mobility support for initial activation of new user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a virtual SIM card sharing method, a virtual SIM card sharing device, and a virtual SIM card sharing system.
  • a plurality of terminals can share a virtual SIM (Subscriber Identity Module) card.
  • a virtual SIM Subscriber Identity Module
  • information of the same virtual SIM card is stored in multiple terminals, and any one of the multiple terminals sends the service to the service.
  • any terminal sends a disconnection request to the server, and after the server determines that the other terminal can occupy the virtual SIM card This makes it very troublesome to share the virtual SIM card that is being used.
  • the present invention is based on the above problems, and proposes a new technical solution, by setting a plurality of terminals to share the priority of the virtual SIM card, thereby enabling multiple terminals to share the virtual SIM card more conveniently and quickly, thereby improving the user experience. .
  • the first aspect of the present invention provides a method for sharing a virtual SIM card, for a server, comprising: receiving a request for activating the virtual SIM card from a terminal; and detecting whether the virtual SIM card is used by another terminal If the determination is YES, the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card; a SIM card and sending an activation response to the terminal for the terminal to activate the virtual SIM card.
  • the terminal when the terminal sends a request to the server to activate the virtual SIM card, If it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the virtual SIM card is occupied by the other terminal is determined. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected.
  • the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM.
  • Priority of the card if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card.
  • the priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained.
  • the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device.
  • the priority of the virtual SIM card can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
  • a prompt instruction is sent to the terminal, so that the terminal prompts the user that the virtual SIM card is occupied and the terminal shares the virtual SIM card.
  • the priority is lower than the priority of the other terminal sharing the virtual SIM card.
  • the priority of the shared SIM card of the terminal is lower than the priority of the shared virtual SIM card of the other terminal, the user virtual SIM card of the terminal is prompted to be occupied by other terminals with higher priority, thereby A terminal with a higher priority preferentially uses a virtual SIM card, thereby improving the efficiency of sharing a virtual SIM card.
  • the method further includes: if detecting that the virtual SIM card is not occupied, sending an activation response to the terminal, for The terminal activates the virtual SIM card.
  • the terminal and the other terminal share the priority of the virtual SIM card, and directly send the activation response to the terminal, so that the terminal activates the virtual SIM card, thereby controlling the terminal to activate the virtual SIM card more quickly and conveniently, so that the user has the best use experience.
  • the step of releasing the other terminal to occupy the virtual SIM card specifically includes: sending a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM a card; upon receiving a response from the other terminal to deactivate the virtual SIM card, transmitting an activation command to the terminal for the terminal to activate the virtual SIM card.
  • the other terminal by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server.
  • Cards so that other terminals can communicate via a virtual SIM card.
  • the step of receiving a request for activating the virtual SIM card from the terminal comprising: receiving a setting instruction, setting the terminal and the other terminal to share the virtual SIM card priority.
  • the priority of the virtual SIM card is shared by the terminal and the other terminal.
  • the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. .
  • the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set.
  • the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card.
  • the priority of the virtual SIM card shared by the other terminal and the terminal can be directly set, so that the priority of the virtual SIM card shared by the terminal can be determined according to the service type when the virtual SIM card is occupied by other terminals, thereby improving the shared virtual SIM. Card efficiency.
  • a second aspect of the present invention provides a virtual SIM card sharing apparatus for a server, including: a receiving unit, configured to receive a request for activating the virtual SIM card from a terminal; and a processing unit, configured to detect the virtual Whether the SIM card is occupied by other terminals, and if so, whether the priority of sharing the virtual SIM card by the terminal is higher than that of the other terminal a priority of the virtual SIM card; an execution unit, configured to: when the determination result is yes, release the other terminal from occupying the virtual SIM card, and send an activation response to the terminal, so that the terminal activates the Virtual SIM card.
  • the terminal when the terminal sends a request to activate the virtual SIM card to the server, if it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the terminal is determined to be The terminal releases the virtual SIM card from other terminals. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected.
  • the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM.
  • Priority of the card if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card.
  • the priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained.
  • the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device.
  • the priority of the virtual SIM card can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
  • the executing unit is further configured to: when the determination result is no, send a prompting instruction to the terminal, where the terminal prompts the user that the virtual SIM card is occupied and the The priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card.
  • the priority of the shared SIM card of the terminal is lower than the priority of the shared virtual SIM card of the other terminal, the user virtual SIM card of the terminal is prompted to be occupied by other terminals with higher priority, thereby A terminal with a higher priority preferentially uses a virtual SIM card, thereby improving the efficiency of sharing a virtual SIM card.
  • the processing unit is further configured to: if it is detected that the virtual SIM card is not occupied, send an activation response to the terminal, so that the terminal activates the virtual SIM card.
  • the execution unit includes: a sending module, configured to send a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM card, after receiving the When the other terminal deactivates the response of the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
  • the other terminal by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server.
  • Cards so that other terminals can communicate via a virtual SIM card.
  • the method further includes: a setting unit, configured to receive a setting instruction, and set the priority of the virtual SIM card to be shared by the terminal and the other terminal.
  • the priority of the virtual SIM card is shared by the terminal and the other terminal.
  • the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. .
  • the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set.
  • the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card.
  • the priority of the virtual SIM card shared by the other terminal and the terminal can be directly set, so that the priority of the virtual SIM card shared by the terminal can be determined according to the service type when the virtual SIM card is occupied by other terminals, thereby improving the shared virtual SIM. Card efficiency.
  • a third aspect of the present invention provides a virtual SIM card sharing system, comprising: the virtual SIM card sharing device according to any one of the foregoing technical solutions; a sharing device of the virtual SIM card; and the other terminal, connected to the sharing device of the virtual SIM card, and therefore, the sharing system of the virtual SIM card has the virtual SIM card according to any one of the above technical solutions
  • the sharing system of the virtual SIM card has the virtual SIM card according to any one of the above technical solutions
  • the plurality of terminals can share the virtual SIM card more conveniently and quickly, thereby improving the user experience.
  • FIG. 1 is a flow chart showing a method for sharing a virtual SIM card according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a method for sharing a virtual SIM card according to another embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a sharing device of a virtual SIM card according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a sharing system of a virtual SIM card according to an embodiment of the present invention.
  • FIG. 5 shows a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 1 is a flow chart showing a method of sharing a virtual SIM card according to an embodiment of the present invention.
  • a method for sharing a virtual SIM card is used for a server, including:
  • Step 102 Receive a request from a terminal to activate the virtual SIM card.
  • Step 104 Detect whether the virtual SIM card is occupied by other terminals, and if yes, determine whether the priority of the virtual SIM card shared by the terminal is higher than the priority of the other terminal sharing the virtual SIM card;
  • Step 106 When the determination result is yes, the other terminal is released from occupying the virtual SIM card, and an activation response is sent to the terminal, so that the terminal activates the virtual SIM card.
  • the terminal when the terminal sends a request to activate the virtual SIM card to the server, if it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the terminal is determined to be The terminal releases the virtual SIM card from other terminals. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected.
  • the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM.
  • Priority of the card if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card.
  • the priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained.
  • the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device.
  • the priority of the virtual SIM card can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
  • a prompt instruction is sent to the terminal, so that the terminal prompts the user that the virtual SIM card is occupied and the terminal shares the virtual SIM card.
  • the priority is lower than the priority of the other terminal sharing the virtual SIM card.
  • the priority of sharing the SIM card of the terminal is lower than that of the other terminal sharing virtual
  • the priority of the SIM card is prompted to indicate that the user virtual SIM card of the terminal has been occupied by other terminals with higher priority, so that the terminal with higher priority preferentially uses the virtual SIM card, thereby improving the shared virtual SIM. Card efficiency.
  • the method further includes: if detecting that the virtual SIM card is not occupied, sending an activation response to the terminal, for The terminal activates the virtual SIM card.
  • the step of releasing the other terminal to occupy the virtual SIM card specifically includes: sending a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM a card; upon receiving a response from the other terminal to deactivate the virtual SIM card, transmitting an activation command to the terminal for the terminal to activate the virtual SIM card.
  • the other terminal by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server.
  • Cards so that other terminals can communicate via a virtual SIM card.
  • the method includes: receiving a setting instruction, and setting a priority of the terminal and the other terminal to share the virtual SIM card.
  • the priority of the virtual SIM card is shared by the terminal and the other terminal.
  • the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. .
  • the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set.
  • the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card.
  • the service class can be performed according to when the virtual SIM card is occupied by other terminals.
  • the type is used to judge the priority of the terminal sharing the virtual SIM card, thereby improving the efficiency of sharing the virtual SIM card.
  • FIG. 2 is a flow chart showing a method of sharing a virtual SIM card according to another embodiment of the present invention.
  • a method for sharing a virtual SIM card includes:
  • Step 202 Receive a request for the terminal to activate the virtual SIM card.
  • Step 204 Determine whether the other terminal occupies the virtual SIM card.
  • Step 206 If it is detected that the other terminal does not occupy the virtual SIM card, that is, the virtual SIM card is in an activated state, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
  • Step 208 It is determined whether the priority of the shared virtual SIM card is higher than the priority of the shared virtual SIM card by the other terminal. If the determination result is yes, the process proceeds to step 210. Otherwise, the process proceeds to step 212.
  • Step 210 If it is determined that the priority of sharing the virtual SIM card by the terminal is higher than the priority of the shared virtual SIM card by the other terminal, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in the to-be-activated state, and the process proceeds to step 206.
  • Step 212 If it is determined that the priority of the shared virtual SIM card is lower than the priority of the shared virtual SIM card by the other terminal, the terminal sends a prompt to the terminal, so that the terminal prompts other terminals with higher priority to occupy the virtual SIM card.
  • FIG. 3 is a block diagram showing the structure of a sharing device of a virtual SIM card according to an embodiment of the present invention.
  • a sharing device 300 for a virtual SIM card is used for a server, including: a receiving unit 302, configured to receive a request for activating the virtual SIM card from a terminal; and processing unit 304 a method for detecting whether the virtual SIM card is occupied by another terminal, and if so, determining whether the priority of the virtual SIM card shared by the terminal is higher than a priority of the other terminal sharing the virtual SIM card; And when the judgment result is yes, the other terminal is released from occupying the virtual SIM card, and an activation response is sent to the terminal, so that the terminal activates the virtual SIM card.
  • the terminal when the terminal sends a request to the server to activate the virtual SIM card, If it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the virtual SIM card is occupied by the other terminal is determined. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected.
  • the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM.
  • Priority of the card if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card.
  • the priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained.
  • the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device.
  • the priority of the virtual SIM card can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
  • the executing unit 306 is further configured to: when the determination result is no, send a prompting instruction to the terminal, where the terminal prompts the user that the virtual SIM card is occupied and The priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card.
  • the priority of the shared SIM card of the terminal is lower than the priority of the shared virtual SIM card of the other terminal, the user virtual SIM card of the terminal is prompted to be occupied by other terminals with higher priority, thereby A terminal with a higher priority preferentially uses a virtual SIM card, thereby improving the efficiency of sharing a virtual SIM card.
  • the processing unit 304 is further configured to: if it is detected that the virtual SIM card is not occupied, send an activation response to the terminal, so that the terminal activates the virtual SIM card.
  • the terminal and the other terminal share the priority of the virtual SIM card, and directly send the activation response to the terminal, so that the terminal activates the virtual SIM card, thereby controlling the terminal to activate the virtual SIM card more quickly and conveniently, so that the user has the best use experience.
  • the executing unit 306 includes: a sending module 3062, configured to send a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM card, after receiving the When the other terminal deactivates the response of the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
  • a sending module 3062 configured to send a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM card, after receiving the When the other terminal deactivates the response of the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
  • the other terminal by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server.
  • Cards so that other terminals can communicate via a virtual SIM card.
  • the method further includes: a setting unit 308, configured to receive a setting instruction, and set a priority of the terminal and the other terminal to share the virtual SIM card.
  • the priority of the virtual SIM card is shared by the terminal and the other terminal.
  • the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. .
  • the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set.
  • the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card.
  • the priority of the virtual SIM card shared by the other terminal and the terminal can be directly set, so that the priority of the virtual SIM card shared by the terminal can be determined according to the service type when the virtual SIM card is occupied by other terminals, thereby improving the shared virtual SIM. Card efficiency.
  • FIG. 4 is a block diagram showing the structure of a sharing system of a virtual SIM card according to an embodiment of the present invention.
  • the sharing system 400 of the virtual SIM card includes: the sharing device 300 of the virtual SIM card according to any one of the foregoing technical solutions; the terminal 402 is connected to the a virtual SIM card sharing device 300; and the other end The terminal 404 is connected to the sharing device 300 of the virtual SIM card. Therefore, the sharing system 400 of the virtual SIM card has the same technical effect as the sharing device 300 of the virtual SIM card according to any one of the above technical solutions. This will not be repeated here.
  • FIG. 5 shows a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server 500 includes: a sharing device 502 of a virtual SIM card, and the sharing device 502 of the virtual SIM card includes: a communication unit 5022 and a determining unit 5024, wherein the communication unit 5022 It is used for communicating with the terminal; the determining unit 5024 is configured to determine the priority level of the terminal.
  • the communication unit 5022 receives the request for activating the virtual SIM card from the terminal, and the determining unit 5024 is configured to detect whether the virtual SIM card is occupied by other terminals, and if yes, determine whether the priority of sharing the virtual SIM card by the terminal is higher than that of other terminals. If the result of the determination is yes, the virtual SIM card is released from the other terminal, and the activation response is sent to the terminal for the terminal to activate the virtual SIM card.
  • the multiple terminals can share the virtual SIM card more conveniently and quickly, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a sharing method, sharing apparatus, and sharing system for a virtual SIM card. The sharing method comprises: receiving a request for activating a virtual SIM card from a terminal; detecting whether the virtual SIM card is occupied by other terminals, and if so, judging whether the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminals sharing the virtual SIM card; and if the judgment result is yes, releasing the other terminals from occupation of the virtual SIM card, and sending an activation response to the terminal, such that the terminal activates the virtual SIM card. By means of the technical solution of the present invention, the priority of a plurality of terminals sharing a virtual SIM card is set, such that the plurality of terminals more conveniently and quickly shares the virtual SIM card, thereby improving the user experience.

Description

虚拟SIM卡的共享方法、共享装置和共享***Virtual SIM card sharing method, sharing device and sharing system 技术领域Technical field
本发明涉及通信技术领域,具体而言,涉及一种虚拟SIM卡的共享方法、虚拟SIM卡的共享装置和一种虚拟SIM卡的共享***。The present invention relates to the field of communications technologies, and in particular, to a virtual SIM card sharing method, a virtual SIM card sharing device, and a virtual SIM card sharing system.
背景技术Background technique
目前,多个终端可以共享一个虚拟SIM(Subscriber Identity Module,用户身份模块)卡,具体地,在多个终端中存储同一个虚拟SIM卡的信息,当多个终端中的任一终端向服务发送激活该虚拟SIM卡的请求时,若检测到多个终端中的其他终端正在占用该虚拟SIM卡,则任一终端发送断开请求至服务器,服务器在经过判断之后可以解除其他终端占用虚拟SIM卡,这样就导致共享正在占用的虚拟SIM卡时很麻烦。At present, a plurality of terminals can share a virtual SIM (Subscriber Identity Module) card. Specifically, information of the same virtual SIM card is stored in multiple terminals, and any one of the multiple terminals sends the service to the service. When the request for the virtual SIM card is activated, if it is detected that other terminals of the plurality of terminals are occupying the virtual SIM card, any terminal sends a disconnection request to the server, and after the server determines that the other terminal can occupy the virtual SIM card This makes it very troublesome to share the virtual SIM card that is being used.
因此,如何使终端更加方便、快捷地共享虚拟SIM卡成为亟待解决的问题。Therefore, how to make the terminal share the virtual SIM card more conveniently and quickly becomes an urgent problem to be solved.
发明内容Summary of the invention
本发明正是基于上述问题,提出了一种新的技术方案,通过设置多个终端共享虚拟SIM卡的优先级,从而使多个终端更加方便、快捷地共享虚拟SIM卡,提升了用户体验感。The present invention is based on the above problems, and proposes a new technical solution, by setting a plurality of terminals to share the priority of the virtual SIM card, thereby enabling multiple terminals to share the virtual SIM card more conveniently and quickly, thereby improving the user experience. .
有鉴于此,本发明的第一方面提出了一种虚拟SIM卡的共享方法,用于服务器,包括:接收来自终端的激活所述虚拟SIM卡的请求;检测所述虚拟SIM卡是否被其他终端占用,若是,判断所述终端共享所述虚拟SIM卡的优先级是否高于所述其他终端共享所述虚拟SIM卡的优先级;在判断结果为是时,解除所述其他终端占用所述虚拟SIM卡,并发送激活响应至所述终端,以供所述终端激活所述虚拟SIM卡。In view of this, the first aspect of the present invention provides a method for sharing a virtual SIM card, for a server, comprising: receiving a request for activating the virtual SIM card from a terminal; and detecting whether the virtual SIM card is used by another terminal If the determination is YES, the priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card; a SIM card and sending an activation response to the terminal for the terminal to activate the virtual SIM card.
在该技术方案中,当终端向服务器发送激活虚拟SIM卡的请求时, 若检测到该虚拟SIM卡被其他终端占用,则可以根据该终端与其他终端共享虚拟SIM卡的优先级,确定是否为该终端解除其他终端占用虚拟SIM卡。具体地,检测其他终端占用虚拟SIM卡所进行的业务类型,根据业务类型确定终端和其他终端共享虚拟SIM卡的优先级,例如,终端向服务器发送激活虚拟SIM卡的请求,若检测到虚拟SIM卡被其他终端占用并正在进行CS(Circuit Switch,电路交换)业务(如检测到其他终端正在使用虚拟SIM卡进行语音业务),则判定终端共享该SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;若虚拟SIM卡被其他终端占用并正在进行PS(Packet Switch,分组交换)业务(如检测到其他终端正在使用虚拟SIM卡上网),则判定终端共享该虚拟SIM卡的优先级高于其他终端共享该虚拟SIM卡的优先级。当然,也可以获取预先设置的终端和其他终端共享虚拟SIM卡的优先级,例如,终端为主设备,其他终端为从设备,则可以判定主设备共享虚拟SIM卡的优先级高于从设备共享虚拟SIM卡的优先级。通过上述技术方案,可以有效地避免了向其他终端发送断开请求以及服务器判断是否解除其他终端占用虚拟SIM卡,进而使终端共享虚拟SIM卡时更加方面、快捷,提高了共享虚拟SIM卡的效率,提升了用户体验。In the technical solution, when the terminal sends a request to the server to activate the virtual SIM card, If it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the virtual SIM card is occupied by the other terminal is determined. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected. If the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM. Priority of the card; if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card. The priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained. For example, if the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device. The priority of the virtual SIM card. Through the above technical solution, the disconnection request to other terminals can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
在上述技术方案中,优选地,在判断结果为否时,发送提示指令至所述终端,以供所述终端提示用户所述虚拟SIM卡已被占用且所述终端共享所述虚拟SIM卡的优先级低于所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, when the determination result is no, a prompt instruction is sent to the terminal, so that the terminal prompts the user that the virtual SIM card is occupied and the terminal shares the virtual SIM card. The priority is lower than the priority of the other terminal sharing the virtual SIM card.
在该技术方案中,若终端共享SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级,则提示该终端的用户虚拟SIM卡已被具有更高的优先级的其他终端占用,从而使具有较高优先级的终端优先使用虚拟SIM卡,从而提高了共享虚拟SIM卡的效率。In this technical solution, if the priority of the shared SIM card of the terminal is lower than the priority of the shared virtual SIM card of the other terminal, the user virtual SIM card of the terminal is prompted to be occupied by other terminals with higher priority, thereby A terminal with a higher priority preferentially uses a virtual SIM card, thereby improving the efficiency of sharing a virtual SIM card.
在上述技术方案中,优选地,在所述检测所述虚拟SIM卡是否被占用的步骤之后,还包括:若检测到所述虚拟SIM卡未被占用,向所述终端发送激活响应,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, after the step of detecting whether the virtual SIM card is occupied, the method further includes: if detecting that the virtual SIM card is not occupied, sending an activation response to the terminal, for The terminal activates the virtual SIM card.
在该技术方案中,若检测到虚拟SIM卡处于待激活状态,则无需检 测终端和其他终端共享虚拟SIM卡的优先级,直接发送激活响应至终端,以供终端激活虚拟SIM卡,从而更加快速、方便地控制终端激活虚拟SIM卡,使用户具有最佳的使用体验。In this technical solution, if it is detected that the virtual SIM card is in an activated state, no inspection is needed. The terminal and the other terminal share the priority of the virtual SIM card, and directly send the activation response to the terminal, so that the terminal activates the virtual SIM card, thereby controlling the terminal to activate the virtual SIM card more quickly and conveniently, so that the user has the best use experience.
在上述技术方案中,优选地,所述解除所述其他终端占用所述虚拟SIM卡的步骤,具体包括:向所述其他终端发送去激活指令,以供所述其他终端去激活所述虚拟SIM卡;在接收到来自所述其他终端的去激活所述虚拟SIM卡的响应时,向所述终端发送激活指令,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, the step of releasing the other terminal to occupy the virtual SIM card specifically includes: sending a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM a card; upon receiving a response from the other terminal to deactivate the virtual SIM card, transmitting an activation command to the terminal for the terminal to activate the virtual SIM card.
在该技术方案中,通过发送去激活指令至其他终端,解除其他终端占用虚拟SIM卡,从而使虚拟SIM卡处于待激活状态,以供其他终端在接收到服务器发来的激活指令时激活虚拟SIM卡,从而使其他终端可以通过虚拟SIM卡进行通信。In this technical solution, by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server. Cards so that other terminals can communicate via a virtual SIM card.
在上述技术方案中,优选地,在所述接收来自终端的激活所述虚拟SIM卡的请求的步骤之前,包括:接收设置指令,设置所述终端和所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, before the step of receiving a request for activating the virtual SIM card from the terminal, comprising: receiving a setting instruction, setting the terminal and the other terminal to share the virtual SIM card priority.
在该技术方案中,通过设置终端和其他终端共享虚拟SIM卡的优先级,具体地,可以根据其他终端或者终端占用虚拟SIM卡所进行的业务类型设置其他终端与终端共享虚拟SIM卡的优先级。例如,当虚拟SIM卡被其他终端占用进行CS业务时,设置终端共享虚拟SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;当虚拟SIM卡被其他终端占用进行PS业务时,设置终端共享虚拟SIM卡的优先级高于其他终端共享虚拟SIM卡的优先级。当然,也可以直接设置其他终端与终端共享虚拟SIM卡的优先级,从而可以根据虚拟SIM卡被其他终端占用时进行的业务类型来判断终端共享虚拟SIM卡的优先级,进而提高了共享虚拟SIM卡的效率。In this technical solution, the priority of the virtual SIM card is shared by the terminal and the other terminal. Specifically, the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. . For example, when the virtual SIM card is occupied by another terminal for the CS service, the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set. The priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card. Of course, the priority of the virtual SIM card shared by the other terminal and the terminal can be directly set, so that the priority of the virtual SIM card shared by the terminal can be determined according to the service type when the virtual SIM card is occupied by other terminals, thereby improving the shared virtual SIM. Card efficiency.
本发明的第二方面提出了一种虚拟SIM卡的共享装置,用于服务器,包括:接收单元,用于接收来自终端的激活所述虚拟SIM卡的请求;处理单元,用于检测所述虚拟SIM卡是否被其他终端占用,若是,判断所述终端共享所述虚拟SIM卡的优先级是否高于所述其他终端共享 所述虚拟SIM卡的优先级;执行单元,用于在判断结果为是时,解除所述其他终端占用所述虚拟SIM卡,并发送激活响应至所述终端,以供所述终端激活所述虚拟SIM卡。A second aspect of the present invention provides a virtual SIM card sharing apparatus for a server, including: a receiving unit, configured to receive a request for activating the virtual SIM card from a terminal; and a processing unit, configured to detect the virtual Whether the SIM card is occupied by other terminals, and if so, whether the priority of sharing the virtual SIM card by the terminal is higher than that of the other terminal a priority of the virtual SIM card; an execution unit, configured to: when the determination result is yes, release the other terminal from occupying the virtual SIM card, and send an activation response to the terminal, so that the terminal activates the Virtual SIM card.
在该技术方案中,当终端向服务器发送激活虚拟SIM卡的请求时,若检测到该虚拟SIM卡被其他终端占用,则可以根据该终端与其他终端共享虚拟SIM卡的优先级,确定是否为该终端解除其他终端占用虚拟SIM卡。具体地,检测其他终端占用虚拟SIM卡所进行的业务类型,根据业务类型确定终端和其他终端共享虚拟SIM卡的优先级,例如,终端向服务器发送激活虚拟SIM卡的请求,若检测到虚拟SIM卡被其他终端占用并正在进行CS(Circuit Switch,电路交换)业务(如检测到其他终端正在使用虚拟SIM卡进行语音业务),则判定终端共享该SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;若虚拟SIM卡被其他终端占用并正在进行PS(Packet Switch,分组交换)业务(如检测到其他终端正在使用虚拟SIM卡上网),则判定终端共享该虚拟SIM卡的优先级高于其他终端共享该虚拟SIM卡的优先级。当然,也可以获取预先设置的终端和其他终端共享虚拟SIM卡的优先级,例如,终端为主设备,其他终端为从设备,则可以判定主设备共享虚拟SIM卡的优先级高于从设备共享虚拟SIM卡的优先级。通过上述技术方案,可以有效地避免了向其他终端发送断开请求以及服务器判断是否解除其他终端占用虚拟SIM卡,进而使终端共享虚拟SIM卡时更加方面、快捷,提高了共享虚拟SIM卡的效率,提升了用户体验。In the technical solution, when the terminal sends a request to activate the virtual SIM card to the server, if it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the terminal is determined to be The terminal releases the virtual SIM card from other terminals. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected. If the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM. Priority of the card; if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card. The priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained. For example, if the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device. The priority of the virtual SIM card. Through the above technical solution, the disconnection request to other terminals can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
在上述技术方案中,优选地,所述执行单元,还用于在判断结果为否时,发送提示指令至所述终端,以供所述终端提示用户所述虚拟SIM卡已被占用且所述终端共享所述虚拟SIM卡的优先级低于所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, the executing unit is further configured to: when the determination result is no, send a prompting instruction to the terminal, where the terminal prompts the user that the virtual SIM card is occupied and the The priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card.
在该技术方案中,若终端共享SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级,则提示该终端的用户虚拟SIM卡已被具有更高的优先级的其他终端占用,从而使具有较高优先级的终端优先使用虚拟SIM卡,从而提高了共享虚拟SIM卡的效率。 In this technical solution, if the priority of the shared SIM card of the terminal is lower than the priority of the shared virtual SIM card of the other terminal, the user virtual SIM card of the terminal is prompted to be occupied by other terminals with higher priority, thereby A terminal with a higher priority preferentially uses a virtual SIM card, thereby improving the efficiency of sharing a virtual SIM card.
在上述技术方案中,优选地,所述处理单元还用于:若检测到所述虚拟SIM卡未被占用,向所述终端发送激活响应,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, the processing unit is further configured to: if it is detected that the virtual SIM card is not occupied, send an activation response to the terminal, so that the terminal activates the virtual SIM card.
在该技术方案中,若检测到虚拟SIM卡处于待激活状态,则无需检测终端和其他终端共享虚拟SIM卡的优先级,直接发送激活响应至终端,以供终端激活虚拟SIM卡,从而更加快速、方便地控制终端激活虚拟SIM卡,使用户具有最佳的使用体验。In this technical solution, if it is detected that the virtual SIM card is in an activated state, it is not necessary to detect the priority of the virtual SIM card shared by the terminal and other terminals, and directly send an activation response to the terminal, so that the terminal activates the virtual SIM card, thereby being faster. It is convenient to control the terminal to activate the virtual SIM card, so that the user has the best experience.
在上述技术方案中,优选地,所述执行单元包括:发送模块,用于向所述其他终端发送去激活指令,以供所述其他终端去激活所述虚拟SIM卡,在接收到来自所述其他终端的去激活所述虚拟SIM卡的响应时,向所述终端发送激活指令,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, the execution unit includes: a sending module, configured to send a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM card, after receiving the When the other terminal deactivates the response of the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
在该技术方案中,通过发送去激活指令至其他终端,解除其他终端占用虚拟SIM卡,从而使虚拟SIM卡处于待激活状态,以供其他终端在接收到服务器发来的激活指令时激活虚拟SIM卡,从而使其他终端可以通过虚拟SIM卡进行通信。In this technical solution, by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server. Cards so that other terminals can communicate via a virtual SIM card.
在上述技术方案中,优选地,还包括:设置单元,用于接收设置指令,设置所述终端和所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, the method further includes: a setting unit, configured to receive a setting instruction, and set the priority of the virtual SIM card to be shared by the terminal and the other terminal.
在该技术方案中,通过设置终端和其他终端共享虚拟SIM卡的优先级,具体地,可以根据其他终端或者终端占用虚拟SIM卡所进行的业务类型设置其他终端与终端共享虚拟SIM卡的优先级。例如,当虚拟SIM卡被其他终端占用进行CS业务时,设置终端共享虚拟SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;当虚拟SIM卡被其他终端占用进行PS业务时,设置终端共享虚拟SIM卡的优先级高于其他终端共享虚拟SIM卡的优先级。当然,也可以直接设置其他终端与终端共享虚拟SIM卡的优先级,从而可以根据虚拟SIM卡被其他终端占用时进行的业务类型来判断终端共享虚拟SIM卡的优先级,进而提高了共享虚拟SIM卡的效率。In this technical solution, the priority of the virtual SIM card is shared by the terminal and the other terminal. Specifically, the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. . For example, when the virtual SIM card is occupied by another terminal for the CS service, the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set. The priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card. Of course, the priority of the virtual SIM card shared by the other terminal and the terminal can be directly set, so that the priority of the virtual SIM card shared by the terminal can be determined according to the service type when the virtual SIM card is occupied by other terminals, thereby improving the shared virtual SIM. Card efficiency.
本发明的第三方面提出了一种虚拟SIM卡的共享***,包括:上述技术方案中任一项所述的虚拟SIM卡的共享装置;所述终端,连接至所 述虚拟SIM卡的共享装置;以及所述其他终端,连接至所述虚拟SIM卡的共享装置,因此,该虚拟SIM卡的共享***具有和上述技术方案中任一项所述的虚拟SIM卡的共享装置相同的技术效果,在此不再赘述。A third aspect of the present invention provides a virtual SIM card sharing system, comprising: the virtual SIM card sharing device according to any one of the foregoing technical solutions; a sharing device of the virtual SIM card; and the other terminal, connected to the sharing device of the virtual SIM card, and therefore, the sharing system of the virtual SIM card has the virtual SIM card according to any one of the above technical solutions The same technical effects of the shared device will not be described here.
通过本发明的技术方案,通过设置多个终端共享虚拟SIM卡的优先级,从而使多个终端更加方便、快捷地共享虚拟SIM卡,提升了用户体验感。Through the technical solution of the present invention, by setting a plurality of terminals to share the priority of the virtual SIM card, the plurality of terminals can share the virtual SIM card more conveniently and quickly, thereby improving the user experience.
附图说明DRAWINGS
图1示出了根据本发明的一个实施例的虚拟SIM卡的共享方法的流程示意图;1 is a flow chart showing a method for sharing a virtual SIM card according to an embodiment of the present invention;
图2示出了根据本发明的另一个实施例的虚拟SIM卡的共享方法的流程示意图;2 is a flow chart showing a method for sharing a virtual SIM card according to another embodiment of the present invention;
图3示出了根据本发明的一个实施例的虚拟SIM卡的共享装置的结构示意图;FIG. 3 is a schematic structural diagram of a sharing device of a virtual SIM card according to an embodiment of the present invention; FIG.
图4示出了根据本发明的一个实施例的虚拟SIM卡的共享***的结构示意图;4 is a schematic structural diagram of a sharing system of a virtual SIM card according to an embodiment of the present invention;
图5示出了根据本发明的一个实施例的服务器的结构示意图。FIG. 5 shows a schematic structural diagram of a server according to an embodiment of the present invention.
具体实施方式detailed description
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。The above described objects, features and advantages of the present invention will become more apparent from the detailed description of the appended claims. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, numerous specific details are set forth in order to provide a full understanding of the invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图1示出了根据本发明的一个实施例的虚拟SIM卡的共享方法的流程示意图。FIG. 1 is a flow chart showing a method of sharing a virtual SIM card according to an embodiment of the present invention.
如图1所示,根据本发明的一个实施例的虚拟SIM卡的共享方法,用于服务器,包括: As shown in FIG. 1, a method for sharing a virtual SIM card according to an embodiment of the present invention is used for a server, including:
步骤102,接收来自终端的激活所述虚拟SIM卡的请求;Step 102: Receive a request from a terminal to activate the virtual SIM card.
步骤104,检测所述虚拟SIM卡是否被其他终端占用,若是,判断所述终端共享所述虚拟SIM卡的优先级是否高于所述其他终端共享所述虚拟SIM卡的优先级;Step 104: Detect whether the virtual SIM card is occupied by other terminals, and if yes, determine whether the priority of the virtual SIM card shared by the terminal is higher than the priority of the other terminal sharing the virtual SIM card;
步骤106,在判断结果为是时,解除所述其他终端占用所述虚拟SIM卡,并发送激活响应至所述终端,以供所述终端激活所述虚拟SIM卡。Step 106: When the determination result is yes, the other terminal is released from occupying the virtual SIM card, and an activation response is sent to the terminal, so that the terminal activates the virtual SIM card.
在该技术方案中,当终端向服务器发送激活虚拟SIM卡的请求时,若检测到该虚拟SIM卡被其他终端占用,则可以根据该终端与其他终端共享虚拟SIM卡的优先级,确定是否为该终端解除其他终端占用虚拟SIM卡。具体地,检测其他终端占用虚拟SIM卡所进行的业务类型,根据业务类型确定终端和其他终端共享虚拟SIM卡的优先级,例如,终端向服务器发送激活虚拟SIM卡的请求,若检测到虚拟SIM卡被其他终端占用并正在进行CS(Circuit Switch,电路交换)业务(如检测到其他终端正在使用虚拟SIM卡进行语音业务),则判定终端共享该SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;若虚拟SIM卡被其他终端占用并正在进行PS(Packet Switch,分组交换)业务(如检测到其他终端正在使用虚拟SIM卡上网),则判定终端共享该虚拟SIM卡的优先级高于其他终端共享该虚拟SIM卡的优先级。当然,也可以获取预先设置的终端和其他终端共享虚拟SIM卡的优先级,例如,终端为主设备,其他终端为从设备,则可以判定主设备共享虚拟SIM卡的优先级高于从设备共享虚拟SIM卡的优先级。通过上述技术方案,可以有效地避免了向其他终端发送断开请求以及服务器判断是否解除其他终端占用虚拟SIM卡,进而使终端共享虚拟SIM卡时更加方面、快捷,提高了共享虚拟SIM卡的效率,提升了用户体验。In the technical solution, when the terminal sends a request to activate the virtual SIM card to the server, if it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the terminal is determined to be The terminal releases the virtual SIM card from other terminals. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected. If the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM. Priority of the card; if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card. The priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained. For example, if the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device. The priority of the virtual SIM card. Through the above technical solution, the disconnection request to other terminals can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
在上述技术方案中,优选地,在判断结果为否时,发送提示指令至所述终端,以供所述终端提示用户所述虚拟SIM卡已被占用且所述终端共享所述虚拟SIM卡的优先级低于所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, when the determination result is no, a prompt instruction is sent to the terminal, so that the terminal prompts the user that the virtual SIM card is occupied and the terminal shares the virtual SIM card. The priority is lower than the priority of the other terminal sharing the virtual SIM card.
在该技术方案中,若终端共享SIM卡的优先级低于其他终端共享虚 拟SIM卡的优先级,则提示该终端的用户虚拟SIM卡已被具有更高的优先级的其他终端占用,从而使具有较高优先级的终端优先使用虚拟SIM卡,从而提高了共享虚拟SIM卡的效率。In this technical solution, if the priority of sharing the SIM card of the terminal is lower than that of the other terminal sharing virtual The priority of the SIM card is prompted to indicate that the user virtual SIM card of the terminal has been occupied by other terminals with higher priority, so that the terminal with higher priority preferentially uses the virtual SIM card, thereby improving the shared virtual SIM. Card efficiency.
在上述技术方案中,优选地,在所述检测所述虚拟SIM卡是否被占用的步骤之后,还包括:若检测到所述虚拟SIM卡未被占用,向所述终端发送激活响应,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, after the step of detecting whether the virtual SIM card is occupied, the method further includes: if detecting that the virtual SIM card is not occupied, sending an activation response to the terminal, for The terminal activates the virtual SIM card.
在该技术方案中,若检测到虚拟SIM卡处于待激活状态,则无需检测终端和其他终端共享虚拟SIM卡的优先级,直接发送激活响应至终端,以供终端激活虚拟SIM卡,从而更加快速、方便地控制终端激活虚拟SIM卡,使用户具有最佳的使用体验。In this technical solution, if it is detected that the virtual SIM card is in an activated state, it is not necessary to detect the priority of the virtual SIM card shared by the terminal and other terminals, and directly send an activation response to the terminal, so that the terminal activates the virtual SIM card, thereby being faster. It is convenient to control the terminal to activate the virtual SIM card, so that the user has the best experience.
在上述技术方案中,优选地,所述解除所述其他终端占用所述虚拟SIM卡的步骤,具体包括:向所述其他终端发送去激活指令,以供所述其他终端去激活所述虚拟SIM卡;在接收到来自所述其他终端的去激活所述虚拟SIM卡的响应时,向所述终端发送激活指令,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, the step of releasing the other terminal to occupy the virtual SIM card specifically includes: sending a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM a card; upon receiving a response from the other terminal to deactivate the virtual SIM card, transmitting an activation command to the terminal for the terminal to activate the virtual SIM card.
在该技术方案中,通过发送去激活指令至其他终端,解除其他终端占用虚拟SIM卡,从而使虚拟SIM卡处于待激活状态,以供其他终端在接收到服务器发来的激活指令时激活虚拟SIM卡,从而使其他终端可以通过虚拟SIM卡进行通信。In this technical solution, by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server. Cards so that other terminals can communicate via a virtual SIM card.
在上述技术方案中,优选地,在步骤102之前,包括:接收设置指令,设置所述终端和所述其他终端共享所述虚拟SIM卡的优先级。In the foregoing technical solution, preferably, before step 102, the method includes: receiving a setting instruction, and setting a priority of the terminal and the other terminal to share the virtual SIM card.
在该技术方案中,通过设置终端和其他终端共享虚拟SIM卡的优先级,具体地,可以根据其他终端或者终端占用虚拟SIM卡所进行的业务类型设置其他终端与终端共享虚拟SIM卡的优先级。例如,当虚拟SIM卡被其他终端占用进行CS业务时,设置终端共享虚拟SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;当虚拟SIM卡被其他终端占用进行PS业务时,设置终端共享虚拟SIM卡的优先级高于其他终端共享虚拟SIM卡的优先级。当然,也可以直接设置其他终端与终端共享虚拟SIM卡的优先级,从而可以根据虚拟SIM卡被其他终端占用时进行的业务类 型来判断终端共享虚拟SIM卡的优先级,进而提高了共享虚拟SIM卡的效率。In this technical solution, the priority of the virtual SIM card is shared by the terminal and the other terminal. Specifically, the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. . For example, when the virtual SIM card is occupied by another terminal for the CS service, the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set. The priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card. Of course, it is also possible to directly set the priority of the virtual SIM card shared by other terminals and the terminal, so that the service class can be performed according to when the virtual SIM card is occupied by other terminals. The type is used to judge the priority of the terminal sharing the virtual SIM card, thereby improving the efficiency of sharing the virtual SIM card.
图2示出了根据本发明的另一个实施例的虚拟SIM卡的共享方法的流程示意图。FIG. 2 is a flow chart showing a method of sharing a virtual SIM card according to another embodiment of the present invention.
如图2所示,根据本发明的另一个实施例的虚拟SIM卡的共享方法,包括:As shown in FIG. 2, a method for sharing a virtual SIM card according to another embodiment of the present invention includes:
步骤202,接收终端激活虚拟SIM卡的请求。Step 202: Receive a request for the terminal to activate the virtual SIM card.
步骤204,判断其他终端是否占用了虚拟SIM卡。Step 204: Determine whether the other terminal occupies the virtual SIM card.
步骤206,若检测到其他终端未占用虚拟SIM卡,即虚拟SIM卡处于待激活状态,向终端发送激活指令,以供终端激活虚拟SIM卡。Step 206: If it is detected that the other terminal does not occupy the virtual SIM card, that is, the virtual SIM card is in an activated state, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
步骤208,判断终端共享虚拟SIM卡的优先级是否高于其他终端共享虚拟SIM卡的优先级,在判断结果为是时,进入步骤210,否则,进入步骤212。Step 208: It is determined whether the priority of the shared virtual SIM card is higher than the priority of the shared virtual SIM card by the other terminal. If the determination result is yes, the process proceeds to step 210. Otherwise, the process proceeds to step 212.
步骤210,若判定终端共享虚拟SIM卡的优先级高于其他终端共享虚拟SIM卡的优先级,则解除其他终端占用虚拟SIM卡,从而使虚拟SIM卡处于待激活状态,并进入步骤206。Step 210: If it is determined that the priority of sharing the virtual SIM card by the terminal is higher than the priority of the shared virtual SIM card by the other terminal, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in the to-be-activated state, and the process proceeds to step 206.
步骤212,若判定终端共享虚拟SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级,则发送提示至终端,以供终端提示有更高优先级的其他终端占用虚拟SIM卡。Step 212: If it is determined that the priority of the shared virtual SIM card is lower than the priority of the shared virtual SIM card by the other terminal, the terminal sends a prompt to the terminal, so that the terminal prompts other terminals with higher priority to occupy the virtual SIM card.
图3示出了根据本发明的一个实施例的虚拟SIM卡的共享装置的结构示意图。FIG. 3 is a block diagram showing the structure of a sharing device of a virtual SIM card according to an embodiment of the present invention.
如图3所示,根据本发明的一个实施例的虚拟SIM卡的共享装置300,用于服务器,包括:接收单元302,用于接收来自终端的激活所述虚拟SIM卡的请求;处理单元304,用于检测所述虚拟SIM卡是否被其他终端占用,若是,判断所述终端共享所述虚拟SIM卡的优先级是否高于所述其他终端共享所述虚拟SIM卡的优先级;执行单元306,用于在判断结果为是时,解除所述其他终端占用所述虚拟SIM卡,并发送激活响应至所述终端,以供所述终端激活所述虚拟SIM卡。As shown in FIG. 3, a sharing device 300 for a virtual SIM card according to an embodiment of the present invention is used for a server, including: a receiving unit 302, configured to receive a request for activating the virtual SIM card from a terminal; and processing unit 304 a method for detecting whether the virtual SIM card is occupied by another terminal, and if so, determining whether the priority of the virtual SIM card shared by the terminal is higher than a priority of the other terminal sharing the virtual SIM card; And when the judgment result is yes, the other terminal is released from occupying the virtual SIM card, and an activation response is sent to the terminal, so that the terminal activates the virtual SIM card.
在该技术方案中,当终端向服务器发送激活虚拟SIM卡的请求时, 若检测到该虚拟SIM卡被其他终端占用,则可以根据该终端与其他终端共享虚拟SIM卡的优先级,确定是否为该终端解除其他终端占用虚拟SIM卡。具体地,检测其他终端占用虚拟SIM卡所进行的业务类型,根据业务类型确定终端和其他终端共享虚拟SIM卡的优先级,例如,终端向服务器发送激活虚拟SIM卡的请求,若检测到虚拟SIM卡被其他终端占用并正在进行CS(Circuit Switch,电路交换)业务(如检测到其他终端正在使用虚拟SIM卡进行语音业务),则判定终端共享该SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;若虚拟SIM卡被其他终端占用并正在进行PS(Packet Switch,分组交换)业务(如检测到其他终端正在使用虚拟SIM卡上网),则判定终端共享该虚拟SIM卡的优先级高于其他终端共享该虚拟SIM卡的优先级。当然,也可以获取预先设置的终端和其他终端共享虚拟SIM卡的优先级,例如,终端为主设备,其他终端为从设备,则可以判定主设备共享虚拟SIM卡的优先级高于从设备共享虚拟SIM卡的优先级。通过上述技术方案,可以有效地避免了向其他终端发送断开请求以及服务器判断是否解除其他终端占用虚拟SIM卡,进而使终端共享虚拟SIM卡时更加方面、快捷,提高了共享虚拟SIM卡的效率,提升了用户体验。In the technical solution, when the terminal sends a request to the server to activate the virtual SIM card, If it is detected that the virtual SIM card is occupied by another terminal, the priority of the virtual SIM card may be shared with the other terminal according to the terminal, and whether the virtual SIM card is occupied by the other terminal is determined. Specifically, the service type of the virtual SIM card occupied by the other terminal is detected, and the priority of the virtual SIM card shared by the terminal and the other terminal is determined according to the service type. For example, the terminal sends a request for activating the virtual SIM card to the server, if the virtual SIM is detected. If the card is occupied by another terminal and the CS (Circuit Switch) service is being performed (such as detecting that the other terminal is using the virtual SIM card for voice service), it is determined that the terminal shares the SIM card with lower priority than the other terminal sharing the virtual SIM. Priority of the card; if the virtual SIM card is occupied by another terminal and is in the process of a PS (Packet Switch) service (such as detecting that the other terminal is using the virtual SIM card to access the Internet), it is determined that the terminal shares the priority of the virtual SIM card. The priority of the virtual SIM card is shared higher than other terminals. Of course, the priority of the virtual SIM card shared by the terminal and other terminals may be obtained. For example, if the terminal is the master device and the other terminal is the slave device, it may be determined that the master device shares the virtual SIM card with a higher priority than the slave device. The priority of the virtual SIM card. Through the above technical solution, the disconnection request to other terminals can be effectively avoided, and the server determines whether to release the virtual SIM card by other terminals, thereby making the terminal share the virtual SIM card more conveniently and quickly, and improving the efficiency of sharing the virtual SIM card. , improved user experience.
在上述技术方案中,优选地,所述执行单元306,还用于在判断结果为否时,发送提示指令至所述终端,以供所述终端提示用户所述虚拟SIM卡已被占用且所述终端共享所述虚拟SIM卡的优先级低于所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, the executing unit 306 is further configured to: when the determination result is no, send a prompting instruction to the terminal, where the terminal prompts the user that the virtual SIM card is occupied and The priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card.
在该技术方案中,若终端共享SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级,则提示该终端的用户虚拟SIM卡已被具有更高的优先级的其他终端占用,从而使具有较高优先级的终端优先使用虚拟SIM卡,从而提高了共享虚拟SIM卡的效率。In this technical solution, if the priority of the shared SIM card of the terminal is lower than the priority of the shared virtual SIM card of the other terminal, the user virtual SIM card of the terminal is prompted to be occupied by other terminals with higher priority, thereby A terminal with a higher priority preferentially uses a virtual SIM card, thereby improving the efficiency of sharing a virtual SIM card.
在上述技术方案中,优选地,所述处理单元304还用于:若检测到所述虚拟SIM卡未被占用,向所述终端发送激活响应,以供所述终端激活所述虚拟SIM卡。In the foregoing technical solution, the processing unit 304 is further configured to: if it is detected that the virtual SIM card is not occupied, send an activation response to the terminal, so that the terminal activates the virtual SIM card.
在该技术方案中,若检测到虚拟SIM卡处于待激活状态,则无需检 测终端和其他终端共享虚拟SIM卡的优先级,直接发送激活响应至终端,以供终端激活虚拟SIM卡,从而更加快速、方便地控制终端激活虚拟SIM卡,使用户具有最佳的使用体验。In this technical solution, if it is detected that the virtual SIM card is in an activated state, no inspection is needed. The terminal and the other terminal share the priority of the virtual SIM card, and directly send the activation response to the terminal, so that the terminal activates the virtual SIM card, thereby controlling the terminal to activate the virtual SIM card more quickly and conveniently, so that the user has the best use experience.
在上述技术方案中,优选地,所述执行单元306包括:发送模块3062,用于向所述其他终端发送去激活指令,以供所述其他终端去激活所述虚拟SIM卡,在接收到来自所述其他终端的去激活所述虚拟SIM卡的响应时,向所述终端发送激活指令,以供所述终端激活所述虚拟SIM卡。In the above technical solution, preferably, the executing unit 306 includes: a sending module 3062, configured to send a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM card, after receiving the When the other terminal deactivates the response of the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
在该技术方案中,通过发送去激活指令至其他终端,解除其他终端占用虚拟SIM卡,从而使虚拟SIM卡处于待激活状态,以供其他终端在接收到服务器发来的激活指令时激活虚拟SIM卡,从而使其他终端可以通过虚拟SIM卡进行通信。In this technical solution, by sending a deactivation command to other terminals, the other terminal is released from occupying the virtual SIM card, so that the virtual SIM card is in an activated state, so that other terminals activate the virtual SIM when receiving the activation instruction sent by the server. Cards so that other terminals can communicate via a virtual SIM card.
在上述技术方案中,优选地,还包括:设置单元308,用于接收设置指令,设置所述终端和所述其他终端共享所述虚拟SIM卡的优先级。In the above technical solution, preferably, the method further includes: a setting unit 308, configured to receive a setting instruction, and set a priority of the terminal and the other terminal to share the virtual SIM card.
在该技术方案中,通过设置终端和其他终端共享虚拟SIM卡的优先级,具体地,可以根据其他终端或者终端占用虚拟SIM卡所进行的业务类型设置其他终端与终端共享虚拟SIM卡的优先级。例如,当虚拟SIM卡被其他终端占用进行CS业务时,设置终端共享虚拟SIM卡的优先级低于其他终端共享虚拟SIM卡的优先级;当虚拟SIM卡被其他终端占用进行PS业务时,设置终端共享虚拟SIM卡的优先级高于其他终端共享虚拟SIM卡的优先级。当然,也可以直接设置其他终端与终端共享虚拟SIM卡的优先级,从而可以根据虚拟SIM卡被其他终端占用时进行的业务类型来判断终端共享虚拟SIM卡的优先级,进而提高了共享虚拟SIM卡的效率。In this technical solution, the priority of the virtual SIM card is shared by the terminal and the other terminal. Specifically, the priority of the virtual SIM card shared by the other terminal and the terminal may be set according to the service type of the other terminal or the virtual SIM card occupied by the terminal. . For example, when the virtual SIM card is occupied by another terminal for the CS service, the priority of the terminal sharing the virtual SIM card is lower than the priority of the other terminal sharing the virtual SIM card; when the virtual SIM card is occupied by other terminals for the PS service, the setting is set. The priority of the terminal sharing the virtual SIM card is higher than the priority of the other terminal sharing the virtual SIM card. Of course, the priority of the virtual SIM card shared by the other terminal and the terminal can be directly set, so that the priority of the virtual SIM card shared by the terminal can be determined according to the service type when the virtual SIM card is occupied by other terminals, thereby improving the shared virtual SIM. Card efficiency.
图4示出了根据本发明的一个实施例的虚拟SIM卡的共享***的结构示意图。FIG. 4 is a block diagram showing the structure of a sharing system of a virtual SIM card according to an embodiment of the present invention.
如图4所示,根据本发明的一个实施例的虚拟SIM卡的共享***400,包括:上述技术方案中任一项所述的虚拟SIM卡的共享装置300;所述终端402,连接至所述虚拟SIM卡的共享装置300;以及所述其他终 端404,连接至所述虚拟SIM卡的共享装置300,因此,该虚拟SIM卡的共享***400具有和上述技术方案中任一项所述的虚拟SIM卡的共享装置300相同的技术效果,在此不再赘述。As shown in FIG. 4, the sharing system 400 of the virtual SIM card according to an embodiment of the present invention includes: the sharing device 300 of the virtual SIM card according to any one of the foregoing technical solutions; the terminal 402 is connected to the a virtual SIM card sharing device 300; and the other end The terminal 404 is connected to the sharing device 300 of the virtual SIM card. Therefore, the sharing system 400 of the virtual SIM card has the same technical effect as the sharing device 300 of the virtual SIM card according to any one of the above technical solutions. This will not be repeated here.
图5示出了根据本发明的一个实施例的服务器的结构示意图。FIG. 5 shows a schematic structural diagram of a server according to an embodiment of the present invention.
如图5所示,根据本发明的一个实施例的服务器500,包括:虚拟SIM卡的共享装置502,且虚拟SIM卡的共享装置502包括:通信单元5022和判断单元5024,其中,通信单元5022用于与终端进行通信连接;判断单元5024用于判断终端的优先等级。例如,通信单元5022接收来自终端的激活虚拟SIM卡的请求,判断单元5024用于检测到虚拟SIM卡是否被其他终端占用时,若是,判断终端共享虚拟SIM卡的优先级是否高于其他终端共享所述虚拟SIM卡的优先级,若判断结果为是,则解除其他终端占用虚拟SIM卡,并发送激活响应至终端,以供终端激活虚拟SIM卡。As shown in FIG. 5, the server 500 according to an embodiment of the present invention includes: a sharing device 502 of a virtual SIM card, and the sharing device 502 of the virtual SIM card includes: a communication unit 5022 and a determining unit 5024, wherein the communication unit 5022 It is used for communicating with the terminal; the determining unit 5024 is configured to determine the priority level of the terminal. For example, the communication unit 5022 receives the request for activating the virtual SIM card from the terminal, and the determining unit 5024 is configured to detect whether the virtual SIM card is occupied by other terminals, and if yes, determine whether the priority of sharing the virtual SIM card by the terminal is higher than that of other terminals. If the result of the determination is yes, the virtual SIM card is released from the other terminal, and the activation response is sent to the terminal for the terminal to activate the virtual SIM card.
以上结合附图详细说明了本发明的技术方案,通过设置多个终端共享虚拟SIM卡的优先级,从而使多个终端更加方便、快捷地共享虚拟SIM卡,提升了用户体验感。The technical solution of the present invention is described in detail above with reference to the accompanying drawings. By setting a plurality of terminals to share the priority of the virtual SIM card, the multiple terminals can share the virtual SIM card more conveniently and quickly, thereby improving the user experience.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (11)

  1. 一种虚拟SIM卡的共享方法,用于服务器,其特征在于,包括:A method for sharing a virtual SIM card, which is used in a server, and includes:
    接收来自终端的激活所述虚拟SIM卡的请求;Receiving a request from the terminal to activate the virtual SIM card;
    检测所述虚拟SIM卡是否被其他终端占用,若是,判断所述终端共享所述虚拟SIM卡的优先级是否高于所述其他终端共享所述虚拟SIM卡的优先级;Detecting whether the virtual SIM card is occupied by another terminal, and if so, determining whether the priority of sharing the virtual SIM card by the terminal is higher than a priority of the other terminal sharing the virtual SIM card;
    在判断结果为是时,解除所述其他终端占用所述虚拟SIM卡,并发送激活响应至所述终端,以供所述终端激活所述虚拟SIM卡。When the determination result is yes, the other terminal is released from occupying the virtual SIM card, and an activation response is sent to the terminal, so that the terminal activates the virtual SIM card.
  2. 根据权利要求1所述的虚拟SIM卡的共享方法,其特征在于,The method for sharing a virtual SIM card according to claim 1, wherein
    在判断结果为否时,发送提示指令至所述终端,以供所述终端提示用户所述虚拟SIM卡已被占用且所述终端共享所述虚拟SIM卡的优先级低于所述其他终端共享所述虚拟SIM卡的优先级。When the judgment result is no, a prompt instruction is sent to the terminal, so that the terminal prompts the user that the virtual SIM card is occupied, and the terminal shares the virtual SIM card with a lower priority than the other terminal sharing. The priority of the virtual SIM card.
  3. 根据权利要求1所述的虚拟SIM卡的共享方法,其特征在于,在所述检测所述虚拟SIM卡是否被占用的步骤之后,还包括:The method for sharing a virtual SIM card according to claim 1, wherein after the step of detecting whether the virtual SIM card is occupied, the method further comprises:
    若检测到所述虚拟SIM卡未被占用,向所述终端发送激活响应,以供所述终端激活所述虚拟SIM卡。If it is detected that the virtual SIM card is not occupied, an activation response is sent to the terminal for the terminal to activate the virtual SIM card.
  4. 根据权利要求1所述的虚拟SIM卡的共享方法,其特征在于,所述解除所述其他终端占用所述虚拟SIM卡的步骤,具体包括:The method for sharing a virtual SIM card according to claim 1, wherein the step of disabling the other terminal to occupy the virtual SIM card comprises:
    向所述其他终端发送去激活指令,以供所述其他终端去激活所述虚拟SIM卡;Sending a deactivation instruction to the other terminal, for the other terminal to deactivate the virtual SIM card;
    在接收到来自所述其他终端的去激活所述虚拟SIM卡的响应时,向所述终端发送激活指令,以供所述终端激活所述虚拟SIM卡。Upon receiving a response from the other terminal to deactivate the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
  5. 根据权利要求1至4中任一项所述的虚拟SIM卡的共享方法,其特征在于,在所述接收来自终端的激活所述虚拟SIM卡的请求的步骤之前,包括:The method for sharing a virtual SIM card according to any one of claims 1 to 4, wherein before the step of receiving a request from the terminal to activate the virtual SIM card, the method comprises:
    接收设置指令,设置所述终端和所述其他终端共享所述虚拟SIM卡的优先级。Receiving a setting instruction, setting a priority of the terminal and the other terminal to share the virtual SIM card.
  6. 一种虚拟SIM卡的共享装置,用于服务器,其特征在于,包括: A virtual SIM card sharing device is used for a server, and includes:
    接收单元,用于接收来自终端的激活所述虚拟SIM卡的请求;a receiving unit, configured to receive a request from the terminal to activate the virtual SIM card;
    处理单元,用于检测所述虚拟SIM卡是否被其他终端占用,若是,判断所述终端共享所述虚拟SIM卡的优先级是否高于所述其他终端共享所述虚拟SIM卡的优先级;a processing unit, configured to detect whether the virtual SIM card is occupied by another terminal, and if yes, determining whether the priority of sharing the virtual SIM card by the terminal is higher than a priority of the other terminal sharing the virtual SIM card;
    执行单元,用于在判断结果为是时,解除所述其他终端占用所述虚拟SIM卡,并发送激活响应至所述终端,以供所述终端激活所述虚拟SIM卡。And an execution unit, configured to: when the determination result is yes, release the other terminal from occupying the virtual SIM card, and send an activation response to the terminal, so that the terminal activates the virtual SIM card.
  7. 根据权利要求6所述的虚拟SIM卡的共享装置,其特征在于,A virtual SIM card sharing device according to claim 6, wherein
    所述执行单元,还用于在判断结果为否时,发送提示指令至所述终端,以供所述终端提示用户所述虚拟SIM卡已被占用且所述终端共享所述虚拟SIM卡的优先级低于所述其他终端共享所述虚拟SIM卡的优先级。The execution unit is further configured to: when the determination result is no, send a prompting instruction to the terminal, where the terminal prompts the user that the virtual SIM card is occupied and the terminal shares the priority of the virtual SIM card. The level is lower than the priority of the other terminal sharing the virtual SIM card.
  8. 根据权利要求6所述的虚拟SIM卡的共享装置,其特征在于,所述处理单元还用于:The sharing device of the virtual SIM card according to claim 6, wherein the processing unit is further configured to:
    若检测到所述虚拟SIM卡未被占用,向所述终端发送激活响应,以供所述终端激活所述虚拟SIM卡。If it is detected that the virtual SIM card is not occupied, an activation response is sent to the terminal for the terminal to activate the virtual SIM card.
  9. 根据权利要求6所述的虚拟SIM卡的共享装置,其特征在于,所述执行单元包括:The sharing device of the virtual SIM card according to claim 6, wherein the execution unit comprises:
    发送模块,用于向所述其他终端发送去激活指令,以供所述其他终端去激活所述虚拟SIM卡,a sending module, configured to send a deactivation command to the other terminal, to enable the other terminal to deactivate the virtual SIM card,
    在接收到来自所述其他终端的去激活所述虚拟SIM卡的响应时,向所述终端发送激活指令,以供所述终端激活所述虚拟SIM卡。Upon receiving a response from the other terminal to deactivate the virtual SIM card, an activation command is sent to the terminal for the terminal to activate the virtual SIM card.
  10. 根据权利要求6至9中任一项所述的虚拟SIM卡的共享装置,其特征在于,还包括:The device for sharing a virtual SIM card according to any one of claims 6 to 9, further comprising:
    设置单元,用于接收设置指令,设置所述终端和所述其他终端共享所述虚拟SIM卡的优先级。And a setting unit, configured to receive a setting instruction, and set the priority of the virtual SIM card to be shared by the terminal and the other terminal.
  11. 一种虚拟SIM卡的共享***,其特征在于,包括:A virtual SIM card sharing system, comprising:
    如权利要求6至10中任一项所述的虚拟SIM卡的共享装置;A sharing device of a virtual SIM card according to any one of claims 6 to 10;
    所述终端,连接至所述虚拟SIM卡的共享装置;以及 The terminal is connected to the sharing device of the virtual SIM card;
    所述其他终端,连接至所述虚拟SIM卡的共享装置。 The other terminal is connected to the sharing device of the virtual SIM card.
PCT/CN2015/091360 2015-07-27 2015-09-30 Sharing method, sharing apparatus and sharing system for virtual sim card WO2017016070A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510448242.1 2015-07-27
CN201510448242.1A CN105611485A (en) 2015-07-27 2015-07-27 Sharing method, sharing device and sharing system for virtual SIM card

Publications (1)

Publication Number Publication Date
WO2017016070A1 true WO2017016070A1 (en) 2017-02-02

Family

ID=55990960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091360 WO2017016070A1 (en) 2015-07-27 2015-09-30 Sharing method, sharing apparatus and sharing system for virtual sim card

Country Status (2)

Country Link
CN (1) CN105611485A (en)
WO (1) WO2017016070A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10701551B1 (en) 2019-09-11 2020-06-30 T-Mobile Usa, Inc. Methods for sharing a virtual SIM card
EP3691313A4 (en) * 2017-09-30 2020-12-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information processing method and device, computer readable storage medium and computer device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959932A (en) * 2016-06-03 2016-09-21 苏州畅途网络科技有限公司 Method and system for sharing one virtual SIM card, and communication device
CN107548054B (en) * 2016-06-24 2021-01-26 中兴通讯股份有限公司 Master-slave equipment switching method of eSIM card, slave equipment and eSIM card management server
CN106658569B (en) * 2016-12-16 2020-06-09 深圳市优克联新技术有限公司 Method, device and system for improving utilization rate of user identification card
CN110730451B (en) * 2019-10-24 2022-12-13 深圳传音控股股份有限公司 Virtual SIM card replacing method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391535A (en) * 2013-07-31 2013-11-13 华为技术有限公司 Method for allowing multiple terminals to share virtual SIM (subscriber identity module) card, as well as terminals, server and system
CN103428696A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Virtual SIM card achieving method and system and relevant device
WO2014005324A1 (en) * 2012-07-06 2014-01-09 Renesas Mobile Corporation Apparatus and method for enabling multiple virtual sims
CN104144406A (en) * 2013-05-07 2014-11-12 马维尔国际有限公司 Multi-mode multi-card mobile terminal and business conflict solution method and apparatus thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796429B (en) * 2015-04-30 2016-08-24 努比亚技术有限公司 Communication service processing method, mobile terminal, server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428696A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Virtual SIM card achieving method and system and relevant device
WO2014005324A1 (en) * 2012-07-06 2014-01-09 Renesas Mobile Corporation Apparatus and method for enabling multiple virtual sims
CN104144406A (en) * 2013-05-07 2014-11-12 马维尔国际有限公司 Multi-mode multi-card mobile terminal and business conflict solution method and apparatus thereof
CN103391535A (en) * 2013-07-31 2013-11-13 华为技术有限公司 Method for allowing multiple terminals to share virtual SIM (subscriber identity module) card, as well as terminals, server and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3691313A4 (en) * 2017-09-30 2020-12-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information processing method and device, computer readable storage medium and computer device
US11109226B2 (en) 2017-09-30 2021-08-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information process method, computer readable storage medium and computer device
US10701551B1 (en) 2019-09-11 2020-06-30 T-Mobile Usa, Inc. Methods for sharing a virtual SIM card
US11082832B2 (en) 2019-09-11 2021-08-03 T-Mobile Usa, Inc. Methods for sharing a virtual SIM card
US11974357B2 (en) 2019-09-11 2024-04-30 T-Mobile Usa, Inc. Methods for sharing a virtual SIM card

Also Published As

Publication number Publication date
CN105611485A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
WO2017016070A1 (en) Sharing method, sharing apparatus and sharing system for virtual sim card
JP6135963B2 (en) Method, terminal, server, and system for sharing a virtual SIM card among a plurality of terminals
US20170093510A1 (en) Audio playing method and apparatus based on bluetooth connection
KR20150023922A (en) A method of supporting third-party applications in an instant messaging system and a system using the same
WO2013178150A1 (en) Information processing method, and priority information sending method and device
JP2017005304A5 (en)
WO2018103405A1 (en) Method for identifying access point and hotspot, and related product
CN106657582B (en) Method and device for starting personal identification function of application program and terminal
CN104317765A (en) Serial communication based one-to-many communication system and implementation method
EP3206422A1 (en) Method and device for creating subscription resource
JP2015041298A5 (en) Information processing apparatus, control method thereof, and program
WO2021139690A1 (en) Session establishment method, apparatus, and related device
CN106793063B (en) Data attachment control method and device
WO2017219587A1 (en) Master-slave device switching method, slave device, management server, and storage medium
JP2017041832A5 (en)
JP2017038383A5 (en)
US10635606B2 (en) Method and apparatus for maintaining continuity of on-going session over wired or wireless interface
JP2016218923A5 (en)
WO2014075259A1 (en) Processing method and network device for international mobile equipment identity (imei) information
JP2008219071A5 (en)
WO2016180128A1 (en) Remote control system, method and apparatus for cluster terminal
CN107547692B (en) Method and device for configuring IP address and port number between dual systems
JP6459637B2 (en) Information processing apparatus, information processing method, and program
JP2013123211A5 (en)
CN111935651A (en) Cluster service implementation method, device, medium, base station and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15899422

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15899422

Country of ref document: EP

Kind code of ref document: A1