WO2019127475A1 - Method and apparatus for implementing virtual sim card, storage medium, and electronic device - Google Patents

Method and apparatus for implementing virtual sim card, storage medium, and electronic device Download PDF

Info

Publication number
WO2019127475A1
WO2019127475A1 PCT/CN2017/120171 CN2017120171W WO2019127475A1 WO 2019127475 A1 WO2019127475 A1 WO 2019127475A1 CN 2017120171 W CN2017120171 W CN 2017120171W WO 2019127475 A1 WO2019127475 A1 WO 2019127475A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
access request
virtual
simulator
target
Prior art date
Application number
PCT/CN2017/120171
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 深圳前海达闼云端智能科技有限公司
Priority to CN201780002413.5A priority Critical patent/CN108235822B/en
Priority to PCT/CN2017/120171 priority patent/WO2019127475A1/en
Publication of WO2019127475A1 publication Critical patent/WO2019127475A1/en

Links

Images

Classifications

    • 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
    • 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

Definitions

  • the present disclosure relates to the field of virtual machine technologies, and in particular, to a method and device for implementing a virtual SIM (Subscriber Identification Module) card, a storage medium, and an electronic device.
  • a virtual SIM Subscriber Identification Module
  • Virtualization technology enables multiple systems (for example, hosts and virtual machines) to share the hardware resources of the machine.
  • Each system is independent of each other and does not affect each other, which provides a good isolation and greatly improves the resource utilization of the system.
  • a shared access method is generally adopted, that is, multiple systems (for example, a host and a virtual machine) use the same SIM card.
  • multiple systems in the container technology share the same kernel, multiple systems have good isolation at the software level, but there is no good isolation on the hardware.
  • An object of the present disclosure is to provide a method and apparatus for implementing a virtual SIM card, a storage medium, and an electronic device, and at least to some extent overcome one or more problems due to limitations and disadvantages of the related art.
  • a method for implementing a virtual SIM card comprising:
  • the virtual wireless interface daemon forwards the access request to the simulator through a communication pipeline
  • the target SIM card in the host is invoked by the simulator to process the access request.
  • the method before the receiving the virtual machine access request to the virtual wireless interface daemon, the method further includes:
  • the communication conduit includes a goldfish pipe.
  • the host includes a baseband chip
  • the calling the target SIM card in the host by the simulator to process the access request includes:
  • the baseband chip is invoked by an actual wireless interface daemon corresponding to the target SIM card to process the access request.
  • the plurality of SIM cards correspond to one of the baseband chips
  • the calling the target SIM card in the host by the simulator to process the access request includes:
  • a predetermined communication mechanism is invoked by the target SIM card to process the access request.
  • the method further includes:
  • a remote procedure call protocol is invoked by the target SIM card to process the access request.
  • the method further includes:
  • the target SIM card receives an access request and forwards the access request to the simulator;
  • the simulator forwards the access request to the virtual wireless interface daemon through a communication conduit to process the access request.
  • the simulator is an Android simulator.
  • the forwarding, by the simulator, the access request to the target SIM card includes:
  • the access is performed by the simulator and using any one of tcp (Transmission Control Protocol), udp (User Datagram Protocol), unix socket (interprocess communication), and goldfish pipe (pipe).
  • tcp Transmission Control Protocol
  • udp User Datagram Protocol
  • unix socket interprocess communication
  • goldfish pipe pipe
  • an apparatus for implementing a virtual SIM card comprising:
  • a receiving module configured to receive an access request of the virtual machine to the virtual wireless interface daemon
  • a forwarding module configured to: the virtual wireless interface daemon sends the access request to the simulator through a communication pipeline;
  • the calling module is configured to invoke the target SIM card in the host by the simulator to process the access request.
  • a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method of implementing the virtual SIM card according to any one of the above.
  • an electronic device including:
  • a memory for storing executable instructions of the processor
  • the processor is configured to perform the implementation method of any one of the virtual SIM cards described above by executing the executable instructions.
  • the virtual wireless interface daemon processes the access request to the simulator through a communication pipeline, and invokes the target SIM card in the host through the simulator to process the access request, so that The virtual machine can directly access the target SIM card, and the host and the virtual machine are well isolated on the hardware.
  • FIG. 1 is a flowchart of a method for implementing a virtual SIM card according to an exemplary embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of allocating a second SIM card in a host to a virtual machine according to an exemplary embodiment of the present disclosure
  • FIG. 3 is a flowchart of calling a target SIM card in a host by a simulator to process an access request according to an exemplary embodiment of the present disclosure
  • FIG. 4 is a flowchart of a method for implementing a virtual SIM card according to another exemplary embodiment of the present disclosure
  • FIG. 5 is a block diagram of an apparatus for implementing a virtual SIM card according to an exemplary embodiment of the present disclosure
  • FIG. 6 is a schematic block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a program product in an exemplary embodiment of the present disclosure.
  • the operating system can be divided into two categories, one is the native system (host system), that is, the host system, which can be called HostOS, Host system, Host or host, and the host system can be Windows system, Linux system or Android system.
  • host system the native system
  • HostOS Host system
  • Host or host the host system
  • Windows system Linux system
  • Android system One type is a parasitic system, that is, a virtual system (virtual machine); the virtual system may also be called a Guest OS, a Guest system, or a Guest end; the virtual system may be an Android system or the like.
  • a method for implementing a virtual SIM card is first disclosed, which can be applied to control of a hardware device in a virtual system in a mobile phone, a tablet, or other intelligent terminal based on a Windows system, a Linux system, or an Android system, especially SIM card control.
  • Each virtual system has its own independent operating system, each virtual system has its own independent kernel control and user space and storage.
  • the method can include the following steps:
  • Step S110 Receive an access request of the virtual machine to the virtual wireless interface daemon.
  • Step S120 The virtual wireless interface daemon sends the access request to the simulator through a communication pipeline
  • Step S130 Call the target SIM card in the host by the simulator to process the access request.
  • the virtual wireless interface daemon forwards the access request to the simulator through a communication pipe, and calls the target SIM card in the host through the simulator to process the The access request enables the virtual machine to directly access the target SIM card, and the host and the virtual machine are well isolated on the hardware.
  • step S110 the virtual machine receives an access request to the virtual wireless interface daemon.
  • the virtual machine may send an access request to the virtual wireless interface daemon according to the operation instruction of the user; and may receive an access request of the virtual machine to the virtual wireless interface daemon through a receiving module.
  • the user's operation instruction may be an instruction sent by the user to the virtual machine through an input device such as a touch screen, a keyboard, a stylus, or the like, for example, sending a short message, making a call, transmitting a picture, or a video call, and the exemplary embodiment does not make a special limited.
  • the method further includes: determining the target SIM card among the plurality of SIM cards in the host; making the target SIM card invisible in the host; Establishing a connection between the target SIM card and the simulator.
  • the target SIM card may be any one of a plurality of SIM cards, or may be one of the plurality of SIM cards.
  • the device direct allocation technology ie, passthrough technology
  • the device direct allocation technology ie, passthrough technology
  • the device direct allocation technology can exclusively allocate hardware devices to a specified domain, so that the domain has high I/O access performance even if the virtual machine can directly manipulate the hardware device.
  • FIG. 2 shows a schematic diagram of assigning a second SIM card among hosts including two SIM cards to a virtual machine.
  • the host includes: an application layer 201, a service layer 202, an application framework layer 203, a first SIM card 204, a second SIM card 205, a first actual wireless interface daemon 207 corresponding to the first SIM card, and
  • the second SIM card corresponds to the second actual wireless interface daemon 208, the simulator 206, the driver layer 209, and the baseband chip 210.
  • the virtual machine includes a virtual application layer 211, a virtual service layer 212, a virtual application framework layer 213, and a virtual wireless interface daemon 214.
  • the first SIM card 204 is connected to the application framework layer 203 of the host, the second SIM card 205 is connected to the simulator 206, and the simulator 206 is connected to the virtual wireless interface daemon 214 of the virtual machine through the goldfish pipe.
  • the first SIM card 204 is called by the host and is only visible in the host
  • the second SIM card 205 is called by the virtual machine and is only visible in the virtual machine.
  • step S120 the virtual wireless interface daemon forwards the access request to the simulator through a communication pipeline.
  • the communication pipe may include a goldfish pipe or the like, and the simulator may be an Android simulator (ie, qemu) or the like.
  • the goldfish pipe can provide high-speed communication between the virtual wireless interface daemon of the virtual machine and the simulator.
  • the goldfish pipe is a character device in the virtual machine.
  • the virtual machine accesses the character device to the simulator, and the simulator can establish various communication links with the host, such as tcp, udp, unix socket, etc. Any of the communication links, so the goldfish pipe acts as a conduit between the virtual machine and the host.
  • step S130 the target SIM card in the host is invoked by the simulator to process the access request.
  • the host may include a baseband chip, and the number of the baseband chips may be one, or may be multiple.
  • the exemplary embodiment is not limited thereto, and the baseband is required to be described.
  • the upper limit of the number of chips is the number of SIM cards in the host.
  • the baseband chip can be used to synthesize the baseband signal to be transmitted or to decode the received baseband signal. Specifically, at the time of transmission, the audio signal is compiled into a baseband code for transmission; at the time of reception, the received baseband code is interpreted as an audio signal, and at the same time, the address information (mobile phone number, website address) is also responsible. Compilation of text information (short text, website text) and picture information lights. Based on this, as shown in FIG. 3, the calling the target SIM card in the host by the simulator to process the access request may include:
  • Step S310 forwarding, by the simulator, the access request to the target SIM card.
  • the access request may be forwarded to the target SIM card by the simulator and using any one of tcp, udp, unix socket, and goldfish pipe.
  • Step S320 Report the access request to the actual wireless interface daemon corresponding to the target SIM card by using the target SIM card.
  • Step S330 calling the baseband chip by an actual wireless interface daemon corresponding to the target SIM card to process the access request.
  • the access request is converted by the vendor-ril.so into an AT command or other format command that the baseband chip can recognize.
  • the baseband chip is called by the actual wireless interface daemon corresponding to the target SIM card to transmit the AT command or other format commands to the baseband chip, so that the baseband chip processes the access request.
  • the access request is a short message request
  • the short message content in the short message request is sent to the target object according to the address of the target object in the short message request.
  • the simulator calls a target SIM card in the host to process the The access request may include forwarding the access request to the target SIM card by the simulator; invoking a predetermined communication mechanism by the target SIM card to process the access request.
  • an access request coordinated by a plurality of SIM cards may include a request to switch a 4G network between a plurality of SIM cards, a request for an underlying protocol stack switch, a request to close a virtual machine, and the like.
  • the preset communication mechanism may be, for example, a remote procedure call mechanism (ie, RPC) or the like, which is not specifically limited in this exemplary embodiment.
  • RPC remote procedure call mechanism
  • the access request may be forwarded to the target SIM card by the simulator. And calling a remote procedure call protocol through the target SIM card to process the access request.
  • the process of forwarding the access request to the target SIM card by the simulator has been described in the above process, and therefore will not be described again.
  • the virtual wireless interface daemon forwards the access request to the simulator through the communication pipeline, and invokes the target SIM card in the host through the simulator to process the access request, so that the virtual machine can directly access the target.
  • SIM card, the host and virtual machine are well isolated on the hardware.
  • the method may further include the following steps:
  • Step S410 The target SIM card receives an access request, and forwards the received access request to the simulator.
  • Step S420 The simulator forwards the access request to the virtual wireless interface daemon through the communication pipeline to process the access request.
  • the access request is forwarded to the simulator, and the simulator forwards the access request to the virtual wireless interface daemon through the communication pipe, so that the virtual machine processes the access request.
  • the access request is a request to display a short message
  • the virtual machine displays the short message content in the request for displaying the short message on the display screen of the mobile terminal.
  • the apparatus 500 may include: a receiving module 501, a forwarding module 502, and a calling module 503, where:
  • the receiving module 501 can be configured to receive an access request of the virtual machine to the virtual wireless interface daemon.
  • the forwarding module 502 can be configured to: the virtual wireless interface daemon sends the access request to the simulator through a communication pipeline;
  • the calling module 503 can be configured to invoke the target SIM card in the host through the simulator to process the access request.
  • modules or units of equipment for action execution are mentioned in the detailed description above, such division is not mandatory. Indeed, in accordance with embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above may be further divided into multiple modules or units.
  • an electronic device capable of implementing the above method is also provided.
  • FIG. 6 An electronic device 600 in accordance with such an embodiment of the present invention is described below with reference to FIG. 6 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • electronic device 600 is embodied in the form of a general purpose computing device.
  • the components of the electronic device 600 may include, but are not limited to, the at least one processing unit 610, the at least one storage unit 620, the bus 630 connecting the different system components (including the storage unit 620 and the processing unit 610), and the display unit 640.
  • the storage unit stores program code, which can be executed by the processing unit 610, such that the processing unit 610 performs various exemplary embodiments according to the present invention described in the "Exemplary Method" section of the present specification.
  • the processing unit 610 may perform step S110 shown in FIG. 1 to receive an access request of the virtual machine to the virtual wireless interface daemon; and step S120, the virtual wireless interface daemon sends the access request through a communication pipeline. Going to the simulator; step S130, calling the target SIM card in the host by the simulator to process the access request.
  • the storage unit 620 can include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 6201 and/or a cache storage unit 6202, and can further include a read only storage unit (ROM) 6203.
  • RAM random access storage unit
  • ROM read only storage unit
  • the storage unit 620 can also include a program/utility 6204 having a set (at least one) of the program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more applications, other program modules, and program data, Implementations of the network environment may be included in each or some of these examples.
  • Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures. bus.
  • the electronic device 600 can also communicate with one or more external devices 670 (eg, a keyboard, pointing device, Bluetooth device, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 600, and/or with The electronic device 600 is enabled to communicate with any device (e.g., router, modem, etc.) that is in communication with one or more other computing devices. This communication can take place via an input/output (I/O) interface 650. Also, electronic device 600 can communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through network adapter 660. As shown, network adapter 660 communicates with other modules of electronic device 600 via bus 630.
  • network adapter 660 communicates with other modules of electronic device 600 via bus 630.
  • the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network.
  • a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a number of instructions are included to cause a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to perform a method in accordance with an embodiment of the present disclosure.
  • a computer readable storage medium having stored thereon a program product capable of implementing the above method of the present specification.
  • aspects of the present invention may also be embodied in the form of a program product comprising program code for causing said program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section of the present specification.
  • a program product 700 for implementing the above method which may employ a portable compact disk read only memory (CD-ROM) and includes program code, and may be in a terminal device, is illustrated in accordance with an embodiment of the present invention.
  • CD-ROM portable compact disk read only memory
  • the program product of the present invention is not limited thereto, and in the present document, the readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus or device.
  • the program product can employ any combination of one or more readable media.
  • the readable medium can be a readable signal medium or a readable storage medium.
  • the readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • the computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium can be transmitted by any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, etc., including conventional procedural Programming language—such as the "C" language or a similar programming language.
  • the program code can execute entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the remote computing device on the user computing device, or entirely on the remote computing device or server. Execute on.
  • the remote computing device can be connected to the user computing device via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computing device (eg, provided using an Internet service) Businesses are connected via the Internet).
  • LAN local area network
  • WAN wide area network
  • Businesses are connected via the Internet.

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

The present disclosure relates to the technical field of virtual machines, and in particular, to a method and apparatus for implementing a virtual SIM card, a storage medium, and an electronic device. The method may comprises: receiving an access request of a virtual machine for a virtual wireless interface daemon; forwarding the access request to a simulator by the virtual wireless interface daemon by means of a communication pipeline; and calling a target SIM card in a host by means of the simulator to process the access request. According to the present disclosure, a virtual machine can directly access a target SIM card, and a host and the virtual machine are well isolated on hardware.

Description

虚拟SIM卡的实现方法及装置、存储介质、电子设备Method and device for implementing virtual SIM card, storage medium and electronic device 技术领域Technical field
本公开涉及虚拟机技术领域,尤其涉及一种虚拟SIM(Subscriber Identification Module,用户识别模块)卡的实现方法及装置、存储介质、电子设备。The present disclosure relates to the field of virtual machine technologies, and in particular, to a method and device for implementing a virtual SIM (Subscriber Identification Module) card, a storage medium, and an electronic device.
背景技术Background technique
虚拟化技术可以使多个系统(例如,主机和虚拟机)共享机器的硬件资源,各个系统相互独立,互不影响,即起到了很好的隔离作用,也大大提高了系统的资源利用率。Virtualization technology enables multiple systems (for example, hosts and virtual machines) to share the hardware resources of the machine. Each system is independent of each other and does not affect each other, which provides a good isolation and greatly improves the resource utilization of the system.
目前,在利用容器技术实现虚拟SIM卡时,一般都采用共享访问的方式,即多个系统(例如,主机和虚拟机)使用相同的SIM卡。显然由于容器技术中的多个系统共享同一内核,多个系统之间在软件层面有很好的隔离作用,但是在硬件上没有很好的隔离作用。At present, when a virtual SIM card is implemented by using container technology, a shared access method is generally adopted, that is, multiple systems (for example, a host and a virtual machine) use the same SIM card. Obviously, because multiple systems in the container technology share the same kernel, multiple systems have good isolation at the software level, but there is no good isolation on the hardware.
因此,需要提供一种可以在硬件上对多个系统进行隔离的虚拟SIM卡的实现方法。Therefore, there is a need to provide a method of implementing a virtual SIM card that can isolate multiple systems in hardware.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the Background section above is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
发明内容Summary of the invention
本公开的目的在于提供一种虚拟SIM卡的实现方法及装置、存储介质、电子设备,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的一个或者多个问题。An object of the present disclosure is to provide a method and apparatus for implementing a virtual SIM card, a storage medium, and an electronic device, and at least to some extent overcome one or more problems due to limitations and disadvantages of the related art.
根据本公开的一个方面,提供一种虚拟SIM卡的实现方法,所述方法包括:According to an aspect of the disclosure, a method for implementing a virtual SIM card is provided, the method comprising:
接收虚拟机对虚拟无线接口守护进程的访问请求;Receiving an access request of the virtual machine to the virtual wireless interface daemon;
所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;The virtual wireless interface daemon forwards the access request to the simulator through a communication pipeline;
通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。The target SIM card in the host is invoked by the simulator to process the access request.
在本公开的一种示例性实施例中,在所述接收虚拟机对虚拟无线接口守护进程的访问请求之前还包括:In an exemplary embodiment of the present disclosure, before the receiving the virtual machine access request to the virtual wireless interface daemon, the method further includes:
在所述主机中的多个SIM卡中确定所述目标SIM卡;Determining the target SIM card in a plurality of SIM cards in the host;
使目标SIM卡在所述主机中不可见;Making the target SIM card invisible in the host;
建立所述目标SIM卡与所述模拟器之间的连接。Establishing a connection between the target SIM card and the simulator.
在本公开的一种示例性实施例中,所述通信管道包括goldfish pipe(管道)。In an exemplary embodiment of the present disclosure, the communication conduit includes a goldfish pipe.
在本公开的一种示例性实施例中,所述主机包括基带芯片;In an exemplary embodiment of the present disclosure, the host includes a baseband chip;
所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求包括:The calling the target SIM card in the host by the simulator to process the access request includes:
通过所述模拟器将所述访问请求转发至所述目标SIM卡;Forwarding the access request to the target SIM card by the simulator;
通过所述目标SIM卡将所述访问请求下报至与所述目标SIM卡对应的实际无线接口守护进程;And reporting, by the target SIM card, the access request to an actual wireless interface daemon corresponding to the target SIM card;
通过与所述目标SIM卡对应的实际无线接口守护进程调用所述基带芯片以处理所述访问请求。The baseband chip is invoked by an actual wireless interface daemon corresponding to the target SIM card to process the access request.
在本公开的一种示例性实施例中,所述多个SIM卡对应一个所述基带芯片;In an exemplary embodiment of the present disclosure, the plurality of SIM cards correspond to one of the baseband chips;
若所述访问请求由所述多个SIM卡协同完成,所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求包括:If the access request is coordinated by the multiple SIM cards, the calling the target SIM card in the host by the simulator to process the access request includes:
通过所述模拟器将所述访问请求转发至所述目标SIM卡;Forwarding the access request to the target SIM card by the simulator;
通过所述目标SIM卡调用一预设通信机制以处理所述访问请求。A predetermined communication mechanism is invoked by the target SIM card to process the access request.
在本公开的一种示例性实施例中,所述方法还包括:In an exemplary embodiment of the present disclosure, the method further includes:
如果所述访问请求无法通过与所述目标SIM卡对应的实际无线接口守护进程和所述基带芯片进行传输,则通过所述模拟器将所述访问请求转发至所述目标SIM卡;And if the access request cannot be transmitted by the actual wireless interface daemon and the baseband chip corresponding to the target SIM card, forwarding the access request to the target SIM card by using the simulator;
通过所述目标SIM卡调用一远程过程调用协议以处理所述访问请求。A remote procedure call protocol is invoked by the target SIM card to process the access request.
在本公开的一种示例性实施例中,所述方法还包括:In an exemplary embodiment of the present disclosure, the method further includes:
所述目标SIM卡接收访问请求,并将所述访问请求转发至所述模拟器;The target SIM card receives an access request and forwards the access request to the simulator;
所述模拟器通过通信管道将所述访问请求转到所述虚拟无线接口守护进程,以处理所述访问请求。The simulator forwards the access request to the virtual wireless interface daemon through a communication conduit to process the access request.
在本公开的一种示例性实施例中,所述模拟器为安卓模拟器。In an exemplary embodiment of the present disclosure, the simulator is an Android simulator.
在本公开的一种示例性实施例中,所述通过所述模拟器将所述访问请求转发至所述目标SIM卡包括:In an exemplary embodiment of the present disclosure, the forwarding, by the simulator, the access request to the target SIM card includes:
通过所述模拟器并利用tcp(Transmission Control Protocol传输控制协议)、udp(User Datagram Protocol用户数据报协议)、unix socket(进程间通信)、goldfish pipe(管道)中的任意一种将所述访问请求转发至所述目标SIM卡。The access is performed by the simulator and using any one of tcp (Transmission Control Protocol), udp (User Datagram Protocol), unix socket (interprocess communication), and goldfish pipe (pipe). The request is forwarded to the target SIM card.
根据本公开的一个方面,提供一种虚拟SIM卡的实现装置,所述装置包括:According to an aspect of the present disclosure, an apparatus for implementing a virtual SIM card is provided, the apparatus comprising:
接收模块,设置为接收虚拟机对虚拟无线接口守护进程的访问请求;a receiving module, configured to receive an access request of the virtual machine to the virtual wireless interface daemon;
转发模块,设置为所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;a forwarding module, configured to: the virtual wireless interface daemon sends the access request to the simulator through a communication pipeline;
调用模块,设置为通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。The calling module is configured to invoke the target SIM card in the host by the simulator to process the access request.
根据本公开的一个方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一项所述的虚拟SIM卡的实现方法。According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method of implementing the virtual SIM card according to any one of the above.
根据本公开的一个方面,提供一种电子设备,包括:According to an aspect of the present disclosure, an electronic device is provided, including:
处理器;以及Processor;
存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions of the processor;
其中,所述处理器配置为经由执行所述可执行指令来执行上述任意一项所述虚拟 SIM卡的实现方法。The processor is configured to perform the implementation method of any one of the virtual SIM cards described above by executing the executable instructions.
由上述技术方案可知,本公开提供的一种虚拟SIM卡的实现方法,其优点和积极效果在于:It can be seen from the above technical solutions that the advantages and positive effects of the implementation method of a virtual SIM card provided by the present disclosure are as follows:
本公开提供的虚拟SIM卡的实现方法,虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器,并通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求,使得虚拟机可以直接访问目标SIM卡,在硬件上很好的对主机和虚拟机进行了隔离。The implementation method of the virtual SIM card provided by the disclosure, the virtual wireless interface daemon processes the access request to the simulator through a communication pipeline, and invokes the target SIM card in the host through the simulator to process the access request, so that The virtual machine can directly access the target SIM card, and the host and the virtual machine are well isolated on the hardware.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will be apparent from the following detailed description.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in the specification It is apparent that the drawings in the following description are only some of the embodiments of the present disclosure, and other drawings may be obtained from those skilled in the art without departing from the drawings.
图1为本公开一示例性实施例中提供的一种虚拟SIM卡的实现方法的流程图;FIG. 1 is a flowchart of a method for implementing a virtual SIM card according to an exemplary embodiment of the present disclosure;
图2为本公开一示例性实施例中提供的将主机中的第二SIM卡分配给虚拟机的示意图;2 is a schematic diagram of allocating a second SIM card in a host to a virtual machine according to an exemplary embodiment of the present disclosure;
图3为本公开一示例性实施例中提供的通过模拟器调用主机中的目标SIM卡以处理访问请求的流程图;FIG. 3 is a flowchart of calling a target SIM card in a host by a simulator to process an access request according to an exemplary embodiment of the present disclosure;
图4为本公开另一示例性实施例中提供的一种虚拟SIM卡的实现方法的流程图;FIG. 4 is a flowchart of a method for implementing a virtual SIM card according to another exemplary embodiment of the present disclosure;
图5为本公开一示例性实施例中提供的一种虚拟SIM卡的实现装置的框图;FIG. 5 is a block diagram of an apparatus for implementing a virtual SIM card according to an exemplary embodiment of the present disclosure;
图6为本公开一示例性实施例中的电子设备的模块示意图;FIG. 6 is a schematic block diagram of an electronic device according to an exemplary embodiment of the present disclosure;
图7为本公开一示例性实施例中的程序产品示意图。FIG. 7 is a schematic diagram of a program product in an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略所述特定细节中的一个或更多,或者可以采 用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be embodied in a variety of forms and should not be construed as being limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and complete, To those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are set forth However, one skilled in the art will appreciate that one or more of the specific details may be omitted, or other methods, components, devices, steps, etc. may be employed. In other instances, various aspects of the present disclosure are not obscured by the details of the invention.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the drawings are merely schematic representations of the present disclosure and are not necessarily to scale. The same reference numerals in the drawings denote the same or similar parts, and the repeated description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily have to correspond to physically or logically separate entities. These functional entities may be implemented in software, or implemented in one or more hardware modules or integrated circuits, or implemented in different network and/or processor devices and/or microcontroller devices.
用语“一个”、“一”、“该”和“所述”用以表示存在一个或多个要素/组成部分/等;用语“包括”和“具有”用以表示开放式的包括在内的意思并且是指除了列出的要素/组成部分/等之外还可存在另外的要素/组成部分/等;用语“第一”和“第二”等仅作为标记使用,不是对其对象的数量限制。The terms "a", "an", "the" and "the" are used to mean the presence of one or more elements/components, etc.; the terms "including" and "having" are used to mean an inclusive. Meaning and means that there may be additional elements/components/etc. in addition to the listed elements/components/etc; the terms "first" and "second" etc. are used only as marks, not the number of objects limit.
操作系统可以分为两类,一类为原生系统(宿主系统),即主机的系统,可以称为HostOS、Host系统、Host端或主机,宿主系统可以是Windows系统、Linux系统或Android系统等。一类为寄生系统,即虚拟系统(虚拟机);虚拟系统也可以称为GuestOS、Guest系统或Guest端;虚拟系统可以是Android系统等。The operating system can be divided into two categories, one is the native system (host system), that is, the host system, which can be called HostOS, Host system, Host or host, and the host system can be Windows system, Linux system or Android system. One type is a parasitic system, that is, a virtual system (virtual machine); the virtual system may also be called a Guest OS, a Guest system, or a Guest end; the virtual system may be an Android system or the like.
本示例性实施例中首先公开了一种虚拟SIM卡的实现方法,可以应用于基于Windows系统、Linux系统或Android系统的手机、平板或其他智能终端中虚拟系统对硬件设备的控制,尤其是对SIM卡的控制。各个虚拟系统有各自独立的操作系统,各虚拟系统有自己独立的内核控件和用户空间以及存储设别。参照图1所示,该方法可以包括以下步骤:In the present exemplary embodiment, a method for implementing a virtual SIM card is first disclosed, which can be applied to control of a hardware device in a virtual system in a mobile phone, a tablet, or other intelligent terminal based on a Windows system, a Linux system, or an Android system, especially SIM card control. Each virtual system has its own independent operating system, each virtual system has its own independent kernel control and user space and storage. Referring to Figure 1, the method can include the following steps:
步骤S110、接收虚拟机对虚拟无线接口守护进程的访问请求;Step S110: Receive an access request of the virtual machine to the virtual wireless interface daemon.
步骤S120、所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;Step S120: The virtual wireless interface daemon sends the access request to the simulator through a communication pipeline;
步骤S130、通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。Step S130: Call the target SIM card in the host by the simulator to process the access request.
根据本示例性实施例中的虚拟SIM卡的实现方法,虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器,并通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求,使得虚拟机可以直接访问目标SIM卡,在硬件上很好的对主机和虚拟机进行了隔离。According to the implementation method of the virtual SIM card in the exemplary embodiment, the virtual wireless interface daemon forwards the access request to the simulator through a communication pipe, and calls the target SIM card in the host through the simulator to process the The access request enables the virtual machine to directly access the target SIM card, and the host and the virtual machine are well isolated on the hardware.
下面,将参照图1,对本示例性实施例中的虚拟SIM卡的实现方法作进一步说明。Hereinafter, the implementation method of the virtual SIM card in the present exemplary embodiment will be further described with reference to FIG. 1.
在步骤S110中、接收虚拟机对虚拟无线接口守护进程的访问请求。In step S110, the virtual machine receives an access request to the virtual wireless interface daemon.
在本示例性实施例中,虚拟机可以根据用户的操作指令发送对虚拟无线接口守护进程的访问请求;并可以通过一接收模块接收虚拟机对虚拟无线接口守护进程的访问请求。用户的操作指令可以为用户通过触控屏幕、键盘、触控笔等输入设备向虚拟机发送的例 如发送短息、拨打电话、传输图片、视频通话等指令,本示例性实施例对此不作特殊限定。In the exemplary embodiment, the virtual machine may send an access request to the virtual wireless interface daemon according to the operation instruction of the user; and may receive an access request of the virtual machine to the virtual wireless interface daemon through a receiving module. The user's operation instruction may be an instruction sent by the user to the virtual machine through an input device such as a touch screen, a keyboard, a stylus, or the like, for example, sending a short message, making a call, transmitting a picture, or a video call, and the exemplary embodiment does not make a special limited.
此外,在现有技术中,主机中的所有SIM卡均与主机中的应用框架层连接,所有SIM卡均在主机中可见。在此前提下,虚拟机仅仅可以通过主机访问主机中的SIM卡,从而通过SIM卡进行语音通话等操作。为了将主机中的SIM卡分配给虚拟机,以使该SIM卡仅在虚拟机中可见,在主机中不可见,以及使虚拟机可以直接访问该SIM卡,而不用通过主机访问该SIM卡,在所述接收虚拟机对虚拟无线接口守护进程的访问请求之前还可以包括:在所述主机中的多个SIM卡中确定所述目标SIM卡;使目标SIM卡在所述主机中不可见;建立所述目标SIM卡与所述模拟器之间的连接。In addition, in the prior art, all SIM cards in the host are connected to the application framework layer in the host, and all SIM cards are visible in the host. Under this premise, the virtual machine can only access the SIM card in the host through the host, thereby performing voice calls and the like through the SIM card. In order to assign the SIM card in the host to the virtual machine, so that the SIM card is only visible in the virtual machine, is not visible in the host, and allows the virtual machine to directly access the SIM card without accessing the SIM card through the host, Before the receiving the virtual machine access request to the virtual wireless interface daemon, the method further includes: determining the target SIM card among the plurality of SIM cards in the host; making the target SIM card invisible in the host; Establishing a connection between the target SIM card and the simulator.
在本示例性实施例中,所述目标SIM卡可以为多个SIM卡中的任意一个SIM卡,也可以为多个SIM卡中指定的一个SIM卡。在确定目标SIM卡后,首先,断开目标SIM卡与主机中的应用框架层连接,使目标SIM卡在所述主机中不可见,然后可以利用设备直接分配技术(即passthrough技术)建立所述目标SIM卡与所述模拟器之间的连接。所述设备直接分配技术(即passthrough技术)可以将硬件设备独占式地分配给指定的域,使该域具有较高的I/O访问性能,即使虚拟机可以直接操纵硬件设备。In the exemplary embodiment, the target SIM card may be any one of a plurality of SIM cards, or may be one of the plurality of SIM cards. After determining the target SIM card, first, disconnect the target SIM card from the application framework layer in the host, so that the target SIM card is invisible in the host, and then the device can be established by the device direct allocation technology (ie, passthrough technology). The connection between the target SIM card and the simulator. The device direct allocation technology (ie, passthrough technology) can exclusively allocate hardware devices to a specified domain, so that the domain has high I/O access performance even if the virtual machine can directly manipulate the hardware device.
例如,图2示出了将包括两个SIM卡的主机中的第二SIM卡分配给虚拟机的示意图。在图2中,主机包括:应用层201、服务层202、应用框架层203、第一SIM卡204、第二SIM卡205、与第一SIM卡对应的第一实际无线接口守护进程207、与第二SIM卡对应的第二实际无线接口守护进程208、模拟器206、驱动层209以及基带芯片210。虚拟机包括虚拟应用层211、虚拟服务层212、虚拟应用框架层213以及一虚拟无线接口守护进程214。其中,第一SIM卡204与主机的应用框架层203连接,第二SIM卡205与模拟器206连接,模拟器206通过goldfish pipe与虚拟机的虚拟无线接口守护进程214连接。从图2中可以清晰的看到,第一SIM卡204被主机调用,且仅在主机中可见,第二SIM卡205被虚拟机调用,且仅在虚拟机中可见。For example, FIG. 2 shows a schematic diagram of assigning a second SIM card among hosts including two SIM cards to a virtual machine. In FIG. 2, the host includes: an application layer 201, a service layer 202, an application framework layer 203, a first SIM card 204, a second SIM card 205, a first actual wireless interface daemon 207 corresponding to the first SIM card, and The second SIM card corresponds to the second actual wireless interface daemon 208, the simulator 206, the driver layer 209, and the baseband chip 210. The virtual machine includes a virtual application layer 211, a virtual service layer 212, a virtual application framework layer 213, and a virtual wireless interface daemon 214. The first SIM card 204 is connected to the application framework layer 203 of the host, the second SIM card 205 is connected to the simulator 206, and the simulator 206 is connected to the virtual wireless interface daemon 214 of the virtual machine through the goldfish pipe. As can be clearly seen from Figure 2, the first SIM card 204 is called by the host and is only visible in the host, the second SIM card 205 is called by the virtual machine and is only visible in the virtual machine.
在步骤S120中、所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器。In step S120, the virtual wireless interface daemon forwards the access request to the simulator through a communication pipeline.
在本示例性实施例中,所述通信管道可以包括goldfish pipe等,所述模拟器可以为安卓模拟器(即qemu)等。所述goldfish pipe可以提供虚拟机的虚拟无线接口守护进程与模拟器之间的高速通信功能。goldfish pipe在虚拟机中为一个字符设备,虚拟机对该字符设备的访问被转到模拟器中,而由于模拟器可以与主机之间建立各种通信链路,例如tcp、udp、unix socket等通信链路中的任意一种,因此,goldfish pipe在虚拟机和主机之间起到了管道作用。In the present exemplary embodiment, the communication pipe may include a goldfish pipe or the like, and the simulator may be an Android simulator (ie, qemu) or the like. The goldfish pipe can provide high-speed communication between the virtual wireless interface daemon of the virtual machine and the simulator. The goldfish pipe is a character device in the virtual machine. The virtual machine accesses the character device to the simulator, and the simulator can establish various communication links with the host, such as tcp, udp, unix socket, etc. Any of the communication links, so the goldfish pipe acts as a conduit between the virtual machine and the host.
在步骤S130中、通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。In step S130, the target SIM card in the host is invoked by the simulator to process the access request.
在本示例性实施例中,所述主机可以包括基带芯片,该基带芯片的数量可以为一个,还可以为多个,本示例性实施例对此不作特殊限定,需要说明的是,所述基带芯片的数量的上限为主机中的SIM卡的数量。所述基带芯片可以用来合成即将发射的基带信号,或对接收到的基带信号进行解码。具体地说,在发射时,把音频信号编译成用来发射的基带码;在接收时,把收到的基带码解译为音频信号,同时,也负责地址信息(手机号、网站地址)、文字信息(短讯文字、网站文字)、图片信息灯的编译。基于此,如图3所示,所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求可以包括:In the present exemplary embodiment, the host may include a baseband chip, and the number of the baseband chips may be one, or may be multiple. The exemplary embodiment is not limited thereto, and the baseband is required to be described. The upper limit of the number of chips is the number of SIM cards in the host. The baseband chip can be used to synthesize the baseband signal to be transmitted or to decode the received baseband signal. Specifically, at the time of transmission, the audio signal is compiled into a baseband code for transmission; at the time of reception, the received baseband code is interpreted as an audio signal, and at the same time, the address information (mobile phone number, website address) is also responsible. Compilation of text information (short text, website text) and picture information lights. Based on this, as shown in FIG. 3, the calling the target SIM card in the host by the simulator to process the access request may include:
步骤S310、通过所述模拟器将所述访问请求转发至所述目标SIM卡。在本示例性实施例中,具体的,可以通过所述模拟器并利用tcp、udp、unix socket、goldfish pipe中的任意一种将所述访问请求转发至所述目标SIM卡。Step S310, forwarding, by the simulator, the access request to the target SIM card. In the present exemplary embodiment, specifically, the access request may be forwarded to the target SIM card by the simulator and using any one of tcp, udp, unix socket, and goldfish pipe.
步骤S320、通过所述目标SIM卡将所述访问请求下报至与所述目标SIM卡对应的实际无线接口守护进程。Step S320: Report the access request to the actual wireless interface daemon corresponding to the target SIM card by using the target SIM card.
步骤S330、通过与所述目标SIM卡对应的实际无线接口守护进程调用所述基带芯片以处理所述访问请求。在本示例性实施例中,在与目标SIM卡对应的实际无线接口守护进程接收到访问请求之后,由vendor-ril.so将访问请求转换为基带芯片可以识别的AT命令或其他格式的命令,并通过与目标SIM卡对应的实际无线接口守护进程调用基带芯片,以将AT命令或其他格式的命令传输至基带芯片,以使基带芯片处理访问请求。例如,在访问请求为发送短息请求时,根据发送短息请求中的目标对象的地址向目标对象发送发送短息请求中的短信内容。Step S330, calling the baseband chip by an actual wireless interface daemon corresponding to the target SIM card to process the access request. In the present exemplary embodiment, after the actual wireless interface daemon corresponding to the target SIM card receives the access request, the access request is converted by the vendor-ril.so into an AT command or other format command that the baseband chip can recognize. And the baseband chip is called by the actual wireless interface daemon corresponding to the target SIM card to transmit the AT command or other format commands to the baseband chip, so that the baseband chip processes the access request. For example, when the access request is a short message request, the short message content in the short message request is sent to the target object according to the address of the target object in the short message request.
另外,在所述多个SIM卡对应一个所述基带芯片时,若所述访问请求由所述多个SIM卡协同完成,所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求可以包括:通过所述模拟器将所述访问请求转发至所述目标SIM卡;通过所述目标SIM卡调用一预设通信机制以处理所述访问请求。In addition, when the plurality of SIM cards correspond to one of the baseband chips, if the access request is coordinated by the plurality of SIM cards, the simulator calls a target SIM card in the host to process the The access request may include forwarding the access request to the target SIM card by the simulator; invoking a predetermined communication mechanism by the target SIM card to process the access request.
在本示例性实施例中,由多个SIM卡协同完成的访问请求可以包括在多个SIM卡之间切换4G网络的请求、底层协议栈切换的请求以及关闭虚拟机的请求等。所述预设通信机制例如可以为远程过程调用机制(即RPC)等,本示例性实施例对此不作特殊限定。所述通过所述模拟器将所述访问请求转发至所述目标SIM卡的过程已在上述过程中进行了说明,因此不再赘述。In the present exemplary embodiment, an access request coordinated by a plurality of SIM cards may include a request to switch a 4G network between a plurality of SIM cards, a request for an underlying protocol stack switch, a request to close a virtual machine, and the like. The preset communication mechanism may be, for example, a remote procedure call mechanism (ie, RPC) or the like, which is not specifically limited in this exemplary embodiment. The process of forwarding the access request to the target SIM card by the simulator has been described in the above process, and therefore will not be described again.
需要说明的是,在多个SIM卡对应一个基带芯片时,若所述访问请求不由多个SIM卡协同完成,所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求的过程如上述步骤S310~330所述。It should be noted that, when a plurality of SIM cards correspond to one baseband chip, if the access request is not cooperatively completed by multiple SIM cards, the target SIM card in the host is invoked by the simulator to process the access request. The process is as described in steps S310-330 above.
此外,如果所述访问请求无法通过与所述目标SIM卡对应的实际无线接口守护进程和所述基带芯片进行传输,则可以通过所述模拟器将所述访问请求转发至所述目标SIM卡,并通过所述目标SIM卡调用一远程过程调用协议以处理所述访问请求。所述通过所述模拟器将所述访问请求转发至所述目标SIM卡的过程已在上述过程中进行了说明,因此不再赘述。In addition, if the access request cannot be transmitted through the actual wireless interface daemon and the baseband chip corresponding to the target SIM card, the access request may be forwarded to the target SIM card by the simulator. And calling a remote procedure call protocol through the target SIM card to process the access request. The process of forwarding the access request to the target SIM card by the simulator has been described in the above process, and therefore will not be described again.
综上所述,虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器,并通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求,使得虚拟机可以直接访问目标SIM卡,在硬件上很好的对主机和虚拟机进行了隔离。In summary, the virtual wireless interface daemon forwards the access request to the simulator through the communication pipeline, and invokes the target SIM card in the host through the simulator to process the access request, so that the virtual machine can directly access the target. SIM card, the host and virtual machine are well isolated on the hardware.
此外,如图4所示,所述方法还可以包括以下步骤:In addition, as shown in FIG. 4, the method may further include the following steps:
步骤S410、所述目标SIM卡接收访问请求,并将所述收访问请求转发至所述模拟器。Step S410: The target SIM card receives an access request, and forwards the received access request to the simulator.
步骤S420、所述模拟器通过所述通信管道将所述访问请求转到所述虚拟无线接口守护进程,以处理所述访问请求。Step S420: The simulator forwards the access request to the virtual wireless interface daemon through the communication pipeline to process the access request.
在主机中的目标SIM卡接收到访问请求时,将该访问请求转发至模拟器,模拟器通过通信管道将访问请求转到虚拟无线接口守护进程,以使虚拟机处理该访问请求。例如,访问请求为显示短信的请求时,虚拟机将显示短信的请求中的短信内容显示在移动终端的显示屏幕上。When the target SIM card in the host receives the access request, the access request is forwarded to the simulator, and the simulator forwards the access request to the virtual wireless interface daemon through the communication pipe, so that the virtual machine processes the access request. For example, when the access request is a request to display a short message, the virtual machine displays the short message content in the request for displaying the short message on the display screen of the mobile terminal.
本示例的实施方式中还提供了一种虚拟SIM卡的实现装置,参照图5所示,该装置500可以包括:接收模块501、转发模块502以及调用模块503,其中:An implementation of the virtual SIM card is also provided in the embodiment of the present example. Referring to FIG. 5, the apparatus 500 may include: a receiving module 501, a forwarding module 502, and a calling module 503, where:
接收模块501,可以设置为接收虚拟机对虚拟无线接口守护进程的访问请求;The receiving module 501 can be configured to receive an access request of the virtual machine to the virtual wireless interface daemon.
转发模块502,可以设置为所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;The forwarding module 502 can be configured to: the virtual wireless interface daemon sends the access request to the simulator through a communication pipeline;
调用模块503,可以设置为通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。The calling module 503 can be configured to invoke the target SIM card in the host through the simulator to process the access request.
上述中各虚拟SIM卡的实现装置模块的具体细节已经在对应的虚拟SIM卡的实现方法中进行了详细的描述,因此此处不再赘述。The specific details of the implementation module of each virtual SIM card in the above are described in detail in the implementation method of the corresponding virtual SIM card, and thus are not described herein again.
此外,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。In addition, although the various steps of the method of the present disclosure are described in a particular order in the drawings, this is not required or implied that the steps must be performed in the specific order, or all the steps shown must be performed to achieve the desired. result. Additionally or alternatively, certain steps may be omitted, multiple steps being combined into one step execution, and/or one step being decomposed into multiple step executions and the like.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个 模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of equipment for action execution are mentioned in the detailed description above, such division is not mandatory. Indeed, in accordance with embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above may be further divided into multiple modules or units.
在本公开的示例性实施例中,还提供了一种能够实现上述方法的电子设备。In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art will appreciate that various aspects of the present invention can be implemented as a system, method, or program product. Therefore, various aspects of the present invention may be embodied in the form of a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein. "Circuit," "module," or "system."
下面参照图6来描述根据本发明的这种实施方式的电子设备600。图6显示的电子设备600仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。An electronic device 600 in accordance with such an embodiment of the present invention is described below with reference to FIG. The electronic device 600 shown in FIG. 6 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图6所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:上述至少一个处理单元610、上述至少一个存储单元620、连接不同系统组件(包括存储单元620和处理单元610)的总线630、显示单元640。As shown in Figure 6, electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to, the at least one processing unit 610, the at least one storage unit 620, the bus 630 connecting the different system components (including the storage unit 620 and the processing unit 610), and the display unit 640.
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元610执行,使得所述处理单元610执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。例如,所述处理单元610可以执行如图1中所示的步骤S110、接收虚拟机对虚拟无线接口守护进程的访问请求;步骤S120、所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;步骤S130、通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。Wherein, the storage unit stores program code, which can be executed by the processing unit 610, such that the processing unit 610 performs various exemplary embodiments according to the present invention described in the "Exemplary Method" section of the present specification. The steps of the embodiment. For example, the processing unit 610 may perform step S110 shown in FIG. 1 to receive an access request of the virtual machine to the virtual wireless interface daemon; and step S120, the virtual wireless interface daemon sends the access request through a communication pipeline. Going to the simulator; step S130, calling the target SIM card in the host by the simulator to process the access request.
存储单元620可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)6201和/或高速缓存存储单元6202,还可以进一步包括只读存储单元(ROM)6203。The storage unit 620 can include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 6201 and/or a cache storage unit 6202, and can further include a read only storage unit (ROM) 6203.
存储单元620还可以包括具有一组(至少一个)程序模块6205的程序/实用工具6204,这样的程序模块6205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 620 can also include a program/utility 6204 having a set (at least one) of the program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more applications, other program modules, and program data, Implementations of the network environment may be included in each or some of these examples.
总线630可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。 Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures. bus.
电子设备600也可以与一个或多个外部设备670(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备600还可以通过网络适配器660与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器660通过总线 630与电子设备600的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 600 can also communicate with one or more external devices 670 (eg, a keyboard, pointing device, Bluetooth device, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 600, and/or with The electronic device 600 is enabled to communicate with any device (e.g., router, modem, etc.) that is in communication with one or more other computing devices. This communication can take place via an input/output (I/O) interface 650. Also, electronic device 600 can communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through network adapter 660. As shown, network adapter 660 communicates with other modules of electronic device 600 via bus 630. It should be understood that although not shown in the figures, other hardware and/or software modules may be utilized in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives. And data backup storage systems, etc.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施方式的方法。Through the description of the above embodiments, those skilled in the art will readily understand that the example embodiments described herein may be implemented by software or by software in combination with necessary hardware. Therefore, the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network. A number of instructions are included to cause a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to perform a method in accordance with an embodiment of the present disclosure.
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。In an exemplary embodiment of the present disclosure, there is also provided a computer readable storage medium having stored thereon a program product capable of implementing the above method of the present specification. In some possible implementations, aspects of the present invention may also be embodied in the form of a program product comprising program code for causing said program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section of the present specification.
参考图7所示,描述了根据本发明的实施方式的用于实现上述方法的程序产品700,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Referring to FIG. 7, a program product 700 for implementing the above method, which may employ a portable compact disk read only memory (CD-ROM) and includes program code, and may be in a terminal device, is illustrated in accordance with an embodiment of the present invention. For example running on a personal computer. However, the program product of the present invention is not limited thereto, and in the present document, the readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product can employ any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、 光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium can be transmitted by any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, etc., including conventional procedural Programming language—such as the "C" language or a similar programming language. The program code can execute entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the remote computing device on the user computing device, or entirely on the remote computing device or server. Execute on. In the case of a remote computing device, the remote computing device can be connected to the user computing device via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computing device (eg, provided using an Internet service) Businesses are connected via the Internet).
此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。Further, the above-described drawings are merely illustrative of the processes included in the method according to the exemplary embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processing shown in the above figures does not indicate or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be performed synchronously or asynchronously, for example, in a plurality of modules.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施例。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the present disclosure will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the disclosure and include common general knowledge or common technical means in the art that are not disclosed in the present disclosure. . The specification and examples are to be regarded as illustrative only,
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限。本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由所附的权利要求指出。It is to be understood that the invention is not limited to the details of the details and The scope of the disclosure is to be limited only by the appended claims. Other embodiments of the present disclosure will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the disclosure and include common general knowledge or common technical means in the art that are not disclosed in the present disclosure. . The specification and examples are to be regarded as illustrative only,

Claims (12)

  1. 一种虚拟SIM卡的实现方法,所述方法包括:A method for implementing a virtual SIM card, the method comprising:
    接收虚拟机对虚拟无线接口守护进程的访问请求;Receiving an access request of the virtual machine to the virtual wireless interface daemon;
    所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;The virtual wireless interface daemon forwards the access request to the simulator through a communication pipeline;
    通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。The target SIM card in the host is invoked by the simulator to process the access request.
  2. 根据权利要求1所述的虚拟SIM卡的实现方法,在所述接收虚拟机对虚拟无线接口守护进程的访问请求之前还包括:The method for implementing a virtual SIM card according to claim 1, further comprising: before the receiving the access request of the virtual machine to the virtual wireless interface daemon:
    在所述主机中的多个SIM卡中确定所述目标SIM卡;Determining the target SIM card in a plurality of SIM cards in the host;
    使目标SIM卡在所述主机中不可见;Making the target SIM card invisible in the host;
    建立所述目标SIM卡与所述模拟器之间的连接。Establishing a connection between the target SIM card and the simulator.
  3. 根据权利要求1所述的虚拟SIM卡的实现方法,所述通信管道包括goldfish pipe。The method for implementing a virtual SIM card according to claim 1, wherein the communication pipeline comprises a goldfish pipe.
  4. 根据权利要求2所述的虚拟SIM卡的实现方法,所述主机包括基带芯片;The method for implementing a virtual SIM card according to claim 2, wherein the host comprises a baseband chip;
    所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求包括:The calling the target SIM card in the host by the simulator to process the access request includes:
    通过所述模拟器将所述访问请求转发至所述目标SIM卡;Forwarding the access request to the target SIM card by the simulator;
    通过所述目标SIM卡将所述访问请求下报至与所述目标SIM卡对应的实际无线接口守护进程;And reporting, by the target SIM card, the access request to an actual wireless interface daemon corresponding to the target SIM card;
    通过与所述目标SIM卡对应的实际无线接口守护进程调用所述基带芯片以处理所述访问请求。The baseband chip is invoked by an actual wireless interface daemon corresponding to the target SIM card to process the access request.
  5. 根据权利要求4所述的虚拟SIM卡的实现方法,所述多个SIM卡对应一个所述基带芯片;The method for implementing a virtual SIM card according to claim 4, wherein the plurality of SIM cards correspond to one of the baseband chips;
    若所述访问请求由所述多个SIM卡协同完成,所述通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求包括:If the access request is coordinated by the multiple SIM cards, the calling the target SIM card in the host by the simulator to process the access request includes:
    通过所述模拟器将所述访问请求转发至所述目标SIM卡;Forwarding the access request to the target SIM card by the simulator;
    通过所述目标SIM卡调用一预设通信机制以处理所述访问请求。A predetermined communication mechanism is invoked by the target SIM card to process the access request.
  6. 根据权利要求4所述的虚拟SIM卡的实现方法,所述方法还包括:The method for implementing a virtual SIM card according to claim 4, the method further comprising:
    如果所述访问请求无法通过与所述目标SIM卡对应的实际无线接口守护进程和所述基带芯片进行传输,则通过所述模拟器将所述访问请求转发至所述目标SIM卡;And if the access request cannot be transmitted by the actual wireless interface daemon and the baseband chip corresponding to the target SIM card, forwarding the access request to the target SIM card by using the simulator;
    通过所述目标SIM卡调用一远程过程调用协议以处理所述访问请求。A remote procedure call protocol is invoked by the target SIM card to process the access request.
  7. 根据权利要求1所述的虚拟SIM卡的实现方法,所述方法还包括:The method for implementing a virtual SIM card according to claim 1, further comprising:
    所述目标SIM卡接收访问请求,并将所述访问请求转发至所述模拟器;The target SIM card receives an access request and forwards the access request to the simulator;
    所述模拟器通过所述通信管道将所述访问请求转到所述虚拟无线接口守护进程,以处理所述访问请求。The simulator forwards the access request to the virtual wireless interface daemon through the communication conduit to process the access request.
  8. 根据权利要求1~7中任一项所述的虚拟SIM卡的实现方法,所述模拟器为安卓模拟器。The method for implementing a virtual SIM card according to any one of claims 1 to 7, wherein the simulator is an Android simulator.
  9. 根据权利要求4~6中任一项所述的虚拟SIM卡的实现方法,所述通过所述模拟器将所述访问请求转发至所述目标SIM卡包括:The method for implementing the virtual SIM card according to any one of claims 4 to 6, wherein the forwarding, by the simulator, the access request to the target SIM card comprises:
    通过所述模拟器并利用tcp、udp、unix socket、goldfish pipe中的任意一种将所述访问请求转发至所述目标SIM卡。The access request is forwarded to the target SIM card by the simulator and using any of tcp, udp, unix socket, and goldfish pipe.
  10. 一种虚拟SIM卡的实现装置,所述装置包括:A device for implementing a virtual SIM card, the device comprising:
    接收模块,设置为接收虚拟机对虚拟无线接口守护进程的访问请求;a receiving module, configured to receive an access request of the virtual machine to the virtual wireless interface daemon;
    转发模块,设置为所述虚拟无线接口守护进程通过通信管道将所述访问请求转到模拟器;a forwarding module, configured to: the virtual wireless interface daemon sends the access request to the simulator through a communication pipeline;
    调用模块,设置为通过所述模拟器调用主机中的目标SIM卡以处理所述访问请求。The calling module is configured to invoke the target SIM card in the host by the simulator to process the access request.
  11. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1~9中任意一项所述的虚拟SIM卡的实现方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the virtual SIM card according to any one of claims 1 to 9.
  12. 一种电子设备,包括:An electronic device comprising:
    处理器;以及Processor;
    存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions of the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1~9中任意一项所述虚拟SIM卡的实现方法。The processor is configured to execute the method for implementing the virtual SIM card according to any one of claims 1 to 9 by executing the executable instruction.
PCT/CN2017/120171 2017-12-29 2017-12-29 Method and apparatus for implementing virtual sim card, storage medium, and electronic device WO2019127475A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780002413.5A CN108235822B (en) 2017-12-29 2017-12-29 Virtual SIM card implementation method and device, storage medium and electronic equipment
PCT/CN2017/120171 WO2019127475A1 (en) 2017-12-29 2017-12-29 Method and apparatus for implementing virtual sim card, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/120171 WO2019127475A1 (en) 2017-12-29 2017-12-29 Method and apparatus for implementing virtual sim card, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2019127475A1 true WO2019127475A1 (en) 2019-07-04

Family

ID=62643182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/120171 WO2019127475A1 (en) 2017-12-29 2017-12-29 Method and apparatus for implementing virtual sim card, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN108235822B (en)
WO (1) WO2019127475A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090487A (en) * 2021-11-26 2022-02-25 上海星融汽车科技有限公司 Communication method, device and system of android simulator and diagnosis equipment, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160213A (en) * 2014-06-11 2015-12-16 中国移动通信集团公司 Terminal starting method and terminal thereof
US20160007188A1 (en) * 2014-09-17 2016-01-07 Simless, Inc. Apparatuses, methods and systems for implementing a trusted subscription management platform
CN107077378A (en) * 2016-03-25 2017-08-18 深圳前海达闼云端智能科技有限公司 Communication method, device, electronic equipment and program product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296445A (en) * 2007-04-26 2008-10-29 群联电子股份有限公司 Method for providing universal platform for communication terminal application program
US8438256B2 (en) * 2009-06-26 2013-05-07 Vmware, Inc. Migrating functionality in virtualized mobile devices
CN105653349A (en) * 2015-12-30 2016-06-08 深圳市创想天空科技股份有限公司 Multi-application opening type pipeline communication control method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160213A (en) * 2014-06-11 2015-12-16 中国移动通信集团公司 Terminal starting method and terminal thereof
US20160007188A1 (en) * 2014-09-17 2016-01-07 Simless, Inc. Apparatuses, methods and systems for implementing a trusted subscription management platform
CN107077378A (en) * 2016-03-25 2017-08-18 深圳前海达闼云端智能科技有限公司 Communication method, device, electronic equipment and program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Technical Specification Group Services and System Aspects ; Pilot Development of Security Assurance Specification (SCAS)for MME Network Product Class (Release 13", 3GPP. '' TR 33.806 V0.9.0, vol. SA WG3, no. V0.9.0, 30 June 2015 (2015-06-30), pages 1 - 166, XP050995865 *

Also Published As

Publication number Publication date
CN108235822B (en) 2021-02-05
CN108235822A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN108124475B (en) Virtual system Bluetooth communication method and device, virtual system, storage medium and electronic equipment
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
US8762544B2 (en) Selectively communicating data of a peripheral device to plural sending computers
WO2021013243A1 (en) Method for starting mini program, device, and computer storage medium
WO2023284699A1 (en) Protocol stack data transmission method based on linux system, and computer device and storage medium
US20220214932A1 (en) Methods, devices and computer storage media for inter-mini program platform communication
US9128893B2 (en) Remote direct memory access socket aggregation
CN110770708A (en) Method and apparatus for hardware virtualization
US20120236012A1 (en) Method and Device for Displaying Application Image
US11055154B2 (en) Screen-shooting method and device for guest operating system in computer apparatus
WO2023179508A1 (en) Data processing method and apparatus, readable medium and electronic device
US7958293B2 (en) Virtualized serial attached SCSI adapter
CN115309511B (en) Xen-based data interaction method and device, storage medium and electronic equipment
US20140351833A1 (en) Multi-computing environment operating on a single native operating system
KR102214698B1 (en) Servers and computer programs for debugging of native programs and virtual machine programs on integrated development environment
CN113778593B (en) Cloud desktop control method and device, electronic equipment, storage medium and program product
WO2019127475A1 (en) Method and apparatus for implementing virtual sim card, storage medium, and electronic device
US20180052700A1 (en) Facilitation of guest application display from host operating system
CN116257320B (en) DPU-based virtualization configuration management method, device, equipment and medium
WO2023060956A1 (en) Method and apparatus for simulating bluetooth behavior, and device
CN116450554A (en) Interrupt processing method, root complex device and electronic device
CN114116263A (en) System, method, apparatus, and medium for multi-page tag communication in a browser
CN115237481A (en) Method, device and equipment for driving external equipment and storage medium
US20210243245A1 (en) Redirection of usb devices from hardware isolated virtual desktop infrastructure clients
CN113835816A (en) Virtual machine desktop display method, device, equipment and readable storage medium

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: 17936829

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17936829

Country of ref document: EP

Kind code of ref document: A1