CN110806866A - Generation method and device of front-end management system - Google Patents

Generation method and device of front-end management system Download PDF

Info

Publication number
CN110806866A
CN110806866A CN201911071073.9A CN201911071073A CN110806866A CN 110806866 A CN110806866 A CN 110806866A CN 201911071073 A CN201911071073 A CN 201911071073A CN 110806866 A CN110806866 A CN 110806866A
Authority
CN
China
Prior art keywords
configuration
page
configuration information
management system
generating
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.)
Pending
Application number
CN201911071073.9A
Other languages
Chinese (zh)
Inventor
王裕秋
杨江峰
孔万群
叶俊俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LIANLIANYINTONG ELECTRONIC PAYMENT CO Ltd
Original Assignee
LIANLIANYINTONG ELECTRONIC PAYMENT CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by LIANLIANYINTONG ELECTRONIC PAYMENT CO Ltd filed Critical LIANLIANYINTONG ELECTRONIC PAYMENT CO Ltd
Priority to CN201911071073.9A priority Critical patent/CN110806866A/en
Publication of CN110806866A publication Critical patent/CN110806866A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a front-end management system generation method and device, wherein a plurality of preset different configuration files are obtained, front-end pages corresponding to the configuration files are obtained according to the preset code templates corresponding to the configuration files aiming at the different configuration files, and finally the front-end management system is obtained according to the front-end pages. Because the configuration file is a file including configuration information of a plurality of configuration items, the number of the configuration files is far smaller than that of the configuration items, and the preset code template corresponds to the configuration file, the number of the code template is also far smaller than that of the configuration items, so that in the technical scheme, program codes of the configuration items do not need to be written for each configuration item, in addition, the code template is a code template with fixed pre-written code content, when the front-end management system needs to be modified, only the configuration information in the configuration file needs to be modified, the code template does not need to be modified, and therefore, a new front-end management system can be rapidly generated.

Description

Generation method and device of front-end management system
Technical Field
The present application relates to the field of data processing, and in particular, to a method and an apparatus for generating a front-end management system.
Background
A CMDB (Configuration Management Database) is a logical Database, and typically, all Configuration item information of an enterprise (such as various hardware asset information of the enterprise) is included in the Configuration Management Database. The front-end management system of the CMDB can realize the inquiry and management of all configuration item information of the enterprise.
At present, a front-end management system for generating a CMDB is implemented in many ways, and is usually implemented by writing program codes corresponding to configuration items, but because the configuration items are various, a large number of program codes need to be written correspondingly, resulting in a long development period of the system. Meanwhile, in the subsequent use process, if the front-end management system needs to be modified, the code corresponding to the configuration item needs to be modified, so that a large amount of time is needed for the new front-end management system.
Therefore, how to generate the CMDB quickly becomes a problem that needs to be solved at present.
Disclosure of Invention
The application provides a method and a device for generating a front-end management system, and aims to solve the problem of how to generate the CMDB of the front-end management system quickly.
In order to achieve the above object, the present application provides the following technical solutions:
a generation method of a front-end management system comprises
Acquiring a plurality of preset different configuration files, wherein any one configuration file comprises a plurality of configuration items and configuration information of the configuration items;
aiming at different configuration files, generating a front-end page corresponding to a configuration item in the configuration files according to a preset code template corresponding to the configuration files;
and generating the front-end management system according to the plurality of front-end pages.
Optionally, the generating, for different configuration files, a front-end page corresponding to a configuration item in the configuration file according to a preset code template corresponding to the configuration file includes:
determining a code template corresponding to the configuration file according to the identification code of the configuration file;
executing the code template to generate a front-end page corresponding to the configuration item aiming at the configuration information of each configuration item in the configuration file, wherein the code template at least comprises a code statement for setting the display style of each configuration item and target data corresponding to the configuration information in the front-end page, the target data corresponding to the configuration information is obtained according to a data acquisition identifier of the configuration information, and the data acquisition identifier is the name of the configuration information and/or the identity code of the configuration information.
Optionally, obtaining the target data corresponding to the configuration information according to the data acquisition identifier of the configuration information includes:
and acquiring data corresponding to the data acquisition identifier from a preset database according to the data acquisition identifier, and taking the acquired data as the target data.
Optionally, the generating the front-end management system according to the plurality of front-end pages includes:
setting a related page of each front-end page according to a preset display sequence of each front-end page;
determining corresponding configuration information of the associated page in the front-end page aiming at the associated page of each front-end page;
setting a link relation between the associated page and the corresponding configuration information;
and generating the front-end management system according to each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information.
Optionally, after generating the front-end management system, the method further includes:
setting the front-end page to be an editing mode according to a received editing instruction of a user to the front-end page of the front-end management system, wherein the editing mode is as follows: and providing a mode for the user to edit the front page.
A generation device of a front-end management system comprises
The device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a plurality of preset different configuration files, and any one of the configuration files comprises a plurality of configuration items and configuration information of the configuration items;
the system comprises a first generating unit, a second generating unit and a third generating unit, wherein the first generating unit is used for generating a front-end page corresponding to configuration items in a configuration file according to a preset code template corresponding to the configuration file aiming at different configuration files;
and the second generation unit is used for generating the front-end management system according to the plurality of front-end pages.
Optionally, the first generating unit is configured to generate, for different configuration files, a front-end page corresponding to a configuration item in the configuration file according to a preset code template corresponding to the configuration file, where the front-end page includes:
the first generating unit is specifically configured to determine a code template corresponding to the configuration file according to the identification code of the configuration file; executing the code template to generate a front-end page corresponding to the configuration item aiming at the configuration information of each configuration item in the configuration file, wherein the code template at least comprises a code statement for setting the display style of each configuration item and target data corresponding to the configuration information in the front-end page, the target data corresponding to the configuration information is obtained according to a data acquisition identifier of the configuration information, and the data acquisition identifier is the name of the configuration information and/or the identity code of the configuration information.
Optionally, the first generating unit is configured to obtain the target data corresponding to the configuration information according to the data acquisition identifier of the configuration information, and includes:
the first generating unit is specifically configured to obtain, according to the data obtaining identifier, data corresponding to the data obtaining identifier from a preset database, and use the obtained data as the target data.
Optionally, the second generating unit is configured to generate the front-end management system according to a plurality of front-end pages, and includes:
the second generating unit is specifically configured to set an associated page of each front-end page according to a preset display sequence of each front-end page;
determining corresponding configuration information of the associated page in the front-end page aiming at the associated page of each front-end page;
setting a link relation between the associated page and the corresponding configuration information;
and generating the front-end management system according to each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information.
Optionally, the method further includes: an editing unit, configured to set the front-end page to an editing mode according to a received editing instruction of the user on the front-end page of the front-end management system, where the editing mode is: and providing a mode for the user to edit the front page.
According to the method and the device, a plurality of preset different configuration files are obtained, front-end pages corresponding to the configuration files are obtained according to the preset code templates corresponding to the configuration files aiming at the different configuration files, and finally the front-end management system is obtained according to the front-end pages. According to the technical scheme provided by the application, because the configuration files are files containing configuration information of a plurality of configuration items, the number of the configuration files is far smaller than that of the configuration items, and the preset code templates correspond to the configuration files, the number of the preset code templates is also far smaller than that of the configuration items, so that program codes of the configuration items do not need to be written for each configuration item in the technical scheme, and the development time of a front-end management system can be greatly shortened; in addition, the code template is a pre-written code template with fixed code content, when the front-end management system needs to be modified, only the corresponding configuration information in the configuration file needs to be modified, and the code template does not need to be modified, so that the quick generation of a new front-end management system can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for generating a front-end management system according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for obtaining a front-end management system from a plurality of front-end pages according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a generating device of a front-end management system disclosed in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The method provided by the embodiment of the application can include but is not limited to a front-end management system of the CMDB, and can also be a front-end management system of other configuration item management.
Fig. 1 is a method for generating a front-end management system according to an embodiment of the present application, where the method includes the following steps:
s101, acquiring a plurality of preset different configuration files.
The configuration file is written by research personnel according to actual requirements, and comprises a plurality of configuration items and configuration information of the configuration items.
In this embodiment, the configuration item is an object that needs information management and information query, such as various hardware, software, and products of manufacture of an enterprise. The configuration information of the configuration item at least comprises the attribute of the configuration item and the description information of the attribute. The attribute of the configuration item is a specific description of the configuration item, such as a configuration item name, a configuration item icon, a configuration item principal, and the like, and the description information of the attribute may be an attribute identity identifier, an attribute name, an attribute data acquisition identifier, and the like.
It should be noted that, for different configuration files, the same configuration item has different configuration information.
S102, aiming at different configuration files, obtaining front-end pages corresponding to configuration items in the configuration files according to preset code templates corresponding to the configuration files.
The preset code template corresponding to the configuration file is a code template which is fixed by the content of a code and is written in advance by research personnel according to the configuration file, and the code template comprises configuration information for setting each configuration item and a code statement of a display style of target data corresponding to the configuration information in a front-end page.
It should be noted that, because the code statements included in the code template are statements that specify the display style of the configuration information and the corresponding target data of the configuration item on the front page, that is, the code statements of the code template only determine the display style of the configuration item and the target data of the configuration item on the front page, and are not related to the specific contents of the configuration information and the target data. For example, for configuration information: the code statement can be 'place the configuration item name right below the configuration item icon', that is, the code statement does not need to specify the configuration item name and the specific content of the configuration item icon. Therefore, when the specific content of the configuration information in the configuration file is changed, the code template does not need to be adjusted, that is, the code template is a code template with fixed code content. Of course, the code template can also be adjusted according to actual requirements.
One way to implement S102 may be: and determining a code template corresponding to the configuration file according to the identification code of the configuration file, executing the code template, and generating a front-end page corresponding to the configuration item aiming at the configuration information of each configuration item in the configuration file.
In this embodiment, the identification code of the code template may be set in advance. And the identification code of the code template corresponding to the configuration file is the same as the identification code of the configuration file. Therefore, according to the identification code of the configuration file, the code template with the identification code being the same as that of the configuration file can be used as the code template corresponding to the configuration file.
And after the code template corresponding to the configuration file is determined, executing the code template, and analyzing the configuration file according to the file analysis command statement in the code template to obtain the configuration items included in the configuration file and the configuration information of the configuration items. And aiming at the configuration information of each configuration item, under the condition that the configuration information contains a data acquisition identifier, acquiring data corresponding to the data acquisition identifier from a preset database according to the data acquisition identifier, taking the acquired data as target data, and displaying the configuration information and the target data on a front-end page according to the set configuration information and the display style of the target data in the front-end page. And under the condition that the configuration information does not have the data acquisition identifier, displaying the configuration information on the front-end page according to the set display style of the configuration information in the front-end page. And finally, obtaining a front-end page corresponding to the configuration item according to all the configuration information of the configuration item and the display style of the target data corresponding to the configuration information in the front-end page.
In this embodiment, the configuration item containing the configuration information of the data acquisition identifier may be a detail page of the configuration item, a query presentation page of the configuration item, or the like. The corresponding front-end page may be a newly added page of the configuration item. The detail page is used for displaying specific information of each attribute of the configuration item, the query display page is used for displaying information related to the configuration item, and the newly added page is used for allowing a user to fill in each content in the newly added page.
It should be noted that, in this embodiment, different configuration items may correspond to the same front-end page, and the condition of the front-end page corresponding to a specific configuration item is determined according to the content of the code template.
S103, obtaining a front-end management system according to the front-end pages.
The front-end management system is a system used for providing information management, information query and the like for configuration items for a user, comprises a plurality of front-end pages of the configuration items, and can show the front-end pages of the configuration items corresponding to instructions for the instructions input by the user on the front-end pages. The flow shown in fig. 2 may be referred to obtain an implementation manner of the front-end management system according to a plurality of front-end pages.
The method provided by the embodiment of the application obtains a plurality of preset different configuration files, obtains front-end pages corresponding to the configuration files according to the preset code templates corresponding to the configuration files aiming at the different configuration files, and finally obtains the front-end management system according to the front-end pages. According to the technical scheme provided by the application, the configuration files are files comprising configuration information of a plurality of configuration items, so that the number of the configuration files is far smaller than that of the configuration items, the preset code templates correspond to the configuration files, namely, the number of the preset code templates is far smaller than that of the configuration items, and therefore, according to the technical scheme, program codes of the configuration items do not need to be written for each configuration item, and therefore the development time of the front-end management system can be greatly shortened.
In addition, the code template is a pre-written code template with fixed code content, when the front-end management system needs to be modified, only the corresponding configuration information in the configuration file needs to be modified, and the code template does not need to be modified, so that the quick generation of a new front-end management system can be realized.
In the above embodiment, after the front-end page of the front-end management system is obtained, in the case of receiving an edit instruction of the user to the front-end page, the front-end page is set to be in an edit mode, where the edit mode is: and providing a mode for editing the front page for the user.
Fig. 2 is an implementation manner of obtaining the front-end management system according to a plurality of front-end pages in S103 of fig. 1, which may include the following steps:
s201, setting the related pages of the front end pages according to the preset display sequence of the front end pages.
The display sequence between the front end pages is, for example, that page 2 is a page specifically explaining certain configuration information included in page 1, and the display sequence of page 2 is a sequence subsequent to the display sequence of page 1. After the display sequence among the front end pages is determined, regarding each front end page, taking a page with the display sequence being the next to the front end page as a front end page associated page, wherein the front end page associated page may be one or a plurality of pages. The display sequence of any front page can be manually set according to actual requirements.
S202, aiming at each front-end page, determining corresponding configuration information of the associated page in the front-end page.
The associated page corresponding to the configuration information may be a detailed page of the configuration information, or a newly added page, etc. In this implementation, an associated page with the same identification code as the identity of the configuration information may be used as an associated page corresponding to the configuration information, where the identification code of the associated page may be a preset identification code of the configuration information in the associated page.
S203, setting a link relation between the associated page and the corresponding configuration information.
In this embodiment, the link relationship is used to jump to the associated page of the configuration information according to the link relationship when a jump instruction input by the user based on the configuration information is received. For example, when the user clicks the configuration information, the user may jump to the associated page corresponding to the configuration information. It should be noted that the number of the associated pages corresponding to one configuration item is one.
S204, generating the front-end management system according to each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information.
And finally, taking a system consisting of each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information as a front-end management system.
According to the method provided by the embodiment, the front-end management system is obtained according to each configured front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information, so that not only can the front-end page corresponding to the configuration item be shown to the user, but also the associated page of the front-end page can be shown based on the instruction input by the user at the front-end page.
Hereinafter, a specific application of the present invention will be described by taking a front-end system of a CMBD as an example.
In this embodiment, the configuration file includes: a base profile, a list attribute profile, a list query profile, an attribute profile, an association profile, and an association list profile.
The basic configuration file comprises basic information of a plurality of configuration items, and the basic information can be configuration item identification codes, configuration item names, configuration item icons, categories to which the configuration items belong, and the like. And aiming at each configuration item in the basic configuration file, generating a configuration item management page corresponding to the configuration item of the basic configuration file according to a preset management page code template.
The list attribute configuration file comprises list attributes of a plurality of configuration items, any one list attribute comprises a plurality of list attribute information, and the list attribute information can be a column identification code, a column name, a column attribute, a column width and the like. The list query configuration file comprises query conditions of a plurality of configuration items, and any query condition can comprise a condition identification code, a condition name, a condition attribute, a condition data acquisition identifier, a condition attribute type and the like of the query condition. And generating a query list display page of each configuration item according to the preset code template of the generated query list display page according to the list attribute of the configuration item and the query condition aiming at each configuration item.
The attribute configuration file comprises attribute configurations of a plurality of configuration items, any one of the attribute configurations can comprise an attribute identification code, an attribute type, an attribute name, an attribute data acquisition identification, an attribute prompt, an attribute option, an attribute check and the like, and aiming at each configuration item, a new page of the configuration item is generated according to the attribute configuration of the configuration item and a preset new page code template.
And aiming at the newly added page of each configuration item, correspondingly placing the data into a position corresponding to the attribute data acquisition identifier according to the attribute data acquisition identifier and the data of the configuration item pre-stored in the background database to obtain a detailed page of the configuration item.
For the detail page, according to the received editing instruction of the user on the detail page, the detail page can be set to be in an editing mode to obtain an editing page, and the editing page can enable the user to edit the data of the page.
Similarly, for the association relationship configuration file and the association relationship list configuration file, the association relationship addition, deletion, modification and check page of the configuration item is generated according to the association relationship addition, deletion, modification and check code template.
After obtaining a configuration item management page, a query list display page, a newly added page of the configuration item, a detailed page of the configuration item, and an association relationship addition, deletion, modification and check page of each configuration item for each configuration item, setting an association page of each page and a link relationship between the association page and configuration information (such as attribute configuration of the configuration item) according to the method provided by the embodiment, thereby obtaining a front-end system of the CMBD.
Corresponding to the method for generating the front-end management system provided in the foregoing embodiment of the present invention, referring to fig. 3, a schematic structural diagram of a generating device of the front-end management system provided in the embodiment of the present invention is shown, including:
an obtaining unit 301, configured to obtain a plurality of preset different configuration files, where any one configuration file includes a plurality of configuration items and configuration item configuration information.
A first generating unit 302, configured to generate, for different configuration files, a front-end page corresponding to a configuration item in a configuration file according to a preset code template corresponding to the configuration file;
the second generating unit 303 is configured to generate a front-end management system according to the plurality of front-end pages.
An editing unit 304, configured to set the front-end page to an editing mode according to a received editing instruction of the front-end page by the user, where the editing mode is: and providing a mode for editing the front page for the user.
The specific implementation manner of the first generating unit generating the front-end page corresponding to the configuration item of the configuration file according to the preset code template corresponding to the configuration file for different configuration files is as follows: determining a code template corresponding to the configuration file according to the identification code of the configuration file; executing a code template, and generating a front-end page corresponding to the configuration items aiming at the configuration information of each configuration item in the configuration file, wherein the code template at least comprises code statements for setting each configuration information and display styles of target data corresponding to the configuration information in the front-end page, the target data corresponding to the configuration information is obtained according to data acquisition marks of the configuration information, and the data acquisition marks are names of the configuration information and/or identity codes of the configuration information.
The specific implementation manner of obtaining the target data corresponding to the configuration information by the first generating unit 302 according to the data acquisition identifier of the configuration information is as follows: and acquiring data corresponding to the data acquisition identifier from a preset database according to the data acquisition identifier, and taking the acquired data as target data.
The second generating unit 303 is configured to generate the front-end management system according to the multiple front-end pages in a specific implementation manner as follows: setting a related page of each front-end page according to a preset display sequence of each front-end page; determining corresponding configuration information of the associated page in the front-end page aiming at the associated page of each front-end page; setting a link relation between the associated page and the corresponding configuration information; and generating the front-end management system according to each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information.
The device provided by the embodiment of the application obtains a plurality of preset different configuration files, obtains front-end pages corresponding to the configuration files according to the preset code templates corresponding to the configuration files aiming at the different configuration files, and finally obtains the front-end management system according to the front-end pages. According to the technical scheme provided by the application, because the configuration files comprise the files of the configuration information of the plurality of configuration items, the number of the configuration files is far smaller than that of the configuration items, and the preset code templates correspond to the configuration files, namely, the number of the preset code templates is also far smaller than that of the configuration items, so that the program codes of the configuration items do not need to be written for each configuration item in the technical scheme, and the development time of a front-end management system can be greatly shortened; in addition, the code template is a pre-written code template with fixed code content, when the front-end management system needs to be modified, only the corresponding configuration information in the configuration file needs to be modified, and the code template does not need to be modified, so that the quick generation of a new front-end management system can be realized.
An embodiment of the present invention further provides an electronic device, a schematic structural diagram of which is shown in fig. 4, and the electronic device specifically includes: a processor 401 and a memory 402, the memory 402 being for storing programs; the processor 401 is configured to run a program to implement the generation method of the front-end management system in the embodiment of the present invention.
The embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the computer is enabled to execute the method for generating the front-end management system in the embodiment of the present invention.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for generating a front-end management system is characterized by comprising
Acquiring a plurality of preset different configuration files, wherein any one configuration file comprises a plurality of configuration items and configuration information of the configuration items;
aiming at different configuration files, generating a front-end page corresponding to a configuration item in the configuration files according to a preset code template corresponding to the configuration files;
and generating the front-end management system according to the plurality of front-end pages.
2. The method according to claim 1, wherein the generating, for different configuration files, a front-end page corresponding to a configuration item in the configuration file according to a preset code template corresponding to the configuration file comprises:
determining a code template corresponding to the configuration file according to the identification code of the configuration file;
executing the code template to generate a front-end page corresponding to the configuration item aiming at the configuration information of each configuration item in the configuration file, wherein the code template at least comprises a code statement for setting the display style of each configuration item and target data corresponding to the configuration information in the front-end page, the target data corresponding to the configuration information is obtained according to a data acquisition identifier of the configuration information, and the data acquisition identifier is the name of the configuration information and/or the identity code of the configuration information.
3. The method of claim 2, wherein obtaining the target data corresponding to the configuration information according to the data acquisition identifier of the configuration information comprises:
and acquiring data corresponding to the data acquisition identifier from a preset database according to the data acquisition identifier, and taking the acquired data as the target data.
4. The method of claim 1, wherein said generating the front-end management system from a plurality of the front-end pages comprises:
setting a related page of each front-end page according to a preset display sequence of each front-end page;
determining corresponding configuration information of the associated page in the front-end page aiming at the associated page of each front-end page;
setting a link relation between the associated page and the corresponding configuration information;
and generating the front-end management system according to each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information.
5. The method of claim 1, after generating the front end management system, further comprising:
setting the front-end page to be an editing mode according to a received editing instruction of a user to the front-end page of the front-end management system, wherein the editing mode is as follows: and providing a mode for the user to edit the front page.
6. A generation device of a front-end management system is characterized by comprising
The device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a plurality of preset different configuration files, and any one of the configuration files comprises a plurality of configuration items and configuration information of the configuration items;
the system comprises a first generating unit, a second generating unit and a third generating unit, wherein the first generating unit is used for generating a front-end page corresponding to configuration items in a configuration file according to a preset code template corresponding to the configuration file aiming at different configuration files;
and the second generation unit is used for generating the front-end management system according to the plurality of front-end pages.
7. The apparatus according to claim 6, wherein the first generating unit is configured to generate, for different configuration files, a front-end page corresponding to a configuration item in the configuration file according to a preset code template corresponding to the configuration file, and includes:
the first generating unit is specifically configured to determine a code template corresponding to the configuration file according to the identification code of the configuration file; executing the code template to generate a front-end page corresponding to the configuration item aiming at the configuration information of each configuration item in the configuration file, wherein the code template at least comprises a code statement for setting the display style of each configuration item and target data corresponding to the configuration information in the front-end page, the target data corresponding to the configuration information is obtained according to a data acquisition identifier of the configuration information, and the data acquisition identifier is the name of the configuration information and/or the identity code of the configuration information.
8. The apparatus according to claim 7, wherein the first generating unit is configured to obtain the target data corresponding to the configuration information according to the data acquisition identifier of the configuration information, and includes:
the first generating unit is specifically configured to obtain, according to the data obtaining identifier, data corresponding to the data obtaining identifier from a preset database, and use the obtained data as the target data.
9. The method of claim 1, wherein the second generating unit is configured to generate the front-end management system according to a plurality of front-end pages, and comprises:
the second generating unit is specifically configured to set an associated page of each front-end page according to a preset display sequence of each front-end page;
determining corresponding configuration information of the associated page in the front-end page aiming at the associated page of each front-end page;
setting a link relation between the associated page and the corresponding configuration information;
and generating the front-end management system according to each front-end page, the associated page of each front-end page and the link relation between the associated page and the corresponding configuration information.
10. The apparatus of claim 6, further comprising: an editing unit, configured to set the front-end page to an editing mode according to a received editing instruction of the user on the front-end page of the front-end management system, where the editing mode is: and providing a mode for the user to edit the front page.
CN201911071073.9A 2019-11-05 2019-11-05 Generation method and device of front-end management system Pending CN110806866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911071073.9A CN110806866A (en) 2019-11-05 2019-11-05 Generation method and device of front-end management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911071073.9A CN110806866A (en) 2019-11-05 2019-11-05 Generation method and device of front-end management system

Publications (1)

Publication Number Publication Date
CN110806866A true CN110806866A (en) 2020-02-18

Family

ID=69501095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911071073.9A Pending CN110806866A (en) 2019-11-05 2019-11-05 Generation method and device of front-end management system

Country Status (1)

Country Link
CN (1) CN110806866A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400145A (en) * 2020-03-31 2020-07-10 厦门科灿信息技术有限公司 Configuration method and device of flow chart monitoring page and terminal equipment
CN111857810A (en) * 2020-07-30 2020-10-30 上海妙一生物科技有限公司 Front-end development file creating method and device and electronic equipment
CN114968242A (en) * 2022-06-20 2022-08-30 中国农业银行股份有限公司 Front-end code generation method and device
CN115480745A (en) * 2022-08-25 2022-12-16 贝壳找房(北京)科技有限公司 Code generation method and device based on configuration file

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331295A (en) * 2014-11-05 2015-02-04 北京中科辅龙信息技术有限公司 Page generation method and system
CN108171610A (en) * 2017-12-28 2018-06-15 中国平安人寿保险股份有限公司 Page generation method, page generation equipment, storage medium and device
CN109271162A (en) * 2018-09-03 2019-01-25 中国建设银行股份有限公司 A kind of page generation method and device
CN109522016A (en) * 2018-10-31 2019-03-26 泰康保险集团股份有限公司 Service page face generates method, device and equipment
CN109597614A (en) * 2017-09-28 2019-04-09 华为技术有限公司 A kind of business page method for customizing and system
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN110399128A (en) * 2019-07-26 2019-11-01 北京恒华伟业科技股份有限公司 Code file generation method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331295A (en) * 2014-11-05 2015-02-04 北京中科辅龙信息技术有限公司 Page generation method and system
CN109597614A (en) * 2017-09-28 2019-04-09 华为技术有限公司 A kind of business page method for customizing and system
CN108171610A (en) * 2017-12-28 2018-06-15 中国平安人寿保险股份有限公司 Page generation method, page generation equipment, storage medium and device
CN109271162A (en) * 2018-09-03 2019-01-25 中国建设银行股份有限公司 A kind of page generation method and device
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN109522016A (en) * 2018-10-31 2019-03-26 泰康保险集团股份有限公司 Service page face generates method, device and equipment
CN110399128A (en) * 2019-07-26 2019-11-01 北京恒华伟业科技股份有限公司 Code file generation method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400145A (en) * 2020-03-31 2020-07-10 厦门科灿信息技术有限公司 Configuration method and device of flow chart monitoring page and terminal equipment
CN111400145B (en) * 2020-03-31 2022-09-09 厦门科灿信息技术有限公司 Configuration method and device of flow chart monitoring page and terminal equipment
CN111857810A (en) * 2020-07-30 2020-10-30 上海妙一生物科技有限公司 Front-end development file creating method and device and electronic equipment
CN114968242A (en) * 2022-06-20 2022-08-30 中国农业银行股份有限公司 Front-end code generation method and device
CN115480745A (en) * 2022-08-25 2022-12-16 贝壳找房(北京)科技有限公司 Code generation method and device based on configuration file
CN115480745B (en) * 2022-08-25 2023-10-24 贝壳找房(北京)科技有限公司 Code generation method and device based on configuration file

Similar Documents

Publication Publication Date Title
CN110806866A (en) Generation method and device of front-end management system
CN108762743B (en) Data table operation code generation method and device
CN111126019B (en) Report generation method and device based on mode customization and electronic equipment
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN106933887B (en) Data visualization method and device
CN105528218B (en) Data drawing list Cascading Methods and data drawing list cascade system
CN110766521A (en) Method, device and system for generating purchase order and storage medium
CN110555073A (en) data processing method and device, electronic equipment and storage medium
CN106776655B (en) Web application system display method and device
CN107515866B (en) Data operation method, device and system
CN110795140A (en) Configuration file generation method and device
CN112433712A (en) Report display method and device, computer equipment and storage medium
CN111198772A (en) Method and system for generating application program interface API
CN114610286A (en) Development document generation method and device, computer equipment and storage medium
WO2016131360A1 (en) Widget file generation method and apparatus
CN113518187B (en) Video editing method and device
CN111026963A (en) Data query method and device, and configuration information setting method and device
CN110555185A (en) Page customization method and system based on PC client
CN113485746B (en) Method and device for generating application program interface document
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
CN106570004B (en) Data management method and device
CN113435847A (en) Information display method and device, electronic equipment and storage medium
CN114169306A (en) Method, device and equipment for generating electronic receipt and readable storage medium
CN107885839B (en) Method and device for reading information in Word file
CN113835965A (en) Parameter track mark remaining method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination