A kind of smart mobile phone Modem is restarted system and method after crashing automatically
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to and restart system and method automatically after a kind of smart mobile phone Modem crashes.
Background technology
Continuous development along with society, the mobile of people's work and life constantly strengthened, so people are also increasing to the demand of portable terminal, people utilize portable terminal except carrying out voice and messaging communication, also need to enjoy from network Email, consult information, services such as film are downloaded and viewed and admired to picture.
The hardware configuration of smart mobile phone of the prior art as shown in Figure 1, the smart mobile phone hardware system mainly is made of intelligent operating system application processor 101 and 102 liang of big main bodys of Modem wireless communication module, both power supplys are powered by battery 100, and the Modem wireless communication module is realized the GSM standard of mobile phone or data communication and the function of voice communication of CDMA standard or mobile communication standards such as WCDMA standard or TD-SCDMA; Intelligent operating system application processor operation system software and operation are based on the application software of moving on this operating system, and realization is to the application management of Modem wireless communication module and other various function peripheral hardwares.Usually, can be operated in a kind of in following three kinds of patterns after the Modem start: 1, communication service pattern: Modem is in conversation or data service communications status; 2, idle application model: Modem is carrying out user's operational order, enters corresponding function application menu, but does not enter conversation or data service communications status; 3, sleep pattern: Modem does not carry out Any user instruction and operation, is in stand-by state, enters the low-power consumption battery saving mode.Can be operated in following two states after the intelligent operating system application processor start: 1, application model: the user carries out various application operatings at the interface that Activates Phone; 2, sleep pattern: application processor dormancy.
Though more than be that Modem or intelligent use processor all can make separately that module enters corresponding mode of operation according to the mobile phone realistic application conditions, when two intermodules need carry out data interaction, initiate to ask alternately and inform the other side's self working mode to the other side's module earlier by the mutual initiator in two modules, at this moment the side's of response module can be adjusted after the request of receiving and self enter duty and inform initiator's module self working state, after finishing shaking hands between this series module, two modules just can carry out data interaction.
In above-mentioned normal procedure intelligent operating handset mode, Modem wireless communication module and intelligent operating system application processor are all directly powered by battery, during mobile phone power-on, at first be the start of intelligent operating system application processor and operation intelligent operating system, make the Modem accessing mobile communication network and enter standby mode by intelligent operating system application processor control Modem start again after start is finished.Modem and intelligent operating system system applies processor are owing to the processor system that has separately, their operations separately have certain independence, just carry out handshake communication when having only the data interaction of needs, they can mutual report mode of operation separately give the other side when not needing data interaction.
But because intelligent mobile phone system complexity, Modem and intelligent operating system system applies processor also all are to be made of all kinds of CPU architecture processor kernels, the same with conventional computer, these CPU also have the possibility of deadlock, and its performance is that Modem crashes or the intelligent operating system application processor crashes.Modem can not answer, dial phone or carry out data communication when crashing, and the user just can not carry out any operation when the intelligent operating system application processor crashed; And some degree of depth to crash be to recover by common start again, need to make again system cut-off to reset as computer and just can restart.So we must start shooting by the plug battery again and just can reply sometimes after mobile phone crashes, its reason be mobile phone when crashing since battery also be connected with system, make each functional block of internal system keep metastable state because of the capacitance energy storage effect, cause system not reset, have only the electric charge of capacitance energy storage is consumed after battery pulled out by system's self discharge, system thoroughly could the assurance system normally be resetted, restart after the discharge.
So prior art exists not enough, need to be improved and enhanced.
Summary of the invention
Automatically restart system and method after the object of the present invention is to provide a kind of smart mobile phone Modem to crash, be intended to solve the automatic recovery in smart mobile phone Modem deadlock back and do not need the user to carry out the problem of battery plug.
The present invention realizes like this, a kind of smart mobile phone Modem is restarted system after crashing automatically, comprise battery, Modem wireless communication module and intelligent operating system application processor, described battery is used to described Modem wireless communication module and intelligent operating system application processor that power supply is provided, described Modem wireless communication module links to each other with described intelligent operating system application processor, is used for realizing data communication and function of voice communication; Described intelligent operating system application processor is used for realization to the application management of described Modem wireless communication module and peripheral hardware, wherein, automatically restart system after described smart mobile phone Modem crashes and also comprise on-off circuit, the signal input part of described on-off circuit links to each other with described battery, the signal output part of described on-off circuit links to each other with described Modem wireless communication module, when the Modem wireless communication module crashes, make described Modem wireless communication module outage by disconnecting described on-off circuit, behind the described Modem wireless communication module discharge reduction, described on-off circuit conducting, described battery recovery is to described Modem wireless communication module power supply;
The electric charge of the capacitance energy storage of Modem side consumes by system earth self-discharge after the outage of Modem wireless communication module, after the capacitance energy storage effect disappears, the Modem wireless communication module normally resets, on-off circuit receives the switch controlling signal that comes from intelligent operating system application processor high level, make the on-off circuit conducting, described battery recovery is to the Modem wireless communication module power supply, Auto Power On after the Modem wireless communication module powers on is finished the automatic recovery of Modem radio communication mold block system.
Wherein, described on-off circuit comprises be used to doing the field effect transistor that big current lead-through uses and being used for doing the triode that switch is used, described field effect transistor is connected between described battery and the described Modem wireless communication module, drive end links to each other with the collector of described triode, the base stage of described triode is connected with described intelligent operating system application processor signal, the grounded emitter of described triode, when detecting described Modem wireless communication module, described intelligent operating system application processor crashes, the switch controlling signal that comes from described intelligent operating system application processor is low level, described triode is by closing described field effect transistor, and described Modem wireless communication module cuts off the power supply.
Wherein, described on-off circuit also comprises first resistance, the described battery of described first resistance, one termination, and the collector of the described triode of described another termination of first resistance offers described triode by described first resistance with described battery supply.
Automatic method for restarting after a kind of smart mobile phone Modem crashes, wherein, described method comprises the steps:
A, the Modem wireless communication module is configured to Auto On Mod, system's operate as normal;
B, when the intelligent operating system application processor detects described Modem wireless communication module and crashes, described intelligent operating system application processor is output as low level, and on-off circuit is disconnected;
Make described Modem wireless communication module outage behind C, the described on-off circuit of disconnection, automatically reset after the described Modem wireless communication module discharge, described on-off circuit conducting, startup start automatically after described Modem wireless communication module powers on;
The electric charge of the capacitance energy storage of Modem side consumes by system earth self-discharge after the outage of Modem wireless communication module, after the capacitance energy storage effect disappears, the Modem wireless communication module normally resets, on-off circuit receives the switch controlling signal that comes from intelligent operating system application processor high level, make the on-off circuit conducting, battery recovery is to the Modem wireless communication module power supply, Auto Power On after the Modem wireless communication module powers on is finished the automatic recovery of Modem radio communication mold block system.
Wherein, described step C specifically comprises following method:
C1, when detecting described Modem wireless communication module, described intelligent operating system application processor crashes, the switch controlling signal of described intelligent operating system application processor output is low level, triode in the described on-off circuit is by closing the field effect transistor that links to each other with described triode, and described Modem wireless communication module cuts off the power supply;
After C2, the outage of described Modem wireless communication module, the electric charge self-discharge of its capacitance energy storage consumes, and described Modem wireless communication module normally resets;
C3, the described switch controlling signal that comes from described intelligent operating system application processor transfer high level to, described field effect transistor conducting is opened and driven to described triode, described battery is given described Modem radio communication mold block power supply power supply by the described field effect transistor of conducting, automatically start start after described Modem wireless communication module powers on, system automatically resets.
Beneficial effect of the present invention is: the invention provides and restart system and method automatically after a kind of smart mobile phone Modem crashes, by in system, increasing an on-off circuit, when Modem crashes, make the outage of Modem wireless communication module by the cut-off switch circuit, the electric charge self-discharge of Modem wireless communication module internal capacitance energy storage consumes like this, the Modem wireless communication module is normally resetted, the on-off circuit conducting, battery recovery in the mobile phone is to the Modem wireless communication module power supply, and operate as normal is recovered by system; By increase this on-off circuit in internal system, can recover operate as normal automatically after making Modem crash and not need the user to carry out the battery plug, thereby make the user to the deadlock of Modem any perception not arranged, promote the user and experience perception, and this on-off circuit that increases is simple, with low cost, have market outlook widely.
Description of drawings
Fig. 1 is the prior art systems block scheme;
Fig. 2 is that system block diagram is restarted in the present invention automatically;
Fig. 3 is that system switching circuit preferred embodiments circuit diagram is restarted in the present invention automatically;
Fig. 4 is waveform signal figure of the present invention;
Fig. 5 is the inventive method process flow diagram.
Embodiment
The invention provides and restart system and method automatically after a kind of smart mobile phone Modem crashes, clearer, clear and definite for making purpose of the present invention, technical scheme and advantage, below develop simultaneously with reference to accompanying drawing that the present invention is described in more detail for embodiment.
After crashing, prior art smart mobile phone Modem need the user that the battery of mobile phone inside is carried out plug in order to solve, inconvenient problem with use, the invention provides and restart system and method automatically after a kind of Modem crashes, the core concept of this method comprises: at on-off circuit of the inner increase of smart mobile phone, this on-off circuit signal input part is linked to each other with battery in the cell phone system, the signal output part of on-off circuit links to each other with Modem wireless communication module in the mobile phone, when the Modem of mobile phone wireless communication module crashes, make described Modem wireless communication module outage by the automatic cutout on-off circuit, the electric charge of the capacitance energy storage of Modem side consumes by system earth self-discharge after the outage of Modem wireless communication module, after the capacitance energy storage effect disappears, the Modem wireless communication module normally resets, on-off circuit receives the switch controlling signal that comes from intelligent operating system application processor high level again, make the on-off circuit conducting, described battery recovery is to the Modem wireless communication module power supply, but Auto Power On after the Modem wireless communication module powers on is finished the automatic recovery of Modem radio communication mold block system.
Accompanying drawing 2 is that system block diagram is restarted in the present invention automatically, system comprises battery 100, intelligent operating system application processor 101, Modem wireless communication module 102 and on-off circuit 103, wherein, it is AP that battery can select for use lithium ion battery (being not limited to this) to be used for giving intrasystem intelligent operating system application processor 101() and 102 power supplies of Modem wireless communication module, intelligent operating system application processor 101 links to each other with Modem wireless communication module 102, both carry out information interaction, intelligent operating system application processor 101 operation system softwares and operation are based on the application software of moving on this operating system, and realization is to the application management of Modem wireless communication module and other various function peripheral hardwares; Modem wireless communication module 102 is realized the GSM standard of mobile phone or data communication and the function of voice communication of CDMA standard or mobile communication standards such as WCDMA standard or TD-SCDMA; The signal input part of on-off circuit 103 links to each other with battery 100, the signal output part of on-off circuit 103 links to each other with Modem wireless communication module 102, by the information interaction of intelligent operating system application processor (AP) 101 with Modem wireless communication module 102, AP can detect the duty of Modem wireless communication module 102, give on-off circuit 103 by intelligent operating system application processor 101 AP-POWER-MODEM signals of output (being defined as switch controlling signal), judge the level height of switch controlling signal (AP-POWER-MODEM), disconnect or actuating switch circuit 103.
Do further detailed description referring to 3 pairs of principle of work of the present invention of accompanying drawing, Fig. 3 is that preferred embodiments circuit diagram of system switching circuit is restarted in the present invention automatically, wherein on-off circuit 103 comprises triode Q1, field effect transistor Q2 and resistance R 1, triode Q1 uses as switch, field effect transistor Q2 does big current lead-through usefulness, and the field effect transistor Q2 that the present invention adopts is WPM3401, is not limited thereto certainly; By resistance R 1 power supply of battery is offered triode Q1, JI is mobile phone lithium ion battery 100, the end ground connection of J1, the other end connects intelligent operating system application processor (AP) 101 and on-off circuit 103 respectively, and J1 comes to 102 power supplies of Modem wireless communication module directly for intelligent operating system application processor (AP) 101 power supplies and the conducting by field effect transistor Q2; The ground level of triode Q1 is connected with intelligent operating system application processor 101, intelligent operating system application processor 101 output switch control signals (i.e. AP_POWER_MODEM shown in the figure) are to the ground level of triode Q1, the emitting stage ground connection of triode Q1, the collector of triode Q1 links to each other with 1 end points (drive end) among the field effect transistor Q2,2 ends of field effect transistor Q2 are connected JI and Modem wireless communication module 102 respectively with 3 ends, resistance R 1 one termination batteries 100, the collector of another termination triode Q1, resistance R 1 offers triode Q1 with battery supply; When the AP_POWER_MODEM of output was high level signal, triode Q1 opened and drives field effect transistor Q2 conducting, and this moment, J1 gave the power supply of Modem wireless communication module 102 power-supply systems by the field effect transistor Q2 of conducting; When the AP_POWER_MODEM of output was low level signal, triode Q1 just by causing field effect transistor Q2 to close, gave Modem wireless communication module power cut-off this moment; As mentioned above, the present invention at first the Modem wireless communication module is configured to MODEM_VBAT power on the back Auto On Mod, when Modem crashes, intelligent operating system application processor AP crashes by determining the Modem wireless communication module with the mutual detection of Modem wireless communication module, this moment, intelligent operating system application processor AP was by the waveform signal shown in the AP_POWER_MODEM signal input accompanying drawing 4, be the low level section of signal from 0-t1 among Fig. 4 wherein, and t1-t2 is the high level section of signal, signal low level Duan Kexian makes the outage of Modem wireless communication module, the electric charge of the capacitance energy storage of Modem side consumes by system earth self-discharge after the outage of Modem wireless communication module, and the Modem wireless communication module just can normally reset after the capacitance energy storage effect disappeared; When AP_POWER_MODEM radio communication mold block signal changes high level, the t1-t2 signal high level section among Fig. 4 just, open driving field effect transistor Q2 conducting at high level section triode Q1, this moment, J1 gave the power supply of Modem wireless communication module modular power source system by the field effect transistor Q2 of conducting, the Modem wireless communication module powers on the back with regard to the automatically starting start, finishes the automatic recovery of Modem radio communication mold block system.
Automatic method for restarting as shown in Figure 5, comprised the steps: after correspondence of the present invention provided a kind of smart mobile phone Modem to crash
201, the Modem wireless communication module is configured to Auto On Mod, system's operate as normal;
202, the intelligent operating system application processor detects the deadlock of Modem wireless communication module;
203, when detecting the Modem wireless communication module, the intelligent operating system application processor crashes, the switch controlling signal (being the AP_POWER_MODEM signal) of intelligent operating system application processor output is low level, triode Q1 in the on-off circuit is by closing the field effect transistor Q2 that links to each other with triode, and the Modem wireless communication module cuts off the power supply;
204, after the outage of Modem wireless communication module, after the electric charge self-discharge of its capacitance energy storage consumed, described Modem wireless communication module normally resetted;
205, the switch controlling signal (being the AP_POWER_MODEM signal) that comes from the intelligent operating system application processor transfers high level to, triode Q1 opens and drives field effect transistor Q2 conducting, battery is given the power supply of Modem radio communication mold block power supply by the field effect transistor Q2 of conducting, automatically start start after the Modem wireless communication module powers on, system automatically resets.
In sum, the present invention increases an on-off circuit in system, can recover operate as normal automatically after making Modem crash and does not need the user to carry out the battery plug, and is greatly convenient for users to use and promote the user and experience perception.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.