Control parameter upgrading method, air conditioner, terminal, equipment, medium and program

Upgrading system control parameters through NFC transmission packages solves the problems of signal interference and device damage in OTA technology, realizes fast and secure system control parameter upgrades, improves the reliability and security of the upgrade, and is suitable for smart homes and IoT devices.

CN120751358APending Publication Date: 2025-10-03XIAOMI TECH (WUHAN) CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510855684.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

In the existing technology, the upgrade solution of system control parameters relies on OTA technology, which is easily affected by network signal interference, resulting in upgrade failure, low efficiency, complex operation and easy damage to equipment.

Method used

NFC transmission packets are used to upgrade system control parameters. Data packet verification and device attribute information matching are performed through close-range communication between the target device and the terminal device, enabling fast and secure upgrades of system control parameters, including CRC value verification and device attribute information matching.

Benefits of technology

It improves the response speed and operational convenience of system control parameter upgrades, reduces the upgrade failure rate, improves reliability and security, avoids remote eavesdropping and relay attacks, and is suitable for smart homes and IoT devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120751358A_ABST
    Figure CN120751358A_ABST
Patent Text Reader

Abstract

The invention relates to a control parameter upgrading method, an air conditioner, a terminal, equipment, a medium and a program, and relates to the technical field of air conditioners, the method comprises the steps that an NFC transmission packet sent by the terminal equipment is received, and the NFC transmission packet comprises updated system control parameters; performing data packet verification on the NFC transmission packet; and in response to successful verification of the data packet, upgrading the system control parameters according to the NFC transmission packet. According to the embodiment of the invention, the system control parameters are upgraded through the NFC transmission packet, the response speed and operation convenience of the system control parameter upgrading scheme are improved, the upgrading failure rate is reduced, and the reliability, user experience and safety of the system control parameter upgrading scheme are comprehensively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of air conditioners, and in particular to a control parameter upgrading method, an air conditioner, a terminal, a device, a medium, and a program. Background Art

[0002] In related technologies, system control parameters cover operating strategies (temperature setting, mode switching logic), core component regulation (compressor frequency curve, fan PWM duty cycle, electronic expansion valve opening), protection thresholds (high and low pressure protection, overcurrent temperature limit) and comfort configuration (wind sweep angle, sleep curve), etc. The upgrade of system control parameters is usually achieved through OTA remote update or local firmware flashing. Summary of the Invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a control parameter upgrading method, an air conditioner, a terminal, a device, a medium and a program.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for updating system control parameters is provided, comprising:

[0005] Receiving an NFC transmission packet sent by a terminal device, wherein the NFC transmission packet includes updated system control parameters;

[0006] Performing data packet verification on the NFC transmission packet;

[0007] In response to successful verification of the data packet, system control parameters are updated according to the NFC transmission packet.

[0008] In an exemplary embodiment of the present disclosure, performing data packet verification on the NFC transmission packet includes:

[0009] Obtain a CRC value in the NFC transmission packet, and perform a data integrity check on the NFC transmission packet according to the CRC value;

[0010] In response to the NFC transmission packet passing the data integrity check, the system control parameter is upgraded according to the NFC transmission packet.

[0011] In an exemplary embodiment of the present disclosure, obtaining a CRC value in the NFC transmission packet, and performing a data integrity check on the NFC transmission packet according to the CRC value includes:

[0012] Calculate the CRC value corresponding to the NFC transmission packet;

[0013] Parsing a pre-stored value of a CRC value in the NFC transmission packet;

[0014] The data integrity of the NFC transmission packet is determined based on a comparison result between the calculated value of the CRC value and the pre-stored value of the CRC value.

[0015] In an exemplary embodiment of the present disclosure, performing data packet verification on the NFC transmission packet further includes:

[0016] Obtaining device attribute information in the NFC transmission packet, and performing device attribute information matching on the NFC transmission packet;

[0017] In response to the device attribute information in the NFC transmission packet being consistent with a preset matching condition, the system control parameters are upgraded according to the NFC transmission packet.

[0018] In an exemplary embodiment of the present disclosure, obtaining device attribute information in the NFC transmission packet and performing device attribute information matching on the NFC transmission packet includes:

[0019] Read the pre-stored information of local device attribute information;

[0020] Parsing the request information of the device attribute information in the NFC transmission packet;

[0021] According to the matching result between the pre-stored information and the request information, a matching result of the device attribute information of the NFC transmission packet is determined, wherein the device attribute information includes model information and / or a device unique identification code.

[0022] In an exemplary embodiment of the present disclosure, in response to a successful matching, updating the system control parameters according to the NFC transmission packet includes:

[0023] Backing up local system control parameters to obtain backup system control parameters;

[0024] In response to completing the backup of the local system control parameters, the system control parameters are upgraded according to the NFC transmission packet.

[0025] In an exemplary embodiment of the present disclosure, the method for updating the system control parameters further includes:

[0026] In response to a failure in upgrading the system control parameters according to the NFC transmission packet, parameter rollback is performed according to the backup system control parameters.

[0027] In an exemplary embodiment of the present disclosure, the method for updating the system control parameters further includes:

[0028] A fault log in the system control upgrade process is sent to the terminal device, where the fault log includes at least one of an integrity check failure record, a device attribute information matching failure record, a system control upgrade interruption record, and a rollback record.

[0029] In an exemplary embodiment of the present disclosure, the method for updating the system control parameters further includes:

[0030] In response to completing the upgrade of the system control parameters, displaying update status information of the system control parameters;

[0031] And / or, in response to completing the upgrade of the system control parameters, sending update status information of the system control parameters to the terminal device, the update status information including at least one of the reception status information of the NFC transmission packet, integrity verification status information, device attribute information matching status information, fault log status information and rollback status information.

[0032] According to a second aspect of an embodiment of the present disclosure, a method for updating system control parameters is provided, comprising:

[0033] Get system control parameters for system control updates;

[0034] generating an NFC transmission packet according to the system control parameters updated by the system control;

[0035] The NFC transmission packet is sent to the target device.

[0036] In an exemplary embodiment of the present disclosure, generating an NFC transmission packet according to the system control parameter of the system control update includes:

[0037] In response to the acquired system control parameters, a CRC value corresponding to the system control parameters is written into the NFC transmission packet, and / or device attribute information corresponding to the system control parameters is written into the NFC transmission packet,

[0038] The device attribute information includes model information and / or a unique device identification code.

[0039] In an exemplary embodiment of the present disclosure, the method for updating the system control parameters further includes:

[0040] receiving update status information of the system control parameters sent by the target device;

[0041] The update status information is displayed, where the update status information includes at least one of reception status information of the NFC transmission packet, integrity check status information, device attribute information matching status information, fault log status information, and rollback status information.

[0042] According to a third aspect of an embodiment of the present disclosure, an air conditioner is provided, comprising: a method for upgrading system control parameters capable of executing any technical solution of the first aspect.

[0043] According to a fourth aspect of an embodiment of the present disclosure, a terminal device is provided, comprising: a method for upgrading system control parameters capable of executing any one of the technical solutions of the second aspect above.

[0044] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to: implement the system control parameter upgrade method described in any one of the above technical solutions.

[0045] According to the sixth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is enabled to execute the system control parameter upgrade method described in any of the above technical solutions.

[0046] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for upgrading the system control parameters as described in any one of the above technical solutions is implemented.

[0047] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0048] In the disclosed embodiments, system control parameters are updated via NFC transmission packets, eliminating interference from network signals during the update process. This improves the responsiveness and ease of operation of the update solution, reduces the failure rate of the update, and comprehensively enhances the reliability and user experience of the update solution. Furthermore, the physical proximity of NFC transmission packets effectively reduces the probability of remote eavesdropping and relay attacks during the update process, thereby improving the security of the update solution.

[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0051] Figure 1 The figure is a flowchart of a method for updating system control parameters according to an exemplary embodiment of the present disclosure.

[0052] Figure 2 The figure is a flowchart of a method for updating system control parameters according to an exemplary embodiment of the present disclosure.

[0053] Figure 3 The figure is a schematic diagram of an interface of a terminal device showing a solution for upgrading system control parameters according to an exemplary embodiment of the present disclosure.

[0054] Figure 4 The figure is a schematic diagram of an interface of a terminal device showing a solution for upgrading system control parameters according to an exemplary embodiment of the present disclosure.

[0055] Figure 5 The figure is a schematic diagram of a target device of a system control parameter upgrade solution according to an exemplary embodiment of the present disclosure.

[0056] Figure 6 FIG. 1 is a schematic diagram of a system architecture of a system control parameter upgrade solution according to an exemplary embodiment of the present disclosure.

[0057] Figure 7 The figure is an overall flow chart of a system control parameter upgrade solution according to an exemplary embodiment of the present disclosure.

[0058] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0059] Some exemplary embodiments of the present disclosure will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Various changes, modifications and equivalents of the methods, devices and / or systems described herein will become apparent after understanding the present disclosure. For example, the order of operations described herein is merely an example and is not limited to those orders set forth herein, but may be changed as becomes apparent after understanding the present disclosure, except for operations that must be performed in a specific order. In addition, descriptions of features known in the art may be omitted for clarity and brevity.

[0060] The following exemplary embodiments of the present disclosure do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0061] In the related art, the upgrade solutions for system control parameters mostly rely on OTA (Over-the-Air) technology. First, the OTA upgrade solution usually requires a network or Bluetooth connection, but it is easily affected by signal interference during the upgrade process, resulting in upgrade failure. Secondly, the OTA upgrade solution usually requires downloading the complete firmware package. Even if only a small number of parameters are modified, the entire machine program needs to be updated, which leads to low upgrade efficiency and a long upgrade time. Thirdly, in the upgrade scenario where it is necessary to disassemble the device and lead out the burning line to write parameters, not only is the upgrade process complicated, but it is also easy to cause equipment damage. Therefore, there is an urgent need for a new system control parameter upgrade solution to improve the efficiency, reliability and security of upgrading the system control parameters.

[0062] Hereinafter, each step of the method in the exemplary embodiment of the present disclosure will be described in more detail with reference to the accompanying drawings and embodiments.

[0063] Figure 1 The figure is a flowchart of a method for updating system control parameters according to an exemplary embodiment of the present disclosure.

[0064] like Figure 1 As shown, in some embodiments, the method for upgrading the system control parameters of the example disclosed herein includes:

[0065] In step S102, an NFC transmission packet sent by a terminal device is received, where the NFC transmission packet includes updated system control parameters.

[0066] In an exemplary embodiment of the present disclosure, the system control parameters include at least one of storage chip parameters, operating logic parameters, sensor feedback parameters, communication interface parameters and protection mechanism parameters. The storage chip parameters include at least one of a storage device serial number, a firmware startup phase sequence, a sensor calibration reference and a communication protocol version. The operating logic parameters include at least one of parameters of a startup control algorithm, a shutdown control algorithm and a control parameter adjustment algorithm. The sensor feedback parameters include environmental sensing parameters and / or firmware operation sensing parameters. The communication interface parameters include internal and external unit communication protocol parameters and / or power phase sequence configuration parameters. The protection mechanism parameters include overload protection threshold parameters and / or safety interlock parameters.

[0067] In an exemplary embodiment of the present disclosure, the system control parameters include parameters required for device operation written into the EEPROM, referred to as EE parameters. The updated EE parameters may be carried in the NFC transmission packet in the form of an EE parameter table.

[0068] In the embodiment of the present disclosure, the target device and the terminal device of the system control parameters to be upgraded are both provided with NFC communication modules. When the preset distance between the target device and the terminal device is less than or equal to the preset distance, NFC transmission packets can be transmitted between the target device and the terminal device.

[0069] In the embodiment of the present disclosure, the target device adopts an NFC controller that supports card emulation and reader / writer dual mode, integrates a radio frequency front end + ARM core, and uses I 2 The C interface is connected to the main control MCU, and the terminal device can reuse the native NFC chip of the mobile phone. The communication distance between the target device and the terminal device is 0-10cm, the transmission rate is 106~424kbps, and the response time is ≤0.3 seconds.

[0070] In the disclosed embodiment, if the target device is an air conditioner, the NFC module can be placed in the air outlet area of ​​the air conditioner to reduce the signal attenuation of the NFC transmission packet caused by metal obstruction. Even when the air conditioner is powered off, the NFC module can draw power from the terminal device's RF field (standby power consumption is less than 1μW) to maintain basic data access, such as fault code reading.

[0071] In step S104, data packet verification is performed on the NFC transmission packet.

[0072] In an exemplary embodiment of the present disclosure, after receiving the NFC transmission packet sent by the terminal device, the target device performs data packet verification on the NFC transmission packet at the physical layer, protocol layer and application layer, wherein the signal integrity check is performed on the NFC transmission packet at the physical layer to reduce the interference of radio frequency interference and data packet loss on the upgrade of system control parameters; the data frame structure compliance check is performed on the NFC transmission packet at the protocol layer to reduce the impact of deformed packet injection on the upgrade of system control parameters; and the device attribute information matching is performed on the NFC transmission packet at the application layer to ensure the authenticity and tamper-proofness of the NFC transmission packet.

[0073] In step S106 , in response to successful verification of the data packet, the system control parameters are updated according to the NFC transmission packet.

[0074] In the disclosed embodiment, system control parameters, which are usually only a few kb in size, are transmitted to the target device via NFC transmission packets, and then the system control parameters are upgraded based on the NFC transmission packets that have been successfully verified as data packets. This realizes the separation of firmware and fixed parameters in the system control parameter upgrade solution. Combined with the characteristics of NFC transmission technology such as being unaffected by network signal interference, strong reliability and strong security, the rapid update of system control parameters is realized, which not only effectively improves the efficiency of R&D debugging and after-sales maintenance, but also has broad application prospects in the fields of smart homes and Internet of Things devices.

[0075] In an exemplary embodiment of the present disclosure, in response to a data packet verification failure, a record of the data packet verification failure is stored in a fault log, and the fault log can interact through a communication link between the target device and the terminal device and be displayed on a user interaction interface of the terminal device.

[0076] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, performing data packet verification on the NFC transmission packet includes: obtaining a CRC value in the NFC transmission packet, performing a data integrity check on the NFC transmission packet according to the CRC value; in response to the NFC transmission packet passing the data integrity check, upgrading the system control parameters according to the NFC transmission packet.

[0077] In the disclosed embodiment, the integrity of the received NFC transmission packet is checked using a CRC value. The CRC (Cyclic Redundancy Check Value) is used to detect whether unexpected errors (such as bit flips) occur during the transmission or storage of the updated system control parameters. The verification process of the above CRC value has a microsecond response and does not require CPU computing resources, thereby further improving the reliability of the system control parameter upgrade.

[0078] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, obtaining the CRC value in the NFC transmission packet, and performing data integrity check on the NFC transmission packet according to the CRC value includes: calculating a calculated value of the CRC value corresponding to the NFC transmission packet.

[0079] In the embodiment of the present disclosure, after the target device receives or reads the NFC transmission packet, it uses the same generating polynomial as the sender to perform exactly the same CRC calculation on the received data block portion (excluding the additional CRC value), calculates a new CRC value (locally calculated CRC value), and compares the locally calculated CRC value with the received CRC value to obtain the pre-stored value of the CRC value in the NFC transmission packet.

[0080] In the embodiment of the present disclosure, the terminal device has an original data block to be sent or stored, selects a generator polynomial (such as CRC-16-CCITT, CRC-32, etc.) agreed upon by both parties (sender and receiver, or writer and reader), uses this generator polynomial to perform a mathematical calculation (modulo 2 division) on the original data, appends the calculated CRC value (i.e., the remainder of the division) to the end of the original data, sends / stores the combination of "original data + CRC value", and determines the data integrity of the NFC transmission packet based on the comparison result between the calculated value of the CRC value and the pre-stored value of the CRC value.

[0081] In the disclosed embodiment, data integrity check is the first step to ensure the security of NFC transmission packets. The received NFC transmission packets are verified using a CRC check algorithm to ensure the integrity of the parameter file and avoid data loss or tampering during transmission.

[0082] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, performing data packet verification on the NFC transmission packet also includes: obtaining device attribute information in the NFC transmission packet, and matching the device attribute information of the NFC transmission packet; in response to the device attribute information in the NFC transmission packet being consistent with the preset matching conditions, upgrading the system control parameters according to the NFC transmission packet.

[0083] In the disclosed embodiment, device attribute information verification may be combined with signature verification (eg, HMAC) to further reduce the probability of attackers tampering with device attribute information.

[0084] In the embodiment of the present disclosure, the control system of the target device reads the SN (Serial Number) and model information of the local target device, and compares the SN and model information of the target device in the NFC data packet respectively. If they do not match, the update is terminated directly, and the error information is written into the fault log and fed back to the display screen of the mobile terminal and the target device. If they match, the update process continues.

[0085] In the embodiment of the present disclosure, the control system of the target device reads the SN of the local target device and compares it with the SN of the target device in the NFC data packet. If there is no match, the update is terminated directly, the error information is written into the fault log and fed back to the display screen of the mobile terminal and the target device. If there is a match, the update process continues.

[0086] In the embodiment of the present disclosure, the control system of the target device reads the model information of the local target device and compares the model information of the target device in the NFC data packet. If there is no match, the update is terminated directly, the error information is written into the fault log and fed back to the display screen of the mobile terminal and the target device. If there is a match, the update process continues.

[0087] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, obtaining the device attribute information in the NFC transmission packet and performing device attribute information matching on the NFC transmission packet includes: reading pre-stored information of local device attribute information.

[0088] In the embodiment of the present disclosure, local device attribute information is pre-stored in a solid-state memory and can serve as a unique identification of the target device.

[0089] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, obtaining the device attribute information in the NFC transmission packet and performing device attribute information matching on the NFC transmission packet further includes: parsing request information of the device attribute information in the NFC transmission packet.

[0090] In the embodiment of the present disclosure, the terminal device writes the device attribute information corresponding to the target device to be upgraded in the NFC transmission package. After receiving and parsing the NFC transmission package, the target device obtains the device attribute information, and then matches it with the local device attribute information to avoid the upgrade process triggered by the mistransmission of the NFC transmission package, thereby improving the reliability and stability of the target device's operation.

[0091] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, obtaining the device attribute information in the NFC transmission package and matching the device attribute information of the NFC transmission package also includes: determining the matching result of the device attribute information of the NFC transmission package based on the matching result between the pre-stored information and the request information, wherein the device attribute information includes model information and / or a unique device identification code.

[0092] In the embodiment of the present disclosure, the pre-stored information is matched with the request information to determine whether the NFC transmission package is received correctly. If correct, the system control parameters are upgraded according to the NFC transmission package. If failed, the matching failure is written into the fault log and fed back to the display screen of the mobile terminal and the target device.

[0093] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, in response to a successful match, upgrading the system control parameters according to the NFC transmission package includes: backing up the local system control parameters to obtain backup system control parameters; in response to completing the backup of the local system control parameters, upgrading the system control parameters according to the NFC transmission package.

[0094] In the embodiment of the present disclosure, before the target device upgrades the system control parameters, the local system control parameters are backed up. The change area can be backed up through partition detection or a complete backup can be performed through a full snapshot. After the backup is completed, the backed up system control parameters and the corresponding timestamps are partitioned and stored.

[0095] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, the method further includes: in response to a failure in upgrading the system control parameters according to the NFC transmission package, performing parameter rollback according to the backup system control parameters.

[0096] In an embodiment of the present disclosure, in response to a failure to upgrade the system control parameters according to the NFC transmission package, the parameters are rolled back according to the backup system control parameters, the most recently backed-up system control parameters are loaded according to the timestamp, and breakpoint recovery is performed to ensure that the target device can still operate normally even if the upgrade fails.

[0097] In the embodiment of the present disclosure, if only the system control parameters (Delta Encoding) in the changed area are backed up, the backup system control parameters corresponding to the changed area are rolled back to the system when the parameters are rolled back.

[0098] In the embodiment of the present disclosure, if a full snapshot is used to perform a complete backup of the system control parameters (Delta Encoding), and multiple historical versions are backed up (the latest 5 versions are stored in a rolling manner), then a specified version rollback is supported.

[0099] In the embodiment of the present disclosure, if the system control parameters of multiple cascaded target devices are upgraded, parameter rollback can be performed on the multiple cascaded target devices in proportion, and parameter rollback of the remaining target devices can be performed by monitoring the operating status of the target parameters after the rollback.

[0100] In an exemplary embodiment of the present disclosure, Figure 1 Based on the shown example, it also includes: sending a fault log during the system control upgrade process to the terminal device, and the fault log includes at least one of an integrity check failure record, a device attribute information matching failure record, a system control upgrade interruption record and a rollback record.

[0101] In the embodiment of the present disclosure, the target device can feed back the fault log to the terminal device through the local area network or core network after completing the upgrade or during the upgrade process, so that the user can intuitively and conveniently view the faults or anomalies that occurred during the upgrade process on the terminal device.

[0102] In an exemplary embodiment of the present disclosure, Figure 1 On the basis of the shown example, it also includes: in response to completing the upgrade of the system control parameters, displaying the update status information of the system control parameters; and / or, in response to completing the upgrade of the system control parameters, sending the update status information of the system control parameters to the terminal device, the update status information including at least one of the reception status information of the NFC transmission package, integrity verification status information, device attribute information matching status information, fault log status information and rollback status information.

[0103] In the embodiment of the present disclosure, Figure 3As shown, before detecting that the system control parameters of the target device can be upgraded, a prompt message 302 is generated on the user interaction interface of the terminal device 300, for example, "Do you accept the NFC transmission package to upgrade the system control parameters?", and the user is provided with option buttons "Yes / Later" and "No", and then the user is determined to upgrade, upgrade later, or not upgrade based on the user's touch operation on the option button.

[0104] In the embodiment of the present disclosure, Figure 3 As shown, in response to upgrading the system control parameters of the target device, the "percentage" of the "upgrade progress of the system control parameters" is displayed on the terminal device 300, and the user can control the upgrade process to be interrupted or continued by touching the button "Interrupt / Continue".

[0105] In the embodiment of the present disclosure, Figure 4 As shown, in response to completing the upgrade of the system control parameters, the target device sends the update status information of the system control parameters to the terminal device 400, and the update indication information 402 on the terminal device may be, for example, "update status information of system control parameters", and the specific display content includes "receiving status information", "integrity verification status information", "device attribute information matching status information", "fault log status information", "rollback status information", etc., but is not limited to this.

[0106] In the embodiment of the present disclosure, Figure 5 As shown, in response to the completion of the upgrade of the system control parameters, the display module 502 of the target device 500 also displays the completion of the upgrade to prompt the user that the upgrade is completed. The display module 502 can be an indicator light and / or a display screen.

[0107] Figure 2 The present invention provides a flowchart of another method for updating system control parameters according to an exemplary embodiment of the present invention.

[0108] like Figure 2 As shown, in some embodiments, the method for upgrading the system control parameters of the example disclosed herein includes:

[0109] Step S202: Acquire system control parameters for system control update.

[0110] In the embodiment of the present disclosure, the terminal device can obtain the system control parameters of the system control update through cloud service or local writing.

[0111] In an exemplary embodiment of the present disclosure, the system control parameters include at least one of storage chip parameters, operating logic parameters, sensor feedback parameters, communication interface parameters and protection mechanism parameters. The storage chip parameters include at least one of a storage device serial number, a firmware startup phase sequence, a sensor calibration reference and a communication protocol version. The operating logic parameters include at least one of parameters of a startup control algorithm, a shutdown control algorithm and a control parameter adjustment algorithm. The sensor feedback parameters include environmental sensing parameters and / or firmware operation sensing parameters. The communication interface parameters include internal and external unit communication protocol parameters and / or power phase sequence configuration parameters. The protection mechanism parameters include overload protection threshold parameters and / or safety interlock parameters.

[0112] In an exemplary embodiment of the present disclosure, the system control parameters include parameters required for device operation written into the EEPROM, referred to as EE parameters. The updated EE parameters may be carried in the NFC transmission packet in the form of an EE parameter table.

[0113] Step S204: Generate an NFC transmission packet according to the system control parameters updated by the system control.

[0114] In the embodiment of the present disclosure, after determining the target device to be upgraded, the terminal device generates an NFC transmission packet carrying system control parameters for system control update according to device attribute information of the target device.

[0115] Step S206: Send the NFC transmission packet to the target device.

[0116] In the embodiment of the present disclosure, when the distance between the terminal device and the target device is less than or equal to the preset distance, the NFC transmission packet is triggered for transmission, that is, the system control parameters, which are usually only a few kb in size, are transmitted to the target device through the NFC transmission packet, and then the system control parameters are upgraded according to the NFC transmission packet that has successfully verified the data packet, thereby realizing the separation of firmware and fixed parameters in the system control parameter upgrade solution. Combined with the characteristics of NFC transmission technology that is not affected by network signal interference, strong reliability and strong security, the rapid update of system control parameters is realized, which not only effectively improves the efficiency of R&D debugging and after-sales maintenance, but also has broad application prospects in the fields of smart home and Internet of Things devices.

[0117] In the embodiment of the present disclosure, Figure 3 As shown, before detecting that the system control parameters of the target device can be upgraded, a prompt message 302 is generated on the user interaction interface of the terminal device 300, for example, "Do you accept the NFC transmission package to upgrade the system control parameters?", and the user is provided with option buttons "Yes / Later" and "No", and then the user is determined to upgrade, upgrade later, or not upgrade based on the user's touch operation on the option button.

[0118] In the embodiment of the present disclosure, Figure 3 As shown, in response to upgrading the system control parameters of the target device, the "percentage" of the "upgrade progress of the system control parameters" is displayed on the terminal device 300, and the user can control the upgrade process to be interrupted or continued by touching the button "Interrupt / Continue".

[0119] In an exemplary embodiment of the present disclosure, Figure 2 Based on the illustrated example, generating an NFC transmission packet according to the system control parameters of the system control update includes: writing a CRC value corresponding to the system control parameters into the NFC transmission packet in response to the acquired system control parameters.

[0120] In an exemplary embodiment of the present disclosure, Figure 2 Based on the example shown, generating an NFC transmission packet according to the system control parameters updated by the system control includes: writing device attribute information corresponding to the system control parameters into the NFC transmission packet, wherein the device attribute information includes model information and / or a unique device identification code.

[0121] In the embodiment of the present disclosure, the terminal device has an original data block to be sent or stored, selects a generator polynomial (such as CRC-16-CCITT, CRC-32, etc.) agreed upon by both parties (sender and receiver, or writer and reader), uses this generator polynomial to perform a mathematical calculation (modulo 2 division) on the original data, appends the calculated CRC value (i.e., the remainder of the division) to the end of the original data, sends / stores the combination of "original data + CRC value", and determines the data integrity of the NFC transmission packet based on the comparison result between the calculated value of the CRC value and the pre-stored value of the CRC value.

[0122] In an exemplary embodiment of the present disclosure, Figure 2 On the basis of the shown example, it also includes: receiving the update status information of the system control parameters sent by the target device; displaying the update status information, wherein the update status information includes at least one of the reception status information of the NFC transmission package, integrity verification status information, device attribute information matching status information, fault log status information and rollback status information.

[0123] In the embodiment of the present disclosure, Figure 4As shown, in response to completing the upgrade of the system control parameters, the target device sends the update status information of the system control parameters to the terminal device 400, and the update indication information 402 on the terminal device may be, for example, "update status information of system control parameters", and the specific display content includes "receiving status information", "integrity verification status information", "device attribute information matching status information", "fault log status information", "rollback status information", etc., but is not limited to this.

[0124] In the embodiment of the present disclosure, Figure 5 As shown, in response to the completion of the upgrade of the system control parameters, the display module 502 of the target device 500 also displays the completion of the upgrade to prompt the user that the upgrade is completed. The display module 502 can be an indicator light and / or a display screen.

[0125] According to an exemplary embodiment of the present disclosure, a system control parameter upgrading device is shown, including:

[0126] a data receiving module configured to receive an NFC transmission packet sent by a terminal device, wherein the NFC transmission packet includes updated system control parameters;

[0127] A data verification module is configured to perform data packet verification on the NFC transmission packet;

[0128] The parameter upgrade module is configured to upgrade the system control parameters according to the NFC transmission packet in response to successful data packet verification.

[0129] In an exemplary embodiment of the present disclosure, the system control parameters include at least one of storage chip parameters, operating logic parameters, sensor feedback parameters, communication interface parameters and protection mechanism parameters. The storage chip parameters include at least one of a storage device serial number, a firmware startup phase sequence, a sensor calibration reference and a communication protocol version. The operating logic parameters include at least one of parameters of a startup control algorithm, a shutdown control algorithm and a control parameter adjustment algorithm. The sensor feedback parameters include environmental sensing parameters and / or firmware operation sensing parameters. The communication interface parameters include internal and external unit communication protocol parameters and / or power phase sequence configuration parameters. The protection mechanism parameters include overload protection threshold parameters and / or safety interlock parameters.

[0130] In an exemplary embodiment of the present disclosure, the system control parameters include parameters required for device operation written into the EEPROM, referred to as EE parameters. The updated EE parameters may be carried in the NFC transmission packet in the form of an EE parameter table.

[0131] In the embodiment of the present disclosure, the target device and the terminal device of the system control parameters to be upgraded are both provided with NFC communication modules. When the preset distance between the target device and the terminal device is less than or equal to the preset distance, NFC transmission packets can be transmitted between the target device and the terminal device.

[0132] In the embodiment of the present disclosure, the target device adopts an NFC controller that supports card emulation and reader / writer dual mode, integrates a radio frequency front end + ARM core, and uses I 2 The C interface is connected to the main control MCU, and the terminal device can reuse the native NFC chip of the mobile phone. The communication distance between the target device and the terminal device is 0-10cm, the transmission rate is 106~424kbps, and the response time is ≤0.3 seconds.

[0133] In the disclosed embodiment, if the target device is an air conditioner, the NFC module can be placed in the air outlet area of ​​the air conditioner to reduce the signal attenuation of the NFC transmission packet caused by metal obstruction. Even when the air conditioner is powered off, the NFC module can draw power from the terminal device's RF field (standby power consumption is less than 1μW) to maintain basic data access, such as fault code reading.

[0134] In the disclosed embodiment, system control parameters, which are usually only a few kb in size, are transmitted to the target device via NFC transmission packets, and then the system control parameters are upgraded based on the NFC transmission packets that have been successfully verified as data packets. This realizes the separation of firmware and fixed parameters in the system control parameter upgrade solution. Combined with the characteristics of NFC transmission technology such as being unaffected by network signal interference, strong reliability and strong security, the rapid update of system control parameters is realized, which not only effectively improves the efficiency of R&D debugging and after-sales maintenance, but also has broad application prospects in the fields of smart homes and Internet of Things devices.

[0135] In an exemplary embodiment of the present disclosure, the data verification module is further configured to:

[0136] Obtain a CRC value in the NFC transmission packet, and perform a data integrity check on the NFC transmission packet according to the CRC value;

[0137] In response to the NFC transmission packet passing the data integrity check, the system control parameter is upgraded according to the NFC transmission packet.

[0138] In the disclosed embodiment, the integrity of the received NFC transmission packet is checked using a CRC value. The CRC (Cyclic Redundancy Check Value) is used to detect whether unexpected errors (such as bit flips) occur during the transmission or storage of the updated system control parameters. The verification process of the above CRC value has a microsecond response and does not require CPU computing resources, thereby further improving the reliability of the system control parameter upgrade.

[0139] In an exemplary embodiment of the present disclosure, the data verification module is further configured to:

[0140] Calculate the CRC value corresponding to the NFC transmission packet;

[0141] Parsing a pre-stored value of a CRC value in the NFC transmission packet;

[0142] The data integrity of the NFC transmission packet is determined based on a comparison result between the calculated value of the CRC value and the pre-stored value of the CRC value.

[0143] In the disclosed embodiment, the integrity of the received NFC transmission packet is checked using a CRC value. The CRC (Cyclic Redundancy Check Value) is used to detect whether unexpected errors (such as bit flips) occur during the transmission or storage of the updated system control parameters. The verification process of the above CRC value has a microsecond response and does not require CPU computing resources, thereby further improving the reliability of the system control parameter upgrade.

[0144] In an exemplary embodiment of the present disclosure, Figure 1 Based on the example shown, obtaining the CRC value in the NFC transmission packet, and performing data integrity check on the NFC transmission packet according to the CRC value includes: calculating a calculated value of the CRC value corresponding to the NFC transmission packet.

[0145] In the embodiment of the present disclosure, after the target device receives or reads the NFC transmission packet, it uses the same generating polynomial as the sender to perform exactly the same CRC calculation on the received data block portion (excluding the additional CRC value), calculates a new CRC value (locally calculated CRC value), and compares the locally calculated CRC value with the received CRC value to obtain the pre-stored value of the CRC value in the NFC transmission packet.

[0146] In the embodiment of the present disclosure, the terminal device has an original data block to be sent or stored, selects a generator polynomial (such as CRC-16-CCITT, CRC-32, etc.) agreed upon by both parties (sender and receiver, or writer and reader), uses this generator polynomial to perform a mathematical calculation (modulo 2 division) on the original data, appends the calculated CRC value (i.e., the remainder of the division) to the end of the original data, sends / stores the combination of "original data + CRC value", and determines the data integrity of the NFC transmission packet based on the comparison result between the calculated value of the CRC value and the pre-stored value of the CRC value.

[0147] In the disclosed embodiment, data integrity check is the first step to ensure the security of NFC transmission packets. The received NFC transmission packets are verified using a CRC check algorithm to ensure the integrity of the parameter file and avoid data loss or tampering during transmission.

[0148] In an exemplary embodiment of the present disclosure, the data verification module is further configured to:

[0149] Obtaining device attribute information in the NFC transmission packet, and performing device attribute information matching on the NFC transmission packet;

[0150] In response to the device attribute information in the NFC transmission packet being consistent with a preset matching condition, the system control parameters are upgraded according to the NFC transmission packet.

[0151] In the disclosed embodiment, device attribute information verification may be combined with signature verification (eg, HMAC) to further reduce the probability of attackers tampering with device attribute information.

[0152] In the embodiment of the present disclosure, the control system of the target device reads the SN (Serial Number) and model information of the local target device, and compares the SN and model information of the target device in the NFC data packet respectively. If they do not match, the update is terminated directly, and the error information is written into the fault log and fed back to the display screen of the mobile terminal and the target device. If they match, the update process continues.

[0153] In the embodiment of the present disclosure, the control system of the target device reads the SN of the local target device and compares it with the SN of the target device in the NFC data packet. If there is no match, the update is terminated directly, the error information is written into the fault log and fed back to the display screen of the mobile terminal and the target device. If there is a match, the update process continues.

[0154] In the embodiment of the present disclosure, the control system of the target device reads the model information of the local target device and compares the model information of the target device in the NFC data packet. If there is no match, the update is terminated directly, the error information is written into the fault log and fed back to the display screen of the mobile terminal and the target device. If there is a match, the update process continues.

[0155] In an exemplary embodiment of the present disclosure, the data verification module is further configured to:

[0156] Read the pre-stored information of local device attribute information;

[0157] Parsing the request information of the device attribute information in the NFC transmission packet;

[0158] According to the matching result between the pre-stored information and the request information, a matching result of the device attribute information of the NFC transmission packet is determined, wherein the device attribute information includes model information and / or a device unique identification code.

[0159] In the embodiment of the present disclosure, the pre-stored information is matched with the request information to determine whether the NFC transmission package is received correctly. If correct, the system control parameters are upgraded according to the NFC transmission package. If failed, the matching failure is written into the fault log and fed back to the display screen of the mobile terminal and the target device.

[0160] In an exemplary embodiment of the present disclosure, the parameter upgrading module is further configured to:

[0161] Backing up local system control parameters to obtain backup system control parameters;

[0162] In response to completing the backup of the local system control parameters, the system control parameters are upgraded according to the NFC transmission packet.

[0163] In the embodiment of the present disclosure, before the target device upgrades the system control parameters, the local system control parameters are backed up. The change area can be backed up through partition detection or a complete backup can be performed through a full snapshot. After the backup is completed, the backed up system control parameters and the corresponding timestamps are partitioned and stored.

[0164] In an exemplary embodiment of the present disclosure, the system control parameter upgrading device is further configured to:

[0165] In response to a failure in upgrading the system control parameters according to the NFC transmission packet, parameter rollback is performed according to the backup system control parameters.

[0166] In an embodiment of the present disclosure, in response to a failure to upgrade the system control parameters according to the NFC transmission package, the parameters are rolled back according to the backup system control parameters, the most recently backed-up system control parameters are loaded according to the timestamp, and breakpoint recovery is performed to ensure that the target device can still operate normally even if the upgrade fails.

[0167] In the embodiment of the present disclosure, if only the system control parameters (Delta Encoding) in the changed area are backed up, the backup system control parameters corresponding to the changed area are rolled back to the system when the parameters are rolled back.

[0168] In the embodiment of the present disclosure, if a full snapshot is used to perform a complete backup of the system control parameters (Delta Encoding), and multiple historical versions are backed up (the latest 5 versions are stored in a rolling manner), then a specified version rollback is supported.

[0169] In the embodiment of the present disclosure, if the system control parameters of multiple cascaded target devices are upgraded, parameter rollback can be performed on the multiple cascaded target devices in proportion, and parameter rollback of the remaining target devices can be performed by monitoring the operating status of the target parameters after the rollback.

[0170] In an exemplary embodiment of the present disclosure, the system control parameter upgrading device is further configured to:

[0171] A fault log in the system control upgrade process is sent to the terminal device, where the fault log includes at least one of an integrity check failure record, a device attribute information matching failure record, a system control upgrade interruption record, and a rollback record.

[0172] In an exemplary embodiment of the present disclosure, the system control parameter upgrading apparatus is further configured to: in response to completion of upgrading the system control parameter, display update status information of the system control parameter;

[0173] And / or, in response to completing the upgrade of the system control parameters, sending update status information of the system control parameters to the terminal device, the update status information including at least one of the reception status information of the NFC transmission packet, integrity verification status information, device attribute information matching status information, fault log status information and rollback status information.

[0174] According to an exemplary embodiment of the present disclosure, another system control parameter upgrading device includes:

[0175] A parameter acquisition module, configured to acquire system control parameters for system control updates;

[0176] a transmission packet generation module, configured to generate an NFC transmission packet according to the system control parameters updated by the system control;

[0177] The data communication module is configured to send the NFC transmission packet to the target device.

[0178] In an exemplary embodiment of the present disclosure, the transmission packet generation module is further configured to:

[0179] In response to the acquired system control parameters, a CRC value corresponding to the system control parameters is written into the NFC transmission packet, and / or device attribute information corresponding to the system control parameters is written into the NFC transmission packet,

[0180] The device attribute information includes model information and / or a unique device identification code.

[0181] In an exemplary embodiment of the present disclosure, the system control parameter upgrading device is further configured to:

[0182] receiving update status information of the system control parameters sent by the target device;

[0183] The update status information is displayed, where the update status information includes at least one of reception status information of the NFC transmission packet, integrity check status information, device attribute information matching status information, fault log status information, and rollback status information.

[0184] Figure 3 It is a schematic block diagram showing an upgrade architecture of system control parameters according to an exemplary embodiment of the present disclosure.

[0185] like Figure 3 As shown, a schematic frame of an upgrade architecture of a system control parameter shown according to an exemplary embodiment of the present disclosure includes a device end (air conditioner) 604 capable of NFC transmission packet interaction and a user interaction module (mobile phone) 602, the device end (air conditioner) 604 is an embodiment of the target device described in any of the above technical solutions, and the user interaction module (mobile phone) 602 is an embodiment of the terminal device described in any of the above technical solutions.

[0186] In the embodiment of the present disclosure, the user interaction module (mobile phone) 602 includes a parameter configuration generation module and an NFC transmission module. The user sets and generates an EE parameter table for upgrading the device side (air conditioner) 604 through the parameter configuration generation module in the user interaction module (mobile phone) 602. After ensuring the integrity and adaptability of the system control parameters, the user interaction module (mobile phone) 602 sends the generated NFC transmission package to the device side (air conditioner) 604 through the NFC transmission module, while monitoring the transmission status in real time and feeding back success or failure information.

[0187] In the disclosed embodiment, the NFC receiving module of the device (air conditioner) 604 receives the NFC transmission packet transmitted by the user interaction module (mobile phone) 602 and performs an integrity check on the data content of the NFC transmission packet. If the transmission is abnormal, the update is terminated and an error message is fed back to the user interaction module (mobile phone) 602.

[0188] In this disclosed embodiment, the device identification and adaptation module on the device (air conditioner) 604 verifies whether the local model and SN information match the model and SN information in the parameter table in the NFC transmission packet. If a match is confirmed, the update process is initiated; otherwise, the update process is terminated and a mismatch notification is fed back to the user interaction module (mobile phone) 602.

[0189] In the embodiment of the present disclosure, before updating, the device (air conditioner) 604 backs up the current local EE parameters through the rollback module. If the update fails or an abnormality occurs during the update, the parameters can be automatically rolled back to the previous state.

[0190] In the embodiment of the present disclosure, the device side (air conditioner) 604 monitors the entire update process through the fault detection and log module, records relevant logs and generates feedback information, and the status of update success or failure is notified to the user simultaneously through the display screen of the device side (air conditioner) 604 and the user interaction module (mobile phone) 602.

[0191] The following combination Figure 7 As shown, the overall implementation process of the upgrade architecture of the system control parameters disclosed in the present invention is further explained.

[0192] like Figure 7 As shown, according to an exemplary embodiment of the present disclosure, an upgrade architecture for system control parameters includes an air conditioner and a mobile phone that can interact with NFC transmission packets. The air conditioner is an embodiment of the target device described in any of the above technical solutions, and the mobile phone is an embodiment of the terminal device described in any of the above technical solutions. The overall implementation process specifically includes the following stages.

[0193] In the embodiment of the present disclosure, the parameter configuration generation stage includes:

[0194] In step S702, the user imports a parameter table on the mobile phone APP, in which updated system control parameters are written, selects the corresponding model, and generates a matching NFC transmission package.

[0195] The generated NFC transmission package includes the model, SN number and parameter table, which are used for verification and adaptation of the air conditioner, but are not limited to this.

[0196] In the embodiment of the present disclosure, the NFC touch transmission phase includes:

[0197] In step S704, the user performs a "touch and hold" operation on the mobile phone and the NFC receiving module of the air conditioner to start NFC data transmission, and the NFC module of the mobile phone transfers the parameter table to the NFC receiving module of the air conditioner.

[0198] In the embodiment of the present disclosure, the data integrity verification stage includes:

[0199] Step S706: The NFC receiving module of the air conditioner performs integrity check on the received parameter table.

[0200] Step S708: confirm whether the parameter table is complete.

[0201] In step S710, if the parameter table is incomplete, the air conditioner control system will terminate the update and feedback an error message to the mobile phone and the air conditioner display.

[0202] In the embodiment of the present disclosure, the device identification and adaptation stage includes:

[0203] Step S712: When the parameter table is confirmed to be complete, the device identification and adaptation module of the air conditioner performs verification.

[0204] Step S714: The air conditioner identifies the model and SN information and checks whether the model and SN information match the current air conditioner.

[0205] Step S716: If the match fails, the update operation will be terminated and an error message will be fed back.

[0206] Step S718: If the match is successful, the update is started and the update preparation phase is entered.

[0207] In the embodiment of the present disclosure, the rollback module stage includes:

[0208] In step S720, before the update operation begins, the rollback module of the air conditioner backs up the current parameters to ensure that it can roll back to the previous stable state when the update fails or an error occurs.

[0209] In the embodiment of the present disclosure, the starting update phase includes:

[0210] Step S722 , starting to update the system control parameters, that is, the air conditioner control system starts the parameter update process, writes the new parameters into the air conditioner, and overwrites the old parameters.

[0211] Step S724: Determine whether the update is completed.

[0212] Step S726: If it is detected that the update fails, a rollback is initiated to restore the parameters to the state before the update and the failure is fed back.

[0213] In the embodiment of the present disclosure, the update completion verification phase includes:

[0214] In step S728, if the update is completed, the air conditioner control system checks the update status again. If the update is successful, the air conditioner control system will feedback an update success message.

[0215] In the embodiment of the present disclosure, the feedback result stage includes:

[0216] In step S730, the air conditioner's control system reports the update results to the user via the mobile app and the air conditioner's display. If successful, the status "Update Completed" is displayed; if unsuccessful, a specific fault code or error message is displayed to help the user understand detailed information about the system control parameter update process and the fault log.

[0217] In the embodiment of the present disclosure, the fault log includes at least one of an integrity check failure record, a device attribute information matching failure record, an update interruption record, and a rollback record, but is not limited thereto.

[0218] In the disclosed embodiment, the air conditioner display screen feedback: the air conditioner display screen feeds back the update result through a fault code (such as E1, E2) or a success code (such as S1), so that the user can quickly and intuitively understand the update status.

[0219] Figure 8 800 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0220] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0221] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

[0222] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0223] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.

[0224] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0225] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0226] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0227] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect changes in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and temperature changes of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0228] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 8G, other communication standards, or a combination thereof. In some embodiments of the present disclosure, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of the present disclosure, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0229] In some embodiments of the present disclosure, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.

[0230] In some embodiments of the present disclosure, a non-transitory computer-readable storage medium including instructions is further provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the apparatus 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0231] In some embodiments of the present disclosure, a non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute a method for upgrading system control parameters.

[0232] In some embodiments of the present disclosure, a computer program product is further provided, including a computer program / instruction, which implements a method for upgrading system control parameters when the computer program / instruction is executed by a processor.

[0233] In summary, the system control parameter upgrade solution provided by the embodiments of the present disclosure has at least the following outstanding advantages compared to the prior art:

[0234] (1) NFC technology is used to update the air conditioner EE parameters. There is no need to OTA update the entire firmware or disassemble the machine. Only NFC quick swipe is required, which significantly improves efficiency and reduces operational complexity. While simplifying the update process, it also achieves efficient update of system control parameters.

[0235] (2) NFC point-to-point communication mode avoids problems such as poor network signals or interrupted Bluetooth connections, ensures data transmission integrity, and improves update success rate, stability, and reliability.

[0236] (3) The model and SN number matching verification mechanism ensures that the parameter updates are accurate. If the update fails, the rollback mechanism can be automatically triggered to restore the original parameters, thereby improving security and anti-eavesdropping protection.

[0237] (4) The update process provides real-time feedback on the status. The mobile phone APP and the air conditioner display screen will simultaneously display the progress or error information. Users can easily control the update status, which improves the user's upgrade experience.

[0238] (5) It supports parameter updates in scenarios such as no network or limited signal, making it suitable for production testing, maintenance, and on-site adjustments. It is flexible and easy to operate, and does not require frequent user intervention during the upgrade process. At the same time, users can query the upgrade status through the APP, conveniently controlling the upgrade process, and flexibly applicable to various upgrade scenarios.

[0239] (6) The embodiments of the present disclosure are applied to the upgrade scenario of a small-capacity EE parameter table (usually a few KB). The transmission efficiency is high and the device resources are small. There is no need to update the entire firmware, which greatly reduces the power consumption of the update process and the target device's occupation of system control resources, while extending the device's operating life.

[0240] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0241] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for upgrading system control parameters, characterized in that: include: Receiving an NFC transmission packet sent by a terminal device, wherein the NFC transmission packet includes updated system control parameters; Performing data packet verification on the NFC transmission packet; In response to successful verification of the data packet, system control parameters are updated according to the NFC transmission packet.

2. The method for upgrading system control parameters according to claim 1, characterized in that: Performing data packet verification on the NFC transmission packet includes: Obtain a CRC value in the NFC transmission packet, and perform a data integrity check on the NFC transmission packet according to the CRC value; In response to the NFC transmission packet passing the data integrity check, the system control parameter is upgraded according to the NFC transmission packet.

3. The method for upgrading system control parameters according to claim 2, characterized in that: Obtaining a CRC value in the NFC transmission packet, and performing a data integrity check on the NFC transmission packet according to the CRC value includes: Calculate the CRC value corresponding to the NFC transmission packet; Parsing a pre-stored value of a CRC value in the NFC transmission packet; The data integrity of the NFC transmission packet is determined based on a comparison result between the calculated value of the CRC value and the pre-stored value of the CRC value.

4. The method for updating system control parameters according to claim 1, wherein: Performing data packet verification on the NFC transmission packet further includes: Obtaining device attribute information in the NFC transmission packet, and performing device attribute information matching on the NFC transmission packet; In response to the device attribute information in the NFC transmission packet being consistent with a preset matching condition, the system control parameters are upgraded according to the NFC transmission packet.

5. The method for upgrading system control parameters according to claim 4, characterized in that: Obtaining device attribute information in the NFC transmission packet and matching the device attribute information on the NFC transmission packet includes: Read the pre-stored information of local device attribute information; Parsing the request information of the device attribute information in the NFC transmission packet; According to the matching result between the pre-stored information and the request information, a matching result of the device attribute information of the NFC transmission packet is determined, wherein the device attribute information includes model information and / or a device unique identification code.

6. The method for updating system control parameters according to claim 1, wherein: In response to a successful match, updating the system control parameters according to the NFC transmission packet includes: Backing up local system control parameters to obtain backup system control parameters; In response to completing the backup of the local system control parameters, the system control parameters are upgraded according to the NFC transmission packet.

7. The method for updating system control parameters according to claim 6, characterized in that: Also includes: In response to a failure in upgrading the system control parameters according to the NFC transmission packet, parameter rollback is performed according to the backup system control parameters.

8. The method for updating system control parameters according to any one of claims 1 to 7, characterized in that: Also includes: In response to completing the upgrade of the system control parameters, displaying update status information of the system control parameters; And / or, in response to completing the upgrade of the system control parameters, sending update status information of the system control parameters to the terminal device, the update status information including at least one of the reception status information of the NFC transmission packet, integrity verification status information, device attribute information matching status information, fault log status information and rollback status information.

9. A method for upgrading system control parameters, characterized in that: include: Get system control parameters for system control updates; generating an NFC transmission packet according to the system control parameters updated by the system control; The NFC transmission packet is sent to the target device.

10. The method for updating system control parameters according to claim 9, characterized in that: Generating an NFC transmission packet according to the system control parameter updated by the system control includes: In response to the acquired system control parameters, a CRC value corresponding to the system control parameters is written into the NFC transmission packet.

11. The method for updating system control parameters according to claim 9, wherein: Generating an NFC transmission packet according to the system control parameter updated by the system control includes: The device attribute information corresponding to the system control parameter is written into the NFC transmission packet, wherein the device attribute information includes model information and / or a device unique identification code.

12. An air conditioner, characterized in that: A method for upgrading system control parameters capable of executing any one of claims 1-8.

13. A terminal device, characterized in that: A method for upgrading system control parameters according to any one of claims 9 to 11 can be executed.

14. An electronic device, characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method for upgrading the system control parameters according to any one of claims 1 to 11.

15. A non-transitory computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute the method for updating system control parameters according to any one of claims 1 to 11.

16. A computer program product, characterized in that The method comprises a computer program, which, when executed by a processor, implements the method for upgrading the system control parameters according to any one of claims 1 to 11.