# US 12,008,171 B2 · Program download method for intelligent terminal with memory card identifier and intelligent terminal with memory card identifier

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

- Number: US 12,008,171 B2
- Document ID: US12008171B2
- Status: Granted
- Kind: B2
- Application number: 18/021,870
- Filed: 2021-08-20
- Published: 2023-10-05
- Granted: 2024-06-11
- Earliest claimed: 2020-08-20
- Assignees: Spreadtrum Communications (Shanghai) Co., Ltd.
- Applicants: Spreadtrum Communications (Shanghai) Co., Ltd.
- Inventors: Lele Chen; Jianhua Zheng
- Web page: https://patentgrep.com/patent/US12008171B2

## CPC

- G06F 3/02: Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 13/4068: {Electrical coupling}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Disclosed in the present invention are a program download method for an intelligent terminal and an intelligent terminal. The program download method for an intelligent terminal comprises the following steps: identifying a memory card identifier of an intelligent terminal, the memory card identifier being used for representing the type of a memory card of the intelligent terminal; obtaining a target configuration file, the target configuration file being a configuration file corresponding to the memory card identifier; and downloading the target configuration file to the intelligent terminal. In the present invention, the type of the memory card of the intelligent terminal can be automatically identified, such that the corresponding target configuration file is automatically obtained according to the type of the memory card so as to configure the intelligent terminal, and thus, the intelligent terminal can normally access the memory card. This solution achieves effective and accurate download configuration.

## Claims

### Claim 1

A program download method for an intelligent terminal, comprising the following steps:
identifying a memory card identifier of the intelligent terminal, the memory card identifier being used for representing a type of a memory card of the intelligent terminal;
obtaining a target configuration file, the target configuration file being a configuration file corresponding to the memory card identifier; and
downloading the target configuration file to the intelligent terminal;
said obtaining the target configuration file comprises:
taking the configuration file as the target configuration file if a file name of the configuration file comprises a keyword corresponding to the memory card identifier.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the intelligent terminal is provided with a dial switch, the type of the memory card of the intelligent terminal is a first type when the dial switch is at a first position, and the type of the memory card of the intelligent terminal is a second type when the dial switch is at a second position;
said identifying the memory card identifier of the intelligent terminal comprises:
identifying a position of the dial switch;
said obtaining the target configuration file comprises:
taking the configuration file corresponding to the first type as the target configuration file if the dial switch is at the first position; taking the configuration file corresponding to the second type as the target configuration file if the dial switch is at the second position.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the dial switch is electrically connected to a target GPIO pin of a CPU of the intelligent terminal, a high level is output to the target GPIO pin when the dial switch is at the first position, and a low level is output to the target GPIO pin when the dial switch is at the second position;
said identifying the position of the dial switch comprises:
obtaining, by the CPU, a level of the target GPIO pin and obtaining the position of the dial switch according to the level.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the first type is an eMMC card, and the second type is a UFS card.

### Claim 5 (depends on 1)

The method according to claim 1, wherein before the said identifying the memory card identifier of the intelligent terminal, the method further comprises:
compiling a source program to generate the configuration files respectively corresponding to the types of each of the memory cards, the source program being a single file.

### Claim 6

An intelligent terminal, wherein the intelligent terminal is provided with a dial switch, and a position of the dial switch is used for representing a type of a memory card of the intelligent terminal for identification;
the type of the memory card of the intelligent terminal is a first type when the dial switch is at a first position, and the type of the memory card of the intelligent terminal is a second type when the dial switch is at a second position;
the intelligent terminal is configured to
identify the position of the dial switch to identify a memory card identifier of the intelligent terminal, the memory card identifier being used for representing a type of a memory card of the intelligent terminal;
obtain a target configuration file, the target configuration file being a configuration file corresponding to the memory card identifier; and
download the target configuration file to the intelligent terminal;
the intelligent terminal is configured to take the configuration file as the target configuration file if a file name of the configuration file comprises a keyword corresponding to the memory card identifier.

### Claim 7 (depends on 6)

The intelligent terminal according to claim 6, wherein the first type is an eMMC card, and the second type is a UFS card.

### Claim 8 (depends on 6)

The intelligent terminal according to claim 6, wherein the dial switch is electrically connected to a target GPIO pin of a CPU of the intelligent terminal, a high level is output to the target GPIO pin when the dial switch is at the first position, and a low level is output to the target GPIO pin when the dial switch is at the second position.

### Claim 9 (depends on 8)

The intelligent terminal according to claim 8, wherein the CPU of the intelligent terminal is configured to obtain a level of the target GPIO pin and obtain the position of the dial switch according to the level.

### Claim 10 (depends on 6)

The intelligent terminal according to claim 6, wherein the intelligent terminal is configured to compile a source program to generate the configuration files respectively corresponding to the types of each of the memory cards before identifying the memory card identifier of the intelligent terminal, the source program being a single file.
