CN114238190A - Terminal upgrading method, system, terminal, upgrading device and USB bus - Google Patents

Terminal upgrading method, system, terminal, upgrading device and USB bus Download PDF

Info

Publication number
CN114238190A
CN114238190A CN202111367949.1A CN202111367949A CN114238190A CN 114238190 A CN114238190 A CN 114238190A CN 202111367949 A CN202111367949 A CN 202111367949A CN 114238190 A CN114238190 A CN 114238190A
Authority
CN
China
Prior art keywords
terminal
upgrading
state
pin
mode
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
CN202111367949.1A
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.)
Shenzhen Guanghetong Wireless Communication Software Co ltd
Original Assignee
Shenzhen Guanghetong Wireless Communication 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 Shenzhen Guanghetong Wireless Communication Software Co ltd filed Critical Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority to CN202111367949.1A priority Critical patent/CN114238190A/en
Publication of CN114238190A publication Critical patent/CN114238190A/en
Priority to PCT/CN2022/105136 priority patent/WO2023087748A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a terminal upgrading method, a system, a terminal, upgrading equipment and a USB bus, wherein the terminal upgrading method comprises the following steps: detecting the pin state of the USB interface; identifying whether the terminal needs to enter an upgrading mode according to the pin state; and responding to the identification result that the pin state represents that the terminal needs to enter an upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode. The terminal upgrading method, the terminal upgrading system, the terminal, the upgrading device and the USB bus can improve the convenience of terminal upgrading.

Description

Terminal upgrading method, system, terminal, upgrading device and USB bus
Technical Field
The present application relates to the field of intelligent terminal technologies, and in particular, to a method, a system, a terminal, an upgrade device, and a USB Bus (Universal Serial Bus).
Background
With the development of intelligent terminal technology, terminals are often required to be upgraded. Currently, a common terminal upgrading scheme needs to force a terminal to enter an upgrading mode by long-pressing a special key, for example, a long-pressing a force Boot (Boot Settings Configuration) key, so as to upgrade in the upgrading mode.
However, it is inconvenient to enter the terminal into the upgrade mode for upgrading by pressing a special key for a long time.
Disclosure of Invention
The embodiment of the application provides a terminal upgrading method, a terminal upgrading system, a terminal, upgrading equipment and a USB bus, and can improve the convenience of terminal upgrading.
A terminal upgrading method is applied to a terminal, the terminal comprises a USB interface, the USB interface is used for being connected with a matched USB bus, and the method comprises the following steps:
detecting the pin state of the USB interface;
identifying whether the terminal needs to enter an upgrading mode according to the pin state;
and responding to the identification result that the pin state represents that the terminal needs to enter an upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode.
In one embodiment, the pin status includes a DM pin status and/or a DP pin status, and the identifying whether the terminal needs to enter an upgrade mode according to the pin status includes:
and if the DM pin state is consistent with a preset DM pin state and/or the DP pin state is consistent with a preset DP pin state, determining that the terminal needs to enter an upgrading mode.
In one embodiment, the predetermined DM pin status is that the DM pin is at a high level, and the predetermined DP pin status is that the DP pin is at a low level.
In one embodiment, the method further comprises:
detecting whether the USB interface is connected with the USB bus or not;
and responding to the detection result that the USB interface is connected with the USB bus, and detecting the pin state of the USB interface.
In one embodiment, the detecting whether the USB bus is connected to the USB interface includes:
detecting whether a VBUS pin of the USB interface is effective or not;
and if the VBUS pin of the USB interface is valid, determining that the USB interface is connected with the USB bus.
In one embodiment, the method further comprises:
detecting whether the charging type of a battery of the terminal is normal or not;
and responding to the detection result that the charging type is normal, and detecting the pin state of the USB interface.
In one embodiment, the detecting whether the charging type of the battery of the terminal is normal includes:
identifying whether the charging type is an SDP charging type, a CDP charging type or a DCP charging type;
and if the charging type is an SDP charging type, a CDP charging type or a DCP charging type, determining that the charging type of the battery is normal.
A terminal upgrading method is applied to upgrading equipment, the upgrading equipment is used for being connected with a USB interface of a terminal through a USB bus, and the method comprises the following steps:
and under the condition that the upgrading equipment is connected with the USB interface through a USB bus, the bus state of the USB bus is adjusted to a state of triggering the terminal to enter an upgrading mode so as to indicate the terminal to enter the upgrading mode, and upgrading is carried out in the upgrading mode.
In one embodiment, the bus state includes a DM data line state and/or a DP data line state, and the adjusting the bus state of the USB bus to a state that triggers the terminal to enter an upgrade mode includes:
and adjusting the DM data line state to be consistent with a preset DM data line state, and/or adjusting the DP data line state to be consistent with a preset DP data line state.
In one embodiment, the preset DM data line state is that the DM data line state is at a high level, and the preset DP data line state is that the DP data line state is at a low level.
A terminal upgrading device is applied to a terminal, the terminal comprises a USB interface, the USB interface is used for being connected with a matched USB bus, and the device comprises:
the detection module is used for detecting the pin state of the USB interface;
the identification module is used for identifying whether the terminal needs to enter an upgrading mode according to the pin state;
and the upgrading module is used for responding to the identification result that the pin state represents that the terminal needs to enter the upgrading mode, entering the upgrading mode and upgrading in the upgrading mode.
A terminal upgrading device is applied to upgrading equipment, the upgrading equipment is used for being connected with a USB interface of a terminal through a USB bus, and the device comprises:
and the adjusting module is used for adjusting the bus state of the USB bus to a state of triggering the terminal to enter an upgrading mode under the condition that the upgrading equipment is connected with the USB interface through the USB bus so as to indicate the terminal to enter the upgrading mode and upgrade under the upgrading mode.
A terminal comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method as described above.
An upgrade device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the method as described above.
A USB bus, the bus state of the USB bus is configured to trigger a terminal to enter a state of an upgrade mode, the USB bus is used for being connected with a USB interface of the terminal to indicate the terminal to enter the upgrade mode and upgrade in the upgrade mode.
A terminal upgrade system, comprising:
the USB bus, the bus state of the USB bus is configured to trigger the terminal to enter the state of upgrading mode;
the terminal comprises a USB interface, the USB interface is used for being connected with a matched USB bus, the terminal is used for detecting the pin state of the USB interface, identifying whether the terminal needs to enter an upgrading mode according to the pin state, responding to the identification result that the pin state represents that the terminal needs to enter the upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as described above.
The terminal upgrading method is applied to a terminal, the terminal comprises a USB interface, and the USB interface is used for being connected with a matched USB bus, and the method comprises the following steps: detecting the pin state of the USB interface; identifying whether the terminal needs to enter an upgrading mode according to the pin state; and responding to the identification result that the pin state represents that the terminal needs to enter an upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode. The terminal can judge whether to enter the upgrading mode according to the pin state of the USB interface, namely, the entering of the upgrading mode of the terminal is triggered by the pin state of the USB interface on the terminal, the terminal can be prompted to enter the upgrading mode only by representing the pin state of the USB interface of the terminal as the entering of the upgrading mode, the terminal can enter the upgrading mode without long pressing of a special key, the problem that the upgrading of the terminal is very inconvenient because the terminal enters the upgrading mode for upgrading by long pressing of the special key is avoided, and the convenience of upgrading the terminal is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an application environment of a terminal upgrading method in one embodiment;
fig. 2 is a schematic flowchart of a terminal upgrade method in an embodiment;
fig. 3 is a schematic flowchart of a terminal upgrade method in another embodiment;
fig. 4 is a schematic flowchart of a terminal upgrade method in another embodiment;
fig. 5 is a flowchart illustrating a terminal upgrade method in another embodiment;
fig. 6 is a flowchart illustrating a terminal upgrade method in another embodiment;
FIG. 7 is a schematic diagram of a terminal upgrade apparatus in one embodiment;
fig. 8 is a schematic internal structure diagram of a terminal in one embodiment;
fig. 9 is a schematic internal structure diagram of an upgrade apparatus in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment of a terminal upgrading method in an embodiment. As shown in fig. 1, the application environment includes a USB bus 110, a terminal 120, and an upgrade apparatus 130.
Wherein the bus state of USB bus 110 is configured to trigger terminal 120 to enter an upgrade mode state. The terminal 120 includes a USB interface for connecting with the mating USB bus 110, and the terminal 120 is configured to determine whether it needs to enter an upgrade mode according to a pin status of the USB interface, so as to upgrade in the upgrade mode. The upgrade apparatus 130 is used to connect with a USB interface of the terminal 120 through the USB bus 110.
In this embodiment, when the terminal 120 needs to be upgraded, the upgrade apparatus 130 is connected to the USB interface of the terminal 120 through the USB bus 110, and since the bus state of the USB bus 110 is configured to trigger the terminal 120 to enter the upgrade mode and the USB interface is connected to the USB bus 110, the pin state of the corresponding USB interface may also change, so that the terminal 120 may determine whether to enter the upgrade mode according to the pin state of the USB interface.
In an embodiment, the upgrade apparatus 130 may be an apparatus for supplying power to the USB bus 110, and the bus state of the USB bus 110 is configured to trigger the terminal 120 to enter the upgrade mode, and since the bus state of the USB bus 110 is configured to trigger the terminal 120 to enter the upgrade mode, after the upgrade apparatus 130 is connected to the USB interface of the terminal 120 through the USB bus 110, the terminal 120 may determine whether the upgrade mode needs to be entered according to the pin state of the USB interface.
In one embodiment, the upgrade apparatus 130 is connected to the USB interface through the USB bus 110, and the bus state of the USB bus 110 is not configured to trigger the terminal 120 to enter the upgrade mode, at this time, the bus state of the USB bus 110 may be configured to trigger the terminal 120 to enter the upgrade mode through the upgrade apparatus 130, so that the terminal 120 may confirm whether the upgrade mode needs to be entered according to the pin state of the USB interface.
The following embodiments are explained on how to improve convenience of terminal upgrade.
Referring to fig. 2, fig. 2 is a flowchart illustrating a terminal upgrading method in an embodiment. The terminal upgrading method in this embodiment is described by taking the terminal in fig. 1 as an example. As shown in fig. 2, the terminal upgrade method includes steps 210 to 230.
And step 210, detecting the pin state of the USB interface.
The USB interface refers to an interface on the terminal. The USB interface includes, but is not limited to, a USB-A interface, a USB-B interface, and a USB-C interface, and is not limited thereto. Pin status refers to the status of a pin on the USB interface. Optionally, the pin status in this embodiment includes, but is not limited to, at least one of a VCC pin status, a DP pin status, a DM pin status, and a GND pin status, and this embodiment is not limited.
In this step, the triggering mode for the terminal to detect the pin state of the USB interface may be triggering when the terminal is powered on, that is, in the power-on process of the terminal, the terminal detects the pin state of the USB interface. In this embodiment, how to trigger the terminal to detect the pin status of the USB interface is not specifically limited.
And step 220, identifying whether the terminal needs to enter an upgrading mode according to the pin state.
Wherein, the upgrade mode refers to a mode in which the terminal enters an upgrade state. In this step, the terminal identifies whether it needs to enter the upgrade mode according to the pin status.
Step 230, responding to the identification result that the pin state represents that the terminal needs to enter the upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode.
Optionally, the terminal needs to acquire the upgrade package first and upgrade the terminal by installing the upgrade package in the upgrade mode. It should be noted that, the manner of obtaining the upgrade package may be that the terminal downloads the installation package through a cellular network technology, or the terminal receives the installation package sent by the upgrade device through a USB bus, which is not limited in this embodiment. If the terminal receives the installation package sent by the upgrading device through the USB bus, the bus state of the USB bus needs to be configured into a state that the terminal is not triggered to enter the upgrading mode.
In this step, if the terminal recognizes that the pin state representation terminal needs to enter the upgrade mode, the terminal enters the upgrade mode, so as to perform upgrade in the upgrade mode.
According to the technical scheme of the embodiment, the pin state of the USB interface is detected, whether the terminal needs to enter the upgrading mode is identified according to the pin state, so that when the pin state represents that the terminal needs to enter the upgrading mode, the terminal enters the upgrading mode, upgrading is carried out in the upgrading mode, the terminal can judge whether the terminal needs to enter the upgrading mode according to the pin state of the USB interface, namely, the terminal enters the upgrading mode triggered by the pin state of the USB interface on the terminal, therefore, when the terminal needs to be upgraded, only the USB bus needs to be connected with the USB interface, and the USB bus is configured to trigger the terminal to enter the upgrading mode, at the moment, the pin state of the USB interface of the terminal changes and becomes the state representing that the terminal needs to enter the upgrading mode, and when the terminal determines that the pin state represents that the terminal needs to enter the upgrading mode, the terminal enters the upgrading mode for upgrading, the terminal can enter the upgrading mode without pressing a special key for a long time in the upgrading process of the terminal, and the technical effect of improving the convenience of terminal upgrading is achieved.
It can be understood that, by triggering the terminal upgrading method of the above embodiment when the terminal is started, that is, the terminal determines whether to enter the upgrading mode in the starting process, and if so, enters the upgrading mode for upgrading, even if the terminal cannot be started to enter the main interface, the terminal can be upgraded, and the terminal can also be upgraded when the terminal cannot be normally started, so that the convenience of terminal upgrading is further improved. Optionally, the triggering of the terminal upgrading method may be performed at the earliest stage of terminal booting, for example, at a BootLoader (boot load) stage of an Android platform.
It should be noted that, if the terminal upgrading method of the foregoing embodiment is triggered in the terminal booting process, when the pin state does not represent that the terminal needs to enter the upgrading mode, the terminal is normally booted, so as to enter the main interface.
In one embodiment, the pin status includes a DM pin status and/or a DP pin status. In this embodiment, the pin status includes a DM pin status and/or a DP pin status, that is, the terminal may determine whether to enter the upgrade mode according to the DM pin status, may also determine whether to enter the upgrade mode according to the DP pin status, and may also determine whether to enter the upgrade mode according to the DM pin status and the DP pin status. In this embodiment, identifying whether the terminal needs to enter an upgrade mode according to the pin status includes:
and if the DM pin state is consistent with a preset DM pin state and/or the DP pin state is consistent with a preset DP pin state, determining that the terminal needs to enter an upgrading mode.
Specifically, if the pin state includes a DM pin state, when the DM pin state is consistent with a preset DM pin state, the terminal enters an upgrade mode; if the pin state comprises a DP pin state, when the DP pin state is consistent with a preset DP pin state, the terminal enters an upgrading mode; and if the pin states comprise a DM pin state and a DP pin state, when the DM pin state is consistent with a preset DM pin state and the DP pin state is consistent with a preset DP pin state, the terminal enters an upgrading mode.
In this embodiment, since the terminal can identify whether the upgrade mode needs to be performed only by at least one of the DM pin state and the DP pin state, the DM pin state and the DP pin state do not bring hidden troubles to the security of the USB interface, and therefore the security of the terminal during upgrade can be improved.
It should be noted that the bus state of the USB bus may be adjusted to make the DM pin state of the USB interface consistent with the preset DM pin state, and/or make the DP pin state of the USB interface consistent with the preset DP pin state, so as to trigger the upgrade of the terminal.
Specifically, when the pin status is the DP pin status, the DP data line status of the USB bus is adjusted to be consistent with the preset DP data line status, and the preset DP data line status refers to that when the USB bus is connected to the USB interface, the DP pin status of the USB interface is consistent with the preset DP pin status. When the pin state is the DM pin state, the DM data line state of the USB bus is adjusted to be consistent with the preset DM data line state, and the preset DM data line state refers to the condition that when the USB bus is connected with the USB interface, the DM pin state of the USB interface is consistent with the preset DM pin state.
It can be understood that, when the pin states include the DM pin state and the DP pin state, that is, the terminal identifies whether to enter the upgrade mode through the DP pin state and the DM pin state, instead of simply relying on the DM pin state or the DP pin state, the problem of incorrect identification of the upgrade mode due to the change of the DM pin state or the DP pin state caused by normal operation can be eliminated, and the accuracy of entering the upgrade mode is improved.
For example, in The actual use process, for example, when an otg (on The go) connection peripheral (a usb disk, a mouse, a keyboard, etc.) is plugged in for starting up, The state of The DP pin may change, but at this time, The terminal should be normally started up, rather than entering The upgrade mode. Therefore, whether the upgrade mode needs to be entered is identified by the DP pin state and the DM pin state, and the accuracy of entering the upgrade mode can be improved.
In one embodiment, the predetermined DM pin status is that the DM pin is at a high level, and the predetermined DP pin status is that the DP pin is at a low level.
It is an electrical engineering term to refer to a high voltage as opposed to a low level. Among the logic levels, the minimum input high level allowed when the input of the logic gate is a high level is guaranteed, and when the input level is higher than the input high voltage (Vih), the input level is considered as a high level. A low level (Vil) refers to the maximum input low level allowed when the input to the logic gate is guaranteed to be low, and when the input level is lower than Vil, the input level is considered low. Generally, the low level is 0V, i.e. short circuit; the high level is 1.8V. The DP data line and the DM data line of the USB bus may be respectively connected to an interface, and when in use, the DP data line is grounded and short-circuited, and the DM data line is connected to a high level (generally 1.8V).
It should be noted that, if the DM pin is preset to be at a high level, the DM data line state of the USB bus is correspondingly at a high level. Similarly, if the predetermined DP pin state is the DP pin state at the low level, the corresponding DP data line state of the USB bus is at the low level.
In some cases, the pin state of the USB interface indicates that the terminal needs to enter the upgrade mode, not necessarily because the USB bus is configured to trigger the terminal to enter the upgrade mode, and the pin state of the USB interface jumps to a state indicating that the terminal needs to enter the upgrade mode due to an environment where the terminal is located or some abnormality occurs in the terminal itself, but in this case, according to the terminal upgrade method of the foregoing embodiment, the terminal still enters the upgrade mode, but in this case, the terminal does not need to enter the upgrade mode, and if the terminal enters the upgrade mode, the terminal may be damaged. Therefore, it is required to improve the recognition accuracy of the terminal entering the upgrade mode.
The following embodiments are provided to explain how to improve the identification accuracy of the terminal entering the upgrade mode based on any of the above embodiments.
Referring to fig. 3, fig. 3 is a schematic flowchart of a terminal upgrading method in another embodiment. In this embodiment, it is detected whether the USB interface is connected to the USB bus before detecting the pin status of the USB interface. As shown in fig. 3, the terminal upgrade method includes steps 310 to 340.
And step 310, detecting whether the USB interface is connected with a USB bus.
In this step, the terminal detects whether the USB interface is connected to the USB bus.
And step 320, responding to the detection result that the USB interface is connected with the USB bus, and detecting the pin state of the USB interface.
In this step, the pin status of the USB interface is detected only when it is detected that the USB bus is connected to the USB interface. In this embodiment, for the step of detecting the pin status of the USB interface, reference may be made to the description of any of the above embodiments, which is not described in detail in this embodiment.
And step 330, identifying whether the terminal needs to enter an upgrading mode according to the pin state.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
It is understood that if the USB interface is detected to be connected to the USB bus, it may be considered that the terminal needs to be upgraded in the current situation, charged, or in other situations. However, if the pin status also indicates that the terminal needs to enter the upgrade mode, it can be basically determined that the terminal needs to enter the upgrade mode, rather than the misjudgment caused by the environment where the terminal is located or some abnormality occurs in the terminal itself.
Step 340, responding to the identification result that the pin state represents that the terminal needs to enter the upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
According to the technical scheme of the embodiment, whether the USB interface is connected with the USB bus or not is detected, and if the USB interface is connected with the USB bus, the pin state of the USB interface is detected, so that whether the USB interface needs to enter the upgrading mode or not is identified according to the pin state of the USB interface, and if the USB interface is connected with the USB bus, the terminal may be considered to be required to be upgraded, charged or in other situations in the current situation. However, if the pin state also indicates that the terminal needs to enter the upgrade mode, the terminal can be basically determined to need to enter the upgrade mode, instead of being misjudged due to the environment where the terminal is located or some abnormality occurs in the terminal itself, so that the identification accuracy of the terminal entering the upgrade mode is improved, and the security of the terminal is correspondingly improved.
In one embodiment, the detecting whether the USB bus is connected to the USB interface includes:
detecting whether a VBUS pin of the USB interface is effective or not; and if the VBUS pin of the USB interface is valid, determining that the USB interface is connected with the USB bus.
The VBUS pin refers to a pin for receiving power supply in the USB interface. In this embodiment, if the VBUS pin is valid, it indicates that the USB bus supplies power to the USB interface, and at this time, the USB interface may be considered to be connected to the USB bus. Accordingly, the USB bus supplies power to the VBUS pin of the USB interface through the VBUS line. The VBUS line is the power line that HOST/HUB supplies to the USB device, i.e., +5V of an ordinary USB device.
In this embodiment, whether the VBUS pin of the USB interface is valid is detected, and if so, it is determined that the USB interface is connected to the USB bus, and whether the USB interface is connected to the USB bus can be determined by detecting the validity of the VBUS pin, so that the detection means is simple and easy to implement. It should be noted that, in general, the validity detection of the VBUS pin can be realized by reading the on-site detection of the battery.
Referring to fig. 4, fig. 4 is a schematic flowchart of a terminal upgrading method in another embodiment. In this embodiment, it is detected whether the charging type of the battery of the terminal is normal before detecting the pin status of the USB interface. As shown in fig. 4, the terminal upgrade method includes steps 410 to 440.
And step 410, detecting whether the charging type of the battery of the terminal is normal.
The charging type refers to a type of charging the battery, and is related to a charging protocol. The charging type of the present embodiment includes, but is not limited to, an SDP charging type, a CDP charging type, a DCP charging type, and the like, and is not limited herein. When the SDP charging type is suspended, the maximum load current is 2.5 mA; 100mA in the connected and non-suspended state, a current of 500mA (max) can be configured. The device may recognize the SDP using hardware, with the USB data lines D + and D-each grounded through 15k Ω, but still requiring enumeration to comply with the USB specification. The CDP charging type can provide up to 1.5A current, as can be provided prior to enumeration, unlike USB 2.0. Devices inserted into the CDP may identify the CDP by manipulating and monitoring the D +, D-lines using hardware handshaking. Hardware testing is performed before the data line is switched to USB transceiving, so that CDP (and charging is initiated) can be detected before enumeration. DCP charging types can provide up to 1.5A current, identified by short circuits D + and D-, enabling the design of DCP "wall adapter power", using USB mini or micro jacks instead of round plugs or self-made connector fixed mounting wires. Such an adapter can be charged using any USB cable (equipped with the correct plug).
And step 420, responding to the detection result that the charging type is normal, and detecting the pin state of the USB interface.
In this step, the pin status of the USB interface is detected only when the charging type is detected to be normal. In this embodiment, for the step of detecting the pin status of the USB interface, reference may be made to the description of any of the above embodiments, which is not described in detail in this embodiment.
And 430, identifying whether the terminal needs to enter an upgrading mode according to the pin state.
In this step, reference may be made to the description of any one of the above embodiments, which is not repeated herein. It is understood that if the charging type is detected to be normal, it may be considered that the terminal needs to be upgraded in the current situation, the terminal may be charging, or other situations. However, if the pin status also indicates that the terminal needs to enter the upgrade mode, it can be basically determined that the terminal needs to enter the upgrade mode, rather than the misjudgment caused by the environment where the terminal is located or some abnormality occurs in the terminal itself.
And 440, responding to the identification result that the pin state represents that the terminal needs to enter an upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode.
This step may refer to the description of any of the above embodiments, which is not repeated herein. According to the technical scheme of the embodiment, whether the charging type of the battery of the terminal is normal is detected, if the charging type is normal, the terminal detects the pin state of the USB interface, so that whether the terminal needs to enter the upgrading mode is identified according to the pin state of the USB interface, and if the charging type of the battery is detected to be normal, the terminal may need to be upgraded, the terminal may be charged or other situations may be considered in the current situation. However, if the pin state also indicates that the terminal needs to enter the upgrade mode, the terminal can be basically determined to need to enter the upgrade mode, instead of being misjudged due to the environment where the terminal is located or some abnormality occurs in the terminal itself, so that the identification accuracy of the terminal entering the upgrade mode is improved, and the security of the terminal is correspondingly improved. In addition, when the charging type of the battery of the terminal is normal, the loss of the machine caused by charging under the condition of abnormal charging type detection is avoided, the battery of the terminal can be protected, the problem of abnormal charging upgrading failure is avoided, and the safety of the terminal is ensured.
In one embodiment, the detecting whether the charging type of the battery of the terminal is normal includes: identifying whether the charging type is an SDP charging type, a CDP charging type or a DCP charging type; and if the charging type is an SDP charging type, a CDP charging type or a DCP charging type, determining that the charging type of the battery is normal.
In this embodiment, by identifying whether the charging type is an SDP charging type, a CDP charging type, or a DCP charging type, if the charging type is an SDP charging type, a CDP charging type, or a DCP charging type, it is determined that the charging type of the battery is normal, and it is possible to ensure that the terminal is charged in a better charging manner, thereby ensuring the security of terminal upgrade.
It should be noted that the charging type of the battery can be identified by detecting a change of the charging signal, and the embodiment is not particularly limited.
In an embodiment, before detecting the pin status of the USB interface, it may further be detected whether the USB interface is connected with the USB bus, and whether the charging type of the battery of the terminal is normal, and when it is detected that the USB interface is connected with the USB bus, and the charging type of the battery of the terminal is normal, the pin status of the USB interface is detected.
It can be understood that, by detecting whether the USB interface is connected to the USB bus and detecting whether the charging type of the battery of the terminal is normal, it is equivalent to determining that the terminal is indeed connected to the upgrade device through the USB bus by multiple detections, so as to ensure that the identification accuracy of the terminal entering the upgrade mode is maximized.
Referring to fig. 5, fig. 5 is a schematic flowchart of a terminal upgrading method in another embodiment. In this embodiment, the terminal upgrading method is triggered in the booting process as an example for explanation. As shown in fig. 5, the terminal upgrade method includes steps 510 to 580.
And step 510, starting the computer.
And step 520, detecting whether the USB interface is connected with the USB bus.
In this step, if it is detected that the USB bus is connected to the USB interface, step 530 is executed. If the USB interface is not detected to be connected to the USB bus, step 580 is executed.
Step 530, detecting whether the charging type of the battery of the terminal is normal.
In this step, if it is detected that the charging type of the battery of the terminal is normal, step 540 is executed. If the charging type of the battery is detected to be abnormal, step 580 is executed.
And 540, detecting the DP pin state and the DM pin state of the USB interface.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And step 550, judging whether the DP pin state is in a low level.
In this step, if the DP pin status is at low level, step 560 is executed. If not, step 580 is performed.
Step 560, determine whether the DM pin status is at a high level.
In this step, if the DM pin status is at high level, step 570 is executed. If not, step 580 is performed.
Step 570, entering an upgrade mode, and upgrading in the upgrade mode.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
Step 580, start up normally.
It should be noted that, the sequence of step 550 and step 560 may be reversed.
According to the technical scheme of the embodiment, the terminal can judge whether the terminal needs to enter the upgrading mode according to the pin state of the USB interface, namely, the entering of the upgrading mode of the terminal is triggered by the pin state of the USB interface on the terminal, when the terminal needs to be upgraded, the USB bus only needs to be connected with the USB interface, and the USB bus is configured to trigger the terminal to enter the upgrading mode, at the moment, the pin state of the USB interface of the terminal can be changed and becomes a state representing that the terminal needs to enter the upgrading mode, when the terminal determines that the pin state represents that the terminal needs to enter the upgrading mode, the terminal enters the upgrading mode for upgrading, the terminal can enter the upgrading mode without pressing a special key for a long time in the upgrading process of the terminal, and the technical effect of improving the upgrading convenience of the terminal is achieved.
Referring to fig. 6, fig. 6 is a schematic flowchart of a terminal upgrading method in another embodiment. The terminal upgrading method in this embodiment is described by taking the terminal and the upgrading device in fig. 1 as an example. As shown in fig. 6, the method of the present embodiment includes steps 610 to 640.
Step 610, the upgrading device adjusts the bus state of the USB bus to a state that triggers the terminal to enter an upgrading mode.
Wherein, this step is carried out under the condition that the upgrading device is connected with the USB interface through a USB bus. Bus state refers to the state of the various lines on the USB bus. Optionally, the bus status of the present embodiment includes, but is not limited to, VCC power supply line status, DP data line status, DM data line status, and GND ground line status. In this step, the upgrade device adjusts the bus state of the USB bus to a state that triggers the terminal to enter the upgrade mode, and since the USB bus is connected to the USB interface, the pin state of the USB interface is correspondingly represented as a state that the terminal needs to enter the upgrade mode.
And step 620, the terminal detects the pin state of the USB interface.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
Step 630, the terminal identifies whether the terminal needs to enter an upgrade mode according to the pin state.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
And step 640, the terminal responds to the identification result that the pin state represents that the terminal needs to enter an upgrading mode, enters the upgrading mode and is upgraded in the upgrading mode.
This step may refer to the description of any of the above embodiments, which is not repeated herein.
According to the technical scheme of the embodiment, under the condition that the upgrading equipment is connected with the USB interface through the USB bus, the upgrading equipment can adjust the bus state of the USB bus to the state of triggering the terminal to enter the upgrading mode, then the terminal can detect the pin state of the USB interface and identify whether the terminal needs to enter the upgrading mode according to the pin state, so that the terminal enters the upgrading mode in response to the identification result that the pin state represents that the terminal needs to enter the upgrading mode and is upgraded in the upgrading mode, the terminal upgrading mode is simple and easy to implement, and the convenience of terminal upgrading is improved.
In one embodiment, the bus state includes a DM data line state and/or a DP data line state, and the bus state may include the DM data line state, the DP data line state, or the DP data line state. When the bus state comprises a DM data line state, the upgrading device can adjust the DM data line state to trigger the terminal to enter an upgrading mode; when the bus state comprises a DP data line state, the upgrading equipment can adjust the DP data line state to trigger the terminal to enter an upgrading mode; when the bus state includes the DM data line state and the DP data line state, the upgrade device may adjust the DM data line state and the DP data line state to trigger the terminal to enter the upgrade mode. In this embodiment, the adjusting the bus state of the USB bus to a state that triggers the terminal to enter an upgrade mode includes:
and adjusting the DM data line state to be consistent with a preset DM data line state, and/or adjusting the DP data line state to be consistent with a preset DP data line state.
Specifically, when the bus state includes a DM data line state, the upgrade device may adjust the DM data line state to be consistent with a preset DM data line state, so as to trigger the terminal to enter an upgrade mode; when the bus state comprises a DP data line state, the upgrading equipment can adjust the DP data line state to be consistent with a preset DP data line state, so that the terminal is triggered to enter an upgrading mode; when the bus state includes a DM data line state and a DP data line state, the upgrade device may adjust the DM data line state to be consistent with a preset DM data line state, and adjust the DP data line state to be consistent with a preset DP data line state, thereby triggering the terminal to enter the upgrade mode.
In this embodiment, the upgrade device may trigger the terminal to enter the upgrade mode only through the DM data line state and the DP data line state, which may improve the security of the terminal during upgrade.
In one embodiment, the preset DM data line state is that the DM data line state is at a high level, and the preset DP data line state is that the DP data line state is at a low level.
In the case of upgrading the terminal, the terminal needs to acquire the upgrade package first and upgrade by installing the upgrade package in the upgrade mode. The mode of acquiring the upgrade package by the terminal may be that the upgrade device sends the transmission package to the terminal through a USB bus.
In one embodiment, after entering the upgrade mode, the terminal sends an upgrade instruction to the upgrade device, and the upgrade device transmits the state of the bus state data of the USB bus according to the upgrade instruction, and sends the upgrade packet to the terminal through the USB bus in the data transmission state.
In this embodiment, when the trigger terminal enters the upgrade mode, the upgrade device adjusts the bus state of the USB bus to the state that the trigger terminal enters the upgrade mode, and after the terminal enters the upgrade mode, adjusts the bus state of the USB bus to the state of data transmission, so that the upgrade package is sent to the terminal through the USB bus in the data transmission state.
It should be understood that although the various steps in the flow diagrams of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a terminal upgrading device in an embodiment. The terminal upgrading apparatus in this embodiment is described by taking the terminal in fig. 1 as an example. As shown in fig. 7, the terminal upgrade apparatus includes a detection module 710, an identification module 720, and an upgrade module 730. Wherein:
the detection module 710 is configured to detect a pin status of the USB interface; the identification module 720 is configured to identify whether the terminal needs to enter an upgrade mode according to the pin status; the upgrade module 730 is configured to enter an upgrade mode in response to a recognition result that the pin status represents that the terminal needs to enter the upgrade mode, and perform upgrade in the upgrade mode.
In an embodiment, the pin status includes a DM pin status and/or a DP pin status, and the identifying module 720 is specifically configured to determine that the terminal needs to enter an upgrade mode if the DM pin status is consistent with a preset DM pin status and/or the DP pin status is consistent with a preset DP pin status.
In one embodiment, the predetermined DM pin status is that the DM pin is at a high level, and the predetermined DP pin status is that the DP pin is at a low level.
In one embodiment, the detecting module 710 is further configured to detect whether the USB bus is connected to the USB interface; and responding to the detection result that the USB interface is connected with the USB bus, and detecting the pin state of the USB interface.
In an embodiment, the detecting module 710 is specifically configured to detect whether a VBUS pin of the USB interface is valid; and if the VBUS pin of the USB interface is valid, determining that the USB interface is connected with the USB bus.
In one embodiment, the detecting module 710 is further configured to detect whether a charging type of a battery of the terminal is normal; and responding to the detection result that the charging type is normal, and detecting the pin state of the USB interface.
In an embodiment, the detecting module 710 is specifically configured to identify whether the charging type is an SDP charging type, a CDP charging type, or a DCP charging type; and if the charging type is an SDP charging type, a CDP charging type or a DCP charging type, determining that the charging type of the battery is normal.
In one embodiment, a schematic structural diagram of a terminal upgrading device in another embodiment is provided. The terminal upgrading apparatus in this embodiment is described by taking the operation on the upgrading device in fig. 1 as an example. In one embodiment, the terminal upgrade apparatus includes a regulation module, wherein:
the adjusting module is used for adjusting the bus state of the USB bus to a state of triggering the terminal to enter an upgrading mode under the condition that the upgrading equipment is connected with the USB interface through the USB bus so as to indicate the terminal to enter the upgrading mode and upgrade under the upgrading mode.
In an embodiment, the bus state includes a DM data line state and/or a DP data line state, and the adjusting module is specifically configured to adjust the DM data line state to be consistent with a preset DM data line state, and/or adjust the DP data line state to be consistent with a preset DP data line state.
In one embodiment, the preset DM data line state is that the DM data line state is at a high level, and the preset DP data line state is that the DP data line state is at a low level.
The division of each module in the terminal upgrading device is only used for illustration, and in other embodiments, the terminal upgrading device may be divided into different modules as needed to complete all or part of the functions of the terminal upgrading device.
For specific limitations of the terminal upgrading device, reference may be made to the above limitations of the terminal upgrading method, which is not described herein again. The modules in the terminal upgrading device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a USB bus is further provided, where a bus state of the USB bus is configured to trigger a terminal to enter an upgrade mode, and the USB bus is used for connecting with a USB interface of the terminal to instruct the terminal to enter the upgrade mode and perform upgrade in the upgrade mode.
In this embodiment, the bus state of the USB bus is changed to enable the USB bus to be always in a state of triggering the terminal to enter the upgrade mode, and when the terminal needs to be upgraded, the terminal is connected with the upgrade device through the USB bus, so that the terminal can enter the upgrade mode according to the pin state of the USB interface.
Illustrated is a bus state that includes a DM data line state and a DP data line state. Illustratively, the DP data line is grounded at a normal time, and the DM data line is connected to a VCC power supply capable of providing a high level, so that the state of the DP data line is at a low level, and the state of the DM data line is at a high level, so that after the terminal is connected to the upgrade device through the USB bus, the terminal can enter an upgrade mode according to the pin state of the USB interface, thereby performing upgrade.
It should be noted that, in this embodiment, if the DM data line state and the DP data line state of the USB bus are adjusted by the upgrade apparatus, a first switch may be disposed between the DM data line and the VCC power supply, and a second switch is disposed between the DP data line and the ground point, the upgrade apparatus may adjust the DM data line state by controlling the closed state of the first switch, and similarly, the upgrade apparatus may adjust the DP data line state by controlling the closed state of the second switch.
Fig. 8 is a schematic internal structure diagram of a terminal in one embodiment. As shown in fig. 8, the terminal includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole terminal. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing a terminal upgrade method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The terminal may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and a communication module.
Fig. 9 is a schematic internal structure diagram of an upgrade apparatus in one embodiment. As shown in fig. 9, the upgrade apparatus includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole upgrading device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program is executable by a processor for implementing an upgrade apparatus upgrade method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The upgrading device can be any upgrading device such as a mobile phone, a tablet Personal computer, a Personal Digital Assistant (PDA), a Point of Sales (POS) upgrading device, a vehicle-mounted computer, a wearable device and the like.
The implementation of each module in the terminal upgrading device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the terminal upgrade method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a terminal upgrade method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A terminal upgrading method is applied to a terminal, the terminal comprises a USB interface, the USB interface is used for being connected with a matched USB bus, and the method comprises the following steps:
detecting the pin state of the USB interface;
identifying whether the terminal needs to enter an upgrading mode according to the pin state;
and responding to the identification result that the pin state represents that the terminal needs to enter an upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode.
2. The method of claim 1, wherein the pin status comprises a DM pin status and/or a DP pin status, and wherein identifying whether the terminal needs to enter an upgrade mode according to the pin status comprises:
and if the DM pin state is consistent with a preset DM pin state and/or the DP pin state is consistent with a preset DP pin state, determining that the terminal needs to enter an upgrading mode.
3. The method of claim 2, wherein the predetermined DM pin status is that the DM pin is high, and wherein the predetermined DP pin status is that the DP pin is low.
4. The method of claim 1, further comprising:
detecting whether the USB interface is connected with the USB bus or not;
and responding to the detection result that the USB interface is connected with the USB bus, and detecting the pin state of the USB interface.
5. The method of claim 1, further comprising:
detecting whether the charging type of a battery of the terminal is normal or not;
and responding to the detection result that the charging type is normal, and detecting the pin state of the USB interface.
6. A terminal upgrading method is applied to upgrading equipment which is used for being connected with a USB interface of a terminal through a USB bus, and the method comprises the following steps:
and under the condition that the upgrading equipment is connected with the USB interface through a USB bus, the bus state of the USB bus is adjusted to a state of triggering the terminal to enter an upgrading mode so as to indicate the terminal to enter the upgrading mode, and upgrading is carried out in the upgrading mode.
7. A terminal, characterized in that it comprises a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
8. An upgrade device, comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method as claimed in claim 6.
9. A USB bus, wherein a bus state of the USB bus is configured to trigger a terminal to enter an upgrade mode, and the USB bus is configured to connect with a USB interface of the terminal to instruct the terminal to enter the upgrade mode and perform an upgrade in the upgrade mode.
10. A terminal upgrade system, comprising:
the USB bus, the bus state of the USB bus is configured to trigger the terminal to enter the state of upgrading mode;
the terminal comprises a USB interface, the USB interface is used for being connected with a matched USB bus, the terminal is used for detecting the pin state of the USB interface, identifying whether the terminal needs to enter an upgrading mode according to the pin state, responding to the identification result that the pin state represents that the terminal needs to enter the upgrading mode, entering the upgrading mode, and upgrading in the upgrading mode;
and the upgrading equipment is used for being connected with the USB interface of the terminal through the USB bus.
CN202111367949.1A 2021-11-18 2021-11-18 Terminal upgrading method, system, terminal, upgrading device and USB bus Pending CN114238190A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111367949.1A CN114238190A (en) 2021-11-18 2021-11-18 Terminal upgrading method, system, terminal, upgrading device and USB bus
PCT/CN2022/105136 WO2023087748A1 (en) 2021-11-18 2022-07-12 Terminal upgrading method and system, and terminal, upgrading device and usb bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111367949.1A CN114238190A (en) 2021-11-18 2021-11-18 Terminal upgrading method, system, terminal, upgrading device and USB bus

Publications (1)

Publication Number Publication Date
CN114238190A true CN114238190A (en) 2022-03-25

Family

ID=80750260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111367949.1A Pending CN114238190A (en) 2021-11-18 2021-11-18 Terminal upgrading method, system, terminal, upgrading device and USB bus

Country Status (2)

Country Link
CN (1) CN114238190A (en)
WO (1) WO2023087748A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023087748A1 (en) * 2021-11-18 2023-05-25 深圳市广和通无线通信软件有限公司 Terminal upgrading method and system, and terminal, upgrading device and usb bus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185972A (en) * 2011-04-25 2011-09-14 惠州Tcl移动通信有限公司 Novel mobile terminal software upgrading system and method as well as mobile terminal
CN107783769A (en) * 2016-08-24 2018-03-09 青岛歌尔声学科技有限公司 A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment
CN209231439U (en) * 2018-12-07 2019-08-09 歌尔科技有限公司 A kind of earphone USB port insertion detection circuit
CN111241015A (en) * 2019-12-31 2020-06-05 广州展讯信息科技有限公司 Master-slave CPU circuit structure, method and storage medium capable of realizing USB interface multiplexing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292859B1 (en) * 1998-10-27 2001-09-18 Compaq Computer Corporation Automatic selection of an upgrade controller in an expansion slot of a computer system motherboard having an existing on-board controller
CN101963910A (en) * 2010-09-21 2011-02-02 深圳市元征软件开发有限公司 General USB (Universal Serial Bus) based equipment firmware updating method
CN108471660A (en) * 2018-04-17 2018-08-31 四川省能源投资集团有限责任公司 No key ISP upgrades circuit
CN114238190A (en) * 2021-11-18 2022-03-25 深圳市广和通无线通信软件有限公司 Terminal upgrading method, system, terminal, upgrading device and USB bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185972A (en) * 2011-04-25 2011-09-14 惠州Tcl移动通信有限公司 Novel mobile terminal software upgrading system and method as well as mobile terminal
CN107783769A (en) * 2016-08-24 2018-03-09 青岛歌尔声学科技有限公司 A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment
CN209231439U (en) * 2018-12-07 2019-08-09 歌尔科技有限公司 A kind of earphone USB port insertion detection circuit
CN111241015A (en) * 2019-12-31 2020-06-05 广州展讯信息科技有限公司 Master-slave CPU circuit structure, method and storage medium capable of realizing USB interface multiplexing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023087748A1 (en) * 2021-11-18 2023-05-25 深圳市广和通无线通信软件有限公司 Terminal upgrading method and system, and terminal, upgrading device and usb bus

Also Published As

Publication number Publication date
WO2023087748A1 (en) 2023-05-25

Similar Documents

Publication Publication Date Title
EP3677925B1 (en) Adapter testing apparatus and method
CN108845655B (en) Electronic equipment control method and device, control circuit and electronic equipment
EP2821882B1 (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
KR20140144277A (en) Electronic device and control method therefor
KR20190000690A (en) Electronic device and method for controlling a charging thereof
US20170005495A1 (en) Method and apparatus for charging electronic device with usb connection
CN101330399A (en) Method for upgrading built-in equipment
CN109213530B (en) USB-based communication connection method, mobile terminal and storage medium
CN106911157B (en) Quick charging line, quick charging system and quick charging method
US20200387460A1 (en) Method for performing detection control of write protection function of memory device, associated control chip and associated electronic device
EP2798428B1 (en) Apparatus and method for managing operation of a mobile device
EP3771987B1 (en) Electronic device for preventing damage of usb device and operating method thereof
CN114238190A (en) Terminal upgrading method, system, terminal, upgrading device and USB bus
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
CN111026421A (en) Upgrading device
US20200220371A1 (en) Method and device for controlling charging on basis of state of battery
JP2021532485A (en) Adapter function test method and equipment, equipment, storage medium
CN106774769B (en) Terminal working mode switching method and device and handheld terminal
CN112380078A (en) USB equipment communication test method and test device
CN112579500A (en) Method and device for prompting anti-misplug USB interface and electronic equipment
CN110908733A (en) Working mode determining method and device, and control method and device
CN102750232B (en) Electronic equipment system and storage device
CN107346905B (en) Power supply method and device
CN112486778A (en) Power consumption detection method and device, electronic equipment and computer readable storage medium
CN105224484B (en) The method and apparatus that multiplex roles application is realized in ID authentication device

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