Software remote upgrading method of aluminum electrolysis cell control machine, aluminum electrolysis cell control machine and terminal

Through the boot loader detecting and establishing connections with the upgrade terminal, receiving and updating the software control program of the aluminum electrolytic cell control machine, the problems of low efficiency and high cost of upgrading software in the existing technology are solved, and high efficiency is achieved , economical remote upgrade.

CN119473337APending Publication Date: 2025-02-18ORDOS MENGTAI ALUMINUM CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411288368.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The upgrade of existing aluminum electrolytic cell control software is inefficient and costly, and requires manual upgrade using handheld offline burners one by one.

Method used

The boot loader detects the connection request of the upgrade terminal, establishes a connection, receives and updates the upgrade program, verifies the updated software controls the integrity of the program, and returns the upgrade result information.

Benefits of technology

Remote upgrade of aluminum electrolytic gun control machine software has been realized, saving labor costs, reducing device costs, improving upgrade efficiency, and reducing the risk of program outflow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473337A_ABST
    Figure CN119473337A_ABST
Patent Text Reader

Abstract

The invention provides a software remote upgrading method of an aluminum electrolysis cell control machine, the aluminum electrolysis cell control machine and a terminal, the method is applied to the aluminum electrolysis cell control machine, a boot loader and an initial software control program are preset in the aluminum electrolysis cell control machine, and the method comprises the following steps: detecting whether a connection request from the upgrading terminal is received through the boot loader; if yes, responding to the connection request, and establishing connection with the upgrading terminal through the boot loader; receiving an upgrading program from the upgrading terminal through the boot loader; updating the software control program by adopting the upgrading program through the boot loader; checking the integrity of the updated software control program through the boot loader; if the verification is passed, returning upgrading success information to the upgrading terminal; the updated software control program is started, so that the labor cost is saved, a handheld off-line burner does not need to be used continuously, the device cost is reduced, the upgrading efficiency is very high, and the risk of external flow of the program is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of aluminum electrolysis cells, and in particular to a software remote upgrading method of an aluminum electrolysis cell control machine, an aluminum electrolysis cell control machine and a terminal. Background Art

[0002] Aluminum reduction cell is one of the essential equipment in aluminum production. During the aluminum production process, the aluminum reduction cell needs to be controlled by the aluminum reduction cell control machine. With the improvement of technology, the control software in the aluminum reduction cell control machine often needs to be upgraded.

[0003] At present, there is only one control program in the aluminum electrolytic cell control machine, and the control program is used to control the aluminum electrolytic cell. The main way to upgrade the control program of the aluminum electrolytic cell control machine is that relevant personnel go to the site to use a handheld offline burner to upgrade each aluminum electrolytic cell control machine one by one. The existing upgrade method not only requires high labor costs and low efficiency, but also requires the use of a handheld offline burner to copy the new control program to the handheld offline burner, which also increases the device cost. Summary of the invention

[0004] The present invention provides a software remote upgrade method of an aluminum electrolytic cell control machine, an aluminum electrolytic cell control machine and a terminal, which are used to solve the technical problems of low software upgrade efficiency and high upgrade cost of the aluminum electrolytic cell control machine in the prior art.

[0005] On the one hand, the present invention provides a method for remotely upgrading the software of an aluminum electrolysis cell control machine, the method being applied to the aluminum electrolysis cell control machine, the aluminum electrolysis cell control machine being pre-installed with a boot loader and an initial software control program, the method comprising: Detecting, by the boot loader, whether a connection request from an upgrade terminal is received; If so, responding to the connection request, establishing a connection with the upgrade terminal through the boot loader; Receiving an upgrade program from the upgrade terminal through the boot loader; updating the software control program using the upgrade program through the boot loader; Verifying the integrity of the updated software control program by the boot loader; If the verification is passed, the upgrade success information is returned to the upgrade terminal; Start the updated software control program.

[0006] According to a method for remote software upgrade of an aluminum electrolytic cell control machine provided by the present invention, before detecting by the boot loader whether a connection request from an upgrade terminal is received, the method further comprises: Counting the cumulative time after the boot loader is started; When the accumulated time is equal to the preset time, the step of detecting, by the boot loader, whether a connection request from an upgrade terminal is received is executed.

[0007] According to a method for remote software upgrade of an aluminum electrolytic cell control machine provided by the present invention, if the verification fails, error information of the upgrade program is returned to the upgrade terminal; Disconnecting from the upgrade terminal; Return to the step of counting the cumulative time after the boot loader is started.

[0008] According to a software remote upgrade method for an aluminum electrolytic cell control machine provided by the present invention, if the connection request is not received, or the connection with the upgrade terminal fails, the integrity of the initial software control program is checked; If the initial software control program passes the verification, starting the initial software control program; If the initial software control program verification fails, the method returns to counting the cumulative time after the boot loader is started.

[0009] According to a method for remote software upgrade of an aluminum electrolytic cell control machine provided by the present invention, the method of updating the software control program by using the upgrade program through the boot loader program comprises: erasing the initial software control program via the boot loader; The upgrade program is loaded through the boot loader.

[0010] On the other hand, the present invention also provides a method for remotely upgrading the software of an aluminum electrolytic cell control machine, the method being applied to an upgrade terminal, the method comprising: Obtain the connection information of the aluminum electrolysis cell control machine to be upgraded; Based on the connection information, sending a connection request to the aluminum electrolysis cell control machine; When establishing a connection with the aluminum electrolysis cell control machine, querying whether the aluminum electrolysis cell control machine is running under a boot loader; If yes, load the upgrade program corresponding to the aluminum electrolysis cell control machine; sending the upgrade program to the boot loader; Obtaining upgrade result information from the boot loader; When the upgrade result information is upgrade success information, the upgrade is ended.

[0011] According to a method for remote software upgrade of an aluminum electrolysis cell control machine provided by the present invention, if the aluminum electrolysis cell control machine is not running under the boot loader, the operation of the aluminum electrolysis cell control machine is controlled to switch to the boot loader, and return to load the upgrade program corresponding to the aluminum electrolysis cell control machine.

[0012] According to a method for remote software upgrade of an aluminum electrolytic cell control machine provided by the present invention, when the upgrade result information is upgrade failure information, the method returns to establish a connection with the aluminum electrolytic cell control machine based on the connection information.

[0013] On the other hand, the present invention also provides an aluminum electrolysis cell control machine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for remote software upgrade of the aluminum electrolysis cell control machine described in any one of the above items is implemented.

[0014] On the other hand, the present invention also provides an upgrade terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for remotely upgrading the software of an aluminum electrolytic cell control machine described in any one of the above items is implemented.

[0015] The software remote upgrade method, aluminum electrolytic cell control machine and terminal provided by the present invention detect whether a connection request from an upgrade terminal is received through a boot loader; if so, respond to the connection request and establish a connection with the upgrade terminal through the boot loader; receive the upgrade program from the upgrade terminal through the boot loader; update the software control program using the upgrade program through the boot loader; verify the integrity of the updated software control program through the boot loader; if the verification passes, return upgrade success information to the upgrade terminal; start the updated software control program, save labor costs, and do not need to continue to use a handheld offline burner, thereby reducing device costs and having high upgrade efficiency. In addition, this method does not need to transmit the upgrade program offline, thus realizing remote software upgrade and reducing the risk of program outflow. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 This is one of the flow charts of the method for remote software upgrade of the aluminum electrolysis cell control machine provided by the embodiment of the present invention; Figure 2 This is the second flow chart of the method for remote software upgrade of the aluminum electrolysis cell control machine provided by the embodiment of the present invention; Figure 3 It is a structural schematic diagram of an aluminum electrolysis cell control machine provided by an embodiment of the present invention; Figure 4 is a schematic diagram of the structure of an upgrade terminal provided by an embodiment of the present invention; Figure 5 is a schematic diagram of the structure of an upgrade system provided by an embodiment of the present invention; Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] Figure 1 This is one of the flow charts of the software remote upgrade method of the aluminum electrolytic cell control machine provided by the embodiment of the present invention. The execution subject of the method may be the aluminum electrolytic cell control machine. The aluminum electrolytic cell control machine is pre-installed with a boot loader (BootLoader) and an initial software control program. It can be understood that the boot loader and the initial software control program may be located in the control chip of the aluminum electrolytic cell control machine.

[0020] See also Figure 1 The method for remotely upgrading the software of the aluminum electrolysis cell control machine may include the following steps 101 to 107.

[0021] 101. Detect, through the boot loader, whether a connection request from the upgrade terminal is received.

[0022] In this step, the bootloader can detect the connection request of the external upgrade terminal by monitoring the corresponding serial interface (such as UART), Inter-Integrated Circuit (I2C) or network interface of the aluminum electrolysis cell control machine.

[0023] 102. If yes, respond to the connection request and establish a connection with the upgrade terminal through the boot loader.

[0024] In this step, the bootloader can establish a connection with the remote upgrade terminal through the MODBUS-TCP protocol. Of course, it is also possible to establish a connection with the upgrade terminal in other ways, such as establishing a remote connection through the network. The advantages of the MODBUS-TCP protocol to establish a connection with the remote upgrade terminal include fast communication speed, high reliability and stability, etc.

[0025] 103. Receive the upgrade program from the upgrade terminal through the boot loader.

[0026] 104. Updating the software control program using an upgrade program through a boot loader.

[0027] In this step, updating the software control program using the upgrade program through the boot loader may include: Erasing the initial software control program via the bootloader; Load the upgrade program through the boot loader.

[0028] 105. Verify the integrity of the updated software control program through the boot loader.

[0029] In this step, the bootloader verifies the integrity of the updated software control program by relying on digital signatures and hash verification. Digital signature: Before deploying a new firmware image (software control program), a firmware signature is generated. This signature is generated by a preset private key and accompanies the firmware to be deployed. The purpose of the signature is to verify the identity and integrity of the firmware and ensure that the firmware has not been tampered with during transmission. Hash verification: In order to verify the integrity of the firmware, the BootLoader generates a hash value of the firmware and compares it with the hash value in the firmware signature. If the two match, it means that the firmware has not been modified during transmission, thereby ensuring the integrity and authenticity of the firmware.

[0030] 106. If the verification is passed, the upgrade success information is returned to the upgrade terminal.

[0031] In this step, after the verification is passed, the upgrade success information is returned to the upgrade terminal, so that the user can know in time that the upgrade has been completed, which enhances the transparency of the upgrade operation. Returning the upgrade success information to the upgrade terminal can also generate corresponding log records to facilitate the location and resolution of subsequent problems.

[0032] 107. Start the updated software control program.

[0033] In this embodiment, the boot loader detects whether a connection request from the upgrade terminal is received; if so, in response to the connection request, a connection is established with the upgrade terminal through the boot loader; the upgrade program from the upgrade terminal is received through the boot loader; the software control program is updated by the boot loader using the upgrade program; the integrity of the updated software control program is verified by the boot loader; if the verification passes, an upgrade success message is returned to the upgrade terminal; the updated software control program is started, which saves labor costs and eliminates the need to continue using a handheld offline burner, thereby reducing device costs and having a very high upgrade efficiency. In addition, this method does not require offline transmission of the upgrade program, thereby realizing remote software upgrades and reducing the risk of program outflows.

[0034] In one embodiment of the present specification, before detecting by the boot loader whether a connection request from an upgrade terminal is received, the method may further include: Counting the cumulative time after the boot loader is started; When the accumulated time is equal to the preset time, the step of detecting, by the boot loader, whether a connection request from an upgrade terminal is received is executed.

[0035] In this embodiment, the preset duration can be set, for example, to 100ms, 150ms, etc. The preset duration can meet the initialization requirements of the boot loader, and is not specifically limited here. After the boot loader is started, a certain amount of time is required to initialize the system hardware and configuration to ensure the stable operation of the system. Therefore, the cumulative duration after the boot loader is started is counted, and when the cumulative duration is equal to the preset duration, the boot loader is executed to detect whether a connection request from the upgrade terminal is received, thereby providing sufficient time for the initialization of the boot loader.

[0036] In one embodiment of the present specification, if the verification fails, an error message of the upgrade program is returned to the upgrade terminal; Disconnecting from the upgrade terminal; Return to the step of counting the cumulative time after the boot loader is started.

[0037] In this embodiment, if the verification fails, the error information of the upgrade program is returned to the upgrade terminal, so that the user can know in time that the upgrade is unsuccessful. The connection with the upgrade terminal is disconnected, and the step of counting the cumulative time after the boot loader is started is returned to re-upgrade the software of the electrolyzer control machine.

[0038] In one embodiment of the present specification, if the connection request is not received, or the connection with the upgrade terminal fails, the integrity of the initial software control program is checked; If the initial software control program passes the verification, starting the initial software control program; If the initial software control program verification fails, the method returns to counting the cumulative time after the boot loader is started.

[0039] In this embodiment, if the connection request is not received, or the connection with the upgrade terminal fails, the integrity of the initial software control program is checked, and if the initial software control program passes the check, the initial software control program is started, thereby ensuring smooth production. If the initial software control program fails to check, the cumulative time after the boot loader is started is returned to be counted, so as to re-upgrade the electrolytic cell control machine.

[0040] In some other embodiments of the present specification, before erasing the initial software control program through the boot loader, the initial software control program can also be backed up to obtain a backup software control program. If the integrity of the updated software control program fails to be verified through the boot loader, the backup software control program can be reloaded.

[0041] In the present embodiment, in order to ensure that when the software control program of the aluminum electrolytic cell control machine fails to be upgraded, the aluminum electrolytic cell control machine can still run according to the initial software control program and perform normal production activities in the initial manner, therefore, before the initial software control program is erased by the boot loader, the initial software control program is backed up to obtain a backup software control program. If the integrity of the updated software control program fails to be verified by the boot loader, the backup software control program can be reloaded to avoid production interruption.

[0042] Based on the same general inventive concept, Figure 2 This is a second flow chart of the method for remote software upgrade of the aluminum electrolytic cell control machine provided by the embodiment of the present invention, see Figure 2 The present invention also protects a method for remote software upgrade of an aluminum electrolytic cell control machine. The method is applied to an upgrade terminal. The upgrade terminal may be a computer, a mobile phone or other smart wearable device. The method may include the following steps 201 to 207.

[0043] 201. Obtain connection information of the aluminum electrolysis cell control machine to be upgraded.

[0044] In this step, the connection information of the aluminum electrolysis cell control machine can be obtained by manual entry. The connection information generally includes the IP address and port number of the aluminum electrolysis cell control machine.

[0045] 202. Based on the connection information, a connection request is sent to the aluminum electrolysis cell control machine.

[0046] 203. When establishing a connection with the aluminum electrolysis cell control machine, query whether the aluminum electrolysis cell control machine is running under the boot loader.

[0047] In this step, it has been introduced that the aluminum electrolytic cell control machine is pre-installed with a boot loader (BootLoader) and an initial software control program. After the aluminum electrolytic cell control machine is started, it may run under the boot loader, for example, when initializing, or it may run under the software control program, for example, when controlling the aluminum electrolytic cell. Because the aluminum electrolytic cell control machine is upgraded, the upgrade terminal needs to establish a connection with the boot loader of the aluminum electrolytic cell control machine. Therefore, it is necessary to query whether the aluminum electrolytic cell control machine is running under the boot loader. When establishing a connection with the aluminum electrolytic cell control machine, it may be connected to the boot loader or the software control program.

[0048] 204. If yes, load the upgrade program corresponding to the aluminum electrolytic cell control machine.

[0049] In this embodiment, a corresponding upgrade tool can generally be installed on the upgrade terminal, and a connection can be established with the boot loader through the upgrade tool to perform the upgrade. Therefore, the upgrade program needs to be loaded into the upgrade tool. In general, different models of aluminum electrolytic cell control machines may require different versions of upgrade programs. Therefore, a correspondence between various models of aluminum electrolytic cell control machines and the required versions of upgrade programs can be established in advance. After the upgrade terminal establishes a connection with the boot loader through the upgrade tool, the model of the aluminum electrolytic cell control machine can be obtained, thereby finding the corresponding upgrade program for loading.

[0050] 205. Send the upgrade program to the boot loader.

[0051] 206. Obtain upgrade result information from the boot loader.

[0052] 207. When the upgrade result information is upgrade success information, the upgrade is terminated.

[0053] In this step, when the upgrade result information is upgrade success information, the upgrade is terminated and the connection with the aluminum electrolysis cell control machine can be disconnected.

[0054] In this embodiment, the connection information of the aluminum electrolytic cell control machine to be upgraded is obtained, and based on the connection information, a connection request is sent to the aluminum electrolytic cell control machine. When the connection with the aluminum electrolytic cell control machine is established, it is queried whether the aluminum electrolytic cell control machine is running under the boot loader. If so, the upgrade program corresponding to the aluminum electrolytic cell control machine is loaded, and the upgrade program is sent to the boot loader to obtain the upgrade result information from the boot loader. When the upgrade result information is the upgrade success information, the upgrade is terminated, which saves labor costs and does not need to continue to use the handheld offline burner, reducing the device cost and having a high upgrade efficiency. In addition, this method does not need to transmit the upgrade program offline, reducing the risk of program outflow.

[0055] In one embodiment of the present specification, if the aluminum electrolytic cell control machine is not running under the boot loader, the operation of the aluminum electrolytic cell control machine is controlled to switch to the boot loader, and return to load the upgrade program corresponding to the aluminum electrolytic cell control machine.

[0056] In this embodiment, if the aluminum electrolytic cell control machine is not running under the boot loader, that is, the aluminum electrolytic cell control machine is running under the software control program. The software control program is a program used by the aluminum electrolytic cell control machine to control the aluminum electrolytic cell. In order to upgrade the aluminum electrolytic cell control machine, it is necessary to control the operation of the aluminum electrolytic cell control machine to switch to the boot loader, and then perform the step of loading the upgrade program corresponding to the aluminum electrolytic cell control machine.

[0057] In one embodiment of the present specification, when the upgrade result information is upgrade failure information, the method returns to establishing a connection with the aluminum electrolysis cell control machine based on the connection information.

[0058] In this embodiment, when the upgrade result information is upgrade failure information, the connection information is returned to establish a connection with the aluminum electrolysis cell control machine so as to re-upgrade the aluminum electrolysis cell control machine. In other words, when an upgrade fails, multiple repeated upgrades can be performed to increase the possibility of successful upgrades.

[0059] In some other embodiments of the present specification, the upgrade terminal can open multiple upgrade tools at the same time. Each upgrade tool can be connected to a different aluminum electrolysis cell control machine, and each aluminum electrolysis cell control machine can be upgraded at the same time, which has a very high upgrade efficiency.

[0060] In some other embodiments of the present specification, after the initial software control program in the aluminum electrolytic cell control machine is started, it will also wait for a connection request from the upgrade terminal. When a connection request from the upgrade terminal is received, a connection can be established with the upgrade terminal. If no connection request from the upgrade terminal is received, or the connection with the upgrade terminal fails, the connection request from the upgrade terminal can continue to be waited. After the connection is established with the upgrade terminal, corresponding operations can be performed according to the received control instructions. For example, when the received control instruction is to jump to the boot loader, the boot loader is jumped to the running state.

[0061] Based on the same general inventive concept, see Figure 3 The present invention also protects an aluminum electrolysis cell control machine 30, comprising a first memory 301, a first processor 302, and a computer program stored in the first memory 301 and executable on the first processor 302, wherein the first processor 302 implements the software remote upgrade method of the aluminum electrolysis cell control machine as described in any one of the above items when executing the program.

[0062] Based on the same general inventive concept, see Figure 4The present invention also protects an upgrade terminal 40, including a second memory 401, a second processor 402, and a computer program stored in the second memory 401 and executable on the second processor 402, and when the second processor 402 executes the program, the software remote upgrade method of the aluminum electrolytic cell control machine described in any one of the above items is implemented.

[0063] Based on the same general inventive concept, see Figure 5 The present invention also protects an upgrade system 450, which includes an upgrade terminal 40 and an aluminum electrolytic cell control machine 30. The aluminum electrolytic cell control machine has a cell control machine control chip 303. The cell control machine control chip 303 has a boot loader and a software control program. The upgrade terminal 40 has an upgrade tool. The upgrade terminal 40 and the aluminum electrolytic cell control machine 30 can be connected for communication via the MODBUS-TCP protocol. The aluminum electrolytic cell control machine 30 executes any of the above-mentioned methods for remotely upgrading the software of the aluminum electrolytic cell control machine. The upgrade terminal 40 executes any of the above-mentioned methods for remotely upgrading the software of the aluminum electrolytic cell control machine.

[0064] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0065] like Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the computer software data transmission method.

[0066] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0067] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the software remote upgrade method of the aluminum electrolytic cell control machine provided by the above methods.

[0068] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the software remote upgrade method of the aluminum electrolysis cell control machine provided by the above methods.

[0069] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0070] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for remote software upgrade of an aluminum electrolytic cell control machine, characterized in that: The method is applied to the aluminum electrolysis cell control machine, in which a boot loader and an initial software control program are pre-installed, and the method comprises: Detecting, by the boot loader, whether a connection request from an upgrade terminal is received; If so, responding to the connection request, establishing a connection with the upgrade terminal through the boot loader; Receiving an upgrade program from the upgrade terminal through the boot loader; updating the software control program using the upgrade program through the boot loader; Verifying the integrity of the updated software control program by the boot loader; If the verification is passed, the upgrade success information is returned to the upgrade terminal; Start the updated software control program.

2. The method for remote software upgrade of an aluminum electrolysis cell control machine according to claim 1, characterized in that: Before the boot loader detects whether a connection request from an upgrade terminal is received, the method further includes: Counting the cumulative time after the boot loader is started; When the accumulated time is equal to the preset time, the step of detecting, by the boot loader, whether a connection request from an upgrade terminal is received is executed.

3. The method for remote software upgrade of an aluminum electrolysis cell control machine according to claim 2, characterized in that: If the verification fails, an error message of the upgrade program is returned to the upgrade terminal; Disconnecting from the upgrade terminal; Return to the step of counting the cumulative time after the boot loader is started.

4. The method for remote software upgrade of an aluminum electrolysis cell control machine according to claim 2, characterized in that: If the connection request is not received, or the connection with the upgrade terminal fails, verifying the integrity of the initial software control program; If the initial software control program passes the verification, starting the initial software control program; If the initial software control program verification fails, the method returns to counting the cumulative time after the boot loader is started.

5. The method for remote software upgrade of an aluminum electrolysis cell control machine according to claim 1, characterized in that: The updating of the software control program by using the upgrade program through the boot loader program comprises: erasing the initial software control program via the boot loader; The upgrade program is loaded through the boot loader.

6. A method for remote software upgrade of an aluminum electrolytic cell control machine, characterized in that: The method is applied to upgrading a terminal, and the method comprises: Obtain the connection information of the aluminum electrolysis cell control machine to be upgraded; Based on the connection information, sending a connection request to the aluminum electrolysis cell control machine; When establishing a connection with the aluminum electrolysis cell control machine, querying whether the aluminum electrolysis cell control machine is running under a boot loader; If yes, load the upgrade program corresponding to the aluminum electrolysis cell control machine; sending the upgrade program to the boot loader; Obtaining upgrade result information from the boot loader; When the upgrade result information is upgrade success information, the upgrade is ended.

7. The method for remote software upgrade of an aluminum electrolysis cell control machine according to claim 6, characterized in that: If the aluminum electrolysis cell control machine is not running under the boot loader, the operation of the aluminum electrolysis cell control machine is controlled to switch to the boot loader, and return to load the upgrade program corresponding to the aluminum electrolysis cell control machine.

8. The method for remote software upgrade of an aluminum electrolysis cell control machine according to claim 6, characterized in that: When the upgrade result information is upgrade failure information, returning to establish a connection with the aluminum electrolysis cell control machine based on the connection information.

9. An aluminum electrolysis cell control machine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the remote software upgrade method for the aluminum electrolysis cell control machine as described in any one of claims 1 to 5 is implemented.

10. An upgrade terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the remote software upgrade method for the aluminum electrolysis cell control machine as described in any one of claims 6 to 8 is implemented.