Parameter management method and device, computer device, storage medium and program product
By establishing configuration templates and preset functional modules for the parameter management page, the problem of high resource consumption in parameter page development and maintenance was solved, and efficient parameter management was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI GEWU ZHIYUAN NETWORK TECH CO LTD
- Filing Date
- 2024-12-05
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, the development and maintenance of parameter pages require a large amount of R&D resources, resulting in low efficiency and failing to meet the needs of page development and maintenance.
By creating a management page corresponding to the parameters to be configured, determining the matching configuration template, importing configuration data, and rendering the management page using preset functional modules, the management of the configured parameters can be realized.
It reduces the development investment in parameter management pages, lowers the development threshold, improves parameter maintenance efficiency, and meets users' page development and maintenance needs.
Smart Images

Figure CN122152383A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, specifically to parameter management methods, apparatus, computer equipment, storage media, and program products. Background Technology
[0002] In configuration schemes for relevant page parameters, a separate page is typically developed for each parameter through a parameter system. Specifically, the parameter system can maintain the parameter pages corresponding to each parameter. For example, users can delete, add, or modify parameter values on the parameter pages through the parameter system.
[0003] Then, when managing parameters in the parameter system, such as adding a new parameter or adding a dimension to an existing parameter page, it often requires front-end and back-end developers to invest development resources in the new parameter page, which is very resource-intensive and results in low parameter maintenance efficiency, failing to meet the needs of page development and maintenance. Summary of the Invention
[0004] In view of this, the present disclosure provides a parameter management method, apparatus, computer equipment, storage medium and program product to solve the problems of high development and research resource consumption and low parameter maintenance efficiency of parameter page development.
[0005] Firstly, this disclosure provides a parameter management method, which includes:
[0006] Create the management page to be rendered corresponding to the parameters to be configured, and determine the configuration template that matches the parameter type of the parameters to be configured;
[0007] Import the configuration data corresponding to the parameter to be configured based on the configuration template to obtain the configured parameter. The configuration data is used to indicate at least one dimension of the parameter to be configured and the corresponding parameter value.
[0008] The management page is rendered based on preset function modules and configured parameters, so that the configured parameters can be managed based on the management page. The preset function modules are used to implement the preset functions in the management page.
[0009] Secondly, this disclosure provides a parameter management device, which includes:
[0010] The determination module is used to create the management page to be rendered corresponding to the parameters to be configured, and to determine the configuration template that matches the parameter type of the parameters to be configured.
[0011] The import module is used to import the configuration data corresponding to the parameters to be configured based on the configuration template, and obtain the configured parameters. The configuration data is used to indicate at least one dimension of the parameter to be configured and its corresponding parameter value.
[0012] The management module is used to render the management page based on preset function modules and configured parameters, so as to manage the configured parameters based on the management page. The preset function modules are used to implement the preset functions in the management page.
[0013] Thirdly, this disclosure provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the parameter management method of the first aspect or any corresponding embodiment described above.
[0014] Fourthly, this disclosure provides a computer-readable storage medium storing computer instructions for causing a computer to execute the parameter management method of the first aspect or any corresponding embodiment described above.
[0015] Fifthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the parameter management method described in the first aspect or any corresponding embodiment thereof.
[0016] In this embodiment, a management page to be rendered corresponding to the parameter to be configured can first be established, and a configuration template matching the parameter type of the parameter to be configured can be determined. Next, configuration data corresponding to the parameter to be configured can be imported based on the configuration template to obtain the configured parameter. The configuration data indicates at least one dimension of the parameter to be configured and its corresponding parameter value. Then, the management page can be rendered based on preset functional modules and the configured parameter to manage the configured parameter. The preset functional modules implement preset functions in the management page, thereby reducing the R&D resources invested in developing the parameter management page, lowering the development threshold of the management page, and improving parameter maintenance efficiency to better meet the user's page development and maintenance needs. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating a parameter management method according to an embodiment of the present disclosure;
[0019] Figure 2 This is a schematic diagram illustrating product parameter management based on an operating platform according to an embodiment of this disclosure;
[0020] Figure 3 This is a schematic diagram of a management page to be rendered according to an embodiment of this disclosure;
[0021] Figure 4 This is a schematic diagram of a management page according to an embodiment of this disclosure;
[0022] Figure 5 This is a schematic diagram illustrating the generation of metadata according to an embodiment of this disclosure;
[0023] Figure 6 This is a flowchart illustrating the rendering management page according to an embodiment of the present disclosure;
[0024] Figure 7 This is a flowchart illustrating the acquisition of parameter values according to embodiments of the present disclosure;
[0025] Figure 8 This is a structural block diagram of a parameter management device according to an embodiment of the present disclosure;
[0026] Figure 9 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present disclosure. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0028] The application scenarios on which the parameter management method depends are described here.
[0029] In configuration schemes for relevant page parameters, a separate page is typically developed for each parameter through a parameter system. Specifically, the parameter system can maintain the parameter pages corresponding to each parameter. For example, users can delete, add, or modify parameter values on the parameter pages through the parameter system.
[0030] Then, when managing parameters in the parameter system, such as adding a new parameter or adding a dimension to an existing parameter page, it often requires front-end and back-end developers to invest development resources in the new parameter page, which is very resource-intensive and results in low parameter maintenance efficiency, failing to meet the needs of page development and maintenance.
[0031] Based on this, this disclosure provides a parameter management method. First, a management page to be rendered corresponding to the parameter to be configured can be established, and a configuration template matching the parameter type of the parameter to be configured can be determined. Next, configuration data corresponding to the parameter to be configured can be imported based on the configuration template to obtain the configured parameter. The configuration data indicates at least one dimension of the parameter to be configured and its corresponding parameter value. Then, the management page can be rendered based on preset functional modules and the configured parameter to manage the configured parameter. The preset functional modules implement preset functions in the management page, thereby reducing the R&D resources invested in developing the parameter management page, lowering the development threshold of the management page, and improving parameter maintenance efficiency to better meet users' page development and maintenance needs.
[0032] According to an embodiment of this disclosure, a parameter management method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0033] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0034] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0035] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0037] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0038] According to an embodiment of this disclosure, a parameter management method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0039] This embodiment provides a parameter management method that can be used in computer devices. Figure 1 This is a flowchart of a parameter management method according to an embodiment of the present disclosure, such as... Figure 1 As shown, the process includes the following steps:
[0040] Step S101: Establish the management page to be rendered corresponding to the parameter to be configured, and determine the configuration template that matches the parameter type of the parameter to be configured.
[0041] In this embodiment of the disclosure, product parameter management can be carried out based on the operation platform. Specifically, a management page corresponding to each parameter can be established first, so that users can manage parameters based on the management page, such as parameter query, update, deletion, invalidation, operation log management, etc.
[0042] like Figure 2 The diagram illustrates product parameter management based on an operations platform. Firstly, parameters can be established in the parameter system as follows: Figure 3 The management page to be rendered is shown, and the parameters to be configured are obtained based on the parameter system.
[0043] For example, in the context of supply chain configuration, the parameters to be configured may include: replenishment days, sales calculation cycle, safety stock, whether replenishment is possible, minimum order quantity, replenishment frequency, shipper delivery time, hubfc delivery time, warehouse accessibility, in-transit inventory weight, upper and lower limits of allocation capacity, parameter priority, etc.
[0044] Here, considering that different parameter types may correspond to different dimensions, a corresponding configuration template can be pre-set for each parameter type. This configuration template can be a configuration table with different numbers of rows and columns, which can then display the dimension instances and parameter values of the parameter to be configured. Specifically, when retrieving the configuration template, the configuration template corresponding to the parameter to be configured can be imported based on the Upload identifier in the management page.
[0045] Step S102: Import the configuration data corresponding to the parameter to be configured based on the configuration template to obtain the configured parameter. The configuration data is used to indicate at least one dimension of the parameter to be configured and its corresponding parameter value.
[0046] In this embodiment of the disclosure, the configuration template may include a dimension column and a parameter column. The dimension column can be used to import dimension instances of parameters to be configured, and the parameter column can be used to import parameter values corresponding to each dimension instance. Specifically, dimension instances can be generated based on the dimensions contained in the configuration data, and the parameter values corresponding to the dimension instances in the configuration data can be imported into the parameter column.
[0047] For example, dimensions can include: owner dimension, product dimension, warehouse dimension, owner-product dimension, owner-warehouse dimension, product-warehouse dimension, product-product tag dimension, first-level category-warehouse dimension, product tag dimension, global dimension, etc., where each dimension can correspond to at least one dimension instance. For example, the product dimension can correspond to source dimension instances, region dimension instances, replenishment days dimension instances, etc.
[0048] Step S103: Render the management page based on the preset function modules and the configured parameters, so as to manage the configured parameters based on the management page, wherein the preset function modules are used to implement the preset functions in the management page.
[0049] In the embodiments disclosed herein, such as Figure 4 The image shown is a schematic diagram of the management page, where the preset functional modules are... Figure 4 Modules 1-7 are included. Here, when rendering based on preset functional modules, the configuration list corresponding to the configured parameters can be rendered into modules 6 and 7.
[0050] Here, the configuration list above can include an operation column, which can contain the management operations supported by the corresponding dimension instance, such as edit, disable, delete, etc. Based on this, management operations can be performed on the dimension instances in the configured parameters based on the operation column, thereby realizing the management of the configured parameters.
[0051] As described above, in this embodiment, a management page to be rendered corresponding to the parameter to be configured can first be established, and a configuration template matching the parameter type of the parameter to be configured can be determined. Next, configuration data corresponding to the parameter to be configured can be imported based on the configuration template to obtain the configured parameter. The configuration data indicates at least one dimension of the parameter to be configured and its corresponding parameter value. Then, the management page can be rendered based on preset functional modules and the configured parameter to manage the configured parameter. The preset functional modules implement preset functions in the management page, thereby reducing the R&D resources invested in developing the parameter management page, lowering the development threshold of the management page, and improving parameter maintenance efficiency to better meet the user's page development and maintenance needs.
[0052] In some optional implementations, step S102 above, which imports the configuration data corresponding to the parameter to be configured based on the configuration template to obtain the configured parameter, includes:
[0053] Step S1021: Obtain a data table containing configuration data.
[0054] Step S1022: Fill the target area of the configuration list in the configuration template based on the data table, and fill the non-target area of the configuration list by column based on the data table to obtain the configured parameters. The target area includes the column names of the dimension column and the parameter column.
[0055] In this embodiment of the disclosure, the target area can be the header of the data table, and the non-target area can be the body of the data table. Here, the data table can be pre-established based on the configuration data of the parameters to be configured. The data table can be an Excel spreadsheet, which can contain the names of each dimension of the parameters to be configured and the parameter values corresponding to each dimension.
[0056] Next, you can populate the configuration list in the configuration template based on the Excel sheet mentioned above. Specifically, you can first populate the names of the dimension columns and parameter columns in the header of the Excel sheet. The dimension column name can be the name of the dimension corresponding to the parameter to be configured, and the parameter column name can be the name of the parameter value corresponding to that dimension.
[0057] For example, such as Figure 4 As shown, when the parameter to be configured is "target replenishment days", one dimension corresponding to this parameter can be the product dimension. Then, the name of the dimension column corresponding to the product dimension can be "product information". The parameter column corresponding to this dimension can be the target replenishment days. Then, the name of the parameter column corresponding to this parameter column can be "target replenishment days".
[0058] It should be understood that, in addition to dimension and parameter columns, the target area may also include other data columns. These other data columns can be the default configuration or specific configurations set in the aforementioned data table. Therefore, when populating the target area of the configuration list, the names of each data column in the target area can be filled in based on the data table.
[0059] Here, the data column may include at least one of the following: status column, creation time column, update time column, and operation column, wherein the status column is used to indicate the real-time status of the dimension instance, the creation time column is used to indicate the creation time of the dimension instance, the update time column is used to indicate the update time of the dimension instance, and the operation column is used to indicate the management operation types supported by the dimension instance.
[0060] Specifically, the status column can be Figure 4 In the Status column, the creation time column can be... Figure 4 The Create Time and Update Time columns can be... Figure 4 In the Update Time column, the operation column can be... Figure 4 The Action in the data. Additionally, the above data columns may also include an operator column, i.e. Figure 4 The Operator in the context can be used to instruct the operator corresponding to the dimension instance.
[0061] Next, step S1022 can be performed above. Based on the data table, the non-target area of the configuration list is filled by column to obtain the configured parameters. This step S1022 includes:
[0062] Step a1: Based on the dimension data in the data table, generate dimension instances corresponding to the dimension columns.
[0063] Step a2: Populate the dimension column based on the dimension instance, and populate the parameter column based on the parameter value corresponding to the dimension instance in the data table to obtain the configured parameters.
[0064] In this embodiment of the disclosure, the dimension data may include the name of the dimension instance and the parameter value corresponding to each dimension instance. When populating the non-target area of the configuration list, the dimension instances can be sequentially filled into the dimension column, and the parameter column can be filled with the parameter value corresponding to each dimension instance.
[0065] Here Figure 4 Taking the dimension instance cardigan Default as an example, when populating the parameter column corresponding to this dimension instance, the parameter value 17 corresponding to this dimension instance can be filled into the corresponding position.
[0066] In this embodiment of the disclosure, configuration data is entered into a data table, and the configuration template in the management page is populated based on the data table to obtain the configured parameters. The configured parameters are then displayed through the configuration template, thereby eliminating the need for page coding on the backend and reducing the development difficulty of the management page.
[0067] In some alternative implementations, the above Figure 1 Corresponding embodiments also include:
[0068] Step S11: Concatenate the column values of each dimension in the configured parameters with the corresponding parameter values to obtain the metadata corresponding to the configured parameters.
[0069] Step S12: Obtain the scene code and dimension code corresponding to the configured parameters, establish the association between the scene code and dimension code and the metadata, and store the metadata in the corresponding storage location.
[0070] In this embodiment of the disclosure, each field in the configured parameters can be defined as metadata. Specifically, it can be described in units of columns in the configuration list of the configured parameters to obtain the metadata corresponding to each field in the column.
[0071] It should be understood that metadata can be laid out flat in the database using a row-to-column conversion method, storing the corresponding key-value pairs. When saving, dimension columns can be concatenated according to a fixed (key:value) format to generate dimension instances, which are then stored in the database.
[0072] Here, you can obtain the scenario code for the use case corresponding to the parameter to be configured, as well as the dimension code for each dimension instance in the parameter to be configured. Then, you can establish the association between the scenario code and the dimension code and the metadata, so that when querying parameters, you can quickly locate the corresponding parameter value based on the scenario code and the dimension code.
[0073] Specifically, such as Figure 5 The diagram illustrates the generation of metadata. Metadata for each field can be abstracted from configuration information and business information based on configured parameters. Here, configuration information can include target region data from the configuration list, business information can include non-target region data from the configuration list, and metadata can include metadata name, metadata encoding, parameter type, and metadata description.
[0074] In this embodiment of the disclosure, dimension columns can be concatenated according to a fixed (key:value) format to generate dimension instances, which are then stored in the database. This allows dimension instances to be generated based on query conditions during a query, thereby quickly locating the corresponding parameter values.
[0075] In some alternative implementations, after a rendering instruction is detected, the above... Figure 1 Corresponding embodiments also include:
[0076] Step S21: Determine the target configuration parameters corresponding to the scene indicated by the rendering command.
[0077] Step S22: Obtain the metadata corresponding to the target configuration parameters, and convert the metadata format to obtain the configured parameters.
[0078] Step S23: Return the configured parameters and render the management page corresponding to the target configuration parameters based on the configured parameters.
[0079] In the embodiments disclosed herein, such as Figure 6 The diagram shows the process of rendering the management page. Users can first enter the configuration page of the aforementioned operation platform and select the management page they want to configure. Then, the backend can query the related scenarios based on the page code of the management page, query all dimensions corresponding to the scenario, and return the page information so that the frontend can render the management page based on the page information.
[0080] Next, in step S22 above, the metadata corresponding to the target configuration parameters is obtained, including:
[0081] Step b1: Obtain the scene code corresponding to the scene and the dimension code corresponding to the target configuration parameters.
[0082] Step b2: Obtain the metadata that matches the scene encoding and dimension encoding, and combine the metadata in sequence according to the arrangement order indicated by the scene encoding to obtain the metadata corresponding to the target configuration parameters.
[0083] In this embodiment of the disclosure, after detecting a scene selected by the user, the target configuration parameters corresponding to that scene can be obtained, along with the scene code and the dimension code corresponding to the target configuration parameters. Then, the metadata of the dimension column and parameter column corresponding to the scene code and dimension code can be queried, and the positions of each metadata element are sorted according to the field order of the scene configuration to combine the header (table header, i.e., the aforementioned target area) of the configuration list. Simultaneously, the specific values of the corresponding dimension instances and parameter instances can be queried using search conditions to form the content (table body, i.e., the aforementioned non-target area).
[0084] In this embodiment of the disclosure, after determining the header and content, the header and content can be returned to the front end so that the front end can render the configuration list in the management page according to the header and content. This allows the front end to find the data of the entire configuration list based on the header, so that the front end can directly render the list page content according to the header and content values in the interface, thereby achieving the effect of dynamic rendering without having to explicitly define the list fields.
[0085] In some optional implementations, step S103 above, based on preset functional modules and configured parameters, renders the management page, including:
[0086] Step S1031: Obtain preset functional modules, wherein the preset functional modules include at least one of the following: page belonging module, parameter type module, dimension module, and template module, wherein the page belonging module is used to configure the belonging page corresponding to the parameter to be configured, the parameter type module is used to configure the parameter type of the parameter to be configured, the dimension module is used to display at least one dimension of the parameter to be configured, and the template module is used to display the configuration template after importing the configuration data.
[0087] Step S1032: Based on the display position corresponding to the preset functional module, render the preset functional module to the management page, and render the configured parameters to the corresponding preset functional module.
[0088] In this embodiment of the disclosure, the page ownership module is... Figure 4 Module 1 in the module, the parameter type module is... Figure 4 Module 2, the dimension module, is... Figure 4 Module 3 in the document specifies that the target replenishment days parameter corresponds to dimensions including goods, merchant, and warehouse (FC). Figure 4 The current display shows the cargo dimension. Additionally, the template modules include module 6 (header) and module 7 (content) as shown in the diagram.
[0089] It should be understood that the preset functional modules may also include Figure 4 Module 5 in the document includes an upload identifier and a search identifier. The upload identifier is used to import configuration templates, and the search identifier is used to query the parameter values of configured parameters.
[0090] It should be understood that the preset functional modules include, but are not limited to, modules 1-7 mentioned above. When building the management page, users can select from all supported preset functional modules. The operation platform can render the preset functional modules to the corresponding display positions according to the user's selection results to achieve the rendering of the management page.
[0091] In some alternative implementations, the above Figure 1 Corresponding embodiments also include:
[0092] When multiple dimensions are configured, the priority of each dimension is set. The priority is used to indicate the priority of returning parameter values in response to parameter retrieval requests.
[0093] In this embodiment, different planning modules may invoke the configured parameters. For example, when the configured parameters correspond to a supply chain scenario, the planning modules may include a warehousing module, a replenishment module, etc. Therefore, a unified parameter query interface can be developed for the planning modules, without the need to customize an interface for each planning module separately.
[0094] Specifically, after the parameters are configured, the business system can match the parameter of the highest priority dimension according to the query conditions. For example, when the configured parameter indicated by the query conditions corresponds to multiple dimensions, the returned query result can be the parameter value corresponding to the highest priority dimension.
[0095] Here, the parameter query interface was designed with versatility in mind. When a new parameter query scenario arises, the planning module needs to confirm the query parameter code and the key value in the query conditions queryParams in advance. The condition key is the dimension key configured in the parameter configuration. Furthermore, the parameter query interface supports batch queries and can use coroutines to support concurrent parameter retrieval.
[0096] Specifically, such as Figure 7 The flowchart shown is for obtaining parameter values. First, the scenario can be matched by parameter encoding to determine if the scenario exists. If it does, the configured parameters corresponding to the scenario are obtained, and all dimensions corresponding to the configured parameters are obtained. If not, the call fails.
[0097] Next, the highest priority dimension can be matched using the queryParams condition, and a dimension instance can be generated. Then, the parameter instance (i.e., parameter value) corresponding to the dimension instance can be queried to determine if the parameter instance exists. If it does, the parameter instance is returned; otherwise, the call fails.
[0098] In summary, in this embodiment, firstly, a management page to be rendered corresponding to the parameter to be configured can be established, and a configuration template matching the parameter type of the parameter to be configured can be determined. Next, configuration data corresponding to the parameter to be configured can be imported based on the configuration template to obtain the configured parameter, wherein the configuration data is used to indicate at least one dimension of the parameter to be configured and its corresponding parameter value. Then, the management page can be rendered based on preset functional modules and the configured parameter to manage the configured parameter. The preset functional modules are used to implement preset functions in the management page, thereby reducing the R&D resources invested in developing the parameter management page, lowering the development threshold of the management page, and improving parameter maintenance efficiency to better meet the user's page development and maintenance needs.
[0099] This embodiment also provides a parameter management device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0100] This embodiment provides a parameter management device, such as... Figure 8 As shown, it includes:
[0101] Module 801 is used to create the management page to be rendered corresponding to the parameter to be configured, and to determine the configuration template that matches the parameter type of the parameter to be configured.
[0102] Import module 802 is used to import configuration data corresponding to the parameter to be configured based on the configuration template to obtain the configured parameter. The configuration data is used to indicate at least one dimension of the parameter to be configured and its corresponding parameter value.
[0103] The management module 803 is used to render a management page based on preset function modules and configured parameters, so as to manage the configured parameters based on the management page. The preset function modules are used to implement the preset functions in the management page.
[0104] In some alternative implementations, import module 802 is further configured to:
[0105] Retrieve the data table containing the configuration data;
[0106] The configuration list in the configuration template is populated based on the data table, and the non-target areas of the configuration list are populated by column based on the data table to obtain the configured parameters. The target area includes the column names of the dimension column and the parameter column.
[0107] In some alternative implementations, import module 802 is further configured to:
[0108] Based on the dimension data in the data table, generate dimension instances corresponding to the dimension columns;
[0109] Populate the dimension column based on the dimension instance, and populate the parameter column based on the parameter value corresponding to the dimension instance in the data table to obtain the configured parameters.
[0110] In some alternative implementations, import module 802 is further configured to:
[0111] Based on the data table, populate the names of each data column in the target area of the configuration column. The data columns include at least one of the following: status column, creation time column, update time column, and operation column. The status column is used to indicate the real-time status of the dimension instance, the creation time column is used to indicate the creation time of the dimension instance, the update time column is used to indicate the update time of the dimension instance, and the operation column is used to indicate the management operation types supported by the dimension instance.
[0112] In some alternative implementations, the device is also used for:
[0113] When multiple dimensions are configured, the priority of each dimension is set. The priority is used to indicate the priority of returning parameter values in response to parameter retrieval requests.
[0114] In some alternative implementations, the device is also used for:
[0115] By concatenating the columns of each dimension in the configured parameters with the corresponding parameter values, the metadata corresponding to the configured parameters can be obtained.
[0116] Obtain the scene code and dimension code corresponding to the configured parameters, establish the association between the scene code and dimension code and the metadata, and store the metadata in the corresponding storage location.
[0117] In some alternative implementations, the device is also used for:
[0118] After detecting the rendering command, determine the target configuration parameters corresponding to the scene indicated by the rendering command;
[0119] Obtain the metadata corresponding to the target configuration parameters, and convert the metadata format to obtain the configured parameters;
[0120] Returns the configured parameters and renders the management page corresponding to the target configuration parameters based on the configured parameters.
[0121] In some alternative implementations, the device is also used for:
[0122] Obtain the scene code corresponding to the scene and the dimension code corresponding to the target configuration parameters;
[0123] Obtain metadata that matches the scene encoding and dimension encoding, and combine the metadata in sequence according to the arrangement order indicated by the scene encoding to obtain the metadata corresponding to the target configuration parameters.
[0124] In some alternative implementations, the management module 803 is further configured to:
[0125] Get preset functional modules, wherein the preset functional modules include at least one of the following: page belonging module, parameter type module, dimension module and template module, wherein the page belonging module is used to configure the belonging page corresponding to the parameter to be configured, the parameter type module is used to configure the parameter type of the parameter to be configured, the dimension module is used to display at least one dimension of the parameter to be configured, and the template module is used to display the configuration template after importing configuration data.
[0126] Based on the display location of the preset functional modules, the preset functional modules are rendered to the management page, and the configured parameters are rendered to the corresponding preset functional modules.
[0127] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0128] In this embodiment, the parameter management device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0129] This disclosure also provides a computer device having the above-described features. Figure 8 The parameter management device shown.
[0130] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of this disclosure, such as... Figure 9As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 9 Take a processor 10 as an example.
[0131] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0132] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0133] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0134] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0135] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0136] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium after being downloaded over a network. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium may be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0137] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0138] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0139] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0140] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0141] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0142] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations fall within the scope defined by the appended specification.
Claims
1. A parameter management method, characterized in that, The method includes: Establish the management page to be rendered corresponding to the parameter to be configured, and determine the configuration template that matches the parameter type of the parameter to be configured; Based on the configuration template, the configuration data corresponding to the parameter to be configured is imported to obtain the configured parameter, wherein the configuration data is used to indicate at least one dimension of the parameter to be configured and the corresponding parameter value; The management page is rendered based on the preset function modules and the configured parameters, so as to manage the configured parameters based on the management page. The preset function modules are used to implement the preset functions in the management page.
2. The method according to claim 1, characterized in that, The process of importing the configuration data corresponding to the parameter to be configured based on the configuration template to obtain the configured parameters includes: Obtain the data table containing the configuration data; The target area of the configuration list in the configuration template is filled based on the data table, and the non-target area of the configuration list is filled by column based on the data table to obtain the configured parameters. The target area includes the column names of the dimension column and the parameter column.
3. The method according to claim 2, characterized in that, The process of filling the non-target areas of the configuration list column-by-column based on the data table to obtain the configured parameters includes: Based on the dimension data in the data table, generate dimension instances corresponding to the dimension columns; The dimension column is populated based on the dimension instance, and the parameter column is populated based on the parameter value corresponding to the dimension instance in the data table to obtain the configured parameters.
4. The method according to claim 2, characterized in that, The process of filling the target area of the configuration list in the configuration template based on the data table includes: Based on the data table, the names corresponding to each data column in the target area of the configuration column are filled in respectively. The data column includes at least one of the following: status column, creation time column, update time column, and operation column. The status column is used to indicate the real-time status of the dimension instance, the creation time column is used to indicate the creation time of the dimension instance, the update time column is used to indicate the update time of the dimension instance, and the operation column is used to indicate the management operation types supported by the dimension instance.
5. The method according to claim 1, characterized in that, The method further includes: When the configured parameters correspond to multiple dimensions, the priority of each dimension is set, wherein the priority is used to indicate the priority of returning parameter values in response to parameter acquisition requests.
6. The method according to claim 1, characterized in that, The method further includes: By concatenating each dimension column of the configured parameters with the corresponding parameter values, the metadata corresponding to the configured parameters is obtained. Obtain the scene code and dimension code corresponding to the configured parameters, establish the association between the scene code and dimension code and the metadata, and store the metadata in the corresponding storage location.
7. The method according to claim 6, characterized in that, The method further includes: After detecting the rendering instruction, determine the target configuration parameters corresponding to the scene indicated by the rendering instruction; Obtain the metadata corresponding to the target configuration parameters, and convert the metadata to obtain the configured parameters; Return the configured parameters and render the management page corresponding to the target configuration parameters based on the configured parameters.
8. The method according to claim 7, characterized in that, The step of obtaining the metadata corresponding to the target configuration parameters includes: Obtain the scene code corresponding to the scene and the dimension code corresponding to the target configuration parameters; Obtain metadata that matches the scene code and dimension code, and combine the metadata in sequence according to the arrangement order indicated by the scene code to obtain the metadata corresponding to the target configuration parameter.
9. The method according to claim 1, characterized in that, The rendering of the management page based on preset functional modules and configured parameters includes: Obtain preset functional modules, wherein the preset functional modules include at least one of the following: page affiliation module, parameter type module, dimension module, and template module, wherein the page affiliation module is used to configure the affiliation page corresponding to the parameter to be configured, the parameter type module is used to configure the parameter type of the parameter to be configured, the dimension module is used to display at least one dimension of the parameter to be configured, and the template module is used to display the configuration template after importing configuration data. Based on the display position corresponding to the preset functional module, the preset functional module is rendered to the management page, and the configured parameters are rendered to the corresponding preset functional module.
10. A parameter management device, characterized in that, The device includes: The determination module is used to create the management page to be rendered corresponding to the parameter to be configured, and to determine the configuration template that matches the parameter type of the parameter to be configured. The import module is used to import the configuration data corresponding to the parameter to be configured based on the configuration template to obtain the configured parameter, wherein the configuration data is used to indicate at least one dimension of the parameter to be configured and the corresponding parameter value; The management module is used to render the management page based on the preset function modules and the configured parameters, so as to manage the configured parameters based on the management page. The preset function modules are used to implement preset functions in the management page.
11. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the parameter management method of any one of claims 1 to 9 by executing the computer instructions.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the parameter management method according to any one of claims 1 to 9.
13. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the parameter management method according to any one of claims 1 to 9.