WO2021018208A1 - 固件升级方法及装置、电子设备、存储介质 - Google Patents

固件升级方法及装置、电子设备、存储介质 Download PDF

Info

Publication number
WO2021018208A1
WO2021018208A1 PCT/CN2020/105565 CN2020105565W WO2021018208A1 WO 2021018208 A1 WO2021018208 A1 WO 2021018208A1 CN 2020105565 W CN2020105565 W CN 2020105565W WO 2021018208 A1 WO2021018208 A1 WO 2021018208A1
Authority
WO
WIPO (PCT)
Prior art keywords
firmware
wireless charging
charging chip
upgrade
electronic device
Prior art date
Application number
PCT/CN2020/105565
Other languages
English (en)
French (fr)
Inventor
林尚波
万世铭
杨军
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021018208A1 publication Critical patent/WO2021018208A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present disclosure relates to the field of charging technology, and in particular to a firmware upgrade method and device, electronic equipment, and storage medium.
  • wireless charging technology has become more and more widely used in various electronic devices, and wireless charging chips are one of the important components in the wireless charging system of electronic devices.
  • a firmware program for driving the wireless charging hardware device is installed in the wireless charging chip. When the charging process, charging protocol, etc. are updated, the firmware of the wireless charging chip needs to be upgraded.
  • the purpose of the present disclosure is to provide a firmware upgrade method and device, electronic equipment, and storage medium, so as to overcome at least to a certain extent one or more problems caused by the limitations and defects of related technologies.
  • a firmware upgrade method for an electronic device, the electronic device includes a wireless charging chip, and the firmware upgrade method includes:
  • the first firmware is the firmware in the wireless charging chip, and the second firmware is stored in the storage device of the electronic device;
  • the second firmware is used to complete the firmware upgrade of the wireless charging chip.
  • a firmware upgrade device for electronic equipment including a wireless charging chip
  • the firmware upgrade device includes:
  • a judging module configured to judge whether the first firmware and the second firmware are consistent, the first firmware is the firmware in the wireless charging chip, and the second firmware is stored in the storage device of the electronic device;
  • the upgrade module is configured to use the second firmware to complete the firmware upgrade of the wireless charging chip when the first firmware and the second firmware are inconsistent.
  • an electronic device including:
  • a memory where computer readable instructions are stored, and when the computer readable instructions are executed by the processor, the method according to any one of the foregoing is implemented.
  • a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method according to any one of the above is implemented.
  • Fig. 1 is a flowchart of a first firmware upgrade method provided by an exemplary embodiment of the present disclosure
  • FIG. 2 is a flowchart of a second firmware upgrade method provided by an exemplary embodiment of the present disclosure
  • FIG. 3 is a flowchart of a third firmware upgrade method provided by an exemplary embodiment of the present disclosure
  • FIG. 4 is a flowchart of a fourth firmware upgrade method provided by an exemplary embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a fifth firmware upgrade method provided by an exemplary embodiment of the present disclosure.
  • FIG. 6 is a flowchart of a sixth firmware upgrade method provided by an exemplary embodiment of the present disclosure.
  • FIG. 7 is a flowchart of a seventh firmware upgrade method provided by an exemplary embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a wireless charging system provided by an embodiment of the disclosure.
  • FIG. 9 is a block diagram of a firmware upgrade device provided by an exemplary embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a first electronic device provided by an exemplary embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of a device to be charged according to an exemplary embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a wireless charging device provided by an exemplary embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of a first computer-readable storage medium provided by an exemplary embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a firmware upgrade method provided by an embodiment of the disclosure, as shown in FIG. 1, The firmware upgrade method includes the following steps:
  • Step S110 determining whether the first firmware and the second firmware are consistent, the first firmware is the firmware in the wireless charging chip, and the second firmware is stored in the storage device of the electronic device;
  • Step S130 when the first firmware and the second firmware are inconsistent, the second firmware is used to complete the firmware upgrade of the wireless charging chip.
  • the firmware upgrade method provided by the embodiments of the present disclosure determines whether the first firmware in the wireless charging chip is consistent with the second firmware in the storage device of the electronic device. When the first firmware and the second firmware are inconsistent, the second firmware is used to complete The firmware upgrade of the wireless charging chip realizes the automatic upgrade of the firmware of the wireless charging chip, thereby ensuring the normal wireless charging function.
  • the firmware program in the wireless charging chip may have loopholes. In order to fix loopholes or improve the efficiency of wireless charging, reduce power loss, speed up charging, etc., it is necessary to carry out the charging process and charging protocol of wireless charging. Update means that the first firmware in the wireless charging chip needs to be upgraded.
  • the firmware described in the embodiments of the present disclosure is a driver of a charging chip or an electronic device, and the operating system is enabled to drive the charging chip and the electronic device through the firmware, so that it runs in a preset manner.
  • the firmware is written in Erasable Programmable Read Only Memory (EPROM) or Electrically Erasable Programmable Read Only Memory (EEPROM).
  • EPROM Erasable Programmable Read Only Memory
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • the first firmware may be a driver program written into the charging chip to drive wireless charging;
  • the firmware of an electronic device is a driver program written into the erasable programmable read-only memory of the electronic device to drive the operation of the electronic device .
  • step S110 it can be determined whether the first firmware and the second firmware are consistent, the first firmware is the firmware in the wireless charging chip, and the second firmware is stored in the storage device of the electronic device.
  • the second firmware may be the latest version of the wireless charging chip firmware, the second firmware may be stored in the electronic device, the second firmware may be compiled into the firmware of the electronic device, or the second firmware may be stored separately in the storage device of the electronic device in.
  • the consistency of the first firmware and the second firmware can be judged after the electronic device is turned on, and the consistency of the first firmware and the second firmware can be judged after the electronic device is turned on, and then the firmware upgrade can be performed to ensure that the firmware of the wireless charging chip is maintained The latest version. Or, the consistency of the first firmware and the second firmware is judged once every preset time interval when the electronic device works. Or, after triggering a specified event, a judgment of consistency between the first firmware and the second firmware is performed.
  • step S110 can be implemented through the following steps:
  • Step S210 Obtain the version identifier of the first firmware.
  • the application processor can obtain the version identification of the first firmware in the wireless charging chip, for example, the version number of the first firmware.
  • the application processor sends a first firmware version query command to the wireless charging chip, and the wireless charging chip responds to the first firmware version query command to send to the application processor The firmware version number on the current wireless charging chip.
  • the application processor may send the first firmware version query command to the wireless charging chip after the power is turned on, that is, the application processor may query the wireless charging chip firmware version every time the application processor is turned on. Or, during the use of the electronic device, the application processor sends the first firmware version query command to the wireless charging chip every preset time. For example, the application processor sends a first firmware version query command to the wireless charging chip every 24 hours. By querying the version of the first firmware every preset time, the automatic update of the first firmware can be realized, and the first firmware cannot be updated in time due to the long-term operation of the electronic device.
  • the application processor may also send the first firmware version query command in response to a manual operation of the user.
  • a query trigger event can be set on the electronic device.
  • the application processor sends the first firmware version query command to the wireless charging chip, and the wireless charging chip sends the first firmware version query command in response to the first firmware version query command.
  • the version number of the firmware to the application processor.
  • the wireless charging chip may send the version number of the first firmware to the application processor after the initialization is completed, and the application processor receives the version number of the first firmware. Thereafter, the wireless charging chip may also send the version number of the first firmware to the application processor every preset time.
  • Step S230 Obtain the version identifier of the second firmware.
  • the second firmware may be the latest version of the wireless charging chip firmware, and the second firmware may be compiled in the firmware of the electronic device.
  • the second firmware may be compiled in the firmware of the electronic device in the form of an array. Obtaining the original identification of the second firmware can be performed simultaneously with obtaining the version identification of the first firmware, or first obtaining the version identification of the first firmware and then obtaining the version identification of the second firmware, or obtaining the version identification of the second firmware first and then obtaining the second firmware version identification.
  • a firmware version identifier which is not specifically limited in the embodiment of the present disclosure.
  • the firmware of an electronic device is usually stored in a storage device of the electronic device.
  • the firmware of an electronic device can be stored in a storage device such as a random access memory or a hard disk.
  • the version number of the second firmware in the storage device can be queried by the application processor.
  • the second firmware when obtaining the version number of the second firmware, it may respond to the first firmware version query command to query the version number of the second firmware, that is, to obtain the version numbers of the first firmware and the second firmware at the same time.
  • the query of the second firmware version number may be performed in response to the second firmware version query command, and the second firmware version query command may be earlier than the first firmware query command or later than the first firmware query command.
  • the version number of the second firmware may be obtained when the application processor receives the version number of the first firmware.
  • version identifiers of the first firmware and the second firmware may be version numbers, or check codes set in the first firmware and the second firmware, etc.
  • the embodiments of the present disclosure are not limited thereto.
  • Step S250 Determine whether the version identifier of the first firmware and the version identifier of the second firmware are consistent.
  • the version identifier of the first firmware when the version identifier of the first firmware and the version identifier of the second firmware are the same, it is determined that the first firmware and the second firmware are the same, that is, in the wireless charging chip
  • the first firmware is the latest firmware, no firmware upgrade is required.
  • the version identifier of the first firmware and the version identifier of the second firmware are inconsistent, it is determined that the first firmware and the second firmware are inconsistent, the first firmware in the wireless charging chip is not the latest version of the firmware, and the first firmware needs to be upgraded.
  • step S130 when the first firmware and the second firmware are inconsistent, the second firmware can be used to complete the firmware upgrade of the wireless charging chip.
  • the second firmware is used to upgrade the firmware of the wireless charging chip.
  • the second firmware may be the firmware of the complete wireless charging chip.
  • the first firmware may be erased and the second firmware may be written.
  • the second firmware may be an upgrade package of the firmware of the wireless charging chip, which includes the firmware of the part of the wireless charging chip that needs to be upgraded.
  • the second firmware may be supplemented and compiled to the first firmware.
  • step S130 can be implemented using the following steps:
  • step S310 the third firmware is written into the storage device of the wireless charging chip, and the third firmware is bootloader (BootLoader) firmware.
  • the third firmware can be written into the random access memory of the wireless charging chip through I2C.
  • the application processor determines that the version identifier of the first firmware and the version identifier of the second firmware are different, the first firmware needs to be upgraded.
  • the application processor sends a firmware upgrade instruction. Since the wireless charging chip is in the off state in the non-charging state, the wireless chip needs to be started first, and the wireless charging chip is initialized by starting and loading the firmware to facilitate subsequent firmware upgrades.
  • the I2C is a data communication bus.
  • the I2C bus includes a data line and a clock line.
  • the I2C bus can be used for data transmission of the wireless charging chip.
  • the wireless charging chip communication can also be performed in other ways, and the embodiments of the present disclosure are not limited thereto.
  • the third firmware may be stored in the storage device of the electronic device. After the application processor issues a firmware upgrade instruction, the third firmware is sent from the storage device of the electronic device to the wireless charging chip.
  • the wireless charging chip BootLoader runs before the chip core runs. You can initialize the hardware device and establish a memory space map to bring the software and hardware environment of the chip to a suitable state, so as to prepare the correct environment for the final call of the chip kernel.
  • Step S330 run the third firmware.
  • the application processor controls the third firmware to run on the wireless charging chip, initializes the hardware equipment of the wireless charging chip, and establishes a memory space map, so that the software and hardware of the chip The environment enters a proper state, and the wireless charging chip communicates with the application processor through the I2C bus.
  • running the third firmware may include:
  • Step S410 It is determined whether the startup state of the third firmware is normal.
  • the application processor detects the startup state of the third firmware in real time when the third firmware is started, and judges whether the startup state of the third firmware is normal through the startup state of the third firmware. When the startup state of the third firmware is normal, run the third firmware, and then execute step S350.
  • step S430 if the startup state of the third firmware is abnormal, execute the step of writing the third firmware into the storage device of the wireless charging chip.
  • the application processor determines that the startup state of the third firmware is abnormal, it returns to step S310, rewrites the third firmware into the storage device of the wireless charging chip, and runs the third firmware.
  • running the third firmware may also include:
  • step S450 when the number of abnormal times in the continuous startup state of the third firmware is greater than the first preset threshold, exit the firmware upgrade.
  • the number of abnormal startup status of the third firmware can be recorded.
  • the number of abnormal startup status of the third firmware exceeds the first preset threshold during a firmware upgrade, it can be judged as a firmware upgrade failure and exit Firmware upgrade.
  • the firmware upgrade is exited.
  • the wireless charging chip can generate fault information and send the fault information to the application processor.
  • Step S350 using the third firmware to write the second firmware into the wireless charging chip.
  • the third firmware is used to realize the communication between the wireless charging chip and the application processor, and the application processor controls the writing of the second firmware into the wireless charging chip.
  • the second firmware is the firmware of the complete wireless charging chip, at this time, the first firmware may be erased and the second firmware may be written.
  • the second firmware is an upgrade package of the firmware of the wireless charging chip, which includes the firmware of the part of the wireless charging chip that needs to be upgraded, at this time, the second firmware may be supplemented and compiled to the first firmware.
  • the second firmware is written into the MTP (Media Transfer Protocol, Media Transfer Protocol) of the wireless charging chip through the third firmware.
  • MTP Media Transfer Protocol, Media Transfer Protocol
  • using the third firmware to write the second firmware into the wireless charging chip may include the following steps:
  • Step S510 Determine whether the writing of the second firmware is normal.
  • the application processor detects the writing state of the second firmware in real time when writing the second firmware, and judges whether the writing state of the third firmware is normal through the writing state of the second firmware. When the startup state of the third firmware is normal, the second firmware is run.
  • Step S530 if the writing of the second firmware is abnormal, execute the step of writing the third firmware to the storage device of the wireless charging chip.
  • the application processor determines that the writing of the second firmware is abnormal, it returns to step S310, rewrites the third firmware into the storage device of the wireless charging chip, and runs the third firmware.
  • using the third firmware to write the second firmware into the wireless charging chip also includes:
  • step S550 when the number of consecutive abnormal writing of the second firmware is greater than the second preset threshold, the firmware upgrade is exited.
  • the number of abnormal writing of the second firmware can be recorded.
  • the firmware upgrade For example, when the number of abnormal writing of the second firmware exceeds 5 times in a firmware upgrade, the firmware upgrade is exited.
  • the wireless charging chip can generate fault information and send the fault information to the application processor.
  • first preset threshold and the second preset threshold may be the same, and the first preset threshold and the second preset threshold may also be different, which is not specifically limited in the embodiment of the present disclosure.
  • the firmware upgrade method further includes:
  • Step S150 Obtain the second firmware, and store the second firmware in the storage device of the electronic device.
  • the second firmware can be obtained from the server, and the second firmware can be downloaded from the server after the electronic device is turned on and connected to the Internet. Or when the electronic device is working, the second firmware is downloaded from the server every preset time, for example, the second firmware is downloaded from the server every 24 hours. Or the second firmware can be downloaded from the server when triggered by a preset condition, for example, when the electronic device is connected to WIFI, the second firmware can be downloaded from the server. Or, obtain the firmware once after the previous first firmware update, and then obtain the second firmware at a preset time interval. It is understandable that the second firmware may also be obtained in other ways, such as copying from other electronic devices, and the embodiment of the present disclosure does not specifically limit this.
  • the electronic device first sends a data download request to the server, the server responds to the data download request and sends the second firmware to the electronic device, and the terminal receives the second firmware and compiles the second firmware in an array form To the firmware of the electronic device.
  • the version identification of the second firmware in the electronic device and the second firmware in the server can be compared.
  • the version identifier of the second firmware in the server is different from the version identifier in the electronic device, and the version of the second firmware in the server is newer than the version of the second firmware in the electronic device, download the latest version of the second firmware from the server , And replace the second firmware in the electronic device.
  • the version identifiers of the second firmware in the electronic device and the second firmware in the server are the same, the second firmware in the electronic device is the firmware of the latest version, and the second firmware is not downloaded from the server at this time.
  • the firmware upgrade method further includes:
  • Step S170 supply power to the wireless charging chip.
  • the firmware of the wireless charging chip when the firmware of the wireless charging chip is upgraded when the electronic device is turned on, power can be supplied to the wireless charging chip when the electronic device is turned on; when the firmware of the wireless charging chip is upgraded after the electronic device is working for a preset time, it can be processed in the application
  • the device provides power to the wireless charging chip before querying the version identifier of the first firmware.
  • the firmware upgrade of the wireless charging chip is completed, the power supply to the wireless charging chip is stopped.
  • supplying power to the wireless charging chip may include: using a wireless OTG (on-the-go) function to supply power to the wireless charging chip.
  • the wireless OTG can be turned on, the wireless OTG function can be used to power on the wireless charging chip, and then step S110 is performed. Or after another wireless charging chip firmware upgrade event is triggered, the wireless OTG is turned on, and the wireless charging chip is enabled through the wireless OTG function. When the firmware upgrade of the wireless charging chip is completed, turn off the wireless OTG.
  • using the second firmware to complete the upgrade of the firmware of the wireless charging chip may also include: restarting the wireless charging chip. After the second firmware is written into the wireless charging chip, the wireless charging chip needs to be restarted to run the second firmware.
  • FIG. 8 is a schematic structural diagram of a wireless charging system provided by an embodiment of the disclosure.
  • the wireless charging system includes: a power supply device 81, a wireless charging device 82 and a device to be charged 83.
  • the power supply device 81 may be, for example, a power adapter, a power bank (Power Bank), etc.;
  • the wireless charging device 82 may be, for example, a wireless charging base; and
  • the device to be charged 83 may be, for example, a terminal device.
  • the wireless charging device 82 includes a wireless transmitting circuit 821, a first control circuit 822, and a charging interface 823.
  • the charging interface 823 is connected to the power supply device 81
  • the wireless transmitting circuit 821 is used to convert the electric energy output by the power supply device 81 into electromagnetic signals (or electromagnetic waves) for transmission, so as to wirelessly charge the device 83 to be charged.
  • the wireless transmission circuit 821 may include: a wireless transmission drive circuit and a transmission coil (or transmission antenna).
  • the wireless transmission driving circuit is used to convert the direct current output by the power supply device 81 into high frequency alternating current, and convert the high frequency alternating current into an electromagnetic signal (or electromagnetic wave) through a transmitting coil or a transmitting antenna and transmit it out.
  • the device to be charged 83 includes: a wireless receiving circuit 831, a voltage conversion circuit 832, a battery 833, a second control circuit 834, and so on.
  • the wireless receiving circuit 831 is used to receive the electromagnetic signal (or electromagnetic wave) emitted by the wireless transmitting circuit 821, and convert the electromagnetic signal (or electromagnetic wave) into the direct current output by the wireless receiving circuit 831.
  • the wireless receiving circuit 831 may include: a receiving coil or a receiving antenna, and a rectifying circuit and/or a filtering circuit connected to the receiving coil or the receiving antenna and other shaping circuits.
  • the wireless receiving circuit 831 converts the electromagnetic signal (or electromagnetic wave) emitted by the wireless transmitting circuit 821 into alternating current through a receiving coil or a receiving antenna, and rectifies and/or filters the alternating current through a shaping circuit, thereby converting the alternating current into a stable Direct current to charge the battery 831.
  • the electronic device provided in the embodiment of the present disclosure may be the device to be charged 83, that is, a terminal device, such as a mobile phone, a tablet computer, a wearable electronic device, a smart TV, an e-book, or a mobile power supply.
  • the electronic equipment provided by the embodiments of the present disclosure may also be a wireless charging device 82, that is, a wireless charging base, such as a wireless charging base for terminal devices such as mobile phones, tablets, wearable electronic devices, smart TVs, e-books, or mobile power supplies.
  • the charging chip may be provided in the second control circuit 834, and the storage device may be separately provided in the second control circuit 834, or may be a storage device sharing the terminal device.
  • the charging chip may be provided in the first control circuit 822, and the first control circuit 822 also includes a storage device, a communication module, etc., and the communication module is used to send and receive the second firmware.
  • the firmware upgrade method provided by the embodiments of the present disclosure determines whether the first firmware in the wireless charging chip is consistent with the second firmware in the storage device of the electronic device. When the first firmware and the second firmware are inconsistent, the second firmware is used to complete The firmware upgrade of the wireless charging chip realizes the automatic upgrade of the firmware of the wireless charging chip, thereby ensuring the normal wireless charging function.
  • Exemplary embodiments of the present disclosure also provide a firmware upgrade device 900, which is used in an electronic device.
  • the electronic device includes a wireless charging chip.
  • the firmware upgrade device 900 includes:
  • the judging module 910 is used to judge whether the first firmware and the second firmware are consistent, the first firmware is the firmware in the wireless charging chip, and the second firmware is stored in the storage device of the electronic device;
  • the upgrade module 930 is configured to use the second firmware to upgrade the firmware of the wireless charging chip when the first firmware and the second firmware are inconsistent.
  • the firmware upgrade device determines whether the first firmware in the wireless charging chip is consistent with the second firmware in the storage device of the electronic device through the judgment module. When the first firmware and the second firmware are inconsistent, the second firmware is used The firmware completes the upgrade of the firmware of the wireless charging chip, and realizes the automatic upgrade of the firmware of the wireless charging chip, thereby ensuring the normal wireless charging function.
  • the judgment module may include:
  • the first obtaining unit is configured to obtain the version identification of the first firmware
  • the second acquiring unit is used to acquire the version identifier of the second firmware
  • the judging unit is used to judge whether the version identifier of the first firmware and the version identifier of the second firmware are consistent.
  • the firmware upgrade device further includes:
  • the obtaining module is used to obtain the second firmware and store the second firmware in the storage device of the electronic device.
  • the power supply module is used to supply power to the wireless charging chip.
  • the power supply module may include:
  • the power supply unit is used to use the wireless OTG (on-the-go) function to supply power to the wireless charging chip.
  • the upgrade module 830 may include:
  • the first writing unit is used to write the third firmware into the storage device of the wireless charging chip, and the third firmware is the boot loading firmware;
  • the running unit is used to run the third firmware
  • the second writing unit is configured to use the third firmware to write the second firmware into the wireless charging chip.
  • the operating unit may include:
  • the first judgment subunit is used to judge whether the startup state of the third firmware is normal
  • the first return subunit is configured to execute the step of writing the third firmware into the storage device of the wireless charging chip if the startup state of the third firmware is abnormal.
  • the first exit subunit is configured to exit the firmware upgrade when the number of abnormal times in the continuous startup state of the third firmware is greater than the first preset threshold.
  • the second writing unit includes:
  • the second judging subunit is used to judge whether the writing of the second firmware is normal
  • the second return subunit is configured to execute the step of writing the third firmware into the storage device of the wireless charging chip if the writing of the second firmware is abnormal.
  • the second exit subunit is configured to exit the firmware upgrade when the number of consecutive abnormal writing of the second firmware is greater than the second preset threshold.
  • the upgrade module may further include:
  • the restart unit is used to restart the wireless charging chip.
  • modules or units of the firmware upgrade apparatus are mentioned in the above detailed description, this division is not mandatory.
  • the features and functions of two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
  • an electronic device capable of implementing the above method is also provided.
  • the electronic device according to this embodiment of the present invention will be described below with reference to FIG. 10.
  • the electronic device shown in FIG. 10 is only an example, and should not bring any limitation to the function and application scope of the embodiment of the present invention.
  • the electronic device takes the form of a general-purpose computing device.
  • the components of the electronic device may include, but are not limited to: the aforementioned at least one processing unit 110, the aforementioned at least one storage unit 120, a bus 130 connecting different system components (including the storage unit 120 and the processing unit 110), and a display unit 140.
  • the storage unit stores program code, and the program code can be executed by the processing unit 110, so that the processing unit 110 executes the various exemplary methods described in the "exemplary method" section of this specification. Example steps.
  • the storage unit 120 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1201 and/or a cache storage unit 1202, and may further include a read-only storage unit (ROM) 1203.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 120 may also include a program/utility tool 1204 having a set of (at least one) program module 1205.
  • program module 1205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 130 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the electronic device can also communicate with one or more external devices 170 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device, and/or communicate with An electronic device can communicate with any device (such as a router, modem, etc.) that communicates with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 150.
  • the electronic device may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 160.
  • the network adapter 140 communicates with other modules of the electronic device through the bus 130.
  • the electronic device provided by the embodiment of the present disclosure may be a device 83 to be charged.
  • the electronic device may further include a wireless receiving circuit 831, a voltage conversion circuit 832 and a battery 833.
  • the wireless receiving circuit 831 is connected to the processing unit 110, the voltage conversion circuit is connected to the wireless receiving circuit 831 and the processing unit 110, the battery 833 is connected to the voltage conversion circuit, and the battery provides power to other modules and units of the electronic device.
  • the wireless receiving circuit 831 is used to receive the electromagnetic signal (or electromagnetic wave) emitted by the wireless transmitting circuit 821, and convert the electromagnetic signal (or electromagnetic wave) into the direct current output by the wireless receiving circuit 831.
  • the wireless receiving circuit 831 may include: a receiving coil or a receiving antenna, and a rectifying circuit and/or a filtering circuit connected to the receiving coil or the receiving antenna and other shaping circuits.
  • the wireless receiving circuit 831 converts the electromagnetic signal (or electromagnetic wave) emitted by the wireless transmitting circuit 821 into alternating current through a receiving coil or a receiving antenna, and rectifies and/or filters the alternating current through a shaping circuit, thereby converting the alternating current into a stable Direct current to charge the battery 831.
  • the electronic device provided by the embodiment of the present disclosure may be a wireless charging device 82, that is, a wireless charging base.
  • the electronic device may also include a wireless transmitting circuit 821, a wireless transmitting circuit 821, and processing The unit 110 is connected.
  • the wireless transmitting circuit 821 is used to convert the electrical energy output by the power supply device into electromagnetic signals (or electromagnetic waves) for transmission, so as to perform wireless charging for the device 83 to be charged.
  • the wireless transmission circuit 821 may include: a wireless transmission drive circuit and a transmission coil (or transmission antenna).
  • the wireless transmission driving circuit is used to convert the direct current output by the power supply device 81 into high frequency alternating current, and convert the high frequency alternating current into an electromagnetic signal (or electromagnetic wave) through a transmitting coil or a transmitting antenna and transmit it out.
  • the exemplary embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present disclosure.
  • a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium on which is stored a program product capable of implementing the above method of this specification.
  • various aspects of the present invention may also be implemented in the form of a program product, which includes program code, and when the program product runs on an electronic device, the program code is used to make the The electronic device executes the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
  • a program product 1300 for implementing the above method according to an embodiment of the present invention is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be stored in an electronic device, For example, running on a personal computer.
  • CD-ROM compact disk read-only memory
  • the program product of the present invention is not limited thereto.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of the present invention can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural styles. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service providers Internet service providers

Landscapes

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

Abstract

本公开是关于一种固件升级方法及装置、电子设备、存储介质,所述固件升级方法包括:判断第一固件和第二固件是否一致,所述第一固件为无线充电芯片内的固件,所述第二固件存储于电子设备的存储装置中;当所述第一固件和所述第二固件不一致时,利用所述第二固件完成对所述无线充电芯片固件的升级。通过判断无线充电芯片内的第一固件和电子设备的存储装置中的第二固件是否一致,当第一固件和第二固件不一致时,利用第二固件完成对无线充电芯片固件的升级,实现了对无线充电芯片固件的自动升级,进而保证无线充电功能的正常。 (图1)

Description

固件升级方法及装置、电子设备、存储介质
本申请要求于2019年07月29日递交的第201910689272.X号中国专利申请的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。
技术领域
本公开涉及充电技术领域,具体而言,涉及一种固件升级方法及装置、电子设备、存储介质。
背景技术
随着技术的发展和进步,无线充电技术在各类电子设备中的应用越来越广泛,无线充电芯片是电子设备无线充电系统中的重要器件之一。无线充电芯片中安装有用于驱动无线充电硬件器件的固件程序,当对充电流程、充电协议等进行更新时,需要对无线充电芯片的固件进行升级。目前,缺少一种用于无线充电芯片的固件升级方法。
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。
发明内容
本公开的目的在于提供一种固件升级方法及装置、电子设备、存储介质,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的一个或者多个问题。
根据本公开的第一方面,提供一种固件升级方法,用于电子设备,所述电子设备包括无线充电芯片,所述固件升级方法包括:
判断第一固件和第二固件是否一致,所述第一固件为无线充电芯片内的固件,所述第二固件存储于电子设备的存储装置中;
当所述第一固件和所述第二固件不一致时,利用所述第二固件完成对所述无线充电芯片固件的升级。
根据本公开的第二方面,提供一种固件升级装置,用于电子设备,所述电子设备包括无线充电芯片,所述固件升级装置包括:
判断模块,用于判断第一固件和第二固件是否一致,所述第一固件为无线充电芯片内的固件,所述第二固件存储于电子设备存储装置中;
升级模块,用于当所述第一固件和所述第二固件不一致时,利用所述第二固件完成对所述无线充电芯片固件的升级。
根据本公开的第三方面,提供一种电子设备,包括:
处理器;以及
存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时实现根据上述任意一项所述的方法。
根据本公开的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据上述任意一项所述的方法。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
通过参照附图来详细描述其示例实施例,本公开的上述和其它特征及优点将变得更加明显。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开示例性实施例提供的第一种固件升级方法的流程图;
图2为本公开示例性实施例提供的第二种固件升级方法的流程图;
图3为本公开示例性实施例提供的第三种固件升级方法的流程图;
图4为本公开示例性实施例提供的第四种固件升级方法的流程图;
图5为本公开示例性实施例提供的第五种固件升级方法的流程图;
图6为本公开示例性实施例提供的第六种固件升级方法的流程图;
图7为本公开示例性实施例提供的第七种固件升级方法的流程图;
图8为本公开实施例提供的一种无线充电系统的结构示意图;
图9为本公开示例性实施例提供的一种固件升级装置的框图;
图10为本公开示例性实施例提供的第一种电子设备的示意图;
图11为本公开示例性实施例提供的一种待充电设备的示意图;
图12为本公开示例性实施例提供的一种无线充电装置的示意图;
图13为本公开示例性实施例提供的第一种计算机可读存储介质的示意图。
具体实施方式
现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本公开将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本公开的实施例的充分理解。然而, 本领域技术人员将意识到,可以实践本公开的技术方案而没有所述特定细节中的一个或更多,或者可以采用其它的方法、组元、材料、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现、材料或者操作以避免模糊本公开的各方面。
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个软件硬化的模块中实现这些功能实体或功能实体的一部分,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
本公开示例性实施方式首先提供一种固件升级方法,用于电子设备,电子设备包括无线充电芯片,图1为本公开实施例提供的一种固件升级方法的流程图,如图1所示,固件升级方法包括如下步骤:
步骤S110,判断第一固件和第二固件是否一致,第一固件为无线充电芯片内的固件,第二固件存储于电子设备的存储装置中;
步骤S130,当第一固件和第二固件不一致时,利用第二固件完成对无线充电芯片固件的升级。
本公开实施例提供的固件升级方法,通过判断无线充电芯片内的第一固件和电子设备的存储装置中的第二固件是否一致,当第一固件和第二固件不一致时,利用第二固件完成对无线充电芯片固件的升级,实现了对无线充电芯片固件的自动升级,进而保证无线充电功能的正常。
在实际应用中,无线充电芯片内的固件程序有可能会存在漏洞,为了修补漏洞或者为了提高无线充电的效率、降低功率损失、加快充电速度等,需要对无线充电的充电流程以及充电协议等进行更新,也即是需要对无线充电芯片中的第一固件进行升级。
其中,本公开实施例中所述的固件为充电芯片或者电子设备等设备的驱动程序,通过固件使操作系统能够充电芯片以及电子设备的驱动,使其按预设方式运行。通常固件被写入可擦写可编程只读存储器(EPROM)或电可擦可编程只读存储器(EEPROM)中。比如,第一固件可以是写入充电芯片内的驱动程序,用于驱动无线充电;电子设备的固件是写入电子设备的可擦写可编程只读存储器的驱动程序,用于驱动电子设备运行。
在步骤S110中,可以判断第一固件和第二固件是否一致,第一固件为无线充电芯片内的固件,第二固件存储于电子设备的存储装置中。
其中,第二固件可以是最新版本的无线充电芯片固件,第二固件存储于电子设备中,第二固件可以被编译于电子设备的固件中,或者第二固件可以单独存储于电子设备的存储装置中。可以在电子设备开机后进行第一固件和第二固件一致性的判断,在电子设备开机后进行第一固件和第二固件一致性的判断,然后进行固件升级,能够保证无线充电芯片的固件保持最新版本。或者在电子设备每工作预设时间间隔进行一次第一固件和第二固件一致性的判断。或者在触发指定事件后进行一次第一固件和第二固件一致性的判断。
在本公开一可行的实施方式中,如图2所示,步骤S110可以通过如下步骤实现:
步骤S210,获取第一固件的版本标识。
可以在电子设备开机,无线充电芯片的驱动模块完成初始化之后,通过应用处理器获取无线充电芯片中第一固件的版本标识,比如,第一固件的版本号。
示例的,当电子设备开机,无线充电芯片的驱动模块完成初始化之后,应用处理器向无线充电芯片发送第一固件版本查询命令,无线充电芯片响应该第一固件版本查询命令,向应用处理器发送当前无线充电芯片上的固件版本号。
在一种具体的实施方式中,可以是开机后应用处理器就向无线充电芯片发送第一固件版本查询命令,也即是每次开机应用处理器进行无线充电芯片固件版本查询。或者,在电子设备使用过程中,每间隔预设时间应用处理器向无线充电芯片发送第一固件版本查询命令。比如,每间隔24小时应用处理器向无线充电芯片发送第一固件版本查询命令。通过每间隔预设时间查询一次第一固件的版本,可以实现第一固件的自动更新,避免由于电子设备长期工作,而导致的第一固件不能及时更新。
可以理解的是,应用处理器也可以响应用户的手动操作而发送第一固件版本查询命令。比如,可以在电子设备上设置查询触发事件,当用户触发该查询触发事件后,应用处理器向无线充电芯片发送第一固件版本查询命令,无线充电芯片响应该第一固件版本查询命令发送第一固件的版本号至应用处理器。
在一种具体的实施方式中,无线充电芯片可以在初始化完成后,向应用处理器发送第一固件的版本号,应用处理器接收该第一固件的版本号。此后,无线充电芯片还可以每间隔预设时间向应用处理器发送第一固件的版本号。
步骤S230,获取第二固件的版本标识。
其中,第二固件可以是最新版本的无线充电芯片固件,第二固件被编译在电子设备的固件内,比如,第二固件可以以数组的形式编译在电子设备固件中。获取第二固件的本本标识可以是和获取第一固件的版本标识同时进行,或者先获取第一固件的版本标识再获取第二固件的版本标识,或者先获取第二固件的版本标识再获取第一固件的版本标识,本公开实施例对此不做具体限定。
电子设备的固件通常存储于电子设备的存储装置中,比如,电子设备的固件可以存储于随机存取存储器或者硬盘等存储装置中。可以通过应用处理器查询存储装置中的第二固件的版本号。
示例的,在获取第二固件的版本号时,可以是响应第一固件版本查询命令,查询第二固件的版本号,也即是同时获取第一固件和第二固件的版本号。或者,可以是响应第二固件版本查询命令进行第二固件版本号的查询,第二固件版本查询命令可以是早于第一固件查询命令或者晚于第一固件查询命令。
当第一固件版本的版本号是通过无线充电芯片主动发送给应用处理器时,可以在应用处理器接收到第一固件的版本号时,获取第二固件的版本号。
可以理解的是,第一固件和第二固件的版本标识可以是版本号,或者是设于第一固件和第二固件内的校验码等,本公开实施例并不以此为限。
步骤S250,判断第一固件的版本标识和第二固件的版本标识是否一致。
对比第一固件的版本标识和第二固件的版本标识,当第一固件的版本标识和第二固件的版本标识相同时,则判断第一固件和第二固件相同,也即是无线充电芯片中的第一固件是最新的固件,不需要进行固件升级。当第一固件的版本标识和第二固件的版本标识不一致时,则判断第一固件和第二固件不一致,无线充电芯片中的第一固件不是最新版本的固件,需要对第一固件进行升级。
在步骤S130中,当第一固件和第二固件不一致时,可以利用第二固件完成对无线充电芯片固件的升级。
其中,利用第二固件对无线充电芯片的固件升级,第二固件可以是完整的无线充电芯片的固件,此时可以是将第一固件擦除,并将第二固件写入。或者第二固件可以是无线充电芯片固件的升级包,其中包括了需要升级部分的无线充电芯片的固件,此时可以是将第二固件补充编译至第一固件。
在本公开一可行的实施方式中,如图3所示,步骤S130可以用过如下步骤实现:
步骤S310,将第三固件写入无线充电芯片的存储装置,第三固件为启动加载(BootLoader)固件。
其中,可以通过I2C将第三固件写入无线充电芯片的随机存取存储器中。当应用处理器判断第一固件的版本标识和第二固件的版本标识不同时,则第一固件需要进行升级。应用处理器发送固件升级指令,由于在非充电状态下无线充电芯片处于关断状态,此时首先需要启动无线芯片,通过启动加载固件实现无线充电芯片的初始化,以便于后续的固件升级。
I2C为数据通信总线,I2C总线包括数据线和时钟线,I2C总线可以用于无线充电芯片的数据传输。当然在实际应用中,也可以通过其他方式进行无线充电芯片的通信,本公开实施例并不以此为限。
第三固件可以存储于电子设备的存储装置中,当应用处理器发出固件升级指令后,第三固件从电子设备的存储装置中被发送至无线充电芯片。在无线充电芯片中,BootLoader是在芯片内核运行之前运行。可以初始化硬件设备、建立内存空间映射图,从而将芯片的软硬件环境带到一个合适状态,以便为最终调用芯片内核准备好正确的环境。
步骤S330,运行第三固件。
其中,将第三固件存储于无线充电芯片的存储装置之后,应用处理器控制第三固件在无线充电芯片上运行,初始化无线充电芯片的硬件设备、建立内存空间映射图,从而使芯片的软硬件环境进入合适的状态,实现无线充电芯片通过I2C总线和应用处理器的通信。
在本公开一可行的实施方式中,如图4所示,运行第三固件可以包括:
步骤S410,判断第三固件的启动状态是否正常。
其中,应用处理器在第三固件启动时,实时检测第三固件的启动状态,通过过第三固件的启动状态判断第三固件的启动状态是否正常。当第三固件的启动状态正常时,运行第三固件,然后执行步骤S350。
步骤S430,若第三固件的启动状态异常,则执行步骤:将第三固件写入无线充电芯片的存储装置。
当应用处理器判断第三固件的启动状态异常时,返回步骤S310,将第三固件重新写入无线充电芯片的存储装置,并运行第三固件。
进一步的,运行第三固件,还可以包括:
步骤S450,当第三固件连续启动状态异常次数大于第一预设阈值时,退出固件升级。
在运行第三固件时,可以记录第三固件启动状态异常的次数,当在一次固件升级中,第三固件的启动状态异常的次数超过第一预设阈值时,可以判断为固件升级故障,退出固件升级。比如,当在一次固件升级中,第三固件的启动状态异常的次数超过5次时,退出固件升级。无线充电芯片可以生成故障信息,将该故障信息发送至应用处理器。通过在第三固件的启动状态异常的次数超过第二预设阈值时退出固件升级,避免由于故障导致浪费固件升级时间,提高固件升级效率。
步骤S350,利用第三固件,将第二固件写入无线充电芯片。
其中,利用第三固件实现无线充电芯片和应用处理器的通信,应用处理器控制将第二固件写入无线充电芯片。当第二固件是完整的无线充电芯片的固件,此时可以是将第一固件擦除将第二固件写入。当第二固件是无线充电芯片固件的升级包,其中包括了需要升级部分的无线充电芯片的固件,此时可以是将第二固件补充至编译至第一固件。示例的,第二固件通过第三固件写入无线充电芯片的MTP(Media Transfer Protocol,媒体传输协议)。
在本公开一可行的实施方式中,如图5所示,利用第三固件,将第二固件写入无线充电芯片,可以包括如下步骤:
步骤S510,判断第二固件的写入是否正常。
其中,应用处理器在第二固件写入时,实时检测第二固件的写入状态,通过过第二固件的写入状态判断第三固件的写入状态是否正常。当第三固件的启动状态正常时,运行第二固件。
步骤S530,若第二固件的写入异常,则执行步骤:将第三固件写入无线充电芯片的存储装置。
当应用处理器判断第二固件的写入异常时,返回步骤S310,将第三固件重新写入无线充电芯片的存储装置,并运行第三固件。
进一步的,利用第三固件,将第二固件写入无线充电芯片,还包括:
步骤S550,当第二固件连续写入异常次数大于第二预设阈值时,退出固件升级。
在写入第二固件时,可以记录第二固件写入异常的次数,当在一次固件升级中,第二固件的写入异常的次数超过第二预设阈值时,可以判断为固件升级故障,退出固件升级。比如,当在一次固件升级中,第二固件的写入异常的次数超过5次时,退出固件升级。无线充电芯片可以生成故障信息,将该故障信息发送至应用处理器。通过在第二固件的写入异常的次数超过第二预设阈值时退出固件升级,避免由于故障导致浪费固件升级时间,提高固件升级效率。
值得注意的是,在实际应用中第一预设阈值和第二预设阈值可以相同,第一预设阈值和第二预设阈值也可以不同,本公开实施例对此不做具体限定。
进一步的,如图6所示,判断第一固件和第二固件是否一致之前,固件升级方法还包括:
步骤S150,获取第二固件,并将第二固件存储于电子设备的存储装置中。
其中,可以从服务器中获取第二固件,可以在电子设备开机联网后从服务器下载第二固件。或者在电子设备工作时,每间隔预设时间从服务器下载第二固件,比如每间隔24小时从服务器下载第二固件。或者可以在预设条件被触发下从服务器下载第二固件,比如,当电子设备连接WIFI时,从服务器下载第二固件。或者,在前一次第一固件更新后进行一次获取固件,然后在预设时间间隔获取第二固件。可以理解的是,第二固件也可以通过其他方式获取,比如从其他电子设备拷贝等,本公开实施例对此不做具体限定。
示例的,从服务器下载第二固件,可以是电子设备首先向服务器发送数据下载请求,服务器响应数据下载请求,向电子设备发送第二固件,终端接收第二固件并将第二固件以数组形式编译到电子设备的固件中。
在获取第二固件时,可以比较电子设备中的第二固件和服务器中的第二固件的版本标识。当服务器中的第二固件的版本标识和电子设备中的版本标识不同,并且服务器中的第二固件的版本新于电子设备中的第二固件的版本时,从服务器下载最新版本的第二固件,并替换电子设备中的第二固件。当电子设备中的第二固件和服务器中的第二固件的版本标识相同,则电子设备中的第二固件为最新版本的固件,此时不从服务器下载第二固件。
无线充电芯片在没有进行无线充电时,处于断电状态,应用处理器无法访问无线充电芯片,也即无法获取第一固件的版本标识,因此为了使应用处理器能够访问无线充电芯片,在判断第一固件和第二固件是否一致之前,如图7所示,固件升级方法还包括:
步骤S170,向无线充电芯片供电。
其中,当在电子设备开机对无线充电芯片进行固件升级时,可以在电子设备开机时向无线充电芯片供电;当在电子设备工作预设时间后对无线充电芯片进行固件升级时, 可以在应用处理器查询第一固件的版本标识之前向无线充电芯片供电。当无线充电芯片固件升级完成后,停止对无线充电芯片供电。
在本公开一可行的实施方式中,向无线充电芯片供电,可以包括:利用无线OTG(on-the-go)功能,向无线充电芯片供电。
其中,可以在电子设备开机后,开启无线OTG,利用无线OTG功能,使得无线充电芯片上电,然后执行步骤S110。或者在其他无线充电芯片固件升级事件被触发后,开启无线OTG,通过无线OTG功能使得无线充电芯片。当无线充电芯片固件升级完成后,关闭无线OTG。
进一步的,利用第二固件完成对无线充电芯片固件的升级,还可以包括:重启无线充电芯片。当第二固件被写入无线充电芯片后,需要重启无线充电芯片以运行第二固件。
图8为本公开实施例提供的一种无线充电系统的结构示意图,如图8所示,无线充电系统包括:电源提供装置81、无线充电装置82以及待充电设备83。其中,电源提供装置81例如可以是电源适配器、移动电源(Power Bank)等设备;无线充电装置82例如可以是无线充电底座;待充电设备83例如可以是终端设备。
电源提供装置81与无线充电装置82连接后,将其输出的电流传输至无线充电装置82。无线充电装置82包括:无线发射电路821、第一控制电路822和充电接口823。其中,充电接口823连接电源提供装置81,无线发射电路821用于将电源提供装置81输出的电能转换成电磁信号(或电磁波)进行发射,以为待充电设备83进行无线充电。例如,无线发射电路821可以包括:无线发射驱动电路和发射线圈(或发射天线)。无线发射驱动电路用于将电源提供装置81输出的直流电转换成高频的交流电,并通过发射线圈或发射天线将该高频交流电转换成电磁信号(或电磁波)发射出去。
待充电设备83包括:无线接收电路831、电压转换电路832、电池833和第二控制电路834等。其中,无线接收电路831用于接收无线发射电路821发射的电磁信号(或电磁波),并将该电磁信号(或电磁波)转换成无线接收电路831输出的直流电。例如,无线接收电路831可以包括:接收线圈或接收天线及与该接收线圈或接收天线相连的整流电路和/或滤波电路等整形电路。无线接收电路831通过接收线圈或接收天线将无线发射电路821发射的电磁信号(或电磁波)转换成交流电,通过整形电路对该交流电进行整流和/或滤波等操作,从而将该交流电转换成稳定的直流电,以为电池831充电。
需要说明的是,本公开实施例中提供的电子设备可以是待充电设备83,也即是终端设备,比如手机、平板电脑、可穿戴电子设备、智能电视、电子书或者移动电源等。本公开实施例提供的电子设备还可以是无线充电装置82,也即是无线充电底座,比如手机、平板电脑、可穿戴电子设备、智能电视、电子书或者移动电源等终端设备的无线充电底座。
当电子设备为终端设备时,充电芯片可以是设于第二控制电路834,存储装置可以是单独设于第二控制电路834,也可以是共用终端设备的存储装置。当电子设备为无线 充电底座时,充电芯片可以设于第一控制电路822,第一控制电路822还包括存储装置、通信模块等,该通信模块用于收发第二固件。
本公开实施例提供的固件升级方法,通过判断无线充电芯片内的第一固件和电子设备的存储装置中的第二固件是否一致,当第一固件和第二固件不一致时,利用第二固件完成对无线充电芯片固件的升级,实现了对无线充电芯片固件的自动升级,进而保证无线充电功能的正常。
需要说明的是,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。
本公开示例性实施方式还提供一种固件升级装置900,用于电子设备,电子设备包括无线充电芯片,如图9所示,固件升级装置900包括:
判断模块910,用于判断第一固件和第二固件是否一致,第一固件为无线充电芯片内的固件,第二固件存储于电子设备存储装置中;
升级模块930,用于当第一固件和第二固件不一致时,利用第二固件完成对无线充电芯片固件的升级。
本公开实施例提供的固件升级装置,通过判断模块判断无线充电芯片内的第一固件和电子设备的存储装置中的第二固件是否一致,当第一固件和第二固件不一致时,利用第二固件完成对无线充电芯片固件的升级,实现了对无线充电芯片固件的自动升级,进而保证无线充电功能的正常。
在本公开一可行的实施方式中,判断模块可以包括:
第一获取单元,用于获取第一固件的版本标识;
第二获取单元,用于获取第二固件的版本标识;
判断单元,用于判断第一固件的版本标识和第二固件的版本标识是否一致。
在本公开一可行的实施方式中,固件升级装置还包括:
获取模块,用于获取第二固件,并将第二固件存储于电子设备的存储装置中。
供电模块,用于向无线充电芯片供电。
在本公开一可行的实施方式中,供电模块可以包括:
供电单元,用于利用无线OTG(on-the-go)功能,向无线充电芯片供电。
在本公开一可行的实施方式中,升级模块830可以包括:
第一写入单元,用于将第三固件写入无线充电芯片的存储装置,第三固件为启动加载固件;
运行单元,用于运行第三固件;
第二写入单元,用于利用第三固件,将第二固件写入无线充电芯片。
在本公开一可行的实施方式中,运行单元可以包括:
第一判断子单元,用于判断第三固件的启动状态是否正常;
第一返回子单元,用于若第三固件的启动状态异常,则执行步骤:将第三固件写入无线充电芯片的存储装置。
第一退出子单元,用于当第三固件连续启动状态异常次数大于第一预设阈值时,退出固件升级。
在本公开一可行的实施方式中,第二写入单元,包括:
第二判断子单元,用于判断第二固件的写入是否正常;
第二返回子单元,用于若第二固件的写入异常,则执行步骤:将第三固件写入无线充电芯片的存储装置。
第二退出子单元,用于当第二固件连续写入异常次数大于第二预设阈值时,退出固件升级。
在本公开一可行的实施方式中,,升级模块还可以包括:
重启单元,用于重启无线充电芯片。
上述中各固件升级装置模块的具体细节已经在对应的固件升级方法中进行了详细的描述,因此此处不再赘述。
应当注意,尽管在上文详细描述中提及了固件升级装置的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
此外,在本公开的示例性实施例中,还提供了一种能够实现上述方法的电子设备。
所属技术领域的技术人员能够理解,本发明的各个方面可以实现为系统、方法或程序产品。因此,本发明的各个方面可以具体实现为以下形式,即:完全的硬件实施例、完全的软件实施例(包括固件、微代码等),或硬件和软件方面结合的实施例,这里可以统称为“电路”、“模块”或“系统”。
下面参照图10来描述根据本发明的这种实施例的电子设备。图10显示的电子设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。
如图10所示,电子设备以通用计算设备的形式表现。电子设备的组件可以包括但不限于:上述至少一个处理单元110、上述至少一个存储单元120、连接不同系统组件(包括存储单元120和处理单元110)的总线130、显示单元140。
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元110执行,使得所述处理单元110执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施例的步骤。
存储单元120可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)1201和/或高速缓存存储单元1202,还可以进一步包括只读存储单元(ROM)1203。
存储单元120还可以包括具有一组(至少一个)程序模块1205的程序/实用工具1204,这样的程序模块1205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线130可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
电子设备也可以与一个或多个外部设备170(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备交互的设备通信,和/或与使得该电子设备能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口150进行。并且,电子设备还可以通过网络适配器160与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器140通过总线130与电子设备的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
示例的,如图11所示,本公开实施例提供的电子设备可以是待充电设备83,在此基础上,该电子设备还可以包括无线接收电路831、电压转换电路832和电池833。无线接收电路831连接于处理单元110,电压转换电路连接于无线接收电路831和处理单元110,电池833连接于电压转换电路,并且电池为电子设备的其他模块和单元供电。其中,无线接收电路831用于接收无线发射电路821发射的电磁信号(或电磁波),并将该电磁信号(或电磁波)转换成无线接收电路831输出的直流电。例如,无线接收电路831可以包括:接收线圈或接收天线及与该接收线圈或接收天线相连的整流电路和/或滤波电路等整形电路。无线接收电路831通过接收线圈或接收天线将无线发射电路821发射的电磁信号(或电磁波)转换成交流电,通过整形电路对该交流电进行整流和/或滤波等操作,从而将该交流电转换成稳定的直流电,以为电池831充电。
如图12所示,本公开实施例提供的电子设备可以是无线充电装置82,也即是无线充电底座,在此基础上,该电子设备还可以包括无线发射电路821,无线发射电路821和处理单元110连接。其中,无线发射电路821用于将电源提供装置输出的电能转换成电磁信号(或电磁波)进行发射,以为待充电设备83进行无线充电。例如,无线发射电路821可以包括:无线发射驱动电路和发射线圈(或发射天线)。无线发射驱动电路用于将电源提供装置81输出的直流电转换成高频的交流电,并通过发射线圈或发射天线将该高频交流电转换成电磁信号(或电磁波)发射出去。
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性 存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施例的方法。
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施例中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在电子设备上运行时,所述程序代码用于使所述电子设备执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施例的步骤。
参考图13所示,描述了根据本发明的实施例的用于实现上述方法的程序产品1300,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在电子设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施例。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限。

Claims (20)

  1. 一种固件升级方法,用于电子设备,所述电子设备包括无线充电芯片,其中,所述固件升级方法包括:
    判断第一固件和第二固件是否一致,所述第一固件为无线充电芯片内的固件,所述第二固件存储于电子设备的存储装置中;
    当所述第一固件和所述第二固件不一致时,利用所述第二固件完成对所述无线充电芯片固件的升级。
  2. 如权利要求1所述的固件升级方法,其中,所述判断第一固件和第二固件是否一致,包括:
    获取所述第一固件的版本标识;
    获取所述第二固件的版本标识;
    判断所述第一固件的版本标识和所述第二固件的版本标识是否一致。
  3. 如权利要求1所述的固件升级方法,其中,所述判断第一固件和第二固件是否一致之前,所述固件升级方法还包括:
    获取所述第二固件,并将所述第二固件存储于所述电子设备的存储装置中。
  4. 如权利要求1所述的固件升级方法,其中,所述判断第一固件和第二固件是否一致之前,所述固件升级方法还包括:
    向所述无线充电芯片供电。
  5. 如权利要求4所述的固件升级方法,其中,所述向所述无线充电芯片供电,包括:
    利用无线OTG(on-the-go)功能,向所述无线充电芯片供电。
  6. 如权利要求1所述的固件升级方法,其中,所述利用所述第二固件完成对所述无线充电芯片固件的升级,包括:
    将第三固件写入所述无线充电芯片的存储装置,所述第三固件为启动加载固件;
    运行所述第三固件;
    利用所述第三固件,将所述第二固件写入所述无线充电芯片。
  7. 如权利要求6所述的固件升级方法,其中,所述运行所述第三固件,包括:
    判断所述第三固件的启动状态是否正常;
    若所述第三固件的启动状态异常,则执行步骤:将第三固件写入所述无线充电芯片的存储装置。
  8. 如权利要求7所述的固件升级方法,其中,所述运行所述第三固件,还包括:
    当所述第三固件连续启动状态异常次数大于第一预设阈值时,退出固件升级。
  9. 如权利要求6所述的固件升级方法,其中,所述利用所述第三固件,将所述第二固件写入所述无线充电芯片,包括:
    判断所述第二固件的写入是否正常;
    若所述第二固件的写入异常,则执行步骤:将第三固件写入所述无线充电芯片的存储装置。
  10. 如权利要求9所述的固件升级方法,其中,所述利用所述第三固件,将所述第二固件写入所述无线充电芯片,还包括:
    当所述第二固件连续写入异常次数大于第二预设阈值时,退出固件升级。
  11. 如权利要求6所述的固件升级方法,其中,所述利用所述第二固件完成对所述无线充电芯片固件的升级,还包括:
    重启所述无线充电芯片。
  12. 一种固件升级装置,用于电子设备,所述电子设备包括无线充电芯片,其中,所述固件升级装置包括:
    判断模块,用于判断第一固件和第二固件是否一致,所述第一固件为无线充电芯片内的固件,所述第二固件存储于电子设备存储装置中;
    升级模块,用于当所述第一固件和所述第二固件不一致时,利用所述第二固件完成对所述无线充电芯片固件的升级。
  13. 如权利要求12所述的固件升级装置,其中,所述判断模块包括:
    第一获取单元,用于获取所述第一固件的版本标识;
    第二获取单元,用于获取所述第二固件的版本标识;
    判断单元,用于判断所述第一固件的版本标识和所述第二固件的版本标识是否一致。
  14. 如权利要求12所述的固件升级装置,其中,所述固件升级装置还包括:
    获取模块,用于获取所述第二固件,并将所述第二固件存储于所述电子设备的存储装置中。
  15. 如权利要求12所述的固件升级装置,其中,所述固件升级装置还包括:
    供电模块,用于向所述无线充电芯片供电。
  16. 如权利要求15所述的固件升级装置,其中,所述供电模块包括:
    供电单元,用于利用无线OTG(on-the-go)功能,向所述无线充电芯片供电。
  17. 如权利要求12所述的固件升级装置,其中,所述升级模块包括:
    第一写入单元,用于将第三固件写入所述无线充电芯片的存储装置,所述第三固件为启动加载固件;
    运行单元,用于运行所述第三固件;
    第二写入单元,利用所述第三固件,将所述第二固件写入所述无线充电芯片。
  18. 如权利要求17所述的固件升级装置,其中,所述运行单元包括:
    第一判断子单元,用于判断所述第三固件的启动状态是否正常;
    第一返回子单元,用于若所述第三固件的启动状态异常,则执行步骤:将第三固件写入所述无线充电芯片的存储装置。
  19. 一种电子设备,其中,包括
    处理器;以及
    存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时实现根据权利要求1至11中任一项所述的方法。
  20. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至11中任一项所述方法。
PCT/CN2020/105565 2019-07-29 2020-07-29 固件升级方法及装置、电子设备、存储介质 WO2021018208A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910689272.X 2019-07-29
CN201910689272.XA CN112306534A (zh) 2019-07-29 2019-07-29 固件升级方法及装置、电子设备、存储介质

Publications (1)

Publication Number Publication Date
WO2021018208A1 true WO2021018208A1 (zh) 2021-02-04

Family

ID=74230208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105565 WO2021018208A1 (zh) 2019-07-29 2020-07-29 固件升级方法及装置、电子设备、存储介质

Country Status (2)

Country Link
CN (1) CN112306534A (zh)
WO (1) WO2021018208A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204364A (zh) * 2021-05-28 2021-08-03 广州众诺电子技术有限公司 一种芯片固件升级方法、装置、电子设备及存储介质
CN116185429B (zh) * 2023-05-05 2023-07-07 成都市易冲半导体有限公司 固件升级方法、装置、接收端设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317318A1 (en) * 2013-04-18 2014-10-23 1 Oak Technologies, LLC Device and method for updating firmware of a peripheral device
CN205829205U (zh) * 2016-05-18 2016-12-21 青岛歌尔声学科技有限公司 一种usb无线充电装置
CN108616391A (zh) * 2018-04-11 2018-10-02 杭州嘉楠耘智信息科技有限公司 服务器端进行设备固件升级的方法及系统
CN108958777A (zh) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 一种无线充电设备及控制方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2993578A1 (en) * 2014-09-02 2016-03-09 Gemalto M2M GmbH Method for adapting firmware of a wireless communication device
CN104461666B (zh) * 2014-12-31 2018-05-08 小米科技有限责任公司 设备主处理器的固件升级方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317318A1 (en) * 2013-04-18 2014-10-23 1 Oak Technologies, LLC Device and method for updating firmware of a peripheral device
CN205829205U (zh) * 2016-05-18 2016-12-21 青岛歌尔声学科技有限公司 一种usb无线充电装置
CN108616391A (zh) * 2018-04-11 2018-10-02 杭州嘉楠耘智信息科技有限公司 服务器端进行设备固件升级的方法及系统
CN108958777A (zh) * 2018-08-03 2018-12-07 广州云海智联科技有限公司 一种无线充电设备及控制方法

Also Published As

Publication number Publication date
CN112306534A (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
US10007507B2 (en) Method for updating firmware of a battery included in a rechargeable battery module, portable electronic device, and rechargeable battery module
KR101729106B1 (ko) 모바일 기기
US10536010B2 (en) Method of transmitting and receiving power and electronic device using the same
US10361580B2 (en) Apparatus and method for charging electronic device having battery
US20130179870A1 (en) Updating firmware in a hybrid computing environment
KR101832953B1 (ko) 모바일 디바이스의 어플리케이션 프로세서의 원격 시동
CN106134033B (zh) 用于对电池进行充电的方法和电子装置
US10256653B2 (en) Electronic device and method for charging battery
CN112667266B (zh) 固件升级方法、装置、设备和存储介质
KR20180085313A (ko) 충전 제어 방법 및 이를 지원하는 전자 장치
US20160079802A1 (en) Wireless control method, and apparatus and server adapted to the same
WO2021018208A1 (zh) 固件升级方法及装置、电子设备、存储介质
CN109783123A (zh) 车载t-box终端及固件升级方法
TW201227516A (en) System and method for facilitating wireless communication during a pre-boot phase of a computing device
KR20120096865A (ko) 내장형 배터리를 가진 모바일 기기의 누설 전류 감축 시스템
CN106849263B (zh) 一种供电设备、供电系统、供电方法
CN111399874A (zh) 一种系统升级方法、装置、存储介质及智能穿戴设备
KR20130003852A (ko) 원격 디바이스 드라이버 제공 시스템 및 원격 디바이스 드라이버 제공 방법
US20130036411A1 (en) Software Update Method for Display Device
CN114117562B (zh) 智能网卡的管理方法、装置、电子设备及计算机存储介质
CN111610995B (zh) 一种设备固件升级方法、装置、电子设备和存储介质
US20200244782A1 (en) Communication device, method of communication device, and non-transitory computer readable storage medium
CN110913075A (zh) 充电控制方法、装置、设备及可读存储介质
CN112119566A (zh) 供电方法、装置、系统和存储介质
CN104778144A (zh) 基于otg的智能终端操作控制方法及装置

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: 20847411

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: 20847411

Country of ref document: EP

Kind code of ref document: A1