WO2012126197A1 - Device for restoring download path of mobile treminal - Google Patents
Device for restoring download path of mobile treminal Download PDFInfo
- Publication number
- WO2012126197A1 WO2012126197A1 PCT/CN2011/074112 CN2011074112W WO2012126197A1 WO 2012126197 A1 WO2012126197 A1 WO 2012126197A1 CN 2011074112 W CN2011074112 W CN 2011074112W WO 2012126197 A1 WO2012126197 A1 WO 2012126197A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- download
- main chip
- capacitor
- switch circuit
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present invention relates to security technologies in the field of communications, and more particularly to an apparatus for restoring a download path of a mobile terminal. Background technique
- the global mobile operators operate in the following modes: Free to provide users with mobile terminals such as mobile phones, users must abide by the agreement, and must use the operator's network within the specified time. In order to prevent the user of the operator A from entering the network of the operator B illegally within the specified time, the mobile terminal that the manufacturer is required to provide to the operator must be processed by the lock network technology, that is, one mobile terminal can only use one fixed carrier. The network provided.
- the mobile terminal may prompt that the USIM card or the USIM card cannot be found.
- the separation of the machine card means: the card number is burned in the USIM card, so that the user can retain the original card number when replacing the mobile terminal, and the same, the user can also It is convenient to replace the card number used by the mobile terminal, and even one-card dual-card or multi-card can be used to meet the needs of users.
- FIG. 1 is a schematic diagram of a protection circuit of the technical solution.
- the protection circuit diagram includes: a first resistor 11, a second resistor 12, a triode 13, and a fuse 14.
- the specific implementation of the technical solution is as follows: Add a fuse module between the main chip of the mobile phone and the download interface, that is: the protection circuit shown in Figure 1, when the mobile phone is shipped, the fuse 14 in the fuse module is blown In order to disconnect the download channel between the main chip and the download interface.
- the software needs to be updated, at this time, since the download channel between the main chip and the download interface has been disconnected, the software update cannot be performed, thereby affecting the user's use. Summary of the invention
- the main object of the present invention is to provide a device for restoring a download path of a mobile terminal, which can legally download update software after the download path of the mobile terminal is disconnected, thereby improving the user experience.
- the present invention provides an apparatus for restoring a download path of a mobile terminal, including: a main chip of the mobile terminal, and a download interface, the device further comprising: a capacitor, and a switch circuit;
- One end of the capacitor is connected to the pin of the main chip of the mobile terminal, and the other end is connected to the switch circuit;
- the switch circuit is serially connected between the main chip of the mobile terminal and the download interface.
- the discharge duration of the capacitor is smaller than the length of time required to download the update software.
- the switch circuit comprises: a switch; the switch is: a field effect transistor, or a triode, or an analog switch, or a relay.
- the device for recovering the download path of the mobile terminal comprises: a capacitor and a switch circuit; one end of the capacitor is connected with the pin of the main chip of the mobile terminal, and the other end is connected with the switch circuit; the switch circuit is connected in series Between the chip and the download interface, when the download path of the mobile terminal is disconnected and the software needs to be updated, the main chip of the mobile terminal acquires a recovery instruction from the external device; the main chip of the mobile terminal controls the switch circuit to restore the main chip according to the recovery instruction. Download the connection between the interfaces, download the update software through the restored connection, thus achieving the purpose of legally downloading the update software and improving the user experience.
- the main chip of the mobile terminal outputs a control signal to the control interface connected to the switch circuit according to the disconnection instruction, and the trigger switch circuit disconnects the connection between the main chip of the mobile terminal and the download interface, thereby breaking Open the download path, thus further preventing the hacker from illegally reading the mobile terminal and downloading the data, thereby better achieving the purpose of the lock network.
- FIG. 1 is a schematic diagram of a prior art protection circuit
- FIG. 2 is a schematic diagram of a protection circuit and a circuit for restoring a mobile terminal download according to an embodiment of the present invention. detailed description
- the device for restoring the download path of the mobile terminal of the present invention includes: a main chip 21 of the mobile terminal, a download interface 22, a capacitor 23, and a switch circuit 24; wherein, one end of the capacitor 23 and the main end of the mobile terminal The pins of the chip 21 are connected, and the other end is connected to the switch circuit 24;
- the switch circuit 24 is connected in series between the main chip 21 of the mobile terminal and the download interface 22.
- the discharge duration of the capacitor 23 is greater than the length of time required to download the recovery command, and is far less than the length of time required to download the update software. Thus, illegal personnel are prevented from illegally downloading during the discharge duration of the capacitor.
- the switch circuit 24 includes a resistor and a switch, wherein one end of the resistor is connected to a control signal output pin of the main chip of the mobile terminal, and the other end is connected to the control end of the switch.
- the switch may be: a field effect transistor (FET) , Field Effect Transistor ), or triode, or analog switch, or relay.
- the device for restoring the download path of the mobile terminal provided by the present invention, when the download path of the mobile terminal is disconnected and the software needs to be updated, after the mobile terminal adds the battery, the pin of the main chip of the mobile terminal immediately has a voltage output, thereby causing the capacitor to be charged. After the charging is completed, the discharge starts, and the trigger switch circuit turns on the connection between the main chip of the mobile terminal and the download interface, so that the download path is connected, and then the main chip of the mobile terminal downloads the resume instruction from the external device, thereby obtaining a recovery instruction;
- the main chip of the mobile terminal outputs a control signal to the control interface connected to the switch circuit according to the resume command, and the trigger switch circuit turns on the connection between the main chip of the mobile terminal and the download interface, and downloads the update software through the restored connection;
- the main chip of the mobile terminal After downloading the update software, the main chip of the mobile terminal outputs a control signal to the control interface connected to the switch circuit according to the disconnection command, to trigger the switch circuit to disconnect the connection between the main chip of the mobile terminal and the download interface, thereby breaking Open the download path of the mobile terminal.
- the external device may specifically be a personal computer (PC, Personal Computer) or the like.
- the power supply provided by the main chip of the mobile terminal charges the capacitor, the discharge starts after the charging is completed, and the trigger switch circuit turns on the connection between the main chip of the mobile terminal and the download interface, so that the download path is connected.
- the download path will be connected for a short period of time, which is not enough to download the update software. Therefore, before downloading the update software, you need to use the recovery command to connect the recovery download circuit first, so that the download path is connected, ie: download interface and mobile The path between the main chips of the terminal is connected, and the update software is downloaded after being connected; wherein the recovery command is only owned by the manufacturer and the operator of the mobile terminal, so that illegal downloading can be further avoided; the update software downloaded by the mobile terminal includes the disconnection command. .
- the mobile terminal When the update software is downloaded, the mobile terminal is in a shutdown state.
- the main chip of the mobile terminal When the mobile terminal is added with a battery, the main chip of the mobile terminal is in a working state, that is, the BOOT area is started, and corresponding configuration operations are performed, in order to prevent illegal personnel from acquiring a recovery instruction, the mobile terminal The main chip needs to download the recovery instruction to the BOOT area to obtain the recovery instruction.
- the specific processing procedure of the main chip of the mobile terminal for performing the corresponding configuration operation is exactly the same as the existing processing process, and details are not described herein again.
- the manufacturer and operator of the mobile terminal can know the charging duration and the discharging duration of the capacitor according to the specifications of the capacitor, and accordingly, when the main chip of the mobile terminal is controlled to download the recovery command.
- FIG. 2 is a schematic diagram of a protection circuit and a circuit for restoring a mobile terminal download according to an embodiment of the present invention.
- the implementation of the protection circuit belongs to the prior art, and the protection circuit is composed of a first resistor 11, a second resistor 12, and a triode. 13 and a fuse 14 are formed; wherein the fuse 14 is provided with a fuse current value.
- the switching circuit 24 in this embodiment includes: a third resistor 241, a fourth resistor 242, and an N-Mental-Oxide-Semiconductor tube 243.
- the RXEN is one of the control interfaces of the main chip 21 of the mobile terminal
- the VIO is one of the power supplies provided by the main chip 21 of the mobile terminal.
- the control interface of the main chip 21 of the mobile terminal is not limited.
- the RXEN may be any one of the control interfaces of the main chip 21 of the mobile terminal, and the power supplied from the main chip 21 of the mobile terminal is not limited to VIO, and may be any one of the power supplies provided by the main chip 21 of the mobile terminal.
- one end of the capacitor 23 is connected to the VIO, and the other end of the capacitor 23 is connected to one end of the third resistor 241 and the fourth resistor 242, respectively, and the capacitor 23, the third resistor 241, and the fourth resistor 242 are connected.
- the connection point is connected to RXEN, the other end of the third resistor 241 is connected to the gate of the NMOS transistor 243, the other end of the fourth resistor 242 is grounded, the source of the NMOS transistor 243 is connected to the point A, and the NMOS transistor 243 is connected.
- the drain is connected to point B; wherein RXEN is used to control the source-to-drain path of the NMOS transistor 243, specifically, when the RXEN output When the logic level is high, the source-to-drain path of the NMOS transistor 243 is turned on, and when RXEN outputs a logic low level, the source-to-drain path of the NMOS transistor 243 is turned off.
- the switch is a triode, a field effect transistor other than the NMOS transistor, an analog switch, or a relay, etc.
- the specific connection of the switch to each component is a conventional technique of those skilled in the art.
- the fuse 14 can be blown after the mobile terminal production test is completed.
- the specific processing of the blown fuse 14 is prior art and will not be described herein.
- the downloading of the update software is performed by the capacitor 23 and the switch circuit 24 for recovering the download path of the mobile terminal.
- the specific process of the recovery command M connecting the download path is as follows: When the mobile terminal adds the battery, the VIO immediately has a voltage output, so that the capacitor 23 is charged first, and after the charging is completed, the discharge starts, and the trigger switch circuit 24 turns on the main chip 21 of the mobile terminal.
- the connection with the download interface 22 is such that the download path is connected, and then the recovery command M is sent from the PC to the main chip 21 of the mobile terminal through the download interface 22 and the NMOS transistor 243, and then transmitted to the BOOT area of the mobile terminal;
- T1 since the power source used for the communication of the download path is provided by the capacitor 23, assuming that the discharge time of the capacitor 23 is T1, T1 is required to be longer than the time required to download the resume command M, and in order to prevent the illegal person from updating within the T1 time period.
- the download of the software requires that T1 be much smaller than the length of time required to download the update software. In practical applications, the download recovery command has a duration of about 5 seconds. Therefore, the discharge time of the capacitor 23 must be greater than 5 seconds.
- the capacitance of the capacitor 23 can be selected to be 47 ⁇ .
- the discharge duration of the capacitor 23 is It is about 10 seconds.
- RXEN will always output a logic high level, so that the source-to-drain path of the NMOS transistor 243 is opened, so that the download path is always in a connected state, and then the update can be performed from the PC.
- the main chip 21 of the mobile terminal re-sets the RXEN to a logic low state according to the disconnection instruction included in the updated software, so that the source of the NMOS transistor 243 is drained.
- the pole path is closed, thereby disconnecting the download path of the mobile terminal.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Power Sources (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a device for restoring the download path of a mobile terminal, and the device includes a capacitor(23) and a switch circuit(24), wherein one end of the capacitor(23) is connected with a pin of the main chip(21) of the mobile terminal, and the other end is connected with the switch circuit(24); and the switch circuit(24) is serially connected between the main chip(24) of the mobile terminal and a download interface(22). The application of the present invention can realize the legal download purpose of legally downloading update software, thereby improving user experience, effectively preventing a hacker from illegally reading data from and downloading data to the mobile terminal, and better achieving the purpose of network locking.
Description
一种恢复移动终端下载通路的装置 技术领域 Device for restoring download path of mobile terminal
本发明涉及通信领域的安全技术, 特别涉及一种恢复移动终端下载通 路的装置。 背景技术 The present invention relates to security technologies in the field of communications, and more particularly to an apparatus for restoring a download path of a mobile terminal. Background technique
目前, 全球移动运营商的运营模式为: 免费为用户提供移动终端比如 手机, 用户必须遵守协议, 在规定的时间内必须使用运营商的网络。 为了 防止运营商 A的用户在规定时间内非法进入运营商 B的网络中, 要求厂商 提供给运营商的移动终端必须已经过锁网技术处理, 即: 一个移动终端只 能使用固定的一个运营商提供的网络。 At present, the global mobile operators operate in the following modes: Free to provide users with mobile terminals such as mobile phones, users must abide by the agreement, and must use the operator's network within the specified time. In order to prevent the user of the operator A from entering the network of the operator B illegally within the specified time, the mobile terminal that the manufacturer is required to provide to the operator must be processed by the lock network technology, that is, one mobile terminal can only use one fixed carrier. The network provided.
在最初的锁网技术中, 运营商釆取了机卡一体的模式, 比如: 中国联 通使用的码分多址(CDMA, Code Division Multiple Access )运营方式, 对 于 CDMA通信制式的移动终端, 由于它的卡号在出厂时已经烧录到移动终 端中, 所以, 不再需要使用全球用户识别模块( USIM, Universal Subscriber Identity Module )卡。 在这种机卡一体的模式下, 移动终端的卡号与相应的 运营商捆绑在一起, 不存在用户非法进入另一个运营商的网络中使用的情 况。 但是, 在这种情况下, 如果用户需要更换卡号, 就必须由运营商重新 烧录卡号, 如此, 给用户造成了不方便。 为此, 提出了一种锁网技术, 釆 用的是机卡分离的模式, 此时, 需要在移动终端中增加锁网功能, 即: 用 户使用运营商 A免费提供的移动终端和 USIM卡, 当用户使用运营商 B的 USIM卡放到运营商 A提供的移动终端时, 移动终端会提示找不到 USIM 卡或 USIM卡错误。 其中, 机卡分离是指: 将卡号烧录在 USIM卡中, 这 样, 用户在更换移动终端时可以保留原来的卡号, 同样的, 用户也可以很
方便的更换移动终端使用的卡号, 甚至可以做到一机双卡或多卡等, 以满 足用户的需求。 In the initial lock network technology, operators adopted a machine-card integrated mode, such as: China Unicom used CDMA (Code Division Multiple Access) operation mode, for CDMA communication standard mobile terminals, because of it The card number has been burned to the mobile terminal at the factory, so it is no longer necessary to use the Universal Subscriber Identity Module (USIM) card. In this card-integrated mode, the card number of the mobile terminal is bundled with the corresponding operator, and there is no case where the user illegally enters the network of another operator. However, in this case, if the user needs to change the card number, the operator must re-burn the card number, thus causing inconvenience to the user. To this end, a lock network technology is proposed, which uses a mode of separation of the machine cards. At this time, it is necessary to add a lock network function to the mobile terminal, that is, the user uses the mobile terminal and the USIM card provided by the operator A free of charge. When the user uses the USIM card of the carrier B to place the mobile terminal provided by the operator A, the mobile terminal may prompt that the USIM card or the USIM card cannot be found. Wherein, the separation of the machine card means: the card number is burned in the USIM card, so that the user can retain the original card number when replacing the mobile terminal, and the same, the user can also It is convenient to replace the card number used by the mobile terminal, and even one-card dual-card or multi-card can be used to meet the needs of users.
目前, 现有的锁网技术一般都使用软件加密的方式来进行。 但是, 无 论软件加密的算法多么强大, 都会存在漏洞, 只要有漏洞, 就会被黑客破 解。 为了解决这个问题, 提出一个技术方案, 图 1 为该技术方案的保护电 路示意图, 如图 1所示, 该保护电路示意图包括: 第一电阻 11、 第二电阻 12、 三极管 13、 以及熔丝 14; 该技术方案的具体实现为: 在手机的主芯片 及下载接口之间增加一个熔丝模块, 即: 图 1 所示的保护电路, 在手机出 厂时, 将熔丝模块中的熔丝 14熔断, 以此达到断开主芯片与下载接口之间 下载通道的目的。 但是, 在手机使用后, 如果需要更新软件时, 此时, 由 于主芯片与下载接口之间的下载通道已经断开, 则无法进行软件的更新, 进而影响用户使用。 发明内容 At present, the existing lock network technology generally uses software encryption to carry out. However, no matter how powerful the algorithm of software encryption is, there will be loopholes, and if there are loopholes, it will be broken by hackers. In order to solve this problem, a technical solution is proposed. FIG. 1 is a schematic diagram of a protection circuit of the technical solution. As shown in FIG. 1, the protection circuit diagram includes: a first resistor 11, a second resistor 12, a triode 13, and a fuse 14. The specific implementation of the technical solution is as follows: Add a fuse module between the main chip of the mobile phone and the download interface, that is: the protection circuit shown in Figure 1, when the mobile phone is shipped, the fuse 14 in the fuse module is blown In order to disconnect the download channel between the main chip and the download interface. However, after the mobile phone is used, if the software needs to be updated, at this time, since the download channel between the main chip and the download interface has been disconnected, the software update cannot be performed, thereby affecting the user's use. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种恢复移动终端下载通路的 装置, 能够在移动终端的下载通路断开后, 合法下载更新软件, 进而提升 用户体验。 In view of this, the main object of the present invention is to provide a device for restoring a download path of a mobile terminal, which can legally download update software after the download path of the mobile terminal is disconnected, thereby improving the user experience.
为达到上述目的, 本发明的技术方案是这样实现的: In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供了一种恢复移动终端下载通路的装置, 包括: 移动终端的 主芯片、 及下载接口, 该装置还包括: 电容、 以及开关电路; 其中, The present invention provides an apparatus for restoring a download path of a mobile terminal, including: a main chip of the mobile terminal, and a download interface, the device further comprising: a capacitor, and a switch circuit;
电容的一端与移动终端的主芯片的引脚相连接, 另一端与开关电路相 连接; One end of the capacitor is connected to the pin of the main chip of the mobile terminal, and the other end is connected to the switch circuit;
开关电路, 串接在移动终端的主芯片与下载接口之间。 The switch circuit is serially connected between the main chip of the mobile terminal and the download interface.
上述方案中, 所述电容的放电时长小于下载更新软件所需的时长。 上述方案中, 所述开关电路包括: 开关; 所述开关为: 场效应晶体管、 或三极管、 或模拟开关、 或继电器。
本发明提供的恢复移动终端下载通路的装置, 包括: 电容、 以及开关 电路; 电容的一端与移动终端的主芯片的引脚相连接, 另一端与开关电路 相连接; 开关电路, 串接在主芯片与下载接口之间, 当移动终端的下载通 路断开后且需要更新软件时, 移动终端的主芯片从外部设备获取恢复指令; 移动终端的主芯片根据恢复指令, 控制开关电路恢复主芯片与下载接口之 间的连接, 通过恢复的连接下载更新软件, 如此, 实现了合法下载更新软 件的目的, 提升了用户体验。 In the above solution, the discharge duration of the capacitor is smaller than the length of time required to download the update software. In the above solution, the switch circuit comprises: a switch; the switch is: a field effect transistor, or a triode, or an analog switch, or a relay. The device for recovering the download path of the mobile terminal provided by the invention comprises: a capacitor and a switch circuit; one end of the capacitor is connected with the pin of the main chip of the mobile terminal, and the other end is connected with the switch circuit; the switch circuit is connected in series Between the chip and the download interface, when the download path of the mobile terminal is disconnected and the software needs to be updated, the main chip of the mobile terminal acquires a recovery instruction from the external device; the main chip of the mobile terminal controls the switch circuit to restore the main chip according to the recovery instruction. Download the connection between the interfaces, download the update software through the restored connection, thus achieving the purpose of legally downloading the update software and improving the user experience.
另外, 更新软件下载完成后, 移动终端的主芯片根据断开指令, 向与 开关电路连接的控制接口输出控制信号, 触发开关电路断开移动终端的主 芯片与下载接口之间的连接, 从而断开下载通路, 如此, 进一步防止了黑 客对移动终端进行非法读取、 及下载数据, 更好地达到了锁网的目的。 附图说明 In addition, after the update software download is completed, the main chip of the mobile terminal outputs a control signal to the control interface connected to the switch circuit according to the disconnection instruction, and the trigger switch circuit disconnects the connection between the main chip of the mobile terminal and the download interface, thereby breaking Open the download path, thus further preventing the hacker from illegally reading the mobile terminal and downloading the data, thereby better achieving the purpose of the lock network. DRAWINGS
图 1为现有技术的保护电路的示意图; 1 is a schematic diagram of a prior art protection circuit;
图 2为本发明实施例的保护电路及恢复移动终端下载的电路的示意图。 具体实施方式 2 is a schematic diagram of a protection circuit and a circuit for restoring a mobile terminal download according to an embodiment of the present invention. detailed description
下面结合附图及具体实施例对本发明再作进一步详细的说明。 The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明恢复移动终端下载通路的装置, 如图 2所示, 该装置包括: 移 动终端的主芯片 21、 下载接口 22、 电容 23、 以及开关电路 24; 其中, 电容 23的一端与移动终端的主芯片 21的引脚相连接, 另一端与开关 电路 24相连接; The device for restoring the download path of the mobile terminal of the present invention, as shown in FIG. 2, the device includes: a main chip 21 of the mobile terminal, a download interface 22, a capacitor 23, and a switch circuit 24; wherein, one end of the capacitor 23 and the main end of the mobile terminal The pins of the chip 21 are connected, and the other end is connected to the switch circuit 24;
开关电路 24, 串接在移动终端的主芯片 21与下载接口 22之间。 The switch circuit 24 is connected in series between the main chip 21 of the mobile terminal and the download interface 22.
其中, 电容 23的放电时长大于下载恢复指令所需的时长, 且远远小于 下载更新软件所需的时长, 如此, 避免了非法人员在电容的放电时长内进 行非法下载。
所述开关电路 24包括电阻及开关, 其中, 电阻的一端与移动终端的主 芯片的控制信号输出引脚相连接, 另一端与开关的控制端相连接所述开关 可以是: 场效应晶体管 (FET, Field Effect Transistor ), 或三极管、 或模拟 开关、 或继电器等。 The discharge duration of the capacitor 23 is greater than the length of time required to download the recovery command, and is far less than the length of time required to download the update software. Thus, illegal personnel are prevented from illegally downloading during the discharge duration of the capacitor. The switch circuit 24 includes a resistor and a switch, wherein one end of the resistor is connected to a control signal output pin of the main chip of the mobile terminal, and the other end is connected to the control end of the switch. The switch may be: a field effect transistor (FET) , Field Effect Transistor ), or triode, or analog switch, or relay.
本发明提供的恢复移动终端下载通路的装置, 当移动终端的下载通路 断开后且需要更新软件时, 移动终端加上电池后, 移动终端的主芯片的引 脚立即有电压输出, 致使电容充电, 充电完成后开始放电, 触发开关电路 接通移动终端的主芯片与下载接口之间的连接, 使得下载通路连通, 之后 移动终端的主芯片从外部设备下载恢复指令, 从而获得恢复指令; The device for restoring the download path of the mobile terminal provided by the present invention, when the download path of the mobile terminal is disconnected and the software needs to be updated, after the mobile terminal adds the battery, the pin of the main chip of the mobile terminal immediately has a voltage output, thereby causing the capacitor to be charged. After the charging is completed, the discharge starts, and the trigger switch circuit turns on the connection between the main chip of the mobile terminal and the download interface, so that the download path is connected, and then the main chip of the mobile terminal downloads the resume instruction from the external device, thereby obtaining a recovery instruction;
移动终端的主芯片根据恢复指令, 向与开关电路连接的控制接口输出 控制信号, 触发开关电路接通移动终端的主芯片与下载接口之间的连接, 通过恢复的连接下载更新软件; The main chip of the mobile terminal outputs a control signal to the control interface connected to the switch circuit according to the resume command, and the trigger switch circuit turns on the connection between the main chip of the mobile terminal and the download interface, and downloads the update software through the restored connection;
在下载完更新软件后, 移动终端的主芯片根据断开指令, 向与开关电 路连接的控制接口输出控制信号, 以触发开关电路断开移动终端的主芯片 与下载接口之间的连接, 从而断开移动终端的下载通路。 After downloading the update software, the main chip of the mobile terminal outputs a control signal to the control interface connected to the switch circuit according to the disconnection command, to trigger the switch circuit to disconnect the connection between the main chip of the mobile terminal and the download interface, thereby breaking Open the download path of the mobile terminal.
其中, 所述外部设备具体可以是个人计算机( PC , Personal Computer ) 等。 The external device may specifically be a personal computer (PC, Personal Computer) or the like.
这里, 虽然移动终端的主芯片提供的电源使电容充电, 充电完成后开 始放电, 触发开关电路接通移动终端的主芯片与下载接口之间的连接, 使 得下载通路连通。 但是, 下载通路连通的时间会较短, 不足以下载更新软 件, 因此, 在下载更新软件之前, 需要利用恢复指令先将恢复下载电路连 通, 从而使下载通路处于连通状态, 即: 下载接口与移动终端的主芯片之 间的通路连通, 连通后进行更新软件的下载; 其中, 恢复指令只有移动终 端的厂商和运营商拥有, 如此, 能进一步避免非法下载; 移动终端下载的 更新软件包含断开指令。
下载更新软件时, 移动终端处于关机状态, 当移动终端加上电池后, 移动终端的主芯片处于工作状态, 即: 启动 BOOT区, 进行相应的配置操 作, 为了防止非法人员获取恢复指令, 移动终端的主芯片需要将恢复指令 下载到 BOOT区, 从而获得恢复指令。 其中, 移动终端的主芯片进行相应 的配置操作的具体处理过程与现有的处理过程完全相同, 这里不再赘述。 Here, although the power supply provided by the main chip of the mobile terminal charges the capacitor, the discharge starts after the charging is completed, and the trigger switch circuit turns on the connection between the main chip of the mobile terminal and the download interface, so that the download path is connected. However, the download path will be connected for a short period of time, which is not enough to download the update software. Therefore, before downloading the update software, you need to use the recovery command to connect the recovery download circuit first, so that the download path is connected, ie: download interface and mobile The path between the main chips of the terminal is connected, and the update software is downloaded after being connected; wherein the recovery command is only owned by the manufacturer and the operator of the mobile terminal, so that illegal downloading can be further avoided; the update software downloaded by the mobile terminal includes the disconnection command. . When the update software is downloaded, the mobile terminal is in a shutdown state. When the mobile terminal is added with a battery, the main chip of the mobile terminal is in a working state, that is, the BOOT area is started, and corresponding configuration operations are performed, in order to prevent illegal personnel from acquiring a recovery instruction, the mobile terminal The main chip needs to download the recovery instruction to the BOOT area to obtain the recovery instruction. The specific processing procedure of the main chip of the mobile terminal for performing the corresponding configuration operation is exactly the same as the existing processing process, and details are not described herein again.
在实际应用时, 移动终端的厂商和运营商可以根据电容的规格, 获知 电容的充电时长及放电时长, 据此, 控制移动终端的主芯片何时下载恢复 指令。 In practical applications, the manufacturer and operator of the mobile terminal can know the charging duration and the discharging duration of the capacitor according to the specifications of the capacitor, and accordingly, when the main chip of the mobile terminal is controlled to download the recovery command.
图 2为本发明实施例提供的保护电路及恢复移动终端下载的电路的示 意图, 如图 2所示, 保护电路的实现属于现有技术, 保护电路由第一电阻 11、 第二电阻 12、 三极管 13 , 以及熔丝 14组成; 其中, 熔丝 14设置有熔 断电流值。 2 is a schematic diagram of a protection circuit and a circuit for restoring a mobile terminal download according to an embodiment of the present invention. As shown in FIG. 2, the implementation of the protection circuit belongs to the prior art, and the protection circuit is composed of a first resistor 11, a second resistor 12, and a triode. 13 and a fuse 14 are formed; wherein the fuse 14 is provided with a fuse current value.
本实施例中的开关电路 24包括: 第三电阻 241、第四电阻 242、 以及 N 型金属氧化物半导体(NMOS, N-Mental-Oxide-Semiconductor )管 243。 其 中, RXEN为移动终端的主芯片 21的控制接口中的一个, VIO为移动终端 的主芯片 21提供的电源中的一个, 这里, 需要说明的是: 移动终端的主芯 片 21的控制接口不限于 RXEN, 可以是移动终端的主芯片 21的控制接口 中的任意一个, 移动终端的主芯片 21提供的电源不限于 VIO, 可以是移动 终端的主芯片 21提供的电源中的任意一个。 The switching circuit 24 in this embodiment includes: a third resistor 241, a fourth resistor 242, and an N-Mental-Oxide-Semiconductor tube 243. The RXEN is one of the control interfaces of the main chip 21 of the mobile terminal, and the VIO is one of the power supplies provided by the main chip 21 of the mobile terminal. Here, it should be noted that the control interface of the main chip 21 of the mobile terminal is not limited. The RXEN may be any one of the control interfaces of the main chip 21 of the mobile terminal, and the power supplied from the main chip 21 of the mobile terminal is not limited to VIO, and may be any one of the power supplies provided by the main chip 21 of the mobile terminal.
如图 2所示, 电容 23的一端与 VIO相连接, 电容 23的另一端分别与 第三电阻 241及第四电阻 242的一端相连接, 且电容 23、 第三电阻 241、 以及第四电阻 242 的连接点与 RXEN相连接, 第三电阻 241 的另一端与 NMOS管 243的栅极相连接, 第四电阻 242的另一端接地, NMOS管 243 的源极与点 A相连接, NMOS管 243的漏极与点 B相连接; 其中 , RXEN, 用于控制 NMOS管 243的源极到漏极通路的开关, 具体地, 当 RXEN输出
逻辑高电平时, NMOS管 243的源极到漏极通路打开, 当 RXEN输出逻辑 低电平时, NMOS管 243的源极到漏极通路关闭。 As shown in FIG. 2, one end of the capacitor 23 is connected to the VIO, and the other end of the capacitor 23 is connected to one end of the third resistor 241 and the fourth resistor 242, respectively, and the capacitor 23, the third resistor 241, and the fourth resistor 242 are connected. The connection point is connected to RXEN, the other end of the third resistor 241 is connected to the gate of the NMOS transistor 243, the other end of the fourth resistor 242 is grounded, the source of the NMOS transistor 243 is connected to the point A, and the NMOS transistor 243 is connected. The drain is connected to point B; wherein RXEN is used to control the source-to-drain path of the NMOS transistor 243, specifically, when the RXEN output When the logic level is high, the source-to-drain path of the NMOS transistor 243 is turned on, and when RXEN outputs a logic low level, the source-to-drain path of the NMOS transistor 243 is turned off.
这里, 应当理解: 当开关为三极管、 除 NMOS管以外的其它场效应晶 体管、 模拟开关、 或继电器等时, 开关与各个部件的具体连接属于本领域 技术人员的惯用技术手段。 Here, it should be understood that when the switch is a triode, a field effect transistor other than the NMOS transistor, an analog switch, or a relay, etc., the specific connection of the switch to each component is a conventional technique of those skilled in the art.
下面详述本实施例提供的电路的工作原理。 The operation of the circuit provided by this embodiment will be described in detail below.
为了防止黑客从移动终端中读取数据, 并将破解的锁网数据下载到移 动终端中, 在移动终端生产测试完毕后, 即可熔断熔丝 14。 这里, 熔断熔 丝 14的具体处理过程为现有技术, 这里不再赘述。 In order to prevent the hacker from reading data from the mobile terminal and downloading the cracked lock network data to the mobile terminal, the fuse 14 can be blown after the mobile terminal production test is completed. Here, the specific processing of the blown fuse 14 is prior art and will not be described herein.
移动终端被出售后, 当需要更新软件或维修时需要下载软件时, 通过 电容 23、 以及开关电路 24组成的恢复移动终端下载通路的装置, 进行更新 软件的下载。 After the mobile terminal is sold, when it is necessary to download the software when updating the software or repairing, the downloading of the update software is performed by the capacitor 23 and the switch circuit 24 for recovering the download path of the mobile terminal.
假设 PC中保存有恢复指令 M , 恢复指令 M用于使 RXEN输出逻辑高 电平, 即: 连通下载通路。 Assume that the PC has a recovery command M, which is used to make the RXEN output logic high, that is, to connect the download path.
恢复指令 M将下载通路连通的具体过程为: 当移动终端加上电池后, VIO立即有电压输出, 致使电容 23先充电, 充电完成后开始放电, 触发开 关电路 24接通移动终端的主芯片 21与下载接口 22之间的连接,使得下载 通路连通,之后恢复指令 M从 PC中 ,依次经过下载接口 22、 NMOS管 243 , 到达移动终端的主芯片 21 , 再传到移动终端的 BOOT区中; 此时, 由于下 载通路连通所使用的电源由电容 23提供, 假设电容 23的放电时间为 T1 , 则要求 T1 大于下载恢复指令 M所需要的时长, 并且, 为了避免非法人员 在 T1时长内进行更新软件的下载, 同时要求 T1远远小于下载更新软件所 需要的时长。 在实际应用时, 下载恢复指令的时长约为 5秒钟, 所以, 要 求电容 23的放电时长必须大于 5秒钟, 据此, 可以选择电容 23的电容为 47μΡ, 此时, 电容 23的放电时长约为 10秒钟。
当恢复指令 M下载至移动终端后, RXEN会一直输出逻辑高电平, 使 得 NMOS管 243的源极到漏极通路打开, 从而使下载通路一直处于连通状 态, 之后就可以进行从 PC中进行更新软件的下载, 在更新的软件下载完成 后, 移动终端的主芯片 21 根据包含在更新的软件中的断开指令, 重新将 RXEN置于逻辑低电平状态, 使得 NMOS管 243的源极到漏极通路关闭, 从而断开移动终端的下载通路。 The specific process of the recovery command M connecting the download path is as follows: When the mobile terminal adds the battery, the VIO immediately has a voltage output, so that the capacitor 23 is charged first, and after the charging is completed, the discharge starts, and the trigger switch circuit 24 turns on the main chip 21 of the mobile terminal. The connection with the download interface 22 is such that the download path is connected, and then the recovery command M is sent from the PC to the main chip 21 of the mobile terminal through the download interface 22 and the NMOS transistor 243, and then transmitted to the BOOT area of the mobile terminal; At this time, since the power source used for the communication of the download path is provided by the capacitor 23, assuming that the discharge time of the capacitor 23 is T1, T1 is required to be longer than the time required to download the resume command M, and in order to prevent the illegal person from updating within the T1 time period. The download of the software requires that T1 be much smaller than the length of time required to download the update software. In practical applications, the download recovery command has a duration of about 5 seconds. Therefore, the discharge time of the capacitor 23 must be greater than 5 seconds. Accordingly, the capacitance of the capacitor 23 can be selected to be 47 μΡ. At this time, the discharge duration of the capacitor 23 is It is about 10 seconds. When the resume command M is downloaded to the mobile terminal, RXEN will always output a logic high level, so that the source-to-drain path of the NMOS transistor 243 is opened, so that the download path is always in a connected state, and then the update can be performed from the PC. After the software download is completed, the main chip 21 of the mobile terminal re-sets the RXEN to a logic low state according to the disconnection instruction included in the updated software, so that the source of the NMOS transistor 243 is drained. The pole path is closed, thereby disconnecting the download path of the mobile terminal.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。
The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
Claims
1、 一种恢复移动终端下载通路的装置, 包括: 移动终端的主芯片、 及 下载接口, 其特征在于, 该装置还包括: 电容、 以及开关电路; 其中, 电容的一端与移动终端的主芯片的引脚相连接, 另一端与开关电路相 连接 A device for restoring a download path of a mobile terminal, comprising: a main chip of the mobile terminal, and a download interface, wherein the device further comprises: a capacitor, and a switch circuit; wherein, one end of the capacitor and the main chip of the mobile terminal The pins are connected and the other end is connected to the switch circuit.
开关电路, 串接在移动终端的主芯片与下载接口之间。 The switch circuit is serially connected between the main chip of the mobile terminal and the download interface.
2、 根据权利要求 1所述的装置, 其特征在于, 所述电容的放电时长小 于下载更新软件所需的时长。 2. Apparatus according to claim 1 wherein the discharge time of the capacitor is less than the length of time required to download the update software.
3、根据权利要求 1或 2所述的装置,其特征在于, 所述开关电路包括: 开关; 所述开关为: 场效应晶体管、 或三极管、 或模拟开关、 或继电器。 3. Apparatus according to claim 1 or 2, wherein said switching circuit comprises: a switch; said switch being: a field effect transistor, or a triode, or an analog switch, or a relay.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110066848.0A CN102111917B (en) | 2011-03-18 | 2011-03-18 | Device for recovering mobile terminal download access |
CN201110066848.0 | 2011-03-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012126197A1 true WO2012126197A1 (en) | 2012-09-27 |
Family
ID=44175898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/074112 WO2012126197A1 (en) | 2011-03-18 | 2011-05-16 | Device for restoring download path of mobile treminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102111917B (en) |
WO (1) | WO2012126197A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114301486A (en) * | 2021-03-22 | 2022-04-08 | 海信集团控股股份有限公司 | Debugging device and method for WiFi module |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300199A (en) * | 2011-07-04 | 2011-12-28 | 中兴通讯股份有限公司 | Method for burning out fuse wire and device |
CN108711440B (en) * | 2018-08-02 | 2024-04-30 | 珠海格力电器股份有限公司 | Write protection circuit, write protection method, write protection device and electrical equipment |
CN110263590B (en) * | 2019-06-30 | 2021-10-08 | 潍柴动力股份有限公司 | Vehicle-mounted ECU and safety protection method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09233678A (en) * | 1996-02-20 | 1997-09-05 | Mitsubishi Electric Corp | Power supply device |
CN2829017Y (en) * | 2005-09-28 | 2006-10-18 | 上海华虹集成电路有限责任公司 | Circuit for preventing FIB assaulting blovo-out fuse |
CN101950332A (en) * | 2010-07-12 | 2011-01-19 | 大唐微电子技术有限公司 | Chip protecting method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0433678A (en) * | 1990-05-30 | 1992-02-05 | Ace Denken:Kk | Game machine island |
-
2011
- 2011-03-18 CN CN201110066848.0A patent/CN102111917B/en active Active
- 2011-05-16 WO PCT/CN2011/074112 patent/WO2012126197A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09233678A (en) * | 1996-02-20 | 1997-09-05 | Mitsubishi Electric Corp | Power supply device |
CN2829017Y (en) * | 2005-09-28 | 2006-10-18 | 上海华虹集成电路有限责任公司 | Circuit for preventing FIB assaulting blovo-out fuse |
CN101950332A (en) * | 2010-07-12 | 2011-01-19 | 大唐微电子技术有限公司 | Chip protecting method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114301486A (en) * | 2021-03-22 | 2022-04-08 | 海信集团控股股份有限公司 | Debugging device and method for WiFi module |
CN114301486B (en) * | 2021-03-22 | 2024-06-04 | 海信集团控股股份有限公司 | Debugging device and method for WiFi module |
Also Published As
Publication number | Publication date |
---|---|
CN102111917B (en) | 2014-03-19 |
CN102111917A (en) | 2011-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101984575B (en) | Method and device for protecting mobile terminal software | |
US20150099560A1 (en) | Methods and apparatus for access data recovery from a malfunctioning device | |
WO2013170660A1 (en) | System for data backup and restoration, server and mobile terminal | |
EP3005092A1 (en) | Method and apparatus for setting profile | |
US10291013B2 (en) | Adaptive battery protection | |
CN101977263B (en) | Method and mobile terminal for encrypting double-card mobile terminal | |
WO2019108001A1 (en) | Electronic device for transmitting or receiving data in wireless communication system and method therefor | |
WO2012126197A1 (en) | Device for restoring download path of mobile treminal | |
CN102055830A (en) | Encryption device and method for controlling downloading and access of mobile terminal (MT) | |
CN105375942A (en) | Watch phone with wireless SIM (Subscriber Identity Module) transmission function | |
WO2021042566A1 (en) | Quick charging system and method for handheld device, and handheld device | |
US9529756B2 (en) | Method and terminal for starting universal serial USB state machine | |
CN106203134A (en) | Anti-brush machine system and method based on hardware encryption | |
WO2019151792A1 (en) | Electronic device in which profile is installed and operating method for electronic device | |
CN114237378B (en) | Electronic device | |
CN105224876A (en) | The equipment of the guard method of USB interface data and device, band USB interface | |
JP5636008B2 (en) | Mobile terminal, program, recording medium | |
KR20190081886A (en) | Apparatus and method for updating a software | |
CN113093895A (en) | Wearable device, control method of wearable device, and storage medium | |
CN111614896A (en) | Camera control circuit, terminal and control method | |
CN107548131B (en) | Mobile broadband equipment and power saving method thereof | |
CN112437453A (en) | Network configuration method and device of router, storage medium and electronic device | |
WO2015100623A1 (en) | Indication lamp control circuit and electronic device | |
WO2012126196A1 (en) | Apparatus for preventing illegal downloading | |
CN112866989B (en) | Communication equipment based on narrowband internet of things |
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: 11861818 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: 11861818 Country of ref document: EP Kind code of ref document: A1 |