CN114153547A - Management page display method and device - Google Patents

Management page display method and device Download PDF

Info

Publication number
CN114153547A
CN114153547A CN202111511919.3A CN202111511919A CN114153547A CN 114153547 A CN114153547 A CN 114153547A CN 202111511919 A CN202111511919 A CN 202111511919A CN 114153547 A CN114153547 A CN 114153547A
Authority
CN
China
Prior art keywords
preset
configuration file
page
configuration
target
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
Application number
CN202111511919.3A
Other languages
Chinese (zh)
Other versions
CN114153547B (en
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.)
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Digital Network Technology 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 Zhuhai Kingsoft Digital Network Technology Co Ltd filed Critical Zhuhai Kingsoft Digital Network Technology Co Ltd
Priority to CN202111511919.3A priority Critical patent/CN114153547B/en
Publication of CN114153547A publication Critical patent/CN114153547A/en
Application granted granted Critical
Publication of CN114153547B publication Critical patent/CN114153547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/549Remote execution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a management page display method and a management page display device, wherein the management page display method comprises the following steps: receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page; searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier; combining a preset metadata configuration file, a preset page configuration file and a preset component configuration file to generate a target configuration file; and sending the target configuration file to the client so that the client renders and displays a target management page according to the target configuration file. Repeated development tasks are avoided for the development management page, development cost is reduced, development efficiency of the management page is improved, display efficiency of the target management page is improved, and data processing amount of the server is reduced.

Description

Management page display method and device
Technical Field
The application relates to the technical field of computers, in particular to a management page display method. The application also relates to a management page display device, a computing device and a computer readable storage medium.
Background
With the development of internet technology, various network products or services come out endlessly and have higher and higher complexity, resulting in more and more service entities needing to be maintained and managed in an operation management system.
In the prior art, a corresponding management page is generally developed so as to manage a large number of business entities. However, the management operations of the business entity are similar and simple, so that more services can be added, deleted, modified and searched, that is, repeated and tedious development tasks are often performed when the management page is developed, a large amount of manpower and material resources are required, and the profit is small. Therefore, an effective solution to solve the above problems is needed.
Disclosure of Invention
In view of this, the present application provides a management page display method to solve the technical defects in the prior art. The embodiment of the application also provides a management page display device, a computing device and a computer readable storage medium.
According to a first aspect of the embodiments of the present application, a management page display method is provided, which is applied to a server and includes:
receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page;
searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier;
combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file;
and sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file.
Optionally, before searching for the preset metadata configuration file, the preset page configuration file, and the preset component configuration file corresponding to the page identifier through a preset configuration tool, the method includes:
acquiring a preset metadata configuration file and a preset configuration template corresponding to the page identifier;
analyzing the preset metadata configuration file to obtain metadata corresponding to the page identifier;
and determining the preset configuration tool according to the metadata and the preset configuration template.
Optionally, the preset configuration template includes a data access configuration template, an interface configuration template and a service layer configuration template;
determining the preset configuration tool according to the metadata and the preset configuration template includes:
loading the metadata into the data access configuration template, the interface configuration template and the service layer configuration template respectively to obtain data access configuration information, interface configuration information and service layer configuration information;
and generating the preset configuration tool according to the data access configuration information, the interface configuration information and the service layer configuration information through a preset language compiler.
The combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file includes:
determining a compiling framework corresponding to the page identifier according to the preset configuration tool;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file based on the compiling architecture to generate a target configuration file.
Optionally, the combining the preset metadata configuration file, the preset page configuration file, and the preset component configuration file based on the compiling architecture to generate a target configuration file includes:
determining a compiling strategy aiming at the target management page according to the compiling framework;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate a target configuration file.
Optionally, the obtaining of the preset metadata configuration file corresponding to the page identifier includes:
searching the execution data corresponding to the page identifier from a preset library by using a preset analysis tool;
analyzing the execution data by using a preset syntax tree algorithm to obtain execution logic information of the execution data;
and generating a preset metadata configuration file corresponding to the page identifier according to the execution logic information.
Optionally, the method further comprises:
receiving an operation request sent by the client, wherein the operation request carries an operation identifier and a page identifier of the target management page;
determining a target database corresponding to the page identifier;
and performing operation corresponding to the operation identifier on the target database, and feeding back an operation result to the client.
According to a second aspect of the embodiments of the present application, there is provided a management page display apparatus, applied to a server, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is configured to receive a page generation request sent by a client, and the page generation request carries a page identifier of a target management page;
the searching module is configured to search a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier;
the generating module is configured to combine the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file;
the sending module is configured to send the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file.
Optionally, the apparatus further comprises a determining module configured to:
acquiring a preset metadata configuration file and a preset configuration template corresponding to the page identifier;
analyzing the preset metadata configuration file to obtain metadata corresponding to the page identifier;
and determining the preset configuration tool according to the metadata and the preset configuration template.
Optionally, the preset configuration template includes a data access configuration template, an interface configuration template and a service layer configuration template;
the determination module further configured to:
loading the metadata into the data access configuration template, the interface configuration template and the service layer configuration template respectively to obtain data access configuration information, interface configuration information and service layer configuration information;
and generating the preset configuration tool according to the data access configuration information, the interface configuration information and the service layer configuration information through a preset language compiler.
Optionally, the generating module is further configured to:
determining a compiling framework corresponding to the page identifier according to the preset configuration tool;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file based on the compiling architecture to generate a target configuration file.
Optionally, the generating module is further configured to:
determining a compiling strategy aiming at the target management page according to the compiling framework;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate a target configuration file.
Optionally, the determining module is further configured to:
searching the execution data corresponding to the page identifier from a preset library by using a preset analysis tool;
analyzing the execution data by using a preset syntax tree algorithm to obtain execution logic information of the execution data;
and generating a preset metadata configuration file corresponding to the page identifier according to the execution logic information.
Optionally, the apparatus further comprises a processing module configured to:
receiving an operation request sent by the client, wherein the operation request carries an operation identifier and a page identifier of the target management page;
determining a target database corresponding to the page identifier;
and performing operation corresponding to the operation identifier on the target database, and feeding back an operation result to the client.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is used for storing computer-executable instructions, and the processor realizes the steps of the management page display method when executing the computer-executable instructions.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the method for managing page display.
The management page display method comprises the steps of receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page; then searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier; then combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file; and further sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file. The preset configuration tool is determined based on the preset metadata configuration file and the preset configuration template corresponding to the page identifier, the preset metadata configuration file, the preset page configuration file and the preset component configuration file corresponding to the page identifier are searched by the preset configuration tool and combined to generate the target configuration file, and then the target management page is rendered and displayed, the repeated development of the unified preset page configuration file and the unified preset component configuration file is not needed, only the independent preset metadata configuration file of the target management page is needed, the repeated development task of the development management page is avoided, the development cost is reduced, the development efficiency of the management page is improved, meanwhile, the target configuration file can be determined only by acquiring the preset metadata configuration file, the preset page configuration file and the preset component configuration file, and the display efficiency of the target management page is improved, the data processing amount of the server is reduced.
Drawings
Fig. 1 is a flowchart of a method for managing page display according to an embodiment of the present application;
FIG. 2A is a schematic diagram of a process for generating a target configuration file according to an embodiment of the present application;
fig. 2B is a schematic structural diagram of a visualization page provided in an embodiment of the present application;
FIG. 2C is a flowchart illustrating a method for displaying a management page for web community according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a management page display device according to an embodiment of the present application;
fig. 4 is a block diagram of a computing device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the one or more embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the present application. As used in one or more embodiments of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application is intended to encompass any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments of the present application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first aspect may be termed a second aspect, and, similarly, a second aspect may be termed a first aspect, without departing from the scope of one or more embodiments of the present application.
First, the noun terms to which one or more embodiments of the present invention relate are explained.
A client (client), also called a user end, also called a workstation (workstation), refers to a computer connected to a network, which receives control and management from a network server and can share various resources on the network. After the personal computer accesses the internet, it becomes a workstation on the internet while acquiring internet services. The network workstation needs to run the client software of the network operating system.
The server is one of the computers, and runs faster, has higher load and is more expensive than the ordinary computer. The server provides computing or application services for other clients, such as terminals of personal computers, smart phones and the like, in the network. The server has high-speed core processing operation capability, long-time reliable operation, strong input/output external data throughput capability and better expansibility.
Object notation (json) is a lightweight data exchange format that stores and represents data in a text format that is completely independent of the programming language. The network transmission method is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
The low-code front-end framework (amis) generates the page by using json configuration, so that the workload of page development can be reduced, and the efficiency is greatly improved.
With the development of internet technology, various network products or services are layered endlessly and have higher and higher complexity. Taking the network community application as an example, the business subjects to be maintained by the operation management system include users, posts, regions, activities, tags, replies, and the like, but are not limited thereto. In the case that the number of these business entities is increasing, research and development personnel are often required to develop corresponding management homepages so as to conveniently manage each business entity.
However, these management pages operate similarly and are simpler to add, delete, modify, and find more. That is, repeated and tedious development tasks are often performed when the management page is developed, a large amount of manpower and material resources are needed, and the income is small.
In the prior art, an amis technology is used to write an amis. However, the amis technology only improves the efficiency of the client (front end) development and reduces the cost of the client (front end) development at present, and for the server (back end), the amis technology still needs to be repeatedly developed, namely, code development such as server interface writing, service processing, database access and the like is required.
In order to improve the development efficiency of a management page of a server and reduce the development cost, the application provides a management page display method, which comprises the steps of receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page; then searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier; combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file; and sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file. Therefore, the development efficiency of the management page is ensured, and the development cost is reduced.
In the present application, a management page display method is provided. The present application also relates to a managed page display apparatus, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a management page display method according to an embodiment of the present application, which is applied to a server and specifically includes the following steps:
step 102: receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page.
Specifically, the target management page refers to a management page on which a user or an operator needs to open a browsing or management service body through a client; the page generation request refers to a request generated when a user or an operator opens a target management page through a client and needs to display the target management page on the client; the page identifier refers to an identifier representing the target management page, such as a name and a link of the target management page.
In practical application, when a user or an operator opens a target management page on a client, the client identifies a page identifier of the target management page, automatically generates a page generation request for the target management page based on the page identifier, and then sends the page generation request to a server through a wired network or a wireless network, that is, the server receives the page generation request with the page identifier sent by the client.
For example, an operator opens a target management page of an information exchange community on a computer device, a client immediately recognizes a name of the target management page, namely the information exchange community, and uses the name of the target management page, namely the information exchange community, as a page identifier, and then generates a page generation request carrying the page identifier, namely the information exchange community, based on the page identifier, namely the information exchange community, and sends the page generation request to a server, and at the moment, the server receives the page generation request carrying the information exchange community, sent by the client.
Step 104: and searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier.
Under the condition of receiving a page generation request sent by a client, further, searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to a page identifier according to the page identifier of a target management page carried by the page generation request through a preset configuration tool.
Specifically, the preset configuration tool refers to a configuration tool generated in advance by the server for the target management page, and is used for determining a target configuration file required for rendering the target management page. The preset metadata configuration file is a file configured aiming at a service main body to be managed in a target management page, and comprises at least one of main body attribute information, interface information and service configuration, wherein the main body attribute information comprises information such as a table name, a main key and field content of each service main body, the interface information comprises information such as a mapping address, a request method and a permission identification mode of each service main body, and the service configuration comprises information such as a database, a cache and an agent corresponding to each service main body; the preset metadata configuration file may be a javascript object notation (json) -based programming file, such as a meta json file, where meta refers to metadata. The preset page configuration file is a file for configuring a target management page, and includes a title, a language, a style, a frame and the like of the target management page, and may be a json programming-based file, such as a template. The preset component configuration file is a file configured for a component or a page button in a target management page, and comprises a component library corresponding to the target management page and attribute information of each component in the target management page, wherein the attribute information of each component comprises information such as style and color of each component; the preset component configuration file may be a json programming based file, such as a controltemplate. The preset configuration template refers to a basic template which is preset by the server and used for compiling.
In practical application, after a page generation request is received, a page identifier of a target management page needs to be extracted from the page generation request, and further, a preset metadata configuration file corresponding to the page identifier, that is, a preset metadata configuration file corresponding to the target management page is searched in a preset file library through a preset configuration tool, wherein the preset file library is a preset file library, the page identifier and the preset metadata configuration file corresponding to the page identifier are stored in the preset file library in an associated manner, that is, the page identifier and the preset metadata configuration file are stored in the preset file library, and one page identifier corresponds to one preset metadata configuration file, so that query is facilitated. In addition, a preset page configuration file and a preset component configuration file corresponding to the target management page can be obtained according to the page identifier, that is, the preset page configuration file and the preset component configuration file are also stored in the preset file library, and when the page configuration file and the component configuration file are stored, the stored page configuration file and the component configuration file are associated with the page identifier, and a universal preset page configuration file and a universal preset component configuration file can also be directly obtained.
It should be noted that, a preset metadata configuration file corresponding to a target management page may be searched for according to a page identifier, and then a preset page configuration file and a preset component configuration file are obtained; the method can also comprise the steps of obtaining a preset page configuration file and a preset component configuration file, and searching a preset metadata configuration file corresponding to a target management page according to a page identifier; the preset page configuration file and the preset component configuration file can also be acquired while the preset metadata configuration file corresponding to the target management page is searched according to the page identifier. This is not a limitation of the present application.
In addition, it is necessary to determine the metadata in the preset metadata configuration file, determine the preset configuration tool based on the metadata and the preset configuration template, and then search the preset metadata configuration file, the preset page configuration file, and the preset component configuration file by using the preset configuration tool. That is, before searching for the preset metadata configuration file, the preset page configuration file, and the preset component configuration file corresponding to the page identifier through the preset configuration tool, the method further includes:
acquiring a preset metadata configuration file and a preset configuration template corresponding to the page identifier;
analyzing the preset metadata configuration file to obtain metadata corresponding to the page identifier;
and determining the preset configuration tool according to the metadata and the preset configuration template.
Specifically, the metadata is data describing a service agent in the target management page, and mainly describes body attribute information, interface information, service configuration, and the like of the service agent, and is used to support functions such as indicating a storage location, history data, resource search, file recording, and the like.
In practical application, the management pages correspond to the preset configuration tools one by one, that is, one management page corresponds to one preset configuration tool. Before searching for the preset metadata configuration file, the preset page configuration file and the preset component configuration file corresponding to the page identifier, the server side obtains the preset metadata configuration file and the preset configuration template aiming at any one preset metadata configuration file stored in a preset file library. Then, the server side can analyze the preset metadata configuration file through a preset loading tool, for example, the preset metadata configuration file is analyzed through a loader, and then metadata corresponding to a management page in the preset metadata configuration file is obtained; adding the metadata into a preset configuration template through a preset loading tool, and determining a preset configuration tool corresponding to the management page; and traversing other preset metadata configuration files stored in a preset file library to generate a preset configuration tool corresponding to each management page. Therefore, for the target management page, the server obtains a preset metadata configuration file and a preset configuration template corresponding to the page identifier from a preset file library, analyzes the preset metadata configuration file through a preset loading tool to obtain metadata of the target management page, that is, the metadata corresponding to the page identifier, and then adds the metadata to the preset configuration template through the preset loading tool to determine the preset configuration tool corresponding to the management page. Therefore, the preset metadata configuration file, the preset page configuration file and the preset component configuration file can be effectively and smoothly searched, the speed and the accuracy of rendering and displaying the target management page are improved, and the preset configuration tool is determined based on the metadata corresponding to the preset metadata configuration file and the configuration template, so that the association degree between the preset configuration tool and the target management page is improved, and the feasibility and the reliability of the preset configuration tool are improved.
In order to improve the accuracy of the preset metadata configuration file, thereby improving the feasibility and reliability of generating the preset configuration tool, and ensuring the reliability of the target management page generated by rendering, the execution data corresponding to the page identifier may be searched based on the page identifier, and then the preset metadata configuration file corresponding to the target management page may be generated based on the execution data, that is, the preset metadata configuration file corresponding to the page identifier may be obtained, which may be implemented as follows:
searching the execution data corresponding to the page identifier from a preset library by using a preset analysis tool;
analyzing the execution data by using a preset syntax tree algorithm to obtain execution logic information of the execution data;
and generating a preset metadata configuration file corresponding to the page identifier according to the execution logic information.
Specifically, the preset analysis tool refers to a tool for reading and analyzing execution data, such as a preset service development analyzer; syntax tree (syntax tree), which is an abstract representation of the syntax structure of the source code, represents the syntax structure of the programming language in the form of tree, and each node on the tree represents a structure in the source code; the preset syntax tree algorithm is an algorithm preset based on a syntax tree; the preset library is a set of all execution data which is preset, wherein when the execution data is stored in the preset library, a page identifier corresponding to the stored execution data needs to be associated so as to facilitate query; the execution data refers to data of a running target management page; the execution logic information refers to a structure of execution data, a logic order of execution, and the like.
In practical applications, the execution data corresponds to the management pages one by one, that is, one group of execution data corresponds to one management page. The server side obtains any one group of execution data from a preset library by using a preset analysis tool, analyzes the group of execution data by using a preset syntax tree algorithm to obtain execution logic information corresponding to the group of execution data, and generates a preset metadata configuration file corresponding to the group of execution data based on the execution logic information, namely generates a preset metadata configuration file of a management page corresponding to the group of execution data.
Therefore, for the target management page, the server side acquires the execution data corresponding to the page identifier in the preset library by using the preset analysis tool, that is, the execution data corresponding to the target management page; then analyzing the execution data corresponding to the page identification by using a preset syntax tree algorithm by using a preset analysis tool to obtain the execution logic information corresponding to the target management page; and then the server side automatically generates a preset metadata configuration file according to the execution logic information.
For example, using a service development analyzer, searching for the execution data corresponding to the page identifier, that is, the execution data corresponding to the target management page, in a preset library through a branch structure or a method of submitting hash; and then analyzing the searched execution data based on a preset syntax tree algorithm to obtain execution logic information, and further automatically generating a preset metadata configuration file according to the execution logic information.
In one or more optional embodiments of the present specification, the preset configuration template includes a data access configuration template, an interface configuration template, and a service layer configuration template, and at this time, the metadata may be loaded to the data access configuration template, the interface configuration template, and the service layer configuration template, respectively, so as to generate a compiling architecture corresponding to the target management page. That is, the determining the preset configuration tool according to the metadata and the preset configuration template may be implemented as follows:
loading the metadata into the data access configuration template, the interface configuration template and the service layer configuration template respectively to obtain data access configuration information, interface configuration information and service layer configuration information;
and generating the preset configuration tool according to the data access configuration information, the interface configuration information and the service layer configuration information through a preset language compiler.
Specifically, the data access configuration template refers to a template preset for data corresponding to service configuration in metadata, and the data access configuration template includes a data object template, an object display template and a data access template; the interface configuration template refers to a template preset for data corresponding to interface information in the metadata, and may also be referred to as a control layer template; the service layer configuration template refers to a template preset for data corresponding to the main body attribute information in the metadata; the predetermined language compiler refers to a compiler that specifies a programming language in advance, and may be any one of a go (golang) language compiler, a c + + language compiler, and the like.
In practical application, after a preset metadata configuration file is analyzed to obtain metadata, the metadata is loaded into a preset data access configuration template, an interface configuration template and a service layer configuration template respectively, that is, the metadata is loaded into the preset data access configuration template to obtain data access configuration information, the metadata is loaded into the preset interface configuration template to obtain interface configuration information, and the metadata is loaded into the preset service layer configuration template to obtain service layer configuration information. And then, compiling according to the data access configuration information, the interface configuration information and the service layer configuration information by using a preset language compiler to generate a preset configuration tool. Therefore, the preset language compiler is used for compiling according to the data access configuration information, the interface configuration information and the service layer configuration information, the logic correctness of the preset configuration tool can be ensured, the feasibility and the reliability of the preset configuration template are improved, and the efficiency of rendering and displaying the target management page is improved.
Step 106: and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file.
The method comprises the steps of searching a preset metadata configuration file corresponding to a target management page according to a page identifier of the target management page, and further combining the preset metadata configuration file, the preset page configuration file and a preset component configuration file to generate the target configuration file on the basis of obtaining the preset page configuration file and the preset component configuration file.
Specifically, the target configuration file refers to a configuration file for rendering and generating a target management page.
In a possible implementation manner of the embodiment of the present application, the target configuration file may be a configuration file in a low-code front-end framework format, and the target configuration file may be a file based on json programming, such as an amis.
In practical application, on the basis of determining the preset metadata configuration file, the preset page configuration file and the preset component configuration file, further referring to fig. 2A, fig. 2A shows a processing schematic diagram for generating a target configuration file according to an embodiment of the present application, and the server may combine the preset metadata configuration file, the preset page configuration file and the preset component configuration file by using a preset assembly tool to obtain the target configuration file.
For example, the server combines the preset metadata configuration file, the preset page configuration file, and the preset component configuration file according to a low-code front-end framework format by using a configuration assembler (preset assembly tool) to obtain a target configuration file.
For another example, if the preset metadata configuration file is a meta.json file, the preset page configuration file is a template.json file, the preset component configuration file is a control.
Optionally, in order to improve the efficiency of combining the preset metadata configuration file, the preset page configuration file, and the preset component configuration file, a compiling architecture may be determined first, and then the preset metadata configuration file, the preset page configuration file, and the preset component configuration file are combined according to the compiling architecture, that is, the preset metadata configuration file, the preset page configuration file, and the preset component configuration file are combined to generate a target configuration file, where a specific implementation process may be as follows:
determining a compiling framework corresponding to the page identifier according to the preset configuration tool;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file based on the compiling architecture to generate a target configuration file.
Specifically, the compiling architecture refers to an architecture combining a preset metadata configuration file, a preset page configuration file and a preset component configuration file, and includes abstract descriptions between a target configuration file and the preset metadata configuration file, the preset page configuration file and the preset component configuration file respectively.
In practical application, before the preset metadata configuration file, the preset page configuration file and the preset component configuration file are combined, a compiling framework corresponding to a target management page, that is, a compiling framework corresponding to a page identifier, may be obtained based on a preset configuration tool, and then the preset metadata configuration file, the preset page configuration file and the preset component configuration file are combined according to the compiling framework to generate the target configuration file.
After the compiling framework is generated, further determining a compiling strategy, and then combining a preset metadata configuration file, a preset page configuration file, and a preset component configuration file according to the compiling strategy, that is, combining the preset metadata configuration file, the preset page configuration file, and the preset component configuration file based on the compiling framework to generate a target configuration file, where the method includes:
determining a compiling strategy aiming at the target management page according to the compiling framework;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate a target configuration file.
Specifically, the compiling policy refers to a policy of combining a preset metadata configuration file, a preset page configuration file, and a preset component configuration file.
In practical application, on the basis of determining the compiling framework, the compiling framework is further analyzed, so that the compiling strategy for the target page is determined. And then combining the acquired preset metadata configuration file, the preset page configuration file and the preset component configuration file according to a compiling strategy so as to generate a target configuration file. Therefore, the efficiency and the accuracy of determining the target configuration file are improved.
In another possible implementation manner of the embodiment of the present application, the target configuration file may also be a static file of the generated target management page, such as a picture of the target management page. Combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file, wherein the specific implementation process can be as follows:
combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate an initial configuration file;
and generating a target configuration file according to the initial configuration file and the page data corresponding to the page identifier.
In practical application, on the basis of determining the preset metadata configuration file, the preset page configuration file and the preset component configuration file, further, the preset metadata configuration file, the preset page configuration file and the preset component configuration file are combined by using a preset assembly tool, so as to obtain an initial configuration file, where the initial configuration file is a configuration file in a low-code front-end framework format, such as a file based on json programming, such as an amis. And then acquiring page data corresponding to the page identifier, namely page data of the target management page, and generating a static file of the target management page, namely a target configuration file, at the server according to the initial configuration file and the page data. Therefore, when the client receives the target configuration file, the target management page can be rendered and displayed directly based on the target configuration file, and the efficiency of displaying the management page is improved.
For example, the preset metadata configuration file is a meta.json file, the preset page configuration file is a template.json file, the preset component configuration file is a control template.json file, the initial configuration file is an ams.json file, and the target configuration file is a picture of the target management page; then, combining the meta.json file, the template.json file and the control template.json file by configuring an assembler to generate an ams.json file, and then rendering according to the ams.json file and the page data of the target management page, thereby obtaining the picture of the target management page.
Optionally, in order to improve the efficiency of combining the preset metadata configuration file, the preset page configuration file, and the preset component configuration file, a compiling architecture may be determined first, and then the preset metadata configuration file, the preset page configuration file, and the preset component configuration file are combined according to the compiling architecture, that is, the preset metadata configuration file, the preset page configuration file, and the preset component configuration file are combined to generate a target configuration file, where a specific implementation process may be as follows:
determining a compiling framework corresponding to the page identifier according to the preset configuration tool;
combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file based on the compiling architecture to generate an initial configuration file;
and generating a target configuration file according to the initial configuration file and the page data corresponding to the page identifier.
Specifically, the compiling architecture refers to an architecture combining a preset metadata configuration file, a preset page configuration file and a preset component configuration file, and includes abstract descriptions between an initial configuration file and the preset metadata configuration file, the preset page configuration file and the preset component configuration file respectively.
In practical application, before combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file, a compiling architecture corresponding to a target management page, that is, a compiling architecture corresponding to a page identifier, may be obtained based on a preset configuration tool, and then the preset metadata configuration file, the preset page configuration file and the preset component configuration file are combined according to the compiling architecture to generate an initial configuration file, and then the target configuration file is generated at the server according to the initial configuration file and the page data.
After the compiling framework is generated, further determining a compiling strategy, and then combining a preset metadata configuration file, a preset page configuration file, and a preset component configuration file according to the compiling strategy, that is, combining the preset metadata configuration file, the preset page configuration file, and the preset component configuration file based on the compiling framework to generate a target configuration file, where the method includes:
determining a compiling strategy aiming at the target management page according to the compiling framework;
combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate an initial configuration file;
and generating a target configuration file according to the initial configuration file and the page data corresponding to the page identifier.
Specifically, the compiling policy refers to a policy of combining a preset metadata configuration file, a preset page configuration file, and a preset component configuration file.
In practical application, on the basis of determining the compiling framework, the compiling framework is further analyzed, so that the compiling strategy for the target page is determined. And then combining the acquired preset metadata configuration file, the preset page configuration file and the preset component configuration file according to a compiling strategy to generate an initial configuration file, and further generating a target configuration file according to the initial configuration file and the page data corresponding to the page identifier. Therefore, the efficiency and the accuracy of determining the target configuration file are improved.
Step 108: and sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file.
And further returning the target configuration file to the client side, and generating a target management page by the client side based on the target configuration file on the basis of combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate the target configuration file.
In a possible implementation manner of the embodiment of the application, if the target configuration file is a configuration file in a low-code front-end frame format, such as a json-programming-based file, namely an ams.
For example, the target configuration file is an amis.json file, the client sends the amis.json file to the client, the client delivers the amis.json file to an amis front-end frame tool (preset frame tool), and the target management page is rendered and displayed on the client by combining page data of the target management page acquired in advance.
In a possible implementation manner of the embodiment of the application, if the target configuration file is a static file of the generated target management page, such as a picture of the target management page, after the server obtains the target configuration file, the server sends the target configuration file to the client, and then the client can render and generate the target management page at the client based on the target configuration file directly and display the target management page.
After the client renders and displays the target management page, a user can edit the target management page through the client, such as delete, modify, add, and query a certain service body, and at this time, the client generates an operation request for the target management page based on the editing operation of the user and sends the operation request to the client. The client executes corresponding operation based on the operation request, and the specific implementation process may be as follows:
receiving an operation request sent by the client, wherein the operation request carries an operation identifier and a page identifier of the target management page;
determining a target database corresponding to the page identifier;
and performing operation corresponding to the operation identifier on the target database, and feeding back an operation result to the client.
Specifically, the operation request refers to a request generated by a client performing operations such as deleting, modifying, adding, querying and the like on a service main body on a target management page through the client by a user or an operator; the operation identifier is an identifier for performing any one of operations such as deleting, modifying, adding, querying and the like on a certain service body, and the operation identifier includes a service body identifier and an operation type, for example, in the operation identifier "service body 1, modification", the "service body 1" is the service body identifier, and the "modification" is the operation type, that is, the operation identifier "service body 1, modification" is an operation identifier corresponding to the operation of modifying the service body 1; the target database is a collection for storing business main data or storing target management page bottom data.
In practical application, when a user or an operator operates a target management page through a client, an operation request carrying an operation identifier and a page identifier may be generated, and then the client sends the operation request to a server, that is, the server receives the operation request. Then, the server matches a target database corresponding to the target management page based on the page identifier in the operation request, and then performs operation corresponding to the operation identifier on the target database according to the operation identifier, if the operation is successful, the operation result corresponding to the successful operation of the client is fed back; and if the operation fails, feeding back an operation result corresponding to the operation failure of the client.
For example, in the process that the server receives the operation request and carries the page identifier "a 1" of the target management page and the operation identifier "control 1, delete", the server matches the target database a1 according to "a 1", then deletes the control 1 in the target database a1 according to "control 1, delete", and after the deletion is successful, the operation result of "operation successful" is fed back to the client.
It should be noted that each management page has an independent preset metadata configuration file, that is, the preset metadata configuration files corresponding to different management pages are different; the preset page configuration file and the preset component configuration file may be shared among different management pages, that is, the preset page configuration files corresponding to different management pages may be the same, and the preset component configuration files corresponding to different management pages may also be the same. The preset metadata configuration file, the preset page configuration file and the preset component configuration file can be jointly maintained by the client and the server, the preset metadata configuration file, the preset page configuration file and the preset component configuration file can be integrated to generate target configuration files, and each target configuration file corresponds to one management page.
In addition, a visual page is provided for the preset metadata configuration file, the preset page configuration file, the preset component configuration file and the target configuration file, the preset metadata configuration file, the preset page configuration file and the preset component configuration file can be edited online, the target configuration file obtained by combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file can be checked, and meanwhile, a target management page rendered based on the target configuration file, namely an effect map, can be checked.
Referring to fig. 2B, fig. 2B shows a schematic structural diagram of a visualization page provided in an embodiment of the present application: in the visual page, the preset metadata configuration file, the preset page configuration file and the preset component configuration file may be modified, and the target configuration file may be generated based on the preset metadata configuration file, the preset page configuration file and the preset component configuration file, such as "modification/generation" shown in the upper left corner of the visual page. The content of the preset metadata configuration file is displayed in an area corresponding to the preset metadata configuration file, and a storage key is displayed below the preset metadata configuration file as shown in 'AAAAAA', and is used for modifying and storing the preset metadata configuration file; displaying the content of the preset page configuration file in an area corresponding to the preset page configuration file, wherein a storage key is displayed below the preset page configuration file as shown in BBBBBBBB and is used for storing the preset page configuration file after being modified; displaying the content of the preset component configuration file in an area corresponding to the preset component configuration file, wherein a storage key is displayed below the preset component configuration file and is used for storing the modified preset component configuration file as shown in CCCCCCC; the content of the target configuration file is displayed in the area corresponding to the target configuration file, as shown by 'AAAABBBBBBBBCCCCCC', and a 'generation' key is displayed below the target configuration file for storing the current target configuration file. The upper right corner of the visual page is provided with a sharing key and a synchronizing key, wherein the sharing key is used for sharing the generated target configuration file to other clients or servers, and the synchronizing key is used for synchronizing the generated target configuration file to a database and the like. After an operator modifies and clicks and saves the preset metadata configuration file and/or the preset page configuration file and/or the preset component configuration file, displaying the content of the target configuration file in the area corresponding to the target configuration file, namely the target configuration file generated according to the current preset metadata configuration file, the preset page configuration file and the preset component configuration file. At this time, the operator can check the target configuration file, and if the target configuration file does not meet the requirement, the operator can continuously modify the preset metadata configuration file and/or the preset page configuration file and/or the preset component configuration file; if the target configuration file meets the requirements, a 'generation' button can be clicked, synchronization is clicked, and the target configuration file is synchronized to the database.
The management page display method comprises the steps of receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page; then searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier; then combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file; and further sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file. The preset configuration tool is determined based on the preset metadata configuration file and the preset configuration template corresponding to the page identifier, the preset metadata configuration file, the preset page configuration file and the preset component configuration file corresponding to the page identifier are searched by the preset configuration tool and combined to generate the target configuration file, and then the target management page is rendered and displayed, the repeated development of the unified preset page configuration file and the unified preset component configuration file is not needed, only the independent preset metadata configuration file of the target management page is needed, the repeated development task of the development management page is avoided, the development cost is reduced, the development efficiency of the management page is improved, meanwhile, the target configuration file can be determined only by acquiring the preset metadata configuration file, the preset page configuration file and the preset component configuration file, and the display efficiency of the target management page is improved, the data processing amount of the server is reduced.
The following description further explains the management page display method with reference to fig. 2C by taking the application of the management page display method provided by the present application to the network community as an example. Fig. 2C shows a processing flow chart of a management page display method applied to a network community according to an embodiment of the present application, which specifically includes the following steps:
step 202: and receiving a page generation request aiming at the network community, which is sent by a client, wherein the page generation request carries a page identifier of a network community management page.
Step 204: and searching the execution data corresponding to the page identification from a preset library by using a preset analysis tool.
Step 206: and analyzing the execution data by using a preset syntax tree algorithm to obtain execution logic information of the execution data.
Step 208: and generating a preset metadata configuration file corresponding to the page identifier according to the execution logic information.
Step 210: and acquiring a data access configuration template, an interface configuration template and a service layer configuration template corresponding to the page identifier.
Step 212: and analyzing the preset metadata configuration file to obtain metadata corresponding to the page identifier.
Step 214: and respectively loading the metadata into a data access configuration template, an interface configuration template and a service layer configuration template to obtain data access configuration information, interface configuration information and service layer configuration information.
Step 216: and generating a preset configuration tool according to the data access configuration information, the interface configuration information and the service layer configuration information through a preset language compiler.
Step 218: and searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool.
Step 220: and determining a compiling framework corresponding to the page identifier according to a preset configuration tool.
Step 222: and determining a compiling strategy aiming at the network community management page according to the compiling framework.
Step 224: and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate a target configuration file.
Step 226: and sending the target configuration file to the client so that the client renders and displays the network community management page according to the target configuration file.
Optionally, the method further comprises:
receiving an operation request sent by a client, wherein the operation request carries an operation identifier and a page identifier of a network community management page;
determining a target database corresponding to the page identifier;
and performing operation corresponding to the operation identifier on the target database, and feeding back an operation result to the client.
The management page display method applied to the network community determines a preset configuration tool based on a preset metadata configuration file and a preset configuration template corresponding to a page identifier, searches the preset metadata configuration file, the preset page configuration file and the preset component configuration file corresponding to the page identifier by the preset configuration tool, combines the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file, and further renders and displays the network community management page, does not need to repeatedly develop the unified preset page configuration file and the preset component configuration file, only needs to develop the independent preset metadata configuration file of the network community management page, avoids repeated development tasks on the development management page, reduces the development cost, improves the development efficiency of the management page, and can determine the target configuration file only by acquiring the preset metadata configuration file, the preset page configuration file and the preset component configuration file, the display efficiency of the network community management page is improved, and the data processing amount of the server is reduced.
Corresponding to the above method embodiment, the present application further provides an embodiment of a management page display apparatus, and fig. 3 shows a schematic structural diagram of a management page display apparatus provided in an embodiment of the present application. As shown in fig. 3, the apparatus is applied to the server side, and includes:
a receiving module 302, configured to receive a page generation request sent by a client, where the page generation request carries a page identifier of a target management page;
a searching module 304, configured to search, by using a preset configuration tool, a preset metadata configuration file, a preset page configuration file, and a preset component configuration file corresponding to the page identifier, where the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier;
a generating module 306 configured to combine the preset metadata configuration file, the preset page configuration file, and the preset component configuration file to generate a target configuration file;
a sending module 308 configured to send the target configuration file to the client, so that the client renders and displays the target management page according to the target configuration file.
Optionally, the apparatus further comprises a determining module configured to:
acquiring a preset metadata configuration file and a preset configuration template corresponding to the page identifier;
analyzing the preset metadata configuration file to obtain metadata corresponding to the page identifier;
and determining the preset configuration tool according to the metadata and the preset configuration template.
Optionally, the preset configuration template includes a data access configuration template, an interface configuration template and a service layer configuration template;
the determination module further configured to:
loading the metadata into the data access configuration template, the interface configuration template and the service layer configuration template respectively to obtain data access configuration information, interface configuration information and service layer configuration information;
and generating the preset configuration tool according to the data access configuration information, the interface configuration information and the service layer configuration information through a preset language compiler.
Optionally, the generating module 306 is further configured to:
determining a compiling framework corresponding to the page identifier according to the preset configuration tool;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file based on the compiling architecture to generate a target configuration file.
Optionally, the generating module 306 is further configured to:
determining a compiling strategy aiming at the target management page according to the compiling framework;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate a target configuration file.
Optionally, the determining is further configured to:
searching the execution data corresponding to the page identifier from a preset library by using a preset analysis tool;
analyzing the execution data by using a preset syntax tree algorithm to obtain execution logic information of the execution data;
and generating a preset metadata configuration file corresponding to the page identifier according to the execution logic information.
Optionally, the apparatus further comprises a processing module configured to:
receiving an operation request sent by the client, wherein the operation request carries an operation identifier and a page identifier of the target management page;
determining a target database corresponding to the page identifier;
and performing operation corresponding to the operation identifier on the target database, and feeding back an operation result to the client.
The management page display device provided by the application receives a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page; then searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier; then combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file; and further sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file. The preset configuration tool is determined based on the preset metadata configuration file and the preset configuration template corresponding to the page identifier, the preset metadata configuration file, the preset page configuration file and the preset component configuration file corresponding to the page identifier are searched by the preset configuration tool and combined to generate the target configuration file, and then the target management page is rendered and displayed, the repeated development of the unified preset page configuration file and the unified preset component configuration file is not needed, only the independent preset metadata configuration file of the target management page is needed, the repeated development task of the development management page is avoided, the development cost is reduced, the development efficiency of the management page is improved, meanwhile, the target configuration file can be determined only by acquiring the preset metadata configuration file, the preset page configuration file and the preset component configuration file, and the display efficiency of the target management page is improved, the data processing amount of the server is reduced.
The above is an exemplary scheme of the device for managing page display according to the embodiment. It should be noted that the technical solution of the management page display apparatus and the technical solution of the management page display method belong to the same concept, and details of the technical solution of the management page display apparatus, which are not described in detail, can be referred to the description of the technical solution of the management page display method. Further, the components in the device embodiment should be understood as functional blocks that must be created to implement the steps of the program flow or the steps of the method, and each functional block is not actually divided or separately defined. The device claims defined by such a set of functional modules are to be understood as a functional module framework for implementing the solution mainly by means of a computer program as described in the specification, and not as a physical device for implementing the solution mainly by means of hardware.
Fig. 4 shows a block diagram of a computing device 400 provided according to an embodiment of the present application. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. Processor 420 is coupled to memory 410 via bus 430 and database 450 is used to store data.
Computing device 400 also includes access device 440, access device 440 enabling computing device 400 to communicate via one or more networks 460. Examples of such networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 440 may include one or more of any type of Network Interface (e.g., a Network Interface Controller (NIC)) whether wired or Wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) Wireless Interface, a Worldwide Interoperability for microwave access (Wi-MAX) Interface, an ethernet Interface, a Universal Serial Bus (USB) Interface, a cellular Network Interface, a bluetooth Interface, a Near Field Communication (NFC) Interface, and so forth.
In one embodiment of the application, the above-described components of computing device 400 and other components not shown in FIG. 4 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 4 is for purposes of example only and is not limiting as to the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.
Wherein, the processor 420 is used for executing the computer executable instructions of the management page display method.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the management page display method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the management page display method.
An embodiment of the present application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, are configured to manage a page display method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the management page display method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the management page display method.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and its practical applications, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (10)

1. A management page display method is applied to a server and comprises the following steps:
receiving a page generation request sent by a client, wherein the page generation request carries a page identifier of a target management page;
searching a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier;
combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file;
and sending the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file.
2. The method according to claim 1, wherein before searching for the preset metadata configuration file, the preset page configuration file, and the preset component configuration file corresponding to the page identifier by using a preset configuration tool, the method comprises:
acquiring a preset metadata configuration file and a preset configuration template corresponding to the page identifier;
analyzing the preset metadata configuration file to obtain metadata corresponding to the page identifier;
and determining the preset configuration tool according to the metadata and the preset configuration template.
3. The method of claim 2, wherein the preset configuration templates include a data access configuration template, an interface configuration template, and a service layer configuration template;
determining the preset configuration tool according to the metadata and the preset configuration template includes:
loading the metadata into the data access configuration template, the interface configuration template and the service layer configuration template respectively to obtain data access configuration information, interface configuration information and service layer configuration information;
and generating the preset configuration tool according to the data access configuration information, the interface configuration information and the service layer configuration information through a preset language compiler.
4. The method of claim 1, wherein combining the preset metadata profile, the preset page profile, and the preset component profile to generate a target profile comprises:
determining a compiling framework corresponding to the page identifier according to the preset configuration tool;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file based on the compiling architecture to generate a target configuration file.
5. The method of claim 4, wherein the combining the preset metadata configuration file, the preset page configuration file, and the preset component configuration file based on the compilation architecture to generate a target configuration file comprises:
determining a compiling strategy aiming at the target management page according to the compiling framework;
and combining the preset metadata configuration file, the preset page configuration file and the preset component configuration file according to the compiling strategy to generate a target configuration file.
6. The method according to claim 2, wherein the obtaining of the preset metadata configuration file corresponding to the page identifier comprises:
searching the execution data corresponding to the page identifier from a preset library by using a preset analysis tool;
analyzing the execution data by using a preset syntax tree algorithm to obtain execution logic information of the execution data;
and generating a preset metadata configuration file corresponding to the page identifier according to the execution logic information.
7. The method of claim 1, further comprising:
receiving an operation request sent by the client, wherein the operation request carries an operation identifier and a page identifier of the target management page;
determining a target database corresponding to the page identifier;
and performing operation corresponding to the operation identifier on the target database, and feeding back an operation result to the client.
8. A management page display device is characterized in that the management page display device is applied to a server and comprises:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is configured to receive a page generation request sent by a client, and the page generation request carries a page identifier of a target management page;
the searching module is configured to search a preset metadata configuration file, a preset page configuration file and a preset component configuration file corresponding to the page identifier through a preset configuration tool, wherein the preset configuration tool is determined based on the preset metadata configuration file and a preset configuration template corresponding to the page identifier;
the generating module is configured to combine the preset metadata configuration file, the preset page configuration file and the preset component configuration file to generate a target configuration file;
the sending module is configured to send the target configuration file to the client so that the client renders and displays the target management page according to the target configuration file.
9. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions, and the processor is configured to execute the computer-executable instructions to implement the steps of the method for managing display of pages of any of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions which, when executed by a processor, perform the steps of the method for managing the display of pages of any of claims 1 to 7.
CN202111511919.3A 2021-12-06 2021-12-06 Management page display method and device Active CN114153547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111511919.3A CN114153547B (en) 2021-12-06 2021-12-06 Management page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111511919.3A CN114153547B (en) 2021-12-06 2021-12-06 Management page display method and device

Publications (2)

Publication Number Publication Date
CN114153547A true CN114153547A (en) 2022-03-08
CN114153547B CN114153547B (en) 2023-11-17

Family

ID=80450558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111511919.3A Active CN114153547B (en) 2021-12-06 2021-12-06 Management page display method and device

Country Status (1)

Country Link
CN (1) CN114153547B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301813A (en) * 2023-05-17 2023-06-23 壹药网科技(上海)股份有限公司 Low-code platform development method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143182A1 (en) * 2004-12-16 2006-06-29 International Business Machines Corporation Web template processing utilizing dynamic rules defined by data structure language
US20100235806A1 (en) * 2009-03-13 2010-09-16 Microsoft Corporation Rich Web Site Authoring And Design
CN102541541A (en) * 2011-12-15 2012-07-04 大唐软件技术股份有限公司 Interface generation method and device
CN104731588A (en) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 Page layout file generation method and device
CN107391169A (en) * 2017-06-09 2017-11-24 口碑控股有限公司 The dynamic updating method and device of the Android page
CN108334517A (en) * 2017-01-20 2018-07-27 华为技术有限公司 A kind of webpage rendering intent and relevant device
CN109254992A (en) * 2018-10-12 2019-01-22 北京京东金融科技控股有限公司 Project generation method and system, computer system and computer readable storage medium storing program for executing
CN110083590A (en) * 2019-04-22 2019-08-02 杭州数梦工场科技有限公司 Data filling method and device and computer readable storage medium
CN110400196A (en) * 2019-06-20 2019-11-01 北京奇艺世纪科技有限公司 A kind of page processing method, device and computer readable storage medium
CN110673839A (en) * 2019-09-10 2020-01-10 口碑(上海)信息技术有限公司 Distributed tool configuration construction generation method and system
CN110795195A (en) * 2019-10-31 2020-02-14 百度在线网络技术(北京)有限公司 Webpage rendering method and device, electronic equipment and storage medium
CN111352682A (en) * 2018-12-24 2020-06-30 北京嘀嘀无限科技发展有限公司 Page rendering method, device, server and readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143182A1 (en) * 2004-12-16 2006-06-29 International Business Machines Corporation Web template processing utilizing dynamic rules defined by data structure language
US20100235806A1 (en) * 2009-03-13 2010-09-16 Microsoft Corporation Rich Web Site Authoring And Design
CN102541541A (en) * 2011-12-15 2012-07-04 大唐软件技术股份有限公司 Interface generation method and device
CN104731588A (en) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 Page layout file generation method and device
CN108334517A (en) * 2017-01-20 2018-07-27 华为技术有限公司 A kind of webpage rendering intent and relevant device
CN107391169A (en) * 2017-06-09 2017-11-24 口碑控股有限公司 The dynamic updating method and device of the Android page
CN109254992A (en) * 2018-10-12 2019-01-22 北京京东金融科技控股有限公司 Project generation method and system, computer system and computer readable storage medium storing program for executing
CN111352682A (en) * 2018-12-24 2020-06-30 北京嘀嘀无限科技发展有限公司 Page rendering method, device, server and readable storage medium
CN110083590A (en) * 2019-04-22 2019-08-02 杭州数梦工场科技有限公司 Data filling method and device and computer readable storage medium
CN110400196A (en) * 2019-06-20 2019-11-01 北京奇艺世纪科技有限公司 A kind of page processing method, device and computer readable storage medium
CN110673839A (en) * 2019-09-10 2020-01-10 口碑(上海)信息技术有限公司 Distributed tool configuration construction generation method and system
CN110795195A (en) * 2019-10-31 2020-02-14 百度在线网络技术(北京)有限公司 Webpage rendering method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301813A (en) * 2023-05-17 2023-06-23 壹药网科技(上海)股份有限公司 Low-code platform development method and system
CN116301813B (en) * 2023-05-17 2023-08-15 壹药网科技(上海)股份有限公司 Low-code platform development method and system

Also Published As

Publication number Publication date
CN114153547B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
US11816615B2 (en) Managing project tasks using content items
US20220414326A1 (en) Document applet generation
US10152773B2 (en) Creating a blurred area for an image to reuse for minimizing blur operations
US20220342518A1 (en) Card-based information management method and system
CA3061623C (en) File sending in instant messaging applications
US20130046935A1 (en) Shared copy cache across networked devices
US20220141227A1 (en) Managing Metadata for External Content within a Computing Environment
WO2018204341A1 (en) Managing multi-tenant keys in multi-tenant computing environments
CN114153547B (en) Management page display method and device
CN114627207A (en) Flow chart processing method and device
CN113722007A (en) Configuration method, device and system of VPN branch equipment
CN112115397A (en) Dynamic page rendering method and system
US10866926B2 (en) Hybrid search interface
CN112965946B (en) Method, device, equipment and computer readable medium for processing document
US20150039612A1 (en) Storage-based data analytics knowledge management system
CN114153366A (en) Language configuration method and device
CN116167342A (en) File generation method and device, electronic equipment and storage medium
CN114185811A (en) Test method, test device, storage medium and electronic equipment
CN115759278A (en) Automatic denoising of machine learning items
CN116932023A (en) Code processing method and related device
CN115454415A (en) Back-end code generation method and device
CN114625705A (en) Method and device for automatically generating UI (user interface) resources in development engine
CN110598136A (en) Communication content management method and device
CN116610706A (en) Data blood-edge analysis method, server and system
CN118043797A (en) Conversion between data object schema versions for data producers and data consumers

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