Upgrading method of main program of air conditioner external unit, operation control device and air conditioner

文档序号:151163 发布日期:2021-10-26 浏览:11次 中文

阅读说明:本技术 空调器外机主程序的升级方法、运行控制装置及空调器 (Upgrading method of main program of air conditioner external unit, operation control device and air conditioner ) 是由 刘康博 甄锦鹏 于 2021-07-30 设计创作,主要内容包括:本发明公开了一种空调器外机主程序的升级方法、运行控制装置及空调器,当空调器外机需要升级主程序时,线控器获取升级包后,在线控器发送至空调器外机的运行通信数据中插入升级包的数据帧,升级包发送完成后,空调器外机可以对升级包进行校验,线控器若接收到空调器外机发送过来的校验成功信号,将升级选择按钮显示给用户,用户选择升级则线控器获取到升级确认信号,然后发送升级确认信号给空调器外机,使得空调器外机可以直接根据升级包进行升级;用户选择升级后,升级包已经穿插在运行通信数据中发送到了空调器外机,无需等待较长的时间来进行升级,能够降低升级失败的概率,有利于提升用户的体验。(The invention discloses an upgrading method of a main program of an air conditioner external unit, an operation control device and an air conditioner, when the air conditioner external unit needs to upgrade the main program, a wire controller acquires an upgrade package, the wire controller sends operation communication data of the air conditioner external unit to insert a data frame of the upgrade package, after the upgrade package is sent, the air conditioner external unit can verify the upgrade package, if the wire controller receives a verification success signal sent by the air conditioner external unit, an upgrade selection button is displayed to a user, and the wire controller acquires an upgrade confirmation signal if the user selects upgrading, and then sends the upgrade confirmation signal to the air conditioner external unit, so that the air conditioner external unit can be upgraded directly according to the upgrade package; after the user selects upgrading, the upgrading package is transmitted to the air conditioner external unit in the operation communication data in an interspersed mode, the upgrading is carried out without waiting for a long time, the probability of upgrading failure can be reduced, and the user experience is improved.)

1. A method for upgrading a main program of an external unit of an air conditioner is applied to a line controller, and the method comprises the following steps:

obtaining an upgrade package;

inserting the data of the upgrade package into operation communication data and sending the operation communication data to an air conditioner external unit;

and when a verification success signal from the air conditioner external unit is received and an upgrade confirmation signal is obtained, the upgrade confirmation signal is sent to the air conditioner external unit, so that the air conditioner external unit is upgraded according to the upgrade package.

2. The upgrade method according to claim 1, wherein the transmitting the data of the upgrade package to an outdoor unit of an air conditioner interspersed in operation communication data comprises:

extracting data with preset byte length from the upgrading packet and packaging the data into upgrading data frames;

and packaging the upgrading data frame to the operation communication data and sending the operation communication data to the air conditioner external unit.

3. The upgrade method according to claim 1, wherein an upgrade selection button is displayed on a display interface after the verification success signal is received.

4. The upgrade method according to claim 1, wherein when the verification failure signal is received from the outdoor unit, the data of the upgrade package is transmitted to the outdoor unit again while being interspersed with the operation communication data.

5. The upgrade method according to claim 1, further comprising:

and receiving the upgrading result information from the air conditioner external unit and displaying the upgrading result information on a display interface.

6. A method for upgrading a main program of an air conditioner external unit is applied to the air conditioner external unit, and comprises the following steps:

extracting and storing an upgrade data frame from the received operational communication data;

obtaining a complete upgrade package according to the upgrade data frame;

and when an upgrading confirmation signal is received, stopping the machine and upgrading according to the upgrading packet.

7. The upgrade method according to claim 6, wherein after the complete upgrade package is obtained, verification is performed and verification result information is sent to a line controller.

8. The upgrade method according to claim 6, wherein after the upgrade is completed, upgrade result information is transmitted to the line controller.

9. A method for upgrading a main program of an external unit of an air conditioner is characterized by comprising the following steps:

the wire controller acquires an upgrade package;

the wire controller transmits the upgrading data frame of the upgrading packet to an air conditioner external unit by inserting the upgrading data frame into operation communication data;

the air conditioner external unit extracts and stores an upgrading data frame from the received operation communication data;

the air conditioner external unit obtains a complete upgrade package according to the upgrade data frame;

the air conditioner external unit carries out verification and sends verification success information to the wire controller;

when the line controller acquires an upgrade confirmation signal, the line controller sends the upgrade confirmation signal to the air conditioner external unit;

and the air conditioner external unit is stopped and is upgraded according to the upgrading packet.

10. An operation control device comprising at least one control processor and a memory for communicative connection with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the upgrade method according to any one of claims 1 to 8.

11. An air conditioner characterized by comprising the operation control device according to claim 10.

12. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the upgrade method according to any one of claims 1 to 8.

Technical Field

The invention relates to the technical field of program upgrading, in particular to an upgrading method of a main program of an air conditioner external unit, an operation control device and an air conditioner.

Background

The air conditioning system is generally called a refrigeration system composed of an external unit, an internal unit and other air conditioning equipment, the current air conditioning system mostly uses a current loop communication circuit to realize the communication between the external unit and the internal unit, and the current loop communication is realized by three wires, namely a live wire L and a zero wire N of an alternating current power supply and an additional communication S wire. The communication rate of the current loop is low, and long time is needed when a communication remote upgrading program is used, so that the user experience is poor; after the user confirms the upgrade, a larger data interruption risk exists in the waiting period, and the probability of upgrade failure is larger.

Disclosure of Invention

The invention aims to solve at least one of the technical problems in the prior art, and provides an upgrading method of a main program of an air conditioner external unit, an operation control device and the air conditioner, which can reduce the probability of upgrading failure and improve the user experience.

In a first aspect, an embodiment of the present invention provides a method for upgrading a main program of an external unit of an air conditioner, where the method is applied to a line controller, and the method includes:

obtaining an upgrade package;

inserting the data of the upgrade package into operation communication data and sending the operation communication data to an air conditioner external unit;

and when a verification success signal from the air conditioner external unit is received and an upgrade confirmation signal is obtained, the upgrade confirmation signal is sent to the air conditioner external unit, so that the air conditioner external unit is upgraded according to the upgrade package.

The upgrading method provided by the embodiment of the invention at least has the following beneficial effects: when the air conditioner external unit needs to upgrade a main program, the line controller inserts a data frame of an upgrade package into running communication data sent to the air conditioner external unit by the line controller after acquiring the upgrade package, the air conditioner external unit can verify the upgrade package after the upgrade package is sent, if the line controller receives a verification success signal sent by the air conditioner external unit, an upgrade selection button is displayed to a user, the line controller acquires an upgrade confirmation signal when the user selects upgrading, and then sends the upgrade confirmation signal to the air conditioner external unit, so that the air conditioner external unit can be upgraded directly according to the upgrade package; after the user selects upgrading, the upgrading package is transmitted to the air conditioner external unit in the operation communication data in an interspersed mode, the upgrading is carried out without waiting for a long time, the probability of upgrading failure can be reduced, and the user experience is improved.

In the above upgrade method, the transmitting the data of the upgrade package to the air conditioner external unit while being inserted into the operation communication data includes:

extracting data with preset byte length from the upgrading packet and packaging the data into upgrading data frames;

and packaging the upgrading data frame to the operation communication data and sending the operation communication data to the air conditioner external unit.

During normal operation, the line controller continuously sends operation communication data to the air conditioner external unit, after the line controller acquires an upgrade package, an upgrade data frame is inserted when the operation communication data is sent to the air conditioner external unit each time, the upgrade data frame is obtained by extracting data with a preset byte length from the upgrade package and packaging the data, the upgrade data frame comprises a frame head, a data part and a frame tail, wherein the frame head and the frame tail contain some necessary control information, such as synchronous information, address information, error control information and the like, and the data part is the upgrade data with the preset byte length extracted from the upgrade package. It can be understood that, in general, the line controller sequentially extracts data with a preset byte length according to the sequence of all data of the upgrade package, encapsulates the data to obtain an upgrade data frame until the byte length of the last section of data is smaller than the preset byte length, and encapsulates the last section of data into the upgrade data frame to be sent to the air conditioner external unit.

In the upgrading method, after the verification success signal is received, an upgrading selection button is displayed on a display interface.

The wire controller displays an upgrade selection button on a display interface, can inform a user that an upgrade package of a main process of the air conditioner outdoor unit is completely downloaded, has upgrade conditions, and can be upgraded.

In the above upgrading method, when a verification failure signal from the air conditioner external unit is received, the data of the upgrade package is inserted into the operation communication data again and sent to the air conditioner external unit.

If the wire controller receives the verification failure signal, it is described that the upgrade package sent to the air conditioner external unit before the verification failure signal is incomplete and cannot be used for upgrading, that is, the wire controller does not have the upgrade condition at present, and needs to send the data of the upgrade package to the air conditioner external unit again until the air conditioner external unit sends a verification success signal to the wire controller.

In the foregoing upgrade method, the method further includes:

and receiving the upgrading result information from the air conditioner external unit and displaying the upgrading result information on a display interface.

After the upgrade is completed, the air conditioner external unit sends the upgrade result information to the wire controller, and the wire controller displays the upgrade result through the display screen for the user to check.

In a second aspect, an embodiment of the present invention provides a method for upgrading a main program of an external unit of an air conditioner, where the method is applied to the external unit of the air conditioner, and includes:

extracting and storing an upgrade data frame from the received operational communication data;

obtaining a complete upgrade package according to the upgrade data frame;

and when an upgrading confirmation signal is received, stopping the machine and upgrading according to the upgrading packet.

The upgrading method provided by the embodiment of the invention at least has the following beneficial effects: after the line controller acquires a main program upgrade package of the air conditioner external unit, an upgrade data frame is inserted when operation communication data are sent to the air conditioner external unit each time, and the upgrade data frame is obtained by extracting data with a preset byte length from the upgrade package and packaging the data; the air conditioner external unit can continuously receive the operation communication data sent by the line controller, each time the received operation communication data contains an upgrading data frame, and the air conditioner external unit is extracted and stored in the backup area; when all the upgrading data frames sent by the wire controller are received, the air conditioner external unit can obtain a complete upgrading packet; if further receive the upgrading affirmation signal from the drive-by-wire ware, indicate that the user carries out the upgrading through the drive-by-wire ware selection, the outer machine of air conditioner judges whether the compressor satisfies the shut down condition, if not, waits until the compressor can shut down, then upgrades according to complete upgrading package. The air conditioner outdoor unit obtains the upgrading package from the line controller through the operation communication data during normal operation, when a user selects upgrading, the user does not need to wait, the upgrading is directly carried out according to the upgrading package, the probability of upgrading failure is reduced, and the user experience is favorably improved.

In the upgrading method, after the complete upgrading packet is obtained, verification is carried out and verification result information is sent to the wire controller.

After the air conditioner external unit obtains a complete upgrade package, checking, wherein the checking can comprise double checking of accumulation checking and CRC checking, if the checking is successful, sending checking success information to the wire controller, and informing a user that the wire controller is ready for upgrading and has upgrading conditions; and if the verification fails, sending verification failure information to the line controller, and informing the line controller to transmit the upgrading data frame of the upgrading packet in the running communication data again in an inserting manner.

In the above upgrading method, after the upgrading is completed, the upgrading result information is sent to the line controller.

After the upgrade is completed, the air conditioner external unit sends the upgrade result information to the wire controller, and the wire controller displays the upgrade result through the display screen for the user to check.

In a third aspect, an embodiment of the present invention provides a method for upgrading a main program of an external unit of an air conditioner, including:

the wire controller acquires an upgrade package;

the wire controller transmits the upgrading data frame of the upgrading packet to an air conditioner external unit by inserting the upgrading data frame into operation communication data;

the air conditioner external unit extracts and stores an upgrading data frame from the received operation communication data;

the air conditioner external unit obtains a complete upgrade package according to the upgrade data frame;

the air conditioner external unit carries out verification and sends verification success information to the wire controller;

when the line controller acquires an upgrade confirmation signal, the line controller sends the upgrade confirmation signal to the air conditioner external unit;

and the air conditioner external unit is stopped and is upgraded according to the upgrading packet.

In a fourth aspect, an embodiment of the present invention provides an operation control apparatus, including at least one control processor and a memory, which is communicatively connected to the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the upgrade method as described in the first aspect of the embodiments above or to perform the upgrade method as described in the second aspect of the embodiments above.

In a fifth aspect, an embodiment of the present invention provides an air conditioner, including the operation control device as described in the fourth aspect embodiment.

In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions for causing a computer to execute the upgrade method described in the first aspect or execute the upgrade method described in the second aspect.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

Drawings

The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.

The invention is further described below with reference to the accompanying drawings and examples;

fig. 1 is a schematic structural diagram of an air conditioner system according to an embodiment of the present invention;

fig. 2 is a flowchart of an upgrading method for a main program of an external air conditioner unit of an air conditioner system according to an embodiment of the present invention;

fig. 3 is a flowchart of an upgrading method of an external unit main program of an air conditioner applied to a line controller according to an embodiment of the present invention;

fig. 4 is a flowchart illustrating an upgrading method of an external unit main program of an air conditioner applied to a line controller according to another embodiment of the present invention;

fig. 5 is a flowchart of an upgrading method of an external unit of an air conditioner applied to the external unit of the air conditioner according to an embodiment of the present invention;

fig. 6 is a schematic structural diagram of an operation control device according to an embodiment of the present invention.

Detailed Description

Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.

It should be understood that in the description of the embodiments of the present invention, if there is any description of "first", "second", etc., it is only for the purpose of distinguishing technical features, and it is not to be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the precedence of the indicated technical features. "at least one" means one or more, "a plurality" means two or more. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items.

Furthermore, unless expressly stated or limited otherwise, the term "coupled" is to be construed broadly, and may include, for example, fixed or movable connections, removable or non-removable connections, or integral connections; may be mechanically connected, may be electrically connected or may be in communication with each other; may be directly connected or indirectly connected through an intermediate.

In the description of embodiments of the present disclosure, reference to the description of the terms "one embodiment/implementation," "another embodiment/implementation," or "certain embodiments/implementations," "in the above embodiments/implementations," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least two embodiments or implementations of the present disclosure. In the present disclosure, a schematic representation of the above terms does not necessarily refer to the same exemplary embodiment or implementation. It should be noted that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different from that in the flowcharts.

It should be noted that the technical features related to the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

The embodiment of the invention provides an upgrading method of a main program of an air conditioner external unit, an operation control device and an air conditioner, which can reduce the probability of upgrading failure and improve user experience.

The embodiments of the present invention will be further explained with reference to the drawings.

Referring to fig. 1, a schematic structural diagram of an air conditioner system according to an embodiment of the present invention is shown, in which an air conditioner includes an air conditioner external unit and an air conditioner internal unit, the air conditioner external unit and the air conditioner internal unit are connected by a bus to implement data interaction, a controller of the air conditioner internal unit is connected to a line controller, and the line controller has a WiFi module, and can be connected to a server or a mobile terminal, so as to obtain an upgrade package of a main program of the air conditioner external unit.

Referring to fig. 2 and 3, a first embodiment of the present invention provides an upgrading method for a main program of an external unit of an air conditioner, where the upgrading method is applied to the air conditioner system shown in fig. 1, and the upgrading method includes, but is not limited to, steps S210 to S270:

step S210: the wire controller acquires an upgrade package;

it should be noted that the line controller may obtain version information of the main program of the air conditioner external unit through the bus, then query the server through the WiFi module whether the main program of the air conditioner external unit has an upgraded version, and if the upgraded version is queried, download an upgrade package of the upgraded version from the server and store the upgrade package in the line controller. In addition, when the server has the upgrading version of the main program of the air conditioner external unit, the upgrading package can be sent to the mobile terminal, the mobile terminal can be connected with the WiFi module, and the upgrading package is transmitted to the wire controller through the APP installed on the mobile terminal.

Step S220: the wire controller transmits the upgrading data frame of the upgrading packet to an air conditioner external unit by inserting the upgrading data frame into operation communication data;

it should be noted that, during normal operation, the line controller continuously sends operation communication data to the air conditioner external unit, after the line controller acquires the upgrade packet, when sending the operation communication data to the air conditioner external unit each time, an upgrade data frame is inserted, the upgrade data frame is obtained by extracting data with a preset byte length from the upgrade packet and packaging the data, and the upgrade data frame includes a frame header, a data portion and a frame tail, where the frame header and the frame tail include some necessary control information, such as synchronization information, address information, error control information, and the like, and the data portion is the upgrade data with the preset byte length extracted from the upgrade packet. It can be understood that, in general, the line controller sequentially extracts data with a preset byte length according to the sequence of all data of the upgrade package, encapsulates the data to obtain an upgrade data frame until the byte length of the last section of data is smaller than the preset byte length, and encapsulates the last section of data into the upgrade data frame to be sent to the air conditioner external unit.

Step S230: the air conditioner external unit extracts and stores an upgrading data frame from the received operation communication data;

it should be noted that the air conditioner external unit may continuously receive the operation communication data sent by the line controller, each time the received operation communication data includes an upgrade data frame, and the air conditioner external unit is extracted and stored in the backup area.

Step S240: the air conditioner external unit obtains a complete upgrade package according to the upgrade data frame;

it can be understood that, after receiving all the upgrade data frames sent by the line controller, the air conditioner external unit can obtain a complete upgrade package.

Step S250: the air conditioner external unit carries out verification and sends verification success information to the wire controller;

it should be noted that, after the air conditioner external unit obtains a complete upgrade package, the verification is performed, the verification may include double verification of accumulation verification and CRC verification, if the verification is successful, the verification success information is sent to the line controller, and the line controller notifies the user that the upgrade preparation is ready and the upgrade condition is met; and if the verification fails, sending verification failure information to the line controller, and informing the line controller to transmit the upgrading data frame of the upgrading packet in the running communication data again in an inserting manner.

Step S260: when the line controller acquires an upgrade confirmation signal, the line controller sends the upgrade confirmation signal to the air conditioner external unit;

it should be noted that, after receiving the successful verification information from the air conditioner external unit, the line controller displays an upgrade selection button on the display interface to notify the user that the upgrade package of the main process of the air conditioner external unit has been completely downloaded, and the line controller has upgrade conditions and can perform upgrade.

Step S270: and the air conditioner external unit is stopped and is upgraded according to the upgrading packet.

It should be noted that, after receiving the upgrade confirmation signal, the air conditioner external unit determines whether the compressor meets the shutdown condition, and if not, waits until the compressor can be shutdown, and then upgrades according to the complete upgrade package. After the upgrade is completed, the air conditioner external unit sends the upgrade result information to the wire controller, and the wire controller displays the upgrade result through the display screen for the user to check.

According to the method for upgrading the main program of the air conditioner external unit, the air conditioner external unit obtains the upgrade package from the line controller through the operation communication data during normal operation, when a user selects upgrading, the user does not need to wait, the upgrade is directly carried out according to the upgrade package, the probability of upgrading failure is reduced, and the user experience is favorably improved.

Since the upgrading method of the main program of the air conditioner external unit relates to interaction between the line controller and the air conditioner external unit, respective upgrading steps are described below from the side where the line controller is located and the side where the air conditioner is located.

Referring to fig. 3, an embodiment of the present invention provides an upgrading method for a main program of an external unit of an air conditioner, which is applied to a line controller, and the upgrading method includes, but is not limited to, step S310 and step S330:

step S310: obtaining an upgrade package;

step S320: inserting the data of the upgrade package into operation communication data and sending the operation communication data to an air conditioner external unit;

step S330: and when a verification success signal from the air conditioner external unit is received and an upgrade confirmation signal is obtained, the upgrade confirmation signal is sent to the air conditioner external unit, so that the air conditioner external unit is upgraded according to the upgrade package.

In the upgrading method of the embodiment, when the air conditioner external unit needs to upgrade a main program, the line controller acquires an upgrade package, the line controller inserts a data frame of the upgrade package into running communication data sent to the air conditioner external unit, after the upgrade package is sent, the air conditioner external unit can verify the upgrade package, if the line controller receives a verification success signal sent by the air conditioner external unit, an upgrade selection button is displayed to a user, the line controller acquires an upgrade confirmation signal when the user selects upgrade, and then sends the upgrade confirmation signal to the air conditioner external unit, so that the air conditioner external unit can be upgraded directly according to the upgrade package; after the user selects upgrading, the upgrading package is transmitted to the air conditioner external unit in the operation communication data in an interspersed mode, the upgrading is carried out without waiting for a long time, the probability of upgrading failure can be reduced, and the user experience is improved.

Referring to fig. 4, in the upgrade method of fig. 3, the transmitting the data of the upgrade package to the air conditioner external unit while being inserted into the operation communication data in step S320 includes the following steps:

step S410: extracting data with preset byte length from the upgrading packet and packaging the data into upgrading data frames;

step S420: and packaging the upgrading data frame to the operation communication data and sending the operation communication data to the air conditioner external unit.

During normal operation, the line controller continuously sends operation communication data to the air conditioner external unit, after the line controller acquires an upgrade package, an upgrade data frame is inserted when the operation communication data is sent to the air conditioner external unit each time, the upgrade data frame is obtained by extracting data with a preset byte length from the upgrade package and packaging the data, the upgrade data frame comprises a frame head, a data part and a frame tail, wherein the frame head and the frame tail contain some necessary control information, such as synchronous information, address information, error control information and the like, and the data part is the upgrade data with the preset byte length extracted from the upgrade package. It can be understood that, in general, the line controller sequentially extracts data with a preset byte length according to the sequence of all data of the upgrade package, encapsulates the data to obtain an upgrade data frame until the byte length of the last section of data is smaller than the preset byte length, and encapsulates the last section of data into the upgrade data frame to be sent to the air conditioner external unit.

In the above upgrading method of fig. 3, after receiving the verification success signal in step S330, the line controller displays an upgrading selection button on the display interface.

It can be understood that the wire controller displays the upgrade selection button on the display interface, and can notify the user that the upgrade package of the main process of the air conditioner external unit has been completely downloaded, and the upgrade package has upgrade conditions and can be upgraded.

In the upgrade method of fig. 3, when a verification failure signal is received from the air conditioner external unit, the data of the upgrade package is inserted into the operation communication data again and is sent to the air conditioner external unit.

If the wire controller receives the verification failure signal, it is described that the upgrade package sent to the air conditioner external unit before the verification failure signal is incomplete and cannot be used for upgrading, that is, the upgrade package does not have the upgrade condition at present, and the data of the upgrade package needs to be sent to the air conditioner external unit again until the air conditioner external unit sends a verification success signal to the wire controller.

In the upgrading method of fig. 3, the method further includes step S340:

step S340: and receiving the upgrading result information from the air conditioner external unit and displaying the upgrading result information on a display interface.

After the upgrade is completed, the air conditioner external unit sends the upgrade result information to the wire controller, and the wire controller displays the upgrade result through the display screen for the user to check.

Referring to fig. 5, an embodiment of the present invention provides a method for upgrading a main program of an external unit of an air conditioner, where the method is applied to the external unit of the air conditioner, and the method includes, but is not limited to, steps S510 to S530:

step S510: extracting and storing an upgrade data frame from the received operational communication data;

step S520: obtaining a complete upgrade package according to the upgrade data frame;

step S530: and when an upgrading confirmation signal is received, stopping the machine and upgrading according to the upgrading packet.

In the upgrading method of the embodiment, after the line controller acquires the upgrading packet of the main program of the air conditioner external unit, an upgrading data frame is inserted when the line controller sends operation communication data to the air conditioner external unit each time, and the upgrading data frame is obtained by extracting data with a preset byte length from the upgrading packet and packaging the data; the air conditioner external unit can continuously receive the operation communication data sent by the line controller, each time the received operation communication data contains an upgrading data frame, and the air conditioner external unit is extracted and stored in the backup area; when all the upgrading data frames sent by the wire controller are received, the air conditioner external unit can obtain a complete upgrading packet; if further receive the upgrading affirmation signal from the drive-by-wire ware, indicate that the user carries out the upgrading through the drive-by-wire ware selection, the outer machine of air conditioner judges whether the compressor satisfies the shut down condition, if not, waits until the compressor can shut down, then upgrades according to complete upgrading package. The air conditioner outdoor unit obtains the upgrading package from the line controller through the operation communication data during normal operation, when a user selects upgrading, the user does not need to wait, the upgrading is directly carried out according to the upgrading package, the probability of upgrading failure is reduced, and the user experience is favorably improved.

In the above upgrade method of fig. 5, in step S530, after the complete upgrade package is obtained, verification is performed and verification result information is sent to the line controller.

After the air conditioner external unit obtains a complete upgrade package, checking, wherein the checking can comprise double checking of accumulation checking and CRC checking, if the checking is successful, sending checking success information to the wire controller, and informing a user that the wire controller is ready for upgrading and has upgrading conditions; and if the verification fails, sending verification failure information to the line controller, and informing the line controller to transmit the upgrading data frame of the upgrading packet in the running communication data again in an inserting manner.

In the above upgrading method of fig. 5, the method further includes the following steps:

step S540: and after the upgrade is finished, sending upgrade result information to the line controller.

After the upgrade is completed, the air conditioner external unit sends the upgrade result information to the wire controller, and the wire controller displays the upgrade result through the display screen for the user to check.

Additionally, referring to fig. 6, an embodiment of the present invention further provides an operation control apparatus 600, comprising at least one control processor 610 and a memory 620 for communicative connection with the at least one control processor 610; the memory 620 stores instructions executable by the at least one control processor 610, the instructions being executed by the at least one control processor 610 to enable the at least one control processor 610 to perform the upgrade method applied to the line controller as described in the above embodiment or perform the upgrade method applied to the air conditioner external unit as described in the above embodiment, for example, perform method steps S310 to S340 in fig. 3, perform method steps S410 to S420 in fig. 4, and perform method steps S510 to S540 in fig. 5.

In the operation control device 600 of this embodiment, when the external unit of the air conditioner needs to upgrade the main program, after the line controller obtains the upgrade package, the line controller inserts the data frame of the upgrade package into the operation communication data sent to the external unit of the air conditioner, after the upgrade package is sent, the external unit of the air conditioner can verify the upgrade package, if the line controller receives a verification success signal sent by the external unit of the air conditioner, the upgrade selection button is displayed to the user, and when the user selects upgrade, the line controller obtains an upgrade confirmation signal and then sends the upgrade confirmation signal to the external unit of the air conditioner, so that the external unit of the air conditioner can be upgraded directly according to the upgrade package; after the user selects upgrading, the upgrading package is transmitted to the air conditioner external unit in the operation communication data in an interspersed mode, the upgrading is carried out without waiting for a long time, the probability of upgrading failure can be reduced, and the user experience is improved.

In addition, an embodiment of the present invention further provides an air conditioner including the operation control device 600 as described in the above embodiment.

In the air conditioner of the embodiment, when the external unit of the air conditioner needs to upgrade a main program, after the line controller acquires an upgrade package, the line controller transmits running communication data of the external unit of the air conditioner to insert a data frame of the upgrade package, after the upgrade package is transmitted, the external unit of the air conditioner can verify the upgrade package, if the line controller receives a verification success signal transmitted by the external unit of the air conditioner, an upgrade selection button is displayed to a user, and the line controller acquires an upgrade confirmation signal if the user selects upgrade and then transmits the upgrade confirmation signal to the external unit of the air conditioner, so that the external unit of the air conditioner can be upgraded directly according to the upgrade package; after the user selects upgrading, the upgrading package is transmitted to the air conditioner external unit in the operation communication data in an interspersed mode, the upgrading is carried out without waiting for a long time, the probability of upgrading failure can be reduced, and the user experience is improved.

In addition, an embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the upgrade method applied to a line controller as described in the above embodiment or perform the upgrade method applied to an air conditioner external unit as described in the above embodiment, for example, perform method steps S310 to S340 in fig. 3, perform method steps S410 to S420 in fig. 4, and perform method steps S510 to S540 in fig. 5.

In the computer-readable storage medium of this embodiment, when the air conditioner external unit needs to upgrade a main program, after the line controller acquires an upgrade package, the line controller sends the data frame of the upgrade package to running communication data of the air conditioner external unit, after the upgrade package is sent, the air conditioner external unit can verify the upgrade package, if the line controller receives a verification success signal sent by the air conditioner external unit, an upgrade selection button is displayed to a user, and when the user selects upgrade, the line controller acquires an upgrade confirmation signal and then sends the upgrade confirmation signal to the air conditioner external unit, so that the air conditioner external unit can be upgraded directly according to the upgrade package; after the user selects upgrading, the upgrading package is transmitted to the air conditioner external unit in the operation communication data in an interspersed mode, the upgrading is carried out without waiting for a long time, the probability of upgrading failure can be reduced, and the user experience is improved.

One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media or non-transitory media and communication media or transitory media. The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks, DVD, or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:空调器的控制方法及空调器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!