Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, useFor represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itselfNot specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as movingPhone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMPThe mobile terminal of (portable media player), navigation mobile terminal etc. and such as numeral TV, desktop computer etc.Fixed 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 forOutside the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is to realize a hardware architecture diagram for optional mobile terminal in each embodiment of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user inputUnit 130, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 showsMobile terminal with various assemblies, it should be understood that being not required for implementing all components for showing.Can be alternativelyImplement more or less component.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication systemOr the radio communication between network.For example, wireless communication unit can include but is not limited to mobile communication module 112 and wirelessThe Internet module 113.
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminalAnd at least one of server and/or receive from it radio signal.Such radio signal can be logical including voiceWords signal, video calling signal or the various types of data for 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.The module can be internally or externallyIt is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 include but is not limited to microphone122, microphone 122 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphoneSound (voice data) is received, and can be voice data by such acoustic processing.Audio (voice) data after treatmentThe form that mobile communication base station can be sent to via mobile communication module 112 can be converted in the case of telephone calling modelOutput.Microphone 122 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send outThe noise produced during sending audio signal or interference.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user inputPlant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touchPlate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc.Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of 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 electricityPower provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through itIt is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base inputThe no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile mannerGo out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include displayUnit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricityDuring words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia fileDownload etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling patternOr during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figureUI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit151 can serve as being input into mobile terminal and output mobile terminal.Display unit 151 can include liquid crystal display (LCD), filmIn transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.At least one.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this can claimIt is transparent display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..RootAccording to specific desired implementation method, mobile terminal 1 00 can include two or more display units, and (or other displays are mobile eventuallyEnd), for example, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen canFor detecting touch 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,It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception modeThe voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movementThe audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed.Dio Output Modules 152 can include loudspeaker, buzzer etc..
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo ZhekeTemporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.AndAnd, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signalData.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, manyMedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storageDevice (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 perform memory with by network connectionThe network storage mobile terminal cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, dataCommunication, video calling etc. related control and treatment.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unitAppropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculatingMachine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC(ASIC), digital signal processor (DSP), Digital Signal Processing mobile terminal (DSPD), FPGA mobile terminal(PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform hereAt least one in the electronic unit of the function of description is implemented, and in some cases, such implementation method can be in controlImplement in device 180.For software implementation, the implementation method of such as process or function can with allow to perform at least one function orThe single software module of operation is implemented.Software code can be by the software application journey write with any appropriate programming languageSequence (or program) is implemented, and software code can store in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description 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 used as showingExample.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if anyLine and wireless communication system and satellite-based communication system are operated.
Based on above-mentioned mobile terminal hardware configuration and inner frame figure, mobile terminal of the present invention and upgrade method are proposedEach embodiment.
Reference picture 2, Fig. 2 is a kind of structural representation of mobile terminal in the embodiment of the present invention.Mobile terminal includes that first adjustsModulator-demodulator 200 (Modem1), second modem 210 (Modem2), Wifi modules 230, the first logic switch 270,Two logic switches 280, the first SIM 250 and the second SIM 260, the first modem 200 and second modem 210Can such as 180 in Fig. 1, corresponding application ap can be separately operable, certain first modem 200 is also penetrated with firstFrequency is connected (not shown), and second modem 210 is also connected (not shown) with the first radio frequency.
First modem 200 is additionally operable to when user carries out voice communication using the first SIM 250, output firstThe first logic switch of predeterminated voltage control 270 is in first state, to cause that the first SIM 250 is connected to the first modulation /demodulationDevice 200;Or when user carries out voice communication using the second SIM 260, the second predeterminated voltage of output controls the second logic to openClose 280 and be in the second state, to cause that the second SIM 260 is connected to the first modem 200.
In the present embodiment when user carries out voice communication using the first SIM 250, the first modem 200 leads toCross control of the output low and high level realization to the first logic switch 270 and the second logic switch 280.For example, when output high levelWhen, the first logic switch 270 is turned on, and the first SIM 250 is connected with the first modem 202;And when exporting low level,First SIM 250 is connected with second modem 210.Or when high level is exported, the second logic switch 280 is turned on, make theTwo SIMs 260 are connected with the first modem 202;And when exporting low level, the second SIM 260 and second modem210 connections.
In the first embodiment of the present invention, if the first SIM 250 is connected with the first modem 202, firstSIM 250 can reside in the PS (Packet Switching, packet switch) of first network by the first modem 202Domain and CS (Circuit Switching, circuit switching) domain.Thus, the first SIM 250 can carry out CS languages by first networkSound and PS data services.
Likewise, if the second SIM 260 is connected with the first modem 200, the second SIM 260 can be by firstModem 200 resides in ps domain and the CS domains of first network.Thus, the second SIM 260 can carry out CS by first networkVoice and PS data services.
If the first SIM 250 is set up with second modem 210 and is connected, the first SIM 250 can be adjusted by secondModulator-demodulator 210 resides in the ps domain of the second network.Thus, the first SIM 250 can carry out PS data industry by the second networkBusiness.
Likewise, if the second SIM 260 is set up with second modem 210 being connected, the second SIM 260 can pass throughSecond modem 210 resides in the ps domain of the second network.Thus, the second SIM 260 can carry out PS numbers by the second networkAccording to business.
First network and the second network can be the heterogeneous networks of different operators, may also be same operator difference orIdentical network.First network and the second network can be 4G networks (for example, the 4G such as LTE network networks).
First modem 200 supports PS data services and CS speech businesses, and second modem 210 only supports PSData service.When the data card (the first SIM 250 or the second SIM 260) being connected with second modem 210 has CS languagesDuring sound business, the control logic of the first modem 200 switch (the first logic switch 270 or the second logic switch 280) is causedCorresponding data card is connected with the first modem 200, to realize CS speech businesses.
If it should be understood that PS speech businesses, then it is transmitted according to the transmission of PS data services.
The operational order of user is received using ap, if operational order is to carry out CS speech businesses by the first SIM 250,Then:First modem 200 exports the first logic switch of the first control instruction control 270 and causes the first SIM 250 and firstModem 200 is connected.The flow for carrying out CS speech businesses by the first SIM 250 includes:
First, voice communication connection is set up:Operational order is transferred to the first modem 200 using ap, byOne radio frequency sends the flows such as RRC connection request and is connected with the voice communication of callee with setting up to eNodeB.
After voice communication connection is set up, voice uplink process is:Microphone gathers voice signal, and codec is receivedThe voice signal of collection is simultaneously transferred to digital signal processing chip after carrying out analog-to-digital conversion;Digital signal processing chip is to receivingSignal carry out audio frequency process and be transferred to the first modem 200;First radio frequency will be processed through the first modem 200Signal afterwards is transmitted.Voice downstream transmitting procedure is:First radio frequency reception downstream signal is simultaneously transferred to the first modulation /demodulationDevice 200;Digital signal processing chip (ADSP) carries out audio frequency process and passes to the signal after being processed through the first modem 200It is defeated by codec (codec);Codec is transmitted to receiver after carrying out analog-to-digital conversion to the signal for receiving.
The operational order of user is received using ap, if operational order is to carry out CS speech businesses by the second SIM 260,Then:First modem 200 exports the second logic switch of the second control instruction control 280 and causes the second SIM 260 and firstModem 200 is connected.The flow for carrying out CS speech businesses by the second SIM 260 includes:
First, voice communication connection is set up:Operational order is transferred to the first modem 200 using ap, byOne radio frequency sends the flows such as RRC connection request and is connected with the voice communication of callee with setting up to eNodeB.
After voice communication connection is set up, voice uplink process is:Microphone gathers voice signal, and codec is receivedThe voice signal of collection is simultaneously transferred to digital signal processing chip after carrying out analog-to-digital conversion;Digital signal processing chip is to receivingSignal carry out audio frequency process and be transferred to the first modem 200;First radio frequency will be processed through the first modem 200Signal afterwards is transmitted.Voice downstream transmitting procedure is:First radio frequency reception downstream signal is simultaneously transferred to the first modulation /demodulationDevice 200;Digital signal processing chip carries out audio frequency process and is transferred to volume to the signal after being processed through the first modem 200Decoder;Codec is transmitted to receiver after carrying out analog-to-digital conversion to the signal for receiving.
The operational order of user is received using ap, if operational order is to carry out PS data services by the first SIM 250,Then the first modem 200 exports the first control instruction control the first logic switch 270 and turns on the first SIM 250 and firstThe interface channel of modem 200, also exports the second control instruction control the first logic switch 270 and turns on the first SIM 250With the interface channel of second modem 210, its transmission for being capable of achieving PS data services.
If specifically, conducting the first SIM 250 and the first modem 200 interface channel, PS data servicesTransfer process is:Data are received using ap, and is transferred to the first modem 200;First radio frequency is by the first modemUplink signal transmissions after 200 treatment are to first network (4G networks), and receive descending from first network (4G networks)Signal, and be transferred to the first modem 200 and process;Downstream signal after the first modem 200 is processed using apExported.
If the interface channel of the first SIM of conducting 250 and second modem 210, the transport stream of PS data servicesCheng Wei:Data are received using ap, and is transferred to second modem 210;Second radio frequency processes second modem 210Uplink signal transmissions afterwards are to LTE network, and receive the downstream signal from LTE network, and are transferred to the second modulation /demodulationDevice 210 is processed;Downstream signal after second modem 210 is processed using ap is exported.
If operational order is to carry out PS data services by the second SIM 260, the first modem 200 is exportableFirst control instruction control the second logic switch 280 turns on the interface channel of the second SIM 260 and the first modem 200,Also exportable second control instruction control the second logic switch 280 turns on the second SIM 260 and second modem 210Interface channel, its transmission for being capable of achieving PS data services.
If specifically, conducting the second SIM 260 and the first modem 200 interface channel, PS data servicesTransfer process is:Data are received using ap, and is transferred to the first modem 200;First radio frequency is by the first modemUplink signal transmissions after 200 treatment are to first network (4G networks), and receive descending from first network (4G networks)Signal, and be transferred to the first modem 200 and process;Downstream signal after the first modem 200 is processed using apExported.
If the interface channel of the second SIM of conducting 260 and second modem 210, the transport stream of PS data servicesCheng Wei:Data are received using ap, and is transferred to second modem 210;Second radio frequency processes second modem 210Uplink signal transmissions afterwards are to the second network (4G networks), and receive the downstream signal from the second network (4G networks), andSecond modem 210 is transferred to process;Downstream signal after second modem 210 is processed using ap carries out defeatedGo out.
When the first electronic switch is in first state, mobile terminal is disconnected between the first modem and second processingData communication.
First modem 200 can be the controller 180 in Fig. 1.Second modem 210 can be used andThe modem of the same model of one modem 200, or the relative relative processing capacity of first modem 200Weak modem is cost-effective second modem 210 in the present embodiment using relative first modem 200The weak modem of relative processing capacity, second modem 210 has data receiver and sending function, receivesData is activation to the first modem 200 is processed.
First modem 200 is additionally operable to be sent to the first SIM 250 or the second SIM 260 with prefixed time intervalInformation is carrying out the confirmation in place of data card;
If (the first SIM 250 of acquiescence should be with the first modem 200 confirmed in place to the first SIM 250Connection), the first SIM 250 is not connected with the first modem 200, then the first modem 200 is additionally operable to send firstControl instruction turns on the connecting path of the first SIM 250 and the first modem 200 with control logic switch 1.
If (the second SIM 260 of acquiescence should be with the first modem 200 confirmed in place to the second SIM 260Connection), the second SIM 260 is not connected with the first modem 200, then the first modem 200 is additionally operable to send secondControl instruction turns on the connecting path of the second SIM 260 and the first process chip with control logic switch 2.
Likewise, second modem 210 is additionally operable to prefixed time interval to the first SIM 250 or the second SIM260 transmission information are carrying out the confirmation in place of data card;
If (the first SIM 250 of acquiescence should be with second modem 210 confirmed in place to the first SIM 250Connection), the first SIM 250 is not connected with second modem 210, then the first modem 200 is additionally operable to send firstControl instruction is with the first SIM of conducting 250 of control logic switch 1 and the connecting path of second modem 210.
If (the first SIM 250 of acquiescence should be with second modem 210 confirmed in place to the second SIM 260Connection), the second SIM 260 is not connected with second modem 210, then the first modem 200 is additionally operable to send secondControl instruction is with the second SIM of conducting 260 of control logic switch 2 and the connecting path of second modem 210.
If for example, the second SIM 260 being connected with second modem 210 originally is switched and is connected to the first modulationDuring demodulator 200 (for example, switching to the first modem 200 to carry out PS data services), second need to be switched back within every 28 secondsModem 210, i.e., switch 2 and be connected to second modem 210 by control logic, in place to complete data cardConfirmation, treat Card Reader confirm after the completion of, the second SIM 260 is switched back into the first process chip again, with ensure communication it is normalCarry out.The rest may be inferred, if the first SIM 250 being connected with the first process chip originally is switched is connected to the second modulation /demodulationDuring device 210, the first process chip need to be switched back within every 28 seconds, i.e., switching 1 by control logic is connected to the first modulation /demodulationDevice 200, the confirmation in place to complete data card, after the completion for the treatment of that Card Reader confirms, the first SIM 250 is switched back into the second tune againModulator-demodulator 210, to ensure being normally carried out for communication.
The switching used time of logic switch is Millisecond, and it is also Millisecond that Card Reader is confirmed whether the used time in place, therefore, numberNormal business is not interfered with according to the switching of card to transmit.
According to above-mentioned affirmation mechanism in place, being connected with second modem 210 in the first SIM 250 carries out dataWhen business is transmitted, the first SIM 250 can also be connected with the first modem 200 and carry out voice transfer simultaneously.Need to only ensureWhen position confirms, the first SIM 250 is in place.
According to above-mentioned affirmation mechanism in place, the second SIM 260 is connected with second modem 210 and carries out data industryDuring business transmission, the second SIM 260 is also connected with the first modem 200 and carries out voice transfer.Confirmation in place need to only be ensuredWhen, the second SIM 260 is in place.
According to above-mentioned affirmation mechanism in place, the first SIM 250 is connected with the first modem 200 and carries out data industryWhen business transmission and speech business, the second SIM 260 is also connected with second modem 210 and carries out data traffic transmission.Only needWhen ensureing confirmation in place, 250 the second SIM of core of the first SIM 260 is in place respectively.
According to above-mentioned affirmation mechanism in place, the second SIM 260 is connected with the first modem 200 and carries out data industryWhen business transmission and speech business, the first SIM 250 is also connected with second modem 210 and carries out data traffic transmission.Only needWhen ensureing confirmation in place, 250 the second SIM of core of the first SIM 260 is in place respectively.
Mobile terminal of the present invention is double card binary channels mobile terminal, wherein the first modem 200 and the second modulatedemodulateAdjust device 210 separate.First modem 200 is also connected with Wifi modules, and the first modem 200 and second is modulatedIt is connected with general-purpose interface transmission channel by USB data transmission passage between demodulator 210, USB transmission passage is adjusted as firstData transmission channel between modulator-demodulator 200 and second modem 210, such as install bag data, speech data etc., generalInterface transmission channel is then as state transfer passage between the first modem 200 and second modem 210.
The first modem 200 and second modem 210 are run on using ap, user can be by such as Fig. 1User input unit 130 is operated during display module 151 provides interactive interface, and such as Fig. 1 to the user, so as to completeInteracted with the mobile terminal.It is used to process some complicated logical operations using ap, is additionally operable to the relevant online of userOr the operational order of call is sent to the first modem 200.
First modem 200 and second modem 210 contain the association of the network formats of various network interactionsView stack, the protocol stack includes LTE/WCDMA (Wideband Code Division Multiple Access, wideband code divisionMultiple access)/GSM (Global System for Mobile Communication, global system for mobile communications)/TD-SCDMA(Time Division-Synchronous Code Division Multiple Access, synchronous time division CDMA)/The agreement generation of the communication standards such as CDMA (Code Division Multiple Access, CDMA)/EVDO the inside regulationCode.Mobile terminal is interacted by the agreement with the carrier network, that is, carry out data traffic online, VOLTE(Voice Over LTE) makes a phone call or CS (Circuit Switched, circuit switching) domain is made a phone call.
Mobile terminal of the present invention can also include the data processing module of the conventional echo suppressed in communication process and noise,And for sending the radio-frequency module etc. of data, no longer repeat one by one herein.
When second modem 210 is upgraded, the first modem 200 is additionally operable to obtain second modem210 upgrade command, and the first modem 200 and the second modem are enumerated according to the upgrade commandUSB transmission passage between 210;
Second modem 210 can inquire new system version in real time to server check system versionWhen needing upgrading, second modem 210 enters ROMPaq.When second modem 210 enters ROMPaq, obtainFrom the upgrade command of system, and send to the first modem 200.In specific implementation, it is also possible to the first modem 200Being verified from system version where to second modem 210, is needing where second modem 210 from systemWhen upgrading, the upgrade command from system is obtained.
First modem 200 obtain from the upgrade command of system when, the first tune is detected according to the upgrade commandAll of interface between modulator-demodulator 200 and second modem 210, enumerates the first modem 200 and secondUSB transmission passage between modem 210, so as to be used for second modem 210.
Specifically, USB transmission passage between the first modem 200 and second modem 210 is enumeratedProcess includes:
First modem 200, is additionally operable to that the first modem 200 is switched into subordinate according to the upgrade commandEquipment state, and the second modem 210 is switched into master status;
It is to ensure the mobile terminal during from system upgrade, the first modem in the mobile terminal200 carry out other by described Wifi modules etc. is processed, and the resource needed from system upgrade can be taken, first in the present embodimentWhen modem 200 obtains the upgrade command, the state of the first modem 200 is switched into slave state,The state of second modem 210 switches to master status, so that the present invention can be carried out normally.
First modem 200, is additionally operable to enumerate the USB transmission passage.
The state of the first modem 200 switches to master switching to slave state, second modem 210During equipment state, the first modem 200 detects the first modem 200 and the second modulation according to the upgrade commandAll of interface between demodulator 210, enumerates the USB between the first modem 200 and second modem 210Transmission channel, so as to be used for second modem 210.
Second modem 210 identifies that the first modem 200 enumerates USB transmission passage, and registers describedUSB transmission passage.
Second modem 210 is additionally operable to the network interface of the configuration correspondence USB transmission passage, specifically,Second modem 210 configures corresponding IP, routing rule, server DNS and gateway, its configuration detailed process with adoptIt is identical to the process of computer by the shared mobile terminal networks of USB with existing mobile terminal, no longer repeat one by one herein.Matching somebody with somebodyAfter the completion of putting.
Second modem 210 is additionally operable to download AKU by the wifi module, and is held according to the AKURow updating operation.
Second modem 210 configure after the completion of, second modem 210 just can by the network interface,AKU is downloaded using the wifi module 230, specifically, after the AKU has been downloaded, the AKU can be depositedIn storage to corresponding storage device, updating operation is then performed according to the AKU.
Specifically, the second modem 210 is additionally operable to, when the AKU completion is downloaded, detect the upgradingThe integrality of bag;
To ensure being normally carried out from the upgrading of system where second modem 210, in second modem 210When downloading the AKU completion, the AKU of the mobile terminal also to downloading carries out integrity verification.
Second modem 210 is additionally operable to, when the AKU is complete, updating operation be carried out according to the AKU.
When the AKU downloaded is complete, second modem 210 carries out updating operation according to the AKU.If the AKU downloaded is imperfect, second modem 210 is by being connected with the first modem 200Wifi modules 230 continue to download, and specifically, when the AKU downloads completion, if the AKU is imperfect, deleteThe AKU, downloads again through the Wifi modules 230 being connected with the first modem 200;Or enable conventionalBreakpoint transmission mechanism continues through the Wifi modules 230 being connected with the first modem 200 and downloads.
Further, due to being needed in second modem 210 by, using ap, being in the first modem 200User is not influenceed to be operated using other, when second modem 210 is upgraded successfully, second modem 210 sendsThe information for completing upgrade to the first modem 200.
Further, the letter that the upgrading for receiving the transmission of second modem 210 in the first modem 200 is completedBreath, the information that the first modem 200 is upgraded successfully according to second modem 210 cuts the first modem 200Master status are changed to, and second modem 210 is switched into slave state.
Mobile terminal of the present invention, the mobile terminal includes the first modem, second modem, wifi mouldsBlock, the first logic switch and the second logic switch, first modem are connected with the wifi module, and described first adjustsModulator-demodulator, for when user carries out voice communication using the first SIM, the first predeterminated voltage of output control described first to be patrolledCollect switch and be in first state, to cause that first SIM is connected to first modem;Or used in userWhen second SIM carries out voice communication, the second predeterminated voltage of output controls second logic switch to be in the second state, so thatObtain second SIM and be connected to first modem, first modem is additionally operable to obtain described secondThe upgrade command of modem, and the first modem and second modulation /demodulation are enumerated according to the upgrade commandUSB transmission passage between device;The second modem, for recognizing the USB transmission passage, and it is described to register correspondenceThe network interface of USB transmission passage;The second modem is additionally operable to configure the network interface;Second modulatedemodulateAdjust device to be additionally operable to download AKU by wifi, and updating operation is performed according to the AKU.Through the above way, the present inventionUpdate mobile terminal includes two modems, is connected to SIM, so as to realize that two SIM cards can be while make4G networks are used, and when second modem is upgraded, the USB that second modem is enumerated to the first modemTransmission channel is configured, and the wifi being connected on the first modem is used such that it is able to pass through USB transmission channel transferThe AKU that module is downloaded, then carries out updating operation according to the AKU.
Reference picture 3, Fig. 3 is the schematic flow sheet of the first embodiment of upgrade method of the present invention.
In the present embodiment, the upgrade method includes:
Step S10, first modem obtains the upgrade command of the second modem, and according to describedUpgrade command enumerates the USB transmission passage between the first modem and the second modem;
The present embodiment for being illustrated as a example by mobile terminal as shown in Figure 2, certain those of ordinary skill in the artUpgrade method of the present invention is applied in other mobile terminals also according to core concept of the present invention.
Second modem 210 can inquire new system version in real time to server check system versionWhen needing upgrading, second modem 210 enters ROMPaq.When second modem 210 enters ROMPaq, obtainFrom the upgrade command of system, and send to the first modem 200.In specific implementation, it is also possible to the first modem 200Being verified from system version where to second modem 210, is needing where second modem 210 from systemWhen upgrading, the upgrade command from system is obtained.
First modem 200 obtain from the upgrade command of system when, the first tune is detected according to the upgrade commandAll of interface between modulator-demodulator 200 and second modem 210, enumerates the first modem 200 and secondUSB transmission passage between modem 210, so as to be used for second modem 210.
Specifically, as shown in figure 4, the first modem obtains the upgrade command of the second modem, and rootThe process of the USB transmission passage between the first modem and the second modem is enumerated according to the upgrade commandIncluding:
Step S11, first modem switches to first modem according to the upgrade commandSlave state, and the second modem is switched into master status;
It is to ensure the mobile terminal during from system upgrade, the first modem in the mobile terminal200 carry out other by described Wifi modules etc. is processed, and the resource needed from system upgrade can be taken, first in the present embodimentWhen modem 200 obtains the upgrade command, the state of the first modem 200 is switched into slave state,The state of second modem 210 switches to master status, so that the present invention can be carried out normally.
Step S12, first modem enumerates the USB transmission passage.
The state of the first modem 200 switches to master switching to slave state, second modem 210During equipment state, the first modem 200 detects the first modem 200 and the second modulation according to the upgrade commandAll of interface between demodulator 210, enumerates the USB between the first modem 200 and second modem 210Transmission channel, so as to be used for second modem 210.
Step S20, the second modem recognizes the USB transmission passage, and it is logical to register the correspondence USB transmissionThe network interface in road;
Step S30, the second modem configures the network interface;
Second modem 210 is additionally operable to the network interface of the configuration correspondence USB transmission passage, specifically,Second modem 210 configures corresponding IP, routing rule, server DNS and gateway, its configuration detailed process with adoptIt is identical to the process of computer by the shared mobile terminal networks of USB with existing mobile terminal, no longer repeat one by one herein.Matching somebody with somebodyAfter the completion of putting.
Step S40, the second modem downloads AKU by wifi module, and is performed according to the AKUUpdating operation.
Second modem 210 configure after the completion of, second modem 210 just can by the network interface,AKU is downloaded using the wifi module 230, specifically, after the AKU has been downloaded, the AKU can be depositedIn storage to corresponding storage device, updating operation is then performed according to the AKU.
Specifically, second modem downloads AKU by wifi module, and performs upgrading according to the AKUThe process of operation includes:
Step S41, when the second modem downloads the AKU to be completed, detects the complete of the AKUProperty;
To ensure being normally carried out from the upgrading of system where second modem 210, in second modem 210When downloading the AKU completion, the AKU of the mobile terminal also to downloading carries out integrity verification.
Step S42, if the AKU is complete, the second modem then carries out upgrading behaviour according to the AKUMake.
When the AKU downloaded is complete, second modem 210 carries out updating operation according to the AKU.If the AKU downloaded is imperfect, second modem 210 is by being connected with the first modem 200Wifi modules 230 continue to download, and specifically, when the AKU downloads completion, if the AKU is imperfect, deleteThe AKU, downloads again through the Wifi modules 230 being connected with the first modem 200;Or enable conventionalBreakpoint transmission mechanism continues through the Wifi modules 230 being connected with the first modem 200 and downloads.
Mobile terminal of the present invention, the mobile terminal includes the first modem, second modem, wifi mouldsBlock, the first logic switch and the second logic switch, first modem are connected with the wifi module, and described first adjustsModulator-demodulator, for when user carries out voice communication using the first SIM, the first predeterminated voltage of output control described first to be patrolledCollect switch and be in first state, to cause that first SIM is connected to first modem;Or used in userWhen second SIM carries out voice communication, the second predeterminated voltage of output controls second logic switch to be in the second state, so thatObtain second SIM and be connected to first modem, first modem is additionally operable to obtain described secondThe upgrade command of modem, and the first modem and second modulation /demodulation are enumerated according to the upgrade commandUSB transmission passage between device;The second modem, for recognizing the USB transmission passage, and it is described to register correspondenceThe network interface of USB transmission passage;The second modem is additionally operable to configure the network interface;Second modulatedemodulateAdjust device to be additionally operable to download AKU by wifi, and updating operation is performed according to the AKU.Through the above way, the present inventionUpdate mobile terminal includes two modems, is connected to SIM, so as to realize that two SIM cards can be while make4G networks are used, and when second modem is upgraded, the USB that second modem is enumerated to the first modemTransmission channel is configured, and the wifi being connected on the first modem is used such that it is able to pass through USB transmission channel transferThe AKU that module is downloaded, then carries out updating operation according to the AKU.
Reference picture 6, Fig. 6 is the schematic flow sheet of the second embodiment of upgrade method of the present invention.
In the present embodiment, the upgrade method includes:
Step S10, first modem obtains the upgrade command of the second modem, and according to describedUpgrade command enumerates the USB transmission passage between the first modem and the second modem;
The present embodiment for being illustrated as a example by mobile terminal as shown in Figure 2, certain those of ordinary skill in the artUpgrade method of the present invention is applied in other mobile terminals also according to core concept of the present invention.
Second modem 210 can inquire new system version in real time to server check system versionWhen needing upgrading, second modem 210 enters ROMPaq.When second modem 210 enters ROMPaq, obtainFrom the upgrade command of system, and send to the first modem 200.In specific implementation, it is also possible to the first modem 200Being verified from system version where to second modem 210, is needing where second modem 210 from systemWhen upgrading, the upgrade command from system is obtained.
First modem 200 obtain from the upgrade command of system when, the first tune is detected according to the upgrade commandAll of interface between modulator-demodulator 200 and second modem 210, enumerates the first modem 200 and secondUSB transmission passage between modem 210, so as to be used for second modem 210.
Specifically, as shown in figure 5, the first modem obtains the upgrade command of the second modem, and rootThe process of the USB transmission passage between the first modem and the second modem is enumerated according to the upgrade commandIncluding:
Step S11, first modem switches to first modem according to the upgrade commandSlave state, and the second modem is switched into master status;
It is to ensure the mobile terminal during from system upgrade, the first modem in the mobile terminal200 carry out other by described Wifi modules etc. is processed, and the resource needed from system upgrade can be taken, first in the present embodimentWhen modem 200 obtains the upgrade command, the state of the first modem 200 is switched into slave state,The state of second modem 210 switches to master status, so that the present invention can be carried out normally.
Step S12, first modem enumerates the USB transmission passage.
The state of the first modem 200 switches to master switching to slave state, second modem 210During equipment state, the first modem 200 detects the first modem 200 and the second modulation according to the upgrade commandAll of interface between demodulator 210, enumerates the USB between the first modem 200 and second modem 210Transmission channel, so as to be used for second modem 210.
Step S20, the second modem recognizes the USB transmission passage, and it is logical to register the correspondence USB transmissionThe network interface in road;
Step S30, the second modem configures the network interface;
Second modem 210 is additionally operable to the network interface of the configuration correspondence USB transmission passage, specifically,Second modem 210 configures corresponding IP, routing rule, server DNS and gateway, its configuration detailed process with adoptIt is identical to the process of computer by the shared mobile terminal networks of USB with existing mobile terminal, no longer repeat one by one herein.Matching somebody with somebodyAfter the completion of putting.
Step S40, the second modem downloads AKU by wifi module, and is performed according to the AKUUpdating operation.
Second modem 210 configure after the completion of, second modem 210 just can by the network interface,AKU is downloaded using the wifi module 230, specifically, after the AKU has been downloaded, the AKU can be depositedIn storage to corresponding storage device, updating operation is then performed according to the AKU.
Specifically, second modem downloads AKU by wifi module, and performs upgrading according to the AKUThe process of operation includes:
Step S41, when the second modem downloads the AKU to be completed, detects the complete of the AKUProperty;
To ensure being normally carried out from the upgrading of system where second modem 210, in second modem 210When downloading the AKU completion, the AKU of the mobile terminal also to downloading carries out integrity verification.
Step S42, if the AKU is complete, the second modem then carries out upgrading behaviour according to the AKUMake.
When the AKU downloaded is complete, second modem 210 carries out updating operation according to the AKU.If the AKU downloaded is imperfect, second modem 210 is by being connected with the first modem 200Wifi modules 230 continue to download, and specifically, when the AKU downloads completion, if the AKU is imperfect, deleteThe AKU, downloads again through the Wifi modules 230 being connected with the first modem 200;Or enable conventionalBreakpoint transmission mechanism continues through the Wifi modules 230 being connected with the first modem 200 and downloads.
Step S50, when the second modem is upgraded successfully, the second modem sends upgrading and completesInformation give first modem.
It is not influence user due to being needed in second modem 210 by applying ap in the first modem 200Operated using others, when second modem 210 is upgraded successfully, second modem 210 sends what upgrading was completedInformation gives the first modem 200.
Step S60, the information that first modem is upgraded successfully according to the second modem will be describedFirst modem switches to master status, and the second modem is switched into slave state.
The information that the upgrading for receiving the transmission of second modem 210 in the first modem 200 is completed, first adjustsThe information that modulator-demodulator 200 is upgraded successfully according to second modem 210, by the first modem 200 switch based on setStandby state, and second modem 210 is switched into slave state.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many casesThe former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other wordsThe part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage mediumIn (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothesBusiness device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hairEquivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skillsArt field, is included within the scope of the present invention.