CN110727626A - Method for implementing forced downloading by terminal - Google Patents
Method for implementing forced downloading by terminal Download PDFInfo
- Publication number
- CN110727626A CN110727626A CN201910902648.0A CN201910902648A CN110727626A CN 110727626 A CN110727626 A CN 110727626A CN 201910902648 A CN201910902648 A CN 201910902648A CN 110727626 A CN110727626 A CN 110727626A
- Authority
- CN
- China
- Prior art keywords
- terminal
- forced
- download
- key
- download port
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000011161 development Methods 0.000 description 7
- 238000009826 distribution Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method for realizing forced downloading of a terminal.A logic gate circuit is arranged on a mainboard of the terminal to ensure that the terminal is short-circuited, and simultaneously a hardware trap signal is used for changing a downloading port signal; the terminal is linked with the computer through the USB, and the power key and the volume key of the terminal are pressed simultaneously, and the terminal platform forcibly enters the download port.
Description
Technical Field
The invention belongs to the technical field of communication terminal research and development, and particularly relates to a method for realizing forced downloading by a terminal.
Background
With the development of society, intelligent terminals become a part which can be or can not be found in the middle of the life of people, the intelligent terminals comprise intelligent terminals based on a joint department chip and a high-pass chip and the like, in the development process, the terminals which download programs can not enter a downloading port if the terminals are halted and can not be refreshed.
On the basis of the intelligent terminal of the joint issue department chip, if the intelligent terminal is halted, the key line scan 0(KPCOL0) and a short circuit are required to be forcibly downloaded, if the mobile phone is a whole phone, the intelligent terminal needs to be dismounted, the downloading is troublesome and the development time is wasted, and if the key line scan 0(KPCOL0) is directly used as a volume key, the risk that a user forcibly refreshes the phone at will exists; the intelligent terminal based on the high-pass chip and the terminal which downloads the program need to be FORCED to enter a download port (FORCED _ USB _ BOOT) and a 1.8V power supply short circuit or an ADB command (a command input in a DOS environment and sent to a mobile phone through a USB) if the intelligent terminal is in a dead halt and cannot enter the download port, and the intelligent terminal and the terminal which download the program are troublesome and waste development time can be realized if the intelligent terminal is a complete machine and the terminal needs to be dismounted.
Currently, the forced download mode is: after entering a fast boot (FASTBOOT) mode, entering a download port by restarting through an ADB command (FASTBOOT em reboot-edl), which may of course also enter the download port through the ADB in a normal mode, but this premise is that the terminal does not crash, and if the terminal crashes, the implementation cannot be achieved.
Chinese patent CN 109597637 a discloses a forced downloading device and a method for entering into a forced downloading mode, wherein the forced downloading device includes: electrodes and forced down-load switches; the electrode comprises a positive electrode, a data negative electrode and a negative electrode; the two ends of the forced download switch are respectively connected with the data anode and the cathode, the forced download switch controls the data anode to be in short circuit with the cathode, so that the intelligent terminal enters a forced download mode, the terminal can be free from being dismounted when entering a forced download port by using the device, the research and development cost of the terminal is correspondingly increased, and the terminal is not beneficial to competition in the market.
Disclosure of Invention
In view of the defects of the prior art, the present invention aims to provide a method for implementing forced downloading by a terminal, and aims to solve the problems that a crash occurs in the terminal development process, and the terminal is flushed or a downloading port is accessed complicatedly.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for realizing forced downloading by a terminal comprises the following steps:
arranging a logic gate circuit on a mainboard of the terminal to enable the terminal to be short-circuited, and simultaneously changing a download port signal by using a hardware trap signal;
the terminal is linked with the computer through the USB, and simultaneously, a power key and a volume key of the terminal are pressed, so that the terminal platform forcibly enters the download port.
For the improvement of the invention, the terminal is based on a joint chip platform or the terminal is based on a high-pass chip platform.
For the improvement of the invention, the terminal based on the joint chip comprises: the logic gate circuit is an OR gate, so that the key row scanning 0 is short-circuited to the ground, the key row scanning 0 based on the joint chip platform is at a low level, and meanwhile, the key row scanning 0 is used for changing a download port signal.
For the improvement of the invention, the terminal based on the high-pass chip platform comprises: the logic gate circuit is a NOR gate, so that the download port and the power supply are short-circuited, the download port based on the high-pass chip platform is at a high level, and meanwhile, forced USB upgrading is used for changing download port signals.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a method for realizing forced downloading of a terminal.A logic gate circuit is arranged on a mainboard of the terminal to ensure that the terminal is short-circuited, and simultaneously a hardware trap signal is used for changing a downloading port signal; the terminal is linked with the computer through the USB, and simultaneously, a power key and a volume key of the terminal are pressed, so that the terminal platform forcibly enters the download port. The invention does not need to additionally increase a device for making the terminal enter the forced downloading mode, can make the terminal enter the forced downloading mode without disassembling the machine, simplifies the program for making the terminal enter the forced downloading mode, saves the time and the cost, and avoids the risk possibly brought by disassembling the machine.
Drawings
FIG. 1 is a schematic flow chart of a method for implementing forced downloading by a terminal according to the present invention;
FIG. 2 is a schematic circuit diagram illustrating a terminal entering a forced download port based on a chip platform in a distribution department according to the present invention;
FIG. 3 is a schematic circuit diagram of a terminal implementing access to a forced download port based on a high-pass chip platform according to the present invention;
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In this embodiment, the terminal includes a mobile phone, a tablet computer, an intelligent bracelet, and other devices using a high-pass chip or a joint chip, which is not described herein again.
As shown in fig. 1, the method for implementing forced downloading by a terminal provided by the present invention includes the following steps:
s10, arranging a logic gate circuit on the main board of the terminal to short-circuit the terminal, and changing a download port signal by using a hardware trap signal;
specifically, the level signal of the download port is changed through the logic gate circuit, a low level or a high level is obtained through the logic gate circuit, the terminal is short-circuited and is transmitted to the download port signal (both the terminal based on the distribution department chip platform and the terminal based on the high-pass chip platform have the signal), and the USB link computer is inserted at the time, so that the download mode can be forced. Therefore, the dead terminal can enter a forced downloading mode to refresh the software version without disassembling the terminal.
S20, the terminal is linked with the computer through USB, and the terminal platform is forced to enter the download port by pressing the power key and volume key of the terminal at the same time.
After the terminal is linked with a computer through a USB, the terminals of different chip platforms have respective downloading software, the downloading port can be seen, other operations are not needed, the operation is convenient and simple, and the terminal platform can forcibly enter the downloading port by pressing a power key and a volume key of the terminal at the same time.
If the download port is directly integrated in the volume key or the power key, the risk that the user forces any flash, that is, the user enters forced flash when mistakenly touching the volume key or the power key for a predetermined time, and in order to eliminate the risk that the user mistakenly enters forced flash, the user needs to simultaneously press the power key and the volume key of the terminal for a predetermined time to enter the forced flash mode.
Specifically, the terminal is based on a joint department chip platform or the terminal is based on a high-pass chip platform.
Example one
Referring to fig. 2, fig. 2 is a schematic circuit diagram of a terminal based on a distribution department chip platform for enabling a terminal to enter a forced download port, which is not required to be dismounted, and is also expected to be able to enter the forced download port (the port based on the distribution department chip platform is called as USB enumeration, and a port signal based on the distribution department chip platform is called as key row scan 0), an or gate can be used for enabling a key row scan 0(KPCOL0) to be pulled down by pressing a power-on key and a volume reduction key for a long time, and a hardware trap is used when the key row scan 0 is at a low level, so that the terminal enters the forced download port.
Specifically, the terminal includes, based on a joint chip: an OR gate is arranged on a main board of a terminal based on a chip platform of the department of communications, so that the key line scanning 0 is at a low level, a hardware trap (key line scanning 0) is used for changing a download port signal, a USB (universal serial bus) is inserted into a linked computer, and a power key and a volume key of the terminal are pressed simultaneously, so that the terminal can be forced to enter a download mode. Therefore, the dead terminal can enter a forced downloading mode to refresh the software version without disassembling the terminal.
An OR gate (OR gate), also called an OR circuit, a logic circuit, and a circuit, is illustrated. If, of several conditions, an event occurs as long as one is satisfied, this relationship is called an "OR" logical relationship. A circuit having an or logical relationship is called an or gate. The OR gate has a plurality of input ends and an output end, and the output end is high level (logic '1') as long as one of the input ends is high level (logic '1'); the output is low (logic "0") only if all inputs are low (logic "0").
Example two
Referring to fig. 3, fig. 3 is a schematic circuit diagram illustrating a terminal based on a high-pass chip platform for entering a FORCED download port, when the terminal crashes and does not want to be dismounted during development, it is desirable to enter the FORCED download port (FORCED _ USB _ BOOT, the port based on the high-pass chip platform is also referred to as 9008 port, and the port signal based on the high-pass chip platform is called FORCED USB upgrade), a hardware trap signal (FORCED USB upgrade) is used to change a download port signal (a hardware trap signal of the platform itself), the level of the FORCED USB upgrade can be inverted to a high level by pressing a power-on key and a volume-down key for a long time, and the FORCED USB upgrade signal is a hardware trap when the FORCED USB upgrade signal is a high level.
Specifically, the terminal includes, based on a high-pass chip platform: the logic gate circuit is a NOR gate, so that the download port and the power supply are short-circuited, the download port based on the high-pass chip platform is at a high level, a hardware trap (forced USB upgrading) is used for changing a download port signal, a USB link computer is inserted, and a power key and a volume key of a terminal are pressed at the same time, so that the download mode can be forced. Therefore, the dead terminal can enter a forced downloading mode to refresh the software version without disassembling the terminal.
It should be noted that a NOR gate (english: NOR gate) is a basic element in a digital logic circuit, and implements a logical NOR function. There are multiple inputs, 1 output, and the multiple input nor gate can be composed of a 2 input nor gate and an inverter. The output is high (logic 1) only when both inputs a and B are low (logic 0). It is also understood that any input is high (logic 1) and the output is low (logic 0).
It should be noted that, when the terminal is linked to the computer through the USB, the "key line scan 0" signal of the platform of the department of communications enters the download mode when the signal is low, and the "forced USB upgrade" signal of the high-pass platform enters the download port when the signal is high, which is a characteristic of the platform itself.
It should be noted that it is effective that the download signal of the terminal based on the distribution department chip platform is at a low level, and it is effective that the download signal of the terminal based on the high-pass chip platform is at a high level, which is a characteristic of the platform itself, so that the download signal of the terminal based on the high-pass chip platform needs to be inverted to a high level.
It should be noted that, in the scheme of the present invention, based on a crash situation encountered in a terminal development process, a logic gate circuit (the logic gate circuit includes an or gate and an or gate, and the use of the or gate or the use of the or gate is determined according to whether the terminal is based on a distribution department chip platform or whether the terminal is based on a high-pass chip platform) is set on a motherboard of the terminal, mainly for the purpose of facilitating debugging, and after mass production of the terminal, if there is no bug (some undetected defects, bugs or problems), the logic gate circuit can be removed from the cost; of course, if the forced download port is available for later after-sales service, the logic gate may or may not be removed.
The invention does not need to additionally increase a device for making the terminal enter the forced downloading mode, can make the terminal enter the forced downloading mode without disassembling the machine, simplifies the program for making the terminal enter the forced downloading mode, saves the time and the cost, and avoids the risk possibly brought by disassembling the machine.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.
Claims (4)
1. A method for terminal forced downloading is characterized by comprising the following steps:
arranging a logic gate circuit on a mainboard of the terminal to enable the terminal to be short-circuited, and simultaneously changing a download port signal by using a hardware trap signal;
the terminal is linked with the computer through the USB, and simultaneously, a power key and a volume key of the terminal are pressed, so that the terminal platform forcibly enters the download port.
2. The method for realizing the forced download of the terminal according to claim 1, wherein the terminal is based on a concurrency department chip platform or the terminal is based on a high-pass chip platform.
3. The method for realizing forced downloading by the terminal according to claim 2, wherein the terminal based on the concurrency department chip comprises: the logic gate circuit is an OR gate, so that the key row scanning 0 is short-circuited to the ground, the key row scanning 0 based on the joint chip platform is at a low level, and meanwhile, the key row scanning 0 is used for changing a download port signal.
4. The method for implementing forced download of the terminal according to claim 2, wherein the terminal based on a high-pass chip platform comprises: the logic gate circuit is a NOR gate, so that the download port and the power supply are short-circuited, the download port based on the high-pass chip platform is at a high level, and meanwhile, forced USB upgrading is used for changing download port signals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910902648.0A CN110727626A (en) | 2019-09-24 | 2019-09-24 | Method for implementing forced downloading by terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910902648.0A CN110727626A (en) | 2019-09-24 | 2019-09-24 | Method for implementing forced downloading by terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110727626A true CN110727626A (en) | 2020-01-24 |
Family
ID=69218319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910902648.0A Pending CN110727626A (en) | 2019-09-24 | 2019-09-24 | Method for implementing forced downloading by terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110727626A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4124957A3 (en) * | 2021-09-08 | 2023-05-03 | Beijing Baidu Netcom Science Technology Co., Ltd. | Core board, server, fault repairing method and apparatus, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1749965A (en) * | 2004-08-24 | 2006-03-22 | Lg电子株式会社 | Forcibly downloading program in mobile communications terminal |
CN106534405A (en) * | 2016-09-21 | 2017-03-22 | 青岛海信移动通信技术股份有限公司 | Pin control method and smart terminal |
CN109327581A (en) * | 2018-11-28 | 2019-02-12 | 努比亚技术有限公司 | A kind of downloading switching device and mobile terminal |
CN109597637A (en) * | 2018-12-10 | 2019-04-09 | 惠州Tcl移动通信有限公司 | Force download device and the method for entering force download mode |
-
2019
- 2019-09-24 CN CN201910902648.0A patent/CN110727626A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1749965A (en) * | 2004-08-24 | 2006-03-22 | Lg电子株式会社 | Forcibly downloading program in mobile communications terminal |
CN106534405A (en) * | 2016-09-21 | 2017-03-22 | 青岛海信移动通信技术股份有限公司 | Pin control method and smart terminal |
CN109327581A (en) * | 2018-11-28 | 2019-02-12 | 努比亚技术有限公司 | A kind of downloading switching device and mobile terminal |
CN109597637A (en) * | 2018-12-10 | 2019-04-09 | 惠州Tcl移动通信有限公司 | Force download device and the method for entering force download mode |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4124957A3 (en) * | 2021-09-08 | 2023-05-03 | Beijing Baidu Netcom Science Technology Co., Ltd. | Core board, server, fault repairing method and apparatus, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130298115A1 (en) | Method and apparatus for installing software in mobile communication terminal | |
CN103576816B (en) | Switching on and shutting down control circuit | |
CN104808767A (en) | Terminal control method | |
CN110727626A (en) | Method for implementing forced downloading by terminal | |
CN202995614U (en) | Electronic equipment | |
CN108984216B (en) | Method and device for automatically entering and configuring BIOS | |
CN101488047B (en) | Keyboard with power on/off function | |
CN112114901A (en) | Standby control circuit, method, device and storage medium | |
WO2020199009A1 (en) | Processing method, apparatus and device for starting apparatus, and storage medium | |
CN210295083U (en) | Display board card USB peripheral hardware connecting system | |
CN111124957B (en) | USB channel switching device | |
CN217847113U (en) | Device for realizing BIOS fault recovery | |
CN105068835A (en) | Mobile terminal and debugging information display method thereof | |
CN213305377U (en) | Reset circuit based on discrete logic device | |
CN108388481B (en) | Intelligent watchdog circuit system of OLT equipment | |
CN102193893A (en) | Serial port 232/422 signal output switching method | |
CN218100213U (en) | Display screen program upgrading circuit | |
CN217279554U (en) | Vehicle-mounted electric control equipment | |
CN111061677A (en) | FPGA configuration method and device and FPGA device | |
CN101169637A (en) | Programmable controller core unit and its usage method | |
CN216486415U (en) | Switching circuit of USB interface function | |
CN210015422U (en) | Single chip microcomputer control circuit and intelligent terminal applying same | |
CN103677938A (en) | Emergent downloading method and device | |
CN215343243U (en) | Peripheral plugging monitoring device | |
CN218768126U (en) | Capacitive screen upgrading device based on USB aerial plug interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200124 |