Function Optional Selection Method, Device, Terminal Device and Computer Readable Storage Medium

By including the function configuration information of each user and consumption scenario in the function configuration file, and using encrypted data comparison to obtain functional configuration parameters, the problem of high maintenance costs with similar logic of software for different customized products is solved, and multi-product maintenance under the same set of software control logic is realized, reducing maintenance costs and simplifying the process.

CN113886849BActive Publication Date: 2025-06-03SINOMATIN TECH SHENZHEN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111139679.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2025-06-03
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

The software logic of different customized products is similar, but it requires independent maintenance, resulting in high maintenance costs and inconvenience.

Method used

The function configuration file contains the function configuration information of each user and consumption scenario, and performs encryption processing, and uses preset encrypted data to obtain function configuration parameters to achieve dynamic control of functions.

Benefits of technology

The same software control logic is used to maintain multiple customized products, reducing maintenance costs, simplifying the process, and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886849B_ABST
    Figure CN113886849B_ABST
Patent Text Reader

Abstract

The present invention discloses a function selection and configuration method, apparatus, terminal device, and computer-readable storage medium. The method includes: when an encrypted function configuration file of an application software is called and executed, obtaining encrypted data in the encrypted function configuration file; when the encrypted data is the same as preset encrypted data, obtaining function configuration information corresponding to the preset encrypted data, where the function configuration information includes function configuration parameters; and returning the called function configuration parameters to execute corresponding functions. By integrating the function configuration information of all users and / or the function configuration information of different consumption scenarios into a function configuration file, when the encrypted function configuration file is called, the present invention determines the permission of the user to use the function by obtaining the encrypted data in the encrypted configuration file, so as to achieve the purpose of saving maintenance costs for different customized products with very similar software logics by using the same set of software control logics to maintain the software logic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of program security, and particularly to a function selection method, device, terminal device, and computer-readable storage medium. Background Art

[0002] Currently, different customized products required by different customers or in different consumption scenarios may only differ in individual software functions, individual configuration parameters, or software interfaces. For those that only differ in individual configuration parameters or software interfaces, most of the functions of different customized products are the same. Since the settings of configuration parameters and software interfaces are invisible to users, for developers of these different customized products, they may need to maintain the codes corresponding to different customized products with very similar software logics, resulting in high maintenance costs and inconvenient maintenance.

[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main object of the present invention is to provide a function selection method, device, terminal device, and computer-readable storage medium, aiming to solve the problem of high maintenance costs and inconvenient maintenance for maintaining the codes corresponding to different customized products with very similar software logics for different customized products.

[0005] To achieve the above object, the present invention provides a function selection method, and the function selection method includes:

[0006] When the encryption function configuration file of the application software is called and executed, obtain the encrypted data in the encryption function configuration file, where the function configuration file includes function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios;

[0007] When the encrypted data is the same as the preset encrypted data, obtain the function configuration information corresponding to the preset encrypted data, where the function configuration information includes function configuration parameters;

[0008] Return the called function configuration parameters to execute the functions corresponding to the function configuration parameters.

[0009] Optionally, the step of obtaining the encrypted data in the encryption function configuration file when the encryption function configuration file of the application software is called and executed includes:

[0010] When the encryption function configuration file of the application software is called and executed, obtain the encrypted data of each function in the encryption function configuration file.

[0011] Optionally, before the step of obtaining the encrypted data in the encrypted function configuration file of the application software when the encrypted function configuration file of the application software is called and executed, the following steps are further included:

[0012] Obtain the function configuration file of the application software;

[0013] Encrypt the function configuration file to obtain an encrypted function configuration file.

[0014] Optionally, the step of encrypting the function configuration file to obtain an encrypted function configuration file includes:

[0015] Encrypt the function configuration information corresponding to each function in the function configuration file to obtain encrypted data corresponding to each function;

[0016] Generate the encrypted function configuration file according to the encrypted data corresponding to each function.

[0017] Optionally, the step of obtaining the function configuration file of the application software includes:

[0018] When the function configuration file of the application software is updated, obtain the updated function configuration file to obtain the function configuration file of the application software.

[0019] In addition, to achieve the above object, the present invention further provides a function selection and matching device, and the function selection and matching device includes:

[0020] An obtaining module, configured to obtain the encrypted data in the encrypted function configuration file when the encrypted function configuration file of the application software is called and executed, where the function configuration file includes function configuration information corresponding to each using user and / or function configuration information corresponding to different consumption scenarios;

[0021] A comparison and obtaining module, configured to obtain the function configuration information corresponding to the preset encrypted data when the encrypted data is the same as the preset encrypted data, where the function configuration information includes function configuration parameters;

[0022] An execution module, configured to return the called function configuration parameters to execute the function corresponding to the function configuration parameters.

[0023] In addition, to achieve the above object, the present invention further provides a terminal device, and the terminal device includes: a memory, a processor, and a function selection and matching program stored in the memory and executable on the processor, and when the function selection and matching program is executed by the processor, each step of the function selection and matching method as described above is implemented.

[0024] In addition, to achieve the above object, the present invention also provides a computer-readable storage medium, on which a function selection and matching program is stored. When the function selection and matching program is executed by the processor, each step of the function selection and matching method as described above is implemented.

[0025] The function selection and matching method, device, terminal device and computer-readable storage medium proposed by the present invention are based on the function configuration file including function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios. By integrating the function configuration information corresponding to all users and / or the function configuration information corresponding to different consumption scenarios into one function configuration file, the encrypted function configuration file is an encrypted file obtained after encrypting the function configuration file. When the encrypted function configuration file of the application software is called, by obtaining the encrypted data in the encrypted configuration file, and then comparing it with the preset encrypted data agreed by different users. When the encrypted data is the same as the preset encrypted data, it indicates that the user has the permission to use the function corresponding to the encrypted data, that is, the function configuration information of the function corresponding to the encrypted data is in an open state. Then, the function configuration parameters in the function configuration information are returned to execute the function corresponding to the function configuration parameters, so as to achieve maintaining different customized products with very similar software logics using the same set of software control logics, such as only individual software functions are different, or individual configuration parameters are different, or software interfaces are different, saving maintenance costs and achieving simple and convenient implementation. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic structural diagram of a terminal device related to each embodiment of the function selection and matching method of the present invention;

[0027] Figure 2 It is a schematic flowchart of an embodiment of the function selection and matching method of the present invention;

[0028] Figure 3 It is a schematic flowchart of an embodiment of the function selection and matching method of the present invention;

[0029] Figure 4 It is a schematic flowchart of an embodiment of the function selection and matching method of the present invention;

[0030] Figure 5 It is a module schematic diagram of the function selection and matching device of the present invention.

[0031] The realization, functional characteristics and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0032] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0033] The present invention provides a function selection and matching method, and the function selection and matching method includes:

[0034] When the encryption function configuration file of the application software is called and executed, obtain the encryption data in the encryption function configuration file, where the function configuration file includes function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios;

[0035] When the encryption data is the same as the preset encryption data, obtain the function configuration information corresponding to the preset encryption data, where the function configuration information includes function configuration parameters;

[0036] Return the called function configuration parameters to execute the function corresponding to the function configuration parameters.

[0037] The function selection and matching method of the present invention is based on the function configuration file including function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios. By integrating the function configuration information corresponding to all users and / or function configuration information corresponding to different consumption scenarios into one function configuration file, the encryption function configuration file is an encrypted file obtained by encrypting the function configuration file. When the encryption function configuration file of the application software is called, by obtaining the encryption data in the encryption configuration file, and then comparing it with the preset encryption data agreed by different users. When the encryption data is the same as the preset encryption data, it indicates that the user has the permission to use the function corresponding to the encryption data, that is, the function configuration information of the function corresponding to the encryption data is in an open state. Then, return the function configuration parameters in the function configuration information to execute the function corresponding to the function configuration parameters, so as to achieve the maintenance of different customized products with very similar software logics using the same set of software control logics, such as only individual software functions are different, or individual configuration parameters are different, or software interfaces are different, saving maintenance costs and being simple and convenient to implement.

[0038] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of describing the present invention, and they have no specific meaning in themselves. Therefore, "module", "component", or "unit" can be used interchangeably.

[0039] The terminal device can be implemented in various forms. For example, the terminal device described in the present invention can include mobile terminals such as mobile phones, tablet computers, laptop computers, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc.

[0040] Those skilled in the art can understand that, except for the components specifically for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type mobile terminals.

[0041] Please refer to Figure 1 , Figure 1 which is a schematic structural diagram of the terminal device involved in each embodiment of the function selection method of the present invention. As Figure 1 shown, the terminal device may include: a memory 101 and a processor 102. Those skilled in the art can understand that Figure 1 the structural block diagram of the terminal shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine some components, or have different component arrangements. Among them, an operating system and a function selection program are stored in the memory 101. The processor 102 is the control center of the terminal device. The processor 102 executes the function selection program stored in the memory 101 to implement the steps of each embodiment of the function selection method of the present invention. Optionally, the terminal device may further include a display unit 103. The display unit 103 includes a display panel, and the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., for outputting and displaying the interface browsed by the user.

[0042] Based on the above structural block diagram of the terminal device, each embodiment of the function selection method of the present invention is proposed.

[0043] In one embodiment, the present invention provides a function selection method. Please refer to Figure 2 , Figure 2 which is a schematic flowchart of an embodiment of the function selection method of the present invention. In this embodiment, the function selection method includes the following steps:

[0044] Step S10, when the encryption function configuration file of the application software is called and executed, obtain the encryption data in the encryption function configuration file. The function configuration file includes function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios;

[0045] In the actual application process, for developers, they can make adaptive modifications based on the control logic of the same set of application software for different user requirements and different consumption scenarios to achieve different functions. For example, different customized products required by different customers or for different consumption scenarios may only differ in individual software functions, individual configuration parameters, or software interfaces. For instance, for the same intelligent device product, it can be set to be controlled by voice through smart speaker A, or it can be set to be intelligently controlled by smart speaker B, or it can also be set to be intelligently controlled by both smart speaker A and smart speaker B. By simply modifying individual configuration parameters or software interfaces, it can adapt to different user requirements and meet different consumption needs of users.

[0046] In this embodiment, to avoid the problem of high maintenance cost and inconvenient maintenance caused by maintaining the codes corresponding to different customized products with very similar software logics for different customized products, in this application, a function configuration file is used. This function configuration file includes the function configuration information corresponding to each using user and / or the function configuration information corresponding to different consumption scenarios. By integrating the function configuration information corresponding to all using users and / or the function configuration information corresponding to different consumption scenarios into one function configuration file and saving this function configuration file in the product individual. In addition, through the function configuration information pre-agreed with the using user, the encrypted data corresponding to the agreed function configuration information, that is, the preset encrypted data, is distributed or allocated to the using user. Then, for different using users, different functions can be achieved based on the encrypted data corresponding to the agreed function configuration information. It should be noted that the preset encrypted data is also saved in the product individual.

[0047] The function configuration file includes the function configuration information corresponding to each using user and / or the function configuration information corresponding to different consumption scenarios. Among them, the function configuration information corresponding to each using user refers to the function configuration information of the functions that each using user has the permission to use. Similarly, the function configuration information corresponding to different consumption scenarios refers to the function configuration information of the functions that can be used in different scenarios. Specifically, the function configuration file contains the function configuration information corresponding to each function. For example, the function configuration file can be in the following form:

[0048] First line: www.sinomartin.com

[0049] Second line: model#0000# Model enumeration: 27 33 35 37 40

[0050] Third line: serialport#0000# Each bit of the serial port function corresponds to one serial port, 0 means open and 1 means closed ......

[0052] Last line: thank you for using our products

[0053] When the encryption function configuration file of the application software is called and executed, obtain the encrypted data in the encryption function configuration file. The encrypted data of the encryption function configuration file refers to the encrypted data obtained by encrypting the function configuration information corresponding to each function in the function configuration file. Among them, one encrypted data corresponds to the encrypted data obtained by encrypting the function configuration information of one function. As an alternative implementation, please refer to Figure 3 , Figure 3 is a schematic flowchart of an embodiment of the function selection method of the present invention. Step S10 includes:

[0054] Step S11, when the encryption function configuration file of the application software is called and executed, obtain the encrypted data of each function in the encryption function configuration file.

[0055] Step S20, when the encrypted data is the same as the preset encrypted data, obtain the function configuration information corresponding to the preset encrypted data, and the function configuration information includes function configuration parameters;

[0056] Step S30, return the called function configuration parameters to execute the function corresponding to the function configuration parameters.

[0057] It should be noted that the functions of current intelligent device products are becoming more and more abundant. For different needs of users, intelligent device products of the same model can also be provided with different optional functions and accessories. For the optional functions of intelligent device products, generally, switches are set on the user interface to turn on these functions. Intelligent device products have multiple models, and the functions that each model can implement are also different. Moreover, for different models, multiple optional functions can be used without relying on the configuration of a specific model. The sum of the optional function items that can be used in each machine is called a function package.

[0058] According to the model (that is, the configuration type) and the functions that can be additionally selected to be turned on or off (that is, the function package), compile a function configuration code. The end of this code is represented by two four-digit strings indicating two groups of hexadecimal values. The first two digits of the hexadecimal value represent the configuration type of the machine, that is, the model, and the last two digits represent the optional function package enabled by the machine, that is, the enabled functions. Among them, the function configuration code can be regarded as function configuration information. The end of the function configuration code is represented by two four-digit strings indicating two groups of hexadecimal values. The first two digits of the hexadecimal value represent the configuration type of the machine, and the last two digits represent the optional function package enabled by the machine, which can be regarded as the function configuration parameters in this application.

[0059] The encryption password (encrypted data) is stored in each individual product. It is a string obtained by calculating the function configuration code composed of the ID code and the function code through an encryption algorithm. For example, if the function configuration code is ABCD-EFGH-IJKL-0206, the encryption password obtained after one encryption using the encryption operator is: 56TD-H00W-ENKG-1R46, which is the encryption password in the intelligent device product, that is, the encrypted data.

[0060] The encryption password is stored in each intelligent device product. When the intelligent device product is started each time, the system reads the encryption password and decrypts it according to the decryption method corresponding to the above encryption method to obtain the true function configuration code of the product, so as to run the corresponding functions in the intelligent device product according to the information in the function configuration code.

[0061] In one example, taking the message prompt function as an example, the target software product includes the message prompt function. The implementation method of the message prompt function in each application scenario is to pop up a message prompt. In the three application scenarios of smart phones, smart watches, and smart TVs, the specific methods for popping up the message prompt are all different. Among them, since the method of popping up the message prompt corresponding to the message prompt function is the common implementation method for the above three application scenarios, the code corresponding to the method of popping up the message prompt in the common code file belongs to the main code. The specific methods for popping up the message prompt implemented in each feature code file are as follows: for smart phones, it is through dialog message prompts, and the specific implementation method is that the client pops up a dialog box for prompting; for smart watches, it is through notification bar message prompts, and the specific implementation method is that the wearable device pushes a notification prompt. Since smart TVs may not need to implement the message prompt function, the specific implementation method corresponding to the message prompt function for smart TVs is empty.

[0062] In another example, since each feature code file can correspond to multiple application scenarios, there can be multiple application scenarios with the same specific implementation method for the product function. For the UI display function, the method of text display can be commonly implemented in the three application scenarios of smart phones, smart watches, and smart TVs. However, for smart phones and smart watches, the UI display function is displayed through a small screen, and the specific implementation method is to display small-font text; for smart TVs, it is displayed through a large screen, and the specific method is to display large-font text.

[0063] By comparing with the pre-set encrypted data agreed upon by different user holders, when the encrypted data is the same as the pre-set encrypted data, it indicates that the user has the permission to use the function corresponding to the encrypted data, that is, the function configuration information of the function corresponding to the encrypted data is in an open state. Obtain the function configuration information corresponding to the pre-set encrypted data. Based on the corresponding relationship between an encrypted data and the encrypted data after encrypting the function configuration information of a function, and the corresponding relationship between the function configuration information of a function and the encrypted data, on the basis of knowing the pre-set encrypted data, the function configuration information corresponding to the pre-set encrypted data can be obtained, and then the function configuration parameters in the function configuration information can be returned to execute the function corresponding to the function configuration parameters.

[0064] As an optional implementation manner, please refer to Figure 4 , Figure 4 which is a schematic flowchart of an embodiment of the function selection method of the present invention. Before step S10, it further includes:

[0065] Step S40, obtain the function configuration file of the application software;

[0066] Step S50, encrypt the function configuration file to obtain an encrypted function configuration file.

[0067] To obtain the function configuration file of the application software, it can be based on the installation package corresponding to the application software, and directly obtain the function configuration file of the application software based on the file name of the function configuration file.

[0068] It can be understood that to prevent the user from arbitrarily learning the function configuration information in the function configuration file and then modifying the function configuration information in the function configuration file, the function configuration file can be encrypted to obtain an encrypted function configuration file.

[0069] Optionally, after encrypting the function configuration file to obtain an encrypted function configuration file, the function configuration information of each function in the function configuration file can be encrypted to obtain an encrypted function configuration file.

[0070] Optionally, an asymmetric encryption method can be used to encrypt the function configuration file. Among them, the asymmetric encryption method is such as MD5. Since the asymmetric encryption method MD5 is not reversible, the developer (encrypting party) and the user (decrypting party) agree in advance on the encryption character set, that is, the pre-set encrypted data. The user (decrypting party) can obtain the encrypted function configuration parameters by traversing the encryption character set through the agreed encryption character set.

[0071] Optionally, if each line in the function configuration file corresponds to the function configuration information of a function, the function configuration information of each function in the function configuration file can be encrypted line by line to obtain an encrypted function configuration file. For example, after determining the characters of each line of the function configuration file, the MD5 algorithm is used for encryption line by line to correspondingly generate multiple lines of secret keys, obtaining the encrypted function configuration file.

[0072] It should be noted that the function configuration file is configured through an encryption key, which ensures the privacy of the function configuration file, and the irreversibility of the asymmetric encryption method MD5 ensures the security of the key.

[0073] As an optional implementation manner, step S40 includes:

[0074] When the function configuration file of the application software is updated, obtain the updated function configuration file of the application software to obtain the function configuration file of the application software.

[0075] In the actual application process, the function configuration file can be modified to add users and the function configuration information corresponding to the users, or the function configuration information corresponding to the original users can be modified to add or delete the functions that the users can enjoy, etc.

[0076] Optionally, to facilitate the update of the function configuration file of the application software, the function configuration file of the application software can be updated based on a visual interface to obtain the function configuration file of the application software.

[0077] Optionally, after the function configuration file is updated, an encrypted function configuration file needs to be regenerated. An encrypted function configuration file can be generated with the assistance of a visual generation tool for the encrypted function configuration file. Specifically, the front end of the tool is written in the AutoHotKey language. The advantage of this language is that it can call a C-language written non-graphical program, and it occupies less space and has a fast execution speed. The back end is written in C language, and parameters are passed through AutoHotKey to generate the encrypted function configuration file.

[0078] It should be noted that the function configuration file is stored in the form of a file, which facilitates the quick modification of the configuration function information. When the function configuration file of the application software is updated, the updated function configuration file can be obtained.

[0079] In the technical solution disclosed in this embodiment, based on the fact that the function configuration file includes function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios, by integrating the function configuration information corresponding to all users and / or the function configuration information corresponding to different consumption scenarios into one function configuration file, the encrypted function configuration file is an encrypted file obtained by encrypting the function configuration file. When the encrypted function configuration file of the application software is called, by obtaining the encrypted data in the encrypted configuration file, and then comparing it with the preset encrypted data agreed upon by different users. When the encrypted data is the same as the preset encrypted data, it indicates that the user has the permission to use the function corresponding to the encrypted data, that is, the function configuration information of the function corresponding to the encrypted data is in an open state. Then, the function configuration parameters in the function configuration information are returned to execute the function corresponding to the function configuration parameters, so as to achieve the maintenance of software logic for different customized products with very similar software logics using the same set of software control logics, such as only individual software functions, individual configuration parameters, or software interfaces are different, saving maintenance costs and being simple and convenient to implement.

[0080] Please refer to Figure 5 , Figure 5 which is a schematic diagram of the modules of the function selection and matching device of the present invention. The function selection and matching device 100 includes:

[0081] An acquisition module 110, configured to obtain the encrypted data in the encrypted function configuration file when the encrypted function configuration file of the application software is called and executed. The function configuration file includes function configuration information corresponding to each user and / or function configuration information corresponding to different consumption scenarios;

[0082] A comparison and acquisition module 120, configured to obtain the function configuration information corresponding to the preset encrypted data when the encrypted data is the same as the preset encrypted data. The function configuration information includes function configuration parameters;

[0083] An execution module 130, configured to return the called function configuration parameters to execute the function corresponding to the function configuration parameters.

[0084] The present invention also proposes a terminal device, which includes: a memory, a processor, and a function selection and matching program stored in the memory and executable on the processor. When the function selection and matching program is executed by the processor, the steps of the function selection and matching method in any of the above embodiments are implemented.

[0085] The present invention also proposes a computer-readable storage medium, on which a function selection and matching program is stored. When the function selection and matching program is executed by the processor, the steps of the function selection and matching method as described in any of the above embodiments are implemented.

[0086] In the embodiments of the device, terminal device, and computer-readable storage medium provided by the present invention, all the technical features of the above embodiments of the function selection method are included. The content of the specification expansion and explanation is basically the same as that of the above embodiments of the function selection method, and will not be repeated here.

[0087] It should be noted that, in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or system including that element.

[0088] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0089] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing a mobile terminal (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of the present invention.

[0090] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.

Claims

1. A function selection method, characterized in that, the function selection method includes: Obtain the function configuration file of the application software; Encrypt the function configuration information corresponding to each function in the function configuration file to obtain the encrypted data corresponding to each function; Generate an encrypted function configuration file according to the encrypted data corresponding to each function; When the encrypted function configuration file of the application software is called and executed, obtain the encrypted data of each function in the encrypted function configuration file, where the encrypted data of the encrypted function configuration file refers to the encrypted data obtained by encrypting the function configuration information corresponding to each function in the function configuration file. The function configuration file includes the function configuration information corresponding to each user and / or the function configuration information corresponding to different consumption scenarios. The function configuration information corresponding to each user refers to the function configuration information of the functions that each user has the right to use; When the encrypted data is the same as the preset encrypted data, obtain the function configuration information corresponding to the preset encrypted data. The function configuration information includes function configuration parameters. Through the function configuration information agreed with the user in advance, distribute or distribute the encrypted data corresponding to the agreed function configuration information, that is, the preset encrypted data, to the user. Then, for different users, different functions can be realized based on the encrypted data corresponding to the agreed function configuration information; Return the called function configuration parameters to execute the functions corresponding to the function configuration parameters.

2. The function selection method according to claim 1, characterized in that, the step of obtaining the function configuration file of the application software includes: When the function configuration file of the application software is updated, obtain the updated function configuration file to obtain the function configuration file of the application software.

3. A function selection device, characterized in that, the function selection device includes an acquisition module, a comparison and acquisition module, and an execution module. The function selection device is used to implement the function selection method according to claim 1.

4. A terminal device, characterized in that, the terminal device includes: a memory, a processor, and a function selection program stored in the memory and executable on the processor. When the function selection program is executed by the processor, the steps of the function selection method according to any one of claims 1-2 are implemented.

5. A computer-readable storage medium, characterized in that, a function selection program is stored on the computer-readable storage medium. When the function selection program is executed by a processor, the steps of the function selection method according to any one of claims 1-2 are implemented.

Citation Information

Patent Citations

  • Method and system for controlling software functions of various devices

    CN103955646A

  • Application function configuration method and device

    CN109951318A