CN105577940B - Mobile terminal and method for upgrading system - Google Patents

Mobile terminal and method for upgrading system Download PDF

Info

Publication number
CN105577940B
CN105577940B CN201610055553.6A CN201610055553A CN105577940B CN 105577940 B CN105577940 B CN 105577940B CN 201610055553 A CN201610055553 A CN 201610055553A CN 105577940 B CN105577940 B CN 105577940B
Authority
CN
China
Prior art keywords
communication system
communication
processing module
application program
port
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.)
Active
Application number
CN201610055553.6A
Other languages
Chinese (zh)
Other versions
CN105577940A (en
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 CN201610055553.6A priority Critical patent/CN105577940B/en
Publication of CN105577940A publication Critical patent/CN105577940A/en
Application granted granted Critical
Publication of CN105577940B publication Critical patent/CN105577940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The invention discloses a kind of mobile terminals, the mobile terminal is applied to dual-channels communication, including the first communication system and the second communication system connected by universal serial bus, wherein, first communication system is used to that communication port to be arranged in the system upgrade request for receiving the transmission of the second communication system;Second communication system is used to establish its first transmission channel between the first communication system based on the communication port that the first communication system is arranged;Second communication system is also used to the first transmission channel based on foundation, pass through the Wi-Fi module download system upgrade package of the first communication system, and the system upgrade packet based on downloading carries out system upgrade operation, wherein the system upgrade packet of downloading is stored in the default memory space of the first communication system.The invention also discloses a kind of method for upgrading system.The present invention can reduce the higher cost that mobile terminal carries out system upgrade operation.

Description

Mobile terminal and method for upgrading system
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal and method for upgrading system.
Background technique
Currently, causing at present on the market since the protocol stack in single modem system only supports Netcom road on the way Double-card mobile terminal only support the online of card, another card can make a phone call, i.e., double card cannot be resident operator's net simultaneously Network.
In consideration of it, a kind of improved duplex MODEM system is proposed, including main communication system and time communication system, It is respectively provided with respective online access, double card is can be realized and is resident carrier network.In the specific implementation, only main communication system packet Include the Wi-Fi module being additionally arranged, it is to be understood that if secondary communication system is in the carrier network download system using oneself Upgrade package is to carry out system upgrade operation, and since system upgrade packet is usually larger, download system upgrade package will waste more Customer flow causes mobile terminal to carry out the higher cost of system upgrade operation.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The present invention provides a kind of mobile terminal and method for upgrading system, to overcome the drawbacks described above of the prior art.
Based on the above issues, the present invention provides a kind of mobile terminal, and the mobile terminal is applied to dual-channels communication, described Mobile terminal includes the first communication system and the second communication system connected by universal serial bus, wherein
First communication system is used for the setting when receiving the system upgrade request that second communication system is sent Communication port;
Second communication system is used to establish its between first communication system based on the communication port One transmission channel;
Second communication system is also used to first transmission channel based on foundation, passes through first communication system Wi-Fi module download system upgrade package, and the system upgrade packet based on downloading carries out system upgrade operation, wherein under The system upgrade packet carried is stored in the default memory space of first communication system.
Optionally, second communication system is also used to verify the integrality of the system upgrade packet of downloading;And System upgrade packet when verification passes through based on downloading carries out system upgrade operation.
Optionally, second communication system is also used to the communication port that first communication system is arranged being registered to this Ground, and configuration operation is carried out to it, after completing configuration operation, establish its first transmission between first communication system Channel.
Optionally, second communication system is also used to after completing system upgrade operation, sends the finger that upgrading is completed Show information to first communication system;
First communication system be also used to based on the instruction Information recovering its be arranged described communication port before with institute State the second transmission channel of the second communication system.
Optionally, first communication system is also used in the first operation corresponding with the first Subscriber Identity Module of its carry Quotient's network establishes connection, and when receiving access request of second communication system to the second user identification card of its carry, The card information for extracting the second user identification card is transmitted to second communication system;
Second communication system, which is used to carry out searching based on received card information to net, registers operation and authentication operations, and Completion is searched after net registration operation and authentication operations, is established and the second carrier network corresponding to second user identification card Connection.
Further, it is also proposed that a kind of method for upgrading system, the method for upgrading system are applied to mobile terminal, the shifting Dynamic terminal includes the first communication system and the second communication system connected by universal serial bus, the method for upgrading system packet It includes:
First communication system is when receiving the system upgrade request that second communication system is sent, setting communication Port;
Second communication system is established its first between first communication system based on the communication port and is passed Defeated channel;
First transmission channel of second communication system based on foundation, passes through the Wi- of first communication system Fi module download system upgrade package, and the system upgrade packet based on downloading carries out system upgrade operation, wherein the institute of downloading State the default memory space that system upgrade packet is stored in first communication system.
Optionally, the step of second communication system carries out system upgrade operation based on the system upgrade packet of downloading Before, further includes:
Second communication system is also used to verify the integrality of the system upgrade packet of downloading;
When verification passes through, second communication system is executed based on the system upgrade packet of downloading and carries out system upgrade The step of operation.
Optionally, second communication system establishes it between first communication system based on the communication port The step of first transmission channel includes:
The communication port that first communication system is arranged is registered to local by second communication system, and is carried out to it Configuration operation establishes its first transmission channel between first communication system after completing configuration operation.
Optionally, the step of second communication system carries out system upgrade operation based on the system upgrade packet of downloading Later, further includes:
Second communication system sends instruction information that upgrading is completed to described the after completing system upgrade operation One communication system;
First communication system is based on the instruction Information recovering, and described communication port is arranged before with described second in it Second transmission channel of communication system.
Optionally, the method for upgrading system further include:
First communication system is established in the first carrier network corresponding with the first Subscriber Identity Module of its carry to be connected When connecing, and receiving access request of second communication system to the second user identification card of its carry, described second is extracted The card information of Subscriber Identity Module is transmitted to second communication system;
Second communication system is based on received card information and carries out searching net registration operation and authentication operations, and completes It searches after net registration operation and authentication operations, establishes the company with the second carrier network corresponding to second user identification card It connects.
Communication ends are arranged in the system upgrade request for receiving the transmission of the second communication system in first communication system of the invention Mouthful, its first between the first communication system is established based on the communication port that the first communication system is arranged for the second communication system Transmission channel, and the first transmission channel based on foundation, by the Wi-Fi module download system upgrade package of the first communication system, System upgrade operation is carried out with the system upgrade packet based on downloading, to avoid waste customer flow, mobile terminal is reduced and carries out The cost of system upgrade operation.
Detailed description of the invention
Fig. 1 to realize the present invention in each embodiment an optional mobile terminal hardware structural diagram;
Fig. 2 is the topological structure exemplary diagram of the duplex MODEM system of the mobile terminal of each embodiment of the present invention;
Fig. 3 is the flow diagram of the first embodiment of present system upgrade method;
Fig. 4 is the flow diagram of the second embodiment of present system upgrade method;
Fig. 5 is the flow diagram of the 3rd embodiment of present system upgrade method.
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 present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include mobile communication module 111.
Mobile communication module 111 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 may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data. Mobile communication module 111 can be one, or it is multiple, for example, in an embodiment of the present invention, mobile communication module 111 be preferably two, for realizing the first modem processes module and the first radio-frequency module of the embodiment of the present invention respectively, And second modem processing module and the second radio-frequency module.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include microphone 121, Microphone 121 can receive in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone Sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can be with It is defeated that the format that can be sent to mobile communication base station via mobile communication module 111 is converted in the case where telephone calling model Out.Microphone 121 can be implemented various types of noises elimination (or inhibition) algorithms and sended and received with eliminating (or inhibition) The noise generated during audio signal or interference.In an embodiment of the present invention, microphone 121 is for realizing the present invention The digital signal processing module and voice input module of embodiment.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151, audio output module 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may 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 It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, 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 Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loudspeaker, buzzer etc..In an embodiment of the present invention, audio output module 152 is used Voice output module in the realization embodiment of the present invention.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more 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 memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.Controller 180 can be with execution pattern identifying processing, will be in touch screen The handwriting input of upper execution or picture draw input and are identified as character or image.Controller 180 can be one, or It is multiple, for example, in the present embodiment, controller 180 is preferably two, for realizing the first application of the embodiment of the present invention respectively Program processing module and the second application program processing module.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.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 Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, 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., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Based on mobile terminal hardware configuration shown in FIG. 1 is based on, each embodiment of the present invention is proposed.
Referring to Fig. 2, in the first embodiment of mobile terminal 100 of the present invention, the mobile terminal 100 is applied to binary channels Communication, the mobile terminal 100 include the first communication system 10 and the second communication system 20 connected by universal serial bus.
First communication system 10 is used for the setting communication in the system upgrade request for receiving the transmission of the second communication system 20 Port;
The communication port that second communication system 20 is used to be arranged based on the first communication system 10 establishes itself and the first communication system The first transmission channel between system 10;
Second communication system 20 is also used to the first transmission channel based on foundation, passes through the Wi-Fi of the first communication system 10 Module download system upgrade package, and the system upgrade packet based on downloading carries out system upgrade operation, wherein the system upgrade of downloading Packet is stored in the default memory space of the first communication system 10.
In the present embodiment, mobile terminal 100 provided by the invention is mainly used in dual-channels communication, such as double-card mobile terminal Resident carrier network simultaneously, it is to be understood that in other embodiments, the communication mechanism of the mobile terminal 100 is not It is confined to dual-channels communication mode provided by the invention, can also be multichannel communication mould more than triple channel or triple channel Formula.
Specifically, the first communication system 10 includes that the first application program processing module 101 and the first application program handle mould First modem processes module 102 of the connection of block 101, first connect with the first modem processes module 102 are penetrated Frequency module 103 and the digital signal processing module 104 being connect with the first modem processes module 102 and digital signal The coding/decoding module 105 of the connection of processing module 104, the voice input module 106 being connect with coding/decoding module 105 and voice output Module 107, and the Wi-Fi module 108 being connect with the first modem processes module 102;Second communication system 20 includes Second application program processing module 201, the second modem processing module being connect with the second application program processing module 201 202, the second radio-frequency module 203 being connect with second modem processing module 202, wherein the first application program handles mould Block 101 is connected with the second application program processing module 201 by universal serial bus, the first modem processes module 102 It is connected with second modem processing module 202 by universal asynchronous receiving-transmitting bus.
In the embodiment of the present invention, for the first communication system 10 in system upgrade process, mainly working is the first application Program processing module 101, equally, for the second communication system 20 in system upgrade process, mainly working is second using journey Sequence processing module 201.Following full text, will with the first application program processing module 101 and the second application program processing module 201 into Row explanation.
Wherein, the first application program processing module 101 operation mobile terminal operating system (such as Android system) and Various application programs can be the controller 180 in Fig. 1 to be supplied to one interactive interface of user.Second application program Processing module 201 is the opposite weaker processor of first application program processing module, 101 processing capacity, only serves the work of transparent transmission With, i.e., data, information etc. are not handled, and it is transferred directly to the first application program processing module 101 or the second modulatedemodulate Adjust device processing module 202.Certainly, there are also them for the first application program processing module 101 and the second application program processing module 201 The inner frame of itself, including application layer, ccf layer etc..In the embodiment of the present invention, the first application program processing module 101 is most main The effect wanted also by the related online of user or makes a phone call, sends short messages etc. to operate other than handling the logical operation of some complexity The lower correspondence of instruction issues the first modem processes module 102 or second modem processing module 202.
In the present embodiment, the first modem processes module 102 and second modem processing module 202 include The various protocol stacks with the network formats of network interaction.Wherein, protocol stack contains the protocol code that communication standard provides, Such as: (Long Term Evolution, long term evolution are the Universal Mobile Communication System technical bids organized to set up by 3GPP to LTE Quasi- long term evolution)/WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access)/GSM (Global System for Mobile Communication, global system for mobile communications)/TDSCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA)/CDMA 1X (improved 2.75G technology in CDMA IS-95 standard base supports voice-and-data transmission)/EVDO (Evolution Data Only can support speech and data simultaneously) etc..Mobile terminal 100 either passes through number when interacting with carrier network According to flow online, VOLTE (Voice over LTE, the voice service based on IMS) makes a phone call or CS (Circuit Switched, circuit switching) it makes a phone call, the agreement of these standards will be passed through.First modem processes module 102/ Two modem processes modules 202 are there are also some other managerial functions, including the control etc. to Subscriber Identity Module, For example, as shown in Fig. 2, (in other embodiments, the first modem processes module 102 is connected with two Subscriber Identity Modules The number of the Subscriber Identity Module of first modem processes module 102 connection is arranged according to actual needs, such as can only connect one Subscriber Identity Module), respectively the first Subscriber Identity Module and second user identification card.
First radio-frequency module, 103/ second radio-frequency module 203, the modem processes module transfer for connecting It is transmitted to carrier network after the upstream data processing to come over, is passed after the downlink data that carrier network hands down can also being handled The modem processes module connected to it.First modem processes module 102 and the first radio-frequency module 103 and Two modem processes modules 202 and the second radio-frequency module 203 may include the wireless communication unit 110 in Fig. 1.
Digital signal processing module 104, for being responsible for echo inhibition, noise suppressed etc. of the mobile terminal in communication process Equal audio processing operations.
Coding/decoding module 105, the operation such as analog-to-digital conversion and digital-to-analogue conversion for completing voice data.
Voice input module 106 is for receiving audio signal, digital signal processing module 104, coding/decoding module 105 and language Sound input module 106 may include the A/V input unit 120 in Fig. 1.
Voice output module 107 is used for output audio signal, can be the audio output module 152 in Fig. 1.
In the specific implementation, due to the first Subscriber Identity Module and second user identification card with the first modem processes Module 102 connects, and to realize double card 4G network resident, the first modem processes module 102 is used connected to it first Identification card corresponding first carrier network foundation in family has connection, and (the first modem processes module 102 is based on its connection First radio frequency 103 is connect with the first carrier network), and receive what second modem processing module 202 connected it When the access request of second user identification card, the card information by second user identification card is needed to share at second modem Module 202 is managed, establishes itself and second using the card information of second user identification card by second modem processing module 202 The connection of corresponding second carrier network of Subscriber Identity Module.Wherein, card information includes searching net registration and authentication needs ICCID, IMSI etc..Common, card information only occupies lesser data space, and the first modem processes module 102 is mentioning Get its connection second user identification card card information after, by the card information of extraction by its at second modem UART (generic asynchronous serial transceiver bus) connection between reason module 202 is transmitted to second modem processing module 202.
Second modem processing module 202 carries out searching net using received card information after receiving card information Registration operation and authentication operations.Specifically, card information determines second to second modem processing module 202 based on the received The operator (such as mobile, telecommunications and connection operator) of Subscriber Identity Module ownership, and the second radio-frequency module connected according to it The 203 received radiofrequency signals (identification information for carrying operator) from different operators base station, are passed through based on card information Radio connection is established in second operator corresponding with second user identification card of radio-frequency module 203 base station, and is using card information After the authentication operations for completing second user identification card, itself and the second carrier network corresponding to second user identification card are established Connection.
So far, mobile terminal passes through the first modem processes module 102 corresponding with the first Subscriber Identity Module first Carrier network foundation has connection, and passes through second modem processing module 202 and second user identification card pair simultaneously The the second carrier network foundation answered has connection.For example, mobile terminal has with mobile 4G network and the foundation of telecommunications 4G network simultaneously Double card is resident 4G network simultaneously for connection, i.e. mobile terminal, and the content of following several respects may be implemented:
1, mobile terminal can still pass through second user during doing data service by the first Subscriber Identity Module Identification card does data service, for example, user is passing through the corresponding first operator net of the first Subscriber Identity Module using mobile terminal Network still can carry out net on foreground by corresponding second carrier network of second user identification card when film is downloaded on backstage Page browsing, and the two is independent of each other.
2, mobile terminal can still be used during doing CS voice service by the first Subscriber Identity Module by second Family identification card does data service, for example, user is passing through corresponding first operator of the first Subscriber Identity Module using mobile terminal It, still can be by corresponding second carrier network of second user identification card on backstage when the CS voice service of network is made a phone call Film is downloaded, and the two is independent of each other.
3, mobile terminal during executing downloading or the data services such as video tour can by double 4G networks come Realization business accelerates, for example, user, when watching online film using mobile terminal, mobile terminal can be by corresponding Streaming Media number According to being shunted, pass through corresponding second fortune of corresponding first carrier network of the first Subscriber Identity Module and second user identification card It seeks quotient's network shunt and downloads stream medium data, and be presented to the user after merging, realize that business accelerates.
4, mobile terminal can achieve data service preferred purpose during data service.
In embodiments of the present invention, the system upgrade request of the second application program processing module 201 can respond user behaviour It triggers, can also be triggered with automatic cycle, for example, the preset versioning service of 201 cycle detection of the first application program processing module Whether device issues update, and when detecting publication update, and the system upgrade of triggering is requested to send by triggering system upgrade request To the first application program processing module 101.
First application program processing module 101 is in the system upgrade for receiving the transmission of the second application program processing module 201 When request, determines that the second application program processing module 201 is currently executing system upgrade operation, need download system upgrade package. Communication port is arranged in first application program processing module 101, applies journey so that the second application program processing module 201 is based on first The communication port that sequence processing module 101 is arranged establishes its first transmission channel between the first application program processing module 101.
Second application program processing module 201 send system upgrade request to the first application program processing module 101 it Afterwards, communication port of the first application program of the detecting real-time processing module 101 based on its received system upgrade request setting, and When detecting the communication port of the first application program processing module 101 setting, the first application program processing module 101 is arranged Communication port is registered to local, then carries out configuration operation to the communication port of registration, after completing configuration operation, with institute The first transmission channel stated between the first application program processing module 101 is established.
With the first application program processing module 101 setting too Controlling model port+modem port combined communication (it is, of course, also possible to the communication port of other forms is set, such as the port RmNet), the second application program processing module for port 201 in ether Controlling model port and the modem port for detecting the setting of the first application program processing module 101, base In the ether Controlling model port detected and modem port, it is arranged in local terminal and configures corresponding ether Controlling model Port and modem port, with the first transmission channel established between the first application program processing module 101.For example, Application of the ether Controlling model port of first application program processing module 101 setting to the first application program processing module 201 Layer provides eth0 network interface, and the ethernet service of application layer is serviced for eth0 network interface configuration of IP by NETD The information such as routing rule, and setting NDS (Network Data Service, network data services) are arranged in location.Second application The modem port that program processing module 201 is arranged to the application layer offer/dev/ttyUSB0 interface, by Ril.java order is converted to AT instruction by ril layers of Reference (RIL layers of device interface layers).The processing of second application program Module 201 is instructed and 102 (the first modem processes mould of the first modem processes module with protocol stack by AT Block 102 is provided with AT instruction interface) it communicates, such as by corresponding AT instruction based on/dev/ttyUSB0 realization dialing, switch Wi- The operation such as Fi module 108.Wherein, the first transmission channel includes the data channel based on ether Controlling model port (for interacting Communication data), and the control channel based on modem port (for interacting AT instruction).
After the first transmission channel established between the first application program processing module 101, at the second application program First transmission channel of the module 201 based on foundation is managed, the Wi-Fi connected by the first modem processes module 102 108 download system upgrade package of module.It should be noted that the first communication system 10 and the second communication system 20 have respective system System memory space, the respectively first default memory space (not shown) and the second default memory space (not shown) are in downloading When upgrade package of uniting, first transmission channel of the second application program processing module 201 based on foundation, at the first application program The interaction (including AT instruction or QMI instruction) that module 101 carries out control instruction is managed, subsystem liter will be worked as by Wi-Fi module 108 The system upgrade packet that grade operation needs downloads to the first default memory space.
After the downloading for completing system upgrade packet, the second application program processing module 201 is empty using the first default storage Between middle downloading system upgrade packet carry out system upgrade operation.Specifically, the second application program processing module 201 enters Recovery mode (Recovery mode refer to it is a kind of can be to the data or the mould modified of system inside Android machine Formula can brush under Recovery mode into new Android system, or existing system is backed up or upgraded), it uses System upgrade operation is carried out via the system upgrade packet that Wi-Fi module 108 is downloaded in first default memory space.
For the present invention through the first communication system in the system upgrade request for receiving the transmission of the second communication system, setting is logical Believe port, it is established between the first communication system based on the communication port that the first communication system is arranged for the second communication system First transmission channel, and the first transmission channel based on foundation are upgraded by the Wi-Fi module download system of the first communication system Packet, with based on downloading system upgrade packet carry out system upgrade operation, thus avoid waste customer flow, reduce mobile terminal into The cost of row system upgrade operation.
With continued reference to Fig. 2, in the second embodiment of mobile terminal 100 of the present invention, mobile terminal 100 includes by general The first communication system 10 and the second communication system 20 of universal serial bus connection, wherein
First communication system 10 is used for the setting communication in the system upgrade request for receiving the transmission of the second communication system 20 Port;
The communication port that second communication system 20 is used to be arranged based on the first communication system 10 establishes itself and the first communication system The first transmission channel between system 10;
Second communication system 20 is also used to the first transmission channel based on foundation, passes through the Wi-Fi of the first communication system 10 Module download system upgrade package, and verify the integrality of the system upgrade packet of downloading, wherein the system upgrade packet of downloading is stored in The default memory space of first communication system 10;And when verification passes through, the system upgrade packet based on downloading carries out system liter Grade operation.
In embodiments of the present invention, the system upgrade request of the second application program processing module 201 can respond user behaviour It triggers, can also be triggered with automatic cycle, for example, the preset versioning service of 201 cycle detection of the first application program processing module Whether device issues update, and when detecting publication update, and the system upgrade of triggering is requested to send by triggering system upgrade request To the first application program processing module 101.
First application program processing module 101 is in the system upgrade for receiving the transmission of the second application program processing module 201 When request, determines that the second application program processing module 201 is currently executing system upgrade operation, need download system upgrade package. Communication port is arranged in first application program processing module 101, applies journey so that the second application program processing module 201 is based on first The communication port that sequence processing module 101 is arranged establishes its first transmission channel between the first application program processing module 101.
Second application program processing module 201 send system upgrade request to the first application program processing module 101 it Afterwards, communication port of the first application program of the detecting real-time processing module 101 based on its received system upgrade request setting, and When detecting the communication port of the first application program processing module 101 setting, the first application program processing module 101 is arranged Communication port is registered to local, then carries out configuration operation to the communication port of registration, after completing configuration operation, with institute The first transmission channel stated between the first application program processing module 101 is established.
With the first application program processing module 101 setting too Controlling model port+modem port combined communication (it is, of course, also possible to the communication port of other forms is set, such as the port RmNet), the second application program processing module for port 201 in ether Controlling model port and the modem port for detecting the setting of the first application program processing module 101, base In the ether Controlling model port detected and modem port, it is arranged in local terminal and configures corresponding ether Controlling model Port and modem port, with the first transmission channel established between the first application program processing module 101.For example, Application of the ether Controlling model port of first application program processing module 101 setting to the first application program processing module 201 Layer provides eth0 network interface, and the ethernet service of application layer is serviced for eth0 network interface configuration of IP by NETD The information such as routing rule, and setting NDS (Network Data Service, network data services) are arranged in location.Second application The modem port that program processing module 201 is arranged to the application layer offer/dev/ttyUSB0 interface, by Ril.java order is converted to AT instruction by ril layers of Reference (RIL layers of device interface layers).The processing of second application program Module 201 is instructed and 102 (the first modem processes mould of the first modem processes module with protocol stack by AT Block 102 is provided with AT instruction interface) it communicates, such as by corresponding AT instruction based on/dev/ttyUSB0 realization dialing, switch Wi- The operation such as Fi module 108.Wherein, the first transmission channel includes the data channel based on ether Controlling model port (for interacting Communication data), and the control channel based on modem port (for interacting AT instruction).
After the first transmission channel established between the first application program processing module 101, at the second application program First transmission channel of the module 201 based on foundation is managed, the Wi-Fi connected by the first modem processes module 102 108 download system upgrade package of module.It should be noted that the first communication system 10 and the second communication system 20 have respective system System memory space, the respectively first default memory space (not shown) and the second default memory space (not shown) are in downloading When upgrade package of uniting, first transmission channel of the second application program processing module 201 based on foundation, at the first application program The interaction (including AT instruction or QMI instruction) that module 101 carries out control instruction is managed, subsystem liter will be worked as by Wi-Fi module 108 The system upgrade packet that grade operation needs downloads to the first default memory space.
After the downloading for completing system upgrade packet, the second application program processing module 201 is to the first default memory space The system upgrade packet of middle downloading carries out completeness check, to guarantee to be normally carried out system upgrade behaviour using the system upgrade packet Make, specifically, CRC check (Cyclic can be used when the second application program processing module 201 carries out completeness check Redundancy Check, cyclic redundancy check) mode carry out completeness check, MD5 (Message-Digest also can be used Algorithm 5, message digest algorithm 5) mode of verification carries out completeness check, or other completeness check sides Formula specifically chooses suitable completeness check mode according to actual needs.It should be noted that in other embodiments, second answers Completeness check can also be sent with program processing module 201 to request to the first application program processing module 101, and receives first The completeness check result that application program processing module 101 returns.
If completeness check passes through, the second application program processing module 201 in the first default memory space using downloading System upgrade packet carry out system upgrade operation.
If completeness check fails, the first transmission channel that the second application program processing module 201 is established based on it is led to It crosses Wi-Fi module 108 and re-downloads system upgrade packet, until the system upgrade packet of downloading passes through completeness check.
Specifically, the second application program processing module 201 execute system upgrade operation when, into Recovery mode (Recovery mode refer to it is a kind of can be to the data or the mode modified of system inside Android machine, in Recovery Can brush under mode into new Android system, or existing system is backed up or upgraded), it is empty using the first default storage Between in via Wi-Fi module 108 download system upgrade packet carry out system upgrade operation.
With continued reference to referring to Fig. 2, in the 3rd embodiment of mobile terminal 100 of the present invention, mobile terminal 100 includes passing through The first communication system 10 and the second communication system 20 of universal serial bus connection, wherein
First communication system 10 is used for the setting communication in the system upgrade request for receiving the transmission of the second communication system 20 Port;
The communication port that second communication system 20 is used to be arranged based on the first communication system 10 establishes itself and the first communication system The first transmission channel between system 10;
Second communication system 20 is also used to the first transmission channel based on foundation, passes through the Wi-Fi of the first communication system 10 Module download system upgrade package, and the system upgrade packet based on downloading carries out system upgrade operation, wherein the system upgrade of downloading Packet is stored in the default memory space of the first communication system 10;
Second communication system 20 is also used to after completing system upgrade operation, sends instruction information that upgrading is completed to the One communication system 10;
First communication system 10 is also used to lead to before based on received instruction Information recovering, communication port is arranged in it with second Second transmission channel of letter system 20.
In embodiments of the present invention, the system upgrade request of the second application program processing module 201 can respond user behaviour It triggers, can also be triggered with automatic cycle, for example, the preset versioning service of 201 cycle detection of the first application program processing module Whether device issues update, and when detecting publication update, and the system upgrade of triggering is requested to send by triggering system upgrade request To the first application program processing module 101.
First application program processing module 101 is in the system upgrade for receiving the transmission of the second application program processing module 201 When request, determines that the second application program processing module 201 is currently executing system upgrade operation, need download system upgrade package. Communication port is arranged in first application program processing module 101, applies journey so that the second application program processing module 201 is based on first The communication port that sequence processing module 101 is arranged establishes its first transmission channel between the first application program processing module 101.
Second application program processing module 201 send system upgrade request to the first application program processing module 101 it Afterwards, communication port of the first application program of the detecting real-time processing module 101 based on its received system upgrade request setting, and When detecting the communication port of the first application program processing module 101 setting, the first application program processing module 101 is arranged Communication port is registered to local, then carries out configuration operation to the communication port of registration, after completing configuration operation, with institute The first transmission channel stated between the first application program processing module 101 is established.
With the first application program processing module 101 setting too Controlling model port+modem port combined communication (it is, of course, also possible to the communication port of other forms is set, such as the port RmNet), the second application program processing module for port 201 in ether Controlling model port and the modem port for detecting the setting of the first application program processing module 101, base In the ether Controlling model port detected and modem port, it is arranged in local terminal and configures corresponding ether Controlling model Port and modem port, with the first transmission channel established between the first application program processing module 101.For example, Application of the ether Controlling model port of first application program processing module 101 setting to the first application program processing module 201 Layer provides eth0 network interface, and the ethernet service of application layer is serviced for eth0 network interface configuration of IP by NETD The information such as routing rule, and setting NDS (Network Data Service, network data services) are arranged in location.Second application The modem port that program processing module 201 is arranged to the application layer offer/dev/ttyUSB0 interface, by Ril.java order is converted to AT instruction by ril layers of Reference (RIL layers of device interface layers).The processing of second application program Module 201 is instructed and 102 (the first modem processes mould of the first modem processes module with protocol stack by AT Block 102 is provided with AT instruction interface) it communicates, such as by corresponding AT instruction based on/dev/ttyUSB0 realization dialing, switch Wi- The operation such as Fi module 108.Wherein, the first transmission channel includes the data channel based on ether Controlling model port (for interacting Communication data), and the control channel based on modem port (for interacting AT instruction).
After the first transmission channel established between the first application program processing module 101, at the second application program First transmission channel of the module 201 based on foundation is managed, the Wi-Fi connected by the first modem processes module 102 108 download system upgrade package of module.It should be noted that the first communication system 10 and the second communication system 20 have respective system System memory space, the respectively first default memory space (not shown) and the second default memory space (not shown) are in downloading When upgrade package of uniting, first transmission channel of the second application program processing module 201 based on foundation, at the first application program The interaction (including AT instruction or QMI instruction) that module 101 carries out control instruction is managed, subsystem liter will be worked as by Wi-Fi module 108 The system upgrade packet that grade operation needs downloads to the first default memory space.
After the downloading for completing system upgrade packet, the second application program processing module 201 is empty using the first default storage Between middle downloading system upgrade packet carry out system upgrade operation.Specifically, the second application program processing module 201 enters Recovery mode (Recovery mode refer to it is a kind of can be to the data or the mould modified of system inside Android machine Formula can brush under Recovery mode into new Android system, or existing system is backed up or upgraded), it uses System upgrade operation is carried out via the system upgrade packet that Wi-Fi module 108 is downloaded in first default memory space.
Further, in the present embodiment, the second application program processing module 201 complete system upgrade operation after, The instruction information of upgrading completion is sent to the first application program processing module 101, to inform that system upgrade operation, nothing is completed in it Wi-Fi module 108 need to be continued to use.
First application program processing module 101 is in the instruction information for receiving the transmission of the second application program processing module 201 When, based on the communication port of its received instruction information revocation setting, and restores it and be arranged before communication port with second using journey The second transmission channel between sequence processing module 201.Wherein, the first application program processing module 101 restores the second transmission channel Include:
The first communication port is arranged in first application program processing module 101;
The second communication port corresponding with the first communication port is arranged in second application program processing module 201;
First application program processing module 101 registers the first communication port, based on the second communication port detected to build Vertical the second transmission channel between the second application program processing module 201.
In conjunction with referring to Fig. 2 and Fig. 3, in the first embodiment of present system upgrade method, the method for upgrading system packet It includes:
Step S10, the first communication system 10 is in the system upgrade request for receiving the transmission of the second communication system 20, setting Communication port;
Step S20, the second communication system 20 based on the communication port that the first communication system 10 is arranged establish its with it is first logical The first transmission channel between letter system 10;
Step S30, first transmission channel of second communication system 20 based on foundation, passes through the Wi- of the first communication system 10 108 download system upgrade package of Fi module, and system upgrade packet based on downloading carries out system upgrade operation, wherein downloading is System upgrade package is stored in the default memory space of the first communication system.
In embodiments of the present invention, the system upgrade request of the second application program processing module 201 can respond user behaviour It triggers, can also be triggered with automatic cycle, for example, the preset versioning service of 201 cycle detection of the first application program processing module Whether device issues update, and when detecting publication update, and the system upgrade of triggering is requested to send by triggering system upgrade request To the first application program processing module 101.
First application program processing module 101 is in the system upgrade for receiving the transmission of the second application program processing module 201 When request, determines that the second application program processing module 201 is currently executing system upgrade operation, need download system upgrade package. Communication port is arranged in first application program processing module 101, applies journey so that the second application program processing module 201 is based on first The communication port that sequence processing module 101 is arranged establishes its first transmission channel between the first application program processing module 101.
Second application program processing module 201 send system upgrade request to the first application program processing module 101 it Afterwards, communication port of the first application program of the detecting real-time processing module 101 based on its received system upgrade request setting, and When detecting the communication port of the first application program processing module 101 setting, the first application program processing module 101 is arranged Communication port is registered to local, then carries out configuration operation to the communication port of registration, after completing configuration operation, with institute The first transmission channel stated between the first application program processing module 101 is established.
With the first application program processing module 101 setting too Controlling model port+modem port combined communication (it is, of course, also possible to the communication port of other forms is set, such as the port RmNet), the second application program processing module for port 201 in ether Controlling model port and the modem port for detecting the setting of the first application program processing module 101, base In the ether Controlling model port detected and modem port, it is arranged in local terminal and configures corresponding ether Controlling model Port and modem port, with the first transmission channel established between the first application program processing module 101.For example, Application of the ether Controlling model port of first application program processing module 101 setting to the first application program processing module 201 Layer provides eth0 network interface, and the ethernet service of application layer is serviced for eth0 network interface configuration of IP by NETD The information such as routing rule, and setting NDS (Network Data Service, network data services) are arranged in location.Second application The modem port that program processing module 201 is arranged to the application layer offer/dev/ttyUSB0 interface, by Ril.java order is converted to AT instruction by ril layers of Reference (RIL layers of device interface layers).The processing of second application program Module 201 is instructed and 102 (the first modem processes mould of the first modem processes module with protocol stack by AT Block 102 is provided with AT instruction interface) it communicates, such as by corresponding AT instruction based on/dev/ttyUSB0 realization dialing, switch Wi- The operation such as Fi module 108.Wherein, the first transmission channel includes the data channel based on ether Controlling model port (for interacting Communication data), and the control channel based on modem port (for interacting AT instruction).
After the first transmission channel established between the first application program processing module 101, at the second application program First transmission channel of the module 201 based on foundation is managed, the Wi-Fi connected by the first modem processes module 102 108 download system upgrade package of module.It should be noted that the first communication system 10 and the second communication system 20 have respective system System memory space, the respectively first default memory space (not shown) and the second default memory space (not shown) are in downloading When upgrade package of uniting, first transmission channel of the second application program processing module 201 based on foundation, at the first application program The interaction (including AT instruction or QMI instruction) that module 101 carries out control instruction is managed, subsystem liter will be worked as by Wi-Fi module 108 The system upgrade packet that grade operation needs downloads to the first default memory space.
After the downloading for completing system upgrade packet, the second application program processing module 201 is empty using the first default storage Between middle downloading system upgrade packet carry out system upgrade operation.Specifically, the second application program processing module 201 enters Recovery mode (Recovery mode refer to it is a kind of can be to the data or the mould modified of system inside Android machine Formula can brush under Recovery mode into new Android system, or existing system is backed up or upgraded), it uses System upgrade operation is carried out via the system upgrade packet that Wi-Fi module 108 is downloaded in first default memory space.
For the present invention through the first communication system in the system upgrade request for receiving the transmission of the second communication system, setting is logical Believe port, it is established between the first communication system based on the communication port that the first communication system is arranged for the second communication system First transmission channel, and the first transmission channel based on foundation are upgraded by the Wi-Fi module download system of the first communication system Packet, with based on downloading system upgrade packet carry out system upgrade operation, thus avoid waste customer flow, reduce mobile terminal into The cost of row system upgrade operation.
In conjunction with referring to Fig. 2 and Fig. 4, in the second embodiment of present system upgrade method, the method for upgrading system packet It includes:
Step S21, the first communication system 10 is in the system upgrade request for receiving the transmission of the second communication system 20, setting Communication port;
Step S22, the second communication system 20 based on the communication port that the first communication system 10 is arranged establish its with it is first logical The first transmission channel between letter system 10;
Step S23, first transmission channel of second communication system 20 based on foundation, passes through the Wi- of the first communication system 10 108 download system upgrade package of Fi module, and the integrality of the system upgrade packet of downloading is verified, if verification unsuccessfully thens follow the steps S24, if verification is by thening follow the steps S25, wherein the system upgrade packet of downloading is stored in the first the default of communication system 10 and deposits Store up space;
Step S24, first transmission channel of second communication system 20 based on foundation, passes through the Wi- of the first communication system 10 Fi module 108 re-downloads system upgrade packet, until the system upgrade packet of downloading is transferred to execution step by completeness check S25;
Step S25, the second communication system 20 carry out system upgrade operation based on the system upgrade packet of downloading.
In embodiments of the present invention, the system upgrade request of the second application program processing module 201 can respond user behaviour It triggers, can also be triggered with automatic cycle, for example, the preset versioning service of 201 cycle detection of the first application program processing module Whether device issues update, and when detecting publication update, and the system upgrade of triggering is requested to send by triggering system upgrade request To the first application program processing module 101.
First application program processing module 101 is in the system upgrade for receiving the transmission of the second application program processing module 201 When request, determines that the second application program processing module 201 is currently executing system upgrade operation, need download system upgrade package. Communication port is arranged in first application program processing module 101, applies journey so that the second application program processing module 201 is based on first The communication port that sequence processing module 101 is arranged establishes its first transmission channel between the first application program processing module 101.
Second application program processing module 201 send system upgrade request to the first application program processing module 101 it Afterwards, communication port of the first application program of the detecting real-time processing module 101 based on its received system upgrade request setting, and When detecting the communication port of the first application program processing module 101 setting, the first application program processing module 101 is arranged Communication port is registered to local, then carries out configuration operation to the communication port of registration, after completing configuration operation, with institute The first transmission channel stated between the first application program processing module 101 is established.
With the first application program processing module 101 setting too Controlling model port+modem port combined communication (it is, of course, also possible to the communication port of other forms is set, such as the port RmNet), the second application program processing module for port 201 in ether Controlling model port and the modem port for detecting the setting of the first application program processing module 101, base In the ether Controlling model port detected and modem port, it is arranged in local terminal and configures corresponding ether Controlling model Port and modem port, with the first transmission channel established between the first application program processing module 101.For example, Application of the ether Controlling model port of first application program processing module 101 setting to the first application program processing module 201 Layer provides eth0 network interface, and the ethernet service of application layer is serviced for eth0 network interface configuration of IP by NETD The information such as routing rule, and setting NDS (Network Data Service, network data services) are arranged in location.Second application The modem port that program processing module 201 is arranged to the application layer offer/dev/ttyUSB0 interface, by Ril.java order is converted to AT instruction by ril layers of Reference (RIL layers of device interface layers).The processing of second application program Module 201 is instructed and 102 (the first modem processes mould of the first modem processes module with protocol stack by AT Block 102 is provided with AT instruction interface) it communicates, such as by corresponding AT instruction based on/dev/ttyUSB0 realization dialing, switch Wi- The operation such as Fi module 108.Wherein, the first transmission channel includes the data channel based on ether Controlling model port (for interacting Communication data), and the control channel based on modem port (for interacting AT instruction).
After the first transmission channel established between the first application program processing module 101, at the second application program First transmission channel of the module 201 based on foundation is managed, the Wi-Fi connected by the first modem processes module 102 108 download system upgrade package of module.It should be noted that the first communication system 10 and the second communication system 20 have respective system System memory space, the respectively first default memory space (not shown) and the second default memory space (not shown) are in downloading When upgrade package of uniting, first transmission channel of the second application program processing module 201 based on foundation, at the first application program The interaction (including AT instruction or QMI instruction) that module 101 carries out control instruction is managed, subsystem liter will be worked as by Wi-Fi module 108 The system upgrade packet that grade operation needs downloads to the first default memory space.
After the downloading for completing system upgrade packet, the second application program processing module 201 is to the first default memory space The system upgrade packet of middle downloading carries out completeness check, to guarantee to be normally carried out system upgrade behaviour using the system upgrade packet Make, specifically, CRC check (Cyclic can be used when the second application program processing module 201 carries out completeness check Redundancy Check, cyclic redundancy check) mode carry out completeness check, MD5 (Message-Digest also can be used Algorithm 5, message digest algorithm 5) mode of verification carries out completeness check, or other completeness check sides Formula specifically chooses suitable completeness check mode according to actual needs.It should be noted that in other embodiments, second answers Completeness check can also be sent with program processing module 201 to request to the first application program processing module 101, and receives first The completeness check result that application program processing module 101 returns.
If completeness check passes through, the second application program processing module 201 in the first default memory space using downloading System upgrade packet carry out system upgrade operation.
If completeness check fails, the first transmission channel that the second application program processing module 201 is established based on it is led to It crosses Wi-Fi module 108 and re-downloads system upgrade packet, until the system upgrade packet of downloading passes through completeness check.
Specifically, the second application program processing module 201 execute system upgrade operation when, into Recovery mode (Recovery mode refer to it is a kind of can be to the data or the mode modified of system inside Android machine, in Recovery Can brush under mode into new Android system, or existing system is backed up or upgraded), it is empty using the first default storage Between in via Wi-Fi module 108 download system upgrade packet carry out system upgrade operation.
In conjunction with referring to Fig. 2 and Fig. 5, in the 3rd embodiment of present system upgrade method, the method for upgrading system packet It includes:
Step S31, the first communication system 10 is in the system upgrade request for receiving the transmission of the second communication system 20, setting Communication port;
Step S32, the second communication system 20 based on the communication port that the first communication system 10 is arranged establish its with it is first logical The first transmission channel between letter system 10;
Step S33, first transmission channel of second communication system 20 based on foundation, passes through the Wi- of the first communication system 10 108 download system upgrade package of Fi module, and system upgrade packet based on downloading carries out system upgrade operation, wherein downloading is System upgrade package is stored in the default memory space of the first communication system;
Step S34, the second communication system 20 send the instruction information of upgrading completion extremely after completing system upgrade operation First communication system 10;
Step S35, the first communication system 10 is based on received instruction Information recovering, and communication port is arranged before with second in it Second transmission channel of communication system 20.
In embodiments of the present invention, the system upgrade request of the second application program processing module 201 can respond user behaviour It triggers, can also be triggered with automatic cycle, for example, the preset versioning service of 201 cycle detection of the first application program processing module Whether device issues update, and when detecting publication update, and the system upgrade of triggering is requested to send by triggering system upgrade request To the first application program processing module 101.
First application program processing module 101 is in the system upgrade for receiving the transmission of the second application program processing module 201 When request, determines that the second application program processing module 201 is currently executing system upgrade operation, need download system upgrade package. Communication port is arranged in first application program processing module 101, applies journey so that the second application program processing module 201 is based on first The communication port that sequence processing module 101 is arranged establishes its first transmission channel between the first application program processing module 101.
Second application program processing module 201 send system upgrade request to the first application program processing module 101 it Afterwards, communication port of the first application program of the detecting real-time processing module 101 based on its received system upgrade request setting, and When detecting the communication port of the first application program processing module 101 setting, the first application program processing module 101 is arranged Communication port is registered to local, then carries out configuration operation to the communication port of registration, after completing configuration operation, with institute The first transmission channel stated between the first application program processing module 101 is established.
With the first application program processing module 101 setting too Controlling model port+modem port combined communication (it is, of course, also possible to the communication port of other forms is set, such as the port RmNet), the second application program processing module for port 201 in ether Controlling model port and the modem port for detecting the setting of the first application program processing module 101, base In the ether Controlling model port detected and modem port, it is arranged in local terminal and configures corresponding ether Controlling model Port and modem port, with the first transmission channel established between the first application program processing module 101.For example, Application of the ether Controlling model port of first application program processing module 101 setting to the first application program processing module 201 Layer provides eth0 network interface, and the ethernet service of application layer is serviced for eth0 network interface configuration of IP by NETD The information such as routing rule, and setting NDS (Network Data Service, network data services) are arranged in location.Second application The modem port that program processing module 201 is arranged to the application layer offer/dev/ttyUSB0 interface, by Ril.java order is converted to AT instruction by ril layers of Reference (RIL layers of device interface layers).The processing of second application program Module 201 is instructed and 102 (the first modem processes mould of the first modem processes module with protocol stack by AT Block 102 is provided with AT instruction interface) it communicates, such as by corresponding AT instruction based on/dev/ttyUSB0 realization dialing, switch Wi- The operation such as Fi module 108.Wherein, the first transmission channel includes the data channel based on ether Controlling model port (for interacting Communication data), and the control channel based on modem port (for interacting AT instruction).
After the first transmission channel established between the first application program processing module 101, at the second application program First transmission channel of the module 201 based on foundation is managed, the Wi-Fi connected by the first modem processes module 102 108 download system upgrade package of module.It should be noted that the first communication system 10 and the second communication system 20 have respective system System memory space, the respectively first default memory space (not shown) and the second default memory space (not shown) are in downloading When upgrade package of uniting, first transmission channel of the second application program processing module 201 based on foundation, at the first application program The interaction (including AT instruction or QMI instruction) that module 101 carries out control instruction is managed, subsystem liter will be worked as by Wi-Fi module 108 The system upgrade packet that grade operation needs downloads to the first default memory space.
After the downloading for completing system upgrade packet, the second application program processing module 201 is empty using the first default storage Between middle downloading system upgrade packet carry out system upgrade operation.Specifically, the second application program processing module 201 enters Recovery mode (Recovery mode refer to it is a kind of can be to the data or the mould modified of system inside Android machine Formula can brush under Recovery mode into new Android system, or existing system is backed up or upgraded), it uses System upgrade operation is carried out via the system upgrade packet that Wi-Fi module 108 is downloaded in first default memory space.
Further, in the present embodiment, the second application program processing module 201 complete system upgrade operation after, The instruction information of upgrading completion is sent to the first application program processing module 101, to inform that system upgrade operation, nothing is completed in it Wi-Fi module 108 need to be continued to use.
First application program processing module 101 is in the instruction information for receiving the transmission of the second application program processing module 201 When, based on the communication port of its received instruction information revocation setting, and restores it and be arranged before communication port with second using journey The second transmission channel between sequence processing module 201.Wherein, the first application program processing module 101 restores the second transmission channel Include:
The first communication port is arranged in first application program processing module 101;
The second communication port corresponding with the first communication port is arranged in second application program processing module 201;
First application program processing module 101 registers the first communication port, based on the second communication port detected to build Vertical the second transmission channel between the second application program processing module 201.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
For illustrative purposes, the description of front has used specific term, to provide a thorough understanding of the present invention.So And it will be apparent to those skilled in the art that not needing concrete details to practice the present invention.The present invention The foregoing description of specific embodiment be to present for purposes of illustration and description.They are not intended in detail or send out this It is bright to be limited to disclosed precise forms.In view of religious doctrine above, many modifications and variations are possible.In order to best explain this The principle and its practical application of invention and these embodiments have shown and described, to enable others skilled in the art Best using the present invention and with the various embodiments for being suitable for the expected specific various modifications used.It is intended to model of the invention It encloses by following claims and its equivalent and limits.

Claims (10)

1. a kind of mobile terminal, which is characterized in that the mobile terminal is applied to dual-channels communication, and the mobile terminal includes logical Cross the first communication system and the second communication system of universal serial bus connection, wherein
First communication system is used for the setting communication when receiving the system upgrade request that second communication system is sent Port;
Second communication system is used to be established its first between first communication system based on the communication port and passed Defeated channel, first transmission channel include the data channel based on ether Controlling model port;
Second communication system is also used to first transmission channel based on foundation, passes through first communication system Wi-Fi module download system upgrade package, and the system upgrade packet based on downloading carries out system upgrade operation, wherein downloading The system upgrade packet be stored in the default memory space of first communication system.
2. mobile terminal as described in claim 1, which is characterized in that second communication system is also used to verify the institute of downloading State the integrality of system upgrade packet;And the system upgrade packet when verification passes through based on downloading carries out system upgrade behaviour Make.
3. mobile terminal as described in claim 1, which is characterized in that second communication system is also used to lead to described first The communication port of letter system setting is registered to local, and carries out configuration operation to it, after completing configuration operation, establishes itself and institute State the first transmission channel between the first communication system.
4. mobile terminal as described in claim 1, which is characterized in that second communication system is also used in completion system liter After grade operation, instruction information that upgrading is completed is sent to first communication system;
First communication system is also used to based on the instruction Information recovering it and described communication port is arranged before with described the Second transmission channel of two communication systems.
5. such as the described in any item mobile terminals of Claims 1-4, which is characterized in that first communication system is also used to The first carrier network corresponding with the first Subscriber Identity Module of its carry establishes connection, and receives second communication system When to the access request of the second user identification card of its carry, extract the second user identification card card information be transmitted to it is described Second communication system;
Second communication system is used to carry out searching net registration operation and authentication operations based on received card information, and completes It searches after net registration operation and authentication operations, establishes the company with the second carrier network corresponding to second user identification card It connects.
6. a kind of method for upgrading system is applied to mobile terminal, which is characterized in that the mobile terminal includes passing through general serial The first communication system and the second communication system of bus connection, the method for upgrading system include:
Communication ends are arranged when receiving the system upgrade request that second communication system is sent in first communication system Mouthful;
Second communication system is established its first between first communication system and transmitted based on the communication port leads to Road, first transmission channel include the data channel based on ether Controlling model port;
First transmission channel of second communication system based on foundation, passes through the Wi-Fi mould of first communication system Block download system upgrade package, and the system upgrade packet based on downloading carries out system upgrade operation, wherein the system of downloading System upgrade package is stored in the default memory space of first communication system.
7. method for upgrading system as claimed in claim 6, which is characterized in that second communication system is based on described in downloading System upgrade packet carried out before the step of system upgrade operation, further includes:
Second communication system is also used to verify the integrality of the system upgrade packet of downloading;
When verification passes through, second communication system is executed based on the system upgrade packet of downloading and carries out system upgrade operation The step of.
8. method for upgrading system as claimed in claim 6, which is characterized in that second communication system is based on the communication ends The step of mouthful establishing its first transmission channel between first communication system include:
The communication port that first communication system is arranged is registered to local by second communication system, and is configured to it Operation establishes its first transmission channel between first communication system after completing configuration operation.
9. method for upgrading system as claimed in claim 6, which is characterized in that second communication system is based on described in downloading System upgrade packet carried out after the step of system upgrade operation, further includes:
Second communication system sends instruction information that upgrading is completed to described first logical after completing system upgrade operation Letter system;
First communication system is based on communicating before its described communication port of setting of the instruction Information recovering with described second Second transmission channel of system.
10. such as the described in any item method for upgrading system of claim 6 to 9, which is characterized in that the method for upgrading system also wraps It includes:
First communication system establishes connection in the first carrier network corresponding with the first Subscriber Identity Module of its carry, and When receiving access request of second communication system to the second user identification card of its carry, extracts the second user and know The card information not blocked is transmitted to second communication system;
Second communication system is based on received card information and carries out searching net registration operation and authentication operations, and completes to search net After registration operation and authentication operations, the connection with the second carrier network corresponding to second user identification card is established.
CN201610055553.6A 2016-01-27 2016-01-27 Mobile terminal and method for upgrading system Active CN105577940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610055553.6A CN105577940B (en) 2016-01-27 2016-01-27 Mobile terminal and method for upgrading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610055553.6A CN105577940B (en) 2016-01-27 2016-01-27 Mobile terminal and method for upgrading system

Publications (2)

Publication Number Publication Date
CN105577940A CN105577940A (en) 2016-05-11
CN105577940B true CN105577940B (en) 2019-05-31

Family

ID=55887572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610055553.6A Active CN105577940B (en) 2016-01-27 2016-01-27 Mobile terminal and method for upgrading system

Country Status (1)

Country Link
CN (1) CN105577940B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646043A (en) * 2012-02-29 2012-08-22 青岛海信移动通信技术股份有限公司 Method and device for upgrading mobile terminal software and mobile terminal
CN104484200A (en) * 2014-12-09 2015-04-01 小米科技有限责任公司 Method and device for updating firmware
CN105101316A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Data transmission method and device for multi-data channel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646043A (en) * 2012-02-29 2012-08-22 青岛海信移动通信技术股份有限公司 Method and device for upgrading mobile terminal software and mobile terminal
CN104484200A (en) * 2014-12-09 2015-04-01 小米科技有限责任公司 Method and device for updating firmware
CN105101316A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Data transmission method and device for multi-data channel

Also Published As

Publication number Publication date
CN105577940A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105681568B (en) Mobile terminal and its communication means
CN105722059B (en) Mobile terminal and communication method of dual-modem system
CN105682081A (en) Terminal and communication method
CN104834462A (en) Unlocking method for terminal equipment and terminal equipment
CN105744646B (en) A kind of mobile terminal and communication means
CN105718405B (en) The method that the USB interface of mobile terminal and its processor is multiplexed
CN107508715B (en) Configuration information acquisition, processing method, device and system
CN105722060A (en) Mobile terminal and communication method thereof
CN106445743A (en) Data backup transmission method and mobile terminal
CN105682083B (en) A kind of communication means of mobile terminal and duplex MODEM system
CN104796964A (en) Method and device for improving call completion ratio of emergency call of mobile terminal
WO2016123822A1 (en) Data transmission method and device, and terminal
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN106027738B (en) A kind of synchronous method of message registration, device and mobile terminal
CN107682916A (en) One kind searches net connection adaptation method, device and computer-readable recording medium
CN105657691A (en) Mobile terminal and data sharing method of double-chip system thereof
CN105611068B (en) Mobile terminal and method for upgrading system
CN106878976A (en) The data sharing method of mobile terminal and dual system
CN105744648A (en) Mobile terminal and communication method
CN105744505B (en) Mobile terminal and its method for upgrading system
CN105611067B (en) Mobile terminal and its upgrade method
CN105657732B (en) Mobile terminal and its method for upgrading system
CN105577940B (en) Mobile terminal and method for upgrading system
CN106331301A (en) Method and equipment for adding contact
CN105577450A (en) System upgrade device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant