WO2016197984A1 - Switch control circuit and method for terminal - Google Patents
Switch control circuit and method for terminal Download PDFInfo
- Publication number
- WO2016197984A1 WO2016197984A1 PCT/CN2016/085494 CN2016085494W WO2016197984A1 WO 2016197984 A1 WO2016197984 A1 WO 2016197984A1 CN 2016085494 W CN2016085494 W CN 2016085494W WO 2016197984 A1 WO2016197984 A1 WO 2016197984A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- circuit
- terminal
- control circuit
- power
- shutdown
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
Definitions
- the present application relates to, but is not limited to, the field of circuits, and in particular, to a switch control circuit and method for a terminal.
- the mobile terminal generally adopts a push-button switch control circuit.
- the terminal When the terminal is in the off state, the user presses the power button for a long time to turn on, and in the power-on state, press the power button for a long time to shut down.
- the user In order to ensure the switch, the user has to press and hold the power for a long time. key.
- the mobile terminal may crash, the user needs to use a special tool to press the reset button, which is very inconvenient, and to some extent, this method cannot be reset/restart, because most mobile terminals are provided with a non-removable battery, and the battery cannot be plugged and unplugged.
- the mobile terminal can only be shut down to release the crash state when the battery of the mobile terminal is exhausted.
- the related art solution uses a push-button switch control circuit.
- the operating system of the mobile terminal detects that the user presses the power button of the mobile terminal for a preset time, and then turns on the computer.
- the operating system of the mobile terminal detects that the user presses the power button of the mobile terminal for a preset time to shut down.
- the shortcoming of pressing the power button for a long time is that the user's button time is too short to be turned on or off. Pressing the button for too long can make the user impatient and difficult, and the user cannot explicitly press the power button for a long time. Know whether the mobile terminal is powered on or off. If the mobile terminal sets the reset button, the user has to use the special tool to click the reset button, which is inconvenient for the user, and increases the cost of the manufacturer of the mobile terminal. In addition, in some cases, the method cannot restart the mobile terminal. Only when the battery of the mobile terminal is exhausted, the mobile terminal can be shut down and the state of the crash is released.
- the present application provides a switch control circuit and method for a terminal to solve at least the problem of long waiting time when the push button switch control circuit is turned on and off in the related art.
- a switch control circuit for a terminal including: a DIP switch connected to a control circuit, wherein the DIP switch is set to be turned to its power-on and power-off positions, respectively The control circuit sends a power-on command and a power-off command; the control circuit is further connected to the main control circuit and the power management circuit, and is configured to instruct the power management circuit to trigger the power-on process of the terminal according to the power-on command, or according to the a shutdown command, indicating that the main control circuit triggers a shutdown process of the terminal; the power management circuit is connected to the control circuit, and is configured to be connected to an input circuit of a power management chip of the terminal according to the boot command a power supply, triggering a booting process of the terminal; the main control circuit is connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit to enable the The control circuit instructs the power management circuit to cut off the power supply to the input
- the power management circuit is further configured to: when the booting process of the terminal is completed, feed back a first signal for indicating completion of the booting process of the terminal to the control circuit.
- control circuit is further configured to stop receiving the power-on command according to the first signal.
- the main control circuit is further configured to: when the shutdown process is completed, feed back a second signal for indicating completion of the shutdown process of the terminal to the control circuit.
- control circuit is further configured to instruct the power management circuit to cut off a power supply to an input circuit of the power management chip of the terminal according to the second signal, so that a system voltage of the terminal is lowered to a first A preset threshold.
- the main control circuit is further configured to acquire an operating state of the terminal after the main control circuit triggers a shutdown process of the terminal according to the shutdown command, where the operating state includes a dead state and a shutdown state. .
- the main control circuit is further configured to indicate the location when the operating state is a dead state.
- the power management circuit cuts off the power supply to the input circuit circuit of the power management chip of the terminal to cause the system voltage of the terminal to decrease to a second predetermined threshold.
- the power management circuit includes: a PMOS transistor, a reverse circuit, and a triode, wherein the triode is configured to be turned on after receiving the power-on command, and output a first level signal; a circuit coupled to the transistor, configured to output a second level signal according to the first level signal; the PMOS transistor coupled to the inverting circuit, configured to be turned on according to the second level signal And outputting a third level signal to conduct power supply to the system circuit of the terminal, triggering a booting process of the terminal.
- a method for controlling a switch of a terminal includes: receiving a shutdown command through a shutdown bit of the dial switch; transmitting the shutdown command to a main control circuit; and triggering the shutdown command according to the shutdown command The shutdown process of the terminal, and notifying the power management circuit to cut off the power supply to the system circuit.
- the method further includes: receiving, by using a power-on bit of the dial switch, a power-on command; Sending to the power management circuit; triggering the power-on process of the terminal according to the power supply of the system circuit that is turned on to the terminal according to the power-on command.
- the method further includes: feeding back, to the control circuit, a first signal for indicating that the terminal is powered on; the control circuit stops receiving according to the first signal.
- the boot command is a first signal for indicating that the terminal is powered on.
- the method further includes: feeding back, to the control circuit, a second signal indicating that the terminal is shut down; the control circuit indicates the location according to the second signal
- the power management circuit shuts off power supply to the system circuit to cause the system voltage of the terminal to decrease to a first predetermined threshold.
- the method further includes: after the shutdown process of the terminal is triggered according to the shutdown command, acquiring an operating state of the terminal, where the operating state includes a dead state and a shutdown state; When the state is a dead state, the power management circuit is instructed to cut off the power supply to the system circuit to cause the system voltage of the terminal to decrease to a second predetermined threshold.
- the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
- the switch control circuit of the terminal includes: a dial switch connected to the control circuit, wherein the dial switch is configured to send a power-on command to the control circuit by being toggled to its power-on position and a power-off position, respectively. And a shutdown command; the control circuit is further connected to the main control circuit and the power management circuit, and configured to instruct the power management circuit to trigger the booting process of the terminal according to the boot command, or according to the shutdown command, indicating the
- the main control circuit triggers a shutdown process of the terminal;
- the power management circuit is connected to the control circuit, and is configured to turn on the power of the terminal and the system circuit of the terminal, and trigger a boot process of the terminal;
- a main control circuit connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit, so that the control circuit instructs the power management circuit to cut off
- the power supply of the system circuit solves the long waiting time when the button switch control circuit is switched on and off in the related
- FIG. 1 is a block diagram of a switch control circuit of a terminal according to an embodiment of the present invention
- FIG. 2 is a block diagram of a switch control circuit of a terminal in an alternative embodiment of the present invention.
- FIG. 3 is a flowchart of a switch control method of a terminal according to an embodiment of the present invention.
- FIG. 4 is a block diagram of a switch control circuit in accordance with an alternate embodiment of the present invention.
- FIG. 5 is a schematic illustration of a switch control circuit in accordance with an alternate embodiment of the present invention.
- FIG. 6 is a timing diagram of circuit level changes in accordance with an alternate embodiment of the present invention.
- FIG. 7 is a schematic diagram of a switch flow of a master chip and a power management chip in accordance with an alternative embodiment of the present invention.
- FIG. 1 is a structural diagram of a switch control circuit of a terminal according to an embodiment of the present invention.
- the switch includes a DIP switch 10, a control circuit 12, and a power supply.
- a management circuit 14 a main control circuit 16, wherein
- the DIP switch 10 is connected to the control circuit 12, and the DIP switch 10 is arranged to send a power-on command and a shutdown command to the control circuit 12 respectively when being toggled to its power-on position and the power-off position;
- the control circuit 12 is connected to the DIP switch 10, the main control circuit 16, and the power management circuit 14, and is configured to instruct the power management circuit 14 to trigger the power-on process of the terminal according to the power-on command, or to instruct the main control circuit 16 to trigger according to the shutdown command.
- the power management circuit 14 is connected to the control circuit 12, and is configured to trigger the power-on process of the terminal circuit according to the power supply of the system circuit that is turned on to the terminal according to the power-on command;
- the main control circuit 16 is connected to the control circuit 12, triggers the shutdown process of the terminal according to the shutdown command, and issues a notification to the control circuit 12 to cause the control circuit 12 to instruct the power management circuit 14 to cut off the power supply to the system circuit.
- the DIP switch 10 is connected to the control circuit 12, and the DIP switch 10 is configured to send a boot process and a shutdown process for triggering the terminal to the control circuit 12 when being toggled to its power-on and power-off positions, respectively.
- the power-on command and the power-off control command are connected to the DIP switch 10, the main control circuit 16, and the power management circuit 14, and are configured to instruct the power management circuit 14 to trigger the power-on process of the terminal according to the power-on command, or according to the shutdown command. Instructing the main control circuit 16 to trigger the shutdown process of the terminal; the power management circuit 14 is connected to the control circuit 12, and is configured to trigger the power supply of the system circuit according to the power-on command to the terminal, and the main control circuit 16 is triggered.
- the switch control circuit Connected to the control circuit 12, configured to trigger the shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit 12, so that the control circuit 12 instructs the power management circuit 14 to cut off the power supply to the system circuit, and solves the related art
- the switch control circuit has a long duration of switching, which is convenient for the user to switch on and off the terminal. Reset/restart improves the user experience of the terminal.
- the power management circuit 14 is further configured to feed back to the control circuit 12 a first signal indicating that the terminal startup process is completed if the terminal startup process is completed.
- control circuit 12 is further arranged to stop accepting the power on command in accordance with the first signal.
- the main control circuit 16 is further configured to feed back a second signal for indicating completion of the shutdown process of the terminal to the control circuit if the shutdown process is completed.
- the terminal software is terminated first, then the hardware is turned off, and the conductive path of the system circuit (such as the circuit board) to the power source (battery) is cut off.
- control circuit 12 is further arranged to instruct the power management circuit to cut off the power supply to the system circuit in accordance with the second signal to cause the system voltage of the terminal to decrease to a first predetermined threshold.
- the first preset threshold is zero.
- control circuit 12 is further configured to acquire an operating state of the terminal after the main control circuit 16 triggers the shutdown process of the terminal according to the shutdown command, wherein the operating state includes a crash State and shutdown state, the crash state indicates that the terminal does not perform the shutdown process or the system crashes when the shutdown process is performed.
- the shutdown state indicates that the terminal is performing the shutdown process, and when the operation state is a dead state, the system circuit is cut off.
- the power supply is supplied to cause the system voltage of the terminal to decrease to a second predetermined threshold. For example, the second preset threshold is zero.
- the terminal When the terminal performs the shutdown process, if the operating system or software of the terminal crashes, the terminal cannot perform the shutdown process, or the operating system freezes during the shutdown process, which causes the shutdown process to fail, so that the terminal can crash in the event of a crash.
- Shutdown or restart the power supply to the system circuit can be cut off to reduce the system voltage of the terminal to zero, and the power supply to the system circuit is cut off, optionally, the power supply and the system circuit are blocked
- the terminal After the shutdown process is not completed, it is determined that the terminal is in a dead state, and the terminal can be directly obtained, for example, by obtaining the running state of the main process of the application running by the terminal or the running state of the shutdown process of the terminal to determine whether the terminal is dead.
- the device includes, in addition to all the circuits shown in FIG. 2, the power management circuit 14 further includes: a pole tube 20, a reverse circuit 22, a PMOS transistor 24, among them,
- the transistor 20 is arranged to be turned on after receiving the power-on command, and output a first level signal
- the reverse circuit 22 is connected to the transistor 20 and configured to output a second level signal according to the first level signal;
- the PMOS transistor 24 is connected to the reverse circuit 22, and is arranged to be turned on according to the second level signal, and output a third level signal to conduct power supply to the system circuit of the terminal, triggering the power-on process of the terminal.
- the first level signal may be a high level signal or a low level signal
- the second level signal may be a high level signal or a low level signal
- the third level signal may be a high level signal or The low level signal
- the first level signal is a high level signal
- the second level signal is a low level signal
- the third level signal is a low level signal.
- the output voltage of the battery VBAT is a high level signal
- the triode is turned on
- the output is high level
- the reverse circuit output is a low level signal
- the PMOS tube Turn on, and output low level signal at the same time
- the power-on detection signal is pulled low
- the power management chip triggers the power-on according to the low-level signal
- the power management chip detects that the power-on detection signal is low, triggers the boot process
- the terminal is powered on
- the power management chip outputs High level signal.
- circuit according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases the former is A better implementation.
- the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the circuitry of various embodiments of the present invention.
- a switch control method for a terminal is also provided.
- the device is used to implement the foregoing embodiments and optional implementations, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 3 is a flowchart of a method for controlling a switch of a terminal according to an embodiment of the present invention, as shown in FIG.
- the switch control method of the terminal includes:
- S306. Trigger the shutdown process of the terminal according to the shutdown command, and notify the power management circuit to cut off the power supply to the system circuit.
- the terminal after the step of notifying the power management circuit to cut off the power supply to the system circuit, that is, after the terminal is completely shut down, the terminal may also be powered on or reset.
- the boot process includes:
- the power supply of the system circuit that is turned on to the terminal according to the power-on command triggers a power-on process of the terminal.
- the method further includes:
- the control circuit stops receiving the power-on command according to the first signal.
- the method further includes:
- the control circuit instructs the power management circuit to cut off the power supply to the system circuit according to the second signal, so that the system voltage of the terminal is lowered to a first preset threshold.
- the method further includes:
- the dead state indicates that the terminal does not perform the shutdown process or performs shutdown at the terminal.
- the second preset threshold is 0.
- the terminal system cannot perform the shutdown process when the shutdown process is triggered, or the system crashes during the shutdown process, resulting in the shutdown process.
- the execution fails.
- the power supply to the system circuit can be cut off, the system voltage of the terminal can be lowered to 0, and the power supply to the system circuit can be cut off.
- the ground state can be obtained by setting a time threshold before the power supply to the system circuit is cut off.
- the time threshold can be set to 12 seconds, after 12 seconds. After the shutdown process has not been completed, it is determined that the terminal is in a dead state, and the terminal may be in a running state, for example, by obtaining the running state of the main process of the terminal program or the running state of the shutdown process, to determine whether the terminal is dead.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
- the circuit system of the switch control of the alternative embodiment is composed of a control unit, a main control chip, a power management chip, a power battery, and a dial switch.
- the DIP switch is toggled to implement the terminal's power on/off.
- the main control chip, the power management chip, and the control unit form a feedback loop.
- the control unit notifies the power management chip according to the state of the dial switch, and the power management chip determines whether to execute the power on/off process, and notifies the main control chip, and the main control chip turns the power on and off. The result is then fed back to the control unit to prepare for the next switch-on process.
- the DIP switch is then toggled to the shutdown position.
- the main control chip detects this state, starts the shutdown process, and notifies the power management chip to go through the shutdown process.
- the control unit cuts off the battery and the power management chip.
- the control unit cuts off the battery and the power management chip, releases the crash status, and then dials the DIP switch to the power-on position to start up and reset/restart.
- the DIP switch is connected to the control unit and the battery, the control unit is connected to the power management chip, the power management chip output signal is connected to the control unit, and the control unit feedback signal is fed back to the main control chip.
- the switch control method of the alternative embodiment is that when the user dials the dial switch, the low level is detected. After that, the power management chip is turned on. After the power is turned on and off, the voltage of the power-on detection flag is set to a high level, so that the power management chip starts to wait for the next power-on and power-off process.
- the DIP switch is toggled again, the shutdown process is triggered and the terminal is turned off.
- the control unit cuts off the battery and the power management chip, releases the crash state, and then dials the DIP switch to the boot position to boot.
- the switch control method of the terminal in the alternative embodiment solves the problem that the conventional push button switch control circuit requires the user to press the button for a sufficient time before the switch is turned on.
- the optional embodiment designing the control circuit and method can realize that the terminal switching process can be triggered by dialing the dial switch, the state of the terminal is clear, the user experience is better, and the switch button is applied to the crash. Reset/restart.
- the switch control circuit includes: a control unit 40, a main control chip 42, a power management chip 44, a battery 46, and a dial switch 48. In the process of switching on and off, it also involves the system software and system circuitry of the terminal.
- FIG. 5 is a schematic diagram of a switch control circuit according to an alternative embodiment of the present invention.
- the hardware portion of the circuit shown in FIG. 5 includes two voltage dividing circuits, which are a first voltage dividing circuit 50 and a second minute, respectively.
- FIG. 6 is a timing diagram of circuit level changes according to an alternative embodiment of the present invention. As shown in FIG. 6, the function implemented by the control unit is described below with reference to FIG. 6. When the terminal is in a shutdown state, the voltage of the power-on detection signal is turned on. V (ON) is at a high level.
- the output voltage of the battery V (VBAT) is at a high level
- the output voltage U1 of the charge and discharge circuit is at a high level
- the first voltage dividing circuit The output voltage U2 is at a high level
- the triode is turned on
- the output voltage of the second voltage dividing circuit V(C) is at a high level
- the output voltage of the reverse circuit is at a low level
- the PMOS transistor is turned on
- the detection signal V is turned on at the same time ( ON) is pulled low
- the power management chip of the terminal detects that the voltage V(ON) of the power-on detection signal is at a low level, triggers the power-on process, and the terminal is powered on
- the voltage V (LDO11) of the output signal of the power management chip is at a high level.
- the output voltage U1 of the charging and discharging circuit becomes a low level
- the first voltage dividing circuit voltage U2 becomes a low level
- the triode is turned off
- the voltage V(ON) of the power-on detection signal becomes a high level.
- the voltage V (DET) of the shutdown detection signal is pulled low, and the main control chip detects the power of the shutdown detection signal.
- the voltage V(DET) is at a low level, triggering the shutdown process.
- the V(C) signal goes low, the output voltage of the reverse circuit is at a high level, the PMOS transistor is turned off, and the system voltage V(VPH_PWR) is 0.
- the user dials the DIP switch to the shutdown bit, the output voltage of the second voltage divider circuit V(C) is at a low level, the output voltage of the reverse circuit is at a high level, the PMOS transistor is turned off, and the system voltage V (VPH_PWR) ) is 0, the user dials the DIP switch again to the boot position, and the terminal can execute the boot process.
- the typical battery output voltage V (VBAT) is 4V
- the charging and discharging circuit begins to charge
- the voltage of U1 begins to rise
- the voltage division of the first voltage circuit the U2 voltage begins to rise.
- Exceeding the conduction voltage of the triode the triode is turned on, the voltage V(ON) of the power-on detection signal is pulled low, and the voltage at the C point is high, the reverse circuit is turned on, the PMOS transistor is turned on, the battery supplies power to the system, and the power is turned on.
- C1 starts to discharge, U1 voltage drops, after the first voltage dividing circuit divides, U2 voltage drops, lower than the conduction voltage of the triode, the triode is turned off, the voltage of the power-on detection signal V(ON) is pulled high, the power management chip outputs The signal voltage V (LDO11) is pulled high to complete a boot process.
- the voltage V (DET) of the shutdown detection signal is pulled low, and the terminal control chip detects that the shutdown detection signal V (DET) is at a low level, and starts the shutdown process, and is to be shut down.
- the voltage at point C is low, the reverse circuit is turned off, the PMOS transistor is turned off, and the voltage V (SYS_PWR) between the battery and the system is cut off.
- the user dials the DIP switch to the shutdown position, the C signal is at a low level, the output voltage of the reverse circuit is at a high level, the PMOS transistor is turned off, and the system voltage V (VPH_PWR) is 0, which realizes the system off. Power, once again dial the DIP switch to the power-on state, you can boot normally.
- FIG. 7 is a schematic diagram of a switch flow of a main control chip and a power management chip according to an alternative embodiment of the present invention. As shown in FIG. 7, the method includes:
- the voltage of the power-on detection signal is set to a high level
- the dial switch is toggled; when the dial switch is toggled to the boot position, proceed to S703, when the dial switch is dialed to the shutdown position, proceed to S705;
- the U2 voltage rises, the triode is turned on, the voltage V(ON) of the power-on detection signal is pulled low, and the power management chip detects that the voltage V(ON) of the power-on detection signal is pulled low.
- the voltage at point C is high, the reverse circuit and the PMOS tube are turned on, and the battery supplies power to the system to trigger the power-on.
- the voltage V (LDO11) of the output signal of the power management chip is pulled high, and the U2 voltage drops.
- the triode is turned off, and the voltage V(ON) of the power-on detection signal is released to complete a boot process.
- the power management chip detects that the voltage V(ON) of the power-on detection signal is low, the power-on process is started, and after the software is notified of the power-on, the identifier displayed on the screen of the terminal prompts the user that the terminal is in the power-on process.
- the main control chip detects that the voltage V (DET) of the shutdown detection signal is pulled low, the software starts the shutdown process after the shutdown notification is received, and the identifier displayed on the screen of the terminal prompts the user that the terminal is in the shutdown process.
- the conventional push button switch solution solution requires the user to press the power button for a long time to cause a bad user experience, and resets/restarts when the terminal crashes, and does not have to be at the terminal. Setting a reset/restart button reduces the cost of the terminal.
- Embodiments of the present invention also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the application is not limited to any particular combination of hardware and software.
- each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
- Embodiments of the invention are not limited to any specific form of combination of hardware and software.
- the switch control circuit of the terminal includes: a dial switch connected to the control circuit, wherein the dial switch is configured to send a power-on command to the control circuit by being toggled to its power-on position and a power-off position, respectively. And a shutdown command; the control circuit is further connected to the main control circuit and the power management circuit, and configured to instruct the power management circuit to trigger the booting process of the terminal according to the boot command, or according to the shutdown command, indicating the
- the main control circuit triggers a shutdown process of the terminal;
- the power management circuit is connected to the control circuit, and is configured to turn on the power of the terminal and the system circuit of the terminal, and trigger a boot process of the terminal;
- a main control circuit connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit, so that the control circuit instructs the power management circuit to cut off
- the power supply of the system circuit solves the long waiting time when the button switch control circuit is switched on and off in the related
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
Disclosed are a switch control circuit and method for a terminal. The circuit comprises: a dial switch (10), connected to a control circuit (12) and configured to respectively send a startup command or a shutdown command to the control circuit (12) by being switched to a startup position or a shutdown position; the control circuit (12), further connected to a master control circuit (16) and a power management circuit (14) and configured to instruct the power management circuit (14) to trigger a startup process of a terminal according to the startup command or instruct the master control circuit (16) to trigger a shutdown process of the terminal according to the shutdown command; the power management circuit (14), connected to the control circuit (12) and configured to conduct a power supply to an input circuit of a power management chip of the terminal according to the startup command so as to trigger the startup process of the terminal; and the master control circuit (16), connected to the control circuit (12) and configured to trigger the shutdown process of the terminal according to the shutdown command and send a notification to the control circuit (12) so that the control circuit (12) instructs the power management circuit (14) to cut off the power supply to the input circuit of the power management chip of the terminal.
Description
本申请涉及但不限于电路领域,特别是一种终端的开关控制电路及方法。The present application relates to, but is not limited to, the field of circuits, and in particular, to a switch control circuit and method for a terminal.
目前移动终端普遍采用的是按键式开关控制电路,在终端处于关机状态下用户长时间按电源键开机,在开机状态下长时间按电源键关机,为了保证开关机,用户要长时间按住电源键。另外移动终端可能会死机,用户需要使用专用工具按压复位键,这很不方便,而且在某种程度上这种方式也不能复位/重启,因为大多移动终端设置有不可拆卸电池,电池不能插拔,只能等到移动终端的电池耗尽时,移动终端才能关机来解除死机状态。At present, the mobile terminal generally adopts a push-button switch control circuit. When the terminal is in the off state, the user presses the power button for a long time to turn on, and in the power-on state, press the power button for a long time to shut down. In order to ensure the switch, the user has to press and hold the power for a long time. key. In addition, the mobile terminal may crash, the user needs to use a special tool to press the reset button, which is very inconvenient, and to some extent, this method cannot be reset/restart, because most mobile terminals are provided with a non-removable battery, and the battery cannot be plugged and unplugged. The mobile terminal can only be shut down to release the crash state when the battery of the mobile terminal is exhausted.
相关技术的方案使用的是按键式开关控制电路,在移动终端关机时,移动终端的操作系统检测到用户按移动终端的电源键的时间达到预设时间,则开机。在移动终端开机时,移动终端的操作系统检测到用户长按移动终端的电源键的时间达到预设时间则关机。用户按压连接到电源管理芯片的复位管脚的复位键,来重启移动终端。The related art solution uses a push-button switch control circuit. When the mobile terminal is powered off, the operating system of the mobile terminal detects that the user presses the power button of the mobile terminal for a preset time, and then turns on the computer. When the mobile terminal is powered on, the operating system of the mobile terminal detects that the user presses the power button of the mobile terminal for a preset time to shut down. The user presses the reset button connected to the reset pin of the power management chip to restart the mobile terminal.
这种长时间按电源键进行开关机方式缺点是用户按键时间太短不能开机或关机,按压按键的时间太长会使得用户不耐烦并且难度大,并且长时间按压电源键时,用户不能明确地知道移动终端处于开机状态还是关机状态。如果移动终端设置复位键,用户要使用专用工具捅一下复位键,对于用户来说很不方便,又增加移动终端的制造商的成本,另外在某种情况下这种方式也是不能使得移动终端重启,只能等到移动终端的电池耗尽时,移动终端才能关机而解除死机状态。The shortcoming of pressing the power button for a long time is that the user's button time is too short to be turned on or off. Pressing the button for too long can make the user impatient and difficult, and the user cannot explicitly press the power button for a long time. Know whether the mobile terminal is powered on or off. If the mobile terminal sets the reset button, the user has to use the special tool to click the reset button, which is inconvenient for the user, and increases the cost of the manufacturer of the mobile terminal. In addition, in some cases, the method cannot restart the mobile terminal. Only when the battery of the mobile terminal is exhausted, the mobile terminal can be shut down and the state of the crash is released.
针对相关技术中终端开关机及复位的不方便,目前尚未找到有效的解决方法。In view of the inconvenience of the terminal switching machine and resetting in the related art, an effective solution has not been found yet.
发明内容
Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供了一种终端的开关控制电路及方法,以至少解决相关技术中采用按键式开关控制电路开关机时等待时间较长的问题。The present application provides a switch control circuit and method for a terminal to solve at least the problem of long waiting time when the push button switch control circuit is turned on and off in the related art.
根据本申请的一个方面,提供了一种终端的开关控制电路,包括:拨码开关,与控制电路连接,所述拨码开关设置成通过被拨动至其开机位和关机位,分别向所述控制电路发送开机命令和关机命令;控制电路,还与主控电路和电源管理电路连接,设置成根据所述开机命令,指示所述电源管理电路触发所述终端的开机流程,或根据所述关机命令,指示所述主控电路触发所述终端的关机流程;所述电源管理电路,与所述控制电路连接,设置成根据所述开机命令导通至所述终端的电源管理芯片的输入电路的电源供应,触发所述终端的开机流程;主控电路,与所述控制电路连接,设置成根据所述关机命令触发所述终端的关机流程,并向所述控制电路发出通知,以使得所述控制电路指示所述电源管理电路切断至所述终端的电源管理芯片的输入电路的电源供应。According to an aspect of the present application, a switch control circuit for a terminal is provided, including: a DIP switch connected to a control circuit, wherein the DIP switch is set to be turned to its power-on and power-off positions, respectively The control circuit sends a power-on command and a power-off command; the control circuit is further connected to the main control circuit and the power management circuit, and is configured to instruct the power management circuit to trigger the power-on process of the terminal according to the power-on command, or according to the a shutdown command, indicating that the main control circuit triggers a shutdown process of the terminal; the power management circuit is connected to the control circuit, and is configured to be connected to an input circuit of a power management chip of the terminal according to the boot command a power supply, triggering a booting process of the terminal; the main control circuit is connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit to enable the The control circuit instructs the power management circuit to cut off the power supply to the input circuit of the power management chip of the terminal
可选地,所述电源管理电路还设置成若在所述终端开机流程完成,将用于指示所述终端开机流程完成的第一信号反馈给所述控制电路。Optionally, the power management circuit is further configured to: when the booting process of the terminal is completed, feed back a first signal for indicating completion of the booting process of the terminal to the control circuit.
可选地,所述控制电路还设置成根据所述第一信号停止接收所述开机命令。Optionally, the control circuit is further configured to stop receiving the power-on command according to the first signal.
可选地,所述主控电路还设置成若所述关机流程完之,将用于指示所述终端关机流程完成的第二信号反馈给所述控制电路。Optionally, the main control circuit is further configured to: when the shutdown process is completed, feed back a second signal for indicating completion of the shutdown process of the terminal to the control circuit.
可选地,所述控制电路还设置成根据所述第二信号指示所述电源管理电路切断至所述终端的电源管理芯片的输入电路的电源供应,以使得所述终端的系统电压降低到第一预设阈值。Optionally, the control circuit is further configured to instruct the power management circuit to cut off a power supply to an input circuit of the power management chip of the terminal according to the second signal, so that a system voltage of the terminal is lowered to a first A preset threshold.
可选地,所述主控电路还设置成在所述主控电路根据所述关机命令触发所述终端的关机流程之后,获取终端的运行状态,其中,所述运行状态包括死机状态和关机状态。Optionally, the main control circuit is further configured to acquire an operating state of the terminal after the main control circuit triggers a shutdown process of the terminal according to the shutdown command, where the operating state includes a dead state and a shutdown state. .
可选地,所述主控电路还设置成在所述运行状态为死机状态时,指示所
述电源管理电路切断至所述终端的电源管理芯片的输入电路电路的电源供应,以使得所述终端的系统电压降低到第二预设阈值。Optionally, the main control circuit is further configured to indicate the location when the operating state is a dead state.
The power management circuit cuts off the power supply to the input circuit circuit of the power management chip of the terminal to cause the system voltage of the terminal to decrease to a second predetermined threshold.
可选地,所述电源管理电路包括:PMOS晶体管、反向电路,三极管,其中,所述三极管,设置成在接收到所述开机命令后导通,输出第一电平信号;所述反向电路,连接于所述三极管,设置成根据所述第一电平信号输出第二电平信号;所述PMOS晶体管,连接于所述反向电路,设置成根据所述第二电平信号导通,输出第三电平信号以导通至所述终端的系统电路的电源供应,触发所述终端的开机流程。Optionally, the power management circuit includes: a PMOS transistor, a reverse circuit, and a triode, wherein the triode is configured to be turned on after receiving the power-on command, and output a first level signal; a circuit coupled to the transistor, configured to output a second level signal according to the first level signal; the PMOS transistor coupled to the inverting circuit, configured to be turned on according to the second level signal And outputting a third level signal to conduct power supply to the system circuit of the terminal, triggering a booting process of the terminal.
根据本申请的另一方面,提供了一种终端的开关控制方法,包括:通过拨码开关的关机位接收关机命令;将所述关机命令发送给主控电路;根据所述关机命令触发所述终端的关机流程,并通知所述电源管理电路切断至所述系统电路的电源供应。According to another aspect of the present application, a method for controlling a switch of a terminal includes: receiving a shutdown command through a shutdown bit of the dial switch; transmitting the shutdown command to a main control circuit; and triggering the shutdown command according to the shutdown command The shutdown process of the terminal, and notifying the power management circuit to cut off the power supply to the system circuit.
可选地,在所述通知所述电源管理电路切断至所述系统电路的电源供应的步骤之后,所述方法还包括:通过所述拨码开关的开机位接收开机命令;将所述开机命令发送给电源管理电路;根据所述开机命令导通至所述终端的系统电路的电源供应,触发所述终端的开机流程。Optionally, after the step of notifying the power management circuit to cut off the power supply to the system circuit, the method further includes: receiving, by using a power-on bit of the dial switch, a power-on command; Sending to the power management circuit; triggering the power-on process of the terminal according to the power supply of the system circuit that is turned on to the terminal according to the power-on command.
可选地,在所述终端开机完成之后,所述方法还包括:将用于指示所述终端开机完成的第一信号反馈给所述控制电路;所述控制电路根据所述第一信号停止接收所述开机命令。Optionally, after the terminal is powered on, the method further includes: feeding back, to the control circuit, a first signal for indicating that the terminal is powered on; the control circuit stops receiving according to the first signal. The boot command.
可选地,在所述关机流程完成之后,所述方法还包括:将用于指示所述终端关机完成的第二信号反馈给所述控制电路;所述控制电路根据所述第二信号指示所述电源管理电路切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第一预设阈值。Optionally, after the shutdown process is completed, the method further includes: feeding back, to the control circuit, a second signal indicating that the terminal is shut down; the control circuit indicates the location according to the second signal The power management circuit shuts off power supply to the system circuit to cause the system voltage of the terminal to decrease to a first predetermined threshold.
可选地,所述方法还包括:在所述根据所述关机命令触发所述终端的关机流程之后,获取终端的运行状态,其中,所述运行状态包括死机状态和关机状态;在所述运行状态为死机状态时,指示所述电源管理电路切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第二预设阈值。Optionally, the method further includes: after the shutdown process of the terminal is triggered according to the shutdown command, acquiring an operating state of the terminal, where the operating state includes a dead state and a shutdown state; When the state is a dead state, the power management circuit is instructed to cut off the power supply to the system circuit to cause the system voltage of the terminal to decrease to a second predetermined threshold.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。
The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
本申请提供的终端的开关控制电路中,包括:拨码开关,与控制电路连接,所述拨码开关设置成通过被拨动至其开机位和关机位,分别向所述控制电路发送开机命令和关机命令;控制电路,还与主控电路和电源管理电路连接,设置成根据所述开机命令,指示所述电源管理电路触发所述终端的开机流程,或根据所述关机命令,指示所述主控电路触发所述终端的关机流程;所述电源管理电路,与所述控制电路连接,设置成将所述终端的电源和所述终端的系统电路导通,触发所述终端的开机流程;主控电路,与所述控制电路连接,设置成根据所述关机命令触发所述终端的关机流程,并向所述控制电路发出通知,以使得所述控制电路指示所述电源管理电路切断至所述系统电路的电源供应,解决了相关技术中采用按键式开关控制电路开关机时等待时间较长的问题,进而方便用户对终端进行开关机和复位/重启,提升了终端的用户体验。The switch control circuit of the terminal provided by the application includes: a dial switch connected to the control circuit, wherein the dial switch is configured to send a power-on command to the control circuit by being toggled to its power-on position and a power-off position, respectively. And a shutdown command; the control circuit is further connected to the main control circuit and the power management circuit, and configured to instruct the power management circuit to trigger the booting process of the terminal according to the boot command, or according to the shutdown command, indicating the The main control circuit triggers a shutdown process of the terminal; the power management circuit is connected to the control circuit, and is configured to turn on the power of the terminal and the system circuit of the terminal, and trigger a boot process of the terminal; a main control circuit, connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit, so that the control circuit instructs the power management circuit to cut off The power supply of the system circuit solves the long waiting time when the button switch control circuit is switched on and off in the related art. Title, and further to the user terminal switch and reset / restart, enhance the user experience of the terminal.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本发明实施例的终端的开关控制电路的框图;1 is a block diagram of a switch control circuit of a terminal according to an embodiment of the present invention;
图2是根据本发明的可选实施例中的终端的开关控制电路的框图;2 is a block diagram of a switch control circuit of a terminal in an alternative embodiment of the present invention;
图3是根据本发明实施例的终端的开关控制方法的流程图;3 is a flowchart of a switch control method of a terminal according to an embodiment of the present invention;
图4是根据本发明可选实施例的开关控制电路的框图;4 is a block diagram of a switch control circuit in accordance with an alternate embodiment of the present invention;
图5是根据本发明可选实施例的开关控制电路的示意图;Figure 5 is a schematic illustration of a switch control circuit in accordance with an alternate embodiment of the present invention;
图6是根据本发明可选实施例的电路电平变化的时序图;6 is a timing diagram of circuit level changes in accordance with an alternate embodiment of the present invention;
图7是根据本发明可选实施例的主控芯片和电源管理芯片的开关机流程的示意图。7 is a schematic diagram of a switch flow of a master chip and a power management chip in accordance with an alternative embodiment of the present invention.
本发明的较佳实施方式
Preferred embodiment of the invention
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
在本实施例中提供了一种终端的开关控制电路,图1是根据本发明实施例的终端的开关控制电路结构图,如图1所示,包括:拨码开关10、控制电路12、电源管理电路14、主控电路16,其中,In this embodiment, a switch control circuit of a terminal is provided. FIG. 1 is a structural diagram of a switch control circuit of a terminal according to an embodiment of the present invention. As shown in FIG. 1, the switch includes a DIP switch 10, a control circuit 12, and a power supply. a management circuit 14, a main control circuit 16, wherein
拨码开关10与控制电路12连接,拨码开关10设置成在被拨动至其开机位和关机位时,分别向控制电路12发送开机命令和关机命令;The DIP switch 10 is connected to the control circuit 12, and the DIP switch 10 is arranged to send a power-on command and a shutdown command to the control circuit 12 respectively when being toggled to its power-on position and the power-off position;
控制电路12与拨码开关10、主控电路16和电源管理电路14连接,设置成根据开机命令,指示电源管理电路14触发所述终端的开机流程,或根据关机命令,指示主控电路16触发所述终端的关机流程;The control circuit 12 is connected to the DIP switch 10, the main control circuit 16, and the power management circuit 14, and is configured to instruct the power management circuit 14 to trigger the power-on process of the terminal according to the power-on command, or to instruct the main control circuit 16 to trigger according to the shutdown command. The shutdown process of the terminal;
电源管理电路14与控制电路12连接,设置成根据开机命令导通至终端的系统电路的电源供应,触发终端的开机流程;The power management circuit 14 is connected to the control circuit 12, and is configured to trigger the power-on process of the terminal circuit according to the power supply of the system circuit that is turned on to the terminal according to the power-on command;
主控电路16与控制电路12连接,根据关机命令触发终端的关机流程,并向控制电路12发出通知,以使得控制电路12指示电源管理电路14切断至系统电路的电源供应。The main control circuit 16 is connected to the control circuit 12, triggers the shutdown process of the terminal according to the shutdown command, and issues a notification to the control circuit 12 to cause the control circuit 12 to instruct the power management circuit 14 to cut off the power supply to the system circuit.
本实施例中,拨码开关10与控制电路12连接,拨码开关10设置成在被拨动至其开机位和关机位时,分别向控制电路12发送用于触发终端的开机流程和关机流程的开机命令和关机命令;控制电路12与拨码开关10、主控电路16和电源管理电路14连接,设置成根据开机命令,指示电源管理电路14触发所述终端的开机流程,或根据关机命令,指示主控电路16触发所述终端的关机流程;电源管理电路14与控制电路12连接,设置成根据开机命令导通至终端的系统电路的电源供应,触发终端的开机流程;主控电路16与控制电路12连接,设置成根据关机命令触发终端的关机流程,并向控制电路12发出通知,以使得控制电路12指示电源管理电路14切断至系统电路的电源供应,解决了相关技术中采用按键式开关控制电路开关机持续时间较长的问题,进而方便用户对终端进行开关机和复位/重启,提升了终端的用户体验。
In this embodiment, the DIP switch 10 is connected to the control circuit 12, and the DIP switch 10 is configured to send a boot process and a shutdown process for triggering the terminal to the control circuit 12 when being toggled to its power-on and power-off positions, respectively. The power-on command and the power-off control command are connected to the DIP switch 10, the main control circuit 16, and the power management circuit 14, and are configured to instruct the power management circuit 14 to trigger the power-on process of the terminal according to the power-on command, or according to the shutdown command. Instructing the main control circuit 16 to trigger the shutdown process of the terminal; the power management circuit 14 is connected to the control circuit 12, and is configured to trigger the power supply of the system circuit according to the power-on command to the terminal, and the main control circuit 16 is triggered. Connected to the control circuit 12, configured to trigger the shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit 12, so that the control circuit 12 instructs the power management circuit 14 to cut off the power supply to the system circuit, and solves the related art The switch control circuit has a long duration of switching, which is convenient for the user to switch on and off the terminal. Reset/restart improves the user experience of the terminal.
在本发明的一个可选实施例中,电源管理电路14,还设置成若终端开机流程完成,将用于指示终端开机流程完成的第一信号反馈给控制电路12。In an optional embodiment of the present invention, the power management circuit 14 is further configured to feed back to the control circuit 12 a first signal indicating that the terminal startup process is completed if the terminal startup process is completed.
在本发明的一个可选实施例中,控制电路12还设置成根据第一信号停止接受开机命令。In an alternative embodiment of the invention, the control circuit 12 is further arranged to stop accepting the power on command in accordance with the first signal.
在本发明的一个可选实施例中,主控电路16还设置成若关机流程完成,将用于指示终端关机流程完成的第二信号反馈给控制电路。可选地,在关机流程中,先终止终端的软件,再关闭硬件,并切断系统电路(如电路主板)到电源(电池)的导电通道。In an optional embodiment of the present invention, the main control circuit 16 is further configured to feed back a second signal for indicating completion of the shutdown process of the terminal to the control circuit if the shutdown process is completed. Optionally, in the shutdown process, the terminal software is terminated first, then the hardware is turned off, and the conductive path of the system circuit (such as the circuit board) to the power source (battery) is cut off.
在本发明的一个可选实施例中,控制电路12还设置成根据第二信号指示所述电源管理电路切断至系统电路的电源供应,以使得终端的系统电压降低到第一预设阈值。例如,第一预设阈值为0。In an optional embodiment of the invention, the control circuit 12 is further arranged to instruct the power management circuit to cut off the power supply to the system circuit in accordance with the second signal to cause the system voltage of the terminal to decrease to a first predetermined threshold. For example, the first preset threshold is zero.
在本发明的一个可选实施例中,控制电路12还设置成在主控电路16根据所述关机命令触发所述终端的关机流程之后,获取终端的运行状态,其中,所述运行状态包括死机状态和关机状态,死机状态表示终端没有执行关机的流程或者在执行关机的流程时系统崩溃,关机状态表示终端正在执行关机流程,在所述运行状态为死机状态时,切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第二预设阈值。例如,第二预设阈值为0。在终端执行关机流程时,若终端的操作系统或者软件崩溃,从而导致终端无法执行关机流程,或在执行关机流程的时候操作系统死机,而导致执行关机流程失败,为了终端在死机的情况下能关机或重启,可以切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到0,并切断至系统电路的电源供应,可选地,在隔断所述电源和所述系统电路之前,可以设置时间阈值,将时间阈值与终端的关机流程持续的时间进行比较,来确定终端的运行状态,如正常的关机流程需要10秒,则可以设置时间阈值为12秒,若在12秒之后关机流程还没有完成,则判断终端处于死机状态,也可以直接获取终端的运行状态,如通过获取终端运行的应用的主进程的运行状态或终端的关机流程的运行状态来判断终端是否死机。In an optional embodiment of the present invention, the control circuit 12 is further configured to acquire an operating state of the terminal after the main control circuit 16 triggers the shutdown process of the terminal according to the shutdown command, wherein the operating state includes a crash State and shutdown state, the crash state indicates that the terminal does not perform the shutdown process or the system crashes when the shutdown process is performed. The shutdown state indicates that the terminal is performing the shutdown process, and when the operation state is a dead state, the system circuit is cut off. The power supply is supplied to cause the system voltage of the terminal to decrease to a second predetermined threshold. For example, the second preset threshold is zero. When the terminal performs the shutdown process, if the operating system or software of the terminal crashes, the terminal cannot perform the shutdown process, or the operating system freezes during the shutdown process, which causes the shutdown process to fail, so that the terminal can crash in the event of a crash. Shutdown or restart, the power supply to the system circuit can be cut off to reduce the system voltage of the terminal to zero, and the power supply to the system circuit is cut off, optionally, the power supply and the system circuit are blocked Before, you can set the time threshold and compare the time threshold with the duration of the shutdown process of the terminal to determine the running status of the terminal. If the normal shutdown process takes 10 seconds, you can set the time threshold to 12 seconds, if it is in 12 seconds. After the shutdown process is not completed, it is determined that the terminal is in a dead state, and the terminal can be directly obtained, for example, by obtaining the running state of the main process of the application running by the terminal or the running state of the shutdown process of the terminal to determine whether the terminal is dead.
图2是根据本发明的可选实施例中的终端的开关控制电路的框图,如图2所示,该装置除包括图2所示的所有电路外,电源管理电路14还包括:三
极管20、反向电路22、PMOS晶体管24、其中,2 is a block diagram of a switch control circuit of a terminal in an alternative embodiment of the present invention. As shown in FIG. 2, the device includes, in addition to all the circuits shown in FIG. 2, the power management circuit 14 further includes:
a pole tube 20, a reverse circuit 22, a PMOS transistor 24, among them,
三极管20,设置成在接收到开机命令后导通,输出第一电平信号;The transistor 20 is arranged to be turned on after receiving the power-on command, and output a first level signal;
反向电路22,与三极管20连接,设置成根据第一电平信号输出第二电平信号;The reverse circuit 22 is connected to the transistor 20 and configured to output a second level signal according to the first level signal;
PMOS晶体管24,与反向电路22连接,设置成根据第二电平信号导通,输出第三电平信号以导通至终端的系统电路的电源供应,触发终端的开机流程。The PMOS transistor 24 is connected to the reverse circuit 22, and is arranged to be turned on according to the second level signal, and output a third level signal to conduct power supply to the system circuit of the terminal, triggering the power-on process of the terminal.
可选地,第一电平信号可以是高电平信号或低电平信号,第二电平信号可以是高电平信号或低电平信号,第三电平信号可以是高电平信号或低电平信号,在本实施例中,第一电平信号是高电平信号,第二电平信号是低电平信号,第三电平信号是低电平信号。在终端开机时,当用户把拨码开关10拨到其开机位,电池的输出电压VBAT为高电平信号,三极管导通,输出高电平,反向电路输出为低电平信号,PMOS管导通,并输出低电平信号同时开机检测信号被拉低,电源管理芯片根据低电平信号触发开机,电源管理芯片检测到开机检测信号为低,触发开机流程,终端开机,电源管理芯片输出高电平信号。Optionally, the first level signal may be a high level signal or a low level signal, the second level signal may be a high level signal or a low level signal, and the third level signal may be a high level signal or The low level signal, in the embodiment, the first level signal is a high level signal, the second level signal is a low level signal, and the third level signal is a low level signal. When the terminal is turned on, when the user dials the DIP switch 10 to its boot position, the output voltage of the battery VBAT is a high level signal, the triode is turned on, the output is high level, and the reverse circuit output is a low level signal, the PMOS tube Turn on, and output low level signal at the same time, the power-on detection signal is pulled low, the power management chip triggers the power-on according to the low-level signal, the power management chip detects that the power-on detection signal is low, triggers the boot process, the terminal is powered on, and the power management chip outputs High level signal.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的电路可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的电路。Through the description of the above embodiments, those skilled in the art can clearly understand that the circuit according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the circuitry of various embodiments of the present invention.
在本实施例中还提供了一种终端的开关控制方法,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a switch control method for a terminal is also provided. The device is used to implement the foregoing embodiments and optional implementations, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的终端的开关控制方法的流程图,如图3所示,
终端的开关控制方法包括:FIG. 3 is a flowchart of a method for controlling a switch of a terminal according to an embodiment of the present invention, as shown in FIG.
The switch control method of the terminal includes:
S302,通过拨码开关的关机位接收关机命令;S302, receiving a shutdown command by using a shutdown bit of the dial switch;
S304,将关机命令发送给主控电路;S304. Send a shutdown command to the main control circuit.
S306,根据关机命令触发终端的关机流程,并通知电源管理电路切断至系统电路的电源供应。S306. Trigger the shutdown process of the terminal according to the shutdown command, and notify the power management circuit to cut off the power supply to the system circuit.
在根据本实施例的可选实施方式中,在所述通知所述电源管理电路切断至所述系统电路的电源供应的步骤之后,即终端在关机完成之后,还可进行开机或复位,所述开机过程包括:In an optional implementation according to the embodiment, after the step of notifying the power management circuit to cut off the power supply to the system circuit, that is, after the terminal is completely shut down, the terminal may also be powered on or reset. The boot process includes:
S11,通过所述拨码开关的开机位接收开机命令;S11. Receive a power-on command by using a boot bit of the dial switch.
S12,将所述开机命令发送给电源管理电路;S12. Send the boot command to the power management circuit.
S13,根据所述开机命令导通至所述终端的系统电路的电源供应,触发所述终端的开机流程。S13. The power supply of the system circuit that is turned on to the terminal according to the power-on command triggers a power-on process of the terminal.
在根据本实施例的上述可选实施方式中,在终端开机流程完成之后,方法还包括:In the foregoing optional implementation manner of the embodiment, after the terminal startup process is completed, the method further includes:
S21,将用于指示终端开机完成的第一信号反馈给控制电路;S21. The first signal used to indicate that the terminal is powered on is fed back to the control circuit.
S21,控制电路根据第一信号停止接收开机命令。S21. The control circuit stops receiving the power-on command according to the first signal.
在根据本实施例的可选实施方式中,在关机流程完成之后,方法还包括:In an optional implementation manner of this embodiment, after the shutdown process is completed, the method further includes:
S31,将用于指示终端关机完成的第二信号反馈给控制电路;S31. The second signal used to indicate that the terminal is powered off is fed back to the control circuit.
S32,控制电路根据第二信号指示所述电源管理电路切断至系统电路的电源供应,以使得终端的系统电压降低到第一预设阈值。S32. The control circuit instructs the power management circuit to cut off the power supply to the system circuit according to the second signal, so that the system voltage of the terminal is lowered to a first preset threshold.
在根据本实施例的可选实施方式中,在所述根据所述关机命令触发所述终端的关机流程的步骤之后,所述方法还包括:In an optional implementation manner of this embodiment, after the step of triggering the shutdown process of the terminal according to the shutdown command, the method further includes:
S41,获取终端的运行状态,其中,所述运行状态包括死机状态和关机状态;S41. Acquire an operating state of the terminal, where the operating state includes a dead state and a shutdown state.
S42,在所述运行状态为死机状态时,指示所述电源管理电路切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第二预设阈值。S42. When the operating state is a dead state, instruct the power management circuit to cut off a power supply to the system circuit, so that a system voltage of the terminal is lowered to a second preset threshold.
可选地,死机状态表示终端没有执行关机的流程或者在终端执行关机的
流程时系统崩溃了,关机状态表示系统正在执行关机的流程,第二预设阈值为0。在启动终端的关机流程过程中,若终端发生系统崩溃,或者软件崩溃,从而导致终端系统在被触发关机流程的时候,无法执行关机流程,或在执行关机流程的时候系统崩溃,而导致关机流程执行失败,为了保证终端在死机的情况下也能关机或重启,可以切断至所述系统电路的电源供应,将所述终端的系统电压降低到0,并切断至系统电路的电源供应,可选地,在切断至所述系统电路的电源供应之前,可以通过设置时间阈值的方式来获取终端的运行状态,如正常的关机流程需要10秒,则可以设置时间阈值为12秒,在12秒之后关机流程还没有执行完毕,则判断终端已经处于死机状态,也可以通过获取终端的运行状态,如通过获取终端程序的主进程的运行状态或关机进程的运行状态,来确定终端是否死机。Optionally, the dead state indicates that the terminal does not perform the shutdown process or performs shutdown at the terminal.
The system crashes during the process, and the shutdown state indicates that the system is performing the shutdown process. The second preset threshold is 0. During the shutdown process of the startup terminal, if the terminal crashes or the software crashes, the terminal system cannot perform the shutdown process when the shutdown process is triggered, or the system crashes during the shutdown process, resulting in the shutdown process. The execution fails. In order to ensure that the terminal can be shut down or restarted in the event of a crash, the power supply to the system circuit can be cut off, the system voltage of the terminal can be lowered to 0, and the power supply to the system circuit can be cut off. The ground state can be obtained by setting a time threshold before the power supply to the system circuit is cut off. If the normal shutdown process takes 10 seconds, the time threshold can be set to 12 seconds, after 12 seconds. After the shutdown process has not been completed, it is determined that the terminal is in a dead state, and the terminal may be in a running state, for example, by obtaining the running state of the main process of the terminal program or the running state of the shutdown process, to determine whether the terminal is dead.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
下面根据本申请的一个可选实施例对本申请进行详细说明:The present application is described in detail below in accordance with an alternative embodiment of the present application:
本可选实施例的开关控制的电路系统由控制单元,主控芯片,电源管理芯片,电源电池,拨码开关组成。拨码开关被拨动实现终端的开关机。主控芯片,电源管理芯片,控制单元组成一个反馈回路,控制单元根据拨码开关状态,通知电源管理芯片,电源管理芯片确定是否执行开关机流程,并通知主控芯片,主控芯片把开关机结果再反馈给控制单元,为下个开关机流程做好准备。拨码开关再被拨动到关机位置,主控芯片检测到这个状态,启动关机流程,并通知电源管理芯片走关机流程,待关机流程完成,控制单元切断电池和电源管理芯片。当死机时,拨动拨码开关至关机位,控制单元切断电池和电源管理芯片,解除死机状态,再拨动拨码开关至开机位置,即可开机,实现复位/重启。The circuit system of the switch control of the alternative embodiment is composed of a control unit, a main control chip, a power management chip, a power battery, and a dial switch. The DIP switch is toggled to implement the terminal's power on/off. The main control chip, the power management chip, and the control unit form a feedback loop. The control unit notifies the power management chip according to the state of the dial switch, and the power management chip determines whether to execute the power on/off process, and notifies the main control chip, and the main control chip turns the power on and off. The result is then fed back to the control unit to prepare for the next switch-on process. The DIP switch is then toggled to the shutdown position. The main control chip detects this state, starts the shutdown process, and notifies the power management chip to go through the shutdown process. When the shutdown process is completed, the control unit cuts off the battery and the power management chip. When the machine crashes, dial the DIP switch to the shutdown position, the control unit cuts off the battery and the power management chip, releases the crash status, and then dials the DIP switch to the power-on position to start up and reset/restart.
可选地,拨码开关连接到控制单元和电池,控制单元和电源管理芯片相连,电源管理芯片输出信号连接到控制单元,控制单元反馈信号反馈到主控芯片。Optionally, the DIP switch is connected to the control unit and the battery, the control unit is connected to the power management chip, the power management chip output signal is connected to the control unit, and the control unit feedback signal is fed back to the main control chip.
本可选实施例的开关控制方法是当用户拨动拨码开关时,检测到低电平
后,电源管理芯片开机,待正常开关机后,开机检测标志位的电压被置于高电平,这样电源管理芯片开始等待下一个开关机流程。当再次拨动拨码开关时,则触发关机流程,终端关机。当终端死机时,用于拨动拨码开关至关机位,控制单元切断电池和电源管理芯片,解除死机状态,再拨动拨码开关至开机位,即可开机。The switch control method of the alternative embodiment is that when the user dials the dial switch, the low level is detected.
After that, the power management chip is turned on. After the power is turned on and off, the voltage of the power-on detection flag is set to a high level, so that the power management chip starts to wait for the next power-on and power-off process. When the DIP switch is toggled again, the shutdown process is triggered and the terminal is turned off. When the terminal crashes, it is used to dial the DIP switch to the shutdown position, the control unit cuts off the battery and the power management chip, releases the crash state, and then dials the DIP switch to the boot position to boot.
本可选实施例中的终端的开关控制方法解决了传统的按键式开关控制电路需要用户按下按键足够时间后才能进行开关机的问题。而本可选实施例设计这套控制电路和方法,可以实现只要拨动拨码开关就可以触发终端的开关机流程,终端的状态很明确,用户体验更好,同时将开关机按键应用于死机复位/重启。The switch control method of the terminal in the alternative embodiment solves the problem that the conventional push button switch control circuit requires the user to press the button for a sufficient time before the switch is turned on. The optional embodiment designing the control circuit and method can realize that the terminal switching process can be triggered by dialing the dial switch, the state of the terminal is clear, the user experience is better, and the switch button is applied to the crash. Reset/restart.
图4是根据本发明可选实施例的开关控制电路的框图,如图4所示,开关控制电路包括:控制单元40、主控芯片42、电源管理芯片44、电池46、拨码开关48,而在开关机过程中,还涉及终端的系统软件和系统电路。4 is a block diagram of a switch control circuit according to an alternative embodiment of the present invention. As shown in FIG. 4, the switch control circuit includes: a control unit 40, a main control chip 42, a power management chip 44, a battery 46, and a dial switch 48. In the process of switching on and off, it also involves the system software and system circuitry of the terminal.
图5是根据本发明可选实施例的开关控制电路的示意图,如图5所示,图5所示电路的硬件部分包含两个分压电路,分别为第一分压电路50和第二分压电路51,一个充放电电路52,一个检测电路53,一拨码开关54,一个NPN三极管55,一个延时电路56,一个反向电路57,一个PMOS管58。5 is a schematic diagram of a switch control circuit according to an alternative embodiment of the present invention. As shown in FIG. 5, the hardware portion of the circuit shown in FIG. 5 includes two voltage dividing circuits, which are a first voltage dividing circuit 50 and a second minute, respectively. The voltage circuit 51, a charge and discharge circuit 52, a detection circuit 53, a dial switch 54, an NPN transistor 55, a delay circuit 56, a reverse circuit 57, and a PMOS transistor 58.
图6是根据本发明可选实施例的电路电平变化的时序图,如图6所示,下面结合图6来说明控制单元实现的功能,当终端处于关机状态,这时开机检测信号的电压V(ON)处于高电平,当用户把拨码开关拨到开机位,电池的输出电压V(VBAT)处于高电平,充放电电路的输出电压U1处于高电平,第一分压电路的输出电压U2处于高电平,三极管导通,第二分压电路输出电压V(C)处于高电平,反向电路输出电压处于低电平,PMOS管导通,同时开机检测信号V(ON)被拉低,终端的电源管理芯片检测到开机检测信号的电压V(ON)处于低电平,触发开机流程,终端开机,电源管理芯片输出信号的电压V(LDO11)处于高电平。开机流程完成后,充放电电路的输出电压U1变为低电平,第一分压电路电压U2变为低电平,三极管截止,开机检测信号的电压V(ON)变为高电平。如果用户将拨码开关拨至关机位,关机检测信号的电压V(DET)被拉低,主控芯片检测到关机检测信号的电
压V(DET)处于低电平,触发关机流程,待关机流程完成,V(C)信号变为低,反向电路的输出电压处于高电平,PMOS管截止,系统电压V(VPH_PWR)为0。当终端死机,用户拨动拨码开关至关机位,第二分压电路输出电压V(C)处于低电平,反向电路的输出电压处于高电平,PMOS管截止,系统电压V(VPH_PWR)为0,用户再次拨动拨码开关至开机位,终端就可以执行开机流程。6 is a timing diagram of circuit level changes according to an alternative embodiment of the present invention. As shown in FIG. 6, the function implemented by the control unit is described below with reference to FIG. 6. When the terminal is in a shutdown state, the voltage of the power-on detection signal is turned on. V (ON) is at a high level. When the user dials the DIP switch to the power-on position, the output voltage of the battery V (VBAT) is at a high level, and the output voltage U1 of the charge and discharge circuit is at a high level, the first voltage dividing circuit The output voltage U2 is at a high level, the triode is turned on, the output voltage of the second voltage dividing circuit V(C) is at a high level, the output voltage of the reverse circuit is at a low level, the PMOS transistor is turned on, and the detection signal V is turned on at the same time ( ON) is pulled low, the power management chip of the terminal detects that the voltage V(ON) of the power-on detection signal is at a low level, triggers the power-on process, and the terminal is powered on, and the voltage V (LDO11) of the output signal of the power management chip is at a high level. After the startup process is completed, the output voltage U1 of the charging and discharging circuit becomes a low level, the first voltage dividing circuit voltage U2 becomes a low level, the triode is turned off, and the voltage V(ON) of the power-on detection signal becomes a high level. If the user dials the DIP switch to the shutdown position, the voltage V (DET) of the shutdown detection signal is pulled low, and the main control chip detects the power of the shutdown detection signal.
The voltage V(DET) is at a low level, triggering the shutdown process. When the shutdown process is completed, the V(C) signal goes low, the output voltage of the reverse circuit is at a high level, the PMOS transistor is turned off, and the system voltage V(VPH_PWR) is 0. When the terminal crashes, the user dials the DIP switch to the shutdown bit, the output voltage of the second voltage divider circuit V(C) is at a low level, the output voltage of the reverse circuit is at a high level, the PMOS transistor is turned off, and the system voltage V (VPH_PWR) ) is 0, the user dials the DIP switch again to the boot position, and the terminal can execute the boot process.
当用户拨动拨码开关至开机位置,典型的电池的输出电压V(VBAT)为4V,充放电电路开始充电过程,U1的电压开始上升,经过第一压电路分压,U2电压开始上升,超过三极管的导通电压,三极管导通,开机检测信号的电压V(ON)被拉低,同时C点电压为高,反向电路导通,PMOS管导通,电池给系统供电,触发开机。然后C1开始放电,U1电压下降,经过第一分压电路分压,U2电压下降,低于三极管的导通电压,三极管截止,开机检测信号的电压V(ON)被拉高,电源管理芯片输出信号的电压V(LDO11)被拉高,完成一个开机过程。当用户拨动拨码开关至关机位置,关机检测信号的电压V(DET)被拉低,终端的主控芯片检测到关机检测信号V(DET)处于低电平,开始执行关机流程,待关机流程完成后,C点电压为低,反向电路截止,PMOS管截止,电池与系统之间的电压V(SYS_PWR)隔断。当终端死机时,用户拨动拨码开关至关机位置,C信号处于低电平,反向电路的输出电压处于高电平,PMOS管截止,系统电压V(VPH_PWR)为0,实现了系统掉电,再次拨动拨码开关至开机状态,就可以正常开机。When the user dials the DIP switch to the power-on position, the typical battery output voltage V (VBAT) is 4V, the charging and discharging circuit begins to charge, the voltage of U1 begins to rise, and after the voltage division of the first voltage circuit, the U2 voltage begins to rise. Exceeding the conduction voltage of the triode, the triode is turned on, the voltage V(ON) of the power-on detection signal is pulled low, and the voltage at the C point is high, the reverse circuit is turned on, the PMOS transistor is turned on, the battery supplies power to the system, and the power is turned on. Then C1 starts to discharge, U1 voltage drops, after the first voltage dividing circuit divides, U2 voltage drops, lower than the conduction voltage of the triode, the triode is turned off, the voltage of the power-on detection signal V(ON) is pulled high, the power management chip outputs The signal voltage V (LDO11) is pulled high to complete a boot process. When the user dials the DIP switch to the shutdown position, the voltage V (DET) of the shutdown detection signal is pulled low, and the terminal control chip detects that the shutdown detection signal V (DET) is at a low level, and starts the shutdown process, and is to be shut down. After the process is completed, the voltage at point C is low, the reverse circuit is turned off, the PMOS transistor is turned off, and the voltage V (SYS_PWR) between the battery and the system is cut off. When the terminal crashes, the user dials the DIP switch to the shutdown position, the C signal is at a low level, the output voltage of the reverse circuit is at a high level, the PMOS transistor is turned off, and the system voltage V (VPH_PWR) is 0, which realizes the system off. Power, once again dial the DIP switch to the power-on state, you can boot normally.
图7是根据本发明可选实施例的主控芯片和电源管理芯片的开关机流程的示意图,如图7所示,包括:7 is a schematic diagram of a switch flow of a main control chip and a power management chip according to an alternative embodiment of the present invention. As shown in FIG. 7, the method includes:
S701,开机检测信号的电压置于高电平;S701, the voltage of the power-on detection signal is set to a high level;
S702,拨码开关被拨动;当拨码开关被拨动到开机位时,进行到S703,当拨码开关被拨动到关机位时,进行到S705;S702, the dial switch is toggled; when the dial switch is toggled to the boot position, proceed to S703, when the dial switch is dialed to the shutdown position, proceed to S705;
S703,开机检测信号被拉低;S703, the power-on detection signal is pulled low;
S704,开机,输出开机检测信号,电源管理芯片输出信号的电压置于高电平;S704, power on, output a power-on detection signal, and the voltage of the output signal of the power management chip is set to a high level;
S705,关机检测信号的电压被拉低;
S705, the voltage of the shutdown detection signal is pulled down;
S706,关机,切断至系统的电源供应,以使得系统电压为0。S706, shut down, cut off the power supply to the system, so that the system voltage is zero.
当用户拨动拨码开关至开机状态,U2电压升高,三极管导通,开机检测信号的电压V(ON)被拉低,电源管理芯片检测到开机检测信号的电压V(ON)被拉低,同时C点电压为高,反向电路、PMOS管导通,电池给系统供电,触发开机,开机完成后,电源管理芯片输出信号的电压V(LDO11)被拉高,这时U2电压下降,三极管截止,开机检测信号的电压V(ON)被释放,完成一个开机流程。当用户拨动拨码开关至关时,关机检测信号的电压V(DET)被拉低,主控芯片检测到这个状态后,开始启动关机流程,当软件完成关机流程后,C点电压变低,反向电路、PMOS管截止,电池和系统电压V(VPH_PWR)隔断,系统电压V(VPH_PWR)为0。当发生死机,拨动拨码开关置关机位置,C点电压变为低,反向电路的输出为高,PMOS管截止,系统电压V(VPH_PWR)为0,实现了系统掉电,再次拨动拨码开关至开机状态,就可以正常开机,实现了复位/重启。When the user dials the DIP switch to the power-on state, the U2 voltage rises, the triode is turned on, the voltage V(ON) of the power-on detection signal is pulled low, and the power management chip detects that the voltage V(ON) of the power-on detection signal is pulled low. At the same time, the voltage at point C is high, the reverse circuit and the PMOS tube are turned on, and the battery supplies power to the system to trigger the power-on. After the power-on is completed, the voltage V (LDO11) of the output signal of the power management chip is pulled high, and the U2 voltage drops. The triode is turned off, and the voltage V(ON) of the power-on detection signal is released to complete a boot process. When the user dials the DIP switch to OFF, the voltage V (DET) of the shutdown detection signal is pulled low. After the main control chip detects this state, it starts the shutdown process. When the software completes the shutdown process, the voltage at point C becomes lower. The reverse circuit, the PMOS transistor is turned off, the battery and the system voltage V (VPH_PWR) are cut off, and the system voltage V (VPH_PWR) is 0. When a crash occurs, dial the DIP switch to turn off the position, the voltage at point C becomes low, the output of the reverse circuit is high, the PMOS transistor is turned off, and the system voltage V (VPH_PWR) is 0, which realizes that the system is powered down and is toggled again. When the DIP switch is turned on, it can be turned on normally and reset/restart is realized.
当电源管理芯片检测到开机检测信号的电压V(ON)为低电位时,启动开机流程,软件得到开机通知后,在终端的屏幕上显示的标识提示用户所述终端处于开机流程。当主控芯片检测到关机检测信号的电压V(DET)被拉低,软件得到关机通知后,启动关机流程,在终端的屏幕上显示的标识提示用户所述终端处于关机流程。When the power management chip detects that the voltage V(ON) of the power-on detection signal is low, the power-on process is started, and after the software is notified of the power-on, the identifier displayed on the screen of the terminal prompts the user that the terminal is in the power-on process. When the main control chip detects that the voltage V (DET) of the shutdown detection signal is pulled low, the software starts the shutdown process after the shutdown notification is received, and the identifier displayed on the screen of the terminal prompts the user that the terminal is in the shutdown process.
根据上述可选实施例的终端开机控制电路和方法,解决了常规的按键式开关机方案需要用户长时间按电源键造成用户体验不好的问题,并且在终端死机时复位/重启,不必在终端上设置一个复位/重启按键,降低了终端的成本。According to the terminal startup control circuit and method of the above optional embodiment, the conventional push button switch solution solution requires the user to press the power button for a long time to cause a bad user experience, and resets/restarts when the terminal crashes, and does not have to be at the terminal. Setting a reset/restart button reduces the cost of the terminal.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,分别接收终端的开机命令和关机命令;S1, respectively receiving a power on command and a shutdown command of the terminal;
S2,将开机命令发送给电源管理电路或将关机命令发送给主控电路;S2, sending a power-on command to the power management circuit or sending a shutdown command to the main control circuit;
S3,根据开机命令导通至终端的系统电路的电源供应,触发终端的开机流程,或,根据关机命令触发终端的关机流程,并指示电源管理电路切断至系统电路的电源供应。
S3, according to the power supply of the system circuit that is turned on to the terminal according to the power-on command, triggering the power-on process of the terminal, or triggering the shutdown process of the terminal according to the shutdown command, and instructing the power management circuit to cut off the power supply to the system circuit.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an alternative embodiment of the present invention, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
本申请提供的终端的开关控制电路中,包括:拨码开关,与控制电路连接,所述拨码开关设置成通过被拨动至其开机位和关机位,分别向所述控制电路发送开机命令和关机命令;控制电路,还与主控电路和电源管理电路连接,设置成根据所述开机命令,指示所述电源管理电路触发所述终端的开机流程,或根据所述关机命令,指示所述主控电路触发所述终端的关机流程;所述电源管理电路,与所述控制电路连接,设置成将所述终端的电源和所述终端的系统电路导通,触发所述终端的开机流程;主控电路,与所述控制电路连接,设置成根据所述关机命令触发所述终端的关机流程,并向所述控制电路发出通知,以使得所述控制电路指示所述电源管理电路切断至所述系统电路的电源供应,解决了相关技术中采用按键式开关控制电路开关机时等待时间较长的问题,进而方便用户对终端进行开关机和复位/重启,提升了终端的用户体验。
The switch control circuit of the terminal provided by the application includes: a dial switch connected to the control circuit, wherein the dial switch is configured to send a power-on command to the control circuit by being toggled to its power-on position and a power-off position, respectively. And a shutdown command; the control circuit is further connected to the main control circuit and the power management circuit, and configured to instruct the power management circuit to trigger the booting process of the terminal according to the boot command, or according to the shutdown command, indicating the The main control circuit triggers a shutdown process of the terminal; the power management circuit is connected to the control circuit, and is configured to turn on the power of the terminal and the system circuit of the terminal, and trigger a boot process of the terminal; a main control circuit, connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit, so that the control circuit instructs the power management circuit to cut off The power supply of the system circuit solves the long waiting time when the button switch control circuit is switched on and off in the related art. Title, and further to the user terminal switch and reset / restart, enhance the user experience of the terminal.
Claims (13)
- 一种终端的开关控制电路,包括:A switch control circuit for a terminal, comprising:拨码开关,与控制电路连接,所述拨码开关设置成通过被拨动至其开机位和关机位,分别向所述控制电路发送开机命令和关机命令;a dial switch connected to the control circuit, wherein the dial switch is configured to send a power on command and a power off command to the control circuit respectively by being toggled to a power on position and a power off position;控制电路,还与主控电路和电源管理电路连接,设置成根据所述开机命令,指示所述电源管理电路触发所述终端的开机流程,或根据所述关机命令,指示所述主控电路触发所述终端的关机流程;The control circuit is further connected to the main control circuit and the power management circuit, and is configured to instruct the power management circuit to trigger a booting process of the terminal according to the power-on command, or instruct the main control circuit to trigger according to the shutdown command The shutdown process of the terminal;所述电源管理电路,与所述控制电路连接,设置成根据所述开机命令导通至所述终端的电源管理芯片的输入电路的电源供应,触发所述终端的开机流程;The power management circuit is connected to the control circuit, and configured to trigger a power supply of the input circuit of the power management chip of the terminal according to the power-on command, and trigger a booting process of the terminal;所述主控电路,与所述控制电路连接,设置成根据所述关机命令触发所述终端的关机流程,并向所述控制电路发出通知,以使得所述控制电路指示所述电源管理电路切断至所述电源管理芯片的输入电路的电源供应。The main control circuit is connected to the control circuit, configured to trigger a shutdown process of the terminal according to the shutdown command, and send a notification to the control circuit, so that the control circuit instructs the power management circuit to cut off Power supply to the input circuit of the power management chip.
- 根据权利要求1所述的电路,所述电源管理电路还设置成若所述终端开机流程完成,将用于指示所述终端开机流程完成的第一信号反馈给所述控制电路。The circuit of claim 1, wherein the power management circuit is further configured to: when the terminal startup process is completed, feed back a first signal for indicating completion of the terminal startup process to the control circuit.
- 根据权利要求2所述的电路,所述控制电路还设置成根据所述第一信号停止接收所述开机命令。The circuit of claim 2, the control circuit further configured to stop receiving the power-on command based on the first signal.
- 根据权利要求1所述的电路,所述主控电路还设置成若所述关机流程完成,将用于指示所述终端关机流程完成的第二信号反馈给所述控制电路。The circuit according to claim 1, wherein the main control circuit is further configured to feed back a second signal for indicating completion of the shutdown process of the terminal to the control circuit if the shutdown process is completed.
- 根据权利要求4所述的电路,所述控制电路还设置成根据所述第二信号指示所述电源管理电路切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第一预设阈值。The circuit of claim 4, the control circuit further configured to instruct the power management circuit to cut off a power supply to the system circuit based on the second signal to cause a system voltage of the terminal to decrease to a first Preset threshold.
- 根据权利要求1所述的电路,所述控制电路还设置成在所述主控电路根据所述关机命令触发所述终端的关机流程之后,获取所述终端的运行状态,其中,所述运行状态包括死机状态和关机状态。The circuit according to claim 1, wherein the control circuit is further configured to acquire an operating state of the terminal after the main control circuit triggers a shutdown process of the terminal according to the shutdown command, wherein the operating state Includes crash status and shutdown status.
- 根据权利要求6所述的电路,所述主控电路还设置成在所述运行状态为死机状态时,指示所述电源管理电路切断至所述系统电路的电源供应,以 使得所述终端的系统电压降低到第二预设阈值。The circuit according to claim 6, wherein the main control circuit is further configured to instruct the power management circuit to cut off a power supply to the system circuit when the operating state is a dead state, The system voltage of the terminal is lowered to a second predetermined threshold.
- 根据权利要求1所述的电路,其中,所述电源管理电路包括:PMOS晶体管、反向电路,三极管,其中,The circuit of claim 1 wherein said power management circuit comprises: a PMOS transistor, a reverse circuit, a triode, wherein所述三极管,设置成在接收到所述开机命令后导通,输出第一电平信号,The triode is configured to be turned on after receiving the boot command, and output a first level signal,所述反向电路,连接于所述三极管,设置成根据所述第一电平信号输出第二电平信号;The reverse circuit is connected to the transistor and configured to output a second level signal according to the first level signal;所述PMOS晶体管,连接于所述反向电路,设置成根据所述第二电平信号导通,输出第三电平信号以导通至所述终端的系统电路的电源供应,触发所述终端的开机流程。The PMOS transistor is connected to the reverse circuit, and is configured to be turned on according to the second level signal, output a third level signal to conduct power supply to a system circuit of the terminal, and trigger the terminal Boot process.
- 一种终端的开关控制方法,包括:A method for controlling a switch of a terminal, comprising:通过拨码开关的关机位接收关机命令;Receiving a shutdown command through the shutdown bit of the dial switch;将所述关机命令发送给主控电路;Sending the shutdown command to the main control circuit;根据所述关机命令触发所述终端的关机流程,并通知电源管理电路切断至系统电路的电源供应。The shutdown process of the terminal is triggered according to the shutdown command, and the power management circuit is notified to cut off the power supply to the system circuit.
- 根据权利要求9所述的方法,在所述通知所述电源管理电路切断至所述系统电路的电源供应的步骤之后,所述方法还包括:The method of claim 9, after the step of notifying the power management circuit to cut off power supply to the system circuit, the method further comprising:通过所述拨码开关的开机位接收开机命令;Receiving a boot command through a boot bit of the dial switch;将所述开机命令发送给电源管理电路;Sending the boot command to the power management circuit;根据所述开机命令导通至所述终端的系统电路的电源供应,触发所述终端的开机流程。And starting the power-on process of the terminal according to the power supply of the system circuit that is turned on to the terminal according to the power-on command.
- 根据权利要求10所述的方法,在所述终端的开机流程完成之后,所述方法还包括:The method of claim 10, after the booting process of the terminal is completed, the method further includes:将用于指示所述终端的开机流程完成的第一信号反馈给控制电路;And transmitting a first signal for indicating completion of the boot process of the terminal to the control circuit;所述控制电路根据所述第一信号停止接收所述开机命令。The control circuit stops receiving the power-on command according to the first signal.
- 根据权利要求9所述的方法,在所述关机流程完成之后,所述方法还包括:The method of claim 9, after the shutdown process is completed, the method further comprises:将用于指示所述终端关机完成的第二信号反馈给所述控制电路; And feeding back, to the control circuit, a second signal used to indicate that the terminal is powered off;所述控制电路根据所述第二信号指示所述电源管理电路切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第一预设阈值。The control circuit instructs the power management circuit to cut off a power supply to the system circuit according to the second signal to cause the system voltage of the terminal to decrease to a first predetermined threshold.
- 根据权利要求9所述的方法,在所述根据所述关机命令触发所述终端的关机流程的步骤之后,所述方法还包括:The method according to claim 9, after the step of triggering the shutdown process of the terminal according to the shutdown command, the method further includes:获取终端的运行状态,其中,所述运行状态包括死机状态和关机状态;Obtaining an operating state of the terminal, where the operating state includes a dead state and a shutdown state;在所述运行状态为死机状态时,指示所述电源管理电路切断至所述系统电路的电源供应,以使得所述终端的系统电压降低到第二预设阈值。 When the operating state is a dead state, the power management circuit is instructed to cut off a power supply to the system circuit to cause the system voltage of the terminal to decrease to a second predetermined threshold.
Applications Claiming Priority (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 |
CN201510694338.6 | 2015-10-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016197984A1 true WO2016197984A1 (en) | 2016-12-15 |
Family
ID=57502938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/085494 WO2016197984A1 (en) | 2015-10-21 | 2016-06-12 | Switch control circuit and method for terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106610714A (en) |
WO (1) | WO2016197984A1 (en) |
Cited By (12)
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 |
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 |
CN110825445A (en) * | 2019-09-29 | 2020-02-21 | 广州视源电子科技股份有限公司 | Timing startup and shutdown system of interactive intelligent panel |
CN112470101A (en) * | 2018-06-07 | 2021-03-09 | 深圳市柔宇科技股份有限公司 | Electronic device, control circuit and control method thereof |
CN112462910A (en) * | 2020-11-11 | 2021-03-09 | 烟台艾睿光电科技有限公司 | Startup and shutdown method, circuit and electronic equipment |
CN113110156A (en) * | 2021-04-07 | 2021-07-13 | 深圳形天半导体有限公司 | LDO chip and intelligent wearable device |
CN114019875A (en) * | 2021-11-05 | 2022-02-08 | 深圳市精锋医疗科技股份有限公司 | Power supply device, method for controlling equipment to be turned on and turned off, working equipment and working system |
CN114362096A (en) * | 2021-11-30 | 2022-04-15 | 江铃汽车股份有限公司 | Power supply management circuit of vehicle-mounted entertainment system |
CN115145349A (en) * | 2021-03-30 | 2022-10-04 | 台达电子工业股份有限公司 | Power supply system and method |
CN117764259A (en) * | 2024-02-21 | 2024-03-26 | 成都喜马科技发展有限公司 | Portable computer teaching system capable of centralized management and implementation method |
CN118012804A (en) * | 2024-04-07 | 2024-05-10 | 浙江华视智检科技有限公司 | Control circuit and slave device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111554399B (en) * | 2020-05-25 | 2023-07-25 | 出门问问信息科技有限公司 | Reset method and device, electronic equipment and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000181609A (en) * | 1998-12-18 | 2000-06-30 | Kenwood Corp | Operation switch identification circuit |
CN1963707A (en) * | 2006-11-24 | 2007-05-16 | 北京中星微电子有限公司 | Apparatus for controlling power supply, method and electron system |
KR20070062078A (en) * | 2005-12-12 | 2007-06-15 | 주식회사 팬택앤큐리텔 | Apparatus for controlling power of mobile communication terminal |
CN201479101U (en) * | 2009-07-31 | 2010-05-19 | 青岛海信电器股份有限公司 | Startup and shutdown and keystroke lock circuit and electronic equipment therewith |
US20120029669A1 (en) * | 2010-07-27 | 2012-02-02 | Sanyo Electric Co., Ltd. | Recording and reproducing apparatus |
CN104538226A (en) * | 2015-01-07 | 2015-04-22 | 深圳市东方拓宇科技有限公司 | Intelligent terminal |
CN104836869A (en) * | 2015-04-30 | 2015-08-12 | 深圳市财富之舟科技有限公司 | Mobile communication terminal and mobile communication terminal power-on method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW576596U (en) * | 2001-11-09 | 2004-02-11 | Tatung Co | Cold-power-on electrical circuit device that is composed by pause key and hot-power-on key in portable information equipment |
CN101673136B (en) * | 2009-10-27 | 2012-01-11 | 中兴通讯股份有限公司 | 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 |
CN102096608B (en) * | 2011-01-17 | 2012-11-28 | 惠州Tcl移动通信有限公司 | Mobile terminal equipment |
CN103327161B (en) * | 2012-03-21 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and fast starting method |
CN103294147B (en) * | 2013-06-24 | 2016-05-18 | 天津七一二通信广播有限公司 | The dynamo-electric road of a kind of software open and close and implementation 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 |
CN104731305B (en) * | 2015-04-03 | 2017-08-25 | 青岛歌尔声学科技有限公司 | Shutdown control circuit and the electronic product with the shutdown control circuit |
CN104932653A (en) * | 2015-06-18 | 2015-09-23 | 常州工学院 | Computer startup management control system |
-
2015
- 2015-10-21 CN CN201510694338.6A patent/CN106610714A/en active Pending
-
2016
- 2016-06-12 WO PCT/CN2016/085494 patent/WO2016197984A1/en active Application Filing
Patent Citations (7)
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 |
CN1963707A (en) * | 2006-11-24 | 2007-05-16 | 北京中星微电子有限公司 | 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 |
US20120029669A1 (en) * | 2010-07-27 | 2012-02-02 | Sanyo Electric Co., Ltd. | Recording and reproducing apparatus |
CN104538226A (en) * | 2015-01-07 | 2015-04-22 | 深圳市东方拓宇科技有限公司 | Intelligent terminal |
CN104836869A (en) * | 2015-04-30 | 2015-08-12 | 深圳市财富之舟科技有限公司 | Mobile communication terminal and mobile communication terminal power-on method |
Cited By (20)
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 |
CN110825445A (en) * | 2019-09-29 | 2020-02-21 | 广州视源电子科技股份有限公司 | Timing startup and shutdown system of interactive intelligent panel |
CN110825445B (en) * | 2019-09-29 | 2023-05-23 | 广州视源电子科技股份有限公司 | Timing startup and shutdown system of interactive intelligent tablet |
CN112462910B (en) * | 2020-11-11 | 2022-07-12 | 烟台艾睿光电科技有限公司 | Startup and shutdown method, circuit and electronic equipment |
CN112462910A (en) * | 2020-11-11 | 2021-03-09 | 烟台艾睿光电科技有限公司 | Startup and shutdown method, circuit and electronic equipment |
CN115145349A (en) * | 2021-03-30 | 2022-10-04 | 台达电子工业股份有限公司 | Power supply system and method |
US11921530B2 (en) | 2021-03-30 | 2024-03-05 | Delta Electronics, Inc. | Power supply system and method |
CN115145349B (en) * | 2021-03-30 | 2024-06-04 | 台达电子工业股份有限公司 | Power supply system and method |
CN113110156B (en) * | 2021-04-07 | 2023-03-21 | 深圳形天半导体有限公司 | LDO chip and intelligent wearable device |
CN113110156A (en) * | 2021-04-07 | 2021-07-13 | 深圳形天半导体有限公司 | LDO chip and intelligent wearable device |
CN114019875A (en) * | 2021-11-05 | 2022-02-08 | 深圳市精锋医疗科技股份有限公司 | Power supply device, method for controlling equipment to be turned on and turned off, working equipment and working system |
CN114019875B (en) * | 2021-11-05 | 2023-12-08 | 深圳市精锋医疗科技股份有限公司 | Power supply device, method for controlling equipment to be started and shut down, working equipment and working system |
CN114362096A (en) * | 2021-11-30 | 2022-04-15 | 江铃汽车股份有限公司 | Power supply management circuit of vehicle-mounted entertainment system |
CN114362096B (en) * | 2021-11-30 | 2023-10-17 | 江铃汽车股份有限公司 | Power management circuit of vehicle-mounted entertainment system |
CN117764259A (en) * | 2024-02-21 | 2024-03-26 | 成都喜马科技发展有限公司 | Portable computer teaching system capable of centralized management and implementation method |
CN117764259B (en) * | 2024-02-21 | 2024-05-07 | 成都喜马科技发展有限公司 | Portable computer teaching system capable of centralized management and implementation method |
CN118012804A (en) * | 2024-04-07 | 2024-05-10 | 浙江华视智检科技有限公司 | Control circuit and slave device |
Also Published As
Publication number | Publication date |
---|---|
CN106610714A (en) | 2017-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016197984A1 (en) | Switch control circuit and method for terminal | |
US20220066862A1 (en) | Recovery Method for Terminal Device Startup Failure and Terminal Device | |
CN106155258B (en) | Power-down protection circuit and related method | |
US20140344620A1 (en) | Shutdown method, startup method, and communication terminal | |
EP2942716A1 (en) | Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal | |
US20150082056A1 (en) | Computer device and method for converting working mode of universal serial bus connector of the computer device | |
WO2016187790A1 (en) | Otg peripheral device, power supply method, terminal and system | |
US20210382789A1 (en) | Method for protecting system from being powered off during upgrade and terminal device | |
US10776128B2 (en) | Method and device for low power power-on processing | |
US20170269659A1 (en) | Disconnecting a battery from a system | |
WO2013033948A1 (en) | Mobile terminal boot control method and mobile terminal | |
TW201732495A (en) | Apparatus and method for restarting an electronic device and electronic device including the apparatus | |
CN108833981B (en) | Startup and shutdown method | |
CN106095625A (en) | Radio reception device starts method and system | |
US20150123495A1 (en) | Reset unit and portable electronic device having same | |
US20120044011A1 (en) | Initiating forced shutdown of a device | |
TWI434184B (en) | Computer device and working mode conversion method of universal serial bus connector thereof | |
WO2014161333A1 (en) | Power-off control method and system for user terminal | |
CN104035784B (en) | A kind of equipment activation system and method | |
CN103544061A (en) | Smart television based safe exit method and device for external storage device | |
CN116599198A (en) | Intelligent door lock double-battery power supply switching method and device, storage medium and door lock | |
US20130061030A1 (en) | System capable of booting through a universal serial bus device and method thereof | |
CN105071952A (en) | Method and system for setting active/standby relationship of double-mainboard OLT equipment | |
JP6335682B2 (en) | Electronic device with reset function | |
CN104867508A (en) | Method and device for continuously playing sound file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16806882 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16806882 Country of ref document: EP Kind code of ref document: A1 |