Wireless charger firmware updating method and system

The wireless charging with internal amplitude shift keying communication package is used to realize sensorless updates, which solves the problem of upgrading firmware of wireless chargers, improves update efficiency and convenience, and reduces design complexity and cost.

CN119149072APending Publication Date: 2024-12-17CHENGDU YICHONG WIRELESS POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411313890.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

Wireless chargers are difficult to upgrade firmware after mass production. The lack of upgrade interfaces will increase design complexity and cost, and may introduce security risks, affecting product sales and market performance.

Method used

Use wireless charging with internal amplitude shift keying communication packet for data interaction, send upgrade commands to the charger through the wireless charging receiving end, determine the consistency of firmware information, feedback the offset address and transmit the firmware upgrade data packet to achieve invisible updates and avoid Repeated transmission to improve update efficiency.

Benefits of technology

It realizes convenient firmware updates for wireless chargers, avoids the need to upgrade interfaces through firmware, improves the convenience and efficiency of updates, and reduces design complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119149072A_ABST
    Figure CN119149072A_ABST
Patent Text Reader

Abstract

The invention provides a wireless charger firmware updating method and system. A wireless charging receiving end sends an upgrading command to a wireless charger; if the current firmware information is inconsistent with the target firmware information, the wireless charger feeds back a first type of state message and a current offset address to the wireless charging receiving end; and the wireless charging receiving end transmits the firmware upgrading data packet after the current offset address to the wireless charger. According to the wireless charging system, firmware updating is carried out on the wireless charger based on the amplitude shift keying communication packet in the wireless charging band, non-inductive updating is achieved in the wireless charging process, firmware updating does not need to be carried out on the wireless charger through a firmware updating interface, and updating convenience is improved. By recording and feeding back the current offset address, the firmware upgrading data packet of the target version continues to be transmitted from the current offset address after the wireless charging receiving end is accessed again, so that the firmware updating efficiency is improved under the condition that repeated transmission is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a method and system for updating firmware of a wireless charger. Background Art

[0002] As mobile phones, tablets, smart watches and other electronic devices become more and more popular, the charging problem of electronic devices has also received more and more attention. Wireless chargers are widely used to meet the growing charging demand due to their convenient charging.

[0003] However, there is no firmware upgrade interface for wireless chargers after mass production. Once a problem is found in the product after mass production, it will be difficult to repair it through conventional means. This situation may have an adverse impact on the sales and market performance of the product. If a hardware interface is reserved, it may increase the complexity and cost of product design, and may also introduce additional security risks. Summary of the invention

[0004] The object of the present invention is to provide a wireless charger firmware update method and system to at least partially improve the above-mentioned problem.

[0005] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a wireless charger firmware update method, which is applied to a wireless charging system, wherein the wireless charging system includes a wireless charging receiving end and a wireless charger, wherein the wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band, and the method includes:

[0007] When the wireless charging receiving end is placed in the charging area corresponding to the wireless charger, the wireless charging receiving end sends an upgrade command to the wireless charger, wherein the upgrade command includes target firmware information of a target version;

[0008] The wireless charger determines whether the current firmware information is consistent with the target firmware information;

[0009] When the current firmware information is inconsistent with the target firmware information, the wireless charger feeds back a first type of status message to the wireless charging receiving end;

[0010] When the wireless charging receiving end obtains the first type of status message, the wireless charging receiving end sends an offset address query request to the wireless charger;

[0011] After obtaining the offset address query request, the wireless charger feeds back the current offset address to the wireless charging receiving end, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger;

[0012] The wireless charging receiving end transmits a firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update.

[0013] Optionally, after the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, the method further includes:

[0014] When the wireless charger receives the firmware upgrade data packet transmitted by the wireless charging receiving end, the wireless charger writes the received firmware upgrade data packet into the first storage interval, and updates the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

[0015] Optionally, the firmware upgrade data packet carries a corresponding target offset address, and after the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, the method further includes:

[0016] The wireless charger verifies whether the target offset address matches the current offset address;

[0017] If a match is found, the wireless charger writes the received firmware upgrade data packet into the first storage interval, and updates the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval;

[0018] If there is no match, the wireless charger sends a correction request to the wireless charging receiving end, where the correction request includes the current offset address.

[0019] Optionally, the method further includes: after the wireless charger writes all firmware upgrade data packets of the target version into the first storage interval, modifying the status flag bit to an upgradeable state;

[0020] After the wireless charger is reset, if it is determined that the status flag is in the upgradeable state, copying the firmware upgrade data packet in the first storage interval to the second storage interval;

[0021] After the copying is completed, the wireless charger runs the firmware upgrade data package corresponding to the target version in the second storage interval.

[0022] Optionally, after the copying is completed, the method further includes:

[0023] The wireless charger verifies whether the firmware upgrade data packet in the second storage interval is complete;

[0024] If complete, the wireless charger runs the firmware upgrade data package corresponding to the target version in the second storage interval.

[0025] In a second aspect, an embodiment of the present invention provides a wireless charger firmware update method, which is applied to a wireless charger in a wireless charging system, wherein the wireless charging system also includes a wireless charging receiving end, and the wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band, and the method includes:

[0026] Upon receiving an upgrade command sent by the wireless charger, determining whether the current firmware information is consistent with the target firmware information; wherein the upgrade command includes the target firmware information of the target version;

[0027] When the current firmware information is inconsistent with the target firmware information, feeding back a first type of status message to the wireless charging receiving end, so that the wireless charging receiving end sends an offset address query request to the wireless charger when acquiring the first type of status message;

[0028] After obtaining the offset address query request, the current offset address is fed back to the wireless charging receiving end, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger, so that the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, thereby completing the wireless charger firmware update.

[0029] In a third aspect, an embodiment of the present invention provides a wireless charging system, the wireless charging system comprising a wireless charging receiving end and a wireless charger, the wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band;

[0030] When the wireless charging receiving end is placed in the charging area corresponding to the wireless charger, the wireless charging receiving end is used to send an upgrade command to the wireless charger, wherein the upgrade command includes target firmware information of the target version;

[0031] The wireless charger is used to determine whether the current firmware information is consistent with the target firmware information;

[0032] When the current firmware information is inconsistent with the target firmware information, the wireless charger is used to feed back a first type of status message to the wireless charging receiving end;

[0033] The wireless charging receiving end is used to send an offset address query request to the wireless charger when acquiring the first type of status message;

[0034] The wireless charger is used to feedback a current offset address to the wireless charging receiving end after obtaining the offset address query request, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger;

[0035] The wireless charging receiving end is used to transmit the firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update.

[0036] Optionally, the wireless charger is used to write the received firmware upgrade data packet into a first storage interval when receiving the firmware upgrade data packet transmitted by the wireless charging receiving end, and update the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

[0037] Optionally, the firmware upgrade data packet carries a corresponding target offset address;

[0038] The wireless charger is used to verify whether the target offset address matches the current offset address;

[0039] If a match is found, the wireless charger is used to write the received firmware upgrade data packet into the first storage interval, and update the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval;

[0040] If there is no match, the wireless charger is used to send a correction request to the wireless charging receiving end, where the correction request includes the current offset address.

[0041] Optionally, the wireless charger is used to modify the status flag bit to an upgradeable state after writing all firmware upgrade data packets of the target version into the first storage interval;

[0042] The wireless charger is used to copy the firmware upgrade data packet in the first storage interval to the second storage interval if it is determined that the status flag is in the upgradeable state after the reset is completed;

[0043] After the copying is completed, the wireless charger is used to run the firmware upgrade data package corresponding to the target version in the second storage interval.

[0044] Optionally, the wireless charger is used to verify whether the firmware upgrade data packet in the second storage interval is complete;

[0045] If complete, the wireless charger is used to run the firmware upgrade data package corresponding to the target version in the second storage interval.

[0046] Compared with the prior art, the embodiments of the present invention provide a method and system for updating firmware of a wireless charger. The wireless charging system includes a wireless charging receiving end and a wireless charger. The wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band. When the wireless charging receiving end is placed in a charging area corresponding to the wireless charger, the wireless charging receiving end sends an upgrade command to the wireless charger, wherein the upgrade command includes target firmware information of a target version. The wireless charger determines whether the current firmware information is consistent with the target firmware information. When the current firmware information is inconsistent with the target firmware information, the wireless charger feeds back a first-class status message to the wireless charging receiving end. When the wireless charging receiving end obtains the first-class status message, the wireless charging receiving end sends an offset address query request to the wireless charger. After obtaining the offset address query request, the wireless charger feeds back a current offset address to the wireless charging receiving end, wherein the current offset address indicates the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger. The wireless charging receiving end transmits a firmware upgrade data packet after the current offset address to the wireless charger to complete the firmware update of the wireless charger. The wireless charging system implements firmware updates for wireless chargers based on the wireless charging in-band amplitude shift keying communication package, achieving senseless updates during the wireless charging process, without the need to update the wireless charger firmware through the firmware upgrade interface, thus improving the convenience of updates. By recording and feeding back the current offset address, the target version of the firmware upgrade data packet is continuously transmitted from the current offset address after the wireless charging receiver is reconnected, thus avoiding repeated transmissions and improving the efficiency of firmware updates.

[0047] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 This is a flow chart of a wireless charger firmware update method provided by an embodiment of the present invention.

[0050] Figure 2The second flowchart of the wireless charger firmware update method provided by the embodiment of the present invention.

[0051] Figure 3 The third flowchart of the wireless charger firmware update method provided by the embodiment of the present invention.

[0052] Figure 4 The fourth flowchart of the wireless charger firmware update method provided by the embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0054] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0056] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0057] In the description of the present invention, it should be noted that the terms "upper", "lower", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, or are directions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present invention.

[0058] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0059] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0060] An embodiment of the present invention provides a wireless charging system, which implements firmware update of the wireless charger through wireless communication (amplitude shift keying communication within the wireless charging band) when the wireless charger is not provided with a firmware upgrade interface.

[0061] The wireless charging system includes a wireless charging receiver and a wireless charger, and the wireless charging receiver and the wireless charger exchange data based on an amplitude shift keying communication packet (also called an ASK communication packet) in the wireless charging band. The wireless charging receiver can be, but is not limited to, a tablet, a mobile phone, a smart watch, etc.

[0062] The wireless charging receiving end can receive the target firmware information of the target version and the firmware upgrade data packet of the target version transmitted by the server.

[0063] When the wireless charging receiving terminal activates the wireless charging function and is placed in a charging area corresponding to the wireless charger, the wireless charging receiving terminal is used to send an upgrade command to the wireless charger, wherein the upgrade command includes target firmware information of the target version.

[0064] The wireless charger is used to determine whether the current firmware information is consistent with the target firmware information.

[0065] If they are consistent, it means that the current version corresponding to the current firmware information has been updated and upgraded, and no further update is required. The wireless charger is used to feedback the second type of status message to the wireless charging receiving end. At this time, the wireless charging system normally enters the wireless charging power transmission mode. If they are consistent, the firmware version needs to be updated.

[0066] When the current firmware information is inconsistent with the target firmware information, the wireless charger is used to feed back a first type of status message to the wireless charging receiving end.

[0067] In an optional implementation, the upgrade command also includes target charger identification information. When the target charger identification information in the upgrade command is consistent with the local device, and the current firmware information is inconsistent with the target firmware information, the wireless charger is used to feedback the first type of status message to the wireless charging receiving end. By adding the target charger identification information in the upgrade command, a directional update or directional repair can be achieved.

[0068] The wireless charging receiving end is used to send an offset address query request to the wireless charger when obtaining the first type of status message.

[0069] The wireless charger is used to feedback the current offset address to the wireless charging receiving end after obtaining the offset address query request, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger.

[0070] During the wireless charging process, the user may move the wireless charging receiver outside the charging area of ​​the wireless charger or the wireless charger may lose power, which may affect the transmission of the target version of the firmware upgrade data packet between the wireless charging receiver and the wireless charger. As a result, the wireless charger fails to receive the complete firmware upgrade data packet of the target version. By recording and feeding back the current offset address, the target version of the firmware upgrade data packet can be transmitted from the current offset address after the wireless charging receiver is reconnected, avoiding repeated transmission and improving the efficiency of firmware updates.

[0071] If the wireless charger has not previously stored a firmware upgrade data packet of the target version, the current offset address is 0.

[0072] In an optional implementation, in the wireless charging system, a private ASK packet may be defined based on the Qi protocol extension, such as a target-type ASK packet. The firmware upgrade data packet transmitted by the wireless charging receiver to the wireless charger is a target-type ASK packet.

[0073] The wireless charging receiving end is used to transmit the firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update.

[0074] The wireless charging system provided in the embodiment of the present invention implements firmware updates for wireless chargers based on the amplitude shift keying communication packet in the wireless charging band, realizes senseless updates during the wireless charging process, and does not need to update the firmware of the wireless charger through the firmware upgrade interface, thereby improving the convenience of updates. By recording and feeding back the current offset address, the firmware upgrade data packet of the target version is continuously transmitted from the current offset address after the wireless charging receiving end is reconnected, avoiding repeated transmissions and improving the efficiency of firmware updates.

[0075] In an optional embodiment, the wireless charger is used to write the received firmware upgrade data packet into the first storage interval when receiving the firmware upgrade data packet transmitted by the wireless charging receiving end, and update the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

[0076] In an optional implementation, the firmware upgrade data packet carries a corresponding target offset address, wherein the target offset address is the offset address of the first byte in the expected firmware upgrade data packet.

[0077] The wireless charger is used to verify whether the target offset address matches the current offset address.

[0078] By determining whether the target offset address matches the current offset address, data packet loss can be avoided and the correctness of data transmission can be guaranteed.

[0079] If a match is found, the wireless charger is configured to write the received firmware upgrade data packet into the first storage interval, and update the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

[0080] In the case of a match, the wireless charger can also feed back a match success message to the wireless charging receiving end so that it can continue to send the remaining firmware upgrade data packets corresponding to the target version.

[0081] If there is no match, the wireless charger is used to send a correction request to the wireless charging receiving end, where the correction request includes the current offset address.

[0082] After receiving the correction request, the wireless charging receiving end can transmit the firmware upgrade data packet after the current offset address to the wireless charger according to the current offset address in order to complete the firmware update of the wireless charger.

[0083] In an optional implementation, the wireless charger is used to modify the status flag to an upgradeable state after writing all firmware upgrade data packets of the target version into the first storage interval.

[0084] The wireless charger is used to copy the firmware upgrade data packet in the first storage interval to the second storage interval if it is determined that the status flag is in an upgradeable state after the reset is completed.

[0085] The reset here may be a self-reset after the wireless charging receiving end is moved out of the charging area corresponding to the wireless charger or a power-off reset of the wireless charger.

[0086] If the status flag is not in an upgradeable state, the wireless charger runs the firmware program corresponding to the current version in the second storage interval.

[0087] After the copying is completed, the wireless charger is used to run the firmware upgrade data package corresponding to the target version in the second storage interval, thereby completing the wireless charger firmware update.

[0088] In an optional implementation, the wireless charger is used to verify whether the firmware upgrade data packet in the second storage interval is complete.

[0089] If complete, the wireless charger is used to run the firmware upgrade data package corresponding to the target version in the second storage interval.

[0090] If it is incomplete, the wireless charger performs feedback processing (feedback to the wireless charging receiving end to obtain a complete firmware upgrade data packet corresponding to the target version), and the wireless charger runs the firmware program corresponding to the current version in the second storage interval.

[0091] The embodiment of the present invention also provides a wireless charger firmware update method, which is applied to the above-mentioned wireless charging system, wherein the wireless charging system includes a wireless charging receiving end and a wireless charger, and the wireless charging receiving end and the wireless charger perform data exchange based on the wireless charging in-band amplitude shift keying communication packet, please refer to Figure 1 The wireless charger firmware update method includes: S101 to S103 and S201 to S204, which are specifically described as follows.

[0092] S101, when the wireless charging receiving terminal is placed in a charging area corresponding to the wireless charger, the wireless charging receiving terminal sends an upgrade command to the wireless charger.

[0093] The upgrade command includes target firmware information of the target version.

[0094] S201, the wireless charger determines whether the current firmware information is consistent with the target firmware information. If yes, execute S202; if no, execute S203.

[0095] S202: The wireless charger feeds back a second type of status message to the wireless charging receiving end.

[0096] S203: The wireless charger feeds back a first type of status message to the wireless charging receiving end.

[0097] S102: When the wireless charging receiving end obtains the first type of status message, the wireless charging receiving end sends an offset address query request to the wireless charger.

[0098] S204: After obtaining the offset address query request, the wireless charger feeds back the current offset address to the wireless charging receiving end.

[0099] The current offset address indicates the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger.

[0100] S103, the wireless charging receiving end transmits a firmware upgrade data packet after the current offset address to the wireless charger to complete the firmware update of the wireless charger.

[0101] Optionally, when the wireless charger receives the firmware upgrade data packet transmitted by the wireless charging receiving end, the wireless charger firmware update method further includes: S206, which is specifically described as follows.

[0102] S206: The wireless charger writes the received firmware upgrade data packet into the first storage interval, and updates the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

[0103] Optionally, in S103, after the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, please refer to Figure 2 The wireless charger firmware update method also includes: S205, S206 and S207, which are specifically described as follows.

[0104] S205, the wireless charger verifies whether the target offset address matches the current offset address. If yes, execute S206; if no, execute S207.

[0105] S206, the wireless charger writes the received firmware upgrade data packet into the first storage interval, and updates the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval;

[0106] S207: The wireless charger sends a correction request to the wireless charging receiving end, where the correction request includes the current offset address.

[0107] Optionally, after S207, the process returns to execute S103.

[0108] Optionally, refer to Figure 3 The wireless charger firmware update method also includes: S211, S212, S213, S214 and S217, which are specifically described as follows.

[0109] S211, after writing all firmware upgrade data packets of the target version into the first storage interval, the wireless charger modifies the status flag to an upgradeable state.

[0110] S212, after the wireless charger is reset, it is determined whether the status flag is in an upgradeable state. If so, S214 is executed; if not, S213 is executed.

[0111] S213: The wireless charger runs the firmware corresponding to the current version in the second storage interval.

[0112] S214: The wireless charger copies the firmware upgrade data packet in the first storage interval to the second storage interval.

[0113] S217: After the copying is completed, the wireless charger runs the firmware upgrade data package corresponding to the target version in the second storage interval.

[0114] In an alternative implementation, please refer to Figure 4 After the copying is completed, the wireless charger firmware update method further includes: S215 and S216, which are specifically described as follows.

[0115] S215, the wireless charger verifies whether the firmware upgrade data package in the second storage interval is complete. If not, execute S216; if yes, execute S217.

[0116] S216: The wireless charger performs feedback processing.

[0117] S217: After the copying is completed, the wireless charger runs the firmware upgrade data package corresponding to the target version in the second storage interval.

[0118] An embodiment of the present invention also provides a wireless charger firmware update method, which is applied to a wireless charger in a wireless charging system. The wireless charging system also includes a wireless charging receiving end. The wireless charging receiving end and the wireless charger exchange data based on an amplitude shift keying communication packet within the wireless charging band. The wireless charger firmware update method includes: S231, S232, S233 and S234, which are specifically described as follows.

[0119] S231, upon receiving the upgrade command sent by the wireless charger, determining whether the current firmware information is consistent with the target firmware information. If so, executing S232; if not, executing S233.

[0120] The upgrade command includes target firmware information of the target version.

[0121] S232, feeding back a second type of status message to the wireless charging receiving end.

[0122] S233: Feedback a first type of status message to the wireless charging receiving end.

[0123] When the wireless charging receiving end obtains the first type of status message, it sends an offset address query request to the wireless charger.

[0124] S234, after obtaining the offset address query request, feeding back the current offset address to the wireless charging receiving end.

[0125] Among them, the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger, so that the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update.

[0126] It should be noted that the wireless charger firmware update method provided in this embodiment can perform the functions and uses shown in the above wireless charging system embodiment to achieve the corresponding technical effects. For the sake of brief description, for parts not mentioned in this embodiment, please refer to the corresponding contents in the above embodiments.

[0127] In summary, an embodiment of the present invention provides a wireless charger firmware update method and system, the wireless charging system includes a wireless charging receiving end and a wireless charger, the wireless charging receiving end and the wireless charger perform data exchange based on the wireless charging in-band amplitude shift keying communication packet, when the wireless charging receiving end is placed in the charging area corresponding to the wireless charger, the wireless charging receiving end sends an upgrade command to the wireless charger, wherein the upgrade command includes the target firmware information of the target version; the wireless charger determines whether the current firmware information is consistent with the target firmware information; when the current firmware information is inconsistent with the target firmware information, the wireless charger feeds back a first type of status message to the wireless charging receiving end; when the wireless charging receiving end obtains the first type of status message, the wireless charging receiving end sends an offset address query request to the wireless charger; after obtaining the offset address query request, the wireless charger feeds back a current offset address to the wireless charging receiving end, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger; the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update. The wireless charging system implements firmware updates for wireless chargers based on the wireless charging in-band amplitude shift keying communication package, achieving senseless updates during the wireless charging process, without the need to update the wireless charger firmware through the firmware upgrade interface, thus improving the convenience of updates. By recording and feeding back the current offset address, the target version of the firmware upgrade data packet is continuously transmitted from the current offset address after the wireless charging receiver is reconnected, thus avoiding repeated transmissions and improving the efficiency of firmware updates.

[0128] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0129] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A wireless charger firmware update method, characterized in that: Applied to a wireless charging system, the wireless charging system includes a wireless charging receiving end and a wireless charger, the wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band, and the method includes: When the wireless charging receiving end is placed in the charging area corresponding to the wireless charger, the wireless charging receiving end sends an upgrade command to the wireless charger, wherein the upgrade command includes target firmware information of a target version; The wireless charger determines whether current firmware information is consistent with the target firmware information; When the current firmware information is inconsistent with the target firmware information, the wireless charger feeds back a first type of status message to the wireless charging receiving end; When the wireless charging receiving end obtains the first type of status message, the wireless charging receiving end sends an offset address query request to the wireless charger; After obtaining the offset address query request, the wireless charger feeds back the current offset address to the wireless charging receiving end, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger; The wireless charging receiving end transmits a firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update.

2. The wireless charger firmware update method according to claim 1, characterized in that: After the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, the method further includes: When the wireless charger receives the firmware upgrade data packet transmitted by the wireless charging receiving end, the wireless charger writes the received firmware upgrade data packet into the first storage interval, and updates the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

3. The wireless charger firmware update method according to claim 1, characterized in that: The firmware upgrade data packet carries a corresponding target offset address. After the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, the method further includes: The wireless charger verifies whether the target offset address matches the current offset address; If a match is found, the wireless charger writes the received firmware upgrade data packet into the first storage interval, and updates the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval; If there is no match, the wireless charger sends a correction request to the wireless charging receiving end, where the correction request includes the current offset address.

4. The wireless charger firmware update method according to claim 1, characterized in that: The method further comprises: After the wireless charger writes all firmware upgrade data packets of the target version into the first storage interval, the status flag is modified to an upgradeable state; After the wireless charger is reset, if it is determined that the status flag is in the upgradeable state, copying the firmware upgrade data packet in the first storage interval to the second storage interval; After the copying is completed, the wireless charger runs the firmware upgrade data package corresponding to the target version in the second storage interval.

5. The wireless charger firmware update method according to claim 4, characterized in that: After the copying is completed, the method further includes: The wireless charger verifies whether the firmware upgrade data packet in the second storage interval is complete; If complete, the wireless charger runs the firmware upgrade data package corresponding to the target version in the second storage interval.

6. A wireless charger firmware update method, characterized in that: A wireless charger used in a wireless charging system, wherein the wireless charging system further comprises a wireless charging receiving end, wherein the wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band, and the method comprises: Upon receiving an upgrade command sent by the wireless charger, determining whether the current firmware information is consistent with the target firmware information; wherein the upgrade command includes the target firmware information of the target version; When the current firmware information is inconsistent with the target firmware information, feeding back a first type of status message to the wireless charging receiving end, so that the wireless charging receiving end sends an offset address query request to the wireless charger when acquiring the first type of status message; After obtaining the offset address query request, the current offset address is fed back to the wireless charging receiving end, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger, so that the wireless charging receiving end transmits the firmware upgrade data packet after the current offset address to the wireless charger, thereby completing the wireless charger firmware update.

7. A wireless charging system, characterized in that: The wireless charging system comprises a wireless charging receiving end and a wireless charger, wherein the wireless charging receiving end and the wireless charger perform data exchange based on an amplitude shift keying communication packet in a wireless charging band; When the wireless charging receiving end is placed in the charging area corresponding to the wireless charger, the wireless charging receiving end is used to send an upgrade command to the wireless charger, wherein the upgrade command includes target firmware information of the target version; The wireless charger is used to determine whether the current firmware information is consistent with the target firmware information; When the current firmware information is inconsistent with the target firmware information, the wireless charger is used to feed back a first type of status message to the wireless charging receiving end; The wireless charging receiving end is used to send an offset address query request to the wireless charger when acquiring the first type of status message; The wireless charger is used to feedback a current offset address to the wireless charging receiving end after obtaining the offset address query request, wherein the current offset address represents the offset address of the last byte in the firmware upgrade data packet of the target version last written in the wireless charger; The wireless charging receiving end is used to transmit the firmware upgrade data packet after the current offset address to the wireless charger to complete the wireless charger firmware update.

8. The wireless charging system according to claim 7, wherein: The wireless charger is used to write the received firmware upgrade data packet into a first storage interval when receiving the firmware upgrade data packet transmitted by the wireless charging receiving end, and update the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval.

9. The wireless charging system according to claim 7, wherein: The firmware upgrade data packet carries a corresponding target offset address; The wireless charger is used to verify whether the target offset address matches the current offset address; If a match is found, the wireless charger is used to write the received firmware upgrade data packet into the first storage interval, and update the current offset address after the last byte of the firmware upgrade data packet is written into the first storage interval; If there is no match, the wireless charger is used to send a correction request to the wireless charging receiving end, where the correction request includes the current offset address.

10. The wireless charging system according to claim 7, wherein: The wireless charger is used to modify the status flag bit to an upgradeable state after writing all firmware upgrade data packets of the target version into the first storage interval; The wireless charger is used to copy the firmware upgrade data packet in the first storage interval to the second storage interval if it is determined that the status flag is in the upgradeable state after the reset is completed; After the copying is completed, the wireless charger is used to run the firmware upgrade data package corresponding to the target version in the second storage interval.