Configuration management method

CN122946019APending Publication Date: 2026-10-20SILEAD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510461410.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2026-10-20

AI Technical Summary

Benefits of technology

[0020]与现有技术相比,本发明提供的一种配置管理方法包括:CA预处理配置文件;CA将所述配置文件中的所述配置信息传递给TA;以及,TA基于接收到的所述配置信息完成所述指纹识别模块的初始化过程。如此配置,以动态加载的方式更新指纹识别模块的配置内容,大幅减少了更新初始化参数时需要重新编译的次数,提高了参数调试和优化的效率,增强了系统的灵活性,解决了现有技术中存在的指纹识别模块的初始化配置过程比较繁琐的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0005358037220000041
    Figure BDA0005358037220000041
  • Figure HDA0005358037230000011
    Figure HDA0005358037230000011
  • Figure HDA0005358037230000012
    Figure HDA0005358037230000012
Patent Text Reader

Abstract

This invention provides a configuration management method, comprising: a CA preprocessing a configuration file; the CA transmitting the configuration information in the configuration file to a TA; and the TA completing the initialization process of the fingerprint recognition module based on the received configuration information. This configuration, by dynamically loading and updating the configuration content of the fingerprint recognition module, significantly reduces the number of recompilations required when updating initialization parameters, improves the efficiency of parameter debugging and optimization, enhances system flexibility, and solves the problem of cumbersome initialization configuration processes for fingerprint recognition modules in existing technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fingerprint data processing technology, and in particular to a configuration management method. Background Technology

[0002] The current Android system's fingerprint recognition module has the following issues in its software and algorithm initialization configuration:

[0003] 1. The initial configuration is compiled directly into the static library, which means that the static library needs to be updated every time there is a modification.

[0004] 2. After updating the static library, you also need to recompile the trusted execution environment.

[0005] 3. This method results in a cumbersome and time-consuming parameter update and debugging process.

[0006] 4. Lacks flexibility and is difficult to adapt quickly to changes in different hardware or requirements.

[0007] In other words, the initial configuration process of the fingerprint recognition module in the existing technology is rather cumbersome. Summary of the Invention

[0008] The purpose of this invention is to provide a configuration management method to solve the problem that the initial configuration process of fingerprint recognition modules in the prior art is relatively cumbersome.

[0009] To address the aforementioned technical problems, this invention provides a configuration management method applied to the configuration process of a fingerprint recognition module. The configuration management method includes: a CA preprocessing a configuration file; the CA transmitting the configuration information in the configuration file to a TA; and the TA completing the initialization process of the fingerprint recognition module based on the received configuration information.

[0010] Optionally, the CA preprocessing configuration file steps include at least one of the following steps: loading the configuration file, reading the configuration file, transforming the configuration file, and parsing the configuration file.

[0011] Optionally, the configuration management method further includes: storing the configuration file in a preset storage location on the CA side; and obtaining a new configuration file from external input and replacing the old configuration file in the preset storage location.

[0012] Optionally, the configuration management method further includes: storing the configuration file in a preset storage location on the CA side, the preset storage location being used to store at least two copies of the configuration file; obtaining a new configuration file input from an external source and storing it in the preset storage location, while retaining the old configuration file; and, by default, always transmitting the configuration information in the latest configuration file.

[0013] Optionally, the step of storing the configuration file at a preset storage location on the CA side includes: storing the configuration file in encrypted form at the preset storage location; the step of CA preprocessing the configuration file includes: decoding the configuration file.

[0014] Optionally, the configuration management method further includes: the CA verifying the configuration file; if the verification is successful, the CA transmitting the configuration information to the TA.

[0015] Optionally, the configuration management method further includes: CA verifying the configuration file, and if the verification fails, performing error handling.

[0016] Optionally, the step of the CA passing the configuration information in the configuration file to the TA includes: transmitting data based on the command interface and shared cache.

[0017] Optionally, the configuration management method further includes: the TA verifying the received configuration information; if the verification is successful, the TA completes the initialization process of the fingerprint recognition module based on the received configuration information.

[0018] Optionally, the steps for TA to verify the received configuration information include at least one of the following steps: checking the signature of each data item, checking the ID, checking the version information, checking the checksum, checking the error correction bits, and checking the overall length.

[0019] Optionally, the configuration management method further includes: the TA verifies the received configuration information; if the verification fails, the TA completes the initialization process of the fingerprint recognition module based on the default parameters in the static library.

[0020] Compared with existing technologies, the configuration management method provided by this invention includes: CA preprocessing a configuration file; CA transmitting the configuration information in the configuration file to TA; and TA completing the initialization process of the fingerprint recognition module based on the received configuration information. This configuration, by dynamically loading and updating the configuration content of the fingerprint recognition module, significantly reduces the number of recompilations required when updating initialization parameters, improves the efficiency of parameter debugging and optimization, enhances system flexibility, and solves the problem of cumbersome initialization configuration processes for fingerprint recognition modules in existing technologies. Attached Figure Description

[0021] Those skilled in the art will understand that the accompanying drawings are provided to better understand the invention and do not constitute any limitation on the scope of the invention. Wherein:

[0022] Figure 1 This is a flowchart illustrating a configuration management method according to an embodiment of the present invention;

[0023] Figure 2 This is another flowchart illustrating a configuration management method according to an embodiment of the present invention. Detailed Implementation

[0024] To make the objectives, advantages, and features of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to facilitate and clarify the explanation of the embodiments of this invention. Furthermore, the structures shown in the drawings are often part of the actual structures. In particular, different figures may emphasize different aspects and may sometimes use different scales.

[0025] As used in this invention, the singular forms “a,” “an,” and “the” include plural objects; the term “or” is generally used to mean “and / or”; the term “a number” is generally used to mean “at least one”; and the term “at least two” is generally used to mean “two or more”. Furthermore, the terms “first,” “second,” and “third” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as “first,” “second,” or “third” may explicitly or implicitly include one or at least two of that feature. “One end” and “the other end,” as well as “proximal end” and “distal end,” generally refer to two corresponding parts, including not only endpoints. The terms “installed,” “connected,” and “joined” should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral part; a mechanical connection or an electrical connection; a direct connection or an indirect connection through an intermediate medium; or a connection within two elements or an interaction between two elements. Furthermore, as used in this invention, the phrase "one element is disposed on another element" generally only indicates that there is a connection, coupling, cooperation, or transmission relationship between the two elements, and the connection, coupling, cooperation, or transmission between the two elements can be direct or indirect through an intermediate element. It should not be construed as indicating or implying a spatial positional relationship between the two elements, i.e., one element can be located arbitrarily inside, outside, above, below, or to one side of the other element, unless otherwise explicitly stated. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0026] The core idea of ​​this invention is to provide a configuration management method to solve the problem that the initial configuration process of fingerprint recognition modules in the prior art is relatively cumbersome.

[0027] The following description refers to the accompanying drawings.

[0028] Please refer to Figure 1 This embodiment provides a configuration management method, which is applied to the configuration process of a fingerprint recognition module. The configuration management method includes:

[0029] S10, the configuration file is stored in a preset storage location on the CA (Client Application, which is also called the CA side on most mobile phones. This is a general term, and in this embodiment, it can be understood as the Android system).

[0030] S20, Obtain the new configuration file from external input and replace the old configuration file at the preset storage location.

[0031] S30, CA preprocessing configuration file. Specifically, it includes at least one of the following steps: loading the configuration file, reading the configuration file, converting the configuration file, and parsing the configuration file.

[0032] S40, the CA passes the configuration information in the configuration file to the TA (Trusted Application, which is the TEEOS side, a small OS independent of the Android system). This passing can include, for example, directly transmitting data to the receiving end, or, for example, passing information from the data through a triggered event. The carrier of the configuration information can be data or other states, such as voltage.

[0033] And, in step S50, the TA completes the initialization process of the fingerprint recognition module based on the received configuration information. A transmission operation is performed after each power-on or power-up, determined by the current architecture of the CA and TA. If the configuration is updated, the configuration file on the CA side is updated, and the parameters are updated upon the next power-on. Of course, in one embodiment, debugging functionality is retained; during troubleshooting, the configuration file on the CA side is updated in real time, and the transmission operation is performed.

[0034] The comparison of this configuration with existing technology solutions is shown in Table 1.

[0035] Table 1 Comparison of existing technologies and solutions in this embodiment.

[0036]

[0037] As shown in Table 1, in the prior art, when the configuration needs to be updated, the static library and TA need to be recompiled. Therefore, the flexibility and debugging efficiency are far lower than the solution provided in this embodiment.

[0038] In step S10, the step of storing the configuration file at a preset storage location on the CA side includes: storing the configuration file in encrypted form at the preset storage location; correspondingly, the step of CA preprocessing the configuration file includes: decoding the configuration file. This configuration, considering the special characteristics of the fingerprint recognition module, improves its security level and reduces the possibility of data tampering.

[0039] In another embodiment, the configuration file is stored in a preset storage location on the CA side, the preset storage location being used to store at least two copies of the configuration file; a new configuration file input from an external source is obtained and stored in the preset storage location, while the old configuration file is retained; and, by default, the configuration information in the latest configuration file is always transmitted; when an external loading control command intervenes, the configuration information in the specified configuration file is transmitted.

[0040] This configuration helps retain parameters that were previously working correctly, preventing the fingerprint recognition module from malfunctioning due to problems with the new configuration file (such as encoding failure or configuration errors), and also facilitating debugging.

[0041] Please refer to Figure 2 The configuration management method further includes: CA verifying the configuration file; if verification is successful, CA transmits the configuration information to TA. CA verifies the configuration file; if verification fails, error handling is performed. Error handling includes: stopping the fingerprint recognition module, rereading, and reporting an error. Alternatively, if verification fails, no error handling may be performed; for example, configuration information may not be transmitted, and the TA will still complete initialization according to the original configuration parameters.

[0042] Step S40, in which the CA transmits the configuration information from the configuration file to the TA, includes: transmitting data based on the command interface and a shared cache. During this process, the configuration information is temporarily stored in the shared cache as data to ensure the security of the transmission.

[0043] Please continue to refer to this. Figure 2 The configuration management method further includes: the TA verifying the received configuration information; if the verification is successful, the TA completes the initialization process of the fingerprint recognition module based on the received configuration information.

[0044] Preferably, the step of TA verifying the received configuration information includes at least one of the following steps: checking the signature of each data item, checking the ID, checking the version information, and checking the overall magic number and length. The magic number refers to the number in special positions such as check bits and error correction bits.

[0045] The configuration management method further includes: the TA verifying the received configuration information; if verification fails, the TA completes the initialization process of the fingerprint recognition module based on the default parameters in the static library. With this configuration, even if configuration data transmission fails, or if the CA does not transmit data, some fingerprint recognition functions can still operate.

[0046] In step S50, the initialization process of the fingerprint recognition module includes: loading initialization parameters, setting recognition thresholds, calibrating recognition algorithms, etc.

[0047] This embodiment has the following beneficial effects:

[0048] 1. Significantly reduced the number of times static libraries and TA need to be recompiled when updating initialization parameters.

[0049] 2. Significantly improved the efficiency of parameter debugging and optimization.

[0050] 3. It enhances the system's flexibility, allowing it to quickly adapt to different hardware configurations or changes in requirements.

[0051] 4. It simplifies the development and maintenance process and reduces potential human error.

[0052] 5. It shortened the product development cycle and accelerated market response speed.

[0053] 6. Reduced development and maintenance costs.

[0054] In summary, this embodiment provides a configuration management method, including: CA preprocessing a configuration file; CA transmitting the configuration information in the configuration file to TA; and TA completing the initialization process of the fingerprint recognition module based on the received configuration information. This configuration, by dynamically loading and updating the configuration content of the fingerprint recognition module, significantly reduces the number of recompilations required when updating initialization parameters, improves the efficiency of parameter debugging and optimization, enhances system flexibility, and solves the problem of cumbersome initialization configuration processes for fingerprint recognition modules in existing technologies.

[0055] The above description is only a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the present invention.

Claims

1. A configuration management method, characterized in that, The configuration management method is applied to the configuration process of the fingerprint recognition module, and the configuration management method includes: CA preprocessed configuration file; The CA transmits the configuration information from the configuration file to the TA; and... The TA completes the initialization process of the fingerprint recognition module based on the received configuration information.

2. The configuration management method according to claim 1, characterized in that, The CA preprocessing configuration file steps include at least one of the following steps: loading the configuration file, reading the configuration file, transforming the configuration file, and parsing the configuration file.

3. The configuration management method according to claim 1, characterized in that, The configuration management method further includes: The configuration file is stored in a preset storage location on the CA side; and, Obtain the new configuration file from external input and replace the old configuration file at the preset storage location.

4. The configuration management method according to claim 1, characterized in that, The configuration management method further includes: The configuration file is stored in a preset storage location on the CA side, and the preset storage location is used to store at least two copies of the configuration file; Obtain the new configuration file from external input and store it in the preset storage location, while retaining the old configuration file; as well as, By default, the configuration information in the latest configuration file is passed.

5. The configuration management method according to claim 3 or 4, characterized in that, The step of storing the configuration file in a preset storage location on the CA side includes: storing the configuration file in encrypted form in the preset storage location; the step of CA preprocessing the configuration file includes: decoding the configuration file.

6. The configuration management method according to claim 1, characterized in that, The configuration management method further includes: The CA verifies the configuration file. If the verification is successful, the CA will pass the configuration information to the TA.

7. The configuration management method according to claim 6, characterized in that, The configuration management method further includes: The CA verifies the configuration file; if verification fails, error handling is performed.

8. The configuration management method according to claim 1, characterized in that, The steps by which the CA transmits the configuration information from the configuration file to the TA include: transmitting data based on the command interface and shared cache.

9. The configuration management method according to claim 1, characterized in that, The configuration management method further includes: The TA verifies the received configuration information. If the verification is successful, the TA completes the initialization process of the fingerprint recognition module based on the received configuration information.

10. The configuration management method according to claim 9, characterized in that, The steps for TA to verify the received configuration information include at least one of the following steps: checking the signature of each data item, checking the ID, checking the version information, checking the checksum, checking the error correction bits, and checking the overall length.

11. The configuration management method according to claim 9, characterized in that, The configuration management method further includes: The TA verifies the received configuration information. If the verification fails, the TA completes the initialization process of the fingerprint recognition module based on the default parameters in the static library.