CN105657868A - Mobile terminal and interface control method thereof - Google Patents

Mobile terminal and interface control method thereof Download PDF

Info

Publication number
CN105657868A
CN105657868A CN201610067825.4A CN201610067825A CN105657868A CN 105657868 A CN105657868 A CN 105657868A CN 201610067825 A CN201610067825 A CN 201610067825A CN 105657868 A CN105657868 A CN 105657868A
Authority
CN
China
Prior art keywords
interface
purpose processor
mobile terminal
steering order
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610067825.4A
Other languages
Chinese (zh)
Inventor
薛晓君
车晓东
王朝
何利鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610067825.4A priority Critical patent/CN105657868A/en
Publication of CN105657868A publication Critical patent/CN105657868A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a mobile terminal. The mobile terminal comprises a first application processor, a second application processor, a control processing module and an USB external port, wherein the first application processor is provided with a first interface corresponding to the USB external port, the second application processor comprises a second interface corresponding to the first interface, and the control processing module comprises a detection module, a first control module and a second control module. The detection module is used for obtaining a control command received by the first application processor and detecting the type of the control command; the first control module is further used for controlling the first interface to be connected to the second interface when detecting that the type of the control command is a first type; the second control module is further used for controlling the first interface to be connected to the USB external port when detecting that the type of the control command is a second type. The invention further discloses an interface control method. According to the mobile terminal and the interface control method thereof, a problem that the USB interface of a first mobile communication system is inconvenient in use can be solved, so that the user experience is improved.

Description

Mobile terminal and interface control method thereof
Technical field
The present invention relates to communication technical field, particularly relate to a kind of mobile terminal and interface control method thereof.
Background technology
The mobile terminal that in existing market, configurable pair of SIM (SubscribeIdentityModule identifies module) is blocked, can only support a card online usually, and another card is made a phone call, and the mobile terminal that can simultaneously support two SIM card online is little. Along with the development of mobile communication technology, some mobile terminal starts to achieve two cards and surfs the Net simultaneously, if but a upper 4G network of card, another card at most also can only go up 3G (3rdGeneration, G mobile communication) network, like this, existing mobile terminal can not reach the ability that double card goes up 4G network simultaneously. Double card bilateral mobile terminal comprises the first mobile communication system and the 2nd mobile communication system, first mobile communication system only has one group of USB interface usually, and this group USB interface needs to keep communicating with the 2nd mobile communication system on the one hand, on the other hand, this USB interface also needs and computer communication, cause using inconvenience, thus reduce Consumer's Experience.
Summary of the invention
The main purpose of the present invention is to provide a kind of mobile terminal and interface control method thereof, it is intended to the USB interface solving the first mobile communication system uses the problem of inconvenience, to improve Consumer's Experience.
For achieving the above object, a kind of mobile terminal provided by the invention, it is applied to the communication based on two channels, described mobile terminal comprises first and answers purpose processor, the 2nd to answer purpose processor, control treatment module and USB external-connected port, described first application treater has first interface corresponding with described USB external-connected port, described 2nd application treater has two interface corresponding with described first interface, and described control treatment module comprises:
Detection module, for obtaining described first steering order answering purpose processor to receive, and detects the type of described steering order;
First control module, also for when the type described steering order being detected is first kind instruction, controlling described first interface and be connected to described 2nd interface;
2nd control module, also for when the type described steering order being detected is the 2nd type instruction, controlling described first interface and be connected to described USB external-connected port;
Wherein, described first kind instruction is described first answer purpose processor and the described 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor, and described 2nd type instruction is that upper computer is connected to the steering order triggered when described mobile terminal connects by described USB external-connected port.
Can selection of land, described USB external-connected port comprises the 3rd interface and the 4th interface, described mobile terminal also comprises the first switch and the 2nd switch, and described control treatment module also comprises the 3rd control module, the 4th control module, the 5th control module and the 6th control module
Described 3rd control module, is in the first state so that described first interface and described 2nd interface conducting for controlling described first switch, or controls described first switch and be in two-state with the first interface described in conducting and the connection between described 3rd interface;
Described 4th control module, for answering purpose processor when detecting that described steering order is the 3rd type instruction described first, control described first switch and it is in disconnection state, wherein, described 3rd type instruction is the steering order that described upper computer triggers when being connected to described mobile terminal by described 4th interface;
Described 5th control module, answers the connection between purpose processor for controlling upper computer and the described 2nd described in described 2nd switch conducting;
6th control module, for when the type described steering order being detected is the 4th type instruction, disconnecting the connection between described first interface and described USB external-connected port;
Wherein, the steering order triggered when described 4th type instruction is the connection between the disconnection of described upper computer and described mobile terminal.
Can selection of land, described 2nd control module comprises:
Judging unit, for when the type described steering order being detected is the 2nd type instruction, judging current connection state, and ejects the prompting whether allowing switching;
Unit first, if the instruction allowing switching for receiving, then disconnects the connection between described first interface and described 2nd interface, and controls described first interface and be connected to described USB external-connected port;
Second unit, if for the instruction receiving refusal switching, then keeping the connection between described first interface and described 2nd interface.
Can selection of land, described first answers purpose processor to comprise:
First handover module, for when described first interface is connected to described 2nd interface, answering the state of purpose processor to switch to master status by empty state by described first;
2nd handover module, for when described first interface is connected to described USB external-connected port, answering the state of purpose processor to switch to slave state by described master status by described first;
3rd handover module, for when described first interface and described USB external-connected port disconnect, answering the state of purpose processor to switch to sky state by described from equipment state by described first.
Can selection of land, described mobile terminal also comprises:
Slave is powered module, for described first answer purpose processor and the described 2nd answer carry out data corresponding between purpose processor time, for the described 2nd answers purpose processor to provide predeterminated voltage; Or when described upper computer connects mobile terminal by the 4th interface, for described 4th interface provides predeterminated voltage.
For achieving the above object, the present invention also provides a kind of interface control method, described interface control method is applied to the mobile terminal of dual-channels communication, it is applied to the communication based on two channels, described mobile terminal comprises first and answers purpose processor, the 2nd to answer purpose processor, control treatment module and USB external-connected port, described first application treater has first interface corresponding with described USB external-connected port, described 2nd application treater has two interface corresponding with described first interface, and described interface control method comprises:
Described control treatment module obtains the described first steering order answering purpose processor to receive, and detects the type of described steering order;
When the type described steering order being detected is first kind instruction, controls described first interface and it is connected to described 2nd interface;
When the type described steering order being detected is the 2nd type instruction, controls described first interface and it is connected to described USB external-connected port;
Wherein, described first kind instruction is described first answer purpose processor and the described 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor, and described 2nd type instruction is that upper computer is connected to the steering order triggered when described mobile terminal connects by described USB external-connected port.
Can selection of land, described USB external-connected port comprises the 3rd interface and the 4th interface, described mobile terminal also comprises the first switch and the 2nd switch, described control treatment module, when the type described steering order being detected is first kind instruction, controls the step that described first interface is connected to described 2nd interface and comprises further:
Control described first switch and it is in the first state so that described first interface and described 2nd interface conducting, or control described first switch and be in two-state so that described first interface and described 2nd interface disconnect, and the first interface described in conducting and the connection between described 3rd interface;
Described interface control method also comprises:
Described control treatment module answers purpose processor when detecting that described steering order is the 3rd type instruction described first, control described first switch and it is in disconnection state, wherein, described 3rd type instruction is the steering order that described upper computer triggers when being connected to described mobile terminal by described 4th interface;
Control upper computer and the described 2nd described in described 2nd switch conducting and answer the connection between purpose processor;
When the type described steering order being detected is the 4th type instruction, disconnect the connection between described first interface and described USB external-connected port;
Wherein, the steering order triggered when described 4th type instruction is the connection between the disconnection of described upper computer and described mobile terminal.
Can selection of land, when the described type described steering order being detected is the 2nd type instruction, controls the step that described first interface is connected to described USB external-connected port and comprise:
Described 2nd control module, when the type described steering order being detected is the 2nd type instruction, judges current connection state, and ejects the prompting whether allowing switching;
If receiving the instruction allowing switching, then disconnect the connection between described first interface and described 2nd interface, and control described first interface and be connected to described USB external-connected port;
If receiving the instruction of refusal switching, then keep the connection between described first interface and described 2nd interface.
Can selection of land, when the described type described steering order being detected is first kind instruction, also comprise after controlling the step that described first interface is connected to described 2nd interface:
Described first answers purpose processor when described first interface is connected to described 2nd interface, answers the state of purpose processor to switch to master status by empty state by described first;
When the described type described steering order being detected is first kind instruction, also comprise after controlling the step that described first interface is connected to described 2nd interface:
Described first answers purpose processor when described first interface is connected to described USB external-connected port, answers the state of purpose processor to switch to slave state by described master status by described first;
Described first answers purpose processor when described first interface is connected to described USB external-connected port, also comprises answer the state of purpose processor to switch to the step of slave state by described master status by described first after:
When described first interface and described USB external-connected port disconnect, the state of purpose processor is answered to switch to sky state by described from equipment state by described first.
Can selection of land, described mobile terminal also comprises slave and powers module, and described interface control method also comprises:
Described slave power module described first answer purpose processor and the described 2nd answer carry out data corresponding between purpose processor time, for the described 2nd answer purpose processor provide predeterminated voltage; Or when described upper computer connects mobile terminal by the 4th interface, for described 4th interface provides predeterminated voltage.
Mobile terminal provided by the invention and interface control method thereof, purpose processor is answered by arranging first, 2nd answers purpose processor, control treatment module and USB external-connected port, described first application treater has first interface corresponding with described USB external-connected port, described 2nd application treater has two interface corresponding with described first interface, described control treatment module is for obtaining described first steering order answering purpose processor to receive, and detect the type of described steering order, when the type described steering order being detected is first kind instruction, control described first interface and it is connected to described 2nd interface, when the type described steering order being detected is the 2nd type instruction, control described first interface and it is connected to described USB external-connected port, wherein, described first kind instruction is described first answer purpose processor and the described 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor, and described 2nd type instruction is that upper computer is connected to the steering order triggered when described mobile terminal connects by described USB external-connected port. by the way, the present invention answers the service condition of the first interface of purpose processor according in mobile terminal first, first interface is connected to USB external-connected port or the 2nd and answers purpose processor, thus the USB interface solving the first mobile communication system uses the problem of inconvenience, realize supporting that two Subscriber Identity Modules all reside in 4G network, two 4G passages can be utilized to carry out the concurrent transmission of data service, it is to increase transmission efficiency, in addition, when carrying out data traffic transmission, speech business transmission can also be carried out, it is to increase Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each embodiment optional mobile terminal of the present invention;
The skeleton construction schematic diagram of Fig. 2 mobile terminal one of the present invention embodiment;
Fig. 3 is the simplification electrical block diagram of mobile terminal of the present invention;
Fig. 4 is the refinement high-level schematic functional block diagram of control treatment module first embodiment in Fig. 2 or Fig. 3;
Fig. 5 is the refinement high-level schematic functional block diagram of the 2nd control module in Fig. 4;
Fig. 6 is the refinement high-level schematic functional block diagram of control treatment module the 3rd embodiment in Fig. 2 or Fig. 3;
Fig. 7 first answers the refinement function module of purpose processor in Fig. 2 or Fig. 3;
Fig. 8 is the schematic flow sheet of interface control method first embodiment of the present invention;
Fig. 9 is that in Fig. 8, step, when type steering order being detected is the 2nd type instruction, disconnects the connection between the first interface and the 2nd interface, and controls the refinement schematic flow sheet that the first interface is connected to USB external-connected port;
Figure 10 is the schematic flow sheet of interface control method of the present invention 2nd embodiment;
Figure 11 is the schematic flow sheet of interface control method of the present invention 3rd embodiment;
Figure 12 is the schematic flow sheet of interface control method of the present invention 4th embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
It is to be understood that specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing. In follow-up description, it may also be useful to for representing that the suffix of such as " module ", " parts " or " unit " of element is only in order to be conducive to the explanation of the present invention, itself is specific meaning not. Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners. Such as, the terminal described in the present invention can comprise the mobile terminal of such as mobile telephone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), Nvgtl aids etc. and the fixed terminal of such as numeral TV, desk-top computer etc. Below, it is assumed that terminal is mobile terminal. But, skilled person will appreciate that, except being used in particular for the element of mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing each embodiment optional mobile terminal of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) inputs unit 120, user input unit 130, output unit 150, storer 160, interface unit 170, controller 180 and power subsystem 190 etc. Fig. 1 shows the mobile terminal with various assembly, but it is understood that do not require to implement all assemblies illustrated. Can alternatively implement more or less assembly. Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the wireless communication between mobile terminal 100 and radio communication system or network. Such as, wireless communication unit can comprise at least one in mobile communication module 112, wireless Internet module 113.
Mobile communication module 112 such as, tick is sent in base station (access point, Node B etc.), exterior terminal and server at least one and/or from its receive tick. Various types of data that such tick can comprise voice call signal, video speech signal or send according to text and/or multi-media message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal. This module can be couple to terminal innerly or outside. Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
A/V inputs unit 120 for receiving audio or video signal. A/V inputs unit 120 can comprise microphone 122, such acoustic processing can via microphones sound (audio frequency data) in phone call mode, record pattern, speech recognition pattern etc. operational mode, and can be audio frequency data by microphone 122. Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when phone call mode. Microphone 122 can implement various types of noise elimination (or suppression) algorithm to eliminate noise or the interference of (or suppression) generation in the process receiving and sending sound signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input. User input unit 130 allows user to input various types of information, and can comprise keyboard, the young sheet of pot, touch pad (such as, detect cause owing to being touched resistance, pressure, electric capacity etc. the sensitive component of change), roller, rocking bar etc. Especially, when touch pad is superimposed upon on display unit 151 as a layer, it is possible to form touch-screen.
Interface unit 170 is used as at least one outer part device and is connected the interface that can pass through with mobile terminal 100. Such as, outer part device can comprise wired or wireless head-band earphone port, outside power supply (or battery charger) port, wired or wireless data port, memory card port, for connect there is the device identifying module port, audio frequency I/O (I/O) port, video i/o port, ear port etc. Identify that module can be store for verifying that user uses the various information of mobile terminal 100 and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. In addition, having the form identifying that the device (hereinafter referred to " means of identification ") of module can take smart card, therefore, means of identification can be connected with mobile terminal 100 via port or other coupling device. Such as, interface unit 170 may be used for receiving from the input (data information, electric power etc.) of outer part device and the one or more element being transferred in mobile terminal 100 by the input received or may be used for transmitting data between mobile terminal and outer part device.
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it from base, electric power be provided to the path of mobile terminal 100 or can be used as to allow the various command signals from base input be transferred to the path of mobile terminal by it. The signal identifying whether mobile terminal is arranged on base accurately can be used as from the various command signal of base input or electric power. Such as, output unit 150 is constructed to provide output signal (sound signal, vision signal, warning signal, vibration signal etc.) with vision, audio frequency and/or tactile manner. Output unit 150 can comprise display unit 151, dio Output Modules 152 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100. Such as, when mobile terminal 100 is in phone call mode, such as, display unit 151 can show communicate with call or other (text messaging, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI). When being in video call mode or image capture mode when mobile terminal 100, display unit 151 can the image of display capture and/or reception image, video is shown or UI or GUI of image and correlation function etc.
Meanwhile, when superposition is to form touch-screen each other as a layer for display unit 151 and touch pad, display unit 151 can be used as input unit and take-off equipment. Display unit 151 can comprise at least one in liquid-crystal display (LCD), thin film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) indicating meter, flexible display, three-dimensional (3D) indicating meter etc. Some in these indicating meters can be constructed to transparent shape, and to allow, user watches from outside, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) indicating meter etc. According to the specific enforcement mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown). Touch-screen can be used for detection touch input pressure and touch input position and touch and inputs area.
Dio Output Modules 152 can when mobile terminal be under call signal receiving mode, call mode, record pattern, speech recognition pattern, the broadcast isotype such as receiving mode, audio frequency data convert audio signals that is that wireless communication unit 110 is received or that store in storer 160 and to export be sound. And, such as, the audio frequency that the specific function that dio Output Modules 152 can provide to mobile terminal 100 performs is relevant exports (call signal receives sound, message reception sound etc.). Dio Output Modules 152 can comprise loud speaker (loudspeaker), hummer etc.
Software program that storer 160 can store the process performed by controller 180 and control operates etc., or can temporarily store data that oneself maybe will export through exporting (such as, telephone book, message, static image, video etc.). And, storer 160 can store about the vibration of various modes exported when touching and be applied to touch-screen and the data of sound signal.
Storer 160 can comprise the storage media of at least one type, such as, storage media comprises flash memory, hard disk, multi-media card, card-type storer (SD or DX storer etc.), accesses storer (RAM), static random-access memory (SRAM), read-only storage (ROM), electrically erasable read-only storage (EEPROM), programmable read only memory (PROM), magnetic storage device, disk, CD etc. at random. And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing storer 160 with by network.
Controller 180 controls the overall operation of mobile terminal usually. Such as, controller 180 performs and voice call, data corresponding, video call etc. relevant control and process. Controller 180 can pattern recognition process, and is identified as character or image so that the handwriting input performed on the touchscreen or picture are drawn input.
Power subsystem 190 receives external power or internal power under the control of controller 180 and offer operates the suitable electric power needed for each element and assembly.
Various enforcement mode described herein can to use the computer-readable medium of such as computer software, hardware or its any combination to implement. Hardware is implemented, enforcement mode described herein can be implemented with the use of specific end use unicircuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field-programmable gate array (FPGA), treater, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein, in some cases, such enforcement mode can be implemented in controller 180. For implement software, the enforcement mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation. Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and perform by controller 180.
So far, the mobile terminal according to its functional description. Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folding type, straight-plate type, oscillating-type, slide type mobile terminal etc. exemplarily. Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize such as wired and radio communication system and satellite-based communication system via frame or grouping transmission data to operate.
Based on above-mentioned mobile terminal 100 hardware structure, it is proposed to each embodiment of the present invention. With reference to Fig. 2, the first of the mobile terminal 100 of the present invention answers purpose processor 11, the 2nd to answer purpose processor 21, control treatment module to be the parts of above-mentioned controller 180, performs following to operate accordingly in controller.
Based on above-mentioned mobile terminal 100 hardware structure and inner frame figure, it is proposed to mobile terminal of the present invention and each embodiment of interface control method. With reference to the high-level schematic functional block diagram that Fig. 3, Fig. 3 are mobile terminal 100 1 embodiment of the present invention.
With reference to the structural representation that Fig. 2, Fig. 2 are mobile terminal 100 1 embodiment of the present invention.
In the present embodiment, mobile terminal 100 can be the terminating unit such as mobile phone and panel computer, mobile terminal 100 provided by the invention is mainly used in based on the dual-channels communication that two mobile communication systems provide, certainly, in other embodiments, the communication mechanism of mobile terminal 100 is not limited to dual-channels communication pattern provided by the invention, it is also possible to be hyperchannel communication pattern more than triple channel and triple channel.
In the present embodiment, first mobile communication system 10 comprises first and answers purpose processor 11, the first modulator-demodulator unit 12 that purpose processor 11 is connected is answered with first, the the first radio frequency module 1 being connected with the first modulator-demodulator unit 12 and a SIM card, 2nd mobile communication system 20 comprises the 2nd and answers purpose processor 21, the 2nd modulator-demodulator unit 22 that purpose processor 21 is connected is answered with the 2nd, 2nd radio frequency module 2 and the 2nd SIM card, wherein, first answers purpose processor, 2nd answers purpose processor to be also connected with shared digital signal processor 40 (ADSP), digital signal processor 40 also successively with coder, audio-frequency apparatus (microphone, loudspeaker) connect, thus, the first mobile communication system 10 in the present embodiment, with the 2nd mobile communication system 20 that the first mobile communication system 10 is connected by general serial bus, digital signal processor 40, coder and audio-frequency apparatus constitute mobile terminal 100. in the present invention, what the first mobile communication system 10 mainly worked is first answers purpose processor 11, and equally, what mainly work in the 2nd mobile communication system 20 is the 2nd answer purpose processor 21. following full text, will answer purpose processor 11 and the 2nd to answer purpose processor 21 to be described with first.
The effect of purpose processor is answered mainly to comprise for user provides mutual interface, the task matching etc. of mobile terminal 100 operating system. Certainly, first answers purpose processor 11 and the 2nd to answer purpose processor 21 to also have they self inner frame, comprises applied layer, ccf layer etc. In the present invention, answer the topmost effect of purpose processor except the logical operation processing some complexity, also by user about the corresponding modulator-demodulator unit issuing connection separately under operational orders such as surfing the Net or make a phone call, send short messages.
In the present embodiment, the first modulator-demodulator unit 12 and the 2nd modulator-demodulator unit 22, contain the protocol stack of the various network formats with network interaction. wherein, protocol stack contains the protocol code that communication standard provides, as: LTE (LongTermEvolution, long-term evolution, it is the long-term evolution of the universal mobile communication system technological standard organized to set up by 3GPP)/WCDMA (WidebandCodeDivisionMultipleAccess, the many locations of wideband code division)/GSM (GlobalSystemforMobileCommunication, global system for mobile communications)/TDSCDMA (TimeDivision-SynchronousCodeDivisionMultipleAccess, the many locations of time division synchronous code division)/CDMA1X (the 2.75G technology improved in CDMAIS-95 standard base, support voice and transfer)/EVDO (EvolutionDataOnly, speech and data can be supported simultaneously) etc. mobile terminal 100 is when carrying out mutual with operator network, no matter it is by data traffic online, VOLTE (VoiceoverLTE, speech business based on IMS) make a phone call or CS (CircuitSwitched, circuit switching) make a phone call, all to be passed through the agreement of these standards, and modulator-demodulator unit is just equivalent to the container of these consensus standards. certainly, modulator-demodulator unit also has other some managerial functions, such as the management and control etc. to SIM (SubscriberIdentityModule, client identification module card). therefore, if desired surf the Net or make a phone call, mobile terminal 100 supports needing modulator-demodulator unit.
ADSP belongs to the module of audio-frequency unit, when mobile terminal 100 is when conversing, it is possible to carry out echo suppression, squelch etc. audio effect processing. CODEC mainly carries out the conversion of A/D and A/D. Radio frequency module is connected with modulator-demodulator unit, and the data that modulator-demodulator unit sends are passed to base station network after treatment, it is also possible to the data that base station network transmits are passed to modulator-demodulator unit after treatment.
In the present embodiment, first operational order answering purpose processor 11 can receive user's triggering (comprises communication operational order, voice call, note etc. and network operation instruction, 4G, operator's network or the WLAN (wireless local area network) etc. such as 3G), and obtain the type that operational order is corresponding, then corresponding according to operational order type, operational order correspondence is issued to the first modulator-demodulator unit 12 and the 2nd and answers purpose processor 21, now, when operational order is network operation instruction, network operation instruction can be sent to the first modulator-demodulator unit 12 and the 2nd simultaneously answer purpose processor 21, and answer purpose processor 21 that network operation instruction is sent to the 2nd modulator-demodulator unit 22 through the 2nd. like this, mobile terminal 100 can improve communication efficiency by the two channels that two modulator-demodulator units provide, particularly two modulator-demodulator units can when the type of operational order be network operation instruction, and the first modulator-demodulator unit 12 and the 2nd modulator-demodulator unit 22 all complete the transmission of data by 4G network. in terms of existing technologies, when the first modulator-demodulator unit 12 is carried out data transmission by 4G network, 2nd modulator-demodulator unit 22 still can be carried out data transmission by 4G network, and without the need to being down to 3G or 2G network, like this, it is possible to significantly improve data transmission efficiency when mobile terminal 100 communicates.
In other embodiments, when operational order be network with communicate operational order time, network operation instruction is sent in the first modulator-demodulator unit 12, communication operational order is sent to the 2nd modulator-demodulator unit 22, like this, carries out the business such as phone, note by the first modulator-demodulator unit 12, carried out the network online such as 4G by the 2nd modulator-demodulator unit 22 simultaneously, like this, mobile terminal 100 is possible not only to carry out communication services such as making a phone call, send short messages, can also carry out the network operations such as online simultaneously; Further, in other embodiments, 2nd modulator-demodulator unit 22 is possible not only to online, the first modulator-demodulator unit 12 can also be utilized to carry out the business such as phone, note, and like this, mobile terminal 100 can be surfed the Net by two modulator-demodulator units simultaneously, in addition, the business such as phone, note can also be carried out, so, further increase data transmission efficiency when mobile terminal 100 communicates and functional diversity.
In the first embodiment, for communication service as made a phone call, voice data transmission is controlled by the first modulator-demodulator unit 12, Internet data transmission control by the 2nd modulator-demodulator unit 22, the data stream of data channel to for:
The loudspeaker of the microphone of (calling party) mobile terminal 100 �� CODEC �� ADSP �� the first modulator-demodulator unit 12 �� radio frequency module 1 �� operator network �� radio frequency �� modulator-demodulator unit �� ADSP �� CODEC �� called subscriber's mobile terminal 100;
Meanwhile, mobile terminal 100 can do Network by the 2nd modulator-demodulator unit 22:
Upper row data: user data �� two answers purpose processor the 21 �� two modulator-demodulator unit the 22 �� two radio frequency module 2 �� operator network �� internet;
Downlink data: purpose processor 21 �� user data answered by internet �� operator's network �� the 2nd radio frequency module the 2 �� two modulator-demodulator unit the 22 �� two;
In the 2nd embodiment, for Network as online, transfer by the first modulator-demodulator unit 12 and the 2nd same control of modulator-demodulator unit 22,
When being surfed the Net by the LTE of a SIM card, the data stream of data channel to for:
Upper row data: user data �� the first answers purpose processor 11 �� the first modulator-demodulator unit 12 �� radio frequency module 1 �� operator network �� internet;
Downlink data: purpose processor 11 �� user data answered by internet �� operator's network �� the first radio frequency module 1 �� the first modulator-demodulator unit 12 �� the first;
Meanwhile, when being surfed the Net by the LTE of the 2nd SIM card, the data stream of data channel to for:
Upper row data: user data �� two answers purpose processor the 21 �� two modulator-demodulator unit the 22 �� two radio frequency module 2 �� operator network �� internet;
Downlink data: purpose processor 21 �� user data answered by internet �� operator's network �� the 2nd radio frequency module the 2 �� two modulator-demodulator unit the 22 �� two.
When first answers purpose processor 11 and the 2nd to answer purpose processor 21 to receive transfer instruction simultaneously, first answers purpose processor 11 and the 2nd to answer purpose processor 21 4G network can be used to carry out data transmission according to transfer instruction simultaneously. Namely, when the SIM card that the first modulator-demodulator unit 12 connects and the 2nd SIM card that the 2nd modulator-demodulator unit 22 connects need to carry out data service simultaneously, a SIM card and the 2nd SIM card can carry out data service by 4G network by the modulator-demodulator unit of correspondence simultaneously. The network that first modulator-demodulator unit 12 and the 2nd modulator-demodulator unit 22 carry out data transmission includes but not limited to 4G network.
In one embodiment, with reference to Fig. 3, mobile terminal 100, it is applied to the communication based on two channels, mobile terminal 100 also comprises control treatment module 30 and USB external-connected port 40, the first answers purpose processor 11 to have first interface 111, two corresponding with USB external-connected port 40 to answer purpose processor 21 to have two interface 112 corresponding with the first interface 111, with reference to Fig. 4, control treatment module 30 comprises:
Detection module 301, for obtaining the first steering order answering purpose processor 11 to receive, and the type of detection control instruction;
In the present embodiment, first control treatment module 30 obtains the first steering order answering purpose processor 11 to receive, steering order has broad variety, the present embodiment can be two kinds, first kind instruction is first answer purpose processor 11 and the 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor 21, and the 2nd type instruction is that upper computer is connected to the steering order triggered when mobile terminal 100 connects by USB external-connected port 40. In other embodiments, certainly, it is not limited to situation about enumerating herein.
First control module 302, also for when type steering order being detected is first kind instruction, controlling the first interface 111 and be connected to the 2nd interface 112;
In the present embodiment, when control treatment module 30 detect first answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, control treatment module 30 controls the first interface 111 and is connected to the 2nd interface 112.
2nd control module 303, also for when type steering order being detected is the 2nd type instruction, controlling the first interface 111 and be connected to USB external-connected port 40.
In the present embodiment, with reference to Fig. 5, the 2nd control module 303 comprises further:
Judging unit 310, for when type steering order being detected is the 2nd type instruction, judging current connection state, and ejects the prompting whether allowing switching;
First unit 320, if the instruction allowing switching for receiving, then disconnects the connection between the first interface and the 2nd interface, and controls the first interface and be connected to USB external-connected port;
Second unit 330, if for the instruction receiving refusal switching, then keeping the connection between the first interface and the 2nd interface.
In the present embodiment, when control treatment module 30 detect upper computer by USB external-connected port 40 be connected to mobile terminal 100 connect time, first current connection state is judged, when first answers purpose processor and the 2nd answers purpose processor to be in connection state, prompted dialog frame can be ejected at the display interface of mobile terminal, user is the need of switching in inquiry, if receiving the permission switching command of user feedback, then disconnect the connection between the first interface and the 2nd interface, and control the first interface and be connected to USB external-connected port; When receiving the refusal switching command of user feedback, then keep the connection between the first interface and the 2nd interface; Certainly, also having another kind of situation, namely the first interface is not connected with other interfaces, now, when receiving the 2nd type instruction, it is possible to directly control the first interface is connected to USB external-connected port. Wherein, upper computer comprises computer, TV etc. can by the electronics of USB other equipment external, when mobile terminal 100 is connected to upper computer, this mobile terminal 100 can think the slave for upper computer, except situation about only being charged by mobile terminal 100 during connection.
It should be appreciated that when control treatment module receives arbitrary steering order, all can first judge that current first answers the connection state of purpose processor, then the instruction according to correspondence switches, and specifically repeats no more.
Certainly, all right display application scene of the display interface of upper computer or mobile terminal 100, such as only carries out charging and upper computer carries out data transmission. User can carry out selecting corresponding option at the display interface of upper computer or mobile terminal 100, thus trigger or do not trigger switching order, when such as user selects to switch, trigger switching order, now, namely can disconnect the connection between the first interface 111 and the 2nd interface 112, and the first interface 111 is connected to USB external-connected port 40; Otherwise, do not trigger switching order; Or when user selects only to charge, do not trigger switching order, otherwise trigger switching order.
USB external-connected port 40 can be the interface unit 170 in Fig. 1,2nd answers purpose processor 21 and first to answer purpose processor 11 can be the treater of same model, it can also be the relative first treater answering purpose processor 11 relative processing capacity weak, the present embodiment answer purpose processor 21 to adopt the relative first treater answering purpose processor 11 relative processing capacity weak for saving cost the 2nd, 2nd answers purpose processor 21 only to have digital received and sent function, and the data received are sent to first and answer purpose processor 11 to process.
Mobile terminal 100 provided by the invention, purpose processor 11 is answered by arranging first, 2nd answers purpose processor 21, control treatment module 30 and USB external-connected port 40, first answers purpose processor 11 to have first interface 111 corresponding with USB external-connected port 40, 2nd answers purpose processor 21 to have two interface 112 corresponding with the first interface 111, control treatment module 30 is for obtaining the first steering order answering purpose processor 11 to receive, and the type of detection control instruction, when type steering order being detected is first kind instruction, control the first interface 111 and it is connected to the 2nd interface 112, when type steering order being detected is the 2nd type instruction, control the first interface 111 and it is connected to USB external-connected port 40, wherein, first kind instruction is first answer purpose processor 11 and the 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor 21, and the 2nd type instruction is that upper computer is connected to the steering order triggered when mobile terminal 100 connects by USB external-connected port 40. by the way, the present invention answers the service condition of the first interface 111 of purpose processor 11 according in mobile terminal 100 first, first interface 111 is connected to USB external-connected port 40 or the 2nd and answers purpose processor 21, thus the USB interface solving the first mobile communication system uses the problem of inconvenience, to improve Consumer's Experience.
With reference to Fig. 3, USB external-connected port 40 comprises the 3rd interface 401 and the 4th interface 402, mobile terminal 100 also comprises the first switch S 1 and the 2nd switch S 2, with reference to Fig. 6, control treatment module 30 also comprises the 3rd control module 304, the 4th control module 305, the 5th control module 306 and the 6th control module 307
3rd control module 304, it is in the first state so that the first interface 111 and the 2nd interface 112 conducting for controlling the first switch S 1, or control the first switch S 1 is in two-state so that the first interface 111 and the 2nd interface 112 disconnect, and the connection between conducting first interface 111 and the 3rd interface 401;
In the present embodiment, control treatment module 30 can also when there being upper computer to be connected on mobile terminal 100, it is possible to judges that the USB external-connected port 40 of mobile terminal 100 connects upper computer particular by the 3rd interface 401 or the 4th interface 402 further. And answer purpose processor 11 to control the first switch S 1 or the 2nd switch S 2 carrys out connecting passage corresponding to conducting by first.
First answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, first answers purpose processor 11 that first electronic switch S1 is in the first state, so that the first answer the first interface 111 in purpose processor 11 to be connected to the 2nd interface 112 that the 2nd answers purpose processor 21;
When mobile terminal 100 is connected with upper computer, answers purpose processor to control the first switch S 1 and it is in two-state so that the first interface 111 and the 2nd interface 112 disconnect, and the connection between conducting first interface 111 and the 3rd interface 401 of USB external-connected port 40.
This it should be noted that in the present embodiment the 3rd interface 401231 be generally used for user mobile terminal 100 is external to upper computer time, can carrying out being checked by upper computer, copying the operation of the part content of mobile terminal 100, the interface used when mobile terminal 100 is connected to upper computer by usual user is exactly the 3rd interface 401231. 4th interface 402 is generally technician and to be used debugging the 2nd to answer the interface used during the functions such as purpose processor 21. Certain user can also use first via interface 231 to carry out the functions such as debugging.
4th control module 305, for when first answers purpose processor 11 to detect that steering order is the 3rd type instruction, controlling the first switch S 1 and be in disconnection state, wherein, the 4th type instruction is the steering order that upper computer triggers when being connected to mobile terminal 100 by the 4th interface 402;
5th control module 306, answers the connection between purpose processor 21 for controlling the 2nd switch S 2 conducting upper computer and the 2nd.
In the present embodiment, when upper computer is connected to mobile terminal 100 by the 4th interface 402, first answers purpose processor 11 to control the first electronic switch S1 is in disconnection state, answers the connection between purpose processor 21 with control the 2nd switch S 2 conducting upper computer and the 2nd.
It should be appreciated that the first electronic switch S1 and the 2nd switch S 2 can also pass through software simulating.
6th control module 307, for when type steering order being detected is the 4th type instruction, disconnecting the connection between the first interface 111 and USB external-connected port 40;
In the present embodiment, the steering order triggered when the 4th type instruction is the connection between upper computer disconnection and mobile terminal 100. Now, first answers the first interface 111 of purpose processor 11 both not connect the 2nd interface 112 that the 2nd answers purpose processor 21, does not connect USB external-connected port 40 yet.
Should be understood that, in the present embodiment, first kind instruction, the 2nd type instruction and the 3rd type instruction, not strict sequence requirement, in other embodiments, it is possible to think other orders. Detailed explanation is not done at this.
It should be noted that above said first answers purpose processor 11 and the 2nd to answer the data corresponding between purpose processor 21 to refer to answer the USB data transmission passage of purpose processor 11 to communicate by first, not first answer purpose processor 11 to process 210 with the 2nd between communicated by universal serial port passage, universal serial port passage is used for the 2nd and answers purpose processor 21 to answer purpose processor 11 to send status information to first.
With reference to Fig. 7, on the embodiment basis shown in Fig. 2 or Fig. 3, first answers purpose processor 11 to comprise:
First handover module 113, for when the first interface 111 is connected to the 2nd interface 112, answering the state of purpose processor 11 to switch to master status by empty state by first;
2nd handover module 114, for when the first interface 111 is connected to USB external-connected port 40, answering the state of purpose processor 11 to switch to slave state by master status by first;
3rd handover module 115, for when the first interface 111 disconnects with USB external-connected port 40 port, answering the state of purpose processor 11 to switch to sky state by from equipment state by first.
In the present embodiment, for when first answers the first interface 111 of purpose processor 11 to connect different positions, mobile terminal 100 is facilitated to carry out corresponding activity, the present invention answers the difference of the first interface 111 link position of purpose processor 11 according to first, answer purpose processor 11 that different states is set by mobile terminal 100 first
Specifically:
First answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, answer the state of purpose processor 11 to switch to master status by first; When upper computer connects mobile terminal 100 by USB external-connected port 40, the state of purpose processor 11 is answered to switch to slave state by first; Or, mobile terminal 100 not by the first interface 111 connect upper computer or first answer purpose processor 11 and the 2nd answer do not carry out data corresponding between purpose processor 21 time, answer the state of purpose processor 11 to switch to sky state by first.
Due to when first answers the first interface 111 of purpose processor 11 to be connected to different positions, mobile terminal 100 can carry out different task, when such as mobile terminal 100 is as the slave of upper computer in the present embodiment, the first of mobile terminal 100 answers the first interface 111 of purpose processor 11 to be connected to upper computer, purpose processor 21 can not be answered to carry out data corresponding with the 2nd, for avoiding use produces conflict, mobile terminal 100 can not normally be used, the present embodiment answers purpose processor 11 to arrange different states by answering the USB interface of purpose processor 11 to connect different positions first by mobile terminal 100 first.
Now it is described for a concrete scene:
1, when first answers purpose processor 11 neither to answer purpose processor 21 to communicate with the 2nd, when also not connecting peripheral equipment, first answers purpose processor 11 to arrange sky state, and the connection between purpose processor 21 is answered in hardware switch disconnection simultaneously and the 2nd;
2, when the 2nd answer purpose processor 21 initiate data corresponding or first answer purpose processor 11 need and the 2nd answer carry out data corresponding between purpose processor 21 time, first answers purpose processor 11 to arrange master status, switches S1 switch simultaneously and answers purpose processor 21 to be connected with the 2nd;
3, when first answers purpose processor 11 to connect peripheral equipment such as computer, first answers purpose processor 11 judges currently whether answer purpose processor 21 to communicate with the 2nd, if do not communicated, then to switch to from equipment state by pattern; If now answering purpose processor 21 to communicate with the 2nd, then event of sending out public notice gives the first mobile communication system interface, and prompting user selects to keep answering purpose processor 21 to be connected or be connected with computer with the 2nd.
If 4 users select to keep answering purpose processor 21 to communicate with the 2nd, then shielding insertion computer event, and do not do any operation; If user selects to be switched to be connected with computer, then first answer purpose processor 11 to be switched to from equipment state from master status, switch S1 switch simultaneously so that first answers purpose processor 11 and computer to keep communicating.
5, when first answers purpose processor 11 disconnection to be connected with computer, it is necessary to be switched to sky state from from equipment state.
With reference to Fig. 3, mobile terminal 100 also comprises:
Slave is powered module 70, for first answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, for the 2nd answers purpose processor 21 to provide predeterminated voltage; Or when upper computer connects mobile terminal 100 by the 4th interface 402, for the 4th interface 402 provides predeterminated voltage.
In the present embodiment, when first answers purpose processor 11 first interface 111 to be connected to the 2nd interface 112 that the 2nd answers purpose processor 21, for making the 2nd to answer purpose processor 21 can normally receive the first data answering purpose processor 11 to send, it needs specific predeterminated voltage, now voltage is greater than the 2nd voltage when answering purpose processor 21 to run separately, specifically, in the present embodiment first answer the first interface 111 of purpose processor 11 be connected to the 2nd answer purpose processor 21 time the 2nd interface 112 time, predeterminated voltage is that the 2nd voltage when answering purpose processor 21 to run separately adds 5V. equally, when upper computer connects mobile terminal 100 by the 4th interface 402, for the 4th interface 402 provides predeterminated voltage.
With reference to Fig. 8, in one embodiment, the present invention also provides a kind of interface control method, interface control method is applied to the mobile terminal 100 of dual-channels communication, it is applied to the communication based on two channels, mobile terminal 100 comprises first and answers purpose processor 11, the 2nd to answer purpose processor 21, control treatment module 30 and USB external-connected port 40, first answers purpose processor 11 to have first interface 111 corresponding with USB external-connected port 40,2nd answers purpose processor 21 to have two interface 112 corresponding with the first interface 111, and interface control method comprises the following steps:
Step S10, control treatment module 30 obtains the first steering order answering purpose processor 11 to receive, and the type of detection control instruction;
In the present embodiment, first control treatment module 30 obtains the first steering order answering purpose processor 11 to receive, steering order has broad variety, the present embodiment can be two kinds, first kind instruction is first answer purpose processor 11 and the 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor 21, and the 2nd type instruction is that upper computer is connected to the steering order triggered when mobile terminal 100 connects by USB external-connected port 40. In other embodiments, certainly, it is not limited to situation about enumerating herein.
Step S20, when type steering order being detected is first kind instruction, controls the first interface 111 and is connected to the 2nd interface 112;
In the present embodiment, when control treatment module 30 detect first answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, control treatment module 30 controls the first interface 111 and is connected to the 2nd interface 112. Wherein, first kind instruction is first answer purpose processor 11 and the 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor 21.
Step S30, when type steering order being detected is the 2nd type instruction, controls the first interface 111 and is connected to USB external-connected port 40.
Further, with reference to Fig. 9, in one embodiment, step S30 comprises:
Step S301, the 2nd control module, when type steering order being detected is the 2nd type instruction, judges current connection state, and ejects the prompting whether allowing switching;
Step S302, if receiving the instruction allowing switching, then disconnects the connection between the first interface and the 2nd interface, and controls the first interface and be connected to USB external-connected port;
Step S303, if receiving the instruction of refusal switching, then keeps the connection between the first interface and the 2nd interface.
In the present embodiment, the 2nd type instruction is that upper computer is connected to the steering order triggered when mobile terminal 100 connects by USB external-connected port 40. When control treatment module 30 detect upper computer by USB external-connected port 40 be connected to mobile terminal 100 connect time, first current connection state is judged, when first answers purpose processor and the 2nd answers purpose processor to be in connection state, prompted dialog frame can be ejected at the display interface of mobile terminal, user is the need of switching in inquiry, if receiving the permission switching command of user feedback, then disconnect the connection between the first interface and the 2nd interface, and control the first interface and be connected to USB external-connected port; When receiving the refusal switching command of user feedback, then keep the connection between the first interface and the 2nd interface; Certainly, also having another kind of situation, namely the first interface is not connected with other interfaces, now, when receiving the 2nd type instruction, it is possible to directly control the first interface is connected to USB external-connected port. Wherein, upper computer comprises computer, TV etc. can by the electronics of USB other equipment external, when mobile terminal 100 is connected to upper computer, this mobile terminal 100 can think the slave for upper computer, except situation about only being charged by mobile terminal 100 during connection.
It should be appreciated that when control treatment module receives arbitrary steering order, all can first judge that current first answers the connection state of purpose processor, then the instruction according to correspondence switches, and specifically repeats no more.
Certainly, all right display application scene of the display interface of upper computer or mobile terminal 100, such as only carries out charging and upper computer carries out data transmission. User can carry out selecting corresponding option at the display interface of upper computer or mobile terminal 100, thus trigger or do not trigger switching order, when such as user selects to switch, trigger switching order, now, namely can disconnect the connection between the first interface 111 and the 2nd interface 112, and the first interface 111 is connected to USB external-connected port 40; Otherwise, do not trigger switching order; Or when user selects only to charge, do not trigger switching order, otherwise trigger switching order.
USB external-connected port 40230 can be the interface unit 170 in Fig. 1,2nd answers purpose processor 21 and first to answer purpose processor 11 can be the treater of same model, it can also be the relative first treater answering purpose processor 11 relative processing capacity weak, the present embodiment answer purpose processor 21 to adopt the relative first treater answering purpose processor 11 relative processing capacity weak for saving cost the 2nd, 2nd answers purpose processor 21 only to have digital received and sent function, and the data received are sent to first and answer purpose processor 11 to process.
Mobile terminal 100 provided by the invention, purpose processor 11 is answered by arranging first, 2nd answers purpose processor 21, control treatment module 30 and USB external-connected port 40, first answers purpose processor 11 to have first interface 111 corresponding with USB external-connected port 40, 2nd answers purpose processor 21 to have two interface 112 corresponding with the first interface 111, control treatment module 30 is for obtaining the first steering order answering purpose processor 11 to receive, and the type of detection control instruction, when type steering order being detected is first kind instruction, control the first interface 111 and it is connected to the 2nd interface 112, when type steering order being detected is the 2nd type instruction, control the first interface 111 and it is connected to USB external-connected port 40, wherein, first kind instruction is first answer purpose processor 11 and the 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor 21, and the 2nd type instruction is that upper computer is connected to the steering order triggered when mobile terminal 100 connects by USB external-connected port 40. by the way, the present invention answers the service condition of the first interface 111 of purpose processor 11 according in mobile terminal 100 first, first interface 111 is connected to USB external-connected port 40 or the 2nd and answers purpose processor 21, thus the USB interface solving the first mobile communication system uses the problem of inconvenience, to improve Consumer's Experience.
USB external-connected port 40 comprises the 3rd interface 401 and the 4th interface 402, and mobile terminal 100 also comprises the first switch S 1 and the 2nd switch S 2, and step S20 comprises further:
Step S21, control the first switch S 1 and it is in the first state so that the first interface 111 and the 2nd interface 112 conducting, or control the first switch S 1 is in two-state so that the first interface 111 and the 2nd interface 112 disconnect, and the connection between conducting first interface 111 and the 3rd interface 401;
In the present embodiment, control treatment module 30 can also when there being upper computer to be connected on mobile terminal 100, it is possible to judges that the USB external-connected port 40 of mobile terminal 100 connects upper computer particular by the 3rd interface 401 or the 4th interface 402 further. And answer purpose processor 11 to control the first switch S 1 or the 2nd switch S 2 carrys out connecting passage corresponding to conducting by first.
With reference to Figure 10, in one embodiment, interface control method also comprises:
Step S40, control treatment module 30 answers purpose processor 11 when detecting that steering order is the 3rd type instruction first, controlling the first switch S 1 and be in disconnection state, wherein, the 3rd type instruction is the steering order that upper computer triggers when being connected to mobile terminal 100 by the 4th interface 402;
Step S50, control the 2nd switch S 2 conducting upper computer and the 2nd answers the connection between purpose processor 21.
In the present embodiment, when mobile terminal 100 is connected with upper computer, first answers purpose processor 11 to control the first switch S 1 is in two-state so that the first interface 111 and the 2nd interface 112 disconnect, and the connection between conducting first interface 111 and the 3rd interface 401 of USB external-connected port 40. When upper computer is connected to mobile terminal 100 by the 4th interface 402, first answers purpose processor 11 to control the first electronic switch S1 is in disconnection state, answers the connection between purpose processor 21 with control the 2nd switch S 2 conducting upper computer and the 2nd.
This it should be noted that in the present embodiment the 3rd interface 401 be generally used for user mobile terminal 100 is external to upper computer time, can carrying out being checked by upper computer, copying the operation of the part content of mobile terminal 100, the interface used when mobile terminal 100 is connected to upper computer by usual user is exactly the 3rd interface 401. 4th interface 402 is generally technician and to be used debugging the 2nd to answer the interface used during the functions such as purpose processor 21. Certain user can also use first via interface 231 to carry out the functions such as debugging.
It should be appreciated that the first electronic switch S1 and the 2nd switch S 2 can also pass through software simulating.
Step S60, when type steering order being detected is the 4th type instruction, disconnects the connection between the first interface 111 and USB external-connected port 40.
Wherein, the steering order triggered when the 4th type instruction is the connection between upper computer disconnection and mobile terminal 100. Now, first answers the first interface 111 of purpose processor 11 both not connect the 2nd interface 112 that the 2nd answers purpose processor 21, does not connect USB external-connected port 40 yet.
Should be understood that, in the present embodiment, first kind instruction, the 2nd type instruction and the 3rd type instruction, not strict sequence requirement, in other embodiments, it is possible to think other orders. Detailed explanation is not done at this.
It should be noted that above said first answers purpose processor 11 and the 2nd to answer the data corresponding between purpose processor 21 to refer to answer the USB data transmission passage of purpose processor 11 to communicate by first, not first answer purpose processor 11 to process 210 with the 2nd between communicated by universal serial port passage, universal serial port passage is used for the 2nd and answers purpose processor 21 to answer purpose processor 11 to send status information to first.
With reference to Figure 11, on the embodiment basis shown in Fig. 9, also comprise after step S20:
Step S70, first answers purpose processor 11 when the first interface 111 is connected to the 2nd interface 112, answers the state of purpose processor 11 to switch to master status by empty state by first;
Also comprise after step S30:
Step S80, first answers purpose processor 11 when the first interface 111 is connected to USB external-connected port 40, answers the state of purpose processor 11 to switch to slave state by master status by first;
First answers purpose processor 11 when the first interface 111 is connected to USB external-connected port 40, also comprises answer the state of purpose processor 11 to switch to the step of slave state by master status by first after:
Step S90, when the first interface 111 disconnects with USB external-connected port 40 port, answers the state of purpose processor 11 to switch to sky state by from equipment state by first.
In the present embodiment, for when first answers the first interface 111 of purpose processor 11 to connect different positions, mobile terminal 100 is facilitated to carry out corresponding activity, the present invention answers the difference of the first interface 111 link position of purpose processor 11 according to first, answer purpose processor 11 that different states is set by mobile terminal 100 first
Specifically:
First answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, answer the state of purpose processor 11 to switch to master status by first; When upper computer connects mobile terminal 100 by USB external-connected port 40, the state of purpose processor 11 is answered to switch to slave state by first; Or, mobile terminal 100 not by the first interface 111 connect upper computer or first answer purpose processor 11 and the 2nd answer do not carry out data corresponding between purpose processor 21 time, answer the state of purpose processor 11 to switch to sky state by first.
Due to when first answers the first interface 111 of purpose processor 11 to be connected to different positions, mobile terminal 100 can carry out different task, when such as mobile terminal 100 is as the slave of upper computer in the present embodiment, the first of mobile terminal 100 answers the first interface 111 of purpose processor 11 to be connected to upper computer, purpose processor 21 can not be answered to carry out data corresponding with the 2nd, for avoiding use produces conflict, mobile terminal 100 can not normally be used, the present embodiment answers purpose processor 11 to arrange different states by answering the USB interface of purpose processor 11 to connect different positions first by mobile terminal 100 first.
Now it is described for a concrete scene:
1, when first answers purpose processor 11 neither to answer purpose processor 21 to communicate with the 2nd, when also not connecting peripheral equipment, first answers purpose processor 11 to arrange sky state, and the connection between purpose processor 21 is answered in hardware switch disconnection simultaneously and the 2nd;
2, when the 2nd answer purpose processor 21 initiate data corresponding or first answer purpose processor 11 need and the 2nd answer carry out data corresponding between purpose processor 21 time, first answers purpose processor 11 to arrange master status, switches S1 switch simultaneously and answers purpose processor 21 to be connected with the 2nd;
3, when first answers purpose processor 11 to connect peripheral equipment such as computer, first answers purpose processor 11 judges currently whether answer purpose processor 21 to communicate with the 2nd, if do not communicated, then to switch to from equipment state by pattern; If now answering purpose processor 21 to communicate with the 2nd, then event of sending out public notice gives the first mobile communication system interface, and prompting user selects to keep answering purpose processor 21 to be connected or be connected with computer with the 2nd.
If 4 users select to keep answering purpose processor 21 to communicate with the 2nd, then shielding insertion computer event, and do not do any operation; If user selects to be switched to be connected with computer, then first answer purpose processor 11 to be switched to from equipment state from master status, switch S1 switch simultaneously so that first answers purpose processor 11 and computer to keep communicating.
5, when first answers purpose processor 11 disconnection to be connected with computer, it is necessary to be switched to sky state from from equipment state.
With reference to Figure 12, on the embodiment basis shown in Figure 11, mobile terminal 100 also comprises slave and powers module 70, and interface control method also comprises:
Step S100, slave power module 70 first answer purpose processor 11 and the 2nd answer carry out data corresponding between purpose processor 21 time, for the 2nd answers purpose processor 21 to provide predeterminated voltage; Or when upper computer connects mobile terminal 100 by the 4th interface 402, for the 4th interface 402 provides predeterminated voltage.
In the present embodiment, when first answers purpose processor 11 first interface 111 to be connected to the 2nd interface 112 that the 2nd answers purpose processor 21, for making the 2nd to answer purpose processor 21 can normally receive the first data answering purpose processor 11 to send, it needs specific predeterminated voltage, now voltage is greater than the 2nd voltage when answering purpose processor 21 to run separately, specifically, in the present embodiment first answer the first interface 111 of purpose processor 11 be connected to the 2nd answer purpose processor 21 time the 2nd interface 112 time, predeterminated voltage is that the 2nd voltage when answering purpose processor 21 to run separately adds 5V. equally, when upper computer connects mobile terminal 100 by the 4th interface 402, for the 4th interface 402 provides predeterminated voltage.
Through the above description of the embodiments, the technician of this area can be well understood to above-described embodiment method and can realize by the mode that software adds required general hardware platform, hardware can certainly be passed through, but in a lot of situation, the former is better enforcement mode. Based on such understanding, the technical scheme of the present invention in essence or says that part prior art contributed can embody with the form of software product, this computer software product is stored in a storage media (such as ROM/RAM, magnetic disc, CD), comprise some instructions with so that a station terminal equipment (can be mobile phone, computer, server, conditioner, or the network equipment etc.) perform each embodiment of the present invention method.
These are only the preferred embodiments of the present invention; not thereby the patent scope of the present invention is limited; every utilize specification sheets of the present invention and accompanying drawing content to do equivalent structure or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all it is included in the scope of patent protection of the present invention with reason.
For illustrative purposes, description above employs specific term, to provide the thorough to the present invention. But, to one skilled in the art it is apparent that do not need concrete details in order to practice. The aforementioned description of specific embodiments of the invention is the object in order to illustrate and illustrate and presents. They are not intended to detailed or limit the invention to disclosed precise forms. In view of religious doctrine above, many modifications and variations are possible. Illustrate and describe these embodiments to preferably explain the principle of the present invention and practical application thereof, thus enable others skilled in the art preferably utilize the present invention and have the various embodiments of the various amendments of the specific use being suitable for expection. The scope being intended to the present invention is limited by claim subsequently and its jljl such as grade.

Claims (10)

1. a mobile terminal, it is characterized in that, it is applied to the communication based on two channels, described mobile terminal comprises first and answers purpose processor, the 2nd to answer purpose processor, control treatment module and USB external-connected port, described first application treater has first interface corresponding with described USB external-connected port, described 2nd application treater has two interface corresponding with described first interface, and described control treatment module comprises:
Detection module, for obtaining described first steering order answering purpose processor to receive, and detects the type of described steering order;
First control module, also for when the type described steering order being detected is first kind instruction, controlling described first interface and be connected to described 2nd interface;
2nd control module, also for when the type described steering order being detected is the 2nd type instruction, controlling described first interface and be connected to described USB external-connected port;
Wherein, described first kind instruction is described first answer purpose processor and the described 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor, and described 2nd type instruction is that upper computer is connected to the steering order triggered when described mobile terminal connects by described USB external-connected port.
2. mobile terminal as claimed in claim 1, it is characterized in that, described USB external-connected port comprises the 3rd interface and the 4th interface, described mobile terminal also comprises the first switch and the 2nd switch, described control treatment module also comprises the 3rd control module, the 4th control module, the 5th control module and the 6th control module
Described 3rd control module, is in the first state so that described first interface and described 2nd interface conducting for controlling described first switch, or controls described first switch and be in two-state with the first interface described in conducting and the connection between described 3rd interface;
Described 4th control module, for answering purpose processor when detecting that described steering order is the 3rd type instruction described first, control described first switch and it is in disconnection state, wherein, described 3rd type instruction is the steering order that described upper computer triggers when being connected to described mobile terminal by described 4th interface;
Described 5th control module, answers the connection between purpose processor for controlling upper computer and the described 2nd described in described 2nd switch conducting;
6th control module, for when the type described steering order being detected is the 4th type instruction, disconnecting the connection between described first interface and described USB external-connected port;
Wherein, the steering order triggered when described 4th type instruction is the connection between the disconnection of described upper computer and described mobile terminal.
3. mobile terminal as claimed in claim 1, it is characterised in that, described 2nd control module comprises:
Judging unit, for when the type described steering order being detected is the 2nd type instruction, judging current connection state, and ejects the prompting whether allowing switching;
Unit first, if the instruction allowing switching for receiving, then disconnects the connection between described first interface and described 2nd interface, and controls described first interface and be connected to described USB external-connected port;
Second unit, if for the instruction receiving refusal switching, then keeping the connection between described first interface and described 2nd interface.
4. mobile terminal as claimed in claim 1, it is characterised in that, described first answers purpose processor to comprise:
First handover module, for when described first interface is connected to described 2nd interface, answering the state of purpose processor to switch to master status by empty state by described first;
2nd handover module, for when described first interface is connected to described USB external-connected port, answering the state of purpose processor to switch to slave state by described master status by described first;
3rd handover module, for when described first interface and described USB external-connected port disconnect, answering the state of purpose processor to switch to sky state by described from equipment state by described first.
5. mobile terminal as claimed in claim 4, it is characterised in that, described mobile terminal also comprises:
Slave is powered module, for described first answer purpose processor and the described 2nd answer carry out data corresponding between purpose processor time, for the described 2nd answers purpose processor to provide predeterminated voltage; Or when described upper computer connects mobile terminal by the 4th interface, for described 4th interface provides predeterminated voltage.
6. an interface control method, it is characterized in that, described interface control method is applied to the mobile terminal of dual-channels communication, it is applied to the communication based on two channels, described mobile terminal comprises first and answers purpose processor, the 2nd to answer purpose processor, control treatment module and USB external-connected port, described first application treater has first interface corresponding with described USB external-connected port, and described 2nd application treater has two interface corresponding with described first interface, and described interface control method comprises:
Described control treatment module obtains the described first steering order answering purpose processor to receive, and detects the type of described steering order;
When the type described steering order being detected is first kind instruction, controls described first interface and it is connected to described 2nd interface;
When the type described steering order being detected is the 2nd type instruction, controls described first interface and it is connected to described USB external-connected port;
Wherein, described first kind instruction is described first answer purpose processor and the described 2nd to answer the steering order triggered when carrying out data corresponding between purpose processor, and described 2nd type instruction is that upper computer is connected to the steering order triggered when described mobile terminal connects by described USB external-connected port.
7. interface control method as claimed in claim 6, it is characterized in that, described USB external-connected port comprises the 3rd interface and the 4th interface, described mobile terminal also comprises the first switch and the 2nd switch, described control treatment module, when the type described steering order being detected is first kind instruction, controls the step that described first interface is connected to described 2nd interface and comprises further:
Control described first switch and it is in the first state so that described first interface and described 2nd interface conducting, or control described first switch and be in two-state so that described first interface and described 2nd interface disconnect, and the first interface described in conducting and the connection between described 3rd interface;
Described interface control method also comprises:
Described control treatment module answers purpose processor when detecting that described steering order is the 3rd type instruction described first, control described first switch and it is in disconnection state, wherein, described 3rd type instruction is the steering order that described upper computer triggers when being connected to described mobile terminal by described 4th interface;
Control upper computer and the described 2nd described in described 2nd switch conducting and answer the connection between purpose processor;
When the type described steering order being detected is the 4th type instruction, disconnect the connection between described first interface and described USB external-connected port;
Wherein, the steering order triggered when described 4th type instruction is the connection between the disconnection of described upper computer and described mobile terminal.
8. interface control method as claimed in claim 6, it is characterised in that, when the described type described steering order being detected is the 2nd type instruction, controls the step that described first interface is connected to described USB external-connected port and comprise:
Described 2nd control module, when the type described steering order being detected is the 2nd type instruction, judges current connection state, and ejects the prompting whether allowing switching;
If receiving the instruction allowing switching, then disconnect the connection between described first interface and described 2nd interface, and control described first interface and be connected to described USB external-connected port;
If receiving the instruction of refusal switching, then keep the connection between described first interface and described 2nd interface.
9. interface control method as claimed in claim 6, it is characterised in that, when the described type described steering order being detected is first kind instruction, also comprise after controlling the step that described first interface is connected to described 2nd interface:
Described first answers purpose processor when described first interface is connected to described 2nd interface, answers the state of purpose processor to switch to master status by empty state by described first;
When the described type described steering order being detected is first kind instruction, also comprise after controlling the step that described first interface is connected to described 2nd interface:
Described first answers purpose processor when described first interface is connected to described USB external-connected port, answers the state of purpose processor to switch to slave state by described master status by described first;
Described first answers purpose processor when described first interface is connected to described USB external-connected port, also comprises answer the state of purpose processor to switch to the step of slave state by described master status by described first after:
When described first interface and described USB external-connected port disconnect, the state of purpose processor is answered to switch to sky state by described from equipment state by described first.
10. interface control method as claimed in claim 9, it is characterised in that, described mobile terminal also comprises slave and powers module, and described interface control method also comprises:
Described slave power module described first answer purpose processor and the described 2nd answer carry out data corresponding between purpose processor time, for the described 2nd answer purpose processor provide predeterminated voltage; Or when described upper computer connects mobile terminal by the 4th interface, for described 4th interface provides predeterminated voltage.
CN201610067825.4A 2016-01-29 2016-01-29 Mobile terminal and interface control method thereof Pending CN105657868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610067825.4A CN105657868A (en) 2016-01-29 2016-01-29 Mobile terminal and interface control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610067825.4A CN105657868A (en) 2016-01-29 2016-01-29 Mobile terminal and interface control method thereof

Publications (1)

Publication Number Publication Date
CN105657868A true CN105657868A (en) 2016-06-08

Family

ID=56488206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610067825.4A Pending CN105657868A (en) 2016-01-29 2016-01-29 Mobile terminal and interface control method thereof

Country Status (1)

Country Link
CN (1) CN105657868A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105960000A (en) * 2016-06-12 2016-09-21 努比亚技术有限公司 Dormancy awakening method and processor
CN106954253A (en) * 2017-03-30 2017-07-14 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN107087294A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN107087298A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Mobile terminal and its dormancy control method
CN107087296A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN111343221A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Service processing method and device under command mode based on universal interface framework

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009031737A1 (en) * 2007-09-09 2009-03-12 Geon Kim Universal high-speed real-time monitoring device for embedded systems
CN101932138A (en) * 2009-06-23 2010-12-29 Lg电子株式会社 Duplex MODEM and control method thereof
CN101946554A (en) * 2007-12-21 2011-01-12 艾利森电话股份有限公司 Be used for providing the technology of network insertion to different entities
CN102640130A (en) * 2009-11-23 2012-08-15 高通股份有限公司 Apparatus and methods for USB connection in a multi-processor device
CN203658996U (en) * 2014-01-16 2014-06-18 青岛海信移动通信技术股份有限公司 Chip interface multiplex circuit and mobile terminal
EP2854040A2 (en) * 2013-09-30 2015-04-01 Fujitsu Limited Information processing apparatus, information processing system, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009031737A1 (en) * 2007-09-09 2009-03-12 Geon Kim Universal high-speed real-time monitoring device for embedded systems
CN101946554A (en) * 2007-12-21 2011-01-12 艾利森电话股份有限公司 Be used for providing the technology of network insertion to different entities
CN101932138A (en) * 2009-06-23 2010-12-29 Lg电子株式会社 Duplex MODEM and control method thereof
CN102640130A (en) * 2009-11-23 2012-08-15 高通股份有限公司 Apparatus and methods for USB connection in a multi-processor device
EP2854040A2 (en) * 2013-09-30 2015-04-01 Fujitsu Limited Information processing apparatus, information processing system, and program
CN203658996U (en) * 2014-01-16 2014-06-18 青岛海信移动通信技术股份有限公司 Chip interface multiplex circuit and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105960000A (en) * 2016-06-12 2016-09-21 努比亚技术有限公司 Dormancy awakening method and processor
CN106954253A (en) * 2017-03-30 2017-07-14 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN107087294A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN107087298A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Mobile terminal and its dormancy control method
CN107087296A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN111343221A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Service processing method and device under command mode based on universal interface framework

Similar Documents

Publication Publication Date Title
CN105653486B (en) The method that the USB interface of mobile terminal and its processor is multiplexed
CN105657868A (en) Mobile terminal and interface control method thereof
CN105159533A (en) Mobile terminal and automatic verification code input method thereof
CN105657866A (en) Mobile terminal and communication method of mobile terminal
CN105160530A (en) Mobile terminal and information processing method
CN104991819A (en) Terminal application switching method and apparatus
CN104768198A (en) Mobile terminal and intelligent switching method and device for terminal network of mobile terminal
CN105722059A (en) Mobile terminal and communication method for double-modem system
CN105718405B (en) The method that the USB interface of mobile terminal and its processor is multiplexed
CN104915169A (en) Method and device for screen-split display of terminal application
CN105657767A (en) Method for controlling voice switching and mobile terminal
CN105722060A (en) Mobile terminal and communication method thereof
CN104915111A (en) Method and device for operating and controlling terminal
CN105245741A (en) Method and device for call transfer
CN105100412A (en) Method and device for eliminating terminal data
CN107466033A (en) IMS register method, device, mobile terminal and storage medium
CN111556439A (en) Terminal connection control method, terminal and computer storage medium
CN107360214A (en) A kind of message push processing method, message sink processing method and processing device
CN104658535A (en) Voice control method and device
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN104954582A (en) Method and device for launching speed dialing by pressing touch control
CN105050076A (en) Virtual card user interface management method and system
CN104994239A (en) Radio phone for achieving MIFI on-line function based on LTE network
CN105682083A (en) Mobile terminal and communication method of dual modem system
CN106412878A (en) Device and method for activating subscriber identity module card

Legal Events

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

Application publication date: 20160608

RJ01 Rejection of invention patent application after publication