Software visual configuration method and system, terminal and storage medium

Through the software visual configuration method, the configuration process of multi-function software such as Nginx is simplified, and the configuration file is updated through multi-level interface filling variable values, solving the problem of complex configuration and error-prone in the existing technology, improving configuration efficiency and ease of use .

CN119166233APending Publication Date: 2024-12-20浪潮智慧科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411167890.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The configuration process of existing multifunctional software such as Nginx is complex and cumbersome, which makes it time-consuming and labor-intensive and prone to errors, especially when it needs to be carefully adjusted according to actual application scenarios, security policies and performance optimization goals.

Method used

Provides a software visual configuration method, which can analyze standard configuration files, mark non-fixed parameter values ​​as variable options, and generate a multi-level configuration interface. Users can select functions and fill variable values, update configuration files, and simplify the configuration process.

Benefits of technology

Reduces the difficulty of configuration operation of multi-function software and improves configuration efficiency, so that users can easily exert the functions of multi-function software. It is suitable for users of any level, and has reliable design principles, simple structure and wide application prospects. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166233A_ABST
    Figure CN119166233A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and particularly provides a software visual configuration method and system, a terminal and a storage medium, and the method comprises the following steps: analyzing standard configuration files corresponding to multiple functions of software, and marking parameter items corresponding to non-fixed parameter values in the standard configuration files as variable options; generating a first-level configuration interface containing multiple function options based on the multiple functions, generating a second-level configuration interface based on variable options of the corresponding configuration file, and setting click events of the function options as trigger events entering the corresponding second-level configuration interface; obtaining a variable value in the secondary configuration interface, and filling the variable value into a corresponding standard configuration file; and updating the filled standard configuration file to the configuration file storage path of the software. The configuration operation difficulty of the multifunctional software can be reduced, and the configuration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular relates to a software visualization configuration method, system, terminal and storage medium. Background Art

[0002] Some powerful software, such as Nginx, can indeed play a variety of key roles, greatly enriching its application scenarios in the Internet architecture. Nginx is not limited to the functions mentioned above, such as web server, reverse proxy server, load balancer, HTTP cache server, mail proxy server, and security enhancement server, but it can also be flexibly expanded through modular design to meet more advanced requirements, such as SSL / TLS termination, HTTP / 2 support, WebSocket proxy, etc.

[0003] These diverse functions require that the configuration process of Nginx becomes correspondingly complex and sophisticated. The implementation of each function depends on specific instructions, parameters, and module configurations, and these configurations often need to be carefully adjusted according to actual application scenarios, security policies, performance optimization goals, and other factors. For example, when configuring Nginx as a Web server, you need to pay attention to static file processing, request routing, error page customization, etc.; when configuring Nginx as a reverse proxy server, you need to pay attention to the health check of the backend server, request forwarding strategy, session persistence, etc.

[0004] Since the configuration process is cumbersome, complex, and even requires a high level of expertise, it is time-consuming, labor-intensive, and often error-prone. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides a software visualization configuration method, system, terminal and storage medium to solve the above-mentioned technical problems.

[0006] In a first aspect, the present invention provides a software visualization configuration method, comprising: Parsing standard configuration files corresponding to various functions of the software, and marking parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options; Generate a primary configuration interface containing multiple function selection items based on multiple functions, generate a secondary configuration interface based on variable options of corresponding configuration files, and set a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface; Obtain variable values ​​in the secondary configuration interface, and fill the variable values ​​into the corresponding standard configuration file; Update the filled standard configuration file to the configuration file storage path of the software.

[0007] In an optional implementation, parsing standard configuration files corresponding to various functions of the software, and marking parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options, includes: The configuration scheme corresponding to each function of the analysis software includes fixed parameter items and corresponding fixed parameter values, and non-fixed parameter items and corresponding optional ranges of parameter values; Save the configuration scheme corresponding to the function as a standard configuration file bound to the function.

[0008] In an optional implementation, a primary configuration interface including multiple function selection items is generated based on multiple functions, and a secondary configuration interface is generated based on variable options of a corresponding configuration file, and a click event of a function selection item is set as a trigger event for entering the corresponding secondary configuration interface, including: Create a first-level configuration interface, and create corresponding function selection items for multiple functions in the first-level configuration interface; Creating associated subordinate interfaces for multiple function selection items respectively, constructing variable options and drop-down boxes in the subordinate interfaces, wherein the variable options correspond to non-fixed parameter items of the standard configuration file corresponding to the upper-level function selection items, and the drop-down boxes contain parameter value optional ranges of the corresponding non-fixed parameter items; Set the click event of the function selection item as the trigger event for displaying the associated subordinate interface; The subordinate interfaces associated with multiple function selection items are all set as secondary configuration interfaces.

[0009] In an optional implementation, obtaining the variable value in the secondary configuration interface and filling the variable value into the corresponding standard configuration file includes: Receive the configuration completion instruction from the secondary configuration interface and enter the waiting interface; Extract the variable values ​​of the window corresponding to each variable option in the secondary configuration interface; Fill the variable values ​​corresponding to each variable option into the corresponding standard configuration file.

[0010] In a second aspect, the present invention provides a software visualization configuration system, comprising: A configuration parsing module is used to parse standard configuration files corresponding to various functions of the software, and mark parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options; An interface construction module, used to generate a primary configuration interface containing multiple function selection items based on multiple functions, and to generate a secondary configuration interface based on variable options of a corresponding configuration file, and to set a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface; A variable filling module is used to obtain the variable values ​​in the secondary configuration interface and fill the variable values ​​into the corresponding standard configuration file; The configuration update module is used to update the filled standard configuration file to the configuration file storage path of the software.

[0011] In an optional implementation, the configuration parsing module includes: A configuration analysis unit, used to analyze the configuration scheme corresponding to each function of the software, wherein the configuration scheme includes fixed parameter items and corresponding fixed parameter values, and non-fixed parameter items and corresponding optional ranges of parameter values; The file generating unit is used to save the configuration scheme corresponding to the function as a standard configuration file bound to the function.

[0012] In an optional embodiment, the interface construction module includes: A first creation unit is used to create a first-level configuration interface, and create corresponding function selection items for multiple functions in the first-level configuration interface; A second creation unit is used to create associated subordinate interfaces for the plurality of function selection items respectively, and to construct variable options and a drop-down box in the subordinate interfaces, wherein the variable options correspond to the non-fixed parameter items of the standard configuration file corresponding to the upper-level function selection items, and the drop-down box contains a parameter value optional range of the corresponding non-fixed parameter items; A trigger setting unit, used to set a click event of a function selection item as a trigger event for displaying an associated subordinate interface; The level setting unit is used to set the subordinate interfaces associated with multiple function selection items as secondary configuration interfaces.

[0013] In an optional implementation, the variable filling module includes: The command receiving unit is used to receive the configuration completion command of the secondary configuration interface and enter the waiting interface; The variable extraction unit is used to extract the variable value of the window corresponding to each variable option of the secondary configuration interface; The variable filling unit is used to fill the variable value corresponding to each variable option into the corresponding standard configuration file.

[0014] In a third aspect, a terminal is provided, including: processor, memory, wherein: The memory is used to store computer programs. The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0015] According to a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the methods described in the above aspects.

[0016] The beneficial effect of the present invention is that the software visualization configuration method, system, terminal and storage medium provided by the present invention can reduce the configuration operation difficulty of multifunctional software and improve the configuration efficiency. At the same time, the configuration file can be configured by a wizard according to the user. The functions of the multifunctional software can be maximized for users of any level.

[0017] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0020] Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.

[0021] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0024] The software visualization configuration method provided in the embodiment of the present invention is executed by a computer device, and accordingly, the software visualization configuration system runs in the computer device.

[0025] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution subject can be a software visualization configuration system. According to different requirements, the order of the steps in the flow chart can be changed, and some can be omitted.

[0026] like Figure 1 As shown, the method includes: Step 110, parsing standard configuration files corresponding to various functions of the software, and marking parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options; Step 120, generating a primary configuration interface including multiple function selection items based on multiple functions, generating a secondary configuration interface based on variable options of corresponding configuration files, and setting a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface; Step 130, obtaining the variable values ​​in the secondary configuration interface, and filling the variable values ​​into the corresponding standard configuration file; Step 140, update the filled standard configuration file to the configuration file storage path of the software.

[0027] To facilitate understanding of the present invention, the software visualization configuration method provided by the present invention is further described below based on the principle of the software visualization configuration method of the present invention and in combination with the process of visually configuring the software in the embodiment.

[0028] Specifically, the software visualization configuration method includes: S1. Analyze standard configuration files corresponding to various functions of the software, and mark parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options.

[0029] The configuration scheme corresponding to each function of the parsing software includes fixed parameter items and corresponding fixed parameter values, and non-fixed parameter items and corresponding optional ranges of parameter values; the configuration scheme corresponding to the function is saved as a standard configuration file bound to the function.

[0030] In-depth analysis of the various functions of the software shows that each function has its own specific standard configuration file. These configuration files contain all the configuration parameters required to implement the function, some of which are fixed, such as port numbers, default log paths, etc., while other parameter values ​​may vary due to factors such as the environment and requirements, which are called non-fixed parameter values.

[0031] For each standard profile, do the following: Parse file content: Read and parse each configuration item in the configuration file through programming means, identify the type of the configuration item (such as integer, string, Boolean value, etc.) and whether it is a fixed parameter.

[0032] Mark variable options: Parameter items with non-fixed parameter values ​​are explicitly marked as variable options, which means that the values ​​of these parameters will be automatically determined by the user or the system during the configuration process rather than being pre-set.

[0033] Organization configuration scheme: Generate a detailed configuration scheme document for each function, which clearly lists all fixed parameter items and their values, as well as the name, type, optional range and description of non-fixed parameter items. This configuration scheme is tightly bound to the standard configuration file, which is convenient for subsequent configuration processes.

[0034] S2. Generate a primary configuration interface including multiple function selection items based on multiple functions, generate a secondary configuration interface based on variable options of a corresponding configuration file, and set a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface.

[0035] Create a first-level configuration interface, and create corresponding function selection items for multiple functions in the first-level configuration interface; create associated subordinate interfaces for multiple function selection items respectively, construct variable options and drop-down boxes in the subordinate interfaces, the variable options correspond to non-fixed parameter items of the standard configuration file corresponding to the upper-level function selection items, and the drop-down box contains the parameter value optional range of the corresponding non-fixed parameter items; set the click event of the function selection item as the trigger event for displaying the associated subordinate interface; set the subordinate interfaces associated with multiple function selection items as second-level configuration interfaces.

[0036] Specifically, the first-level configuration interface: Create a simple and clear interface that contains all the options for configurable functions. These options are presented in the form of buttons, checkboxes, or drop-down menus, and users specify the functions they want to configure by clicking or selecting.

[0037] Secondary configuration interface: Create a separate secondary configuration interface for each function selection. These interfaces are dynamically generated based on the variable options in the standard configuration file corresponding to the function. Each variable option corresponds to an input box or drop-down box, allowing users to select or enter specific parameter values ​​from the optional range.

[0038] Event binding: Bind the click event of the function selection item with the display logic of the corresponding secondary configuration interface to ensure that the user can immediately see and operate the detailed configuration interface of the function when clicking the function selection item.

[0039] S3. Obtain variable values ​​in the secondary configuration interface, and fill the variable values ​​into corresponding standard configuration files.

[0040] Receive the configuration completion instruction of the secondary configuration interface and enter the waiting interface; extract the variable value of the window corresponding to each variable option of the secondary configuration interface; fill the variable value corresponding to each variable option into the corresponding standard configuration file.

[0041] Specifically, they include: Configuration completion command monitoring: When the user completes the configuration and clicks "Save" or a similar button, the system monitors this command and enters a waiting state, ready to collect configuration data.

[0042] Data extraction and filling: Traverse all variable options in the secondary configuration interface, extract the parameter values ​​entered or selected by the user, and then fill these values ​​into the corresponding positions according to the format and structure of the standard configuration file.

[0043] Configuration file update: Save the updated standard configuration file to the configuration file storage path of the software to ensure that the latest configuration can be loaded and used when the software is started.

[0044] S4. Update the filled standard configuration file to the configuration file storage path of the software.

[0045] Configuration takes effect: When the software is restarted or the configuration is reloaded, it reads the updated standard configuration file and adjusts its behavior according to the new configuration parameters.

[0046] Configuration verification: Optionally, the system can implement some basic configuration verification mechanisms, such as checking whether necessary configuration items have been correctly set and whether parameter values ​​are within the valid range, to ensure the rationality of the configuration and the stable operation of the software.

[0047] In one embodiment of the present invention, a program is constructed, and after starting, a general browser is used to access the program's entry page. After entering the business system for the first time, a prompt will be displayed to select the Nginx on the host to be configured (the host running the configuration program end) and the absolute path of the Nginx configuration file. If these two configurations are correct, the program will enter the next configuration page.

[0048] The configuration page is based on the demand, and displays the demand selection box in a friendly way to guide users to select the required scenario. The list to be selected includes using the program as a Web server, reverse proxy server, load balancer, mail proxy server, security enhancement server, etc. Users select the function to be configured according to current needs and enter the corresponding secondary configuration page. The secondary configuration page contains specific configuration information required for the current needs. If the user chooses to use the Nginx program as a static website server, the secondary page will display some configuration properties of the Nginx program when it is used as a static website service page, including but not limited to the port number open to the outside world, the protocol to be used (Http or Https, and when the user chooses to use Https, it will be mandatory to select the certificate and private key), and the directory of the website; if it is selected as a reverse proxy, the secondary configuration page will have a visual selection distribution to the target server to fill in the entrance, and there is also a button to detect whether the target server is reachable in the filling position, which can prevent users from filling in the wrong server and port; when used as a forward proxy, the secondary configuration page will also have the target IP and port to be proxied, and has the ability to detect whether the target IP and port are reachable in one click.

[0049] In summary, the visual configuration of this program in various scenarios can greatly reduce the usage threshold of configuring Nginx and improve configuration efficiency.

[0050] At the same time, to ensure safety, after the configuration is completed according to the configuration wizard, that is, after the user completes the configuration on the second-level page described above, the program will enter the third-level page, which will prompt that the program will automatically exit within 2 minutes to ensure that the program is not configured by anyone other than the current user as much as possible. Subsequent use of the program requires additional re-execution of the script to start the program. At the same time, there is also a button to continue configuration and a command instruction to start the program again on this page, taking into account both safety and convenience.

[0051] The program is a Springboot project and its operation depends on JRE. Since the Java runtime environment has cross-platform properties, this program can theoretically achieve cross-platform effects and can be run on Windows, Linux, and MacOS systems to configure the Nginx program in the above systems (Linux and MacOS are recommended to run as root users to avoid permission issues). The purpose of the program is to modify the Nginx configuration file in a targeted manner according to the user's goal. In addition, the program has the function of calling the syntax check of the Nginx program itself, which can maximize the correctness of the configuration once.

[0052] There will be a new configuration wizard on the configuration page, which can support the configuration of multiple proxy rules. The wizard (which can be closed) will prompt the user which local port they want to use for listening and what effect they want to achieve by accessing the local port. For example, the current business needs to access port 80 of the host local address through a browser to achieve the effect of accessing http: / / www.aaa.com. The wizard provides relevant visual configuration operations and then writes the corresponding rules into the Nginx configuration file. If the user chooses to configure http, the program will subsequently write the information of the nginx configuration file into the configuration file. And ensure that the configuration file only contains valid configuration information.

[0053] However, there are some special usage scenarios that are not limited to the Http protocol used for browser access, such as UDP protocol, Https protocol, etc. The wizard can also make corresponding reference prompts. Under the visual operation configuration, use other related configuration parameters supported by Nginx to configure parameters to achieve the purpose of correctly accessing the corresponding port.

[0054] At the same time, the system also supports configuration restoration. The system will back up the original configuration file after the first run, and can be restored with one click on the system configuration page whenever needed.

[0055] In some embodiments, the software visualization configuration system may include multiple functional modules composed of computer program segments. The computer programs of each program segment in the software visualization configuration system may be stored in a memory of a computer device and executed by at least one processor to perform (see Figure 1 Description) Function of software visualization configuration.

[0056] In this embodiment, the software visualization configuration system can be divided into multiple functional modules according to the functions it performs, such as Figure 2 As shown. The functional modules of the system 200 may include: a configuration parsing module 210, an interface building module 220, a variable filling module 230 and a configuration updating module 240. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0057] A configuration parsing module is used to parse standard configuration files corresponding to various functions of the software, and mark parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options; An interface construction module, used to generate a primary configuration interface containing multiple function selection items based on multiple functions, and to generate a secondary configuration interface based on variable options of a corresponding configuration file, and to set a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface; A variable filling module is used to obtain the variable values ​​in the secondary configuration interface and fill the variable values ​​into the corresponding standard configuration file; The configuration update module is used to update the filled standard configuration file to the configuration file storage path of the software.

[0058] Optionally, as an embodiment of the present invention, the configuration parsing module includes: A configuration analysis unit, used to analyze the configuration scheme corresponding to each function of the software, wherein the configuration scheme includes fixed parameter items and corresponding fixed parameter values, and non-fixed parameter items and corresponding optional ranges of parameter values; The file generating unit is used to save the configuration scheme corresponding to the function as a standard configuration file bound to the function.

[0059] Optionally, as an embodiment of the present invention, the interface construction module includes: A first creation unit is used to create a first-level configuration interface, and create corresponding function selection items for multiple functions in the first-level configuration interface; A second creation unit is used to create associated subordinate interfaces for the plurality of function selection items respectively, and to construct variable options and a drop-down box in the subordinate interfaces, wherein the variable options correspond to the non-fixed parameter items of the standard configuration file corresponding to the upper-level function selection items, and the drop-down box contains a parameter value optional range of the corresponding non-fixed parameter items; A trigger setting unit, used to set a click event of a function selection item as a trigger event for displaying an associated subordinate interface; The level setting unit is used to set the subordinate interfaces associated with multiple function selection items as secondary configuration interfaces.

[0060] Optionally, as an embodiment of the present invention, the variable filling module includes: The command receiving unit is used to receive the configuration completion command of the secondary configuration interface and enter the waiting interface; The variable extraction unit is used to extract the variable value of the window corresponding to each variable option of the secondary configuration interface; The variable filling unit is used to fill the variable value corresponding to each variable option into the corresponding standard configuration file.

[0061] Figure 3 The present invention provides a schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention. The terminal 300 can be used to execute the software visualization configuration method provided in an embodiment of the present invention.

[0062] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0063] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0064] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0065] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0066] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0067] Therefore, the present invention can reduce the difficulty of configuration operation of multifunctional software and improve configuration efficiency. At the same time, the configuration file can be configured by a wizard according to the user. The function of the multifunctional software can be maximized for users of any level. The technical effects that can be achieved by this embodiment can be referred to the description above and will not be repeated here.

[0068] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.

[0069] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0070] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or modules, which can be electrical, mechanical or other forms.

[0071] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0072] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0073] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A software visualization configuration method, It is characterized in that include: Parsing standard configuration files corresponding to various functions of the software, and marking parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options; Generate a primary configuration interface containing multiple function selection items based on multiple functions, generate a secondary configuration interface based on variable options of corresponding configuration files, and set a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface; Obtain variable values ​​in the secondary configuration interface, and fill the variable values ​​into the corresponding standard configuration file; Update the filled standard configuration file to the configuration file storage path of the software.

2. The method according to claim 1, It is characterized in that Parsing standard configuration files corresponding to various functions of the software, and marking parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options, including: The configuration scheme corresponding to each function of the analysis software includes fixed parameter items and corresponding fixed parameter values, and non-fixed parameter items and corresponding optional ranges of parameter values; Save the configuration scheme corresponding to the function as a standard configuration file bound to the function.

3. The method according to claim 2, It is characterized in that A primary configuration interface including multiple function selection items is generated based on multiple functions, and a secondary configuration interface is generated based on the variable options of the corresponding configuration file. The click event of the function selection item is set as the trigger event for entering the corresponding secondary configuration interface, including: Create a first-level configuration interface, and create corresponding function selection items for multiple functions in the first-level configuration interface; Creating associated subordinate interfaces for multiple function selection items respectively, constructing variable options and drop-down boxes in the subordinate interfaces, wherein the variable options correspond to non-fixed parameter items of the standard configuration file corresponding to the upper-level function selection items, and the drop-down boxes contain parameter value optional ranges of the corresponding non-fixed parameter items; Set the click event of the function selection item as the trigger event for displaying the associated subordinate interface; The subordinate interfaces associated with multiple function selection items are all set as secondary configuration interfaces.

4. The method according to claim 1, It is characterized in that Obtain the variable values ​​in the secondary configuration interface and fill the variable values ​​into the corresponding standard configuration file, including: Receive the configuration completion instruction from the secondary configuration interface and enter the waiting interface; Extract the variable values ​​of the window corresponding to each variable option in the secondary configuration interface; Fill the variable values ​​corresponding to each variable option into the corresponding standard configuration file.

5. A software visual configuration system, It is characterized in that include: A configuration parsing module is used to parse standard configuration files corresponding to various functions of the software, and mark parameter items corresponding to non-fixed parameter values ​​in the standard configuration files as variable options; An interface construction module, used to generate a primary configuration interface containing multiple function selection items based on multiple functions, and to generate a secondary configuration interface based on variable options of a corresponding configuration file, and to set a click event of a function selection item as a trigger event for entering the corresponding secondary configuration interface; A variable filling module is used to obtain the variable values ​​in the secondary configuration interface and fill the variable values ​​into the corresponding standard configuration file; The configuration update module is used to update the filled standard configuration file to the configuration file storage path of the software.

6. The system according to claim 5, It is characterized in that The configuration parsing module includes: A configuration analysis unit, used to analyze the configuration scheme corresponding to each function of the software, wherein the configuration scheme includes fixed parameter items and corresponding fixed parameter values, and non-fixed parameter items and corresponding optional ranges of parameter values; The file generating unit is used to save the configuration scheme corresponding to the function as a standard configuration file bound to the function.

7. The system according to claim 6, It is characterized in that The interface building module includes: A first creation unit is used to create a first-level configuration interface, and create corresponding function selection items for multiple functions in the first-level configuration interface; A second creation unit is used to create associated subordinate interfaces for the plurality of function selection items respectively, and to construct variable options and a drop-down box in the subordinate interfaces, wherein the variable options correspond to the non-fixed parameter items of the standard configuration file corresponding to the upper-level function selection items, and the drop-down box contains a parameter value optional range of the corresponding non-fixed parameter items; A trigger setting unit, used to set a click event of a function selection item as a trigger event for displaying an associated subordinate interface; The level setting unit is used to set the subordinate interfaces associated with multiple function selection items as secondary configuration interfaces.

8. The system according to claim 5, It is characterized in that The variable filling module includes: The command receiving unit is used to receive the configuration completion command of the secondary configuration interface and enter the waiting interface; The variable extraction unit is used to extract the variable value of the window corresponding to each variable option of the secondary configuration interface; The variable filling unit is used to fill the variable value corresponding to each variable option into the corresponding standard configuration file.

9. A terminal, It is characterized in that include: A memory, used for storing a software visualization configuration program; A processor is used to implement the steps of the software visualization configuration method as described in any one of claims 1 to 4 when executing the software visualization configuration program.

10. A computer-readable storage medium storing a computer program, It is characterized in that The readable storage medium stores a software visualization configuration program, and when the software visualization configuration program is executed by the processor, the steps of the software visualization configuration method according to any one of claims 1 to 4 are implemented.