# US 2021/0173630 A1 · Online program updating method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173630 A1
- Document ID: US20210173630A1
- Status: Published application
- Kind: A1
- Application number: 17/111,528
- Filed: 2020-12-04
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: Delta Electronics, Inc.
- Applicants: Delta Electronics, Inc.
- Inventors: Hui HUANG; Kai DONG; Ke CHEN
- Web page: https://patentgrep.com/patent/US20210173630A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 11/1417: {Boot up procedures}
- G06F 11/1441: {Resetting or repowering}
- G06F 11/1469: {Backup restoration techniques}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present application provide an online program updating method, including: receiving an external command, acquiring an updated program file, and storing the updated program file into the backup area through a program in the application area, where the external command includes the updated program file, and running the updated program file when a program counter jumps to the backup area. This solution, after the program counter jumps to the backup area, runs the updated program file, thereby providing power continuously while updating the online program and improving the reliability of the power supply system.

## Claims

### Claim 1

An online program updating method, applied to a power converter, wherein a controller of the power converter comprises an application area and a backup area, both the application area and the backup area are capable of running a program file, and the method comprises:
receiving an external command, acquiring an updated program file, and storing the updated program file into the backup area through a program in the application area, wherein the external command comprises the updated program file; and
running the updated program file when a program counter jumps to the backup area.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the program counter jumps to any one of a reset address field, a field after a peripheral reset address, a field after variable initialization, a field after peripheral initialization and a main program field of the program file in the backup area.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the method further comprises:
running the program file stored in the application area when the program counter jumps to the application area.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the method further comprises:
running the program file stored in the application area when the program counter jumps to the application area.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the application area is a main storage area in the controller, and the backup area is an external memory.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the application area and the backup area are a storage area in the controller, the application area and the backup area are divided according to their storage addresses.

### Claim 7 (depends on 2)

The method according to claim 2, wherein the application area is a main storage area in the controller, and the backup area is an external memory.

### Claim 8

An online program updating method, applied to a power converter, wherein a controller of the power converter comprises an application area and a backup area, the application area is capable of running a program file, and the method comprises:
receiving an updated program file and storing the updated program file into the backup area through a program in the application area when receiving an external command, wherein the external command comprises the updated program file; and
updating, under a preset condition, the program file stored in the application area to the updated program file stored in the backup area through jump of a program counter.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the application area is a main storage area in the controller, and the backup area is an external memory.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the preset condition is that partial functions of the power converter are invalid.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the controller of the power converter further comprises a Boot area.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
controlling the program counter to jump to the application area by the Boot area after the program counter jumps to the Boot area, and running the program file stored in the application area under the preset condition.

### Claim 13 (depends on 11)

The method according to claim 11, further comprising:
updating the program file stored in the application area to the updated program file stored in the backup area by the Boot area when the program counter jumps to the Boot area under the preset condition.

### Claim 14

An online program updating method, applied to a power converter, wherein a controller of the power converter comprises an application area and a backup area, and the method comprises:
receiving an external command by the application area; and
sharing the resource of the power converter by the application area and the backup area after a program counter jumps to the backup area.
