CN108235822A - The implementation method and device of virtual SIM card, storage medium, electronic equipment - Google Patents
The implementation method and device of virtual SIM card, storage medium, electronic equipment Download PDFInfo
- Publication number
- CN108235822A CN108235822A CN201780002413.5A CN201780002413A CN108235822A CN 108235822 A CN108235822 A CN 108235822A CN 201780002413 A CN201780002413 A CN 201780002413A CN 108235822 A CN108235822 A CN 108235822A
- Authority
- CN
- China
- Prior art keywords
- sim card
- access request
- virtual
- simulator
- targeted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
This disclosure relates to the implementation method and device of virtual machine technique field more particularly to a kind of virtual SIM card, storage medium, electronic equipment.This method can include:Receive access request of the virtual machine to virtual radio interface finger daemon;The access request is gone to simulator by the virtual radio interface finger daemon by communication pipe;The targeted SIM card in host is called to handle the access request by the simulator.The disclosure allows virtual machine directly access target SIM card, and host and virtual machine are isolated well on hardware.
Description
Technical field
This disclosure relates to virtual machine technique field more particularly to a kind of virtual SIM (Subscriber
Identification Module, subscriber identification module) card implementation method and device, storage medium, electronic equipment.
Background technology
Virtualization technology can make the hardware resource of the shared machine of multiple systems (for example, host and virtual machine), each system
System is mutual indepedent, is independent of each other, that is, plays good buffer action, also substantially increases the resource utilization of system.
At present, when realizing virtual SIM card using container technique, generally all by the way of share and access, i.e., multiple systems
System (for example, host and virtual machine) uses identical SIM card.Obviously since multiple systems in container technique are shared in same
Core has good buffer action between multiple systems in software view, but without good buffer action on hardware.
Accordingly, it is desirable to provide a kind of implementation method of virtual SIM card that multiple systems can be isolated on hardware.
It should be noted that information is only used for strengthening the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore can include not forming the information to the prior art known to persons of ordinary skill in the art.
Invention content
The implementation method for being designed to provide a kind of virtual SIM card and device of the disclosure, storage medium, electronic equipment,
And then one or more is overcome the problems, such as caused by the limitation of the relevant technologies and defect at least to a certain extent.
According to one aspect of the disclosure, a kind of implementation method of virtual SIM card is provided, the method includes:
Receive access request of the virtual machine to virtual radio interface finger daemon;
The access request is gone to simulator by the virtual radio interface finger daemon by communication pipe;
The targeted SIM card in host is called to handle the access request by the simulator.
In a kind of exemplary embodiment of the disclosure, in the reception virtual machine to virtual radio interface finger daemon
It is further included before access request:
The targeted SIM card is determined in multiple SIM cards in the host;
Make targeted SIM card invisible in the host;
Establish the connection between the targeted SIM card and the simulator.
In a kind of exemplary embodiment of the disclosure, the communication pipe includes goldfish pipe (pipeline).
In a kind of exemplary embodiment of the disclosure, the host includes baseband chip;
It is described the targeted SIM card in host to be called to include to handle the access request by the simulator:
The access request is forwarded to by the targeted SIM card by the simulator;
Report to actual wireless corresponding with the targeted SIM card under the access request is connect by the targeted SIM card
Mouth finger daemon;
The baseband chip is called to handle by actual wireless interface finger daemon corresponding with the targeted SIM card
State access request.
In a kind of exemplary embodiment of the disclosure, the multiple SIM card corresponds to a baseband chip;
It is described to be called in host by the simulator if the access request is cooperateed with by the multiple SIM card and completed
Targeted SIM card is included with handling the access request:
The access request is forwarded to by the targeted SIM card by the simulator;
A default communication mechanism is called to handle the access request by the targeted SIM card.
In a kind of exemplary embodiment of the disclosure, the method further includes:
If the access request can not pass through actual wireless interface finger daemon corresponding with the targeted SIM card and institute
It states baseband chip to be transmitted, then the access request is forwarded to by the targeted SIM card by the simulator;
A remote procedure call protocol is called to handle the access request by the targeted SIM card.
In a kind of exemplary embodiment of the disclosure, the method further includes:
The targeted SIM card receives access request, and the access request is forwarded to the simulator;
The access request is gone to the virtual radio interface finger daemon by the simulator by communication pipe, with place
Manage the access request.
In a kind of exemplary embodiment of the disclosure, the simulator is Android simulator.
It is described that the access request is forwarded to by institute by the simulator in a kind of exemplary embodiment of the disclosure
Targeted SIM card is stated to include:
By the simulator and using tcp (Transmission Control Protocol transmission control protocols),
Udp (User Datagram Protocol User Datagram Protocol), unix socket (interprocess communication), goldfish
The access request is forwarded to the targeted SIM card by any one in pipe (pipeline).
According to one aspect of the disclosure, a kind of realization device of virtual SIM card is provided, described device includes:
Receiving module is set as receiving access request of the virtual machine to virtual radio interface finger daemon;
Forwarding module is set as the virtual radio interface finger daemon and is gone to the access request by communication pipe
Simulator;
Calling module is set as the targeted SIM card in host being called to handle the access request by the simulator.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, is stored thereon with computer program,
The computer program realizes the implementation method of the virtual SIM card described in above-mentioned any one when being executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to perform via the executable instruction is performed virtual described in above-mentioned any one
The implementation method of SIM card.
As shown from the above technical solution, the implementation method for a kind of virtual SIM card that the disclosure provides, actively advantage and effect
Fruit is:
The implementation method for the virtual SIM card that the disclosure provides, virtual radio interface finger daemon is by communication pipe by institute
It states access request and goes to simulator, and the targeted SIM card in host is called to handle the access request by the simulator,
Allow virtual machine directly access target SIM card, host and virtual machine are isolated well on hardware.
Other characteristics and advantages of the disclosure will be by the following detailed description apparent from or partially by the disclosure
Practice and acquistion.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and for explaining the principle of the disclosure together with specification.It should be evident that the accompanying drawings in the following description is only the disclosure
Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is the flow chart of the implementation method of a kind of virtual SIM card provided in one exemplary embodiment of the disclosure;
The second SIM card in host is distributed to showing for virtual machine by Fig. 2 for what is provided in one exemplary embodiment of the disclosure
It is intended to;
Fig. 3 calls the targeted SIM card in host to locate for what is provided in one exemplary embodiment of the disclosure by simulator
Manage the flow chart of access request;
Fig. 4 is the flow chart of the implementation method of a kind of virtual SIM card provided in disclosure another exemplary embodiment;
Fig. 5 is the block diagram of the realization device of a kind of virtual SIM card provided in one exemplary embodiment of the disclosure;
Fig. 6 is the module diagram of the electronic equipment in one exemplary embodiment of the disclosure;
Fig. 7 is the program product schematic diagram in one exemplary embodiment of the disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, these embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be in any suitable manner incorporated in one or more embodiments.In the following description, it provides perhaps
More details fully understand embodiment of the present disclosure so as to provide.It it will be appreciated, however, by one skilled in the art that can
One or more in the specific detail are omitted with technical solution of the disclosure or others side may be used
Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and
So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note represents same or similar part, thus will omit repetition thereof.Attached some block diagrams shown in figure are work(
Can entity, not necessarily must be corresponding with physically or logically independent entity.Software form may be used to realize these work(
Entity or these functional entitys can be realized in one or more hardware modules or integrated circuit or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
Term "one", " one ", "the" and " described " to represent there are one or more elements/component part/etc.;With
Language " comprising " and " having " to represent it is open be included look like and refer to element/composition portion in addition to listing
Also may be present except divide/waiting other element/component part/etc.;Term " first " and " second " etc. are only used as label, no
It is the quantity limitation to its object.
Operating system can be divided into two classes, and one kind is native system (host system), the i.e. system of host, is properly termed as
HostOS, Host system, Host ends or host, host system can be Windows systems, linux system or android system
Deng.One kind is parasitic system, i.e. virtual system (virtual machine);Virtual system be referred to as GuestOS, Guest system or
Guest ends;Virtual system can be android system etc..
A kind of implementation method of virtual SIM card is disclosed in the present exemplary embodiment first, can be applied to be based on
Virtual system sets hardware in Windows systems, the mobile phone of linux system or android system, tablet or other intelligent terminals
Standby control, especially to the control of SIM card.Each virtual system has respectively independent operating system, and each virtual system has certainly
Oneself independent kernel control and user's space and storage are set.With reference to shown in Fig. 1, this method may comprise steps of:
Step S110, access request of the virtual machine to virtual radio interface finger daemon is received;
The access request is gone to simulation by step S120, described virtual radio interface finger daemon by communication pipe
Device;
Step S130, the targeted SIM card in host is called to handle the access request by the simulator.
The implementation method of virtual SIM card according to the present exemplary embodiment, virtual radio interface finger daemon pass through logical
The access request is gone to simulator by fuse tube road, and is passed through the simulator and called the targeted SIM card in host to handle
State access request so that virtual machine can direct access target SIM card, host and virtual machine are carried out well on hardware
Isolation.
Next, with reference to Fig. 1, the implementation method of the virtual SIM card in the present exemplary embodiment is described further.
In step s 110, access request of the virtual machine to virtual radio interface finger daemon is received.
In the present example embodiment, virtual machine can send according to the operational order of user and virtual radio interface is guarded
The access request of process;And virtual machine can be received by a receiving module, the access of virtual radio interface finger daemon is asked
It asks.The operational order of user can be the example that user is sent by input equipments such as Touch Screen, keyboard, styluses to virtual machine
Such as send it is short cease, make a phone call, transmitting picture, video calling instruction, the present exemplary embodiment is not particularly limited this.
In addition, in the prior art, all SIM cards in host are connect with the application framework layer in host, all SIM
Card is visible in host.Under the premise of herein, virtual machine can only access the SIM card in host by host, so as to pass through
SIM card carries out the operations such as voice communication.In order to which the SIM card in host is distributed to virtual machine, so that the SIM card is only in virtual machine
In as it can be seen that invisible in host and virtual machine is allow directly to access the SIM card, and without accessing the SIM by host
Card can also include before the reception virtual machine is to the access request of virtual radio interface finger daemon:In the host
In multiple SIM cards in determine the targeted SIM card;Make targeted SIM card invisible in the host;Establish the target
Connection between SIM card and the simulator.
In the present example embodiment, the targeted SIM card can be any one SIM card in multiple SIM cards, also may be used
Think the SIM card specified in multiple SIM cards.After targeted SIM card is determined, first, disconnect in targeted SIM card and host
Application framework layer connects, and makes targeted SIM card invisible in the host, then can utilize the direct distribution technique of equipment (i.e.
Passthrough technologies) establish connection between the targeted SIM card and the simulator.The direct distribution technique of equipment
Hardware device can be distributed to the domain specified by (i.e. passthrough technologies) with monopolizing formula, make the domain that there is higher I/O to visit
Performance is asked, even if virtual machine can directly manipulate hardware device.
For example, Fig. 2 shows the schematic diagrames that the second SIM card in the host including two SIM cards is distributed to virtual machine.
In fig. 2, host includes:Application layer 201, service layer 202, application framework layer 203, the first SIM card 204, the second SIM card 205,
The first actual wireless interface finger daemon 207 corresponding with the first SIM card, the second actual wireless corresponding with the second SIM card connect
Mouth finger daemon 208, simulator 206, driving layer 209 and baseband chip 210.Virtual machine includes virtual application layer 211, virtual
Service layer 212,213 and one virtual radio interface finger daemon 214 of virtual application ccf layer.Wherein, the first SIM card 204 with
The application framework layer 203 of host connects, and the second SIM card 205 is connect with simulator 206, and simulator 206 passes through goldfish
The virtual radio interface finger daemon 214 of pipe and virtual machine connects., it is clear that the first SIM card 204 from Fig. 2
It is called by host, and as it can be seen that the second SIM card 205 is by virtual machine call, and visible only in virtual machine only in host.
In the step s 120, the access request is gone to mould by the virtual radio interface finger daemon by communication pipe
Intend device.
In the present example embodiment, the communication pipe can include goldfish pipe etc., and the simulator can be with
For Android simulator (i.e. qemu) etc..The goldfish pipe can provide the virtual radio interface finger daemon of virtual machine
High-speed communication function between simulator.Goldfish pipe are a character device in virtual machine, and virtual machine is to the word
The access of symbol equipment is transferred in simulator, and since simulator can establish various communication links between host, such as
Any one in the communication links such as tcp, udp, unix socket, therefore, goldfish pipe virtual machine and host it
Between play the role of pipeline.
In step s 130, the targeted SIM card in host is called to handle the access request by the simulator.
In the present example embodiment, the host can include baseband chip, and the quantity of the baseband chip can be one
It is a, can also be multiple, the present exemplary embodiment is not particularly limited this, it should be noted that the number of the baseband chip
The upper limit of amount is the quantity of the SIM card in host.The baseband chip can be used for synthesizing the baseband signal or right that will emit
The baseband signal received is decoded.Specifically, in transmitting, audio signal is compiled into the base band code for emitting;
When receiving, the base band code received is interpreted as audio signal, meanwhile, it also is responsible for address information (cell-phone number, station address), text
The compiling of word information (news in brief word, website word), pictorial information lamp.Based on this, as shown in figure 3, described pass through the simulation
Device calls the targeted SIM card in host that can include to handle the access request:
Step S310, the access request is forwarded to by the targeted SIM card by the simulator.In this exemplary reality
It applies in example, specifically, by the simulator and can be utilized appointing in tcp, udp, unix socket, goldfish pipe
It anticipates and a kind of the access request is forwarded to the targeted SIM card.
Step S320, it will be reported under the access request to reality corresponding with the targeted SIM card by the targeted SIM card
Border wireless interface finger daemon.
Step S330, the base band core is called by actual wireless interface finger daemon corresponding with the targeted SIM card
Piece is to handle the access request.In the present example embodiment, actual wireless interface corresponding with targeted SIM card guard into
After journey receives access request, access request is converted into the AT orders that baseband chip can identify by vendor-ril.so
Or the order of extended formatting, and baseband chip is called by actual wireless interface finger daemon corresponding with targeted SIM card, it will
AT orders or the order of extended formatting are transmitted to baseband chip, so that baseband chip handles access request.For example, in access request
During to send short breath request, short breath being sent to target object according to the address for sending the target object in short breath request and is asked
In short message content.
In addition, when the multiple SIM card corresponds to a baseband chip, if the access request is by the multiple
SIM card collaboration is completed, described to call the targeted SIM card in host that be wrapped to handle the access request by the simulator
It includes:The access request is forwarded to by the targeted SIM card by the simulator;One is called by the targeted SIM card in advance
If communication mechanism is to handle the access request.
In the present example embodiment, by multiple SIM cards collaboration complete access request can be included in multiple SIM cards it
Between switching 4G networks request, underlying protocol stack switching request and close request etc. of virtual machine.The default communication equipment
For system such as can be remote procedure call mechanisms (i.e. RPC), the present exemplary embodiment be not particularly limited this.It is described to pass through
The process that the access request is forwarded to the targeted SIM card by the simulator has been illustrated in above process, because
This is repeated no more.
It should be noted that when multiple SIM cards correspond to a baseband chip, if the access request is not by multiple SIM
Card collaboration is completed, described the targeted SIM card in host to be called to handle the process of the access request such as by the simulator
Described in above-mentioned steps S310~330.
In addition, if the access request can not be guarded by actual wireless interface corresponding with the targeted SIM card into
Journey and the baseband chip are transmitted, then the access request can be forwarded to the target SIM by the simulator
Card, and a remote procedure call protocol is called to handle the access request by the targeted SIM card.It is described to pass through the mould
The process that the access request is forwarded to the targeted SIM card by plan device has been illustrated, therefore no longer in above process
It repeats.
In conclusion the access request is gone to simulator by virtual radio interface finger daemon by communication pipe, and
The targeted SIM card in host is called to handle the access request by the simulator so that virtual machine can be accessed directly
Targeted SIM card is well isolated host and virtual machine on hardware.
In addition, as shown in figure 4, the method can also include the following steps:
Step S410, described targeted SIM card receives access request, and the receipts access request is forwarded to the simulation
Device.
The access request is gone to the virtual radio interface by step S420, described simulator by the communication pipe
Finger daemon, to handle the access request.
When targeted SIM card in host receives access request, which is forwarded to simulator, simulator leads to
It crosses communication pipe and access request is gone into virtual radio interface finger daemon, so that virtual machine handles the access request.For example, it visits
When asking request of the request for display short message, virtual machine includes the short message content shown in the request of short message in the aobvious of mobile terminal
On display screen curtain.
A kind of realization device of virtual SIM card is additionally provided in this exemplary embodiment, with reference to shown in Fig. 5, the device
500 can include:Receiving module 501, forwarding module 502 and calling module 503, wherein:
Receiving module 501 could be provided as receiving access request of the virtual machine to virtual radio interface finger daemon;
Forwarding module 502 could be provided as the virtual radio interface finger daemon by communication pipe by the access
Request goes to simulator;
Calling module 503 could be provided as the targeted SIM card in host being called to handle the visit by the simulator
Ask request.
The detail of the realization device module of each virtual SIM card is in the realization of corresponding virtual SIM card in above-mentioned
It is described in detail in method, therefore details are not described herein again.
In addition, although describing each step of method in the disclosure with particular order in the accompanying drawings, this does not really want
Asking or implying must could realize according to the particular order come the step for performing these steps or having to carry out shown in whole
Desired result.It is additional or alternative, it is convenient to omit certain steps, by multiple steps merge into a step perform and/
Or a step is decomposed into execution of multiple steps etc..
It should be noted that although several modules or list for acting the equipment performed are referred in above-detailed
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
The feature and function of module either unit can embody in a module or unit.A conversely, above-described mould
Either the feature and function of unit can be further divided into being embodied by multiple modules or unit block.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can realize the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be with specific implementation is as follows, i.e.,:It is complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as " circuit ", " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 6.The electronics that Fig. 6 is shown
Equipment 600 is only an example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in fig. 6, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
It includes but is not limited to:Above-mentioned at least one processing unit 610, above-mentioned at least one storage unit 620, connection different system component
The bus 630 of (including storage unit 620 and processing unit 610), display unit 640.
Wherein, the storage unit has program stored therein code, and said program code can be held by the processing unit 610
Row so that the processing unit 610 performs various according to the present invention described in above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 610 can perform step S110 as shown in fig. 1, receive it is empty
Plan machine is to the access request of virtual radio interface finger daemon;Step S120, described virtual radio interface finger daemon passes through logical
The access request is gone to simulator by fuse tube road;Step S130, by the simulator call host in targeted SIM card with
Handle the access request.
Storage unit 620 can include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but not limited to:Operating system, one or more application program, other program moulds
Block and program data may include the realization of network environment in each or certain combination in these examples.
Bus 630 can be to represent one or more in a few class bus structures, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use the arbitrary bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 670 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, the equipment interacted with the electronic equipment 600 communication can be also enabled a user to one or more and/or with causing
Any equipment that the electronic equipment 600 can communicate with one or more of the other computing device (such as router, modulation /demodulation
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown in the figure, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600.
It should be understood that although not shown in the drawings, can combine electronic equipment 600 use other hardware and/or software module, including but not
It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can be realized by software, can also be realized in a manner that software is with reference to necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software product, the software product can be stored in one it is non-volatile
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) is performed according to disclosure embodiment
Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, is stored thereon with energy
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product, including program code, when described program product is run on the terminal device, institute
State program code for make the terminal device perform described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 7, describe the program product for being used to implement the above method according to the embodiment of the present invention
700, portable compact disc read only memory (CD-ROM) may be used and including program code, and can in terminal device,
Such as it is run on PC.However, the program product of the present invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
Any tangible medium for including or storing program, the program can be commanded execution system, device either device use or
It is in connection.
The arbitrary combination of one or more readable mediums may be used in described program product.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor or arbitrary above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more conducting wires, read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media can include in a base band or as a carrier wave part propagation data-signal,
In carry readable program code.The data-signal of this propagation may be used diversified forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, which can send, propagate either transmit for used by instruction execution system, device or device or and its
The program of combined use.
The program code included on readable medium can be transmitted with any appropriate medium, including but not limited to wirelessly, be had
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
It can combine to write to perform the program that the present invention operates with the arbitrary of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It performs on computing device, partly perform on a user device, the software package independent as one performs, is partly calculated in user
Upper side point is performed or is performed in remote computing device or server completely on a remote computing.It is being related to far
In the situation of journey computing device, remote computing device can be by the network of any kind, including LAN (LAN) or wide area network
(WAN), be connected to user calculating equipment or, it may be connected to external computing device (such as utilizes ISP
To pass through Internet connection).
In addition, above-mentioned attached drawing is only the schematic theory of the processing included by method according to an exemplary embodiment of the present invention
Bright rather than limitation purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.This
Field technology personnel will readily occur to other embodiment party of the disclosure after considering specification and putting into practice invention disclosed herein
Case.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptability
Variation follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or usual skill
Art means.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by appended claim
It points out.
Claims (12)
1. a kind of implementation method of virtual SIM card, the method includes:
Receive access request of the virtual machine to virtual radio interface finger daemon;
The access request is gone to simulator by the virtual radio interface finger daemon by communication pipe;
The targeted SIM card in host is called to handle the access request by the simulator.
2. the implementation method of virtual SIM card according to claim 1 keeps virtual radio interface in the reception virtual machine
It is further included before the access request of shield process:
The targeted SIM card is determined in multiple SIM cards in the host;
Make targeted SIM card invisible in the host;
Establish the connection between the targeted SIM card and the simulator.
3. the implementation method of virtual SIM card according to claim 1, the communication pipe includes goldfish pipe.
4. the implementation method of virtual SIM card according to claim 2, the host includes baseband chip;
It is described the targeted SIM card in host to be called to include to handle the access request by the simulator:
The access request is forwarded to by the targeted SIM card by the simulator;
Report to actual wireless interface corresponding with the targeted SIM card under the access request is kept by the targeted SIM card
Shield process;
The baseband chip is called to handle the visit by actual wireless interface finger daemon corresponding with the targeted SIM card
Ask request.
5. the implementation method of virtual SIM card according to claim 4, the multiple SIM card corresponds to a base band core
Piece;
If the access request is cooperateed with by the multiple SIM card and completed, the target called by the simulator in host
SIM card is included with handling the access request:
The access request is forwarded to by the targeted SIM card by the simulator;
A default communication mechanism is called to handle the access request by the targeted SIM card.
6. the implementation method of virtual SIM card according to claim 4, the method further include:
If the access request can not pass through actual wireless interface finger daemon corresponding with the targeted SIM card and the base
Microarray strip is transmitted, then the access request is forwarded to the targeted SIM card by the simulator;
A remote procedure call protocol is called to handle the access request by the targeted SIM card.
7. the implementation method of virtual SIM card according to claim 1, the method further include:
The targeted SIM card receives access request, and the access request is forwarded to the simulator;
The access request is gone to the virtual radio interface finger daemon by the simulator by the communication pipe, with place
Manage the access request.
8. the implementation method of virtual SIM card according to any one of claims 1 to 7, the simulator is simulated for Android
Device.
9. the implementation method of the virtual SIM card according to any one of claim 4~6, described to be incited somebody to action by the simulator
The access request is forwarded to the targeted SIM card and includes:
By the simulator and using tcp, udp, any one in unix socket, goldfish pipe by the visit
Ask that request is forwarded to the targeted SIM card.
10. a kind of realization device of virtual SIM card, described device include:
Receiving module is set as receiving access request of the virtual machine to virtual radio interface finger daemon;
Forwarding module is set as the virtual radio interface finger daemon and the access request is gone to simulation by communication pipe
Device;
Calling module is set as the targeted SIM card in host being called to handle the access request by the simulator.
11. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
The implementation method of virtual SIM card in Shi Shixian claims 1~9 described in any one.
12. a kind of electronic equipment, including:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come any one institute in perform claim requirement 1~9 via the execution executable instruction
State the implementation method of virtual SIM card.
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 (2)
Publication Number | Publication Date |
---|---|
CN108235822A true CN108235822A (en) | 2018-06-29 |
CN108235822B CN108235822B (en) | 2021-02-05 |
Family
ID=62643182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780002413.5A Active CN108235822B (en) | 2017-12-29 | 2017-12-29 | Virtual SIM card implementation method and device, storage medium and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108235822B (en) |
WO (1) | WO2019127475A1 (en) |
Cited By (1)
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 (4)
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 |
US20130254369A1 (en) * | 2009-06-26 | 2013-09-26 | Vmware, Inc. | Migrating functionality in virtualized mobile devices |
CN105160213A (en) * | 2014-06-11 | 2015-12-16 | 中国移动通信集团公司 | Terminal starting method and terminal thereof |
CN105653349A (en) * | 2015-12-30 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Multi-application opening type pipeline communication control method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016042519A2 (en) * | 2014-09-17 | 2016-03-24 | Simless, Inc. | Apparatuses, methods and systems for implementing a trusted subscription management platform |
US10379884B2 (en) * | 2016-03-25 | 2019-08-13 | Cloudminds (Shenzhen) Robotics Systems Co., Ltd. | Communication method and apparatus, and electronic device and program product thereof |
-
2017
- 2017-12-29 WO PCT/CN2017/120171 patent/WO2019127475A1/en active Application Filing
- 2017-12-29 CN CN201780002413.5A patent/CN108235822B/en active Active
Patent Citations (4)
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 |
US20130254369A1 (en) * | 2009-06-26 | 2013-09-26 | Vmware, Inc. | Migrating functionality in virtualized mobile devices |
CN105160213A (en) * | 2014-06-11 | 2015-12-16 | 中国移动通信集团公司 | Terminal starting method and terminal thereof |
CN105653349A (en) * | 2015-12-30 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Multi-application opening type pipeline communication control method and system |
Cited By (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN108235822B (en) | 2021-02-05 |
WO2019127475A1 (en) | 2019-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210329079A1 (en) | Methods, devices and computer-readable storage media for processing a hosted application | |
US20220214932A1 (en) | Methods, devices and computer storage media for inter-mini program platform communication | |
US10645020B1 (en) | Virtual networking for compute instances | |
TWI453603B (en) | Platform independent information handling system, communication method, and computer program product thereof | |
CN103370689A (en) | Cross-environment application compatibility | |
US10762542B2 (en) | Item transfer apparatus, system and method | |
CN113626224A (en) | NFC data interaction method and device, electronic equipment and storage medium | |
CN111433743A (en) | APP remote control method and related equipment | |
US20230071561A1 (en) | Wireless communication method and apparatus, device, storage medium, and computer program product | |
US11283740B2 (en) | Name label display method and apparatus | |
US20220245005A1 (en) | Methods, devices and computer storage media for inter-mini program platform discovery | |
CN106874471A (en) | Information-pushing method and device | |
CN109697100A (en) | Conversation message display processing method and device | |
CN110309475A (en) | A kind of webpage representation method, apparatus, terminal device and storage medium | |
CN106664515A (en) | Method for transmitting content between terminals through service control device link | |
CN112528179A (en) | Two-dimensional code processing method and system, electronic device and storage medium | |
CN108416021A (en) | A kind of browsing device net page content processing method, device, electronic equipment and readable medium | |
CN114500481B (en) | Service request processing method, system and device | |
CN107251069A (en) | A kind of near-field communication method of payment and terminal | |
CN110287146A (en) | Using the method, equipment and computer storage medium of downloading | |
KR20190056523A (en) | System and method for synchronizing display of virtual reality content | |
CN112689012A (en) | Cross-network proxy communication method and device | |
CN108701045A (en) | Client operating system screenshot method and device in computer equipment | |
CN113778593B (en) | Cloud desktop control method and device, electronic equipment, storage medium and program product | |
CN106507148B (en) | Display control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |