CN106454798A - Method and terminal for realizing communication processing - Google Patents

Method and terminal for realizing communication processing Download PDF

Info

Publication number
CN106454798A
CN106454798A CN201610934530.2A CN201610934530A CN106454798A CN 106454798 A CN106454798 A CN 106454798A CN 201610934530 A CN201610934530 A CN 201610934530A CN 106454798 A CN106454798 A CN 106454798A
Authority
CN
China
Prior art keywords
sim card
virtual sim
data
virtual
network
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.)
Pending
Application number
CN201610934530.2A
Other languages
Chinese (zh)
Inventor
车晓东
汤少华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610934530.2A priority Critical patent/CN106454798A/en
Publication of CN106454798A publication Critical patent/CN106454798A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Abstract

The invention provides a method and a terminal for realizing communication processing. The terminal comprises a second virtual subscriber identity module (SIM) card, a first processing unit for connecting with a first number of first entity SIM cards and a second number of first virtual SIM cards, a second processing unit and an application processor. The first processing unit is used for establishing data service link between any one first entity SIM card and a network, and sending received data information of the second virtual SIM card to the second processing unit; the application processor sends a download request to the corresponding cloud server through a network of the entity SIM card with the data service link being established to obtain data information of the second virtual SIM card, and sends the data information of the second virtual SIM card to the first processing unit; and the second processing unit writes the data information of the second virtual SIM card to the second virtual SIM card and calls the data information to finish network registration of the second virtual SIM card. The method provides basis for carrying out simultaneous data service on the two SIM cards, and realizes simultaneous data service of the two SIM cards.

Description

A kind of method realizing communication process and terminal
Technical field
Present document relates to but be not limited to wireless communication technology, espespecially a kind of method realizing communication process and terminal.
Background technology
With the development of mobile communication technology, (for example, based on Long Term Evolution, (LTE, some the " the 4th for advanced cellular network The standard that third generation mobile communication network (4G) " network is used) network) just the whole world dispose.Due to introducing orthogonal frequency Multiplexing (OFDM, Orthogonal Frequency Division Multiplexing) and multiple-input and multiple-output (MIMO, The key technology such as Multi-Input&Multi-Output), can using the advanced cellular network relevant criterion including 4G Dramatically increase spectrum efficiency data transfer rate.
In addition, while improving network rate and frequency range utilization rate, multimode terminal (has two subscriber identification modules (SIM) terminal blocked, for example, dual-card dual-standby terminal) appearance so that user realize speech business standby simultaneously, can build Vertical data service link.
But, above-mentioned multimode terminal can only be realized one of SIM and use cellular network (for example, LTE) and its data Business, and another SIM is only capable of using speech business.Therefore, the terminal in correlation technique can not support that two SIMs are same simultaneously Shi Jinhang data service, have impact on the online experience of user.
Content of the invention
The following is the general introduction to the theme describing in detail herein.This general introduction is not the protection model in order to limit claim Enclose.
The embodiment of the present invention provides a kind of method realizing communication process and terminal, ensure that two SIM cards enter simultaneously Row data service, the online experience of lifting user.
Embodiments provide a kind of terminal, including:Second virtual user identification module SIM, for connection the The first processing units of one numerical value first instance SIM and second value the first virtual SIM card, second processing unit, should Use processor;Wherein,
First processing units are used for, and read the authentication parameter of any one first instance SIM, to set up first instance SIM and the data service link of network;By the data transmission channel that pre-builds by the number of the second virtual SIM card receiving It is believed that breath is sent to second processing unit;
Application processor is used for, and sends that to comprise second virtual by setting up the network of the entity SIM of data service link The service menu data of SIM download request to the corresponding cloud server of the second virtual SIM card, to obtain from cloud server Take the data message of the second virtual SIM card;The data message of the second virtual SIM card obtaining is sent to first processing units;
Second processing unit is used for, and the data message of the second virtual SIM card receiving is write the second virtual SIM card, and Call the data message of write the second virtual SIM card, to complete the network registry of the second virtual SIM card;
Wherein, described second virtual SIM card is connected with second processing unit;Described first numerical value is more than or equal to 1 Integer, described second value is the integer more than or equal to zero.
Optionally, when second value is more than or equal to 1, described application processor is additionally operable to,
To each the first virtual SIM card, send bag respectively by setting up the network of the entity SIM of data service link This corresponding high in the clouds of the first virtual SIM card that downloads request to containing the corresponding service menu data of described first virtual SIM card takes Business device, to obtain the data message of this first virtual SIM card from cloud server;Data by the first virtual SIM card obtaining Information is sent to first processing units;
First processing units are additionally operable to, and the data message of each first virtual SIM card receiving is respectively written into corresponding the One virtual SIM card, and call the data message of write the first virtual SIM card, to complete the network registry of the first virtual SIM card.
Optionally, described application processor is additionally operable to, by the operational order of default user mutual interface user, Operational order according to user generates the first control instruction and the second control instruction, and the first control instruction is transmitted at first Reason unit, the second control instruction is transmitted to second processing unit;
Described first processing units are connected with application processor by default first interface, for according to first receiving The first instance SIM being connected with first processing units described in control instruction foundation or the first virtual SIM card and first network Data service link, to carry out the data traffic transmission of described first instance SIM or described first virtual SIM card;
Described second processing unit, is connected with application processor by default second interface, is additionally operable to according to reception Second control instruction sets up the data service link with the second network, is passed with the data service carrying out described second virtual SIM card Defeated.
Optionally, described default second interface is included with one of lower interface:USB, universal asynchronous receiving-transmitting transmitter UART, Secure digital input and output SDIO.
Optionally, described application processor is additionally operable to,
When the set meal surplus of all SIMs being connected with described first processing units is respectively less than or is equal to the first predetermined threshold value When, when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, select described second virtual SIM card to enter line number According to business;Wherein, all SIMs include the first numerical value first instance SIM being connected with described first processing units and Two numerical value the first virtual SIM card;
When the set meal surplus of described second virtual SIM card is less than or equal to the second predetermined threshold value, at described first The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data industry in all SIMs that reason unit connects Business;
It is more than the when there is one or more set meal surpluses in all SIMs being connected with described first processing units The SIM of one predetermined threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default Traffic assignments strategy, distributes any one SIM and the second virtual SIM card phase that described set meal surplus is more than the first predetermined threshold value The data service answered.
On the other hand, the embodiment of the present invention also provides a kind of method realizing communication process, and terminal comprises for connecting the The first processing units of one numerical value first instance SIM and second value the first virtual SIM card and second processing unit are even The second virtual SIM card connecing, including:
Read the authentication parameter of any one first instance SIM, to set up the data industry of first instance SIM and network Business link;
By setting up the service menu that the network transmission of the entity SIM of data service link comprises the second virtual SIM card Data download request to the corresponding cloud server of the second virtual SIM card, with from cloud server obtain the second virtual SIM card Data message, and the data message of the second virtual SIM card obtaining is sent to first processing units;
First processing units pass through the data transmission channel that pre-builds by the data message of the second virtual SIM card receiving It is sent to second processing unit;
The data message of the second virtual SIM card receiving is write the second virtual SIM card by second processing unit, and calls and write Enter the data message of the second virtual SIM card, to complete the network registry of the second virtual SIM card;
Wherein, described first numerical value is the integer more than or equal to 1, and described second value is whole more than or equal to zero Number.
Optionally, methods described also includes:
By the operational order of user mutual interface user, the operational order according to user generates the first control instruction With the second control instruction;
The first instance SIM or first being connected with first processing units according to the first control instruction foundation receiving Virtual SIM card and the data service link of first network;
The second control instruction according to receiving is set up and is completed the second virtual SIM card of network registry and the data of the second network Service chaining.
Optionally, when second value is more than or equal to 1, methods described also includes:To each the first virtual SIM card,
Comprise described first virtual SIM card pair by setting up the network of the entity SIM of data service link and sending respectively The service menu data answered download request to this corresponding cloud server of the first virtual SIM card, to obtain from cloud server Take the data message of this first virtual SIM card;Wherein, the first virtual SIM card corresponding service menu data includes:First is virtual The number of SIM and set meal species;
The data message of the first virtual SIM card obtaining is sent to first processing units;
First processing units, the data message of each first virtual SIM card receiving are respectively written into corresponding first virtual SIM, and call the data message of write the first virtual SIM card, to complete the network registry of the first virtual SIM card.
Optionally,
When described first numerical value is 1, described second value is equal to 0 or 1;
When described first numerical value takes 2, described second value is equal to 0.
Optionally, methods described also includes:
When the set meal surplus of all SIMs being connected with described first processing units is respectively less than or is equal to the first predetermined threshold value When, when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, select described second virtual SIM card to enter line number According to business;Wherein, all SIMs include the first numerical value first instance SIM being connected with described first processing units and Two numerical value the first virtual SIM card;
When the set meal surplus of described second virtual SIM card is less than or equal to the second predetermined threshold value, at described first The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data industry in all SIMs that reason unit connects Business;
It is more than the when there is one or more set meal surpluses in all SIMs being connected with described first processing units The SIM of one predetermined threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default Traffic assignments strategy, distributes any one SIM and the second virtual SIM card phase that described set meal surplus is more than the first predetermined threshold value The data service answered.
Compared with correlation technique, technical scheme includes:Second virtual user identification module (SIM) blocks, for even Connect first processing units, the second processing list of the first numerical value first instance SIM and second value the first virtual SIM card Unit, application processor;Wherein, first processing units are used for, and read the authentication parameter of any one first instance SIM, to build Vertical first instance SIM and the data service link of network;Empty by receive second by the data transmission channel that pre-builds The data message intending SIM is sent to second processing unit;Application processor is used for, by setting up the entity of data service link The service menu data that the network transmission of SIM comprises the second virtual SIM card to download request to the second virtual SIM card corresponding Cloud server, to obtain the data message of the second virtual SIM card from cloud server;By the second virtual SIM card obtaining Data message is sent to first processing units;Second processing unit is used for, by the data message write of the second virtual SIM card receiving Second virtual SIM card, and call the data message of write the second virtual SIM card, noted with the network completing the second virtual SIM card Volume;Wherein, the second virtual SIM card is connected with second processing unit;First numerical value is the integer more than or equal to 1, second value It is the integer more than or equal to zero.The embodiment of the present invention for two SIM cards carry out simultaneously data service provide the foundation it is achieved that Two SIM cards carry out data service simultaneously.
It can be appreciated that other aspects after reading and understanding accompanying drawing and describing in detail.
Brief description
Fig. 1 is the hardware architecture diagram realizing each optional mobile terminal of embodiment one of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the structured flowchart of embodiment of the present invention terminal;
Fig. 4 is the interactive interface schematic diagram of embodiment of the present invention service menu data;
Fig. 5 is the structured flowchart of another embodiment of the present invention terminal;
Fig. 6 is the structured flowchart of yet another embodiment of the invention terminal;
The flow chart that Fig. 7 realizes the method for communication process for the embodiment of the present invention;
The flow chart that Fig. 8 realizes the method for communication process for another embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case of not conflicting, in embodiment in the application and embodiment Feature can mutually be combined.
Realize the mobile terminal of each embodiment of the present invention referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " and " part " can mixedly use.
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. consolidate Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration realizing each optional mobile terminal of embodiment one of the present invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, output unit 150, memory 160, controller 180 and power subsystem 190 etc..Fig. 1 shows there is various groups The mobile terminal of part, it should be understood that be not required for implementing all assemblies illustrating.Can alternatively implement more or more Few assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include mobile communication module 112, wireless Internet mould At least one of block 113 and short range communication module 114.
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can include voice and lead to Words signal, video calling signal or the various types of data sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc..
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He Microphone 122, camera 121 is to the static images being obtained by image capture apparatus in Video Capture pattern or image capture mode Or the view data of video is processed.Picture frame after process may be displayed on display unit 151.Process through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage medium) or carry out sending out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (voice data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can be by so Acoustic processing be voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can It is sent to the form output of mobile communication base station via mobile communication module 112.Microphone 122 can implement various types of making an uproar Sound eliminates (or suppression) algorithm to eliminate the noise that (or suppression) produces in reception with during sending audio signal or to do Disturb.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to touched and lead to resistance, pressure, the change of electric capacity etc. sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from the various command signals of base input or electric power The no signal being accurately fitted within base.Output unit 150 is configured to defeated with the offer of vision, audio frequency and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include showing Unit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processing in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show (for example, text messaging, the multimedia file that communicate with call or other Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and the touch pad touch-screen with formation superposed on one another as a layer, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these displays may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display device), for example, moves Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touches Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, When under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memory 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide and move The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation of terminal 100 execution. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Memory 160 can store software program of the process being executed by controller 180 and control operation etc., or can Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can be to store the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch-screen Data.
Memory 160 can include the storage medium of at least one type, and described storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memory with by network connection The network storage device cooperation of 160 store function.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 execution and voice call, data The related control of communication, video calling etc. and process.Controller 180 can be with execution pattern identifying processing, will be in touch-screen The handwriting input of upper execution or picture are drawn input and are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be with using such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any suitable programming language Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system are operating.
The communication system being wherein operable to according to the mobile terminal of the present invention referring now to Fig. 2 description.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 formation interfaces.MSC280 is also structured to and can form interface via the BSC275 that back haul link is couple to base station 270. If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregions (or region), by the sky of multidirectional antenna or sensing specific direction Each subregion that line covers is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna covers.Each BS270 may be constructed such that support multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal of operation in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 is arranged at mobile terminal 1 00 to receive the broadcast being sent by BT295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, depict multiple satellites 300, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the positioning letter wanted as shown in Figure 1 Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of the position of mobile terminal can be followed the tracks of Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station 270 reception is anti- Processed in specific BS270 to link signal.The data obtaining is forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of including the coordination of soft switching process between BS270.BSC275 is also by the number receiving According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Carry out data service in order to realize two SIM cards, present inventor proposes the end with following structure simultaneously End:
1st, first instance SIM is connected with first processing units, and the second virtual SIM card is connected with second processing unit;Build Vertical first instance SIM and the data service link of first network, set up the second virtual SIM card and the data service of the second network Link, achieves two SIM cards by the two paths of data service chaining set up and carries out data service simultaneously.
2nd, first instance SIM and second instance SIM are connected with first processing units, the first virtual SIM card and second Processing unit connects;Set up the data service link of first instance SIM or second instance SIM and first network, set up the One virtual SIM card and the data service link of the second network, achieve two SIM cards by the two paths of data service chaining set up Carry out data service simultaneously.
3rd, first instance SIM and the first virtual SIM card are connected with first processing units, the second virtual SIM card and second Processing unit connects;Set up the data service link of first instance SIM or the first virtual SIM card and first network, set up the Two virtual SIM cards and the data service link of the second network, achieve two SIM cards by the two paths of data service chaining set up Carry out data service simultaneously.
Carry out data service in order to ensure that terminal realizes two SIM cards, the embodiment of the present invention proposes following mailing address simultaneously The method of reason and terminal.
Fig. 3 is the structured flowchart of embodiment of the present invention terminal, as shown in figure 3, including:Second virtual user identification module (SIM) block, process list for connecting the first of the first numerical value first instance SIM and second value the first virtual SIM card Unit, second processing unit, application processor;Wherein,
First processing units are used for, and read the authentication parameter of any one first instance SIM, to set up first instance SIM and the data service link of network;By the data transmission channel that pre-builds by the number of the second virtual SIM card receiving It is believed that breath is sent to second processing unit;
Here, the data transmission channel pre-building can be simulative serial port, can include:The transmission serial ports of simulation and mould The reception serial ports intended.
Application processor is used for, and sends that to comprise second virtual by setting up the network of the entity SIM of data service link The service menu data of SIM download request to the corresponding cloud server of the second virtual SIM card, to obtain from cloud server Take the data message of the second virtual SIM card;The data message of the second virtual SIM card obtaining is sent to first processing units;
Here, the service menu data of the second virtual SIM card includes:The number of the second virtual SIM card and the second virtual SIM The set meal species of card;Set meal species can include:According to comprising that available note is how many, the available duration of call, utilizable flow size, The different set meals of the determinations such as different tariff standard;Accordingly, the data message of the second virtual SIM card can include:IMSI (International Mobile Subscriber Identity)、Ki(Subscrber authentication key)、 ICCID(Integrated Circuit Card Identifier)、PIN(Personal Identification Number)、PUK(PIN Unlocking Key);The embodiment of the present invention can be realized by a service interaction interface can numerical selection Code and the display of optional set meal, after completing number and set meal selection, send download request by determining button, Fig. 4 is this The interactive interface schematic diagram of bright embodiment service menu data, as shown in figure 4, by choosing is represented to oblique line display box left in Fig. 4 The phone number selected and set meal species, trigger the transmission of service menu data by determination key;Cloud server receives business After menu data, it is that number and the set meal of selection distributes corresponding data message, the data message that application processor will obtain again It is sent to second processing unit.
It should be noted that embodiment of the present invention first processing units and second processing unit can include modem (Modem);Accordingly, the first virtual SIM card and the second virtual SIM card can be realized using correlation technique, empty with second As a example intending SIM, generally comprise:(Drv) side is driven to realize in the Modem subscriber identification module (UIM) of second processing unit empty Intend chip operating system (vcos, virtual chip operating system), by the data information memory of SIM in After the encrypted file system (EFS, Encrypting File System) of Modem, the SIM realized with this;
Second processing unit is used for, and the data message of the second virtual SIM card receiving is write the second virtual SIM card, and Call the data message of write the second virtual SIM card, to complete the network registry of the second virtual SIM card;
Wherein, the second virtual SIM card is connected with second processing unit;First numerical value is the integer more than or equal to 1, second Numerical value is the integer more than or equal to zero.
It should be noted that being based on cost, traffic demand data business demand, the first numerical value and second value and one As be less than or equal to 2, the SIM being connected with first processing units is less than two;
The first instance SIM that embodiment of the present invention terminal comprises can be the SIM that terminal comprises in itself;Can also be The terminal later stage adds the SIM of setting, and that is, terminal itself does not comprise entity SIM;
Optionally, when embodiment of the present invention second value is more than or equal to 1, application processor is additionally operable to,
To each the first virtual SIM card, send bag respectively by setting up the network of the entity SIM of data service link Download request to this corresponding cloud server of the first virtual SIM card containing the first virtual SIM card corresponding service menu data, To obtain the data message of this first virtual SIM card from cloud server;The data message of the first virtual SIM card obtaining is sent out Toward first processing units;
Wherein, the first virtual SIM card corresponding service menu data includes:The number of the first virtual SIM card and set meal kind Class.Accordingly, the data message of the first virtual SIM card can include:IMSI、Ki、ICCID、PIN、PUK;
First processing units are additionally operable to, and the data message of each first virtual SIM card receiving is respectively written into corresponding the One virtual SIM card, and call the data message of write the first virtual SIM card, to complete the network registry of the first virtual SIM card.
Optionally, the embodiment of the present invention,
Application processor is additionally operable to, by the operational order of default user mutual interface user, according to user's Operational order generates the first control instruction and the second control instruction, and the first control instruction is transmitted to first processing units, will Second control instruction is transmitted to second processing unit;
First processing units are connected with application processor by default first interface, for according to the first control receiving The data service of the first instance SIM being connected with first processing units or the first virtual SIM card and first network is set up in instruction Link, to carry out the data traffic transmission of first instance SIM or the first virtual SIM card;
Second processing unit, is connected with application processor by default second interface, is additionally operable to according to second receiving Control instruction sets up the data service link with the second network, to carry out the data traffic transmission of the second virtual SIM card.
Here, first interface can include:Shared drive (SMD) interface;Default first interface can be other interfaces, As long as meeting communication protocol requirements;
Second interface is included with one of lower interface:USB, universal asynchronous receiving-transmitting transmitter (UART), secure digital input are defeated Go out (SDIO);Second interface can be other interfaces, as long as meeting communication protocol requirements;
It should be noted that embodiment of the present invention operational order can be received by the application layer in application processor and locate Reason;After the first control instruction being generated according to the operational order receiving and the second control instruction, the first control instruction can be passed through Default first interface transmits to first processing units, and the second control instruction can be transmitted to second by default second interface Processing unit;
In addition, the embodiment of the present invention is above-mentioned and being connected with application processor and can include:Application processor (AP) with terminal In core (kernel) layer in hardware driving (i.e. driver layer) connect, for example, first interface is when being SMD, then docking Hardware driving be exactly SMD driver;On SMD driver, corresponding connection is TCP/IP route and QMI host-host protocol (defined host-host protocol in correlation technique) part;Second interface is also the same reason, if second interface is USB, that Dock is the USB driving in kernel.After setting up data service link, the first instance that is connected with first processing units SIM and the first virtual SIM card carry out data service, the second virtual SIM cartoon by the data channel set up by first interface Cross and data service is carried out by the data channel that second interface is set up.
Optionally, application processor is additionally operable to,
When the set meal surplus of all SIMs being connected with first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, the second virtual SIM card is selected to carry out data service;Wherein, All SIMs include the first numerical value first instance SIM being connected with first processing units and second value first is virtual SIM;
When the set meal surplus of the second virtual SIM card is less than or equal to the second predetermined threshold value, select and first processing units The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs connecting;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with first processing units If the SIM of threshold value, and when the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, according to default traffic assignments Strategy, distribution set meal surplus is more than any one SIM and the second virtual SIM card corresponding data industry of the first predetermined threshold value Business.
Optionally, embodiment of the present invention application processor can be also used for the network matter according to first network and the second network The package information of amount, the second virtual SIM card and the first instance SIM being connected with first processing units or the first virtual SIM card Data service to terminal carries out traffic assignments.Specifically,
When the set meal surplus of all SIMs being connected with first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, the second virtual SIM card is selected to carry out data service;Wherein, All SIMs include the first numerical value first instance SIM being connected with first processing units and second value first is virtual SIM;
When the set meal surplus of the second virtual SIM card is less than or equal to the second predetermined threshold value, select and first processing units The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs connecting;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with first processing units If the SIM of threshold value, and when the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, according to default traffic assignments Strategy, according to the signal strength signal intensity size of first network and the second network, network speed speed, link delay length distribution set remaining meal Amount is more than any one SIM and the corresponding data service of the second virtual SIM card of the first predetermined threshold value.
It should be noted that the embodiment of the present invention first predetermined threshold value and the second predetermined threshold value are according to the set meal kind of user Class and user's use habit are designed realizing;Include as a example signal strength signal intensity size by network quality, default traffic assignments plan Slightly can include:According to the signal strength signal intensity of first network and the second network, the SIM strong to signal strength signal intensity, distributes more number According to business, the SIM relatively small to signal strength signal intensity, distributes relatively small number of data service;Specifically distributed data business is many After less can be by counting to the speed of download of SIM under unlike signal intensity, be obtained according to analysis of statistical results and correspond to Numerical value, when making the download of data service that two SIM cards are allocated, the data to same data service can be completed simultaneously Download.When network quality be signal strength signal intensity size, one or more of network speed speed, link delay length when, can be with base Carry out data service distribution in the principle that signal strength signal intensity carries out data service distribution.
The embodiment of the present invention, first instance SIM, the first virtual SIM card, the second virtual SIM card can correspond to difference Or identical technical standard.In optional example, technical bid will definitely (for example, the whole world be moved for Generation Mobile Telecommunication System (2G) technology Dynamic communication system (GSM, Global System for Mobile Communication), general packet radio service technology (GPRS, General Packet Radio Service), enhanced data rates for gsm evolution technology (EDGE, Enhanced Data Rate for GSM Evolution)), the 3G communication technology (for example, WCDMA (WCDMA, Wideband Code Division Multiple Access), TD SDMA (TDS-CDMA, Time Division- Synchronous Code Division Multiple Access)), the 4G communication technology (for example, Long Term Evolution (LTE, Long Term Evolution), time-division Long Term Evolution (TD-LTE, Time Division Long Term Evolution)), or appoint What its mobile communication technology (for example, 4G, 4.5G etc.).First network and the second network according to first instance SIM, first The technical standard that virtual SIM card and the second virtual SIM card are supported determines, first network and the second network can be identical standards Network it is also possible to the network of different systems;First network and the second network can be any one in following networks:LTE、 GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD-SCDMA, WCDMA etc..
Optionally, embodiment of the present invention terminal also includes:
First radio frequency, is connected with first processing units, for setting up the first instance SIM being connected with first processing units Or first virtual SIM card and first network data service link;
Second radio frequency, is connected with second processing unit, for setting up the data service of the second virtual SIM card and the second network Link.
It should be noted that first processing units and second processing unit are when carrying out data service, with reference to correlation technique In agreement, can by run corresponding protocol stack be processed, the embodiment of the present invention is using the first protocol stack as at first The protocol stack that reason unit runs, the protocol stack being run as second processing unit using second protocol stack.In addition, the first radio frequency and Wireless access technology involved by two radio frequencies can include LTE, GSM, GPRS, CDMA, EDGE, WLAN, CDMA-2000, TD- SCDMA, WCDMA etc..Embodiment of the present invention terminal can mobile terminal including mobile phone, flat board or no circuit By network nodes such as devices.Fig. 5 is the structured flowchart of another embodiment of the present invention terminal, as shown in figure 5, increasing on the basis of Fig. 3 The terminal having the first radio frequency and the second radio frequency can be network node, for example, be provided with the second virtual SIM card, first instance SIM Card and the wireless router of the first virtual SIM card.
It should be noted that according to the communication process flow process in correlation technique, carrying out the first instance SIM of data service Card or the first virtual SIM card, can set up call based on first processing units by first network and connect, be led to carrying out voice Words;Carrying out the second virtual SIM card of data service, the second network can passed through based on second processing unit and set up call even Connect, to carry out voice call;With reference to correlation technique, first processing units are also loaded with the first protocol stack, second processing unit phase That answers is loaded with second protocol stack, and protocol stack is used for realizing data service.First instance SIM (or first virtual SIM card) and Second virtual SIM card can carry out data traffic transmission simultaneously, and one of SIM is when carrying out data traffic transmission, another SIM card can carry out voice transfer.
In addition, embodiment of the present invention terminal can also include:
Microphone, for gathering voice signal;
Codec, the voice signal for collecting to microphone carries out analog-to-digital conversion;
First processing units also include:
Digital signal processing unit, carries out audio frequency process and is transferred to first for the signal after codec analog-to-digital conversion Protocol stack;
Signal after processing through the first protocol stack is sent to first network by the first radio frequency.
In the same manner, second processing unit can also include:Digital signal processing unit, after codec analog-to-digital conversion Signal carries out audio frequency process and is transferred to second protocol stack;
Signal after processing through second protocol stack is sent to the second network by the second radio frequency.
Digital signal processing unit is used for, and the signal after processing through the first protocol stack is carried out audio frequency process and is transferred to volume Decoder;
Codec is used for, and carries out analog-to-digital conversion to the signal from digital signal processing unit;
Embodiment of the present invention terminal also includes:
Receiver, for voice signal after codec handling for the output.
Fig. 6 is the structured flowchart of yet another embodiment of the invention terminal, as shown in fig. 6, terminal increases on the architecture basics of Fig. 5 Microphone, codec, digital signal processing unit, receiver etc. are added;Fig. 6 can be understood as comprising second virtual SIM The mobile phone of card and a first instance SIM or flat board.
The embodiment of the present invention for two SIM cards carry out simultaneously data service provide the foundation it is achieved that two SIM cards simultaneously Carry out data service.
The flow chart that Fig. 7 realizes the method for communication process for the embodiment of the present invention, comprises in embodiment of the present invention terminal For connecting the first processing units and second of the first numerical value first instance SIM and second value the first virtual SIM card The second virtual SIM card that processing unit connects, including:
Step 700, read the authentication parameter of any one first instance SIM, to set up first instance SIM and network Data service link;
Step 701, by set up data service link entity SIM network send comprise the second virtual SIM card Service menu data download request to the corresponding cloud server of the second virtual SIM card, with from cloud server obtain second The data message of virtual SIM card, and the data message of the second virtual SIM card obtaining is sent to first processing units;
Wherein, the service menu data of the second virtual SIM card includes:The number of the second virtual SIM card and the second virtual SIM The set meal species of card;The data message of the second virtual SIM card can include:IMSI、Ki、ICCID、PIN、PUK;
The data message of the second virtual SIM card receiving is sent to by step 702, the data transmission channel passing through to pre-build Second processing unit;
The data message of the second virtual SIM card receiving is write the second virtual SIM card by step 703, second processing unit, And call the data message writing the second virtual SIM card, to complete the network registry of the second virtual SIM card;
Wherein, the first numerical value is the integer more than or equal to 1, and second value is the integer more than or equal to zero.
Optionally, present invention method also includes:
By the operational order of user mutual interface user, the operational order according to user generates the first control instruction With the second control instruction;
The first control instruction according to receiving sets up the first instance SIM that is connected with first processing units or first virtual SIM and the data service link of first network;
The second control instruction according to receiving is set up and is completed the second virtual SIM card of network registry and the data of the second network Service chaining.
It should be noted that either the second virtual SIM card, or the first instance SIM being connected with first processing units Card or the first virtual SIM card, data service link is implemented all after completing network registry.
Optionally, when embodiment of the present invention second value is more than or equal to 1, present invention method also includes:To every One the first virtual SIM card,
Send that to comprise the first virtual SIM card corresponding respectively by setting up the network of the entity SIM of data service link Service menu data download request to this corresponding cloud server of the first virtual SIM card, with from cloud server obtain should The data message of the first virtual SIM card;Wherein, the first virtual SIM card corresponding service menu data includes:First virtual SIM The number of card and set meal species;
The data message of the first virtual SIM card obtaining is sent to first processing units;
It is virtual that the data message of each first virtual SIM card receiving is respectively written into corresponding first by first processing units SIM, and call the data message of write the first virtual SIM card, to complete the network registry of the first virtual SIM card.
Optionally, when the embodiment of the present invention first numerical value is 0, second value is equal to 1 or 2;When first numerical value is 1, second Numerical value is equal to 0 or 1;When first numerical value takes 2, second value is equal to 0.
Optionally, when first network and the second network all complete data service link, present invention method is also wrapped Include:
When the set meal surplus of all SIMs being connected with first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, the second virtual SIM card is selected to carry out data service;Wherein, All SIMs include the first numerical value first instance SIM being connected with first processing units and second value first is virtual SIM;
When the set meal surplus of the second virtual SIM card is less than or equal to the second predetermined threshold value, from single with the described first process The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs that unit connects;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with first processing units If the SIM of threshold value, and when the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, according to default traffic assignments Strategy, distribution set meal surplus is more than any one SIM and the second virtual SIM card corresponding data industry of the first predetermined threshold value Business.
Optionally, embodiment of the present invention application processor can be also used for the network matter according to first network and the second network The package information of amount, the second virtual SIM card and the first instance SIM being connected with first processing units or the first virtual SIM card Data service to terminal carries out traffic assignments.Specifically,
When the set meal surplus of all SIMs being connected with first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, the second virtual SIM card is selected to carry out data service;Wherein, All SIMs include the first numerical value first instance SIM being connected with first processing units and second value first is virtual SIM;
When the set meal surplus of the second virtual SIM card is less than or equal to the second predetermined threshold value, select and first processing units The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs connecting;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with first processing units If the SIM of threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default business Allocation strategy, according to the signal strength signal intensity size of first network and the second network, network speed speed, link delay length distribution institute State any one SIM and the corresponding data service of the second virtual SIM card that set meal surplus is more than the first predetermined threshold value.
It should be noted that the embodiment of the present invention first predetermined threshold value and the second predetermined threshold value are according to the set meal kind of user Class and user's use habit are designed realizing;Include as a example signal strength signal intensity size by network quality, default traffic assignments plan Slightly can include:According to the signal strength signal intensity of first network and the second network, the SIM strong to signal strength signal intensity, distributes more number According to business, the SIM relatively small to signal strength signal intensity, distributes relatively small number of data service;Specifically distributed data business is many After less can be by counting to the speed of download of SIM under unlike signal intensity, be obtained according to analysis of statistical results and correspond to Numerical value, when making the download of data service that two SIM cards are allocated, the data to same data service can be completed simultaneously Download.When network quality be signal strength signal intensity size, one or more of network speed speed, link delay length when, can be with base Carry out data service distribution in the principle that signal strength signal intensity carries out data service distribution.
It should be noted that embodiment of the present invention first processing units and second processing unit can include adjusting demodulator (Modem);Universal input/output (GPIO, General can be passed through between first processing units and second processing unit Purpose Input Output) connect, realize the definition of control signal and transmission between two processing units by connecting.Control Signal processed includes:Control of chip boot sequence etc. when dormancy, wake-up, synchronous control, switching on and shutting down.The embodiment of the present invention is permissible Realized the execution of above-mentioned control signal by one of processing unit, for example, list is processed by first processing units execution first Unit and the control of second processing unit.
Here, first instance SIM, the first virtual SIM card and the second virtual SIM card can correspond to similar and different Technical standard.In optional example, technical bid will definitely be Generation Mobile Telecommunication System (2G) technology (for example, global mobile communication system System (GSM, Global System for Mobile Communication), general packet radio service technology (GPRS, General Packet Radio Service), enhanced data rates for gsm evolution technology (EDGE, Enhanced Data Rate for GSM Evolution)), the 3G communication technology (for example, WCDMA (WCDMA, Wideband Code Division Multiple Access), TD SDMA (TDS-CDMA, Time Division-Synchronous Code Division Multiple Access)), the 4G communication technology (for example, Long Term Evolution (LTE, Long Term Evolution), time-division Long Term Evolution (TD-LTE, Time Division Long Term Evolution)), or any other Mobile communication technology (for example, 4G, 4.5G etc.).
First network and the second network are propped up according to first instance SIM, the first virtual SIM card and the second virtual SIM card The technical standard held determines, first network and the second network can be the networks of identical standard it is also possible to different network formats Network;First network and the second network can be any one in following networks:LTE、GSM、GPRS、CDMA、EDGE、 WLAN, CDMA-2000, TD-SCDMA, WCDMA etc..
The embodiment of the present invention, can include in above-mentioned terminal:First radio frequency, is connected with first processing units, for setting up First instance SIM or the data service link of the first virtual SIM card and first network;Second radio frequency, with second processing unit Connect, for setting up the data service link of the second virtual SIM card and the second network.First processing units and second processing unit When carrying out data service, with reference to the agreement in correlation technique, can be processed by running corresponding protocol stack.
It should be noted that embodiment of the present invention terminal can mobile terminal including mobile phone, flat board or The network nodes such as wireless router.
The embodiment of the present invention, second processing unit is connected by second interface with application processor, and second interface can be wrapped Include with one of lower interface:USB、UART、SDIO.Second interface can be other interfaces, as long as meeting communication protocol requirements;
It should be noted that according to the communication process flow process in correlation technique, carrying out the first instance SIM of data service Card or the first virtual SIM card, can set up call based on first processing units by first network and connect, be led to carrying out voice Words;Carrying out the second virtual SIM card of data service, the second network can passed through based on second processing unit and set up call even Connect, to carry out voice call;With reference to correlation technique, first processing units are also loaded with the first protocol stack, second processing unit phase That answers is loaded with second protocol stack, and protocol stack is used for realizing data service.First instance SIM (or first virtual SIM card) and Second virtual SIM card can carry out data traffic transmission simultaneously, and one of SIM is when carrying out data traffic transmission, another SIM card can carry out voice transfer.
In addition, embodiment of the present invention terminal can also include:
Microphone, for gathering voice signal;
Codec, the voice signal for collecting to microphone carries out analog-to-digital conversion;
First processing units also include:Digital signal processing unit is used for, and the signal after codec analog-to-digital conversion is carried out Audio frequency process is simultaneously transferred to the first protocol stack;
Signal after processing through the first protocol stack is sent to first network by the first radio frequency.
In the same manner, second processing unit can also include:Digital signal processing unit, after codec analog-to-digital conversion Signal carries out audio frequency process and is transferred to second protocol stack;
Signal after processing through second protocol stack is sent to the second network by the second radio frequency.
Digital signal processing unit is used for, and the signal after processing through the first protocol stack is carried out audio frequency process and is transferred to volume Decoder;
Codec is used for, and carries out analog-to-digital conversion to the signal from digital signal processing unit;
The embodiment of the present invention, embodiment of the present invention terminal also includes:
Receiver, for voice signal after codec handling for the output.
The embodiment of the present invention for two SIM cards carry out simultaneously data service provide the foundation it is achieved that two SIM cards simultaneously Carry out data service.
The flow chart that Fig. 8 realizes the method for communication process for another embodiment of the present invention, as shown in figure 8, include:
Step 800, read the authentication parameter of any one first instance SIM, to set up first instance SIM and network Data service link;
Step 801, by set up data service link entity SIM network send comprise the second virtual SIM card Service menu data download request to the corresponding cloud server of the second virtual SIM card, with from cloud server obtain second The data message of virtual SIM card, and the data message of the second virtual SIM card obtaining is sent to first processing units;
Wherein, the service menu data of the second virtual SIM card includes:The number of the second virtual SIM card and the second virtual SIM The set meal species of card;The data message of the second virtual SIM card can include:IMSI、Ki、ICCID、PIN、PUK;
Step 802, first processing units pass through the data transmission channel that pre-builds by the second virtual SIM card receiving Data message is sent to second processing unit;
The data message of the second virtual SIM card receiving is write the second virtual SIM card by step 803, second processing unit;
Step 804, second processing cell call write the data message of the second virtual SIM card, realize the second virtual SIM card Network registry;
It should be noted that in addition, the network registry of first instance SIM is referred to the flow process reality in correlation technique Apply;In addition, according to the communication process flow process in correlation technique, carrying out the first instance SIM of data service, can be based on the One processing unit is set up call by first network and is connected, to carry out voice call;Carrying out the second virtual SIM of data service Card, can pass through the second network foundation call based on second processing unit and connect, to carry out voice call.If first processes list Unit connects the first virtual SIM card, then the first virtual SIM card is referred to 800~803 and realizes network registry;
Step 805, by the operational order of user mutual interface user, the operational order according to user generates first Control instruction and the second control instruction;
Step 806, set up first processing units and the data service link of first network according to the first control instruction, to enter First instance SIM or the data traffic transmission of the first virtual SIM card that row is connected with first processing units;
Step 807, set up second processing unit and the data service link of the second network according to the second control instruction, to enter The data traffic transmission of row second virtual SIM card.
Wherein, first processing units are connected with the application processor of terminal by default first interface;Second virtual SIM Card is connected with second processing unit, and second processing unit is connected with application processor by default second interface.
It should be noted that embodiment of the present invention first processing units and second processing unit can include adjusting demodulator (Modem);Can be connected by GPIO between first processing units and second processing unit, realize two process lists by connecting The definition of control signal and transmission between unit.Control signal includes:When dormancy, wake-up, synchronous control, switching on and shutting down, chip starts Control of order etc..The embodiment of the present invention can be realized the execution of above-mentioned control signal by one of processing unit, for example, leads to Cross first processing units and execute first processing units and the control of second processing unit.
The embodiment of the present invention, default second interface is included with one of lower interface:USB、UART、SDIO.Default second Interface can be other interfaces, as long as meeting communication protocol requirements,
Optionally, when first network and the second network all complete data service link, present invention method is also wrapped Include:
When the set meal surplus of all SIMs being connected with first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, described second virtual SIM card is selected to carry out data industry Business;Wherein, all SIMs include the first numerical value first instance SIM being connected with described first processing units and the second number Value the first virtual SIM card;
When the set meal surplus of the second virtual SIM card is less than or equal to the second predetermined threshold value, from single with the described first process The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs that unit connects;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with first processing units If the SIM of threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default business Allocation strategy, distributes any one SIM that described set meal surplus is more than the first predetermined threshold value and the second virtual SIM card is corresponding Data service.
Optionally, embodiment of the present invention application processor can be also used for the network matter according to first network and the second network The package information of amount, the second virtual SIM card and the first instance SIM being connected with first processing units or the first virtual SIM card Data service to terminal carries out traffic assignments.Specifically,
When the set meal surplus of all SIMs being connected with first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of the second virtual SIM card is more than the second predetermined threshold value, the second virtual SIM card is selected to carry out data service;Wherein, All SIMs include the first numerical value first instance SIM being connected with described first processing units and second value first Virtual SIM card;
When the set meal surplus of the second virtual SIM card is less than or equal to the second predetermined threshold value, select and first processing units The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs connecting;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with first processing units If the SIM of threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default business Allocation strategy, according to the signal strength signal intensity size of first network and the second network, network speed speed, link delay length distribution institute State any one SIM and the corresponding data service of the second virtual SIM card that set meal surplus is more than the first predetermined threshold value.
It should be noted that the embodiment of the present invention first predetermined threshold value and the second predetermined threshold value are according to the set meal kind of user Class and user's use habit are designed realizing;Include as a example signal strength signal intensity size by network quality, default traffic assignments plan Slightly can include:According to the signal strength signal intensity of first network and the second network, the SIM strong to signal strength signal intensity, distributes more number According to business, the SIM relatively small to signal strength signal intensity, distributes relatively small number of data service;Specifically distributed data business is many After less can be by counting to the speed of download of SIM under unlike signal intensity, be obtained according to analysis of statistical results and correspond to Numerical value, when making the download of data service that two SIM cards are allocated, the data to same data service can be completed simultaneously Download.When network quality be signal strength signal intensity size, one or more of network speed speed, link delay length when, can be with base Carry out data service distribution in the principle that signal strength signal intensity carries out data service distribution.
The embodiment of the present invention, with reference to correlation technique, first processing units are also loaded with the first protocol stack, second processing unit It is loaded with second protocol stack accordingly, protocol stack is used for realizing data service.First instance SIM (or first virtual SIM card) Data traffic transmission can be carried out with the second virtual SIM card simultaneously, wherein, a SIM when carrying out data traffic transmission, its He can carry out voice transfer by SIM.
One of ordinary skill in the art will appreciate that all or part of step in said method can be instructed by program Related hardware (such as processor) completes, and described program can be stored in computer-readable recording medium, such as read-only storage, Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits Realize.Correspondingly, each the module/unit in above-described embodiment can for example pass through integrated electricity to realize in the form of hardware Road is realizing its corresponding function, it would however also be possible to employ the form of software function module is realized, for example, be stored in by computing device Program/instruction in memory is realizing its corresponding function.The present invention is not restricted to the hardware and software of any particular form In conjunction with.
Although disclosed herein embodiment as above, described content only readily appreciates that the present invention adopts Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is being taken off without departing from the present invention On the premise of the spirit and scope of dew, any modification and change can be carried out in the form implemented and details, but the present invention Scope of patent protection, still must be defined by the scope of which is defined in the appended claims.

Claims (10)

1. a kind of terminal is it is characterised in that include:Second virtual user identification module SIM, for connecting the first numerical value the The first processing units of one entity SIM and second value the first virtual SIM card, second processing unit, application processor;Its In,
First processing units are used for, and read the authentication parameter of any one first instance SIM, to set up first instance SIM Data service link with network;By the data transmission channel pre-building, the data of the second virtual SIM card receiving is believed Breath is sent to second processing unit;
Application processor is used for, and comprises the second virtual SIM card by setting up the network of the entity SIM of data service link and sending Service menu data download request to the corresponding cloud server of the second virtual SIM card, to obtain the from cloud server The data message of two virtual SIM cards;The data message of the second virtual SIM card obtaining is sent to first processing units;
Second processing unit is used for, and the data message of the second virtual SIM card receiving is write the second virtual SIM card, and calls Write the data message of the second virtual SIM card, to complete the network registry of the second virtual SIM card;
Wherein, described second virtual SIM card is connected with second processing unit;Described first numerical value is the integer more than or equal to 1, Described second value is the integer more than or equal to zero.
2. terminal according to claim 1 is it is characterised in that when described second value is more than or equal to 1, described answer use Reason device is additionally operable to,
To each the first virtual SIM card, comprise institute by setting up the network of the entity SIM of data service link and sending respectively That states the first virtual SIM card corresponding service menu data downloads request to this corresponding cloud server of the first virtual SIM card, To obtain the data message of this first virtual SIM card from cloud server;The data message of the first virtual SIM card obtaining is sent out Toward first processing units;
First processing units are additionally operable to, and the data message of each first virtual SIM card receiving are respectively written into corresponding first empty Intend SIM, and call the data message writing the first virtual SIM card, to complete the network registry of the first virtual SIM card.
3. terminal according to claim 1 it is characterised in that
Described application processor is additionally operable to, by the operational order of default user mutual interface user, according to user's Operational order generates the first control instruction and the second control instruction, and the first control instruction is transmitted to first processing units, will Second control instruction is transmitted to second processing unit;
Described first processing units are connected with application processor by default first interface, for according to the first control receiving The first instance SIM being connected with first processing units described in instruction foundation or the data of the first virtual SIM card and first network Service chaining, to carry out the data traffic transmission of described first instance SIM or described first virtual SIM card;
Described second processing unit, is connected with application processor by default second interface, is additionally operable to according to second receiving Control instruction sets up the data service link with the second network, to carry out the data traffic transmission of described second virtual SIM card.
4. terminal according to claim 3 is it is characterised in that described default second interface is included with one of lower interface: USB, universal asynchronous receiving-transmitting transmitter UART, secure digital input and output SDIO.
5. the terminal according to any one of Claims 1 to 4 is it is characterised in that described application processor is additionally operable to,
When the set meal surplus of all SIMs being connected with described first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, described second virtual SIM card is selected to carry out data industry Business;Wherein, all SIMs include the first numerical value first instance SIM being connected with described first processing units and the second number Value the first virtual SIM card;
When the set meal surplus of described second virtual SIM card is less than or equal to the second predetermined threshold value, from single with the described first process The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs that unit connects;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with described first processing units If the SIM of threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default business Allocation strategy, distributes any one SIM that described set meal surplus is more than the first predetermined threshold value and the second virtual SIM card is corresponding Data service.
6. a kind of method realizing communication process is it is characterised in that terminal comprises for connecting the first numerical value first instance SIM The second virtual SIM card that the first processing units of card and second value the first virtual SIM card are connected with second processing unit, Including:
Read the authentication parameter of any one first instance SIM, to set up the data service chain of first instance SIM and network Connect;
By setting up the service menu data that the network transmission of the entity SIM of data service link comprises the second virtual SIM card Download request to the corresponding cloud server of the second virtual SIM card, with from cloud server obtain the second virtual SIM card number It is believed that breath, and the data message of the second virtual SIM card obtaining is sent to first processing units;
The data message of the second virtual SIM card receiving is sent to by the data transmission channel that first processing units are passed through to pre-build Second processing unit;
The data message of the second virtual SIM card receiving is write the second virtual SIM card by second processing unit, and calls write the The data message of two virtual SIM cards, to complete the network registry of the second virtual SIM card;
Wherein, described first numerical value is the integer more than or equal to 1, and described second value is the integer more than or equal to zero.
7. method according to claim 6 is it is characterised in that methods described also includes:
By the operational order of user mutual interface user, the operational order according to user generates the first control instruction and the Two control instructions;
The first control instruction according to receiving set up described in the first instance SIM that is connected with first processing units or first virtual SIM and the data service link of first network;
The second control instruction according to receiving is set up and is completed the second virtual SIM card of network registry and the data service of the second network Link.
8. method according to claim 6 is it is characterised in that when described second value is more than or equal to 1, methods described is also Including:To each the first virtual SIM card,
Send that to comprise described first virtual SIM card corresponding respectively by setting up the network of the entity SIM of data service link Service menu data download request to this corresponding cloud server of the first virtual SIM card, with from cloud server obtain should The data message of the first virtual SIM card;Wherein, the first virtual SIM card corresponding service menu data includes:First virtual SIM The number of card and set meal species;
The data message of the first virtual SIM card obtaining is sent to first processing units;
The data message of each first virtual SIM card receiving is respectively written into corresponding first virtual SIM card by first processing units, And call the data message writing the first virtual SIM card, to complete the network registry of the first virtual SIM card.
9. method according to claim 6 it is characterised in that
When described first numerical value is 1, described second value is equal to 0 or 1;
When described first numerical value takes 2, described second value is equal to 0.
10. the method according to any one of claim 6~9 is it is characterised in that methods described also includes:
When the set meal surplus of all SIMs being connected with described first processing units is respectively less than or is equal to the first predetermined threshold value, When the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, described second virtual SIM card is selected to carry out data industry Business;Wherein, all SIMs include the first numerical value first instance SIM being connected with described first processing units and the second number Value the first virtual SIM card;
When the set meal surplus of described second virtual SIM card is less than or equal to the second predetermined threshold value, from single with the described first process The SIM that any one set meal surplus is more than the first predetermined threshold value is selected to carry out data service in all SIMs that unit connects;
Pre- more than first when there is one or more set meal surpluses in all SIMs being connected with described first processing units If the SIM of threshold value, and when the set meal surplus of described second virtual SIM card is more than the second predetermined threshold value, according to default business Allocation strategy, distributes any one SIM that described set meal surplus is more than the first predetermined threshold value and the second virtual SIM card is corresponding Data service.
CN201610934530.2A 2016-10-31 2016-10-31 Method and terminal for realizing communication processing Pending CN106454798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610934530.2A CN106454798A (en) 2016-10-31 2016-10-31 Method and terminal for realizing communication processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610934530.2A CN106454798A (en) 2016-10-31 2016-10-31 Method and terminal for realizing communication processing

Publications (1)

Publication Number Publication Date
CN106454798A true CN106454798A (en) 2017-02-22

Family

ID=58177602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610934530.2A Pending CN106454798A (en) 2016-10-31 2016-10-31 Method and terminal for realizing communication processing

Country Status (1)

Country Link
CN (1) CN106454798A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811975A (en) * 2015-03-24 2015-07-29 联想(北京)有限公司 Control method and device and electronic equipment
CN104902463A (en) * 2015-05-22 2015-09-09 努比亚技术有限公司 Mobile terminal, multi-card management method for virtual card terminal thereof, and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811975A (en) * 2015-03-24 2015-07-29 联想(北京)有限公司 Control method and device and electronic equipment
CN104902463A (en) * 2015-05-22 2015-09-09 努比亚技术有限公司 Mobile terminal, multi-card management method for virtual card terminal thereof, and server

Similar Documents

Publication Publication Date Title
CN106535306A (en) Dormancy control method and terminal
CN106453382A (en) Message pushing method and device
CN106455010A (en) Quick network search method and apparatus
CN106412871A (en) Method of realizing communication processing and terminal
CN106371682A (en) Gesture recognition system based on proximity sensor and method thereof
CN106656278B (en) A kind of near field communication device and terminal device
CN106550353A (en) A kind of method and terminal for realizing communication process
CN106572458A (en) Communication processing realizing method and terminal
CN106559772A (en) A kind of method and terminal for realizing radio communication
CN106572156A (en) Method for realizing wireless communication and terminal
CN106604299A (en) Wireless communication realizing method and terminal
CN106535158A (en) Wireless communication realization method and terminal
CN106658470A (en) Master card setting device and method
CN106412878A (en) Device and method for activating subscriber identity module card
CN106534915A (en) Mobile terminal, and television broadcasting method by mobile terminal
CN105722246A (en) Network speed superposition device and method
CN106454795A (en) Method for implementing communication processing and terminal
CN106572155A (en) Method for realizing communication processing and terminal
CN106454797A (en) Wireless communication method and terminal
CN106550352A (en) A kind of method and terminal for realizing communication process
CN106412873A (en) Method and terminal for realizing wireless communication
CN106658464A (en) Method and terminal for realizing wireless communication
CN106604255A (en) Method and terminal for realizing wireless communication
CN106572154A (en) Method of realizing communication processing and terminal
CN106572456A (en) Method of realizing communication processing and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222