CN114610355A - Upgrading method and device suitable for power chip control software - Google Patents

Upgrading method and device suitable for power chip control software Download PDF

Info

Publication number
CN114610355A
CN114610355A CN202210306575.0A CN202210306575A CN114610355A CN 114610355 A CN114610355 A CN 114610355A CN 202210306575 A CN202210306575 A CN 202210306575A CN 114610355 A CN114610355 A CN 114610355A
Authority
CN
China
Prior art keywords
upgrading
software
control software
upper computer
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210306575.0A
Other languages
Chinese (zh)
Inventor
辛明勇
徐长宝
金学军
李鹏
习伟
刘卓毅
王宇
姚浩
高吉普
何雨旻
祝健杨
张历
冯起辉
陈军健
向柏澄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Guizhou Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Guizhou Power Grid Co Ltd
Priority to CN202210306575.0A priority Critical patent/CN114610355A/en
Publication of CN114610355A publication Critical patent/CN114610355A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses an upgrading method suitable for power chip control software, which comprises the following steps: the control software acquires an upgrading data packet forwarded by the upper computer, and the upgrading data packet carries identity verification information for verifying the identity of the upper computer and an upgrading program for upgrading the software; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs; the control software verifies the identity of the upper computer according to the received identity verification information, and updates by combining the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software when the identity verification of the upper computer is passed; the problem of inconvenient operation of traditional field upgrading existence can be avoided, and the human cost is saved.

Description

Upgrading method and device suitable for power chip control software
Technical Field
The invention belongs to the technical field of chip software upgrading, and particularly relates to an upgrading method and device suitable for power chip control software.
Background
With the development of power chips, the use of power chips is becoming more and more common in various industries. At present, most of electric power chips in the market are controlled by corresponding control software, the electric power chips often need to be upgraded due to product upgrading, demand changing and other reasons, when functional versions of the electric power chip control software are upgraded in the past, the control software is generally required to be re-programmed on site, or based on the self-upgrading function of the software, burning codes are transmitted to the electric power chips through serial port communication, USB interfaces and other modes, and then the electric power chips write the received burning codes into the flash of the chips so as to finish the upgrading of the software. Although the above methods can effectively realize software upgrading, since the downloaded new version software data needs to be downloaded while the old version software data in the power chip is replaced based on the downloaded new version software data, when the new version software data fails to be downloaded, the cost of manpower and material resources is greatly increased, and the upgrading efficiency is not high.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the method and the device are suitable for upgrading the control software of the power chip, and are used for solving the problems that in the prior art, when the control software of the power chip needs to be upgraded, the downloaded new version software data is used for replacing the old version software data in the power chip, and when the new version software data fails to be downloaded, the cost of manpower and material resources is greatly improved, and the upgrading efficiency is low.
The technical scheme of the invention is as follows:
a method for upgrading power chip control software, the method comprising: the control software acquires an upgrading data packet forwarded by the upper computer, and the upgrading data packet carries identity verification information for verifying the identity of the upper computer and an upgrading program for upgrading the software; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs;
and the control software verifies the identity of the upper computer according to the received identity verification information, and updates by combining the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software when the identity verification of the upper computer is passed.
The software upgrading process synchronously records the information in a preset configuration file, and the control software verifies the identity of the upper computer according to the received identity verification information, and the method comprises the following steps:
the control software verifies the identity of the upper computer based on the received identity verification information when determining that the software upgrading is finished currently based on the content read from the configuration file;
the control software carries out self-checking on the reason of the upgrade failure when determining that the current upgrade failure condition exists on the basis of the content read from the configuration file, and feeds back the obtained self-checking result and warning information representing the current software upgrade failure condition to the upper computer;
and the control software inquires the total execution time required by the execution of the execution progress when determining that the execution progress in the upgrading process exists currently based on the content read from the configuration file, and verifies the identity of the upper computer based on the received identity verification information when determining that the total execution time is reached currently.
The power chip is applied to a power system, and is upgraded by combining an upgrading program, configuration information of the power chip and a judgment result of the current running state of software, and the upgrading method comprises the following steps:
when the control software determines that the power system is in a service idle state, judging the current running state of the software by combining the configuration information of the power chip;
the control software executes an upgrading program to upgrade the software when determining that a preset upgrading condition is met according to a judgment result of the current running state;
and the control software returns to the step of obtaining the upgrade data packet forwarded by the upper computer by the control software to continue executing when determining that the preset upgrade condition is not met according to the judgment result of the current running state, or judges whether the preset upgrade condition is met again after waiting for a specified period of time.
The control software is connected to the upper computer through a preset communication interface and receives the upgrading data packet transmitted by the upper computer through the communication interface.
The method further comprises the following steps:
the control software stores the received upgrade data packet and the version number of the running program before the upgrade in a preset storage area;
when the control software determines that the first upgrading fails, the software is upgraded again by reading the upgrading data packet stored in the storage area;
and when the control software determines that the conditions that the software is continuously repeated more than once and all the upgrading fails exist, restoring the running software main program to the old version before upgrading based on the version number of the running program stored in the storage area before upgrading.
An upgrading device suitable for power chip control software comprises an acquisition module and an upgrading module, wherein:
the acquisition module is used for triggering the control software to acquire an upgrading data packet forwarded by the upper computer, and the upgrading data packet carries identity authentication information used for performing identity authentication on the upper computer and an upgrading program used for performing software upgrading; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs;
and the upgrading module is used for triggering the control software to verify the identity of the upper computer according to the received identity verification information, and upgrading the software by combining the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software when the identity verification of the upper computer is determined to pass.
The acquisition module is also used for triggering the control software to verify the identity of the upper computer based on the content read from the configuration file and based on the received identity verification information when the software upgrading is determined to be completed currently; the trigger control software carries out self-checking on the reason of the upgrade failure when determining that the current upgrade failure condition exists on the basis of the content read from the configuration file, and feeds back the obtained self-checking result and warning information representing the current software upgrade failure condition to the upper computer; and the trigger control software inquires and executes the total execution time required by the execution progress when determining that the execution progress in the upgrading process exists currently based on the content read from the configuration file, and verifies the identity of the upper computer based on the received identity verification information when determining that the total execution time is reached currently.
The upgrading module is also used for triggering the control software to judge the current running state of the software by combining the configuration information of the power chip when the power system is determined to be in the service idle state; triggering the control software to execute an upgrading program to upgrade the software when determining that a preset upgrading condition is met according to a judgment result of the current running state; and triggering the control software to return to the step of the control software for acquiring the upgrade data packet forwarded by the upper computer to continue execution when the preset upgrade condition is determined not to be met according to the judgment result of the current running state, or judging whether the preset upgrade condition is met again after waiting for a specified period of time.
The apparatus further comprises a storage module, wherein:
the storage module is used for triggering the control software to store the received upgrade data packet and the version number of the running program before the upgrade in a preset storage area;
the storage module is also used for triggering the control software to perform software upgrading again by reading the upgrading data packet stored in the storage area when the situation that the first upgrading fails is determined to exist;
the storage module is also used for triggering the control software to restore the running software main program to the old version before upgrading based on the version number of the running program stored in the storage area before upgrading when the situation that the control software is continuously repeated for a plurality of times and all upgrading fails is determined.
The invention has the beneficial effects that:
before software upgrading is carried out, the identity of the upper computer is verified through the identity verification information, so that access of illegal equipment is avoided, and the data communication safety is guaranteed. When the host computer identity authentication is confirmed to pass, the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software are combined for upgrading, the software can be upgraded in a remote operation mode, the problem of inconvenience in operation in the traditional field upgrading can be solved, and the labor cost is saved.
The problem of the prior art need download new edition software data when, the new edition software data that exists to power chip control software upgrading, replace old edition software data in the power chip simultaneously based on the new edition software data that download, when new edition software data download fails, very big improvement manpower and materials cost, have the upgrading efficiency not high is solved.
Drawings
FIG. 1 is a flow chart of a method for upgrading power chip control software according to an embodiment of the invention;
fig. 2 is a system configuration diagram of an upgrading apparatus suitable for power chip control software according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
In one or more embodiments of the present invention, as shown in fig. 1, there is provided an upgrading method for power chip control software, including the following steps:
step S100, controlling software to obtain an upgrading data packet forwarded by an upper computer, wherein the upgrading data packet carries identity verification information used for performing identity verification on the upper computer and an upgrading program used for performing software upgrading; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs.
Specifically, the control software is connected to the upper computer through a preset communication interface and receives an upgrade data packet forwarded by the upper computer through the communication interface. For example, the upper computer may send a request instruction to the control software, and if the upper computer receives response data correspondingly fed back by the control software within a specified time, the upper computer may consider that the upper computer is already in a connection state with the control software, and at this time, the upper computer may select to send the upgrade data packet to the control software.
Specifically, the attribute information of the upper computer may include a unique identifier ID of the upper computer, which is also called a serial number or an account number, and is a relatively unique code in a certain system, which is equivalent to an "identity card". It should be noted that, in a specific object, the id number is generally not changed, and what is used to identify the object is determined by the rule set by the designer. The attribute information of the upper computer can also include characteristic information and the like of the equipment, such as specification, model and technical parameters, which can be obviously distinguished from other equipment, and the embodiment of the application does not limit the characteristic information. The version number of the upgraded running program is specifically used for confirming whether the current upgrading program is suitable for chip upgrading, wherein if the version number of the running program after the upgrading is confirmed by the control software is lower than the version number of the main program running in the current software, feedback information representing that the upgrading program needs to be obtained again at present is fed back to the upper computer; otherwise, the control software may perform software upgrade based on the currently received upgrade program after the identity authentication is successful.
And S101, the control software verifies the identity of the upper computer according to the received identity verification information, and when the identity verification of the upper computer is determined to pass, the control software is upgraded by combining the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software.
Specifically, the control software determines whether the upper computer has a legal access identity based on the received identity authentication information, for example, based on a unique identifier ID of the upper computer, technical parameters and the like included in the attribute information of the upper computer. In one embodiment, the control software actively disconnects the connection between the control software and the upper computer when determining that the upper computer does not have the legal access identity based on the received identity authentication information. Based on the above embodiment, the upper computer may further send out warning lights and/or warning sounds through the built-in functional modules such as the LED panel and/or the sound player to prompt the user that there is an illegal access request currently.
According to the upgrading method suitable for the power chip control software, before software upgrading is carried out, the identity of the upper computer is verified through the identity verification information, access of illegal equipment is avoided, and data communication safety is guaranteed. When the host computer identity authentication is confirmed to pass, the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software are combined for upgrading, the software can be upgraded in a remote operation mode, the problem of inconvenience in operation in the traditional field upgrading can be solved, and the labor cost is saved.
In one or more embodiments of the present invention, the step S100 of synchronously recording the software upgrading process in a preset configuration file, where the verifying the identity of the upper computer by the control software according to the received identity verification information includes:
and S1000, the control software verifies the identity of the upper computer based on the received identity verification information when determining that the software upgrading is finished currently based on the content read from the configuration file.
Specifically, the software upgrading process records the software upgrading process in a preset configuration file synchronously, so that before the software is upgraded, whether an executing upgrading task exists currently can be judged based on the content recorded in the configuration file. And when the software upgrading task is determined to be completed currently, the identity of the upper computer is verified based on the received identity verification information so as to confirm the identity validity of the upper computer.
In one embodiment, the software upgrading process can be synchronously recorded in an external terminal device or a cloud server, and when the identity validity of the upper computer is verified, the software upgrading process can be based on encryption transmission modes such as symmetric encryption and the like, for example, an encrypted file is sent to the upper computer through control software, and if the upper computer can complete decryption of the encrypted file within a specified time, the upper computer is considered to have a legal access identity.
And S1001, the control software carries out self-checking on the reason of the upgrade failure when determining that the current upgrade failure condition exists on the basis of the content read from the configuration file, and feeds back the obtained self-checking result and warning information representing the current software upgrade failure condition to the upper computer.
Step S1002, the control software inquires the total execution time required by the execution of the execution progress when determining that the execution progress in the upgrading process exists currently based on the content read from the configuration file, and verifies the identity of the upper computer based on the received identity verification information when determining that the total execution time is reached currently.
Specifically, the control software verifies the identity of the upper computer based on the identity authentication information when determining that the execution program of the software upgrade still exists, based on the current execution time point of the execution process and the time required for completing the upgrade task, and when determining that the current execution time reaches the total execution time, that is, when completing the software upgrade, based on the content read from the configuration file. In an embodiment, after the preset time is determined to be reached, whether an execution process in the upgrading process exists at present or not can be determined, or based on the version number of the running software main program, when the version number is determined to be higher than the old version number before upgrading, the software upgrading in the previous stage can be considered to be finished at present, and at this time, the identity of the upper computer can be verified based on the identity authentication information.
In one or more embodiments of the present invention, in step S101, the applying the power chip to the power system, and the updating, in combination with the upgrade program, the configuration information of the power chip itself, and the determination result of the current operating state of the software, includes:
step S1010, when the control software determines that the power system is in the service idle state, the control software judges the current running state of the software by combining the configuration information of the power chip.
Step S1011, the control software executes the upgrade program to upgrade the software when determining that the preset upgrade condition is met according to the judgment result of the current operating state.
Specifically, the control software performs software upgrade based on the acquired upgrade program when determining that the software is currently in an idle operation state, that is, when the software upgrade task is not executed, according to the judgment result of the current operation state of the control software. In one embodiment, the control software may also request the upper computer to acquire a link for downloading the upgrade program when the upgrade program is not acquired, then download the target upgrade program based on the acquired link, and perform software upgrade based on the downloaded target upgrade program. In one embodiment, the control software may further store the received upgrade program and the old version of software data in the backup area, so that even if an upgrade error or packet loss occurs, the old version of software data may still be recovered, thereby avoiding a situation that the software cannot run or the system crashes during the software upgrade.
Step S1012, the control software returns to the step of acquiring the upgrade data packet forwarded by the upper computer by the control software to continue executing when determining that the preset upgrade condition is not met according to the judgment result of the current operating state, or judges again whether the preset upgrade condition is met at present after waiting for a specified period of time.
In one embodiment, the control software can also transmit the received upgrade data to a controller of the equipment, when the data upgrade fails, the controller can automatically reset and restart according to the situation, the problem that the equipment cannot normally work due to data errors is avoided, the running stability of the equipment is improved, in addition, the problem of inconvenience in operation of the traditional field upgrade can be avoided by adopting a remote upgrade mode, the labor cost is saved, and the software upgrade efficiency is improved.
In one or more embodiments of the present invention, the control software is connected to the upper computer through a preset communication interface, and receives an upgrade data packet transmitted by the upper computer through the communication interface.
In one or more embodiments of the invention, the method further comprises:
step S102, the control software stores the received upgrade data packet and the version number of the running program before the upgrade in a preset storage area.
And step S103, when the control software determines that the first upgrading fails, the software is upgraded again by reading the upgrading data packet stored in the storage area.
And step S104, when the control software determines that the conditions that the software is continuously repeated for multiple times and the upgrading fails exist, restoring the running software main program to the old version before the upgrading based on the version number of the running program stored in the storage area before the upgrading.
Specifically, in order to facilitate subsequent data recovery, the control software will perform storage of the upgrade data and the version number to which the running program belongs before being upgraded, through a preset storage area, for example, through a preset buffer area, a database, and the like. In this way, for example, when the software upgrade fails, the control software may restore the running software main program to the old version before upgrade based on the content stored in the storage area, so as to ensure the normal running of the software.
Referring to fig. 2, the present application discloses an upgrading apparatus 200 suitable for power chip control software, the apparatus 200 includes an obtaining module 201 and an upgrading module 202, wherein:
the obtaining module 201 is configured to trigger the control software to obtain an upgrade data packet forwarded by the upper computer, where the upgrade data packet carries authentication information for authenticating an identity of the upper computer and an upgrade program for upgrading the software; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs.
The upgrading module 202 is configured to trigger the control software to verify the identity of the upper computer according to the received identity verification information, and upgrade the software in combination with the upgrading program, the configuration information of the power chip, and the judgment result of the current running state of the software when the identity verification of the upper computer is determined to be passed.
In one embodiment, the obtaining module 201 is further configured to trigger the control software to verify the identity of the upper computer based on the received identity verification information when it is determined that the software upgrade is currently completed based on the content read from the configuration file; the trigger control software carries out self-checking on the reason of the upgrade failure when determining that the current upgrade failure condition exists on the basis of the content read from the configuration file, and feeds back the obtained self-checking result and warning information representing the current software upgrade failure condition to the upper computer; and the trigger control software inquires and executes the total execution time required by the execution progress when determining that the execution progress in the upgrading process exists currently based on the content read from the configuration file, and verifies the identity of the upper computer based on the received identity verification information when determining that the total execution time is reached currently.
In one embodiment, the upgrade module 202 is further configured to trigger the control software to determine, when it is determined that the power system is in a service idle state, a current operating state of the software according to configuration information of a power chip; triggering control software to execute the upgrading program to upgrade software according to the judgment result of the current running state when the preset upgrading condition is met; and triggering the control software to return to the step of obtaining the upgrade data packet forwarded by the upper computer by the control software to continue executing when the preset upgrade condition is determined not to be met according to the judgment result of the current running state, or judging whether the preset upgrade condition is met again after waiting for a specified period of time.
In one embodiment, the apparatus 200 further comprises a storage module, wherein:
the storage module is used for triggering the control software to store the received upgrade data packet and the version number of the running program before the upgrade in a preset storage area.
The storage module is also used for triggering the control software to carry out software upgrading again by reading the upgrading data packet stored in the storage area when the condition that the first upgrading fails is determined to exist.
The storage module is further used for triggering the control software to restore the running software main program to the old version before upgrading based on the version number of the running program stored in the storage area before upgrading when the situation that the control software is continuously repeated for multiple times and all the upgrading fails is determined.
The information interaction device applicable to the modules in the power chip control software verifies the identity of the upper computer through the identity verification information before software upgrading, avoids access of illegal equipment and guarantees data communication safety. When the host computer identity authentication is confirmed to pass, the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software are combined for upgrading, the software can be upgraded in a remote operation mode, the problem of inconvenience in operation in the traditional field upgrading can be solved, and the labor cost is saved.

Claims (9)

1. A method for upgrading control software of a power chip is characterized by comprising the following steps: the method comprises the following steps: the control software acquires an upgrading data packet forwarded by the upper computer, and the upgrading data packet carries identity verification information for verifying the identity of the upper computer and an upgrading program for upgrading the software; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs;
and the control software verifies the identity of the upper computer according to the received identity verification information, and updates by combining the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software when the identity verification of the upper computer is passed.
2. The method for upgrading the control software of the power chip according to claim 1, wherein the method comprises the following steps: the software upgrading process synchronously records the information in a preset configuration file, and the control software verifies the identity of the upper computer according to the received identity verification information, and the method comprises the following steps:
the control software verifies the identity of the upper computer based on the received identity verification information when determining that the software upgrading is finished currently based on the content read from the configuration file;
the control software carries out self-checking on the reason of the upgrade failure when determining that the current upgrade failure condition exists on the basis of the content read from the configuration file, and feeds back the obtained self-checking result and warning information representing the current software upgrade failure condition to the upper computer;
and the control software inquires the total execution time required by the execution of the execution progress when determining that the execution progress in the upgrading process exists currently based on the content read from the configuration file, and verifies the identity of the upper computer based on the received identity verification information when determining that the total execution time is reached currently.
3. The method for upgrading the control software of the power chip according to claim 1, wherein the method comprises the following steps: the power chip is applied to a power system, and is upgraded by combining an upgrading program, configuration information of the power chip and a judgment result of the current running state of software, and the upgrading method comprises the following steps:
when the control software determines that the power system is in a service idle state, judging the current running state of the software by combining the configuration information of the power chip;
the control software executes an upgrading program to upgrade the software when determining that a preset upgrading condition is met according to a judgment result of the current running state;
and the control software returns to the step of obtaining the upgrade data packet forwarded by the upper computer by the control software to continue executing when determining that the preset upgrade condition is not met according to the judgment result of the current running state, or judges whether the preset upgrade condition is met again after waiting for a specified period of time.
4. The method for upgrading the control software of the power chip according to claim 1, wherein the method comprises the following steps: the control software is connected to the upper computer through a preset communication interface and receives the upgrading data packet transmitted by the upper computer through the communication interface.
5. The method for upgrading the control software of the power chip according to claim 1, wherein the method comprises the following steps: the method further comprises the following steps:
the control software stores the received upgrade data packet and the version number of the running program before the upgrade in a preset storage area;
when the control software determines that the first upgrading fails, the software is upgraded again by reading the upgrading data packet stored in the storage area;
and when the control software determines that the conditions that the software is continuously repeated for more than one time and all the upgrading fails exist, restoring the running software main program to the old version before upgrading based on the version number of the running program stored in the storage area before upgrading.
6. The upgrading device suitable for the control software of the power chip as claimed in claim 1, wherein: including acquisition module and upgrading module, wherein:
the acquisition module is used for triggering the control software to acquire an upgrading data packet forwarded by the upper computer, and the upgrading data packet carries identity authentication information used for performing identity authentication on the upper computer and an upgrading program used for performing software upgrading; the identity authentication information comprises attribute information of the upper computer and a version number to which the upgraded running program belongs;
and the upgrading module is used for triggering the control software to verify the identity of the upper computer according to the received identity verification information, and upgrading the software by combining the upgrading program, the configuration information of the power chip and the judgment result of the current running state of the software when the identity verification of the upper computer is determined to pass.
7. The upgrading device suitable for the control software of the power chip as claimed in claim 6, wherein: the acquisition module is also used for triggering the control software to verify the identity of the upper computer based on the content read from the configuration file and based on the received identity verification information when the software upgrading is determined to be finished currently; the trigger control software carries out self-checking on the reason of the upgrade failure when determining that the current upgrade failure condition exists on the basis of the content read from the configuration file, and feeds back the obtained self-checking result and warning information representing the current software upgrade failure condition to the upper computer; and the trigger control software inquires and executes the total execution time required by the execution progress when determining that the execution progress in the upgrading process exists currently based on the content read from the configuration file, and verifies the identity of the upper computer based on the received identity verification information when determining that the total execution time is reached currently.
8. The upgrading device suitable for the control software of the power chip as claimed in claim 6, wherein: the upgrading module is also used for triggering the control software to judge the current running state of the software by combining the configuration information of the power chip when the power system is determined to be in the service idle state; triggering the control software to execute an upgrading program to upgrade the software when determining that a preset upgrading condition is met according to a judgment result of the current running state; and triggering the control software to return to the step of obtaining the upgrade data packet forwarded by the upper computer by the control software to continue execution when the preset upgrade condition is determined not to be met according to the judgment result of the current running state, or judging whether the preset upgrade condition is met again after waiting for a specified period of time.
9. The upgrading device suitable for the control software of the power chip as claimed in claim 6, wherein: the apparatus further comprises a storage module, wherein:
the storage module is used for triggering the control software to store the received upgrade data packet and the version number of the running program before the upgrade in a preset storage area;
the storage module is also used for triggering the control software to carry out software upgrading again by reading the upgrading data packet stored in the storage area when the condition that the first upgrading fails is determined to exist;
the storage module is further used for triggering the control software to restore the running software main program to the old version before upgrading based on the version number of the running program stored in the storage area before upgrading when the situation that the control software is continuously repeated for multiple times and all the upgrading fails is determined.
CN202210306575.0A 2022-03-25 2022-03-25 Upgrading method and device suitable for power chip control software Pending CN114610355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210306575.0A CN114610355A (en) 2022-03-25 2022-03-25 Upgrading method and device suitable for power chip control software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210306575.0A CN114610355A (en) 2022-03-25 2022-03-25 Upgrading method and device suitable for power chip control software

Publications (1)

Publication Number Publication Date
CN114610355A true CN114610355A (en) 2022-06-10

Family

ID=81866867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210306575.0A Pending CN114610355A (en) 2022-03-25 2022-03-25 Upgrading method and device suitable for power chip control software

Country Status (1)

Country Link
CN (1) CN114610355A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116501359A (en) * 2023-06-29 2023-07-28 深圳和润达科技有限公司 Method, device, system and medium for carrying out self-adaptive remote upgrading on equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116501359A (en) * 2023-06-29 2023-07-28 深圳和润达科技有限公司 Method, device, system and medium for carrying out self-adaptive remote upgrading on equipment
CN116501359B (en) * 2023-06-29 2023-09-15 深圳和润达科技有限公司 Method, device, system and medium for carrying out self-adaptive remote upgrading on equipment

Similar Documents

Publication Publication Date Title
CN107179909B (en) Software upgrading method and device and computer readable storage medium
US8136108B2 (en) Updating firmware with multiple processors
CN104579719B (en) A kind of upgrade method and system, host computer and optical module of firmware
CN106325929B (en) Firmware upgrading method, firmware upgrading device, refrigerator and server
CN107193612B (en) Version upgrading method and device for mobile terminal
WO2010148739A1 (en) Terminal device and upgrade method and system thereof
CN111769962A (en) MCU firmware OTA upgrading method
CN110187909B (en) Single-chip microcomputer firmware upgrading method based on android system
CN111813428A (en) Method and device for upgrading terminal firmware, electronic equipment and storage medium
CN110597545B (en) Hot patch Ding Zhineng upgrading method and system based on OTA component
CN112152846B (en) Metering instrument remote upgrading method based on Internet of things
CN107479927A (en) The firmware upgrade method and device of pattern of fusion all-in-one
CN109614131A (en) A kind of broadcasting equipment upgrading control system
CN108920168B (en) Bootloader method supporting simultaneous upgrading of multiple similar ECUs and having function of preventing program mismatching
CN105677409B (en) A kind of method for upgrading system and device
CN114610355A (en) Upgrading method and device suitable for power chip control software
US20130080751A1 (en) Method and device for updating bios program for computer system
CN114840242A (en) System upgrading method and device of electronic equipment and readable storage medium
CN115102855B (en) Online upgrading method and system for intelligent water meter embedded software
WO2021012170A1 (en) Firmware booting method and device, and computer-readable storage medium
CN105824622A (en) Data processing method and electronic equipment
CN105677416A (en) Uboot upgrading control system and method
CN115481405A (en) Safe starting and optimized upgrading method of embedded system
CN109428936B (en) APP upgrading method, device, system, electronic equipment and storage medium
CN111459526A (en) Single chip microcomputer online upgrading method based on CAN communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination