CN112000414A - Configurable display method and device of parameter information - Google Patents
Configurable display method and device of parameter information Download PDFInfo
- Publication number
- CN112000414A CN112000414A CN202010859144.8A CN202010859144A CN112000414A CN 112000414 A CN112000414 A CN 112000414A CN 202010859144 A CN202010859144 A CN 202010859144A CN 112000414 A CN112000414 A CN 112000414A
- Authority
- CN
- China
- Prior art keywords
- parameter
- field
- configuration table
- display
- parameter field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a configurable display method and a configurable display device for parameter information, wherein the method comprises the following steps: acquiring a field name and a display attribute of a preset parameter field displayed in a page, wherein the display attribute comprises: text box display and drop-down box display; generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box; adding a standby parameter field in the first parameter configuration table to obtain a second parameter configuration table; uniformly naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table; and displaying the preset parameter field in the page according to the third parameter configuration table. The invention can realize the purpose of rapidly configuring each parameter in the system by uniformly naming the parameter field and reserving the parameter field in the parameter configuration table, and does not need to repeatedly develop the service system aiming at the newly added parameter.
Description
Technical Field
The invention relates to the field of software systems, in particular to a configurable display method and device of parameter information.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
The bank transportation and management system can set some system parameters, the number of the parameters can be increased all the time according to the business requirements, basically, each version upgrading can involve newly-added parameters, namely, each version can have repeated development actions (such as newly-added fields of a parameter table, added parameters of a page, background processing and the like).
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a configurable display method of parameter information, which is used for solving the technical problem that in the prior art, various parameters in a service system are named according to service information, and when the service system needs to be added with new parameters due to version upgrading, a plurality of system development works need to be repeatedly carried out, and the method comprises the following steps: acquiring a field name and a display attribute of a preset parameter field displayed in a page, wherein the display attribute comprises: text box display and drop-down box display; generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box; adding a standby parameter field in the first parameter configuration table to obtain a second parameter configuration table; uniformly naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table; and displaying the preset parameter field in the page according to the third parameter configuration table.
The embodiment of the invention also provides a configurable display device of parameter information, which is used for solving the technical problem that in the prior art, various parameters in a service system are named according to service information, and when the service system needs to be added with new parameters due to version upgrade, a plurality of system development works need to be repeatedly carried out, and the device comprises: the parameter information acquisition module is used for acquiring the field name and the display attribute of the preset parameter field displayed in the page, wherein the display attribute comprises: text box display and drop-down box display; the first parameter information configuration module is used for generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box; the second parameter information configuration module is used for adding a standby parameter field in the first parameter configuration table to obtain a second parameter configuration table; the third parameter information configuration module is used for uniformly naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table; and the parameter information display module is used for displaying the preset parameter field in the page according to the third parameter configuration table.
The embodiment of the invention also provides computer equipment for solving the technical problem that in the prior art, various parameters in a service system are named according to service information, and when the service system needs to be added with new parameters due to version upgrade, a plurality of system development works need to be repeatedly carried out.
The embodiment of the invention also provides a computer readable storage medium, which is used for solving the technical problem that in the prior art, various parameters in a service system are named according to service information, and when the service system needs to be added with new parameters due to version upgrading, a plurality of system development works need to be repeatedly carried out.
In the embodiment of the invention, after the field name and the display attribute of the preset parameter field displayed in the page are obtained, a first parameter configuration table is generated according to the field name and the drop-down box option name of the preset parameter field, a standby parameter field is further added in the first parameter configuration table to obtain a second parameter configuration table, the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table are named uniformly to obtain a third parameter configuration table, and finally the preset parameter field is displayed in the page according to the third parameter configuration table. And the service system does not need to be repeatedly developed aiming at the newly added parameters.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart of a configurable display method for parameter information according to an embodiment of the present invention;
fig. 2 is a schematic view of a parameter display interface provided in an embodiment of the present invention;
FIG. 3 is a schematic view of another parameter display interface provided in an embodiment of the present invention;
FIG. 4 is a schematic diagram of a configurable display device for parameter information according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The embodiment of the invention provides a configurable display method of parameter information, which can realize the dynamic increase of system parameters by configuration by reserving partial spare parameter fields in a parameter configuration table and naming the parameter fields of the parameter configuration table by using the names of the general fields.
Fig. 1 is a flowchart of a configurable display method for parameter information according to an embodiment of the present invention, as shown in fig. 1, the method may include the following steps:
s101, acquiring a field name and a display attribute of a preset parameter field displayed in a page, wherein the display attribute comprises: a text box display and a drop-down box display.
It should be noted that the preset parameter field in S101 may be a parameter field currently existing in the service system, and the field names displayed in the parameter fields in the page are often named according to the service information.
For the parameter field displayed by the text box, only the field name of the parameter field and the corresponding text box need to be displayed on the page; for the parameter field displayed by the drop-down box, the field name of the parameter field and the corresponding text box are displayed on the page, and the sub-parameter fields contained in the parameter field are also displayed in the form of drop-down box options.
The configurable display method of the parameter information provided by the embodiment of the invention can determine the parameter field displayed on the page in a configurable mode; and the parameter fields of the drop-down box options corresponding to all the parameter fields displayed on the page can be determined in a configurable mode.
S102, generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box.
In specific implementation, after the field names and the drop-down box option names of the parameter fields in the service system are obtained, a parameter configuration table including the parameter fields and the drop-down box options can be generated.
S103, adding a spare parameter field in the first parameter configuration table to obtain a second parameter configuration table.
In the embodiment of the invention, the purpose that the system needs to be added with the parameter fields due to version upgrading and the like can be met by adding the standby parameter fields in the parameter configuration table, the standby parameter fields in the parameter configuration table are directly modified aiming at the added parameter fields, the repeated system development work of the added parameter fields can be saved, and the expandability of the system is enhanced.
And S104, uniformly naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table.
In specific implementation, in order to facilitate management of each parameter of the system, in the embodiment of the present invention, parameter fields and drop-down box options in a parameter configuration table are uniformly named by using a number or letter sequence, so as to eliminate the meaning of service information. For example, each parameter field is represented by a filtered 1 and a field2 …, and a corresponding drop-down box option is represented by a filtered 1option and a filtered 1option …. And if the content is the drop-down box option, configuring key-value of the selectable content according to the drop-down box option.
In an embodiment, the S104 may use a uniform number to name the preset parameter field, the standby parameter field, and the drop-down box option in the second parameter configuration table, so as to obtain a third parameter configuration table.
And S105, displaying the preset parameter field in the page according to the third parameter configuration table.
In a specific implementation, in S105, each parameter field in the third parameter configuration table may be traversed, and each parameter field is displayed in the page according to the display attribute of each parameter field.
Optionally, in the case that the traversed parameter field is an alternative parameter field, the alternative parameter field may also be hidden in the page.
TABLE 1 parameter configuration Table
Table 1 shows a parameter configuration table provided in the embodiment of the present invention, and the parameter interface shown in fig. 2 can be obtained by traversing each parameter field in table 1. After hiding the spare field, the parameter interface shown in fig. 3 can be obtained.
According to the configurable display method of the parameter information provided by the embodiment of the invention, when the system is initially developed, no matter the number of parameters required by the system, a plurality of spare fields (for example, 20 fields) can be added on the basis of the number of parameters required by the system. When the system needs to add new parameters due to version upgrading or other reasons, repeated development is not needed, and the parameter numbers are directly sent to corresponding modules. In addition, in the embodiment of the invention, the used parameter numbers can be counted by establishing the parameter statistical table, so that each parameter can be conveniently managed.
As can be seen from the above, in the configurable display method of parameter information provided in the embodiment of the present invention, after the field name and the display attribute of the preset parameter field displayed in the page are obtained, the first parameter configuration table is generated according to the field name and the drop-down box option name of the preset parameter field, the standby parameter field is further added in the first parameter configuration table to obtain the second parameter configuration table, the preset parameter field, the standby parameter field, and the drop-down box option in the second parameter configuration table are named uniformly to obtain the third parameter configuration table, and finally the preset parameter field is displayed in the page according to the third parameter configuration table.
By the configurable display method of the parameter information provided by the embodiment of the invention, the parameter fields are named uniformly, and the parameter fields are reserved in the parameter configuration table, so that the aim of rapidly configuring each parameter in the system can be fulfilled, and the service system does not need to be repeatedly developed aiming at newly added parameters.
Based on the same inventive concept, the embodiment of the present invention further provides a configurable display apparatus for parameter information, as described in the following embodiments. Because the principle of the device for solving the problems is similar to the configurable display method of the parameter information, the implementation of the device can refer to the implementation of the configurable display method of the parameter information, and repeated parts are not described again.
Fig. 4 is a schematic diagram of a configurable display apparatus of parameter information according to an embodiment of the present invention, as shown in fig. 4, the apparatus may include: a parameter information obtaining module 41, a first parameter information configuring module 42, a second parameter information configuring module 43, a third parameter information configuring module 44 and a parameter information displaying module 45.
The parameter information obtaining module 41 is configured to obtain a field name and a display attribute of a preset parameter field displayed in a page, where the display attribute includes: text box display and drop-down box display; a first parameter information configuration module 42, configured to generate a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box; a second parameter information configuration module 43, configured to add a spare parameter field in the first parameter configuration table to obtain a second parameter configuration table; a third parameter information configuration module 44, configured to name preset parameter fields, standby parameter fields, and drop-down box options in the second parameter configuration table in a unified manner, so as to obtain a third parameter configuration table; and a parameter information display module 45, configured to display the preset parameter field in the page according to the third parameter configuration table.
As can be seen from the above, in the configurable display device of parameter information provided in the embodiment of the present invention, the parameter information obtaining module 41 obtains the field name and the display attribute of the preset parameter field displayed in the page; generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box through a first parameter information configuration module 42; adding a standby parameter field in the first parameter configuration table through a second parameter information configuration module 43 to obtain a second parameter configuration table, and uniformly naming a preset parameter field, the standby parameter field and a drop-down box option in the second parameter configuration table to obtain a third parameter configuration table; and displaying the preset parameter field in the page through the parameter information display module 45 according to the third parameter configuration table.
By the configurable display device of the parameter information provided by the embodiment of the invention, the parameter fields are named uniformly, and the parameter fields are reserved in the parameter configuration table, so that the aim of rapidly configuring each parameter in the system can be fulfilled, and the service system does not need to be repeatedly developed aiming at newly added parameters.
In one embodiment, the parameter information display module 45 is further configured to traverse each parameter field in the third parameter configuration table, and display each parameter field in the page according to the display attribute of each parameter field.
In one embodiment, the parameter information display module 45 is further configured to hide the spare parameter field in the page if the traversed parameter field is the spare parameter field.
In an embodiment, the third parameter information configuration module 44 is further configured to name the preset parameter field, the standby parameter field, and the drop-down box option in the second parameter configuration table by using a uniform number, so as to obtain a third parameter configuration table.
Based on the same inventive concept, the embodiment of the present invention further provides a computer device, so as to solve the technical problem in the prior art that naming various parameters in a service system according to service information results in repeated execution of many system development work when the service system needs to add new parameters due to version upgrade, fig. 5 is a schematic diagram of the computer device provided in the embodiment of the present invention, as shown in fig. 5, the computer device 50 includes a memory 501, a processor 502, and a computer program stored in the memory 501 and operable on the processor 502, and the processor 502 implements the configurable display method of the parameter information when executing the computer program.
Based on the same inventive concept, the embodiment of the invention also provides a computer readable storage medium, which is used for solving the technical problem that in the prior art, various parameters in a service system are named according to service information, and when the service system needs to be added with new parameters due to version upgrade, a plurality of system development works need to be repeatedly performed.
In summary, embodiments of the present invention further provide a configurable display method and apparatus for parameter information, a computer device, and a computer-readable storage medium, and compared with the technical solution in the prior art that various parameters in a service system are named according to service information, embodiments of the present invention can achieve the purpose of rapidly configuring each parameter in the system by uniformly naming the parameter fields and reserving the parameter fields in a parameter configuration table, and do not need to repeatedly develop the service system for newly added parameters.
In the embodiment of the invention, aiming at the conditions that the existing operation and management system has more parameters and each batch needs repeated development workload, the configuration digital management can be realized by reserving partial fields in the parameter configuration table, the number can be clearly managed according to the number of the numbers, the repeated development workload can be greatly reduced, and the use efficiency is not influenced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A configurable display method of parameter information is characterized by comprising the following steps:
acquiring a field name and a display attribute of a preset parameter field displayed in a page, wherein the display attribute comprises: text box display and drop-down box display;
generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box;
adding a standby parameter field in the first parameter configuration table to obtain a second parameter configuration table;
uniformly naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table;
and displaying the preset parameter field in the page according to the third parameter configuration table.
2. The method of claim 1, wherein displaying the preset parameter fields in the page according to a third parameter configuration table comprises:
and traversing each parameter field in the third parameter configuration table, and displaying each parameter field in the page according to the display attribute of each parameter field.
3. The method of claim 2, wherein the method further comprises:
and hiding the spare parameter field in the page under the condition that the traversed parameter field is the spare parameter field.
4. The method of claim 1, wherein uniformly naming the preset parameter field, the standby parameter field, and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table comprises:
and naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table by adopting the uniform number to obtain a third parameter configuration table.
5. A configurable display device for parameter information, comprising:
the parameter information acquisition module is used for acquiring the field name and the display attribute of the preset parameter field displayed in the page, wherein the display attribute comprises: text box display and drop-down box display;
the first parameter information configuration module is used for generating a first parameter configuration table according to the field name of the preset parameter field and the option name of the drop-down box;
the second parameter information configuration module is used for adding a standby parameter field in the first parameter configuration table to obtain a second parameter configuration table;
the third parameter information configuration module is used for uniformly naming the preset parameter field, the standby parameter field and the drop-down box option in the second parameter configuration table to obtain a third parameter configuration table;
and the parameter information display module is used for displaying the preset parameter field in the page according to the third parameter configuration table.
6. The apparatus of claim 5, wherein the parameter information display module is further configured to traverse each parameter field in the third parameter configuration table, and display each parameter field in the page according to a display attribute of each parameter field.
7. The apparatus of claim 6, wherein the parameter information display module is further configured to hide the alternate parameter field in the page if the traversed parameter field is the alternate parameter field.
8. The apparatus of claim 5, wherein the third parameter information configuration module is further configured to name the preset parameter field, the standby parameter field, and the drop-down box option in the second parameter configuration table by using a uniform number to obtain a third parameter configuration table.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the configurable display method of parameter information according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, wherein a computer program for executing the configurable display method of parameter information according to any one of claims 1 to 4 is stored in the computer-readable storage medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010859144.8A CN112000414B (en) | 2020-08-24 | 2020-08-24 | Configurable display method and device for parameter information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010859144.8A CN112000414B (en) | 2020-08-24 | 2020-08-24 | Configurable display method and device for parameter information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112000414A true CN112000414A (en) | 2020-11-27 |
CN112000414B CN112000414B (en) | 2023-09-19 |
Family
ID=73470642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010859144.8A Active CN112000414B (en) | 2020-08-24 | 2020-08-24 | Configurable display method and device for parameter information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112000414B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346785A (en) * | 2011-11-15 | 2012-02-08 | 北京创腾科技有限公司 | Method and device for directly self-defining field of database |
CN107341100A (en) * | 2017-05-24 | 2017-11-10 | 上海与德科技有限公司 | The collocation method and device of camera parameter |
CN111309734A (en) * | 2020-02-20 | 2020-06-19 | 第四范式(北京)技术有限公司 | Method and system for automatically generating table data |
-
2020
- 2020-08-24 CN CN202010859144.8A patent/CN112000414B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346785A (en) * | 2011-11-15 | 2012-02-08 | 北京创腾科技有限公司 | Method and device for directly self-defining field of database |
CN107341100A (en) * | 2017-05-24 | 2017-11-10 | 上海与德科技有限公司 | The collocation method and device of camera parameter |
CN111309734A (en) * | 2020-02-20 | 2020-06-19 | 第四范式(北京)技术有限公司 | Method and system for automatically generating table data |
Also Published As
Publication number | Publication date |
---|---|
CN112000414B (en) | 2023-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106557307B (en) | Service data processing method and system | |
CN110188135A (en) | Document generating method and equipment | |
JP2021518021A (en) | Data processing methods, equipment and computer readable storage media | |
CN111158800B (en) | Method and device for constructing task DAG based on mapping relation | |
US8626799B2 (en) | Mapping data structures | |
CN109165175B (en) | Equipment identifier generation method and device | |
CN116302708A (en) | Data backup method, device, equipment and storage medium based on load balancing | |
CN110888922A (en) | Method and device for creating target table during data synchronization | |
CN102215264B (en) | Method and device for supporting multi-tenancy data and service customized running | |
CN115098112A (en) | Method, equipment and medium for deploying financial cloud application resources | |
CN110716975A (en) | Data interface generation method and data interface sharing platform | |
CN108108392B (en) | Commodity data management method, commodity data management device, computer equipment and storage medium | |
CN112000414A (en) | Configurable display method and device of parameter information | |
CN110930056A (en) | Thinking-guidance-graph-based task management method, terminal device and storage medium | |
CN111143390A (en) | Method and device for updating metadata | |
US9059992B2 (en) | Distributed mobile enterprise application platform | |
CN110928941A (en) | Data fragment extraction method and device | |
CN114115864A (en) | Interface generation method and device and electronic equipment | |
CN111930720A (en) | Data tilt processing method, system, electronic device and medium | |
CN111680023A (en) | Migration data checking method and device | |
CN117251143B (en) | Application system, construction method and implementation method of visual development tool of application system | |
CN112000366B (en) | System parameter configuration method and device based on code generator | |
CN111221551B (en) | Database upgrading method and device | |
US20180189499A1 (en) | Dynamic security report generator | |
CN113742052B (en) | Batch task processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |