CN113885860A - Method and equipment for automatically configuring management page to generate interface service - Google Patents
Method and equipment for automatically configuring management page to generate interface service Download PDFInfo
- Publication number
- CN113885860A CN113885860A CN202111226986.0A CN202111226986A CN113885860A CN 113885860 A CN113885860 A CN 113885860A CN 202111226986 A CN202111226986 A CN 202111226986A CN 113885860 A CN113885860 A CN 113885860A
- Authority
- CN
- China
- Prior art keywords
- page
- module
- module content
- template
- parameters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000004931 aggregating effect Effects 0.000 claims abstract description 12
- 230000015654 memory Effects 0.000 claims description 17
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 abstract description 19
- 230000006870 function Effects 0.000 abstract description 13
- 238000012800 visualization Methods 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 26
- 238000003860 storage Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004220 aggregation Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The method comprises the steps of requesting page module content according to the page dimension of a current page, wherein the page module content refers to a module content template; aggregating the module contents to be displayed to generate the page parameters of the current page; and generating a webpage interface according to the page parameters, transmitting the page parameters to the current page through the webpage interface, and displaying the module content corresponding to the page parameters on the current page. The method can help improve the efficiency of content configuration by operation, reduce the development difficulty of repeated functions of developers, and realize the development of interface content through visualization and configuration.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for automatically configuring a management page to generate an interface service.
Background
For some financial enterprises, the enterprise operation needs to operate application program (APP) contents at high frequency according to business requirements, such as page businesses of home page cards, asset pages, financial management pages and the like, each configuration is completely pushed to an APP terminal from the requirement proposing, the product arrangement, the Application Program Interface (API) development, the front-end page development and release, the function verification and the pushing to the APP are needed, and the whole process is completed and the communication needs multiple days. When the fund application program activity and related fund products are updated very frequently, a large number of pages are needed to be modified, only development human resources can be increased, the cost of an enterprise is increased, and the products cannot be popularized to the market in time. In addition, once the product page is developed, corresponding development resources are released. When new demands exist, development manpower resources need to be increased, and the situation of low efficiency and high consumption is achieved. In the traditional mode, data structure design is carried out according to a page prototype, a page is rendered, rapid development iteration can not be carried out online, the horizontal expansibility and the longitudinal expansibility are poor, and a rapid development iteration target can not be formed.
Disclosure of Invention
An object of the present application is to provide a method and a device for automatically configuring and managing a page generation interface service, which solve the problems in the prior art that only one-by-one development can be performed according to pages, each page requires product investment, development, operation, testing, and the like, human and material resources are required, reusability is poor, and the method and the device are inflexible and cannot perform vertical expansion of a large amount of contents.
According to one aspect of the present application, there is provided a method for automatically configuring a management page generation interface service, the method including:
requesting page module content according to the page dimension of the current page, wherein the page module content refers to a module content template;
aggregating the module contents to be displayed to generate the page parameters of the current page;
and generating a webpage interface according to the page parameters, transmitting the page parameters to the current page through the webpage interface, and displaying the module content corresponding to the page parameters on the current page.
Optionally, before requesting the content of the page module according to the page dimension of the current page, the method includes:
configuring at least one data structure and at least one type component for the module content template, wherein the type component comprises at least any one of a text box, a date, a drop-down box, an association input box and a picture upload.
Optionally, configuring at least one data structure and at least one type component for the module content template, comprising:
carrying out multi-dimensional classification on the use scene of the module content template to obtain a classification result;
and acquiring at least one type component from a component library according to the classification result, packaging the at least one type component, and configuring a corresponding data structure.
Optionally, aggregating module contents to be displayed to generate a page parameter of the current page, including:
acquiring code parameters of module contents to be displayed;
appointing a display area displayed on the current page according to the code parameters;
and aggregating the module content template to be displayed, the module content, the code parameter and the information of the display area to generate the page parameter of the current page.
Optionally, displaying the module content corresponding to the page parameter on the current page includes:
and displaying the module content in the page parameter on the current page according to the corresponding display area.
Optionally, the method comprises:
and when the page module content refers to the module content template, storing the data in the referred module content template in a key value format, wherein the data type of the data value in the key value format comprises at least any one of a text box, an association input box and a date control.
Optionally, the importing, through the web page interface, the page parameter to the front of the current page includes:
caching the page parameters received by the webpage interface by adopting a secondary caching mode, wherein the secondary caching mode is determined by a local cache of a server and a Redis cluster mode.
Optionally, caching the page parameter received by the web interface in a second-level caching manner, including:
caching the page parameters received by the webpage interface into the local server, and caching the page parameters into the Redis cluster after a preset time interval is reached.
Optionally, requesting page module content according to the page dimension of the current page, including:
creating a module content template, referring the page module content to the module content template, generating a module content pool, and calling a list of corresponding module content templates from the module content pool based on the page dimension of the current page.
Optionally, the method comprises:
and customizing a module content template according to the service type and the control type, wherein the control type comprises a dictionary, user grouping identification information and hosted application identification information.
According to another aspect of the present application, there is also provided an apparatus for automatically configuring a management page generation interface service, the apparatus including:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method as previously described.
According to yet another aspect of the present application, there is also provided a computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the method as described above.
Compared with the prior art, the method and the device have the advantages that page module content is requested according to the page dimension of the current page, wherein the page module content refers to a module content template; aggregating the module contents to be displayed to generate the page parameters of the current page; and generating a webpage interface according to the page parameters, transmitting the page parameters to the current page through the webpage interface, and displaying the module content corresponding to the page parameters on the current page. The method can help improve the efficiency of content configuration by operation, reduce the development difficulty of repeated functions of developers, and realize the development of interface content through visualization and configuration.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method for automatically configuring a management page generation interface service provided in accordance with an aspect of the subject application;
FIG. 2 is a diagram illustrating selection of a module content template in one embodiment of the present application;
FIG. 3 illustrates a first schematic diagram of a configuration module content template in an embodiment of the present application;
FIG. 4 is a second diagram illustrating a configuration module content template in one embodiment of the present application;
FIG. 5 is a third diagram illustrating a configuration module content template according to an embodiment of the present application;
fig. 6 shows an architecture diagram of an interface service for generating a visual terminal auto-configuration management page in an embodiment of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., Central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include volatile Memory in a computer readable medium, Random Access Memory (RAM), and/or nonvolatile Memory such as Read Only Memory (ROM) or flash Memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change RAM (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassette tape, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 is a flowchart illustrating a method for automatically configuring a management page generation interface service according to an aspect of the present application, where the method includes: S11-S13, wherein in the S11, page module content is requested according to the page dimension of the current page, and the page module content refers to a module content template; step S12, aggregating the module contents to be displayed to generate the page parameters of the current page; step S13, generating a web interface according to the page parameters, transmitting the page parameters to the current page through the web interface, and displaying the module content corresponding to the page parameters on the current page. The interface is separated from the data, the service codes and the logic codes, a large number of codes are reused, the design is clearer, the service is more concentrated in the service logic, a method for establishing a management page by a visual terminal is provided, the condition that an APP (application) end can be called is generated, the efficiency of operation on content configuration can be improved, the development difficulty of repeated functions of developers is reduced, and the development of interface contents can be realized through visualization and configuration.
Specifically, step S11, requesting page module content according to the page dimension of the current page, where the page module content references a module content template; here, the current page is a page that is visually displayed at the front end, such as an applet, a webpage, an application program, and the like on the front end, and the page dimensions include a page code, a page classification, an address, and the like, and when performing page management on the current page, the page content of the current page is reconfigured, and then the page module content is requested based on the page dimensions of the current page, and the page module content is the content that needs to be configured and then displayed on the current page, and is displayed in the page module when displaying, and the requested page module content refers to a module content template, thereby avoiding the problem of repeated development.
Specifically, step S12, aggregating module contents to be displayed, and generating a page parameter of the current page; the module content template includes many types of templates, one page may refer to a plurality of module contents, for example, the page a may refer to the same module content template as the module contents 1, the module contents 2, and the module contents 3, which are different from each other, such as the module contents 1 may refer to the template N, the module contents 2 also refer to the template N, after the module contents needed by the current page are determined according to the page dimensions, the module contents are aggregated, and then the plurality of module contents are aggregated onto one template to generate a needed template, for example, the page module contents need to refer to the module contents A, B, C, the module contents are aggregated, so that the page parameters of the current page are generated after aggregation, and the configuration of the page can be completed only by transmitting the page parameters to the front-end page. As shown in FIG. 2, a module content template to be referenced can be selected in the content module, so that the template is called based on the request of the current page to transfer the template content of the template for presentation on the current page.
Specifically, in step S13, a web page interface is generated according to the page parameter, the page parameter is transmitted to the current page through the web page interface, and the module content corresponding to the page parameter is displayed on the current page. Here, when the page parameter is transmitted to the front end, the page parameter needs to be transmitted through an interface capable of receiving the page parameter, so that a web interface (WebApi) corresponding to the page parameter can be generated according to the page parameter to perform a service of the web interface, the page parameter is transmitted to the current page of the front end by using the web interface, and the front end includes a visual terminal, so that the module content corresponding to the page parameter is called on the current page of the front end, and not only the module content of different data structures can be directly called, but also the display on the page is completed. Therefore, the creation work of the management page can be realized in a self-defined mode, and the page parameters are transmitted in a webpage interface mode to obtain the content required by the current page. When the page parameters are transmitted into the webpage interface, whether the called webpage interface has errors or not is monitored through the log, the log is stored by adopting a distributed function, the Elasticissearch is used for providing the functions of collecting, analyzing and storing data, and a tool for collecting, analyzing and filtering the log is used for the log through the Logstash, so that a large number of data acquisition modes are supported. Kibana provides a log analysis friendly Web interface for Logstash and Elasticissearch, and can help to summarize, analyze and search important data logs. The problems of operation and maintenance of a large cluster can be solved, including monitoring, early warning, log collection and analysis and the like, the problem can be quickly positioned, and the stability of the production environment is ensured.
In some embodiments of the present application, at least one data structure and at least one type component are configured for a module content template, wherein the type component comprises at least any one of a text box, a date, a drop-down box, a suggested entry box, and a picture upload. Here, the page module content refers to the module content template to form universality and commonality, the module content template can configure a data structure and different types of components, the data structure comprises a dictionary, an array, a field and the like, and the different components are endowed with different functions, such as a text box, a date, a pull-down box, an association input box (such as a fund association input box), a picture uploading and the like.
According to the embodiment, the using scenes of the module content templates are subjected to multi-dimensional classification to obtain classification results; and acquiring at least one type component from a component library according to the classification result, packaging the at least one type component, and configuring a corresponding data structure. The scenes used by the module content templates are classified in a multi-dimensional mode through template characteristics, background management is facilitated, the content templates can be created, different types of management pages are drawn, rich component libraries are provided, packaging is conducted, for example, fund intelligent association, combined intelligent association, picture uploading components and the like are conducted, and the management pages are assembled. The multi-dimension means that different module content templates can be displayed on different pages, and the multi-dimension of the scene means that the types of the templates are different in multi-dimension when the templates are used on the pages; for example, some templates that need are field types, some require array types, some require field types also require array types, and the like, and each field has different characteristics and different attributes, so the templates can be divided into different types of templates according to the used scenes. The same page can refer to different templates simultaneously, different data structures can be arranged on the webpage interfaces, the templates which can be referred by the page are aggregated and then classified according to different types, list display can be carried out according to the sequence, and the content module can call different templates in the sequence list. Therefore, the range of using objects is expanded, the threshold is reduced, the template making and field attribute definition can be completely delivered to operators, when the template is locally modified, developers do not need to modify codes, the background configuration is only needed, the developers are liberated from complicated repeated work, and more time is provided for paying attention to the service.
Continuing to the embodiment, obtaining the code parameters of the module content to be displayed; appointing a display area displayed on the current page according to the code parameters; and aggregating the module content template to be displayed, the module content, the code parameter and the information of the display area to generate the page parameter of the current page. In step S13, the module content in the page parameter is displayed on the current page according to the corresponding display area. The content of each module is provided with a module code for distinguishing display positions of different modules and acquiring a code parameter of the module content to be displayed on a current page, so that the position of the corresponding module displayed on the current page is analyzed from the code parameter, each module is a display area appointed on the page, when the page parameter is transmitted to the current page, the code parameter, information of the module content template, specific module content and the appointed display area are aggregated together to generate the page parameter, one page can call different templates, one page corresponds to a plurality of content modules, the content modules can call different modules, the modules are distinguished according to the module code, and the data are customized into one template. Therefore, the module contents are transmitted to the current page through the WebApi, and the corresponding display contents can be obtained after the current page takes the parameters, that is, the module contents contained in the page parameters are displayed on the current page according to the corresponding display areas, for example, a content module requested by the current page is divided into three parts for display, when the content module refers to the template, the page parameters include the module contents A, B and the relevant parameters of C, a needs to be displayed on the upper half of the page, B needs to be displayed on the lower left half and C needs to be displayed on the lower right half, when the current page is displayed, the module contents A, B and C are correspondingly displayed according to the three display areas, and the module contents 35A, B and C are aggregated into the template.
In some embodiments of the present application, the method comprises: and when the page module content refers to the module content template, storing the data in the referred module content template in a key value format, wherein the data type of the data value in the key value format comprises at least any one of a text box, an association input box and a date control. Here, the data storage mode when the page is associated with the module content data exists in a Key-Value (Key-Value) format, where Value is a field name, a field attribute, and the like, and the data type corresponding to Value includes, but is not limited to, a text box, an association input box (such as a fund intelligent association box), and a date control. The data storage mode can be expanded by rows and columns.
In some embodiments of the present application, before the page parameter is transmitted to the current page through the web page interface, a second-level caching method is adopted to cache the page parameter received by the web page interface, where the second-level caching method is determined by a server local cache and a Redis cluster mode. The interface cache ensures stable interface by using a server local cache and a Redis cluster mode secondary cache, the cluster is completely decentralized, multiple masters and multiple slaves are adopted, each partition consists of a Redis host and multiple slaves, the partitions are parallel to each other, the client is directly connected with the Redis node, an intermediate proxy layer is not needed, the client does not need to be connected with all the nodes of the cluster, and any available node in the cluster can be connected.
As for the above embodiment, the page parameters received by the web interface are cached in the local server, and after a preset time interval is reached, the page parameters are cached in the Redis cluster. When caching, caching data needing caching in a server local machine, such as a page parameter, wherein the page parameter comprises specific content of a quoted template, setting interval time, namely after the time cached in the local machine reaches a preset time interval, such as 5 minutes, caching the data needing caching in a Redis cluster; similarly, when the page reads data, the data does not need to be searched from the database, but is searched from the local server firstly, and then is searched from the Redis cluster.
In some embodiments of the present application, in step S11, a module content template is created and the page module content is referenced to the module content template, a pool of module content is generated, and a list of corresponding module content templates is called from the pool of module content based on the page dimensions of the current page. The content module in the module content pool can be displayed in a list form, corresponding addition is performed based on page dimensions when addition is performed, the page dimensions are different, and template attributes required to be called are different, so that the lists can be different, for example, a template of a picture type is added, pictures are added in fields when the template is customized according to the page attributes, so that the customized template and other existing templates with picture functions can be called when a page is called, and all the templates are displayed in the lists. Therefore, the data structure required by specific service content can be abstracted through sharing, the template design is carried out according to customization, different content modules can share the template, and the repeated development of the content modules is reduced.
Continuing with the above embodiment, the module content template is configured by the user-defined according to the service type and the control type, wherein the control type includes a dictionary, user group identification information, and hosted application identification information. The control type can be a newly designed picture uploading or character type which can use a dictionary, a user grouping mode and the like, or a control type which calls a historical template, for example, the control type of the template A is a picture uploading mode, and a picture uploading mode is also needed when the template is customized, so that the control type can be directly searched on an input frame, an existing template list in management is called, an existing template can be selected for use, and when the template is customized, data which can be used by the historical template still exist, such as user grouping, product classification and the like, and the original code is continuously reused, and only the original template needs to be modified in demand; by separating the interface from the data, the service codes and the logic codes, a large number of codes are multiplexed, so that the design is clearer, and the service is more concentrated on the service logic. The user grouping is carried out according to the characteristics of the target users and is used for displaying different service data popularization, so that a targeted marketing scheme is carried out, and the user activity is increased through a user personalized scheme. When a module content template quoted by a content module of a configuration page is carried out, a user-defined configuration is carried out according to a current service type and a control type to package a new template, wherein the service type is a financial service requiring parameters such as fund codes and benefits, the control type is used for screening out components corresponding to the template, for example, parameter information of the template is obtained through a dictionary mode, user grouping identification information (user grouping ID) and boarder application identification information (such as applet ID), and then the new template is configured. As shown in fig. 3, a field name and a title are configured for the template, and a corresponding control type is configured according to the field name, where the control type is a component type of the template, for example, when a component type for uploading a picture is selected, the referenced template attribute is a template attribute having a function of uploading a picture. When the control type is a picture uploading component, the template can be searched from a dictionary, or some required template information can be searched from a user group ID, then configuration is carried out according to a length interval and the like, and customization of the self-defined template is completed, wherein some parameter information of the historical template is utilized, only a part of parameters need to be modified when the self-defined template is carried out, the attribute of the control type and the like do not need to be repeatedly designed, and the user group and the like can be called; as shown in fig. 4, when the user group ID is selected, the template is configured, so that the specific content when the customized template is called can be displayed on the front-end page, for example, the specific content of different user groups, such as fund combination, can appear; when the control type is an applet ID, as shown in fig. 5, a custom configuration template may be made. Therefore, universal page management can be realized, page module contents need to be associated, and a data structure required by specific service contents is abstracted through common attributes, so that the efficiency of content configuration by operation is improved, and the development difficulty of repeated functions of developers is reduced.
In some embodiments of the present application, the method for automatically configuring a management page generation interface service may be implemented based on the framework shown in fig. 6, so that a WebApi service may be automatically configured and managed through a visual terminal, where a front-end layer includes a native APP, an applet, H5, and a back-end front-end, and the interface layers are web interface WebApi layers, such as APP operating Api layer and back-end Api layer, and the configuration of a front-end page is managed in an automatic management platform, where the configuration includes a basic service, a first page card, domain name management, a module list, a page list, a template list, dictionary management, authority management, and the like, and after the template is configured in the automatic management platform, the data source layer stores related content data of the template in a storage layer and a processing layer, and caches the interface by using a cache layer during storage, the interface layer thus obtains the encapsulated template for display at the front end layer. According to the method, the development efficiency can be greatly improved, and through actual verification, one developer writes a medium page and an interface, at least one working day (8 hours) is needed, but only the template needs to be configured after the configuration management method, only 1 hour is needed, 7 hours can be saved for one page, the efficiency is improved by 87.5%, and when the number of the template and the number of content modules are greatly increased, the efficiency is more obvious, and the demand can be quickly responded. In a specific embodiment of the application, a module content template is created first, page module content refers to the module content template, and a module content pool is generated; then, when the page module content is requested according to the page dimension of the current page, classifying according to the page dimension, selecting the module content required by the current page for aggregation, and generating the module content of the current page; and then, generating a webpage interface according to the page parameters, transmitting the page parameters to the current page through the webpage interface, and displaying the module content corresponding to the page on the current page. Therefore, the page can be managed in a centralized manner, each service does not need to be repeatedly developed, the page can be directly introduced, the centralized management is beneficial to full-platform monitoring, problem positioning and optimization, and configuration and query are convenient.
In addition, the embodiment of the present application also provides a computer readable medium, on which computer readable instructions are stored, the computer readable instructions being executable by a processor to implement the aforementioned method for automatically configuring the management page generation interface service.
In an embodiment of the present application, an apparatus for automatically configuring a management page generation interface service is further provided, where the apparatus includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method as previously described.
For example, the computer readable instructions, when executed, cause the one or more processors to:
requesting page module content according to the page dimension of the current page, wherein the page module content refers to a module content template;
aggregating the module content templates to be displayed to generate the page parameters of the current page;
and generating a webpage interface according to the page parameters, transmitting the page parameters to the current page through the webpage interface, and displaying the module content corresponding to the page parameters on the current page.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. The terms first, second, etc. are used to denote names, but not any particular order.
Claims (12)
1. A method for automatically configuring a management page generation interface service, the method comprising:
requesting page module content according to the page dimension of the current page, wherein the page module content refers to a module content template;
aggregating the module contents to be displayed to generate the page parameters of the current page;
and generating a webpage interface according to the page parameters, transmitting the page parameters to the current page through the webpage interface, and displaying the module content corresponding to the page parameters on the current page.
2. The method of claim 1, wherein prior to requesting page module content based on the page dimension of the current page, comprising:
configuring at least one data structure and at least one type component for the module content template, wherein the type component comprises at least any one of a text box, a date, a drop-down box, an association input box and a picture upload.
3. The method of claim 2, wherein configuring at least one data structure and at least one type component for a module content template comprises:
carrying out multi-dimensional classification on the use scene of the module content template to obtain a classification result;
and acquiring at least one type component from a component library according to the classification result, packaging the at least one type component, and configuring a corresponding data structure.
4. The method of claim 1, wherein aggregating module contents to be displayed to generate page parameters of the current page comprises:
acquiring code parameters of module contents to be displayed;
appointing a display area displayed on the current page according to the code parameters;
and aggregating the module content template to be displayed, the module content, the code parameter and the information of the display area to generate the page parameter of the current page.
5. The method of claim 4, wherein displaying the module content corresponding to the page parameter on the current page comprises:
and displaying the module content in the page parameter on the current page according to the corresponding display area.
6. The method according to claim 1, characterized in that it comprises:
and when the page module content refers to the module content template, storing the data in the referred module content template in a key value format, wherein the data type of the data value in the key value format comprises at least any one of a text box, an association input box and a date control.
7. The method of claim 1, wherein importing the page parameters into the current page through the web page interface comprises:
caching the page parameters received by the webpage interface by adopting a secondary caching mode, wherein the secondary caching mode is determined by a local cache of a server and a Redis cluster mode.
8. The method of claim 7, wherein caching the page parameters received by the web page interface in a second-level caching manner comprises:
caching the page parameters received by the webpage interface into the local server, and caching the page parameters into the Redis cluster after a preset time interval is reached.
9. The method of claim 1, wherein requesting page module content based on a page dimension of a current page comprises:
creating a module content template, referring the page module content to the module content template, generating a module content pool, and calling a list of corresponding module content templates from the module content pool based on the page dimension of the current page.
10. The method according to claim 1, characterized in that it comprises:
and customizing a module content template according to the service type and the control type, wherein the control type comprises a dictionary, user grouping identification information and hosted application identification information.
11. An apparatus for automatically configuring a management page generation interface service, the apparatus comprising:
one or more processors; and
memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 10.
12. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111226986.0A CN113885860A (en) | 2021-10-21 | 2021-10-21 | Method and equipment for automatically configuring management page to generate interface service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111226986.0A CN113885860A (en) | 2021-10-21 | 2021-10-21 | Method and equipment for automatically configuring management page to generate interface service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113885860A true CN113885860A (en) | 2022-01-04 |
Family
ID=79004074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111226986.0A Pending CN113885860A (en) | 2021-10-21 | 2021-10-21 | Method and equipment for automatically configuring management page to generate interface service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113885860A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089967A (en) * | 2022-01-19 | 2022-02-25 | 武汉源启科技股份有限公司 | API interface generation method and device |
CN114546358A (en) * | 2022-02-28 | 2022-05-27 | 重庆允丰科技有限公司 | Method for configuring production process management product based on low-code platform and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446726A (en) * | 2014-09-25 | 2016-03-30 | 腾讯科技(深圳)有限公司 | Method and device for generating webpage |
CN109582909A (en) * | 2018-12-19 | 2019-04-05 | 拉扎斯网络科技(上海)有限公司 | Webpage automatic generation method and device, electronic equipment and storage medium |
US20200133692A1 (en) * | 2018-10-31 | 2020-04-30 | Salesforce.Com, Inc. | Automatic User Interface Architecture |
CN112785324A (en) * | 2019-11-07 | 2021-05-11 | 北京沃东天骏信息技术有限公司 | Information processing method, information processing apparatus, electronic device, and medium |
CN112947915A (en) * | 2019-12-11 | 2021-06-11 | 顺丰科技有限公司 | Method, device and storage medium for self-defining page |
-
2021
- 2021-10-21 CN CN202111226986.0A patent/CN113885860A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446726A (en) * | 2014-09-25 | 2016-03-30 | 腾讯科技(深圳)有限公司 | Method and device for generating webpage |
US20200133692A1 (en) * | 2018-10-31 | 2020-04-30 | Salesforce.Com, Inc. | Automatic User Interface Architecture |
CN109582909A (en) * | 2018-12-19 | 2019-04-05 | 拉扎斯网络科技(上海)有限公司 | Webpage automatic generation method and device, electronic equipment and storage medium |
CN112785324A (en) * | 2019-11-07 | 2021-05-11 | 北京沃东天骏信息技术有限公司 | Information processing method, information processing apparatus, electronic device, and medium |
CN112947915A (en) * | 2019-12-11 | 2021-06-11 | 顺丰科技有限公司 | Method, device and storage medium for self-defining page |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089967A (en) * | 2022-01-19 | 2022-02-25 | 武汉源启科技股份有限公司 | API interface generation method and device |
CN114546358A (en) * | 2022-02-28 | 2022-05-27 | 重庆允丰科技有限公司 | Method for configuring production process management product based on low-code platform and storage medium |
CN114546358B (en) * | 2022-02-28 | 2023-09-19 | 重庆允丰科技有限公司 | Method for managing products based on low-code platform configuration production process and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11741089B1 (en) | Interactive location queries for raw machine data | |
US11768811B1 (en) | Managing user data in a multitenant deployment | |
US11429627B2 (en) | System monitoring driven by automatically determined operational parameters of dependency graph model with user interface | |
US10558651B2 (en) | Search point management | |
US10713314B2 (en) | Facilitating data model acceleration in association with an external data system | |
US20200342068A1 (en) | Two-tier capacity planning | |
CN111177618A (en) | Website building method, device, equipment and computer readable storage medium | |
US11620541B1 (en) | Custom use case framework in computer analytics system | |
CN113885860A (en) | Method and equipment for automatically configuring management page to generate interface service | |
US11822433B2 (en) | Qualification parameters for captain selection in a search head cluster | |
US10713070B2 (en) | Systems and methods for capturing and visualizing user interactions across devices | |
US11144336B1 (en) | Customization tool for dashboards | |
US20220245095A1 (en) | Method and apparatus for efficient synchronization of search heads in a cluster using digests | |
US20180137161A1 (en) | Data analysis schema and method of use | |
CN112182045B (en) | Metadata management method and device, computer equipment and storage medium | |
CN113138757B (en) | Front-end code automatic generation method, device, server, system and medium | |
CN111859076A (en) | Data crawling method and device, computer equipment and computer readable storage medium | |
CN112035555B (en) | Information display method, device and equipment | |
CN114238085A (en) | Interface testing method and device, computer equipment and storage medium | |
CN116644250B (en) | Page detection method, page detection device, computer equipment and storage medium | |
CN117492756A (en) | Front-end design method and device for draggable forms and lists of low-code platform | |
CN111078905A (en) | Data processing method, device, medium and equipment | |
US11720553B2 (en) | Schema with methods specifying data rules, and method of use | |
JP7481056B2 (en) | Operation support device, system, method and program | |
CN113641644B (en) | Data pushing system |
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 |