Compressor upgrading method and device, upgrading equipment and storage medium

By upgrading the equipment to automatically detect battery power and send a handshake request, the problem of needing on-site operation for upgrading the electronically controlled compressor was solved, enabling convenient software upgrades and improving the user experience.

CN121560355APending Publication Date: 2026-02-24SHANGHAI SONGZHI KUHENG NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511688167.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-18
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

In existing technologies, software upgrades for electronically controlled compressors require on-site operation, which leads to complex and time-consuming operations, poor user experience, and the need for professional personnel and external power supply.

Method used

An upgrade device is provided that automatically determines whether a threshold is met by detecting the battery level, controls the indicator light to indicate this, and automatically sends a handshake request and upgrade procedure, enabling a convenient upgrade without the need for an external power cord.

Benefits of technology

It simplifies the compressor upgrade process, reduces operational complexity and time, improves user experience, and is applicable to the upgrade of electronically controlled compressors in different vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121560355A_ABST
    Figure CN121560355A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a compressor upgrading method and device, upgrading equipment and a storage medium. The upgrading equipment comprises a first interface, a battery and a first indicator light; the first interface is connected with a compressor bus to be connected; the method is applied to upgrading equipment and comprises the steps that when it is detected that a first interface is connected with a to-be-connected compressor bus, whether the battery electric quantity of a battery meets an electric quantity threshold value or not is determined; when the battery electric quantity meets the electric quantity threshold value, a first indicator light is controlled to be in a first color, a handshake request is sent to the to-be-connected compressor, and when a handshake success signal fed back by the to-be-connected compressor according to the handshake request is received, the to-be-connected compressor is determined as a target compressor; and the target upgrading program is sent to the target compressor, so that the target compressor completes the upgrading process. According to the method, the complexity and consumed time of compressor upgrading are reduced, and the use experience feeling of a vehicle user is further guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of electronic control technology, and in particular to a compressor upgrade method, apparatus, upgrade equipment and storage medium. Background Technology

[0002] Many malfunctions of the electronically controlled compressor in vehicles often require software upgrades to resolve. The common practice is to recall the vehicles and have the manufacturer's engineers perform the upgrades on-site at service stations.

[0003] However, the above methods are limited by on-site environmental constraints and human experience. For example, they require a long power cord to power the vehicle, and the upgrade operation requires personnel familiar with computers and operating software. Therefore, the operation of these methods is relatively complex and time-consuming, resulting in a lower user experience. Summary of the Invention

[0004] This invention provides a compressor upgrade method, apparatus, upgrade device, and storage medium. This method reduces the complexity and time required for compressor upgrades, further ensuring the user experience for vehicle users.

[0005] In a first aspect, embodiments of the present invention provide a compressor upgrade method; the upgrade device includes a first interface, a battery, and a first indicator light; the first interface is connected to the bus of the compressor to be connected; the method is applied to the upgrade device, and the method includes:

[0006] When the first interface is detected to be connected to the compressor bus, it is determined whether the battery power meets the power threshold.

[0007] When the battery level meets the threshold, the first indicator light illuminates in the first color, a handshake request is sent to the compressor to be connected, and the compressor to be connected is identified as the target compressor upon receiving a handshake success signal from the compressor to be connected in accordance with the handshake request.

[0008] Send the target upgrade program to the target compressor so that the target compressor can complete the upgrade process.

[0009] The compressor upgrade method provided in this invention, when detecting that the compressor to be connected is connected to the first interface via a bus, the upgrade device first performs a self-check to determine whether the battery power meets the power threshold. Therefore, the upgrade device can not only directly power the compressor to be connected, solving the problem that the compressor currently requires a long external power cable to start the upgrade process, making the process of powering the compressor simple and convenient, but also automatically determine the current battery power when the battery power is insufficient, realizing automatic power detection. When it is determined that the battery power meets the power threshold, the first indicator light illuminates in the first color to inform the staff of the self-check result and remind the staff to initiate a handshake request to the compressor to be connected. Furthermore, when the upgrade device receives a handshake success signal from the compressor to be connected, it determines that the compressor to be connected is the target compressor, realizing automatic determination that the upgrade program carried by the upgrade device can upgrade the target compressor. By using the upgrade device to automatically send the target upgrade program to the target compressor, enabling the target compressor to complete the automatic upgrade process, the problem that currently, vehicle factory staff need a lot of experience to upgrade compressors is solved, reducing the complexity and time consumed in compressor upgrades, and further ensuring the user experience of vehicle users.

[0010] Secondly, embodiments of the present invention also provide a compressor upgrade device; the upgrade device includes a first interface, a battery, and a first indicator light; the first interface is connected to the bus of the compressor to be connected; the device is applied to the upgrade device; the device includes:

[0011] The detection module is used to determine whether the battery power meets the power threshold when the first interface is detected to be connected to the compressor bus.

[0012] The determination module is used to control the first indicator light to illuminate the first color when the battery power meets the power threshold, send a handshake request to the compressor to be connected, and determine the compressor to be connected as the target compressor when it receives a handshake success signal from the compressor to be connected in accordance with the handshake request.

[0013] The upgrade module is used to send the target upgrade program to the target compressor so that the target compressor can complete the upgrade process.

[0014] Thirdly, embodiments of the present invention also provide an upgrade device, the upgrade device comprising:

[0015] At least one processor; and

[0016] A memory that is communicatively connected to at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the compressor upgrade method of any embodiment of the present invention.

[0018] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the compressor upgrade method of any embodiment of the present invention.

[0019] Fifthly, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the compressor upgrade method of any embodiment of the present invention.

[0020] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the compressor upgrade device, or it may be packaged separately from the processor of the compressor upgrade device; this application does not impose any limitations on this.

[0021] The descriptions of the second, third, fourth, and fifth aspects in this application can be referred to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, fourth, and fifth aspects can be referred to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0022] In this application, the name of the aforementioned compressor upgrade device does not limit the equipment or functional module itself. In actual implementation, these devices or functional modules may appear under other names. As long as the function of each device or functional module is similar to that of this application, it falls within the scope of the claims of this application and its equivalents.

[0023] These or other aspects of this application will become more readily apparent in the following description. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A schematic flowchart of a compressor upgrade method provided in an embodiment of the present invention;

[0026] Figure 2 A schematic flowchart of another compressor upgrade method provided in an embodiment of the present invention;

[0027] Figure 3 This is a schematic diagram of the structure of an upgrade device according to an embodiment of the present invention;

[0028] Figure 4 A structural diagram of a compressor upgrade device provided in an embodiment of the present invention;

[0029] Figure 5 This is a schematic diagram of another upgrade device provided in an embodiment of the present invention. Detailed Implementation

[0030] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0031] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0032] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of objects.

[0033] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0034] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the figures. The process can correspond to a method, function, procedure, subroutine, subroutine, etc. Moreover, embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0035] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0036] In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0037] Figure 1 This is a flowchart illustrating a compressor upgrade method according to an embodiment of the present invention. This embodiment is applicable to software upgrades of electronically controlled compressors in vehicles. The method can be executed by a compressor upgrade device, which can be implemented using software and / or hardware. In this embodiment, the compressor upgrade device is housed within an upgrade equipment, which can be an electronic device used to upgrade the electronically controlled compressor in a vehicle. The upgrade equipment includes a first interface, a battery, and a first indicator light; the first interface is connected to the bus of the compressor to be connected. Figure 1 As shown, the method specifically includes the following steps:

[0038] S101. When the first interface is detected to be connected to the compressor bus, determine whether the battery power meets the power threshold.

[0039] The first interface is the interface connected to the compressor to be connected via the bus. The compressor to be connected is a compressor from different vehicles and models that requires software upgrades. In this embodiment, the bus connection refers to a Controller Area Network (CAN) bus or a Local Interconnect Network (LIN) bus. The power threshold is used to limit the minimum allowable power consumption of the upgrade device during the compressor upgrade process.

[0040] Specifically, the upgrade equipment is directly distributed by the manufacturer to the corresponding vehicle factory. The factory staff can then use the upgrade equipment to perform software upgrades on the electronically controlled compressor in the corresponding vehicle according to the method described in this embodiment. Therefore, in the specific implementation process, the maintenance personnel of the upgrade equipment will first input the relevant software upgrade program for the electronically controlled compressor to be upgraded into the upgrade equipment. Then, after the maintenance personnel distribute the upgrade equipment to the vehicle factory staff, the factory staff can insert one end of the bus into the first interface of the upgrade equipment and connect the other end of the bus directly to the compressor to be connected. After the upgrade equipment detects that a device is connected to the first interface, it will perform a self-test to determine whether its battery power meets the power threshold.

[0041] For example, since the upgrade device connects to the compressor controller of the compressor to be connected via a bus and has its own battery, the upgrade device can directly power the compressor to be connected via the battery. Therefore, if the battery itself has a low charge level, i.e., does not meet the charge threshold, there will be no extra charge to power the compressor to be connected, thus preventing the upgrade device from performing the software upgrade on the compressor to be connected.

[0042] In this embodiment, when the compressor to be connected is detected to be connected to the first interface via the bus, the upgrade device will first perform a self-test to determine whether the battery power meets the power threshold. Therefore, the upgrade device can not only directly supply power to the compressor to be connected, solving the problem that the compressor currently needs to be connected to a long external power cord to start the upgrade process, making the process of supplying power to the compressor simple and convenient, but also automatically determine the current battery power when the battery power is insufficient, realizing automatic power detection.

[0043] S102. When the battery power meets the power threshold, control the first indicator light to light up the first color, send a handshake request to the compressor to be connected, and when the compressor to be connected is received as a handshake success signal according to the handshake request, the compressor to be connected is identified as the target compressor.

[0044] The first indicator light shows the battery level of the upgrade device during self-testing. The first color indicates that the upgrade device has sufficient battery power. A handshake request is one or more preliminary communications conducted between two network devices (such as the upgrade device and the compressor to be connected in this embodiment) before formal data transmission, in order to establish a connection, negotiate parameters, and ensure state synchronization between the two parties. The target compressor is a compressor that matches the upgrade software prepared in the upgrade device.

[0045] Specifically, when the upgrade device determines that its own battery power meets the power threshold, it can control the first indicator light to illuminate in the first color to indicate that the battery power meets the power requirements of the compressor being upgraded. Afterward, it can send a handshake request to the compressor to be connected. The compressor to be connected receives the handshake request and sends a handshake success signal back to the upgrade device. At this point, the upgrade device has successfully established a handshake with the compressor to be connected, and therefore, the compressor to be connected is the target compressor.

[0046] For example, since the upgrade device can be used to upgrade different compressors in different vehicles, before the upgrade device is distributed to the vehicle manufacturers' staff, the maintenance personnel will input the built-in program corresponding to the target compressor to be upgraded into the upgrade device. Therefore, the program carried in the upgrade device can only be used to upgrade the target compressor. After being distributed to the vehicle manufacturers' staff, due to lack of experience, they may connect a non-target compressor to the upgrade device via the bus, which may cause the upgrade program carried in the upgrade device to be incompatible with the non-target compressor, making it impossible to upgrade the non-target compressor. Therefore, the handshake operation between the upgrade device and the compressor to be connected in this embodiment is to determine whether the upgrade program carried in the upgrade device is the upgrade program required by the compressor to be connected. If the handshake is successful, it can be determined that the compressor to be connected is the target compressor; if the handshake fails, it means that the upgrade program carried in the upgrade device cannot perform a software upgrade on the currently connected compressor.

[0047] Optionally, if the battery power is insufficient to meet the power threshold, the first indicator light can prompt staff to charge the upgraded equipment.

[0048] In this embodiment, when the battery level meets the threshold, the first indicator light illuminates in its first color to inform the staff of the self-test result and remind them to initiate a handshake request to the compressor to be connected. Furthermore, when the upgrade device receives a successful handshake signal from the compressor to be connected, it determines that the compressor to be connected is the target compressor. This enables the automatic determination that the upgrade program carried by the upgrade device can upgrade the target compressor, providing a foundation for the upgrade device to directly and automatically upgrade the target compressor in the future.

[0049] S103. Send the target upgrade program to the target compressor so that the target compressor can complete the upgrade process.

[0050] The target upgrade program is the software upgrade program required for the target compressor.

[0051] Specifically, once the compressor to be connected is identified as the target compressor, the target compressor can be automatically upgraded directly based on the upgrade program built into the upgrade device, thus completing the automatic upgrade process of the target compressor.

[0052] In this embodiment, the upgrade device automatically sends the target upgrade program to the target compressor, enabling the target compressor to complete the automatic upgrade process. This solves the problem that currently, vehicle factory staff need a lot of experience to upgrade the compressor, reducing the complexity and time required for compressor upgrades, and further ensuring the user experience of vehicle users.

[0053] The compressor upgrade method provided in this invention, when detecting that the compressor to be connected is connected to the first interface via a bus, the upgrade device first performs a self-check to determine whether the battery power meets the power threshold. Therefore, the upgrade device can not only directly power the compressor to be connected, solving the problem that the compressor currently requires a long external power cable to start the upgrade process, making the process of powering the compressor simple and convenient, but also automatically determine the current battery power when the battery power is insufficient, realizing automatic power detection. When it is determined that the battery power meets the power threshold, the first indicator light illuminates in the first color to inform the staff of the self-check result and remind the staff to initiate a handshake request to the compressor to be connected. Furthermore, when the upgrade device receives a handshake success signal from the compressor to be connected, it determines that the compressor to be connected is the target compressor, realizing automatic determination that the upgrade program carried by the upgrade device can upgrade the target compressor. By using the upgrade device to automatically send the target upgrade program to the target compressor, enabling the target compressor to complete the automatic upgrade process, the problem that currently, vehicle factory staff need a lot of experience to upgrade compressors is solved, reducing the complexity and time consumed in compressor upgrades, and further ensuring the user experience of vehicle users.

[0054] Figure 2 This is a flowchart illustrating another compressor upgrade method provided by an embodiment of the present invention. This embodiment is based on the above embodiment and specifies the steps such as determining whether the battery power meets the power threshold and determining whether the handshake is successful.

[0055] Currently, the common practice for software upgrades of electronically controlled compressors is to recall vehicles to service stations for on-site upgrades by engineers from the vehicle manufacturer. However, due to limitations of the on-site environment, vehicles often lack dedicated power and communication interfaces for software upgrades, requiring long power cables to be run from the vehicle's interior. Furthermore, the upgrade operation requires personnel familiar with computers and operating software, often resulting in lengthy upgrade processes. Customers, considering cost-effectiveness, often cannot promptly complete the upgrade at the service station, and after-sales service personnel cannot wait at the service station for extended periods. This leads to many vehicles' compressor controllers not receiving complete software upgrades. Optionally, some electronically controlled compressor software upgrades can utilize over-the-air (OTA) technology, but due to the lack of unified standards for OTA technology, its high cost, and the potential safety risks during the upgrade process, its adoption rate is currently very low. Therefore, this embodiment provides an upgrade device and its usage method for upgrading the software of electronically controlled compressors. Further, Figure 3 This is a schematic diagram of the structure of an upgrade device according to an embodiment of the present invention. Figure 3As shown, the upgrade device includes: a first interface 305, a second interface 301, a first indicator light 302, a second indicator light 304, a power switch 303, and a battery (located inside the upgrade device and not shown in the figure). The first interface 305 is used to connect to the compressor to be connected via a bus; the second interface 301 is used to connect to electronic equipment via a communication cable, and the second interface 301 can be a Universal Serial Bus Type-C (USB Type-C) interface or a host computer communication interface; the first indicator light 302 displays the battery level in the upgrade device; the second indicator light 304 indicates whether the upgrade device has successfully upgraded the target compressor; the power switch 303 is used to start the upgrade device, and the battery powers both the upgrade device and the compressor to be connected.

[0056] Continue to refer to Figure 2 In this embodiment, the method includes:

[0057] S201. After detecting that the second interface is connected to the electronic device, determine whether the battery power meets the charging threshold.

[0058] The upgrade device also includes a second interface, which is connected to the electronic device via a communication cable. In this embodiment, the electronic device can be a computer or server used by the manufacturer's staff to input the required upgrade program for the target compressor into the upgrade device, upgrading the built-in program so that the target compressor can be automatically upgraded when the upgrade device is subsequently distributed to the vehicle manufacturer's staff. The charging threshold is used to characterize the minimum amount of electricity required for the upgrade device to be charged.

[0059] Specifically, after detecting that the second interface is connected to the manufacturer's staff's electronic equipment via a communication cable, a self-test is required to determine whether the battery's charge level meets the charging threshold.

[0060] For example, before each upgrade device is distributed by the manufacturer to the staff of various vehicle manufacturers to upgrade the software of the electronic control compressors in vehicles of different manufacturers, the manufacturer's staff will determine the corresponding upgrade program based on the target compressor to be upgraded, and will need to upgrade the built-in program in the upgrade device based on the electronic equipment. However, before this, if the battery power of the upgrade device is less than or equal to (meets) the charging threshold, then step S202 needs to be executed; if the battery power of the upgrade device is higher than (does not meet) the charging threshold, then either step S203 or S204 can be executed depending on the specific situation.

[0061] S202. If the battery power meets the charging threshold, control the first indicator light to illuminate the second color and receive power transmitted from the electronic device until it is determined that the battery charging is complete; execute S205.

[0062] The second color indicates that the battery power is currently low and needs to be charged. Optionally, the second color can be red.

[0063] Specifically, if the battery level is determined to meet the charging threshold (i.e., less than or equal to the charging threshold), the first indicator light will illuminate in a second color to notify the manufacturer's staff that the upgrade device needs battery recharging. Furthermore, the battery can be recharged using an electronic device connected to the upgrade device's communication cable; that is, the electronic device transmits power to the battery via the communication cable to charge the upgrade device's battery.

[0064] Optionally, since the electronic device can also charge upgraded devices, in some cases, the electronic device in this embodiment can also charge devices with charging capabilities, such as rechargeable batteries or power banks; or it can directly power the battery of devices such as computers or laptops. Furthermore, when charging is complete (e.g., the battery level exceeds a threshold), the first indicator light can be controlled to illuminate in a first color. In this embodiment, the first color can be green.

[0065] In this embodiment, it is determined whether the battery power is too low, and if it is, the staff are shown that the battery needs to be actively charged, so as to provide sufficient power for the subsequent upgrade of the built-in program of the upgraded equipment and the subsequent software upgrade of the target compressor.

[0066] S203. If the battery power does not meet the charging threshold and does not meet the power threshold, control the first indicator light to light up the third color, and receive the charging instruction from the electronic device according to the third color, and perform charging according to the charging instruction until the charging is confirmed to be complete; execute S205.

[0067] The third color indicates that although the battery level is not below the minimum limit, it does not meet the minimum allowable level for compressor upgrades. In this embodiment, the third color can be yellow.

[0068] Specifically, if the battery level is below the charging threshold (i.e., greater than the charging threshold) but below the power threshold (i.e., less than or equal to the power threshold), the first indicator light can be controlled to illuminate in a third color. Illuminating the third color is to inform the manufacturer's staff that although the battery level of the upgraded device has not reached the minimum power limit, it is necessary to determine whether to charge the battery to prevent it from running out of power during subsequent updates to the built-in program. Therefore, for example, before controlling the first indicator light to illuminate in the third color, the following is also included:

[0069] (a) Receive the upgrade program for the target compressor sent by the electronic device, and determine the upgrade time of the built-in program based on the upgrade program.

[0070] The program to be upgraded refers to the program that the target compressor needs to be upgraded this time. The built-in program upgrade time is the time required to perform the built-in program upgrade on the upgraded equipment.

[0071] Specifically, in order to determine whether the battery power is sufficient for the subsequent upgrade of the built-in program, if it is determined that the battery power is insufficient for both the charging threshold and the power threshold, the program to be updated for the target compressor can be received from the electronic device, and the upgrade time of the built-in program can be determined based on the program attributes such as the data size, data type, and pre-upgrade time of the program to be updated.

[0072] (ii) Determine the charging request based on the current battery level and the built-in program upgrade time.

[0073] The current battery level refers to the current battery charge.

[0074] Specifically, after knowing the built-in program upgrade time, it can be determined whether the current battery level is sufficient to guarantee power during the upgrade process, based on the current battery level and the upgrade time. For example, the power consumption of the built-in program can be determined based on the upgrade time and the power consumed by the upgrade, and compared with the current battery level. If the power consumption of the built-in program is greater than or equal to the current battery level, a charging request can be identified. If the power consumption of the built-in program is less than the current battery level, the difference can be sent to the electronic device so that staff know the battery's potential remaining power after the upgrade, allowing them to decide whether charging is necessary or to proceed directly with the upgrade. The request sent to the electronic device is called a "charging request."

[0075] Furthermore, the system controls the first indicator light to illuminate a third color, receives a charging instruction from the electronic device based on the third color, and executes charging according to the charging instruction until charging is confirmed to be complete, including:

[0076] (a) Control the first indicator light to illuminate the third color and send a charging request to the electronic device.

[0077] Specifically, after confirming the charging request, the first indicator light is controlled to illuminate in the third color, and a charging request is sent to the electronic device.

[0078] (ii) Receive charging instructions from the electronic device based on the third color and the charging request.

[0079] The charging indicator is a command to inform the upgraded device whether it needs to be charged.

[0080] Specifically, after the electronic device displays the charging request to the staff, the staff inputs the charging request into the electronic device, and the electronic device can then send the charging instruction to the upgrade device.

[0081] (iii) Perform charging according to the charging instructions until charging is complete.

[0082] Specifically, in one implementation, if the charging request is "request to charge" and the charging indicator is "charging," the upgrade device can obtain power through electronic devices to charge until charging is confirmed to be complete. Optionally, if the charging request is "request to charge" but the charging indicator is "not charging," the upgrade device can control the first indicator light to illuminate a second color and pause operation. In another implementation, if the charging request is "the staff determines whether charging is needed or directly proceeds with the built-in program upgrade steps," then charging or not charging can be performed directly according to the charging indicator. If charging is performed, the first indicator light will illuminate a first color after charging is completed to confirm charging completion; if not charging is performed, charging completion will be directly confirmed.

[0083] In this embodiment, if the battery power does not meet the charging threshold and does not meet the power threshold, that is, although the battery power exceeds the charging threshold, it is not sufficient, the remaining battery power can be determined based on the calculated built-in program upgrade time and battery power. Then, the staff can determine whether the battery needs to be charged. This not only enables accurate control of battery power, but also prevents interruption due to insufficient power during the built-in program upgrade, thus ensuring the safety of the upgrade equipment.

[0084] S204. If the battery level does not meet the charging threshold but does meet the charging threshold, then the charging is considered complete.

[0085] Specifically, if the battery level does not meet the charging threshold, but does meet the threshold, it means that the battery level is sufficient, and therefore, charging can be directly determined to be complete.

[0086] S205: Receive the upgrade program for the target compressor sent by the electronic device, and upgrade the built-in program based on the upgrade program to obtain the target upgrade program.

[0087] The built-in program is the program that is built into the upgrade program itself.

[0088] Specifically, after confirming that the upgrade device has completed charging, it can directly upgrade its own built-in program using the program to be upgraded, thus obtaining the target upgrade program. Alternatively, if no program to be upgraded has been obtained before, it can receive the target compressor's program to be upgraded from the electronic device.

[0089] In this embodiment, the program to be upgraded is determined based on the target compressor, and the built-in program in the upgrade device is upgraded accordingly. In this way, the built-in program in the upgrade device can be replaced for different electronically controlled compressors in the early stage, ensuring that an upgrade device can be reused and automatically upgraded for different electronically controlled compressors repeatedly.

[0090] S206. When the first interface is detected to be connected to the compressor bus, determine whether the battery power meets the power threshold.

[0091] Specifically, after completing the above steps, the manufacturer of the upgrade equipment can distribute the upgrade equipment to the personnel responsible for upgrading the target compressor at the vehicle manufacturer. The vehicle manufacturer personnel can then insert one end of the bus into the first interface of the upgrade equipment and connect the other end directly to the compressor to be connected. After detecting a device connected to the first interface, the upgrade equipment will perform a self-test to determine if its battery level meets the required threshold.

[0092] S207. When the battery power meets the power threshold, control the first indicator light to illuminate the first color and send a handshake request to the compressor to be connected.

[0093] Specifically, when the upgrade device determines that its own battery power meets the power threshold, it can control the first indicator light to illuminate in the first color to indicate that the battery power meets the power requirements of the compressor being upgraded. Afterwards, a handshake request can be sent to the compressor to be connected.

[0094] Optionally, if the battery level is below the threshold, the first indicator light will illuminate in a second color. This allows factory personnel to connect an electronic device (computer or charging device) to the communication cable to charge the upgrade equipment once the second color is illuminated. Once the upgrade equipment is fully charged, the first indicator light will illuminate in the first color, and a handshake request will be sent again to the compressor to be connected.

[0095] In this embodiment, the upgrade device will only send a handshake request to the compressor to be connected to continue the subsequent process if the battery level meets the threshold. This ensures that the electronically controlled compressor is powered directly by the upgrade device's battery, eliminating the need for a long power cord and improving the convenience of power supply during software upgrades of the electronically controlled compressor.

[0096] S208. If a handshake failure signal is received from the compressor to be connected according to the handshake request, it is determined that the compressor to be connected is not the target compressor, and the second indicator light is controlled to light up the fourth color.

[0097] In this embodiment, "if a handshake failure signal is received from the compressor to be connected according to the handshake request," one possibility is that the upgrade device does not receive a handshake success signal within a preset time period; another possibility is that the compressor to be connected rejects the handshake request from the upgrade device and sends a handshake failure signal to the upgrade device. The fourth color is used to indicate the failure of the handshake with the compressor to be connected; in this embodiment, the fourth color can be the same as the second color, which is red, or it can be another color. In this embodiment, the non-target compressor refers to any compressor to be connected other than the target compressor.

[0098] Specifically, the compressor to be connected will determine whether it has successfully paired with the upgrade device based on the handshake request. If the compressor to be connected is not the target compressor, the upgrade device will determine that the handshake has failed and control the second indicator light to light up the fourth color.

[0099] Optionally, the software upgrade process can be stopped after a handshake failure is confirmed. One implementation method is that if the vehicle manufacturer's personnel have relevant experience, they can directly use electronic devices to return to and execute step S201 on their behalf. Another implementation method is that if the vehicle manufacturer's personnel lack relevant experience, the upgrade equipment can be returned to the manufacturer, and the manufacturer's personnel can re-execute step S201. Regardless of the method, it is necessary to determine the target compressor that needs upgrading and the target upgrade program required for this upgrade, in order to re-upgrade the built-in program in the upgrade equipment.

[0100] In this embodiment, a matching process to determine whether the compressor to be connected is the target compressor is added during the handshake phase between the upgrade device and the compressor to be connected. This process can determine whether the built-in program of the upgrade device is suitable for the currently connected compressor to perform an accurate software upgrade during the handshake phase, thus avoiding the waste of time and effort caused by software upgrade failure after a successful connection due to mismatch between the two.

[0101] S209. Upon receiving a handshake success signal from the compressor to be connected based on the handshake request, the compressor to be connected is identified as the target compressor.

[0102] Specifically, if a handshake success signal is received from the compressor to be connected in accordance with the handshake request, then the compressor to be connected can be identified as the target compressor.

[0103] S210: Send the target upgrade program to the target compressor, and after receiving the upgrade success message from the target compressor, control the second indicator light to illuminate the fifth color.

[0104] The fifth color is used to indicate that the software upgrade of the target compressor was successful. In this embodiment, the fifth color can be the same as the first color, which is green, or it can be a different color than the fourth color.

[0105] Specifically, after confirming a successful handshake, the upgrade device sends the target upgrade program to the target compressor to perform a software upgrade. Once the target compressor's software upgrade is successful, it sends a success message back to the upgrade device. At this point, the upgrade device controls the second indicator light to illuminate its fifth color, informing the staff that the software upgrade of the target compressor is complete.

[0106] Optionally, during the software upgrade process for the target compressor, the second indicator light can also continuously illuminate in a sixth color to inform staff that a software upgrade operation is in progress.

[0107] Alternatively, when upgrading the built-in program of an upgraded device, the manufacturer's staff can determine the current software version of the device based on the electronic device to determine whether it is the latest software version.

[0108] Figure 4 This is a structural diagram of a compressor upgrade device provided in an embodiment of the present invention. The upgrade device includes a first interface, a battery, and a first indicator light; the first interface is connected to the bus of the compressor to be connected; the device is applied to the upgrade device; as shown. Figure 4 As shown, the device includes:

[0109] The detection module 401 is used to determine whether the battery power meets the power threshold when the first interface is detected to be connected to the compressor bus.

[0110] The determination module 402 is used to control the first indicator light to light up the first color when the battery power meets the power threshold, send a handshake request to the compressor to be connected, and determine the compressor to be connected as the target compressor when it receives a handshake success signal fed back by the compressor to be connected according to the handshake request.

[0111] Upgrade module 403 is used to send the target upgrade program to the target compressor so that the target compressor can complete the upgrade process.

[0112] Based on the above embodiments, the upgrade device further includes a second interface, which is connected to the communication cable of the electronic device; before detecting that the first interface is connected to the compressor bus to be connected, the detection module 401 is also used to:

[0113] After detecting that the second interface is connected to the electronic device, it determines whether the battery level meets the charging threshold. If the battery level meets the charging threshold, it controls the first indicator light to illuminate in the second color and receives power transmitted from the electronic device until it determines that the battery charging is complete. Alternatively, if the battery level does not meet the charging threshold and does not meet the power threshold, it controls the first indicator light to illuminate in the third color and receives the charging instruction from the electronic device based on the third color, and performs charging according to the charging instruction until it determines that charging is complete. Alternatively, if the battery level does not meet the charging threshold but meets the power threshold, it determines that charging is complete. After charging is complete, it receives the upgrade program for the target compressor sent by the electronic device and upgrades the built-in program based on the upgrade program to obtain the target upgrade program.

[0114] Based on the above embodiments, before controlling the first indicator light to illuminate the third color, the determining module 402 is further configured to:

[0115] It receives the upgrade program for the target compressor sent by the electronic device and determines the built-in program upgrade time based on the upgrade program; it also determines the charging request based on the current battery level and the built-in program upgrade time.

[0116] Based on the above embodiments, the first indicator light is controlled to illuminate a third color, and a charging instruction is received from the electronic device based on the third color. Charging is then performed according to the charging instruction until charging is confirmed to be complete. Specifically, the confirmation module 402 is used for:

[0117] Control the first indicator light to illuminate the third color and send a charging request to the electronic device; receive the charging instruction from the electronic device based on the third color and the charging request; execute charging according to the charging instruction until charging is confirmed to be complete.

[0118] Based on the above embodiments, after receiving the charging instruction from the electronic device based on the third color and the charging request, the determining module 402 is further configured to:

[0119] If the charging indicator is "charging", the process receives electrical energy from the electronic device until the battery is fully charged. Once the battery is fully charged, the process receives the upgrade program for the target compressor from the electronic device and upgrades the built-in program based on the upgrade program to obtain the target upgrade program. If the charging indicator is "not charging", the process sends a command to the electronic device indicating that the upgrade process has failed.

[0120] Based on the above embodiments, the upgrade device also includes a second indicator light; after sending a handshake request to the compressor to be connected, the determining module 402 is further configured to:

[0121] If a handshake failure signal is received from the compressor to be connected based on the handshake request, it is determined that the compressor to be connected is not the target compressor, and the second indicator light is controlled to illuminate the fourth color.

[0122] Based on the above embodiments, the upgrade device also includes a second indicator light; after sending a handshake request to the compressor to be connected, the upgrade module 403 is specifically used for:

[0123] Send the target upgrade program to the target compressor, and after receiving the upgrade success message from the target compressor, control the second indicator light to illuminate the fifth color.

[0124] The compressor upgrade device provided in this embodiment of the invention can execute the compressor upgrade method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0125] It is worth noting that in the embodiments of the compressor upgrade device described above, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of the present invention.

[0126] Figure 5 This is a schematic diagram of another upgrade device provided in an embodiment of the present invention. Figure 5 A block diagram of an exemplary upgrade device 5 suitable for implementing embodiments of the present invention is shown. Figure 5 The upgraded device 5 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0127] like Figure 5 As shown, the upgrade device 5 is presented in the form of a general-purpose computing upgrade device. The components of the upgrade device 5 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and bus 18 connecting different system components (including system memory 28 and processing unit 16).

[0128] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0129] Upgrade device 5 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by upgrade device 5, including volatile and non-volatile media, removable and non-removable media.

[0130] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Upgrade device 5 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (… Figure 5 Not shown; usually referred to as a "hard drive"). Although Figure 5 As not shown, disk drives for reading and writing to removable non-volatile disks (e.g., "floppy disks") and optical disc drives for reading and writing to removable non-volatile optical discs (e.g., CD-ROMs, DVD-ROMs, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0131] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.

[0132] The upgrade device 5 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the upgrade device 5, and / or with any device that enables the upgrade device 5 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through the input / output (I / O) interface 22. Furthermore, the upgrade device 5 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 20. Figure 5 As shown, network adapter 20 communicates with other modules of upgrade device 5 via bus 18. It should be understood that, although... Figure 5As not shown, it can be combined with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0133] The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28, such as implementing the compressor upgrade method provided in this embodiment. Of course, those skilled in the art will understand that the processor can also implement the technical solutions of the compressor upgrade method provided in any embodiment of the present invention.

[0134] This invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements, for example, the compressor upgrade method provided in this invention. The computer storage medium of this invention can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0135] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0136] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0137] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the compressor upgrade method provided in any embodiment of this invention. The computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0138] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computing device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0139] Furthermore, the acquisition, storage, use, and processing of data in the technical solution of this invention all comply with the relevant provisions of national laws and regulations.

[0140] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A compressor upgrade method, characterized in that, The upgraded device includes a first interface, a battery, and a first indicator light; The first interface is connected to the compressor bus to be connected; The method is applied to the upgraded device, and the method includes: When the first interface is detected to be connected to the compressor bus, it is determined whether the battery power meets the power threshold. When the battery power meets the power threshold, the first indicator light is controlled to illuminate in the first color, a handshake request is sent to the compressor to be connected, and when a handshake success signal is received from the compressor to be connected in accordance with the handshake request, the compressor to be connected is identified as the target compressor. Send a target upgrade program to the target compressor to enable the target compressor to complete the upgrade process.

2. The method according to claim 1, characterized in that, The upgrade device also includes a second interface, which is connected to the communication cable of the electronic device. Before detecting that the first interface is connected to the compressor bus to be connected, the method further includes: After detecting that the second interface is connected to the electronic device, it is determined whether the battery power meets the charging threshold. If the battery level meets the charging threshold, the first indicator light is controlled to illuminate in a second color, and the device receives power transmitted from the electronic device until charging of the battery is determined to be complete; or, if the battery level does not meet the charging threshold and does not meet the power threshold, the first indicator light is controlled to illuminate in a third color, and the device receives a charging instruction from the electronic device based on the third color, and performs charging according to the charging instruction until charging is determined to be complete; or, if the battery level does not meet the charging threshold but meets the power threshold, charging is determined to be complete. After charging is complete, the system receives the upgrade program for the target compressor sent by the electronic device, and upgrades the built-in program based on the upgrade program to obtain the target upgrade program.

3. The method according to claim 2, characterized in that, Before controlling the first indicator light to illuminate the third color, the following is also included: Receive the upgrade program for the target compressor sent by the electronic device, and determine the built-in program upgrade time based on the upgrade program; The charging request is determined based on the battery's current charge level and the built-in program upgrade time.

4. The method according to claim 3, characterized in that, The control of the first indicator light to illuminate a third color, receiving a charging instruction from the electronic device based on the third color, and performing charging according to the charging instruction until charging is confirmed to be complete includes: The first indicator light is controlled to illuminate in the third color, and a charging request is sent to the electronic device. Receive a charging instruction from the electronic device based on the third color and the charging request; Charge according to the charging instruction until charging is confirmed to be complete.

5. The method according to claim 4, characterized in that, After receiving the charging instruction from the electronic device based on the third color and the charging request, the method further includes: If the charging indication is charging, then the step of receiving electrical energy transmitted by the electronic device is executed until the charging of the battery is completed. After determining that the charging of the battery is completed, the step of receiving the upgrade program of the target compressor sent by the electronic device is executed, and the built-in program is upgraded based on the upgrade program to obtain the target upgrade program. If the charging indicator is not charging, a command indicating that the upgrade process has failed is sent to the electronic device.

6. The method according to claim 1, characterized in that, The upgrade device also includes a second indicator light; after sending a handshake request to the compressor to be connected, it also includes: If a handshake failure signal is received from the compressor to be connected according to the handshake request, the compressor to be connected is determined to be a non-target compressor, and the second indicator light is controlled to illuminate the fourth color.

7. The method according to claim 6, characterized in that, Sending the target upgrade program to the target compressor to enable the target compressor to complete the upgrade process includes: Send the target upgrade program to the target compressor, and after receiving the upgrade success information sent by the target compressor, control the second indicator light to illuminate the fifth color.

8. A compressor upgrading device, characterized in that, The upgraded device includes a first interface, a battery, and a first indicator light; The first interface is connected to the compressor bus to be connected; The device is used in the upgrade equipment; the device includes: The detection module is used to determine whether the battery power meets the power threshold when the first interface is detected to be connected to the compressor bus; The determination module is used to control the first indicator light to illuminate a first color when the battery power meets the power threshold, send a handshake request to the compressor to be connected, and determine the compressor to be connected as the target compressor when it receives a handshake success signal from the compressor to be connected in accordance with the handshake request. The upgrade module is used to send a target upgrade program to the target compressor so that the target compressor can complete the upgrade process.

9. An upgrade device, characterized in that, include: One or more processors; Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the compressor upgrade method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the compressor upgrade method as described in any one of claims 1 to 7.