# US 2019/0317778 A1 · Method, processing unit, touch control chip, device and medium for processing configuration file

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

- Number: US 2019/0317778 A1
- Document ID: US20190317778A1
- Status: Published application
- Kind: A1
- Application number: 16/455,636
- Filed: 2019-06-27
- Published: 2019-10-17
- Earliest claimed: 2017-12-20
- Assignees: Shenzhen Goodix Technology Co., Ltd.
- Applicants: Shenzhen Goodix Technology Co., Ltd.
- Inventors: YANRAN CHEN
- Web page: https://patentgrep.com/patent/US20190317778A1

## CPC

- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 3/0416: {Control or interface arrangements specially adapted for digitisers}
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- G06F 9/44536: {Selecting among different versions}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present application provides a method, a processing unit (12), a touch control chip (11), a device, and a medium for processing a configuration file. The method includes: determining (S201) the configuration file of a touch control chip (11); and writing (S202) the configuration file to the touch control chip (11); where the configuration file comprises a plurality of first configuration modules which are respectively used for configuring parameters with different attributes for the touch control chip (11). Thus, the configuration efficiency of the touch control chip (11) is improved.

## Claims

### Claim 1

A method of processing a configuration file, comprising:
obtaining the configuration file of a touch control chip;
parsing the configuration file to obtain a parsed configuration file; and
configuring the parsed configuration file to each algorithm module of the touch control chip; wherein the configuration file comprises a plurality of first configuration modules and the plurality of first configuration modules are used for configuring parameters of different attributes for the touch control chip, respectively.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the touch control chip comprises a temporary variable region, wherein the temporary variable region is used for temporarily storing the configuration file and a non-configuration file of the touch control chip in different time periods, respectively; and
after the parsing the configuration file to obtain the parsed configuration file, the method further comprises:
storing the parsed configuration file to a flash memory and deleting the configuration file in the temporary variable region.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
receiving a read request; and
reading the parsed configuration file from the flash memory to the temporary variable region according to the read request.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the touch control chip comprises a global variable region and the global variable region is used for storing at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the method further comprises:
obtaining the at least one second configuration module; and
parsing the at least one second configuration module, and configuring the parsed at least one second configuration module to at least one corresponding algorithm module of the touch control chip.

### Claim 5 (depends on 4)

The method according to claim 4, wherein storage space of the global variable region is smaller than storage space of the temporary variable region, and a starting storage address of the temporary variable region is smaller than a starting storage address located in the global variable region.

### Claim 6

A processing unit, wherein the processing unit is configured to:
determine a configuration file of a touch control chip; and
write the configuration file to the touch control chip; wherein the configuration file comprises a plurality of first configuration modules and the plurality of first configuration modules are configured to configure parameters of different attributes for the touch control chip respectively.

### Claim 7 (depends on 6)

The processing unit according to claim 6, wherein the touch control chip comprises a temporary variable region and the temporary variable region is configured to temporarily store the configuration file and a non-configuration file of the touch control chip in different time periods, respectively; and
the processing unit is configured to:
write the configuration file to the temporary variable region when it is determined that the temporary variable region is currently in an idle state.

### Claim 8 (depends on 7)

The processing unit according to claim 7, wherein the processing unit is further configured to:
send a read request to the touch control chip when it is determined that the temporary variable region is currently in an idle state, so that the touch control chip reads a parsed configuration file from a flash memory to the temporary variable region according to the read request; and
read the parsed configuration file from the temporary variable region.

### Claim 9 (depends on 6)

The processing unit according to claim 6, wherein the touch control chip comprises a global variable region and the global variable region is configured to store at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the processing unit is further configured to:
write the at least one second configuration module to the global variable region.

### Claim 10 (depends on 7)

The processing unit according to claim 7, wherein the touch control chip comprises a global variable region and the global variable region is configured to store at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the processing unit is further configured to:
write the at least one second configuration module to the global variable region.

### Claim 11 (depends on 8)

The processing unit according to claim 8, wherein the touch control chip comprises a global variable region and the global variable region is configured to store at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the processing unit is further configured to:
write the at least one second configuration module to the global variable region.

### Claim 12 (depends on 9)

The processing unit according to claim 9, wherein storage space of the global variable region is smaller than storage space of the temporary variable region, and a starting storage address of the temporary variable region is smaller than a starting storage address of the global variable region.

### Claim 13 (depends on 9)

The processing unit according to claim 9, wherein the processing unit is further configured to read the at least one second configuration module from the global variable region.

### Claim 14

A touch control chip, wherein the touch control chip is configured to:
obtain a configuration file of the touch control chip;
parse the configuration file to obtain a parsed configuration file; and
configure the parsed configuration file to each algorithm module of the touch control chip; wherein the configuration file comprises a plurality of first configuration modules and the plurality of first configuration modules are configured to configure parameters of different attributes for the touch control chip, respectively.

### Claim 15 (depends on 14)

The touch control chip according to claim 14, wherein the touch control chip comprises a temporary variable region, wherein the temporary variable region is configured to temporarily store the configuration file and a non-configuration file of the touch control chip in different time periods, respectively; and
the touch control chip is further configured to:
store the parsed configuration file to a flash memory and delete the configuration file in the temporary variable region.

### Claim 16 (depends on 15)

The touch control chip according to claim 15, wherein the touch control chip is further configured to:
receive a read request; and
read the parsed configuration file from the flash memory to the temporary variable region according to the read request.

### Claim 17 (depends on 14)

The touch control chip according to claim 14, wherein the touch control chip comprises a global variable region and the global variable region is configured to store at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the touch control chip is further configured to:
obtain the at least one second configuration module; and
parse the at least one second configuration module, and configure the parsed at least one second configuration module to at least one corresponding algorithm module of the touch control chip.

### Claim 18 (depends on 15)

The touch control chip according to claim 15, wherein the touch control chip comprises a global variable region and the global variable region is configured to store at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the touch control chip is further configured to:
obtain the at least one second configuration module; and
parse the at least one second configuration module, and configure the parsed at least one second configuration module to at least one corresponding algorithm module of the touch control chip.

### Claim 19 (depends on 16)

The touch control chip according to claim 16, wherein the touch control chip comprises a global variable region and the global variable region is configured to store at least one second configuration module, wherein the at least one second configuration module is obtained after at least one corresponding first configuration module is updated; and
the touch control chip is further configured to:
obtain the at least one second configuration module; and
parse the at least one second configuration module, and configure the parsed at least one second configuration module to at least one corresponding algorithm module of the touch control chip.

### Claim 20 (depends on 17)

The touch control chip according to claim 17, wherein storage space of the global variable region is smaller than storage space of the temporary variable region, and a starting storage address of the temporary variable region is smaller than a starting storage address located in the global variable region.
