# US 2022/0035712 A1 · User terminal, debugging device, and data backup method

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

- Number: US 2022/0035712 A1
- Document ID: US20220035712A1
- Status: Published application
- Kind: A1
- Application number: 17/503,944
- Filed: 2021-10-18
- Published: 2022-02-03
- Earliest claimed: 2019-04-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Hongbin YI; Jinfeng WANG
- Web page: https://patentgrep.com/patent/US20220035712A1

## CPC

- G06F 11/1448: {Management of the data involved in backup or backup restore}
- G06F 11/1456: {Hardware arrangements for backup}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 21/31: User authentication
- G06F 21/44: Program or device authentication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A user terminal, a debugging device, and a data backup method are provided. The user terminal includes a storage component, an I/O controller, a main controller, a first CC controller, a first MUX, a second MUX, a third MUX, and a first interface. The first CC controller is connected to each of the first interface and a first signal selection input end of the first MUX; a first signal input end of the first MUX is connected to the I/O controller, a second signal input end of the first MUX is connected to the main controller, and a first signal output end of the first MUX is connected to the first interface; the main controller is connected to each of a second signal selection input end of the second MUX and a third signal selection input end of the third MUX.

## Claims

### Claim 1

A user terminal, wherein the user terminal comprises a storage component, an input/output I/O controller, a main controller, a first configuration channel CC controller, a first multiplexer MUX, a second MUX, a third MUX, and a first interface, wherein
the first CC controller is connected to each of the first interface and a first signal selection input end of the first MUX, and is configured to send a first signal switching instruction to the first MUX when detecting that a debugging device is connected to the first interface of the user terminal;
a first signal input end of the first MUX is connected to the I/O controller, a second signal input end of the first MUX is connected to the main controller, and a first signal output end of the first MUX is connected to the first interface; and the first MUX is configured to connect the second signal input end to the first signal output end when receiving the first signal switching instruction, so that the main controller receives, through the first interface, a data backup instruction sent by the debugging device;
the main controller is connected to each of a second signal selection input end of the second MUX and a third signal selection input end of the third MUX, and is configured to: when receiving the data backup instruction, send a second signal switching instruction to the second MUX, and send a third signal switching instruction to the third MUX;
a third signal input end of the second MUX is connected to the I/O controller, a fourth signal input end of the second MUX is connected to a sixth signal input end of the third MUX, and a second signal output end of the second MUX is connected to the storage component; and the second MUX is configured to connect the fourth signal input end to the second signal output end when receiving the second signal switching instruction;
a fifth signal input end of the third MUX is connected to the I/O controller, and a third signal output end of the third MUX is connected to the first interface; and the third MUX is configured to connect the sixth signal input end to the third signal output end when receiving the third signal switching instruction; and
the storage component is configured to: when the fourth signal input end of the second MUX is connected to the second signal output end of the second MUX, and the sixth signal input end of the third MUX is connected to the third signal output end of the third MUX, receive an I/O instruction sent by the debugging device, and perform data backup processing according to the I/O instruction.

### Claim 2 (depends on 1)

The user terminal according to claim 1, wherein when the storage component is a storage component of a bus and interface standard PCIe type, the user terminal further comprises a clock selector and a fourth MUX, wherein
the main controller is connected to each of a fourth signal selection input end of the clock selector and a fifth signal selection input end of the fourth MUX, and is configured to: when receiving the data backup instruction, send a fourth signal switching instruction to the clock selector, and send a fifth signal switching instruction to the fourth MUX;
a seventh signal input end of the clock selector is connected to the I/O controller, an eighth signal input end of the clock selector is connected to a tenth signal input end of the fourth MUX, and a fourth signal output end of the clock selector is connected to the storage component; and the clock selector is configured to connect the eighth signal input end to the fourth signal output end when receiving the fourth signal switching instruction;
a ninth signal input end of the fourth MUX is connected to the I/O controller, and a fifth signal output end of the fourth MUX is connected to the first interface; and the fourth MUX is configured to connect the tenth signal input end to the fifth signal output end when receiving the fifth signal switching instruction; and
the storage component is further configured to: when the eighth signal input end of the clock selector is connected to the fourth signal output end of the clock selector, and the tenth signal input end of the fourth MUX is connected to the fifth signal output end of the fourth MUX, receive a clock signal sent by the debugging device, to implement clock synchronization between the storage component and the debugging device.

### Claim 3 (depends on 1)

The user terminal according to claim 1, wherein the user terminal further comprises an authentication information input component connected to the main controller, wherein
the main controller is further configured to: when receiving the data backup instruction, send an authentication request instruction to the authentication information input component;
the authentication information input component is configured to: when receiving the authentication request instruction, collect authentication information of a user, and send an authentication response instruction to the main controller, wherein the authentication response instruction carries the authentication information; and
the main controller is further configured to: when receiving the authentication response instruction, perform authentication on the user based on the authentication information and prestored user information, and if the authentication succeeds, send the second signal switching instruction to the second MUX, and send the third signal switching instruction to the third MUX.

### Claim 4

A debugging device, wherein the debugging device comprises an interface controller, a connection component, and a second interface, wherein
the connection component is connected to the second interface, and is configured to: after the second interface is connected to a first interface of a user terminal, enable the user terminal to detect that the debugging device is connected to the user terminal;
the interface controller is connected to the second interface, and is configured to send a data backup instruction to a main controller of the user terminal when detecting a data backup request instruction of a user; and
the interface controller is further configured to send an input/output I/O instruction to a storage component of the user terminal to perform data backup processing.

### Claim 5 (depends on 4)

The debugging device according to claim 4, wherein the connection component comprises a second configuration channel CC controller, wherein
the second CC controller is connected to the second interface, and is configured to: after the second interface is connected to the first interface of the user terminal, send a connection instruction to a first CC controller of the user terminal through the second interface, so that after receiving the connection instruction, the first CC controller determines that the debugging device is connected to the user terminal.

### Claim 6 (depends on 4)

The debugging device according to claim 4, wherein the connection component comprises a resistor module, wherein
the resistor module is connected to the second interface, and is configured to: after the debugging device is connected to the first interface of the user terminal through the second interface, enable a first CC controller of the user terminal to switch from a high potential to a low potential, to determine that the debugging device is connected to the user terminal.

### Claim 7

A user terminal, wherein the user terminal comprises a storage component, an input/output I/O controller, a main controller, an interface controller, a first multiplexer MUX, a second MUX, and a first interface, wherein
the main controller is connected to each of a first signal selection input end of the first MUX and a second signal selection input end of the second MUX, and is configured to: when receiving a data backup request instruction of a user, send a first signal switching instruction to the first MUX, and send a second signal switching instruction to the second MUX;
a first signal input end of the first MUX is connected to the I/O controller, a second signal input end of the first MUX is connected to the interface controller, and a first signal output end of the first MUX is connected to the storage component; and the first MUX is configured to connect the second signal input end to the first signal output end when receiving the first signal switching instruction;
a third signal input end of the second MUX is connected to the I/O controller, a fourth signal input end of the second MUX is connected to the interface controller, and a second signal output end of the second MUX is connected to the first interface; and the second MUX is configured to connect the fourth signal input end to the second signal output end when receiving the second signal switching instruction; and
the interface controller is configured to: when the second signal input end of the first MUX is connected to the first signal output end of the first MUX, and the fourth signal input end of the second MUX is connected to the second signal output end of the second MUX, send an I/O instruction to the storage component to perform data backup processing.

### Claim 8 (depends on 7)

The user terminal according to claim 7, wherein when the storage component is a storage component of a bus and interface standard PCIe type, the user terminal further comprises a clock selector, wherein
the main controller is connected to a third signal selection input end of the clock selector, and is configured to send a third signal switching instruction to the clock selector when receiving a data backup instruction;
a fifth signal input end of the clock selector is connected to the I/O controller, a sixth signal input end of the clock selector is connected to the interface controller, and a third signal output end of the clock selector is connected to the storage component; and the clock selector is configured to connect the sixth signal input end to the third signal output end when receiving the third signal switching instruction; and
the storage component is further configured to: when the sixth signal input end of the clock selector is connected to the third signal output end of the clock selector, receive a clock signal sent by the interface controller, to implement clock synchronization between the storage component and the interface controller.

### Claim 9 (depends on 7)

The user terminal according to claim 7, wherein the user terminal further comprises an authentication information input component connected to the main controller, wherein
the main controller is further configured to: when receiving a data backup instruction, send an authentication request instruction to the authentication information input component;
the authentication information input component is configured to: when receiving the authentication request instruction, collect authentication information of a user, and send an authentication response instruction to the main controller, wherein the authentication response instruction carries the authentication information; and
the main controller is further configured to: when receiving the authentication response instruction, perform authentication on the user based on the authentication information and prestored user information, and if the authentication succeeds, send the first signal switching instruction to the first MUX, and send the second signal switching instruction to the second MUX.

### Claim 10 (depends on 1)

A data backup method, wherein the method is applied to the user terminal according to any one of claim 1, and the method comprises:
sending, by a first configuration channel CC controller, a first signal switching instruction to a first multiplexer MUX when detecting that a debugging device is connected to a first interface of the user terminal;
receiving, by the first MUX, the first signal switching instruction, and connecting a second signal input end to a first signal output end according to the first signal switching instruction, so that a main controller receives, through the first interface, a data backup instruction sent by the debugging device;
when receiving the data backup instruction, sending, by the main controller, a second signal switching instruction to a second MUX, and sending a third signal switching instruction to a third MUX;
receiving, by the second MUX, the second signal switching instruction, and connecting a fourth signal input end to a second signal output end according to the second signal switching instruction;
receiving, by the third MUX, the third signal switching instruction, and connecting a sixth signal input end to a third signal output end according to the third signal switching instruction; and
receiving, by a storage component, an input/output I/O instruction sent by the debugging device, and performing data backup processing according to the I/O instruction.

### Claim 11 (depends on 10)

The method according to claim 10, wherein when the storage component is a storage component of a bus and interface standard PCIe type, the user terminal further comprises a clock selector and a fourth MUX; and the method further comprises:
when receiving the data backup instruction, sending, by the main controller, a fourth signal switching instruction to the clock selector, and sending a fifth signal switching instruction to the fourth MUX;
receiving, by the clock selector, the fourth signal switching instruction, and connecting an eighth signal input end to a fourth signal output end according to the fourth signal switching instruction;
receiving, by the fourth MUX, the fifth signal switching instruction, and connecting a tenth signal input end to a fifth signal output end according to the fifth signal switching instruction; and
receiving, by the storage component, a clock signal sent by the debugging device, to implement clock synchronization between the storage component and the debugging device.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the user terminal further comprises an authentication information input component connected to the main controller; and the method further comprises:
when receiving the data backup instruction, sending, by the main controller, an authentication request instruction to the authentication information input component;
when receiving the authentication request instruction, collecting, by the authentication information input component, authentication information of a user, and sending an authentication response instruction to the main controller, wherein the authentication response instruction carries the authentication information; and
when receiving the authentication response instruction, performing, by the main controller, authentication on the user based on the authentication information and prestored user information, and if the authentication succeeds, sending the second signal switching instruction to the second MUX, and sending the third signal switching instruction to the third MUX.

### Claim 13 (depends on 7)

A data backup method, wherein the method is applied to the user terminal according to any one of claim 7, and the method comprises:
when detecting a data backup request instruction of a user, sending, by a main controller, a first signal switching instruction to a first multiplexer MUX, and sending a second signal switching instruction to a second MUX;
receiving, by the first MUX, the first signal switching instruction, and connecting a second signal input end to a first signal output end according to the first signal switching instruction;
receiving, by the second MUX, the second signal switching instruction, and connecting a fourth signal input end to a second signal output end according to the second signal switching instruction; and
when the second signal input end of the first MUX is connected to the first signal output end of the first MUX, and the fourth signal input end of the second MUX is connected to the second signal output end of the second MUX, sending, by an interface controller, an input/output I/O instruction to a storage component to perform data backup processing.

### Claim 14 (depends on 13)

The method according to claim 13, wherein when the storage component is a storage component of a bus and interface standard PCIe type, the user terminal further comprises a clock selector; and the method further comprises:
sending, by the main controller, a third signal switching instruction to the clock selector when receiving a data backup instruction;
receiving, by the clock selector, the third signal switching instruction, and connecting a sixth signal input end to a third signal output end according to the third signal switching instruction; and
receiving, by the storage component, a clock signal sent by the interface controller, to implement clock synchronization between the storage component and the interface controller.

### Claim 15 (depends on 13)

The method according to claim 13, wherein the user terminal further comprises an authentication information input component connected to the main controller; and the method further comprises:
when receiving a data backup instruction, sending, by the main controller, an authentication request instruction to the authentication information input component;
when receiving the authentication request instruction, collecting, by the authentication information input component, authentication information of a user, and sending an authentication response instruction to the main controller, wherein the authentication response instruction carries the authentication information; and
when receiving the authentication response instruction, performing, by the main controller, authentication on the user based on the authentication information and prestored user information, and if the authentication succeeds, sending the first signal switching instruction to the first MUX, and sending the second signal switching instruction to the second MUX.
