CN106610714A - Switch control circuit and method for terminal - Google Patents

Switch control circuit and method for terminal Download PDF

Info

Publication number
CN106610714A
CN106610714A CN201510694338.6A CN201510694338A CN106610714A CN 106610714 A CN106610714 A CN 106610714A CN 201510694338 A CN201510694338 A CN 201510694338A CN 106610714 A CN106610714 A CN 106610714A
Authority
CN
China
Prior art keywords
circuit
terminal
command
control circuit
shutdown
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
CN201510694338.6A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510694338.6A priority Critical patent/CN106610714A/en
Priority to PCT/CN2016/085494 priority patent/WO2016197984A1/en
Publication of CN106610714A publication Critical patent/CN106610714A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a switch control circuit and method for a terminal. The circuit comprises a dial switch, a control circuit, a power management circuit and a main control circuit, wherein the dial switch is connected with the control circuit, and is used for respectively receiving a power-on command and a power-off command of the terminal via a power-on position and a power-off position; the control circuit is connected with the main control circuit and the power management circuit, and is used for sending the power-on command to the power management circuit or sending the power-off command to the main control circuit; the power management circuit is connected with the control circuit, and is used for connecting a power supply of the terminal with a system circuit of the terminal according to the power-on command and triggering the power-on flow of the terminal; and the main control circuit is connected with the control circuit, and is used for triggering the power-off flow of the terminal according to the power-off command and informing the power management circuit of turning off the conductive path between the power supply and the system circuit. The switch control circuit and method solve the problem of long waiting time when a long-press switch circuit is adopted for power-on and power-off in relevant technologies, and thus achieve the effect of facilitating power-on, power-off, reset and restart on the terminal.

Description

The ON-OFF control circuit and method of terminal
Technical field
The present invention relates to circuit field, in particular to the ON-OFF control circuit and method of a kind of terminal.
Background technology
At present mobile terminal generally uses key switch electromechanics road, grows started shooting by power key in the power-offstate, Under open state grow by power key shut down, but this mode have one it is very bad where be exactly in order to ensure switching on and shutting down stream Journey is successfully completed, and user will for a long time pin power key.In addition current mobile terminal of mobile telephone is easy to crash, Yong Huxu Reset key is disclosed using specific purpose tool, this is very inconvenient, and in some cases this mode can not reset Restart, because now mostly mobile phone uses non-dismountable battery, it is impossible to which plugging battery can only wait until mobile terminal of mobile telephone Running down of battery shuts down to release deadlock state.
The scheme of correlation technique uses long by formula on/off circuit, and in the power-offstate, length presses power key more than 3 seconds Hardware detection is to the State Host start.Under switch on condition, length presses more than 3 seconds software detections of power key to the state, Software carries out power-off operation to main frame.Reset to crash and restart the reset transistor that power management chip is connected to using independent reset key Pin is realized.
This length carries out the bad part of power on-off modes by power key, and the user key-press time is too short can not to complete switching on and shutting down, Time, oversize user can be impatient of, and this mode has certain uncertainty, not be the clear and definite ambiguous proterties of on or off State, user can not clearly know the state of mobile terminal.Increase reset key, user will disclose multiple using specific purpose tool Position key, very inconvenient and increase cost, in addition under certain conditions this mode is also can not to release deadlock state, can only Dead battery capability mobile phone shutdown is waited to release deadlock state.
For in correlation technique, the problem of limit switch machine and the inconvenience that resets not yet finds at present effective solution.
The content of the invention
The invention provides the ON-OFF control circuit and method of a kind of terminal, at least to solve in correlation technique using long by formula On-off circuit switching on and shutting down when stand-by period longer problem.
According to an aspect of the invention, there is provided a kind of ON-OFF control circuit of terminal, including:Toggle switch, with control Circuit connection processed, for distinguishing the power-on command and shutdown command of receiving terminal by start position and shutdown position;Control circuit, It is connected with governor circuit and electric power management circuit, for the power-on command to be sent to into the electric power management circuit or by institute State shutdown command and be sent to the governor circuit;The electric power management circuit, is connected, for basis with the control circuit The power-on command turns on the circuit system of the power supply of the terminal and the terminal, triggers the starting procedure of the terminal; Governor circuit, is connected with the control circuit, and according to the shutdown command shutdown process of the terminal is triggered, and notifies The electric power management circuit closes the conductive path of the power supply and the circuit system.
Further, the electric power management circuit, is additionally operable to after the starting up of terminal is completed, and feeds back for indicating The first signal that starting up of terminal completes is stated to the control circuit.
Further, the control circuit, is additionally operable to the reception of the power-on command according to first signal blocker.
Further, the governor circuit, is additionally operable to after the shutdown process has been performed, and feeds back described for indicating The secondary signal that terminal closedown is completed gives the control circuit.
Further, the control circuit, is additionally operable to separate the power supply and the circuit system according to the secondary signal, The system voltage of the terminal is reduced to the first predetermined threshold value.
Further, the governor circuit, be additionally operable to triggered according to the shutdown command terminal shutdown process it Afterwards, the running status of terminal is obtained, wherein, the running status includes deadlock state and off-mode.
Further, the governor circuit, is additionally operable to when the running status is deadlock state, separate the power supply and The circuit system, the system voltage of the terminal is reduced to the second predetermined threshold value.
Further, the electric power management circuit includes:PMOS transistor, negater circuit, triode, wherein, institute Triode is stated, for turning on after the power-on command is received, the first level signal is exported;The negater circuit, uses According to first level signal output second electrical level signal;The PMOS transistor, for electric according to described second Flat signal conduction, exports three level signal and turns on the circuit system of the power supply of the terminal and the terminal, triggers institute State the starting procedure of terminal.
According to a further aspect in the invention, there is provided a kind of method of controlling switch of terminal, including:By shutting down, position receives The shutdown command of terminal;The shutdown command is sent to into governor circuit;The terminal is triggered according to the shutdown command Shutdown process, and notify that the electric power management circuit closes the conductive path of the power supply and the circuit system.
Further, in the conductive path for notifying the electric power management circuit to close the power supply and the circuit system Afterwards, methods described also includes:The power-on command of the terminal is received by position of starting shooting;The power-on command is sent to Electric power management circuit;The circuit system of the power supply of the terminal and the terminal is turned on according to the power-on command, triggering The starting procedure of the terminal.
Further, after the starting up of terminal is completed, methods described also includes:Feed back for indicating that the terminal is opened The first signal that machine is completed gives the control circuit;Control circuit power-on command according to first signal blocker Reception.
Further, after the shutdown process has been performed, methods described also includes:Feed back for indicating the terminal The secondary signal that shutdown is completed gives the control circuit;The control circuit according to the secondary signal separate the power supply and The circuit system, and the system voltage of the terminal is reduced to the first predetermined threshold value.
Further, methods described also includes:It is described according to the shutdown command trigger the terminal shutdown process it Afterwards, the running status of terminal is obtained, wherein, the running status includes deadlock state and off-mode;In the operation When state is deadlock state, separate the power supply and the circuit system, the system voltage of the terminal is reduced to second Predetermined threshold value.
By the present invention, using toggle switch, it is connected with control circuit, for being received respectively by start position and shutdown position The power-on command and shutdown command of terminal;Control circuit, is connected with governor circuit and electric power management circuit, for will be described Power-on command is sent to the electric power management circuit or the shutdown command is sent to into the governor circuit;The power supply pipe Reason circuit, is connected with the control circuit, for according to the power-on command by the power supply of the terminal and the terminal Circuit system is turned on, and triggers the starting procedure of the terminal;Governor circuit, is connected, according to described with the control circuit Shutdown command triggers the shutdown process of the terminal, and notifies that the electric power management circuit closes the power supply and the system The conductive path of circuit, is solved in correlation technique and longer is asked using stand-by period during long on-off circuit switching on and shutting down by formula Topic, and then reached and facilitate user that switching on and shutting down are carried out to terminal and the effect restarted of resetting, improve user's using terminal Experience.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the ON-OFF control circuit structure chart of terminal according to embodiments of the present invention;
Fig. 2 is the alternative construction block diagram of the ON-OFF control circuit of terminal according to embodiments of the present invention;
Fig. 3 is the flow chart of the method for controlling switch of terminal according to embodiments of the present invention;
Fig. 4 is the structured flowchart of the ON-OFF control circuit according to alternative embodiment of the present invention;
Fig. 5 is the structural representation of the ON-OFF control circuit according to alternative embodiment of the present invention;
Fig. 6 is the sequential chart according to the change of the circuit level of alternative embodiment of the present invention;
Fig. 7 is the schematic diagram according to the main control chip of alternative embodiment of the present invention and the switching on and shutting down flow process of power management chip.
Specific embodiment
Below with reference to accompanying drawing and in conjunction with the embodiments describing the present invention in detail.It should be noted that in the feelings not conflicted Under condition, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that description and claims of this specification and term " first ", " second " in above-mentioned accompanying drawing Etc. being object for distinguishing similar, without for describing specific order or precedence.
A kind of ON-OFF control circuit of terminal is provided in the present embodiment, and Fig. 1 is terminal according to embodiments of the present invention ON-OFF control circuit structure chart, as shown in figure 1, including:Toggle switch 10, control circuit 12, electric power management circuit 14th, governor circuit 16, wherein,
Toggle switch 10, is connected with control circuit, for distinguishing the power-on command of receiving terminal by start position and shutdown position And shutdown command;
Control circuit 12, is connected with governor circuit and electric power management circuit, for power-on command to be sent to into power management electricity Shutdown command is sent to governor circuit by road;
Electric power management circuit 14, is connected with control circuit, for according to power-on command by the power supply of terminal and the system of terminal Circuit turn-on, the starting procedure of triggering terminal;
Governor circuit 16, is connected with control circuit, according to the shutdown process of shutdown command triggering terminal, and notifies power supply pipe Reason circuit closes the conductive path of power supply and circuit system.
By the present embodiment, using toggle switch, it is connected with control circuit, for being connect respectively by start position and shutdown position Receive the power-on command and shutdown command of terminal;Control circuit, is connected with governor circuit and electric power management circuit, for opening Machine order is sent to electric power management circuit or shutdown command is sent to into governor circuit;Electric power management circuit, with control circuit Connection, for the circuit system of the power supply of terminal and terminal to be turned on according to power-on command, the starting procedure of triggering terminal; Governor circuit, is connected with control circuit, according to the shutdown process of shutdown command triggering terminal, and notifies electric power management circuit The conductive path of power supply and circuit system is closed, is solved in correlation technique using during long on-off circuit switching on and shutting down by formula etc. Time longer problem is treated, and then has been reached and is facilitated user that switching on and shutting down are carried out to terminal and the effect restarted that resets, improved The experience of user's using terminal.
In optional embodiment according to embodiments of the present invention, electric power management circuit 14 is additionally operable to be completed in starting up of terminal Afterwards, feed back and start shooting the first signal for completing to control circuit for instruction terminal.
In optional embodiment according to embodiments of the present invention, control circuit is additionally operable to be started shooting according to the first signal blocker The reception of order.
In optional embodiment according to embodiments of the present invention, governor circuit is additionally operable to after shutdown process has been performed, Feed back and shut down the secondary signal for completing to control circuit for instruction terminal.Optionally, terminal first will in shutdown process The software section shutdown of terminal, after software systems are closed, in the circuit part for closing hardware, and cutting system circuit, Such as circuit main board, to the conductive channel of power-supply battery.
In optional embodiment according to embodiments of the present invention, control circuit is additionally operable to separate power supply according to secondary signal And circuit system, the system voltage of terminal is reduced to the first predetermined threshold value.Optionally, the first predetermined threshold value is 0.
In optional embodiment according to embodiments of the present invention, control circuit is additionally operable to touched according to the shutdown command After the shutdown process for sending out terminal described, the running status of terminal is obtained, wherein, the running status includes deadlock state And off-mode, deadlock state representation terminal be not carried out shut down flow process or perform shutdown flow process when system closure Run, off-mode represents that system program is carrying out the flow process shut down, when the running status is deadlock state, Separate the power supply and the circuit system, the system voltage of the terminal is reduced to the second predetermined threshold value.Optionally, Second predetermined threshold value is 0.During the shutdown process for starting terminal, if terminal occurs system in case of system halt, or software is dead Machine, so as to cause terminal system when shutdown process is triggered, it is impossible to perform shutdown process, also or is performing shutdown System in case of system halt when flow process, and cause shutdown process to perform failure, in order to ensure that terminal also can be closed in the case of deadlock Machine is restarted, and can directly separate the power supply and the circuit system, and the system voltage of the terminal is reduced to 0, And the conductive path of power supply and circuit system is closed, and optionally, before the power supply and the circuit system is directly separated, The running status of terminal specifically can be obtained by way of setting time threshold, such as normal shutdown process needs 10S, It is 12S that time threshold can then be arranged, and shutdown process is also not carried out finishing after 12S, and system has then thought terminal Jing carries out deadlock state, it is also possible to the running status of terminal is obtained by way of direct access, such as by obtaining terminal The running status of the host process of program or shutdown running state of a process are obtaining whether terminal crashes.
Fig. 2 is the alternative construction block diagram of the ON-OFF control circuit of terminal according to embodiments of the present invention, as shown in Fig. 2 should In addition to including all circuits shown in Fig. 2, electric power management circuit 14 also includes device:Triode 20, negater circuit 22, PMOS transistor 24, wherein,
Triode 20, for turning on after power-on command is received, exports the first level signal;
Negater circuit 22, is connected with triode 20, for exporting second electrical level signal according to the first level signal;
PMOS transistor 24, is connected with negater circuit 22, for according to second electrical level signal conduction, output the 3rd to be electric Ordinary mail number turns on the circuit system of the power supply of terminal and terminal, the starting procedure of triggering terminal.
Optionally, the first level signal can be high point ordinary mail breath or low level signal, and second electrical level signal can be high point Ordinary mail ceases or low level signal, and three level signal can be that high point ordinary mail ceases or low level signal, in the present embodiment, First level signal is high level signal, and second electrical level signal is low level signal, and three level signal is low level signal. In specific start process, when user pushes open state toggle switch, cell voltage VBAT is changed into high, triode Conducting, exports high level, and negater circuit is output as low, PMOS conducting, and output low level signal is while detection of starting shooting Signal is pulled low, and power management chip is started shooting according to low level signal triggering, and power management chip detects start detection letter Number for low, power-on event is triggered, mobile terminal-opening, power management chip output signal is height.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-described embodiment Circuit can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing There is the part that technology contributes to embody in the form of software product, the computer software product is stored in one In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can Being mobile phone, computer, server, or network equipment etc.) perform the circuit of each embodiment of the invention.
Additionally provide a kind of method of controlling switch of terminal in the present embodiment, the device is used to realizing above-described embodiment and excellent Embodiment is selected, repeating no more for explanation had been carried out.As used below, term " module " can be realized pre- Determine the software of function and/or the combination of hardware.Although the device described by following examples is preferably realized with software, But hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 3 is the flow chart of the method for controlling switch of terminal according to embodiments of the present invention, as shown in figure 3, including:
S302, by the shutdown command of position receiving terminal of shutting down;
S304, by shutdown command governor circuit is sent to;
S306, according to the shutdown process of shutdown command triggering terminal, and notifies that electric power management circuit closes power supply with system electricity The conductive path on road.
In the optional embodiment according to the present embodiment, it is described notify the electric power management circuit close the power supply with After the conductive path of the circuit system, i.e., terminal after shutdown is complete, can also boot up or reset, described to open Machine process includes:
S11, by position of starting shooting the power-on command of the terminal is received;
S12, by the power-on command electric power management circuit is sent to;
S13, turns on the circuit system of the power supply of the terminal and the terminal according to the power-on command, and triggering is described The starting procedure of terminal.
In the above-mentioned optional embodiment according to the present embodiment, after starting up of terminal is completed, method also includes:
S21, feeds back and starts shooting the first signal for completing to control circuit for instruction terminal;
S21, reception of the control circuit according to the first signal blocker power-on command.
In the optional embodiment according to the present embodiment, after shutdown process has been performed, method also includes:
S31, feeds back and shuts down the secondary signal for completing to control circuit for instruction terminal;
S32, control circuit separates power supply and circuit system according to secondary signal, and the system voltage of terminal is reduced to the One predetermined threshold value.
In the optional embodiment according to the present embodiment, in the shutdown that the terminal is triggered according to the shutdown command After flow process, methods described also includes:
S41, obtains the running status of terminal, wherein, the running status includes deadlock state and off-mode;
S42, when the running status is deadlock state, separates the power supply and the circuit system, by the terminal System voltage reduce to the second predetermined threshold value.
Optionally, deadlock state representation terminal is not carried out the flow process shut down or the system closure when the flow process of shutdown is performed Run, off-mode represents that system program is carrying out the flow process shut down, and the second predetermined threshold value is 0.Starting terminal Shutdown process during, if there is system in case of system halt, or software crash, so as to cause terminal system being triggered in terminal When shutdown process, it is impossible to perform shutdown process, also or perform shutdown process when system in case of system halt, and cause close Machine flow process performs failure, in order to ensure that terminal can also shut down or restart in the case of deadlock, can directly separate the electricity Source and the circuit system, the system voltage of the terminal is reduced to 0, and it is logical with the conduction of circuit system to close power supply Road, optionally, before the power supply and the circuit system is directly separated, specifically can pass through to arrange time threshold Obtaining the running status of terminal, such as normal shutdown process needs 10S to mode, then can arrange time threshold for 12S, Shutdown process is also not carried out finishing after 12S, and system then thinks that terminal has carried out deadlock state, it is also possible to pass through The mode of direct access obtaining the running status of terminal, such as by obtaining running status or the pass of the host process of terminal program Machine running state of a process is obtaining whether terminal crashes.
It should be noted that above-mentioned modules can be by software or hardware to realize, for the latter, Ke Yitong Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or, above-mentioned module distinguishes position In multiple processors.
Below according to optional embodiment of the invention, the present invention is described in detail:
The circuit system of the switch control rule of this alternative embodiment is by control unit, main control chip, power management chip, power supply Battery, toggle switch composition.Toggle switch is struck and realizes the switching on and shutting down of terminal.Main control chip, power management chip, Control unit constitutes a backfeed loop, and control unit tells power management chip according to toggle switch condition adjudgement result, Power management chip is made whether the flow process of switching on and shutting down, and notifies main control chip, and main control chip again feeds back switching on and shutting down result It is that next switching on and shutting down flow process is ready to control unit.Toggle switch is struck again to shutdown position, main control chip inspection This state is measured, starts shutdown process, and notify that power management chip walks shutdown process, flow process to be shut down is completed, control Unit cut-out battery processed and power management chip.When occurring when crashing, stir toggle switch and put off-mode, control unit Cut-out battery and power management chip, release deadlock state, then stir toggle switch and put open state, you can start, real Now reset and restart.
Optionally, toggle switch is directly connected to control unit and battery, and control unit is connected with power management chip, electricity Source control chip signal output is connected to control unit, and control unit feedback signal back is to main control chip.
The method of controlling switch of this alternative embodiment is that mobile terminal is detected after low level when user stirs toggle switch, Power management chip is started shooting, and after normal switch machine, start detection flag bit is set to height, and such power management chip starts Wait next switching on and shutting down flow process.When toggle switch is stirred again, then shutdown event, mobile terminal shutdown are triggered.When When deadlock occurs, stir toggle switch and put off-mode, control unit cut-out battery and power management chip, release and crash State, then stir toggle switch and put open state, you can start, realize that reset is restarted.
This alternative embodiment solve traditional key switch machine need user push button wait enough time after ability Carry out the problem of switching on and shutting down.And this alternative embodiment designs this set control circuit and method, it is possible to achieve as long as stirring dial-up Switch can just realize mobile terminal switching on and shutting down flow process, and state is very clear and definite, and Consumer's Experience is more preferable, while realizing switching on and shutting down Key multiplexing crash reset restarts function.
Fig. 4 is the structured flowchart of the ON-OFF control circuit according to alternative embodiment of the present invention, as shown in figure 4, switch control rule Circuit includes:Control unit 40, main control chip 42, power management chip 44, battery 46, toggle switch 48, and In specific switching on and shutting down implementation process, also including the systems soft ware and circuit system of terminal.
Fig. 5 is the structural representation of the ON-OFF control circuit according to alternative embodiment of the present invention, as shown in figure 5, Fig. 5 institutes Show that the hardware components of circuit include two bleeder circuits, respectively the first bleeder circuit 50 and the second bleeder circuit 51, one Individual charge-discharge circuit 52, a detection circuit 53, a toggle switch 54, a NPN triode 55, a time delay Circuit 56, a negater circuit 57, a PMOS 58.
Fig. 6 is the sequential chart according to the change of the circuit level of alternative embodiment of the present invention, as shown in fig. 6, with reference to figure 6 come illustrate control unit realize function, when mobile terminal be in off-mode, at this moment start shooting detection signal (ON) be Height, when user pushes open state toggle switch, cell voltage (VBAT) is changed into high, and charge-discharge circuit U1 is changed into Height, the first bleeder circuit voltage U2 is changed into high, triode ON, and the second bleeder circuit voltage C outputs are uprised, reversely Circuit output is low, PMOS conducting, while detection signal (ON) of starting shooting is pulled low, power management chip detection It is low to start detection signal (ON), triggers power-on event, mobile terminal-opening, power management chip output signal (LDO11) it is height.After the completion of start, U1 step-downs, U2 step-downs, triode cut-off, start detection signal (ON) It is released as height.If user will shut down, toggle switch is allocated to into off-mode, shutdown detection signal (DET) is drawn Low, it is low that main control chip detects shutdown detection signal (DET), triggers shutdown event, and mobile terminal shutdown is waited to close Machine flow process is finished, and C signal is changed into low, and negater circuit is output as height, PMOS cut-off, system voltage (VPH_PWR) For 0.When crashing, stir toggle switch and put shutdown position, C signal is changed into low, and negater circuit is output as height, PMOS is ended, and system voltage (VPH_PWR) is 0, and toggle switch is stirred again to open state, it is possible to Normal boot-strap, realizes crash reset and restarts.
When user stirs toggle switch to position of starting shooting, cell voltage (VBAT) representative value is 4V, and charge-discharge circuit is opened Beginning charging process, the voltage of U1 begins to ramp up, and through a point first volt circuit partial pressure, U2 voltages begin to ramp up, more than three The conducting voltage of pole pipe, triode ON, start detection signal (ON) is pulled low, while C point voltages are height, instead To circuit turn-on, PMOS conducting, battery is to system power supply, triggering start.Then C1 starts electric discharge, U1 voltages Decline, through the first bleeder circuit partial pressure, U2 voltages decline, less than the conducting voltage of triode, triode ends, Start detection signal (ON) is driven high, and power management chip output signal (LDO11) is driven high, and completes one and opens Machine process.When user stirs toggle switch to position of shutting down, shutdown detection signal (DET) is pulled low, main control chip inspection It is low to measure shutdown detection signal (DET), starts to walk shutdown process, after software completes shutdown process, C point voltages For low, negater circuit cut-off, PMOS cut-off, voltage (SYS_PWR) cut-off between battery and system.When Crash, stir toggle switch and put shutdown position, C signal is changed into low, and negater circuit is output as height, PMOS Cut-off, system voltage (VPH_PWR) is 0, realizes system power failure, and toggle switch is stirred again to open state, Just can realize crash reset and restart with normal boot-strap.
Fig. 7 is the schematic diagram according to the main control chip of alternative embodiment of the present invention and the switching on and shutting down flow process of power management chip, As shown in fig. 7, comprises:
S701, start detection signal puts height;
S702, stirs toggle switch;When toggle switch is stirred to start position, S703 is performed, opened when dial-up ought be stirred During shutdown position, S705 is performed;
S703, start detection signal is dragged down;
S704, start, start detection signal is released, and power management chip output signal puts height;
S705, shutdown detection signal is pulled low;
S706, shutdown, battery and system voltage separate, and system voltage is 0.
When user stirs toggle switch to open state, U2 voltages are raised, triode ON, start detection signal (ON) It is pulled low, power management chip detects start detection signal (ON) and is pulled low, while C point voltages are height, reversely Circuit, PMOS conducting, battery to system power supply, triggering start, after the completion of start, believe by power management chip output Number (LDO11) is driven high, and at this moment U2 voltages decline, and triode cut-off, start detection signal (ON) is released, Complete a starting procedure.When user stir toggle switch to close when, shutdown detection signal (DET) be pulled low, master control Chip detection starts to start shutdown process to after this state, after software completes shutdown, C point voltage step-downs, reversely Circuit, PMOS cut-off, battery and system voltage (VPH_PWR) separate, system voltage (VPH_PWR) For 0.When crashing, stir toggle switch and put shutdown position, C signal is changed into low, and negater circuit is output as height, PMOS is ended, and system voltage (VPH_PWR) is 0, realizes system power failure, and toggle switch is stirred again extremely Open state, it is possible to normal boot-strap, realizes crash reset and restarts.
Software control part is pulled low when power management chip detects start detection signal (ON), starts starting procedure, Software is obtained after startup notifying, and boot animation is shown on screen.When main control chip detects shutdown detection signal (DET) It is pulled low, software is obtained after shutdown notice, starts shutdown process, shutdown animation is shown on screen.
According to the starting up of terminal control circuit and method of above-mentioned alternative embodiment, compact brief with circuit design, Function-stable, coordinate software, solve traditional touch-tone switching on and shutting down scheme need it is bad by power key Consumer's Experience with the head of a household Problem, and realize the function that crash reset is restarted, reduce a reset and restart button, reduce terminal into This.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for performing following steps:
S1, by the power-on command and shutdown command of start shooting position and shutdown position difference receiving terminal;
S2, is sent to power-on command electric power management circuit or shutdown command is sent to into governor circuit;
S3, turns on the circuit system of the power supply of terminal and terminal according to power-on command, the starting procedure of triggering terminal, or, According to the shutdown process of shutdown command triggering terminal, and notify that electric power management circuit is closed power supply and led to the conduction of circuit system Road.
Alternatively, in the present embodiment, above-mentioned storage medium can be including but not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, Magnetic disc or CD etc. are various can be with the medium of store program codes.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment and optional embodiment Example, the present embodiment will not be described here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Realizing, they can be concentrated on single computing device computing device, or be distributed in multiple computing devices and constituted Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by they Storage is performed in the storage device by computing device, and in some cases, can be held with the order being different from herein The shown or described step of row, or they are fabricated to respectively each integrated circuit modules, or will be many in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware Combine with software.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the technology of this area For personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made it is any Modification, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (13)

1. a kind of ON-OFF control circuit of terminal, it is characterised in that include:
Toggle switch, is connected with control circuit, for distinguishing the start life of receiving terminal by start position and shutdown position Order and shutdown command;
Control circuit, is connected with governor circuit and electric power management circuit, described for the power-on command to be sent to The shutdown command is sent to the governor circuit by electric power management circuit;
The electric power management circuit, is connected with the control circuit, for according to the power-on command by the terminal Power supply and the terminal circuit system conducting, trigger the starting procedure of the terminal;
The governor circuit, is connected with the control circuit, for triggering the terminal according to the shutdown command Shutdown process, and notify that the electric power management circuit closes the conductive path of the power supply and the circuit system.
2. circuit according to claim 1, it is characterised in that the electric power management circuit, is additionally operable in the terminal After start is completed, feed back for indicating the first signal that the starting up of terminal completes to the control circuit.
3. circuit according to claim 2, it is characterised in that the control circuit, is additionally operable to according to the described first letter The reception of number blocking power-on command.
4. circuit according to claim 1, it is characterised in that the governor circuit, is additionally operable in the shutdown process After having performed, feed back for indicating secondary signal that the terminal closedown completes to the control circuit.
5. circuit according to claim 4, it is characterised in that the control circuit, is additionally operable to according to the described second letter Number separate the power supply and the circuit system, the system voltage of the terminal is reduced to the first predetermined threshold value.
6. circuit according to claim 1, it is characterised in that the control circuit, is additionally operable to according to the shutdown After the shutdown process of terminal described in command triggers, the running status of the terminal is obtained, wherein, the operation shape State includes deadlock state and off-mode.
7. circuit according to claim 6, it is characterised in that the governor circuit, is additionally operable in the running status For deadlock state when, separate the power supply and the circuit system, the system voltage of the terminal is reduced to second Predetermined threshold value.
8. circuit according to claim 1, it is characterised in that the electric power management circuit includes:PMOS transistor, Negater circuit, triode, wherein,
The triode, for turning on after the power-on command is received, exports the first level signal,
The negater circuit, for exporting second electrical level signal according to first level signal;
The PMOS transistor, for according to the second electrical level signal conduction, exporting three level signal by institute The power supply of terminal and the circuit system conducting of the terminal are stated, the starting procedure of the terminal is triggered.
9. a kind of method of controlling switch of terminal, it is characterised in that include:
By the shutdown command of position receiving terminal of shutting down;
The shutdown command is sent to into governor circuit;
The shutdown process of the terminal is triggered according to the shutdown command, and notify electric power management circuit close power supply with The conductive path of circuit system.
10. method according to claim 9, it is characterised in that to notify that the electric power management circuit is closed described described After power supply and the conductive path of the circuit system, methods described also includes:
The power-on command of the terminal is received by position of starting shooting;
The power-on command is sent to into electric power management circuit;
The circuit system of the power supply of the terminal and the terminal is turned on according to the power-on command, triggers the end The starting procedure at end.
11. methods according to claim 10, it is characterised in that after the starting procedure of the terminal is completed, institute Stating method also includes:
The first signal that the starting procedure for indicating the terminal completes is fed back to control circuit;
The reception of control circuit power-on command according to first signal blocker.
12. methods according to claim 9, it is characterised in that after the shutdown process has been performed, methods described Also include:
Feed back for indicating secondary signal that the terminal closedown completes to the control circuit;
The control circuit separates the power supply and the circuit system according to the secondary signal, and by the terminal System voltage reduce to the first predetermined threshold value.
13. methods according to claim 9, it is characterised in that the terminal is triggered according to the shutdown command described Shutdown process after, methods described also includes:
The running status of terminal is obtained, wherein, the running status includes deadlock state and off-mode;
When the running status is deadlock state, separate the power supply and the circuit system, by the terminal System voltage is reduced to the second predetermined threshold value.
CN201510694338.6A 2015-10-21 2015-10-21 Switch control circuit and method for terminal Pending CN106610714A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510694338.6A CN106610714A (en) 2015-10-21 2015-10-21 Switch control circuit and method for terminal
PCT/CN2016/085494 WO2016197984A1 (en) 2015-10-21 2016-06-12 Switch control circuit and method for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510694338.6A CN106610714A (en) 2015-10-21 2015-10-21 Switch control circuit and method for terminal

Publications (1)

Publication Number Publication Date
CN106610714A true CN106610714A (en) 2017-05-03

Family

ID=57502938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510694338.6A Pending CN106610714A (en) 2015-10-21 2015-10-21 Switch control circuit and method for terminal

Country Status (2)

Country Link
CN (1) CN106610714A (en)
WO (1) WO2016197984A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111554399A (en) * 2020-05-25 2020-08-18 出门问问信息科技有限公司 Resetting method and device, electronic equipment and computer storage medium
CN112462910A (en) * 2020-11-11 2021-03-09 烟台艾睿光电科技有限公司 Startup and shutdown method, circuit and electronic equipment

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107947949A (en) * 2017-12-28 2018-04-20 南京熊猫电子股份有限公司 A kind of the time frequency system and control method of more extension set switching on and shutting down of host computer control
CN112470101A (en) * 2018-06-07 2021-03-09 深圳市柔宇科技股份有限公司 Electronic device, control circuit and control method thereof
CN108681261A (en) * 2018-07-20 2018-10-19 曹汉添 State and switching on and shutting down management method, intelligent controller, equipment and management system
CN110266962A (en) * 2019-07-23 2019-09-20 北京子乐科技有限公司 Image head controlling device and smart machine
CN110825445B (en) * 2019-09-29 2023-05-23 广州视源电子科技股份有限公司 Timing startup and shutdown system of interactive intelligent tablet
US11921530B2 (en) 2021-03-30 2024-03-05 Delta Electronics, Inc. Power supply system and method
CN113110156B (en) * 2021-04-07 2023-03-21 深圳形天半导体有限公司 LDO chip and intelligent wearable device
CN117666412A (en) * 2021-11-05 2024-03-08 深圳市精锋医疗科技股份有限公司 Power supply device, method for controlling equipment to be started and shut down, working equipment and working system
CN114362096B (en) * 2021-11-30 2023-10-17 江铃汽车股份有限公司 Power management circuit of vehicle-mounted entertainment system
CN117764259B (en) * 2024-02-21 2024-05-07 成都喜马科技发展有限公司 Portable computer teaching system capable of centralized management and implementation method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085116A1 (en) * 2001-11-09 2004-05-06 Tatung Co., Ltd. Circuit for combining on/off key and warm boot key to obtain a function of cold boot key in a portable information device
CN101673136A (en) * 2009-10-27 2010-03-17 中兴通讯股份有限公司 Power control unit and on/off method
CN102096608A (en) * 2011-01-17 2011-06-15 惠州Tcl移动通信有限公司 Mobile terminal equipment and switching on and shutting down method thereof
CN102541228A (en) * 2010-12-16 2012-07-04 西安龙飞软件有限公司 Startup and shutdown implementing method and device capable of preventing restart power failure of microprocessor
CN103294147A (en) * 2013-06-24 2013-09-11 天津七一二通信广播有限公司 Software startup and shutdown circuit and realizing method
CN103327161A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and rapid starting-up method
CN103561167A (en) * 2013-10-22 2014-02-05 小米科技有限责任公司 Device, method and terminal equipment for restarting after dead halt
CN104538226A (en) * 2015-01-07 2015-04-22 深圳市东方拓宇科技有限公司 Intelligent terminal
CN104731305A (en) * 2015-04-03 2015-06-24 青岛歌尔声学科技有限公司 Shutdown control circuit and electronic product with same
CN104850204A (en) * 2014-02-15 2015-08-19 鸿富锦精密工业(武汉)有限公司 Start-up and shutdown control device
CN104932653A (en) * 2015-06-18 2015-09-23 常州工学院 Computer startup management control system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000181609A (en) * 1998-12-18 2000-06-30 Kenwood Corp Operation switch identification circuit
KR20070062078A (en) * 2005-12-12 2007-06-15 주식회사 팬택앤큐리텔 Apparatus for controlling power of mobile communication terminal
CN100458612C (en) * 2006-11-24 2009-02-04 北京中星微电子有限公司 Apparatus for controlling power supply, method and electron system
CN201479101U (en) * 2009-07-31 2010-05-19 青岛海信电器股份有限公司 Startup and shutdown and keystroke lock circuit and electronic equipment therewith
JP2012027384A (en) * 2010-07-27 2012-02-09 Sanyo Electric Co Ltd Recording and reproducing device
CN104836869A (en) * 2015-04-30 2015-08-12 深圳市财富之舟科技有限公司 Mobile communication terminal and mobile communication terminal power-on method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040085116A1 (en) * 2001-11-09 2004-05-06 Tatung Co., Ltd. Circuit for combining on/off key and warm boot key to obtain a function of cold boot key in a portable information device
CN101673136A (en) * 2009-10-27 2010-03-17 中兴通讯股份有限公司 Power control unit and on/off method
CN102541228A (en) * 2010-12-16 2012-07-04 西安龙飞软件有限公司 Startup and shutdown implementing method and device capable of preventing restart power failure of microprocessor
CN102096608A (en) * 2011-01-17 2011-06-15 惠州Tcl移动通信有限公司 Mobile terminal equipment and switching on and shutting down method thereof
CN103327161A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and rapid starting-up method
CN103294147A (en) * 2013-06-24 2013-09-11 天津七一二通信广播有限公司 Software startup and shutdown circuit and realizing method
CN103561167A (en) * 2013-10-22 2014-02-05 小米科技有限责任公司 Device, method and terminal equipment for restarting after dead halt
CN104850204A (en) * 2014-02-15 2015-08-19 鸿富锦精密工业(武汉)有限公司 Start-up and shutdown control device
CN104538226A (en) * 2015-01-07 2015-04-22 深圳市东方拓宇科技有限公司 Intelligent terminal
CN104731305A (en) * 2015-04-03 2015-06-24 青岛歌尔声学科技有限公司 Shutdown control circuit and electronic product with same
CN104932653A (en) * 2015-06-18 2015-09-23 常州工学院 Computer startup management control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111554399A (en) * 2020-05-25 2020-08-18 出门问问信息科技有限公司 Resetting method and device, electronic equipment and computer storage medium
CN112462910A (en) * 2020-11-11 2021-03-09 烟台艾睿光电科技有限公司 Startup and shutdown method, circuit and electronic equipment
CN112462910B (en) * 2020-11-11 2022-07-12 烟台艾睿光电科技有限公司 Startup and shutdown method, circuit and electronic equipment

Also Published As

Publication number Publication date
WO2016197984A1 (en) 2016-12-15

Similar Documents

Publication Publication Date Title
CN106610714A (en) Switch control circuit and method for terminal
CN106292341B (en) A kind of power on/off system and method
CN204759081U (en) Switching on and shutting down system
CN102981425B (en) Startup and shutdown circuit
CN109597701B (en) Device for automatically restarting communication module
CN106537286B (en) OTG peripheral equipment, power supply method, terminal and system
CN107122032A (en) Terminal, crash reset control circuit and method
CN110719543B (en) TWS Bluetooth headset data protection device and method
CN106484061A (en) Terminal resets control method, controller and system
US10234918B2 (en) Disconnecting a battery from a system
WO2021170086A1 (en) Wireless earphone and wireless earphone system
CN207782762U (en) A kind of automatic reset circuit and electronic product
CN203590185U (en) Starting-up and reset one-key circuit of intelligent terminal
CN104035892A (en) Server system and cluster system
CN105929922A (en) Electronic device
CN110244888A (en) A kind of setting method of behavior pattern, device, storage medium and terminal
CN105204601B (en) A kind of system electrification automatic boot circuit and its starting-up method
CN108833981B (en) Startup and shutdown method
CN201514611U (en) Switching circuit of handheld device
CN102567178B (en) A kind of electronic equipment and dump energy Notification Method thereof and starting method
CN204810138U (en) Terminal equipment's automation start shooting circuit and terminal equipment
CN101202458B (en) Power supply circuit
CN110989817B (en) Electronic equipment and electronic equipment starting management method
CN114389590A (en) Single-key startup and shutdown device, startup and shutdown method and remote restart method
CN108121430A (en) A kind of soft boot-strap circuit in the charged pool path for applying to data collecting system

Legal Events

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

Application publication date: 20170503