CN107305416A - A kind of control method and terminal - Google Patents

A kind of control method and terminal Download PDF

Info

Publication number
CN107305416A
CN107305416A CN201610255812.XA CN201610255812A CN107305416A CN 107305416 A CN107305416 A CN 107305416A CN 201610255812 A CN201610255812 A CN 201610255812A CN 107305416 A CN107305416 A CN 107305416A
Authority
CN
China
Prior art keywords
signal
trigger
generating
detection
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610255812.XA
Other languages
Chinese (zh)
Inventor
李小棠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201610255812.XA priority Critical patent/CN107305416A/en
Priority to PCT/CN2016/083297 priority patent/WO2017181479A1/en
Publication of CN107305416A publication Critical patent/CN107305416A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of control method and terminal, including:Trigger action is obtained, trigger signal is generated;The trigger signal is divided into first via trigger signal and the second tunnel trigger signal;Second tunnel trigger signal is sent to processor, signal or data signal are enabled to trigger the processor generation;The detection enable signal or data signal, and according to the corresponding detection signal of testing result generation;According to the first via trigger signal and the detection signal, the control signal for controlling disconnect switch is generated;According to the control signal, control disconnect switch carries out switching manipulation to power circuit, is restarted with disconnecting closure control power management chip by the power circuit.

Description

Control method and terminal
Technical Field
The present invention relates to a restart technology, and in particular, to a control method and a terminal.
Background
In the use process of the intelligent terminal, phenomena such as crash, screen blacking and the like can occur due to system defects (BUG) or application conflicts and the like, and the keys do not react. For a mobile phone with a built-in battery, the mobile phone is generally designed to be restarted after being pressed for 10-20 seconds, but a user often does not read a use instruction in detail, and after the key is not reacted and the power key is pressed to turn on or off, the mobile phone is easy to be damaged and cannot be started, complaints and complaints are generated, and the user experience is poor. Therefore, there is a need for a method of automatically detecting a crash anomaly and restarting.
At present, there are three methods for restarting due to crash: the first is to realize hardware reset or power off by setting a special switch key structure. The second is that the software/hardware recognizes that the key time exceeds a certain time, and triggers the power management chip to reset the processor. The third is to trigger the corresponding switch circuit to power off or reset by setting a key.
The three methods have the following disadvantages: the first method requires a special switch key and has a complex structure. The second method has too long key pressing time and poor user experience, is consistent with the existing 10-20 second long-press restarting scheme of the mobile phone with the built-in battery, and the power management chip is not powered off, the halt may cause the output voltage of part of the power management chip to be abnormal, and the problem cannot be completely solved only by resetting the processor. In the third method, a special key needs to be set, and a user judges whether the computer is halted and then performs corresponding switch operation, so that automatic halt detection and restarting cannot be realized.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a control method and a terminal.
The control method provided by the embodiment of the invention comprises the following steps:
acquiring a trigger operation and generating a trigger signal;
dividing the trigger signal into a first path of trigger signal and a second path of trigger signal;
sending the second path of trigger signal to a processor to trigger the processor to generate an enabling signal or a digital signal;
detecting the enabling signal or the digital signal, and generating a corresponding detection signal according to a detection result;
generating a control signal for controlling a circuit breaker according to the first path of trigger signal and the detection signal;
and controlling a circuit breaker to perform switching operation on the power circuit according to the control signal so as to control the power management chip to restart through the power circuit opening and closing.
In the embodiment of the invention, when the processor generates the enable signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a non-dead halt state; and when the processor does not generate the enabling signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a dead halt state.
In an embodiment of the present invention, the detecting the enable signal or the digital signal and generating a corresponding detection signal according to a detection result includes:
judging whether the enable signal or the digital signal is detected;
when the enabling signal or the digital signal is detected, generating a first detection signal;
and when the enabling signal or the digital signal is not detected, generating a second detection signal.
In an embodiment of the present invention, when the enable signal or the digital signal is detected, generating the first detection signal includes: generating a fixed-width pulse signal;
when the enable signal or the digital signal is not detected, generating a second detection signal includes: a low level signal is generated.
In an embodiment of the present invention, the generating a control signal for controlling a circuit breaker according to the first path of trigger signal and the detection signal includes:
generating a first control signal according to the first path of trigger signal and the second detection signal;
the first control signal is used for controlling the circuit breaker to carry out switching operation on the power circuit so as to control the power management chip to restart through the power circuit opening and closing.
The terminal provided by the embodiment of the invention comprises: the device comprises a trigger device, a processing module, a processor, a detection module, a circuit breaker, a power circuit and a power management chip; wherein,
the trigger device is used for obtaining trigger operation and generating a trigger signal; dividing the trigger signal into a first path of trigger signal and a second path of trigger signal; sending the first path of trigger signal to the processing module; sending the second path of trigger signal to the processor to trigger the processor to generate an enabling signal or a digital signal;
the processor is used for generating an enabling signal or a digital signal under the trigger of the second path of trigger signal;
the detection module is used for detecting the enabling signal or the digital signal and generating a corresponding detection signal according to a detection result;
the processing module is used for generating a control signal for controlling a circuit breaker according to the first path of trigger signal and the detection signal;
and the circuit breaker is used for switching the power supply circuit according to the control signal so as to control the power supply management chip to restart by the power supply circuit to be switched off and switched on.
In the embodiment of the invention, when the processor generates the enable signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a non-dead halt state; and when the processor does not generate the enabling signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a dead halt state.
In the embodiment of the present invention, the detection module is further configured to determine whether the enable signal or the digital signal is detected; when the enabling signal or the digital signal is detected, generating a first detection signal; and when the enabling signal or the digital signal is not detected, generating a second detection signal.
In the embodiment of the present invention, the detection module is further configured to generate a fixed-width pulse signal when the enable signal or the digital signal is detected; and when the enable signal or the digital signal is not detected, generating a low level signal.
In this embodiment of the present invention, the processing module is further configured to generate a first control signal according to the first path of trigger signal and the second detection signal; the first control signal is used for controlling the circuit breaker to carry out switching operation on the power circuit so as to control the power management chip to restart through the power circuit opening and closing.
According to the technical scheme of the embodiment of the invention, trigger operation is obtained, and a trigger signal is generated; generating an enabling signal or a digital signal for controlling the functional module to work according to the trigger signal; detecting the enabling signal or the digital signal, and generating a corresponding detection signal according to a detection result; generating a control signal for controlling a circuit breaker according to the trigger signal and the detection signal; judging whether to control a circuit breaker to carry out switching operation on a power circuit or not according to the control signal; when the circuit breaker is controlled to carry out switching operation on the power circuit, the power management chip is controlled to restart through the on-off of the power circuit. The technical scheme of the embodiment of the invention can automatically detect whether the terminal is halted or not and automatically restart the terminal in the halted state.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic flowchart of a control method according to a first embodiment of the invention;
fig. 2 is a schematic structural diagram of a terminal according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a control method according to a third embodiment of the present invention;
FIG. 4 is a block diagram of a detection module according to an embodiment of the present invention;
FIG. 5 is a block circuit diagram of a processing module according to an embodiment of the invention;
FIG. 6 is a timing diagram of the internal circuit pulses of the detection module and the processing module according to the embodiment of the present invention.
Detailed Description
In the technical solutions of the embodiments of the present invention, the terminal includes: power, power management chip, treater, functional module (including display module, the module of making a video recording, loudspeaker power amplifier, vibrations circuit etc.), trigger device (including power key, volume key, the key of shooing and fingerprint identification module etc.), in addition, the terminal still includes: detection module, processing module, circuit breaker. The trigger device is used for generating a trigger signal and triggering the processor to output an enable signal or a digital signal to the corresponding functional module; the detection module is used for detecting an enabling signal or a digital signal output by the processor; the processing module is used for processing the trigger signal generated by the trigger device and the detection signal output by the detection module; the disconnection switch is used to perform a switching operation on the power supply circuit.
Based on the terminal composition structure, the control method of the embodiment of the invention is provided. Fig. 1 is a schematic flow chart of a control method according to a first embodiment of the present invention, as shown in fig. 1, the control method includes the following steps:
step 101: acquiring a trigger operation and generating a trigger signal; and dividing the trigger signal into a first path of trigger signal and a second path of trigger signal.
In the embodiment of the invention, the trigger device outputs a trigger signal after being triggered by a user, the trigger device divides the trigger signal into two paths, and the second path of trigger signal is sent to the processor; and the first path of trigger signal is sent to the processing device.
Step 102: and sending the second path of trigger signal to a processor to trigger the processor to generate an enabling signal or a digital signal.
In the embodiment of the invention, after receiving the second path of trigger signal, the processor outputs an enable signal or a digital signal to the corresponding functional module.
Specifically, when the processor generates the enable signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a non-dead halt state; and when the processor does not generate the enabling signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a dead halt state.
Step 103: and detecting the enabling signal or the digital signal, and generating a corresponding detection signal according to a detection result.
In the embodiment of the invention, the detection module detects the enable signal or the digital signal output by the processor, and respectively outputs the corresponding detection signals to the processing module according to the existence or nonexistence of the enable signal or the digital signal.
Specifically, the detection module judges whether the enable signal or the digital signal is detected; when the enabling signal or the digital signal is detected, generating a first detection signal; and when the enabling signal or the digital signal is not detected, generating a second detection signal.
In the foregoing aspect, generating the first detection signal includes: generating a fixed-width pulse signal; generating the second detection signal includes: a low level signal is generated.
Step 104: and generating a control signal for controlling the circuit breaker according to the first path of trigger signal and the detection signal.
Specifically, a first control signal is generated according to the first path of trigger signal and the second detection signal; the first control signal is used for controlling the circuit breaker to carry out switching operation on the power circuit so as to control the power management chip to restart through the power circuit opening and closing.
In addition, a second control signal is generated according to the first path of trigger signal and the first detection signal; the second control signal is used to maintain the state of the circuit breaker and thus the state of the power circuit (i.e., closed state).
In the embodiment of the invention, after receiving the first path of trigger signal, the processing module firstly adjusts the pulse signal of the first path of trigger signal to obtain the pulse signal with fixed width. Accordingly, when the detection module detects the enable signal or the digital signal, a pulse signal of a fixed width is generated as the first detection signal. Then, the processing module processes the two paths of pulse signals with fixed widths, and the processing result is that a second control signal is generated; or, when the detection module does not detect the enable signal or the digital signal, a low-frequency signal is generated as a second detection signal, the processing module processes the first path of trigger signal and the second detection signal, and the processing result is the generation of the first control signal.
Step 105: and controlling a circuit breaker to perform switching operation on the power circuit according to the control signal so as to control the power management chip to restart through the power circuit opening and closing.
In the embodiment of the invention, the circuit breaker determines whether to perform corresponding switching operation on the power circuit according to the control signal output by the processing module.
Fig. 2 is a schematic structural composition diagram of a terminal according to a second embodiment of the present invention, and as shown in fig. 2, the terminal includes:
power supply 21: a terminal power supply;
the cut-off switch 22: switching action for power supply output;
the power management chip 23: outputting the regulated power supply to each module circuit;
the processor 24: control management for the functional modules;
the functional module 25 comprises a display module, a camera module, a loudspeaker power amplifier, a vibration circuit and the like;
the detection module 26: detecting an enable signal or a digital signal output by the processor;
the trigger device 27: the system comprises a power key, a volume key, a photographing key, a fingerprint identification module and the like, and is used for generating a trigger signal and triggering a processor to output an enable signal or a digital signal to a corresponding functional module;
the processing module 28: the device is used for processing the trigger signal generated by the trigger device and the output signal of the detection module.
When the control method of the embodiment of the invention is realized by the terminal of the embodiment of the invention, each module has the following functions:
the trigger device 27 is used for obtaining a trigger operation and generating a trigger signal; dividing the trigger signal into a first path of trigger signal and a second path of trigger signal; sending the first trigger signal to the processing module 28; sending the second trigger signal to the processor 24 to trigger the processor 24 to generate an enable signal or a digital signal;
the processor 24 is configured to generate an enable signal or a digital signal under the trigger of the second path of trigger signal;
the detection module 26 is configured to detect the enable signal or the digital signal, and generate a corresponding detection signal according to a detection result;
the processing module 28 is configured to generate a control signal for controlling the circuit breaker 22 according to the first path of trigger signal and the detection signal;
and the circuit breaker 22 is used for performing switching operation on the power circuit according to the control signal so as to control the power management chip 23 to restart through the power circuit opening and closing.
When the processor 24 generates the enable signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a non-dead halt state; when the processor 24 does not generate the enable signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a dead halt state.
The detection module 26 is further configured to determine whether the enable signal or the digital signal is detected; when the enabling signal or the digital signal is detected, generating a first detection signal; and when the enabling signal or the digital signal is not detected, generating a second detection signal.
The detection module 26 is further configured to generate a fixed-width pulse signal when the enable signal or the digital signal is detected; and when the enable signal or the digital signal is not detected, generating a low level signal.
The processing module 28 is further configured to generate a first control signal according to the first path of trigger signal and the second detection signal; the first control signal is used for controlling the circuit breaker 22 to perform switching operation on the power circuit, so as to control the power management chip 23 to restart through the circuit breaker.
The working sequence of each module in the terminal is as follows: first, the trigger device 27 generates a trigger signal, which is divided into two paths, wherein one path is: trigger signal > power management chip 23/processor 24 (output enable signal) > detection module 26 (detection enable signal output detection signal) > processing module 28; the other path is as follows: trigger signal > processing module 28; next, the processing module 28 obtains two signals (the detection signal and the trigger signal output by the detection module 26), and outputs a control signal to control whether the circuit breaker 22 performs a switching operation.
Fig. 3 is a flowchart of a control method according to a third embodiment of the present invention, and as shown in fig. 3, the flowchart includes: the trigger device outputs a pulse signal after triggering, one path of the pulse signal is transmitted to the processing module for pulse signal adjustment, and a pulse signal with a fixed width is output; the other path of trigger processor outputs an enabling signal, the enabling signal output by the processor is detected by the detection module, different detection results are respectively output to the processing module according to the existence of the enabling signal, if the detection module detects the enabling signal, a corresponding detection result signal (such as a pulse signal with a fixed width) is output to the processing module, the processing module processes the detecting signal output by the detection module and the pulse signal output by the trigger device, and the circuit breaker maintains the original state without outputting a control signal to the circuit breaker; if the detection module fails to detect the enabling signal, no corresponding detection signal is output, and the processing module does not acquire the detection signal output by the detection module, the pulse signal output by the trigger device is processed and then a control signal is output to drive the circuit breaker to act, so that the power output circuit is instantly opened and closed to cause the management chip to be restarted in a power failure mode.
The following further describes the crash restart process with specific embodiments, where the triggering device takes a power key as an example, and the detection signal of the detection module takes an enable signal output by the processor as an example.
The block diagram of the detection module is shown in fig. 4, and the detection module mainly comprises a rising edge trigger circuit, a falling edge trigger circuit, an adder circuit and a pulse adjusting circuit. The rising edge trigger circuit is used for generating a forward pulse signal when the input voltage is changed from a low level to a high level, and no output is generated when the input voltage is unchanged; the falling edge trigger circuit is used for generating a forward pulse signal when the input voltage is changed from a high level to a low level, and no output is generated when the input voltage is unchanged; the adder circuit is used for addition operation of the outputs of the two trigger circuits; the pulse adjusting circuit is used for adjusting the pulse width and outputting a pulse signal with fixed width.
The processing module mainly comprises a delay circuit and a switch circuit, the circuit block diagram of the processing module is shown in figure 5, and the pulse adjusting circuit is used for adjusting the pulse width and outputting a pulse signal with fixed width; the pulse delay circuit is used for delaying the input pulse signal for a period of time; the switch circuit carries out on-off processing of input and output signals according to the output signals of the detection module, when the detection module outputs low level signals, the switch circuit is conducted, and when the detection module outputs high level signals, the switch circuit is not conducted.
In the embodiment of the present invention, a signal process is detected by a crash, as shown in fig. 6: the power key triggers a negative pulse, one negative pulse is sent to the processing module, the negative pulse with the width of t0 is output after passing through the pulse adjusting circuit, and then the pulse signal is delayed for a period of time t1(t1 is the latest time for the processor to output an enabling signal after the key is allowed to trigger) and is sent to the switch circuit through the pulse delay circuit; the other path is through the power management chip, and the processor outputs an enabling signal to a corresponding functional module, such as a display module and the like; the enabling signal output by the processor has high and low level jump, the enabling signal is divided into two paths after being input into the detection module, passes through the rising edge trigger circuit and the falling edge trigger circuit and is superposed and output through the adder circuit, so that the enabling signal can realize the output of a forward pulse no matter the enabling signal is subjected to low level jump high level or high level jump low level, and the forward pulse with the width of (t0+ t1) is output through the pulse adjusting circuit and is transmitted to the switch circuit in the processing module to be used as a driving signal of the switch circuit; when the switch circuit inputs a high-level driving signal, the switch circuit is closed, and when the switch circuit inputs a low-level driving signal, the switch circuit is conducted; after the key is triggered, the pulse time sequence of the internal circuits of the detection module and the processing module is shown in figure 6; when the key is triggered, if the processor works normally and outputs an enable signal, a positive pulse with the width of (t0+ t1) is output through the detection module to close a switch circuit in the processing module, and the key trigger signal cannot be transmitted to the circuit breaker through the switch circuit; if the processor is halted abnormally and fails to output the enabling signal in time after the key is triggered, the detection module cannot output a high-level pulse signal to a switch circuit in the processing module, the switch circuit is in a conducting state, the key triggering signal is output by the processing module to a negative-going pulse signal, the negative-going pulse signal is transmitted to the circuit breaker through the switch circuit, the circuit breaker is driven to carry out instantaneous opening and closing operation on power output, and then the power management chip is restarted due to instantaneous power failure.
The detection module and the processing module are all electronic circuits, and the circuit breaking switch can be an electromagnetic switch or an electronic circuit switch, which is not described in detail here.
The crash detection and restart process is only an embodiment of the present invention, and is not intended to limit the scope of the present invention, and all methods that use the detection device to detect the trigger signal and the corresponding processor output signal to control the power output switch are included in the scope of the present invention.
When a user uses the intelligent terminal, the user presses a power key each time, standby or awakening operation can be carried out on the terminal, a trigger signal can be generated when the power key is pressed, one side of the trigger signal is adjusted through the processing module, the other side of the trigger signal triggers the processor to output an enabling signal to the display module, the detection module outputs different detection signals to the processing module correspondingly through detecting whether the enabling signal exists or not, the processing module processes and judges the trigger signal and the detection signal, if the terminal works normally, the processing module does not output a control signal to the action of the circuit breaker, if the terminal works abnormally, the processing module outputs the control signal to the action of the circuit breaker, and the terminal can be automatically restarted after power failure; the realization effect is that when the terminal is normally used, the key function is normally used, and the terminal can not be triggered to restart; and if the terminal is in crash abnormity in the using process, the user presses a key to automatically restart the terminal. The user is not required to judge whether the terminal is dead or not by himself or not, and whether the battery needs to be disassembled or assembled or other resetting devices are operated to restart the terminal.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A control method, characterized in that the method comprises:
acquiring a trigger operation and generating a trigger signal;
dividing the trigger signal into a first path of trigger signal and a second path of trigger signal;
sending the second path of trigger signal to a processor to trigger the processor to generate an enabling signal or a digital signal;
detecting the enabling signal or the digital signal, and generating a corresponding detection signal according to a detection result;
generating a control signal for controlling a circuit breaker according to the first path of trigger signal and the detection signal;
and controlling a circuit breaker to perform switching operation on the power circuit according to the control signal so as to control the power management chip to restart through the power circuit opening and closing.
2. The control method according to claim 1, wherein when the processor generates the enable signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a non-dead halt state; and when the processor does not generate the enabling signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a dead halt state.
3. The control method according to claim 1, wherein the detecting the enable signal or the digital signal and generating a corresponding detection signal according to the detection result comprises:
judging whether the enable signal or the digital signal is detected;
when the enabling signal or the digital signal is detected, generating a first detection signal;
and when the enabling signal or the digital signal is not detected, generating a second detection signal.
4. The crash restart method according to claim 3,
when the enable signal or the digital signal is detected, generating a first detection signal includes: generating a fixed-width pulse signal;
when the enable signal or the digital signal is not detected, generating a second detection signal includes: a low level signal is generated.
5. The crash restart method according to claim 3 or 4, wherein the generating a control signal for controlling a circuit breaker according to the first trigger signal and the detection signal comprises:
generating a first control signal according to the first path of trigger signal and the second detection signal;
the first control signal is used for controlling the circuit breaker to carry out switching operation on the power circuit so as to control the power management chip to restart through the power circuit opening and closing.
6. A terminal, characterized in that the terminal comprises: the device comprises a trigger device, a processing module, a processor, a detection module, a circuit breaker, a power circuit and a power management chip; wherein,
the trigger device is used for obtaining trigger operation and generating a trigger signal; dividing the trigger signal into a first path of trigger signal and a second path of trigger signal; sending the first path of trigger signal to the processing module; sending the second path of trigger signal to the processor to trigger the processor to generate an enabling signal or a digital signal;
the processor is used for generating an enabling signal or a digital signal under the trigger of the second path of trigger signal;
the detection module is used for detecting the enabling signal or the digital signal and generating a corresponding detection signal according to a detection result;
the processing module is used for generating a control signal for controlling a circuit breaker according to the first path of trigger signal and the detection signal;
and the circuit breaker is used for switching the power supply circuit according to the control signal so as to control the power supply management chip to restart by the power supply circuit to be switched off and switched on.
7. The terminal of claim 6, wherein when the processor generates the enable signal or the digital signal under the trigger of the second trigger signal, the state of the terminal is a non-dead halt state; and when the processor does not generate the enabling signal or the digital signal under the trigger of the second path of trigger signal, the state of the terminal is a dead halt state.
8. The terminal of claim 6, wherein the detecting module is further configured to determine whether the enabling signal or the digital signal is detected; when the enabling signal or the digital signal is detected, generating a first detection signal; and when the enabling signal or the digital signal is not detected, generating a second detection signal.
9. The terminal of claim 8, wherein the detecting module is further configured to generate a fixed-width pulse signal when the enable signal or the digital signal is detected; and when the enable signal or the digital signal is not detected, generating a low level signal.
10. The terminal according to claim 8 or 9, wherein the processing module is further configured to generate a first control signal according to the first path of trigger signal and the second detection signal; the first control signal is used for controlling the circuit breaker to carry out switching operation on the power circuit so as to control the power management chip to restart through the power circuit opening and closing.
CN201610255812.XA 2016-04-21 2016-04-21 A kind of control method and terminal Pending CN107305416A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610255812.XA CN107305416A (en) 2016-04-21 2016-04-21 A kind of control method and terminal
PCT/CN2016/083297 WO2017181479A1 (en) 2016-04-21 2016-05-25 Control method and terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610255812.XA CN107305416A (en) 2016-04-21 2016-04-21 A kind of control method and terminal

Publications (1)

Publication Number Publication Date
CN107305416A true CN107305416A (en) 2017-10-31

Family

ID=60115697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610255812.XA Pending CN107305416A (en) 2016-04-21 2016-04-21 A kind of control method and terminal

Country Status (2)

Country Link
CN (1) CN107305416A (en)
WO (1) WO2017181479A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459879A (en) * 2018-01-17 2018-08-28 宇龙计算机通信科技(深圳)有限公司 A kind of method preventing terminal crash, terminal
CN108762981A (en) * 2018-04-27 2018-11-06 Oppo广东移动通信有限公司 Blank screen processing method and relevant apparatus
TWI720615B (en) * 2019-09-12 2021-03-01 神雲科技股份有限公司 Computer device and shutdown and reboot controlling method thereof
CN113341827A (en) * 2021-06-18 2021-09-03 南昌华勤电子科技有限公司 Control method and device of power supply chip
CN113470585A (en) * 2021-04-07 2021-10-01 惠州市德赛西威汽车电子股份有限公司 Protection circuit and method for preventing continuous black screen of LCD screen

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888748A (en) * 2018-09-10 2020-03-17 欣技资讯股份有限公司 Method for preventing data loss after free falling and handheld device thereof
CN113821070B (en) * 2021-08-20 2022-12-20 浙江大华技术股份有限公司 Power supply control system, method, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572110A (en) * 2012-02-07 2012-07-11 深圳市金立通信设备有限公司 Smart phone power-down protection system and method
CN106488019B (en) * 2014-09-12 2019-08-16 青岛海信移动通信技术股份有限公司 A kind of starting-up method of mobile terminal and mobile terminal
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459879A (en) * 2018-01-17 2018-08-28 宇龙计算机通信科技(深圳)有限公司 A kind of method preventing terminal crash, terminal
CN108459879B (en) * 2018-01-17 2021-08-17 宇龙计算机通信科技(深圳)有限公司 Method for preventing terminal from crashing and terminal
CN108762981A (en) * 2018-04-27 2018-11-06 Oppo广东移动通信有限公司 Blank screen processing method and relevant apparatus
TWI720615B (en) * 2019-09-12 2021-03-01 神雲科技股份有限公司 Computer device and shutdown and reboot controlling method thereof
CN113470585A (en) * 2021-04-07 2021-10-01 惠州市德赛西威汽车电子股份有限公司 Protection circuit and method for preventing continuous black screen of LCD screen
CN113341827A (en) * 2021-06-18 2021-09-03 南昌华勤电子科技有限公司 Control method and device of power supply chip

Also Published As

Publication number Publication date
WO2017181479A1 (en) 2017-10-26

Similar Documents

Publication Publication Date Title
CN107305416A (en) A kind of control method and terminal
US10291847B2 (en) Portable device and manipulation method
CN105527511A (en) Automatic device recovery method, device and system
US20170143252A1 (en) Sleep state detection method, apparatus and system
RU2701057C1 (en) Method and device for displaying time on a mobile device
CN109960616A (en) The adjustment method and system of processor-based memory parameters
CN103024200B (en) Be applied to image pickup method and the filming apparatus of intelligent terminal
CN104079967A (en) Communication method and device for module televisions
US20140189338A1 (en) Electronic device and method for detecting booting time period for electronic device
CN104536551A (en) Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
CN101087130B (en) Audio device protection system
WO2016101713A1 (en) Method and device for controlling switch of socket
US20130221999A1 (en) Testing system and method
CN105487680A (en) Terminal screen capture method and apparatus and terminal
CN106325454B (en) Power supply control device and method and electronic equipment
CN103777738B (en) Timed power on/off method based on Android system and equipment thereof
WO2019056659A1 (en) Status detection method and device, and storage medium
CN104156993A (en) Method and device for switching face image in picture
CN104346119B (en) The method and electronic equipment of display
CN106371938A (en) Automatic intelligent delaying shutdown system and method
CN104184479A (en) De-jittering button detection method capable of avoiding omission of events
CN104298528A (en) Application program installation control method and device
CN104461358A (en) Method and device for lightening screen
CN111246199A (en) Control method and device for camera test, terminal equipment and storage medium
CN105159434A (en) Time display method, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171031