Summary of the invention
To overcome above-mentioned technical problem or at least being partially solved above-mentioned technical problem, spy proposes following technical scheme:
An embodiment provides a kind of method of dual system double SIM card Network Isolation transmission, this method is answered
In running environment for the mobile terminal including the first subsystem, the second subsystem and core system, this method comprises:
First subsystem controls mobile terminal establishes public network network connection by public network SIM card and public network;
When core system is received from the data to be transmitted of the first subsystem, the first via is obtained from the routing table of public network
By information, and according to the first routing iinformation, it is connected to the network based on established public network by the number to be transmitted from the first subsystem
According to being sent to public network;And/or
First subsystem controls mobile terminal establishes private network network connection by private network SIM card and private network;
When core system is received by the first subsystem from the data to be transmitted of the second subsystem, from the routing of private network
Secondary route information is obtained in table, and according to secondary route information, it will be from the second son based on the network connection of established private network
The data to be transmitted of system is sent to private network.
Specifically, according to the first routing iinformation, based on established public network network connection by from the first subsystem to
The step of transmission data are sent to public network, comprising:
Core system determines the network address of common network node according to the first routing iinformation;
According to the network address of determining common network node, the first subsystem will be come from based on the network connection of established public network
Data to be transmitted be sent to public network;
Wherein, common network node is set to the first subsystem of mobile terminal, carries out data for the first subsystem and public network
Interaction.
Specifically, the step of core system is received by the first subsystem from the data to be transmitted of the second subsystem it
Before, comprising:
First subsystem is by the network connection channel reception of pre-established the second subsystem and the first subsystem from the
The data to be transmitted of two subsystems, and the data to be transmitted from the second subsystem is sent to core system.
Optionally, mobile terminal further includes master control system, this method further include:
The network connection channel of master control system creation the second subsystem and the first subsystem;
Specifically, the network connection channel of master control system creation the second subsystem and the first subsystem, comprising:
Master control system creates bridge in master control system, and corresponds to for the first subsystem and the creation of the second subsystem
Virtual network port, wherein one end of each virtual network port is set in respective subsystem, the other end and net of each virtual network port
Bridge node is connected.
Specifically, according to secondary route information, based on established private network network connection by from the second subsystem to
The step of transmission data are sent to private network, comprising:
Core system determines the network address of private network node according to secondary route information;
According to the network address of determining private network node, the second subsystem will be come from based on the network connection of established private network
Data to be transmitted be sent to private network;
Wherein, private network node is set to the first subsystem of mobile terminal, carries out data for the first subsystem and private network
Interaction.
Optionally, the first subsystem controls mobile terminal establishes the step of public network network connection by public network SIM card and public network
After rapid, further includes:
The routing table of first subsystem configuration public network;
After the step of first subsystem controls mobile terminal establishes private network network connection by private network SIM card and private network,
Further include:
The routing table of first subsystem configuration private network.
An embodiment provides a kind of system of dual system double SIM card Network Isolation transmission, the system positions
In the mobile terminal for including the first subsystem, the second subsystem and core system, comprising:
First subsystem establishes public network network connection by public network SIM card and public network for controlling mobile terminal;
Core system, for when core system is received from the data to be transmitted of the first subsystem, from the road of public network
By obtaining the first routing iinformation in table, and according to the first routing iinformation, first will be come from based on the network connection of established public network
The data to be transmitted of subsystem is sent to public network;
First subsystem is also used to control mobile terminal by private network SIM card and private network and establishes private network network connection;
Core system, when being also used to receive by the first subsystem from the data to be transmitted of the second subsystem, from special
Secondary route information is obtained in the routing table of net, and according to secondary route information, in the future based on the network connection of established private network
Private network is sent to from the data to be transmitted of the second subsystem.
Specifically, core system, specifically for determining the network address of common network node according to the first routing iinformation;According to
The network address of determining common network node is connected to the network based on established public network by the data to be transmitted from the first subsystem
It is sent to public network;
Wherein, common network node is set to the first subsystem of mobile terminal, carries out data for the first subsystem and public network
Interaction.
Optionally, the first subsystem is also used to the network connection by pre-established the second subsystem and the first subsystem
Data to be transmitted of the channel reception from the second subsystem, and the data to be transmitted from the second subsystem is sent to kernel system
System.
Optionally, mobile terminal further includes master control system, comprising:
Master control system, for creating the network connection channel of the second subsystem and the first subsystem;Specifically in master control
Bridge is created in system, and creates corresponding virtual network port for the first subsystem and the second subsystem, wherein Mei Gexu
One end of quasi- network interface is set in respective subsystem, and the other end of each virtual network port is connected with bridge.
Specifically, core system, specifically for determining the network address of private network node according to secondary route information;According to
The network address of determining private network node is connected to the network based on established private network by the data to be transmitted from the second subsystem
It is sent to private network;
Wherein, private network node is set to the first subsystem of mobile terminal, carries out data for the first subsystem and private network
Interaction.
Optionally, the first subsystem is also used to configure the routing table of public network;Configure the routing table of private network.
It is and each in mobile terminal the present invention provides a kind of method and system of dual system double SIM card Network Isolation transmission
A subsystem is only capable of through special SIM card compared with public network and private network carry out information exchange, and the present invention is applied to include the
In the running environment of the mobile terminal of one subsystem, the second subsystem and core system, the first subsystem controls mobile terminal with
Public network establishes network connection, and core system is according to the first routing iinformation got from public network routing table later, will come from the
The data to be transmitted of one subsystem is transmitted to public network and/or the first subsystem controls mobile terminal and passes through private network SIM card and private network
Network connection is established, later, core system, will be from the second son according to the secondary route information got from private network routing table
The data to be transmitted of system is transmitted to private network, i.e. the data in the first subsystem are transmitted to private network by core system, in the future
Be transmitted to common network from the data in the second subsystem, can when guaranteeing that dual system is separately connected public network and private network network it is exhausted
Under the premise of isolation, dual system can be connect with public network and private network respectively by two SIM cards to be carried out data transmission, and is met
User is using the individual demand of common SIM cards connection public network in dual system, and in addition the public network SIM card in the present invention is movement
The common SIM cards that operator provides, do not need to customize, reduce costs.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless signal
The equipment of receiver only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware
Equipment has the reception that on bidirectional communication link, can carry out two-way communication and emits the equipment of hardware.This equipment can
To include: honeycomb or other communication equipments, with single line display or multi-line display or there is no multi-line display
Honeycomb or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can be with
Combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, a number
Word assistant), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar
And/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or hand held
Computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or other
Equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, sea
Fortune and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth
And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on
Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet
Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
The block schematic illustration of the internal structure of the terminal device of the embodiment of the present invention is as shown in Figure 1, comprising: master control system and
Two subsystems.
Wherein, the system in the embodiment of the present invention can be setting and virtualize skill with Linux container (container)
The containment system of art creation.System can be traditional (SuSE) Linux OS or Unix operating system, be also possible to base
In android system, Ubuntu system or FireFox system etc. that (SuSE) Linux OS is derived, can also for
Windows system based on windows platform etc..In fact, the system in the present invention is not limited to the aforementioned operation enumerated
System can cover all operating systems that can be run in a reservoir.
Preferably, master control system can be above-mentioned traditional operating system, be also possible to change traditional kernel
Into and/or after (such as ccf layer and application layer) increases functional module except kernel, obtained operating system.
Master control system is mainly used for carrying out front and back management to two subsystems, interacts with each subsystem.
A kind of method of dual system double SIM card Network Isolation transmission of the embodiment of the present invention, this method are applied to include the
In the running environment of the mobile terminal of one subsystem, the second subsystem and core system;As shown in Fig. 2, this method comprises:
Step 201, the first subsystem controls mobile terminal establish public network network connection by public network SIM card and public network.
For the embodiment of the present invention, mobile network's switch service in the first subsystem opens mobile connection, triggering first
Network management services control mobile terminal in subsystem is established by public network SIM card and public network to be connected to the network.Wherein, the first son
Mobile network's switch service of system is used for the trigger action according to user, opens the mobile connection of mobile terminal, first son
The network management services of system establish network connection by public network SIM card and public network for controlling mobile terminal, and/or control moves
Dynamic terminal is established by private network SIM card and private network and is connected to the network.
For the embodiment of the present invention, the network management services of the first subsystem establish network by public network SIM card and public network
After connection, the network management services of the first subsystem change the connection status of the first subsystem, i.e., not by the first subsystem
Connection status is changed to connected status.In embodiments of the present invention, the network management services of the first subsystem are passing through public network
SIM card and public network are established after network connection, the connection status of mobile network are not synchronized to the second subsystem, therefore the first son
System is carried out data transmission by common network node and public network, and the second subsystem will not carry out data transmission with public network.
When step 202, core system are received from the data to be transmitted of the first subsystem, obtained from the routing table of public network
The first routing iinformation is taken, and according to the first routing iinformation, it will be from the first subsystem based on the network connection of established public network
Data to be transmitted is sent to public network.
Wherein, the routing table of public network forbids the virtual network port data acquisition routing iinformation from the first subsystem.
Wherein, the first routing iinformation is used to obtain the network address of common network node.
For the embodiment of the present invention, the network management services of the first subsystem add routing rule in the routing table of public network
Then, wherein regulation allows the non-data from the first subsystem virtual network port in the first subsystem visit in the routing rule
It asks the routing table of public network, and obtains routing iinformation, forbid the routing table from the first subsystem virtual network port data access public network.
The virtual network port mentioned in embodiments of the present invention is the virtual network port being arranged in the first subsystem.Wherein, the first subsystem energy
Enough carried out by its corresponding virtual network port, master control system and the respective virtual network port of other subsystems and other subsystems
Information exchange.
For the embodiment of the present invention, whether core system can judge the data received from the virtual of the first subsystem
Network interface accesses the routing table of private network if the virtual network port from the first subsystem, obtains corresponding routing iinformation;If not
Virtual network port from the first subsystem then accesses the routing table of public network, obtains corresponding routing iinformation.In the embodiment of the present invention
In, since the first routing iinformation can be used in determining the network address of common network node, core system is according to determining common network node
Network address data to be sent are sent to common network node, when common network node receives the data of the first subsystem, from
Routing iinformation is obtained in other routing tables being arranged, and data to be sent are routed to by public network base according to the routing iinformation got
It stands.For the embodiment of the present invention, mobile terminal can also receive the data from public network by public network interface.
Step 203, the first subsystem controls mobile terminal establish private network network connection by private network SIM card and private network.
For the embodiment of the present invention, mobile network's switch service in the first subsystem opens mobile connection, triggers network
Management service controls mobile terminal and establishes network connection by private network SIM card and private network.
When step 204, core system are received by the first subsystem from the data to be transmitted of the second subsystem, from special
Secondary route information is obtained in the routing table of net.
Wherein, the routing table of private network is only used for the virtual network port data acquisition routing iinformation of the first subsystem.
Wherein, secondary route information is used to obtain the routing iinformation of private network node.
For the embodiment of the present invention, the network management services of the first subsystem add routing rule in the routing table of private network
Then, wherein provide to be able to access that private network from the data of the first subsystem virtual network port in the first subsystem in the routing rule
Routing table, and obtain routing iinformation, forbid the routing table from the non-virtual network interface data access private network of the first subsystem.At this
The virtual network port mentioned in inventive embodiments is the virtual network port being arranged in the first subsystem.Wherein, the first subsystem can lead to
It crosses its corresponding virtual network port, master control system and the respective virtual network port of other subsystems and other subsystems carries out information
Interaction.
Step 205, core system, will be from the second sons based on the network connection of established private network according to secondary route information
The data to be transmitted of system is sent to private network.
For the embodiment of the present invention, since secondary route information is used to determine the network address of private network node, core system
The network address of the private network node determined according to secondary route information by the data forwarding from the second subsystem to private network node,
So that private network node obtains routing iinformation from other routing tables being arranged, private network is sent data to.
For the embodiment of the present invention, there is no successively close for step 203, step 204, step 205 and step 201, step 202
System can also execute step 203, step 204 and step 205 while executing step 201, step 202, can also be in step
Step 203, step 204 and step 205 are executed before rapid 201.One of sequence is simply meant to out in attached drawing 2, but and unlimited
Due to attached sequence shown in Fig. 2.
It is and each in mobile terminal the embodiment of the invention provides a kind of method of dual system double SIM card Network Isolation transmission
A subsystem is only capable of through special SIM card compared with public network and private network carry out information exchange, and the embodiment of the present invention is applied to
Mobile terminal including the first subsystem, the second subsystem and core system, the first subsystem controls mobile terminal are built with public network
Vertical network connection, core system will come from the first subsystem according to the first routing iinformation got from public network routing table later
The data to be transmitted of system is transmitted to public network and/or the first subsystem controls mobile terminal and establishes net by private network SIM card and private network
Network connection, later, core system, will be from the second subsystem according to the secondary route information got from private network routing table
Data to be transmitted is transmitted to private network, i.e. the data in the first subsystem are transmitted to private network by core system, will come from second
Data in subsystem are transmitted to common network, network can absolutely be isolated when guaranteeing that dual system is separately connected public network and private network
Under the premise of, dual system can be connect with public network and private network respectively by two SIM cards to be carried out data transmission, and is met user and is existed
Using the individual demand of common SIM cards connection public network in dual system, in addition the public network SIM card in the present invention is mobile operator
The common SIM cards of offer are not needed to customize, be reduced costs.
The alternatively possible implementation of the embodiment of the present invention, on the basis of as shown in Figure 2, step 202, kernel system
System is when receiving from the data to be transmitted of the first subsystem, obtains the first routing iinformation from the routing table of public network, and according to
First routing iinformation is connected to the network based on established public network the data to be transmitted from the first subsystem being sent to public network,
Specifically include 302-303 as shown in Figure 3, wherein step 301,304-306 and step as shown in Figure 2 as shown in Figure 3
201, operation shown in 203-205 is identical, and details are not described herein.
Step 302, core system determine the network address of common network node according to the first routing iinformation.
For example, the network address of public network can be 172.29.52.70/24.
Step 303, core system are connected to the network according to the network address of determining common network node based on established public network
Data to be transmitted from the first subsystem is sent to public network.
Wherein, common network node is set to the first subsystem of mobile terminal, carries out data for the first subsystem and public network
Interaction.
For the embodiment of the present invention, core system is according to the network address of common network node by the data from the first subsystem
It is sent to common network node, common network node is obtained from the routing table being arranged by common network node to the routing address of public network base station,
So that routing address of the common network node according to the public node got to public network base station, it will be from the to be passed of the first subsystem
Transmission of data is sent to public network.
For the embodiment of the present invention, core system determines the network address of common node according to the first routing iinformation, can
Enable core system that the data to be transmitted from the first subsystem is sent to public network by determining common network node, thus
The data to be transmitted in the first subsystem can be enabled to be transmitted to public network by common network node.
The alternatively possible implementation of the embodiment of the present invention, on the basis of as shown in Figure 2, the core system is logical
It crosses the first subsystem and receives the data to be transmitted from the second subsystem, include the steps that as shown in Figure 4 404, wherein as schemed
, In identical as operation shown in step 201-205 as shown in Figure 2 is operated shown in step 401-403,405-406 shown in 4
This is repeated no more.
Step 404, the first subsystem are connect by the network connection channel of the second pre-established subsystem and the first subsystem
The data to be transmitted from the second subsystem is received, and the data to be transmitted from the second subsystem is sent to core system.
For the embodiment of the present invention, private network is established by private network SIM card and private network in the first subsystem controls mobile terminal
After network connection, further includes:
A, the first subsystem passes through private network network connection state between pre-established the second subsystem and the first subsystem
Network connection channel, be sent to the second subsystem.
For the embodiment of the present invention, when the network management services of the first subsystem establish private network network by private network SIM card
After connection, private network network connection state and private network network data are passed through into the corresponding virtual network port of the first subsystem, master control
(network between the second subsystem and the first subsystem connects for the bridge of system and the corresponding virtual network port of the second subsystem
Connect road) it is synchronized to the second subsystem, so that the second subsystem is known currently and private network by private network network connection state
Establish network connection.
B, the second subsystem changes mobile network's state.
For the embodiment of the present invention, pass through the special of network connection Channel Synchronous when the second subsystem receives the first subsystem
Mobile connection state in second subsystem is changed to connected status by net connection status.
For the embodiment of the present invention, after the second subsystem changes mobile connection state, the second subsystem is according to update
Mobile connection state afterwards, and pass through the network connection channel transfer between the second subsystem and the first subsystem to the first subsystem
System, so that the data to be transmitted of the second subsystem is sent to core system by the first subsystem.
For the embodiment of the present invention, when mobile connection state is changed to connected status by the second subsystem, the second son
System can be carried out data transmission by network connection channel, private network node and private network.
For the embodiment of the present invention, when the network management services of the first subsystem establish net by private network SIM card and private network
After network connection, by the way that mobile network's connection status is synchronized to the second subsystem, the second subsystem is enabled to know currently
It is successfully connected private network, so that the second subsystem can carry out data transmission with private network.
The alternatively possible implementation of the embodiment of the present invention further includes such as Fig. 5 institute on the basis of as shown in Figure 4
The step 504 shown, wherein step 501-503,505-507 is identical as operation shown in step 401-406 as shown in Figure 4, In
This is repeated no more.
The network connection channel of step 504, master control system creation the second subsystem and the first subsystem.
For the embodiment of the present invention, master control system can create the second subsystem and the first subsystem before step 201
Between network connection channel, network between the second subsystem and the first subsystem can also be created before step 203 and connected
Road is connected, the network connection channel between the second subsystem and the first subsystem can also be created before the step 204.In this hair
In bright embodiment without limitation.
For the embodiment of the present invention, since only the first subsystem is provided with private network node, if the second subsystem needs
Carried out data transmission by private network node and private network base station, then the second subsystem must pass through the second subsystem and the first subsystem
Between network connection channel, data to be transmitted is sent to the first subsystem so that the first subsystem will from second son
Data to be transmitted in system is sent to core system and carries out data transmission.
Wherein, the network connection channel between the second subsystem and the first subsystem is used for the second subsystem and the first subsystem
System carries out data transmission.
The alternatively possible implementation of the embodiment of the present invention, on the basis of as shown in Figure 5, step 504, master control system
The network connection channel of system creation the second subsystem and the first subsystem, specifically includes step 604 as shown in Figure 6, wherein, walks
Rapid 601-603,605-607 are identical as operation shown in step 501-503,505-507 as shown in Figure 5, and details are not described herein.
Step 604, master control system create bridge in master control system, and are the first subsystem and the second subsystem
Create corresponding virtual network port.
Wherein, one end of each virtual network port is set in respective subsystem, the other end and bridge of each virtual network port
Node is connected.
For example, the bridge of master control system creation is br0, master control system is that the virtual network port of the first subsystem creation is
Veth-pair1, the virtual network port for the creation of the second subsystem is veth-pair2, therefore the second subsystem and the first subsystem
Between network connection channel be veth-pair2, br0, veth-pair1 composition interface channel.
For the embodiment of the present invention, master control system by creating bridge in master control system, the first subsystem with
And second create corresponding virtual network port in subsystem, and the second subsystem is enabled to pass through its corresponding virtual network port, bridge
The private network node of node and the corresponding virtual network port of the first subsystem and the first subsystem carries out data transmission with private network,
So that the second subsystem can carry out data transmission providing possibility with private network.
The alternatively possible implementation of the embodiment of the present invention, on the basis of as shown in Figure 2, step 205, kernel system
System is connected to the network based on established private network according to secondary route information and is sent to the data to be transmitted from the second subsystem
Private network includes the steps that 705-706 as shown in Figure 7, wherein operation shown in step 701-704 and step as shown in Figure 2
Operation shown in 201-204 is identical, and details are not described herein.
Step 705, core system determine the network address of private network node according to secondary route information.
For example, the network address for the private network node that core system is determined according to secondary route information is 172.29.52.60/
24。
Step 706, core system are connected to the network according to the network address of determining private network node based on established private network
Data to be transmitted from the second subsystem is sent to private network.
Wherein, private network node is set to the first subsystem of mobile terminal, carries out data for the first subsystem and private network
Interaction.
For the embodiment of the present invention, core system according to the network address of private network node by the second subsystem to
Transmission data are sent to private network node, private network node obtains routing iinformation from the routing table being arranged, and according to getting
Data to be transmitted in the second subsystem is sent to private network by routing iinformation.
For the embodiment of the present invention, when the second subsystem passes through the virtual network port of the second subsystem, the bridge of master control system
When data to be transmitted is transmitted to the first subsystem by the virtual network port of node and the first subsystem, the first subsystem will be come from
The IP address in network address (including IP address and MAC Address) carried in the data to be transmitted of second subsystem is changed to
The IP address of first subsystem virtual network port, and network address change relationship is recorded, call core system that will change network later
Data to be transmitted behind address is sent to private network by private network node.In embodiments of the present invention, when the first subsystem receives
When from the data to be transmitted of common network node or private network node, according to the network address carried in the data to be transmitted, search
Network address change relationship.In embodiments of the present invention, if finding network address change letter from network address change relationship
Data to be transmitted is transmitted to by breath, then the network address change information that the first subsystem arrives the data to be transmitted
Second subsystem, if not finding network address change information from network address change relationship, the first subsystem will not be to
Transmission data are sent to the second subsystem.
The alternatively possible implementation of the embodiment of the present invention, on the basis of as shown in Figure 2, step 201, the first son
System controls mobile terminal and establishes public network network connection by public network SIM card and public network, include thes steps that later as shown in Figure 8
802, step 203, the first subsystem controls mobile terminal establish private network network connection by private network SIM card and private network, later also
Include the steps that as shown in Figure 8 805, wherein step 801, operation shown in 803-804,806-807 and step as shown in Figure 2
Operation shown in 201-205 is identical, and details are not described herein.
The routing table of step 802, the first subsystem configuration public network.
For the embodiment of the present invention, the network management services of the first subsystem must take in the network management of the first subsystem
After business establishes network connection by public network SIM card and common network, the routing table of public network is configured, and adds corresponding routing rule
Then.
The routing table of step 805, the first subsystem configuration private network.
For the embodiment of the present invention, the network management services of the first subsystem must take in the network management of the first subsystem
After business establishes network connection by private network SIM card and private network, the routing table of private network is configured, and add corresponding routing rule.
For the embodiment of the present invention, by configuring public network routing table and private network routing table, and in public network routing table and
Corresponding routing rule is added in private network routing table, enables to the non-data (i.e. first from virtual network port of the first subsystem
The corresponding data of subsystem) routing iinformation is obtained from public network routing table, the data in the second subsystem (come from the first subsystem
Virtual network port data) from private network routing table obtain routing iinformation so that the first subsystem passes through public network SIM card and public
Net carries out data transmission, and the second subsystem is carried out data transmission by private network SIM card with private network, and then the first subsystem and second
Subsystem carries out network transmission and does not interfere.
The method of another dual system double SIM card Network Isolation transmission of the embodiment of the present invention, core system is according to first
Routing iinformation determines the network address of common node, enables to core system can will be from the by determining common network node
The data to be transmitted of one subsystem is sent to public network, so that the data to be transmitted in the first subsystem can lead to
It crosses common network node and is transmitted to public network;Network is established by private network SIM card and private network when the network management services of the first subsystem to connect
After connecing, by the way that mobile network's connection status is synchronized to the second subsystem, enables to the second subsystem to know currently and have become
Function connects private network, so that the second subsystem can carry out data transmission with private network;Master control system in master control system by creating
Bridge creates corresponding virtual network port in the first subsystem and the second subsystem, enables to the second subsystem logical
Cross the private network of its corresponding virtual network port, bridge and the corresponding virtual network port of the first subsystem and the first subsystem
Node carries out data transmission with private network, so that the second subsystem can carry out data transmission providing possibility with private network;It is logical
Configuration public network routing table and private network routing table are crossed, and adds corresponding routing rule in public network routing table and private network routing table
Then, the non-data from virtual network port of the first subsystem is enabled to obtain routing iinformation, the second subsystem from public network routing table
Data (the virtual network port data from the first subsystem) in system obtain routing iinformation from private network routing table, so that the
One subsystem is carried out data transmission by public network SIM card with public network, and the second subsystem carries out data by private network SIM card and private network
Transmission, and then the first subsystem carries out network transmission with the second subsystem and does not interfere.
The embodiment of the invention provides a kind of systems of dual system double SIM card Network Isolation transmission, as shown in figure 9, this is
System is located in the mobile terminal including the first subsystem 91, the second subsystem 92 and core system 93, comprising:
First subsystem 91 establishes public network network connection by public network SIM card and public network for controlling mobile terminal.
Core system 93, for when core system is received from the data to be transmitted of the first subsystem 91, from public network
Routing table in obtain the first routing iinformation, and according to the first routing iinformation, will be come from based on the network connection of established public network
The data to be transmitted of first subsystem 91 is sent to public network.
First subsystem 91 is also used to control mobile terminal by private network SIM card and private network and establishes private network network connection.
Core system 93 is also used to receive the data to be transmitted from the second subsystem 92 by the first subsystem 91
When, secondary route information is obtained from the routing table of private network, and according to secondary route information, connect based on established private network network
It connects and the data to be transmitted from the second subsystem 92 is sent to private network.
Core system 93, specifically for determining the network address of common network node according to the first routing iinformation;According to determination
Common network node network address, based on established public network network connection will from the data to be transmitted of the first subsystem 91 send out
It send to public network.
Wherein, common network node is set to the first subsystem 91 of mobile terminal, carries out for the first subsystem 91 with public network
Data interaction.
First subsystem 91 is also used to logical by the network connection of pre-established the second subsystem 92 and the first subsystem 91
Road receives the data to be transmitted from the second subsystem 92, and the data to be transmitted from the second subsystem 92 is sent to kernel
System 93.
Further, as shown in Figure 10, mobile terminal further includes master control system 1001, comprising:
Master control system 1001, for creating the network connection channel of the second subsystem 92 and the first subsystem 91;It is specific to use
In creating bridge in master control system 1001, and create for the first subsystem 91 and the second subsystem 92 corresponding virtual
Network interface.
Wherein, one end of each virtual network port is set in respective subsystem, the other end and bridge of each virtual network port
Node is connected.
Core system 93, specifically for determining the network address of private network node according to secondary route information;According to determination
Private network node network address, based on established private network network connection will from the data to be transmitted of the second subsystem 92 send out
It send to private network.
Wherein, private network node is set to the first subsystem 91 of mobile terminal, carries out for the first subsystem 91 with private network
Data interaction.
First subsystem 91, is also used to configure the routing table of public network;Configure the routing table of private network.
It is and each in mobile terminal the embodiment of the invention provides a kind of system of dual system double SIM card Network Isolation transmission
A subsystem is only capable of through special SIM card compared with public network and private network carry out information exchange, and the embodiment of the present invention is applied to
Mobile terminal including the first subsystem, the second subsystem and core system, the first subsystem controls mobile terminal are built with public network
Vertical network connection, core system will come from the first subsystem according to the first routing iinformation got from public network routing table later
The data to be transmitted of system is transmitted to public network and/or the first subsystem controls mobile terminal and establishes net by private network SIM card and private network
Network connection, later, core system, will be from the second subsystem according to the secondary route information got from private network routing table
Data to be transmitted is transmitted to private network, i.e. the data in the first subsystem are transmitted to private network by core system, will come from second
Data in subsystem are transmitted to common network, network can absolutely be isolated when guaranteeing that dual system is separately connected public network and private network
Under the premise of, dual system can be connect with public network and private network respectively by two SIM cards to be carried out data transmission, and is met user and is existed
Using the individual demand of common SIM cards connection public network in dual system, in addition the public network SIM card in the present invention is mobile operator
The common SIM cards of offer are not needed to customize, be reduced costs.
The system of another dual system double SIM card Network Isolation transmission of the embodiment of the present invention, core system is according to first
Routing iinformation determines the network address of common node, enables to core system can will be from the by determining common network node
The data to be transmitted of one subsystem is sent to public network, so that the data to be transmitted in the first subsystem can lead to
It crosses common network node and is transmitted to public network;Network is established by private network SIM card and private network when the network management services of the first subsystem to connect
After connecing, by the way that mobile network's connection status is synchronized to the second subsystem, enables to the second subsystem to know currently and have become
Function connects private network, so that the second subsystem can carry out data transmission with private network;Master control system in master control system by creating
Bridge creates corresponding virtual network port in the first subsystem and the second subsystem, enables to the second subsystem logical
Cross the private network of its corresponding virtual network port, bridge and the corresponding virtual network port of the first subsystem and the first subsystem
Node carries out data transmission with private network, so that the second subsystem can carry out data transmission providing possibility with private network;It is logical
Configuration public network routing table and private network routing table are crossed, and adds corresponding routing rule in public network routing table and private network routing table
Then, the non-data from virtual network port of the first subsystem is enabled to obtain routing iinformation, the second subsystem from public network routing table
Data (the virtual network port data from the first subsystem) in system obtain routing iinformation from private network routing table, so that the
One subsystem is carried out data transmission by public network SIM card with public network, and the second subsystem carries out data by private network SIM card and private network
Transmission, and then the first subsystem carries out network transmission with the second subsystem and does not interfere.
The side of above-mentioned offer may be implemented in the system of dual system double SIM card Network Isolation transmission provided in an embodiment of the present invention
Method embodiment, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.It is provided in an embodiment of the present invention
The method and system of dual system double SIM card Network Isolation transmission can be adapted for the mobile terminal of dual system, one of system
It is established and is connected to the network by public network SIM card and public network, and carry out information exchange with public network, another system passes through private network SIM card
It establishes and is connected to the network with private network, and carry out information transmission with private network.But it is not limited only to this.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to for executing in operation described herein
One or more equipment.These equipment can specially design and manufacture for required purpose, or also may include general
Known device in computer.These equipment have the computer program being stored in it, these computer programs are selectively
Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) readable medium or be stored in
It e-command and is coupled in any kind of medium of bus respectively suitable for storage, the computer-readable medium includes but not
Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only
Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable
Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable
Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card
Piece.It is, readable medium includes by equipment (for example, computer) with any Jie for the form storage or transmission information that can be read
Matter.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck
Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods
The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process
Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention
Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted.
Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme
It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.